@nest-omni/core 1.0.10 → 1.0.11

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 (172) hide show
  1. package/package.json +19 -5
  2. package/dist/boilerplate.polyfill.d.ts +0 -39
  3. package/dist/boilerplate.polyfill.js +0 -77
  4. package/dist/index.d.ts +0 -13
  5. package/dist/snake-naming.strategy.d.ts +0 -11
  6. package/dist/snake-naming.strategy.js +0 -37
  7. package/dist/tsconfig.tsbuildinfo +0 -1
  8. package/dist/types.d.ts +0 -9
  9. package/dist/types.js +0 -2
  10. /package/{dist/common → common}/abstract-client.service.d.ts +0 -0
  11. /package/{dist/common → common}/abstract-client.service.js +0 -0
  12. /package/{dist/common → common}/abstract.entity.d.ts +0 -0
  13. /package/{dist/common → common}/abstract.entity.js +0 -0
  14. /package/{dist/common → common}/dto/abstract.dto.d.ts +0 -0
  15. /package/{dist/common → common}/dto/abstract.dto.js +0 -0
  16. /package/{dist/common → common}/dto/bulk-id.dto.d.ts +0 -0
  17. /package/{dist/common → common}/dto/bulk-id.dto.js +0 -0
  18. /package/{dist/common → common}/dto/create-translation.dto.d.ts +0 -0
  19. /package/{dist/common → common}/dto/create-translation.dto.js +0 -0
  20. /package/{dist/common → common}/dto/index.d.ts +0 -0
  21. /package/{dist/common → common}/dto/index.js +0 -0
  22. /package/{dist/common → common}/dto/page-meta.dto.d.ts +0 -0
  23. /package/{dist/common → common}/dto/page-meta.dto.js +0 -0
  24. /package/{dist/common → common}/dto/page-options.dto.d.ts +0 -0
  25. /package/{dist/common → common}/dto/page-options.dto.js +0 -0
  26. /package/{dist/common → common}/dto/page.dto.d.ts +0 -0
  27. /package/{dist/common → common}/dto/page.dto.js +0 -0
  28. /package/{dist/common → common}/index.d.ts +0 -0
  29. /package/{dist/common → common}/index.js +0 -0
  30. /package/{dist/common → common}/utils.d.ts +0 -0
  31. /package/{dist/common → common}/utils.js +0 -0
  32. /package/{dist/constants → constants}/index.d.ts +0 -0
  33. /package/{dist/constants → constants}/index.js +0 -0
  34. /package/{dist/constants → constants}/language-code.d.ts +0 -0
  35. /package/{dist/constants → constants}/language-code.js +0 -0
  36. /package/{dist/constants → constants}/order.d.ts +0 -0
  37. /package/{dist/constants → constants}/order.js +0 -0
  38. /package/{dist/decorators → decorators}/api-page-ok-response.decorator.d.ts +0 -0
  39. /package/{dist/decorators → decorators}/api-page-ok-response.decorator.js +0 -0
  40. /package/{dist/decorators → decorators}/auth-user.decorator.d.ts +0 -0
  41. /package/{dist/decorators → decorators}/auth-user.decorator.js +0 -0
  42. /package/{dist/decorators → decorators}/controller.decorator.d.ts +0 -0
  43. /package/{dist/decorators → decorators}/controller.decorator.js +0 -0
  44. /package/{dist/decorators → decorators}/field.decorators.d.ts +0 -0
  45. /package/{dist/decorators → decorators}/field.decorators.js +0 -0
  46. /package/{dist/decorators → decorators}/http.decorators.d.ts +0 -0
  47. /package/{dist/decorators → decorators}/http.decorators.js +0 -0
  48. /package/{dist/decorators → decorators}/index.d.ts +0 -0
  49. /package/{dist/decorators → decorators}/index.js +0 -0
  50. /package/{dist/decorators → decorators}/omni-auth.decorator.d.ts +0 -0
  51. /package/{dist/decorators → decorators}/omni-auth.decorator.js +0 -0
  52. /package/{dist/decorators → decorators}/operation.decorator.d.ts +0 -0
  53. /package/{dist/decorators → decorators}/operation.decorator.js +0 -0
  54. /package/{dist/decorators → decorators}/property.decorators.d.ts +0 -0
  55. /package/{dist/decorators → decorators}/property.decorators.js +0 -0
  56. /package/{dist/decorators → decorators}/public-route.decorator.d.ts +0 -0
  57. /package/{dist/decorators → decorators}/public-route.decorator.js +0 -0
  58. /package/{dist/decorators → decorators}/swagger.schema.d.ts +0 -0
  59. /package/{dist/decorators → decorators}/swagger.schema.js +0 -0
  60. /package/{dist/decorators → decorators}/timestamp-column.decorator.d.ts +0 -0
  61. /package/{dist/decorators → decorators}/timestamp-column.decorator.js +0 -0
  62. /package/{dist/decorators → decorators}/transform.decorators.d.ts +0 -0
  63. /package/{dist/decorators → decorators}/transform.decorators.js +0 -0
  64. /package/{dist/decorators → decorators}/translate.decorator.d.ts +0 -0
  65. /package/{dist/decorators → decorators}/translate.decorator.js +0 -0
  66. /package/{dist/decorators → decorators}/use-dto.decorator.d.ts +0 -0
  67. /package/{dist/decorators → decorators}/use-dto.decorator.js +0 -0
  68. /package/{dist/decorators → decorators}/user-check.decorator.d.ts +0 -0
  69. /package/{dist/decorators → decorators}/user-check.decorator.js +0 -0
  70. /package/{dist/decorators → decorators}/user.decorator.d.ts +0 -0
  71. /package/{dist/decorators → decorators}/user.decorator.js +0 -0
  72. /package/{dist/decorators → decorators}/user_auth.decorator.d.ts +0 -0
  73. /package/{dist/decorators → decorators}/user_auth.decorator.js +0 -0
  74. /package/{dist/decorators → decorators}/validator.decorators.d.ts +0 -0
  75. /package/{dist/decorators → decorators}/validator.decorators.js +0 -0
  76. /package/{dist/exceptions → exceptions}/file-not-image.exception.d.ts +0 -0
  77. /package/{dist/exceptions → exceptions}/file-not-image.exception.js +0 -0
  78. /package/{dist/exceptions → exceptions}/index.d.ts +0 -0
  79. /package/{dist/exceptions → exceptions}/index.js +0 -0
  80. /package/{dist/exceptions → exceptions}/page-type.exception.d.ts +0 -0
  81. /package/{dist/exceptions → exceptions}/page-type.exception.js +0 -0
  82. /package/{dist/exceptions → exceptions}/user-not-found.exception.d.ts +0 -0
  83. /package/{dist/exceptions → exceptions}/user-not-found.exception.js +0 -0
  84. /package/{dist/filters → filters}/bad-request.filter.d.ts +0 -0
  85. /package/{dist/filters → filters}/bad-request.filter.js +0 -0
  86. /package/{dist/filters → filters}/constraint-errors.d.ts +0 -0
  87. /package/{dist/filters → filters}/constraint-errors.js +0 -0
  88. /package/{dist/filters → filters}/index.d.ts +0 -0
  89. /package/{dist/filters → filters}/index.js +0 -0
  90. /package/{dist/filters → filters}/query-failed.filter.d.ts +0 -0
  91. /package/{dist/filters → filters}/query-failed.filter.js +0 -0
  92. /package/{dist/health-checker → health-checker}/health-checker.controller.d.ts +0 -0
  93. /package/{dist/health-checker → health-checker}/health-checker.controller.js +0 -0
  94. /package/{dist/health-checker → health-checker}/health-checker.module.d.ts +0 -0
  95. /package/{dist/health-checker → health-checker}/health-checker.module.js +0 -0
  96. /package/{dist/health-checker → health-checker}/health-indicators/service.indicator.d.ts +0 -0
  97. /package/{dist/health-checker → health-checker}/health-indicators/service.indicator.js +0 -0
  98. /package/{dist/helpers → helpers}/common.helper.d.ts +0 -0
  99. /package/{dist/helpers → helpers}/common.helper.js +0 -0
  100. /package/{dist/helpers → helpers}/date.helper.d.ts +0 -0
  101. /package/{dist/helpers → helpers}/date.helper.js +0 -0
  102. /package/{dist/helpers → helpers}/index.d.ts +0 -0
  103. /package/{dist/helpers → helpers}/index.js +0 -0
  104. /package/{dist/i18n → i18n}/en_US/validation.json +0 -0
  105. /package/{dist/i18n → i18n}/zh_CN/validation.json +0 -0
  106. /package/{dist/index.js → index.js} +0 -0
  107. /package/{dist/interceptors → interceptors}/auth-user.interceptor.d.ts +0 -0
  108. /package/{dist/interceptors → interceptors}/auth-user.interceptor.js +0 -0
  109. /package/{dist/interceptors → interceptors}/index.d.ts +0 -0
  110. /package/{dist/interceptors → interceptors}/index.js +0 -0
  111. /package/{dist/interceptors → interceptors}/language-interceptor.service.d.ts +0 -0
  112. /package/{dist/interceptors → interceptors}/language-interceptor.service.js +0 -0
  113. /package/{dist/interceptors → interceptors}/translation-interceptor.service.d.ts +0 -0
  114. /package/{dist/interceptors → interceptors}/translation-interceptor.service.js +0 -0
  115. /package/{dist/interfaces → interfaces}/IApiFile.d.ts +0 -0
  116. /package/{dist/interfaces → interfaces}/IApiFile.js +0 -0
  117. /package/{dist/interfaces → interfaces}/IFile.d.ts +0 -0
  118. /package/{dist/interfaces → interfaces}/IFile.js +0 -0
  119. /package/{dist/interfaces → interfaces}/ITranslationDecoratorInterface.d.ts +0 -0
  120. /package/{dist/interfaces → interfaces}/ITranslationDecoratorInterface.js +0 -0
  121. /package/{dist/interfaces → interfaces}/index.d.ts +0 -0
  122. /package/{dist/interfaces → interfaces}/index.js +0 -0
  123. /package/{dist/interfaces → interfaces}/response.d.ts +0 -0
  124. /package/{dist/interfaces → interfaces}/response.js +0 -0
  125. /package/{dist/middlewares → middlewares}/index.d.ts +0 -0
  126. /package/{dist/middlewares → middlewares}/index.js +0 -0
  127. /package/{dist/middlewares → middlewares}/omni-auth.middleware.d.ts +0 -0
  128. /package/{dist/middlewares → middlewares}/omni-auth.middleware.js +0 -0
  129. /package/{dist/middlewares → middlewares}/powerby.middleware.d.ts +0 -0
  130. /package/{dist/middlewares → middlewares}/powerby.middleware.js +0 -0
  131. /package/{dist/middlewares → middlewares}/request-id.middleware.d.ts +0 -0
  132. /package/{dist/middlewares → middlewares}/request-id.middleware.js +0 -0
  133. /package/{dist/providers → providers}/context.provider.d.ts +0 -0
  134. /package/{dist/providers → providers}/context.provider.js +0 -0
  135. /package/{dist/providers → providers}/generator.provider.d.ts +0 -0
  136. /package/{dist/providers → providers}/generator.provider.js +0 -0
  137. /package/{dist/providers → providers}/index.d.ts +0 -0
  138. /package/{dist/providers → providers}/index.js +0 -0
  139. /package/{dist/setup → setup}/bootstrap.setup.d.ts +0 -0
  140. /package/{dist/setup → setup}/bootstrap.setup.js +0 -0
  141. /package/{dist/setup → setup}/index.d.ts +0 -0
  142. /package/{dist/setup → setup}/index.js +0 -0
  143. /package/{dist/shared → shared}/index.d.ts +0 -0
  144. /package/{dist/shared → shared}/index.js +0 -0
  145. /package/{dist/shared → shared}/serviceRegistryModule.d.ts +0 -0
  146. /package/{dist/shared → shared}/serviceRegistryModule.js +0 -0
  147. /package/{dist/shared → shared}/services/api-config.service.d.ts +0 -0
  148. /package/{dist/shared → shared}/services/api-config.service.js +0 -0
  149. /package/{dist/shared → shared}/services/aws-s3.service.d.ts +0 -0
  150. /package/{dist/shared → shared}/services/aws-s3.service.js +0 -0
  151. /package/{dist/shared → shared}/services/generator.service.d.ts +0 -0
  152. /package/{dist/shared → shared}/services/generator.service.js +0 -0
  153. /package/{dist/shared → shared}/services/index.d.ts +0 -0
  154. /package/{dist/shared → shared}/services/index.js +0 -0
  155. /package/{dist/shared → shared}/services/translation.service.d.ts +0 -0
  156. /package/{dist/shared → shared}/services/translation.service.js +0 -0
  157. /package/{dist/shared → shared}/services/validator.service.d.ts +0 -0
  158. /package/{dist/shared → shared}/services/validator.service.js +0 -0
  159. /package/{dist/validators → validators}/file-mimetype.validator.d.ts +0 -0
  160. /package/{dist/validators → validators}/file-mimetype.validator.js +0 -0
  161. /package/{dist/validators → validators}/index.d.ts +0 -0
  162. /package/{dist/validators → validators}/index.js +0 -0
  163. /package/{dist/validators → validators}/is-exists.validator.d.ts +0 -0
  164. /package/{dist/validators → validators}/is-exists.validator.js +0 -0
  165. /package/{dist/validators → validators}/is-unique.validator.d.ts +0 -0
  166. /package/{dist/validators → validators}/is-unique.validator.js +0 -0
  167. /package/{dist/validators → validators}/phone-country-code.validator.d.ts +0 -0
  168. /package/{dist/validators → validators}/phone-country-code.validator.js +0 -0
  169. /package/{dist/validators → validators}/same-as.validator.d.ts +0 -0
  170. /package/{dist/validators → validators}/same-as.validator.js +0 -0
  171. /package/{dist/validators → validators}/skip-empty.validator.d.ts +0 -0
  172. /package/{dist/validators → validators}/skip-empty.validator.js +0 -0
package/dist/types.d.ts DELETED
@@ -1,9 +0,0 @@
1
- export type Constructor<T, Arguments extends unknown[] = undefined[]> = new (...arguments_: Arguments) => T;
2
- export type Plain<T> = T;
3
- export type PathImpl<T, Key extends keyof T> = Key extends string ? T[Key] extends Record<string, any> ? `${Key}.${PathImpl<T[Key], Exclude<keyof T[Key], keyof any[]>> & string}` | `${Key}.${Exclude<keyof T[Key], keyof any[]> & string}` : never : never;
4
- export type PathImpl2<T> = PathImpl<T, keyof T> | keyof T;
5
- export type Path<T> = keyof T extends string ? PathImpl2<T> extends string | keyof T ? PathImpl2<T> : keyof T : never;
6
- export type PathValue<T, P extends Path<T>> = P extends `${infer Key}.${infer Rest}` ? Key extends keyof T ? Rest extends Path<T[Key]> ? PathValue<T[Key], Rest> : never : never : P extends keyof T ? T[P] : never;
7
- export type KeyOfType<Entity, U> = {
8
- [P in keyof Required<Entity>]: Required<Entity>[P] extends U ? P : Required<Entity>[P] extends U[] ? P : never;
9
- }[keyof Entity];
package/dist/types.js DELETED
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes