mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
cab7e003b3
PR Close #52534
32 lines
1.2 KiB
TypeScript
32 lines
1.2 KiB
TypeScript
/*!
|
|
* @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
|
|
*/
|
|
export const TUTORIALS_ASSETS_WEB_PATH = '/assets/tutorials';
|
|
export const TUTORIALS_DIST_PATH = 'tutorials';
|
|
|
|
export const TUTORIALS_PLAYGROUND_DIRECTORY = 'playground';
|
|
|
|
/** the playground template that loads by default when entering the /playground page */
|
|
export const DEFAULT_PLAYGROUND_TEMPLATE = '0-minigame';
|
|
export const STARTER_PLAYGROUND_TEMPLATE = '3-hello-world';
|
|
|
|
export const TUTORIALS_HOMEPAGE_DIRECTORY = 'homepage';
|
|
export const TUTORIALS_COMMON_DIRECTORY = 'common';
|
|
export const TUTORIALS_ASSETS_SOURCE_CODE_DIRECTORY = 'source-code';
|
|
export const TUTORIALS_ASSETS_METADATA_DIRECTORY = 'metadata';
|
|
export const TUTORIALS_ASSETS_ROUTES_DIRECTORY = 'routes';
|
|
|
|
export const TUTORIALS_SOURCE_CODE_WEB_PATH = `${TUTORIALS_ASSETS_WEB_PATH}/${TUTORIALS_ASSETS_SOURCE_CODE_DIRECTORY}`;
|
|
export const TUTORIALS_METADATA_WEB_PATH = `${TUTORIALS_ASSETS_WEB_PATH}/${TUTORIALS_ASSETS_METADATA_DIRECTORY}`;
|
|
|
|
export const enum TutorialType {
|
|
CLI = 'cli',
|
|
LOCAL = 'local',
|
|
EDITOR = 'editor',
|
|
EDITOR_ONLY = 'editor-only',
|
|
}
|