@loopback/example-express-composition 5.0.0 → 5.0.3
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/.eslintrc.js +1 -1
- package/CHANGELOG.md +24 -0
- package/LICENSE +2 -2
- package/dist/__tests__/acceptance/express.acceptance.js +1 -1
- package/dist/__tests__/acceptance/express.acceptance.js.map +1 -1
- package/dist/__tests__/acceptance/note.acceptance.js +2 -2
- package/dist/__tests__/acceptance/note.acceptance.js.map +1 -1
- package/dist/__tests__/acceptance/ping.controller.acceptance.js +1 -1
- package/dist/__tests__/acceptance/ping.controller.acceptance.js.map +1 -1
- package/dist/__tests__/acceptance/test-helper.d.ts +1 -1
- package/dist/__tests__/acceptance/test-helper.js +2 -2
- package/dist/__tests__/acceptance/test-helper.js.map +1 -1
- package/dist/application.d.ts +3 -3
- package/dist/application.js +1 -1
- package/dist/application.js.map +1 -1
- package/dist/controllers/index.js +1 -1
- package/dist/controllers/index.js.map +1 -1
- package/dist/controllers/note.controller.js +1 -1
- package/dist/controllers/note.controller.js.map +1 -1
- package/dist/controllers/ping.controller.js +2 -2
- package/dist/controllers/ping.controller.js.map +1 -1
- package/dist/datasources/ds.datasource.js +1 -1
- package/dist/datasources/ds.datasource.js.map +1 -1
- package/dist/datasources/index.js +1 -1
- package/dist/datasources/index.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/migrate.js +1 -1
- package/dist/migrate.js.map +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/index.js.map +1 -1
- package/dist/models/note.model.js +1 -1
- package/dist/models/note.model.js.map +1 -1
- package/dist/observers/hello.observer.d.ts +1 -2
- package/dist/observers/hello.observer.js +1 -1
- package/dist/observers/hello.observer.js.map +1 -1
- package/dist/observers/index.js +1 -1
- package/dist/observers/index.js.map +1 -1
- package/dist/repositories/index.js +1 -1
- package/dist/repositories/index.js.map +1 -1
- package/dist/repositories/note.repository.js +1 -1
- package/dist/repositories/note.repository.js.map +1 -1
- package/dist/sequence.js +1 -1
- package/dist/sequence.js.map +1 -1
- package/dist/server.js +1 -1
- package/dist/server.js.map +1 -1
- package/package.json +16 -16
- package/src/__tests__/acceptance/express.acceptance.ts +1 -1
- package/src/__tests__/acceptance/note.acceptance.ts +2 -2
- package/src/__tests__/acceptance/ping.controller.acceptance.ts +2 -2
- package/src/__tests__/acceptance/test-helper.ts +3 -3
- package/src/application.ts +1 -1
- package/src/controllers/index.ts +1 -1
- package/src/controllers/note.controller.ts +1 -1
- package/src/controllers/ping.controller.ts +2 -2
- package/src/datasources/ds.datasource.ts +1 -1
- package/src/datasources/index.ts +1 -1
- package/src/index.ts +1 -1
- package/src/migrate.ts +1 -1
- package/src/models/index.ts +1 -1
- package/src/models/note.model.ts +1 -1
- package/src/observers/hello.observer.ts +2 -5
- package/src/observers/index.ts +1 -1
- package/src/repositories/index.ts +1 -1
- package/src/repositories/note.repository.ts +1 -1
- package/src/sequence.ts +1 -1
- package/src/server.ts +1 -1
package/.eslintrc.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,30 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.0.3](https://github.com/loopbackio/loopback-next/compare/@loopback/example-express-composition@5.0.2...@loopback/example-express-composition@5.0.3) (2022-08-25)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @loopback/example-express-composition
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [5.0.2](https://github.com/loopbackio/loopback-next/compare/@loopback/example-express-composition@5.0.1...@loopback/example-express-composition@5.0.2) (2022-07-14)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @loopback/example-express-composition
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [5.0.1](https://github.com/loopbackio/loopback-next/compare/@loopback/example-express-composition@5.0.0...@loopback/example-express-composition@5.0.1) (2022-06-13)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @loopback/example-express-composition
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
6
30
|
## [5.0.0](https://github.com/loopbackio/loopback-next/compare/@loopback/example-express-composition@4.1.2...@loopback/example-express-composition@5.0.0) (2022-05-05)
|
|
7
31
|
|
|
8
32
|
|
package/LICENSE
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"express.acceptance.js","sourceRoot":"","sources":["../../../src/__tests__/acceptance/express.acceptance.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"express.acceptance.js","sourceRoot":"","sources":["../../../src/__tests__/acceptance/express.acceptance.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,qDAAqD;AACrD,+CAA+C;AAC/C,gEAAgE;;AAEhE,+CAAiD;AAGjD,+CAAsD;AAEtD,QAAQ,CAAC,oBAAoB,EAAE,GAAG,EAAE;IAClC,IAAI,MAAqB,CAAC;IAC1B,IAAI,MAAc,CAAC;IAEnB,MAA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,GAAG,CAAC;aACX,MAAM,CAAC,cAAc,EAAE,MAAM,CAAC;aAC9B,MAAM,CAAC,6BAA6B,CAAC;aACrC,MAAM,CAAC,8BAA8B,CAAC,CAAC;IAC5C,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,2BAA2B,EAAE,KAAK,IAAI,EAAE;QACzC,MAAM,QAAQ,GAAkB,MAAM,MAAM,CAAC,KAAK,CAAC,GAAG,CACpD,kCAAkC,CACnC,CAAC;QACF,IAAA,gBAAM,EAAC,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;QAC9C,IAAA,gBAAM,EAAC,QAAQ,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;IACtD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
const testlab_1 = require("@loopback/testlab");
|
|
8
|
-
const test_helper_1 = require("./test-helper");
|
|
9
8
|
const repositories_1 = require("../../repositories");
|
|
9
|
+
const test_helper_1 = require("./test-helper");
|
|
10
10
|
describe('NoteApplication', () => {
|
|
11
11
|
let server;
|
|
12
12
|
let client;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"note.acceptance.js","sourceRoot":"","sources":["../../../src/__tests__/acceptance/note.acceptance.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"note.acceptance.js","source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ACL,CAAC;AACH,CAAC,CAAC,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ping.controller.acceptance.js","sourceRoot":"","sources":["../../../src/__tests__/acceptance/ping.controller.acceptance.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"ping.controller.acceptance.js","sourceRoot":"","sources":["../../../src/__tests__/acceptance/ping.controller.acceptance.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,qDAAqD;AACrD,+CAA+C;AAC/C,gEAAgE;;AAEhE,+CAAiD;AAEjD,+CAAsD;AAEtD,QAAQ,CAAC,gBAAgB,EAAE,GAAG,EAAE;IAC9B,IAAI,MAAqB,CAAC;IAC1B,IAAI,MAAc,CAAC;IAEnB,MAAM,CAAC,kBAAkB,EAAE,KAAK,IAAI,EAAE;QACpC,CAAC,EAAC,MAAM,EAAE,MAAM,EAAC,GAAG,MAAM,IAAA,qCAAuB,GAAE,CAAC,CAAC;IACvD,CAAC,CAAC,CAAC;IAEH,KAAK,CAAC,oBAAoB,EAAE,KAAK,IAAI,EAAE;QACrC,MAAM,MAAM,CAAC,IAAI,EAAE,CAAC;IACtB,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,mBAAmB,EAAE,KAAK,IAAI,EAAE;QACjC,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;QAChE,IAAA,gBAAM,EAAC,GAAG,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC,UAAU,CAAC,EAAC,QAAQ,EAAE,qBAAqB,EAAC,CAAC,CAAC;IACpE,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Client } from '@loopback/testlab';
|
|
2
2
|
import { NoteApplication } from '../../application';
|
|
3
|
-
import { ExpressServer } from '../../server';
|
|
4
3
|
import { Note } from '../../models/note.model';
|
|
4
|
+
import { ExpressServer } from '../../server';
|
|
5
5
|
export declare function setupExpressApplication(): Promise<AppWithClient>;
|
|
6
6
|
export interface AppWithClient {
|
|
7
7
|
server: ExpressServer;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.givenNote = exports.setupExpressApplication = void 0;
|
|
8
8
|
const testlab_1 = require("@loopback/testlab");
|
|
9
|
-
const server_1 = require("../../server");
|
|
10
9
|
const note_model_1 = require("../../models/note.model");
|
|
10
|
+
const server_1 = require("../../server");
|
|
11
11
|
async function setupExpressApplication() {
|
|
12
12
|
const server = new server_1.ExpressServer({ rest: (0, testlab_1.givenHttpServerConfig)() });
|
|
13
13
|
await server.boot();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"test-helper.js","sourceRoot":"","sources":["../../../src/__tests__/acceptance/test-helper.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"test-helper.js","sourceRoot":"","sources":["../../../src/__tests__/acceptance/test-helper.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,qDAAqD;AACrD,+CAA+C;AAC/C,gEAAgE;;;AAEhE,+CAA2E;AAE3E,wDAA6C;AAC7C,yCAA2C;AAEpC,KAAK,UAAU,uBAAuB;IAC3C,MAAM,MAAM,GAAG,IAAI,sBAAa,CAAC,EAAC,IAAI,EAAE,IAAA,+BAAqB,GAAE,EAAC,CAAC,CAAC;IAClE,MAAM,MAAM,CAAC,IAAI,EAAE,CAAC;IACpB,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;IAErB,MAAM,KAAK,GAAG,MAAM,CAAC,KAAK,CAAC;IAE3B,MAAM,MAAM,GAAG,IAAA,mBAAS,EAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAErC,OAAO,EAAC,MAAM,EAAE,MAAM,EAAE,KAAK,EAAC,CAAC;AACjC,CAAC;AAVD,0DAUC;AAQD;;;GAGG;AACH,SAAgB,SAAS,CAAC,IAAoB;IAC5C,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CACxB;QACE,KAAK,EAAE,aAAa;QACpB,OAAO,EAAE,cAAc;KACxB,EACD,IAAI,CACL,CAAC;IACF,OAAO,IAAI,iBAAI,CAAC,IAAI,CAAC,CAAC;AACxB,CAAC;AATD,8BASC"}
|
package/dist/application.d.ts
CHANGED
|
@@ -87,7 +87,7 @@ declare const NoteApplication_base: (new (...args: any[]) => {
|
|
|
87
87
|
listeners: (event: string | symbol) => Function[];
|
|
88
88
|
rawListeners: (event: string | symbol) => Function[];
|
|
89
89
|
emit: (event: string | symbol, ...args: any[]) => boolean;
|
|
90
|
-
listenerCount: (
|
|
90
|
+
listenerCount: (event: string | symbol) => number;
|
|
91
91
|
prependListener: (event: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
92
92
|
prependOnceListener: (event: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
93
93
|
eventNames: () => (string | symbol)[];
|
|
@@ -172,7 +172,7 @@ declare const NoteApplication_base: (new (...args: any[]) => {
|
|
|
172
172
|
listeners: (event: string | symbol) => Function[];
|
|
173
173
|
rawListeners: (event: string | symbol) => Function[];
|
|
174
174
|
emit: (event: string | symbol, ...args: any[]) => boolean;
|
|
175
|
-
listenerCount: (
|
|
175
|
+
listenerCount: (event: string | symbol) => number;
|
|
176
176
|
prependListener: (event: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
177
177
|
prependOnceListener: (event: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
178
178
|
eventNames: () => (string | symbol)[];
|
|
@@ -262,7 +262,7 @@ declare const NoteApplication_base: (new (...args: any[]) => {
|
|
|
262
262
|
listeners: (event: string | symbol) => Function[];
|
|
263
263
|
rawListeners: (event: string | symbol) => Function[];
|
|
264
264
|
emit: (event: string | symbol, ...args: any[]) => boolean;
|
|
265
|
-
listenerCount: (
|
|
265
|
+
listenerCount: (event: string | symbol) => number;
|
|
266
266
|
prependListener: (event: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
267
267
|
prependOnceListener: (event: string | symbol, listener: (...args: any[]) => void) => import("@loopback/core").Application;
|
|
268
268
|
eventNames: () => (string | symbol)[];
|
package/dist/application.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
package/dist/application.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"application.js","sourceRoot":"","sources":["../src/application.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"application.js","sourceRoot":"","sources":["../src/application.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,qDAAqD;AACrD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAAyC;AAEzC,qDAAqD;AACrD,yCAA+C;AAC/C,2DAA8D;AAC9D,2DAAqD;AACrD,wDAAwB;AACxB,yCAAsC;AAItC,MAAa,eAAgB,SAAQ,IAAA,gBAAS,EAC5C,IAAA,4BAAY,EAAC,IAAA,4BAAe,EAAC,sBAAe,CAAC,CAAC,CAC/C;IACC,YAAY,UAA6B,EAAE;QACzC,KAAK,CAAC,OAAO,CAAC,CAAC;QAEf,6BAA6B;QAC7B,IAAI,CAAC,QAAQ,CAAC,qBAAU,CAAC,CAAC;QAE1B,2BAA2B;QAC3B,IAAI,CAAC,MAAM,CAAC,GAAG,EAAE,cAAI,CAAC,IAAI,CAAC,SAAS,EAAE,WAAW,CAAC,CAAC,CAAC;QAEpD,IAAI,CAAC,SAAS,CAAC,qCAAqB,CAAC,CAAC;QAEtC,IAAI,CAAC,WAAW,GAAG,SAAS,CAAC;QAC7B,mDAAmD;QACnD,IAAI,CAAC,WAAW,GAAG;YACjB,WAAW,EAAE;gBACX,8CAA8C;gBAC9C,IAAI,EAAE,CAAC,aAAa,CAAC;gBACrB,UAAU,EAAE,CAAC,gBAAgB,CAAC;gBAC9B,MAAM,EAAE,IAAI;aACb;SACF,CAAC;IACJ,CAAC;CACF;AAzBD,0CAyBC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/controllers/index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/controllers/index.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,qDAAqD;AACrD,+CAA+C;AAC/C,gEAAgE;;;AAEhE,4DAAkC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"note.controller.js","sourceRoot":"","sources":["../../src/controllers/note.controller.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"note.controller.js","sourceRoot":"","sources":["../../src/controllers/note.controller.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,qDAAqD;AACrD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,qDAM8B;AAC9B,yCASwB;AACxB,sCAA+B;AAC/B,kDAA+C;AAE/C,IAAa,cAAc,GAA3B,MAAa,cAAc;IACzB,YAES,cAA8B;QAA9B,mBAAc,GAAd,cAAc,CAAgB;IACpC,CAAC;IAUJ,KAAK,CAAC,MAAM,CAQV,IAAsB;QAEtB,OAAO,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC;IAC1C,CAAC;IAUD,KAAK,CAAC,KAAK,CAAoB,KAAmB;QAChD,OAAO,IAAI,CAAC,cAAc,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;IAC1C,CAAC;IAcD,KAAK,CAAC,IAAI,CAER,MAAqB;QAErB,OAAO,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,MAAM,CAAC,CAAC;IAC1C,CAAC;IAUD,KAAK,CAAC,SAAS,CAQb,IAAmB,EACA,KAAmB;QAEtC,OAAO,IAAI,CAAC,cAAc,CAAC,SAAS,CAAC,IAAI,EAAE,KAAK,CAAC,CAAC;IACpD,CAAC;IAUD,KAAK,CAAC,QAAQ,CAA0B,EAAU;QAChD,OAAO,IAAI,CAAC,cAAc,CAAC,QAAQ,C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mBAAA,IAAA,kBAAW,EAAC;QACX,OAAO,EAAE;YACP,kBAAkB,EAAE;gBAClB,MAAM,EAAE,IAAA,wBAAiB,EAAC,aAAI,EAAE,EAAC,OAAO,EAAE,IAAI,EAAC,CAAC;aACjD;SACF;KACF,CAAC,CAAA;;;;gDAIH;AASD;IAPC,IAAA,UAAG,EAAC,aAAa,EAAE;QAClB,SAAS,EAAE;YACT,KAAK,EAAE;gBACL,WAAW,EAAE,kBAAkB;aAChC;SACF;KACF,CAAC;IAEC,mBAAA,YAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;IACvB,mBAAA,IAAA,kBAAW,GAAE,CAAA;;qDAAO,aAAI;;iDAG1B;AASD;IAPC,IAAA,UAAG,EAAC,aAAa,EAAE;QAClB,SAAS,EAAE;YACT,KAAK,EAAE;gBACL,WAAW,EAAE,qBAAqB;aACnC;SACF;KACF,CAAC;IACgB,mBAAA,YAAK,CAAC,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,CAAA;;;;gDAExC;AAxIU,cAAc;IAEtB,mBAAA,IAAA,uBAAU,EAAC,6BAAc,CAAC,CAAA;6CACJ,6BAAc;GAH5B,cAAc,CAyI1B;AAzIY,wCAAc"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
6
6
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
7
7
|
exports.PingController = void 0;
|
|
8
8
|
const tslib_1 = require("tslib");
|
|
9
|
-
const rest_1 = require("@loopback/rest");
|
|
10
9
|
const core_1 = require("@loopback/core");
|
|
10
|
+
const rest_1 = require("@loopback/rest");
|
|
11
11
|
/**
|
|
12
12
|
* OpenAPI response for ping()
|
|
13
13
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ping.controller.js","sourceRoot":"","sources":["../../src/controllers/ping.controller.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"ping.controller.js","sourceRoot":"","sources":["../../src/controllers/ping.controller.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,qDAAqD;AACrD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAAsC;AACtC,yCAA0E;AAE1E;;GAEG;AACH,MAAM,aAAa,GAAmB;IACpC,WAAW,EAAE,eAAe;IAC5B,OAAO,EAAE;QACP,kBAAkB,EAAE;YAClB,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,KAAK,EAAE,cAAc;gBACrB,UAAU,EAAE;oBACV,QAAQ,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAC;oBAC1B,IAAI,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAC;oBACtB,GAAG,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAC;oBACrB,OAAO,EAAE;wBACP,IAAI,EAAE,QAAQ;wBACd,UAAU,EAAE;4BACV,cAAc,EAAE,EAAC,IAAI,EAAE,QAAQ,EAAC;yBACjC;wBACD,oBAAoB,EAAE,IAAI;qBAC3B;iBACF;aACF;SACF;KACF;CACF,CAAC;AAEF;;GAEG;AACH,IAAa,cAAc,GAA3B,MAAa,cAAc;IACzB,YAAuD,GAAY;QAAZ,QAAG,GAAH,GAAG,CAAS;IAAG,CAAC;IAEvE,qBAAqB;IAMrB,IAAI;QACF,wEAAwE;QACxE,OAAO;YACL,QAAQ,EAAE,qBAAqB;YAC/B,IAAI,EAAE,IAAI,IAAI,EAAE;YAChB,GAAG,EAAE,IAAI,CAAC,GAAG,CAAC,GAAG;YACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CAAC,EAAE,EAAE,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC;SAC7C,CAAC;IACJ,CAAC;CACF,CAAA;AATC;IALC,IAAA,UAAG,EAAC,OAAO,EAAE;QACZ,SAAS,EAAE;YACT,KAAK,EAAE,aAAa;SACrB;KACF,CAAC;;;;0CASD;AAjBU,cAAc;IACZ,mBAAA,IAAA,aAAM,EAAC,mBAAY,CAAC,IAAI,CAAC,OAAO,CAAC,CAAA;;GADnC,cAAc,CAkB1B;AAlBY,wCAAc"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ds.datasource.js","sourceRoot":"","sources":["../../src/datasources/ds.datasource.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"ds.datasource.js","sourceRoot":"","sources":["../../src/datasources/ds.datasource.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,qDAAqD;AACrD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAAsC;AACtC,qDAA6C;AAE7C,MAAM,MAAM,GAAG;IACb,IAAI,EAAE,IAAI;IACV,SAAS,EAAE,QAAQ;IACnB,YAAY,EAAE,EAAE;IAChB,IAAI,EAAE,gBAAgB;CACvB,CAAC;AAEF,IAAa,YAAY,GAAzB,MAAa,YAAa,SAAQ,oBAAO,CAAC,UAAU;IAIlD,YAEE,WAAmB,MAAM;QAEzB,KAAK,CAAC,QAAQ,CAAC,CAAC;IAClB,CAAC;CACF,CAAA;AATQ,2BAAc,GAAG,IAAI,CAAC;AACb,0BAAa,GAAG,MAAO,CAAA;AAF5B,YAAY;IAKpB,mBAAA,IAAA,aAAM,EAAC,uBAAuB,EAAE,EAAC,QAAQ,EAAE,IAAI,EAAC,CAAC,CAAA;;GALzC,YAAY,CAUxB;AAVY,oCAAY"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/datasources/index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/datasources/index.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,qDAAqD;AACrD,+CAA+C;AAC/C,gEAAgE;;;AAEhE,0DAAgC"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";AAAA,gFAAgF;AAChF,qDAAqD;AACrD,+CAA+C;AAC/C,gEAAgE;;;;;AAEhE,qCAA0D;AAE1D,mDAAyB;AAElB,KAAK,UAAU,IAAI,CAAC,UAA6B,EAAE;IACxD,MAAM,MAAM,GAAG,IAAI,sBAAa,CAAC,OAAO,CAAC,CAAC;IAC1C,MAAM,MAAM,CAAC,IAAI,EAAE,CAAC;IACpB,MAAM,MAAM,CAAC,KAAK,EAAE,CAAC;IACrB,OAAO,CAAC,GAAG,CAAC,4CAA4C,CAAC,CAAC;AAC5D,CAAC;AALD,oBAKC;AAED,IAAI,OAAO,CAAC,IAAI,KAAK,MAAM,EAAE;IAC3B,sBAAsB;IACtB,MAAM,MAAM,GAAG;QACb,IAAI,EAAE;YACJ,IAAI,EAAE,CAAC,CAAC,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,mCAAI,IAAI,CAAC;YACjC,IAAI,EAAE,MAAA,OAAO,CAAC,GAAG,CAAC,IAAI,mCAAI,WAAW;YACrC,WAAW,EAAE;gBACX,sEAAsE;gBACtE,qBAAqB,EAAE,IAAI;aAC5B;YACD,kEAAkE;YAClE,aAAa,EAAE,KAAK;SACrB;KACF,CAAC;IACF,IAAI,CAAC,MAAM,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;QACvB,OAAO,CAAC,KAAK,CAAC,+BAA+B,EAAE,GAAG,CAAC,CAAC;QACpD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;IAClB,CAAC,CAAC,CAAC;CACJ"}
|
package/dist/migrate.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
package/dist/migrate.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"migrate.js","sourceRoot":"","sources":["../src/migrate.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"migrate.js","sourceRoot":"","sources":["../src/migrate.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,qDAAqD;AACrD,+CAA+C;AAC/C,gEAAgE;;;AAEhE,qCAAuC;AAEhC,KAAK,UAAU,OAAO,CAAC,IAAc;IAC1C,MAAM,cAAc,GAAG,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,OAAO,CAAC;IACrE,OAAO,CAAC,GAAG,CAAC,wCAAwC,EAAE,cAAc,CAAC,CAAC;IAEtE,MAAM,MAAM,GAAG,IAAI,sBAAa,EAAE,CAAC;IACnC,MAAM,MAAM,CAAC,IAAI,EAAE,CAAC;IACpB,MAAM,MAAM,CAAC,KAAK,CAAC,aAAa,CAAC,EAAC,cAAc,EAAC,CAAC,CAAC;IAEnD,wDAAwD;IACxD,8DAA8D;IAC9D,8BAA8B;IAC9B,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC;AAZD,0BAYC;AAED,OAAO,CAAC,OAAO,CAAC,IAAI,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,EAAE;IAChC,OAAO,CAAC,KAAK,CAAC,gCAAgC,EAAE,GAAG,CAAC,CAAC;IACrD,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;AAClB,CAAC,CAAC,CAAC"}
|
package/dist/models/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
package/dist/models/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/models/index.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,qDAAqD;AACrD,+CAA+C;AAC/C,gEAAgE;;;AAEhE,uDAA6B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"note.model.js","sourceRoot":"","sources":["../../src/models/note.model.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"note.model.js","sourceRoot":"","sources":["../../src/models/note.model.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,qDAAqD;AACrD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,qDAA6D;AAG7D,IAAa,IAAI,GAAjB,MAAa,IAAK,SAAQ,mBAAM;IAkB9B,YAAY,IAAoB;QAC9B,KAAK,CAAC,IAAI,CAAC,CAAC;IACd,CAAC;CACF,CAAA;AAhBC;IAJC,IAAA,qBAAQ,EAAC;QACR,IAAI,EAAE,QAAQ;QACd,EAAE,EAAE,IAAI;KACT,CAAC;;gCACU;AAMZ;IAJC,IAAA,qBAAQ,EAAC;QACR,IAAI,EAAE,QAAQ;QACd,QAAQ,EAAE,IAAI;KACf,CAAC;;mCACY;AAKd;IAHC,IAAA,qBAAQ,EAAC;QACR,IAAI,EAAE,QAAQ;KACf,CAAC;;qCACe;AAhBN,IAAI;IADhB,IAAA,kBAAK,GAAE;;GACK,IAAI,CAqBhB;AArBY,oBAAI"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hello.observer.js","sourceRoot":"","sources":["../../src/observers/hello.observer.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"hello.observer.js","sourceRoot":"","sources":["../../src/observers/hello.observer.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,qDAAqD;AACrD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAAoE;AAEpE;;;GAGG;AAEH,IAAa,aAAa,GAA1B,MAAa,aAAa;IAA1B;QACE,WAAM,GAAa,EAAE,CAAC;IAoBxB,CAAC;IAnBC;;;;MAIE;IAEF;;OAEG;IACH,KAAK,CAAC,KAAK;QACT,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,EAAE,eAAe,CAAC,CAAC;IACjD,CAAC;IAED;;OAEG;IACH,KAAK,CAAC,IAAI;QACR,IAAI,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,IAAI,IAAI,EAAE,cAAc,CAAC,CAAC;IAChD,CAAC;CACF,CAAA;AArBY,aAAa;IADzB,IAAA,wBAAiB,GAAE;GACP,aAAa,CAqBzB;AArBY,sCAAa"}
|
package/dist/observers/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/observers/index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/observers/index.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,qDAAqD;AACrD,+CAA+C;AAC/C,gEAAgE;;;AAEhE,2DAAiC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/repositories/index.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/repositories/index.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,qDAAqD;AACrD,+CAA+C;AAC/C,gEAAgE;;;AAEhE,4DAAkC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"note.repository.js","sourceRoot":"","sources":["../../src/repositories/note.repository.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"note.repository.js","sourceRoot":"","sources":["../../src/repositories/note.repository.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,qDAAqD;AACrD,+CAA+C;AAC/C,gEAAgE;;;;AAEhE,yCAAsC;AACtC,qDAA2D;AAC3D,gDAA4C;AAC5C,sCAA8C;AAE9C,IAAa,cAAc,GAA3B,MAAa,cAAe,SAAQ,kCAInC;IACC,YAAsC,UAAwB;QAC5D,KAAK,CAAC,aAAI,EAAE,UAAU,CAAC,CAAC;IAC1B,CAAC;CACF,CAAA;AARY,cAAc;IAKZ,mBAAA,IAAA,aAAM,EAAC,gBAAgB,CAAC,CAAA;6CAAa,0BAAY;GALnD,cAAc,CAQ1B;AARY,wCAAc"}
|
package/dist/sequence.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
package/dist/sequence.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sequence.js","sourceRoot":"","sources":["../src/sequence.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"sequence.js","sourceRoot":"","sources":["../src/sequence.ts"],"names":[],"mappings":";AAAA,2EAA2E;AAC3E,qDAAqD;AACrD,+CAA+C;AAC/C,gEAAgE;;;AAEhE,yCAAkD;AAElD,MAAa,UAAW,SAAQ,yBAAkB;CAAG;AAArD,gCAAqD"}
|
package/dist/server.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
2
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
3
3
|
// Node module: @loopback/example-express-composition
|
|
4
4
|
// This file is licensed under the MIT License.
|
|
5
5
|
// License text available at https://opensource.org/licenses/MIT
|
package/dist/server.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":";AAAA,
|
|
1
|
+
{"version":3,"file":"server.js","sourceRoot":"","sources":["../src/server.ts"],"names":[],"mappings":";AA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,IAAI,CAAC,KAAK,CAAC,UAAU,CAAC,MAAM,CAAC,IAAI,mCAAI,WAAW,CAAC;QAC9D,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAC1C,MAAM,IAAA,aAAI,EAAC,IAAI,CAAC,MAAM,EAAE,WAAW,CAAC,CAAC;IACvC,CAAC;IAED,uBAAuB;IAChB,KAAK,CAAC,IAAI;QACf,IAAI,CAAC,IAAI,CAAC,MAAM;YAAE,OAAO;QACzB,MAAM,IAAI,CAAC,KAAK,CAAC,IAAI,EAAE,CAAC;QACxB,IAAI,CAAC,MAAM,CAAC,KAAK,EAAE,CAAC;QACpB,MAAM,IAAA,aAAI,EAAC,IAAI,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;QACjC,IAAI,CAAC,MAAM,GAAG,SAAS,CAAC;IAC1B,CAAC;CACF;AA5CD,sCA4CC"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@loopback/example-express-composition",
|
|
3
3
|
"description": "LoopBack 4 REST API on Express",
|
|
4
|
-
"version": "5.0.
|
|
4
|
+
"version": "5.0.3",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"loopback-application",
|
|
7
7
|
"loopback",
|
|
@@ -12,8 +12,8 @@
|
|
|
12
12
|
"license": "MIT",
|
|
13
13
|
"main": "dist/index.js",
|
|
14
14
|
"types": "dist/index.d.ts",
|
|
15
|
-
"author": "IBM Corp.",
|
|
16
|
-
"copyright.owner": "IBM Corp.",
|
|
15
|
+
"author": "IBM Corp. and LoopBack contributors",
|
|
16
|
+
"copyright.owner": "IBM Corp. and LoopBack contributors",
|
|
17
17
|
"repository": {
|
|
18
18
|
"type": "git",
|
|
19
19
|
"url": "https://github.com/loopbackio/loopback-next.git",
|
|
@@ -47,23 +47,23 @@
|
|
|
47
47
|
"access": "public"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@loopback/boot": "^5.0.
|
|
51
|
-
"@loopback/core": "^4.0.
|
|
52
|
-
"@loopback/repository": "^5.0.
|
|
53
|
-
"@loopback/rest": "^12.0.
|
|
54
|
-
"@loopback/rest-explorer": "^5.0.
|
|
55
|
-
"@loopback/service-proxy": "^5.0.
|
|
50
|
+
"@loopback/boot": "^5.0.3",
|
|
51
|
+
"@loopback/core": "^4.0.3",
|
|
52
|
+
"@loopback/repository": "^5.0.3",
|
|
53
|
+
"@loopback/rest": "^12.0.3",
|
|
54
|
+
"@loopback/rest-explorer": "^5.0.3",
|
|
55
|
+
"@loopback/service-proxy": "^5.0.3",
|
|
56
56
|
"express": "^4.18.1",
|
|
57
57
|
"tslib": "^2.4.0"
|
|
58
58
|
},
|
|
59
59
|
"devDependencies": {
|
|
60
|
-
"@loopback/build": "^9.0.
|
|
61
|
-
"@loopback/eslint-config": "^13.0.
|
|
62
|
-
"@loopback/testlab": "^5.0.
|
|
60
|
+
"@loopback/build": "^9.0.3",
|
|
61
|
+
"@loopback/eslint-config": "^13.0.3",
|
|
62
|
+
"@loopback/testlab": "^5.0.3",
|
|
63
63
|
"@types/express": "^4.17.13",
|
|
64
|
-
"@types/node": "^
|
|
65
|
-
"eslint": "^8.
|
|
66
|
-
"typescript": "~4.
|
|
64
|
+
"@types/node": "^14.18.26",
|
|
65
|
+
"eslint": "^8.22.0",
|
|
66
|
+
"typescript": "~4.7.4"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "296d9a9577fd058d1a2b2386087686cefa65a7a9"
|
|
69
69
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
|
5
5
|
|
|
6
6
|
import {Client, expect} from '@loopback/testlab';
|
|
7
|
-
import {setupExpressApplication, givenNote} from './test-helper';
|
|
8
7
|
import {NoteApplication} from '../../application';
|
|
9
8
|
import {NoteRepository} from '../../repositories';
|
|
10
9
|
import {ExpressServer} from '../../server';
|
|
10
|
+
import {givenNote, setupExpressApplication} from './test-helper';
|
|
11
11
|
|
|
12
12
|
describe('NoteApplication', () => {
|
|
13
13
|
let server: ExpressServer;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
|
5
5
|
|
|
6
6
|
import {Client, expect} from '@loopback/testlab';
|
|
7
|
-
import {setupExpressApplication} from './test-helper';
|
|
8
7
|
import {ExpressServer} from '../../server';
|
|
8
|
+
import {setupExpressApplication} from './test-helper';
|
|
9
9
|
|
|
10
10
|
describe('PingController', () => {
|
|
11
11
|
let server: ExpressServer;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
|
5
5
|
|
|
6
|
-
import {
|
|
6
|
+
import {Client, givenHttpServerConfig, supertest} from '@loopback/testlab';
|
|
7
7
|
import {NoteApplication} from '../../application';
|
|
8
|
-
import {ExpressServer} from '../../server';
|
|
9
8
|
import {Note} from '../../models/note.model';
|
|
9
|
+
import {ExpressServer} from '../../server';
|
|
10
10
|
|
|
11
11
|
export async function setupExpressApplication(): Promise<AppWithClient> {
|
|
12
12
|
const server = new ExpressServer({rest: givenHttpServerConfig()});
|
package/src/application.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
package/src/controllers/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
|
5
5
|
|
|
6
|
-
import {Request, RestBindings, get, ResponseObject} from '@loopback/rest';
|
|
7
6
|
import {inject} from '@loopback/core';
|
|
7
|
+
import {get, Request, ResponseObject, RestBindings} from '@loopback/rest';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
10
|
* OpenAPI response for ping()
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
package/src/datasources/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
package/src/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
package/src/migrate.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
package/src/models/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
package/src/models/note.model.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
|
5
5
|
|
|
6
|
-
import {
|
|
7
|
-
lifeCycleObserver, // The decorator
|
|
8
|
-
LifeCycleObserver,
|
|
9
|
-
} from '@loopback/core';
|
|
6
|
+
import {lifeCycleObserver, LifeCycleObserver} from '@loopback/core';
|
|
10
7
|
|
|
11
8
|
/**
|
|
12
9
|
* This class will be bound to the application as a `LifeCycleObserver` during
|
package/src/observers/index.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
package/src/sequence.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|
package/src/server.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright IBM Corp. 2019,2020. All Rights Reserved.
|
|
1
|
+
// Copyright IBM Corp. and LoopBack contributors 2019,2020. All Rights Reserved.
|
|
2
2
|
// Node module: @loopback/example-express-composition
|
|
3
3
|
// This file is licensed under the MIT License.
|
|
4
4
|
// License text available at https://opensource.org/licenses/MIT
|