@ldsg/handler 0.1.0-alpha.13 → 0.1.0-alpha.14

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.
@@ -3,8 +3,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.instantiateResources = void 0;
4
4
  const instantiate_resource_1 = require("./instantiate-resource");
5
5
  const instantiateResources = (params) => {
6
- const { manifestResources } = params;
7
- const resources = manifestResources.map((manifestResource) => {
6
+ const { resourceRecords } = params;
7
+ const resources = resourceRecords.map((manifestResource) => {
8
8
  const { resource } = (0, instantiate_resource_1.instantiateResource)({
9
9
  resourceConstructorParams: manifestResource,
10
10
  });
@@ -1,4 +1,4 @@
1
- import { Manifest } from "@ldsg/resource";
1
+ import { ResourceSettings } from "@ldsg/resource";
2
2
  export interface HandlerResourceDependency {
3
3
  /**
4
4
  * Name
@@ -15,7 +15,7 @@ export interface HandlerResourceDependency {
15
15
  */
16
16
  uri?: string;
17
17
  }
18
- export interface HandlerResourceSettings extends Manifest.ResourceSettings {
18
+ export interface HandlerResourceSettings extends ResourceSettings {
19
19
  /**
20
20
  * Code
21
21
  * The code must exist to avoid problems caused by different versions resulting from dependencies being installed in the root project.
@@ -1 +1 @@
1
- {"version":3,"file":"resource-settings.d.ts","sourceRoot":"","sources":["../../src/types/resource-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AAE1C,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,uBAAwB,SAAQ,QAAQ,CAAC,gBAAgB;IACxE;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,YAAY,EAAE,yBAAyB,EAAE,CAAC;CAC3C"}
1
+ {"version":3,"file":"resource-settings.d.ts","sourceRoot":"","sources":["../../src/types/resource-settings.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AAElD,MAAM,WAAW,yBAAyB;IACxC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,uBAAwB,SAAQ,gBAAgB;IAC/D;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,YAAY,EAAE,yBAAyB,EAAE,CAAC;CAC3C"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ldsg/handler",
3
- "version": "0.1.0-alpha.13",
3
+ "version": "0.1.0-alpha.14",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "files": [
@@ -14,7 +14,7 @@
14
14
  "access": "public"
15
15
  },
16
16
  "dependencies": {
17
- "@ldsg/resource": "0.1.0-alpha.13"
17
+ "@ldsg/resource": "0.1.0-alpha.14"
18
18
  },
19
19
  "devDependencies": {
20
20
  "@types/node": "^20.13.0"