blob: 4273b13f9841919b1ff5fbbcfb59650b280f0546 [file] [log] [blame]
/**
* @license
* Copyright 2022 Google LLC
* SPDX-License-Identifier: Apache-2.0
*/
import {GerritView} from '../../services/router/router-model';
import {Model} from '../model';
import {ViewState} from './base';
export interface DocumentationViewState extends ViewState {
view: GerritView.DOCUMENTATION_SEARCH;
filter?: string | null;
}
const DEFAULT_STATE: DocumentationViewState = {
view: GerritView.DOCUMENTATION_SEARCH,
};
export class DocumentationViewModel extends Model<DocumentationViewState> {
constructor() {
super(DEFAULT_STATE);
}
}