| * Copyright 2022 Google LLC |
| * SPDX-License-Identifier: Apache-2.0 |
| import {GerritView} from '../../services/router/router-model'; |
| import {define} from '../dependency'; |
| import {Model} from '../model'; |
| import {ViewState} from './base'; |
| export interface AgreementViewState extends ViewState { |
| view: GerritView.AGREEMENTS; |
| const DEFAULT_STATE: AgreementViewState = {view: GerritView.AGREEMENTS}; |
| export const agreementViewModelToken = define<AgreementViewModel>( |
| export class AgreementViewModel extends Model<AgreementViewState> { |