UNPKG

1.37 kBJavaScriptView Raw
1"use strict";
2// Copyright IBM Corp. 2020. All Rights Reserved.
3// Node module: @loopback/repository
4// This file is licensed under the MIT License.
5// License text available at https://opensource.org/licenses/MIT
6Object.defineProperty(exports, "__esModule", { value: true });
7exports.RepositoryBindings = exports.RepositoryTags = void 0;
8/**
9 * Binding tags for repository related bindings
10 */
11var RepositoryTags;
12(function (RepositoryTags) {
13 /**
14 * Tag for model class bindings
15 */
16 RepositoryTags.MODEL = 'model';
17 /**
18 * Tag for repository bindings
19 */
20 RepositoryTags.REPOSITORY = 'repository';
21 /**
22 * Tag for datasource bindings
23 */
24 RepositoryTags.DATASOURCE = 'datasource';
25})(RepositoryTags = exports.RepositoryTags || (exports.RepositoryTags = {}));
26/**
27 * Binding keys and namespaces for repository related bindings
28 */
29var RepositoryBindings;
30(function (RepositoryBindings) {
31 /**
32 * Namespace for model class bindings
33 */
34 RepositoryBindings.MODELS = 'models';
35 /**
36 * Namespace for repository bindings
37 */
38 RepositoryBindings.REPOSITORIES = 'repositories';
39 /**
40 * Namespace for datasource bindings
41 */
42 RepositoryBindings.DATASOURCES = 'datasources';
43})(RepositoryBindings = exports.RepositoryBindings || (exports.RepositoryBindings = {}));
44//# sourceMappingURL=keys.js.map
\No newline at end of file