@loopback/typeorm 0.7.0 → 0.7.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/dist/.sandbox/{332675fB8U79 → 94673YdlRqE}/application.js +2 -2
- package/dist/.sandbox/{332675fB8U79 → 94673YdlRqE}/typeorm-connections/sqlite.connection.js +2 -2
- package/dist/.sandbox/{332675fB8U79 → 94673YdlRqE}/typeorm-entities/book.entity.js +2 -2
- package/dist/.sandbox/{332700zeRV1J → 94679rvRq7S}/application.js +2 -2
- package/dist/.sandbox/{332700zeRV1J → 94679rvRq7S}/controllers/book.controller.js +2 -2
- package/dist/.sandbox/{332700zeRV1J → 94679rvRq7S}/typeorm-connections/mydb.sql +0 -0
- package/dist/.sandbox/{332700zeRV1J → 94679rvRq7S}/typeorm-connections/sqlite.connection.js +2 -2
- package/dist/.sandbox/{332700zeRV1J → 94679rvRq7S}/typeorm-entities/book.entity.js +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/typeorm-connection.booter.js +1 -1
- package/dist/typeorm-connection.booter.js.map +1 -1
- package/dist/typeorm.decorators.js +1 -1
- package/dist/typeorm.decorators.js.map +1 -1
- package/dist/typeorm.keys.js +1 -1
- package/dist/typeorm.keys.js.map +1 -1
- package/dist/typeorm.mixin.d.ts +61 -62
- package/dist/typeorm.mixin.js +1 -1
- package/dist/typeorm.mixin.js.map +1 -1
- package/dist/typeorm.types.js +1 -1
- package/dist/typeorm.types.js.map +1 -1
- package/dist/typeorm.utils.js +1 -1
- package/dist/typeorm.utils.js.map +1 -1
- package/package.json +16 -16
- package/src/index.ts +1 -1
- package/src/typeorm-connection.booter.ts +1 -1
- package/src/typeorm.decorators.ts +1 -1
- package/src/typeorm.keys.ts +1 -1
- package/src/typeorm.mixin.ts +1 -5
- package/src/typeorm.types.ts +1 -1
- package/src/typeorm.utils.ts +1 -1
package/LICENSE
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/typeorm
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -16,4 +16,4 @@ class TypeOrmApp extends (0, boot_1.BootMixin)((0, __1.TypeOrmMixin)(rest_1.Rest
|
|
|
16
16
|
}
|
|
17
17
|
exports.TypeOrmApp = TypeOrmApp;
|
|
18
18
|
//# sourceMappingURL=application.js.map
|
|
19
|
-
//# sourceMappingURL=/
|
|
19
|
+
//# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/extensions/typeorm/dist/__tests__/fixtures/application.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/typeorm
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -16,4 +16,4 @@ exports.SqliteConnection = {
|
|
|
16
16
|
synchronize: true,
|
|
17
17
|
};
|
|
18
18
|
//# sourceMappingURL=sqlite.connection.js.map
|
|
19
|
-
//# sourceMappingURL=/
|
|
19
|
+
//# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/extensions/typeorm/dist/__tests__/fixtures/typeorm-connections/sqlite.connection.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/typeorm
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -26,4 +26,4 @@ Book = tslib_1.__decorate([
|
|
|
26
26
|
], Book);
|
|
27
27
|
exports.Book = Book;
|
|
28
28
|
//# sourceMappingURL=book.entity.js.map
|
|
29
|
-
//# sourceMappingURL=/
|
|
29
|
+
//# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/extensions/typeorm/dist/__tests__/fixtures/typeorm-entities/book.entity.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/typeorm
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -16,4 +16,4 @@ class TypeOrmApp extends (0, boot_1.BootMixin)((0, __1.TypeOrmMixin)(rest_1.Rest
|
|
|
16
16
|
}
|
|
17
17
|
exports.TypeOrmApp = TypeOrmApp;
|
|
18
18
|
//# sourceMappingURL=application.js.map
|
|
19
|
-
//# sourceMappingURL=/
|
|
19
|
+
//# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/extensions/typeorm/dist/__tests__/fixtures/application.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/typeorm
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -68,4 +68,4 @@ tslib_1.__decorate([
|
|
|
68
68
|
], BookController.prototype, "findById", null);
|
|
69
69
|
exports.BookController = BookController;
|
|
70
70
|
//# sourceMappingURL=book.controller.js.map
|
|
71
|
-
//# sourceMappingURL=/
|
|
71
|
+
//# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/extensions/typeorm/dist/__tests__/fixtures/controllers/book.controller.js.map
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/typeorm
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -16,4 +16,4 @@ exports.SqliteConnection = {
|
|
|
16
16
|
synchronize: true,
|
|
17
17
|
};
|
|
18
18
|
//# sourceMappingURL=sqlite.connection.js.map
|
|
19
|
-
//# sourceMappingURL=/
|
|
19
|
+
//# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/extensions/typeorm/dist/__tests__/fixtures/typeorm-connections/sqlite.connection.js.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/typeorm
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -26,4 +26,4 @@ Book = tslib_1.__decorate([
|
|
|
26
26
|
], Book);
|
|
27
27
|
exports.Book = Book;
|
|
28
28
|
//# sourceMappingURL=book.entity.js.map
|
|
29
|
-
//# sourceMappingURL=/
|
|
29
|
+
//# sourceMappingURL=/Users/dhmlau/loopback-release/loopback-next/extensions/typeorm/dist/__tests__/fixtures/typeorm-entities/book.entity.js.map
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/typeorm
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;AAEhE,sEAA4C;AAC5C,+DAAqC;AACrC,yDAA+B;AAC/B,0DAAgC;AAChC,0DAAgC;AAChC,0DAAgC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/graphql
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeorm-connection.booter.js","sourceRoot":"","sources":["../src/typeorm-connection.booter.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"typeorm-connection.booter.js","sourceRoot":"","sources":["../src/typeorm-connection.booter.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAKwB;AACxB,yCAA4D;AAC5D,0DAAiC;AAEjC,MAAM,KAAK,GAAG,IAAA,eAAY,EAAC,wBAAwB,CAAC,CAAC;AAErD;;;;;;;;GAQG;AAEH,IAAa,uBAAuB,GAApC,MAAa,uBAAwB,SAAQ,yBAAkB;IAC7D,YAES,GAA4B,EACA,WAAmB,EAE/C,eAAgC,EAAE;QAEzC,KAAK,CACH,WAAW;QACX,6DAA6D;QAC7D,MAAM,CAAC,MAAM,CAAC,EAAE,EA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ights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/typeorm
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeorm.decorators.js","sourceRoot":"","sources":["../src/typeorm.decorators.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"typeorm.decorators.js","sourceRoot":"","sources":["../src/typeorm.decorators.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;AAEhE,yCAA6E;AAC7E,iDAA+C;AAE/C,IAAiB,OAAO,CAevB;AAfD,WAAiB,OAAO;IACtB,SAAgB,UAAU,CAAC,MAAgB,EAAE,cAAuB;QAClE,OAAO,IAAA,aAAM,EACX,EAAE,EACF,EAAC,SAAS,EAAE,qBAAqB,EAAC,EAClC,KAAK,EACH,GAAY,EACZ,SAA8B,EAC9B,OAA0B,EAC1B,EAAE;YACF,MAAM,IAAI,GAAG,MAAM,aAAa,CAAC,GAAG,EAAE,cAAc,CAAC,CAAC;YACtD,OAAO,IAAI,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QACpC,CAAC,CACF,CAAC;IACJ,CAAC;IAbe,kBAAU,aAazB,CAAA;AACH,CAAC,EAfgB,OAAO,GAAP,eAAO,KAAP,eAAO,QAevB;AAED;;;;GAIG;AACH,KAAK,UAAU,aAAa,CAAC,GAAY,EAAE,cAAuB;IAChE,MAAM,OAAO,GAAG,MAAM,GAAG,CAAC,GAAG,CAAC,8BAAe,CAAC,OAAO,CAAC,CAAC;IACvD,OAAO,OAAO,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;AACrC,CAAC"}
|
package/dist/typeorm.keys.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/typeorm
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
package/dist/typeorm.keys.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeorm.keys.js","sourceRoot":"","sources":["../src/typeorm.keys.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"typeorm.keys.js","sourceRoot":"","sources":["../src/typeorm.keys.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;AAEhE,yCAA0C;AAG1C;;GAEG;AACH,IAAiB,eAAe,CAM/B;AAND,WAAiB,eAAe;IACjB,uBAAO,GAAG,iBAAU,CAAC,MAAM,CACtC,mCAAmC,CACpC,CAAC;IACW,sBAAM,GAAG,YAAY,CAAC;IACtB,mBAAG,GAAG,mBAAmB,CAAC;AACzC,CAAC,EANgB,eAAe,GAAf,uBAAe,KAAf,uBAAe,QAM/B"}
|
package/dist/typeorm.mixin.d.ts
CHANGED
|
@@ -1,92 +1,91 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { Application, Binding, Component, LifeCycleObserver, MixinTarget } from '@loopback/core';
|
|
1
|
+
import { Application, Binding, BindingScope, Component, LifeCycleObserver, MixinTarget } from '@loopback/core';
|
|
3
2
|
import { Connection, ConnectionManager, ConnectionOptions } from 'typeorm';
|
|
4
3
|
export declare function TypeOrmMixin<T extends MixinTarget<Application>>(superClass: T): {
|
|
5
4
|
new (...args: any[]): {
|
|
6
5
|
connectionManager: ConnectionManager;
|
|
7
|
-
connection(connectionConfig: ConnectionOptions):
|
|
6
|
+
connection(connectionConfig: ConnectionOptions): Binding<Connection>;
|
|
8
7
|
migrateSchema(): Promise<void>;
|
|
9
|
-
readonly options:
|
|
8
|
+
readonly options: import("@loopback/core").ApplicationConfig;
|
|
10
9
|
readonly state: string;
|
|
11
|
-
controller: <T_1>(controllerCtor:
|
|
12
|
-
server: <T_2 extends
|
|
13
|
-
servers: <T_3 extends
|
|
14
|
-
getServer: <T_4 extends
|
|
10
|
+
controller: <T_1>(controllerCtor: import("@loopback/core").ControllerClass<T_1>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined) => Binding<T_1>;
|
|
11
|
+
server: <T_2 extends import("@loopback/core").Server>(ctor: import("@loopback/core").Constructor<T_2>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined) => Binding<T_2>;
|
|
12
|
+
servers: <T_3 extends import("@loopback/core").Server>(ctors: import("@loopback/core").Constructor<T_3>[]) => Binding<any>[];
|
|
13
|
+
getServer: <T_4 extends import("@loopback/core").Server>(target: string | import("@loopback/core").Constructor<T_4>) => Promise<T_4>;
|
|
15
14
|
init: () => Promise<void>;
|
|
16
|
-
onInit: (fn: () =>
|
|
15
|
+
onInit: (fn: () => import("@loopback/core").ValueOrPromise<void>) => Binding<LifeCycleObserver>;
|
|
17
16
|
start: () => Promise<void>;
|
|
18
|
-
onStart: (fn: () =>
|
|
17
|
+
onStart: (fn: () => import("@loopback/core").ValueOrPromise<void>) => Binding<LifeCycleObserver>;
|
|
19
18
|
stop: () => Promise<void>;
|
|
20
|
-
onStop: (fn: () =>
|
|
21
|
-
component: <T_5 extends
|
|
22
|
-
setMetadata: (metadata:
|
|
23
|
-
lifeCycleObserver: <T_6 extends
|
|
24
|
-
service: <S>(cls:
|
|
25
|
-
interceptor: (interceptor:
|
|
19
|
+
onStop: (fn: () => import("@loopback/core").ValueOrPromise<void>) => Binding<LifeCycleObserver>;
|
|
20
|
+
component: <T_5 extends Component = Component>(componentCtor: import("@loopback/core").Constructor<T_5>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined) => Binding<T_5>;
|
|
21
|
+
setMetadata: (metadata: import("@loopback/core").ApplicationMetadata) => void;
|
|
22
|
+
lifeCycleObserver: <T_6 extends LifeCycleObserver>(ctor: import("@loopback/core").Constructor<T_6>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined) => Binding<T_6>;
|
|
23
|
+
service: <S>(cls: import("@loopback/core").ServiceOrProviderClass<S>, nameOrOptions?: string | import("@loopback/core").ServiceOptions | undefined) => Binding<S>;
|
|
24
|
+
interceptor: (interceptor: import("@loopback/core").Interceptor | import("@loopback/core").Constructor<import("@loopback/core").Provider<import("@loopback/core").Interceptor>>, nameOrOptions?: string | import("@loopback/core").InterceptorBindingOptions | undefined) => Binding<import("@loopback/core").Interceptor>;
|
|
26
25
|
readonly name: string;
|
|
27
|
-
readonly subscriptionManager:
|
|
28
|
-
scope:
|
|
29
|
-
readonly parent:
|
|
30
|
-
emitEvent: <T_7 extends
|
|
26
|
+
readonly subscriptionManager: import("@loopback/core").ContextSubscriptionManager;
|
|
27
|
+
scope: BindingScope;
|
|
28
|
+
readonly parent: import("@loopback/core").Context | undefined;
|
|
29
|
+
emitEvent: <T_7 extends import("@loopback/core").ContextEvent>(type: string, event: T_7) => void;
|
|
31
30
|
emitError: (err: unknown) => void;
|
|
32
|
-
bind: <ValueType = any>(key:
|
|
33
|
-
add: (binding:
|
|
34
|
-
configure: <ConfigValueType = any>(key?:
|
|
35
|
-
getConfigAsValueOrPromise: <ConfigValueType_1>(key:
|
|
36
|
-
getConfig: <ConfigValueType_2>(key:
|
|
37
|
-
getConfigSync: <ConfigValueType_3>(key:
|
|
38
|
-
unbind: (key:
|
|
39
|
-
subscribe: (observer:
|
|
40
|
-
unsubscribe: (observer:
|
|
31
|
+
bind: <ValueType = any>(key: import("@loopback/core").BindingAddress<ValueType>) => Binding<ValueType>;
|
|
32
|
+
add: (binding: Binding<unknown>) => Application;
|
|
33
|
+
configure: <ConfigValueType = any>(key?: import("@loopback/core").BindingAddress<unknown> | undefined) => Binding<ConfigValueType>;
|
|
34
|
+
getConfigAsValueOrPromise: <ConfigValueType_1>(key: import("@loopback/core").BindingAddress<unknown>, propertyPath?: string | undefined, resolutionOptions?: import("@loopback/core").ResolutionOptions | undefined) => import("@loopback/core").ValueOrPromise<ConfigValueType_1 | undefined>;
|
|
35
|
+
getConfig: <ConfigValueType_2>(key: import("@loopback/core").BindingAddress<unknown>, propertyPath?: string | undefined, resolutionOptions?: import("@loopback/core").ResolutionOptions | undefined) => Promise<ConfigValueType_2 | undefined>;
|
|
36
|
+
getConfigSync: <ConfigValueType_3>(key: import("@loopback/core").BindingAddress<unknown>, propertyPath?: string | undefined, resolutionOptions?: import("@loopback/core").ResolutionOptions | undefined) => ConfigValueType_3 | undefined;
|
|
37
|
+
unbind: (key: import("@loopback/core").BindingAddress<unknown>) => boolean;
|
|
38
|
+
subscribe: (observer: import("@loopback/core").ContextEventObserver) => import("@loopback/core").Subscription;
|
|
39
|
+
unsubscribe: (observer: import("@loopback/core").ContextEventObserver) => boolean;
|
|
41
40
|
close: () => void;
|
|
42
|
-
isSubscribed: (observer:
|
|
43
|
-
createView: <T_8 = unknown>(filter:
|
|
44
|
-
contains: (key:
|
|
45
|
-
isBound: (key:
|
|
46
|
-
getOwnerContext: (keyOrBinding:
|
|
47
|
-
getScopedContext: (scope:
|
|
48
|
-
getResolutionContext: (binding: Readonly<
|
|
49
|
-
isVisibleTo: (ctx:
|
|
50
|
-
find: <ValueType_1 = any>(pattern?: string | RegExp |
|
|
51
|
-
findByTag: <ValueType_2 = any>(tagFilter: RegExp |
|
|
41
|
+
isSubscribed: (observer: import("@loopback/core").ContextObserver) => boolean;
|
|
42
|
+
createView: <T_8 = unknown>(filter: import("@loopback/core").BindingFilter, comparator?: import("@loopback/core").BindingComparator | undefined, options?: Omit<import("@loopback/core").ResolutionOptions, "session"> | undefined) => import("@loopback/core").ContextView<T_8>;
|
|
43
|
+
contains: (key: import("@loopback/core").BindingAddress<unknown>) => boolean;
|
|
44
|
+
isBound: (key: import("@loopback/core").BindingAddress<unknown>) => boolean;
|
|
45
|
+
getOwnerContext: (keyOrBinding: import("@loopback/core").BindingAddress<unknown> | Readonly<Binding<unknown>>) => import("@loopback/core").Context | undefined;
|
|
46
|
+
getScopedContext: (scope: BindingScope.APPLICATION | BindingScope.SERVER | BindingScope.REQUEST) => import("@loopback/core").Context | undefined;
|
|
47
|
+
getResolutionContext: (binding: Readonly<Binding<unknown>>) => import("@loopback/core").Context | undefined;
|
|
48
|
+
isVisibleTo: (ctx: import("@loopback/core").Context) => boolean;
|
|
49
|
+
find: <ValueType_1 = any>(pattern?: string | RegExp | import("@loopback/core").BindingFilter | undefined) => Readonly<Binding<ValueType_1>>[];
|
|
50
|
+
findByTag: <ValueType_2 = any>(tagFilter: RegExp | import("@loopback/core").BindingTag) => Readonly<Binding<ValueType_2>>[];
|
|
52
51
|
get: {
|
|
53
|
-
<ValueType_3>(keyWithPath:
|
|
54
|
-
<ValueType_4>(keyWithPath:
|
|
52
|
+
<ValueType_3>(keyWithPath: import("@loopback/core").BindingAddress<ValueType_3>, session?: import("@loopback/core").ResolutionSession | undefined): Promise<ValueType_3>;
|
|
53
|
+
<ValueType_4>(keyWithPath: import("@loopback/core").BindingAddress<ValueType_4>, options: import("@loopback/core").ResolutionOptions): Promise<ValueType_4 | undefined>;
|
|
55
54
|
};
|
|
56
55
|
getSync: {
|
|
57
|
-
<ValueType_5>(keyWithPath:
|
|
58
|
-
<ValueType_6>(keyWithPath:
|
|
56
|
+
<ValueType_5>(keyWithPath: import("@loopback/core").BindingAddress<ValueType_5>, session?: import("@loopback/core").ResolutionSession | undefined): ValueType_5;
|
|
57
|
+
<ValueType_6>(keyWithPath: import("@loopback/core").BindingAddress<ValueType_6>, options?: import("@loopback/core").ResolutionOptions | undefined): ValueType_6 | undefined;
|
|
59
58
|
};
|
|
60
59
|
getBinding: {
|
|
61
|
-
<ValueType_7 = any>(key:
|
|
62
|
-
<ValueType_8>(key:
|
|
60
|
+
<ValueType_7 = any>(key: import("@loopback/core").BindingAddress<ValueType_7>): Binding<ValueType_7>;
|
|
61
|
+
<ValueType_8>(key: import("@loopback/core").BindingAddress<ValueType_8>, options?: {
|
|
63
62
|
optional?: boolean | undefined;
|
|
64
|
-
} | undefined):
|
|
63
|
+
} | undefined): Binding<ValueType_8> | undefined;
|
|
65
64
|
};
|
|
66
|
-
findOrCreateBinding: <T_9>(key:
|
|
67
|
-
getValueOrPromise: <ValueType_9>(keyWithPath:
|
|
68
|
-
toJSON: () =>
|
|
69
|
-
inspect: (options?:
|
|
65
|
+
findOrCreateBinding: <T_9>(key: import("@loopback/core").BindingAddress<T_9>, policy?: import("@loopback/core").BindingCreationPolicy | undefined) => Binding<T_9>;
|
|
66
|
+
getValueOrPromise: <ValueType_9>(keyWithPath: import("@loopback/core").BindingAddress<ValueType_9>, optionsOrSession?: import("@loopback/core").ResolutionOptionsOrSession | undefined) => import("@loopback/core").ValueOrPromise<ValueType_9 | undefined>;
|
|
67
|
+
toJSON: () => import("@loopback/core").JSONObject;
|
|
68
|
+
inspect: (options?: import("@loopback/core").ContextInspectOptions | undefined) => import("@loopback/core").JSONObject;
|
|
70
69
|
on: {
|
|
71
|
-
(eventName: "bind" | "unbind", listener:
|
|
72
|
-
(event: string | symbol, listener: (...args: any[]) => void):
|
|
70
|
+
(eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): Application;
|
|
71
|
+
(event: string | symbol, listener: (...args: any[]) => void): Application;
|
|
73
72
|
};
|
|
74
73
|
once: {
|
|
75
|
-
(eventName: "bind" | "unbind", listener:
|
|
76
|
-
(event: string | symbol, listener: (...args: any[]) => void):
|
|
74
|
+
(eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): Application;
|
|
75
|
+
(event: string | symbol, listener: (...args: any[]) => void): Application;
|
|
77
76
|
};
|
|
78
|
-
addListener: (event: string | symbol, listener: (...args: any[]) => void) =>
|
|
79
|
-
removeListener: (event: string | symbol, listener: (...args: any[]) => void) =>
|
|
80
|
-
off: (event: string | symbol, listener: (...args: any[]) => void) =>
|
|
81
|
-
removeAllListeners: (event?: string | symbol | undefined) =>
|
|
82
|
-
setMaxListeners: (n: number) =>
|
|
77
|
+
addListener: (event: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
78
|
+
removeListener: (event: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
79
|
+
off: (event: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
80
|
+
removeAllListeners: (event?: string | symbol | undefined) => Application;
|
|
81
|
+
setMaxListeners: (n: number) => Application;
|
|
83
82
|
getMaxListeners: () => number;
|
|
84
83
|
listeners: (event: string | symbol) => Function[];
|
|
85
84
|
rawListeners: (event: string | symbol) => Function[];
|
|
86
85
|
emit: (event: string | symbol, ...args: any[]) => boolean;
|
|
87
|
-
listenerCount: (
|
|
88
|
-
prependListener: (event: string | symbol, listener: (...args: any[]) => void) =>
|
|
89
|
-
prependOnceListener: (event: string | symbol, listener: (...args: any[]) => void) =>
|
|
86
|
+
listenerCount: (event: string | symbol) => number;
|
|
87
|
+
prependListener: (event: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
88
|
+
prependOnceListener: (event: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
90
89
|
eventNames: () => (string | symbol)[];
|
|
91
90
|
};
|
|
92
91
|
} & T;
|
package/dist/typeorm.mixin.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/typeorm
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeorm.mixin.js","sourceRoot":"","sources":["../src/typeorm.mixin.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"typeorm.mixin.js","sourceRoot":"","sources":["../src/typeorm.mixin.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,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C;AAnCD,oCAmCC;AAWD,IAAa,gBAAgB,GAA7B,MAAa,gBAAgB;IAG3B,YAA8B,UAAmC,EAAE;QAArC,YAAO,GAAP,OAAO,CAA8B;QAFnE,aAAQ,GAAc,CAAC,IAAA,6BAAsB,EAAC,0BAAuB,CAAC,CAAC,CAAC;QACxE,uBAAkB,GAAG,CAAC,uBAAuB,CAAC,CAAC;IACuB,CAAC;CACxE,CAAA;AAJY,gBAAgB;IAGd,mBAAA,IAAA,aAAM,GAAE,CAAA;;GAHV,gBAAgB,CAI5B;AAJY,4CAAgB;AAS7B,IAAa,uBAAuB,GAApC,MAAa,uBAAuB;IAClC,YAEU,OAA0B;QAA1B,YAAO,GAAP,OAAO,CAAmB;IACjC,CAAC;IAEJ,KAAK,CAAC,KAAK;QACT,MAAM,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,OAAO,EAAE,CAAC,CAAC,CAAC;IACpE,CAAC;IAED,KAAK,CAAC,IAAI;QACR,MAAM,OAAO,CAAC,GAAG,CAAC,IAAI,CAAC,OAAO,CAAC,WAAW,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,KAAK,EAAE,CAAC,CAAC,CAAC;IAClE,CAAC;CACF,CAAA;AAbY,uBAAuB;IAHnC,IAAA,wBAAiB,EAAC,YAAY,EAAE;QAC/B,KAAK,EAAE,mBAAY,CAAC,SAAS;KAC9B,CAAC;IAGG,mBAAA,IAAA,aAAM,EAAC,8BAAe,CAAC,OAAO,CAAC,CAAA;6CACf,2BAAiB;GAHzB,uBAAuB,CAanC;AAbY,0DAAuB"}
|
package/dist/typeorm.types.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/typeorm
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeorm.types.js","sourceRoot":"","sources":["../src/typeorm.types.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"typeorm.types.js","sourceRoot":"","sources":["../src/typeorm.types.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;AAEhE,sCAAsC;AACtC,kDAAwB"}
|
package/dist/typeorm.utils.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/typeorm
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"typeorm.utils.js","sourceRoot":"","sources":["../src/typeorm.utils.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"typeorm.utils.js","sourceRoot":"","sources":["../src/typeorm.utils.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,iCAAiC;AACjC,+CAA+C;AAC/C,gEAAgE;;;;AAGhE,0DAAiC;AACjC,qCAA+C;AAG/C,MAAM,KAAK,GAAG,IAAA,eAAY,EAAC,wBAAwB,CAAC,CAAC;AAErD,MAAM,gBAAgB,GAAG,IAAI,OAAO,EAAE,CAAC;AAEvC;;;;;;GAMG;AACH,SAAgB,cAAc,CAC5B,SAAoC,EACpC,OAA8B;IAE9B,MAAM,MAAM,GAAG,gBAAgB,CAAC,GAAG,CAAC,SAAS,CAAC,CAAC;IAC/C,IAAI,MAAM,EAAE;QACV,OAAO,MAAM,CAAC;K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json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loopback/typeorm",
|
|
3
3
|
"description": "Adds support for TypeORM in LoopBack",
|
|
4
|
-
"version": "0.7.
|
|
4
|
+
"version": "0.7.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
|
-
"author": "IBM Corp.",
|
|
9
|
-
"copyright.owner": "IBM Corp.",
|
|
8
|
+
"author": "IBM Corp. and LoopBack contributors",
|
|
9
|
+
"copyright.owner": "IBM Corp. and LoopBack contributors",
|
|
10
10
|
"repository": {
|
|
11
11
|
"type": "git",
|
|
12
12
|
"url": "https://github.com/loopbackio/loopback-next.git",
|
|
@@ -33,9 +33,9 @@
|
|
|
33
33
|
"!*/__tests__"
|
|
34
34
|
],
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@loopback/boot": "^5.0.
|
|
37
|
-
"@loopback/core": "^4.0.
|
|
38
|
-
"@loopback/rest": "^12.0.
|
|
36
|
+
"@loopback/boot": "^5.0.1",
|
|
37
|
+
"@loopback/core": "^4.0.1",
|
|
38
|
+
"@loopback/rest": "^12.0.1"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"debug": "^4.3.4",
|
|
@@ -43,17 +43,17 @@
|
|
|
43
43
|
"typeorm": "^0.3.6"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
|
-
"@loopback/boot": "^5.0.
|
|
47
|
-
"@loopback/build": "^9.0.
|
|
48
|
-
"@loopback/core": "^4.0.
|
|
49
|
-
"@loopback/eslint-config": "^13.0.
|
|
50
|
-
"@loopback/repository": "^5.0.
|
|
51
|
-
"@loopback/rest": "^12.0.
|
|
52
|
-
"@loopback/testlab": "^5.0.
|
|
46
|
+
"@loopback/boot": "^5.0.1",
|
|
47
|
+
"@loopback/build": "^9.0.1",
|
|
48
|
+
"@loopback/core": "^4.0.1",
|
|
49
|
+
"@loopback/eslint-config": "^13.0.1",
|
|
50
|
+
"@loopback/repository": "^5.0.1",
|
|
51
|
+
"@loopback/rest": "^12.0.1",
|
|
52
|
+
"@loopback/testlab": "^5.0.1",
|
|
53
53
|
"@types/debug": "^4.1.7",
|
|
54
54
|
"@types/json-schema": "^7.0.11",
|
|
55
|
-
"@types/node": "^
|
|
56
|
-
"sqlite3": "^5.0.
|
|
55
|
+
"@types/node": "^14.18.21",
|
|
56
|
+
"sqlite3": "^5.0.8"
|
|
57
57
|
},
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "ccf7863d0639de966d6c6129b4aa94ba1dce2c33"
|
|
59
59
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/typeorm
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/graphql
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/typeorm
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
package/src/typeorm.keys.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/typeorm
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
package/src/typeorm.mixin.ts
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/typeorm
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
|
5
5
|
|
|
6
|
-
// FIXME(rfeng): Workaround for https://github.com/microsoft/rushstack/pull/1867
|
|
7
|
-
/* eslint-disable @typescript-eslint/no-unused-vars */
|
|
8
|
-
import * as loopbackContext from '@loopback/core';
|
|
9
|
-
|
|
10
6
|
import {
|
|
11
7
|
Application,
|
|
12
8
|
Binding,
|
package/src/typeorm.types.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/typeorm
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
package/src/typeorm.utils.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/typeorm
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|