@lssm/example.marketplace 0.0.0-canary-20251217060834 → 0.0.0-canary-20251217063201

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 (175) hide show
  1. package/dist/docs/marketplace.docblock.js +1 -1
  2. package/dist/entities/index.d.ts +296 -296
  3. package/dist/entities/order.d.ts +78 -78
  4. package/dist/entities/order.js +1 -1
  5. package/dist/entities/payout.d.ts +65 -65
  6. package/dist/entities/payout.js +1 -1
  7. package/dist/entities/product.d.ts +70 -70
  8. package/dist/entities/product.js +1 -1
  9. package/dist/entities/review.d.ts +56 -56
  10. package/dist/entities/review.js +1 -1
  11. package/dist/entities/store.d.ts +41 -41
  12. package/dist/entities/store.js +1 -1
  13. package/dist/index.d.ts +0 -5
  14. package/dist/libs/contracts/dist/capabilities/openbanking.js +1 -0
  15. package/dist/libs/contracts/dist/client/index.js +1 -0
  16. package/dist/libs/contracts/dist/client/react/feature-render.js +1 -0
  17. package/dist/libs/contracts/dist/client/react/form-render.js +1 -0
  18. package/dist/libs/contracts/dist/client/react/index.js +1 -0
  19. package/dist/libs/contracts/dist/contract-registry/index.js +1 -0
  20. package/dist/libs/contracts/dist/contract-registry/schemas.js +1 -0
  21. package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +76 -0
  22. package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +350 -0
  23. package/dist/libs/contracts/dist/docs/index.js +1 -0
  24. package/dist/libs/contracts/dist/docs/presentations.js +1 -0
  25. package/dist/libs/contracts/dist/docs/registry.js +1 -0
  26. package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +383 -0
  27. package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +68 -0
  28. package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +140 -0
  29. package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +86 -0
  30. package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +1 -0
  31. package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +58 -0
  32. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +38 -0
  33. package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +213 -0
  34. package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +289 -0
  35. package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +1 -0
  36. package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +1 -0
  37. package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +262 -0
  38. package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +1 -0
  39. package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +57 -0
  40. package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +63 -0
  41. package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +36 -0
  42. package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +1 -0
  43. package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +20 -0
  44. package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +65 -0
  45. package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +1 -0
  46. package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +41 -0
  47. package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +122 -0
  48. package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +1 -0
  49. package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +68 -0
  50. package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +1 -0
  51. package/dist/libs/contracts/dist/events.js +1 -0
  52. package/dist/libs/contracts/dist/experiments/evaluator.js +1 -0
  53. package/dist/libs/contracts/dist/index.js +1 -0
  54. package/dist/libs/contracts/dist/install.js +1 -0
  55. package/dist/libs/contracts/dist/integrations/contracts.js +1 -0
  56. package/dist/libs/contracts/dist/integrations/index.js +1 -0
  57. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +1 -0
  58. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +1 -0
  59. package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +1 -0
  60. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +1 -0
  61. package/dist/libs/contracts/dist/integrations/openbanking/models.js +1 -0
  62. package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +1 -0
  63. package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +1 -0
  64. package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +1 -0
  65. package/dist/libs/contracts/dist/integrations/providers/gmail.js +1 -0
  66. package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +1 -0
  67. package/dist/libs/contracts/dist/integrations/providers/index.js +1 -0
  68. package/dist/libs/contracts/dist/integrations/providers/mistral.js +1 -0
  69. package/dist/libs/contracts/dist/integrations/providers/postmark.js +1 -0
  70. package/dist/libs/contracts/dist/integrations/providers/powens.js +1 -0
  71. package/dist/libs/contracts/dist/integrations/providers/qdrant.js +1 -0
  72. package/dist/libs/contracts/dist/integrations/providers/registry.js +1 -0
  73. package/dist/libs/contracts/dist/integrations/providers/stripe.js +1 -0
  74. package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +1 -0
  75. package/dist/libs/contracts/dist/jsonschema.js +1 -0
  76. package/dist/libs/contracts/dist/knowledge/contracts.js +1 -0
  77. package/dist/libs/contracts/dist/knowledge/index.js +1 -0
  78. package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +1 -0
  79. package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +1 -0
  80. package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +1 -0
  81. package/dist/libs/contracts/dist/knowledge/spaces/index.js +1 -0
  82. package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +1 -0
  83. package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +1 -0
  84. package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +1 -0
  85. package/dist/libs/contracts/dist/llm/exporters.js +1 -0
  86. package/dist/libs/contracts/dist/llm/index.js +1 -0
  87. package/dist/libs/contracts/dist/llm/prompts.js +1 -0
  88. package/dist/libs/contracts/dist/onboarding-base.js +1 -0
  89. package/dist/libs/contracts/dist/openapi.js +1 -0
  90. package/dist/libs/contracts/dist/ownership.js +1 -0
  91. package/dist/libs/contracts/dist/presentations.js +1 -0
  92. package/dist/libs/contracts/dist/presentations.v2.js +1 -0
  93. package/dist/libs/contracts/dist/prompt.js +1 -0
  94. package/dist/libs/contracts/dist/promptRegistry.js +1 -0
  95. package/dist/libs/contracts/dist/regenerator/index.js +1 -0
  96. package/dist/libs/contracts/dist/regenerator/service.js +1 -0
  97. package/dist/libs/contracts/dist/registry.js +1 -0
  98. package/dist/libs/contracts/dist/resources.js +1 -0
  99. package/dist/libs/contracts/dist/schema/dist/EnumType.js +1 -0
  100. package/dist/libs/contracts/dist/schema/dist/FieldType.js +1 -0
  101. package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +1 -0
  102. package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +1 -0
  103. package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +1 -0
  104. package/dist/libs/contracts/dist/schema/dist/entity/index.js +1 -0
  105. package/dist/libs/contracts/dist/schema/dist/entity/types.js +1 -0
  106. package/dist/libs/contracts/dist/schema/dist/index.js +1 -0
  107. package/dist/libs/contracts/dist/server/graphql-pothos.js +1 -0
  108. package/dist/libs/contracts/dist/server/index.js +1 -0
  109. package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +1 -0
  110. package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +1 -0
  111. package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +1 -0
  112. package/dist/libs/contracts/dist/server/mcp/registerResources.js +1 -0
  113. package/dist/libs/contracts/dist/server/mcp/registerTools.js +1 -0
  114. package/dist/libs/contracts/dist/server/provider-mcp.js +1 -0
  115. package/dist/libs/contracts/dist/server/rest-elysia.js +1 -0
  116. package/dist/libs/contracts/dist/server/rest-express.js +1 -0
  117. package/dist/libs/contracts/dist/server/rest-generic.js +1 -0
  118. package/dist/libs/contracts/dist/server/rest-next-app.js +1 -0
  119. package/dist/libs/contracts/dist/server/rest-next-pages.js +1 -0
  120. package/dist/libs/contracts/dist/spec.js +1 -0
  121. package/dist/libs/contracts/dist/telemetry/index.js +1 -0
  122. package/dist/libs/contracts/dist/telemetry/tracker.js +1 -0
  123. package/dist/libs/contracts/dist/tests/index.js +1 -0
  124. package/dist/libs/contracts/dist/tests/runner.js +1 -0
  125. package/dist/libs/contracts/dist/workflow/index.js +1 -0
  126. package/dist/libs/contracts/dist/workflow/runner.js +1 -0
  127. package/dist/libs/schema/dist/EnumType.js +1 -0
  128. package/dist/libs/schema/dist/FieldType.js +1 -0
  129. package/dist/libs/schema/dist/ScalarTypeEnum.js +1 -0
  130. package/dist/libs/schema/dist/SchemaModel.js +1 -0
  131. package/dist/libs/schema/dist/entity/defineEntity.js +1 -0
  132. package/dist/libs/schema/dist/entity/index.js +1 -0
  133. package/dist/libs/schema/dist/entity/types.js +1 -0
  134. package/dist/libs/schema/dist/index.js +1 -0
  135. package/dist/order/order.contracts.d.ts +90 -90
  136. package/dist/order/order.contracts.js +1 -1
  137. package/dist/order/order.enum.d.ts +2 -2
  138. package/dist/order/order.enum.js +1 -1
  139. package/dist/order/order.event.d.ts +39 -39
  140. package/dist/order/order.event.js +1 -1
  141. package/dist/order/order.schema.d.ts +39 -39
  142. package/dist/order/order.schema.js +1 -1
  143. package/dist/payout/payout.contracts.d.ts +24 -24
  144. package/dist/payout/payout.contracts.js +1 -1
  145. package/dist/payout/payout.enum.d.ts +2 -2
  146. package/dist/payout/payout.enum.js +1 -1
  147. package/dist/payout/payout.event.d.ts +17 -17
  148. package/dist/payout/payout.event.js +1 -1
  149. package/dist/payout/payout.schema.d.ts +37 -37
  150. package/dist/payout/payout.schema.js +1 -1
  151. package/dist/product/product.contracts.d.ts +68 -68
  152. package/dist/product/product.contracts.js +1 -1
  153. package/dist/product/product.enum.d.ts +2 -2
  154. package/dist/product/product.enum.js +1 -1
  155. package/dist/product/product.event.d.ts +20 -20
  156. package/dist/product/product.event.js +1 -1
  157. package/dist/product/product.schema.d.ts +52 -52
  158. package/dist/product/product.schema.js +1 -1
  159. package/dist/review/review.contracts.d.ts +59 -59
  160. package/dist/review/review.contracts.js +1 -1
  161. package/dist/review/review.enum.d.ts +2 -2
  162. package/dist/review/review.enum.js +1 -1
  163. package/dist/review/review.event.d.ts +15 -15
  164. package/dist/review/review.event.js +1 -1
  165. package/dist/review/review.schema.d.ts +45 -45
  166. package/dist/review/review.schema.js +1 -1
  167. package/dist/store/store.contracts.d.ts +33 -33
  168. package/dist/store/store.contracts.js +1 -1
  169. package/dist/store/store.enum.d.ts +2 -2
  170. package/dist/store/store.enum.js +1 -1
  171. package/dist/store/store.event.d.ts +14 -14
  172. package/dist/store/store.event.js +1 -1
  173. package/dist/store/store.schema.d.ts +20 -20
  174. package/dist/store/store.schema.js +1 -1
  175. package/package.json +12 -12
@@ -1 +1 @@
1
- import{ScalarTypeEnum as e,defineSchemaModel as t}from"@lssm/lib.schema";import{defineEvent as n}from"@lssm/lib.contracts";const r=t({name:`ReviewCreatedEventPayload`,fields:{reviewId:{type:e.String_unsecure(),isOptional:!1},productId:{type:e.String_unsecure(),isOptional:!0},storeId:{type:e.String_unsecure(),isOptional:!0},authorId:{type:e.String_unsecure(),isOptional:!1},rating:{type:e.Int_unsecure(),isOptional:!1},isVerifiedPurchase:{type:e.Boolean(),isOptional:!1},timestamp:{type:e.DateTime(),isOptional:!1}}}),i=t({name:`ReviewRespondedEventPayload`,fields:{reviewId:{type:e.String_unsecure(),isOptional:!1},responseId:{type:e.String_unsecure(),isOptional:!1},authorId:{type:e.String_unsecure(),isOptional:!1},timestamp:{type:e.DateTime(),isOptional:!1}}}),a=n({name:`marketplace.review.created`,version:1,description:`A review has been created.`,payload:r}),o=n({name:`marketplace.review.responded`,version:1,description:`A seller has responded to a review.`,payload:i});export{a as ReviewCreatedEvent,o as ReviewRespondedEvent};
1
+ import{l as e}from"../libs/schema/dist/ScalarTypeEnum.js";import{n as t}from"../libs/schema/dist/SchemaModel.js";import"../libs/schema/dist/index.js";import{e as n}from"../libs/contracts/dist/events.js";import"../libs/contracts/dist/index.js";const r=t({name:`ReviewCreatedEventPayload`,fields:{reviewId:{type:e.String_unsecure(),isOptional:!1},productId:{type:e.String_unsecure(),isOptional:!0},storeId:{type:e.String_unsecure(),isOptional:!0},authorId:{type:e.String_unsecure(),isOptional:!1},rating:{type:e.Int_unsecure(),isOptional:!1},isVerifiedPurchase:{type:e.Boolean(),isOptional:!1},timestamp:{type:e.DateTime(),isOptional:!1}}}),i=t({name:`ReviewRespondedEventPayload`,fields:{reviewId:{type:e.String_unsecure(),isOptional:!1},responseId:{type:e.String_unsecure(),isOptional:!1},authorId:{type:e.String_unsecure(),isOptional:!1},timestamp:{type:e.DateTime(),isOptional:!1}}}),a=n({name:`marketplace.review.created`,version:1,description:`A review has been created.`,payload:r}),o=n({name:`marketplace.review.responded`,version:1,description:`A seller has responded to a review.`,payload:i});export{a as ReviewCreatedEvent,o as ReviewRespondedEvent};
@@ -1,115 +1,115 @@
1
- import * as _lssm_lib_schema969 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_schema942 from "@lssm/lib.schema";
2
2
 
3
3
  //#region src/review/review.schema.d.ts
4
4
  /**
5
5
  * A customer review.
6
6
  */
7
- declare const ReviewModel: _lssm_lib_schema969.SchemaModel<{
7
+ declare const ReviewModel: _lssm_lib_schema942.SchemaModel<{
8
8
  id: {
9
- type: _lssm_lib_schema969.FieldType<string, string>;
9
+ type: _lssm_lib_schema942.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  productId: {
13
- type: _lssm_lib_schema969.FieldType<string, string>;
13
+ type: _lssm_lib_schema942.FieldType<string, string>;
14
14
  isOptional: true;
15
15
  };
16
16
  storeId: {
17
- type: _lssm_lib_schema969.FieldType<string, string>;
17
+ type: _lssm_lib_schema942.FieldType<string, string>;
18
18
  isOptional: true;
19
19
  };
20
20
  authorId: {
21
- type: _lssm_lib_schema969.FieldType<string, string>;
21
+ type: _lssm_lib_schema942.FieldType<string, string>;
22
22
  isOptional: false;
23
23
  };
24
24
  rating: {
25
- type: _lssm_lib_schema969.FieldType<number, number>;
25
+ type: _lssm_lib_schema942.FieldType<number, number>;
26
26
  isOptional: false;
27
27
  };
28
28
  title: {
29
- type: _lssm_lib_schema969.FieldType<string, string>;
29
+ type: _lssm_lib_schema942.FieldType<string, string>;
30
30
  isOptional: true;
31
31
  };
32
32
  content: {
33
- type: _lssm_lib_schema969.FieldType<string, string>;
33
+ type: _lssm_lib_schema942.FieldType<string, string>;
34
34
  isOptional: true;
35
35
  };
36
36
  status: {
37
- type: _lssm_lib_schema969.EnumType<[string, string, string, string]>;
37
+ type: _lssm_lib_schema942.EnumType<[string, string, string, string]>;
38
38
  isOptional: false;
39
39
  };
40
40
  isVerifiedPurchase: {
41
- type: _lssm_lib_schema969.FieldType<boolean, boolean>;
41
+ type: _lssm_lib_schema942.FieldType<boolean, boolean>;
42
42
  isOptional: false;
43
43
  };
44
44
  helpfulCount: {
45
- type: _lssm_lib_schema969.FieldType<number, number>;
45
+ type: _lssm_lib_schema942.FieldType<number, number>;
46
46
  isOptional: false;
47
47
  };
48
48
  hasResponse: {
49
- type: _lssm_lib_schema969.FieldType<boolean, boolean>;
49
+ type: _lssm_lib_schema942.FieldType<boolean, boolean>;
50
50
  isOptional: false;
51
51
  };
52
52
  createdAt: {
53
- type: _lssm_lib_schema969.FieldType<Date, string>;
53
+ type: _lssm_lib_schema942.FieldType<Date, string>;
54
54
  isOptional: false;
55
55
  };
56
56
  }>;
57
57
  /**
58
58
  * Input for creating a review.
59
59
  */
60
- declare const CreateReviewInputModel: _lssm_lib_schema969.SchemaModel<{
60
+ declare const CreateReviewInputModel: _lssm_lib_schema942.SchemaModel<{
61
61
  productId: {
62
- type: _lssm_lib_schema969.FieldType<string, string>;
62
+ type: _lssm_lib_schema942.FieldType<string, string>;
63
63
  isOptional: true;
64
64
  };
65
65
  storeId: {
66
- type: _lssm_lib_schema969.FieldType<string, string>;
66
+ type: _lssm_lib_schema942.FieldType<string, string>;
67
67
  isOptional: true;
68
68
  };
69
69
  orderId: {
70
- type: _lssm_lib_schema969.FieldType<string, string>;
70
+ type: _lssm_lib_schema942.FieldType<string, string>;
71
71
  isOptional: true;
72
72
  };
73
73
  rating: {
74
- type: _lssm_lib_schema969.FieldType<number, number>;
74
+ type: _lssm_lib_schema942.FieldType<number, number>;
75
75
  isOptional: false;
76
76
  };
77
77
  title: {
78
- type: _lssm_lib_schema969.FieldType<string, string>;
78
+ type: _lssm_lib_schema942.FieldType<string, string>;
79
79
  isOptional: true;
80
80
  };
81
81
  content: {
82
- type: _lssm_lib_schema969.FieldType<string, string>;
82
+ type: _lssm_lib_schema942.FieldType<string, string>;
83
83
  isOptional: true;
84
84
  };
85
85
  }>;
86
86
  /**
87
87
  * Input for listing reviews.
88
88
  */
89
- declare const ListReviewsInputModel: _lssm_lib_schema969.SchemaModel<{
89
+ declare const ListReviewsInputModel: _lssm_lib_schema942.SchemaModel<{
90
90
  productId: {
91
- type: _lssm_lib_schema969.FieldType<string, string>;
91
+ type: _lssm_lib_schema942.FieldType<string, string>;
92
92
  isOptional: true;
93
93
  };
94
94
  storeId: {
95
- type: _lssm_lib_schema969.FieldType<string, string>;
95
+ type: _lssm_lib_schema942.FieldType<string, string>;
96
96
  isOptional: true;
97
97
  };
98
98
  status: {
99
- type: _lssm_lib_schema969.EnumType<[string, string, string, string]>;
99
+ type: _lssm_lib_schema942.EnumType<[string, string, string, string]>;
100
100
  isOptional: true;
101
101
  };
102
102
  minRating: {
103
- type: _lssm_lib_schema969.FieldType<number, number>;
103
+ type: _lssm_lib_schema942.FieldType<number, number>;
104
104
  isOptional: true;
105
105
  };
106
106
  limit: {
107
- type: _lssm_lib_schema969.FieldType<number, number>;
107
+ type: _lssm_lib_schema942.FieldType<number, number>;
108
108
  isOptional: true;
109
109
  defaultValue: number;
110
110
  };
111
111
  offset: {
112
- type: _lssm_lib_schema969.FieldType<number, number>;
112
+ type: _lssm_lib_schema942.FieldType<number, number>;
113
113
  isOptional: true;
114
114
  defaultValue: number;
115
115
  };
@@ -117,55 +117,55 @@ declare const ListReviewsInputModel: _lssm_lib_schema969.SchemaModel<{
117
117
  /**
118
118
  * Output for listing reviews.
119
119
  */
120
- declare const ListReviewsOutputModel: _lssm_lib_schema969.SchemaModel<{
120
+ declare const ListReviewsOutputModel: _lssm_lib_schema942.SchemaModel<{
121
121
  reviews: {
122
- type: _lssm_lib_schema969.SchemaModel<{
122
+ type: _lssm_lib_schema942.SchemaModel<{
123
123
  id: {
124
- type: _lssm_lib_schema969.FieldType<string, string>;
124
+ type: _lssm_lib_schema942.FieldType<string, string>;
125
125
  isOptional: false;
126
126
  };
127
127
  productId: {
128
- type: _lssm_lib_schema969.FieldType<string, string>;
128
+ type: _lssm_lib_schema942.FieldType<string, string>;
129
129
  isOptional: true;
130
130
  };
131
131
  storeId: {
132
- type: _lssm_lib_schema969.FieldType<string, string>;
132
+ type: _lssm_lib_schema942.FieldType<string, string>;
133
133
  isOptional: true;
134
134
  };
135
135
  authorId: {
136
- type: _lssm_lib_schema969.FieldType<string, string>;
136
+ type: _lssm_lib_schema942.FieldType<string, string>;
137
137
  isOptional: false;
138
138
  };
139
139
  rating: {
140
- type: _lssm_lib_schema969.FieldType<number, number>;
140
+ type: _lssm_lib_schema942.FieldType<number, number>;
141
141
  isOptional: false;
142
142
  };
143
143
  title: {
144
- type: _lssm_lib_schema969.FieldType<string, string>;
144
+ type: _lssm_lib_schema942.FieldType<string, string>;
145
145
  isOptional: true;
146
146
  };
147
147
  content: {
148
- type: _lssm_lib_schema969.FieldType<string, string>;
148
+ type: _lssm_lib_schema942.FieldType<string, string>;
149
149
  isOptional: true;
150
150
  };
151
151
  status: {
152
- type: _lssm_lib_schema969.EnumType<[string, string, string, string]>;
152
+ type: _lssm_lib_schema942.EnumType<[string, string, string, string]>;
153
153
  isOptional: false;
154
154
  };
155
155
  isVerifiedPurchase: {
156
- type: _lssm_lib_schema969.FieldType<boolean, boolean>;
156
+ type: _lssm_lib_schema942.FieldType<boolean, boolean>;
157
157
  isOptional: false;
158
158
  };
159
159
  helpfulCount: {
160
- type: _lssm_lib_schema969.FieldType<number, number>;
160
+ type: _lssm_lib_schema942.FieldType<number, number>;
161
161
  isOptional: false;
162
162
  };
163
163
  hasResponse: {
164
- type: _lssm_lib_schema969.FieldType<boolean, boolean>;
164
+ type: _lssm_lib_schema942.FieldType<boolean, boolean>;
165
165
  isOptional: false;
166
166
  };
167
167
  createdAt: {
168
- type: _lssm_lib_schema969.FieldType<Date, string>;
168
+ type: _lssm_lib_schema942.FieldType<Date, string>;
169
169
  isOptional: false;
170
170
  };
171
171
  }>;
@@ -173,15 +173,15 @@ declare const ListReviewsOutputModel: _lssm_lib_schema969.SchemaModel<{
173
173
  isOptional: false;
174
174
  };
175
175
  total: {
176
- type: _lssm_lib_schema969.FieldType<number, number>;
176
+ type: _lssm_lib_schema942.FieldType<number, number>;
177
177
  isOptional: false;
178
178
  };
179
179
  averageRating: {
180
- type: _lssm_lib_schema969.FieldType<number, number>;
180
+ type: _lssm_lib_schema942.FieldType<number, number>;
181
181
  isOptional: false;
182
182
  };
183
183
  ratingDistribution: {
184
- type: _lssm_lib_schema969.FieldType<unknown, unknown>;
184
+ type: _lssm_lib_schema942.FieldType<unknown, unknown>;
185
185
  isOptional: false;
186
186
  };
187
187
  }>;
@@ -1 +1 @@
1
- import{ReviewStatusEnum as e}from"./review.enum.js";import{ScalarTypeEnum as t,defineSchemaModel as n}from"@lssm/lib.schema";const r=n({name:`ReviewModel`,description:`A customer review`,fields:{id:{type:t.String_unsecure(),isOptional:!1},productId:{type:t.String_unsecure(),isOptional:!0},storeId:{type:t.String_unsecure(),isOptional:!0},authorId:{type:t.String_unsecure(),isOptional:!1},rating:{type:t.Int_unsecure(),isOptional:!1},title:{type:t.String_unsecure(),isOptional:!0},content:{type:t.String_unsecure(),isOptional:!0},status:{type:e,isOptional:!1},isVerifiedPurchase:{type:t.Boolean(),isOptional:!1},helpfulCount:{type:t.Int_unsecure(),isOptional:!1},hasResponse:{type:t.Boolean(),isOptional:!1},createdAt:{type:t.DateTime(),isOptional:!1}}}),i=n({name:`CreateReviewInput`,fields:{productId:{type:t.String_unsecure(),isOptional:!0},storeId:{type:t.String_unsecure(),isOptional:!0},orderId:{type:t.String_unsecure(),isOptional:!0},rating:{type:t.Int_unsecure(),isOptional:!1},title:{type:t.String_unsecure(),isOptional:!0},content:{type:t.String_unsecure(),isOptional:!0}}}),a=n({name:`ListReviewsInput`,fields:{productId:{type:t.String_unsecure(),isOptional:!0},storeId:{type:t.String_unsecure(),isOptional:!0},status:{type:e,isOptional:!0},minRating:{type:t.Int_unsecure(),isOptional:!0},limit:{type:t.Int_unsecure(),isOptional:!0,defaultValue:20},offset:{type:t.Int_unsecure(),isOptional:!0,defaultValue:0}}}),o=n({name:`ListReviewsOutput`,fields:{reviews:{type:r,isArray:!0,isOptional:!1},total:{type:t.Int_unsecure(),isOptional:!1},averageRating:{type:t.Float_unsecure(),isOptional:!1},ratingDistribution:{type:t.JSON(),isOptional:!1}}});export{i as CreateReviewInputModel,a as ListReviewsInputModel,o as ListReviewsOutputModel,r as ReviewModel};
1
+ import{l as e}from"../libs/schema/dist/ScalarTypeEnum.js";import{n as t}from"../libs/schema/dist/SchemaModel.js";import"../libs/schema/dist/index.js";import{ReviewStatusEnum as n}from"./review.enum.js";const r=t({name:`ReviewModel`,description:`A customer review`,fields:{id:{type:e.String_unsecure(),isOptional:!1},productId:{type:e.String_unsecure(),isOptional:!0},storeId:{type:e.String_unsecure(),isOptional:!0},authorId:{type:e.String_unsecure(),isOptional:!1},rating:{type:e.Int_unsecure(),isOptional:!1},title:{type:e.String_unsecure(),isOptional:!0},content:{type:e.String_unsecure(),isOptional:!0},status:{type:n,isOptional:!1},isVerifiedPurchase:{type:e.Boolean(),isOptional:!1},helpfulCount:{type:e.Int_unsecure(),isOptional:!1},hasResponse:{type:e.Boolean(),isOptional:!1},createdAt:{type:e.DateTime(),isOptional:!1}}}),i=t({name:`CreateReviewInput`,fields:{productId:{type:e.String_unsecure(),isOptional:!0},storeId:{type:e.String_unsecure(),isOptional:!0},orderId:{type:e.String_unsecure(),isOptional:!0},rating:{type:e.Int_unsecure(),isOptional:!1},title:{type:e.String_unsecure(),isOptional:!0},content:{type:e.String_unsecure(),isOptional:!0}}}),a=t({name:`ListReviewsInput`,fields:{productId:{type:e.String_unsecure(),isOptional:!0},storeId:{type:e.String_unsecure(),isOptional:!0},status:{type:n,isOptional:!0},minRating:{type:e.Int_unsecure(),isOptional:!0},limit:{type:e.Int_unsecure(),isOptional:!0,defaultValue:20},offset:{type:e.Int_unsecure(),isOptional:!0,defaultValue:0}}}),o=t({name:`ListReviewsOutput`,fields:{reviews:{type:r,isArray:!0,isOptional:!1},total:{type:e.Int_unsecure(),isOptional:!1},averageRating:{type:e.Float_unsecure(),isOptional:!1},ratingDistribution:{type:e.JSON(),isOptional:!1}}});export{i as CreateReviewInputModel,a as ListReviewsInputModel,o as ListReviewsOutputModel,r as ReviewModel};
@@ -1,127 +1,127 @@
1
- import * as _lssm_lib_schema923 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts14 from "@lssm/lib.contracts";
1
+ import * as _lssm_lib_schema1120 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts20 from "@lssm/lib.contracts";
3
3
 
4
4
  //#region src/store/store.contracts.d.ts
5
5
  /**
6
6
  * Create a new seller store.
7
7
  */
8
- declare const CreateStoreContract: _lssm_lib_contracts14.ContractSpec<_lssm_lib_schema923.SchemaModel<{
8
+ declare const CreateStoreContract: _lssm_lib_contracts20.ContractSpec<_lssm_lib_schema1120.SchemaModel<{
9
9
  name: {
10
- type: _lssm_lib_schema923.FieldType<string, string>;
10
+ type: _lssm_lib_schema1120.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  slug: {
14
- type: _lssm_lib_schema923.FieldType<string, string>;
14
+ type: _lssm_lib_schema1120.FieldType<string, string>;
15
15
  isOptional: false;
16
16
  };
17
17
  description: {
18
- type: _lssm_lib_schema923.FieldType<string, string>;
18
+ type: _lssm_lib_schema1120.FieldType<string, string>;
19
19
  isOptional: true;
20
20
  };
21
21
  email: {
22
- type: _lssm_lib_schema923.FieldType<string, string>;
22
+ type: _lssm_lib_schema1120.FieldType<string, string>;
23
23
  isOptional: true;
24
24
  };
25
25
  country: {
26
- type: _lssm_lib_schema923.FieldType<string, string>;
26
+ type: _lssm_lib_schema1120.FieldType<string, string>;
27
27
  isOptional: true;
28
28
  };
29
29
  currency: {
30
- type: _lssm_lib_schema923.FieldType<string, string>;
30
+ type: _lssm_lib_schema1120.FieldType<string, string>;
31
31
  isOptional: true;
32
32
  };
33
- }>, _lssm_lib_schema923.SchemaModel<{
33
+ }>, _lssm_lib_schema1120.SchemaModel<{
34
34
  id: {
35
- type: _lssm_lib_schema923.FieldType<string, string>;
35
+ type: _lssm_lib_schema1120.FieldType<string, string>;
36
36
  isOptional: false;
37
37
  };
38
38
  name: {
39
- type: _lssm_lib_schema923.FieldType<string, string>;
39
+ type: _lssm_lib_schema1120.FieldType<string, string>;
40
40
  isOptional: false;
41
41
  };
42
42
  slug: {
43
- type: _lssm_lib_schema923.FieldType<string, string>;
43
+ type: _lssm_lib_schema1120.FieldType<string, string>;
44
44
  isOptional: false;
45
45
  };
46
46
  description: {
47
- type: _lssm_lib_schema923.FieldType<string, string>;
47
+ type: _lssm_lib_schema1120.FieldType<string, string>;
48
48
  isOptional: true;
49
49
  };
50
50
  status: {
51
- type: _lssm_lib_schema923.EnumType<[string, string, string, string]>;
51
+ type: _lssm_lib_schema1120.EnumType<[string, string, string, string]>;
52
52
  isOptional: false;
53
53
  };
54
54
  ownerId: {
55
- type: _lssm_lib_schema923.FieldType<string, string>;
55
+ type: _lssm_lib_schema1120.FieldType<string, string>;
56
56
  isOptional: false;
57
57
  };
58
58
  logoFileId: {
59
- type: _lssm_lib_schema923.FieldType<string, string>;
59
+ type: _lssm_lib_schema1120.FieldType<string, string>;
60
60
  isOptional: true;
61
61
  };
62
62
  isVerified: {
63
- type: _lssm_lib_schema923.FieldType<boolean, boolean>;
63
+ type: _lssm_lib_schema1120.FieldType<boolean, boolean>;
64
64
  isOptional: false;
65
65
  };
66
66
  totalProducts: {
67
- type: _lssm_lib_schema923.FieldType<number, number>;
67
+ type: _lssm_lib_schema1120.FieldType<number, number>;
68
68
  isOptional: false;
69
69
  };
70
70
  averageRating: {
71
- type: _lssm_lib_schema923.FieldType<number, number>;
71
+ type: _lssm_lib_schema1120.FieldType<number, number>;
72
72
  isOptional: false;
73
73
  };
74
74
  createdAt: {
75
- type: _lssm_lib_schema923.FieldType<Date, string>;
75
+ type: _lssm_lib_schema1120.FieldType<Date, string>;
76
76
  isOptional: false;
77
77
  };
78
78
  }>, {
79
79
  name: string;
80
80
  version: number;
81
81
  when: string;
82
- payload: _lssm_lib_schema923.SchemaModel<{
82
+ payload: _lssm_lib_schema1120.SchemaModel<{
83
83
  id: {
84
- type: _lssm_lib_schema923.FieldType<string, string>;
84
+ type: _lssm_lib_schema1120.FieldType<string, string>;
85
85
  isOptional: false;
86
86
  };
87
87
  name: {
88
- type: _lssm_lib_schema923.FieldType<string, string>;
88
+ type: _lssm_lib_schema1120.FieldType<string, string>;
89
89
  isOptional: false;
90
90
  };
91
91
  slug: {
92
- type: _lssm_lib_schema923.FieldType<string, string>;
92
+ type: _lssm_lib_schema1120.FieldType<string, string>;
93
93
  isOptional: false;
94
94
  };
95
95
  description: {
96
- type: _lssm_lib_schema923.FieldType<string, string>;
96
+ type: _lssm_lib_schema1120.FieldType<string, string>;
97
97
  isOptional: true;
98
98
  };
99
99
  status: {
100
- type: _lssm_lib_schema923.EnumType<[string, string, string, string]>;
100
+ type: _lssm_lib_schema1120.EnumType<[string, string, string, string]>;
101
101
  isOptional: false;
102
102
  };
103
103
  ownerId: {
104
- type: _lssm_lib_schema923.FieldType<string, string>;
104
+ type: _lssm_lib_schema1120.FieldType<string, string>;
105
105
  isOptional: false;
106
106
  };
107
107
  logoFileId: {
108
- type: _lssm_lib_schema923.FieldType<string, string>;
108
+ type: _lssm_lib_schema1120.FieldType<string, string>;
109
109
  isOptional: true;
110
110
  };
111
111
  isVerified: {
112
- type: _lssm_lib_schema923.FieldType<boolean, boolean>;
112
+ type: _lssm_lib_schema1120.FieldType<boolean, boolean>;
113
113
  isOptional: false;
114
114
  };
115
115
  totalProducts: {
116
- type: _lssm_lib_schema923.FieldType<number, number>;
116
+ type: _lssm_lib_schema1120.FieldType<number, number>;
117
117
  isOptional: false;
118
118
  };
119
119
  averageRating: {
120
- type: _lssm_lib_schema923.FieldType<number, number>;
120
+ type: _lssm_lib_schema1120.FieldType<number, number>;
121
121
  isOptional: false;
122
122
  };
123
123
  createdAt: {
124
- type: _lssm_lib_schema923.FieldType<Date, string>;
124
+ type: _lssm_lib_schema1120.FieldType<Date, string>;
125
125
  isOptional: false;
126
126
  };
127
127
  }>;
@@ -1 +1 @@
1
- import{CreateStoreInputModel as e,StoreModel as t}from"./store.schema.js";import{defineCommand as n}from"@lssm/lib.contracts/spec";const r=n({meta:{name:`marketplace.store.create`,version:1,stability:`stable`,owners:[...[`@example.marketplace`]],tags:[`marketplace`,`store`,`create`],description:`Create a new seller store.`,goal:`Allow users to become sellers on the marketplace.`,context:`Seller onboarding.`},io:{input:e,output:t},policy:{auth:`user`},sideEffects:{emits:[{name:`marketplace.store.created`,version:1,when:`Store is created`,payload:t}],audit:[`marketplace.store.created`]}});export{r as CreateStoreContract};
1
+ import{CreateStoreInputModel as e,StoreModel as t}from"./store.schema.js";import{t as n}from"../libs/contracts/dist/spec.js";const r=n({meta:{name:`marketplace.store.create`,version:1,stability:`stable`,owners:[...[`@example.marketplace`]],tags:[`marketplace`,`store`,`create`],description:`Create a new seller store.`,goal:`Allow users to become sellers on the marketplace.`,context:`Seller onboarding.`},io:{input:e,output:t},policy:{auth:`user`},sideEffects:{emits:[{name:`marketplace.store.created`,version:1,when:`Store is created`,payload:t}],audit:[`marketplace.store.created`]}});export{r as CreateStoreContract};
@@ -1,9 +1,9 @@
1
- import * as _lssm_lib_schema1061 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_schema862 from "@lssm/lib.schema";
2
2
 
3
3
  //#region src/store/store.enum.d.ts
4
4
  /**
5
5
  * Store status enum.
6
6
  */
7
- declare const StoreStatusEnum: _lssm_lib_schema1061.EnumType<[string, string, string, string]>;
7
+ declare const StoreStatusEnum: _lssm_lib_schema862.EnumType<[string, string, string, string]>;
8
8
  //#endregion
9
9
  export { StoreStatusEnum };
@@ -1 +1 @@
1
- import{defineEnum as e}from"@lssm/lib.schema";const t=e(`StoreStatus`,[`PENDING`,`ACTIVE`,`SUSPENDED`,`CLOSED`]);export{t as StoreStatusEnum};
1
+ import{r as e}from"../libs/schema/dist/EnumType.js";import"../libs/schema/dist/index.js";const t=e(`StoreStatus`,[`PENDING`,`ACTIVE`,`SUSPENDED`,`CLOSED`]);export{t as StoreStatusEnum};
@@ -1,48 +1,48 @@
1
- import * as _lssm_lib_schema1049 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts17 from "@lssm/lib.contracts";
1
+ import * as _lssm_lib_schema1050 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts18 from "@lssm/lib.contracts";
3
3
 
4
4
  //#region src/store/store.event.d.ts
5
- declare const StoreCreatedEvent: _lssm_lib_contracts17.EventSpec<_lssm_lib_schema1049.SchemaModel<{
5
+ declare const StoreCreatedEvent: _lssm_lib_contracts18.EventSpec<_lssm_lib_schema1050.SchemaModel<{
6
6
  storeId: {
7
- type: _lssm_lib_schema1049.FieldType<string, string>;
7
+ type: _lssm_lib_schema1050.FieldType<string, string>;
8
8
  isOptional: false;
9
9
  };
10
10
  name: {
11
- type: _lssm_lib_schema1049.FieldType<string, string>;
11
+ type: _lssm_lib_schema1050.FieldType<string, string>;
12
12
  isOptional: false;
13
13
  };
14
14
  slug: {
15
- type: _lssm_lib_schema1049.FieldType<string, string>;
15
+ type: _lssm_lib_schema1050.FieldType<string, string>;
16
16
  isOptional: false;
17
17
  };
18
18
  ownerId: {
19
- type: _lssm_lib_schema1049.FieldType<string, string>;
19
+ type: _lssm_lib_schema1050.FieldType<string, string>;
20
20
  isOptional: false;
21
21
  };
22
22
  timestamp: {
23
- type: _lssm_lib_schema1049.FieldType<Date, string>;
23
+ type: _lssm_lib_schema1050.FieldType<Date, string>;
24
24
  isOptional: false;
25
25
  };
26
26
  }>>;
27
- declare const StoreStatusChangedEvent: _lssm_lib_contracts17.EventSpec<_lssm_lib_schema1049.SchemaModel<{
27
+ declare const StoreStatusChangedEvent: _lssm_lib_contracts18.EventSpec<_lssm_lib_schema1050.SchemaModel<{
28
28
  storeId: {
29
- type: _lssm_lib_schema1049.FieldType<string, string>;
29
+ type: _lssm_lib_schema1050.FieldType<string, string>;
30
30
  isOptional: false;
31
31
  };
32
32
  previousStatus: {
33
- type: _lssm_lib_schema1049.FieldType<string, string>;
33
+ type: _lssm_lib_schema1050.FieldType<string, string>;
34
34
  isOptional: false;
35
35
  };
36
36
  newStatus: {
37
- type: _lssm_lib_schema1049.FieldType<string, string>;
37
+ type: _lssm_lib_schema1050.FieldType<string, string>;
38
38
  isOptional: false;
39
39
  };
40
40
  reason: {
41
- type: _lssm_lib_schema1049.FieldType<string, string>;
41
+ type: _lssm_lib_schema1050.FieldType<string, string>;
42
42
  isOptional: true;
43
43
  };
44
44
  timestamp: {
45
- type: _lssm_lib_schema1049.FieldType<Date, string>;
45
+ type: _lssm_lib_schema1050.FieldType<Date, string>;
46
46
  isOptional: false;
47
47
  };
48
48
  }>>;
@@ -1 +1 @@
1
- import{ScalarTypeEnum as e,defineSchemaModel as t}from"@lssm/lib.schema";import{defineEvent as n}from"@lssm/lib.contracts";const r=t({name:`StoreCreatedEventPayload`,fields:{storeId:{type:e.String_unsecure(),isOptional:!1},name:{type:e.String_unsecure(),isOptional:!1},slug:{type:e.String_unsecure(),isOptional:!1},ownerId:{type:e.String_unsecure(),isOptional:!1},timestamp:{type:e.DateTime(),isOptional:!1}}}),i=t({name:`StoreStatusChangedEventPayload`,fields:{storeId:{type:e.String_unsecure(),isOptional:!1},previousStatus:{type:e.String_unsecure(),isOptional:!1},newStatus:{type:e.String_unsecure(),isOptional:!1},reason:{type:e.String_unsecure(),isOptional:!0},timestamp:{type:e.DateTime(),isOptional:!1}}}),a=n({name:`marketplace.store.created`,version:1,description:`A new seller store has been created.`,payload:r}),o=n({name:`marketplace.store.statusChanged`,version:1,description:`A store status has changed.`,payload:i});export{a as StoreCreatedEvent,o as StoreStatusChangedEvent};
1
+ import{l as e}from"../libs/schema/dist/ScalarTypeEnum.js";import{n as t}from"../libs/schema/dist/SchemaModel.js";import"../libs/schema/dist/index.js";import{e as n}from"../libs/contracts/dist/events.js";import"../libs/contracts/dist/index.js";const r=t({name:`StoreCreatedEventPayload`,fields:{storeId:{type:e.String_unsecure(),isOptional:!1},name:{type:e.String_unsecure(),isOptional:!1},slug:{type:e.String_unsecure(),isOptional:!1},ownerId:{type:e.String_unsecure(),isOptional:!1},timestamp:{type:e.DateTime(),isOptional:!1}}}),i=t({name:`StoreStatusChangedEventPayload`,fields:{storeId:{type:e.String_unsecure(),isOptional:!1},previousStatus:{type:e.String_unsecure(),isOptional:!1},newStatus:{type:e.String_unsecure(),isOptional:!1},reason:{type:e.String_unsecure(),isOptional:!0},timestamp:{type:e.DateTime(),isOptional:!1}}}),a=n({name:`marketplace.store.created`,version:1,description:`A new seller store has been created.`,payload:r}),o=n({name:`marketplace.store.statusChanged`,version:1,description:`A store status has changed.`,payload:i});export{a as StoreCreatedEvent,o as StoreStatusChangedEvent};
@@ -1,81 +1,81 @@
1
- import * as _lssm_lib_schema0 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_schema1101 from "@lssm/lib.schema";
2
2
 
3
3
  //#region src/store/store.schema.d.ts
4
4
  /**
5
5
  * A seller store.
6
6
  */
7
- declare const StoreModel: _lssm_lib_schema0.SchemaModel<{
7
+ declare const StoreModel: _lssm_lib_schema1101.SchemaModel<{
8
8
  id: {
9
- type: _lssm_lib_schema0.FieldType<string, string>;
9
+ type: _lssm_lib_schema1101.FieldType<string, string>;
10
10
  isOptional: false;
11
11
  };
12
12
  name: {
13
- type: _lssm_lib_schema0.FieldType<string, string>;
13
+ type: _lssm_lib_schema1101.FieldType<string, string>;
14
14
  isOptional: false;
15
15
  };
16
16
  slug: {
17
- type: _lssm_lib_schema0.FieldType<string, string>;
17
+ type: _lssm_lib_schema1101.FieldType<string, string>;
18
18
  isOptional: false;
19
19
  };
20
20
  description: {
21
- type: _lssm_lib_schema0.FieldType<string, string>;
21
+ type: _lssm_lib_schema1101.FieldType<string, string>;
22
22
  isOptional: true;
23
23
  };
24
24
  status: {
25
- type: _lssm_lib_schema0.EnumType<[string, string, string, string]>;
25
+ type: _lssm_lib_schema1101.EnumType<[string, string, string, string]>;
26
26
  isOptional: false;
27
27
  };
28
28
  ownerId: {
29
- type: _lssm_lib_schema0.FieldType<string, string>;
29
+ type: _lssm_lib_schema1101.FieldType<string, string>;
30
30
  isOptional: false;
31
31
  };
32
32
  logoFileId: {
33
- type: _lssm_lib_schema0.FieldType<string, string>;
33
+ type: _lssm_lib_schema1101.FieldType<string, string>;
34
34
  isOptional: true;
35
35
  };
36
36
  isVerified: {
37
- type: _lssm_lib_schema0.FieldType<boolean, boolean>;
37
+ type: _lssm_lib_schema1101.FieldType<boolean, boolean>;
38
38
  isOptional: false;
39
39
  };
40
40
  totalProducts: {
41
- type: _lssm_lib_schema0.FieldType<number, number>;
41
+ type: _lssm_lib_schema1101.FieldType<number, number>;
42
42
  isOptional: false;
43
43
  };
44
44
  averageRating: {
45
- type: _lssm_lib_schema0.FieldType<number, number>;
45
+ type: _lssm_lib_schema1101.FieldType<number, number>;
46
46
  isOptional: false;
47
47
  };
48
48
  createdAt: {
49
- type: _lssm_lib_schema0.FieldType<Date, string>;
49
+ type: _lssm_lib_schema1101.FieldType<Date, string>;
50
50
  isOptional: false;
51
51
  };
52
52
  }>;
53
53
  /**
54
54
  * Input for creating a store.
55
55
  */
56
- declare const CreateStoreInputModel: _lssm_lib_schema0.SchemaModel<{
56
+ declare const CreateStoreInputModel: _lssm_lib_schema1101.SchemaModel<{
57
57
  name: {
58
- type: _lssm_lib_schema0.FieldType<string, string>;
58
+ type: _lssm_lib_schema1101.FieldType<string, string>;
59
59
  isOptional: false;
60
60
  };
61
61
  slug: {
62
- type: _lssm_lib_schema0.FieldType<string, string>;
62
+ type: _lssm_lib_schema1101.FieldType<string, string>;
63
63
  isOptional: false;
64
64
  };
65
65
  description: {
66
- type: _lssm_lib_schema0.FieldType<string, string>;
66
+ type: _lssm_lib_schema1101.FieldType<string, string>;
67
67
  isOptional: true;
68
68
  };
69
69
  email: {
70
- type: _lssm_lib_schema0.FieldType<string, string>;
70
+ type: _lssm_lib_schema1101.FieldType<string, string>;
71
71
  isOptional: true;
72
72
  };
73
73
  country: {
74
- type: _lssm_lib_schema0.FieldType<string, string>;
74
+ type: _lssm_lib_schema1101.FieldType<string, string>;
75
75
  isOptional: true;
76
76
  };
77
77
  currency: {
78
- type: _lssm_lib_schema0.FieldType<string, string>;
78
+ type: _lssm_lib_schema1101.FieldType<string, string>;
79
79
  isOptional: true;
80
80
  };
81
81
  }>;
@@ -1 +1 @@
1
- import{StoreStatusEnum as e}from"./store.enum.js";import{ScalarTypeEnum as t,defineSchemaModel as n}from"@lssm/lib.schema";const r=n({name:`StoreModel`,description:`A seller store`,fields:{id:{type:t.String_unsecure(),isOptional:!1},name:{type:t.String_unsecure(),isOptional:!1},slug:{type:t.String_unsecure(),isOptional:!1},description:{type:t.String_unsecure(),isOptional:!0},status:{type:e,isOptional:!1},ownerId:{type:t.String_unsecure(),isOptional:!1},logoFileId:{type:t.String_unsecure(),isOptional:!0},isVerified:{type:t.Boolean(),isOptional:!1},totalProducts:{type:t.Int_unsecure(),isOptional:!1},averageRating:{type:t.Float_unsecure(),isOptional:!1},createdAt:{type:t.DateTime(),isOptional:!1}}}),i=n({name:`CreateStoreInput`,fields:{name:{type:t.NonEmptyString(),isOptional:!1},slug:{type:t.NonEmptyString(),isOptional:!1},description:{type:t.String_unsecure(),isOptional:!0},email:{type:t.EmailAddress(),isOptional:!0},country:{type:t.String_unsecure(),isOptional:!0},currency:{type:t.String_unsecure(),isOptional:!0}}});export{i as CreateStoreInputModel,r as StoreModel};
1
+ import{l as e}from"../libs/schema/dist/ScalarTypeEnum.js";import{n as t}from"../libs/schema/dist/SchemaModel.js";import"../libs/schema/dist/index.js";import{StoreStatusEnum as n}from"./store.enum.js";const r=t({name:`StoreModel`,description:`A seller store`,fields:{id:{type:e.String_unsecure(),isOptional:!1},name:{type:e.String_unsecure(),isOptional:!1},slug:{type:e.String_unsecure(),isOptional:!1},description:{type:e.String_unsecure(),isOptional:!0},status:{type:n,isOptional:!1},ownerId:{type:e.String_unsecure(),isOptional:!1},logoFileId:{type:e.String_unsecure(),isOptional:!0},isVerified:{type:e.Boolean(),isOptional:!1},totalProducts:{type:e.Int_unsecure(),isOptional:!1},averageRating:{type:e.Float_unsecure(),isOptional:!1},createdAt:{type:e.DateTime(),isOptional:!1}}}),i=t({name:`CreateStoreInput`,fields:{name:{type:e.NonEmptyString(),isOptional:!1},slug:{type:e.NonEmptyString(),isOptional:!1},description:{type:e.String_unsecure(),isOptional:!0},email:{type:e.EmailAddress(),isOptional:!0},country:{type:e.String_unsecure(),isOptional:!0},currency:{type:e.String_unsecure(),isOptional:!0}}});export{i as CreateStoreInputModel,r as StoreModel};