1 | // Copyright IBM Corp. 2020. All Rights Reserved.
|
2 | // Node module: @loopback/repository
|
3 | // This file is licensed under the MIT License.
|
4 | // License text available at https://opensource.org/licenses/MIT
|
5 |
|
6 | /**
|
7 | * Binding tags for repository related bindings
|
8 | */
|
9 | export namespace RepositoryTags {
|
10 | /**
|
11 | * Tag for model class bindings
|
12 | */
|
13 | export const MODEL = 'model';
|
14 | /**
|
15 | * Tag for repository bindings
|
16 | */
|
17 | export const REPOSITORY = 'repository';
|
18 | /**
|
19 | * Tag for datasource bindings
|
20 | */
|
21 | export const DATASOURCE = 'datasource';
|
22 | }
|
23 |
|
24 | /**
|
25 | * Binding keys and namespaces for repository related bindings
|
26 | */
|
27 | export namespace RepositoryBindings {
|
28 | /**
|
29 | * Namespace for model class bindings
|
30 | */
|
31 | export const MODELS = 'models';
|
32 | /**
|
33 | * Namespace for repository bindings
|
34 | */
|
35 | export const REPOSITORIES = 'repositories';
|
36 | /**
|
37 | * Namespace for datasource bindings
|
38 | */
|
39 | export const DATASOURCES = 'datasources';
|
40 | }
|