@merkaly/api 0.1.9 → 0.1.10-10

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 (204) hide show
  1. package/package.json +13 -11
  2. package/src/account/connections/connection.validator.d.ts +9 -0
  3. package/src/account/connections/connection.validator.d.ts.map +1 -0
  4. package/src/account/connections/connection.validator.ts +16 -0
  5. package/src/account/connections/index.d.ts +5 -0
  6. package/src/account/connections/index.d.ts.map +1 -0
  7. package/src/account/connections/index.ts +5 -0
  8. package/src/account/index.d.ts +9 -0
  9. package/src/account/index.d.ts.map +1 -0
  10. package/src/account/index.ts +9 -0
  11. package/src/account/organizations/connections/connection.validator.d.ts +9 -0
  12. package/src/account/organizations/connections/connection.validator.d.ts.map +1 -0
  13. package/src/account/organizations/connections/connection.validator.ts +15 -0
  14. package/src/account/organizations/connections/index.d.ts +5 -0
  15. package/src/account/organizations/connections/index.d.ts.map +1 -0
  16. package/src/account/organizations/connections/index.ts +6 -0
  17. package/src/account/organizations/index.d.ts +9 -0
  18. package/src/account/organizations/index.d.ts.map +1 -0
  19. package/src/account/organizations/index.ts +9 -0
  20. package/src/account/organizations/members/index.d.ts +5 -0
  21. package/src/account/organizations/members/index.d.ts.map +1 -0
  22. package/src/account/organizations/members/index.ts +6 -0
  23. package/src/account/organizations/organization.validator.d.ts +3 -0
  24. package/src/account/organizations/organization.validator.d.ts.map +1 -1
  25. package/src/account/organizations/organization.validator.ts +6 -1
  26. package/src/account/roles/index.d.ts +7 -0
  27. package/src/account/roles/index.d.ts.map +1 -0
  28. package/src/account/roles/index.ts +7 -0
  29. package/src/account/roles/role.validator.d.ts +3 -0
  30. package/src/account/roles/role.validator.d.ts.map +1 -1
  31. package/src/account/roles/role.validator.ts +6 -0
  32. package/src/account/roles/users/index.d.ts +5 -0
  33. package/src/account/roles/users/index.d.ts.map +1 -0
  34. package/src/account/roles/users/index.ts +5 -0
  35. package/src/account/users/extra/extra.validator.d.ts +1 -0
  36. package/src/account/users/extra/extra.validator.d.ts.map +1 -0
  37. package/src/account/users/extra/extra.validator.ts +0 -0
  38. package/src/account/users/index.d.ts +7 -0
  39. package/src/account/users/index.d.ts.map +1 -0
  40. package/src/account/users/index.ts +7 -0
  41. package/src/account/users/roles/index.d.ts +5 -0
  42. package/src/account/users/roles/index.d.ts.map +1 -0
  43. package/src/account/users/roles/index.ts +5 -0
  44. package/src/account/users/user.validator.d.ts +6 -2
  45. package/src/account/users/user.validator.d.ts.map +1 -1
  46. package/src/account/users/user.validator.ts +10 -2
  47. package/src/app.entity.d.ts +1 -1
  48. package/src/app.entity.d.ts.map +1 -1
  49. package/src/app.entity.ts +1 -1
  50. package/src/index.d.ts +3 -0
  51. package/src/index.d.ts.map +1 -0
  52. package/src/index.ts +3 -0
  53. package/src/inventory/brands/brand.entity.d.ts +1 -1
  54. package/src/inventory/brands/brand.entity.d.ts.map +1 -1
  55. package/src/inventory/brands/brand.entity.ts +1 -1
  56. package/src/inventory/brands/brand.validator.d.ts +3 -0
  57. package/src/inventory/brands/brand.validator.d.ts.map +1 -1
  58. package/src/inventory/brands/brand.validator.ts +5 -0
  59. package/src/inventory/categories/category.entity.d.ts +1 -1
  60. package/src/inventory/categories/category.entity.d.ts.map +1 -1
  61. package/src/inventory/categories/category.entity.ts +1 -1
  62. package/src/inventory/categories/category.validator.d.ts +3 -0
  63. package/src/inventory/categories/category.validator.d.ts.map +1 -1
  64. package/src/inventory/categories/category.validator.ts +5 -0
  65. package/src/inventory/products/media/media.entity.d.ts +1 -1
  66. package/src/inventory/products/media/media.entity.d.ts.map +1 -1
  67. package/src/inventory/products/media/media.entity.ts +1 -1
  68. package/src/inventory/products/media/media.validator.d.ts +1 -0
  69. package/src/inventory/products/media/media.validator.d.ts.map +1 -1
  70. package/src/inventory/products/media/media.validator.ts +2 -0
  71. package/src/inventory/products/product.entity.d.ts +1 -1
  72. package/src/inventory/products/product.entity.d.ts.map +1 -1
  73. package/src/inventory/products/product.entity.ts +2 -2
  74. package/src/inventory/products/product.validator.d.ts +3 -0
  75. package/src/inventory/products/product.validator.d.ts.map +1 -1
  76. package/src/inventory/products/product.validator.ts +6 -0
  77. package/src/inventory/products/variants/variant.entity.d.ts +1 -1
  78. package/src/inventory/products/variants/variant.entity.d.ts.map +1 -1
  79. package/src/inventory/products/variants/variant.entity.ts +1 -1
  80. package/src/inventory/products/variants/variant.validator.d.ts +3 -2
  81. package/src/inventory/products/variants/variant.validator.d.ts.map +1 -1
  82. package/src/inventory/products/variants/variant.validator.ts +4 -2
  83. package/src/inventory/properties/property.entity.d.ts +1 -1
  84. package/src/inventory/properties/property.entity.d.ts.map +1 -1
  85. package/src/inventory/properties/property.entity.ts +1 -1
  86. package/src/inventory/properties/property.validator.d.ts +3 -0
  87. package/src/inventory/properties/property.validator.d.ts.map +1 -1
  88. package/src/inventory/properties/property.validator.ts +6 -0
  89. package/src/store/carts/cart.entity.d.ts +1 -1
  90. package/src/store/carts/cart.entity.d.ts.map +1 -1
  91. package/src/store/carts/cart.entity.ts +1 -1
  92. package/src/store/carts/cart.validator.d.ts +5 -0
  93. package/src/store/carts/cart.validator.d.ts.map +1 -1
  94. package/src/store/carts/cart.validator.ts +8 -2
  95. package/src/store/orders/items/item.entity.d.ts +1 -1
  96. package/src/store/orders/items/item.entity.d.ts.map +1 -1
  97. package/src/store/orders/items/item.entity.ts +1 -1
  98. package/src/store/orders/items/item.validator.d.ts +3 -2
  99. package/src/store/orders/items/item.validator.d.ts.map +1 -1
  100. package/src/store/orders/items/item.validator.ts +4 -2
  101. package/src/store/orders/order.entity.d.ts +2 -2
  102. package/src/store/orders/order.entity.d.ts.map +1 -1
  103. package/src/store/orders/order.entity.ts +2 -2
  104. package/src/store/orders/order.validator.d.ts +3 -0
  105. package/src/store/orders/order.validator.d.ts.map +1 -1
  106. package/src/store/orders/order.validator.ts +6 -0
  107. package/src/account/account.router.d.ts +0 -3
  108. package/src/account/account.router.d.ts.map +0 -1
  109. package/src/account/account.router.ts +0 -11
  110. package/src/account/organizations/members/member.entity.d.ts +0 -9
  111. package/src/account/organizations/members/member.entity.d.ts.map +0 -1
  112. package/src/account/organizations/members/member.entity.ts +0 -9
  113. package/src/account/organizations/members/member.router.d.ts +0 -3
  114. package/src/account/organizations/members/member.router.d.ts.map +0 -1
  115. package/src/account/organizations/members/member.router.ts +0 -7
  116. package/src/account/organizations/organization.entity.d.ts +0 -17
  117. package/src/account/organizations/organization.entity.d.ts.map +0 -1
  118. package/src/account/organizations/organization.entity.ts +0 -22
  119. package/src/account/organizations/organization.router.d.ts +0 -3
  120. package/src/account/organizations/organization.router.d.ts.map +0 -1
  121. package/src/account/organizations/organization.router.ts +0 -9
  122. package/src/account/roles/role.entity.d.ts +0 -7
  123. package/src/account/roles/role.entity.d.ts.map +0 -1
  124. package/src/account/roles/role.entity.ts +0 -7
  125. package/src/account/roles/role.router.d.ts +0 -3
  126. package/src/account/roles/role.router.d.ts.map +0 -1
  127. package/src/account/roles/role.router.ts +0 -9
  128. package/src/account/roles/users/user.entity.d.ts +0 -9
  129. package/src/account/roles/users/user.entity.d.ts.map +0 -1
  130. package/src/account/roles/users/user.entity.ts +0 -9
  131. package/src/account/roles/users/user.router.d.ts +0 -3
  132. package/src/account/roles/users/user.router.d.ts.map +0 -1
  133. package/src/account/roles/users/user.router.ts +0 -7
  134. package/src/account/users/roles/role.entity.d.ts +0 -9
  135. package/src/account/users/roles/role.entity.d.ts.map +0 -1
  136. package/src/account/users/roles/role.entity.ts +0 -9
  137. package/src/account/users/roles/role.router.d.ts +0 -3
  138. package/src/account/users/roles/role.router.d.ts.map +0 -1
  139. package/src/account/users/roles/role.router.ts +0 -7
  140. package/src/account/users/user.entity.d.ts +0 -32
  141. package/src/account/users/user.entity.d.ts.map +0 -1
  142. package/src/account/users/user.entity.ts +0 -34
  143. package/src/account/users/user.router.d.ts +0 -3
  144. package/src/account/users/user.router.d.ts.map +0 -1
  145. package/src/account/users/user.router.ts +0 -9
  146. package/src/app.config.d.ts +0 -27
  147. package/src/app.d.ts +0 -2
  148. package/src/app.d.ts.map +0 -1
  149. package/src/app.emitter.d.ts +0 -17
  150. package/src/app.emitter.d.ts.map +0 -1
  151. package/src/app.middleware.d.ts +0 -3
  152. package/src/app.middleware.d.ts.map +0 -1
  153. package/src/app.module.d.ts +0 -6
  154. package/src/app.repository.d.ts +0 -6
  155. package/src/app.router.d.ts +0 -5
  156. package/src/app.router.d.ts.map +0 -1
  157. package/src/auth/auth.decorator.d.ts +0 -5
  158. package/src/auth/auth.decorator.d.ts.map +0 -1
  159. package/src/auth/auth.decorator.ts +0 -10
  160. package/src/auth/auth.guard.d.ts +0 -16
  161. package/src/auth/auth.guard.d.ts.map +0 -1
  162. package/src/auth/auth.guard.ts +0 -41
  163. package/src/auth/auth.router.d.ts +0 -3
  164. package/src/auth/auth.router.d.ts.map +0 -1
  165. package/src/auth/auth.router.ts +0 -7
  166. package/src/auth/auth.strategy.d.ts +0 -18
  167. package/src/auth/auth.strategy.d.ts.map +0 -1
  168. package/src/auth/auth.strategy.ts +0 -31
  169. package/src/inventory/brands/brand.router.d.ts +0 -3
  170. package/src/inventory/brands/brand.router.d.ts.map +0 -1
  171. package/src/inventory/brands/brand.router.ts +0 -7
  172. package/src/inventory/categories/category.router.d.ts +0 -3
  173. package/src/inventory/categories/category.router.d.ts.map +0 -1
  174. package/src/inventory/categories/category.router.ts +0 -7
  175. package/src/inventory/inventory.router.d.ts +0 -3
  176. package/src/inventory/inventory.router.d.ts.map +0 -1
  177. package/src/inventory/inventory.router.ts +0 -12
  178. package/src/inventory/products/media/media.router.d.ts +0 -3
  179. package/src/inventory/products/media/media.router.d.ts.map +0 -1
  180. package/src/inventory/products/media/media.router.ts +0 -7
  181. package/src/inventory/products/product.router.d.ts +0 -3
  182. package/src/inventory/products/product.router.d.ts.map +0 -1
  183. package/src/inventory/products/product.router.ts +0 -10
  184. package/src/inventory/products/variants/variant.router.d.ts +0 -3
  185. package/src/inventory/products/variants/variant.router.d.ts.map +0 -1
  186. package/src/inventory/products/variants/variant.router.ts +0 -7
  187. package/src/inventory/properties/property.router.d.ts +0 -3
  188. package/src/inventory/properties/property.router.d.ts.map +0 -1
  189. package/src/inventory/properties/property.router.ts +0 -7
  190. package/src/store/carts/cart.router.d.ts +0 -6
  191. package/src/store/carts/cart.router.d.ts.map +0 -1
  192. package/src/store/carts/cart.router.ts +0 -10
  193. package/src/store/carts/index.d.ts +0 -3
  194. package/src/store/carts/index.d.ts.map +0 -1
  195. package/src/store/carts/index.ts +0 -2
  196. package/src/store/orders/items/item.router.d.ts +0 -3
  197. package/src/store/orders/items/item.router.d.ts.map +0 -1
  198. package/src/store/orders/items/item.router.ts +0 -7
  199. package/src/store/orders/order.router.d.ts +0 -3
  200. package/src/store/orders/order.router.d.ts.map +0 -1
  201. package/src/store/orders/order.router.ts +0 -9
  202. package/src/store/store.router.d.ts +0 -3
  203. package/src/store/store.router.d.ts.map +0 -1
  204. package/src/store/store.router.ts +0 -10
@@ -1 +1 @@
1
- {"version":3,"file":"media.validator.d.ts","sourceRoot":"","sources":["media.validator.ts"],"names":[],"mappings":"AAAA,qBAAa,oBAAoB;CAEhC;AAED,qBAAa,oBAAoB;CAEhC"}
1
+ {"version":3,"file":"media.validator.d.ts","sourceRoot":"","sources":["media.validator.ts"],"names":[],"mappings":"AAAA,qBAAa,oBAAoB;CAEhC;AAED,oBAAY,gBAAgB,GAAG,MAAM,CAAA;AAErC,qBAAa,oBAAoB;CAEhC"}
@@ -2,6 +2,8 @@ export class CreateMediaValidator {
2
2
 
3
3
  }
4
4
 
5
+ export type IdMediaValidator = string
6
+
5
7
  export class UpdateMediaValidator {
6
8
 
7
9
  }
@@ -1,5 +1,5 @@
1
1
  import { ISubCollection } from 'fireorm';
2
- import AppEntity from '../../app.entity';
2
+ import { AppEntity } from '../../app.entity';
3
3
  import { BrandEntity } from '../brands/brand.entity';
4
4
  import { CategoryEntity } from '../categories/category.entity';
5
5
  import { MediaEntity } from './media/media.entity';
@@ -1 +1 @@
1
- {"version":3,"file":"product.entity.d.ts","sourceRoot":"","sources":["product.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,cAAc,EAAuB,MAAM,SAAS,CAAA;AACzE,OAAO,SAAS,MAAM,kBAAkB,CAAA;AACxC,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,oBAAY,YAAY;IACtB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,QAAQ,aAAa;CACtB;AAED,oBAAY,cAAc;IACxB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AAED,qBACa,aAAc,SAAQ,SAAS;IAE1C,IAAI,EAAE,MAAM,CAAA;IAGZ,WAAW,EAAG,MAAM,CAAA;IAGpB,KAAK,EAAE,MAAM,CAAA;IAGb,IAAI,EAAE,YAAY,CAAwB;IAG1C,MAAM,EAAE,cAAc,CAAuB;IAG7C,aAAa,CAAC,EAAE,IAAI,CAAA;IAGpB,QAAQ,EAAE,MAAM,EAAE,CAAK;IAGvB,QAAQ,CAAC,EAAE,cAAc,CAAA;IAGzB,KAAK,EAAE,WAAW,CAAA;IAIlB,QAAQ,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAA;IAIxC,KAAK,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAA;CACpC"}
1
+ {"version":3,"file":"product.entity.d.ts","sourceRoot":"","sources":["product.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,cAAc,EAAuB,MAAM,SAAS,CAAA;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAA;AACpD,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAC9D,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAA;AAClD,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAA;AAEzD,oBAAY,YAAY;IACtB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,MAAM,WAAW;IACjB,IAAI,SAAS;IACb,QAAQ,aAAa;CACtB;AAED,oBAAY,cAAc;IACxB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,QAAQ,aAAa;CACtB;AAED,qBACa,aAAc,SAAQ,SAAS;IAE1C,IAAI,EAAE,MAAM,CAAA;IAGZ,WAAW,EAAE,MAAM,CAAA;IAGnB,KAAK,EAAE,MAAM,CAAA;IAGb,IAAI,EAAE,YAAY,CAAwB;IAG1C,MAAM,EAAE,cAAc,CAAuB;IAG7C,aAAa,CAAC,EAAE,IAAI,CAAA;IAGpB,QAAQ,EAAE,MAAM,EAAE,CAAK;IAGvB,QAAQ,CAAC,EAAE,cAAc,CAAA;IAGzB,KAAK,EAAE,WAAW,CAAA;IAIlB,QAAQ,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAA;IAIxC,KAAK,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAA;CACpC"}
@@ -1,6 +1,6 @@
1
1
  import { Transform } from 'class-transformer'
2
2
  import { Collection, ISubCollection, SubCollection, Type } from 'fireorm'
3
- import AppEntity from '../../app.entity'
3
+ import { AppEntity } from '../../app.entity'
4
4
  import { BrandEntity } from '../brands/brand.entity'
5
5
  import { CategoryEntity } from '../categories/category.entity'
6
6
  import { MediaEntity } from './media/media.entity'
@@ -26,7 +26,7 @@ export class ProductEntity extends AppEntity {
26
26
  name: string
27
27
 
28
28
  @Type(() => String)
29
- description!: string
29
+ description: string
30
30
 
31
31
  @Type(() => Number)
32
32
  price: number
@@ -1,4 +1,6 @@
1
1
  import { PRODUCT_STATUS, PRODUCT_UNIT } from './product.entity';
2
+ export declare class FindProductValidator {
3
+ }
2
4
  export declare class CreateProductValidator {
3
5
  name: string;
4
6
  price: number;
@@ -9,6 +11,7 @@ export declare class CreateProductValidator {
9
11
  status: PRODUCT_STATUS;
10
12
  hashtags: string[];
11
13
  }
14
+ export declare type IdProductValidator = string;
12
15
  export declare class UpdateProductValidator {
13
16
  name?: string;
14
17
  price?: number;
@@ -1 +1 @@
1
- {"version":3,"file":"product.validator.d.ts","sourceRoot":"","sources":["product.validator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAE/D,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAA;IAGZ,KAAK,EAAE,MAAM,CAAA;IAIb,WAAW,EAAG,MAAM,CAAA;IAIpB,QAAQ,EAAG,MAAM,CAAA;IAIjB,KAAK,EAAG,MAAM,CAAA;IAId,IAAI,EAAE,YAAY,CAAwB;IAI1C,MAAM,EAAE,cAAc,CAAuB;IAI7C,QAAQ,EAAE,MAAM,EAAE,CAAK;CACxB;AAED,qBAAa,sBAAsB;IAGjC,IAAI,CAAC,EAAE,MAAM,CAAA;IAIb,KAAK,CAAC,EAAE,MAAM,CAAA;IAId,WAAW,CAAC,EAAE,MAAM,CAAA;IAIpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IAIjB,KAAK,CAAC,EAAE,MAAM,CAAA;IAId,IAAI,EAAE,YAAY,CAAwB;IAI1C,MAAM,EAAE,cAAc,CAAuB;IAI7C,QAAQ,EAAE,MAAM,EAAE,CAAK;CAExB"}
1
+ {"version":3,"file":"product.validator.d.ts","sourceRoot":"","sources":["product.validator.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,cAAc,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAA;AAE/D,qBAAa,oBAAoB;CAEhC;AAED,qBAAa,sBAAsB;IAGjC,IAAI,EAAE,MAAM,CAAA;IAGZ,KAAK,EAAE,MAAM,CAAA;IAIb,WAAW,EAAG,MAAM,CAAA;IAIpB,QAAQ,EAAG,MAAM,CAAA;IAIjB,KAAK,EAAG,MAAM,CAAA;IAId,IAAI,EAAE,YAAY,CAAwB;IAI1C,MAAM,EAAE,cAAc,CAAuB;IAI7C,QAAQ,EAAE,MAAM,EAAE,CAAK;CACxB;AAED,oBAAY,kBAAkB,GAAG,MAAM,CAAA;AAEvC,qBAAa,sBAAsB;IAGjC,IAAI,CAAC,EAAE,MAAM,CAAA;IAIb,KAAK,CAAC,EAAE,MAAM,CAAA;IAId,WAAW,CAAC,EAAE,MAAM,CAAA;IAIpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IAIjB,KAAK,CAAC,EAAE,MAAM,CAAA;IAId,IAAI,EAAE,YAAY,CAAwB;IAI1C,MAAM,EAAE,cAAc,CAAuB;IAI7C,QAAQ,EAAE,MAAM,EAAE,CAAK;CAExB"}
@@ -1,6 +1,10 @@
1
1
  import { IsEnum, IsFirebasePushId, IsOptional, IsPositive, IsString } from 'class-validator'
2
2
  import { PRODUCT_STATUS, PRODUCT_UNIT } from './product.entity'
3
3
 
4
+ export class FindProductValidator {
5
+
6
+ }
7
+
4
8
  export class CreateProductValidator {
5
9
 
6
10
  @IsString()
@@ -34,6 +38,8 @@ export class CreateProductValidator {
34
38
  hashtags: string[] = []
35
39
  }
36
40
 
41
+ export type IdProductValidator = string
42
+
37
43
  export class UpdateProductValidator {
38
44
  @IsString()
39
45
  @IsOptional()
@@ -1,4 +1,4 @@
1
- import AppEntity from '../../../app.entity';
1
+ import { AppEntity } from '../../../app.entity';
2
2
  export declare class VariantEntity extends AppEntity {
3
3
  name: string;
4
4
  price: number;
@@ -1 +1 @@
1
- {"version":3,"file":"variant.entity.d.ts","sourceRoot":"","sources":["variant.entity.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,qBAAqB,CAAA;AAE3C,qBAAa,aAAc,SAAQ,SAAS;IAC1C,IAAI,EAAE,MAAM,CAAA;IAEZ,KAAK,EAAE,MAAM,CAAA;CACd"}
1
+ {"version":3,"file":"variant.entity.d.ts","sourceRoot":"","sources":["variant.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAE/C,qBAAa,aAAc,SAAQ,SAAS;IAC1C,IAAI,EAAE,MAAM,CAAA;IAEZ,KAAK,EAAE,MAAM,CAAA;CACd"}
@@ -1,4 +1,4 @@
1
- import AppEntity from '../../../app.entity'
1
+ import { AppEntity } from '../../../app.entity'
2
2
 
3
3
  export class VariantEntity extends AppEntity {
4
4
  name: string
@@ -1,5 +1,6 @@
1
- export declare class CreateProductVariantValidator {
1
+ export declare class CreateVariantValidator {
2
2
  }
3
- export declare class UpdateProductVariantValidator {
3
+ export declare type IdVariantValidator = string;
4
+ export declare class UpdateVariantValidator {
4
5
  }
5
6
  //# sourceMappingURL=variant.validator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"variant.validator.d.ts","sourceRoot":"","sources":["variant.validator.ts"],"names":[],"mappings":"AAAA,qBAAa,6BAA6B;CAEzC;AAED,qBAAa,6BAA6B;CAEzC"}
1
+ {"version":3,"file":"variant.validator.d.ts","sourceRoot":"","sources":["variant.validator.ts"],"names":[],"mappings":"AAAA,qBAAa,sBAAsB;CAElC;AAED,oBAAY,kBAAkB,GAAG,MAAM,CAAA;AAEvC,qBAAa,sBAAsB;CAElC"}
@@ -1,7 +1,9 @@
1
- export class CreateProductVariantValidator {
1
+ export class CreateVariantValidator {
2
2
 
3
3
  }
4
4
 
5
- export class UpdateProductVariantValidator {
5
+ export type IdVariantValidator = string
6
+
7
+ export class UpdateVariantValidator {
6
8
 
7
9
  }
@@ -1,4 +1,4 @@
1
- import AppEntity from '../../app.entity';
1
+ import { AppEntity } from '../../app.entity';
2
2
  import { CategoryEntity } from '../categories/category.entity';
3
3
  export declare class PropertyEntity extends AppEntity {
4
4
  name: string;
@@ -1 +1 @@
1
- {"version":3,"file":"property.entity.d.ts","sourceRoot":"","sources":["property.entity.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,kBAAkB,CAAA;AACxC,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAE9D,qBACa,cAAe,SAAQ,SAAS;IAE3C,IAAI,EAAE,MAAM,CAAA;IAGZ,MAAM,EAAE,MAAM,EAAE,CAAA;IAGhB,QAAQ,EAAE,cAAc,CAAA;CAEzB"}
1
+ {"version":3,"file":"property.entity.d.ts","sourceRoot":"","sources":["property.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAA;AAE9D,qBACa,cAAe,SAAQ,SAAS;IAE3C,IAAI,EAAE,MAAM,CAAA;IAGZ,MAAM,EAAE,MAAM,EAAE,CAAA;IAGhB,QAAQ,EAAE,cAAc,CAAA;CAEzB"}
@@ -1,5 +1,5 @@
1
1
  import { Collection, Type } from 'fireorm'
2
- import AppEntity from '../../app.entity'
2
+ import { AppEntity } from '../../app.entity'
3
3
  import { CategoryEntity } from '../categories/category.entity'
4
4
 
5
5
  @Collection('inventory-properties')
@@ -1,7 +1,10 @@
1
+ export declare class FindPropertyValidator {
2
+ }
1
3
  export declare class CreatePropertyValidator {
2
4
  name: string;
3
5
  values?: string[];
4
6
  }
7
+ export declare type IdPropertyValidator = string;
5
8
  export declare class UpdatePropertyValidator {
6
9
  name?: string;
7
10
  values?: string[];
@@ -1 +1 @@
1
- {"version":3,"file":"property.validator.d.ts","sourceRoot":"","sources":["property.validator.ts"],"names":[],"mappings":"AAEA,qBAAa,uBAAuB;IAElC,IAAI,EAAE,MAAM,CAAA;IAIZ,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,qBAAa,uBAAuB;IAGlC,IAAI,CAAC,EAAE,MAAM,CAAA;IAIb,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB"}
1
+ {"version":3,"file":"property.validator.d.ts","sourceRoot":"","sources":["property.validator.ts"],"names":[],"mappings":"AAEA,qBAAa,qBAAqB;CAEjC;AAED,qBAAa,uBAAuB;IAElC,IAAI,EAAE,MAAM,CAAA;IAIZ,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB;AAED,oBAAY,mBAAmB,GAAG,MAAM,CAAA;AAExC,qBAAa,uBAAuB;IAGlC,IAAI,CAAC,EAAE,MAAM,CAAA;IAIb,MAAM,CAAC,EAAE,MAAM,EAAE,CAAA;CAClB"}
@@ -1,5 +1,9 @@
1
1
  import { IsArray, IsOptional, IsString } from 'class-validator'
2
2
 
3
+ export class FindPropertyValidator {
4
+
5
+ }
6
+
3
7
  export class CreatePropertyValidator {
4
8
  @IsString()
5
9
  name: string
@@ -9,6 +13,8 @@ export class CreatePropertyValidator {
9
13
  values?: string[]
10
14
  }
11
15
 
16
+ export type IdPropertyValidator = string
17
+
12
18
  export class UpdatePropertyValidator {
13
19
  @IsString()
14
20
  @IsOptional()
@@ -1,4 +1,4 @@
1
- import AppEntity from '../../app.entity';
1
+ import { AppEntity } from '../../app.entity';
2
2
  import { ItemEntity } from '../orders/items/item.entity';
3
3
  export declare enum CART_STATUS {
4
4
  EMPTY = "EMPTY",
@@ -1 +1 @@
1
- {"version":3,"file":"cart.entity.d.ts","sourceRoot":"","sources":["cart.entity.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,kBAAkB,CAAA;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAExD,oBAAY,WAAW;IACrB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,SAAS,cAAc;CACxB;AAED,qBACa,UAAW,SAAQ,SAAS;IACvC,IAAI,EAAE,MAAM,CAAA;IAEZ,MAAM,EAAE,WAAW,CAAoB;IAEvC,KAAK,EAAE,UAAU,EAAE,CAAA;CACpB"}
1
+ {"version":3,"file":"cart.entity.d.ts","sourceRoot":"","sources":["cart.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAA;AAExD,oBAAY,WAAW;IACrB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,SAAS,cAAc;CACxB;AAED,qBACa,UAAW,SAAQ,SAAS;IACvC,IAAI,EAAE,MAAM,CAAA;IAEZ,MAAM,EAAE,WAAW,CAAoB;IAEvC,KAAK,EAAE,UAAU,EAAE,CAAA;CACpB"}
@@ -1,5 +1,5 @@
1
1
  import { Collection } from 'fireorm'
2
- import AppEntity from '../../app.entity'
2
+ import { AppEntity } from '../../app.entity'
3
3
  import { ItemEntity } from '../orders/items/item.entity'
4
4
 
5
5
  export enum CART_STATUS {
@@ -1,5 +1,10 @@
1
+ export declare class FindCartValidator {
2
+ }
1
3
  export declare class CreateCartValidator {
4
+ items: any[];
2
5
  }
6
+ export declare type IdCartValidator = string;
3
7
  export declare class UpdateCartValidator {
8
+ items: any[];
4
9
  }
5
10
  //# sourceMappingURL=cart.validator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"cart.validator.d.ts","sourceRoot":"","sources":["cart.validator.ts"],"names":[],"mappings":"AAAA,qBAAa,mBAAmB;CAE/B;AAED,qBAAa,mBAAmB;CAE/B"}
1
+ {"version":3,"file":"cart.validator.d.ts","sourceRoot":"","sources":["cart.validator.ts"],"names":[],"mappings":"AAAA,qBAAa,iBAAiB;CAE7B;AAED,qBAAa,mBAAmB;IAC9B,KAAK,EAAE,GAAG,EAAE,CAAA;CACb;AAED,oBAAY,eAAe,GAAG,MAAM,CAAA;AAEpC,qBAAa,mBAAmB;IAC9B,KAAK,EAAE,GAAG,EAAE,CAAA;CACb"}
@@ -1,7 +1,13 @@
1
- export class CreateCartValidator {
1
+ export class FindCartValidator {
2
2
 
3
3
  }
4
4
 
5
- export class UpdateCartValidator {
5
+ export class CreateCartValidator {
6
+ items: any[]
7
+ }
8
+
9
+ export type IdCartValidator = string
6
10
 
11
+ export class UpdateCartValidator {
12
+ items: any[]
7
13
  }
@@ -1,4 +1,4 @@
1
- import AppEntity from '../../../app.entity';
1
+ import { AppEntity } from '../../../app.entity';
2
2
  import { ProductEntity } from '../../../inventory/products/product.entity';
3
3
  export declare class ItemEntity extends AppEntity {
4
4
  quantity: number;
@@ -1 +1 @@
1
- {"version":3,"file":"item.entity.d.ts","sourceRoot":"","sources":["item.entity.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,qBAAqB,CAAA;AAC3C,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAA;AAE1E,qBAAa,UAAW,SAAQ,SAAS;IAEvC,QAAQ,EAAE,MAAM,CAAA;IAGhB,OAAO,EAAE,aAAa,CAAA;CACvB"}
1
+ {"version":3,"file":"item.entity.d.ts","sourceRoot":"","sources":["item.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,SAAS,EAAE,MAAM,qBAAqB,CAAA;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAA;AAE1E,qBAAa,UAAW,SAAQ,SAAS;IAEvC,QAAQ,EAAE,MAAM,CAAA;IAGhB,OAAO,EAAE,aAAa,CAAA;CACvB"}
@@ -1,5 +1,5 @@
1
1
  import { Type } from 'fireorm'
2
- import AppEntity from '../../../app.entity'
2
+ import { AppEntity } from '../../../app.entity'
3
3
  import { ProductEntity } from '../../../inventory/products/product.entity'
4
4
 
5
5
  export class ItemEntity extends AppEntity {
@@ -1,5 +1,6 @@
1
- export declare class CreateOrderItemValidator {
1
+ export declare class CreateItemValidator {
2
2
  }
3
- export declare class UpdateOrderItemValidator {
3
+ export declare type IdItemValidator = string;
4
+ export declare class UpdateItemValidator {
4
5
  }
5
6
  //# sourceMappingURL=item.validator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"item.validator.d.ts","sourceRoot":"","sources":["item.validator.ts"],"names":[],"mappings":"AAAA,qBAAa,wBAAwB;CAEpC;AAED,qBAAa,wBAAwB;CAEpC"}
1
+ {"version":3,"file":"item.validator.d.ts","sourceRoot":"","sources":["item.validator.ts"],"names":[],"mappings":"AAAA,qBAAa,mBAAmB;CAE/B;AAED,oBAAY,eAAe,GAAG,MAAM,CAAA;AAEpC,qBAAa,mBAAmB;CAE/B"}
@@ -1,7 +1,9 @@
1
- export class CreateOrderItemValidator {
1
+ export class CreateItemValidator {
2
2
 
3
3
  }
4
4
 
5
- export class UpdateOrderItemValidator {
5
+ export type IdItemValidator = string
6
+
7
+ export class UpdateItemValidator {
6
8
 
7
9
  }
@@ -1,6 +1,6 @@
1
1
  import { ISubCollection } from 'fireorm';
2
- import AppEntity from '../../app.entity';
3
- import { CartEntity } from '../carts';
2
+ import { AppEntity } from '../../app.entity';
3
+ import { CartEntity } from '../carts/cart.entity';
4
4
  import { ItemEntity } from './items/item.entity';
5
5
  export declare class OrderEntity extends AppEntity {
6
6
  number: string;
@@ -1 +1 @@
1
- {"version":3,"file":"order.entity.d.ts","sourceRoot":"","sources":["order.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,cAAc,EAAuB,MAAM,SAAS,CAAA;AACzE,OAAO,SAAS,MAAM,kBAAkB,CAAA;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,UAAU,CAAA;AACrC,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAEhD,qBACa,WAAY,SAAQ,SAAS;IAExC,MAAM,EAAE,MAAM,CAAA;IAGd,MAAM,EAAE,MAAM,CAAA;IAGd,KAAK,EAAE,MAAM,CAAA;IAGb,IAAI,EAAE,UAAU,CAAA;IAIhB,KAAK,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAA;CACnC"}
1
+ {"version":3,"file":"order.entity.d.ts","sourceRoot":"","sources":["order.entity.ts"],"names":[],"mappings":"AACA,OAAO,EAAc,cAAc,EAAuB,MAAM,SAAS,CAAA;AACzE,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAA;AAEhD,qBACa,WAAY,SAAQ,SAAS;IAExC,MAAM,EAAE,MAAM,CAAA;IAGd,MAAM,EAAE,MAAM,CAAA;IAGd,KAAK,EAAE,MAAM,CAAA;IAGb,IAAI,EAAE,UAAU,CAAA;IAIhB,KAAK,CAAC,EAAE,cAAc,CAAC,UAAU,CAAC,CAAA;CACnC"}
@@ -1,7 +1,7 @@
1
1
  import { Transform } from 'class-transformer'
2
2
  import { Collection, ISubCollection, SubCollection, Type } from 'fireorm'
3
- import AppEntity from '../../app.entity'
4
- import { CartEntity } from '../carts'
3
+ import { AppEntity } from '../../app.entity'
4
+ import { CartEntity } from '../carts/cart.entity'
5
5
  import { ItemEntity } from './items/item.entity'
6
6
 
7
7
  @Collection('store-orders')
@@ -1,5 +1,8 @@
1
+ export declare class FindOrderValidator {
2
+ }
1
3
  export declare class CreateOrderValidator {
2
4
  }
5
+ export declare type IdOrderValidator = string;
3
6
  export declare class UpdateOrderValidator {
4
7
  }
5
8
  //# sourceMappingURL=order.validator.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"order.validator.d.ts","sourceRoot":"","sources":["order.validator.ts"],"names":[],"mappings":"AAAA,qBAAa,oBAAoB;CAEhC;AAED,qBAAa,oBAAoB;CAEhC"}
1
+ {"version":3,"file":"order.validator.d.ts","sourceRoot":"","sources":["order.validator.ts"],"names":[],"mappings":"AAAA,qBAAa,kBAAkB;CAE9B;AAED,qBAAa,oBAAoB;CAEhC;AAED,oBAAY,gBAAgB,GAAG,MAAM,CAAA;AAErC,qBAAa,oBAAoB;CAEhC"}
@@ -1,7 +1,13 @@
1
+ export class FindOrderValidator {
2
+
3
+ }
4
+
1
5
  export class CreateOrderValidator {
2
6
 
3
7
  }
4
8
 
9
+ export type IdOrderValidator = string
10
+
5
11
  export class UpdateOrderValidator {
6
12
 
7
13
  }
@@ -1,3 +0,0 @@
1
- declare const _default: import("@nestjs/core").RouteTree;
2
- export default _default;
3
- //# sourceMappingURL=account.router.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"account.router.d.ts","sourceRoot":"","sources":["account.router.ts"],"names":[],"mappings":";AAMA,wBAIE"}
@@ -1,11 +0,0 @@
1
- import { useRoute } from '../app.router'
2
- import AccountModule from './account.module'
3
- import OrganizationRouter from './organizations/organization.router'
4
- import RoleRouter from './roles/role.router'
5
- import UserRouter from './users/user.router'
6
-
7
- export default useRoute({
8
- path: '/account',
9
- module: AccountModule,
10
- children: [OrganizationRouter, RoleRouter, UserRouter]
11
- })
@@ -1,9 +0,0 @@
1
- import AppEntity from '../../../app.entity';
2
- import { UserEntity } from '../../users/user.entity';
3
- export declare class OrganizationMemberEntity extends AppEntity implements Pick<UserEntity, 'user_id' | 'email' | 'name' | 'picture'> {
4
- user_id: string;
5
- email: string;
6
- name: string;
7
- picture: string;
8
- }
9
- //# sourceMappingURL=member.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"member.entity.d.ts","sourceRoot":"","sources":["member.entity.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,qBAAqB,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAEpD,qBAAa,wBAAyB,SAAQ,SAAU,YAAW,IAAI,CAAC,UAAU,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;IACpH,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CACvB"}
@@ -1,9 +0,0 @@
1
- import AppEntity from '../../../app.entity'
2
- import { UserEntity } from '../../users/user.entity'
3
-
4
- export class OrganizationMemberEntity extends AppEntity implements Pick<UserEntity, 'user_id' | 'email' | 'name' | 'picture'> {
5
- public user_id: string
6
- public email: string
7
- public name: string
8
- public picture: string
9
- }
@@ -1,3 +0,0 @@
1
- declare const _default: import("@nestjs/core").RouteTree;
2
- export default _default;
3
- //# sourceMappingURL=member.router.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"member.router.d.ts","sourceRoot":"","sources":["member.router.ts"],"names":[],"mappings":";AAGA,wBAGE"}
@@ -1,7 +0,0 @@
1
- import { useRoute } from '../../../app.router'
2
- import MemberModule from './member.module'
3
-
4
- export default useRoute({
5
- path: '/:orgID/members',
6
- module: MemberModule
7
- })
@@ -1,17 +0,0 @@
1
- import { Organization } from 'auth0';
2
- import AppEntity from '../../app.entity';
3
- export interface OrganizationBrandingColors {
4
- page_background: string;
5
- primary: string;
6
- }
7
- export interface OrganizationBranding {
8
- logo_url: string;
9
- colors: OrganizationBrandingColors;
10
- }
11
- export declare class OrganizationEntity extends AppEntity implements Organization {
12
- name: string;
13
- display_name: string;
14
- branding: OrganizationBranding;
15
- metadata: Record<string, string>;
16
- }
17
- //# sourceMappingURL=organization.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"organization.entity.d.ts","sourceRoot":"","sources":["organization.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AACpC,OAAO,SAAS,MAAM,kBAAkB,CAAA;AAExC,MAAM,WAAW,0BAA0B;IACzC,eAAe,EAAE,MAAM,CAAA;IACvB,OAAO,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,oBAAoB;IACnC,QAAQ,EAAE,MAAM,CAAA;IAChB,MAAM,EAAE,0BAA0B,CAAA;CACnC;AAED,qBAAa,kBAAmB,SAAQ,SAAU,YAAW,YAAY;IAChE,IAAI,EAAE,MAAM,CAAA;IAEZ,YAAY,EAAE,MAAM,CAAA;IAEpB,QAAQ,EAAE,oBAAoB,CAAA;IAE9B,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACxC"}
@@ -1,22 +0,0 @@
1
- import { Organization } from 'auth0'
2
- import AppEntity from '../../app.entity'
3
-
4
- export interface OrganizationBrandingColors {
5
- page_background: string
6
- primary: string
7
- }
8
-
9
- export interface OrganizationBranding {
10
- logo_url: string
11
- colors: OrganizationBrandingColors
12
- }
13
-
14
- export class OrganizationEntity extends AppEntity implements Organization {
15
- public name: string
16
-
17
- public display_name: string
18
-
19
- public branding: OrganizationBranding
20
-
21
- public metadata: Record<string, string>
22
- }
@@ -1,3 +0,0 @@
1
- declare const _default: import("@nestjs/core").RouteTree;
2
- export default _default;
3
- //# sourceMappingURL=organization.router.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"organization.router.d.ts","sourceRoot":"","sources":["organization.router.ts"],"names":[],"mappings":";AAIA,wBAIE"}
@@ -1,9 +0,0 @@
1
- import { useRoute } from '../../app.router'
2
- import MemberRouter from './members/member.router'
3
- import OrganizationModule from './organization.module'
4
-
5
- export default useRoute({
6
- path: '/organizations',
7
- module: OrganizationModule,
8
- children: [MemberRouter]
9
- })
@@ -1,7 +0,0 @@
1
- import { Role } from 'auth0';
2
- import AppEntity from '../../app.entity';
3
- export declare class RoleEntity extends AppEntity implements Role {
4
- name: string | undefined;
5
- description: string | undefined;
6
- }
7
- //# sourceMappingURL=role.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"role.entity.d.ts","sourceRoot":"","sources":["role.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,OAAO,CAAA;AAC5B,OAAO,SAAS,MAAM,kBAAkB,CAAA;AAExC,qBAAa,UAAW,SAAQ,SAAU,YAAW,IAAI;IAChD,IAAI,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;CACvC"}
@@ -1,7 +0,0 @@
1
- import { Role } from 'auth0'
2
- import AppEntity from '../../app.entity'
3
-
4
- export class RoleEntity extends AppEntity implements Role {
5
- public name: string | undefined
6
- public description: string | undefined
7
- }
@@ -1,3 +0,0 @@
1
- declare const _default: import("@nestjs/core").RouteTree;
2
- export default _default;
3
- //# sourceMappingURL=role.router.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"role.router.d.ts","sourceRoot":"","sources":["role.router.ts"],"names":[],"mappings":";AAIA,wBAIE"}
@@ -1,9 +0,0 @@
1
- import { useRoute } from '../../app.router'
2
- import RoleModule from './role.module'
3
- import UserRouter from './users/user.router'
4
-
5
- export default useRoute({
6
- path: '/roles',
7
- module: RoleModule,
8
- children: [UserRouter]
9
- })
@@ -1,9 +0,0 @@
1
- import AppEntity from '../../../app.entity';
2
- import { UserEntity } from '../../users/user.entity';
3
- export declare class RoleUserEntity extends AppEntity implements Pick<UserEntity, 'user_id' | 'email' | 'name' | 'picture'> {
4
- user_id: string;
5
- email: string;
6
- name: string;
7
- picture: string;
8
- }
9
- //# sourceMappingURL=user.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user.entity.d.ts","sourceRoot":"","sources":["user.entity.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,qBAAqB,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,yBAAyB,CAAA;AAEpD,qBAAa,cAAe,SAAQ,SAAU,YAAW,IAAI,CAAC,UAAU,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;IAC1G,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CACvB"}
@@ -1,9 +0,0 @@
1
- import AppEntity from '../../../app.entity'
2
- import { UserEntity } from '../../users/user.entity'
3
-
4
- export class RoleUserEntity extends AppEntity implements Pick<UserEntity, 'user_id' | 'email' | 'name' | 'picture'> {
5
- public user_id: string
6
- public email: string
7
- public name: string
8
- public picture: string
9
- }
@@ -1,3 +0,0 @@
1
- declare const _default: import("@nestjs/core").RouteTree;
2
- export default _default;
3
- //# sourceMappingURL=user.router.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user.router.d.ts","sourceRoot":"","sources":["user.router.ts"],"names":[],"mappings":";AAGA,wBAGE"}
@@ -1,7 +0,0 @@
1
- import { useRoute } from '../../../app.router'
2
- import UserModule from './user.module'
3
-
4
- export default useRoute({
5
- path: '/:roleID/roles',
6
- module: UserModule
7
- })
@@ -1,9 +0,0 @@
1
- import AppEntity from '../../../app.entity';
2
- import { UserEntity } from '../user.entity';
3
- export declare class UserRoleEntity extends AppEntity implements Pick<UserEntity, 'user_id' | 'email' | 'name' | 'picture'> {
4
- user_id: string;
5
- email: string;
6
- name: string;
7
- picture: string;
8
- }
9
- //# sourceMappingURL=role.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"role.entity.d.ts","sourceRoot":"","sources":["role.entity.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,qBAAqB,CAAA;AAC3C,OAAO,EAAE,UAAU,EAAE,MAAM,gBAAgB,CAAA;AAE3C,qBAAa,cAAe,SAAQ,SAAU,YAAW,IAAI,CAAC,UAAU,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;IAC1G,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CACvB"}
@@ -1,9 +0,0 @@
1
- import AppEntity from '../../../app.entity'
2
- import { UserEntity } from '../user.entity'
3
-
4
- export class UserRoleEntity extends AppEntity implements Pick<UserEntity, 'user_id' | 'email' | 'name' | 'picture'> {
5
- public user_id: string
6
- public email: string
7
- public name: string
8
- public picture: string
9
- }
@@ -1,3 +0,0 @@
1
- declare const _default: import("@nestjs/core").RouteTree;
2
- export default _default;
3
- //# sourceMappingURL=role.router.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"role.router.d.ts","sourceRoot":"","sources":["role.router.ts"],"names":[],"mappings":";AAGA,wBAGE"}