@tsed/schema 6.102.4 → 6.102.8-rc.1

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 (120) hide show
  1. package/lib/cjs/constants/httpStatusMessages.js +12 -96
  2. package/lib/cjs/constants/httpStatusMessages.js.map +1 -1
  3. package/lib/cjs/package.json +3 -0
  4. package/lib/esm/components/anyMapper.js +4 -4
  5. package/lib/esm/components/classMapper.js +4 -4
  6. package/lib/esm/components/genericsMapper.js +4 -4
  7. package/lib/esm/components/index.js +11 -11
  8. package/lib/esm/components/inheritedClassMapper.js +2 -2
  9. package/lib/esm/components/itemMapper.js +1 -1
  10. package/lib/esm/components/lazyRefMapper.js +3 -3
  11. package/lib/esm/components/mapMapper.js +2 -2
  12. package/lib/esm/components/objectMapper.js +3 -3
  13. package/lib/esm/components/ofMapper.js +1 -1
  14. package/lib/esm/components/propertiesMapper.js +1 -1
  15. package/lib/esm/components/schemaMapper.js +6 -6
  16. package/lib/esm/constants/httpStatusMessages.js +11 -96
  17. package/lib/esm/constants/httpStatusMessages.js.map +1 -1
  18. package/lib/esm/decorators/class/children.js +1 -1
  19. package/lib/esm/decorators/collections/collectionContains.js +1 -1
  20. package/lib/esm/decorators/collections/collectionOf.js +1 -1
  21. package/lib/esm/decorators/collections/maxItems.js +1 -1
  22. package/lib/esm/decorators/collections/maxProperties.js +1 -1
  23. package/lib/esm/decorators/collections/minItems.js +1 -1
  24. package/lib/esm/decorators/collections/minProperties.js +1 -1
  25. package/lib/esm/decorators/collections/uniqueItems.js +1 -1
  26. package/lib/esm/decorators/common/additionalProperties.js +1 -1
  27. package/lib/esm/decorators/common/allOf.js +1 -1
  28. package/lib/esm/decorators/common/allow.js +2 -2
  29. package/lib/esm/decorators/common/any.js +1 -1
  30. package/lib/esm/decorators/common/anyOf.js +1 -1
  31. package/lib/esm/decorators/common/const.js +1 -1
  32. package/lib/esm/decorators/common/customKey.js +1 -1
  33. package/lib/esm/decorators/common/default.js +1 -1
  34. package/lib/esm/decorators/common/description.js +1 -1
  35. package/lib/esm/decorators/common/enum.js +1 -1
  36. package/lib/esm/decorators/common/example.js +1 -1
  37. package/lib/esm/decorators/common/examples.js +1 -1
  38. package/lib/esm/decorators/common/exclusiveMaximum.js +1 -1
  39. package/lib/esm/decorators/common/exclusiveMinimum.js +1 -1
  40. package/lib/esm/decorators/common/format.js +2 -2
  41. package/lib/esm/decorators/common/forwardGroups.js +1 -1
  42. package/lib/esm/decorators/common/groups.js +2 -2
  43. package/lib/esm/decorators/common/ignore.js +1 -1
  44. package/lib/esm/decorators/common/integer.js +1 -1
  45. package/lib/esm/decorators/common/jsonEntityFn.js +1 -1
  46. package/lib/esm/decorators/common/maxLength.js +1 -1
  47. package/lib/esm/decorators/common/maximum.js +1 -1
  48. package/lib/esm/decorators/common/minLength.js +1 -1
  49. package/lib/esm/decorators/common/minimum.js +1 -1
  50. package/lib/esm/decorators/common/multipleOf.js +1 -1
  51. package/lib/esm/decorators/common/name.js +1 -1
  52. package/lib/esm/decorators/common/nullable.js +2 -2
  53. package/lib/esm/decorators/common/oneOf.js +1 -1
  54. package/lib/esm/decorators/common/optional.js +1 -1
  55. package/lib/esm/decorators/common/pattern.js +1 -1
  56. package/lib/esm/decorators/common/property.js +1 -1
  57. package/lib/esm/decorators/common/readOnly.js +1 -1
  58. package/lib/esm/decorators/common/required.js +2 -2
  59. package/lib/esm/decorators/common/requiredGroups.js +2 -2
  60. package/lib/esm/decorators/common/schema.js +1 -1
  61. package/lib/esm/decorators/common/title.js +1 -1
  62. package/lib/esm/decorators/common/writeOnly.js +1 -1
  63. package/lib/esm/decorators/config/jsonEntityComponent.js +1 -1
  64. package/lib/esm/decorators/generics/genericOf.js +2 -2
  65. package/lib/esm/decorators/generics/generics.js +1 -1
  66. package/lib/esm/decorators/index.js +70 -70
  67. package/lib/esm/decorators/operations/acceptMime.js +1 -1
  68. package/lib/esm/decorators/operations/consumes.js +1 -1
  69. package/lib/esm/decorators/operations/contentType.js +1 -1
  70. package/lib/esm/decorators/operations/deprecated.js +1 -1
  71. package/lib/esm/decorators/operations/header.js +1 -1
  72. package/lib/esm/decorators/operations/in.js +1 -1
  73. package/lib/esm/decorators/operations/inFile.js +5 -5
  74. package/lib/esm/decorators/operations/location.js +1 -1
  75. package/lib/esm/decorators/operations/operationId.js +1 -1
  76. package/lib/esm/decorators/operations/operationPath.js +1 -1
  77. package/lib/esm/decorators/operations/partial.js +1 -1
  78. package/lib/esm/decorators/operations/path.js +1 -1
  79. package/lib/esm/decorators/operations/produces.js +1 -1
  80. package/lib/esm/decorators/operations/redirect.js +2 -2
  81. package/lib/esm/decorators/operations/returns.js +8 -8
  82. package/lib/esm/decorators/operations/route.js +3 -3
  83. package/lib/esm/decorators/operations/security.js +1 -1
  84. package/lib/esm/decorators/operations/status.js +1 -1
  85. package/lib/esm/decorators/operations/summary.js +1 -1
  86. package/lib/esm/decorators/operations/tags.js +1 -1
  87. package/lib/esm/domain/DecoratorContext.js +1 -1
  88. package/lib/esm/domain/JsonClassStore.js +3 -3
  89. package/lib/esm/domain/JsonLazyRef.js +2 -2
  90. package/lib/esm/domain/JsonMap.js +1 -1
  91. package/lib/esm/domain/JsonMethodStore.js +4 -4
  92. package/lib/esm/domain/JsonOperation.js +8 -8
  93. package/lib/esm/domain/JsonOperationPathsMap.js +1 -1
  94. package/lib/esm/domain/JsonOperationRoute.js +1 -1
  95. package/lib/esm/domain/JsonParameter.js +6 -6
  96. package/lib/esm/domain/JsonParameterStore.js +4 -4
  97. package/lib/esm/domain/JsonPropertyStore.js +3 -3
  98. package/lib/esm/domain/JsonRequestBody.js +2 -2
  99. package/lib/esm/domain/JsonResponse.js +4 -4
  100. package/lib/esm/domain/JsonSchema.js +6 -6
  101. package/lib/esm/domain/index.js +16 -16
  102. package/lib/esm/index.js +20 -20
  103. package/lib/esm/interfaces/index.js +4 -4
  104. package/lib/esm/package.json +3 -0
  105. package/lib/esm/utils/from.js +4 -4
  106. package/lib/esm/utils/getInheritedStores.js +1 -1
  107. package/lib/esm/utils/getJsonEntityStore.js +5 -5
  108. package/lib/esm/utils/getJsonSchema.js +4 -4
  109. package/lib/esm/utils/getOperationsRoutes.js +3 -3
  110. package/lib/esm/utils/getOperationsStores.js +4 -4
  111. package/lib/esm/utils/getPropertiesStores.js +3 -3
  112. package/lib/esm/utils/getRequiredProperties.js +1 -1
  113. package/lib/esm/utils/getSpec.js +6 -6
  114. package/lib/esm/utils/mapNullableType.js +1 -1
  115. package/lib/esm/utils/mapRouteOptions.js +1 -1
  116. package/lib/esm/utils/mergeOperation.js +3 -3
  117. package/lib/esm/utils/ref.js +1 -1
  118. package/lib/esm/utils/toJsonMapCollection.js +1 -1
  119. package/lib/types/constants/httpStatusMessages.d.ts +2 -263
  120. package/package.json +16 -5
@@ -1,14 +1,14 @@
1
1
  var _JsonOperation_status, _JsonOperation_redirection;
2
2
  import { __classPrivateFieldGet, __classPrivateFieldSet } from "tslib";
3
3
  import { deepMerge, uniq, uniqBy } from "@tsed/core";
4
- import { getStatusMessage } from "../constants/httpStatusMessages";
5
- import { isRedirectionStatus, isSuccessStatus } from "../utils/isSuccessStatus";
6
- import { JsonMap } from "./JsonMap";
7
- import { isParameterType, JsonParameterTypes } from "./JsonParameterTypes";
8
- import { JsonRequestBody } from "./JsonRequestBody";
9
- import { JsonResponse } from "./JsonResponse";
10
- import { JsonSchema } from "./JsonSchema";
11
- import { SpecTypes } from "./SpecTypes";
4
+ import { getStatusMessage } from "../constants/httpStatusMessages.js";
5
+ import { isRedirectionStatus, isSuccessStatus } from "../utils/isSuccessStatus.js";
6
+ import { JsonMap } from "./JsonMap.js";
7
+ import { isParameterType, JsonParameterTypes } from "./JsonParameterTypes.js";
8
+ import { JsonRequestBody } from "./JsonRequestBody.js";
9
+ import { JsonResponse } from "./JsonResponse.js";
10
+ import { JsonSchema } from "./JsonSchema.js";
11
+ import { SpecTypes } from "./SpecTypes.js";
12
12
  export class JsonOperation extends JsonMap {
13
13
  constructor(obj = {}) {
14
14
  super({ parameters: [], responses: new JsonMap(), ...obj });
@@ -1,4 +1,4 @@
1
- import { OperationMethods } from "../constants/httpMethods";
1
+ import { OperationMethods } from "../constants/httpMethods.js";
2
2
  export class JsonOperationPathsMap extends Map {
3
3
  constructor() {
4
4
  super(...arguments);
@@ -1,4 +1,4 @@
1
- import { concatPath } from "../utils/concatPath";
1
+ import { concatPath } from "../utils/concatPath.js";
2
2
  export class JsonOperationRoute {
3
3
  constructor(options) {
4
4
  Object.assign(this, options);
@@ -1,10 +1,10 @@
1
1
  import { cleanObject, toMap } from "@tsed/core";
2
- import { execMapper } from "../registries/JsonSchemaMapperContainer";
3
- import { popGenerics } from "../utils/generics";
4
- import { JsonMap } from "./JsonMap";
5
- import { formatParameterType, isParameterType, JsonParameterTypes } from "./JsonParameterTypes";
6
- import { SpecTypes } from "./SpecTypes";
7
- import { createRefName } from "../utils/ref";
2
+ import { execMapper } from "../registries/JsonSchemaMapperContainer.js";
3
+ import { popGenerics } from "../utils/generics.js";
4
+ import { JsonMap } from "./JsonMap.js";
5
+ import { formatParameterType, isParameterType, JsonParameterTypes } from "./JsonParameterTypes.js";
6
+ import { SpecTypes } from "./SpecTypes.js";
7
+ import { createRefName } from "../utils/ref.js";
8
8
  const IGNORE_OS2_PROPS = ["example", "examples", "title"];
9
9
  export class JsonParameter extends JsonMap {
10
10
  constructor() {
@@ -1,9 +1,9 @@
1
1
  import { __decorate, __metadata } from "tslib";
2
2
  import { ancestorsOf, DecoratorTypes, isClass, isCollection, isMethodDescriptor, Metadata, prototypeOf } from "@tsed/core";
3
- import { JsonEntityStore } from "./JsonEntityStore";
4
- import { JsonParameter } from "./JsonParameter";
5
- import { JsonSchema } from "./JsonSchema";
6
- import { JsonEntityComponent } from "../decorators/config/jsonEntityComponent";
3
+ import { JsonEntityStore } from "./JsonEntityStore.js";
4
+ import { JsonParameter } from "./JsonParameter.js";
5
+ import { JsonSchema } from "./JsonSchema.js";
6
+ import { JsonEntityComponent } from "../decorators/config/jsonEntityComponent.js";
7
7
  let JsonParameterStore = class JsonParameterStore extends JsonEntityStore {
8
8
  constructor(options) {
9
9
  super(options);
@@ -1,8 +1,8 @@
1
1
  import { __decorate } from "tslib";
2
2
  import { DecoratorTypes, Metadata, prototypeOf } from "@tsed/core";
3
- import { JsonEntityStore } from "./JsonEntityStore";
4
- import { JsonSchema } from "./JsonSchema";
5
- import { JsonEntityComponent } from "../decorators/config/jsonEntityComponent";
3
+ import { JsonEntityStore } from "./JsonEntityStore.js";
4
+ import { JsonSchema } from "./JsonSchema.js";
5
+ import { JsonEntityComponent } from "../decorators/config/jsonEntityComponent.js";
6
6
  let JsonPropertyStore = class JsonPropertyStore extends JsonEntityStore {
7
7
  constructor() {
8
8
  super(...arguments);
@@ -1,5 +1,5 @@
1
- import { toJsonMapCollection } from "../utils/toJsonMapCollection";
2
- import { JsonMap } from "./JsonMap";
1
+ import { toJsonMapCollection } from "../utils/toJsonMapCollection.js";
2
+ import { JsonMap } from "./JsonMap.js";
3
3
  export class JsonRequestBody extends JsonMap {
4
4
  constructor(obj = {}) {
5
5
  super(obj);
@@ -1,8 +1,8 @@
1
1
  import { cleanObject } from "@tsed/core";
2
- import { mapHeaders } from "../utils/mapHeaders";
3
- import { toJsonMapCollection } from "../utils/toJsonMapCollection";
4
- import { JsonMap } from "./JsonMap";
5
- import { SpecTypes } from "./SpecTypes";
2
+ import { mapHeaders } from "../utils/mapHeaders.js";
3
+ import { toJsonMapCollection } from "../utils/toJsonMapCollection.js";
4
+ import { JsonMap } from "./JsonMap.js";
5
+ import { SpecTypes } from "./SpecTypes.js";
6
6
  export class JsonMedia extends JsonMap {
7
7
  constructor() {
8
8
  super(...arguments);
@@ -1,12 +1,12 @@
1
1
  var _JsonSchema_nullable, _JsonSchema_genericLabels, _JsonSchema_nestedGenerics, _JsonSchema_alias, _JsonSchema_itemSchema, _JsonSchema_target, _JsonSchema_isGeneric, _JsonSchema_isCollection, _JsonSchema_ref;
2
2
  import { __classPrivateFieldGet, __classPrivateFieldSet } from "tslib";
3
3
  import { classOf, Hooks, isArray, isClass, isFunction, isObject, nameOf, uniq } from "@tsed/core";
4
- import { execMapper } from "../registries/JsonSchemaMapperContainer";
5
- import { getComputedType } from "../utils/getComputedType";
6
- import { getJsonType } from "../utils/getJsonType";
7
- import { toJsonRegex } from "../utils/toJsonRegex";
8
- import { JsonEntityStore } from "./JsonEntityStore";
9
- import { serializeEnumValues } from "../utils/serializeEnumValues";
4
+ import { execMapper } from "../registries/JsonSchemaMapperContainer.js";
5
+ import { getComputedType } from "../utils/getComputedType.js";
6
+ import { getJsonType } from "../utils/getJsonType.js";
7
+ import { toJsonRegex } from "../utils/toJsonRegex.js";
8
+ import { JsonEntityStore } from "./JsonEntityStore.js";
9
+ import { serializeEnumValues } from "../utils/serializeEnumValues.js";
10
10
  function mapProperties(properties) {
11
11
  // istanbul ignore next
12
12
  if (properties instanceof JsonSchema) {
@@ -1,17 +1,17 @@
1
- export * from "./JsonMap";
2
- export * from "./JsonOperation";
3
- export * from "./JsonParameter";
4
- export * from "./JsonRequestBody";
5
- export * from "./JsonResponse";
6
- export * from "./JsonSchema";
7
- export * from "./JsonFormatTypes";
8
- export * from "./SpecTypes";
9
- export * from "./JsonEntityStore";
10
- export * from "./JsonClassStore";
11
- export * from "./JsonMethodStore";
12
- export * from "./JsonParameterStore";
13
- export * from "./JsonPropertyStore";
14
- export * from "./JsonOperationRoute";
15
- export * from "./JsonParameterTypes";
16
- export * from "./JsonLazyRef";
1
+ export * from "./JsonMap.js";
2
+ export * from "./JsonOperation.js";
3
+ export * from "./JsonParameter.js";
4
+ export * from "./JsonRequestBody.js";
5
+ export * from "./JsonResponse.js";
6
+ export * from "./JsonSchema.js";
7
+ export * from "./JsonFormatTypes.js";
8
+ export * from "./SpecTypes.js";
9
+ export * from "./JsonEntityStore.js";
10
+ export * from "./JsonClassStore.js";
11
+ export * from "./JsonMethodStore.js";
12
+ export * from "./JsonParameterStore.js";
13
+ export * from "./JsonPropertyStore.js";
14
+ export * from "./JsonOperationRoute.js";
15
+ export * from "./JsonParameterTypes.js";
16
+ export * from "./JsonLazyRef.js";
17
17
  //# sourceMappingURL=index.js.map
package/lib/esm/index.js CHANGED
@@ -1,21 +1,21 @@
1
- export * from "./constants/httpStatusMessages";
2
- export * from "./constants/httpMethods";
3
- export * from "./utils/getJsonSchema";
4
- export * from "./utils/getJsonType";
5
- export * from "./utils/getPropertiesStores";
6
- export * from "./utils/getOperationsStores";
7
- export * from "./utils/getOperationsRoutes";
8
- export * from "./utils/getSpec";
9
- export * from "./utils/mergeSpec";
10
- export * from "./utils/generics";
11
- export * from "./utils/mapHeaders";
12
- export * from "./utils/matchGroups";
13
- export * from "./utils/isSuccessStatus";
14
- export * from "./utils/from";
15
- export * from "./utils/concatPath";
16
- export * from "./utils/defineStatusModel";
17
- export * from "./domain";
18
- export * from "./hooks/alterIgnore";
19
- export * from "./interfaces";
20
- export * from "./decorators";
1
+ export * from "./constants/httpStatusMessages.js";
2
+ export * from "./constants/httpMethods.js";
3
+ export * from "./utils/getJsonSchema.js";
4
+ export * from "./utils/getJsonType.js";
5
+ export * from "./utils/getPropertiesStores.js";
6
+ export * from "./utils/getOperationsStores.js";
7
+ export * from "./utils/getOperationsRoutes.js";
8
+ export * from "./utils/getSpec.js";
9
+ export * from "./utils/mergeSpec.js";
10
+ export * from "./utils/generics.js";
11
+ export * from "./utils/mapHeaders.js";
12
+ export * from "./utils/matchGroups.js";
13
+ export * from "./utils/isSuccessStatus.js";
14
+ export * from "./utils/from.js";
15
+ export * from "./utils/concatPath.js";
16
+ export * from "./utils/defineStatusModel.js";
17
+ export * from "./domain.js";
18
+ export * from "./hooks/alterIgnore.js";
19
+ export * from "./interfaces.js";
20
+ export * from "./decorators.js";
21
21
  //# sourceMappingURL=index.js.map
@@ -1,5 +1,5 @@
1
- export * from "./JsonSchemaOptions";
2
- export * from "./JsonOpenSpec";
3
- export * from "./IgnoreCallback";
4
- export * from "./JsonHookContext";
1
+ export * from "./JsonSchemaOptions.js";
2
+ export * from "./JsonOpenSpec.js";
3
+ export * from "./IgnoreCallback.js";
4
+ export * from "./JsonHookContext.js";
5
5
  //# sourceMappingURL=index.js.map
@@ -0,0 +1,3 @@
1
+ {
2
+ "type": "module"
3
+ }
@@ -1,8 +1,8 @@
1
1
  import { isClass } from "@tsed/core";
2
- import { JsonEntityStore, JsonFormatTypes } from "../domain";
3
- import { JsonLazyRef } from "../domain/JsonLazyRef";
4
- import { JsonSchema } from "../domain/JsonSchema";
5
- import { getJsonEntityStore } from "./getJsonEntityStore";
2
+ import { JsonEntityStore, JsonFormatTypes } from "../domain.js";
3
+ import { JsonLazyRef } from "../domain/JsonLazyRef.js";
4
+ import { JsonSchema } from "../domain/JsonSchema.js";
5
+ import { getJsonEntityStore } from "./getJsonEntityStore.js";
6
6
  /**
7
7
  * Create a new model from the given type.
8
8
  *
@@ -1,5 +1,5 @@
1
1
  import { ancestorsOf } from "@tsed/core";
2
- import { getJsonEntityStore } from "./getJsonEntityStore";
2
+ import { getJsonEntityStore } from "./getJsonEntityStore.js";
3
3
  /**
4
4
  * Return store and his inherited stores
5
5
  * @param target
@@ -1,9 +1,9 @@
1
1
  import { DecoratorTypes } from "@tsed/core";
2
- import { JsonEntitiesContainer, JsonEntityStore } from "../domain/JsonEntityStore";
3
- import { JsonClassStore } from "../domain/JsonClassStore";
4
- import { JsonPropertyStore } from "../domain/JsonPropertyStore";
5
- import { JsonParameterStore } from "../domain/JsonParameterStore";
6
- import { JsonMethodStore } from "../domain/JsonMethodStore";
2
+ import { JsonEntitiesContainer, JsonEntityStore } from "../domain/JsonEntityStore.js";
3
+ import { JsonClassStore } from "../domain/JsonClassStore.js";
4
+ import { JsonPropertyStore } from "../domain/JsonPropertyStore.js";
5
+ import { JsonParameterStore } from "../domain/JsonParameterStore.js";
6
+ import { JsonMethodStore } from "../domain/JsonMethodStore.js";
7
7
  JsonEntitiesContainer.set(DecoratorTypes.CLASS, JsonClassStore);
8
8
  JsonEntitiesContainer.set(DecoratorTypes.PROP, JsonPropertyStore);
9
9
  JsonEntitiesContainer.set(DecoratorTypes.PARAM, JsonParameterStore);
@@ -1,7 +1,7 @@
1
- import "../components";
2
- import { SpecTypes } from "../domain/SpecTypes";
3
- import { execMapper } from "../registries/JsonSchemaMapperContainer";
4
- import { getJsonEntityStore } from "./getJsonEntityStore";
1
+ import "../components.js";
2
+ import { SpecTypes } from "../domain/SpecTypes.js";
3
+ import { execMapper } from "../registries/JsonSchemaMapperContainer.js";
4
+ import { getJsonEntityStore } from "./getJsonEntityStore.js";
5
5
  /**
6
6
  * @ignore
7
7
  */
@@ -1,6 +1,6 @@
1
- import { getOperationsStores } from "./getOperationsStores";
2
- import { JsonOperationRoute } from "../domain/JsonOperationRoute";
3
- import { getJsonEntityStore } from "./getJsonEntityStore";
1
+ import { getOperationsStores } from "./getOperationsStores.js";
2
+ import { JsonOperationRoute } from "../domain/JsonOperationRoute.js";
3
+ import { getJsonEntityStore } from "./getJsonEntityStore.js";
4
4
  export function getOperationsRoutes(token, options = {}) {
5
5
  const store = token.isStore ? token : getJsonEntityStore(token);
6
6
  const basePath = ((options.basePath || "") + (store.path || "")).replace(/\/\//gi, "/");
@@ -1,7 +1,7 @@
1
- import { JsonMethodStore } from "../domain/JsonMethodStore";
2
- import { JsonOperationPathsMap } from "../domain/JsonOperationPathsMap";
3
- import { getInheritedStores } from "./getInheritedStores";
4
- import { getJsonEntityStore } from "./getJsonEntityStore";
1
+ import { JsonMethodStore } from "../domain/JsonMethodStore.js";
2
+ import { JsonOperationPathsMap } from "../domain/JsonOperationPathsMap.js";
3
+ import { getInheritedStores } from "./getInheritedStores.js";
4
+ import { getJsonEntityStore } from "./getJsonEntityStore.js";
5
5
  /**
6
6
  * @ignore
7
7
  */
@@ -1,6 +1,6 @@
1
- import { alterIgnore } from "../hooks/alterIgnore";
2
- import { getInheritedStores } from "./getInheritedStores";
3
- import { getJsonEntityStore } from "./getJsonEntityStore";
1
+ import { alterIgnore } from "../hooks/alterIgnore.js";
2
+ import { getInheritedStores } from "./getInheritedStores.js";
3
+ import { getJsonEntityStore } from "./getJsonEntityStore.js";
4
4
  /**
5
5
  * Return the list of properties including properties from inherited classes
6
6
  * @param target
@@ -1,5 +1,5 @@
1
1
  import { uniq } from "@tsed/core";
2
- import { alterRequiredGroups } from "../hooks/alterRequiredGroups";
2
+ import { alterRequiredGroups } from "../hooks/alterRequiredGroups.js";
3
3
  function applyStringRule(obj, propSchema) {
4
4
  if (!(propSchema === null || propSchema === void 0 ? void 0 : propSchema.$allow.includes(""))) {
5
5
  if ([].concat(propSchema === null || propSchema === void 0 ? void 0 : propSchema.get("type")).includes("string")) {
@@ -1,10 +1,10 @@
1
1
  import { cleanObject, uniqBy } from "@tsed/core";
2
- import { SpecTypes } from "../domain/SpecTypes";
3
- import { buildPath } from "./buildPath";
4
- import { getJsonEntityStore } from "./getJsonEntityStore";
5
- import { getOperationsStores } from "./getOperationsStores";
6
- import { mergeOperation } from "./mergeOperation";
7
- import { operationIdFormatter } from "./operationIdFormatter";
2
+ import { SpecTypes } from "../domain/SpecTypes.js";
3
+ import { buildPath } from "./buildPath.js";
4
+ import { getJsonEntityStore } from "./getJsonEntityStore.js";
5
+ import { getOperationsStores } from "./getOperationsStores.js";
6
+ import { mergeOperation } from "./mergeOperation.js";
7
+ import { operationIdFormatter } from "./operationIdFormatter.js";
8
8
  /**
9
9
  * @ignore
10
10
  */
@@ -1,5 +1,5 @@
1
1
  import { uniq } from "@tsed/core";
2
- import { SpecTypes } from "../domain/SpecTypes";
2
+ import { SpecTypes } from "../domain/SpecTypes.js";
3
3
  function hasNullable(obj) {
4
4
  return obj.oneOf.find((o) => o.type === "null");
5
5
  }
@@ -1,4 +1,4 @@
1
- import { HTTP_METHODS } from "../constants/httpMethods";
1
+ import { HTTP_METHODS } from "../constants/httpMethods.js";
2
2
  export function mapRouteOptions(args) {
3
3
  let method = undefined;
4
4
  let path = undefined;
@@ -1,6 +1,6 @@
1
- import { SpecTypes } from "../domain/SpecTypes";
2
- import { concatParameters } from "./concatParameters";
3
- import { getJsonPathParameters } from "./getJsonPathParameters";
1
+ import { SpecTypes } from "../domain/SpecTypes.js";
2
+ import { concatParameters } from "./concatParameters.js";
3
+ import { getJsonPathParameters } from "./getJsonPathParameters.js";
4
4
  /**
5
5
  * @ignore
6
6
  */
@@ -1,5 +1,5 @@
1
1
  import { pascalCase } from "pascal-case";
2
- import { SpecTypes } from "../domain/SpecTypes";
2
+ import { SpecTypes } from "../domain/SpecTypes.js";
3
3
  import { cleanObject } from "@tsed/core";
4
4
  /**
5
5
  * ignore
@@ -1,4 +1,4 @@
1
- import { JsonMap } from "../domain/JsonMap";
1
+ import { JsonMap } from "../domain/JsonMap.js";
2
2
  /**
3
3
  * @ignore
4
4
  */
@@ -1,269 +1,8 @@
1
1
  export declare const HTTP_STATUS_MESSAGES: {
2
- "100": {
2
+ [x: string]: {
3
3
  label: string;
4
4
  code: string;
5
- };
6
- "101": {
7
- label: string;
8
- code: string;
9
- };
10
- "102": {
11
- label: string;
12
- code: string;
13
- };
14
- "103": {
15
- label: string;
16
- code: string;
17
- };
18
- "200": {
19
- label: string;
20
- code: string;
21
- };
22
- "201": {
23
- label: string;
24
- code: string;
25
- };
26
- "202": {
27
- label: string;
28
- code: string;
29
- };
30
- "203": {
31
- label: string;
32
- code: string;
33
- };
34
- "204": {
35
- label: string;
36
- code: string;
37
- };
38
- "205": {
39
- label: string;
40
- code: string;
41
- };
42
- "206": {
43
- label: string;
44
- code: string;
45
- };
46
- "207": {
47
- label: string;
48
- code: string;
49
- };
50
- "208": {
51
- label: string;
52
- code: string;
53
- };
54
- "226": {
55
- label: string;
56
- code: string;
57
- };
58
- "300": {
59
- label: string;
60
- code: string;
61
- };
62
- "301": {
63
- label: string;
64
- code: string;
65
- };
66
- "302": {
67
- label: string;
68
- code: string;
69
- };
70
- "303": {
71
- label: string;
72
- code: string;
73
- };
74
- "304": {
75
- label: string;
76
- code: string;
77
- };
78
- "305": {
79
- label: string;
80
- code: string;
81
- };
82
- "306": {
83
- label: string;
84
- code: string;
85
- };
86
- "307": {
87
- label: string;
88
- code: string;
89
- };
90
- "308": {
91
- label: string;
92
- code: string;
93
- };
94
- "310": {
95
- label: string;
96
- code: string;
97
- };
98
- "400": {
99
- label: string;
100
- code: string;
101
- };
102
- "401": {
103
- label: string;
104
- code: string;
105
- };
106
- "402": {
107
- label: string;
108
- code: string;
109
- };
110
- "403": {
111
- label: string;
112
- code: string;
113
- };
114
- "404": {
115
- label: string;
116
- code: string;
117
- };
118
- "405": {
119
- label: string;
120
- code: string;
121
- };
122
- "406": {
123
- label: string;
124
- code: string;
125
- };
126
- "407": {
127
- label: string;
128
- code: string;
129
- };
130
- "408": {
131
- label: string;
132
- code: string;
133
- };
134
- "409": {
135
- label: string;
136
- code: string;
137
- };
138
- "410": {
139
- label: string;
140
- code: string;
141
- };
142
- "411": {
143
- label: string;
144
- code: string;
145
- };
146
- "412": {
147
- label: string;
148
- code: string;
149
- };
150
- "413": {
151
- label: string;
152
- code: string;
153
- };
154
- "414": {
155
- label: string;
156
- code: string;
157
- };
158
- "415": {
159
- label: string;
160
- code: string;
161
- };
162
- "416": {
163
- label: string;
164
- code: string;
165
- };
166
- "417": {
167
- label: string;
168
- code: string;
169
- };
170
- "418": {
171
- label: string;
172
- code: string;
173
- };
174
- "421": {
175
- label: string;
176
- code: string;
177
- };
178
- "422": {
179
- label: string;
180
- code: string;
181
- };
182
- "423": {
183
- label: string;
184
- code: string;
185
- };
186
- "424": {
187
- label: string;
188
- code: string;
189
- };
190
- "425": {
191
- label: string;
192
- code: string;
193
- };
194
- "426": {
195
- label: string;
196
- code: string;
197
- };
198
- "427": {
199
- label: string;
200
- code: string;
201
- };
202
- "428": {
203
- label: string;
204
- code: string;
205
- };
206
- "429": {
207
- label: string;
208
- code: string;
209
- };
210
- "430": {
211
- label: string;
212
- code: string;
213
- };
214
- "431": {
215
- label: string;
216
- code: string;
217
- };
218
- "451": {
219
- label: string;
220
- code: string;
221
- };
222
- "500": {
223
- label: string;
224
- code: string;
225
- };
226
- "501": {
227
- label: string;
228
- code: string;
229
- };
230
- "502": {
231
- label: string;
232
- code: string;
233
- };
234
- "503": {
235
- label: string;
236
- code: string;
237
- };
238
- "504": {
239
- label: string;
240
- code: string;
241
- };
242
- "505": {
243
- label: string;
244
- code: string;
245
- };
246
- "506": {
247
- label: string;
248
- code: string;
249
- };
250
- "507": {
251
- label: string;
252
- code: string;
253
- };
254
- "508": {
255
- label: string;
256
- code: string;
257
- };
258
- "509": {
259
- label: string;
260
- code: string;
261
- };
262
- "510": {
263
- label: string;
264
- code: string;
265
- };
266
- "511": {
5
+ } | {
267
6
  label: string;
268
7
  code: string;
269
8
  };