@contractspec/example.marketplace 1.52.0 → 1.53.0

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 (35) hide show
  1. package/dist/entities/order.d.ts +78 -78
  2. package/dist/entities/payout.d.ts +65 -65
  3. package/dist/entities/review.d.ts +56 -56
  4. package/dist/entities/store.d.ts +41 -41
  5. package/dist/marketplace.feature.d.ts +2 -2
  6. package/dist/marketplace.feature.js +6 -6
  7. package/dist/marketplace.feature.js.map +1 -1
  8. package/dist/order/order.event.d.ts +6 -6
  9. package/dist/payout/payout.event.d.ts +17 -17
  10. package/dist/payout/payout.operations.d.ts +24 -24
  11. package/dist/payout/payout.presentation.d.ts +3 -3
  12. package/dist/payout/payout.presentation.js +1 -1
  13. package/dist/payout/payout.presentation.js.map +1 -1
  14. package/dist/product/product.enum.d.ts +2 -2
  15. package/dist/product/product.event.d.ts +20 -20
  16. package/dist/product/product.operations.d.ts +68 -68
  17. package/dist/product/product.presentation.d.ts +4 -4
  18. package/dist/product/product.schema.d.ts +52 -52
  19. package/dist/product/product.schema.d.ts.map +1 -1
  20. package/dist/review/review.enum.d.ts +2 -2
  21. package/dist/review/review.event.d.ts +15 -15
  22. package/dist/review/review.event.d.ts.map +1 -1
  23. package/dist/review/review.operations.d.ts +59 -59
  24. package/dist/review/review.presentation.d.ts +3 -3
  25. package/dist/review/review.presentation.js +1 -1
  26. package/dist/review/review.presentation.js.map +1 -1
  27. package/dist/review/review.schema.d.ts +45 -45
  28. package/dist/store/store.enum.d.ts +2 -2
  29. package/dist/store/store.enum.d.ts.map +1 -1
  30. package/dist/store/store.event.d.ts +14 -14
  31. package/dist/store/store.event.d.ts.map +1 -1
  32. package/dist/store/store.operations.d.ts +33 -33
  33. package/dist/store/store.schema.d.ts +20 -20
  34. package/dist/tests/operations.test-spec.d.ts +6 -6
  35. package/package.json +8 -8
@@ -150,7 +150,7 @@ const MarketplaceFeature = defineFeature({
150
150
  version: "1.0.0"
151
151
  },
152
152
  {
153
- key: "marketplace.payout.list",
153
+ key: "marketplace.payout.viewList",
154
154
  version: "1.0.0"
155
155
  },
156
156
  {
@@ -158,7 +158,7 @@ const MarketplaceFeature = defineFeature({
158
158
  version: "1.0.0"
159
159
  },
160
160
  {
161
- key: "marketplace.review.list",
161
+ key: "marketplace.review.viewList",
162
162
  version: "1.0.0"
163
163
  },
164
164
  {
@@ -193,7 +193,7 @@ const MarketplaceFeature = defineFeature({
193
193
  version: "1.0.0"
194
194
  },
195
195
  pres: {
196
- key: "marketplace.payout.list",
196
+ key: "marketplace.payout.viewList",
197
197
  version: "1.0.0"
198
198
  }
199
199
  },
@@ -203,7 +203,7 @@ const MarketplaceFeature = defineFeature({
203
203
  version: "1.0.0"
204
204
  },
205
205
  pres: {
206
- key: "marketplace.review.list",
206
+ key: "marketplace.review.viewList",
207
207
  version: "1.0.0"
208
208
  }
209
209
  },
@@ -260,12 +260,12 @@ const MarketplaceFeature = defineFeature({
260
260
  targets: ["react"]
261
261
  },
262
262
  {
263
- key: "marketplace.payout.list",
263
+ key: "marketplace.payout.viewList",
264
264
  version: "1.0.0",
265
265
  targets: ["react", "markdown"]
266
266
  },
267
267
  {
268
- key: "marketplace.review.list",
268
+ key: "marketplace.review.viewList",
269
269
  version: "1.0.0",
270
270
  targets: ["react", "markdown"]
271
271
  }
@@ -1 +1 @@
1
- {"version":3,"file":"marketplace.feature.js","names":[],"sources":["../src/marketplace.feature.ts"],"sourcesContent":["/**\n * Marketplace Feature Module Specification\n */\nimport { defineFeature } from '@contractspec/lib.contracts';\n\n/**\n * Marketplace feature module that bundles multi-vendor marketplace\n * capabilities including stores, products, orders, payouts, and reviews.\n */\nexport const MarketplaceFeature = defineFeature({\n meta: {\n key: 'marketplace',\n version: '1.0.0',\n title: 'Multi-Vendor Marketplace',\n description:\n 'Full-featured marketplace with stores, products, orders, payouts, and reviews',\n domain: 'marketplace',\n owners: ['@marketplace-team'],\n tags: ['marketplace', 'ecommerce', 'multi-vendor', 'payments'],\n stability: 'experimental',\n },\n\n operations: [\n // Store operations\n { key: 'marketplace.store.create', version: '1.0.0' },\n\n // Product operations\n { key: 'marketplace.product.create', version: '1.0.0' },\n { key: 'marketplace.product.list', version: '1.0.0' },\n\n // Order operations\n { key: 'marketplace.order.create', version: '1.0.0' },\n { key: 'marketplace.order.updateStatus', version: '1.0.0' },\n\n // Payout operations\n { key: 'marketplace.payout.list', version: '1.0.0' },\n\n // Review operations\n { key: 'marketplace.review.create', version: '1.0.0' },\n { key: 'marketplace.review.list', version: '1.0.0' },\n ],\n\n events: [\n // Store events\n { key: 'marketplace.store.created', version: '1.0.0' },\n { key: 'marketplace.store.statusChanged', version: '1.0.0' },\n\n // Product events\n { key: 'marketplace.product.created', version: '1.0.0' },\n { key: 'marketplace.product.published', version: '1.0.0' },\n { key: 'marketplace.inventory.updated', version: '1.0.0' },\n\n // Order events\n { key: 'marketplace.order.created', version: '1.0.0' },\n { key: 'marketplace.order.paid', version: '1.0.0' },\n { key: 'marketplace.order.statusUpdated', version: '1.0.0' },\n { key: 'marketplace.order.shipped', version: '1.0.0' },\n { key: 'marketplace.order.completed', version: '1.0.0' },\n\n // Payout events\n { key: 'marketplace.payout.created', version: '1.0.0' },\n { key: 'marketplace.payout.paid', version: '1.0.0' },\n\n // Review events\n { key: 'marketplace.review.created', version: '1.0.0' },\n { key: 'marketplace.review.responded', version: '1.0.0' },\n ],\n\n presentations: [\n // Store\n { key: 'marketplace.store.profile', version: '1.0.0' },\n { key: 'marketplace.seller.dashboard', version: '1.0.0' },\n\n // Product\n { key: 'marketplace.product.catalog', version: '1.0.0' },\n { key: 'marketplace.product.detail', version: '1.0.0' },\n { key: 'marketplace.product.editor', version: '1.0.0' },\n\n // Order\n { key: 'marketplace.order.list', version: '1.0.0' },\n { key: 'marketplace.order.detail', version: '1.0.0' },\n { key: 'marketplace.checkout', version: '1.0.0' },\n\n // Payout\n { key: 'marketplace.payout.list', version: '1.0.0' },\n { key: 'marketplace.payout.detail', version: '1.0.0' },\n\n // Review\n { key: 'marketplace.review.list', version: '1.0.0' },\n { key: 'marketplace.review.form', version: '1.0.0' },\n ],\n\n opToPresentation: [\n {\n op: { key: 'marketplace.product.list', version: '1.0.0' },\n pres: { key: 'marketplace.product.catalog', version: '1.0.0' },\n },\n {\n op: { key: 'marketplace.order.create', version: '1.0.0' },\n pres: { key: 'marketplace.checkout', version: '1.0.0' },\n },\n {\n op: { key: 'marketplace.payout.list', version: '1.0.0' },\n pres: { key: 'marketplace.payout.list', version: '1.0.0' },\n },\n {\n op: { key: 'marketplace.review.list', version: '1.0.0' },\n pres: { key: 'marketplace.review.list', version: '1.0.0' },\n },\n {\n op: { key: 'marketplace.review.create', version: '1.0.0' },\n pres: { key: 'marketplace.review.form', version: '1.0.0' },\n },\n ],\n\n presentationsTargets: [\n {\n key: 'marketplace.store.profile',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'marketplace.seller.dashboard',\n version: '1.0.0',\n targets: ['react'],\n },\n {\n key: 'marketplace.product.catalog',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'marketplace.product.detail',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n { key: 'marketplace.product.editor', version: '1.0.0', targets: ['react'] },\n {\n key: 'marketplace.order.list',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'marketplace.order.detail',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n { key: 'marketplace.checkout', version: '1.0.0', targets: ['react'] },\n {\n key: 'marketplace.payout.list',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'marketplace.review.list',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n ],\n\n capabilities: {\n requires: [\n { key: 'identity', version: '1.0.0' },\n { key: 'audit-trail', version: '1.0.0' },\n { key: 'notifications', version: '1.0.0' },\n { key: 'files', version: '1.0.0' },\n { key: 'metering', version: '1.0.0' },\n ],\n provides: [\n { key: 'marketpl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AK;GACL,SAAS;GACT,SAAS,CAAC,SAAS,WAAW;GAC/B;EACD;GACE,KAAK;GACL,SAAS;GACT,SAAS,CAAC,SAAS,WAAW;GAC/B;EACD;GAAE,KAAK;GAAwB,SAAS;GAAS,SAAS,CAAC,QAAQ;GAAE;EACrE;GACE,KAAK;GACL,SAAS;GACT,SAAS,CAAC,SAAS,WAAW;GAC/B;EACD;GACE,KAAK;GACL,SAAS;GACT,SAAS,CAAC,SAAS,WAAW;GAC/B;EACF;CAED,cAAc;EACZ,UAAU;GACR;IAAE,KAAK;IAAY,SAAS;IAAS;GACrC;IAAE,KAAK;IAAe,SAAS;IAAS;GACxC;IAAE,KAAK;IAAiB,SAAS;IAAS;GAC1C;IAAE,KAAK;IAAS,SAAS;IAAS;GAClC;IAAE,KAAK;IAAY,SAAS;IAAS;GACtC;EACD,UAAU;GACR;IAAE,KAAK;IAAe,SAAS;IAAS;GACxC;IAAE,KAAK;IAAa,SAAS;IAAS;GACtC;IAAE,KAAK;IAAY,SAAS;IAAS;GACtC;EACF;CACF,CAAC"}
1
+ {"version":3,"file":"marketplace.feature.js","names":[],"sources":["../src/marketplace.feature.ts"],"sourcesContent":["/**\n * Marketplace Feature Module Specification\n */\nimport { defineFeature } from '@contractspec/lib.contracts';\n\n/**\n * Marketplace feature module that bundles multi-vendor marketplace\n * capabilities including stores, products, orders, payouts, and reviews.\n */\nexport const MarketplaceFeature = defineFeature({\n meta: {\n key: 'marketplace',\n version: '1.0.0',\n title: 'Multi-Vendor Marketplace',\n description:\n 'Full-featured marketplace with stores, products, orders, payouts, and reviews',\n domain: 'marketplace',\n owners: ['@marketplace-team'],\n tags: ['marketplace', 'ecommerce', 'multi-vendor', 'payments'],\n stability: 'experimental',\n },\n\n operations: [\n // Store operations\n { key: 'marketplace.store.create', version: '1.0.0' },\n\n // Product operations\n { key: 'marketplace.product.create', version: '1.0.0' },\n { key: 'marketplace.product.list', version: '1.0.0' },\n\n // Order operations\n { key: 'marketplace.order.create', version: '1.0.0' },\n { key: 'marketplace.order.updateStatus', version: '1.0.0' },\n\n // Payout operations\n { key: 'marketplace.payout.list', version: '1.0.0' },\n\n // Review operations\n { key: 'marketplace.review.create', version: '1.0.0' },\n { key: 'marketplace.review.list', version: '1.0.0' },\n ],\n\n events: [\n // Store events\n { key: 'marketplace.store.created', version: '1.0.0' },\n { key: 'marketplace.store.statusChanged', version: '1.0.0' },\n\n // Product events\n { key: 'marketplace.product.created', version: '1.0.0' },\n { key: 'marketplace.product.published', version: '1.0.0' },\n { key: 'marketplace.inventory.updated', version: '1.0.0' },\n\n // Order events\n { key: 'marketplace.order.created', version: '1.0.0' },\n { key: 'marketplace.order.paid', version: '1.0.0' },\n { key: 'marketplace.order.statusUpdated', version: '1.0.0' },\n { key: 'marketplace.order.shipped', version: '1.0.0' },\n { key: 'marketplace.order.completed', version: '1.0.0' },\n\n // Payout events\n { key: 'marketplace.payout.created', version: '1.0.0' },\n { key: 'marketplace.payout.paid', version: '1.0.0' },\n\n // Review events\n { key: 'marketplace.review.created', version: '1.0.0' },\n { key: 'marketplace.review.responded', version: '1.0.0' },\n ],\n\n presentations: [\n // Store\n { key: 'marketplace.store.profile', version: '1.0.0' },\n { key: 'marketplace.seller.dashboard', version: '1.0.0' },\n\n // Product\n { key: 'marketplace.product.catalog', version: '1.0.0' },\n { key: 'marketplace.product.detail', version: '1.0.0' },\n { key: 'marketplace.product.editor', version: '1.0.0' },\n\n // Order\n { key: 'marketplace.order.list', version: '1.0.0' },\n { key: 'marketplace.order.detail', version: '1.0.0' },\n { key: 'marketplace.checkout', version: '1.0.0' },\n\n // Payout\n { key: 'marketplace.payout.viewList', version: '1.0.0' },\n { key: 'marketplace.payout.detail', version: '1.0.0' },\n\n // Review\n { key: 'marketplace.review.viewList', version: '1.0.0' },\n { key: 'marketplace.review.form', version: '1.0.0' },\n ],\n\n opToPresentation: [\n {\n op: { key: 'marketplace.product.list', version: '1.0.0' },\n pres: { key: 'marketplace.product.catalog', version: '1.0.0' },\n },\n {\n op: { key: 'marketplace.order.create', version: '1.0.0' },\n pres: { key: 'marketplace.checkout', version: '1.0.0' },\n },\n {\n op: { key: 'marketplace.payout.list', version: '1.0.0' },\n pres: { key: 'marketplace.payout.viewList', version: '1.0.0' },\n },\n {\n op: { key: 'marketplace.review.list', version: '1.0.0' },\n pres: { key: 'marketplace.review.viewList', version: '1.0.0' },\n },\n {\n op: { key: 'marketplace.review.create', version: '1.0.0' },\n pres: { key: 'marketplace.review.form', version: '1.0.0' },\n },\n ],\n\n presentationsTargets: [\n {\n key: 'marketplace.store.profile',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'marketplace.seller.dashboard',\n version: '1.0.0',\n targets: ['react'],\n },\n {\n key: 'marketplace.product.catalog',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'marketplace.product.detail',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n { key: 'marketplace.product.editor', version: '1.0.0', targets: ['react'] },\n {\n key: 'marketplace.order.list',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'marketplace.order.detail',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n { key: 'marketplace.checkout', version: '1.0.0', targets: ['react'] },\n {\n key: 'marketplace.payout.viewList',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n {\n key: 'marketplace.review.viewList',\n version: '1.0.0',\n targets: ['react', 'markdown'],\n },\n ],\n\n capabilities: {\n requires: [\n { key: 'identity', version: '1.0.0' },\n { key: 'audit-trail', version: '1.0.0' },\n { key: 'notifications', version: '1.0.0' },\n { key: 'files', version: '1.0.0' },\n { key: 'metering', version: '1.0.0' },\n ],\n provides: [\n { key: 'marketplace', version: '1.0.0' },\n { key: 'ecommerce', version: '1.0.0' },\n { key: 'payments', version: '1.0.0' },\n ],\n },\n});\n"],"mappings":";;;;;;;;;;AASA,MAAa,qBAAqB,cAAc;CAC9C,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EAC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ACrE;GACE,KAAK;GACL,SAAS;GACT,SAAS,CAAC,SAAS,WAAW;GAC/B;EACD;GACE,KAAK;GACL,SAAS;GACT,SAAS,CAAC,SAAS,WAAW;GAC/B;EACF;CAED,cAAc;EACZ,UAAU;GACR;IAAE,KAAK;IAAY,SAAS;IAAS;GACrC;IAAE,KAAK;IAAe,SAAS;IAAS;GACxC;IAAE,KAAK;IAAiB,SAAS;IAAS;GAC1C;IAAE,KAAK;IAAS,SAAS;IAAS;GAClC;IAAE,KAAK;IAAY,SAAS;IAAS;GACtC;EACD,UAAU;GACR;IAAE,KAAK;IAAe,SAAS;IAAS;GACxC;IAAE,KAAK;IAAa,SAAS;IAAS;GACtC;IAAE,KAAK;IAAY,SAAS;IAAS;GACtC;EACF;CACF,CAAC"}
@@ -1,8 +1,8 @@
1
- import * as _contractspec_lib_contracts3 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts4 from "@contractspec/lib.contracts";
2
2
  import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
3
3
 
4
4
  //#region src/order/order.event.d.ts
5
- declare const OrderCreatedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema0.SchemaModel<{
5
+ declare const OrderCreatedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema0.SchemaModel<{
6
6
  orderId: {
7
7
  type: _contractspec_lib_schema0.FieldType<string, string>;
8
8
  isOptional: false;
@@ -36,7 +36,7 @@ declare const OrderCreatedEvent: _contractspec_lib_contracts3.EventSpec<_contrac
36
36
  isOptional: false;
37
37
  };
38
38
  }>>;
39
- declare const OrderPaidEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema0.SchemaModel<{
39
+ declare const OrderPaidEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema0.SchemaModel<{
40
40
  orderId: {
41
41
  type: _contractspec_lib_schema0.FieldType<string, string>;
42
42
  isOptional: false;
@@ -58,7 +58,7 @@ declare const OrderPaidEvent: _contractspec_lib_contracts3.EventSpec<_contractsp
58
58
  isOptional: false;
59
59
  };
60
60
  }>>;
61
- declare const OrderStatusUpdatedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema0.SchemaModel<{
61
+ declare const OrderStatusUpdatedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema0.SchemaModel<{
62
62
  orderId: {
63
63
  type: _contractspec_lib_schema0.FieldType<string, string>;
64
64
  isOptional: false;
@@ -84,7 +84,7 @@ declare const OrderStatusUpdatedEvent: _contractspec_lib_contracts3.EventSpec<_c
84
84
  isOptional: false;
85
85
  };
86
86
  }>>;
87
- declare const OrderShippedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema0.SchemaModel<{
87
+ declare const OrderShippedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema0.SchemaModel<{
88
88
  orderId: {
89
89
  type: _contractspec_lib_schema0.FieldType<string, string>;
90
90
  isOptional: false;
@@ -110,7 +110,7 @@ declare const OrderShippedEvent: _contractspec_lib_contracts3.EventSpec<_contrac
110
110
  isOptional: false;
111
111
  };
112
112
  }>>;
113
- declare const OrderCompletedEvent: _contractspec_lib_contracts3.EventSpec<_contractspec_lib_schema0.SchemaModel<{
113
+ declare const OrderCompletedEvent: _contractspec_lib_contracts4.EventSpec<_contractspec_lib_schema0.SchemaModel<{
114
114
  orderId: {
115
115
  type: _contractspec_lib_schema0.FieldType<string, string>;
116
116
  isOptional: false;
@@ -1,60 +1,60 @@
1
- import * as _contractspec_lib_contracts15 from "@contractspec/lib.contracts";
2
- import * as _contractspec_lib_schema786 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_contracts14 from "@contractspec/lib.contracts";
2
+ import * as _contractspec_lib_schema669 from "@contractspec/lib.schema";
3
3
 
4
4
  //#region src/payout/payout.event.d.ts
5
- declare const PayoutCreatedEvent: _contractspec_lib_contracts15.EventSpec<_contractspec_lib_schema786.SchemaModel<{
5
+ declare const PayoutCreatedEvent: _contractspec_lib_contracts14.EventSpec<_contractspec_lib_schema669.SchemaModel<{
6
6
  payoutId: {
7
- type: _contractspec_lib_schema786.FieldType<string, string>;
7
+ type: _contractspec_lib_schema669.FieldType<string, string>;
8
8
  isOptional: false;
9
9
  };
10
10
  payoutNumber: {
11
- type: _contractspec_lib_schema786.FieldType<string, string>;
11
+ type: _contractspec_lib_schema669.FieldType<string, string>;
12
12
  isOptional: false;
13
13
  };
14
14
  storeId: {
15
- type: _contractspec_lib_schema786.FieldType<string, string>;
15
+ type: _contractspec_lib_schema669.FieldType<string, string>;
16
16
  isOptional: false;
17
17
  };
18
18
  netAmount: {
19
- type: _contractspec_lib_schema786.FieldType<number, number>;
19
+ type: _contractspec_lib_schema669.FieldType<number, number>;
20
20
  isOptional: false;
21
21
  };
22
22
  currency: {
23
- type: _contractspec_lib_schema786.FieldType<string, string>;
23
+ type: _contractspec_lib_schema669.FieldType<string, string>;
24
24
  isOptional: false;
25
25
  };
26
26
  orderCount: {
27
- type: _contractspec_lib_schema786.FieldType<number, number>;
27
+ type: _contractspec_lib_schema669.FieldType<number, number>;
28
28
  isOptional: false;
29
29
  };
30
30
  timestamp: {
31
- type: _contractspec_lib_schema786.FieldType<Date, string>;
31
+ type: _contractspec_lib_schema669.FieldType<Date, string>;
32
32
  isOptional: false;
33
33
  };
34
34
  }>>;
35
- declare const PayoutPaidEvent: _contractspec_lib_contracts15.EventSpec<_contractspec_lib_schema786.SchemaModel<{
35
+ declare const PayoutPaidEvent: _contractspec_lib_contracts14.EventSpec<_contractspec_lib_schema669.SchemaModel<{
36
36
  payoutId: {
37
- type: _contractspec_lib_schema786.FieldType<string, string>;
37
+ type: _contractspec_lib_schema669.FieldType<string, string>;
38
38
  isOptional: false;
39
39
  };
40
40
  payoutNumber: {
41
- type: _contractspec_lib_schema786.FieldType<string, string>;
41
+ type: _contractspec_lib_schema669.FieldType<string, string>;
42
42
  isOptional: false;
43
43
  };
44
44
  storeId: {
45
- type: _contractspec_lib_schema786.FieldType<string, string>;
45
+ type: _contractspec_lib_schema669.FieldType<string, string>;
46
46
  isOptional: false;
47
47
  };
48
48
  netAmount: {
49
- type: _contractspec_lib_schema786.FieldType<number, number>;
49
+ type: _contractspec_lib_schema669.FieldType<number, number>;
50
50
  isOptional: false;
51
51
  };
52
52
  paymentReference: {
53
- type: _contractspec_lib_schema786.FieldType<string, string>;
53
+ type: _contractspec_lib_schema669.FieldType<string, string>;
54
54
  isOptional: true;
55
55
  };
56
56
  timestamp: {
57
- type: _contractspec_lib_schema786.FieldType<Date, string>;
57
+ type: _contractspec_lib_schema669.FieldType<Date, string>;
58
58
  isOptional: false;
59
59
  };
60
60
  }>>;
@@ -1,82 +1,82 @@
1
- import * as _contractspec_lib_contracts14 from "@contractspec/lib.contracts";
2
- import * as _contractspec_lib_schema724 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_contracts16 from "@contractspec/lib.contracts";
2
+ import * as _contractspec_lib_schema739 from "@contractspec/lib.schema";
3
3
 
4
4
  //#region src/payout/payout.operations.d.ts
5
5
  /**
6
6
  * List payouts for a store.
7
7
  */
8
- declare const ListPayoutsContract: _contractspec_lib_contracts14.OperationSpec<_contractspec_lib_schema724.SchemaModel<{
8
+ declare const ListPayoutsContract: _contractspec_lib_contracts16.OperationSpec<_contractspec_lib_schema739.SchemaModel<{
9
9
  storeId: {
10
- type: _contractspec_lib_schema724.FieldType<string, string>;
10
+ type: _contractspec_lib_schema739.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  status: {
14
- type: _contractspec_lib_schema724.EnumType<[string, string, string, string, string]>;
14
+ type: _contractspec_lib_schema739.EnumType<[string, string, string, string, string]>;
15
15
  isOptional: true;
16
16
  };
17
17
  limit: {
18
- type: _contractspec_lib_schema724.FieldType<number, number>;
18
+ type: _contractspec_lib_schema739.FieldType<number, number>;
19
19
  isOptional: true;
20
20
  defaultValue: number;
21
21
  };
22
22
  offset: {
23
- type: _contractspec_lib_schema724.FieldType<number, number>;
23
+ type: _contractspec_lib_schema739.FieldType<number, number>;
24
24
  isOptional: true;
25
25
  defaultValue: number;
26
26
  };
27
- }>, _contractspec_lib_schema724.SchemaModel<{
27
+ }>, _contractspec_lib_schema739.SchemaModel<{
28
28
  payouts: {
29
- type: _contractspec_lib_schema724.SchemaModel<{
29
+ type: _contractspec_lib_schema739.SchemaModel<{
30
30
  id: {
31
- type: _contractspec_lib_schema724.FieldType<string, string>;
31
+ type: _contractspec_lib_schema739.FieldType<string, string>;
32
32
  isOptional: false;
33
33
  };
34
34
  payoutNumber: {
35
- type: _contractspec_lib_schema724.FieldType<string, string>;
35
+ type: _contractspec_lib_schema739.FieldType<string, string>;
36
36
  isOptional: false;
37
37
  };
38
38
  storeId: {
39
- type: _contractspec_lib_schema724.FieldType<string, string>;
39
+ type: _contractspec_lib_schema739.FieldType<string, string>;
40
40
  isOptional: false;
41
41
  };
42
42
  status: {
43
- type: _contractspec_lib_schema724.EnumType<[string, string, string, string, string]>;
43
+ type: _contractspec_lib_schema739.EnumType<[string, string, string, string, string]>;
44
44
  isOptional: false;
45
45
  };
46
46
  grossAmount: {
47
- type: _contractspec_lib_schema724.FieldType<number, number>;
47
+ type: _contractspec_lib_schema739.FieldType<number, number>;
48
48
  isOptional: false;
49
49
  };
50
50
  platformFees: {
51
- type: _contractspec_lib_schema724.FieldType<number, number>;
51
+ type: _contractspec_lib_schema739.FieldType<number, number>;
52
52
  isOptional: false;
53
53
  };
54
54
  netAmount: {
55
- type: _contractspec_lib_schema724.FieldType<number, number>;
55
+ type: _contractspec_lib_schema739.FieldType<number, number>;
56
56
  isOptional: false;
57
57
  };
58
58
  currency: {
59
- type: _contractspec_lib_schema724.FieldType<string, string>;
59
+ type: _contractspec_lib_schema739.FieldType<string, string>;
60
60
  isOptional: false;
61
61
  };
62
62
  periodStart: {
63
- type: _contractspec_lib_schema724.FieldType<Date, string>;
63
+ type: _contractspec_lib_schema739.FieldType<Date, string>;
64
64
  isOptional: false;
65
65
  };
66
66
  periodEnd: {
67
- type: _contractspec_lib_schema724.FieldType<Date, string>;
67
+ type: _contractspec_lib_schema739.FieldType<Date, string>;
68
68
  isOptional: false;
69
69
  };
70
70
  orderCount: {
71
- type: _contractspec_lib_schema724.FieldType<number, number>;
71
+ type: _contractspec_lib_schema739.FieldType<number, number>;
72
72
  isOptional: false;
73
73
  };
74
74
  createdAt: {
75
- type: _contractspec_lib_schema724.FieldType<Date, string>;
75
+ type: _contractspec_lib_schema739.FieldType<Date, string>;
76
76
  isOptional: false;
77
77
  };
78
78
  paidAt: {
79
- type: _contractspec_lib_schema724.FieldType<Date, string>;
79
+ type: _contractspec_lib_schema739.FieldType<Date, string>;
80
80
  isOptional: true;
81
81
  };
82
82
  }>;
@@ -84,11 +84,11 @@ declare const ListPayoutsContract: _contractspec_lib_contracts14.OperationSpec<_
84
84
  isOptional: false;
85
85
  };
86
86
  total: {
87
- type: _contractspec_lib_schema724.FieldType<number, number>;
87
+ type: _contractspec_lib_schema739.FieldType<number, number>;
88
88
  isOptional: false;
89
89
  };
90
90
  totalPending: {
91
- type: _contractspec_lib_schema724.FieldType<number, number>;
91
+ type: _contractspec_lib_schema739.FieldType<number, number>;
92
92
  isOptional: false;
93
93
  };
94
94
  }>, undefined>;
@@ -1,8 +1,8 @@
1
- import * as _contractspec_lib_contracts20 from "@contractspec/lib.contracts";
1
+ import * as _contractspec_lib_contracts17 from "@contractspec/lib.contracts";
2
2
 
3
3
  //#region src/payout/payout.presentation.d.ts
4
- declare const PayoutListPresentation: _contractspec_lib_contracts20.PresentationSpec;
5
- declare const PayoutDetailPresentation: _contractspec_lib_contracts20.PresentationSpec;
4
+ declare const PayoutListPresentation: _contractspec_lib_contracts17.PresentationSpec;
5
+ declare const PayoutDetailPresentation: _contractspec_lib_contracts17.PresentationSpec;
6
6
  //#endregion
7
7
  export { PayoutDetailPresentation, PayoutListPresentation };
8
8
  //# sourceMappingURL=payout.presentation.d.ts.map
@@ -4,7 +4,7 @@ import { StabilityEnum, definePresentation } from "@contractspec/lib.contracts";
4
4
  //#region src/payout/payout.presentation.ts
5
5
  const PayoutListPresentation = definePresentation({
6
6
  meta: {
7
- key: "marketplace.payout.list",
7
+ key: "marketplace.payout.viewList",
8
8
  version: "1.0.0",
9
9
  title: "Payout List",
10
10
  description: "List of payouts for sellers",
@@ -1 +1 @@
1
- {"version":3,"file":"payout.presentation.js","names":[],"sources":["../../src/payout/payout.presentation.ts"],"sourcesContent":["import { definePresentation, StabilityEnum } from '@contractspec/lib.contracts';\nimport { PayoutModel } from './payout.schema';\n\nexport const PayoutListPresentation = definePresentation({\n meta: {\n key: 'marketplace.payout.list',\n version: '1.0.0',\n title: 'Payout List',\n description: 'List of payouts for sellers',\n domain: 'marketplace',\n owners: ['@marketplace-team'],\n tags: ['marketplace', 'payout', 'list'],\n stability: StabilityEnum.Experimental,\n goal: 'Show sellers their historical and pending payouts.',\n context: 'Financial dashboard for sellers.',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'PayoutList',\n props: PayoutModel,\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['marketplace.payouts.enabled'],\n },\n});\n\nexport const PayoutDetailPresentation = definePresentation({\n meta: {\n key: 'marketplace.payout.detail',\n version: '1.0.0',\n title: 'Payout Details',\n description: 'Payout detail with breakdown',\n domain: 'marketplace',\n owners: ['@marketplace-team'],\n tags: ['marketplace', 'payout', 'detail'],\n stability: StabilityEnum.Experimental,\n goal: 'Show the breakdown of a specific payout including fees and orders.',\n context: 'Accessed from the payout list.',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'PayoutDetail',\n props: PayoutModel,\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['marketplace.payouts.enabled'],\n },\n});\n"],"mappings":";;;;AAGA,MAAa,yBAAyB,mBAAmB;CACvD,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,oBAAoB;EAC7B,MAAM;GAAC;GAAe;GAAU;GAAO;EACvC,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACV;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACd,OAAO;EACR;CACD,SAAS,CAAC,SAAS,WAAW;CAC9B,QAAQ,EACN,OAAO,CAAC,8BAA8B,EACvC;CACF,CAAC;AAEF,MAAa,2BAA2B,mBAAmB;CACzD,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,oBAAoB;EAC7B,MAAM;GAAC;GAAe;GAAU;GAAS;EACzC,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACV;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACd,OAAO;EACR;CACD,SAAS,CAAC,SAAS,WAAW;CAC9B,QAAQ,EACN,OAAO,CAAC,8BAA8B,EACvC;CACF,CAAC"}
1
+ {"version":3,"file":"payout.presentation.js","names":[],"sources":["../../src/payout/payout.presentation.ts"],"sourcesContent":["import { definePresentation, StabilityEnum } from '@contractspec/lib.contracts';\nimport { PayoutModel } from './payout.schema';\n\nexport const PayoutListPresentation = definePresentation({\n meta: {\n key: 'marketplace.payout.viewList',\n version: '1.0.0',\n title: 'Payout List',\n description: 'List of payouts for sellers',\n domain: 'marketplace',\n owners: ['@marketplace-team'],\n tags: ['marketplace', 'payout', 'list'],\n stability: StabilityEnum.Experimental,\n goal: 'Show sellers their historical and pending payouts.',\n context: 'Financial dashboard for sellers.',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'PayoutList',\n props: PayoutModel,\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['marketplace.payouts.enabled'],\n },\n});\n\nexport const PayoutDetailPresentation = definePresentation({\n meta: {\n key: 'marketplace.payout.detail',\n version: '1.0.0',\n title: 'Payout Details',\n description: 'Payout detail with breakdown',\n domain: 'marketplace',\n owners: ['@marketplace-team'],\n tags: ['marketplace', 'payout', 'detail'],\n stability: StabilityEnum.Experimental,\n goal: 'Show the breakdown of a specific payout including fees and orders.',\n context: 'Accessed from the payout list.',\n },\n source: {\n type: 'component',\n framework: 'react',\n componentKey: 'PayoutDetail',\n props: PayoutModel,\n },\n targets: ['react', 'markdown'],\n policy: {\n flags: ['marketplace.payouts.enabled'],\n },\n});\n"],"mappings":";;;;AAGA,MAAa,yBAAyB,mBAAmB;CACvD,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,oBAAoB;EAC7B,MAAM;GAAC;GAAe;GAAU;GAAO;EACvC,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACV;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACd,OAAO;EACR;CACD,SAAS,CAAC,SAAS,WAAW;CAC9B,QAAQ,EACN,OAAO,CAAC,8BAA8B,EACvC;CACF,CAAC;AAEF,MAAa,2BAA2B,mBAAmB;CACzD,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aAAa;EACb,QAAQ;EACR,QAAQ,CAAC,oBAAoB;EAC7B,MAAM;GAAC;GAAe;GAAU;GAAS;EACzC,WAAW,cAAc;EACzB,MAAM;EACN,SAAS;EACV;CACD,QAAQ;EACN,MAAM;EACN,WAAW;EACX,cAAc;EACd,OAAO;EACR;CACD,SAAS,CAAC,SAAS,WAAW;CAC9B,QAAQ,EACN,OAAO,CAAC,8BAA8B,EACvC;CACF,CAAC"}
@@ -1,10 +1,10 @@
1
- import * as _contractspec_lib_schema837 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_schema869 from "@contractspec/lib.schema";
2
2
 
3
3
  //#region src/product/product.enum.d.ts
4
4
  /**
5
5
  * Product status enum.
6
6
  */
7
- declare const ProductStatusEnum: _contractspec_lib_schema837.EnumType<[string, string, string, string, string, string]>;
7
+ declare const ProductStatusEnum: _contractspec_lib_schema869.EnumType<[string, string, string, string, string, string]>;
8
8
  //#endregion
9
9
  export { ProductStatusEnum };
10
10
  //# sourceMappingURL=product.enum.d.ts.map
@@ -1,70 +1,70 @@
1
- import * as _contractspec_lib_contracts24 from "@contractspec/lib.contracts";
2
- import * as _contractspec_lib_schema955 from "@contractspec/lib.schema";
1
+ import * as _contractspec_lib_contracts26 from "@contractspec/lib.contracts";
2
+ import * as _contractspec_lib_schema851 from "@contractspec/lib.schema";
3
3
 
4
4
  //#region src/product/product.event.d.ts
5
- declare const ProductCreatedEvent: _contractspec_lib_contracts24.EventSpec<_contractspec_lib_schema955.SchemaModel<{
5
+ declare const ProductCreatedEvent: _contractspec_lib_contracts26.EventSpec<_contractspec_lib_schema851.SchemaModel<{
6
6
  productId: {
7
- type: _contractspec_lib_schema955.FieldType<string, string>;
7
+ type: _contractspec_lib_schema851.FieldType<string, string>;
8
8
  isOptional: false;
9
9
  };
10
10
  storeId: {
11
- type: _contractspec_lib_schema955.FieldType<string, string>;
11
+ type: _contractspec_lib_schema851.FieldType<string, string>;
12
12
  isOptional: false;
13
13
  };
14
14
  name: {
15
- type: _contractspec_lib_schema955.FieldType<string, string>;
15
+ type: _contractspec_lib_schema851.FieldType<string, string>;
16
16
  isOptional: false;
17
17
  };
18
18
  price: {
19
- type: _contractspec_lib_schema955.FieldType<number, number>;
19
+ type: _contractspec_lib_schema851.FieldType<number, number>;
20
20
  isOptional: false;
21
21
  };
22
22
  currency: {
23
- type: _contractspec_lib_schema955.FieldType<string, string>;
23
+ type: _contractspec_lib_schema851.FieldType<string, string>;
24
24
  isOptional: false;
25
25
  };
26
26
  timestamp: {
27
- type: _contractspec_lib_schema955.FieldType<Date, string>;
27
+ type: _contractspec_lib_schema851.FieldType<Date, string>;
28
28
  isOptional: false;
29
29
  };
30
30
  }>>;
31
- declare const ProductPublishedEvent: _contractspec_lib_contracts24.EventSpec<_contractspec_lib_schema955.SchemaModel<{
31
+ declare const ProductPublishedEvent: _contractspec_lib_contracts26.EventSpec<_contractspec_lib_schema851.SchemaModel<{
32
32
  productId: {
33
- type: _contractspec_lib_schema955.FieldType<string, string>;
33
+ type: _contractspec_lib_schema851.FieldType<string, string>;
34
34
  isOptional: false;
35
35
  };
36
36
  storeId: {
37
- type: _contractspec_lib_schema955.FieldType<string, string>;
37
+ type: _contractspec_lib_schema851.FieldType<string, string>;
38
38
  isOptional: false;
39
39
  };
40
40
  timestamp: {
41
- type: _contractspec_lib_schema955.FieldType<Date, string>;
41
+ type: _contractspec_lib_schema851.FieldType<Date, string>;
42
42
  isOptional: false;
43
43
  };
44
44
  }>>;
45
- declare const InventoryUpdatedEvent: _contractspec_lib_contracts24.EventSpec<_contractspec_lib_schema955.SchemaModel<{
45
+ declare const InventoryUpdatedEvent: _contractspec_lib_contracts26.EventSpec<_contractspec_lib_schema851.SchemaModel<{
46
46
  productId: {
47
- type: _contractspec_lib_schema955.FieldType<string, string>;
47
+ type: _contractspec_lib_schema851.FieldType<string, string>;
48
48
  isOptional: false;
49
49
  };
50
50
  variantId: {
51
- type: _contractspec_lib_schema955.FieldType<string, string>;
51
+ type: _contractspec_lib_schema851.FieldType<string, string>;
52
52
  isOptional: true;
53
53
  };
54
54
  previousQuantity: {
55
- type: _contractspec_lib_schema955.FieldType<number, number>;
55
+ type: _contractspec_lib_schema851.FieldType<number, number>;
56
56
  isOptional: false;
57
57
  };
58
58
  newQuantity: {
59
- type: _contractspec_lib_schema955.FieldType<number, number>;
59
+ type: _contractspec_lib_schema851.FieldType<number, number>;
60
60
  isOptional: false;
61
61
  };
62
62
  reason: {
63
- type: _contractspec_lib_schema955.FieldType<string, string>;
63
+ type: _contractspec_lib_schema851.FieldType<string, string>;
64
64
  isOptional: false;
65
65
  };
66
66
  timestamp: {
67
- type: _contractspec_lib_schema955.FieldType<Date, string>;
67
+ type: _contractspec_lib_schema851.FieldType<Date, string>;
68
68
  isOptional: false;
69
69
  };
70
70
  }>>;