@elsikora/nestjs-crud-automator 1.11.3 → 1.12.0-dev.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 (132) hide show
  1. package/README.md +1 -1
  2. package/dist/cjs/class/api/service-base.class.d.ts +0 -1
  3. package/dist/cjs/class/api/service-base.class.js +0 -1
  4. package/dist/cjs/class/api/service-base.class.js.map +1 -1
  5. package/dist/cjs/class/api/subscriber/function-base.class.d.ts +0 -1
  6. package/dist/cjs/class/api/subscriber/function-base.class.js +0 -1
  7. package/dist/cjs/class/api/subscriber/function-base.class.js.map +1 -1
  8. package/dist/cjs/class/api/subscriber/route-base.class.d.ts +0 -1
  9. package/dist/cjs/class/api/subscriber/route-base.class.js +0 -1
  10. package/dist/cjs/class/api/subscriber/route-base.class.js.map +1 -1
  11. package/dist/cjs/class/metadata-storage.class.d.ts +0 -1
  12. package/dist/cjs/class/metadata-storage.class.js +0 -1
  13. package/dist/cjs/class/metadata-storage.class.js.map +1 -1
  14. package/dist/cjs/constant/interface/api/property/default-string-format.constant.d.ts +4 -0
  15. package/dist/cjs/constant/interface/api/property/default-string-format.constant.js +373 -0
  16. package/dist/cjs/constant/interface/api/property/default-string-format.constant.js.map +1 -0
  17. package/dist/cjs/constant/interface/api/property/index.d.ts +1 -0
  18. package/dist/cjs/constant/interface/api/property/string.constant.d.ts +1 -0
  19. package/dist/cjs/constant/interface/api/property/string.constant.js +2 -0
  20. package/dist/cjs/constant/interface/api/property/string.constant.js.map +1 -1
  21. package/dist/cjs/decorator/api/controller/decorator.d.ts +18 -1
  22. package/dist/cjs/decorator/api/controller/decorator.js +18 -1
  23. package/dist/cjs/decorator/api/controller/decorator.js.map +1 -1
  24. package/dist/cjs/decorator/api/property/describe.decorator.d.ts +0 -1
  25. package/dist/cjs/decorator/api/property/describe.decorator.js +0 -1
  26. package/dist/cjs/decorator/api/property/describe.decorator.js.map +1 -1
  27. package/dist/cjs/decorator/api/property/string.decorator.js +163 -3
  28. package/dist/cjs/decorator/api/property/string.decorator.js.map +1 -1
  29. package/dist/cjs/decorator/api/service.decorator.d.ts +0 -1
  30. package/dist/cjs/decorator/api/service.decorator.js +0 -1
  31. package/dist/cjs/decorator/api/service.decorator.js.map +1 -1
  32. package/dist/cjs/enum/decorator/api/property/data-type.enum.d.ts +41 -1
  33. package/dist/cjs/enum/decorator/api/property/data-type.enum.js +41 -1
  34. package/dist/cjs/enum/decorator/api/property/data-type.enum.js.map +1 -1
  35. package/dist/cjs/enum/decorator/api/property/string-type.enum.d.ts +41 -1
  36. package/dist/cjs/enum/decorator/api/property/string-type.enum.js +41 -1
  37. package/dist/cjs/enum/decorator/api/property/string-type.enum.js.map +1 -1
  38. package/dist/cjs/factory/api/controller.factory.js +2 -0
  39. package/dist/cjs/factory/api/controller.factory.js.map +1 -1
  40. package/dist/cjs/index.js +4 -0
  41. package/dist/cjs/index.js.map +1 -1
  42. package/dist/cjs/interceptor/correlation-id-response-body.interceptor.d.ts +0 -1
  43. package/dist/cjs/interceptor/correlation-id-response-body.interceptor.js +0 -1
  44. package/dist/cjs/interceptor/correlation-id-response-body.interceptor.js.map +1 -1
  45. package/dist/cjs/module/api-subscriber.module.d.ts +0 -1
  46. package/dist/cjs/module/api-subscriber.module.js +0 -1
  47. package/dist/cjs/module/api-subscriber.module.js.map +1 -1
  48. package/dist/cjs/type/decorator/api/property/default/string/format/index.d.ts +2 -0
  49. package/dist/cjs/type/decorator/api/property/default/string/format/properties.type.d.ts +7 -0
  50. package/dist/cjs/type/decorator/api/property/default/string/format/type.d.ts +2 -0
  51. package/dist/cjs/type/decorator/api/property/default/string/index.d.ts +1 -0
  52. package/dist/cjs/type/decorator/api/property/index.d.ts +1 -0
  53. package/dist/cjs/utility/api/controller/apply-metadata.utility.js +1 -0
  54. package/dist/cjs/utility/api/controller/apply-metadata.utility.js.map +1 -1
  55. package/dist/cjs/utility/api/controller/write-dto-swagger.utility.js +1 -0
  56. package/dist/cjs/utility/api/controller/write-dto-swagger.utility.js.map +1 -1
  57. package/dist/cjs/utility/api/filter-order-by-from-entity.utility.js +1 -0
  58. package/dist/cjs/utility/api/filter-order-by-from-entity.utility.js.map +1 -1
  59. package/dist/cjs/utility/api/index.d.ts +1 -0
  60. package/dist/cjs/utility/api/property/get-default-string-format-properties.utility.d.ts +21 -0
  61. package/dist/cjs/utility/api/property/get-default-string-format-properties.utility.js +31 -0
  62. package/dist/cjs/utility/api/property/get-default-string-format-properties.utility.js.map +1 -0
  63. package/dist/cjs/utility/api/property/index.d.ts +1 -0
  64. package/dist/cjs/validator/all-or-none-of-listed-properties.validator.d.ts +0 -1
  65. package/dist/cjs/validator/all-or-none-of-listed-properties.validator.js +0 -1
  66. package/dist/cjs/validator/all-or-none-of-listed-properties.validator.js.map +1 -1
  67. package/dist/esm/class/api/service-base.class.d.ts +0 -1
  68. package/dist/esm/class/api/service-base.class.js +0 -1
  69. package/dist/esm/class/api/service-base.class.js.map +1 -1
  70. package/dist/esm/class/api/subscriber/function-base.class.d.ts +0 -1
  71. package/dist/esm/class/api/subscriber/function-base.class.js +0 -1
  72. package/dist/esm/class/api/subscriber/function-base.class.js.map +1 -1
  73. package/dist/esm/class/api/subscriber/route-base.class.d.ts +0 -1
  74. package/dist/esm/class/api/subscriber/route-base.class.js +0 -1
  75. package/dist/esm/class/api/subscriber/route-base.class.js.map +1 -1
  76. package/dist/esm/class/metadata-storage.class.d.ts +0 -1
  77. package/dist/esm/class/metadata-storage.class.js +0 -1
  78. package/dist/esm/class/metadata-storage.class.js.map +1 -1
  79. package/dist/esm/constant/interface/api/property/default-string-format.constant.d.ts +4 -0
  80. package/dist/esm/constant/interface/api/property/default-string-format.constant.js +371 -0
  81. package/dist/esm/constant/interface/api/property/default-string-format.constant.js.map +1 -0
  82. package/dist/esm/constant/interface/api/property/index.d.ts +1 -0
  83. package/dist/esm/constant/interface/api/property/string.constant.d.ts +1 -0
  84. package/dist/esm/constant/interface/api/property/string.constant.js +2 -0
  85. package/dist/esm/constant/interface/api/property/string.constant.js.map +1 -1
  86. package/dist/esm/decorator/api/controller/decorator.d.ts +18 -1
  87. package/dist/esm/decorator/api/controller/decorator.js +18 -1
  88. package/dist/esm/decorator/api/controller/decorator.js.map +1 -1
  89. package/dist/esm/decorator/api/property/describe.decorator.d.ts +0 -1
  90. package/dist/esm/decorator/api/property/describe.decorator.js +0 -1
  91. package/dist/esm/decorator/api/property/describe.decorator.js.map +1 -1
  92. package/dist/esm/decorator/api/property/string.decorator.js +164 -4
  93. package/dist/esm/decorator/api/property/string.decorator.js.map +1 -1
  94. package/dist/esm/decorator/api/service.decorator.d.ts +0 -1
  95. package/dist/esm/decorator/api/service.decorator.js +0 -1
  96. package/dist/esm/decorator/api/service.decorator.js.map +1 -1
  97. package/dist/esm/enum/decorator/api/property/data-type.enum.d.ts +41 -1
  98. package/dist/esm/enum/decorator/api/property/data-type.enum.js +41 -1
  99. package/dist/esm/enum/decorator/api/property/data-type.enum.js.map +1 -1
  100. package/dist/esm/enum/decorator/api/property/string-type.enum.d.ts +41 -1
  101. package/dist/esm/enum/decorator/api/property/string-type.enum.js +41 -1
  102. package/dist/esm/enum/decorator/api/property/string-type.enum.js.map +1 -1
  103. package/dist/esm/factory/api/controller.factory.js +2 -0
  104. package/dist/esm/factory/api/controller.factory.js.map +1 -1
  105. package/dist/esm/index.js +2 -0
  106. package/dist/esm/index.js.map +1 -1
  107. package/dist/esm/interceptor/correlation-id-response-body.interceptor.d.ts +0 -1
  108. package/dist/esm/interceptor/correlation-id-response-body.interceptor.js +0 -1
  109. package/dist/esm/interceptor/correlation-id-response-body.interceptor.js.map +1 -1
  110. package/dist/esm/module/api-subscriber.module.d.ts +0 -1
  111. package/dist/esm/module/api-subscriber.module.js +0 -1
  112. package/dist/esm/module/api-subscriber.module.js.map +1 -1
  113. package/dist/esm/type/decorator/api/property/default/string/format/index.d.ts +2 -0
  114. package/dist/esm/type/decorator/api/property/default/string/format/properties.type.d.ts +7 -0
  115. package/dist/esm/type/decorator/api/property/default/string/format/type.d.ts +2 -0
  116. package/dist/esm/type/decorator/api/property/default/string/index.d.ts +1 -0
  117. package/dist/esm/type/decorator/api/property/index.d.ts +1 -0
  118. package/dist/esm/utility/api/controller/apply-metadata.utility.js +1 -0
  119. package/dist/esm/utility/api/controller/apply-metadata.utility.js.map +1 -1
  120. package/dist/esm/utility/api/controller/write-dto-swagger.utility.js +1 -0
  121. package/dist/esm/utility/api/controller/write-dto-swagger.utility.js.map +1 -1
  122. package/dist/esm/utility/api/filter-order-by-from-entity.utility.js +1 -0
  123. package/dist/esm/utility/api/filter-order-by-from-entity.utility.js.map +1 -1
  124. package/dist/esm/utility/api/index.d.ts +1 -0
  125. package/dist/esm/utility/api/property/get-default-string-format-properties.utility.d.ts +21 -0
  126. package/dist/esm/utility/api/property/get-default-string-format-properties.utility.js +29 -0
  127. package/dist/esm/utility/api/property/get-default-string-format-properties.utility.js.map +1 -0
  128. package/dist/esm/utility/api/property/index.d.ts +1 -0
  129. package/dist/esm/validator/all-or-none-of-listed-properties.validator.d.ts +0 -1
  130. package/dist/esm/validator/all-or-none-of-listed-properties.validator.js +0 -1
  131. package/dist/esm/validator/all-or-none-of-listed-properties.validator.js.map +1 -1
  132. package/package.json +1 -1
package/README.md CHANGED
@@ -1,5 +1,5 @@
1
1
  <p align="center">
2
- <img src="https://6jft62zmy9nx2oea.public.blob.vercel-storage.com/nestjs-crud-automator-HhXThTDhKyqznMLCgdmWhsPa287fIi.png" width="500" alt="project-logo">
2
+ <img src="https://6jft62zmy9nx2oea.public.blob.vercel-storage.com/nestjs-crud-automator-8vS2Gox6Qf3xgQazi0Uf8j4ML1surI.png" width="500" alt="project-logo">
3
3
  </p>
4
4
 
5
5
  <h1 align="center">NestJS-Crud-Automator 🚀</h1>
@@ -3,7 +3,6 @@ import type { TApiFunctionCreateProperties, TApiFunctionDeleteCriteria, TApiFunc
3
3
  import type { EntityManager } from "typeorm";
4
4
  /**
5
5
  * Base class for services providing CRUD operations.
6
- *
7
6
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/api-reference/classes#apiservicebase | API Reference - ApiServiceBase}
8
7
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/core-concepts/services | Core Concepts - Services}
9
8
  */
@@ -2,7 +2,6 @@
2
2
 
3
3
  /**
4
4
  * Base class for services providing CRUD operations.
5
- *
6
5
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/api-reference/classes#apiservicebase | API Reference - ApiServiceBase}
7
6
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/core-concepts/services | Core Concepts - Services}
8
7
  */
@@ -1 +1 @@
1
- {"version":3,"file":"service-base.class.js","sources":["../../../../../src/class/api/service-base.class.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAKA;;;;;AAKG;MACU,cAAc,CAAA;IAC1B,MAAM,CAAC,UAA2C,EAAE,YAA4B,EAAA;AAI/E,QAAA,OAAO,OAAO,CAAC,OAAO,CAAC,EAAO,CAAC;IAChC;IAEA,MAAM,CAAC,QAAuC,EAAE,YAA4B,EAAA;AAI3E,QAAA,OAAO,OAAO,CAAC,OAAO,EAAE;IACzB;;IAGA,GAAG,CAAC,UAAwC,EAAE,YAA4B,EAAA;AAIzE,QAAA,OAAO,OAAO,CAAC,OAAO,CAAC,EAAO,CAAC;IAChC;IAEA,OAAO,CAAC,UAA4C,EAAE,YAA4B,EAAA;AAIjF,QAAA,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAA6C,CAAC;IAC3F;IAEA,OAAO,CAAC,UAA4C,EAAE,YAA4B,EAAA;AAIjF,QAAA,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;IAC3B;AAEA,IAAA,MAAM,CAAC,QAAuC,EAAE,UAA2C,EAAE,YAA4B,EAAA;AAKxH,QAAA,OAAO,OAAO,CAAC,OAAO,CAAC,EAAO,CAAC;IAChC;AACA;;;;"}
1
+ {"version":3,"file":"service-base.class.js","sources":["../../../../../src/class/api/service-base.class.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAKA;;;;AAIG;MACU,cAAc,CAAA;IAC1B,MAAM,CAAC,UAA2C,EAAE,YAA4B,EAAA;AAI/E,QAAA,OAAO,OAAO,CAAC,OAAO,CAAC,EAAO,CAAC;IAChC;IAEA,MAAM,CAAC,QAAuC,EAAE,YAA4B,EAAA;AAI3E,QAAA,OAAO,OAAO,CAAC,OAAO,EAAE;IACzB;;IAGA,GAAG,CAAC,UAAwC,EAAE,YAA4B,EAAA;AAIzE,QAAA,OAAO,OAAO,CAAC,OAAO,CAAC,EAAO,CAAC;IAChC;IAEA,OAAO,CAAC,UAA4C,EAAE,YAA4B,EAAA;AAIjF,QAAA,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,KAAK,EAAE,CAAC,EAA6C,CAAC;IAC3F;IAEA,OAAO,CAAC,UAA4C,EAAE,YAA4B,EAAA;AAIjF,QAAA,OAAO,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;IAC3B;AAEA,IAAA,MAAM,CAAC,QAAuC,EAAE,UAA2C,EAAE,YAA4B,EAAA;AAKxH,QAAA,OAAO,OAAO,CAAC,OAAO,CAAC,EAAO,CAAC;IAChC;AACA;;;;"}
@@ -3,7 +3,6 @@ import type { IApiSubscriberFunction } from '../../../interface/class/api/subscr
3
3
  import { ApiSubscriberBase } from './base.class';
4
4
  /**
5
5
  * Abstract base class for function-level subscribers.
6
- *
7
6
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/api-reference/classes#apifunctionsubscriberbase | API Reference - ApiFunctionSubscriberBase}
8
7
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/subscriber-system/function-subscribers | Subscriber System - Function Subscribers}
9
8
  */
@@ -4,7 +4,6 @@ var base_class = require('./base.class.js');
4
4
 
5
5
  /**
6
6
  * Abstract base class for function-level subscribers.
7
- *
8
7
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/api-reference/classes#apifunctionsubscriberbase | API Reference - ApiFunctionSubscriberBase}
9
8
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/subscriber-system/function-subscribers | Subscriber System - Function Subscribers}
10
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"function-base.class.js","sources":["../../../../../../src/class/api/subscriber/function-base.class.ts"],"sourcesContent":[null],"names":["ApiSubscriberBase"],"mappings":";;;;AAKA;;;;;AAKG;AACG,MAAgB,yBAAoD,SAAQA,4BAAiB,CAAA;AAAwC;;;;"}
1
+ {"version":3,"file":"function-base.class.js","sources":["../../../../../../src/class/api/subscriber/function-base.class.ts"],"sourcesContent":[null],"names":["ApiSubscriberBase"],"mappings":";;;;AAKA;;;;AAIG;AACG,MAAgB,yBAAoD,SAAQA,4BAAiB,CAAA;AAAwC;;;;"}
@@ -3,7 +3,6 @@ import type { IApiSubscriberRoute } from '../../../interface/class/api/subscribe
3
3
  import { ApiSubscriberBase } from './base.class';
4
4
  /**
5
5
  * Abstract base class for route-level subscribers.
6
- *
7
6
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/api-reference/classes#apiroutesubscriberbase | API Reference - ApiRouteSubscriberBase}
8
7
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/subscriber-system/route-subscribers | Subscriber System - Route Subscribers}
9
8
  */
@@ -4,7 +4,6 @@ var base_class = require('./base.class.js');
4
4
 
5
5
  /**
6
6
  * Abstract base class for route-level subscribers.
7
- *
8
7
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/api-reference/classes#apiroutesubscriberbase | API Reference - ApiRouteSubscriberBase}
9
8
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/subscriber-system/route-subscribers | Subscriber System - Route Subscribers}
10
9
  */
@@ -1 +1 @@
1
- {"version":3,"file":"route-base.class.js","sources":["../../../../../../src/class/api/subscriber/route-base.class.ts"],"sourcesContent":[null],"names":["ApiSubscriberBase"],"mappings":";;;;AAKA;;;;;AAKG;AACG,MAAgB,sBAAiD,SAAQA,4BAAiB,CAAA;AAAqC;;;;"}
1
+ {"version":3,"file":"route-base.class.js","sources":["../../../../../../src/class/api/subscriber/route-base.class.ts"],"sourcesContent":[null],"names":["ApiSubscriberBase"],"mappings":";;;;AAKA;;;;AAIG;AACG,MAAgB,sBAAiD,SAAQA,4BAAiB,CAAA;AAAqC;;;;"}
@@ -2,7 +2,6 @@ import type { IMetadataEntry } from '../interface/class/index';
2
2
  import type { TMetadata } from '../type/class/index';
3
3
  /**
4
4
  * Singleton class for storing and retrieving entity property metadata.
5
- *
6
5
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/api-reference/classes#metadatastorage | API Reference - MetadataStorage}
7
6
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/core-concepts/metadata-storage | Core Concepts - Metadata Storage}
8
7
  */
@@ -5,7 +5,6 @@ var propertyDescribe_constant = require('../constant/decorator/api/property-desc
5
5
 
6
6
  /**
7
7
  * Singleton class for storing and retrieving entity property metadata.
8
- *
9
8
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/api-reference/classes#metadatastorage | API Reference - MetadataStorage}
10
9
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/core-concepts/metadata-storage | Core Concepts - Metadata Storage}
11
10
  */
@@ -1 +1 @@
1
- {"version":3,"file":"metadata-storage.class.js","sources":["../../../../src/class/metadata-storage.class.ts"],"sourcesContent":[null],"names":["PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT"],"mappings":";;;;;AAKA;;;;;AAKG;MACU,eAAe,CAAA;IACnB,OAAO,QAAQ;AAEN,IAAA,OAAO,GAA6C,IAAI,GAAG,EAAuC;AAE5G,IAAA,OAAO,WAAW,GAAA;AACxB,QAAA,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE;AAC9B,YAAA,eAAe,CAAC,QAAQ,GAAG,IAAI,eAAe,EAAE;QACjD;QAEA,OAAO,eAAe,CAAC,QAAQ;IAChC;IAEO,sBAAsB,GAAA;QAC5B,MAAM,MAAM,GAA8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AmB,cAAc,CAAC,GAAG,CAAC,YAAY,CAAE;AAC1E,QAAA,gBAAgB,CAAC,GAAG,CAAC,GAAG,KAAK;IAC9B;AACA;;;;"}
1
+ {"version":3,"file":"metadata-storage.class.js","sources":["../../../../src/class/metadata-storage.class.ts"],"sourcesContent":[null],"names":["PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT"],"mappings":";;;;;AAKA;;;;AAIG;MACU,eAAe,CAAA;IACnB,OAAO,QAAQ;AAEN,IAAA,OAAO,GAA6C,IAAI,GAAG,EAAuC;AAE5G,IAAA,OAAO,WAAW,GAAA;AACxB,QAAA,IAAI,CAAC,eAAe,CAAC,QAAQ,EAAE;AAC9B,YAAA,eAAe,CAAC,QAAQ,GAAG,IAAI,eAAe,EAAE;QACjD;QAEA,OAAO,eAAe,CAAC,QAAQ;IAChC;IAEO,sBAAsB,GAAA;QAC5B,MAAM,MAAM,GAA8B,EAAE;AAE5C,QAAA,KAAK,MAAM,CAAC,UAAU,EAAE,cAAc,CAAC,IAAI,IAAI,CAAC,OAAO,CAAC,OAAO,EAAE,EAAE;YAClE,MAAM,CAAC,UAAU,CAAC,GAAG,MAAM,CAAC,WAAW,CAAC,cAAc,CAAC;QACxD;AAEA,QAAA,OAAO,MAAM;IACd;AAKO,IAAA,WAAW,CAAC,UAAkB,EAAE,YAAqB,EAAE,GAA0B,EAAA;QACvF,MAAM,cAAc,GAA4C,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC;AAE5F,QAAA,IAAI,CAAC,cAAc;AAAE,YAAA,OAAO,SAAS;AAErC,QAAA,IAAI,CAAC,YAAY;AAAE,YAAA,OAAO,MAAM,CAAC,WAAW,CAAC,cAAc,CAAC;QAC5D,MAAM,gBAAgB,GAA+B,cAAc,CAAC,GAAG,CAAC,YAAY,CAAC;AAErF,QAAA,IAAI,CAAC,gBAAgB;AAAE,YAAA,OAAO,SAAS;AAEvC,QAAA,IAAI,CAAC,GAAG;AAAE,YAAA,OAAO,gBAAgB;AAEjC,QAAA,OAAO,gBAAgB,CAAC,GAAG,CAAC;IAC7B;AAEO,IAAA,WAAW,CAAiC,UAAkB,EAAE,YAA6B,EAAE,GAAM,EAAE,KAAwB,EAAA;QACrI,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAC,EAAE;YAClC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,IAAI,GAAG,EAAE,CAAC;QACxC;;QAEA,MAAM,cAAc,GAAyC,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,UAAU,CAAE;QAE1F,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,YAAY,CAAC,EAAE;AACtC,YAAA,cAAc,CAAC,GAAG,CAAC,YAAY,EAAE,EAAE,CAACA,kEAAwC,CAAC,YAAY,GAAG,EAAE,EAAE,CAAC;QAClG;;QAGA,MAAM,gBAAgB,GAAmB,cAAc,CAAC,GAAG,CAAC,YAAY,CAAE;AAC1E,QAAA,gBAAgB,CAAC,GAAG,CAAC,GAAG,KAAK;IAC9B;AACA;;;;"}
@@ -0,0 +1,4 @@
1
+ import type { TApiPropertyDefaultStringFormat, TApiPropertyDefaultStringFormatProperties } from '../../../../type/decorator/api/property/default/string/index';
2
+ export declare const DEFAULT_STRING_FORMAT_PROPERTY_API_INTERFACE_CONSTANT: {
3
+ readonly DEFAULT_FORMAT_PROPERTIES: Record<TApiPropertyDefaultStringFormat, TApiPropertyDefaultStringFormatProperties>;
4
+ };
@@ -0,0 +1,373 @@
1
+ 'use strict';
2
+
3
+ require('../../../../enum/decorator/api/property/data-type.enum.js');
4
+ require('../../../../enum/decorator/api/property/date/identifier.enum.js');
5
+ require('../../../../enum/decorator/api/property/date/type.enum.js');
6
+ require('../../../../enum/decorator/api/property/desribe-type.enum.js');
7
+ require('../../../../enum/decorator/api/property/number-type.enum.js');
8
+ var stringType_enum = require('../../../../enum/decorator/api/property/string-type.enum.js');
9
+
10
+ const BASE64 = {
11
+ description: "base64 encoded string",
12
+ exampleValue: "SGVsbG8gV29ybGQ=",
13
+ maxLength: 1_000_000,
14
+ minLength: 4,
15
+ pattern: String.raw `/^(?:[A-Za-z0-9+\/]{4})*(?:[A-Za-z0-9+\/]{2}==|[A-Za-z0-9+\/]{3}=)?$/`,
16
+ };
17
+ const BCRYPT = {
18
+ description: "bcrypt password hash",
19
+ // eslint-disable-next-line @elsikora/no-secrets/no-secrets
20
+ exampleValue: "$2a$10$N9qo8uLOickgx2ZMRZoMyeIjZAgcfl7p92ldGxad68LJZdL17lhWy",
21
+ maxLength: 60,
22
+ minLength: 60,
23
+ pattern: String.raw `/^\$2[aby]\$\d{1,2}\$[.\/A-Za-z0-9]{53}$/`,
24
+ };
25
+ const COUNTRY_CODE_ALPHA2 = {
26
+ description: "ISO 3166-1 alpha-2 country code",
27
+ exampleValue: "US",
28
+ maxLength: 2,
29
+ minLength: 2,
30
+ pattern: String.raw `/^[A-Z]{2}$/`,
31
+ };
32
+ const COUNTRY_CODE_ALPHA3 = {
33
+ description: "ISO 3166-1 alpha-3 country code",
34
+ exampleValue: "USA",
35
+ maxLength: 3,
36
+ minLength: 3,
37
+ pattern: String.raw `/^[A-Z]{3}$/`,
38
+ };
39
+ const CURRENCY_CODE = {
40
+ description: "ISO 4217 currency code",
41
+ exampleValue: "USD",
42
+ maxLength: 3,
43
+ minLength: 3,
44
+ pattern: String.raw `/^[A-Z]{3}$/`,
45
+ };
46
+ const DOMAIN = {
47
+ description: "domain name",
48
+ exampleValue: "example.com",
49
+ maxLength: 253,
50
+ minLength: 1,
51
+ pattern: String.raw `/^(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/`,
52
+ };
53
+ const EMAIL = {
54
+ description: "email",
55
+ exampleValue: "user@example.com",
56
+ maxLength: 321,
57
+ minLength: 5,
58
+ pattern: String.raw `/^([a-zA-Z0-9_\-.+])+@([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,}$/`,
59
+ };
60
+ const HASH_MD5 = {
61
+ description: "MD5 hash",
62
+ exampleValue: "5d41402abc4b2a76b9719d911017c592",
63
+ maxLength: 32,
64
+ minLength: 32,
65
+ pattern: String.raw `/^[a-fA-F0-9]{32}$/`,
66
+ };
67
+ const HASH_SHA256 = {
68
+ description: "SHA-256 hash",
69
+ exampleValue: "e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
70
+ maxLength: 64,
71
+ minLength: 64,
72
+ pattern: String.raw `/^[a-fA-F0-9]{64}$/`,
73
+ };
74
+ const HEX_COLOR = {
75
+ description: "hexadecimal color code",
76
+ exampleValue: "#FF5733",
77
+ maxLength: 7,
78
+ minLength: 4,
79
+ pattern: String.raw `/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/`,
80
+ };
81
+ const IBAN = {
82
+ description: "International Bank Account Number",
83
+ exampleValue: "GB82WEST12345698765432",
84
+ maxLength: 34,
85
+ minLength: 15,
86
+ pattern: String.raw `/^[A-Z]{2}\d{2}[A-Z0-9]{1,30}$/`,
87
+ };
88
+ const IPV4 = {
89
+ description: "IPv4 address",
90
+ // eslint-disable-next-line @elsikora/sonar/no-hardcoded-ip
91
+ exampleValue: "192.168.0.1",
92
+ maxLength: 15,
93
+ minLength: 7,
94
+ pattern: String.raw `/^((25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$/`,
95
+ };
96
+ const IPV6 = {
97
+ description: "IPv6 address",
98
+ // eslint-disable-next-line @elsikora/sonar/no-hardcoded-ip
99
+ exampleValue: "2001:0db8:85a3:0000:0000:8a2e:0370:7334",
100
+ maxLength: 45,
101
+ minLength: 2,
102
+ pattern: String.raw `/^(([0-9a-fA-F]{1,4}:){7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|::)$/`,
103
+ };
104
+ const ISBN = {
105
+ description: "International Standard Book Number",
106
+ exampleValue: "978-3-16-148410-0",
107
+ maxLength: 17,
108
+ minLength: 10,
109
+ pattern: String.raw `/^(?:ISBN(?:-1[03])?:? )?(?=[0-9X]{10}$|(?=(?:[0-9]+[- ]){3})[- 0-9X]{13}$|97[89][0-9]{10}$|(?=(?:[0-9]+[- ]){4})[- 0-9]{17}$)(?:97[89][- ]?)?[0-9]{1,5}[- ]?[0-9]+[- ]?[0-9]+[- ]?[0-9X]$/`,
110
+ };
111
+ const JWT = {
112
+ description: "JSON Web Token",
113
+ // eslint-disable-next-line @elsikora/no-secrets/no-secrets
114
+ exampleValue: "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c",
115
+ maxLength: 10_000,
116
+ minLength: 100,
117
+ pattern: String.raw `/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+$/`,
118
+ };
119
+ const LANGUAGE_CODE_ISO639 = {
120
+ description: "ISO 639-1 language code",
121
+ exampleValue: "en",
122
+ maxLength: 2,
123
+ minLength: 2,
124
+ pattern: String.raw `/^[a-z]{2}$/`,
125
+ };
126
+ const MAC_ADDRESS = {
127
+ description: "MAC address",
128
+ exampleValue: "00:1B:63:84:45:E6",
129
+ maxLength: 17,
130
+ minLength: 17,
131
+ pattern: String.raw `/^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$/`,
132
+ };
133
+ const MIME_TYPE = {
134
+ description: "MIME type",
135
+ exampleValue: "application/json",
136
+ maxLength: 255,
137
+ minLength: 3,
138
+ pattern: String.raw `/^[a-zA-Z0-9][a-zA-Z0-9!#$&^_+-]*(\/[a-zA-Z0-9][a-zA-Z0-9!#$&^_+.-]*)+$/`,
139
+ };
140
+ const PHONE_NUMBER = {
141
+ description: "E.164 phone number",
142
+ exampleValue: "+14155552671",
143
+ maxLength: 16,
144
+ minLength: 8,
145
+ pattern: String.raw `/^\+[1-9]\d{1,14}$/`,
146
+ };
147
+ const POSTAL_CODE = {
148
+ description: "postal code",
149
+ exampleValue: "12345",
150
+ maxLength: 10,
151
+ minLength: 3,
152
+ pattern: String.raw `/^[A-Z0-9][A-Z0-9 -]{1,8}[A-Z0-9]$/`,
153
+ };
154
+ const SEMVER = {
155
+ description: "semantic version",
156
+ exampleValue: "1.2.3",
157
+ maxLength: 50,
158
+ minLength: 5,
159
+ pattern: String.raw `/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/`,
160
+ };
161
+ const SLUG = {
162
+ description: "URL slug",
163
+ exampleValue: "my-blog-post",
164
+ maxLength: 200,
165
+ minLength: 1,
166
+ pattern: String.raw `/^[a-z0-9]+(?:-[a-z0-9]+)*$/`,
167
+ };
168
+ const TIMEZONE = {
169
+ description: "IANA timezone identifier",
170
+ exampleValue: "Europe/Kiev",
171
+ maxLength: 50,
172
+ minLength: 3,
173
+ pattern: String.raw `/^[A-Za-z]+(?:\/[A-Za-z_]+)+$/`,
174
+ };
175
+ const URL = {
176
+ description: "URL",
177
+ exampleValue: "https://example.com",
178
+ maxLength: 2048,
179
+ minLength: 3,
180
+ pattern: String.raw `/^(https?):\/\/[\w\-]+(\.[\w\-]+)+([\w.,@?^=%&:/~+#-]*[\w@?^=%&/~+#-])?$/`,
181
+ };
182
+ // eslint-disable-next-line @elsikora/no-secrets/no-pattern-match
183
+ const API_KEY = {
184
+ description: "API key",
185
+ exampleValue: "sk_live_51HqT2xKz9pQr3sF8vN4hG2mL",
186
+ maxLength: 100,
187
+ minLength: 20,
188
+ pattern: String.raw `/^[a-zA-Z0-9_\-]{20,100}$/`,
189
+ };
190
+ const BITCOIN_ADDRESS = {
191
+ description: "Bitcoin address",
192
+ exampleValue: "1A1zP1eP5QGefi2DMPTfTL5SLmv7DivfNa",
193
+ maxLength: 35,
194
+ minLength: 26,
195
+ pattern: String.raw `/^[13][a-km-zA-HJ-NP-Z1-9]{25,34}$/`,
196
+ };
197
+ const COORDINATES = {
198
+ description: "geographic coordinates (latitude,longitude)",
199
+ exampleValue: "50.4501,30.5234",
200
+ maxLength: 50,
201
+ minLength: 3,
202
+ pattern: String.raw `/^-?([1-8]?[0-9](\.\d+)?|90(\.0+)?),\s*-?(1[0-7][0-9](\.\d+)?|[1-9]?[0-9](\.\d+)?|180(\.0+)?)$/`,
203
+ };
204
+ const CRON = {
205
+ description: "cron expression",
206
+ exampleValue: "0 */6 * * *",
207
+ maxLength: 100,
208
+ minLength: 9,
209
+ pattern: String.raw `/^(\*|([0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9])|\*\/([0-9]|1[0-9]|2[0-9]|3[0-9]|4[0-9]|5[0-9])) (\*|([0-9]|1[0-9]|2[0-3])|\*\/([0-9]|1[0-9]|2[0-3])) (\*|([1-9]|1[0-9]|2[0-9]|3[0-1])|\*\/([1-9]|1[0-9]|2[0-9]|3[0-1])) (\*|([1-9]|1[0-2])|\*\/([1-9]|1[0-2])) (\*|([0-6])|\*\/([0-6]))$/`,
210
+ };
211
+ const DATA_URI = {
212
+ description: "data URI",
213
+ exampleValue: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUA",
214
+ maxLength: 1_000_000,
215
+ minLength: 14,
216
+ pattern: String.raw `/^data:[a-zA-Z0-9\/+\-]+;base64,[A-Za-z0-9+\/=]+$/`,
217
+ };
218
+ const ETHEREUM_ADDRESS = {
219
+ description: "Ethereum address",
220
+ exampleValue: "0x742d35Cc6634C0532925a3b844Bc9e7595f0bEb",
221
+ maxLength: 42,
222
+ minLength: 42,
223
+ pattern: String.raw `/^0x[a-fA-F0-9]{40}$/`,
224
+ };
225
+ const FILE_PATH = {
226
+ description: "file path",
227
+ exampleValue: "/home/user/documents/file.txt",
228
+ maxLength: 500,
229
+ minLength: 1,
230
+ pattern: String.raw `/^[^\0]+$/`,
231
+ };
232
+ const GIT_COMMIT_SHA = {
233
+ description: "Git commit SHA",
234
+ exampleValue: "a3c4f2b1e8d9c7a6b5e4d3c2b1a098765432",
235
+ maxLength: 40,
236
+ minLength: 7,
237
+ pattern: String.raw `/^[a-fA-F0-9]{7,40}$/`,
238
+ };
239
+ const HSL_COLOR = {
240
+ description: "HSL color",
241
+ exampleValue: "hsl(120, 100%, 50%)",
242
+ maxLength: 30,
243
+ minLength: 10,
244
+ pattern: String.raw `/^hsl\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*\)$/`,
245
+ };
246
+ const HSLA_COLOR = {
247
+ description: "HSLA color",
248
+ exampleValue: "hsla(120, 100%, 50%, 0.5)",
249
+ maxLength: 40,
250
+ minLength: 15,
251
+ pattern: String.raw `/^hsla\(\s*(\d{1,3})\s*,\s*(\d{1,3})%\s*,\s*(\d{1,3})%\s*,\s*(0|1|0?\.\d+)\s*\)$/`,
252
+ };
253
+ const LOCALE = {
254
+ description: "locale identifier",
255
+ exampleValue: "en-US",
256
+ maxLength: 8,
257
+ minLength: 2,
258
+ pattern: String.raw `/^[a-z]{2}(-[A-Z]{2})?$/`,
259
+ };
260
+ const MONGODB_OBJECT_ID = {
261
+ description: "MongoDB ObjectId",
262
+ exampleValue: "507f1f77bcf86cd799439011",
263
+ maxLength: 24,
264
+ minLength: 24,
265
+ pattern: String.raw `/^[a-fA-F0-9]{24}$/`,
266
+ };
267
+ const NANOID = {
268
+ description: "NanoID",
269
+ exampleValue: "V1StGXR8_Z5jdHi6B-myT",
270
+ maxLength: 21,
271
+ minLength: 21,
272
+ pattern: String.raw `/^[A-Za-z0-9_-]{21}$/`,
273
+ };
274
+ const OAUTH2_SCOPE = {
275
+ description: "OAuth2 scope",
276
+ exampleValue: "read:user write:repo",
277
+ maxLength: 200,
278
+ minLength: 1,
279
+ pattern: String.raw `/^[a-zA-Z0-9_:\-]+(?: [a-zA-Z0-9_:\-]+)*$/`,
280
+ };
281
+ const RGB_COLOR = {
282
+ description: "RGB color",
283
+ exampleValue: "rgb(255, 128, 0)",
284
+ maxLength: 20,
285
+ minLength: 10,
286
+ pattern: String.raw `/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/`,
287
+ };
288
+ const RGBA_COLOR = {
289
+ description: "RGBA color",
290
+ exampleValue: "rgba(255, 128, 0, 0.5)",
291
+ maxLength: 30,
292
+ minLength: 15,
293
+ pattern: String.raw `/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(0|1|0?\.\d+)\s*\)$/`,
294
+ };
295
+ const ULID = {
296
+ description: "ULID",
297
+ exampleValue: "01ARZ3NDEKTSV4RRFFQ69G5FAV",
298
+ maxLength: 26,
299
+ minLength: 26,
300
+ pattern: String.raw `/^[0-9A-HJKMNP-TV-Z]{26}$/`,
301
+ };
302
+ const URL_PATH = {
303
+ description: "URL path",
304
+ exampleValue: "/api/v1/users/123",
305
+ maxLength: 500,
306
+ minLength: 1,
307
+ pattern: String.raw `/^\/[a-zA-Z0-9\/_\-\.]*$/`,
308
+ };
309
+ const USERNAME = {
310
+ description: "username",
311
+ exampleValue: "john_doe123",
312
+ maxLength: 30,
313
+ minLength: 3,
314
+ pattern: String.raw `/^[a-zA-Z0-9_]{3,30}$/`,
315
+ };
316
+ const UUID = {
317
+ description: "UUID",
318
+ exampleValue: "123e4567-e89b-12d3-a456-426614174000",
319
+ maxLength: 36,
320
+ minLength: 36,
321
+ pattern: String.raw `/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-5][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}$/`,
322
+ };
323
+ const DEFAULT_STRING_FORMAT_PROPERTY_API_INTERFACE_CONSTANT = {
324
+ DEFAULT_FORMAT_PROPERTIES: {
325
+ [stringType_enum.EApiPropertyStringType.API_KEY]: API_KEY,
326
+ [stringType_enum.EApiPropertyStringType.BASE64]: BASE64,
327
+ [stringType_enum.EApiPropertyStringType.BCRYPT]: BCRYPT,
328
+ [stringType_enum.EApiPropertyStringType.BITCOIN_ADDRESS]: BITCOIN_ADDRESS,
329
+ [stringType_enum.EApiPropertyStringType.COORDINATES]: COORDINATES,
330
+ [stringType_enum.EApiPropertyStringType.COUNTRY_CODE_ALPHA2]: COUNTRY_CODE_ALPHA2,
331
+ [stringType_enum.EApiPropertyStringType.COUNTRY_CODE_ALPHA3]: COUNTRY_CODE_ALPHA3,
332
+ [stringType_enum.EApiPropertyStringType.CRON]: CRON,
333
+ [stringType_enum.EApiPropertyStringType.CURRENCY_CODE]: CURRENCY_CODE,
334
+ [stringType_enum.EApiPropertyStringType.DATA_URI]: DATA_URI,
335
+ [stringType_enum.EApiPropertyStringType.DOMAIN]: DOMAIN,
336
+ [stringType_enum.EApiPropertyStringType.EMAIL]: EMAIL,
337
+ [stringType_enum.EApiPropertyStringType.ETHEREUM_ADDRESS]: ETHEREUM_ADDRESS,
338
+ [stringType_enum.EApiPropertyStringType.FILE_PATH]: FILE_PATH,
339
+ [stringType_enum.EApiPropertyStringType.GIT_COMMIT_SHA]: GIT_COMMIT_SHA,
340
+ [stringType_enum.EApiPropertyStringType.HASH_MD5]: HASH_MD5,
341
+ [stringType_enum.EApiPropertyStringType.HASH_SHA256]: HASH_SHA256,
342
+ [stringType_enum.EApiPropertyStringType.HEX_COLOR]: HEX_COLOR,
343
+ [stringType_enum.EApiPropertyStringType.HSL_COLOR]: HSL_COLOR,
344
+ [stringType_enum.EApiPropertyStringType.HSLA_COLOR]: HSLA_COLOR,
345
+ [stringType_enum.EApiPropertyStringType.IBAN]: IBAN,
346
+ [stringType_enum.EApiPropertyStringType.IPV4]: IPV4,
347
+ [stringType_enum.EApiPropertyStringType.IPV6]: IPV6,
348
+ [stringType_enum.EApiPropertyStringType.ISBN]: ISBN,
349
+ [stringType_enum.EApiPropertyStringType.JWT]: JWT,
350
+ [stringType_enum.EApiPropertyStringType.LANGUAGE_CODE_ISO639]: LANGUAGE_CODE_ISO639,
351
+ [stringType_enum.EApiPropertyStringType.LOCALE]: LOCALE,
352
+ [stringType_enum.EApiPropertyStringType.MAC_ADDRESS]: MAC_ADDRESS,
353
+ [stringType_enum.EApiPropertyStringType.MIME_TYPE]: MIME_TYPE,
354
+ [stringType_enum.EApiPropertyStringType.MONGODB_OBJECT_ID]: MONGODB_OBJECT_ID,
355
+ [stringType_enum.EApiPropertyStringType.NANOID]: NANOID,
356
+ [stringType_enum.EApiPropertyStringType.OAUTH2_SCOPE]: OAUTH2_SCOPE,
357
+ [stringType_enum.EApiPropertyStringType.PHONE_NUMBER]: PHONE_NUMBER,
358
+ [stringType_enum.EApiPropertyStringType.POSTAL_CODE]: POSTAL_CODE,
359
+ [stringType_enum.EApiPropertyStringType.RGB_COLOR]: RGB_COLOR,
360
+ [stringType_enum.EApiPropertyStringType.RGBA_COLOR]: RGBA_COLOR,
361
+ [stringType_enum.EApiPropertyStringType.SEMVER]: SEMVER,
362
+ [stringType_enum.EApiPropertyStringType.SLUG]: SLUG,
363
+ [stringType_enum.EApiPropertyStringType.TIMEZONE]: TIMEZONE,
364
+ [stringType_enum.EApiPropertyStringType.ULID]: ULID,
365
+ [stringType_enum.EApiPropertyStringType.URL]: URL,
366
+ [stringType_enum.EApiPropertyStringType.URL_PATH]: URL_PATH,
367
+ [stringType_enum.EApiPropertyStringType.USERNAME]: USERNAME,
368
+ [stringType_enum.EApiPropertyStringType.UUID]: UUID,
369
+ },
370
+ };
371
+
372
+ exports.DEFAULT_STRING_FORMAT_PROPERTY_API_INTERFACE_CONSTANT = DEFAULT_STRING_FORMAT_PROPERTY_API_INTERFACE_CONSTANT;
373
+ //# sourceMappingURL=default-string-format.constant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"default-string-format.constant.js","sources":["../../../../../../../src/constant/interface/api/property/default-string-format.constant.ts"],"sourcesContent":[null],"names":["EApiPropertyStringType"],"mappings":";;;;;;;;;AAKA,MAAM,MAAM,GAA8C;AACzD,IAAA,WAAW,EAAE,uBAAuB;AACpC,IAAA,YAAY,EAAE,kBAAkB;AAChC,IAAA,SAAS,EAAE,SAAS;AACpB,IAAA,SAAS,EAAE,CAAC;AACZ,IAAA,OAAO,EAAE,MAAM,CAAC,GAAG,CAAA,CAAA,qEAAA,CAAuE;CAC1F;AAED,MAAM,MAAM,GAA8C;AACzD,IAAA,WAAW,EAAE,sBAAsB;;AAEnC,IAAA,YAAY,EAAE,8DAA8D;AAC5E,IAAA,SAAS,EAAE,EAAE;AACb,IAAA,SAAS,EAAE,EAAE;AACb,IAAA,OAAO,EAAE,MAAM,CAAC,GAAG,CAAA,CAAA,yCAAA,CAA2C;CAC9D;AAED,MAAM,mBAAmB,GAA8C;AACtE,IAAA,WAAW,EAAE,iCAAiC;AAC9C,IAAA,YAAY,EAAE,IAAI;AAClB,IAAA,SAAS,EAAE,CAAC;AACZ,IAAA,SAAS,EAAE,CAAC;AACZ,IAAA,OAAO,EAAE,MAAM,CAAC,GAAG,CAAA,CAAA,YAAA,CAAc;CACjC;AAED,MAAM,mBAAmB,GAA8C;AACtE,IAAA,WAAW,EAAE,iCAAiC;AAC9C,IAAA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AC,QAAQ,GAAG,QAAQ;AAC3C,QAAA,CAACA,sCAAsB,CAAC,IAAI,GAAG,IAAI;AACnC,QAAA,CAACA,sCAAsB,CAAC,GAAG,GAAG,GAAG;AACjC,QAAA,CAACA,sCAAsB,CAAC,QAAQ,GAAG,QAAQ;AAC3C,QAAA,CAACA,sCAAsB,CAAC,QAAQ,GAAG,QAAQ;AAC3C,QAAA,CAACA,sCAAsB,CAAC,IAAI,GAAG,IAAI;AACnC,KAAA;;;;;"}
@@ -1,2 +1,3 @@
1
+ export { DEFAULT_STRING_FORMAT_PROPERTY_API_INTERFACE_CONSTANT } from './default-string-format.constant';
1
2
  export { STRING_PROPERTY_API_INTERFACE_CONSTANT } from './string.constant';
2
3
  export { WALLET_PROPERTY_API_INTERFACE_CONSTANT } from './wallet.constant';
@@ -1,6 +1,7 @@
1
1
  import type { IsIpVersion } from "class-validator/types/decorator/string/IsIP";
2
2
  export declare const STRING_PROPERTY_API_INTERFACE_CONSTANT: {
3
3
  readonly IP_VERSION: IsIpVersion;
4
+ readonly IP_VERSION_6: IsIpVersion;
4
5
  readonly REGEX_FLAGS_INDEX: number;
5
6
  readonly REGEX_PATTERN_INDEX: number;
6
7
  };
@@ -3,8 +3,10 @@
3
3
  const REGEX_PATTERN_INDEX = 1;
4
4
  const REGEX_FLAGS_INDEX = 2;
5
5
  const IP_VERSION = 4;
6
+ const IP_VERSION_6 = 6;
6
7
  const STRING_PROPERTY_API_INTERFACE_CONSTANT = {
7
8
  IP_VERSION,
9
+ IP_VERSION_6,
8
10
  REGEX_FLAGS_INDEX,
9
11
  REGEX_PATTERN_INDEX,
10
12
  };
@@ -1 +1 @@
1
- {"version":3,"file":"string.constant.js","sources":["../../../../../../../src/constant/interface/api/property/string.constant.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAEA,MAAM,mBAAmB,GAAW,CAAC;AACrC,MAAM,iBAAiB,GAAW,CAAC;AACnC,MAAM,UAAU,GAAgB,CAAC;AAE1B,MAAM,sCAAsC,GAI/C;IACH,UAAU;IACV,iBAAiB;IACjB,mBAAmB;;;;;"}
1
+ {"version":3,"file":"string.constant.js","sources":["../../../../../../../src/constant/interface/api/property/string.constant.ts"],"sourcesContent":[null],"names":[],"mappings":";;AAEA,MAAM,mBAAmB,GAAW,CAAC;AACrC,MAAM,iBAAiB,GAAW,CAAC;AACnC,MAAM,UAAU,GAAgB,CAAC;AACjC,MAAM,YAAY,GAAgB,CAAC;AAE5B,MAAM,sCAAsC,GAK/C;IACH,UAAU;IACV,YAAY;IACZ,iBAAiB;IACjB,mBAAmB;;;;;"}
@@ -3,7 +3,24 @@ import type { IApiControllerProperties } from '../../../interface/decorator/api/
3
3
  import type { TApiControllerConstructor } from '../../../type/decorator/api/controller/index';
4
4
  /**
5
5
  * Automatically generates CRUD endpoints for an entity.
6
- *
6
+ * @param {IApiControllerProperties<E>} options - The controller properties
7
+ * @returns {TApiControllerConstructor} The controller constructor
8
+ * @template E - The entity type
9
+ * @example
10
+ * ```typescript
11
+ * @ApiController<UserEntity>({
12
+ * entity: UserEntity,
13
+ * name: "Users",
14
+ * routes: {
15
+ * [EApiRouteType.CREATE]: {},
16
+ * [EApiRouteType.GET]: {},
17
+ * [EApiRouteType.GET_LIST]: {},
18
+ * [EApiRouteType.UPDATE]: {},
19
+ * [EApiRouteType.DELETE]: {},
20
+ * },
21
+ * })
22
+ * export class UserController {}
23
+ * ```
7
24
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/api-reference/decorators#apicontroller | API Reference - ApiController}
8
25
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/core-concepts/controllers | Core Concepts - Controllers}
9
26
  */
@@ -4,7 +4,24 @@ var controller_factory = require('../../../factory/api/controller.factory.js');
4
4
 
5
5
  /**
6
6
  * Automatically generates CRUD endpoints for an entity.
7
- *
7
+ * @param {IApiControllerProperties<E>} options - The controller properties
8
+ * @returns {TApiControllerConstructor} The controller constructor
9
+ * @template E - The entity type
10
+ * @example
11
+ * ```typescript
12
+ * @ApiController<UserEntity>({
13
+ * entity: UserEntity,
14
+ * name: "Users",
15
+ * routes: {
16
+ * [EApiRouteType.CREATE]: {},
17
+ * [EApiRouteType.GET]: {},
18
+ * [EApiRouteType.GET_LIST]: {},
19
+ * [EApiRouteType.UPDATE]: {},
20
+ * [EApiRouteType.DELETE]: {},
21
+ * },
22
+ * })
23
+ * export class UserController {}
24
+ * ```
8
25
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/api-reference/decorators#apicontroller | API Reference - ApiController}
9
26
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/core-concepts/controllers | Core Concepts - Controllers}
10
27
  */
@@ -1 +1 @@
1
- {"version":3,"file":"decorator.js","sources":["../../../../../../src/decorator/api/controller/decorator.ts"],"sourcesContent":[null],"names":["ApiControllerFactory"],"mappings":";;;;AAMA;;;;;AAKG;AACI,MAAM,aAAa,GACzB,CAA2B,OAAoC,KAC/D,CAAsC,MAAS,KAAO;IACrD,MAAM,OAAO,GAA4B,IAAIA,uCAAoB,CAAI,MAAM,EAAE,OAAO,CAAC;IACrF,OAAO,CAAC,IAAI,EAAE;;AAGd,IAAA,MAAM,mBAAmB,GAA2D,cAAc,MAAM,CAAA;;AAEvG,QAAA,WAAA,CAAY,GAAG,UAAe,EAAA;;AAE7B,YAAA,KAAK,CAAC,GAAG,UAAU,CAAC;QACrB;KACA;AACD,IAAA,MAAM,CAAC,cAAc,CAAC,mBAAmB,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC;AAE1E,IAAA,OAAO,mBAAwB;AAChC;;;;"}
1
+ {"version":3,"file":"decorator.js","sources":["../../../../../../src/decorator/api/controller/decorator.ts"],"sourcesContent":[null],"names":["ApiControllerFactory"],"mappings":";;;;AAMA;;;;;;;;;;;;;;;;;;;;;;AAsBG;AACI,MAAM,aAAa,GACzB,CAA2B,OAAoC,KAC/D,CAAsC,MAAS,KAAO;IACrD,MAAM,OAAO,GAA4B,IAAIA,uCAAoB,CAAI,MAAM,EAAE,OAAO,CAAC;IACrF,OAAO,CAAC,IAAI,EAAE;;AAGd,IAAA,MAAM,mBAAmB,GAA2D,cAAc,MAAM,CAAA;;AAEvG,QAAA,WAAA,CAAY,GAAG,UAAe,EAAA;;AAE7B,YAAA,KAAK,CAAC,GAAG,UAAU,CAAC;QACrB;KACA;AACD,IAAA,MAAM,CAAC,cAAc,CAAC,mBAAmB,EAAE,MAAM,EAAE,EAAE,KAAK,EAAE,MAAM,CAAC,IAAI,EAAE,CAAC;AAE1E,IAAA,OAAO,mBAAwB;AAChC;;;;"}
@@ -79,7 +79,6 @@ import type { TApiPropertyDescribeProperties } from '../../../type/decorator/api
79
79
  * })
80
80
  * posts: Post[];
81
81
  * ```
82
- *
83
82
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/api-reference/decorators#apipropertydescribe | API Reference - ApiPropertyDescribe}
84
83
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/core-concepts/entities | Core Concepts - Entities}
85
84
  */
@@ -84,7 +84,6 @@ var propertyDescribe_constant = require('../../../constant/decorator/api/propert
84
84
  * })
85
85
  * posts: Post[];
86
86
  * ```
87
- *
88
87
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/api-reference/decorators#apipropertydescribe | API Reference - ApiPropertyDescribe}
89
88
  * @see {@link https://elsikora.com/docs/nestjs-crud-automator/core-concepts/entities | Core Concepts - Entities}
90
89
  */
@@ -1 +1 @@
1
- {"version":3,"file":"describe.decorator.js","sources":["../../../../../../src/decorator/api/property/describe.decorator.ts"],"sourcesContent":[null],"names":["MetadataStorage","PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT"],"mappings":";;;;;;AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmFG;AACG,SAAU,mBAAmB,CAAC,UAA0C,EAAA;AAC7E,IAAA,OAAO,CAAC,MAA8B,EAAE,WAA4B,KAAU;AAC7E,QAAA,MAAM,UAAU,GAAW,MAAM,CAAC,WAAW,CAAC,IAAI;AAClD,QAAAA,qCAAe,CAAC,WAAW,EAAE,CAAC,WAAW,CAAC,UAAU,EAAE,WAAW,EAAEC,kEAAwC,CAAC,YAAY,EAAE,UAAU,CAAC;AACtI,IAAA,CAAC;AACF;;;;"}
1
+ {"version":3,"file":"describe.decorator.js","sources":["../../../../../../src/decorator/api/property/describe.decorator.ts"],"sourcesContent":[null],"names":["MetadataStorage","PROPERTY_DESCRIBE_DECORATOR_API_CONSTANT"],"mappings":";;;;;;AAKA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkFG;AACG,SAAU,mBAAmB,CAAC,UAA0C,EAAA;AAC7E,IAAA,OAAO,CAAC,MAA8B,EAAE,WAA4B,KAAU;AAC7E,QAAA,MAAM,UAAU,GAAW,MAAM,CAAC,WAAW,CAAC,IAAI;AAClD,QAAAA,qCAAe,CAAC,WAAW,EAAE,CAAC,WAAW,CAAC,UAAU,EAAE,WAAW,EAAEC,kEAAwC,CAAC,YAAY,EAAE,UAAU,CAAC;AACtI,IAAA,CAAC;AACF;;;;"}