ts-openapi-codegen 2.0.0-beta.0 → 2.0.0-beta.2

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 (177) hide show
  1. package/README.md +145 -55
  2. package/README.rus.md +144 -54
  3. package/dist/cli/index.js +2 -1
  4. package/dist/common/Consts.d.ts.map +1 -1
  5. package/dist/common/Consts.js +2 -1
  6. package/dist/common/TRawOptions.d.ts +2 -1
  7. package/dist/common/TRawOptions.d.ts.map +1 -1
  8. package/dist/common/VersionedSchema/AllVersionedSchemas/AllMigrationPlans.d.ts.map +1 -1
  9. package/dist/common/VersionedSchema/AllVersionedSchemas/AllMigrationPlans.js +8 -0
  10. package/dist/common/VersionedSchema/AllVersionedSchemas/AllVersionedSchemas.d.ts.map +1 -1
  11. package/dist/common/VersionedSchema/AllVersionedSchemas/AllVersionedSchemas.js +7 -1
  12. package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV1.d.ts.map +1 -0
  13. package/dist/common/VersionedSchema/{UnifiedOptionsVersioned → AllVersionedSchemas}/UnifiedOptionsSchemaV1.js +2 -2
  14. package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV2.d.ts +7 -0
  15. package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV2.d.ts.map +1 -0
  16. package/dist/common/VersionedSchema/AllVersionedSchemas/UnifiedOptionsSchemaV2.js +42 -0
  17. package/dist/common/VersionedSchema/CommonSchemas.d.ts +1 -0
  18. package/dist/common/VersionedSchema/CommonSchemas.d.ts.map +1 -1
  19. package/dist/common/VersionedSchema/CommonSchemas.js +8 -1
  20. package/dist/common/defaultOptions.d.ts.map +1 -1
  21. package/dist/common/defaultOptions.js +2 -1
  22. package/dist/common/utils/__tests__/convertArrayToObject.test.js +5 -6
  23. package/dist/common/utils/convertArrayToObject.d.ts.map +1 -1
  24. package/dist/common/utils/convertArrayToObject.js +1 -2
  25. package/dist/core/OpenApiClient.d.ts.map +1 -1
  26. package/dist/core/OpenApiClient.js +6 -4
  27. package/dist/core/WriteClient.d.ts +3 -12
  28. package/dist/core/WriteClient.d.ts.map +1 -1
  29. package/dist/core/WriteClient.js +20 -22
  30. package/dist/core/__tests__/WriteClient.test.js +8 -1
  31. package/dist/core/types/enums/ValidationLibrary.enum.d.ts +8 -0
  32. package/dist/core/types/enums/ValidationLibrary.enum.d.ts.map +1 -0
  33. package/dist/core/types/enums/ValidationLibrary.enum.js +11 -0
  34. package/dist/core/utils/__mocks__/templates.d.ts +3 -0
  35. package/dist/core/utils/__mocks__/templates.d.ts.map +1 -0
  36. package/dist/core/utils/__mocks__/templates.js +33 -0
  37. package/dist/core/utils/__tests__/writeClientCore.test.js +2 -25
  38. package/dist/core/utils/__tests__/writeClientFullIndex.test.js +2 -25
  39. package/dist/core/utils/__tests__/writeClientModels.test.js +2 -25
  40. package/dist/core/utils/__tests__/writeClientSchemas.test.js +4 -25
  41. package/dist/core/utils/__tests__/writeClientServices.test.js +2 -25
  42. package/dist/core/utils/precompileTemplates.js +6 -0
  43. package/dist/core/utils/registerHandlebarHelpers.d.ts.map +1 -1
  44. package/dist/core/utils/registerHandlebarHelpers.js +74 -0
  45. package/dist/core/utils/registerHandlebarTemplates.d.ts +8 -0
  46. package/dist/core/utils/registerHandlebarTemplates.d.ts.map +1 -1
  47. package/dist/core/utils/registerHandlebarTemplates.js +88 -0
  48. package/dist/core/utils/writeClientCore.d.ts.map +1 -1
  49. package/dist/core/utils/writeClientCore.js +3 -0
  50. package/dist/core/utils/writeClientSchemas.d.ts +2 -0
  51. package/dist/core/utils/writeClientSchemas.d.ts.map +1 -1
  52. package/dist/core/utils/writeClientSchemas.js +14 -2
  53. package/dist/templatesCompiled/client/core/legacy-request-adapter.d.ts +8 -0
  54. package/dist/templatesCompiled/client/core/legacy-request-adapter.d.ts.map +1 -0
  55. package/dist/templatesCompiled/client/core/legacy-request-adapter.js +18 -0
  56. package/dist/templatesCompiled/client/core/request-executor.d.ts +7 -0
  57. package/dist/templatesCompiled/client/core/request-executor.d.ts.map +1 -0
  58. package/dist/templatesCompiled/client/core/request-executor.js +11 -0
  59. package/dist/templatesCompiled/client/exportService.d.ts.map +1 -1
  60. package/dist/templatesCompiled/client/exportService.js +46 -50
  61. package/dist/templatesCompiled/client/joi/exportSchema.d.ts +11 -0
  62. package/dist/templatesCompiled/client/joi/exportSchema.d.ts.map +1 -0
  63. package/dist/templatesCompiled/client/joi/exportSchema.js +71 -0
  64. package/dist/templatesCompiled/client/joi/partials/joiSchema.d.ts +22 -0
  65. package/dist/templatesCompiled/client/joi/partials/joiSchema.d.ts.map +1 -0
  66. package/dist/templatesCompiled/client/joi/partials/joiSchema.js +129 -0
  67. package/dist/templatesCompiled/client/joi/partials/joiSchemaArray.d.ts +16 -0
  68. package/dist/templatesCompiled/client/joi/partials/joiSchemaArray.d.ts.map +1 -0
  69. package/dist/templatesCompiled/client/joi/partials/joiSchemaArray.js +84 -0
  70. package/dist/templatesCompiled/client/joi/partials/joiSchemaComposition.d.ts +18 -0
  71. package/dist/templatesCompiled/client/joi/partials/joiSchemaComposition.d.ts.map +1 -0
  72. package/dist/templatesCompiled/client/joi/partials/joiSchemaComposition.js +96 -0
  73. package/dist/templatesCompiled/client/joi/partials/joiSchemaDictionary.d.ts +14 -0
  74. package/dist/templatesCompiled/client/joi/partials/joiSchemaDictionary.d.ts.map +1 -0
  75. package/dist/templatesCompiled/client/joi/partials/joiSchemaDictionary.js +72 -0
  76. package/dist/templatesCompiled/client/joi/partials/joiSchemaEnum.d.ts +14 -0
  77. package/dist/templatesCompiled/client/joi/partials/joiSchemaEnum.d.ts.map +1 -0
  78. package/dist/templatesCompiled/client/joi/partials/joiSchemaEnum.js +74 -0
  79. package/dist/templatesCompiled/client/joi/partials/joiSchemaGeneric.d.ts +35 -0
  80. package/dist/templatesCompiled/client/joi/partials/joiSchemaGeneric.d.ts.map +1 -0
  81. package/dist/templatesCompiled/client/joi/partials/joiSchemaGeneric.js +201 -0
  82. package/dist/templatesCompiled/client/joi/partials/joiSchemaInterface.d.ts +14 -0
  83. package/dist/templatesCompiled/client/joi/partials/joiSchemaInterface.d.ts.map +1 -0
  84. package/dist/templatesCompiled/client/joi/partials/joiSchemaInterface.js +50 -0
  85. package/dist/templatesCompiled/client/joi/partials/joiSchemaReference.d.ts +9 -0
  86. package/dist/templatesCompiled/client/joi/partials/joiSchemaReference.d.ts.map +1 -0
  87. package/dist/templatesCompiled/client/joi/partials/joiSchemaReference.js +25 -0
  88. package/dist/templatesCompiled/client/jsonschema/exportSchema.d.ts +11 -0
  89. package/dist/templatesCompiled/client/jsonschema/exportSchema.d.ts.map +1 -0
  90. package/dist/templatesCompiled/client/jsonschema/exportSchema.js +69 -0
  91. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchema.d.ts +22 -0
  92. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchema.d.ts.map +1 -0
  93. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchema.js +129 -0
  94. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaArray.d.ts +16 -0
  95. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaArray.d.ts.map +1 -0
  96. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaArray.js +74 -0
  97. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaComposition.d.ts +16 -0
  98. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaComposition.d.ts.map +1 -0
  99. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaComposition.js +84 -0
  100. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaDictionary.d.ts +13 -0
  101. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaDictionary.d.ts.map +1 -0
  102. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaDictionary.js +56 -0
  103. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaEnum.d.ts +12 -0
  104. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaEnum.d.ts.map +1 -0
  105. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaEnum.js +49 -0
  106. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaGeneric.d.ts +29 -0
  107. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaGeneric.d.ts.map +1 -0
  108. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaGeneric.js +175 -0
  109. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaInterface.d.ts +15 -0
  110. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaInterface.d.ts.map +1 -0
  111. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaInterface.js +63 -0
  112. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaReference.d.ts +9 -0
  113. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaReference.d.ts.map +1 -0
  114. package/dist/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaReference.js +25 -0
  115. package/dist/templatesCompiled/client/yup/exportSchema.d.ts +11 -0
  116. package/dist/templatesCompiled/client/yup/exportSchema.d.ts.map +1 -0
  117. package/dist/templatesCompiled/client/yup/exportSchema.js +73 -0
  118. package/dist/templatesCompiled/client/yup/partials/yupSchema.d.ts +22 -0
  119. package/dist/templatesCompiled/client/yup/partials/yupSchema.d.ts.map +1 -0
  120. package/dist/templatesCompiled/client/yup/partials/yupSchema.js +129 -0
  121. package/dist/templatesCompiled/client/yup/partials/yupSchemaArray.d.ts +16 -0
  122. package/dist/templatesCompiled/client/yup/partials/yupSchemaArray.d.ts.map +1 -0
  123. package/dist/templatesCompiled/client/yup/partials/yupSchemaArray.js +84 -0
  124. package/dist/templatesCompiled/client/yup/partials/yupSchemaComposition.d.ts +18 -0
  125. package/dist/templatesCompiled/client/yup/partials/yupSchemaComposition.d.ts.map +1 -0
  126. package/dist/templatesCompiled/client/yup/partials/yupSchemaComposition.js +96 -0
  127. package/dist/templatesCompiled/client/yup/partials/yupSchemaDictionary.d.ts +14 -0
  128. package/dist/templatesCompiled/client/yup/partials/yupSchemaDictionary.d.ts.map +1 -0
  129. package/dist/templatesCompiled/client/yup/partials/yupSchemaDictionary.js +72 -0
  130. package/dist/templatesCompiled/client/yup/partials/yupSchemaEnum.d.ts +14 -0
  131. package/dist/templatesCompiled/client/yup/partials/yupSchemaEnum.d.ts.map +1 -0
  132. package/dist/templatesCompiled/client/yup/partials/yupSchemaEnum.js +74 -0
  133. package/dist/templatesCompiled/client/yup/partials/yupSchemaGeneric.d.ts +34 -0
  134. package/dist/templatesCompiled/client/yup/partials/yupSchemaGeneric.d.ts.map +1 -0
  135. package/dist/templatesCompiled/client/yup/partials/yupSchemaGeneric.js +201 -0
  136. package/dist/templatesCompiled/client/yup/partials/yupSchemaInterface.d.ts +14 -0
  137. package/dist/templatesCompiled/client/yup/partials/yupSchemaInterface.d.ts.map +1 -0
  138. package/dist/templatesCompiled/client/yup/partials/yupSchemaInterface.js +50 -0
  139. package/dist/templatesCompiled/client/yup/partials/yupSchemaReference.d.ts +9 -0
  140. package/dist/templatesCompiled/client/yup/partials/yupSchemaReference.d.ts.map +1 -0
  141. package/dist/templatesCompiled/client/yup/partials/yupSchemaReference.js +25 -0
  142. package/dist/templatesCompiled/client/zod/exportSchema.d.ts +11 -0
  143. package/dist/templatesCompiled/client/zod/exportSchema.d.ts.map +1 -0
  144. package/dist/templatesCompiled/client/zod/exportSchema.js +67 -0
  145. package/dist/templatesCompiled/client/zod/partials/zodSchema.d.ts +22 -0
  146. package/dist/templatesCompiled/client/zod/partials/zodSchema.d.ts.map +1 -0
  147. package/dist/templatesCompiled/client/zod/partials/zodSchema.js +129 -0
  148. package/dist/templatesCompiled/client/zod/partials/zodSchemaArray.d.ts +14 -0
  149. package/dist/templatesCompiled/client/zod/partials/zodSchemaArray.d.ts.map +1 -0
  150. package/dist/templatesCompiled/client/zod/partials/zodSchemaArray.js +65 -0
  151. package/dist/templatesCompiled/client/zod/partials/zodSchemaComposition.d.ts +15 -0
  152. package/dist/templatesCompiled/client/zod/partials/zodSchemaComposition.d.ts.map +1 -0
  153. package/dist/templatesCompiled/client/zod/partials/zodSchemaComposition.js +70 -0
  154. package/dist/templatesCompiled/client/zod/partials/zodSchemaDictionary.d.ts +12 -0
  155. package/dist/templatesCompiled/client/zod/partials/zodSchemaDictionary.d.ts.map +1 -0
  156. package/dist/templatesCompiled/client/zod/partials/zodSchemaDictionary.js +53 -0
  157. package/dist/templatesCompiled/client/zod/partials/zodSchemaEnum.d.ts +15 -0
  158. package/dist/templatesCompiled/client/zod/partials/zodSchemaEnum.d.ts.map +1 -0
  159. package/dist/templatesCompiled/client/zod/partials/zodSchemaEnum.js +86 -0
  160. package/dist/templatesCompiled/client/zod/partials/zodSchemaGeneric.d.ts +34 -0
  161. package/dist/templatesCompiled/client/zod/partials/zodSchemaGeneric.d.ts.map +1 -0
  162. package/dist/templatesCompiled/client/zod/partials/zodSchemaGeneric.js +193 -0
  163. package/dist/templatesCompiled/client/zod/partials/zodSchemaInterface.d.ts +14 -0
  164. package/dist/templatesCompiled/client/zod/partials/zodSchemaInterface.d.ts.map +1 -0
  165. package/dist/templatesCompiled/client/zod/partials/zodSchemaInterface.js +50 -0
  166. package/dist/templatesCompiled/client/zod/partials/zodSchemaReference.d.ts +9 -0
  167. package/dist/templatesCompiled/client/zod/partials/zodSchemaReference.d.ts.map +1 -0
  168. package/dist/templatesCompiled/client/zod/partials/zodSchemaReference.js +25 -0
  169. package/package.json +12 -3
  170. package/dist/common/VersionedSchema/UnifiedOptionsVersioned/UnifiedOptionsMigrationPlan.d.ts +0 -3
  171. package/dist/common/VersionedSchema/UnifiedOptionsVersioned/UnifiedOptionsMigrationPlan.d.ts.map +0 -1
  172. package/dist/common/VersionedSchema/UnifiedOptionsVersioned/UnifiedOptionsMigrationPlan.js +0 -28
  173. package/dist/common/VersionedSchema/UnifiedOptionsVersioned/UnifiedOptionsSchemaV1.d.ts.map +0 -1
  174. package/dist/common/VersionedSchema/UnifiedOptionsVersioned/UnifiedOptionsVersionedSchemas.d.ts +0 -3
  175. package/dist/common/VersionedSchema/UnifiedOptionsVersioned/UnifiedOptionsVersionedSchemas.d.ts.map +0 -1
  176. package/dist/common/VersionedSchema/UnifiedOptionsVersioned/UnifiedOptionsVersionedSchemas.js +0 -10
  177. /package/dist/common/VersionedSchema/{UnifiedOptionsVersioned → AllVersionedSchemas}/UnifiedOptionsSchemaV1.d.ts +0 -0
@@ -0,0 +1,74 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ // This is an automatically generated file for the hbs template.
4
+ // You don't need to change it, run npm run build:hbs to update it.
5
+ /* istanbul ignore file */
6
+ /* tslint: disable */
7
+ /* eslint: disable */
8
+ // @ts-nocheck
9
+ exports.default = { "1": function (container, depth0, helpers, partials, data) {
10
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
11
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
12
+ return parent[propertyName];
13
+ }
14
+ return undefined;
15
+ };
16
+ return ((stack1 = lookupProperty(helpers, "isBasicType").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "link"), { "name": "isBasicType", "hash": {}, "fn": container.program(2, data, 0), "inverse": container.program(4, data, 0), "data": data, "loc": { "start": { "line": 3, "column": 23 }, "end": { "line": 3, "column": 122 } } })) != null ? stack1 : "");
17
+ }, "2": function (container, depth0, helpers, partials, data) {
18
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
19
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
20
+ return parent[propertyName];
21
+ }
22
+ return undefined;
23
+ };
24
+ return ((stack1 = container.invokePartial(lookupProperty(partials, "jsonschemaSchemaGeneric"), lookupProperty(depth0, "link"), { "name": "jsonschemaSchemaGeneric", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "");
25
+ }, "4": function (container, depth0, helpers, partials, data) {
26
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
27
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
28
+ return parent[propertyName];
29
+ }
30
+ return undefined;
31
+ };
32
+ return ((stack1 = container.lambda(container.strict(lookupProperty(depth0, "link"), "type", { "start": { "line": 3, "column": 88 }, "end": { "line": 3, "column": 97 } }), depth0)) != null ? stack1 : "")
33
+ + "Schema";
34
+ }, "6": function (container, depth0, helpers, partials, data) {
35
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
36
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
37
+ return parent[propertyName];
38
+ }
39
+ return undefined;
40
+ };
41
+ return ((stack1 = container.invokePartial(lookupProperty(partials, "jsonschemaSchemaGeneric"), depth0, { "name": "jsonschemaSchemaGeneric", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "");
42
+ }, "8": function (container, depth0, helpers, partials, data) {
43
+ var stack1;
44
+ return " minItems: "
45
+ + ((stack1 = container.lambda(container.strict(depth0, "minItems", { "start": { "line": 5, "column": 17 }, "end": { "line": 5, "column": 25 } }), depth0)) != null ? stack1 : "")
46
+ + ",\n";
47
+ }, "10": function (container, depth0, helpers, partials, data) {
48
+ var stack1;
49
+ return " maxItems: "
50
+ + ((stack1 = container.lambda(container.strict(depth0, "maxItems", { "start": { "line": 8, "column": 17 }, "end": { "line": 8, "column": 25 } }), depth0)) != null ? stack1 : "")
51
+ + ",\n";
52
+ }, "12": function (container, depth0, helpers, partials, data) {
53
+ var stack1;
54
+ return " uniqueItems: "
55
+ + ((stack1 = container.lambda(container.strict(depth0, "uniqueItems", { "start": { "line": 11, "column": 20 }, "end": { "line": 11, "column": 31 } }), depth0)) != null ? stack1 : "")
56
+ + ",\n";
57
+ }, "14": function (container, depth0, helpers, partials, data) {
58
+ return " nullable: true,\n";
59
+ }, "compiler": [8, ">= 4.3.0"], "main": function (container, depth0, helpers, partials, data) {
60
+ var stack1, alias1 = depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function (parent, propertyName) {
61
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
62
+ return parent[propertyName];
63
+ }
64
+ return undefined;
65
+ };
66
+ return "{\n type: 'array',\n items: "
67
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "link"), { "name": "if", "hash": {}, "fn": container.program(1, data, 0), "inverse": container.program(6, data, 0), "data": data, "loc": { "start": { "line": 3, "column": 11 }, "end": { "line": 3, "column": 165 } } })) != null ? stack1 : "")
68
+ + ",\n"
69
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "minItems"), { "name": "if", "hash": {}, "fn": container.program(8, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 6, "column": 7 } } })) != null ? stack1 : "")
70
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "maxItems"), { "name": "if", "hash": {}, "fn": container.program(10, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 7, "column": 0 }, "end": { "line": 9, "column": 7 } } })) != null ? stack1 : "")
71
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "uniqueItems"), { "name": "if", "hash": {}, "fn": container.program(12, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 12, "column": 7 } } })) != null ? stack1 : "")
72
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "isNullable"), { "name": "if", "hash": {}, "fn": container.program(14, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 15, "column": 7 } } })) != null ? stack1 : "")
73
+ + "}";
74
+ }, "usePartial": true, "useData": true };
@@ -0,0 +1,16 @@
1
+ declare const _default: {
2
+ "1": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
3
+ "2": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
4
+ "3": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
5
+ "5": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
6
+ "7": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
7
+ "8": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
8
+ "10": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
9
+ "11": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
10
+ compiler: (string | number)[];
11
+ main: (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
12
+ usePartial: boolean;
13
+ useData: boolean;
14
+ };
15
+ export default _default;
16
+ //# sourceMappingURL=jsonschemaSchemaComposition.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonschemaSchemaComposition.d.ts","sourceRoot":"","sources":["../../../../../src/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaComposition.ts"],"names":[],"mappings":";;;;;;;;;;;;;;AAMA,wBAkFmC"}
@@ -0,0 +1,84 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ // This is an automatically generated file for the hbs template.
4
+ // You don't need to change it, run npm run build:hbs to update it.
5
+ /* istanbul ignore file */
6
+ /* tslint: disable */
7
+ /* eslint: disable */
8
+ // @ts-nocheck
9
+ exports.default = { "1": function (container, depth0, helpers, partials, data) {
10
+ var stack1, alias1 = depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function (parent, propertyName) {
11
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
12
+ return parent[propertyName];
13
+ }
14
+ return undefined;
15
+ };
16
+ return "{\n oneOf: [\n"
17
+ + ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "properties"), { "name": "each", "hash": {}, "fn": container.program(2, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 6, "column": 9 } } })) != null ? stack1 : "")
18
+ + " ]"
19
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "isNullable"), { "name": "if", "hash": {}, "fn": container.program(5, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 7, "column": 5 }, "end": { "line": 8, "column": 25 } } })) != null ? stack1 : "")
20
+ + "\n}\n";
21
+ }, "2": function (container, depth0, helpers, partials, data) {
22
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
23
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
24
+ return parent[propertyName];
25
+ }
26
+ return undefined;
27
+ };
28
+ return " "
29
+ + ((stack1 = container.invokePartial(lookupProperty(partials, "jsonschemaSchema"), depth0, { "name": "jsonschemaSchema", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "")
30
+ + ((stack1 = lookupProperty(helpers, "unless").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(data, "last"), { "name": "unless", "hash": {}, "fn": container.program(3, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 5, "column": 29 }, "end": { "line": 5, "column": 58 } } })) != null ? stack1 : "")
31
+ + "\n";
32
+ }, "3": function (container, depth0, helpers, partials, data) {
33
+ return ",";
34
+ }, "5": function (container, depth0, helpers, partials, data) {
35
+ return ",\n nullable: true";
36
+ }, "7": function (container, depth0, helpers, partials, data) {
37
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
38
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
39
+ return parent[propertyName];
40
+ }
41
+ return undefined;
42
+ };
43
+ return ((stack1 = lookupProperty(helpers, "equals").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "export"), "any-of", { "name": "equals", "hash": {}, "fn": container.program(8, data, 0), "inverse": container.program(10, data, 0), "data": data, "loc": { "start": { "line": 10, "column": 0 }, "end": { "line": 28, "column": 0 } } })) != null ? stack1 : "");
44
+ }, "8": function (container, depth0, helpers, partials, data) {
45
+ var stack1, alias1 = depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function (parent, propertyName) {
46
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
47
+ return parent[propertyName];
48
+ }
49
+ return undefined;
50
+ };
51
+ return "{\n anyOf: [\n"
52
+ + ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "properties"), { "name": "each", "hash": {}, "fn": container.program(2, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 13, "column": 0 }, "end": { "line": 15, "column": 9 } } })) != null ? stack1 : "")
53
+ + " ]"
54
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "isNullable"), { "name": "if", "hash": {}, "fn": container.program(5, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 16, "column": 5 }, "end": { "line": 17, "column": 25 } } })) != null ? stack1 : "")
55
+ + "\n}\n";
56
+ }, "10": function (container, depth0, helpers, partials, data) {
57
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
58
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
59
+ return parent[propertyName];
60
+ }
61
+ return undefined;
62
+ };
63
+ return ((stack1 = lookupProperty(helpers, "equals").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "export"), "all-of", { "name": "equals", "hash": {}, "fn": container.program(11, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 19, "column": 0 }, "end": { "line": 28, "column": 0 } } })) != null ? stack1 : "");
64
+ }, "11": function (container, depth0, helpers, partials, data) {
65
+ var stack1, alias1 = depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function (parent, propertyName) {
66
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
67
+ return parent[propertyName];
68
+ }
69
+ return undefined;
70
+ };
71
+ return "{\n allOf: [\n"
72
+ + ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "properties"), { "name": "each", "hash": {}, "fn": container.program(2, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 22, "column": 0 }, "end": { "line": 24, "column": 9 } } })) != null ? stack1 : "")
73
+ + " ]"
74
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "isNullable"), { "name": "if", "hash": {}, "fn": container.program(5, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 25, "column": 5 }, "end": { "line": 26, "column": 25 } } })) != null ? stack1 : "")
75
+ + "\n}\n";
76
+ }, "compiler": [8, ">= 4.3.0"], "main": function (container, depth0, helpers, partials, data) {
77
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
78
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
79
+ return parent[propertyName];
80
+ }
81
+ return undefined;
82
+ };
83
+ return ((stack1 = lookupProperty(helpers, "equals").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "export"), "one-of", { "name": "equals", "hash": {}, "fn": container.program(1, data, 0), "inverse": container.program(7, data, 0), "data": data, "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 28, "column": 11 } } })) != null ? stack1 : "");
84
+ }, "usePartial": true, "useData": true };
@@ -0,0 +1,13 @@
1
+ declare const _default: {
2
+ "1": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
3
+ "2": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
4
+ "4": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
5
+ "6": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
6
+ "8": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
7
+ compiler: (string | number)[];
8
+ main: (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
9
+ usePartial: boolean;
10
+ useData: boolean;
11
+ };
12
+ export default _default;
13
+ //# sourceMappingURL=jsonschemaSchemaDictionary.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonschemaSchemaDictionary.d.ts","sourceRoot":"","sources":["../../../../../src/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaDictionary.ts"],"names":[],"mappings":";;;;;;;;;;;AAMA,wBAoDmC"}
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ // This is an automatically generated file for the hbs template.
4
+ // You don't need to change it, run npm run build:hbs to update it.
5
+ /* istanbul ignore file */
6
+ /* tslint: disable */
7
+ /* eslint: disable */
8
+ // @ts-nocheck
9
+ exports.default = { "1": function (container, depth0, helpers, partials, data) {
10
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
11
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
12
+ return parent[propertyName];
13
+ }
14
+ return undefined;
15
+ };
16
+ return ((stack1 = lookupProperty(helpers, "isBasicType").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "link"), { "name": "isBasicType", "hash": {}, "fn": container.program(2, data, 0), "inverse": container.program(4, data, 0), "data": data, "loc": { "start": { "line": 3, "column": 38 }, "end": { "line": 3, "column": 137 } } })) != null ? stack1 : "");
17
+ }, "2": function (container, depth0, helpers, partials, data) {
18
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
19
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
20
+ return parent[propertyName];
21
+ }
22
+ return undefined;
23
+ };
24
+ return ((stack1 = container.invokePartial(lookupProperty(partials, "jsonschemaSchemaGeneric"), lookupProperty(depth0, "link"), { "name": "jsonschemaSchemaGeneric", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "");
25
+ }, "4": function (container, depth0, helpers, partials, data) {
26
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
27
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
28
+ return parent[propertyName];
29
+ }
30
+ return undefined;
31
+ };
32
+ return ((stack1 = container.lambda(container.strict(lookupProperty(depth0, "link"), "type", { "start": { "line": 3, "column": 103 }, "end": { "line": 3, "column": 112 } }), depth0)) != null ? stack1 : "")
33
+ + "Schema";
34
+ }, "6": function (container, depth0, helpers, partials, data) {
35
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
36
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
37
+ return parent[propertyName];
38
+ }
39
+ return undefined;
40
+ };
41
+ return ((stack1 = container.invokePartial(lookupProperty(partials, "jsonschemaSchemaGeneric"), depth0, { "name": "jsonschemaSchemaGeneric", "data": data, "helpers": helpers, "partials": partials, "decorators": container.decorators })) != null ? stack1 : "");
42
+ }, "8": function (container, depth0, helpers, partials, data) {
43
+ return " nullable: true,\n";
44
+ }, "compiler": [8, ">= 4.3.0"], "main": function (container, depth0, helpers, partials, data) {
45
+ var stack1, alias1 = depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function (parent, propertyName) {
46
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
47
+ return parent[propertyName];
48
+ }
49
+ return undefined;
50
+ };
51
+ return "{\n type: 'object',\n additionalProperties: "
52
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "link"), { "name": "if", "hash": {}, "fn": container.program(1, data, 0), "inverse": container.program(6, data, 0), "data": data, "loc": { "start": { "line": 3, "column": 26 }, "end": { "line": 3, "column": 180 } } })) != null ? stack1 : "")
53
+ + ",\n"
54
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "isNullable"), { "name": "if", "hash": {}, "fn": container.program(8, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 6, "column": 7 } } })) != null ? stack1 : "")
55
+ + "}";
56
+ }, "usePartial": true, "useData": true };
@@ -0,0 +1,12 @@
1
+ declare const _default: {
2
+ "1": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
3
+ "2": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
4
+ "3": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
5
+ "5": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
6
+ "7": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
7
+ compiler: (string | number)[];
8
+ main: (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
9
+ useData: boolean;
10
+ };
11
+ export default _default;
12
+ //# sourceMappingURL=jsonschemaSchemaEnum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonschemaSchemaEnum.d.ts","sourceRoot":"","sources":["../../../../../src/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaEnum.ts"],"names":[],"mappings":";;;;;;;;;;AAMA,wBA2CiB"}
@@ -0,0 +1,49 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ // This is an automatically generated file for the hbs template.
4
+ // You don't need to change it, run npm run build:hbs to update it.
5
+ /* istanbul ignore file */
6
+ /* tslint: disable */
7
+ /* eslint: disable */
8
+ // @ts-nocheck
9
+ exports.default = { "1": function (container, depth0, helpers, partials, data) {
10
+ var stack1, alias1 = depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function (parent, propertyName) {
11
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
12
+ return parent[propertyName];
13
+ }
14
+ return undefined;
15
+ };
16
+ return " enum: [\n"
17
+ + ((stack1 = lookupProperty(helpers, "each").call(alias1, lookupProperty(depth0, "enum"), { "name": "each", "hash": {}, "fn": container.program(2, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 4, "column": 0 }, "end": { "line": 6, "column": 9 } } })) != null ? stack1 : "")
18
+ + " ],\n type: '"
19
+ + ((stack1 = lookupProperty(helpers, "getEnumType").call(alias1, lookupProperty(depth0, "enum"), { "name": "getEnumType", "hash": {}, "data": data, "loc": { "start": { "line": 8, "column": 11 }, "end": { "line": 8, "column": 31 } } })) != null ? stack1 : "")
20
+ + "',\n";
21
+ }, "2": function (container, depth0, helpers, partials, data) {
22
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
23
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
24
+ return parent[propertyName];
25
+ }
26
+ return undefined;
27
+ };
28
+ return " "
29
+ + ((stack1 = container.lambda(container.strict(depth0, "value", { "start": { "line": 5, "column": 11 }, "end": { "line": 5, "column": 16 } }), depth0)) != null ? stack1 : "")
30
+ + ((stack1 = lookupProperty(helpers, "unless").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(data, "last"), { "name": "unless", "hash": {}, "fn": container.program(3, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 5, "column": 19 }, "end": { "line": 5, "column": 48 } } })) != null ? stack1 : "")
31
+ + "\n";
32
+ }, "3": function (container, depth0, helpers, partials, data) {
33
+ return ",";
34
+ }, "5": function (container, depth0, helpers, partials, data) {
35
+ return " type: 'any',\n";
36
+ }, "7": function (container, depth0, helpers, partials, data) {
37
+ return " nullable: true,\n";
38
+ }, "compiler": [8, ">= 4.3.0"], "main": function (container, depth0, helpers, partials, data) {
39
+ var stack1, alias1 = depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function (parent, propertyName) {
40
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
41
+ return parent[propertyName];
42
+ }
43
+ return undefined;
44
+ };
45
+ return "{\n"
46
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "enum"), { "name": "if", "hash": {}, "fn": container.program(1, data, 0), "inverse": container.program(5, data, 0), "data": data, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 11, "column": 7 } } })) != null ? stack1 : "")
47
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "isNullable"), { "name": "if", "hash": {}, "fn": container.program(7, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 12, "column": 0 }, "end": { "line": 14, "column": 7 } } })) != null ? stack1 : "")
48
+ + "}";
49
+ }, "useData": true };
@@ -0,0 +1,29 @@
1
+ declare const _default: {
2
+ "1": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
3
+ "2": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
4
+ "4": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
5
+ "6": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
6
+ "8": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
7
+ "10": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
8
+ "12": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
9
+ "13": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
10
+ "14": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
11
+ "16": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
12
+ "18": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
13
+ "20": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
14
+ "22": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
15
+ "24": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
16
+ "25": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
17
+ "27": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
18
+ "28": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
19
+ "30": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
20
+ "31": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
21
+ "33": (container: any, depth0: any, helpers: any, partials: any, data: any) => any;
22
+ "34": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
23
+ "36": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
24
+ compiler: (string | number)[];
25
+ main: (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
26
+ useData: boolean;
27
+ };
28
+ export default _default;
29
+ //# sourceMappingURL=jsonschemaSchemaGeneric.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonschemaSchemaGeneric.d.ts","sourceRoot":"","sources":["../../../../../src/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaGeneric.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;AAMA,wBA2LiB"}
@@ -0,0 +1,175 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ // This is an automatically generated file for the hbs template.
4
+ // You don't need to change it, run npm run build:hbs to update it.
5
+ /* istanbul ignore file */
6
+ /* tslint: disable */
7
+ /* eslint: disable */
8
+ // @ts-nocheck
9
+ exports.default = { "1": function (container, depth0, helpers, partials, data) {
10
+ var stack1, alias1 = depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function (parent, propertyName) {
11
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
12
+ return parent[propertyName];
13
+ }
14
+ return undefined;
15
+ };
16
+ return " type: 'string'"
17
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "minLength"), { "name": "if", "hash": {}, "fn": container.program(2, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 3, "column": 18 }, "end": { "line": 4, "column": 37 } } })) != null ? stack1 : "")
18
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "maxLength"), { "name": "if", "hash": {}, "fn": container.program(4, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 4, "column": 37 }, "end": { "line": 5, "column": 37 } } })) != null ? stack1 : "")
19
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "pattern"), { "name": "if", "hash": {}, "fn": container.program(6, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 5, "column": 37 }, "end": { "line": 6, "column": 35 } } })) != null ? stack1 : "")
20
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "format"), { "name": "if", "hash": {}, "fn": container.program(8, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 6, "column": 35 }, "end": { "line": 7, "column": 33 } } })) != null ? stack1 : "")
21
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "isNullable"), { "name": "if", "hash": {}, "fn": container.program(10, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 7, "column": 33 }, "end": { "line": 8, "column": 25 } } })) != null ? stack1 : "")
22
+ + "\n";
23
+ }, "2": function (container, depth0, helpers, partials, data) {
24
+ var stack1;
25
+ return ",\n minLength: "
26
+ + ((stack1 = container.lambda(container.strict(depth0, "minLength", { "start": { "line": 4, "column": 18 }, "end": { "line": 4, "column": 27 } }), depth0)) != null ? stack1 : "");
27
+ }, "4": function (container, depth0, helpers, partials, data) {
28
+ var stack1;
29
+ return ",\n maxLength: "
30
+ + ((stack1 = container.lambda(container.strict(depth0, "maxLength", { "start": { "line": 5, "column": 18 }, "end": { "line": 5, "column": 27 } }), depth0)) != null ? stack1 : "");
31
+ }, "6": function (container, depth0, helpers, partials, data) {
32
+ var stack1;
33
+ return ",\n pattern: '"
34
+ + ((stack1 = container.lambda(container.strict(depth0, "pattern", { "start": { "line": 6, "column": 17 }, "end": { "line": 6, "column": 24 } }), depth0)) != null ? stack1 : "")
35
+ + "'";
36
+ }, "8": function (container, depth0, helpers, partials, data) {
37
+ var stack1;
38
+ return ",\n format: '"
39
+ + ((stack1 = container.lambda(container.strict(depth0, "format", { "start": { "line": 7, "column": 16 }, "end": { "line": 7, "column": 22 } }), depth0)) != null ? stack1 : "")
40
+ + "'";
41
+ }, "10": function (container, depth0, helpers, partials, data) {
42
+ return ",\n nullable: true";
43
+ }, "12": function (container, depth0, helpers, partials, data) {
44
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
45
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
46
+ return parent[propertyName];
47
+ }
48
+ return undefined;
49
+ };
50
+ return ((stack1 = lookupProperty(helpers, "equals").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "base"), "number", { "name": "equals", "hash": {}, "fn": container.program(13, data, 0), "inverse": container.program(24, data, 0), "data": data, "loc": { "start": { "line": 9, "column": 0 }, "end": { "line": 37, "column": 0 } } })) != null ? stack1 : "");
51
+ }, "13": function (container, depth0, helpers, partials, data) {
52
+ var stack1, alias1 = depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function (parent, propertyName) {
53
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
54
+ return parent[propertyName];
55
+ }
56
+ return undefined;
57
+ };
58
+ return " type: 'number'"
59
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "minimum"), { "name": "if", "hash": {}, "fn": container.program(14, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 10, "column": 18 }, "end": { "line": 11, "column": 33 } } })) != null ? stack1 : "")
60
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "maximum"), { "name": "if", "hash": {}, "fn": container.program(16, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 11, "column": 33 }, "end": { "line": 12, "column": 33 } } })) != null ? stack1 : "")
61
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "exclusiveMinimum"), { "name": "if", "hash": {}, "fn": container.program(18, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 12, "column": 33 }, "end": { "line": 13, "column": 51 } } })) != null ? stack1 : "")
62
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "exclusiveMaximum"), { "name": "if", "hash": {}, "fn": container.program(20, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 13, "column": 51 }, "end": { "line": 14, "column": 51 } } })) != null ? stack1 : "")
63
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "multipleOf"), { "name": "if", "hash": {}, "fn": container.program(22, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 14, "column": 51 }, "end": { "line": 15, "column": 39 } } })) != null ? stack1 : "")
64
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "isNullable"), { "name": "if", "hash": {}, "fn": container.program(10, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 15, "column": 39 }, "end": { "line": 16, "column": 25 } } })) != null ? stack1 : "")
65
+ + "\n";
66
+ }, "14": function (container, depth0, helpers, partials, data) {
67
+ var stack1;
68
+ return ",\n minimum: "
69
+ + ((stack1 = container.lambda(container.strict(depth0, "minimum", { "start": { "line": 11, "column": 16 }, "end": { "line": 11, "column": 23 } }), depth0)) != null ? stack1 : "");
70
+ }, "16": function (container, depth0, helpers, partials, data) {
71
+ var stack1;
72
+ return ",\n maximum: "
73
+ + ((stack1 = container.lambda(container.strict(depth0, "maximum", { "start": { "line": 12, "column": 16 }, "end": { "line": 12, "column": 23 } }), depth0)) != null ? stack1 : "");
74
+ }, "18": function (container, depth0, helpers, partials, data) {
75
+ var stack1;
76
+ return ",\n exclusiveMinimum: "
77
+ + ((stack1 = container.lambda(container.strict(depth0, "exclusiveMinimum", { "start": { "line": 13, "column": 25 }, "end": { "line": 13, "column": 41 } }), depth0)) != null ? stack1 : "");
78
+ }, "20": function (container, depth0, helpers, partials, data) {
79
+ var stack1;
80
+ return ",\n exclusiveMaximum: "
81
+ + ((stack1 = container.lambda(container.strict(depth0, "exclusiveMaximum", { "start": { "line": 14, "column": 25 }, "end": { "line": 14, "column": 41 } }), depth0)) != null ? stack1 : "");
82
+ }, "22": function (container, depth0, helpers, partials, data) {
83
+ var stack1;
84
+ return ",\n multipleOf: "
85
+ + ((stack1 = container.lambda(container.strict(depth0, "multipleOf", { "start": { "line": 15, "column": 19 }, "end": { "line": 15, "column": 29 } }), depth0)) != null ? stack1 : "");
86
+ }, "24": function (container, depth0, helpers, partials, data) {
87
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
88
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
89
+ return parent[propertyName];
90
+ }
91
+ return undefined;
92
+ };
93
+ return ((stack1 = lookupProperty(helpers, "equals").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "base"), "integer", { "name": "equals", "hash": {}, "fn": container.program(25, data, 0), "inverse": container.program(27, data, 0), "data": data, "loc": { "start": { "line": 17, "column": 0 }, "end": { "line": 37, "column": 0 } } })) != null ? stack1 : "");
94
+ }, "25": function (container, depth0, helpers, partials, data) {
95
+ var stack1, alias1 = depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty = container.lookupProperty || function (parent, propertyName) {
96
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
97
+ return parent[propertyName];
98
+ }
99
+ return undefined;
100
+ };
101
+ return " type: 'integer'"
102
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "minimum"), { "name": "if", "hash": {}, "fn": container.program(14, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 18, "column": 19 }, "end": { "line": 19, "column": 33 } } })) != null ? stack1 : "")
103
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "maximum"), { "name": "if", "hash": {}, "fn": container.program(16, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 19, "column": 33 }, "end": { "line": 20, "column": 33 } } })) != null ? stack1 : "")
104
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "exclusiveMinimum"), { "name": "if", "hash": {}, "fn": container.program(18, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 20, "column": 33 }, "end": { "line": 21, "column": 51 } } })) != null ? stack1 : "")
105
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "exclusiveMaximum"), { "name": "if", "hash": {}, "fn": container.program(20, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 21, "column": 51 }, "end": { "line": 22, "column": 51 } } })) != null ? stack1 : "")
106
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "multipleOf"), { "name": "if", "hash": {}, "fn": container.program(22, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 22, "column": 51 }, "end": { "line": 23, "column": 39 } } })) != null ? stack1 : "")
107
+ + ((stack1 = lookupProperty(helpers, "if").call(alias1, lookupProperty(depth0, "isNullable"), { "name": "if", "hash": {}, "fn": container.program(10, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 23, "column": 39 }, "end": { "line": 24, "column": 25 } } })) != null ? stack1 : "")
108
+ + "\n";
109
+ }, "27": function (container, depth0, helpers, partials, data) {
110
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
111
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
112
+ return parent[propertyName];
113
+ }
114
+ return undefined;
115
+ };
116
+ return ((stack1 = lookupProperty(helpers, "equals").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "base"), "boolean", { "name": "equals", "hash": {}, "fn": container.program(28, data, 0), "inverse": container.program(30, data, 0), "data": data, "loc": { "start": { "line": 25, "column": 0 }, "end": { "line": 37, "column": 0 } } })) != null ? stack1 : "");
117
+ }, "28": function (container, depth0, helpers, partials, data) {
118
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
119
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
120
+ return parent[propertyName];
121
+ }
122
+ return undefined;
123
+ };
124
+ return " type: 'boolean'"
125
+ + ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "isNullable"), { "name": "if", "hash": {}, "fn": container.program(10, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 26, "column": 19 }, "end": { "line": 27, "column": 25 } } })) != null ? stack1 : "")
126
+ + "\n";
127
+ }, "30": function (container, depth0, helpers, partials, data) {
128
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
129
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
130
+ return parent[propertyName];
131
+ }
132
+ return undefined;
133
+ };
134
+ return ((stack1 = lookupProperty(helpers, "equals").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "base"), "File", { "name": "equals", "hash": {}, "fn": container.program(31, data, 0), "inverse": container.program(33, data, 0), "data": data, "loc": { "start": { "line": 28, "column": 0 }, "end": { "line": 37, "column": 0 } } })) != null ? stack1 : "");
135
+ }, "31": function (container, depth0, helpers, partials, data) {
136
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
137
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
138
+ return parent[propertyName];
139
+ }
140
+ return undefined;
141
+ };
142
+ return " type: 'string',\n format: 'binary'"
143
+ + ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "isNullable"), { "name": "if", "hash": {}, "fn": container.program(10, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 30, "column": 20 }, "end": { "line": 31, "column": 25 } } })) != null ? stack1 : "")
144
+ + "\n";
145
+ }, "33": function (container, depth0, helpers, partials, data) {
146
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
147
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
148
+ return parent[propertyName];
149
+ }
150
+ return undefined;
151
+ };
152
+ return ((stack1 = lookupProperty(helpers, "equals").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "base"), "null", { "name": "equals", "hash": {}, "fn": container.program(34, data, 0), "inverse": container.program(36, data, 0), "data": data, "loc": { "start": { "line": 32, "column": 0 }, "end": { "line": 37, "column": 0 } } })) != null ? stack1 : "");
153
+ }, "34": function (container, depth0, helpers, partials, data) {
154
+ return " type: 'null'\n";
155
+ }, "36": function (container, depth0, helpers, partials, data) {
156
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
157
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
158
+ return parent[propertyName];
159
+ }
160
+ return undefined;
161
+ };
162
+ return " type: 'object'"
163
+ + ((stack1 = lookupProperty(helpers, "if").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "isNullable"), { "name": "if", "hash": {}, "fn": container.program(10, data, 0), "inverse": container.noop, "data": data, "loc": { "start": { "line": 35, "column": 18 }, "end": { "line": 36, "column": 25 } } })) != null ? stack1 : "")
164
+ + "\n";
165
+ }, "compiler": [8, ">= 4.3.0"], "main": function (container, depth0, helpers, partials, data) {
166
+ var stack1, lookupProperty = container.lookupProperty || function (parent, propertyName) {
167
+ if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {
168
+ return parent[propertyName];
169
+ }
170
+ return undefined;
171
+ };
172
+ return "{\n"
173
+ + ((stack1 = lookupProperty(helpers, "equals").call(depth0 != null ? depth0 : (container.nullContext || {}), lookupProperty(depth0, "base"), "string", { "name": "equals", "hash": {}, "fn": container.program(1, data, 0), "inverse": container.program(12, data, 0), "data": data, "loc": { "start": { "line": 2, "column": 0 }, "end": { "line": 37, "column": 11 } } })) != null ? stack1 : "")
174
+ + "}";
175
+ }, "useData": true };
@@ -0,0 +1,15 @@
1
+ declare const _default: {
2
+ "1": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
3
+ "2": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
4
+ "3": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
5
+ "5": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
6
+ "7": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
7
+ "9": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
8
+ "11": (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
9
+ compiler: (string | number)[];
10
+ main: (container: any, depth0: any, helpers: any, partials: any, data: any) => string;
11
+ usePartial: boolean;
12
+ useData: boolean;
13
+ };
14
+ export default _default;
15
+ //# sourceMappingURL=jsonschemaSchemaInterface.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"jsonschemaSchemaInterface.d.ts","sourceRoot":"","sources":["../../../../../src/templatesCompiled/client/jsonschema/partials/jsonschemaSchemaInterface.ts"],"names":[],"mappings":";;;;;;;;;;;;;AAMA,wBA2DmC"}