@loopback/docs 6.0.0 → 6.0.2
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/CHANGELOG.md +19 -0
- package/bin/copy-changelogs.js +44 -33
- package/bin/copy-readmes.js +13 -7
- package/package.json +4 -5
- package/site/Authentication-component-options.md +1 -1
- package/site/CHANGELOG.md +0 -1
- package/site/Component.md +3 -1
- package/site/DEVELOPING.md +4 -0
- package/site/Getting-started.md +4 -1
- package/site/Using-Sequelize-with-LoopBack.md +10 -0
- package/site/apidocs/boot.bootmixin.md +26 -26
- package/site/apidocs/express.middlewaremixin.md +21 -21
- package/site/apidocs/graphql.graphqlbindings.graphql_auth_checker.md +1 -1
- package/site/apidocs/graphql.graphqlbindings.graphql_context_resolver.md +1 -1
- package/site/apidocs/repository.defaultcrudrepository.entitytodata.md +2 -2
- package/site/apidocs/repository.repositorymixin.md +26 -26
- package/site/apidocs/sequelize.sequelizecrudrepository.defaultfnregistry.md +25 -0
- package/site/apidocs/sequelize.sequelizecrudrepository.excludehiddenprops.md +7 -0
- package/site/apidocs/sequelize.sequelizecrudrepository.execute.md +27 -2
- package/site/apidocs/sequelize.sequelizecrudrepository.getdefaultfnregistry.md +25 -0
- package/site/apidocs/sequelize.sequelizecrudrepository.getsequelizemodel.md +2 -2
- package/site/apidocs/sequelize.sequelizecrudrepository.gettablename.md +40 -0
- package/site/apidocs/sequelize.sequelizecrudrepository.isinclusionallowed.md +34 -0
- package/site/apidocs/sequelize.sequelizecrudrepository.md +6 -1
- package/site/apidocs/sequelize.sequelizecrudrepository.nano_id_length.md +23 -0
- package/site/apidocs/sequelize.sequelizedatasource.execute.md +57 -0
- package/site/apidocs/sequelize.sequelizedatasource.md +2 -1
- package/site/apidocs/sequelize.sequelizedatasource.sequelizeconfig.md +1 -1
- package/site/apidocs/sequelize.sequelizedatasourceconfig.md +2 -1
- package/site/apidocs/service-proxy.servicemixin.md +26 -26
- package/site/apidocs/service-proxy.serviceproxy.md +2 -2
- package/site/apidocs/tsdocs.getpackages.md +2 -2
- package/site/apidocs/tsdocs.lernapackage.md +1 -1
- package/site/apidocs/tsdocs.md +2 -2
- package/site/apidocs/typeorm.typeormmixin.md +27 -27
- package/site/changelogs/bodyparsers/rest-msgpack/CHANGELOG.md +31 -0
- package/site/changelogs/examples/access-control-migration/CHANGELOG.md +31 -0
- package/site/changelogs/examples/binding-resolution/CHANGELOG.md +31 -0
- package/site/changelogs/examples/context/CHANGELOG.md +31 -0
- package/site/changelogs/examples/express-composition/CHANGELOG.md +31 -0
- package/site/changelogs/examples/file-transfer/CHANGELOG.md +31 -0
- package/site/changelogs/examples/graphql/CHANGELOG.md +31 -0
- package/site/changelogs/examples/greeter-extension/CHANGELOG.md +31 -0
- package/site/changelogs/examples/greeting-app/CHANGELOG.md +31 -0
- package/site/changelogs/examples/hello-world/CHANGELOG.md +31 -0
- package/site/changelogs/examples/lb3-application/CHANGELOG.md +31 -0
- package/site/changelogs/examples/log-extension/CHANGELOG.md +31 -0
- package/site/changelogs/examples/metrics-prometheus/CHANGELOG.md +31 -0
- package/site/changelogs/examples/multi-tenancy/CHANGELOG.md +31 -0
- package/site/changelogs/examples/passport-login/CHANGELOG.md +31 -0
- package/site/changelogs/examples/references-many/CHANGELOG.md +31 -0
- package/site/changelogs/examples/rest-crud/CHANGELOG.md +31 -0
- package/site/changelogs/examples/rpc-server/CHANGELOG.md +31 -0
- package/site/changelogs/examples/soap-calculator/CHANGELOG.md +31 -0
- package/site/changelogs/examples/socketio/CHANGELOG.md +31 -0
- package/site/changelogs/examples/todo/CHANGELOG.md +31 -0
- package/site/changelogs/examples/todo-jwt/CHANGELOG.md +31 -0
- package/site/changelogs/examples/todo-list/CHANGELOG.md +31 -0
- package/site/changelogs/examples/validation-app/CHANGELOG.md +31 -0
- package/site/changelogs/examples/webpack/CHANGELOG.md +31 -0
- package/site/changelogs/extensions/apiconnect/CHANGELOG.md +31 -0
- package/site/changelogs/extensions/authentication-jwt/CHANGELOG.md +31 -0
- package/site/changelogs/extensions/authentication-passport/CHANGELOG.md +31 -0
- package/site/changelogs/extensions/context-explorer/CHANGELOG.md +31 -0
- package/site/changelogs/extensions/cron/CHANGELOG.md +31 -0
- package/site/changelogs/extensions/graphql/CHANGELOG.md +31 -0
- package/site/changelogs/extensions/health/CHANGELOG.md +31 -0
- package/site/changelogs/extensions/logging/CHANGELOG.md +31 -0
- package/site/changelogs/extensions/metrics/CHANGELOG.md +31 -0
- package/site/changelogs/extensions/pooling/CHANGELOG.md +31 -0
- package/site/changelogs/extensions/sequelize/CHANGELOG.md +42 -0
- package/site/changelogs/extensions/socketio/CHANGELOG.md +28 -0
- package/site/changelogs/extensions/typeorm/CHANGELOG.md +36 -0
- package/site/changelogs/fixtures/mock-oauth2-provider/CHANGELOG.md +31 -0
- package/site/changelogs/packages/authentication/CHANGELOG.md +31 -0
- package/site/changelogs/packages/authorization/CHANGELOG.md +31 -0
- package/site/changelogs/packages/boot/CHANGELOG.md +31 -0
- package/site/changelogs/packages/booter-lb3app/CHANGELOG.md +31 -0
- package/site/changelogs/packages/build/CHANGELOG.md +19 -0
- package/site/changelogs/packages/cli/CHANGELOG.md +67 -0
- package/site/changelogs/packages/context/CHANGELOG.md +31 -0
- package/site/changelogs/packages/core/CHANGELOG.md +31 -0
- package/site/changelogs/packages/eslint-config/CHANGELOG.md +16 -0
- package/site/changelogs/packages/express/CHANGELOG.md +31 -0
- package/site/changelogs/packages/filter/CHANGELOG.md +39 -0
- package/site/changelogs/packages/http-caching-proxy/CHANGELOG.md +16 -0
- package/site/changelogs/packages/http-server/CHANGELOG.md +31 -0
- package/site/changelogs/packages/metadata/CHANGELOG.md +36 -0
- package/site/changelogs/packages/model-api-builder/CHANGELOG.md +31 -0
- package/site/changelogs/packages/openapi-spec-builder/CHANGELOG.md +31 -0
- package/site/changelogs/packages/openapi-v3/CHANGELOG.md +31 -0
- package/site/changelogs/packages/repository/CHANGELOG.md +36 -0
- package/site/changelogs/packages/repository-json-schema/CHANGELOG.md +36 -0
- package/site/changelogs/packages/repository-tests/CHANGELOG.md +31 -0
- package/site/changelogs/packages/rest/CHANGELOG.md +31 -0
- package/site/changelogs/packages/rest-crud/CHANGELOG.md +31 -0
- package/site/changelogs/packages/rest-explorer/CHANGELOG.md +31 -0
- package/site/changelogs/packages/security/CHANGELOG.md +31 -0
- package/site/changelogs/packages/service-proxy/CHANGELOG.md +36 -0
- package/site/changelogs/packages/testlab/CHANGELOG.md +19 -0
- package/site/changelogs/packages/tsdocs/CHANGELOG.md +36 -0
- package/site/readmes/loopback-next/extensions/sequelize/README.md +28 -2
- package/site/sidebars/lb4_sidebar.yml +7 -0
- package/site/changelogs/packages/monorepo/CHANGELOG.md +0 -223
- package/site/readmes/loopback-next/packages/monorepo/README.md +0 -94
|
@@ -25,10 +25,10 @@ export declare function ServiceMixin<T extends MixinTarget<Application>>(superCl
|
|
|
25
25
|
mountComponentServices<C_1 extends Component = Component>(component: Constructor<C_1>, componentBindingKey?: BindingAddress<C_1> | undefined): void;
|
|
26
26
|
readonly options: import("@loopback/core").ApplicationConfig;
|
|
27
27
|
readonly state: string;
|
|
28
|
-
controller: <
|
|
29
|
-
server: <
|
|
30
|
-
servers: <
|
|
31
|
-
getServer: <
|
|
28
|
+
controller: <T>(controllerCtor: import("@loopback/core").ControllerClass<T>, nameOrOptions?: string | BindingFromClassOptions | undefined) => Binding<T>;
|
|
29
|
+
server: <T_1 extends import("@loopback/core").Server>(ctor: Constructor<T_1>, nameOrOptions?: string | BindingFromClassOptions | undefined) => Binding<T_1>;
|
|
30
|
+
servers: <T_2 extends import("@loopback/core").Server>(ctors: Constructor<T_2>[]) => Binding<any>[];
|
|
31
|
+
getServer: <T_3 extends import("@loopback/core").Server>(target: string | Constructor<T_3>) => Promise<T_3>;
|
|
32
32
|
init: () => Promise<void>;
|
|
33
33
|
onInit: (fn: () => import("@loopback/core").ValueOrPromise<void>) => Binding<import("@loopback/core").LifeCycleObserver>;
|
|
34
34
|
start: () => Promise<void>;
|
|
@@ -36,30 +36,30 @@ export declare function ServiceMixin<T extends MixinTarget<Application>>(superCl
|
|
|
36
36
|
stop: () => Promise<void>;
|
|
37
37
|
onStop: (fn: () => import("@loopback/core").ValueOrPromise<void>) => Binding<import("@loopback/core").LifeCycleObserver>;
|
|
38
38
|
setMetadata: (metadata: import("@loopback/core").ApplicationMetadata) => void;
|
|
39
|
-
lifeCycleObserver: <
|
|
39
|
+
lifeCycleObserver: <T_4 extends import("@loopback/core").LifeCycleObserver>(ctor: Constructor<T_4>, nameOrOptions?: string | BindingFromClassOptions | undefined) => Binding<T_4>;
|
|
40
40
|
service: <S_1>(cls: import("@loopback/core").ServiceOrProviderClass<S_1>, nameOrOptions?: string | ServiceOptions | undefined) => Binding<S_1>;
|
|
41
41
|
interceptor: (interceptor: import("@loopback/core").Interceptor | Constructor<Provider<import("@loopback/core").Interceptor>>, nameOrOptions?: string | import("@loopback/core").InterceptorBindingOptions | undefined) => Binding<import("@loopback/core").Interceptor>;
|
|
42
42
|
readonly name: string;
|
|
43
43
|
readonly subscriptionManager: import("@loopback/core").ContextSubscriptionManager;
|
|
44
44
|
scope: import("@loopback/core").BindingScope;
|
|
45
45
|
readonly parent: import("@loopback/core").Context | undefined;
|
|
46
|
-
emitEvent: <
|
|
46
|
+
emitEvent: <T_5 extends import("@loopback/core").ContextEvent>(type: string, event: T_5) => void;
|
|
47
47
|
emitError: (err: unknown) => void;
|
|
48
48
|
bind: <ValueType = any>(key: BindingAddress<ValueType>) => Binding<ValueType>;
|
|
49
49
|
add: (binding: Binding<unknown>) => Application;
|
|
50
|
-
configure: <ConfigValueType = any>(key?: BindingAddress
|
|
51
|
-
getConfigAsValueOrPromise: <ConfigValueType_1>(key: BindingAddress
|
|
52
|
-
getConfig: <ConfigValueType_2>(key: BindingAddress
|
|
53
|
-
getConfigSync: <ConfigValueType_3>(key: BindingAddress
|
|
54
|
-
unbind: (key: BindingAddress
|
|
50
|
+
configure: <ConfigValueType = any>(key?: BindingAddress | undefined) => Binding<ConfigValueType>;
|
|
51
|
+
getConfigAsValueOrPromise: <ConfigValueType_1>(key: BindingAddress, propertyPath?: string | undefined, resolutionOptions?: import("@loopback/core").ResolutionOptions | undefined) => import("@loopback/core").ValueOrPromise<ConfigValueType_1 | undefined>;
|
|
52
|
+
getConfig: <ConfigValueType_2>(key: BindingAddress, propertyPath?: string | undefined, resolutionOptions?: import("@loopback/core").ResolutionOptions | undefined) => Promise<ConfigValueType_2 | undefined>;
|
|
53
|
+
getConfigSync: <ConfigValueType_3>(key: BindingAddress, propertyPath?: string | undefined, resolutionOptions?: import("@loopback/core").ResolutionOptions | undefined) => ConfigValueType_3 | undefined;
|
|
54
|
+
unbind: (key: BindingAddress) => boolean;
|
|
55
55
|
subscribe: (observer: import("@loopback/core").ContextEventObserver) => import("@loopback/core").Subscription;
|
|
56
56
|
unsubscribe: (observer: import("@loopback/core").ContextEventObserver) => boolean;
|
|
57
57
|
close: () => void;
|
|
58
58
|
isSubscribed: (observer: import("@loopback/core").ContextObserver) => boolean;
|
|
59
|
-
createView: <
|
|
60
|
-
contains: (key: BindingAddress
|
|
61
|
-
isBound: (key: BindingAddress
|
|
62
|
-
getOwnerContext: (keyOrBinding: BindingAddress
|
|
59
|
+
createView: <T_6 = 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_6>;
|
|
60
|
+
contains: (key: BindingAddress) => boolean;
|
|
61
|
+
isBound: (key: BindingAddress) => boolean;
|
|
62
|
+
getOwnerContext: (keyOrBinding: BindingAddress | Readonly<Binding<unknown>>) => import("@loopback/core").Context | undefined;
|
|
63
63
|
getScopedContext: (scope: import("@loopback/core").BindingScope.APPLICATION | import("@loopback/core").BindingScope.SERVER | import("@loopback/core").BindingScope.REQUEST) => import("@loopback/core").Context | undefined;
|
|
64
64
|
getResolutionContext: (binding: Readonly<Binding<unknown>>) => import("@loopback/core").Context | undefined;
|
|
65
65
|
isVisibleTo: (ctx: import("@loopback/core").Context) => boolean;
|
|
@@ -79,7 +79,7 @@ export declare function ServiceMixin<T extends MixinTarget<Application>>(superCl
|
|
|
79
79
|
optional?: boolean | undefined;
|
|
80
80
|
} | undefined): Binding<ValueType_8> | undefined;
|
|
81
81
|
};
|
|
82
|
-
findOrCreateBinding: <
|
|
82
|
+
findOrCreateBinding: <T_7>(key: BindingAddress<T_7>, policy?: import("@loopback/core").BindingCreationPolicy | undefined) => Binding<T_7>;
|
|
83
83
|
getValueOrPromise: <ValueType_9>(keyWithPath: BindingAddress<ValueType_9>, optionsOrSession?: import("@loopback/core").ResolutionOptionsOrSession | undefined) => import("@loopback/core").ValueOrPromise<ValueType_9 | undefined>;
|
|
84
84
|
toJSON: () => import("@loopback/core").JSONObject;
|
|
85
85
|
inspect: (options?: import("@loopback/core").ContextInspectOptions | undefined) => import("@loopback/core").JSONObject;
|
|
@@ -91,18 +91,18 @@ export declare function ServiceMixin<T extends MixinTarget<Application>>(superCl
|
|
|
91
91
|
(eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): Application;
|
|
92
92
|
(event: string | symbol, listener: (...args: any[]) => void): Application;
|
|
93
93
|
};
|
|
94
|
-
addListener: (
|
|
95
|
-
removeListener: (
|
|
96
|
-
off: (
|
|
94
|
+
addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
95
|
+
removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
96
|
+
off: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
97
97
|
removeAllListeners: (event?: string | symbol | undefined) => Application;
|
|
98
98
|
setMaxListeners: (n: number) => Application;
|
|
99
99
|
getMaxListeners: () => number;
|
|
100
|
-
listeners: (
|
|
101
|
-
rawListeners: (
|
|
102
|
-
emit: (
|
|
103
|
-
listenerCount: (
|
|
104
|
-
prependListener: (
|
|
105
|
-
prependOnceListener: (
|
|
100
|
+
listeners: (eventName: string | symbol) => Function[];
|
|
101
|
+
rawListeners: (eventName: string | symbol) => Function[];
|
|
102
|
+
emit: (eventName: string | symbol, ...args: any[]) => boolean;
|
|
103
|
+
listenerCount: (eventName: string | symbol) => number;
|
|
104
|
+
prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
105
|
+
prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
106
106
|
eventNames: () => (string | symbol)[];
|
|
107
107
|
};
|
|
108
108
|
} & T;
|
|
@@ -116,7 +116,7 @@ export declare function ServiceMixin<T extends MixinTarget<Application>>(superCl
|
|
|
116
116
|
|
|
117
117
|
**Returns:**
|
|
118
118
|
|
|
119
|
-
{ new (...args: any\[\]): { serviceProvider<S>(provider: [Constructor](./context.constructor.md)<!-- --><[Provider](./context.provider.md)<!-- --><S>>, nameOrOptions?: string \| [ServiceOptions](./core.serviceoptions.md)<!-- -->): [Binding](./context.binding.md)<!-- --><S>; component<C extends [Component](./core.component.md) = [Component](./core.component.md)<!-- -->>(componentCtor: [Constructor](./context.constructor.md)<!-- --><C>, nameOrOptions?: string \| [BindingFromClassOptions](./context.bindingfromclassoptions.md)<!-- -->): [Binding](./context.binding.md)<!-- --><C>; mountComponentServices<C\_1 extends [Component](./core.component.md) = [Component](./core.component.md)<!-- -->>(component: [Constructor](./context.constructor.md)<!-- --><C\_1>, componentBindingKey?: [BindingAddress](./context.bindingaddress.md)<!-- --><C\_1> \| undefined): void; readonly options: import("@loopback/core").[ApplicationConfig](./core.applicationconfig.md)<!-- -->; readonly state: string; controller: <T\_1>(controllerCtor: import("@loopback/core").[ControllerClass](./core.controllerclass.md)<!-- --><T\_1>, nameOrOptions?: string \| [BindingFromClassOptions](./context.bindingfromclassoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><T\_1>; server: <T\_2 extends import("@loopback/core").[Server](./core.server.md)<!-- -->>(ctor: [Constructor](./context.constructor.md)<!-- --><T\_2>, nameOrOptions?: string \| [BindingFromClassOptions](./context.bindingfromclassoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><T\_2>; servers: <T\_3 extends import("@loopback/core").[Server](./core.server.md)<!-- -->>(ctors: [Constructor](./context.constructor.md)<!-- --><T\_3>\[\]) => [Binding](./context.binding.md)<!-- --><any>\[\]; getServer: <T\_4 extends import("@loopback/core").[Server](./core.server.md)<!-- -->>(target: string \| [Constructor](./context.constructor.md)<!-- --><T\_4>) => Promise<T\_4>; init: () => Promise<void>; onInit: (fn: () => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><void>) => [Binding](./context.binding.md)<!-- --><import("@loopback/core").[LifeCycleObserver](./core.lifecycleobserver.md)<!-- -->>; start: () => Promise<void>; onStart: (fn: () => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><void>) => [Binding](./context.binding.md)<!-- --><import("@loopback/core").[LifeCycleObserver](./core.lifecycleobserver.md)<!-- -->>; stop: () => Promise<void>; onStop: (fn: () => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><void>) => [Binding](./context.binding.md)<!-- --><import("@loopback/core").[LifeCycleObserver](./core.lifecycleobserver.md)<!-- -->>; setMetadata: (metadata: import("@loopback/core").[ApplicationMetadata](./core.applicationmetadata.md)<!-- -->) => void; lifeCycleObserver: <T\_5 extends import("@loopback/core").[LifeCycleObserver](./core.lifecycleobserver.md)<!-- -->>(ctor: [Constructor](./context.constructor.md)<!-- --><T\_5>, nameOrOptions?: string \| [BindingFromClassOptions](./context.bindingfromclassoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><T\_5>; service: <S\_1>(cls: import("@loopback/core").[ServiceOrProviderClass](./core.serviceorproviderclass.md)<!-- --><S\_1>, nameOrOptions?: string \| [ServiceOptions](./core.serviceoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><S\_1>; interceptor: (interceptor: import("@loopback/core").[Interceptor](./context.interceptor.md) \| [Constructor](./context.constructor.md)<!-- --><[Provider](./context.provider.md)<!-- --><import("@loopback/core").[Interceptor](./context.interceptor.md)<!-- -->>>, nameOrOptions?: string \| import("@loopback/core").[InterceptorBindingOptions](./context.interceptorbindingoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><import("@loopback/core").[Interceptor](./context.interceptor.md)<!-- -->>; readonly name: string; readonly subscriptionManager: import("@loopback/core").[ContextSubscriptionManager](./context.contextsubscriptionmanager.md)<!-- -->; scope: import("@loopback/core").[BindingScope](./context.bindingscope.md)<!-- -->; readonly parent: import("@loopback/core").[Context](./context.context.md) \| undefined; emitEvent: <T\_6 extends import("@loopback/core").[ContextEvent](./context.contextevent.md)<!-- -->>(type: string, event: T\_6) => void; emitError: (err: unknown) => void; bind: <ValueType = any>(key: [BindingAddress](./context.bindingaddress.md)<!-- --><ValueType>) => [Binding](./context.binding.md)<!-- --><ValueType>; add: (binding: [Binding](./context.binding.md)<!-- --><unknown>) => [Application](./core.application.md)<!-- -->; configure: <ConfigValueType = any>(key?: [BindingAddress](./context.bindingaddress.md)<!-- --><unknown> \| undefined) => [Binding](./context.binding.md)<!-- --><ConfigValueType>; getConfigAsValueOrPromise: <ConfigValueType\_1>(key: [BindingAddress](./context.bindingaddress.md)<!-- --><unknown>, propertyPath?: string \| undefined, resolutionOptions?: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md) \| undefined) => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><ConfigValueType\_1 \| undefined>; getConfig: <ConfigValueType\_2>(key: [BindingAddress](./context.bindingaddress.md)<!-- --><unknown>, propertyPath?: string \| undefined, resolutionOptions?: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md) \| undefined) => Promise<ConfigValueType\_2 \| undefined>; getConfigSync: <ConfigValueType\_3>(key: [BindingAddress](./context.bindingaddress.md)<!-- --><unknown>, propertyPath?: string \| undefined, resolutionOptions?: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md) \| undefined) => ConfigValueType\_3 \| undefined; unbind: (key: [BindingAddress](./context.bindingaddress.md)<!-- --><unknown>) => boolean; subscribe: (observer: import("@loopback/core").[ContextEventObserver](./context.contexteventobserver.md)<!-- -->) => import("@loopback/core").[Subscription](./context.subscription.md)<!-- -->; unsubscribe: (observer: import("@loopback/core").[ContextEventObserver](./context.contexteventobserver.md)<!-- -->) => boolean; close: () => void; isSubscribed: (observer: import("@loopback/core").[ContextObserver](./context.contextobserver.md)<!-- -->) => boolean; createView: <T\_7 = unknown>(filter: import("@loopback/core").[BindingFilter](./context.bindingfilter.md)<!-- -->, comparator?: import("@loopback/core").[BindingComparator](./context.bindingcomparator.md) \| undefined, options?: Omit<import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md)<!-- -->, "session"> \| undefined) => import("@loopback/core").[ContextView](./context.contextview.md)<!-- --><T\_7>; contains: (key: [BindingAddress](./context.bindingaddress.md)<!-- --><unknown>) => boolean; isBound: (key: [BindingAddress](./context.bindingaddress.md)<!-- --><unknown>) => boolean; getOwnerContext: (keyOrBinding: [BindingAddress](./context.bindingaddress.md)<!-- --><unknown> \| Readonly<[Binding](./context.binding.md)<!-- --><unknown>>) => import("@loopback/core").[Context](./context.context.md) \| undefined; getScopedContext: (scope: import("@loopback/core").[BindingScope.APPLICATION](./context.bindingscope.md) \| import("@loopback/core").[BindingScope.SERVER](./context.bindingscope.md) \| import("@loopback/core").[BindingScope.REQUEST](./context.bindingscope.md)<!-- -->) => import("@loopback/core").[Context](./context.context.md) \| undefined; getResolutionContext: (binding: Readonly<[Binding](./context.binding.md)<!-- --><unknown>>) => import("@loopback/core").[Context](./context.context.md) \| undefined; isVisibleTo: (ctx: import("@loopback/core").[Context](./context.context.md)<!-- -->) => boolean; find: <ValueType\_1 = any>(pattern?: string \| RegExp \| import("@loopback/core").[BindingFilter](./context.bindingfilter.md) \| undefined) => Readonly<[Binding](./context.binding.md)<!-- --><ValueType\_1>>\[\]; findByTag: <ValueType\_2 = any>(tagFilter: RegExp \| import("@loopback/core").[BindingTag](./context.bindingtag.md)<!-- -->) => Readonly<[Binding](./context.binding.md)<!-- --><ValueType\_2>>\[\]; get: { <ValueType\_3>(keyWithPath: [BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_3>, session?: import("@loopback/core").[ResolutionSession](./context.resolutionsession.md) \| undefined): Promise<ValueType\_3>; <ValueType\_4>(keyWithPath: [BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_4>, options: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md)<!-- -->): Promise<ValueType\_4 \| undefined>; }; getSync: { <ValueType\_5>(keyWithPath: [BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_5>, session?: import("@loopback/core").[ResolutionSession](./context.resolutionsession.md) \| undefined): ValueType\_5; <ValueType\_6>(keyWithPath: [BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_6>, options?: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md) \| undefined): ValueType\_6 \| undefined; }; getBinding: { <ValueType\_7 = any>(key: [BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_7>): [Binding](./context.binding.md)<!-- --><ValueType\_7>; <ValueType\_8>(key: [BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_8>, options?: { optional?: boolean \| undefined; } \| undefined): [Binding](./context.binding.md)<!-- --><ValueType\_8> \| undefined; }; findOrCreateBinding: <T\_8>(key: [BindingAddress](./context.bindingaddress.md)<!-- --><T\_8>, policy?: import("@loopback/core").[BindingCreationPolicy](./context.bindingcreationpolicy.md) \| undefined) => [Binding](./context.binding.md)<!-- --><T\_8>; getValueOrPromise: <ValueType\_9>(keyWithPath: [BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_9>, optionsOrSession?: import("@loopback/core").[ResolutionOptionsOrSession](./context.resolutionoptionsorsession.md) \| undefined) => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><ValueType\_9 \| undefined>; toJSON: () => import("@loopback/core").[JSONObject](./context.jsonobject.md)<!-- -->; inspect: (options?: import("@loopback/core").[ContextInspectOptions](./context.contextinspectoptions.md) \| undefined) => import("@loopback/core").[JSONObject](./context.jsonobject.md)<!-- -->; on: { (eventName: "bind" \| "unbind", listener: import("@loopback/core").[ContextEventListener](./context.contexteventlistener.md)<!-- -->): [Application](./core.application.md)<!-- -->; (event: string \| symbol, listener: (...args: any\[\]) => void): [Application](./core.application.md)<!-- -->; }; once: { (eventName: "bind" \| "unbind", listener: import("@loopback/core").[ContextEventListener](./context.contexteventlistener.md)<!-- -->): [Application](./core.application.md)<!-- -->; (event: string \| symbol, listener: (...args: any\[\]) => void): [Application](./core.application.md)<!-- -->; }; addListener: (event: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; removeListener: (event: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; off: (event: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; removeAllListeners: (event?: string \| symbol \| undefined) => [Application](./core.application.md)<!-- -->; setMaxListeners: (n: number) => [Application](./core.application.md)<!-- -->; getMaxListeners: () => number; listeners: (event: string \| symbol) => Function\[\]; rawListeners: (event: string \| symbol) => Function\[\]; emit: (event: string \| symbol, ...args: any\[\]) => boolean; listenerCount: (event: string \| symbol) => number; prependListener: (event: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; prependOnceListener: (event: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; eventNames: () => (string \| symbol)\[\]; }; } & T
|
|
119
|
+
{ new (...args: any\[\]): { serviceProvider<S>(provider: [Constructor](./context.constructor.md)<!-- --><[Provider](./context.provider.md)<!-- --><S>>, nameOrOptions?: string \| [ServiceOptions](./core.serviceoptions.md)<!-- -->): [Binding](./context.binding.md)<!-- --><S>; component<C extends [Component](./core.component.md) = [Component](./core.component.md)<!-- -->>(componentCtor: [Constructor](./context.constructor.md)<!-- --><C>, nameOrOptions?: string \| [BindingFromClassOptions](./context.bindingfromclassoptions.md)<!-- -->): [Binding](./context.binding.md)<!-- --><C>; mountComponentServices<C\_1 extends [Component](./core.component.md) = [Component](./core.component.md)<!-- -->>(component: [Constructor](./context.constructor.md)<!-- --><C\_1>, componentBindingKey?: [BindingAddress](./context.bindingaddress.md)<!-- --><C\_1> \| undefined): void; readonly options: import("@loopback/core").[ApplicationConfig](./core.applicationconfig.md)<!-- -->; readonly state: string; controller: <T>(controllerCtor: import("@loopback/core").[ControllerClass](./core.controllerclass.md)<!-- --><T>, nameOrOptions?: string \| [BindingFromClassOptions](./context.bindingfromclassoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><T>; server: <T\_1 extends import("@loopback/core").[Server](./core.server.md)<!-- -->>(ctor: [Constructor](./context.constructor.md)<!-- --><T\_1>, nameOrOptions?: string \| [BindingFromClassOptions](./context.bindingfromclassoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><T\_1>; servers: <T\_2 extends import("@loopback/core").[Server](./core.server.md)<!-- -->>(ctors: [Constructor](./context.constructor.md)<!-- --><T\_2>\[\]) => [Binding](./context.binding.md)<!-- --><any>\[\]; getServer: <T\_3 extends import("@loopback/core").[Server](./core.server.md)<!-- -->>(target: string \| [Constructor](./context.constructor.md)<!-- --><T\_3>) => Promise<T\_3>; init: () => Promise<void>; onInit: (fn: () => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><void>) => [Binding](./context.binding.md)<!-- --><import("@loopback/core").[LifeCycleObserver](./core.lifecycleobserver.md)<!-- -->>; start: () => Promise<void>; onStart: (fn: () => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><void>) => [Binding](./context.binding.md)<!-- --><import("@loopback/core").[LifeCycleObserver](./core.lifecycleobserver.md)<!-- -->>; stop: () => Promise<void>; onStop: (fn: () => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><void>) => [Binding](./context.binding.md)<!-- --><import("@loopback/core").[LifeCycleObserver](./core.lifecycleobserver.md)<!-- -->>; setMetadata: (metadata: import("@loopback/core").[ApplicationMetadata](./core.applicationmetadata.md)<!-- -->) => void; lifeCycleObserver: <T\_4 extends import("@loopback/core").[LifeCycleObserver](./core.lifecycleobserver.md)<!-- -->>(ctor: [Constructor](./context.constructor.md)<!-- --><T\_4>, nameOrOptions?: string \| [BindingFromClassOptions](./context.bindingfromclassoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><T\_4>; service: <S\_1>(cls: import("@loopback/core").[ServiceOrProviderClass](./core.serviceorproviderclass.md)<!-- --><S\_1>, nameOrOptions?: string \| [ServiceOptions](./core.serviceoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><S\_1>; interceptor: (interceptor: import("@loopback/core").[Interceptor](./context.interceptor.md) \| [Constructor](./context.constructor.md)<!-- --><[Provider](./context.provider.md)<!-- --><import("@loopback/core").[Interceptor](./context.interceptor.md)<!-- -->>>, nameOrOptions?: string \| import("@loopback/core").[InterceptorBindingOptions](./context.interceptorbindingoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><import("@loopback/core").[Interceptor](./context.interceptor.md)<!-- -->>; readonly name: string; readonly subscriptionManager: import("@loopback/core").[ContextSubscriptionManager](./context.contextsubscriptionmanager.md)<!-- -->; scope: import("@loopback/core").[BindingScope](./context.bindingscope.md)<!-- -->; readonly parent: import("@loopback/core").[Context](./context.context.md) \| undefined; emitEvent: <T\_5 extends import("@loopback/core").[ContextEvent](./context.contextevent.md)<!-- -->>(type: string, event: T\_5) => void; emitError: (err: unknown) => void; bind: <ValueType = any>(key: [BindingAddress](./context.bindingaddress.md)<!-- --><ValueType>) => [Binding](./context.binding.md)<!-- --><ValueType>; add: (binding: [Binding](./context.binding.md)<!-- --><unknown>) => [Application](./core.application.md)<!-- -->; configure: <ConfigValueType = any>(key?: [BindingAddress](./context.bindingaddress.md) \| undefined) => [Binding](./context.binding.md)<!-- --><ConfigValueType>; getConfigAsValueOrPromise: <ConfigValueType\_1>(key: [BindingAddress](./context.bindingaddress.md)<!-- -->, propertyPath?: string \| undefined, resolutionOptions?: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md) \| undefined) => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><ConfigValueType\_1 \| undefined>; getConfig: <ConfigValueType\_2>(key: [BindingAddress](./context.bindingaddress.md)<!-- -->, propertyPath?: string \| undefined, resolutionOptions?: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md) \| undefined) => Promise<ConfigValueType\_2 \| undefined>; getConfigSync: <ConfigValueType\_3>(key: [BindingAddress](./context.bindingaddress.md)<!-- -->, propertyPath?: string \| undefined, resolutionOptions?: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md) \| undefined) => ConfigValueType\_3 \| undefined; unbind: (key: [BindingAddress](./context.bindingaddress.md)<!-- -->) => boolean; subscribe: (observer: import("@loopback/core").[ContextEventObserver](./context.contexteventobserver.md)<!-- -->) => import("@loopback/core").[Subscription](./context.subscription.md)<!-- -->; unsubscribe: (observer: import("@loopback/core").[ContextEventObserver](./context.contexteventobserver.md)<!-- -->) => boolean; close: () => void; isSubscribed: (observer: import("@loopback/core").[ContextObserver](./context.contextobserver.md)<!-- -->) => boolean; createView: <T\_6 = unknown>(filter: import("@loopback/core").[BindingFilter](./context.bindingfilter.md)<!-- -->, comparator?: import("@loopback/core").[BindingComparator](./context.bindingcomparator.md) \| undefined, options?: Omit<import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md)<!-- -->, "session"> \| undefined) => import("@loopback/core").[ContextView](./context.contextview.md)<!-- --><T\_6>; contains: (key: [BindingAddress](./context.bindingaddress.md)<!-- -->) => boolean; isBound: (key: [BindingAddress](./context.bindingaddress.md)<!-- -->) => boolean; getOwnerContext: (keyOrBinding: [BindingAddress](./context.bindingaddress.md) \| Readonly<[Binding](./context.binding.md)<!-- --><unknown>>) => import("@loopback/core").[Context](./context.context.md) \| undefined; getScopedContext: (scope: import("@loopback/core").[BindingScope.APPLICATION](./context.bindingscope.md) \| import("@loopback/core").[BindingScope.SERVER](./context.bindingscope.md) \| import("@loopback/core").[BindingScope.REQUEST](./context.bindingscope.md)<!-- -->) => import("@loopback/core").[Context](./context.context.md) \| undefined; getResolutionContext: (binding: Readonly<[Binding](./context.binding.md)<!-- --><unknown>>) => import("@loopback/core").[Context](./context.context.md) \| undefined; isVisibleTo: (ctx: import("@loopback/core").[Context](./context.context.md)<!-- -->) => boolean; find: <ValueType\_1 = any>(pattern?: string \| RegExp \| import("@loopback/core").[BindingFilter](./context.bindingfilter.md) \| undefined) => Readonly<[Binding](./context.binding.md)<!-- --><ValueType\_1>>\[\]; findByTag: <ValueType\_2 = any>(tagFilter: RegExp \| import("@loopback/core").[BindingTag](./context.bindingtag.md)<!-- -->) => Readonly<[Binding](./context.binding.md)<!-- --><ValueType\_2>>\[\]; get: { <ValueType\_3>(keyWithPath: [BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_3>, session?: import("@loopback/core").[ResolutionSession](./context.resolutionsession.md) \| undefined): Promise<ValueType\_3>; <ValueType\_4>(keyWithPath: [BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_4>, options: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md)<!-- -->): Promise<ValueType\_4 \| undefined>; }; getSync: { <ValueType\_5>(keyWithPath: [BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_5>, session?: import("@loopback/core").[ResolutionSession](./context.resolutionsession.md) \| undefined): ValueType\_5; <ValueType\_6>(keyWithPath: [BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_6>, options?: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md) \| undefined): ValueType\_6 \| undefined; }; getBinding: { <ValueType\_7 = any>(key: [BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_7>): [Binding](./context.binding.md)<!-- --><ValueType\_7>; <ValueType\_8>(key: [BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_8>, options?: { optional?: boolean \| undefined; } \| undefined): [Binding](./context.binding.md)<!-- --><ValueType\_8> \| undefined; }; findOrCreateBinding: <T\_7>(key: [BindingAddress](./context.bindingaddress.md)<!-- --><T\_7>, policy?: import("@loopback/core").[BindingCreationPolicy](./context.bindingcreationpolicy.md) \| undefined) => [Binding](./context.binding.md)<!-- --><T\_7>; getValueOrPromise: <ValueType\_9>(keyWithPath: [BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_9>, optionsOrSession?: import("@loopback/core").[ResolutionOptionsOrSession](./context.resolutionoptionsorsession.md) \| undefined) => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><ValueType\_9 \| undefined>; toJSON: () => import("@loopback/core").[JSONObject](./context.jsonobject.md)<!-- -->; inspect: (options?: import("@loopback/core").[ContextInspectOptions](./context.contextinspectoptions.md) \| undefined) => import("@loopback/core").[JSONObject](./context.jsonobject.md)<!-- -->; on: { (eventName: "bind" \| "unbind", listener: import("@loopback/core").[ContextEventListener](./context.contexteventlistener.md)<!-- -->): [Application](./core.application.md)<!-- -->; (event: string \| symbol, listener: (...args: any\[\]) => void): [Application](./core.application.md)<!-- -->; }; once: { (eventName: "bind" \| "unbind", listener: import("@loopback/core").[ContextEventListener](./context.contexteventlistener.md)<!-- -->): [Application](./core.application.md)<!-- -->; (event: string \| symbol, listener: (...args: any\[\]) => void): [Application](./core.application.md)<!-- -->; }; addListener: (eventName: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; removeListener: (eventName: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; off: (eventName: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; removeAllListeners: (event?: string \| symbol \| undefined) => [Application](./core.application.md)<!-- -->; setMaxListeners: (n: number) => [Application](./core.application.md)<!-- -->; getMaxListeners: () => number; listeners: (eventName: string \| symbol) => Function\[\]; rawListeners: (eventName: string \| symbol) => Function\[\]; emit: (eventName: string \| symbol, ...args: any\[\]) => boolean; listenerCount: (eventName: string \| symbol) => number; prependListener: (eventName: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; prependOnceListener: (eventName: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; eventNames: () => (string \| symbol)\[\]; }; } & T
|
|
120
120
|
|
|
121
121
|
A new class that extends the super class with service proxy related methods
|
|
122
122
|
|
|
@@ -16,7 +16,7 @@ permalink: /doc/en/lb4/apidocs.service-proxy.serviceproxy.html
|
|
|
16
16
|
**Signature:**
|
|
17
17
|
|
|
18
18
|
```typescript
|
|
19
|
-
export declare function serviceProxy(dataSource: string | juggler.DataSource): (target: object, key: string, parameterIndex?: number) => void;
|
|
19
|
+
export declare function serviceProxy(dataSource: string | juggler.DataSource): (target: object, key: string | undefined, parameterIndex?: number) => void;
|
|
20
20
|
```
|
|
21
21
|
|
|
22
22
|
## Parameters
|
|
@@ -27,6 +27,6 @@ export declare function serviceProxy(dataSource: string | juggler.DataSource): (
|
|
|
27
27
|
|
|
28
28
|
**Returns:**
|
|
29
29
|
|
|
30
|
-
(target: object, key: string, parameterIndex?: number) => void
|
|
30
|
+
(target: object, key: string \| undefined, parameterIndex?: number) => void
|
|
31
31
|
|
|
32
32
|
|
|
@@ -13,7 +13,7 @@ permalink: /doc/en/lb4/apidocs.tsdocs.getpackages.html
|
|
|
13
13
|
|
|
14
14
|
## getPackages() function
|
|
15
15
|
|
|
16
|
-
Get
|
|
16
|
+
Get workspace packages and sorted them by location
|
|
17
17
|
|
|
18
18
|
**Signature:**
|
|
19
19
|
|
|
@@ -25,7 +25,7 @@ export declare function getPackages(rootDir?: string): Promise<LernaPackage[]>;
|
|
|
25
25
|
|
|
26
26
|
| Parameter | Type | Description |
|
|
27
27
|
| --- | --- | --- |
|
|
28
|
-
| rootDir | string | _(Optional)_ Root directory
|
|
28
|
+
| rootDir | string | _(Optional)_ Root directory |
|
|
29
29
|
|
|
30
30
|
**Returns:**
|
|
31
31
|
|
|
@@ -13,7 +13,7 @@ permalink: /doc/en/lb4/apidocs.tsdocs.lernapackage.html
|
|
|
13
13
|
|
|
14
14
|
## LernaPackage interface
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
Typescript definition for [Lerna Package](https://github.com/lerna/lerna/blob/master/core/package/index.js)
|
|
17
17
|
|
|
18
18
|
**Signature:**
|
|
19
19
|
|
package/site/apidocs/tsdocs.md
CHANGED
|
@@ -25,7 +25,7 @@ It's built on top of [Microsoft API Extractor](https://api-extractor.com)<!-- --
|
|
|
25
25
|
|
|
26
26
|
| Function | Description |
|
|
27
27
|
| --- | --- |
|
|
28
|
-
| [getPackages(rootDir)](./tsdocs.getpackages.md) | Get
|
|
28
|
+
| [getPackages(rootDir)](./tsdocs.getpackages.md) | Get workspace packages and sorted them by location |
|
|
29
29
|
| [getPackagesWithTsDocs(rootDir)](./tsdocs.getpackageswithtsdocs.md) | Get an array of lerna-managed TypeScript packages to generate tsdocs |
|
|
30
30
|
| [getUnscopedPackageName(name)](./tsdocs.getunscopedpackagename.md) | Get un-scoped package name |
|
|
31
31
|
| [runExtractorForMonorepo(options)](./tsdocs.runextractorformonorepo.md) | Run api-extractor for a lerna-managed monrepo |
|
|
@@ -39,7 +39,7 @@ It's built on top of [Microsoft API Extractor](https://api-extractor.com)<!-- --
|
|
|
39
39
|
| --- | --- |
|
|
40
40
|
| [ApiDocsOptions](./tsdocs.apidocsoptions.md) | Options for api docs |
|
|
41
41
|
| [ExtractorOptions](./tsdocs.extractoroptions.md) | Options to run api-extractor against the lerna repo |
|
|
42
|
-
| [LernaPackage](./tsdocs.lernapackage.md) |
|
|
42
|
+
| [LernaPackage](./tsdocs.lernapackage.md) | Typescript definition for [Lerna Package](https://github.com/lerna/lerna/blob/master/core/package/index.js) |
|
|
43
43
|
|
|
44
44
|
## Variables
|
|
45
45
|
|
|
@@ -23,42 +23,42 @@ export declare function TypeOrmMixin<T extends MixinTarget<Application>>(superCl
|
|
|
23
23
|
migrateSchema(): Promise<void>;
|
|
24
24
|
readonly options: import("@loopback/core").ApplicationConfig;
|
|
25
25
|
readonly state: string;
|
|
26
|
-
controller: <
|
|
27
|
-
server: <
|
|
28
|
-
servers: <
|
|
29
|
-
getServer: <
|
|
26
|
+
controller: <T>(controllerCtor: import("@loopback/core").ControllerClass<T>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined) => Binding<T>;
|
|
27
|
+
server: <T_1 extends import("@loopback/core").Server>(ctor: import("@loopback/core").Constructor<T_1>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined) => Binding<T_1>;
|
|
28
|
+
servers: <T_2 extends import("@loopback/core").Server>(ctors: import("@loopback/core").Constructor<T_2>[]) => Binding<any>[];
|
|
29
|
+
getServer: <T_3 extends import("@loopback/core").Server>(target: string | import("@loopback/core").Constructor<T_3>) => Promise<T_3>;
|
|
30
30
|
init: () => Promise<void>;
|
|
31
31
|
onInit: (fn: () => import("@loopback/core").ValueOrPromise<void>) => Binding<LifeCycleObserver>;
|
|
32
32
|
start: () => Promise<void>;
|
|
33
33
|
onStart: (fn: () => import("@loopback/core").ValueOrPromise<void>) => Binding<LifeCycleObserver>;
|
|
34
34
|
stop: () => Promise<void>;
|
|
35
35
|
onStop: (fn: () => import("@loopback/core").ValueOrPromise<void>) => Binding<LifeCycleObserver>;
|
|
36
|
-
component: <
|
|
36
|
+
component: <T_4 extends Component = Component>(componentCtor: import("@loopback/core").Constructor<T_4>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined) => Binding<T_4>;
|
|
37
37
|
setMetadata: (metadata: import("@loopback/core").ApplicationMetadata) => void;
|
|
38
|
-
lifeCycleObserver: <
|
|
38
|
+
lifeCycleObserver: <T_5 extends LifeCycleObserver>(ctor: import("@loopback/core").Constructor<T_5>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined) => Binding<T_5>;
|
|
39
39
|
service: <S>(cls: import("@loopback/core").ServiceOrProviderClass<S>, nameOrOptions?: string | import("@loopback/core").ServiceOptions | undefined) => Binding<S>;
|
|
40
40
|
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>;
|
|
41
41
|
readonly name: string;
|
|
42
42
|
readonly subscriptionManager: import("@loopback/core").ContextSubscriptionManager;
|
|
43
43
|
scope: BindingScope;
|
|
44
44
|
readonly parent: import("@loopback/core").Context | undefined;
|
|
45
|
-
emitEvent: <
|
|
45
|
+
emitEvent: <T_6 extends import("@loopback/core").ContextEvent>(type: string, event: T_6) => void;
|
|
46
46
|
emitError: (err: unknown) => void;
|
|
47
47
|
bind: <ValueType = any>(key: import("@loopback/core").BindingAddress<ValueType>) => Binding<ValueType>;
|
|
48
48
|
add: (binding: Binding<unknown>) => Application;
|
|
49
|
-
configure: <ConfigValueType = any>(key?: import("@loopback/core").BindingAddress
|
|
50
|
-
getConfigAsValueOrPromise: <ConfigValueType_1>(key: import("@loopback/core").BindingAddress
|
|
51
|
-
getConfig: <ConfigValueType_2>(key: import("@loopback/core").BindingAddress
|
|
52
|
-
getConfigSync: <ConfigValueType_3>(key: import("@loopback/core").BindingAddress
|
|
53
|
-
unbind: (key: import("@loopback/core").BindingAddress
|
|
49
|
+
configure: <ConfigValueType = any>(key?: import("@loopback/core").BindingAddress | undefined) => Binding<ConfigValueType>;
|
|
50
|
+
getConfigAsValueOrPromise: <ConfigValueType_1>(key: import("@loopback/core").BindingAddress, propertyPath?: string | undefined, resolutionOptions?: import("@loopback/core").ResolutionOptions | undefined) => import("@loopback/core").ValueOrPromise<ConfigValueType_1 | undefined>;
|
|
51
|
+
getConfig: <ConfigValueType_2>(key: import("@loopback/core").BindingAddress, propertyPath?: string | undefined, resolutionOptions?: import("@loopback/core").ResolutionOptions | undefined) => Promise<ConfigValueType_2 | undefined>;
|
|
52
|
+
getConfigSync: <ConfigValueType_3>(key: import("@loopback/core").BindingAddress, propertyPath?: string | undefined, resolutionOptions?: import("@loopback/core").ResolutionOptions | undefined) => ConfigValueType_3 | undefined;
|
|
53
|
+
unbind: (key: import("@loopback/core").BindingAddress) => boolean;
|
|
54
54
|
subscribe: (observer: import("@loopback/core").ContextEventObserver) => import("@loopback/core").Subscription;
|
|
55
55
|
unsubscribe: (observer: import("@loopback/core").ContextEventObserver) => boolean;
|
|
56
56
|
close: () => void;
|
|
57
57
|
isSubscribed: (observer: import("@loopback/core").ContextObserver) => boolean;
|
|
58
|
-
createView: <
|
|
59
|
-
contains: (key: import("@loopback/core").BindingAddress
|
|
60
|
-
isBound: (key: import("@loopback/core").BindingAddress
|
|
61
|
-
getOwnerContext: (keyOrBinding: import("@loopback/core").BindingAddress
|
|
58
|
+
createView: <T_7 = 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_7>;
|
|
59
|
+
contains: (key: import("@loopback/core").BindingAddress) => boolean;
|
|
60
|
+
isBound: (key: import("@loopback/core").BindingAddress) => boolean;
|
|
61
|
+
getOwnerContext: (keyOrBinding: import("@loopback/core").BindingAddress | Readonly<Binding<unknown>>) => import("@loopback/core").Context | undefined;
|
|
62
62
|
getScopedContext: (scope: BindingScope.APPLICATION | BindingScope.SERVER | BindingScope.REQUEST) => import("@loopback/core").Context | undefined;
|
|
63
63
|
getResolutionContext: (binding: Readonly<Binding<unknown>>) => import("@loopback/core").Context | undefined;
|
|
64
64
|
isVisibleTo: (ctx: import("@loopback/core").Context) => boolean;
|
|
@@ -78,7 +78,7 @@ export declare function TypeOrmMixin<T extends MixinTarget<Application>>(superCl
|
|
|
78
78
|
optional?: boolean | undefined;
|
|
79
79
|
} | undefined): Binding<ValueType_8> | undefined;
|
|
80
80
|
};
|
|
81
|
-
findOrCreateBinding: <
|
|
81
|
+
findOrCreateBinding: <T_8>(key: import("@loopback/core").BindingAddress<T_8>, policy?: import("@loopback/core").BindingCreationPolicy | undefined) => Binding<T_8>;
|
|
82
82
|
getValueOrPromise: <ValueType_9>(keyWithPath: import("@loopback/core").BindingAddress<ValueType_9>, optionsOrSession?: import("@loopback/core").ResolutionOptionsOrSession | undefined) => import("@loopback/core").ValueOrPromise<ValueType_9 | undefined>;
|
|
83
83
|
toJSON: () => import("@loopback/core").JSONObject;
|
|
84
84
|
inspect: (options?: import("@loopback/core").ContextInspectOptions | undefined) => import("@loopback/core").JSONObject;
|
|
@@ -90,18 +90,18 @@ export declare function TypeOrmMixin<T extends MixinTarget<Application>>(superCl
|
|
|
90
90
|
(eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): Application;
|
|
91
91
|
(event: string | symbol, listener: (...args: any[]) => void): Application;
|
|
92
92
|
};
|
|
93
|
-
addListener: (
|
|
94
|
-
removeListener: (
|
|
95
|
-
off: (
|
|
93
|
+
addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
94
|
+
removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
95
|
+
off: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
96
96
|
removeAllListeners: (event?: string | symbol | undefined) => Application;
|
|
97
97
|
setMaxListeners: (n: number) => Application;
|
|
98
98
|
getMaxListeners: () => number;
|
|
99
|
-
listeners: (
|
|
100
|
-
rawListeners: (
|
|
101
|
-
emit: (
|
|
102
|
-
listenerCount: (
|
|
103
|
-
prependListener: (
|
|
104
|
-
prependOnceListener: (
|
|
99
|
+
listeners: (eventName: string | symbol) => Function[];
|
|
100
|
+
rawListeners: (eventName: string | symbol) => Function[];
|
|
101
|
+
emit: (eventName: string | symbol, ...args: any[]) => boolean;
|
|
102
|
+
listenerCount: (eventName: string | symbol) => number;
|
|
103
|
+
prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
104
|
+
prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => Application;
|
|
105
105
|
eventNames: () => (string | symbol)[];
|
|
106
106
|
};
|
|
107
107
|
} & T;
|
|
@@ -115,6 +115,6 @@ export declare function TypeOrmMixin<T extends MixinTarget<Application>>(superCl
|
|
|
115
115
|
|
|
116
116
|
**Returns:**
|
|
117
117
|
|
|
118
|
-
{ new (...args: any\[\]): { connectionManager: ConnectionManager; connection(connectionConfig: ConnectionOptions): [Binding](./context.binding.md)<!-- --><Connection>; migrateSchema(): Promise<void>; readonly options: import("@loopback/core").[ApplicationConfig](./core.applicationconfig.md)<!-- -->; readonly state: string; controller: <T\_1>(controllerCtor: import("@loopback/core").[ControllerClass](./core.controllerclass.md)<!-- --><T\_1>, nameOrOptions?: string \| import("@loopback/core").[BindingFromClassOptions](./context.bindingfromclassoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><T\_1>; server: <T\_2 extends import("@loopback/core").[Server](./core.server.md)<!-- -->>(ctor: import("@loopback/core").[Constructor](./context.constructor.md)<!-- --><T\_2>, nameOrOptions?: string \| import("@loopback/core").[BindingFromClassOptions](./context.bindingfromclassoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><T\_2>; servers: <T\_3 extends import("@loopback/core").[Server](./core.server.md)<!-- -->>(ctors: import("@loopback/core").[Constructor](./context.constructor.md)<!-- --><T\_3>\[\]) => [Binding](./context.binding.md)<!-- --><any>\[\]; getServer: <T\_4 extends import("@loopback/core").[Server](./core.server.md)<!-- -->>(target: string \| import("@loopback/core").[Constructor](./context.constructor.md)<!-- --><T\_4>) => Promise<T\_4>; init: () => Promise<void>; onInit: (fn: () => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><void>) => [Binding](./context.binding.md)<!-- --><[LifeCycleObserver](./core.lifecycleobserver.md)<!-- -->>; start: () => Promise<void>; onStart: (fn: () => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><void>) => [Binding](./context.binding.md)<!-- --><[LifeCycleObserver](./core.lifecycleobserver.md)<!-- -->>; stop: () => Promise<void>; onStop: (fn: () => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><void>) => [Binding](./context.binding.md)<!-- --><[LifeCycleObserver](./core.lifecycleobserver.md)<!-- -->>; component: <T\_5 extends [Component](./core.component.md) = [Component](./core.component.md)<!-- -->>(componentCtor: import("@loopback/core").[Constructor](./context.constructor.md)<!-- --><T\_5>, nameOrOptions?: string \| import("@loopback/core").[BindingFromClassOptions](./context.bindingfromclassoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><T\_5>; setMetadata: (metadata: import("@loopback/core").[ApplicationMetadata](./core.applicationmetadata.md)<!-- -->) => void; lifeCycleObserver: <T\_6 extends [LifeCycleObserver](./core.lifecycleobserver.md)<!-- -->>(ctor: import("@loopback/core").[Constructor](./context.constructor.md)<!-- --><T\_6>, nameOrOptions?: string \| import("@loopback/core").[BindingFromClassOptions](./context.bindingfromclassoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><T\_6>; service: <S>(cls: import("@loopback/core").[ServiceOrProviderClass](./core.serviceorproviderclass.md)<!-- --><S>, nameOrOptions?: string \| import("@loopback/core").[ServiceOptions](./core.serviceoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><S>; interceptor: (interceptor: import("@loopback/core").[Interceptor](./context.interceptor.md) \| import("@loopback/core").[Constructor](./context.constructor.md)<!-- --><import("@loopback/core").[Provider](./context.provider.md)<!-- --><import("@loopback/core").[Interceptor](./context.interceptor.md)<!-- -->>>, nameOrOptions?: string \| import("@loopback/core").[InterceptorBindingOptions](./context.interceptorbindingoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><import("@loopback/core").[Interceptor](./context.interceptor.md)<!-- -->>; readonly name: string; readonly subscriptionManager: import("@loopback/core").[ContextSubscriptionManager](./context.contextsubscriptionmanager.md)<!-- -->; scope: [BindingScope](./context.bindingscope.md)<!-- -->; readonly parent: import("@loopback/core").[Context](./context.context.md) \| undefined; emitEvent: <T\_7 extends import("@loopback/core").[ContextEvent](./context.contextevent.md)<!-- -->>(type: string, event: T\_7) => void; emitError: (err: unknown) => void; bind: <ValueType = any>(key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><ValueType>) => [Binding](./context.binding.md)<!-- --><ValueType>; add: (binding: [Binding](./context.binding.md)<!-- --><unknown>) => [Application](./core.application.md)<!-- -->; configure: <ConfigValueType = any>(key?: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><unknown> \| undefined) => [Binding](./context.binding.md)<!-- --><ConfigValueType>; getConfigAsValueOrPromise: <ConfigValueType\_1>(key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><unknown>, propertyPath?: string \| undefined, resolutionOptions?: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md) \| undefined) => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><ConfigValueType\_1 \| undefined>; getConfig: <ConfigValueType\_2>(key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><unknown>, propertyPath?: string \| undefined, resolutionOptions?: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md) \| undefined) => Promise<ConfigValueType\_2 \| undefined>; getConfigSync: <ConfigValueType\_3>(key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><unknown>, propertyPath?: string \| undefined, resolutionOptions?: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md) \| undefined) => ConfigValueType\_3 \| undefined; unbind: (key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><unknown>) => boolean; subscribe: (observer: import("@loopback/core").[ContextEventObserver](./context.contexteventobserver.md)<!-- -->) => import("@loopback/core").[Subscription](./context.subscription.md)<!-- -->; unsubscribe: (observer: import("@loopback/core").[ContextEventObserver](./context.contexteventobserver.md)<!-- -->) => boolean; close: () => void; isSubscribed: (observer: import("@loopback/core").[ContextObserver](./context.contextobserver.md)<!-- -->) => boolean; createView: <T\_8 = unknown>(filter: import("@loopback/core").[BindingFilter](./context.bindingfilter.md)<!-- -->, comparator?: import("@loopback/core").[BindingComparator](./context.bindingcomparator.md) \| undefined, options?: Omit<import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md)<!-- -->, "session"> \| undefined) => import("@loopback/core").[ContextView](./context.contextview.md)<!-- --><T\_8>; contains: (key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><unknown>) => boolean; isBound: (key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><unknown>) => boolean; getOwnerContext: (keyOrBinding: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><unknown> \| Readonly<[Binding](./context.binding.md)<!-- --><unknown>>) => import("@loopback/core").[Context](./context.context.md) \| undefined; getScopedContext: (scope: [BindingScope.APPLICATION](./context.bindingscope.md) \| [BindingScope.SERVER](./context.bindingscope.md) \| [BindingScope.REQUEST](./context.bindingscope.md)<!-- -->) => import("@loopback/core").[Context](./context.context.md) \| undefined; getResolutionContext: (binding: Readonly<[Binding](./context.binding.md)<!-- --><unknown>>) => import("@loopback/core").[Context](./context.context.md) \| undefined; isVisibleTo: (ctx: import("@loopback/core").[Context](./context.context.md)<!-- -->) => boolean; find: <ValueType\_1 = any>(pattern?: string \| RegExp \| import("@loopback/core").[BindingFilter](./context.bindingfilter.md) \| undefined) => Readonly<[Binding](./context.binding.md)<!-- --><ValueType\_1>>\[\]; findByTag: <ValueType\_2 = any>(tagFilter: RegExp \| import("@loopback/core").[BindingTag](./context.bindingtag.md)<!-- -->) => Readonly<[Binding](./context.binding.md)<!-- --><ValueType\_2>>\[\]; get: { <ValueType\_3>(keyWithPath: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_3>, session?: import("@loopback/core").[ResolutionSession](./context.resolutionsession.md) \| undefined): Promise<ValueType\_3>; <ValueType\_4>(keyWithPath: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_4>, options: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md)<!-- -->): Promise<ValueType\_4 \| undefined>; }; getSync: { <ValueType\_5>(keyWithPath: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_5>, session?: import("@loopback/core").[ResolutionSession](./context.resolutionsession.md) \| undefined): ValueType\_5; <ValueType\_6>(keyWithPath: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_6>, options?: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md) \| undefined): ValueType\_6 \| undefined; }; getBinding: { <ValueType\_7 = any>(key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_7>): [Binding](./context.binding.md)<!-- --><ValueType\_7>; <ValueType\_8>(key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_8>, options?: { optional?: boolean \| undefined; } \| undefined): [Binding](./context.binding.md)<!-- --><ValueType\_8> \| undefined; }; findOrCreateBinding: <T\_9>(key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><T\_9>, policy?: import("@loopback/core").[BindingCreationPolicy](./context.bindingcreationpolicy.md) \| undefined) => [Binding](./context.binding.md)<!-- --><T\_9>; getValueOrPromise: <ValueType\_9>(keyWithPath: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_9>, optionsOrSession?: import("@loopback/core").[ResolutionOptionsOrSession](./context.resolutionoptionsorsession.md) \| undefined) => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><ValueType\_9 \| undefined>; toJSON: () => import("@loopback/core").[JSONObject](./context.jsonobject.md)<!-- -->; inspect: (options?: import("@loopback/core").[ContextInspectOptions](./context.contextinspectoptions.md) \| undefined) => import("@loopback/core").[JSONObject](./context.jsonobject.md)<!-- -->; on: { (eventName: "bind" \| "unbind", listener: import("@loopback/core").[ContextEventListener](./context.contexteventlistener.md)<!-- -->): [Application](./core.application.md)<!-- -->; (event: string \| symbol, listener: (...args: any\[\]) => void): [Application](./core.application.md)<!-- -->; }; once: { (eventName: "bind" \| "unbind", listener: import("@loopback/core").[ContextEventListener](./context.contexteventlistener.md)<!-- -->): [Application](./core.application.md)<!-- -->; (event: string \| symbol, listener: (...args: any\[\]) => void): [Application](./core.application.md)<!-- -->; }; addListener: (event: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; removeListener: (event: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; off: (event: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; removeAllListeners: (event?: string \| symbol \| undefined) => [Application](./core.application.md)<!-- -->; setMaxListeners: (n: number) => [Application](./core.application.md)<!-- -->; getMaxListeners: () => number; listeners: (event: string \| symbol) => Function\[\]; rawListeners: (event: string \| symbol) => Function\[\]; emit: (event: string \| symbol, ...args: any\[\]) => boolean; listenerCount: (event: string \| symbol) => number; prependListener: (event: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; prependOnceListener: (event: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; eventNames: () => (string \| symbol)\[\]; }; } & T
|
|
118
|
+
{ new (...args: any\[\]): { connectionManager: ConnectionManager; connection(connectionConfig: ConnectionOptions): [Binding](./context.binding.md)<!-- --><Connection>; migrateSchema(): Promise<void>; readonly options: import("@loopback/core").[ApplicationConfig](./core.applicationconfig.md)<!-- -->; readonly state: string; controller: <T>(controllerCtor: import("@loopback/core").[ControllerClass](./core.controllerclass.md)<!-- --><T>, nameOrOptions?: string \| import("@loopback/core").[BindingFromClassOptions](./context.bindingfromclassoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><T>; server: <T\_1 extends import("@loopback/core").[Server](./core.server.md)<!-- -->>(ctor: import("@loopback/core").[Constructor](./context.constructor.md)<!-- --><T\_1>, nameOrOptions?: string \| import("@loopback/core").[BindingFromClassOptions](./context.bindingfromclassoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><T\_1>; servers: <T\_2 extends import("@loopback/core").[Server](./core.server.md)<!-- -->>(ctors: import("@loopback/core").[Constructor](./context.constructor.md)<!-- --><T\_2>\[\]) => [Binding](./context.binding.md)<!-- --><any>\[\]; getServer: <T\_3 extends import("@loopback/core").[Server](./core.server.md)<!-- -->>(target: string \| import("@loopback/core").[Constructor](./context.constructor.md)<!-- --><T\_3>) => Promise<T\_3>; init: () => Promise<void>; onInit: (fn: () => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><void>) => [Binding](./context.binding.md)<!-- --><[LifeCycleObserver](./core.lifecycleobserver.md)<!-- -->>; start: () => Promise<void>; onStart: (fn: () => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><void>) => [Binding](./context.binding.md)<!-- --><[LifeCycleObserver](./core.lifecycleobserver.md)<!-- -->>; stop: () => Promise<void>; onStop: (fn: () => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><void>) => [Binding](./context.binding.md)<!-- --><[LifeCycleObserver](./core.lifecycleobserver.md)<!-- -->>; component: <T\_4 extends [Component](./core.component.md) = [Component](./core.component.md)<!-- -->>(componentCtor: import("@loopback/core").[Constructor](./context.constructor.md)<!-- --><T\_4>, nameOrOptions?: string \| import("@loopback/core").[BindingFromClassOptions](./context.bindingfromclassoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><T\_4>; setMetadata: (metadata: import("@loopback/core").[ApplicationMetadata](./core.applicationmetadata.md)<!-- -->) => void; lifeCycleObserver: <T\_5 extends [LifeCycleObserver](./core.lifecycleobserver.md)<!-- -->>(ctor: import("@loopback/core").[Constructor](./context.constructor.md)<!-- --><T\_5>, nameOrOptions?: string \| import("@loopback/core").[BindingFromClassOptions](./context.bindingfromclassoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><T\_5>; service: <S>(cls: import("@loopback/core").[ServiceOrProviderClass](./core.serviceorproviderclass.md)<!-- --><S>, nameOrOptions?: string \| import("@loopback/core").[ServiceOptions](./core.serviceoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><S>; interceptor: (interceptor: import("@loopback/core").[Interceptor](./context.interceptor.md) \| import("@loopback/core").[Constructor](./context.constructor.md)<!-- --><import("@loopback/core").[Provider](./context.provider.md)<!-- --><import("@loopback/core").[Interceptor](./context.interceptor.md)<!-- -->>>, nameOrOptions?: string \| import("@loopback/core").[InterceptorBindingOptions](./context.interceptorbindingoptions.md) \| undefined) => [Binding](./context.binding.md)<!-- --><import("@loopback/core").[Interceptor](./context.interceptor.md)<!-- -->>; readonly name: string; readonly subscriptionManager: import("@loopback/core").[ContextSubscriptionManager](./context.contextsubscriptionmanager.md)<!-- -->; scope: [BindingScope](./context.bindingscope.md)<!-- -->; readonly parent: import("@loopback/core").[Context](./context.context.md) \| undefined; emitEvent: <T\_6 extends import("@loopback/core").[ContextEvent](./context.contextevent.md)<!-- -->>(type: string, event: T\_6) => void; emitError: (err: unknown) => void; bind: <ValueType = any>(key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><ValueType>) => [Binding](./context.binding.md)<!-- --><ValueType>; add: (binding: [Binding](./context.binding.md)<!-- --><unknown>) => [Application](./core.application.md)<!-- -->; configure: <ConfigValueType = any>(key?: import("@loopback/core").[BindingAddress](./context.bindingaddress.md) \| undefined) => [Binding](./context.binding.md)<!-- --><ConfigValueType>; getConfigAsValueOrPromise: <ConfigValueType\_1>(key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- -->, propertyPath?: string \| undefined, resolutionOptions?: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md) \| undefined) => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><ConfigValueType\_1 \| undefined>; getConfig: <ConfigValueType\_2>(key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- -->, propertyPath?: string \| undefined, resolutionOptions?: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md) \| undefined) => Promise<ConfigValueType\_2 \| undefined>; getConfigSync: <ConfigValueType\_3>(key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- -->, propertyPath?: string \| undefined, resolutionOptions?: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md) \| undefined) => ConfigValueType\_3 \| undefined; unbind: (key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- -->) => boolean; subscribe: (observer: import("@loopback/core").[ContextEventObserver](./context.contexteventobserver.md)<!-- -->) => import("@loopback/core").[Subscription](./context.subscription.md)<!-- -->; unsubscribe: (observer: import("@loopback/core").[ContextEventObserver](./context.contexteventobserver.md)<!-- -->) => boolean; close: () => void; isSubscribed: (observer: import("@loopback/core").[ContextObserver](./context.contextobserver.md)<!-- -->) => boolean; createView: <T\_7 = unknown>(filter: import("@loopback/core").[BindingFilter](./context.bindingfilter.md)<!-- -->, comparator?: import("@loopback/core").[BindingComparator](./context.bindingcomparator.md) \| undefined, options?: Omit<import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md)<!-- -->, "session"> \| undefined) => import("@loopback/core").[ContextView](./context.contextview.md)<!-- --><T\_7>; contains: (key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- -->) => boolean; isBound: (key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- -->) => boolean; getOwnerContext: (keyOrBinding: import("@loopback/core").[BindingAddress](./context.bindingaddress.md) \| Readonly<[Binding](./context.binding.md)<!-- --><unknown>>) => import("@loopback/core").[Context](./context.context.md) \| undefined; getScopedContext: (scope: [BindingScope.APPLICATION](./context.bindingscope.md) \| [BindingScope.SERVER](./context.bindingscope.md) \| [BindingScope.REQUEST](./context.bindingscope.md)<!-- -->) => import("@loopback/core").[Context](./context.context.md) \| undefined; getResolutionContext: (binding: Readonly<[Binding](./context.binding.md)<!-- --><unknown>>) => import("@loopback/core").[Context](./context.context.md) \| undefined; isVisibleTo: (ctx: import("@loopback/core").[Context](./context.context.md)<!-- -->) => boolean; find: <ValueType\_1 = any>(pattern?: string \| RegExp \| import("@loopback/core").[BindingFilter](./context.bindingfilter.md) \| undefined) => Readonly<[Binding](./context.binding.md)<!-- --><ValueType\_1>>\[\]; findByTag: <ValueType\_2 = any>(tagFilter: RegExp \| import("@loopback/core").[BindingTag](./context.bindingtag.md)<!-- -->) => Readonly<[Binding](./context.binding.md)<!-- --><ValueType\_2>>\[\]; get: { <ValueType\_3>(keyWithPath: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_3>, session?: import("@loopback/core").[ResolutionSession](./context.resolutionsession.md) \| undefined): Promise<ValueType\_3>; <ValueType\_4>(keyWithPath: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_4>, options: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md)<!-- -->): Promise<ValueType\_4 \| undefined>; }; getSync: { <ValueType\_5>(keyWithPath: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_5>, session?: import("@loopback/core").[ResolutionSession](./context.resolutionsession.md) \| undefined): ValueType\_5; <ValueType\_6>(keyWithPath: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_6>, options?: import("@loopback/core").[ResolutionOptions](./context.resolutionoptions.md) \| undefined): ValueType\_6 \| undefined; }; getBinding: { <ValueType\_7 = any>(key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_7>): [Binding](./context.binding.md)<!-- --><ValueType\_7>; <ValueType\_8>(key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_8>, options?: { optional?: boolean \| undefined; } \| undefined): [Binding](./context.binding.md)<!-- --><ValueType\_8> \| undefined; }; findOrCreateBinding: <T\_8>(key: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><T\_8>, policy?: import("@loopback/core").[BindingCreationPolicy](./context.bindingcreationpolicy.md) \| undefined) => [Binding](./context.binding.md)<!-- --><T\_8>; getValueOrPromise: <ValueType\_9>(keyWithPath: import("@loopback/core").[BindingAddress](./context.bindingaddress.md)<!-- --><ValueType\_9>, optionsOrSession?: import("@loopback/core").[ResolutionOptionsOrSession](./context.resolutionoptionsorsession.md) \| undefined) => import("@loopback/core").[ValueOrPromise](./context.valueorpromise.md)<!-- --><ValueType\_9 \| undefined>; toJSON: () => import("@loopback/core").[JSONObject](./context.jsonobject.md)<!-- -->; inspect: (options?: import("@loopback/core").[ContextInspectOptions](./context.contextinspectoptions.md) \| undefined) => import("@loopback/core").[JSONObject](./context.jsonobject.md)<!-- -->; on: { (eventName: "bind" \| "unbind", listener: import("@loopback/core").[ContextEventListener](./context.contexteventlistener.md)<!-- -->): [Application](./core.application.md)<!-- -->; (event: string \| symbol, listener: (...args: any\[\]) => void): [Application](./core.application.md)<!-- -->; }; once: { (eventName: "bind" \| "unbind", listener: import("@loopback/core").[ContextEventListener](./context.contexteventlistener.md)<!-- -->): [Application](./core.application.md)<!-- -->; (event: string \| symbol, listener: (...args: any\[\]) => void): [Application](./core.application.md)<!-- -->; }; addListener: (eventName: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; removeListener: (eventName: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; off: (eventName: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; removeAllListeners: (event?: string \| symbol \| undefined) => [Application](./core.application.md)<!-- -->; setMaxListeners: (n: number) => [Application](./core.application.md)<!-- -->; getMaxListeners: () => number; listeners: (eventName: string \| symbol) => Function\[\]; rawListeners: (eventName: string \| symbol) => Function\[\]; emit: (eventName: string \| symbol, ...args: any\[\]) => boolean; listenerCount: (eventName: string \| symbol) => number; prependListener: (eventName: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; prependOnceListener: (eventName: string \| symbol, listener: (...args: any\[\]) => void) => [Application](./core.application.md)<!-- -->; eventNames: () => (string \| symbol)\[\]; }; } & T
|
|
119
119
|
|
|
120
120
|
|
|
@@ -13,6 +13,37 @@ permalink: /doc/en/lb4/changelog.rest-msgpack.html
|
|
|
13
13
|
All notable changes to this project will be documented in this file.
|
|
14
14
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
15
15
|
|
|
16
|
+
# [0.10.0](https://github.com/loopbackio/loopback-next/compare/@loopback/rest-msgpack@0.9.0...@loopback/rest-msgpack@0.10.0) (2023-06-28)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* update dependency @types/node to ^16 ([2af42b7](https://github.com/loopbackio/loopback-next/commit/2af42b721c6dfc2df49bfcac1cbea478aba417ab))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# [0.9.0](https://github.com/loopbackio/loopback-next/compare/@loopback/rest-msgpack@0.8.10...@loopback/rest-msgpack@0.9.0) (2023-05-15)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
* add support for node v20 ([e23cefa](https://github.com/loopbackio/loopback-next/commit/e23cefaf5cce3fb990cb09f4c94239d1979615b1))
|
|
33
|
+
* remove support for node v14 ([5425762](https://github.com/loopbackio/loopback-next/commit/5425762f1353869994acf081bcda4816e6a9c3b0))
|
|
34
|
+
* remove support for node v19 ([e26a2ac](https://github.com/loopbackio/loopback-next/commit/e26a2ac2e43245d09dfc9721ccfa41d830daccb8))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### BREAKING CHANGES
|
|
38
|
+
|
|
39
|
+
* End of life of Node v14
|
|
40
|
+
|
|
41
|
+
Signed-off-by: Francisco Buceta <frbuceta@gmail.com>
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
16
47
|
## [0.8.10](https://github.com/loopbackio/loopback-next/compare/@loopback/rest-msgpack@0.8.9...@loopback/rest-msgpack@0.8.10) (2023-04-13)
|
|
17
48
|
|
|
18
49
|
|
|
@@ -13,6 +13,37 @@ permalink: /doc/en/lb4/changelog.example-access-control-migration.html
|
|
|
13
13
|
All notable changes to this project will be documented in this file.
|
|
14
14
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
15
15
|
|
|
16
|
+
# [6.1.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-access-control-migration@6.0.0...@loopback/example-access-control-migration@6.1.0) (2023-06-28)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* update dependency @types/node to ^16 ([2af42b7](https://github.com/loopbackio/loopback-next/commit/2af42b721c6dfc2df49bfcac1cbea478aba417ab))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# [6.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-access-control-migration@5.0.10...@loopback/example-access-control-migration@6.0.0) (2023-05-15)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
* add support for node v20 ([e23cefa](https://github.com/loopbackio/loopback-next/commit/e23cefaf5cce3fb990cb09f4c94239d1979615b1))
|
|
33
|
+
* remove support for node v14 ([5425762](https://github.com/loopbackio/loopback-next/commit/5425762f1353869994acf081bcda4816e6a9c3b0))
|
|
34
|
+
* remove support for node v19 ([e26a2ac](https://github.com/loopbackio/loopback-next/commit/e26a2ac2e43245d09dfc9721ccfa41d830daccb8))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### BREAKING CHANGES
|
|
38
|
+
|
|
39
|
+
* End of life of Node v14
|
|
40
|
+
|
|
41
|
+
Signed-off-by: Francisco Buceta <frbuceta@gmail.com>
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
16
47
|
## [5.0.10](https://github.com/loopbackio/loopback-next/compare/@loopback/example-access-control-migration@5.0.9...@loopback/example-access-control-migration@5.0.10) (2023-04-13)
|
|
17
48
|
|
|
18
49
|
|
|
@@ -13,6 +13,37 @@ permalink: /doc/en/lb4/changelog.example-binding-resolution.html
|
|
|
13
13
|
All notable changes to this project will be documented in this file.
|
|
14
14
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
15
15
|
|
|
16
|
+
# [0.9.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-binding-resolution@0.8.0...@loopback/example-binding-resolution@0.9.0) (2023-06-28)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* update dependency @types/node to ^16 ([2af42b7](https://github.com/loopbackio/loopback-next/commit/2af42b721c6dfc2df49bfcac1cbea478aba417ab))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# [0.8.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-binding-resolution@0.7.10...@loopback/example-binding-resolution@0.8.0) (2023-05-15)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
* add support for node v20 ([e23cefa](https://github.com/loopbackio/loopback-next/commit/e23cefaf5cce3fb990cb09f4c94239d1979615b1))
|
|
33
|
+
* remove support for node v14 ([5425762](https://github.com/loopbackio/loopback-next/commit/5425762f1353869994acf081bcda4816e6a9c3b0))
|
|
34
|
+
* remove support for node v19 ([e26a2ac](https://github.com/loopbackio/loopback-next/commit/e26a2ac2e43245d09dfc9721ccfa41d830daccb8))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### BREAKING CHANGES
|
|
38
|
+
|
|
39
|
+
* End of life of Node v14
|
|
40
|
+
|
|
41
|
+
Signed-off-by: Francisco Buceta <frbuceta@gmail.com>
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
16
47
|
## [0.7.10](https://github.com/loopbackio/loopback-next/compare/@loopback/example-binding-resolution@0.7.9...@loopback/example-binding-resolution@0.7.10) (2023-04-13)
|
|
17
48
|
|
|
18
49
|
|
|
@@ -13,6 +13,37 @@ permalink: /doc/en/lb4/changelog.example-context.html
|
|
|
13
13
|
All notable changes to this project will be documented in this file.
|
|
14
14
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
15
15
|
|
|
16
|
+
# [6.1.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-context@6.0.0...@loopback/example-context@6.1.0) (2023-06-28)
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
### Features
|
|
20
|
+
|
|
21
|
+
* update dependency @types/node to ^16 ([2af42b7](https://github.com/loopbackio/loopback-next/commit/2af42b721c6dfc2df49bfcac1cbea478aba417ab))
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
# [6.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-context@5.0.10...@loopback/example-context@6.0.0) (2023-05-15)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
* add support for node v20 ([e23cefa](https://github.com/loopbackio/loopback-next/commit/e23cefaf5cce3fb990cb09f4c94239d1979615b1))
|
|
33
|
+
* remove support for node v14 ([5425762](https://github.com/loopbackio/loopback-next/commit/5425762f1353869994acf081bcda4816e6a9c3b0))
|
|
34
|
+
* remove support for node v19 ([e26a2ac](https://github.com/loopbackio/loopback-next/commit/e26a2ac2e43245d09dfc9721ccfa41d830daccb8))
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
### BREAKING CHANGES
|
|
38
|
+
|
|
39
|
+
* End of life of Node v14
|
|
40
|
+
|
|
41
|
+
Signed-off-by: Francisco Buceta <frbuceta@gmail.com>
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
|
|
46
|
+
|
|
16
47
|
## [5.0.10](https://github.com/loopbackio/loopback-next/compare/@loopback/example-context@5.0.9...@loopback/example-context@5.0.10) (2023-04-13)
|
|
17
48
|
|
|
18
49
|
|