@lssm/example.marketplace 0.0.0-canary-20251219202229 → 0.0.0-canary-20251220015515

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 (82) hide show
  1. package/README.md +1 -0
  2. package/dist/entities/index.d.ts +296 -296
  3. package/dist/entities/order.d.ts +78 -78
  4. package/dist/entities/payout.d.ts +65 -65
  5. package/dist/entities/product.d.ts +70 -70
  6. package/dist/entities/review.d.ts +56 -56
  7. package/dist/entities/store.d.ts +41 -41
  8. package/dist/libs/contracts/dist/capabilities/openbanking.js.map +1 -1
  9. package/dist/libs/contracts/dist/contract-registry/schemas.js.map +1 -1
  10. package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js.map +1 -1
  11. package/dist/libs/contracts/dist/docs/meta.docs.js.map +1 -1
  12. package/dist/libs/contracts/dist/docs/presentations.js.map +1 -1
  13. package/dist/libs/contracts/dist/docs/registry.js.map +1 -1
  14. package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js.map +1 -1
  15. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js.map +1 -1
  16. package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js.map +1 -1
  17. package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js.map +1 -1
  18. package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js.map +1 -1
  19. package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js.map +1 -1
  20. package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js.map +1 -1
  21. package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js.map +1 -1
  22. package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js.map +1 -1
  23. package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js.map +1 -1
  24. package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js.map +1 -1
  25. package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js.map +1 -1
  26. package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js.map +1 -1
  27. package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js.map +1 -1
  28. package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js.map +1 -1
  29. package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js.map +1 -1
  30. package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js.map +1 -1
  31. package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js.map +1 -1
  32. package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js.map +1 -1
  33. package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js.map +1 -1
  34. package/dist/libs/contracts/dist/docs/tech-contracts.docs.js.map +1 -1
  35. package/dist/libs/contracts/dist/events.js.map +1 -1
  36. package/dist/libs/contracts/dist/integrations/contracts.js.map +1 -1
  37. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js.map +1 -1
  38. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js.map +1 -1
  39. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js.map +1 -1
  40. package/dist/libs/contracts/dist/integrations/openbanking/models.js.map +1 -1
  41. package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js.map +1 -1
  42. package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js.map +1 -1
  43. package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js.map +1 -1
  44. package/dist/libs/contracts/dist/integrations/providers/gmail.js.map +1 -1
  45. package/dist/libs/contracts/dist/integrations/providers/google-calendar.js.map +1 -1
  46. package/dist/libs/contracts/dist/integrations/providers/mistral.js.map +1 -1
  47. package/dist/libs/contracts/dist/integrations/providers/postmark.js.map +1 -1
  48. package/dist/libs/contracts/dist/integrations/providers/powens.js.map +1 -1
  49. package/dist/libs/contracts/dist/integrations/providers/qdrant.js.map +1 -1
  50. package/dist/libs/contracts/dist/integrations/providers/stripe.js.map +1 -1
  51. package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js.map +1 -1
  52. package/dist/libs/contracts/dist/knowledge/contracts.js.map +1 -1
  53. package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js.map +1 -1
  54. package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js.map +1 -1
  55. package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js.map +1 -1
  56. package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js.map +1 -1
  57. package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js.map +1 -1
  58. package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js.map +1 -1
  59. package/dist/libs/contracts/dist/llm/exporters.js.map +1 -1
  60. package/dist/libs/contracts/dist/onboarding-base.js.map +1 -1
  61. package/dist/libs/contracts/dist/ownership.js +1 -0
  62. package/dist/libs/contracts/dist/ownership.js.map +1 -1
  63. package/dist/libs/contracts/dist/presentations.v2.js.map +1 -1
  64. package/dist/libs/contracts/dist/regenerator/service.js.map +1 -1
  65. package/dist/libs/contracts/dist/schema/dist/index.js.map +1 -1
  66. package/dist/libs/contracts/dist/spec.js.map +1 -1
  67. package/dist/order/order.contracts.d.ts +90 -90
  68. package/dist/order/order.enum.d.ts +2 -2
  69. package/dist/order/order.event.d.ts +38 -38
  70. package/dist/payout/payout.contracts.d.ts +24 -24
  71. package/dist/product/product.enum.d.ts +2 -2
  72. package/dist/product/product.event.d.ts +20 -20
  73. package/dist/product/product.schema.d.ts +52 -52
  74. package/dist/product/product.schema.d.ts.map +1 -1
  75. package/dist/review/review.contracts.d.ts +58 -58
  76. package/dist/review/review.contracts.d.ts.map +1 -1
  77. package/dist/review/review.event.d.ts +15 -15
  78. package/dist/review/review.schema.d.ts +45 -45
  79. package/dist/store/store.contracts.d.ts +33 -33
  80. package/dist/store/store.enum.d.ts +2 -2
  81. package/dist/store/store.event.d.ts +14 -14
  82. package/package.json +20 -14
@@ -1,127 +1,127 @@
1
- import * as _lssm_lib_schema551 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts3 from "@lssm/lib.contracts";
1
+ import * as _lssm_lib_schema798 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts6 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_contracts3.ContractSpec<_lssm_lib_schema551.SchemaModel<{
8
+ declare const CreateStoreContract: _lssm_lib_contracts6.ContractSpec<_lssm_lib_schema798.SchemaModel<{
9
9
  name: {
10
- type: _lssm_lib_schema551.FieldType<string, string>;
10
+ type: _lssm_lib_schema798.FieldType<string, string>;
11
11
  isOptional: false;
12
12
  };
13
13
  slug: {
14
- type: _lssm_lib_schema551.FieldType<string, string>;
14
+ type: _lssm_lib_schema798.FieldType<string, string>;
15
15
  isOptional: false;
16
16
  };
17
17
  description: {
18
- type: _lssm_lib_schema551.FieldType<string, string>;
18
+ type: _lssm_lib_schema798.FieldType<string, string>;
19
19
  isOptional: true;
20
20
  };
21
21
  email: {
22
- type: _lssm_lib_schema551.FieldType<string, string>;
22
+ type: _lssm_lib_schema798.FieldType<string, string>;
23
23
  isOptional: true;
24
24
  };
25
25
  country: {
26
- type: _lssm_lib_schema551.FieldType<string, string>;
26
+ type: _lssm_lib_schema798.FieldType<string, string>;
27
27
  isOptional: true;
28
28
  };
29
29
  currency: {
30
- type: _lssm_lib_schema551.FieldType<string, string>;
30
+ type: _lssm_lib_schema798.FieldType<string, string>;
31
31
  isOptional: true;
32
32
  };
33
- }>, _lssm_lib_schema551.SchemaModel<{
33
+ }>, _lssm_lib_schema798.SchemaModel<{
34
34
  id: {
35
- type: _lssm_lib_schema551.FieldType<string, string>;
35
+ type: _lssm_lib_schema798.FieldType<string, string>;
36
36
  isOptional: false;
37
37
  };
38
38
  name: {
39
- type: _lssm_lib_schema551.FieldType<string, string>;
39
+ type: _lssm_lib_schema798.FieldType<string, string>;
40
40
  isOptional: false;
41
41
  };
42
42
  slug: {
43
- type: _lssm_lib_schema551.FieldType<string, string>;
43
+ type: _lssm_lib_schema798.FieldType<string, string>;
44
44
  isOptional: false;
45
45
  };
46
46
  description: {
47
- type: _lssm_lib_schema551.FieldType<string, string>;
47
+ type: _lssm_lib_schema798.FieldType<string, string>;
48
48
  isOptional: true;
49
49
  };
50
50
  status: {
51
- type: _lssm_lib_schema551.EnumType<[string, string, string, string]>;
51
+ type: _lssm_lib_schema798.EnumType<[string, string, string, string]>;
52
52
  isOptional: false;
53
53
  };
54
54
  ownerId: {
55
- type: _lssm_lib_schema551.FieldType<string, string>;
55
+ type: _lssm_lib_schema798.FieldType<string, string>;
56
56
  isOptional: false;
57
57
  };
58
58
  logoFileId: {
59
- type: _lssm_lib_schema551.FieldType<string, string>;
59
+ type: _lssm_lib_schema798.FieldType<string, string>;
60
60
  isOptional: true;
61
61
  };
62
62
  isVerified: {
63
- type: _lssm_lib_schema551.FieldType<boolean, boolean>;
63
+ type: _lssm_lib_schema798.FieldType<boolean, boolean>;
64
64
  isOptional: false;
65
65
  };
66
66
  totalProducts: {
67
- type: _lssm_lib_schema551.FieldType<number, number>;
67
+ type: _lssm_lib_schema798.FieldType<number, number>;
68
68
  isOptional: false;
69
69
  };
70
70
  averageRating: {
71
- type: _lssm_lib_schema551.FieldType<number, number>;
71
+ type: _lssm_lib_schema798.FieldType<number, number>;
72
72
  isOptional: false;
73
73
  };
74
74
  createdAt: {
75
- type: _lssm_lib_schema551.FieldType<Date, string>;
75
+ type: _lssm_lib_schema798.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_schema551.SchemaModel<{
82
+ payload: _lssm_lib_schema798.SchemaModel<{
83
83
  id: {
84
- type: _lssm_lib_schema551.FieldType<string, string>;
84
+ type: _lssm_lib_schema798.FieldType<string, string>;
85
85
  isOptional: false;
86
86
  };
87
87
  name: {
88
- type: _lssm_lib_schema551.FieldType<string, string>;
88
+ type: _lssm_lib_schema798.FieldType<string, string>;
89
89
  isOptional: false;
90
90
  };
91
91
  slug: {
92
- type: _lssm_lib_schema551.FieldType<string, string>;
92
+ type: _lssm_lib_schema798.FieldType<string, string>;
93
93
  isOptional: false;
94
94
  };
95
95
  description: {
96
- type: _lssm_lib_schema551.FieldType<string, string>;
96
+ type: _lssm_lib_schema798.FieldType<string, string>;
97
97
  isOptional: true;
98
98
  };
99
99
  status: {
100
- type: _lssm_lib_schema551.EnumType<[string, string, string, string]>;
100
+ type: _lssm_lib_schema798.EnumType<[string, string, string, string]>;
101
101
  isOptional: false;
102
102
  };
103
103
  ownerId: {
104
- type: _lssm_lib_schema551.FieldType<string, string>;
104
+ type: _lssm_lib_schema798.FieldType<string, string>;
105
105
  isOptional: false;
106
106
  };
107
107
  logoFileId: {
108
- type: _lssm_lib_schema551.FieldType<string, string>;
108
+ type: _lssm_lib_schema798.FieldType<string, string>;
109
109
  isOptional: true;
110
110
  };
111
111
  isVerified: {
112
- type: _lssm_lib_schema551.FieldType<boolean, boolean>;
112
+ type: _lssm_lib_schema798.FieldType<boolean, boolean>;
113
113
  isOptional: false;
114
114
  };
115
115
  totalProducts: {
116
- type: _lssm_lib_schema551.FieldType<number, number>;
116
+ type: _lssm_lib_schema798.FieldType<number, number>;
117
117
  isOptional: false;
118
118
  };
119
119
  averageRating: {
120
- type: _lssm_lib_schema551.FieldType<number, number>;
120
+ type: _lssm_lib_schema798.FieldType<number, number>;
121
121
  isOptional: false;
122
122
  };
123
123
  createdAt: {
124
- type: _lssm_lib_schema551.FieldType<Date, string>;
124
+ type: _lssm_lib_schema798.FieldType<Date, string>;
125
125
  isOptional: false;
126
126
  };
127
127
  }>;
@@ -1,10 +1,10 @@
1
- import * as _lssm_lib_schema646 from "@lssm/lib.schema";
1
+ import * as _lssm_lib_schema829 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_schema646.EnumType<[string, string, string, string]>;
7
+ declare const StoreStatusEnum: _lssm_lib_schema829.EnumType<[string, string, string, string]>;
8
8
  //#endregion
9
9
  export { StoreStatusEnum };
10
10
  //# sourceMappingURL=store.enum.d.ts.map
@@ -1,48 +1,48 @@
1
- import * as _lssm_lib_schema716 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts4 from "@lssm/lib.contracts";
1
+ import * as _lssm_lib_schema918 from "@lssm/lib.schema";
2
+ import * as _lssm_lib_contracts9 from "@lssm/lib.contracts";
3
3
 
4
4
  //#region src/store/store.event.d.ts
5
- declare const StoreCreatedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema716.SchemaModel<{
5
+ declare const StoreCreatedEvent: _lssm_lib_contracts9.EventSpec<_lssm_lib_schema918.SchemaModel<{
6
6
  storeId: {
7
- type: _lssm_lib_schema716.FieldType<string, string>;
7
+ type: _lssm_lib_schema918.FieldType<string, string>;
8
8
  isOptional: false;
9
9
  };
10
10
  name: {
11
- type: _lssm_lib_schema716.FieldType<string, string>;
11
+ type: _lssm_lib_schema918.FieldType<string, string>;
12
12
  isOptional: false;
13
13
  };
14
14
  slug: {
15
- type: _lssm_lib_schema716.FieldType<string, string>;
15
+ type: _lssm_lib_schema918.FieldType<string, string>;
16
16
  isOptional: false;
17
17
  };
18
18
  ownerId: {
19
- type: _lssm_lib_schema716.FieldType<string, string>;
19
+ type: _lssm_lib_schema918.FieldType<string, string>;
20
20
  isOptional: false;
21
21
  };
22
22
  timestamp: {
23
- type: _lssm_lib_schema716.FieldType<Date, string>;
23
+ type: _lssm_lib_schema918.FieldType<Date, string>;
24
24
  isOptional: false;
25
25
  };
26
26
  }>>;
27
- declare const StoreStatusChangedEvent: _lssm_lib_contracts4.EventSpec<_lssm_lib_schema716.SchemaModel<{
27
+ declare const StoreStatusChangedEvent: _lssm_lib_contracts9.EventSpec<_lssm_lib_schema918.SchemaModel<{
28
28
  storeId: {
29
- type: _lssm_lib_schema716.FieldType<string, string>;
29
+ type: _lssm_lib_schema918.FieldType<string, string>;
30
30
  isOptional: false;
31
31
  };
32
32
  previousStatus: {
33
- type: _lssm_lib_schema716.FieldType<string, string>;
33
+ type: _lssm_lib_schema918.FieldType<string, string>;
34
34
  isOptional: false;
35
35
  };
36
36
  newStatus: {
37
- type: _lssm_lib_schema716.FieldType<string, string>;
37
+ type: _lssm_lib_schema918.FieldType<string, string>;
38
38
  isOptional: false;
39
39
  };
40
40
  reason: {
41
- type: _lssm_lib_schema716.FieldType<string, string>;
41
+ type: _lssm_lib_schema918.FieldType<string, string>;
42
42
  isOptional: true;
43
43
  };
44
44
  timestamp: {
45
- type: _lssm_lib_schema716.FieldType<Date, string>;
45
+ type: _lssm_lib_schema918.FieldType<Date, string>;
46
46
  isOptional: false;
47
47
  };
48
48
  }>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lssm/example.marketplace",
3
- "version": "0.0.0-canary-20251219202229",
3
+ "version": "0.0.0-canary-20251220015515",
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,20 +18,20 @@
18
18
  "lint:check": "eslint src"
19
19
  },
20
20
  "dependencies": {
21
- "@lssm/lib.schema": "0.0.0-canary-20251219202229",
22
- "@lssm/lib.contracts": "0.0.0-canary-20251219202229",
23
- "@lssm/lib.bus": "0.0.0-canary-20251219202229",
24
- "@lssm/lib.identity-rbac": "0.0.0-canary-20251219202229",
25
- "@lssm/lib.files": "0.0.0-canary-20251219202229",
26
- "@lssm/lib.metering": "0.0.0-canary-20251219202229",
27
- "@lssm/lib.jobs": "0.0.0-canary-20251219202229",
28
- "@lssm/module.audit-trail": "0.0.0-canary-20251219202229",
29
- "@lssm/module.notifications": "0.0.0-canary-20251219202229",
21
+ "@lssm/lib.schema": "0.0.0-canary-20251220015515",
22
+ "@lssm/lib.contracts": "0.0.0-canary-20251220015515",
23
+ "@lssm/lib.bus": "0.0.0-canary-20251220015515",
24
+ "@lssm/lib.identity-rbac": "0.0.0-canary-20251220015515",
25
+ "@lssm/lib.files": "0.0.0-canary-20251220015515",
26
+ "@lssm/lib.metering": "0.0.0-canary-20251220015515",
27
+ "@lssm/lib.jobs": "0.0.0-canary-20251220015515",
28
+ "@lssm/module.audit-trail": "0.0.0-canary-20251220015515",
29
+ "@lssm/module.notifications": "0.0.0-canary-20251220015515",
30
30
  "zod": "^4.1.13"
31
31
  },
32
32
  "devDependencies": {
33
- "@lssm/tool.typescript": "0.0.0-canary-20251219202229",
34
- "@lssm/tool.tsdown": "0.0.0-canary-20251219202229",
33
+ "@lssm/tool.typescript": "0.0.0-canary-20251220015515",
34
+ "@lssm/tool.tsdown": "0.0.0-canary-20251220015515",
35
35
  "typescript": "^5.9.3"
36
36
  },
37
37
  "exports": {
@@ -128,7 +128,13 @@
128
128
  "./store/store.presentation": "./dist/store/store.presentation.js",
129
129
  "./store/store.schema": "./dist/store/store.schema.js",
130
130
  "./*": "./*"
131
- }
131
+ },
132
+ "registry": "https://registry.npmjs.org/"
132
133
  },
133
- "license": "MIT"
134
+ "license": "MIT",
135
+ "repository": {
136
+ "type": "git",
137
+ "url": "https://github.com/lssm-tech/contractspec.git",
138
+ "directory": "packages/examples/marketplace"
139
+ }
134
140
  }