source: trip-planner-front/node_modules/@angular-devkit/architect/src/internal.js@ 6a3a178

Last change on this file since 6a3a178 was 6a3a178, checked in by Ema <ema_spirova@…>, 3 years ago

initial commit

  • Property mode set to 100644
File size: 1.3 KB
Line 
1"use strict";
2/**
3 * @license
4 * Copyright Google LLC All Rights Reserved.
5 *
6 * Use of this source code is governed by an MIT-style license that can be
7 * found in the LICENSE file at https://angular.io/license
8 */
9Object.defineProperty(exports, "__esModule", { value: true });
10exports.BuilderVersionSymbol = exports.BuilderSymbol = void 0;
11// Internal types that should not be exported directly. These are used by the host and architect
12// itself. Host implementations should import the host.ts file.
13/**
14 * BuilderSymbol used for knowing if a function was created using createBuilder(). This is a
15 * property set on the function that should be `true`.
16 * Using Symbol.for() as it's a global registry that's the same for all installations of
17 * Architect (if some libraries depends directly on architect instead of sharing the files).
18 */
19exports.BuilderSymbol = Symbol.for('@angular-devkit/architect:builder');
20/**
21 * BuilderVersionSymbol used for knowing which version of the library createBuilder() came from.
22 * This is to make sure we don't try to use an incompatible builder.
23 * Using Symbol.for() as it's a global registry that's the same for all installations of
24 * Architect (if some libraries depends directly on architect instead of sharing the files).
25 */
26exports.BuilderVersionSymbol = Symbol.for('@angular-devkit/architect:version');
Note: See TracBrowser for help on using the repository browser.