@skmtc/core 0.0.382 → 0.0.383

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.
@@ -0,0 +1,12 @@
1
+ import type { GenerateContext } from '../context/GenerateContext.js';
2
+ import type { ContentSettings } from './ContentSettings.js';
3
+ import { ValueBase } from './ValueBase.js';
4
+ export type GatewayConstructorArgs = {
5
+ context: GenerateContext;
6
+ settings: ContentSettings;
7
+ };
8
+ export declare class GatewayBase extends ValueBase {
9
+ settings: ContentSettings;
10
+ constructor({ context, settings }: GatewayConstructorArgs);
11
+ }
12
+ //# sourceMappingURL=GatewayBase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GatewayBase.d.ts","sourceRoot":"","sources":["../../src/dsl/GatewayBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE1C,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,eAAe,CAAA;IACxB,QAAQ,EAAE,eAAe,CAAA;CAC1B,CAAA;AAED,qBAAa,WAAY,SAAQ,SAAS;IACxC,QAAQ,EAAE,eAAe,CAAA;gBAEb,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,sBAAsB;CAK1D"}
@@ -0,0 +1,13 @@
1
+ import { ValueBase } from './ValueBase.js';
2
+ export class GatewayBase extends ValueBase {
3
+ constructor({ context, settings }) {
4
+ super({ context });
5
+ Object.defineProperty(this, "settings", {
6
+ enumerable: true,
7
+ configurable: true,
8
+ writable: true,
9
+ value: void 0
10
+ });
11
+ this.settings = settings;
12
+ }
13
+ }
@@ -3,6 +3,7 @@ import type { ContentSettings } from '../ContentSettings.js';
3
3
  import type { BaseSettings } from '../../types/Settings.js';
4
4
  import type { RefName } from '../../types/RefName.js';
5
5
  import type { Identifier } from '../Identifier.js';
6
+ import type { GatewayConstructorArgs } from '../GatewayBase.js';
6
7
  type ModelInsertableConstructorArgs = {
7
8
  context: GenerateContext;
8
9
  refName: RefName;
@@ -24,12 +25,8 @@ export type IsModelSelectedArgs = {
24
25
  export type WithTransformModel = {
25
26
  transformModel: (refName: RefName) => void;
26
27
  };
27
- export type ModelGatewayConstructorArgs = {
28
- context: GenerateContext;
29
- settings: ContentSettings;
30
- };
31
28
  export type ModelGateway = {
32
- new ({ context, settings }: ModelGatewayConstructorArgs): WithTransformModel;
29
+ new ({ context, settings }: GatewayConstructorArgs): WithTransformModel;
33
30
  id: string;
34
31
  type: 'model';
35
32
  _class: 'ModelGateway';
@@ -1 +1 @@
1
- {"version":3,"file":"ModelInsertable.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/ModelInsertable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AACvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,KAAK,8BAA8B,GAAG;IACpC,OAAO,EAAE,eAAe,CAAA;IACxB,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,eAAe,CAAA;IACzB,eAAe,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,OAAO,CAAA;IAChB,YAAY,EAAE,YAAY,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,OAAO,CAAA;IAChB,YAAY,EAAE,YAAY,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,mBAAmB,GA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type { GenerateContext } from '../../context/GenerateContext.js';
1
+ import { type GatewayConstructorArgs } from '../GatewayBase.js';
2
2
  import type { Identifier } from '../Identifier.js';
3
3
  import type { BaseSettings } from '../../types/Settings.js';
4
4
  import type { IsModelSelectedArgs } from './ModelInsertable.js';
@@ -10,8 +10,12 @@ export type ToModelGatewayArgs = {
10
10
  isModelSelected?: ({ refName, baseSettings }: IsModelSelectedArgs) => boolean;
11
11
  };
12
12
  export declare const toModelGateway: (config: ToModelGatewayArgs) => {
13
- new (context: GenerateContext): {
14
- context: GenerateContext;
13
+ new ({ context, settings }: GatewayConstructorArgs): {
14
+ settings: import("../ContentSettings.js").ContentSettings;
15
+ context: import("../../mod.js").GenerateContext;
16
+ skipped: boolean;
17
+ generatorKey: import("../../mod.js").GeneratorKey | undefined;
18
+ register(args: import("../../mod.js").RegisterArgs): void;
15
19
  };
16
20
  id: string;
17
21
  type: "model";
@@ -1 +1 @@
1
- {"version":3,"file":"toModelGateway.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/toModelGateway.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAEvE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAE/D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,UAAU,CAAA;IACxD,YAAY,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,MAAM,CAAA;IAEpD,mBAAmB,CAAC,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,OAAO,CAAA;IAC7D,eAAe,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,mBAAmB,KAAK,OAAO,CAAA;CAC9E,CAAA;AAED,eAAO,MAAM,cAAc,WAAY,kBAAkB;kBAehC,eAAe;;;;;;iCAtBT,YAAY,KAAK,UAAU;iCAC3B,YAAY,KAAK,MAAM;wCAEf,YAAY,KAAK,OAAO;iDACf,mBAAmB,KAAK,OAAO;;;CAwB9E,CAAA"}
1
+ {"version":3,"file":"toModelGateway.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/toModelGateway.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAe,MAAM,mBAAmB,CAAA;AAC5E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAE/D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,UAAU,CAAA;IACxD,YAAY,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,MAAM,CAAA;IAEpD,mBAAmB,CAAC,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,OAAO,CAAA;IAC7D,eAAe,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,mBAAmB,KAAK,OAAO,CAAA;CAC9E,CAAA;AAED,eAAO,MAAM,cAAc,WAAY,kBAAkB;gCAelB,sBAAsB;;;;;;;;;;iCAtB9B,YAAY,KAAK,UAAU;iCAC3B,YAAY,KAAK,MAAM;wCAEf,YAAY,KAAK,OAAO;iDACf,mBAAmB,KAAK,OAAO;;;CAwB9E,CAAA"}
@@ -2,12 +2,12 @@ var __setFunctionName = (this && this.__setFunctionName) || function (f, name, p
2
2
  if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
3
3
  return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
4
4
  };
5
- import { GatewayBase } from '../GeneratorBase.js';
5
+ import { GatewayBase } from '../GatewayBase.js';
6
6
  export const toModelGateway = (config) => {
7
7
  var _a;
8
8
  const ModelGateway = (_a = class extends GatewayBase {
9
- constructor(context) {
10
- super(context);
9
+ constructor({ context, settings }) {
10
+ super({ context, settings });
11
11
  }
12
12
  },
13
13
  __setFunctionName(_a, "ModelGateway"),
@@ -1,5 +1,5 @@
1
- import type { GenerateContext } from '../../context/GenerateContext.js';
2
1
  import type { OasOperation } from '../../oas/operation/Operation.js';
2
+ import { type GatewayConstructorArgs } from '../GatewayBase.js';
3
3
  import type { Identifier } from '../Identifier.js';
4
4
  import type { BaseSettings } from '../../types/Settings.js';
5
5
  import type { IsOperationSelectedArgs } from './OperationInsertable.js';
@@ -12,8 +12,12 @@ export type ToOperationGatewayArgs = {
12
12
  isSupported?: (operation: OasOperation) => boolean;
13
13
  };
14
14
  export declare const toOperationGateway: (config: ToOperationGatewayArgs) => {
15
- new (context: GenerateContext): {
16
- context: GenerateContext;
15
+ new ({ context, settings }: GatewayConstructorArgs): {
16
+ settings: import("../ContentSettings.js").ContentSettings;
17
+ context: import("../../mod.js").GenerateContext;
18
+ skipped: boolean;
19
+ generatorKey: import("../../mod.js").GeneratorKey | undefined;
20
+ register(args: import("../../mod.js").RegisterArgs): void;
17
21
  };
18
22
  id: string;
19
23
  type: "operation";
@@ -1 +1 @@
1
- {"version":3,"file":"toOperationGateway.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/toOperationGateway.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAEpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,KAAK,EAAE,uBAAuB,EA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mBAAmB,CAAC,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,OAAO,CAAA;IAC7D,mBAAmB,CAAC,EAAE,CAAC,EAAE,SAAS,EAAE,YAAY,EAAE,EAAE,uBAAuB,KAAK,OAAO,CAAA;IAEvF,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,OAAO,CAAA;CACnD,CAAA;AAED,eAAO,MAAM,kBAAkB,WAAY,sBAAsB;gCAe1B,sBAAsB;;;;;;;;;;iCAxB9B,YAAY,KAAK,UAAU;iCAC3B,YAAY,KAAK,MAAM;wCAEf,YAAY,KAAK,OAAO;uDACT,uBAAuB,KAAK,OAAO;6BAE7D,YAAY,KAAK,OAAO;;CAwBnD,CAAA"}
@@ -2,12 +2,12 @@ var __setFunctionName = (this && this.__setFunctionName) || function (f, name, p
2
2
  if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";
3
3
  return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });
4
4
  };
5
- import { GatewayBase } from '../GeneratorBase.js';
5
+ import { GatewayBase } from '../GatewayBase.js';
6
6
  export const toOperationGateway = (config) => {
7
7
  var _a;
8
8
  const OperationGateway = (_a = class extends GatewayBase {
9
- constructor(context) {
10
- super(context);
9
+ constructor({ context, settings }) {
10
+ super({ context, settings });
11
11
  }
12
12
  },
13
13
  __setFunctionName(_a, "OperationGateway"),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@skmtc/core",
3
- "version": "0.0.382",
3
+ "version": "0.0.383",
4
4
  "main": "./script/mod.js",
5
5
  "module": "./esm/mod.js",
6
6
  "exports": {
@@ -0,0 +1,12 @@
1
+ import type { GenerateContext } from '../context/GenerateContext.js';
2
+ import type { ContentSettings } from './ContentSettings.js';
3
+ import { ValueBase } from './ValueBase.js';
4
+ export type GatewayConstructorArgs = {
5
+ context: GenerateContext;
6
+ settings: ContentSettings;
7
+ };
8
+ export declare class GatewayBase extends ValueBase {
9
+ settings: ContentSettings;
10
+ constructor({ context, settings }: GatewayConstructorArgs);
11
+ }
12
+ //# sourceMappingURL=GatewayBase.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GatewayBase.d.ts","sourceRoot":"","sources":["../../src/dsl/GatewayBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA;AAC3D,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAE1C,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,eAAe,CAAA;IACxB,QAAQ,EAAE,eAAe,CAAA;CAC1B,CAAA;AAED,qBAAa,WAAY,SAAQ,SAAS;IACxC,QAAQ,EAAE,eAAe,CAAA;gBAEb,EAAE,OAAO,EAAE,QAAQ,EAAE,EAAE,sBAAsB;CAK1D"}
@@ -1,15 +1,17 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.GatewayBase = void 0;
4
- class GatewayBase {
5
- constructor(context) {
6
- Object.defineProperty(this, "context", {
4
+ const ValueBase_js_1 = require("./ValueBase.js");
5
+ class GatewayBase extends ValueBase_js_1.ValueBase {
6
+ constructor({ context, settings }) {
7
+ super({ context });
8
+ Object.defineProperty(this, "settings", {
7
9
  enumerable: true,
8
10
  configurable: true,
9
11
  writable: true,
10
12
  value: void 0
11
13
  });
12
- this.context = context;
14
+ this.settings = settings;
13
15
  }
14
16
  }
15
17
  exports.GatewayBase = GatewayBase;
@@ -3,6 +3,7 @@ import type { ContentSettings } from '../ContentSettings.js';
3
3
  import type { BaseSettings } from '../../types/Settings.js';
4
4
  import type { RefName } from '../../types/RefName.js';
5
5
  import type { Identifier } from '../Identifier.js';
6
+ import type { GatewayConstructorArgs } from '../GatewayBase.js';
6
7
  type ModelInsertableConstructorArgs = {
7
8
  context: GenerateContext;
8
9
  refName: RefName;
@@ -24,12 +25,8 @@ export type IsModelSelectedArgs = {
24
25
  export type WithTransformModel = {
25
26
  transformModel: (refName: RefName) => void;
26
27
  };
27
- export type ModelGatewayConstructorArgs = {
28
- context: GenerateContext;
29
- settings: ContentSettings;
30
- };
31
28
  export type ModelGateway = {
32
- new ({ context, settings }: ModelGatewayConstructorArgs): WithTransformModel;
29
+ new ({ context, settings }: GatewayConstructorArgs): WithTransformModel;
33
30
  id: string;
34
31
  type: 'model';
35
32
  _class: 'ModelGateway';
@@ -1 +1 @@
1
- {"version":3,"file":"ModelInsertable.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/ModelInsertable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AACvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAElD,KAAK,8BAA8B,GAAG;IACpC,OAAO,EAAE,eAAe,CAAA;IACxB,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,eAAe,CAAA;IACzB,eAAe,EAAE,MAAM,CAAA;CACxB,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,OAAO,CAAA;IAChB,YAAY,EAAE,YAAY,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,qBAAqB,GAAG;IAClC,OAAO,EAAE,OAAO,CAAA;IAChB,YAAY,EAAE,YAAY,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,mBAAmB,GAAG;IAChC,OAAO,EAAE,OAAO,CAAA;IAChB,YAAY,EAAE,YAAY,CAAA;CAC3B,CAAA;AAED,MAAM,MAAM,kBAAkB,GAAG;IAC/B,cAAc,EAA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CAAA;IACvE,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,OAAO,CAAA;IACb,MAAM,EAAE,cAAc,CAAA;IAEtB,YAAY,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,UAAU,CAAA;IACxD,YAAY,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,MAAM,CAAA;IAEpD,mBAAmB,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,OAAO,CAAA;IAC5D,eAAe,EAAE,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,mBAAmB,KAAK,OAAO,CAAA;IAC5E,WAAW,EAAE,MAAM,OAAO,CAAA;IAE1B,QAAQ,EAAE,OAAO,CAAA;CAClB,CAAA;AAED,MAAM,MAAM,eAAe,CAAC,CAAC,IAAI;IAAE,SAAS,EAAE,CAAC,CAAA;CAAE,GAAG;IAClD,KAAK,EAAE,OAAO,EAAE,OAAO,EAAE,QAAQ,EAAE,eAAe,EAAE,EAAE,8BAA8B,GAAG,CAAC,CAAA;IACxF,EAAE,EAAE,MAAM,CAAA;IACV,IAAI,EAAE,OAAO,CAAA;IACb,MAAM,EAAE,iBAAiB,CAAA;IAEzB,YAAY,EAAE,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,qBAAqB,KAAK,UAAU,CAAA;IAC9E,YAAY,EAAE,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,qBAAqB,KAAK,MAAM,CAAA;IAE1E,UAAU,EAAE,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,mBAAmB,KAAK,OAAO,CAAA;IACvE,WAAW,EAAE,MAAM,OAAO,CAAA;IAE1B,QAAQ,EAAE,OAAO,CAAA;CAGlB,GAAG,QAAQ,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { GenerateContext } from '../../context/GenerateContext.js';
1
+ import { type GatewayConstructorArgs } from '../GatewayBase.js';
2
2
  import type { Identifier } from '../Identifier.js';
3
3
  import type { BaseSettings } from '../../types/Settings.js';
4
4
  import type { IsModelSelectedArgs } from './ModelInsertable.js';
@@ -10,8 +10,12 @@ export type ToModelGatewayArgs = {
10
10
  isModelSelected?: ({ refName, baseSettings }: IsModelSelectedArgs) => boolean;
11
11
  };
12
12
  export declare const toModelGateway: (config: ToModelGatewayArgs) => {
13
- new (context: GenerateContext): {
14
- context: GenerateContext;
13
+ new ({ context, settings }: GatewayConstructorArgs): {
14
+ settings: import("../ContentSettings.js").ContentSettings;
15
+ context: import("../../mod.js").GenerateContext;
16
+ skipped: boolean;
17
+ generatorKey: import("../../mod.js").GeneratorKey | undefined;
18
+ register(args: import("../../mod.js").RegisterArgs): void;
15
19
  };
16
20
  id: string;
17
21
  type: "model";
@@ -1 +1 @@
1
- {"version":3,"file":"toModelGateway.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/toModelGateway.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AAEvE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAE/D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,UAAU,CAAA;IACxD,YAAY,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,MAAM,CAAA;IAEpD,mBAAmB,CAAC,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,OAAO,CAAA;IAC7D,eAAe,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,mBAAmB,KAAK,OAAO,CAAA;CAC9E,CAAA;AAED,eAAO,MAAM,cAAc,WAAY,kBAAkB;kBAehC,eAAe;;;;;;iCAtBT,YAAY,KAAK,UAAU;iCAC3B,YAAY,KAAK,MAAM;wCAEf,YAAY,KAAK,OAAO;iDACf,mBAAmB,KAAK,OAAO;;;CAwB9E,CAAA"}
1
+ {"version":3,"file":"toModelGateway.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/toModelGateway.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAe,MAAM,mBAAmB,CAAA;AAC5E,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,sBAAsB,CAAA;AAE/D,MAAM,MAAM,kBAAkB,GAAG;IAC/B,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,UAAU,CAAA;IACxD,YAAY,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,MAAM,CAAA;IAEpD,mBAAmB,CAAC,EAAE,CAAC,YAAY,EAAE,YAAY,KAAK,OAAO,CAAA;IAC7D,eAAe,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,mBAAmB,KAAK,OAAO,CAAA;CAC9E,CAAA;AAED,eAAO,MAAM,cAAc,WAAY,kBAAkB;gCAelB,sBAAsB;;;;;;;;;;iCAtB9B,YAAY,KAAK,UAAU;iCAC3B,YAAY,KAAK,MAAM;wCAEf,YAAY,KAAK,OAAO;iDACf,mBAAmB,KAAK,OAAO;;;CAwB9E,CAAA"}
@@ -5,12 +5,12 @@ var __setFunctionName = (this && this.__setFunctionName) || function (f, name, p
5
5
  };
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.toModelGateway = void 0;
8
- const GeneratorBase_js_1 = require("../GeneratorBase.js");
8
+ const GatewayBase_js_1 = require("../GatewayBase.js");
9
9
  const toModelGateway = (config) => {
10
10
  var _a;
11
- const ModelGateway = (_a = class extends GeneratorBase_js_1.GatewayBase {
12
- constructor(context) {
13
- super(context);
11
+ const ModelGateway = (_a = class extends GatewayBase_js_1.GatewayBase {
12
+ constructor({ context, settings }) {
13
+ super({ context, settings });
14
14
  }
15
15
  },
16
16
  __setFunctionName(_a, "ModelGateway"),
@@ -1,5 +1,5 @@
1
- import type { GenerateContext } from '../../context/GenerateContext.js';
2
1
  import type { OasOperation } from '../../oas/operation/Operation.js';
2
+ import { type GatewayConstructorArgs } from '../GatewayBase.js';
3
3
  import type { Identifier } from '../Identifier.js';
4
4
  import type { BaseSettings } from '../../types/Settings.js';
5
5
  import type { IsOperationSelectedArgs } from './OperationInsertable.js';
@@ -12,8 +12,12 @@ export type ToOperationGatewayArgs = {
12
12
  isSupported?: (operation: OasOperation) => boolean;
13
13
  };
14
14
  export declare const toOperationGateway: (config: ToOperationGatewayArgs) => {
15
- new (context: GenerateContext): {
16
- context: GenerateContext;
15
+ new ({ context, settings }: GatewayConstructorArgs): {
16
+ settings: import("../ContentSettings.js").ContentSettings;
17
+ context: import("../../mod.js").GenerateContext;
18
+ skipped: boolean;
19
+ generatorKey: import("../../mod.js").GeneratorKey | undefined;
20
+ register(args: import("../../mod.js").RegisterArgs): void;
17
21
  };
18
22
  id: string;
19
23
  type: "operation";
@@ -1 +1 @@
1
- {"version":3,"file":"toOperationGateway.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/toOperationGateway.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,kCAAkC,CAAA;AACvE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAEpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAA;AAC3D,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,0BAA0B,CAAA;AAEvE,MAAM,MAAM,sBAAsB,GAAG;IACnC,EAAE,EAAE,MAAM,CAAA;IACV,YAAY,EAAE,CAAC,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AE,YAAY,EAAE,EAAE,uBAAuB,KAAK,OAAO,CAAA;IAEvF,WAAW,CAAC,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,OAAO,CAAA;CACnD,CAAA;AAED,eAAO,MAAM,kBAAkB,WAAY,sBAAsB;gCAe1B,sBAAsB;;;;;;;;;;iCAxB9B,YAAY,KAAK,UAAU;iCAC3B,YAAY,KAAK,MAAM;wCAEf,YAAY,KAAK,OAAO;uDACT,uBAAuB,KAAK,OAAO;6BAE7D,YAAY,KAAK,OAAO;;CAwBnD,CAAA"}
@@ -5,12 +5,12 @@ var __setFunctionName = (this && this.__setFunctionName) || function (f, name, p
5
5
  };
6
6
  Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.toOperationGateway = void 0;
8
- const GeneratorBase_js_1 = require("../GeneratorBase.js");
8
+ const GatewayBase_js_1 = require("../GatewayBase.js");
9
9
  const toOperationGateway = (config) => {
10
10
  var _a;
11
- const OperationGateway = (_a = class extends GeneratorBase_js_1.GatewayBase {
12
- constructor(context) {
13
- super(context);
11
+ const OperationGateway = (_a = class extends GatewayBase_js_1.GatewayBase {
12
+ constructor({ context, settings }) {
13
+ super({ context, settings });
14
14
  }
15
15
  },
16
16
  __setFunctionName(_a, "OperationGateway"),
@@ -1,6 +0,0 @@
1
- import type { GenerateContext } from '../context/GenerateContext.js';
2
- export declare class GatewayBase {
3
- context: GenerateContext;
4
- constructor(context: GenerateContext);
5
- }
6
- //# sourceMappingURL=GeneratorBase.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeneratorBase.d.ts","sourceRoot":"","sources":["../../src/dsl/GeneratorBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAEpE,qBAAa,WAAW;IACtB,OAAO,EAAE,eAAe,CAAA;gBACZ,OAAO,EAAE,eAAe;CAGrC"}
@@ -1,11 +0,0 @@
1
- export class GatewayBase {
2
- constructor(context) {
3
- Object.defineProperty(this, "context", {
4
- enumerable: true,
5
- configurable: true,
6
- writable: true,
7
- value: void 0
8
- });
9
- this.context = context;
10
- }
11
- }
@@ -1,6 +0,0 @@
1
- import type { GenerateContext } from '../context/GenerateContext.js';
2
- export declare class GatewayBase {
3
- context: GenerateContext;
4
- constructor(context: GenerateContext);
5
- }
6
- //# sourceMappingURL=GeneratorBase.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"GeneratorBase.d.ts","sourceRoot":"","sources":["../../src/dsl/GeneratorBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAA;AAEpE,qBAAa,WAAW;IACtB,OAAO,EAAE,eAAe,CAAA;gBACZ,OAAO,EAAE,eAAe;CAGrC"}