/
githubmirror
/
angular
Обзор
Документация
Войти
/
githubmirror
/
angular
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
adev/src/app/core/constants/pages.ts
28 строк
630 B
Shuaib Hasan Akib
docs(docs-infra): Replace page enums by constants (#63335)
23 авг 2025, 00:42
23 авг 2025, 00:42
a9d4ccf
Код
Авторство
О чём код?
/*! * @license * Copyright Google LLC All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.dev/license */ // File contains the enums used across whole application. export const DEFAULT_PAGES = { DOCS: 'overview', REFERENCE: 'api', TUTORIALS: 'tutorials', PLAYGROUND: 'playground', UPDATE: 'update-guide', } as const; export const PAGE_PREFIX = { API: 'api', CLI: 'cli', DOCS: 'docs', HOME: '', PLAYGROUND: 'playground', REFERENCE: 'reference', TUTORIALS: 'tutorials', UPDATE: 'update-guide', } as const;