@lssm/example.marketplace 0.0.0-canary-20251217054315 → 0.0.0-canary-20251217060804

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 (43) hide show
  1. package/dist/docs/index.d.ts +1 -0
  2. package/dist/docs/marketplace.docblock.d.ts +1 -0
  3. package/dist/entities/index.d.ts +308 -0
  4. package/dist/entities/order.d.ts +104 -0
  5. package/dist/entities/payout.d.ts +91 -0
  6. package/dist/entities/product.d.ts +92 -0
  7. package/dist/entities/review.d.ts +82 -0
  8. package/dist/entities/store.d.ts +59 -0
  9. package/dist/example.d.ts +39 -0
  10. package/dist/index.d.ts +26 -0
  11. package/dist/marketplace.feature.d.ts +11 -0
  12. package/dist/order/index.d.ts +5 -0
  13. package/dist/order/order.contracts.d.ts +367 -0
  14. package/dist/order/order.enum.d.ts +9 -0
  15. package/dist/order/order.event.d.ts +144 -0
  16. package/dist/order/order.presentation.d.ts +8 -0
  17. package/dist/order/order.schema.d.ts +164 -0
  18. package/dist/payout/index.d.ts +5 -0
  19. package/dist/payout/payout.contracts.d.ts +96 -0
  20. package/dist/payout/payout.enum.d.ts +9 -0
  21. package/dist/payout/payout.event.d.ts +62 -0
  22. package/dist/payout/payout.presentation.d.ts +7 -0
  23. package/dist/payout/payout.schema.d.ts +156 -0
  24. package/dist/product/index.d.ts +5 -0
  25. package/dist/product/product.contracts.d.ts +272 -0
  26. package/dist/product/product.enum.d.ts +9 -0
  27. package/dist/product/product.event.d.ts +72 -0
  28. package/dist/product/product.presentation.d.ts +8 -0
  29. package/dist/product/product.schema.d.ts +217 -0
  30. package/dist/review/index.d.ts +5 -0
  31. package/dist/review/review.contracts.d.ts +236 -0
  32. package/dist/review/review.enum.d.ts +9 -0
  33. package/dist/review/review.event.d.ts +54 -0
  34. package/dist/review/review.presentation.d.ts +7 -0
  35. package/dist/review/review.schema.d.ts +189 -0
  36. package/dist/store/index.d.ts +5 -0
  37. package/dist/store/store.contracts.d.ts +130 -0
  38. package/dist/store/store.enum.d.ts +9 -0
  39. package/dist/store/store.event.d.ts +50 -0
  40. package/dist/store/store.presentation.d.ts +7 -0
  41. package/dist/store/store.schema.d.ts +83 -0
  42. package/package.json +53 -53
  43. package/dist/tsconfig.tsbuildinfo +0 -1
@@ -0,0 +1,83 @@
1
+ import * as _lssm_lib_schema160 from "@lssm/lib.schema";
2
+
3
+ //#region src/store/store.schema.d.ts
4
+ /**
5
+ * A seller store.
6
+ */
7
+ declare const StoreModel: _lssm_lib_schema160.SchemaModel<{
8
+ id: {
9
+ type: _lssm_lib_schema160.FieldType<string, string>;
10
+ isOptional: false;
11
+ };
12
+ name: {
13
+ type: _lssm_lib_schema160.FieldType<string, string>;
14
+ isOptional: false;
15
+ };
16
+ slug: {
17
+ type: _lssm_lib_schema160.FieldType<string, string>;
18
+ isOptional: false;
19
+ };
20
+ description: {
21
+ type: _lssm_lib_schema160.FieldType<string, string>;
22
+ isOptional: true;
23
+ };
24
+ status: {
25
+ type: _lssm_lib_schema160.EnumType<[string, string, string, string]>;
26
+ isOptional: false;
27
+ };
28
+ ownerId: {
29
+ type: _lssm_lib_schema160.FieldType<string, string>;
30
+ isOptional: false;
31
+ };
32
+ logoFileId: {
33
+ type: _lssm_lib_schema160.FieldType<string, string>;
34
+ isOptional: true;
35
+ };
36
+ isVerified: {
37
+ type: _lssm_lib_schema160.FieldType<boolean, boolean>;
38
+ isOptional: false;
39
+ };
40
+ totalProducts: {
41
+ type: _lssm_lib_schema160.FieldType<number, number>;
42
+ isOptional: false;
43
+ };
44
+ averageRating: {
45
+ type: _lssm_lib_schema160.FieldType<number, number>;
46
+ isOptional: false;
47
+ };
48
+ createdAt: {
49
+ type: _lssm_lib_schema160.FieldType<Date, string>;
50
+ isOptional: false;
51
+ };
52
+ }>;
53
+ /**
54
+ * Input for creating a store.
55
+ */
56
+ declare const CreateStoreInputModel: _lssm_lib_schema160.SchemaModel<{
57
+ name: {
58
+ type: _lssm_lib_schema160.FieldType<string, string>;
59
+ isOptional: false;
60
+ };
61
+ slug: {
62
+ type: _lssm_lib_schema160.FieldType<string, string>;
63
+ isOptional: false;
64
+ };
65
+ description: {
66
+ type: _lssm_lib_schema160.FieldType<string, string>;
67
+ isOptional: true;
68
+ };
69
+ email: {
70
+ type: _lssm_lib_schema160.FieldType<string, string>;
71
+ isOptional: true;
72
+ };
73
+ country: {
74
+ type: _lssm_lib_schema160.FieldType<string, string>;
75
+ isOptional: true;
76
+ };
77
+ currency: {
78
+ type: _lssm_lib_schema160.FieldType<string, string>;
79
+ isOptional: true;
80
+ };
81
+ }>;
82
+ //#endregion
83
+ export { CreateStoreInputModel, StoreModel };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/example.marketplace",
3
- "version": "0.0.0-canary-20251217054315",
3
+ "version": "0.0.0-canary-20251217060804",
4
4
  "description": "Marketplace example with orders, payouts, and reviews for ContractSpec",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -18,64 +18,64 @@
18
18
  "lint:check": "eslint src"
19
19
  },
20
20
  "dependencies": {
21
- "@lssm/lib.schema": "0.0.0-canary-20251217054315",
22
- "@lssm/lib.contracts": "0.0.0-canary-20251217054315",
23
- "@lssm/lib.bus": "0.0.0-canary-20251217054315",
24
- "@lssm/lib.identity-rbac": "0.0.0-canary-20251217054315",
25
- "@lssm/lib.files": "0.0.0-canary-20251217054315",
26
- "@lssm/lib.metering": "0.0.0-canary-20251217054315",
27
- "@lssm/lib.jobs": "0.0.0-canary-20251217054315",
28
- "@lssm/module.audit-trail": "0.0.0-canary-20251217054315",
29
- "@lssm/module.notifications": "0.0.0-canary-20251217054315",
21
+ "@lssm/lib.schema": "0.0.0-canary-20251217060804",
22
+ "@lssm/lib.contracts": "0.0.0-canary-20251217060804",
23
+ "@lssm/lib.bus": "0.0.0-canary-20251217060804",
24
+ "@lssm/lib.identity-rbac": "0.0.0-canary-20251217060804",
25
+ "@lssm/lib.files": "0.0.0-canary-20251217060804",
26
+ "@lssm/lib.metering": "0.0.0-canary-20251217060804",
27
+ "@lssm/lib.jobs": "0.0.0-canary-20251217060804",
28
+ "@lssm/module.audit-trail": "0.0.0-canary-20251217060804",
29
+ "@lssm/module.notifications": "0.0.0-canary-20251217060804",
30
30
  "zod": "^4.1.13"
31
31
  },
32
32
  "devDependencies": {
33
- "@lssm/tool.typescript": "0.0.0-canary-20251217054315",
34
- "@lssm/tool.tsdown": "0.0.0-canary-20251217054315",
33
+ "@lssm/tool.typescript": "0.0.0-canary-20251217060804",
34
+ "@lssm/tool.tsdown": "0.0.0-canary-20251217060804",
35
35
  "typescript": "^5.9.3"
36
36
  },
37
37
  "exports": {
38
- ".": "./src/index.ts",
39
- "./docs": "./src/docs/index.ts",
40
- "./docs/marketplace.docblock": "./src/docs/marketplace.docblock.ts",
41
- "./entities": "./src/entities/index.ts",
42
- "./entities/order": "./src/entities/order.ts",
43
- "./entities/payout": "./src/entities/payout.ts",
44
- "./entities/product": "./src/entities/product.ts",
45
- "./entities/review": "./src/entities/review.ts",
46
- "./entities/store": "./src/entities/store.ts",
47
- "./example": "./src/example.ts",
48
- "./marketplace.feature": "./src/marketplace.feature.ts",
49
- "./order": "./src/order/index.ts",
50
- "./order/order.contracts": "./src/order/order.contracts.ts",
51
- "./order/order.enum": "./src/order/order.enum.ts",
52
- "./order/order.event": "./src/order/order.event.ts",
53
- "./order/order.presentation": "./src/order/order.presentation.ts",
54
- "./order/order.schema": "./src/order/order.schema.ts",
55
- "./payout": "./src/payout/index.ts",
56
- "./payout/payout.contracts": "./src/payout/payout.contracts.ts",
57
- "./payout/payout.enum": "./src/payout/payout.enum.ts",
58
- "./payout/payout.event": "./src/payout/payout.event.ts",
59
- "./payout/payout.presentation": "./src/payout/payout.presentation.ts",
60
- "./payout/payout.schema": "./src/payout/payout.schema.ts",
61
- "./product": "./src/product/index.ts",
62
- "./product/product.contracts": "./src/product/product.contracts.ts",
63
- "./product/product.enum": "./src/product/product.enum.ts",
64
- "./product/product.event": "./src/product/product.event.ts",
65
- "./product/product.presentation": "./src/product/product.presentation.ts",
66
- "./product/product.schema": "./src/product/product.schema.ts",
67
- "./review": "./src/review/index.ts",
68
- "./review/review.contracts": "./src/review/review.contracts.ts",
69
- "./review/review.enum": "./src/review/review.enum.ts",
70
- "./review/review.event": "./src/review/review.event.ts",
71
- "./review/review.presentation": "./src/review/review.presentation.ts",
72
- "./review/review.schema": "./src/review/review.schema.ts",
73
- "./store": "./src/store/index.ts",
74
- "./store/store.contracts": "./src/store/store.contracts.ts",
75
- "./store/store.enum": "./src/store/store.enum.ts",
76
- "./store/store.event": "./src/store/store.event.ts",
77
- "./store/store.presentation": "./src/store/store.presentation.ts",
78
- "./store/store.schema": "./src/store/store.schema.ts",
38
+ ".": "./dist/index.js",
39
+ "./docs": "./dist/docs/index.js",
40
+ "./docs/marketplace.docblock": "./dist/docs/marketplace.docblock.js",
41
+ "./entities": "./dist/entities/index.js",
42
+ "./entities/order": "./dist/entities/order.js",
43
+ "./entities/payout": "./dist/entities/payout.js",
44
+ "./entities/product": "./dist/entities/product.js",
45
+ "./entities/review": "./dist/entities/review.js",
46
+ "./entities/store": "./dist/entities/store.js",
47
+ "./example": "./dist/example.js",
48
+ "./marketplace.feature": "./dist/marketplace.feature.js",
49
+ "./order": "./dist/order/index.js",
50
+ "./order/order.contracts": "./dist/order/order.contracts.js",
51
+ "./order/order.enum": "./dist/order/order.enum.js",
52
+ "./order/order.event": "./dist/order/order.event.js",
53
+ "./order/order.presentation": "./dist/order/order.presentation.js",
54
+ "./order/order.schema": "./dist/order/order.schema.js",
55
+ "./payout": "./dist/payout/index.js",
56
+ "./payout/payout.contracts": "./dist/payout/payout.contracts.js",
57
+ "./payout/payout.enum": "./dist/payout/payout.enum.js",
58
+ "./payout/payout.event": "./dist/payout/payout.event.js",
59
+ "./payout/payout.presentation": "./dist/payout/payout.presentation.js",
60
+ "./payout/payout.schema": "./dist/payout/payout.schema.js",
61
+ "./product": "./dist/product/index.js",
62
+ "./product/product.contracts": "./dist/product/product.contracts.js",
63
+ "./product/product.enum": "./dist/product/product.enum.js",
64
+ "./product/product.event": "./dist/product/product.event.js",
65
+ "./product/product.presentation": "./dist/product/product.presentation.js",
66
+ "./product/product.schema": "./dist/product/product.schema.js",
67
+ "./review": "./dist/review/index.js",
68
+ "./review/review.contracts": "./dist/review/review.contracts.js",
69
+ "./review/review.enum": "./dist/review/review.enum.js",
70
+ "./review/review.event": "./dist/review/review.event.js",
71
+ "./review/review.presentation": "./dist/review/review.presentation.js",
72
+ "./review/review.schema": "./dist/review/review.schema.js",
73
+ "./store": "./dist/store/index.js",
74
+ "./store/store.contracts": "./dist/store/store.contracts.js",
75
+ "./store/store.enum": "./dist/store/store.enum.js",
76
+ "./store/store.event": "./dist/store/store.event.js",
77
+ "./store/store.presentation": "./dist/store/store.presentation.js",
78
+ "./store/store.schema": "./dist/store/store.schema.js",
79
79
  "./*": "./*"
80
80
  },
81
81
  "module": "./dist/index.js",