@merkaly/api 0.1.9-4 → 0.1.9-8

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 (117) hide show
  1. package/package.json +2 -2
  2. package/src/account/auth/auth.decorator.d.ts +0 -5
  3. package/src/account/auth/auth.decorator.d.ts.map +0 -1
  4. package/src/account/auth/auth.guard.d.ts +0 -16
  5. package/src/account/auth/auth.guard.d.ts.map +0 -1
  6. package/src/account/auth/auth.strategy.d.ts +0 -18
  7. package/src/account/auth/auth.strategy.d.ts.map +0 -1
  8. package/src/account/auth/auth.validator.d.ts +0 -5
  9. package/src/account/auth/auth.validator.d.ts.map +0 -1
  10. package/src/account/auth/index.d.ts +0 -2
  11. package/src/account/auth/index.d.ts.map +0 -1
  12. package/src/account/index.d.ts +0 -5
  13. package/src/account/index.d.ts.map +0 -1
  14. package/src/account/organizations/index.d.ts +0 -4
  15. package/src/account/organizations/index.d.ts.map +0 -1
  16. package/src/account/organizations/members/index.d.ts +0 -2
  17. package/src/account/organizations/members/index.d.ts.map +0 -1
  18. package/src/account/organizations/members/member.entity.d.ts +0 -10
  19. package/src/account/organizations/members/member.entity.d.ts.map +0 -1
  20. package/src/account/organizations/members/member.validator.d.ts +0 -3
  21. package/src/account/organizations/members/member.validator.d.ts.map +0 -1
  22. package/src/account/organizations/organization.entity.d.ts +0 -18
  23. package/src/account/organizations/organization.entity.d.ts.map +0 -1
  24. package/src/account/organizations/organization.validator.d.ts +0 -14
  25. package/src/account/organizations/organization.validator.d.ts.map +0 -1
  26. package/src/account/roles/index.d.ts +0 -4
  27. package/src/account/roles/index.d.ts.map +0 -1
  28. package/src/account/roles/role.entity.d.ts +0 -8
  29. package/src/account/roles/role.entity.d.ts.map +0 -1
  30. package/src/account/roles/role.validator.d.ts +0 -10
  31. package/src/account/roles/role.validator.d.ts.map +0 -1
  32. package/src/account/roles/users/index.d.ts +0 -3
  33. package/src/account/roles/users/index.d.ts.map +0 -1
  34. package/src/account/roles/users/user.entity.d.ts +0 -10
  35. package/src/account/roles/users/user.entity.d.ts.map +0 -1
  36. package/src/account/roles/users/user.validator.d.ts +0 -3
  37. package/src/account/roles/users/user.validator.d.ts.map +0 -1
  38. package/src/account/users/index.d.ts +0 -4
  39. package/src/account/users/index.d.ts.map +0 -1
  40. package/src/account/users/roles/index.d.ts +0 -3
  41. package/src/account/users/roles/index.d.ts.map +0 -1
  42. package/src/account/users/roles/role.entity.d.ts +0 -10
  43. package/src/account/users/roles/role.entity.d.ts.map +0 -1
  44. package/src/account/users/roles/role.validator.d.ts +0 -3
  45. package/src/account/users/roles/role.validator.d.ts.map +0 -1
  46. package/src/account/users/user.entity.d.ts +0 -33
  47. package/src/account/users/user.entity.d.ts.map +0 -1
  48. package/src/account/users/user.validator.d.ts +0 -12
  49. package/src/account/users/user.validator.d.ts.map +0 -1
  50. package/src/app.d.ts +0 -2
  51. package/src/app.d.ts.map +0 -1
  52. package/src/app.emitter.d.ts +0 -17
  53. package/src/app.emitter.d.ts.map +0 -1
  54. package/src/app.entity.d.ts +0 -8
  55. package/src/app.entity.d.ts.map +0 -1
  56. package/src/app.routes.d.ts +0 -4
  57. package/src/app.routes.d.ts.map +0 -1
  58. package/src/index.d.ts +0 -4
  59. package/src/index.d.ts.map +0 -1
  60. package/src/inventory/brands/brand.entity.d.ts +0 -6
  61. package/src/inventory/brands/brand.entity.d.ts.map +0 -1
  62. package/src/inventory/brands/brand.validator.d.ts +0 -7
  63. package/src/inventory/brands/brand.validator.d.ts.map +0 -1
  64. package/src/inventory/brands/index.d.ts +0 -3
  65. package/src/inventory/brands/index.d.ts.map +0 -1
  66. package/src/inventory/categories/category.entity.d.ts +0 -6
  67. package/src/inventory/categories/category.entity.d.ts.map +0 -1
  68. package/src/inventory/categories/category.validator.d.ts +0 -7
  69. package/src/inventory/categories/category.validator.d.ts.map +0 -1
  70. package/src/inventory/categories/index.d.ts +0 -3
  71. package/src/inventory/categories/index.d.ts.map +0 -1
  72. package/src/inventory/index.d.ts +0 -6
  73. package/src/inventory/index.d.ts.map +0 -1
  74. package/src/inventory/products/index.d.ts +0 -5
  75. package/src/inventory/products/index.d.ts.map +0 -1
  76. package/src/inventory/products/media/index.d.ts +0 -3
  77. package/src/inventory/products/media/index.d.ts.map +0 -1
  78. package/src/inventory/products/media/media.entity.d.ts +0 -7
  79. package/src/inventory/products/media/media.entity.d.ts.map +0 -1
  80. package/src/inventory/products/media/media.validator.d.ts +0 -5
  81. package/src/inventory/products/media/media.validator.d.ts.map +0 -1
  82. package/src/inventory/products/product.entity.d.ts +0 -32
  83. package/src/inventory/products/product.entity.d.ts.map +0 -1
  84. package/src/inventory/products/product.validator.d.ts +0 -22
  85. package/src/inventory/products/product.validator.d.ts.map +0 -1
  86. package/src/inventory/products/variants/index.d.ts +0 -3
  87. package/src/inventory/products/variants/index.d.ts.map +0 -1
  88. package/src/inventory/products/variants/variant.entity.d.ts +0 -7
  89. package/src/inventory/products/variants/variant.entity.d.ts.map +0 -1
  90. package/src/inventory/products/variants/variant.validator.d.ts +0 -5
  91. package/src/inventory/products/variants/variant.validator.d.ts.map +0 -1
  92. package/src/inventory/properties/index.d.ts +0 -3
  93. package/src/inventory/properties/index.d.ts.map +0 -1
  94. package/src/inventory/properties/property.entity.d.ts +0 -9
  95. package/src/inventory/properties/property.entity.d.ts.map +0 -1
  96. package/src/inventory/properties/property.validator.d.ts +0 -9
  97. package/src/inventory/properties/property.validator.d.ts.map +0 -1
  98. package/src/store/carts/cart.entity.d.ts +0 -15
  99. package/src/store/carts/cart.entity.d.ts.map +0 -1
  100. package/src/store/carts/cart.validator.d.ts +0 -5
  101. package/src/store/carts/cart.validator.d.ts.map +0 -1
  102. package/src/store/carts/index.d.ts +0 -3
  103. package/src/store/carts/index.d.ts.map +0 -1
  104. package/src/store/index.d.ts +0 -4
  105. package/src/store/index.d.ts.map +0 -1
  106. package/src/store/orders/index.d.ts +0 -4
  107. package/src/store/orders/index.d.ts.map +0 -1
  108. package/src/store/orders/items/index.d.ts +0 -3
  109. package/src/store/orders/items/index.d.ts.map +0 -1
  110. package/src/store/orders/items/item.entity.d.ts +0 -8
  111. package/src/store/orders/items/item.entity.d.ts.map +0 -1
  112. package/src/store/orders/items/item.validator.d.ts +0 -5
  113. package/src/store/orders/items/item.validator.d.ts.map +0 -1
  114. package/src/store/orders/order.entity.d.ts +0 -10
  115. package/src/store/orders/order.entity.d.ts.map +0 -1
  116. package/src/store/orders/order.validator.d.ts +0 -5
  117. package/src/store/orders/order.validator.d.ts.map +0 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@merkaly/api",
3
- "version": "0.1.9-4",
3
+ "version": "0.1.9-8",
4
4
  "description": "NestJS Backend ApiRest Service",
5
5
  "author": "Randy Tellez Galan <kronhyx@gmail.com>",
6
6
  "license": "UNLICENSED",
@@ -11,7 +11,7 @@
11
11
  "build": "nest build",
12
12
  "clean": "tsc -b --clean",
13
13
  "start": "nest start --preserveWatchOutput",
14
- "dev": "yarn run clean && npm start -- --watch",
14
+ "dev": "yarn build && yarn start --watch",
15
15
  "start:debug": "yarn dev -- --debug ",
16
16
  "start:prod": "node dist/index.js",
17
17
  "lint": "eslint \"{src,apps,libs,test}/**/*.ts\" . ",
@@ -1,5 +0,0 @@
1
- import { CustomDecorator } from '@nestjs/common';
2
- export declare const IS_PUBLIC_KEY = "isPublic";
3
- export declare const Public: () => CustomDecorator;
4
- export declare const User: (...dataOrPipes: unknown[]) => ParameterDecorator;
5
- //# sourceMappingURL=auth.decorator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.decorator.d.ts","sourceRoot":"","sources":["auth.decorator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAwB,eAAe,EAAiC,MAAM,gBAAgB,CAAA;AAErG,eAAO,MAAM,aAAa,aAAa,CAAA;AACvC,eAAO,MAAM,MAAM,EAAE,MAAM,eAAwD,CAAA;AAEnF,eAAO,MAAM,IAAI,mDAIf,CAAA"}
@@ -1,16 +0,0 @@
1
- import { ExecutionContext } from '@nestjs/common';
2
- import AuthRepository from './auth.repository';
3
- declare module 'express' {
4
- interface Request {
5
- user?: string;
6
- }
7
- }
8
- declare const AuthGuard_base: import("@nestjs/passport").Type<import("@nestjs/passport").IAuthGuard>;
9
- export default class AuthGuard extends AuthGuard_base {
10
- protected readonly authRepository: AuthRepository;
11
- private reflector;
12
- canActivate(context: ExecutionContext): Promise<any>;
13
- handleRequest(err: Record<string, unknown>, user: string): any;
14
- }
15
- export {};
16
- //# sourceMappingURL=auth.guard.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.guard.d.ts","sourceRoot":"","sources":["auth.guard.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAA6C,MAAM,gBAAgB,CAAA;AAI5F,OAAO,cAAc,MAAM,mBAAmB,CAAA;AAE9C,OAAO,QAAQ,SAAS,CAAC;IACvB,UAAU,OAAO;QACf,IAAI,CAAC,EAAE,MAAM,CAAA;KACd;CACF;;AAGD,MAAM,CAAC,OAAO,OAAO,SAAU,SAAQ,cAAe;IAE1C,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,cAAc,CAAA;IACjD,OAAO,CAAC,SAAS,CAAW;IAEhC,WAAW,CAAE,OAAO,EAAE,gBAAgB,GAAG,OAAO,CAAC,GAAG,CAAC;IAa3D,aAAa,CAAE,GAAG,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,EAAE,MAAM,GAAG,GAAG;CAShE"}
@@ -1,18 +0,0 @@
1
- import { Strategy, StrategyOptions } from 'passport-jwt';
2
- export declare const strategy: StrategyOptions;
3
- interface DecodedUser {
4
- iss: string;
5
- sub: string;
6
- aud: string[];
7
- iat: number;
8
- exp: number;
9
- azp: string;
10
- scope: string;
11
- }
12
- declare const AuthStrategy_base: new (...args: any[]) => Strategy;
13
- export default class AuthStrategy extends AuthStrategy_base {
14
- constructor();
15
- validate({ sub }: DecodedUser): string;
16
- }
17
- export {};
18
- //# sourceMappingURL=auth.strategy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.strategy.d.ts","sourceRoot":"","sources":["auth.strategy.ts"],"names":[],"mappings":"AAGA,OAAO,EAAc,QAAQ,EAAE,eAAe,EAAE,MAAM,cAAc,CAAA;AAEpE,eAAO,MAAM,QAAQ,EAAE,eAItB,CAAA;AAED,UAAU,WAAW;IACnB,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,EAAE,CAAC;IACd,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,GAAG,EAAE,MAAM,CAAC;IACZ,KAAK,EAAE,MAAM,CAAA;CACd;;AAGD,MAAM,CAAC,OAAO,OAAO,YAAa,SAAQ,iBAA0B;;IAKlE,QAAQ,CAAE,EAAE,GAAG,EAAE,EAAE,WAAW,GAAG,MAAM;CAGxC"}
@@ -1,5 +0,0 @@
1
- export declare class LoginValidator {
2
- username: string;
3
- password: string;
4
- }
5
- //# sourceMappingURL=auth.validator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"auth.validator.d.ts","sourceRoot":"","sources":["auth.validator.ts"],"names":[],"mappings":"AAEA,qBAAa,cAAc;IAGzB,QAAQ,EAAE,MAAM,CAAA;IAGhB,QAAQ,EAAE,MAAM,CAAA;CAEjB"}
@@ -1,2 +0,0 @@
1
- export declare const $AuthPath = "auth";
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,SAAS,SAAS,CAAA"}
@@ -1,5 +0,0 @@
1
- export * from './organizations';
2
- export * from './roles';
3
- export * from './users';
4
- export declare const $AccountPath = "account";
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAA;AAC/B,cAAc,SAAS,CAAA;AACvB,cAAc,SAAS,CAAA;AACvB,eAAO,MAAM,YAAY,YAAY,CAAA"}
@@ -1,4 +0,0 @@
1
- export * from './organization.validator';
2
- export * from './organization.entity';
3
- export * from './members';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAA;AACxC,cAAc,uBAAuB,CAAA;AACrC,cAAc,WAAW,CAAA"}
@@ -1,2 +0,0 @@
1
- export { OrganizationMemberEntity } from './member.entity';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,iBAAiB,CAAA"}
@@ -1,10 +0,0 @@
1
- import AppEntity from '../../../app.entity';
2
- import { UserEntity } from '../../users';
3
- export declare class OrganizationMemberEntity extends AppEntity implements Pick<UserEntity, 'user_id' | 'email' | 'name' | 'picture'> {
4
- static readonly $path = "members";
5
- user_id: string;
6
- email: string;
7
- name: string;
8
- picture: string;
9
- }
10
- //# 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,aAAa,CAAA;AAExC,qBAAa,wBAAyB,SAAQ,SAAU,YAAW,IAAI,CAAC,UAAU,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;IAC3H,MAAM,CAAC,QAAQ,CAAC,KAAK,aAAY;IAE1B,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CACvB"}
@@ -1,3 +0,0 @@
1
- export declare type AddOrganizationMembers = string[];
2
- export declare type RemoveOrganizationMembers = string[];
3
- //# sourceMappingURL=member.validator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"member.validator.d.ts","sourceRoot":"","sources":["member.validator.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB,GAAG,MAAM,EAAE,CAAA;AAE7C,oBAAY,yBAAyB,GAAG,MAAM,EAAE,CAAA"}
@@ -1,18 +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
- static readonly $path = "organizations";
13
- name: string;
14
- display_name: string;
15
- branding: OrganizationBranding;
16
- metadata: Record<string, string>;
17
- }
18
- //# 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;IACvE,MAAM,CAAC,QAAQ,CAAC,KAAK,mBAAkB;IAEhC,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,14 +0,0 @@
1
- export declare class CreateOrganizationValidator {
2
- name: string;
3
- display_name: string;
4
- logo_url?: string;
5
- primary_color?: string;
6
- secondary_color?: string;
7
- }
8
- export declare class UpdateOrganizationValidator {
9
- display_name?: string;
10
- logo_url?: string;
11
- primary_color?: string;
12
- secondary_color?: string;
13
- }
14
- //# sourceMappingURL=organization.validator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"organization.validator.d.ts","sourceRoot":"","sources":["organization.validator.ts"],"names":[],"mappings":"AAEA,qBAAa,2BAA2B;IAGtC,IAAI,EAAE,MAAM,CAAA;IAGZ,YAAY,EAAE,MAAM,CAAA;IAIpB,QAAQ,CAAC,EAAE,MAAM,CAAA;IAIjB,aAAa,CAAC,EAAE,MAAM,CAAA;IAItB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB;AAED,qBAAa,2BAA2B;IAGtC,YAAY,CAAC,EAAE,MAAM,CAAA;IAIrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IAIjB,aAAa,CAAC,EAAE,MAAM,CAAA;IAKtB,eAAe,CAAC,EAAE,MAAM,CAAA;CACzB"}
@@ -1,4 +0,0 @@
1
- export * from './role.validator';
2
- export * from './role.entity';
3
- export * from './users';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA"}
@@ -1,8 +0,0 @@
1
- import { Role } from 'auth0';
2
- import AppEntity from '../../app.entity';
3
- export declare class RoleEntity extends AppEntity implements Role {
4
- static readonly $path = "roles";
5
- name: string | undefined;
6
- description: string | undefined;
7
- }
8
- //# 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;IACvD,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAU;IAExB,IAAI,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;CACvC"}
@@ -1,10 +0,0 @@
1
- import { CreateRoleData, UpdateRoleData } from 'auth0';
2
- export declare class CreateRoleValidator implements CreateRoleData {
3
- name: string;
4
- description: string;
5
- }
6
- export declare class UpdateRoleValidator implements UpdateRoleData {
7
- name: string;
8
- description: string;
9
- }
10
- //# sourceMappingURL=role.validator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"role.validator.d.ts","sourceRoot":"","sources":["role.validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,OAAO,CAAA;AAGtD,qBAAa,mBAAoB,YAAW,cAAc;IAExD,IAAI,EAAE,MAAM,CAAA;IAIZ,WAAW,EAAE,MAAM,CAAA;CACpB;AAED,qBAAa,mBAAoB,YAAW,cAAc;IAGxD,IAAI,EAAE,MAAM,CAAA;IAIZ,WAAW,EAAE,MAAM,CAAA;CACpB"}
@@ -1,3 +0,0 @@
1
- export * from './user.validator';
2
- export * from './user.entity';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA"}
@@ -1,10 +0,0 @@
1
- import AppEntity from '../../../app.entity';
2
- import { UserEntity } from '../../users';
3
- export declare class RoleUserEntity extends AppEntity implements Pick<UserEntity, 'user_id' | 'email' | 'name' | 'picture'> {
4
- static readonly $path = "users";
5
- user_id: string;
6
- email: string;
7
- name: string;
8
- picture: string;
9
- }
10
- //# 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,aAAa,CAAA;AAExC,qBAAa,cAAe,SAAQ,SAAU,YAAW,IAAI,CAAC,UAAU,EAAE,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,SAAS,CAAC;IACjH,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAU;IAExB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CACvB"}
@@ -1,3 +0,0 @@
1
- export declare type AddRoleUsers = string[];
2
- export declare type RemoveRoleUsers = string[];
3
- //# sourceMappingURL=user.validator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user.validator.d.ts","sourceRoot":"","sources":["user.validator.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY,GAAG,MAAM,EAAE,CAAA;AAEnC,oBAAY,eAAe,GAAG,MAAM,EAAE,CAAA"}
@@ -1,4 +0,0 @@
1
- export * from './user.validator';
2
- export * from './user.entity';
3
- export * from './roles';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA;AAC7B,cAAc,SAAS,CAAA"}
@@ -1,3 +0,0 @@
1
- export * from './role.validator';
2
- export * from './role.entity';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA"}
@@ -1,10 +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
- static readonly $path = "roles";
5
- user_id: string;
6
- email: string;
7
- name: string;
8
- picture: string;
9
- }
10
- //# 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;IACjH,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAU;IAExB,OAAO,EAAE,MAAM,CAAA;IACf,KAAK,EAAE,MAAM,CAAA;IACb,IAAI,EAAE,MAAM,CAAA;IACZ,OAAO,EAAE,MAAM,CAAA;CACvB"}
@@ -1,3 +0,0 @@
1
- export declare type AddUserRole = string[];
2
- export declare type RemoveUserRole = string[];
3
- //# sourceMappingURL=role.validator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"role.validator.d.ts","sourceRoot":"","sources":["role.validator.ts"],"names":[],"mappings":"AAAA,oBAAY,WAAW,GAAG,MAAM,EAAE,CAAA;AAElC,oBAAY,cAAc,GAAG,MAAM,EAAE,CAAA"}
@@ -1,33 +0,0 @@
1
- import { AppMetadata, Identity, User, UserMetadata } from 'auth0';
2
- import AppEntity from '../../app.entity';
3
- export interface UserData extends UserMetadata {
4
- [propName: string]: any;
5
- }
6
- export interface AppData extends AppMetadata {
7
- [propName: string]: any;
8
- }
9
- export declare class UserEntity extends AppEntity implements User<AppData, UserData> {
10
- static readonly $path: string;
11
- blocked: boolean | undefined;
12
- created_at: string | undefined;
13
- email: string | undefined;
14
- email_verified: boolean | undefined;
15
- family_name: string | undefined;
16
- given_name: string | undefined;
17
- identities: Identity[] | undefined;
18
- last_ip: string | undefined;
19
- last_login: string | undefined;
20
- last_password_reset: string | undefined;
21
- logins_count: number | undefined;
22
- multifactor: string[] | undefined;
23
- name: string | undefined;
24
- nickname: string | undefined;
25
- phone_number: string | undefined;
26
- phone_verified: boolean | undefined;
27
- picture: string | undefined;
28
- updated_at: string | undefined;
29
- user_id: string | undefined;
30
- user_metadata: UserData | undefined;
31
- username: string | undefined;
32
- }
33
- //# 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,EAAE,WAAW,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,MAAM,OAAO,CAAA;AACjE,OAAO,SAAS,MAAM,kBAAkB,CAAA;AAExC,MAAM,WAAW,QAAS,SAAQ,YAAY;IAC5C,CAAC,QAAQ,EAAE,MAAM,GAAG,GAAG,CAAC;CACzB;AAED,MAAM,WAAW,OAAQ,SAAQ,WAAW;IAC1C,CAAC,QAAQ,EAAE,MAAM,GAAG,GAAG,CAAC;CACzB;AAED,qBAAa,UAAW,SAAQ,SAAU,YAAW,IAAI,CAAC,OAAO,EAAE,QAAQ,CAAC;IAC1E,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAU;IAEhC,OAAO,EAAE,OAAO,GAAG,SAAS,CAAA;IAC5B,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,KAAK,EAAE,MAAM,GAAG,SAAS,CAAA;IACzB,cAAc,EAAE,OAAO,GAAG,SAAS,CAAA;IACnC,WAAW,EAAE,MAAM,GAAG,SAAS,CAAA;IAC/B,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,UAAU,EAAE,QAAQ,EAAE,GAAG,SAAS,CAAA;IAClC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,mBAAmB,EAAE,MAAM,GAAG,SAAS,CAAA;IACvC,YAAY,EAAE,MAAM,GAAG,SAAS,CAAA;IAChC,WAAW,EAAE,MAAM,EAAE,GAAG,SAAS,CAAA;IACjC,IAAI,EAAE,MAAM,GAAG,SAAS,CAAA;IACxB,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;IAC5B,YAAY,EAAE,MAAM,GAAG,SAAS,CAAA;IAChC,cAAc,EAAE,OAAO,GAAG,SAAS,CAAA;IACnC,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,UAAU,EAAE,MAAM,GAAG,SAAS,CAAA;IAC9B,OAAO,EAAE,MAAM,GAAG,SAAS,CAAA;IAC3B,aAAa,EAAE,QAAQ,GAAG,SAAS,CAAA;IACnC,QAAQ,EAAE,MAAM,GAAG,SAAS,CAAA;CACpC"}
@@ -1,12 +0,0 @@
1
- import { UpdateUserData, UserData } from 'auth0';
2
- export declare class CreateUserValidator implements UserData {
3
- email: string;
4
- password: string;
5
- name: string;
6
- }
7
- export declare class UpdateUserValidator implements UpdateUserData {
8
- name?: string;
9
- nickname?: string;
10
- picture?: string;
11
- }
12
- //# sourceMappingURL=user.validator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user.validator.d.ts","sourceRoot":"","sources":["user.validator.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAA;AAGhD,qBAAa,mBAAoB,YAAW,QAAQ;IAElD,KAAK,EAAE,MAAM,CAAA;IAGb,QAAQ,EAAE,MAAM,CAAA;IAIhB,IAAI,EAAE,MAAM,CAAA;CAEb;AAED,qBAAa,mBAAoB,YAAW,cAAc;IAGxD,IAAI,CAAC,EAAE,MAAM,CAAA;IAIb,QAAQ,CAAC,EAAE,MAAM,CAAA;IAIjB,OAAO,CAAC,EAAE,MAAM,CAAA;CACjB"}
package/src/app.d.ts DELETED
@@ -1,2 +0,0 @@
1
- export {};
2
- //# sourceMappingURL=app.d.ts.map
package/src/app.d.ts.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"app.d.ts","sourceRoot":"","sources":["app.ts"],"names":[],"mappings":""}
@@ -1,17 +0,0 @@
1
- import { EventEmitter2 } from '@nestjs/event-emitter';
2
- import { event, eventNS } from 'eventemitter2';
3
- export declare enum AbstractEvent {
4
- ENTITY_LISTED = "entity.*.listed",
5
- ENTITY_READED = "entity.*.readed",
6
- ENTITY_CREATED = "entity.*.created",
7
- ENTITY_UPDATED = "entity.*.updated",
8
- ENTITY_DELETED = "entity.*.deleted",
9
- ENTITY_NOT_FOUND = "entity.*.not_found",
10
- ENTITY_SYNCED = "entity.*.synced"
11
- }
12
- export default class AppEmitter {
13
- protected readonly emitter: EventEmitter2;
14
- emit(event: event | eventNS, ...values: any[]): boolean;
15
- private handleAllEvents;
16
- }
17
- //# sourceMappingURL=app.emitter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app.emitter.d.ts","sourceRoot":"","sources":["app.emitter.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,aAAa,EAAW,MAAM,uBAAuB,CAAA;AAC9D,OAAO,EAAE,KAAK,EAAE,OAAO,EAAE,MAAM,eAAe,CAAA;AAE9C,oBAAY,aAAa;IACvB,aAAa,oBAAoB;IACjC,aAAa,oBAAoB;IACjC,cAAc,qBAAqB;IACnC,cAAc,qBAAqB;IACnC,cAAc,qBAAqB;IACnC,gBAAgB,uBAAuB;IACvC,aAAa,oBAAoB;CAClC;AAGD,MAAM,CAAC,OAAO,OAAO,UAAU;IACnB,SAAS,CAAC,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAA;IAE5C,IAAI,CAAE,KAAK,EAAE,KAAK,GAAG,OAAO,EAAE,GAAG,MAAM,EAAE,GAAG,EAAE;IAKrD,OAAO,CAAC,eAAe;CAGxB"}
@@ -1,8 +0,0 @@
1
- import { TransformFnParams } from 'class-transformer';
2
- import { IEntity } from 'fireorm';
3
- export default abstract class AppEntity implements IEntity {
4
- static readonly $path: string;
5
- id: string;
6
- static transformSubCollection({ value }: TransformFnParams): string;
7
- }
8
- //# sourceMappingURL=app.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app.entity.d.ts","sourceRoot":"","sources":["app.entity.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,mBAAmB,CAAA;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,SAAS,CAAA;AAEjC,MAAM,CAAC,OAAO,CAAC,QAAQ,OAAO,SAAU,YAAW,OAAO;IACxD,MAAM,CAAC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAA;IAEtB,EAAE,EAAE,MAAM,CAAA;WAEH,sBAAsB,CAAE,EAAE,KAAK,EAAE,EAAE,iBAAiB,GAAG,MAAM;CAI5E"}
@@ -1,4 +0,0 @@
1
- import { RouteTree } from '@nestjs/core/router/interfaces/routes.interface';
2
- declare const routes: RouteTree[];
3
- export default routes;
4
- //# sourceMappingURL=app.routes.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"app.routes.d.ts","sourceRoot":"","sources":["app.routes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,iDAAiD,CAAA;AA2B3E,QAAA,MAAM,MAAM,aA+BX,CAAA;AAED,eAAe,MAAM,CAAA"}
package/src/index.d.ts DELETED
@@ -1,4 +0,0 @@
1
- export * from './account';
2
- export * from './inventory';
3
- export * from './store';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,WAAW,CAAA;AACzB,cAAc,aAAa,CAAA;AAC3B,cAAc,SAAS,CAAA"}
@@ -1,6 +0,0 @@
1
- import AppEntity from '../../app.entity';
2
- export declare class BrandEntity extends AppEntity {
3
- static readonly $path = "brands";
4
- name: string;
5
- }
6
- //# sourceMappingURL=brand.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"brand.entity.d.ts","sourceRoot":"","sources":["brand.entity.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,kBAAkB,CAAA;AAExC,qBACa,WAAY,SAAQ,SAAS;IACxC,MAAM,CAAC,QAAQ,CAAC,KAAK,YAAW;IAEhC,IAAI,EAAE,MAAM,CAAA;CAEb"}
@@ -1,7 +0,0 @@
1
- export declare class CreateBrandValidator {
2
- name: string;
3
- }
4
- export declare class UpdateBrandValidator {
5
- name?: string;
6
- }
7
- //# sourceMappingURL=brand.validator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"brand.validator.d.ts","sourceRoot":"","sources":["brand.validator.ts"],"names":[],"mappings":"AAEA,qBAAa,oBAAoB;IAE/B,IAAI,EAAE,MAAM,CAAA;CACb;AAED,qBAAa,oBAAoB;IAG/B,IAAI,CAAC,EAAE,MAAM,CAAA;CACd"}
@@ -1,3 +0,0 @@
1
- export * from './brand.validator';
2
- export * from './brand.entity';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA"}
@@ -1,6 +0,0 @@
1
- import AppEntity from '../../app.entity';
2
- export declare class CategoryEntity extends AppEntity {
3
- static readonly $path = "categories";
4
- name: string;
5
- }
6
- //# sourceMappingURL=category.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"category.entity.d.ts","sourceRoot":"","sources":["category.entity.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,kBAAkB,CAAA;AAExC,qBACa,cAAe,SAAQ,SAAS;IAC3C,MAAM,CAAC,QAAQ,CAAC,KAAK,gBAAe;IAEpC,IAAI,EAAE,MAAM,CAAA;CAEb"}
@@ -1,7 +0,0 @@
1
- export declare class CreateCategoryValidator {
2
- name: string;
3
- }
4
- export declare class UpdateCategoryValidator {
5
- name: string;
6
- }
7
- //# sourceMappingURL=category.validator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"category.validator.d.ts","sourceRoot":"","sources":["category.validator.ts"],"names":[],"mappings":"AAEA,qBAAa,uBAAuB;IAElC,IAAI,EAAE,MAAM,CAAA;CACb;AAED,qBAAa,uBAAuB;IAElC,IAAI,EAAE,MAAM,CAAA;CACb"}
@@ -1,3 +0,0 @@
1
- export * from './category.validator';
2
- export * from './category.entity';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA"}
@@ -1,6 +0,0 @@
1
- export * from './brands';
2
- export * from './categories';
3
- export * from './products';
4
- export * from './properties';
5
- export declare const $InventoryPath = "inventory";
6
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAA;AACxB,cAAc,cAAc,CAAA;AAC5B,cAAc,YAAY,CAAA;AAC1B,cAAc,cAAc,CAAA;AAE5B,eAAO,MAAM,cAAc,cAAc,CAAA"}
@@ -1,5 +0,0 @@
1
- export * from './product.validator';
2
- export * from './product.entity';
3
- export * from './variants';
4
- export * from './media';
5
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA;AAChC,cAAc,YAAY,CAAA;AAC1B,cAAc,SAAS,CAAA"}
@@ -1,3 +0,0 @@
1
- export * from './media.entity';
2
- export * from './media.validator';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAA;AAC9B,cAAc,mBAAmB,CAAA"}
@@ -1,7 +0,0 @@
1
- import AppEntity from '../../../app.entity';
2
- export declare class ProductMediaEntity extends AppEntity {
3
- static readonly $path = "images";
4
- name: string;
5
- src: string;
6
- }
7
- //# sourceMappingURL=media.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"media.entity.d.ts","sourceRoot":"","sources":["media.entity.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,qBAAqB,CAAA;AAE3C,qBAAa,kBAAmB,SAAQ,SAAS;IAE/C,MAAM,CAAC,QAAQ,CAAC,KAAK,YAAW;IAEhC,IAAI,EAAE,MAAM,CAAA;IAEZ,GAAG,EAAE,MAAM,CAAA;CACZ"}
@@ -1,5 +0,0 @@
1
- export declare class CreateProductMediaValidator {
2
- }
3
- export declare class UpdateProductMediaValidator {
4
- }
5
- //# sourceMappingURL=media.validator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"media.validator.d.ts","sourceRoot":"","sources":["media.validator.ts"],"names":[],"mappings":"AAAA,qBAAa,2BAA2B;CAEvC;AAED,qBAAa,2BAA2B;CAEvC"}
@@ -1,32 +0,0 @@
1
- import { ISubCollection } from 'fireorm';
2
- import AppEntity from '../../app.entity';
3
- import { BrandEntity } from '../brands';
4
- import { CategoryEntity } from '../categories';
5
- import { ProductMediaEntity } from './media';
6
- import { ProductVariantEntity } from './variants';
7
- export declare enum PRODUCT_UNIT {
8
- LENGHT = "LENGHT",
9
- VOLUME = "VOLUME",
10
- WEIGHT = "WEIGHT",
11
- TIME = "TIME",
12
- QUANTITY = "QUANTITY"
13
- }
14
- export declare enum PRODUCT_STATUS {
15
- DRAFT = "DRAFT",
16
- ACTIVE = "ACTIVE",
17
- INACTIVE = "INACTIVE"
18
- }
19
- export declare class ProductEntity extends AppEntity {
20
- static readonly $path = "products";
21
- name: string;
22
- description: string;
23
- price: number;
24
- unit: PRODUCT_UNIT;
25
- status: PRODUCT_STATUS;
26
- hashtags: string[];
27
- category?: CategoryEntity;
28
- brand: BrandEntity;
29
- variants?: ISubCollection<ProductVariantEntity>;
30
- media: ISubCollection<ProductMediaEntity>;
31
- }
32
- //# sourceMappingURL=product.entity.d.ts.map
@@ -1 +0,0 @@
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,WAAW,CAAA;AACvC,OAAO,EAAE,cAAc,EAAE,MAAM,eAAe,CAAA;AAC9C,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAA;AAC5C,OAAO,EAAE,oBAAoB,EAAE,MAAM,YAAY,CAAA;AAEjD,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,MAAM,CAAC,QAAQ,CAAC,KAAK,cAAa;IAGlC,IAAI,EAAE,MAAM,CAAA;IAGZ,WAAW,EAAG,MAAM,CAAA;IAGpB,KAAK,EAAE,MAAM,CAAA;IAGb,IAAI,EAAE,YAAY,CAAwB;IAG1C,MAAM,EAAE,cAAc,CAAuB;IAK7C,QAAQ,EAAE,MAAM,EAAE,CAAK;IAGvB,QAAQ,CAAC,EAAE,cAAc,CAAA;IAGzB,KAAK,EAAE,WAAW,CAAA;IAMlB,QAAQ,CAAC,EAAE,cAAc,CAAC,oBAAoB,CAAC,CAAA;IAI/C,KAAK,EAAE,cAAc,CAAC,kBAAkB,CAAC,CAAA;CAC1C"}
@@ -1,22 +0,0 @@
1
- import { PRODUCT_STATUS, PRODUCT_UNIT } from './product.entity';
2
- export declare class CreateProductValidator {
3
- name: string;
4
- price: number;
5
- description: string;
6
- category: string;
7
- brand: string;
8
- unit: PRODUCT_UNIT;
9
- status: PRODUCT_STATUS;
10
- hashtags: string[];
11
- }
12
- export declare class UpdateProductValidator {
13
- name?: string;
14
- price?: number;
15
- description?: string;
16
- category?: string;
17
- brand?: string;
18
- unit: PRODUCT_UNIT;
19
- status: PRODUCT_STATUS;
20
- hashtags: string[];
21
- }
22
- //# sourceMappingURL=product.validator.d.ts.map
@@ -1 +0,0 @@
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,3 +0,0 @@
1
- export * from './variant.validator';
2
- export * from './variant.entity';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAA;AACnC,cAAc,kBAAkB,CAAA"}
@@ -1,7 +0,0 @@
1
- import AppEntity from '../../../app.entity';
2
- export declare class ProductVariantEntity extends AppEntity {
3
- static readonly $path = "variants";
4
- name: string;
5
- price: number;
6
- }
7
- //# sourceMappingURL=variant.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"variant.entity.d.ts","sourceRoot":"","sources":["variant.entity.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,qBAAqB,CAAA;AAE3C,qBAAa,oBAAqB,SAAQ,SAAS;IAEjD,MAAM,CAAC,QAAQ,CAAC,KAAK,cAAa;IAElC,IAAI,EAAE,MAAM,CAAA;IAEZ,KAAK,EAAE,MAAM,CAAA;CAEd"}
@@ -1,5 +0,0 @@
1
- export declare class CreateProductVariantValidator {
2
- }
3
- export declare class UpdateProductVariantValidator {
4
- }
5
- //# sourceMappingURL=variant.validator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"variant.validator.d.ts","sourceRoot":"","sources":["variant.validator.ts"],"names":[],"mappings":"AAAA,qBAAa,6BAA6B;CAEzC;AAED,qBAAa,6BAA6B;CAEzC"}
@@ -1,3 +0,0 @@
1
- export * from './property.validator';
2
- export * from './property.entity';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAA;AACpC,cAAc,mBAAmB,CAAA"}
@@ -1,9 +0,0 @@
1
- import AppEntity from '../../app.entity';
2
- import { CategoryEntity } from '../categories/category.entity';
3
- export declare class PropertyEntity extends AppEntity {
4
- static readonly $path = "properties";
5
- name: string;
6
- values: string[];
7
- category: CategoryEntity;
8
- }
9
- //# sourceMappingURL=property.entity.d.ts.map
@@ -1 +0,0 @@
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;AAG9D,qBACa,cAAe,SAAQ,SAAS;IAC3C,MAAM,CAAC,QAAQ,CAAC,KAAK,gBAAe;IAGpC,IAAI,EAAE,MAAM,CAAA;IAGZ,MAAM,EAAE,MAAM,EAAE,CAAA;IAGhB,QAAQ,EAAE,cAAc,CAAA;CAEzB"}
@@ -1,9 +0,0 @@
1
- export declare class CreatePropertyValidator {
2
- name: string;
3
- values?: string[];
4
- }
5
- export declare class UpdatePropertyValidator {
6
- name?: string;
7
- values?: string[];
8
- }
9
- //# sourceMappingURL=property.validator.d.ts.map
@@ -1 +0,0 @@
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,15 +0,0 @@
1
- import AppEntity from '../../app.entity';
2
- import { OrderItemEntity } from '../orders/items/item.entity';
3
- export declare enum CART_STATUS {
4
- EMPTY = "EMPTY",
5
- FILLED = "FILLED",
6
- ABANDONED = "ABANDONED",
7
- FINALIZED = "FINALIZED"
8
- }
9
- export declare class CartEntity extends AppEntity {
10
- static readonly $path = "carts";
11
- user: string;
12
- status: CART_STATUS;
13
- items: OrderItemEntity[];
14
- }
15
- //# sourceMappingURL=cart.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"cart.entity.d.ts","sourceRoot":"","sources":["cart.entity.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,kBAAkB,CAAA;AACxC,OAAO,EAAE,eAAe,EAAE,MAAM,6BAA6B,CAAA;AAE7D,oBAAY,WAAW;IACrB,KAAK,UAAU;IACf,MAAM,WAAW;IACjB,SAAS,cAAc;IACvB,SAAS,cAAc;CACxB;AAED,qBACa,UAAW,SAAQ,SAAS;IACvC,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAU;IAE/B,IAAI,EAAE,MAAM,CAAA;IAEZ,MAAM,EAAE,WAAW,CAAoB;IAEvC,KAAK,EAAE,eAAe,EAAE,CAAA;CACzB"}
@@ -1,5 +0,0 @@
1
- export declare class CreateCartValidator {
2
- }
3
- export declare class UpdateCartValidator {
4
- }
5
- //# sourceMappingURL=cart.validator.d.ts.map
@@ -1 +0,0 @@
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,3 +0,0 @@
1
- export * from './cart.validator';
2
- export * from './cart.entity';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAA;AAChC,cAAc,eAAe,CAAA"}
@@ -1,4 +0,0 @@
1
- export * from './carts';
2
- export * from './orders';
3
- export declare const $StorePath = "store";
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,UAAU,CAAA;AAExB,eAAO,MAAM,UAAU,UAAU,CAAA"}
@@ -1,4 +0,0 @@
1
- export * from './order.validator';
2
- export * from './order.entity';
3
- export * from './items';
4
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAA;AACjC,cAAc,gBAAgB,CAAA;AAC9B,cAAc,SAAS,CAAA"}
@@ -1,3 +0,0 @@
1
- export * from './item.entity';
2
- export * from './item.validator';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAA;AAC7B,cAAc,kBAAkB,CAAA"}
@@ -1,8 +0,0 @@
1
- import AppEntity from '../../../app.entity';
2
- import { ProductEntity } from '../../../inventory';
3
- export declare class OrderItemEntity extends AppEntity {
4
- static readonly $path = "items";
5
- quantity: number;
6
- product: ProductEntity;
7
- }
8
- //# sourceMappingURL=item.entity.d.ts.map
@@ -1 +0,0 @@
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,oBAAoB,CAAA;AAElD,qBACa,eAAgB,SAAQ,SAAS;IAC5C,MAAM,CAAC,QAAQ,CAAC,KAAK,WAAU;IAG/B,QAAQ,EAAE,MAAM,CAAA;IAGhB,OAAO,EAAE,aAAa,CAAA;CACvB"}
@@ -1,5 +0,0 @@
1
- export declare class CreateOrderItemValidator {
2
- }
3
- export declare class UpdateOrderItemValidator {
4
- }
5
- //# sourceMappingURL=item.validator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"item.validator.d.ts","sourceRoot":"","sources":["item.validator.ts"],"names":[],"mappings":"AAAA,qBAAa,wBAAwB;CAEpC;AAED,qBAAa,wBAAwB;CAEpC"}
@@ -1,10 +0,0 @@
1
- import AppEntity from '../../app.entity';
2
- import { CartEntity } from '../carts/cart.entity';
3
- export declare class OrderEntity extends AppEntity {
4
- static readonly $path = "orders";
5
- number: string;
6
- client: string;
7
- price: number;
8
- cart: CartEntity;
9
- }
10
- //# sourceMappingURL=order.entity.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"order.entity.d.ts","sourceRoot":"","sources":["order.entity.ts"],"names":[],"mappings":"AACA,OAAO,SAAS,MAAM,kBAAkB,CAAA;AACxC,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAA;AAEjD,qBACa,WAAY,SAAQ,SAAS;IACxC,MAAM,CAAC,QAAQ,CAAC,KAAK,YAAW;IAEhC,MAAM,EAAE,MAAM,CAAA;IAEd,MAAM,EAAE,MAAM,CAAA;IAEd,KAAK,EAAE,MAAM,CAAA;IAGb,IAAI,EAAE,UAAU,CAAA;CAEjB"}
@@ -1,5 +0,0 @@
1
- export declare class CreateOrderValidator {
2
- }
3
- export declare class UpdateOrderValidator {
4
- }
5
- //# sourceMappingURL=order.validator.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"order.validator.d.ts","sourceRoot":"","sources":["order.validator.ts"],"names":[],"mappings":"AAAA,qBAAa,oBAAoB;CAEhC;AAED,qBAAa,oBAAoB;CAEhC"}