@loopback/example-multi-tenancy 0.15.5 → 0.16.0

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.
Files changed (2) hide show
  1. package/dist/application.d.ts +27 -27
  2. package/package.json +15 -15
@@ -78,18 +78,18 @@ declare const ExampleMultiTenancyApplication_base: (new (...args: any[]) => {
78
78
  (eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): import("@loopback/core").Application;
79
79
  (event: string | symbol, listener: (...args: any[]) => void): import("@loopback/core").Application;
80
80
  };
81
- addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
82
- removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
83
- off: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
81
+ addListener: <K_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
82
+ removeListener: <K_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
83
+ off: <K_3>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
84
84
  removeAllListeners: (event?: string | symbol | undefined) => import("@loopback/core").Application;
85
85
  setMaxListeners: (n: number) => import("@loopback/core").Application;
86
86
  getMaxListeners: () => number;
87
- listeners: (eventName: string | symbol) => Function[];
88
- rawListeners: (eventName: string | symbol) => Function[];
89
- emit: (eventName: string | symbol, ...args: any[]) => boolean;
90
- listenerCount: (eventName: string | symbol) => number;
91
- prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
92
- prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
87
+ listeners: <K_4>(eventName: string | symbol) => Function[];
88
+ rawListeners: <K_5>(eventName: string | symbol) => Function[];
89
+ emit: <K_6>(eventName: string | symbol, ...args: any[]) => boolean;
90
+ listenerCount: <K_7>(eventName: string | symbol, listener?: Function | undefined) => number;
91
+ prependListener: <K_8>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
92
+ prependOnceListener: <K_9>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
93
93
  eventNames: () => (string | symbol)[];
94
94
  }) & (new (...args: any[]) => {
95
95
  serviceProvider<S_1>(provider: import("@loopback/core").Constructor<import("@loopback/core").Provider<S_1>>, nameOrOptions?: string | import("@loopback/core").ServiceOptions | undefined): import("@loopback/boot").Binding<S_1>;
@@ -163,18 +163,18 @@ declare const ExampleMultiTenancyApplication_base: (new (...args: any[]) => {
163
163
  (eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): import("@loopback/core").Application;
164
164
  (event: string | symbol, listener: (...args: any[]) => void): import("@loopback/core").Application;
165
165
  };
166
- addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
167
- removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
168
- off: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
166
+ addListener: <K_1_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
167
+ removeListener: <K_2_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
168
+ off: <K_3_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
169
169
  removeAllListeners: (event?: string | symbol | undefined) => import("@loopback/core").Application;
170
170
  setMaxListeners: (n: number) => import("@loopback/core").Application;
171
171
  getMaxListeners: () => number;
172
- listeners: (eventName: string | symbol) => Function[];
173
- rawListeners: (eventName: string | symbol) => Function[];
174
- emit: (eventName: string | symbol, ...args: any[]) => boolean;
175
- listenerCount: (eventName: string | symbol) => number;
176
- prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
177
- prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
172
+ listeners: <K_4_1>(eventName: string | symbol) => Function[];
173
+ rawListeners: <K_5_1>(eventName: string | symbol) => Function[];
174
+ emit: <K_6_1>(eventName: string | symbol, ...args: any[]) => boolean;
175
+ listenerCount: <K_7_1>(eventName: string | symbol, listener?: Function | undefined) => number;
176
+ prependListener: <K_8_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
177
+ prependOnceListener: <K_9_1>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
178
178
  eventNames: () => (string | symbol)[];
179
179
  }) & (new (...args: any[]) => {
180
180
  repository<R extends import("@loopback/repository").Repository<any>>(repoClass: import("@loopback/repository").Class<R>, nameOrOptions?: string | import("@loopback/core").BindingFromClassOptions | undefined): import("@loopback/boot").Binding<R>;
@@ -253,18 +253,18 @@ declare const ExampleMultiTenancyApplication_base: (new (...args: any[]) => {
253
253
  (eventName: "bind" | "unbind", listener: import("@loopback/core").ContextEventListener): import("@loopback/core").Application;
254
254
  (event: string | symbol, listener: (...args: any[]) => void): import("@loopback/core").Application;
255
255
  };
256
- addListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
257
- removeListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
258
- off: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
256
+ addListener: <K_1_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
257
+ removeListener: <K_2_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
258
+ off: <K_3_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
259
259
  removeAllListeners: (event?: string | symbol | undefined) => import("@loopback/core").Application;
260
260
  setMaxListeners: (n: number) => import("@loopback/core").Application;
261
261
  getMaxListeners: () => number;
262
- listeners: (eventName: string | symbol) => Function[];
263
- rawListeners: (eventName: string | symbol) => Function[];
264
- emit: (eventName: string | symbol, ...args: any[]) => boolean;
265
- listenerCount: (eventName: string | symbol) => number;
266
- prependListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
267
- prependOnceListener: (eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
262
+ listeners: <K_4_2>(eventName: string | symbol) => Function[];
263
+ rawListeners: <K_5_2>(eventName: string | symbol) => Function[];
264
+ emit: <K_6_2>(eventName: string | symbol, ...args: any[]) => boolean;
265
+ listenerCount: <K_7_2>(eventName: string | symbol, listener?: Function | undefined) => number;
266
+ prependListener: <K_8_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
267
+ prependOnceListener: <K_9_2>(eventName: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
268
268
  eventNames: () => (string | symbol)[];
269
269
  }) & typeof RestApplication;
270
270
  export declare class ExampleMultiTenancyApplication extends ExampleMultiTenancyApplication_base {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@loopback/example-multi-tenancy",
3
3
  "description": "An example to illustrate how to enable multi-tenancy with LoopBack's IoC and DI container",
4
- "version": "0.15.5",
4
+ "version": "0.16.0",
5
5
  "keywords": [
6
6
  "loopback-application",
7
7
  "loopback",
@@ -18,7 +18,7 @@
18
18
  "directory": "examples/multi-tenancy"
19
19
  },
20
20
  "engines": {
21
- "node": "16 || 18 || 20"
21
+ "node": "18 || 20"
22
22
  },
23
23
  "scripts": {
24
24
  "build": "lb-tsc",
@@ -54,26 +54,26 @@
54
54
  "!*/__tests__"
55
55
  ],
56
56
  "dependencies": {
57
- "@loopback/boot": "^6.1.5",
58
- "@loopback/core": "^5.1.5",
59
- "@loopback/repository": "^6.1.5",
60
- "@loopback/rest": "^13.1.5",
61
- "@loopback/rest-explorer": "^6.1.5",
62
- "@loopback/service-proxy": "^6.1.5",
57
+ "@loopback/boot": "^7.0.0",
58
+ "@loopback/core": "^6.0.0",
59
+ "@loopback/repository": "^7.0.0",
60
+ "@loopback/rest": "^14.0.0",
61
+ "@loopback/rest-explorer": "^7.0.0",
62
+ "@loopback/service-proxy": "^7.0.0",
63
63
  "debug": "^4.3.4",
64
64
  "jsonwebtoken": "^9.0.2",
65
65
  "tslib": "^2.6.2"
66
66
  },
67
67
  "devDependencies": {
68
- "@loopback/build": "^10.1.5",
69
- "@loopback/eslint-config": "^14.0.5",
70
- "@loopback/testlab": "^6.1.5",
68
+ "@loopback/build": "^11.0.0",
69
+ "@loopback/eslint-config": "^15.0.0",
70
+ "@loopback/testlab": "^7.0.0",
71
71
  "@types/debug": "^4.1.12",
72
- "@types/jsonwebtoken": "^9.0.5",
73
- "@types/node": "^16.18.70",
74
- "eslint": "^8.51.0",
72
+ "@types/jsonwebtoken": "^9.0.6",
73
+ "@types/node": "^16.18.86",
74
+ "eslint": "^8.57.0",
75
75
  "source-map-support": "^0.5.21",
76
76
  "typescript": "~5.2.2"
77
77
  },
78
- "gitHead": "3f73360ac38e1615317cae977ac20c2e124e3518"
78
+ "gitHead": "bb4864f7405492d9c86c7db6e714542a292a8790"
79
79
  }