@skmtc/core 0.0.938 → 0.0.940
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/esm/context/CoreContext.d.ts +1 -1
- package/esm/context/CoreContext.d.ts.map +1 -1
- package/esm/context/GenerateContext.d.ts +1 -1
- package/esm/context/GenerateContext.d.ts.map +1 -1
- package/esm/context/ParseContext.d.ts +3 -55
- package/esm/context/ParseContext.d.ts.map +1 -1
- package/esm/context/RenderContext.d.ts +2 -2
- package/esm/context/RenderContext.d.ts.map +1 -1
- package/esm/context/{types.d.ts → generateTypes.d.ts} +2 -2
- package/esm/context/generateTypes.d.ts.map +1 -0
- package/esm/context/parseTypes.d.ts +70 -0
- package/esm/context/parseTypes.d.ts.map +1 -0
- package/esm/context/parseTypes.js +1 -0
- package/esm/dsl/ContentBase.d.ts +2 -2
- package/esm/dsl/ContentBase.d.ts.map +1 -1
- package/esm/dsl/CustomValue.d.ts +2 -2
- package/esm/dsl/CustomValue.d.ts.map +1 -1
- package/esm/dsl/Definition.d.ts +1 -1
- package/esm/dsl/Definition.d.ts.map +1 -1
- package/esm/dsl/model/ModelBase.d.ts +2 -2
- package/esm/dsl/model/ModelBase.d.ts.map +1 -1
- package/esm/dsl/model/ModelDriver.d.ts +1 -1
- package/esm/dsl/model/ModelDriver.d.ts.map +1 -1
- package/esm/dsl/model/toModelBase.d.ts +1 -1
- package/esm/dsl/model/toModelBase.d.ts.map +1 -1
- package/esm/dsl/model/types.d.ts +1 -1
- package/esm/dsl/model/types.d.ts.map +1 -1
- package/esm/dsl/operation/OperationBase.d.ts +1 -1
- package/esm/dsl/operation/OperationBase.d.ts.map +1 -1
- package/esm/dsl/operation/OperationDriver.d.ts +1 -1
- package/esm/dsl/operation/OperationDriver.d.ts.map +1 -1
- package/esm/dsl/operation/toOperationBase.d.ts +1 -1
- package/esm/dsl/operation/toOperationBase.d.ts.map +1 -1
- package/esm/dsl/operation/types.d.ts +1 -1
- package/esm/dsl/operation/types.d.ts.map +1 -1
- package/esm/mod.d.ts +1 -1
- package/esm/mod.d.ts.map +1 -1
- package/esm/mod.js +1 -1
- package/esm/oas/_helpers/parseEnum.d.ts +2 -2
- package/esm/oas/_helpers/parseEnum.d.ts.map +1 -1
- package/esm/oas/_helpers/parseNullable.d.ts +2 -2
- package/esm/oas/_helpers/parseNullable.d.ts.map +1 -1
- package/esm/oas/array/toArray.d.ts +3 -3
- package/esm/oas/array/toArray.d.ts.map +1 -1
- package/esm/oas/boolean/toBoolean.d.ts +3 -3
- package/esm/oas/boolean/toBoolean.d.ts.map +1 -1
- package/esm/oas/components/toComponentsV3.d.ts +2 -2
- package/esm/oas/components/toComponentsV3.d.ts.map +1 -1
- package/esm/oas/contact/toContactV3.d.ts +2 -2
- package/esm/oas/contact/toContactV3.d.ts.map +1 -1
- package/esm/oas/discriminator/toDiscriminatorV3.d.ts +2 -2
- package/esm/oas/discriminator/toDiscriminatorV3.d.ts.map +1 -1
- package/esm/oas/document/toDocumentFieldsV3.d.ts +2 -2
- package/esm/oas/document/toDocumentFieldsV3.d.ts.map +1 -1
- package/esm/oas/example/toExamplesV3.d.ts +3 -3
- package/esm/oas/example/toExamplesV3.d.ts.map +1 -1
- package/esm/oas/example/toExamplesV3.js +7 -1
- package/esm/oas/externalDocs/toExternalDocs.d.ts +2 -2
- package/esm/oas/externalDocs/toExternalDocs.d.ts.map +1 -1
- package/esm/oas/header/toHeadersV3.d.ts +2 -2
- package/esm/oas/header/toHeadersV3.d.ts.map +1 -1
- package/esm/oas/info/toInfoV3.d.ts +2 -2
- package/esm/oas/info/toInfoV3.d.ts.map +1 -1
- package/esm/oas/integer/toInteger.d.ts +3 -3
- package/esm/oas/integer/toInteger.d.ts.map +1 -1
- package/esm/oas/license/toLicenseV3.d.ts +2 -2
- package/esm/oas/license/toLicenseV3.d.ts.map +1 -1
- package/esm/oas/mediaType/toMediaTypeItemV3.d.ts +4 -4
- package/esm/oas/mediaType/toMediaTypeItemV3.d.ts.map +1 -1
- package/esm/oas/number/toNumber.d.ts +2 -2
- package/esm/oas/number/toNumber.d.ts.map +1 -1
- package/esm/oas/object/toAdditionalPropertiesV3.d.ts +2 -2
- package/esm/oas/object/toAdditionalPropertiesV3.d.ts.map +1 -1
- package/esm/oas/object/toObject.d.ts +2 -2
- package/esm/oas/object/toObject.d.ts.map +1 -1
- package/esm/oas/operation/toOperationsV3.d.ts +3 -3
- package/esm/oas/operation/toOperationsV3.d.ts.map +1 -1
- package/esm/oas/parameter/toParameterV3.d.ts +4 -4
- package/esm/oas/parameter/toParameterV3.d.ts.map +1 -1
- package/esm/oas/pathItem/toPathItemV3.d.ts +2 -2
- package/esm/oas/pathItem/toPathItemV3.d.ts.map +1 -1
- package/esm/oas/ref/toRefV31.d.ts +2 -2
- package/esm/oas/ref/toRefV31.d.ts.map +1 -1
- package/esm/oas/requestBody/toRequestBodiesV3.d.ts +3 -3
- package/esm/oas/requestBody/toRequestBodiesV3.d.ts.map +1 -1
- package/esm/oas/response/toResponseV3.d.ts +4 -4
- package/esm/oas/response/toResponseV3.d.ts.map +1 -1
- package/esm/oas/schema/toSchemasV3.d.ts +5 -5
- package/esm/oas/schema/toSchemasV3.d.ts.map +1 -1
- package/esm/oas/securityRequirement/toSecurityRequirement.d.ts +2 -2
- package/esm/oas/securityRequirement/toSecurityRequirement.d.ts.map +1 -1
- package/esm/oas/securitySchemes/toSecuritySchemes.d.ts +2 -2
- package/esm/oas/securitySchemes/toSecuritySchemes.d.ts.map +1 -1
- package/esm/oas/server/toServerV3.d.ts +4 -4
- package/esm/oas/server/toServerV3.d.ts.map +1 -1
- package/esm/oas/serverVariable/toServerVariableV3.d.ts +4 -4
- package/esm/oas/serverVariable/toServerVariableV3.d.ts.map +1 -1
- package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +2 -2
- package/esm/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -1
- package/esm/oas/string/toString.d.ts +3 -3
- package/esm/oas/string/toString.d.ts.map +1 -1
- package/esm/oas/tag/toTagsV3.d.ts +3 -3
- package/esm/oas/tag/toTagsV3.d.ts.map +1 -1
- package/esm/oas/union/toUnion.d.ts +2 -2
- package/esm/oas/union/toUnion.d.ts.map +1 -1
- package/esm/oas/unknown/toUnknown.d.ts +2 -2
- package/esm/oas/unknown/toUnknown.d.ts.map +1 -1
- package/esm/oas/unknown/toUnknown.js +1 -0
- package/esm/types/TypeSystem.d.ts +1 -1
- package/esm/types/TypeSystem.d.ts.map +1 -1
- package/package.json +1 -1
- package/script/context/CoreContext.d.ts +1 -1
- package/script/context/CoreContext.d.ts.map +1 -1
- package/script/context/GenerateContext.d.ts +1 -1
- package/script/context/GenerateContext.d.ts.map +1 -1
- package/script/context/ParseContext.d.ts +3 -55
- package/script/context/ParseContext.d.ts.map +1 -1
- package/script/context/RenderContext.d.ts +2 -2
- package/script/context/RenderContext.d.ts.map +1 -1
- package/script/context/{types.d.ts → generateTypes.d.ts} +2 -2
- package/script/context/generateTypes.d.ts.map +1 -0
- package/script/context/parseTypes.d.ts +70 -0
- package/script/context/parseTypes.d.ts.map +1 -0
- package/script/context/parseTypes.js +2 -0
- package/script/dsl/ContentBase.d.ts +2 -2
- package/script/dsl/ContentBase.d.ts.map +1 -1
- package/script/dsl/CustomValue.d.ts +2 -2
- package/script/dsl/CustomValue.d.ts.map +1 -1
- package/script/dsl/Definition.d.ts +1 -1
- package/script/dsl/Definition.d.ts.map +1 -1
- package/script/dsl/model/ModelBase.d.ts +2 -2
- package/script/dsl/model/ModelBase.d.ts.map +1 -1
- package/script/dsl/model/ModelDriver.d.ts +1 -1
- package/script/dsl/model/ModelDriver.d.ts.map +1 -1
- package/script/dsl/model/toModelBase.d.ts +4 -4
- package/script/dsl/model/toModelBase.d.ts.map +1 -1
- package/script/dsl/model/types.d.ts +1 -1
- package/script/dsl/model/types.d.ts.map +1 -1
- package/script/dsl/operation/OperationBase.d.ts +1 -1
- package/script/dsl/operation/OperationBase.d.ts.map +1 -1
- package/script/dsl/operation/OperationDriver.d.ts +1 -1
- package/script/dsl/operation/OperationDriver.d.ts.map +1 -1
- package/script/dsl/operation/toOperationBase.d.ts +6 -6
- package/script/dsl/operation/toOperationBase.d.ts.map +1 -1
- package/script/dsl/operation/types.d.ts +1 -1
- package/script/dsl/operation/types.d.ts.map +1 -1
- package/script/mod.d.ts +1 -1
- package/script/mod.d.ts.map +1 -1
- package/script/mod.js +1 -1
- package/script/oas/_helpers/parseEnum.d.ts +2 -2
- package/script/oas/_helpers/parseEnum.d.ts.map +1 -1
- package/script/oas/_helpers/parseNullable.d.ts +2 -2
- package/script/oas/_helpers/parseNullable.d.ts.map +1 -1
- package/script/oas/array/toArray.d.ts +3 -3
- package/script/oas/array/toArray.d.ts.map +1 -1
- package/script/oas/boolean/toBoolean.d.ts +3 -3
- package/script/oas/boolean/toBoolean.d.ts.map +1 -1
- package/script/oas/components/toComponentsV3.d.ts +2 -2
- package/script/oas/components/toComponentsV3.d.ts.map +1 -1
- package/script/oas/contact/toContactV3.d.ts +2 -2
- package/script/oas/contact/toContactV3.d.ts.map +1 -1
- package/script/oas/discriminator/toDiscriminatorV3.d.ts +2 -2
- package/script/oas/discriminator/toDiscriminatorV3.d.ts.map +1 -1
- package/script/oas/document/toDocumentFieldsV3.d.ts +2 -2
- package/script/oas/document/toDocumentFieldsV3.d.ts.map +1 -1
- package/script/oas/example/toExamplesV3.d.ts +3 -3
- package/script/oas/example/toExamplesV3.d.ts.map +1 -1
- package/script/oas/example/toExamplesV3.js +7 -1
- package/script/oas/externalDocs/toExternalDocs.d.ts +2 -2
- package/script/oas/externalDocs/toExternalDocs.d.ts.map +1 -1
- package/script/oas/header/toHeadersV3.d.ts +2 -2
- package/script/oas/header/toHeadersV3.d.ts.map +1 -1
- package/script/oas/info/toInfoV3.d.ts +2 -2
- package/script/oas/info/toInfoV3.d.ts.map +1 -1
- package/script/oas/integer/toInteger.d.ts +3 -3
- package/script/oas/integer/toInteger.d.ts.map +1 -1
- package/script/oas/license/toLicenseV3.d.ts +2 -2
- package/script/oas/license/toLicenseV3.d.ts.map +1 -1
- package/script/oas/mediaType/toMediaTypeItemV3.d.ts +4 -4
- package/script/oas/mediaType/toMediaTypeItemV3.d.ts.map +1 -1
- package/script/oas/number/toNumber.d.ts +2 -2
- package/script/oas/number/toNumber.d.ts.map +1 -1
- package/script/oas/object/toAdditionalPropertiesV3.d.ts +2 -2
- package/script/oas/object/toAdditionalPropertiesV3.d.ts.map +1 -1
- package/script/oas/object/toObject.d.ts +2 -2
- package/script/oas/object/toObject.d.ts.map +1 -1
- package/script/oas/operation/toOperationsV3.d.ts +3 -3
- package/script/oas/operation/toOperationsV3.d.ts.map +1 -1
- package/script/oas/parameter/toParameterV3.d.ts +4 -4
- package/script/oas/parameter/toParameterV3.d.ts.map +1 -1
- package/script/oas/pathItem/toPathItemV3.d.ts +2 -2
- package/script/oas/pathItem/toPathItemV3.d.ts.map +1 -1
- package/script/oas/ref/toRefV31.d.ts +2 -2
- package/script/oas/ref/toRefV31.d.ts.map +1 -1
- package/script/oas/requestBody/toRequestBodiesV3.d.ts +3 -3
- package/script/oas/requestBody/toRequestBodiesV3.d.ts.map +1 -1
- package/script/oas/response/toResponseV3.d.ts +4 -4
- package/script/oas/response/toResponseV3.d.ts.map +1 -1
- package/script/oas/schema/toSchemasV3.d.ts +5 -5
- package/script/oas/schema/toSchemasV3.d.ts.map +1 -1
- package/script/oas/securityRequirement/toSecurityRequirement.d.ts +2 -2
- package/script/oas/securityRequirement/toSecurityRequirement.d.ts.map +1 -1
- package/script/oas/securitySchemes/toSecuritySchemes.d.ts +2 -2
- package/script/oas/securitySchemes/toSecuritySchemes.d.ts.map +1 -1
- package/script/oas/server/toServerV3.d.ts +4 -4
- package/script/oas/server/toServerV3.d.ts.map +1 -1
- package/script/oas/serverVariable/toServerVariableV3.d.ts +4 -4
- package/script/oas/serverVariable/toServerVariableV3.d.ts.map +1 -1
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts +2 -2
- package/script/oas/specificationExtensions/toSpecificationExtensionsV3.d.ts.map +1 -1
- package/script/oas/string/toString.d.ts +3 -3
- package/script/oas/string/toString.d.ts.map +1 -1
- package/script/oas/tag/toTagsV3.d.ts +3 -3
- package/script/oas/tag/toTagsV3.d.ts.map +1 -1
- package/script/oas/union/toUnion.d.ts +2 -2
- package/script/oas/union/toUnion.d.ts.map +1 -1
- package/script/oas/unknown/toUnknown.d.ts +2 -2
- package/script/oas/unknown/toUnknown.d.ts.map +1 -1
- package/script/oas/unknown/toUnknown.js +1 -0
- package/script/types/TypeSystem.d.ts +1 -1
- package/script/types/TypeSystem.d.ts.map +1 -1
- package/esm/context/types.d.ts.map +0 -1
- package/script/context/types.d.ts.map +0 -1
- /package/esm/context/{types.js → generateTypes.js} +0 -0
- /package/script/context/{types.js → generateTypes.js} +0 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import type { OasDocument } from '../oas/document/Document.js';
|
|
2
|
+
import type { StackTrail } from './StackTrail.js';
|
|
3
|
+
import type { IssueType } from './generateTypes.js';
|
|
4
|
+
import type { OpenAPIV3 } from 'openapi-types';
|
|
5
|
+
/**
|
|
6
|
+
* Base type for parse error messages.
|
|
7
|
+
*/
|
|
8
|
+
export type ParseErrorBase = {
|
|
9
|
+
/** Issue severity level */
|
|
10
|
+
level: 'error';
|
|
11
|
+
/** The error that occurred */
|
|
12
|
+
error: Error;
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* Arguments for logging issues without a specific key.
|
|
16
|
+
*/
|
|
17
|
+
export type LogIssueNoKeyArgs = ParseIssueBase & {
|
|
18
|
+
/** The parent object containing the issue */
|
|
19
|
+
parent: unknown;
|
|
20
|
+
/** The type of issue for categorization */
|
|
21
|
+
type: IssueType;
|
|
22
|
+
};
|
|
23
|
+
/**
|
|
24
|
+
* Base type for parse warning messages.
|
|
25
|
+
*/
|
|
26
|
+
export type ParseWarningBase = {
|
|
27
|
+
/** Issue severity level */
|
|
28
|
+
level: 'warning';
|
|
29
|
+
/** Warning message */
|
|
30
|
+
message: string;
|
|
31
|
+
};
|
|
32
|
+
/**
|
|
33
|
+
* Base union type for parse issues.
|
|
34
|
+
*/
|
|
35
|
+
export type ParseIssueBase = ParseErrorBase | ParseWarningBase;
|
|
36
|
+
/**
|
|
37
|
+
* Arguments for logging issues with a specific key.
|
|
38
|
+
*/
|
|
39
|
+
export type LogIssueArgs = ParseIssueBase & {
|
|
40
|
+
/** The key where the issue occurred */
|
|
41
|
+
key: string;
|
|
42
|
+
/** The parent object containing the issue */
|
|
43
|
+
parent: unknown;
|
|
44
|
+
/** The type of issue for categorization */
|
|
45
|
+
type: IssueType;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Arguments for logging skipped values during parsing.
|
|
49
|
+
*/
|
|
50
|
+
export type LogSkippedValuesArgs = {
|
|
51
|
+
/** Record of skipped key-value pairs */
|
|
52
|
+
skipped: Record<string, unknown>;
|
|
53
|
+
/** The parent object context */
|
|
54
|
+
parent: unknown;
|
|
55
|
+
/** String description of the parent type */
|
|
56
|
+
parentType: string;
|
|
57
|
+
};
|
|
58
|
+
export type ParseContextType = {
|
|
59
|
+
oasDocument: OasDocument;
|
|
60
|
+
documentObject: OpenAPIV3.Document;
|
|
61
|
+
stackTrail: StackTrail;
|
|
62
|
+
parse: () => OasDocument;
|
|
63
|
+
removeErroredItems: () => void;
|
|
64
|
+
registerRef: (stackTrail: StackTrail, $ref: string) => void;
|
|
65
|
+
registerRefError: (error: Error, $ref: string | undefined) => void;
|
|
66
|
+
logSkippedFields: (args: LogSkippedValuesArgs) => void;
|
|
67
|
+
logIssue: (args: LogIssueArgs) => void;
|
|
68
|
+
logIssueNoKey: (args: LogIssueNoKeyArgs) => void;
|
|
69
|
+
};
|
|
70
|
+
//# sourceMappingURL=parseTypes.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"parseTypes.d.ts","sourceRoot":"","sources":["../../src/context/parseTypes.ts"],"names":[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AA;IACxB,cAAc,EAAE,SAAS,CAAC,QAAQ,CAAA;IAClC,UAAU,EAAE,UAAU,CAAA;IACtB,KAAK,EAAE,MAAM,WAAW,CAAA;IACxB,kBAAkB,EAAE,MAAM,IAAI,CAAA;IAC9B,WAAW,EAAE,CAAC,UAAU,EAAE,UAAU,EAAE,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAC3D,gBAAgB,EAAE,CAAC,KAAK,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,GAAG,SAAS,KAAK,IAAI,CAAA;IAClE,gBAAgB,EAAE,CAAC,IAAI,EAAE,oBAAoB,KAAK,IAAI,CAAA;IACtD,QAAQ,EAAE,CAAC,IAAI,EAAE,YAAY,KAAK,IAAI,CAAA;IACtC,aAAa,EAAE,CAAC,IAAI,EAAE,iBAAiB,KAAK,IAAI,CAAA;CACjD,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { GenerateContextType } from '../context/
|
|
2
|
-
import type { RegisterArgs } from '../context/
|
|
1
|
+
import type { GenerateContextType } from '../context/generateTypes.js';
|
|
2
|
+
import type { RegisterArgs } from '../context/generateTypes.js';
|
|
3
3
|
import type { GeneratorKey } from './GeneratorKeys.js';
|
|
4
4
|
/**
|
|
5
5
|
* Constructor arguments for {@link ContentBase}.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentBase.d.ts","sourceRoot":"","sources":["../../src/dsl/ContentBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ContentBase.d.ts","sourceRoot":"","sources":["../../src/dsl/ContentBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACtE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAA;AAC/D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AAEtD;;GAEG;AACH,KAAK,eAAe,GAAG;IACrB,iEAAiE;IACjE,OAAO,EAAE,mBAAmB,CAAA;IAC5B,6DAA6D;IAC7D,YAAY,CAAC,EAAE,YAAY,CAAA;CAC5B,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmEG;AACH,qBAAa,WAAW;IACtB,2EAA2E;IAC3E,OAAO,EAAE,mBAAmB,CAAA;IAE5B,8CAA8C;IAC9C,OAAO,EAAE,OAAO,CAAQ;IAExB,6DAA6D;IAC7D,YAAY,EAAE,YAAY,GAAG,SAAS,CAAA;IAEtC;;;;;;OAMG;gBACS,EAAE,OAAO,EAAE,YAAY,EAAE,EAAE,eAAe;IAKtD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA+BG;IACH,QAAQ,CAAC,IAAI,EAAE,YAAY,GAAG,IAAI;CAGnC"}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { GenerateContextType } from '../context/generateTypes.js';
|
|
2
2
|
import { ContentBase } from './ContentBase.js';
|
|
3
3
|
import type { Stringable } from './Stringable.js';
|
|
4
4
|
import type { GeneratorKey } from './GeneratorKeys.js';
|
|
5
5
|
import type { OasRef } from '../oas/ref/Ref.js';
|
|
6
6
|
type CreateArgs = {
|
|
7
|
-
context:
|
|
7
|
+
context: GenerateContextType;
|
|
8
8
|
value: Stringable;
|
|
9
9
|
generatorKey?: GeneratorKey;
|
|
10
10
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CustomValue.d.ts","sourceRoot":"","sources":["../../src/dsl/CustomValue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"CustomValue.d.ts","sourceRoot":"","sources":["../../src/dsl/CustomValue.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,6BAA6B,CAAA;AACtE,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AACjD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,oBAAoB,CAAA;AACtD,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,mBAAmB,CAAA;AAE/C,KAAK,UAAU,GAAG;IAChB,OAAO,EAAE,mBAAmB,CAAA;IAC5B,KAAK,EAAE,UAAU,CAAA;IACjB,YAAY,CAAC,EAAE,YAAY,CAAA;CAC5B,CAAA;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,qBAAa,WAAY,SAAQ,WAAW;IAC1C,4CAA4C;IAC5C,IAAI,EAAG,QAAQ,CAAS;IACxB,mEAAmE;IACnE,KAAK,EAAE,UAAU,CAAA;IAEjB;;;;OAIG;gBACS,EAAE,OAAO,EAAE,KAAK,EAAE,YAAY,EAAE,EAAE,UAAU;IAMxD;;;;OAIG;IACH,KAAK,IAAI,IAAI,IAAI,MAAM,CAAC,QAAQ,CAAC;IAIjC;;;;OAIG;IACH,OAAO,IAAI,WAAW;IAItB;;;;OAIG;IACH,WAAW,IAAI,WAAW;IAI1B;;;;OAIG;IACM,QAAQ,IAAI,MAAM;CAG5B;AAED;;;;;;;;;;;;GAYG;AACH,eAAO,MAAM,aAAa,GAAI,OAAO,OAAO,KAAG,KAAK,IAAI,WAEvD,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenerateContextType } from '../context/
|
|
1
|
+
import type { GenerateContextType } from '../context/generateTypes.js';
|
|
2
2
|
import type { Identifier } from './Identifier.js';
|
|
3
3
|
import { ContentBase } from './ContentBase.js';
|
|
4
4
|
import type { GeneratedValue } from './GeneratedValue.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Definition.d.ts","sourceRoot":"","sources":["../../src/dsl/Definition.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mB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;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4CG;IACM,QAAQ,IAAI,MAAM;CAa5B"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { BaseRegisterArgs, GenerateContextType } from '../../context/
|
|
2
|
-
import type { InsertModelOptions, InsertNormalisedModelArgs, InsertNormalisedModelReturn } from '../../context/
|
|
1
|
+
import type { BaseRegisterArgs, GenerateContextType } from '../../context/generateTypes.js';
|
|
2
|
+
import type { InsertModelOptions, InsertNormalisedModelArgs, InsertNormalisedModelReturn } from '../../context/generateTypes.js';
|
|
3
3
|
import type { GeneratedValue } from '../GeneratedValue.js';
|
|
4
4
|
import type { GeneratorKey } from '../GeneratorKeys.js';
|
|
5
5
|
import type { RefName } from '../../types/RefName.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelBase.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/ModelBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ModelBase.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/ModelBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAA;AAC3F,OAAO,KAAK,EACV,kBAAkB,EAClB,yBAAyB,EACzB,2BAA2B,EAC5B,MAAM,gCAAgC,CAAA;AACvC,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAA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,EAAE,UAAU,CAAM,GAC1D,QAAQ,CAAC,CAAC,EAAE,OAAO,EAAE,cAAc,CAAC;IAQvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwDG;IACH,qBAAqB,CACnB,CAAC,SAAS,cAAc,EACxB,MAAM,SAAS,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,GAAG,OAAO,EACrD,cAAc,GAAG,SAAS,EAE1B,UAAU,EAAE,eAAe,CAAC,CAAC,EAAE,cAAc,CAAC,EAC9C,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE,IAAI,CAAC,yBAAyB,CAAC,MAAM,CAAC,EAAE,iBAAiB,CAAC,EACpF,OAAO,GAAE,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,UAAU,CAAM,GAC1D,2BAA2B,CAAC,CAAC,EAAE,MAAM,CAAC;IAYzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAwCG;IACM,QAAQ,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI;CAMhD"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ModelInsertable } from './types.js';
|
|
2
|
-
import type { GenerateContextType } from '../../context/
|
|
2
|
+
import type { GenerateContextType } from '../../context/generateTypes.js';
|
|
3
3
|
import type { ContentSettings } from '../ContentSettings.js';
|
|
4
4
|
import type { GeneratedDefinition, GenerationType } from '../GeneratedValue.js';
|
|
5
5
|
import type { GeneratedValue } from '../GeneratedValue.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ModelDriver.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/ModelDriver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,YAAY,CAAA;AACjD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"ModelDriver.d.ts","sourceRoot":"","sources":["../../../src/d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nC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;;;;;;;;OAWG;gBACS,EACV,OAAO,EACP,UAAU,EACV,OAAO,EACP,UAAU,EACV,eAAe,EACf,OAAO,EACP,QAAQ,EACT,EAAE,eAAe,CAAC,CAAC,EAAE,CAAC,EAAE,cAAc,CAAC;IAgBxC;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,KAAK;IAuBb;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,aAAa;IA2CrB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,gBAAgB;CAqBzB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenerateContextType } from '../../context/
|
|
1
|
+
import type { GenerateContextType } from '../../context/generateTypes.js';
|
|
2
2
|
import type { RefName } from '../../types/RefName.js';
|
|
3
3
|
import type { ContentSettings } from '../ContentSettings.js';
|
|
4
4
|
import type { Identifier } from '../Identifier.js';
|
|
@@ -89,9 +89,9 @@ export declare const toModelBase: <EnrichmentType = undefined>(config: BaseModel
|
|
|
89
89
|
settings: ContentSettings<EnrichmentType>;
|
|
90
90
|
refName: RefName;
|
|
91
91
|
generatorKey: import("../GeneratorKeys.js").GeneratorKey;
|
|
92
|
-
insertModel<V extends import("../GeneratedValue.js").GeneratedValue, EnrichmentType_1 = undefined>(insertable: import("./types.js").ModelInsertable<V, EnrichmentType_1>, refName: RefName, options?: Pick<import("../../context/
|
|
93
|
-
insertNormalizedModel<V extends import("../GeneratedValue.js").GeneratedValue, Schema extends import("../../mod.js").OasSchema | import("../../mod.js").OasRef<"schema"> | import("../../mod.js").OasVoid, EnrichmentType_2 = undefined>(insertable: import("./types.js").ModelInsertable<V, EnrichmentType_2>, { schema, fallbackName }: Omit<import("../../context/
|
|
94
|
-
register(args: import("../../context/
|
|
92
|
+
insertModel<V extends import("../GeneratedValue.js").GeneratedValue, EnrichmentType_1 = undefined>(insertable: import("./types.js").ModelInsertable<V, EnrichmentType_1>, refName: RefName, options?: Pick<import("../../context/generateTypes.js").InsertModelOptions<"force">, "noExport">): import("../Inserted.js").Inserted<V, "force", EnrichmentType_1>;
|
|
93
|
+
insertNormalizedModel<V extends import("../GeneratedValue.js").GeneratedValue, Schema extends import("../../mod.js").OasSchema | import("../../mod.js").OasRef<"schema"> | import("../../mod.js").OasVoid, EnrichmentType_2 = undefined>(insertable: import("./types.js").ModelInsertable<V, EnrichmentType_2>, { schema, fallbackName }: Omit<import("../../context/generateTypes.js").InsertNormalisedModelArgs<Schema>, "destinationPath">, options?: Pick<import("../../context/generateTypes.js").InsertModelOptions<"force">, "noExport">): import("../../context/generateTypes.js").InsertNormalisedModelReturn<V, Schema>;
|
|
94
|
+
register(args: import("../../context/generateTypes.js").BaseRegisterArgs): void;
|
|
95
95
|
context: GenerateContextType;
|
|
96
96
|
skipped: boolean;
|
|
97
97
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toModelBase.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/toModelBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"toModelBase.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/toModelBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAA;AAEzE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAE5D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAI5B;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,CAAC,cAAc,GAAG,SAAS,IAAI;IAC5D,2EAA2E;IAC3E,OAAO,EAAE,mBAAmB,CAAA;IAC5B,iEAAiE;IACjE,QAAQ,EAAE,eAAe,CAAC,cAAc,CAAC,CAAA;IACzC,kDAAkD;IAClD,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,KAAK,iBAAiB,GAAG;IACvB,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,mBAAmB,CAAA;CAC7B,CAAA;AAED;;;;;;;GAOG;AACH,MAAM,MAAM,eAAe,CAAC,cAAc,GAAG,SAAS,IAAI;IACxD,gDAAgD;IAChD,EAAE,EAAE,MAAM,CAAA;IACV,4DAA4D;IAC5D,YAAY,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,UAAU,CAAA;IAC9C,6DAA6D;IAC7D,YAAY,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,MAAM,CAAA;IAC1C,gEAAgE;IAChE,kBAAkB,CAAC,EAAE,MAAM,CAAC,CAAC,UAAU,CAAC,cAAc,EAAE,cAAc,EAAE,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAA;CAC9F,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,eAAO,MAAM,WAAW,GAAI,cAAc,GAAG,SAAS,EACpD,QAAQ,eAAe,CAAC,cAAc,CAAC;eAiBnB,mBAAmB,CAAC,cAAc,CAAC;;;;;;;;;;;UAbvC,OAAO;4BA1DC,OAAO,KAAK,UAAU;4BAEtB,OAAO,KAAK,MAAM;oBA4DhB,sBAAsB,iBAAiB,KAAG,cAAc;;CAmBnF,CAAA"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenerateContextType } from '../../context/
|
|
1
|
+
import type { GenerateContextType } from '../../context/generateTypes.js';
|
|
2
2
|
import type { ContentSettings } from '../ContentSettings.js';
|
|
3
3
|
import type { RefName } from '../../types/RefName.js';
|
|
4
4
|
import type { Identifier } from '../Identifier.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/dsl/model/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAA;AACzE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA;AACrD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kCAAkC,CAAA;AACzE,OAAO,KAAK,KAAK,CAAC,MAAM,SAAS,CAAA;AACjC,OAAO,KAAK,EAAE,aAAa,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAC1E,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,2BAA2B,CAAA;AAEhE;;;;GAIG;AACH,MAAM,MAAM,8BAA8B,CAAC,cAAc,GAAG,SAAS,IAAI;IACvE,OAAO,EAAE,mBAAmB,CAAA;IAC5B,OAAO,EAAE,OAAO,CAAA;IAChB,QAAQ,EAAE,eAAe,CAAC,cAAc,CAAC,CAAA;IACzC,eAAe,EAAE,MAAM,CAAA;IACvB,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB,CAAA;AAED;;;;;GAKG;AACH,MAAM,MAAM,kBAAkB,GAAG;IAC/B,cAAc,EAAE,CAAC,OAAO,EAAE,OAAO,KAAK,IAAI,CAAA;CAC3C,CAAA;AAED;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAAG;IACnC,OAAO,EAAE,OAAO,CAAA;IAChB,OAAO,EAAE,mBAAmB,CAAA;CAC7B,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,kBAAkB,CAAC,GAAG,IAAI;IACpC,OAAO,EAAE,mBAAmB,CAAA;IAC5B,OAAO,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F,eAAe,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,wBAAwB,KAAK,aAAa,CAAA;IACnF,eAAe,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,OAAO,EAAE,EAAE,kBAAkB,KAAK,aAAa,CAAA;IAC7E,kBAAkB,CAAC,EAAE,MAAM,CAAC,CAAC,UAAU,CAAC,cAAc,EAAE,cAAc,EAAE,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAA;IAC7F,mBAAmB,CAAC,EAAE,CAAC,mBAAmB,SAAS,cAAc,EAC/D,OAAO,EAAE,OAAO,KACb,iBAAiB,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAA;CACxD,CAAA"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { OperationInsertable } from './types.js';
|
|
2
2
|
import type { OasOperation } from '../../oas/operation/Operation.js';
|
|
3
3
|
import type { ContentSettings } from '../ContentSettings.js';
|
|
4
|
-
import type { DefineAndRegisterArgs, InsertOperationOptions, InsertModelOptions, InsertNormalisedModelArgs, InsertNormalisedModelReturn, BaseRegisterArgs, GenerateContextType } from '../../context/
|
|
4
|
+
import type { DefineAndRegisterArgs, InsertOperationOptions, InsertModelOptions, InsertNormalisedModelArgs, InsertNormalisedModelReturn, BaseRegisterArgs, GenerateContextType } from '../../context/generateTypes.js';
|
|
5
5
|
import type { GeneratedValue } from '../GeneratedValue.js';
|
|
6
6
|
import type { GeneratorKey } from '../GeneratorKeys.js';
|
|
7
7
|
import { ContentBase } from '../ContentBase.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperationBase.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/OperationBase.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE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,kBAAkB,CAAC,OAAO,CAAC,EAAE,UAAU,CAAM,GAC1D,QAAQ,CAAC,CAAC,EAAE,OAAO,EAAE,cAAc,CAAC;IAQvC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAuDG;IACH,qBAAqB,CACnB,CAAC,SAAS,cAAc,EACxB,MAAM,SAAS,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,GAAG,OAAO,EACrD,cAAc,GAAG,SAAS,EAE1B,UAAU,EAAE,eAAe,CAAC,CAAC,EAAE,cAAc,CAAC,EAC9C,EAAE,MAAM,EAAE,YAAY,EAAE,EAAE,IAAI,CAAC,yBAAyB,CAAC,MAAM,CAAC,EAAE,iBAAiB,CAAC,EACpF,OAAO,GAAE,IAAI,CAAC,kBAAkB,CAAC,OAAO,CAAC,EAAE,UAAU,CAAM,GAC1D,2BAA2B,CAAC,CAAC,EAAE,MAAM,CAAC;IAYzC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,iBAAiB,CAAC,CAAC,SAAS,cAAc,EAAE,EAC1C,UAAU,EACV,KAAK,EACL,QAAQ,EACT,EAAE,IAAI,CAAC,qBAAqB,CAAC,CAAC,CAAC,EAAE,iBAAiB,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;IASpE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA8CG;IACM,QAAQ,CAAC,IAAI,EAAE,gBAAgB,GAAG,IAAI;CAMhD"}
|
|
@@ -3,7 +3,7 @@ import type { OasOperation } from '../../oas/operation/Operation.js';
|
|
|
3
3
|
import type { ContentSettings } from '../ContentSettings.js';
|
|
4
4
|
import type { GeneratedDefinition, GenerationType } from '../GeneratedValue.js';
|
|
5
5
|
import type { GeneratedValue } from '../GeneratedValue.js';
|
|
6
|
-
import type { GenerateContextType } from '../../context/
|
|
6
|
+
import type { GenerateContextType } from '../../context/generateTypes.js';
|
|
7
7
|
type CreateOperationArgs<V extends GeneratedValue, T extends GenerationType, EnrichmentType = undefined> = {
|
|
8
8
|
context: GenerateContextType;
|
|
9
9
|
insertable: OperationInsertable<V, EnrichmentType>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OperationDriver.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/OperationDriver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAI5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC/E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"OperationDriver.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/OperationDriver.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAA;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAI5D,OAAO,KAAK,EAAE,mBAAmB,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC/E,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAE1D,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAA;AAEzE,KAAK,mBAAmB,CACtB,CAAC,SAAS,cAAc,EACxB,CAAC,SAAS,cAAc,EACxB,cAAc,GAAG,SAAS,IACxB;IACF,OAAO,EAAE,mBAAmB,CAAA;IAC5B,UAAU,EAAE,mBAAmB,CAAC,CAAC,EAAE,cAAc,CAAC,CAAA;IAClD,SAAS,EAAE,YAAY,CAAA;IACvB,UAAU,CAAC,EAAE,CAAC,CAAA;IACd,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACnB,CAAA;AAYD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,qBAAa,eAAe,CAC1B,CAAC,SAAS,cAAc,EACxB,CAAC,SAAS,cAAc,EACxB,cAAc,GAAG,SAAS;IAE1B,2EAA2E;IAC3E,OAAO,EAAE,mBAAmB,CAAA;IAC5B,mEAAmE;IACnE,UAAU,EAAE,mBAAmB,CAAC,CAAC,EAAE,cAAc,CAAC,CAAA;IAClD,mDAAmD;IACnD,SAAS,EAAE,YAAY,CAAA;IACvB,2DAA2D;IAC3D,QAAQ,EAAE,eAAe,CAAC,cAAc,CAAC,CAAA;IACzC,2DAA2D;IAC3D,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,oEAAoE;IACpE,UAAU,EAAE,mBAAmB,CAAC,CAAC,EAAE,CAAC,CAAC,CAAA;IACrC,qDAAqD;IACrD,QAAQ,CAAC,EAAE,OAAO,CAAA;IAElB;;;;;;;;;;OAUG;gBACS,EACV,OAAO,EACP,UAAU,EACV,SAAS,EACT,UAAU,EACV,eAAe,EACf,QAAQ,EACT,EAAE,mBAAmB,CAAC,CAAC,EAAE,CAAC,EAAE,cAAc,CAAC;IAc5C;;;;;;;;;;;;OAYG;IACH,OAAO,CAAC,KAAK;IAuBb;;;;;;;;;;;OAWG;IACH,OAAO,CAAC,aAAa;IA+BrB;;;;;;;;;;OAUG;IACH,OAAO,CAAC,gBAAgB;CAqBzB"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { GenerateContextType } from '../../context/
|
|
1
|
+
import type { GenerateContextType } from '../../context/generateTypes.js';
|
|
2
2
|
import type { OasOperation } from '../../oas/operation/Operation.js';
|
|
3
3
|
import type { Identifier } from '../Identifier.js';
|
|
4
4
|
import type { OperationInsertableArgs } from './types.js';
|
|
@@ -76,11 +76,11 @@ export declare const toOperationBase: <EnrichmentType = undefined>(config: BaseO
|
|
|
76
76
|
settings: import("../ContentSettings.js").ContentSettings<EnrichmentType>;
|
|
77
77
|
operation: OasOperation;
|
|
78
78
|
generatorKey: import("../GeneratorKeys.js").GeneratorKey;
|
|
79
|
-
insertOperation<V extends import("../GeneratedValue.js").GeneratedValue, EnrichmentType_1 = undefined>(insertable: import("./types.js").OperationInsertable<V, EnrichmentType_1>, operation: OasOperation, options?: Pick<import("../../context/
|
|
80
|
-
insertModel<V extends import("../GeneratedValue.js").GeneratedValue, EnrichmentType_2 = undefined>(insertable: import("../model/types.js").ModelInsertable<V, EnrichmentType_2>, refName: import("../../mod.js").RefName, options?: Pick<import("../../context/
|
|
81
|
-
insertNormalizedModel<V extends import("../GeneratedValue.js").GeneratedValue, Schema extends import("../../mod.js").OasSchema | import("../../mod.js").OasRef<"schema"> | import("../../mod.js").OasVoid, EnrichmentType_3 = undefined>(insertable: import("../model/types.js").ModelInsertable<V, EnrichmentType_3>, { schema, fallbackName }: Omit<import("../../context/
|
|
82
|
-
defineAndRegister<V extends import("../GeneratedValue.js").GeneratedValue>({ identifier, value, noExport }: Omit<import("../../context/
|
|
83
|
-
register(args: import("../../context/
|
|
79
|
+
insertOperation<V extends import("../GeneratedValue.js").GeneratedValue, EnrichmentType_1 = undefined>(insertable: import("./types.js").OperationInsertable<V, EnrichmentType_1>, operation: OasOperation, options?: Pick<import("../../context/generateTypes.js").InsertOperationOptions<"force">, "noExport">): import("../Inserted.js").Inserted<V, "force", EnrichmentType_1>;
|
|
80
|
+
insertModel<V extends import("../GeneratedValue.js").GeneratedValue, EnrichmentType_2 = undefined>(insertable: import("../model/types.js").ModelInsertable<V, EnrichmentType_2>, refName: import("../../mod.js").RefName, options?: Pick<import("../../context/generateTypes.js").InsertModelOptions<"force">, "noExport">): import("../Inserted.js").Inserted<V, "force", EnrichmentType_2>;
|
|
81
|
+
insertNormalizedModel<V extends import("../GeneratedValue.js").GeneratedValue, Schema extends import("../../mod.js").OasSchema | import("../../mod.js").OasRef<"schema"> | import("../../mod.js").OasVoid, EnrichmentType_3 = undefined>(insertable: import("../model/types.js").ModelInsertable<V, EnrichmentType_3>, { schema, fallbackName }: Omit<import("../../context/generateTypes.js").InsertNormalisedModelArgs<Schema>, "destinationPath">, options?: Pick<import("../../context/generateTypes.js").InsertModelOptions<"force">, "noExport">): import("../../context/generateTypes.js").InsertNormalisedModelReturn<V, Schema>;
|
|
82
|
+
defineAndRegister<V extends import("../GeneratedValue.js").GeneratedValue>({ identifier, value, noExport }: Omit<import("../../context/generateTypes.js").DefineAndRegisterArgs<V>, "destinationPath">): import("../Definition.js").Definition<V>;
|
|
83
|
+
register(args: import("../../context/generateTypes.js").BaseRegisterArgs): void;
|
|
84
84
|
context: GenerateContextType;
|
|
85
85
|
skipped: boolean;
|
|
86
86
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toOperationBase.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/toOperationBase.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"toOperationBase.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/toOperationBase.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,gCAAgC,CAAA;AACzE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AAEpE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAClD,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,YAAY,CAAA;AACzD,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAI5B;;;;;;;GAOG;AACH,MAAM,MAAM,mBAAmB,CAAC,cAAc,GAAG,SAAS,IAAI;IAC5D,oDAAoD;IACpD,EAAE,EAAE,MAAM,CAAA;IACV,uDAAuD;IACvD,YAAY,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,UAAU,CAAA;IACrD,wDAAwD;IACxD,YAAY,EAAE,CAAC,SAAS,EAAE,YAAY,KAAK,MAAM,CAAA;IACjD,gEAAgE;IAChE,kBAAkB,CAAC,EAAE,MAAM,CAAC,CAAC,UAAU,CAAC,cAAc,EAAE,cAAc,EAAE,CAAC,CAAC,SAAS,CAAC,OAAO,CAAC,CAAC,CAAA;CAC9F,CAAA;AAED,KAAK,iBAAiB,GAAG;IACvB,SAAS,EAAE,YAAY,CAAA;IACvB,OAAO,EAAE,mBAAmB,CAAA;CAC7B,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,eAAO,MAAM,eAAe,GAAI,cAAc,GAAG,SAAS,EACxD,QAAQ,mBAAmB,CAAC,cAAc,CAAC;eAoBvB,uBAAuB,CAAC,cAAc,CAAC;;;;;;;;;;;;;UAhB3C,WAAW;8BA/DD,YAAY,KAAK,UAAU;8BAE3B,YAAY,KAAK,MAAM;oBAkEvB,wBAAwB,iBAAiB,KAAG,cAAc;CAqBrF,CAAA"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { OasOperation } from '../../oas/operation/Operation.js';
|
|
2
2
|
import type { ContentSettings } from '../ContentSettings.js';
|
|
3
|
-
import type { GenerateContextType } from '../../context/
|
|
3
|
+
import type { GenerateContextType } from '../../context/generateTypes.js';
|
|
4
4
|
import type { Identifier } from '../Identifier.js';
|
|
5
5
|
import type { EnrichmentRequest } from '../../types/EnrichmentRequest.js';
|
|
6
6
|
import type * as v from 'valibot';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/dsl/operation/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,kCAAkC,CAAA;AACpE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAA;AAC5D,OAA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AAS,EAAE,CAAC,GAAG,GAAG,IAAI,EAAE,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,EAAE,EAAE,sBAAsB,CAAC,GAAG,CAAC,KAAK,GAAG,CAAA;IACxF,kBAAkB,CAAC,EAAE,MAAM,CAAC,CAAC,aAAa,CAAC,cAAc,CAAC,CAAA;IAC1D,WAAW,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,eAAe,KAAK,OAAO,CAAA;IACjE,eAAe,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,4BAA4B,KAAK,aAAa,CAAA;IACzF,eAAe,CAAC,EAAE,CAAC,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE,sBAAsB,KAAK,aAAa,CAAA;IACnF,mBAAmB,CAAC,EAAE,CAAC,mBAAmB,SAAS,cAAc,EAC/D,SAAS,EAAE,YAAY,KACpB,iBAAiB,CAAC,mBAAmB,CAAC,GAAG,SAAS,CAAA;CACxD,CAAA"}
|
package/script/mod.d.ts
CHANGED
|
@@ -69,7 +69,7 @@ export * from './context/CoreContext.js';
|
|
|
69
69
|
export * from './context/GenerateContext.js';
|
|
70
70
|
export * from './context/ParseContext.js';
|
|
71
71
|
export * from './context/RenderContext.js';
|
|
72
|
-
export * from './context/
|
|
72
|
+
export * from './context/generateTypes.js';
|
|
73
73
|
export * from './dsl/constants.js';
|
|
74
74
|
export * from './dsl/ContentBase.js';
|
|
75
75
|
export * from './dsl/ContentSettings.js';
|
package/script/mod.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"mod.d.ts","sourceRoot":"","sources":["../src/mod.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiEG;AAEH,cAAc,mBAAmB,CAAA;AACjC,cAAc,0BAA0B,CAAA;AACxC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,2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AAwB,CAAA;AACtC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,0BAA0B,CAAA;AACxC,cAAc,kBAAkB,CAAA;AAChC,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,wBAAwB,CAAA;AACtC,cAAc,0BAA0B,CAAA;AACxC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,qBAAqB,CAAA;AACnC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,wBAAwB,CAAA;AACtC,cAAc,yBAAyB,CAAA;AACvC,cAAc,wBAAwB,CAAA;AACtC,cAAc,0BAA0B,CAAA;AACxC,cAAc,mBAAmB,CAAA;AACjC,cAAc,qBAAqB,CAAA;AACnC,cAAc,mBAAmB,CAAA;AACjC,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AACvC,cAAc,2BAA2B,CAAA;AACzC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,uBAAuB,CAAA;AACrC,cAAc,mCAAmC,CAAA;AACjD,cAAc,6BAA6B,CAAA;AAC3C,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,uCAAuC,CAAA;AACrD,cAAc,gCAAgC,CAAA;AAC9C,cAAc,8BAA8B,CAAA;AAC5C,cAAc,iCAAiC,CAAA"}
|
package/script/mod.js
CHANGED
|
@@ -85,7 +85,7 @@ __exportStar(require("./context/CoreContext.js"), exports);
|
|
|
85
85
|
__exportStar(require("./context/GenerateContext.js"), exports);
|
|
86
86
|
__exportStar(require("./context/ParseContext.js"), exports);
|
|
87
87
|
__exportStar(require("./context/RenderContext.js"), exports);
|
|
88
|
-
__exportStar(require("./context/
|
|
88
|
+
__exportStar(require("./context/generateTypes.js"), exports);
|
|
89
89
|
__exportStar(require("./dsl/constants.js"), exports);
|
|
90
90
|
__exportStar(require("./dsl/ContentBase.js"), exports);
|
|
91
91
|
__exportStar(require("./dsl/ContentSettings.js"), exports);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { ParseContextType } from '../../context/parseTypes.js';
|
|
2
2
|
type ParseEnumArgs = {
|
|
3
3
|
value: unknown;
|
|
4
4
|
nullable: boolean | undefined;
|
|
5
5
|
parent: unknown;
|
|
6
6
|
check: (item: unknown) => boolean;
|
|
7
7
|
toMessage: (item: unknown) => string;
|
|
8
|
-
context:
|
|
8
|
+
context: ParseContextType;
|
|
9
9
|
};
|
|
10
10
|
export declare const parseEnum: ({ value, nullable, parent, context, check, toMessage }: ParseEnumArgs) => any[] | undefined;
|
|
11
11
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parseEnum.d.ts","sourceRoot":"","sources":["../../../src/oas/_helpers/parseEnum.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"parseEnum.d.ts","sourceRoot":"","sources":["../../../src/oas/_helpers/parseEnum.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAEnE,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,OAAO,CAAA;IACd,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,MAAM,EAAE,OAAO,CAAA;IACf,KAAK,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,OAAO,CAAA;IACjC,SAAS,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,MAAM,CAAA;IACpC,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,SAAS,GAAI,wDAOvB,aAAa,sBA0Bf,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ParseContextType } from '../../context/parseTypes.js';
|
|
3
3
|
/**
|
|
4
4
|
* Arguments for parsing the nullable property from OpenAPI schemas.
|
|
5
5
|
*
|
|
@@ -9,7 +9,7 @@ export type ParseNullableArgs<Value extends OpenAPIV3.SchemaObject> = {
|
|
|
9
9
|
/** The OpenAPI schema object containing the nullable property */
|
|
10
10
|
value: Value;
|
|
11
11
|
/** Parse context for error handling */
|
|
12
|
-
context:
|
|
12
|
+
context: ParseContextType;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
15
|
* Return type for parsed nullable data.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"parseNullable.d.ts","sourceRoot":"","sources":["../../../src/oas/_helpers/parseNullable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"parseNullable.d.ts","sourceRoot":"","sources":["../../../src/oas/_helpers/parseNullable.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAEnE;;;;GAIG;AACH,MAAM,MAAM,iBAAiB,CAAC,KAAK,SAAS,SAAS,CAAC,YAAY,IAAI;IACpE,iEAAiE;IACjE,KAAK,EAAE,KAAK,CAAA;IACZ,uCAAuC;IACvC,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED;;;;GAIG;AACH,MAAM,MAAM,mBAAmB,CAAC,KAAK,SAAS,SAAS,CAAC,YAAY,IAAI;IACtE,8DAA8D;IAC9D,QAAQ,EAAE,OAAO,GAAG,SAAS,CAAA;IAC7B,sDAAsD;IACtD,KAAK,EAAE,IAAI,CAAC,KAAK,EAAE,UAAU,CAAC,CAAA;CAC/B,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgHG;AACH,eAAO,MAAM,aAAa,GAAI,KAAK,SAAS,SAAS,CAAC,YAAY,EAAE,oBAGjE,iBAAiB,CAAC,KAAK,CAAC,KAAG,mBAAmB,CAAC,KAAK,CA6BtD,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
2
|
import { OasArray } from './Array.js';
|
|
3
|
-
import type {
|
|
3
|
+
import type { ParseContextType } from '../../context/parseTypes.js';
|
|
4
4
|
type ToArrayArgs = {
|
|
5
5
|
value: OpenAPIV3.ArraySchemaObject;
|
|
6
|
-
context:
|
|
6
|
+
context: ParseContextType;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Transforms an OpenAPI v3 array schema object into an internal OAS array representation.
|
|
@@ -67,7 +67,7 @@ type ToArrayArgs = {
|
|
|
67
67
|
export declare const toArray: ({ value, context }: ToArrayArgs) => OasArray;
|
|
68
68
|
type ToParsedArrayArgs<Nullable extends boolean | undefined> = {
|
|
69
69
|
value: Omit<OpenAPIV3.ArraySchemaObject, 'nullable' | 'example' | 'enums' | 'default'>;
|
|
70
|
-
context:
|
|
70
|
+
context: ParseContextType;
|
|
71
71
|
nullable: Nullable;
|
|
72
72
|
example: Nullable extends true ? unknown[] | null | undefined : unknown[] | undefined;
|
|
73
73
|
enums: Nullable extends true ? (unknown[] | null)[] | undefined : unknown[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toArray.d.ts","sourceRoot":"","sources":["../../../src/oas/array/toArray.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,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AAG,SAAS,EAAE,4DAOjE,iBAAiB,CAAC,QAAQ,CAAC,KAAG,QAAQ,CAAC,QAAQ,CAkDjD,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ParseContextType } from '../../context/parseTypes.js';
|
|
3
3
|
import { OasBoolean } from './Boolean.js';
|
|
4
4
|
type ToBooleanArgs = {
|
|
5
5
|
value: OpenAPIV3.SchemaObject;
|
|
6
|
-
context:
|
|
6
|
+
context: ParseContextType;
|
|
7
7
|
};
|
|
8
8
|
/**
|
|
9
9
|
* Transforms an OpenAPI v3 boolean schema object into an internal OAS boolean representation.
|
|
@@ -65,7 +65,7 @@ type ToBooleanArgs = {
|
|
|
65
65
|
export declare const toBoolean: ({ value, context }: ToBooleanArgs) => OasBoolean;
|
|
66
66
|
type ToParsedBooleanArgs<Nullable extends boolean | undefined> = {
|
|
67
67
|
value: Omit<OpenAPIV3.SchemaObject, 'nullable' | 'example' | 'enums'>;
|
|
68
|
-
context:
|
|
68
|
+
context: ParseContextType;
|
|
69
69
|
nullable: Nullable;
|
|
70
70
|
example: Nullable extends true ? boolean | null | undefined : boolean | undefined;
|
|
71
71
|
enums: Nullable extends true ? (boolean | null)[] | undefined : boolean[] | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toBoolean.d.ts","sourceRoot":"","sources":["../../../src/oas/boolean/toBoolean.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"toBoolean.d.ts","sourceRoot":"","sources":["../../../src/oas/boolean/toBoolean.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAOzC,KAAK,aAAa,GAAG;IACnB,KAAK,EAAE,SAAS,CAAC,YAAY,CAAA;IAC7B,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAwDG;AACH,eAAO,MAAM,SAAS,GAAI,oBAAoB,aAAa,KAAG,UAiD7D,CAAA;AAED,KAAK,mBAAmB,CAAC,QAAQ,SAAS,OAAO,GAAG,SAAS,IAAI;IAC/D,KAAK,EAAE,IAAI,CAAC,SAAS,CAAC,YAAY,EAAE,UAAU,GAAG,SAAS,GAAG,OAAO,CAAC,CAAA;IACrE,OAAO,EAAE,gBAAgB,CAAA;IACzB,QAAQ,EAAE,QAAQ,CAAA;IAClB,OAAO,EAAE,QAAQ,SAAS,IAAI,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAA;IACjF,KAAK,EAAE,QAAQ,SAAS,IAAI,GAAG,CAAC,OAAO,GAAG,IAAI,CAAC,EAAE,GAAG,SAAS,GAAG,OAAO,EAAE,GAAG,SAAS,CAAA;IACrF,YAAY,EAAE,QAAQ,SAAS,IAAI,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,GAAG,OAAO,GAAG,SAAS,CAAA;CACvF,CAAA;AAED,eAAO,MAAM,eAAe,GAAI,QAAQ,SAAS,OAAO,GAAG,SAAS,EAAE,4DAOnE,mBAAmB,CAAC,QAAQ,CAAC,KAAG,UAAU,CAAC,QAAQ,CA0BrD,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ParseContextType } from '../../context/parseTypes.js';
|
|
3
3
|
import { OasComponents } from './Components.js';
|
|
4
4
|
type ToComponentsV3Args = {
|
|
5
5
|
components: OpenAPIV3.ComponentsObject | undefined;
|
|
6
|
-
context:
|
|
6
|
+
context: ParseContextType;
|
|
7
7
|
};
|
|
8
8
|
export declare const toComponentsV3: ({ components, context }: ToComponentsV3Args) => OasComponents | undefined;
|
|
9
9
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toComponentsV3.d.ts","sourceRoot":"","sources":["../../../src/oas/components/toComponentsV3.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"toComponentsV3.d.ts","sourceRoot":"","sources":["../../../src/oas/components/toComponentsV3.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAGnE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAA;AAM/C,KAAK,kBAAkB,GAAG;IACxB,UAAU,EAAE,SAAS,CAAC,gBAAgB,GAAG,SAAS,CAAA;IAClD,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,cAAc,GAAI,yBAG5B,kBAAkB,KAAG,aAAa,GAAG,SAgDvC,CAAA"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ParseContextType } from '../../context/parseTypes.js';
|
|
3
3
|
import { OasContact } from './Contact.js';
|
|
4
|
-
export declare const toContactV3: (contact: OpenAPIV3.ContactObject, context:
|
|
4
|
+
export declare const toContactV3: (contact: OpenAPIV3.ContactObject, context: ParseContextType) => OasContact;
|
|
5
5
|
//# sourceMappingURL=toContactV3.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toContactV3.d.ts","sourceRoot":"","sources":["../../../src/oas/contact/toContactV3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"toContactV3.d.ts","sourceRoot":"","sources":["../../../src/oas/contact/toContactV3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAEnE,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,eAAO,MAAM,WAAW,GACtB,SAAS,SAAS,CAAC,aAAa,EAChC,SAAS,gBAAgB,KACxB,UAgBF,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ParseContextType } from '../../context/parseTypes.js';
|
|
3
3
|
import { OasDiscriminator } from './Discriminator.js';
|
|
4
4
|
type ToDiscriminatorV3Args = {
|
|
5
5
|
discriminator: OpenAPIV3.DiscriminatorObject | undefined;
|
|
6
|
-
context:
|
|
6
|
+
context: ParseContextType;
|
|
7
7
|
};
|
|
8
8
|
export declare const toDiscriminatorV3: ({ discriminator, context }: ToDiscriminatorV3Args) => OasDiscriminator | undefined;
|
|
9
9
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toDiscriminatorV3.d.ts","sourceRoot":"","sources":["../../../src/oas/discriminator/toDiscriminatorV3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"toDiscriminatorV3.d.ts","sourceRoot":"","sources":["../../../src/oas/discriminator/toDiscriminatorV3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AACnE,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AAGrD,KAAK,qBAAqB,GAAG;IAC3B,aAAa,EAAE,SAAS,CAAC,mBAAmB,GAAG,SAAS,CAAA;IACxD,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,iBAAiB,GAAI,4BAG/B,qBAAqB,KAAG,gBAAgB,GAAG,SAe7C,CAAA"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { OpenAPIV3 } from 'openapi-types';
|
|
2
|
-
import type {
|
|
2
|
+
import type { ParseContextType } from '../../context/parseTypes.js';
|
|
3
3
|
import type { DocumentFields } from './Document.js';
|
|
4
4
|
type ToDocumentV3Args = {
|
|
5
5
|
documentObject: OpenAPIV3.Document;
|
|
6
|
-
context:
|
|
6
|
+
context: ParseContextType;
|
|
7
7
|
};
|
|
8
8
|
export declare const toDocumentFieldsV3: ({ documentObject, context }: ToDocumentV3Args) => DocumentFields;
|
|
9
9
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toDocumentFieldsV3.d.ts","sourceRoot":"","sources":["../../../src/oas/document/toDocumentFieldsV3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"toDocumentFieldsV3.d.ts","sourceRoot":"","sources":["../../../src/oas/document/toDocumentFieldsV3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,6BAA6B,CAAA;AAKnE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAOnD,KAAK,gBAAgB,GAAG;IACtB,cAAc,EAAE,SAAS,CAAC,QAAQ,CAAA;IAClC,OAAO,EAAE,gBAAgB,CAAA;CAC1B,CAAA;AAED,eAAO,MAAM,kBAAkB,GAAI,6BAGhC,gBAAgB,KAAG,cA4BrB,CAAA"}
|