@skmtc/core 0.0.797 → 0.0.799

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. package/esm/context/CoreContext.d.ts +10 -1
  2. package/esm/context/CoreContext.d.ts.map +1 -1
  3. package/esm/context/GenerateContext.d.ts +185 -0
  4. package/esm/context/GenerateContext.d.ts.map +1 -1
  5. package/esm/context/GenerateContext.js +30 -0
  6. package/esm/context/ParseContext.d.ts +6 -0
  7. package/esm/context/ParseContext.d.ts.map +1 -1
  8. package/esm/context/ParseContext.js +6 -0
  9. package/esm/oas/array/array-types.d.ts +23 -0
  10. package/esm/oas/array/array-types.d.ts.map +1 -1
  11. package/esm/oas/array/array-types.js +7 -0
  12. package/esm/oas/boolean/boolean-types.d.ts +25 -1
  13. package/esm/oas/boolean/boolean-types.d.ts.map +1 -1
  14. package/esm/oas/boolean/boolean-types.js +6 -0
  15. package/esm/oas/discriminator/discriminator-types.d.ts +17 -0
  16. package/esm/oas/discriminator/discriminator-types.d.ts.map +1 -1
  17. package/esm/oas/discriminator/discriminator-types.js +7 -0
  18. package/esm/oas/example/toExamplesV3.d.ts +39 -0
  19. package/esm/oas/example/toExamplesV3.d.ts.map +1 -1
  20. package/esm/oas/example/toExamplesV3.js +29 -0
  21. package/esm/oas/integer/integer-types.d.ts +18 -0
  22. package/esm/oas/integer/integer-types.d.ts.map +1 -1
  23. package/esm/oas/integer/integer-types.js +18 -0
  24. package/esm/oas/mediaType/mediaType-types.d.ts +17 -0
  25. package/esm/oas/mediaType/mediaType-types.d.ts.map +1 -1
  26. package/esm/oas/mediaType/mediaType-types.js +6 -0
  27. package/esm/oas/number/number-types.d.ts +12 -0
  28. package/esm/oas/number/number-types.d.ts.map +1 -1
  29. package/esm/oas/number/number-types.js +12 -0
  30. package/esm/oas/object/Object.d.ts +6 -0
  31. package/esm/oas/object/Object.d.ts.map +1 -1
  32. package/esm/oas/object/Object.js +6 -0
  33. package/esm/oas/operation/Operation.d.ts +34 -0
  34. package/esm/oas/operation/Operation.d.ts.map +1 -1
  35. package/esm/oas/operation/Operation.js +14 -0
  36. package/esm/oas/parameter/Parameter.d.ts +3 -0
  37. package/esm/oas/parameter/Parameter.d.ts.map +1 -1
  38. package/esm/oas/parameter/Parameter.js +3 -0
  39. package/esm/oas/ref/ref-types.d.ts +42 -0
  40. package/esm/oas/ref/ref-types.d.ts.map +1 -1
  41. package/esm/oas/ref/ref-types.js +9 -0
  42. package/esm/oas/securitySchemes/security-scheme-types.d.ts +63 -0
  43. package/esm/oas/securitySchemes/security-scheme-types.d.ts.map +1 -1
  44. package/esm/oas/securitySchemes/security-scheme-types.js +15 -0
  45. package/esm/oas/serverVariable/ServerVariable.d.ts +34 -0
  46. package/esm/oas/serverVariable/ServerVariable.d.ts.map +1 -1
  47. package/esm/oas/serverVariable/ServerVariable.js +24 -0
  48. package/esm/oas/string/string-types.d.ts +38 -1
  49. package/esm/oas/string/string-types.d.ts.map +1 -1
  50. package/esm/oas/string/string-types.js +12 -0
  51. package/esm/oas/union/union-types.d.ts +20 -0
  52. package/esm/oas/union/union-types.d.ts.map +1 -1
  53. package/esm/oas/union/union-types.js +7 -0
  54. package/esm/oas/unknown/unknown-types.d.ts +18 -0
  55. package/esm/oas/unknown/unknown-types.d.ts.map +1 -1
  56. package/esm/oas/unknown/unknown-types.js +6 -0
  57. package/esm/types/Results.d.ts +32 -0
  58. package/esm/types/Results.d.ts.map +1 -1
  59. package/esm/types/Results.js +12 -0
  60. package/package.json +1 -1
  61. package/script/context/CoreContext.d.ts +10 -1
  62. package/script/context/CoreContext.d.ts.map +1 -1
  63. package/script/context/GenerateContext.d.ts +185 -0
  64. package/script/context/GenerateContext.d.ts.map +1 -1
  65. package/script/context/GenerateContext.js +30 -0
  66. package/script/context/ParseContext.d.ts +6 -0
  67. package/script/context/ParseContext.d.ts.map +1 -1
  68. package/script/context/ParseContext.js +6 -0
  69. package/script/oas/array/array-types.d.ts +23 -0
  70. package/script/oas/array/array-types.d.ts.map +1 -1
  71. package/script/oas/array/array-types.js +7 -0
  72. package/script/oas/boolean/boolean-types.d.ts +25 -1
  73. package/script/oas/boolean/boolean-types.d.ts.map +1 -1
  74. package/script/oas/boolean/boolean-types.js +6 -0
  75. package/script/oas/discriminator/discriminator-types.d.ts +17 -0
  76. package/script/oas/discriminator/discriminator-types.d.ts.map +1 -1
  77. package/script/oas/discriminator/discriminator-types.js +7 -0
  78. package/script/oas/example/toExamplesV3.d.ts +39 -0
  79. package/script/oas/example/toExamplesV3.d.ts.map +1 -1
  80. package/script/oas/example/toExamplesV3.js +29 -0
  81. package/script/oas/integer/integer-types.d.ts +18 -0
  82. package/script/oas/integer/integer-types.d.ts.map +1 -1
  83. package/script/oas/integer/integer-types.js +18 -0
  84. package/script/oas/mediaType/mediaType-types.d.ts +17 -0
  85. package/script/oas/mediaType/mediaType-types.d.ts.map +1 -1
  86. package/script/oas/mediaType/mediaType-types.js +6 -0
  87. package/script/oas/number/number-types.d.ts +12 -0
  88. package/script/oas/number/number-types.d.ts.map +1 -1
  89. package/script/oas/number/number-types.js +12 -0
  90. package/script/oas/object/Object.d.ts +6 -0
  91. package/script/oas/object/Object.d.ts.map +1 -1
  92. package/script/oas/object/Object.js +6 -0
  93. package/script/oas/operation/Operation.d.ts +34 -0
  94. package/script/oas/operation/Operation.d.ts.map +1 -1
  95. package/script/oas/operation/Operation.js +14 -0
  96. package/script/oas/parameter/Parameter.d.ts +3 -0
  97. package/script/oas/parameter/Parameter.d.ts.map +1 -1
  98. package/script/oas/parameter/Parameter.js +3 -0
  99. package/script/oas/ref/ref-types.d.ts +42 -0
  100. package/script/oas/ref/ref-types.d.ts.map +1 -1
  101. package/script/oas/ref/ref-types.js +9 -0
  102. package/script/oas/securitySchemes/security-scheme-types.d.ts +63 -0
  103. package/script/oas/securitySchemes/security-scheme-types.d.ts.map +1 -1
  104. package/script/oas/securitySchemes/security-scheme-types.js +15 -0
  105. package/script/oas/serverVariable/ServerVariable.d.ts +34 -0
  106. package/script/oas/serverVariable/ServerVariable.d.ts.map +1 -1
  107. package/script/oas/serverVariable/ServerVariable.js +24 -0
  108. package/script/oas/string/string-types.d.ts +38 -1
  109. package/script/oas/string/string-types.d.ts.map +1 -1
  110. package/script/oas/string/string-types.js +12 -0
  111. package/script/oas/union/union-types.d.ts +20 -0
  112. package/script/oas/union/union-types.d.ts.map +1 -1
  113. package/script/oas/union/union-types.js +7 -0
  114. package/script/oas/unknown/unknown-types.d.ts +18 -0
  115. package/script/oas/unknown/unknown-types.d.ts.map +1 -1
  116. package/script/oas/unknown/unknown-types.js +6 -0
  117. package/script/types/Results.d.ts +32 -0
  118. package/script/types/Results.d.ts.map +1 -1
  119. package/script/types/Results.js +12 -0
@@ -1,10 +1,34 @@
1
1
  import * as v from 'valibot';
2
- export declare const oasBooleanData: v.GenericSchema<OasBooleanData>;
2
+ /**
3
+ * Valibot schema for validating OpenAPI boolean data objects.
4
+ *
5
+ * Validates boolean schemas including default values and enumeration
6
+ * constraints. Boolean enums typically contain [true, false] or single values.
7
+ */
8
+ export declare const oasBooleanData: v.ObjectSchema<{
9
+ readonly type: v.LiteralSchema<"boolean", undefined>;
10
+ readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
11
+ readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
12
+ readonly default: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
13
+ readonly enum: v.OptionalSchema<v.ArraySchema<v.BooleanSchema<undefined>, undefined>, undefined>;
14
+ }, undefined>;
15
+ /**
16
+ * Data type for OpenAPI boolean schema objects.
17
+ *
18
+ * Represents boolean schemas with optional default values and enumeration
19
+ * constraints. Used throughout the SKMTC pipeline for boolean type
20
+ * processing and code generation.
21
+ */
3
22
  export type OasBooleanData = {
23
+ /** Type identifier (always 'boolean') */
4
24
  type: 'boolean';
25
+ /** Human-readable title for the boolean */
5
26
  title?: string;
27
+ /** Detailed description of the boolean's purpose */
6
28
  description?: string;
29
+ /** Default value for the boolean */
7
30
  default?: boolean;
31
+ /** Array of valid boolean values (typically [true], [false], or [true, false]) */
8
32
  enum?: boolean[];
9
33
  };
10
34
  //# sourceMappingURL=boolean-types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"boolean-types.d.ts","sourceRoot":"","sources":["../../../src/oas/boolean/boolean-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,cAAc,EAAE,CAAC,CAAC,aAAa,CAAC,cAAc,CAMzD,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,IAAI,CAAC,EAAE,OAAO,EAAE,CAAA;CACjB,CAAA"}
1
+ {"version":3,"file":"boolean-types.d.ts","sourceRoot":"","sources":["../../../src/oas/boolean/boolean-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;GAKG;AACH,eAAO,MAAM,cAAc;;;;;;aAMzB,CAAA;AAEF;;;;;;GAMG;AACH,MAAM,MAAM,cAAc,GAAG;IAC3B,yCAAyC;IACzC,IAAI,EAAE,SAAS,CAAA;IACf,2CAA2C;IAC3C,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,oDAAoD;IACpD,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,oCAAoC;IACpC,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,kFAAkF;IAClF,IAAI,CAAC,EAAE,OAAO,EAAE,CAAA;CACjB,CAAA"}
@@ -35,6 +35,12 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.oasBooleanData = void 0;
37
37
  const v = __importStar(require("valibot"));
38
+ /**
39
+ * Valibot schema for validating OpenAPI boolean data objects.
40
+ *
41
+ * Validates boolean schemas including default values and enumeration
42
+ * constraints. Boolean enums typically contain [true, false] or single values.
43
+ */
38
44
  exports.oasBooleanData = v.object({
39
45
  type: v.literal('boolean'),
40
46
  title: v.optional(v.string()),
@@ -1,9 +1,26 @@
1
1
  import * as v from 'valibot';
2
+ /**
3
+ * Data type for OpenAPI discriminator objects.
4
+ *
5
+ * Discriminators are used with union types (oneOf/anyOf) to provide
6
+ * hints about which schema variant to use based on a property value.
7
+ * This enables more efficient type resolution and better tooling support.
8
+ */
2
9
  export type OasDiscriminatorData = {
10
+ /** Type category identifier for discriminator objects */
3
11
  oasType: 'discriminator';
12
+ /** Name of the property that contains the discriminator value */
4
13
  propertyName: string;
14
+ /** Optional mapping from property values to schema names */
5
15
  mapping?: Record<string, string>;
6
16
  };
17
+ /**
18
+ * Valibot schema for validating OpenAPI discriminator data objects.
19
+ *
20
+ * Validates discriminator objects including the required property name
21
+ * and optional value-to-schema mappings. Used to ensure discriminator
22
+ * objects conform to OpenAPI specification requirements.
23
+ */
7
24
  export declare const oasDiscriminatorData: v.ObjectSchema<{
8
25
  readonly oasType: v.LiteralSchema<"discriminator", undefined>;
9
26
  readonly propertyName: v.StringSchema<undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"discriminator-types.d.ts","sourceRoot":"","sources":["../../../src/oas/discriminator/discriminator-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,MAAM,MAAM,oBAAoB,GAAG;IACjC,OAAO,EAAE,eAAe,CAAA;IACxB,YAAY,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACjC,CAAA;AAED,eAAO,MAAM,oBAAoB;;;;aAI/B,CAAA"}
1
+ {"version":3,"file":"discriminator-types.d.ts","sourceRoot":"","sources":["../../../src/oas/discriminator/discriminator-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;;GAMG;AACH,MAAM,MAAM,oBAAoB,GAAG;IACjC,yDAAyD;IACzD,OAAO,EAAE,eAAe,CAAA;IACxB,iEAAiE;IACjE,YAAY,EAAE,MAAM,CAAA;IACpB,4DAA4D;IAC5D,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACjC,CAAA;AAED;;;;;;GAMG;AACH,eAAO,MAAM,oBAAoB;;;;aAI/B,CAAA"}
@@ -35,6 +35,13 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.oasDiscriminatorData = void 0;
37
37
  const v = __importStar(require("valibot"));
38
+ /**
39
+ * Valibot schema for validating OpenAPI discriminator data objects.
40
+ *
41
+ * Validates discriminator objects including the required property name
42
+ * and optional value-to-schema mappings. Used to ensure discriminator
43
+ * objects conform to OpenAPI specification requirements.
44
+ */
38
45
  exports.oasDiscriminatorData = v.object({
39
46
  oasType: v.literal('discriminator'),
40
47
  propertyName: v.string(),
@@ -5,18 +5,57 @@ import type { OasRef } from '../ref/Ref.js';
5
5
  type ToExampleSimpleV3Args = {
6
6
  example: unknown;
7
7
  };
8
+ /**
9
+ * Creates a simple OAS example from a value.
10
+ *
11
+ * Converts a raw example value into an OasExample object with basic
12
+ * fields. Used for simple example scenarios where only the value matters.
13
+ *
14
+ * @param args - Arguments containing the example value
15
+ * @returns OasExample object with the provided value
16
+ */
8
17
  export declare const toExampleSimpleV3: ({ example }: ToExampleSimpleV3Args) => OasExample | OasRef<"example">;
18
+ /**
19
+ * Arguments for processing OpenAPI v3 examples into OAS example objects.
20
+ *
21
+ * Handles both single example and examples collection scenarios,
22
+ * with context for tracing and error handling.
23
+ */
9
24
  export type ToExamplesV3Args = {
25
+ /** Single example object (OpenAPI v3 format) */
10
26
  example: OpenAPIV3.ExampleObject | undefined;
27
+ /** Collection of named examples (OpenAPI v3 format) */
11
28
  examples: Record<string, OpenAPIV3.ExampleObject | OpenAPIV3.ReferenceObject> | undefined;
29
+ /** Key name for the example context */
12
30
  exampleKey: string;
31
+ /** Parse context for tracing and error handling */
13
32
  context: ParseContext;
14
33
  };
34
+ /**
35
+ * Processes OpenAPI v3 examples into OAS example objects.
36
+ *
37
+ * Handles both single example and examples collection scenarios,
38
+ * converting them to the internal OAS representation. Provides
39
+ * warnings when both formats are specified simultaneously.
40
+ *
41
+ * @param args - Arguments containing example data and context
42
+ * @returns Record of processed examples, or undefined if no examples
43
+ */
15
44
  export declare const toExamplesV3: ({ example, examples, exampleKey, context }: ToExamplesV3Args) => Record<string, OasExample | OasRef<"example">> | undefined;
16
45
  type ToExampleV3Args = {
17
46
  example: OpenAPIV3.ExampleObject | OpenAPIV3.ReferenceObject;
18
47
  context: ParseContext;
19
48
  };
49
+ /**
50
+ * Processes a single OpenAPI v3 example into an OAS example object.
51
+ *
52
+ * Converts OpenAPI v3 example objects or references into the internal
53
+ * OAS representation, handling both direct examples and $ref references.
54
+ * Processes specification extensions and maintains all example metadata.
55
+ *
56
+ * @param args - Arguments containing the example and parsing context
57
+ * @returns OasExample object or reference to an example
58
+ */
20
59
  export declare const toExampleV3: ({ example, context }: ToExampleV3Args) => OasExample | OasRef<"example">;
21
60
  export {};
22
61
  //# sourceMappingURL=toExamplesV3.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"toExamplesV3.d.ts","sourceRoot":"","sources":["../../../src/oas/example/toExamplesV3.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAG9C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAA;AAEzC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAG3C,KAAK,qBAAqB,GAAG;IAC3B,OAAO,EAAE,OAAO,CAAA;CACjB,CAAA;AAED,eAAO,MAAM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,MAAM,gBAAgB,GAAG;IAC7B,gDAAgD;IAChD,OAAO,EAAE,SAAS,CAAC,aAAa,GAAG,SAAS,CAAA;IAC5C,uDAAuD;IACvD,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,CAAC,aAAa,GAAG,SAAS,CAAC,eAAe,CAAC,GAAG,SAAS,CAAA;IACzF,uCAAuC;IACvC,UAAU,EAAE,MAAM,CAAA;IAClB,mDAAmD;IACnD,OAAO,EAAE,YAAY,CAAA;CACtB,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,YAAY,GAAI,4CAK1B,gBAAgB,KAAG,MAAM,CAAC,MAAM,EAAE,UAAU,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC,GAAG,SAsBtE,CAAA;AAED,KAAK,eAAe,GAAG;IACrB,OAAO,EAAE,SAAS,CAAC,aAAa,GAAG,SAAS,CAAC,eAAe,CAAA;IAC5D,OAAO,EAAE,YAAY,CAAA;CACtB,CAAA;AAED;;;;;;;;;GASG;AACH,eAAO,MAAM,WAAW,GAAI,sBAGzB,eAAe,KAAG,UAAU,GAAG,MAAM,CAAC,SAAS,CAoBjD,CAAA"}
@@ -5,6 +5,15 @@ const refFns_js_1 = require("../../helpers/refFns.js");
5
5
  const toRefV31_js_1 = require("../ref/toRefV31.js");
6
6
  const Example_js_1 = require("./Example.js");
7
7
  const toSpecificationExtensionsV3_js_1 = require("../specificationExtensions/toSpecificationExtensionsV3.js");
8
+ /**
9
+ * Creates a simple OAS example from a value.
10
+ *
11
+ * Converts a raw example value into an OasExample object with basic
12
+ * fields. Used for simple example scenarios where only the value matters.
13
+ *
14
+ * @param args - Arguments containing the example value
15
+ * @returns OasExample object with the provided value
16
+ */
8
17
  const toExampleSimpleV3 = ({ example }) => {
9
18
  const fields = {
10
19
  value: example,
@@ -14,6 +23,16 @@ const toExampleSimpleV3 = ({ example }) => {
14
23
  return new Example_js_1.OasExample(fields);
15
24
  };
16
25
  exports.toExampleSimpleV3 = toExampleSimpleV3;
26
+ /**
27
+ * Processes OpenAPI v3 examples into OAS example objects.
28
+ *
29
+ * Handles both single example and examples collection scenarios,
30
+ * converting them to the internal OAS representation. Provides
31
+ * warnings when both formats are specified simultaneously.
32
+ *
33
+ * @param args - Arguments containing example data and context
34
+ * @returns Record of processed examples, or undefined if no examples
35
+ */
17
36
  const toExamplesV3 = ({ example, examples, exampleKey, context }) => {
18
37
  if (example && examples) {
19
38
  context.logger.warn(`Both example and examples are defined for ${exampleKey}`);
@@ -33,6 +52,16 @@ const toExamplesV3 = ({ example, examples, exampleKey, context }) => {
33
52
  return undefined;
34
53
  };
35
54
  exports.toExamplesV3 = toExamplesV3;
55
+ /**
56
+ * Processes a single OpenAPI v3 example into an OAS example object.
57
+ *
58
+ * Converts OpenAPI v3 example objects or references into the internal
59
+ * OAS representation, handling both direct examples and $ref references.
60
+ * Processes specification extensions and maintains all example metadata.
61
+ *
62
+ * @param args - Arguments containing the example and parsing context
63
+ * @returns OasExample object or reference to an example
64
+ */
36
65
  const toExampleV3 = ({ example, context }) => {
37
66
  if ((0, refFns_js_1.isRef)(example)) {
38
67
  return (0, toRefV31_js_1.toRefV31)({ ref: example, refType: 'example', context });
@@ -1,6 +1,24 @@
1
1
  import * as v from 'valibot';
2
+ /**
3
+ * Valibot schema for validating integer values.
4
+ *
5
+ * Ensures values are numbers and specifically integers,
6
+ * used for integer validation throughout OAS processing.
7
+ */
2
8
  export declare const integerSchema: v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>]>;
9
+ /**
10
+ * Valibot schema for valid integer format values.
11
+ *
12
+ * Defines the size formats for integer types: int32 for 32-bit signed
13
+ * integers and int64 for 64-bit signed integers.
14
+ */
3
15
  export declare const integerFormat: v.UnionSchema<[v.LiteralSchema<"int32", undefined>, v.LiteralSchema<"int64", undefined>], undefined>;
16
+ /**
17
+ * Valibot schema for validating OpenAPI integer data objects.
18
+ *
19
+ * Validates integer schemas including size formats (int32/int64),
20
+ * range constraints, multiple validation, and enumeration values.
21
+ */
4
22
  export declare const oasIntegerData: v.ObjectSchema<{
5
23
  readonly type: v.LiteralSchema<"integer", undefined>;
6
24
  readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"integer-types.d.ts","sourceRoot":"","sources":["../../../src/oas/integer/integer-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,aAAa,4FAAkC,CAAA;AAE5D,eAAO,MAAM,aAAa,sGAAoD,CAAA;AAE9E,eAAO,MAAM,cAAc;;;;;;;;;;;;;;aAczB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,GAAG,OAAO,CAAA;IAC1B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAA"}
1
+ {"version":3,"file":"integer-types.d.ts","sourceRoot":"","sources":["../../../src/oas/integer/integer-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;GAKG;AACH,eAAO,MAAM,aAAa,4FAAkC,CAAA;AAE5D;;;;;GAKG;AACH,eAAO,MAAM,aAAa,sGAAoD,CAAA;AAE9E;;;;;GAKG;AACH,eAAO,MAAM,cAAc;;;;;;;;;;;;;;aAczB,CAAA;AAEF,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,SAAS,CAAA;IACf,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,GAAG,OAAO,CAAA;IAC1B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAA"}
@@ -35,8 +35,26 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.oasIntegerData = exports.integerFormat = exports.integerSchema = void 0;
37
37
  const v = __importStar(require("valibot"));
38
+ /**
39
+ * Valibot schema for validating integer values.
40
+ *
41
+ * Ensures values are numbers and specifically integers,
42
+ * used for integer validation throughout OAS processing.
43
+ */
38
44
  exports.integerSchema = v.pipe(v.number(), v.integer());
45
+ /**
46
+ * Valibot schema for valid integer format values.
47
+ *
48
+ * Defines the size formats for integer types: int32 for 32-bit signed
49
+ * integers and int64 for 64-bit signed integers.
50
+ */
39
51
  exports.integerFormat = v.union([v.literal('int32'), v.literal('int64')]);
52
+ /**
53
+ * Valibot schema for validating OpenAPI integer data objects.
54
+ *
55
+ * Validates integer schemas including size formats (int32/int64),
56
+ * range constraints, multiple validation, and enumeration values.
57
+ */
40
58
  exports.oasIntegerData = v.object({
41
59
  type: v.literal('integer'),
42
60
  title: v.optional(v.string()),
@@ -2,12 +2,29 @@ import { type OasExampleData } from '../example/example-types.js';
2
2
  import { type OasExampleRefData, type OasSchemaRefData } from '../ref/ref-types.js';
3
3
  import { type OasSchemaData } from '../schema/schema-types.js';
4
4
  import * as v from 'valibot';
5
+ /**
6
+ * Data type for OpenAPI media type objects.
7
+ *
8
+ * Represents media type definitions within request/response bodies,
9
+ * specifying the format, schema, and examples for different content types
10
+ * like application/json, multipart/form-data, etc.
11
+ */
5
12
  export type OasMediaTypeData = {
13
+ /** Type identifier for OAS media type objects */
6
14
  oasType: 'mediaType';
15
+ /** The media type identifier (e.g., 'application/json', 'text/plain') */
7
16
  mediaType: string;
17
+ /** Schema definition for the media type content */
8
18
  schema?: OasSchemaData | OasSchemaRefData;
19
+ /** Named examples for the media type content */
9
20
  examples?: Record<string, OasExampleData | OasExampleRefData>;
10
21
  };
22
+ /**
23
+ * Valibot schema for validating OpenAPI media type data.
24
+ *
25
+ * Validates the structure of media type objects including content type
26
+ * identifiers, schema definitions, and example collections.
27
+ */
11
28
  export declare const oasMediaTypeData: v.ObjectSchema<{
12
29
  readonly oasType: v.LiteralSchema<"mediaType", undefined>;
13
30
  readonly mediaType: v.StringSchema<undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"mediaType-types.d.ts","sourceRoot":"","sources":["../../../src/oas/mediaType/mediaType-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAkB,MAAM,6BAA6B,CAAA;AACjF,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EAGtB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,KAAK,aAAa,EAAiB,MAAM,2BAA2B,CAAA;AAC7E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,MAAM,MAAM,gBAAgB,GAAG;IAC7B,OAAO,EAAE,WAAW,CAAA;IACpB,SAAS,EAAE,MAAM,CAAA;IACjB,MAAM,CAAC,EAAE,aAAa,GAAG,gBAAgB,CAAA;IAEzC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,GAAG,iBAAiB,CAAC,CAAA;CAE9D,CAAA;AAED,eAAO,MAAM,gBAAgB;;;;;;;;;;aAO3B,CAAA"}
1
+ {"version":3,"file":"mediaType-types.d.ts","sourceRoot":"","sources":["../../../src/oas/mediaType/mediaType-types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAkB,MAAM,6BAA6B,CAAA;AACjF,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EAGtB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,KAAK,aAAa,EAAiB,MAAM,2BAA2B,CAAA;AAC7E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;;GAMG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAC7B,iDAAiD;IACjD,OAAO,EAAE,WAAW,CAAA;IACpB,yEAAyE;IACzE,SAAS,EAAE,MAAM,CAAA;IACjB,mDAAmD;IACnD,MAAM,CAAC,EAAE,aAAa,GAAG,gBAAgB,CAAA;IAEzC,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,cAAc,GAAG,iBAAiB,CAAC,CAAA;CAE9D,CAAA;AAED;;;;;GAKG;AACH,eAAO,MAAM,gBAAgB;;;;;;;;;;aAO3B,CAAA"}
@@ -38,6 +38,12 @@ const example_types_js_1 = require("../example/example-types.js");
38
38
  const ref_types_js_1 = require("../ref/ref-types.js");
39
39
  const schema_types_js_1 = require("../schema/schema-types.js");
40
40
  const v = __importStar(require("valibot"));
41
+ /**
42
+ * Valibot schema for validating OpenAPI media type data.
43
+ *
44
+ * Validates the structure of media type objects including content type
45
+ * identifiers, schema definitions, and example collections.
46
+ */
41
47
  exports.oasMediaTypeData = v.object({
42
48
  oasType: v.literal('mediaType'),
43
49
  mediaType: v.string(),
@@ -1,5 +1,17 @@
1
1
  import * as v from 'valibot';
2
+ /**
3
+ * Valibot schema for valid number format values.
4
+ *
5
+ * Defines the precision formats for number types: float for single-precision
6
+ * and double for double-precision floating-point numbers.
7
+ */
2
8
  export declare const numberFormat: v.UnionSchema<[v.LiteralSchema<"float", undefined>, v.LiteralSchema<"double", undefined>], undefined>;
9
+ /**
10
+ * Valibot schema for validating OpenAPI number data objects.
11
+ *
12
+ * Validates number schemas including precision formats, range constraints,
13
+ * multiple validation, and enumeration values.
14
+ */
3
15
  export declare const oasNumberData: v.ObjectSchema<{
4
16
  readonly type: v.LiteralSchema<"number", undefined>;
5
17
  readonly title: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
@@ -1 +1 @@
1
- {"version":3,"file":"number-types.d.ts","sourceRoot":"","sources":["../../../src/oas/number/number-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,eAAO,MAAM,YAAY,uGAAqD,CAAA;AAE9E,eAAO,MAAM,aAAa;;;;;;;;;;;;;;aAcxB,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,QAAQ,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IAC3B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAA"}
1
+ {"version":3,"file":"number-types.d.ts","sourceRoot":"","sources":["../../../src/oas/number/number-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B;;;;;GAKG;AACH,eAAO,MAAM,YAAY,uGAAqD,CAAA;AAE9E;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;aAcxB,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,IAAI,EAAE,QAAQ,CAAA;IACd,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,MAAM,CAAC,EAAE,OAAO,GAAG,QAAQ,CAAA;IAC3B,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,OAAO,CAAA;IAC1B,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,gBAAgB,CAAC,EAAE,OAAO,CAAA;CAC3B,CAAA"}
@@ -35,7 +35,19 @@ var __importStar = (this && this.__importStar) || (function () {
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
36
  exports.oasNumberData = exports.numberFormat = void 0;
37
37
  const v = __importStar(require("valibot"));
38
+ /**
39
+ * Valibot schema for valid number format values.
40
+ *
41
+ * Defines the precision formats for number types: float for single-precision
42
+ * and double for double-precision floating-point numbers.
43
+ */
38
44
  exports.numberFormat = v.union([v.literal('float'), v.literal('double')]);
45
+ /**
46
+ * Valibot schema for validating OpenAPI number data objects.
47
+ *
48
+ * Validates number schemas including precision formats, range constraints,
49
+ * multiple validation, and enumeration values.
50
+ */
39
51
  exports.oasNumberData = v.object({
40
52
  type: v.literal('number'),
41
53
  title: v.optional(v.string()),
@@ -182,11 +182,17 @@ export declare class OasObject<Nullable extends boolean | undefined = boolean |
182
182
  * The default value of the object.
183
183
  */
184
184
  default: Nullable extends true ? Record<string, unknown> | null | undefined : Record<string, unknown> | undefined;
185
+ /** Maximum number of properties allowed in the object */
185
186
  maxProperties?: number;
187
+ /** Minimum number of properties required in the object */
186
188
  minProperties?: number;
189
+ /** Whether the object is read-only */
187
190
  readOnly?: boolean;
191
+ /** Whether the object is write-only */
188
192
  writeOnly?: boolean;
193
+ /** Whether the object schema is deprecated */
189
194
  deprecated?: boolean;
195
+ /** Array of valid enum values for the object */
190
196
  enums?: Nullable extends true ? (Record<string, unknown> | null)[] | undefined : Record<string, unknown>[] | undefined;
191
197
  /**
192
198
  * Creates a new OasObject instance.
@@ -1 +1 @@
1
- {"version":3,"file":"Object.d.ts","sourceRoot":"","sources":["../../../src/oas/object/Object.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,eAAe,CAAA;AAC3C,OAAO,KAAK,EAAE,SAAS,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAA;AACzE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,4BAA4B,CAAA;AAC7D,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,eAAe,CAAA;AAG9C;;;;GAIG;AACH,MAAM,MAAM,eAAe,CAAC,QAAQ,SAAS,OAAO,GAAG,SAAS,IAAI;IAClE,oCAAoC;IACpC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,kCAAkC;IAClC,WAAW,CAAC,EAAE,MAAM,CAAA;IACpB,qDAAqD;IACrD,UAAU,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,SAAS,GAAG,MAAM,CAAC,QAAQ,CAAC,GAAG,WAAW,CAAC,GAAG,SAAS,CAAA;IACnF,uCAAuC;IACvC,QAAQ,CAAC,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;IAC/B,sEAAsE;IACtE,OAAO,CAAC,EAAE,QAAQ,SAAS,IAAI,GAC3B,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,IAAI,GAAG,SAAS,GAC1C,MAAM,CAAC,MAAM,EAAE,OAAO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,GAAG,SAAS,CAAA;IACzC;;;;;;;;;;;;;;;;;OAiBG;gBACS,MAAM,GAAE,eAAe,CAAC,QAAQ,CAAM;IAiBlD;;;;;;;;;;;;;;;;;;;;;;;;;OAyBG;IACH,MAAM,CAAC,KAAK,IAAI,SAAS,CAAC,KAAK,CAAC;IAQhC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4CG;IACH,WAAW,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,EAAE,eAAe,GAAG,SAAS;IAmBnE;;;;;;;;;;;;;;;;;;;;;;;;;;;;OA4BG;IACH,cAAc,CAAC,IAAI,EAAE,MAAM,GAAG,SAAS;IAkBvC,KAAK,IAAI,IAAI,IAAI,MAAM,CAAC,QAAQ,CAAC;IAIjC,OAAO,IAAI,SAAS;IAIpB,WAAW,IAAI,SAAS;IAIxB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;OAoCG;IACH,YAAY,CAAC,OAAO,EAAE,mBAAmB,GAAG,SAAS,CAAC,oBAAoB;CA8B3E"}
@@ -208,36 +208,42 @@ class OasObject {
208
208
  writable: true,
209
209
  value: void 0
210
210
  });
211
+ /** Maximum number of properties allowed in the object */
211
212
  Object.defineProperty(this, "maxProperties", {
212
213
  enumerable: true,
213
214
  configurable: true,
214
215
  writable: true,
215
216
  value: void 0
216
217
  });
218
+ /** Minimum number of properties required in the object */
217
219
  Object.defineProperty(this, "minProperties", {
218
220
  enumerable: true,
219
221
  configurable: true,
220
222
  writable: true,
221
223
  value: void 0
222
224
  });
225
+ /** Whether the object is read-only */
223
226
  Object.defineProperty(this, "readOnly", {
224
227
  enumerable: true,
225
228
  configurable: true,
226
229
  writable: true,
227
230
  value: void 0
228
231
  });
232
+ /** Whether the object is write-only */
229
233
  Object.defineProperty(this, "writeOnly", {
230
234
  enumerable: true,
231
235
  configurable: true,
232
236
  writable: true,
233
237
  value: void 0
234
238
  });
239
+ /** Whether the object schema is deprecated */
235
240
  Object.defineProperty(this, "deprecated", {
236
241
  enumerable: true,
237
242
  configurable: true,
238
243
  writable: true,
239
244
  value: void 0
240
245
  });
246
+ /** Array of valid enum values for the object */
241
247
  Object.defineProperty(this, "enums", {
242
248
  enumerable: true,
243
249
  configurable: true,
@@ -11,19 +11,39 @@ import { OasObject } from '../object/Object.js';
11
11
  import type { ToJsonSchemaOptions } from '../schema/Schema.js';
12
12
  import type { OpenAPIV3 } from 'openapi-types';
13
13
  import type { OasSecurityRequirement } from '../securityRequirement/SecurityRequirement.js';
14
+ /**
15
+ * Fields for configuring an OpenAPI operation object.
16
+ *
17
+ * Contains all the properties needed to define a complete OpenAPI operation,
18
+ * including path information, parameters, request/response specifications,
19
+ * security requirements, and metadata.
20
+ */
14
21
  export type OperationFields = {
22
+ /** The API path for this operation */
15
23
  path: string;
24
+ /** The HTTP method for this operation */
16
25
  method: Method;
26
+ /** The parent path item containing this operation */
17
27
  pathItem: OasPathItem | undefined;
28
+ /** Unique identifier for the operation */
18
29
  operationId?: string | undefined;
30
+ /** Brief summary of the operation */
19
31
  summary?: string | undefined;
32
+ /** Tags for organizing operations in documentation */
20
33
  tags?: string[] | undefined;
34
+ /** Detailed description of the operation */
21
35
  description?: string | undefined;
36
+ /** Parameters accepted by this operation */
22
37
  parameters?: (OasParameter | OasRef<'parameter'>)[] | undefined;
38
+ /** Request body specification for this operation */
23
39
  requestBody?: OasRequestBody | OasRef<'requestBody'> | undefined;
40
+ /** Response specifications mapped by status code */
24
41
  responses: Record<string, OasResponse | OasRef<'response'>>;
42
+ /** Security requirements for this operation */
25
43
  security?: OasSecurityRequirement[] | undefined;
44
+ /** Whether this operation is deprecated */
26
45
  deprecated?: boolean | undefined;
46
+ /** OpenAPI specification extensions */
27
47
  extensionFields?: Record<string, unknown>;
28
48
  };
29
49
  type ToRequestBodyMapArgs = {
@@ -138,19 +158,33 @@ type ToRequestBodyMapArgs = {
138
158
  * ```
139
159
  */
140
160
  export declare class OasOperation {
161
+ /** Type identifier for OAS operation objects */
141
162
  oasType: 'operation';
163
+ /** The API path for this operation */
142
164
  path: string;
165
+ /** The HTTP method for this operation */
143
166
  method: Method;
167
+ /** The parent path item containing this operation */
144
168
  pathItem: OasPathItem | undefined;
169
+ /** Unique identifier for the operation */
145
170
  operationId: string | undefined;
171
+ /** Brief summary of the operation */
146
172
  summary: string | undefined;
173
+ /** Tags for organizing operations in documentation */
147
174
  tags: string[] | undefined;
175
+ /** Detailed description of the operation */
148
176
  description: string | undefined;
177
+ /** Parameters accepted by this operation */
149
178
  parameters: (OasParameter | OasRef<'parameter'>)[] | undefined;
179
+ /** Request body specification for this operation */
150
180
  requestBody: OasRequestBody | OasRef<'requestBody'> | undefined;
181
+ /** Response specifications mapped by status code */
151
182
  responses: Record<string, OasResponse | OasRef<'response'>>;
183
+ /** Security requirements for this operation */
152
184
  security: OasSecurityRequirement[] | undefined;
185
+ /** Whether this operation is deprecated */
153
186
  deprecated: boolean | undefined;
187
+ /** OpenAPI specification extensions */
154
188
  extensionFields: Record<string, unknown> | undefined;
155
189
  constructor(fields: OperationFields);
156
190
  toSuccessResponse(): OasResponse | OasRef<'response'> | undefined;
@@ -1 +1 @@
1
- {"version":3,"file":"Operation.d.ts","sourceRoot":"","sources":["../../../src/oas/operation/Operation.ts"],"names":[],"mappings":"AAAA,OAAO,yBAAyB,CAAC;AACjC,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,uBAAuB,CAAA;AACnD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,2BAA2B,CAAA;AAC7D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AACnE,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAA;AAC1D,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,iCAAiC,CAAA;AAC3E,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,qBAAqB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