blob: 67896958ebb54ec90fc0261807704df307e27bd1 [file] [log] [blame]
/**
* @license
* 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 DocumentationViewState extends ViewState {
view: GerritView.DOCUMENTATION_SEARCH;
filter: string;
}
export const documentationViewModelToken = define<DocumentationViewModel>(
'documentation-view-model'
);
export class DocumentationViewModel extends Model<
DocumentationViewState | undefined
> {
constructor() {
super(undefined);
}
}