@contractspec/example.marketplace 1.44.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 (152) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +141 -0
  3. package/dist/docs/index.d.ts +1 -0
  4. package/dist/docs/index.js +1 -0
  5. package/dist/docs/marketplace.docblock.d.ts +1 -0
  6. package/dist/docs/marketplace.docblock.js +115 -0
  7. package/dist/docs/marketplace.docblock.js.map +1 -0
  8. package/dist/entities/index.d.ts +309 -0
  9. package/dist/entities/index.d.ts.map +1 -0
  10. package/dist/entities/index.js +46 -0
  11. package/dist/entities/index.js.map +1 -0
  12. package/dist/entities/order.d.ts +105 -0
  13. package/dist/entities/order.d.ts.map +1 -0
  14. package/dist/entities/order.js +173 -0
  15. package/dist/entities/order.js.map +1 -0
  16. package/dist/entities/payout.d.ts +92 -0
  17. package/dist/entities/payout.d.ts.map +1 -0
  18. package/dist/entities/payout.js +162 -0
  19. package/dist/entities/payout.js.map +1 -0
  20. package/dist/entities/product.d.ts +93 -0
  21. package/dist/entities/product.d.ts.map +1 -0
  22. package/dist/entities/product.js +161 -0
  23. package/dist/entities/product.js.map +1 -0
  24. package/dist/entities/review.d.ts +83 -0
  25. package/dist/entities/review.d.ts.map +1 -0
  26. package/dist/entities/review.js +152 -0
  27. package/dist/entities/review.js.map +1 -0
  28. package/dist/entities/store.d.ts +60 -0
  29. package/dist/entities/store.d.ts.map +1 -0
  30. package/dist/entities/store.js +110 -0
  31. package/dist/entities/store.js.map +1 -0
  32. package/dist/example.d.ts +40 -0
  33. package/dist/example.d.ts.map +1 -0
  34. package/dist/example.js +51 -0
  35. package/dist/example.js.map +1 -0
  36. package/dist/index.d.ts +26 -0
  37. package/dist/index.js +27 -0
  38. package/dist/marketplace.feature.d.ts +12 -0
  39. package/dist/marketplace.feature.d.ts.map +1 -0
  40. package/dist/marketplace.feature.js +310 -0
  41. package/dist/marketplace.feature.js.map +1 -0
  42. package/dist/order/index.d.ts +5 -0
  43. package/dist/order/index.js +6 -0
  44. package/dist/order/order.enum.d.ts +10 -0
  45. package/dist/order/order.enum.d.ts.map +1 -0
  46. package/dist/order/order.enum.js +22 -0
  47. package/dist/order/order.enum.js.map +1 -0
  48. package/dist/order/order.event.d.ts +145 -0
  49. package/dist/order/order.event.d.ts.map +1 -0
  50. package/dist/order/order.event.js +216 -0
  51. package/dist/order/order.event.js.map +1 -0
  52. package/dist/order/order.operations.d.ts +368 -0
  53. package/dist/order/order.operations.d.ts.map +1 -0
  54. package/dist/order/order.operations.js +119 -0
  55. package/dist/order/order.operations.js.map +1 -0
  56. package/dist/order/order.presentation.d.ts +9 -0
  57. package/dist/order/order.presentation.d.ts.map +1 -0
  58. package/dist/order/order.presentation.js +86 -0
  59. package/dist/order/order.presentation.js.map +1 -0
  60. package/dist/order/order.schema.d.ts +165 -0
  61. package/dist/order/order.schema.d.ts.map +1 -0
  62. package/dist/order/order.schema.js +155 -0
  63. package/dist/order/order.schema.js.map +1 -0
  64. package/dist/payout/index.d.ts +5 -0
  65. package/dist/payout/index.js +6 -0
  66. package/dist/payout/payout.enum.d.ts +10 -0
  67. package/dist/payout/payout.enum.d.ts.map +1 -0
  68. package/dist/payout/payout.enum.js +17 -0
  69. package/dist/payout/payout.enum.js.map +1 -0
  70. package/dist/payout/payout.event.d.ts +63 -0
  71. package/dist/payout/payout.event.d.ts.map +1 -0
  72. package/dist/payout/payout.event.js +92 -0
  73. package/dist/payout/payout.event.js.map +1 -0
  74. package/dist/payout/payout.operations.d.ts +97 -0
  75. package/dist/payout/payout.operations.d.ts.map +1 -0
  76. package/dist/payout/payout.operations.js +53 -0
  77. package/dist/payout/payout.operations.js.map +1 -0
  78. package/dist/payout/payout.presentation.d.ts +8 -0
  79. package/dist/payout/payout.presentation.d.ts.map +1 -0
  80. package/dist/payout/payout.presentation.js +60 -0
  81. package/dist/payout/payout.presentation.js.map +1 -0
  82. package/dist/payout/payout.schema.d.ts +157 -0
  83. package/dist/payout/payout.schema.d.ts.map +1 -0
  84. package/dist/payout/payout.schema.js +116 -0
  85. package/dist/payout/payout.schema.js.map +1 -0
  86. package/dist/product/index.d.ts +5 -0
  87. package/dist/product/index.js +6 -0
  88. package/dist/product/product.enum.d.ts +10 -0
  89. package/dist/product/product.enum.d.ts.map +1 -0
  90. package/dist/product/product.enum.js +18 -0
  91. package/dist/product/product.enum.js.map +1 -0
  92. package/dist/product/product.event.d.ts +73 -0
  93. package/dist/product/product.event.d.ts.map +1 -0
  94. package/dist/product/product.event.js +120 -0
  95. package/dist/product/product.event.js.map +1 -0
  96. package/dist/product/product.operations.d.ts +273 -0
  97. package/dist/product/product.operations.d.ts.map +1 -0
  98. package/dist/product/product.operations.js +108 -0
  99. package/dist/product/product.operations.js.map +1 -0
  100. package/dist/product/product.presentation.d.ts +9 -0
  101. package/dist/product/product.presentation.d.ts.map +1 -0
  102. package/dist/product/product.presentation.js +86 -0
  103. package/dist/product/product.presentation.js.map +1 -0
  104. package/dist/product/product.schema.d.ts +218 -0
  105. package/dist/product/product.schema.d.ts.map +1 -0
  106. package/dist/product/product.schema.js +176 -0
  107. package/dist/product/product.schema.js.map +1 -0
  108. package/dist/review/index.d.ts +5 -0
  109. package/dist/review/index.js +6 -0
  110. package/dist/review/review.enum.d.ts +10 -0
  111. package/dist/review/review.enum.d.ts.map +1 -0
  112. package/dist/review/review.enum.js +16 -0
  113. package/dist/review/review.enum.js.map +1 -0
  114. package/dist/review/review.event.d.ts +55 -0
  115. package/dist/review/review.event.d.ts.map +1 -0
  116. package/dist/review/review.event.js +84 -0
  117. package/dist/review/review.event.js.map +1 -0
  118. package/dist/review/review.operations.d.ts +237 -0
  119. package/dist/review/review.operations.d.ts.map +1 -0
  120. package/dist/review/review.operations.js +106 -0
  121. package/dist/review/review.operations.js.map +1 -0
  122. package/dist/review/review.presentation.d.ts +8 -0
  123. package/dist/review/review.presentation.d.ts.map +1 -0
  124. package/dist/review/review.presentation.js +60 -0
  125. package/dist/review/review.presentation.js.map +1 -0
  126. package/dist/review/review.schema.d.ts +190 -0
  127. package/dist/review/review.schema.d.ts.map +1 -0
  128. package/dist/review/review.schema.js +156 -0
  129. package/dist/review/review.schema.js.map +1 -0
  130. package/dist/store/index.d.ts +5 -0
  131. package/dist/store/index.js +6 -0
  132. package/dist/store/store.enum.d.ts +10 -0
  133. package/dist/store/store.enum.d.ts.map +1 -0
  134. package/dist/store/store.enum.js +16 -0
  135. package/dist/store/store.enum.js.map +1 -0
  136. package/dist/store/store.event.d.ts +51 -0
  137. package/dist/store/store.event.d.ts.map +1 -0
  138. package/dist/store/store.event.js +80 -0
  139. package/dist/store/store.event.js.map +1 -0
  140. package/dist/store/store.operations.d.ts +131 -0
  141. package/dist/store/store.operations.d.ts.map +1 -0
  142. package/dist/store/store.operations.js +61 -0
  143. package/dist/store/store.operations.js.map +1 -0
  144. package/dist/store/store.presentation.d.ts +8 -0
  145. package/dist/store/store.presentation.d.ts.map +1 -0
  146. package/dist/store/store.presentation.js +60 -0
  147. package/dist/store/store.presentation.js.map +1 -0
  148. package/dist/store/store.schema.d.ts +84 -0
  149. package/dist/store/store.schema.d.ts.map +1 -0
  150. package/dist/store/store.schema.js +93 -0
  151. package/dist/store/store.schema.js.map +1 -0
  152. package/package.json +141 -0
@@ -0,0 +1,84 @@
1
+ import * as _contractspec_lib_schema0 from "@contractspec/lib.schema";
2
+
3
+ //#region src/store/store.schema.d.ts
4
+ /**
5
+ * A seller store.
6
+ */
7
+ declare const StoreModel: _contractspec_lib_schema0.SchemaModel<{
8
+ id: {
9
+ type: _contractspec_lib_schema0.FieldType<string, string>;
10
+ isOptional: false;
11
+ };
12
+ name: {
13
+ type: _contractspec_lib_schema0.FieldType<string, string>;
14
+ isOptional: false;
15
+ };
16
+ slug: {
17
+ type: _contractspec_lib_schema0.FieldType<string, string>;
18
+ isOptional: false;
19
+ };
20
+ description: {
21
+ type: _contractspec_lib_schema0.FieldType<string, string>;
22
+ isOptional: true;
23
+ };
24
+ status: {
25
+ type: _contractspec_lib_schema0.EnumType<[string, string, string, string]>;
26
+ isOptional: false;
27
+ };
28
+ ownerId: {
29
+ type: _contractspec_lib_schema0.FieldType<string, string>;
30
+ isOptional: false;
31
+ };
32
+ logoFileId: {
33
+ type: _contractspec_lib_schema0.FieldType<string, string>;
34
+ isOptional: true;
35
+ };
36
+ isVerified: {
37
+ type: _contractspec_lib_schema0.FieldType<boolean, boolean>;
38
+ isOptional: false;
39
+ };
40
+ totalProducts: {
41
+ type: _contractspec_lib_schema0.FieldType<number, number>;
42
+ isOptional: false;
43
+ };
44
+ averageRating: {
45
+ type: _contractspec_lib_schema0.FieldType<number, number>;
46
+ isOptional: false;
47
+ };
48
+ createdAt: {
49
+ type: _contractspec_lib_schema0.FieldType<Date, string>;
50
+ isOptional: false;
51
+ };
52
+ }>;
53
+ /**
54
+ * Input for creating a store.
55
+ */
56
+ declare const CreateStoreInputModel: _contractspec_lib_schema0.SchemaModel<{
57
+ name: {
58
+ type: _contractspec_lib_schema0.FieldType<string, string>;
59
+ isOptional: false;
60
+ };
61
+ slug: {
62
+ type: _contractspec_lib_schema0.FieldType<string, string>;
63
+ isOptional: false;
64
+ };
65
+ description: {
66
+ type: _contractspec_lib_schema0.FieldType<string, string>;
67
+ isOptional: true;
68
+ };
69
+ email: {
70
+ type: _contractspec_lib_schema0.FieldType<string, string>;
71
+ isOptional: true;
72
+ };
73
+ country: {
74
+ type: _contractspec_lib_schema0.FieldType<string, string>;
75
+ isOptional: true;
76
+ };
77
+ currency: {
78
+ type: _contractspec_lib_schema0.FieldType<string, string>;
79
+ isOptional: true;
80
+ };
81
+ }>;
82
+ //#endregion
83
+ export { CreateStoreInputModel, StoreModel };
84
+ //# sourceMappingURL=store.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.schema.d.ts","names":[],"sources":["../../src/store/store.schema.ts"],"sourcesContent":[],"mappings":";;;;;;AAMa,cAAA,UAgBX,4BAhBqB,WAgBrB,CAAA;EAAA,EAAA,EAAA;UAAA,yBAAA,CAAA;;;;;;;;;;;;IAhBqB,IAAA,qCAAA,CAAA,MAAA,EAAA,MAAA,CAAA;IAqBV,UAAA,EAAA,IAAA;EAUX,CAAA;;;;;;6CAVgC,CAAA,MAAA,EAAA,MAAA,CAAA;IAAA,UAAA,EAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;cAArB,iDAAqB;;UAUhC,yBAAA,CAAA"}
@@ -0,0 +1,93 @@
1
+ import { StoreStatusEnum } from "./store.enum.js";
2
+ import { ScalarTypeEnum, defineSchemaModel } from "@contractspec/lib.schema";
3
+
4
+ //#region src/store/store.schema.ts
5
+ /**
6
+ * A seller store.
7
+ */
8
+ const StoreModel = defineSchemaModel({
9
+ name: "StoreModel",
10
+ description: "A seller store",
11
+ fields: {
12
+ id: {
13
+ type: ScalarTypeEnum.String_unsecure(),
14
+ isOptional: false
15
+ },
16
+ name: {
17
+ type: ScalarTypeEnum.String_unsecure(),
18
+ isOptional: false
19
+ },
20
+ slug: {
21
+ type: ScalarTypeEnum.String_unsecure(),
22
+ isOptional: false
23
+ },
24
+ description: {
25
+ type: ScalarTypeEnum.String_unsecure(),
26
+ isOptional: true
27
+ },
28
+ status: {
29
+ type: StoreStatusEnum,
30
+ isOptional: false
31
+ },
32
+ ownerId: {
33
+ type: ScalarTypeEnum.String_unsecure(),
34
+ isOptional: false
35
+ },
36
+ logoFileId: {
37
+ type: ScalarTypeEnum.String_unsecure(),
38
+ isOptional: true
39
+ },
40
+ isVerified: {
41
+ type: ScalarTypeEnum.Boolean(),
42
+ isOptional: false
43
+ },
44
+ totalProducts: {
45
+ type: ScalarTypeEnum.Int_unsecure(),
46
+ isOptional: false
47
+ },
48
+ averageRating: {
49
+ type: ScalarTypeEnum.Float_unsecure(),
50
+ isOptional: false
51
+ },
52
+ createdAt: {
53
+ type: ScalarTypeEnum.DateTime(),
54
+ isOptional: false
55
+ }
56
+ }
57
+ });
58
+ /**
59
+ * Input for creating a store.
60
+ */
61
+ const CreateStoreInputModel = defineSchemaModel({
62
+ name: "CreateStoreInput",
63
+ fields: {
64
+ name: {
65
+ type: ScalarTypeEnum.NonEmptyString(),
66
+ isOptional: false
67
+ },
68
+ slug: {
69
+ type: ScalarTypeEnum.NonEmptyString(),
70
+ isOptional: false
71
+ },
72
+ description: {
73
+ type: ScalarTypeEnum.String_unsecure(),
74
+ isOptional: true
75
+ },
76
+ email: {
77
+ type: ScalarTypeEnum.EmailAddress(),
78
+ isOptional: true
79
+ },
80
+ country: {
81
+ type: ScalarTypeEnum.String_unsecure(),
82
+ isOptional: true
83
+ },
84
+ currency: {
85
+ type: ScalarTypeEnum.String_unsecure(),
86
+ isOptional: true
87
+ }
88
+ }
89
+ });
90
+
91
+ //#endregion
92
+ export { CreateStoreInputModel, StoreModel };
93
+ //# sourceMappingURL=store.schema.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"store.schema.js","names":[],"sources":["../../src/store/store.schema.ts"],"sourcesContent":["import { defineSchemaModel, ScalarTypeEnum } from '@contractspec/lib.schema';\nimport { StoreStatusEnum } from './store.enum';\n\n/**\n * A seller store.\n */\nexport const StoreModel = defineSchemaModel({\n name: 'StoreModel',\n description: 'A seller store',\n fields: {\n id: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n name: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n slug: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n description: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n status: { type: StoreStatusEnum, isOptional: false },\n ownerId: { type: ScalarTypeEnum.String_unsecure(), isOptional: false },\n logoFileId: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n isVerified: { type: ScalarTypeEnum.Boolean(), isOptional: false },\n totalProducts: { type: ScalarTypeEnum.Int_unsecure(), isOptional: false },\n averageRating: { type: ScalarTypeEnum.Float_unsecure(), isOptional: false },\n createdAt: { type: ScalarTypeEnum.DateTime(), isOptional: false },\n },\n});\n\n/**\n * Input for creating a store.\n */\nexport const CreateStoreInputModel = defineSchemaModel({\n name: 'CreateStoreInput',\n fields: {\n name: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n slug: { type: ScalarTypeEnum.NonEmptyString(), isOptional: false },\n description: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n email: { type: ScalarTypeEnum.EmailAddress(), isOptional: true },\n country: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n currency: { type: ScalarTypeEnum.String_unsecure(), isOptional: true },\n },\n});\n"],"mappings":";;;;;;;AAMA,MAAa,aAAa,kBAAkB;CAC1C,MAAM;CACN,aAAa;CACb,QAAQ;EACN,IAAI;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAO;EACjE,MAAM;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAO;EACnE,MAAM;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAO;EACnE,aAAa;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAM;EACzE,QAAQ;GAAE,MAAM;GAAiB,YAAY;GAAO;EACpD,SAAS;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAO;EACtE,YAAY;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAM;EACxE,YAAY;GAAE,MAAM,eAAe,SAAS;GAAE,YAAY;GAAO;EACjE,eAAe;GAAE,MAAM,eAAe,cAAc;GAAE,YAAY;GAAO;EACzE,eAAe;GAAE,MAAM,eAAe,gBAAgB;GAAE,YAAY;GAAO;EAC3E,WAAW;GAAE,MAAM,eAAe,UAAU;GAAE,YAAY;GAAO;EAClE;CACF,CAAC;;;;AAKF,MAAa,wBAAwB,kBAAkB;CACrD,MAAM;CACN,QAAQ;EACN,MAAM;GAAE,MAAM,eAAe,gBAAgB;GAAE,YAAY;GAAO;EAClE,MAAM;GAAE,MAAM,eAAe,gBAAgB;GAAE,YAAY;GAAO;EAClE,aAAa;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAM;EACzE,OAAO;GAAE,MAAM,eAAe,cAAc;GAAE,YAAY;GAAM;EAChE,SAAS;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAM;EACrE,UAAU;GAAE,MAAM,eAAe,iBAAiB;GAAE,YAAY;GAAM;EACvE;CACF,CAAC"}
package/package.json ADDED
@@ -0,0 +1,141 @@
1
+ {
2
+ "name": "@contractspec/example.marketplace",
3
+ "version": "1.44.0",
4
+ "description": "Marketplace example with orders, payouts, and reviews for ContractSpec",
5
+ "main": "./dist/index.js",
6
+ "types": "./dist/index.d.ts",
7
+ "type": "module",
8
+ "scripts": {
9
+ "publish:pkg": "bun publish --tolerate-republish --ignore-scripts --verbose",
10
+ "publish:pkg:canary": "bun publish:pkg --tag canary",
11
+ "build": "bun build:types && bun build:bundle",
12
+ "build:bundle": "tsdown",
13
+ "build:types": "tsc --noEmit",
14
+ "dev": "bun build:bundle --watch",
15
+ "clean": "rimraf dist .turbo",
16
+ "lint": "bun lint:fix",
17
+ "lint:fix": "eslint src --fix",
18
+ "lint:check": "eslint src"
19
+ },
20
+ "dependencies": {
21
+ "@contractspec/lib.schema": "1.44.0",
22
+ "@contractspec/lib.contracts": "1.44.0",
23
+ "@contractspec/lib.bus": "1.44.0",
24
+ "@contractspec/lib.identity-rbac": "1.44.0",
25
+ "@contractspec/lib.files": "1.44.0",
26
+ "@contractspec/lib.metering": "1.44.0",
27
+ "@contractspec/lib.jobs": "1.44.0",
28
+ "@contractspec/module.audit-trail": "1.44.0",
29
+ "@contractspec/module.notifications": "1.44.0",
30
+ "zod": "^4.1.13"
31
+ },
32
+ "devDependencies": {
33
+ "@contractspec/tool.typescript": "1.44.0",
34
+ "@contractspec/tool.tsdown": "1.44.0",
35
+ "typescript": "^5.9.3"
36
+ },
37
+ "exports": {
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.enum": "./dist/order/order.enum.js",
51
+ "./order/order.event": "./dist/order/order.event.js",
52
+ "./order/order.operations": "./dist/order/order.operations.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.enum": "./dist/payout/payout.enum.js",
57
+ "./payout/payout.event": "./dist/payout/payout.event.js",
58
+ "./payout/payout.operations": "./dist/payout/payout.operations.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.enum": "./dist/product/product.enum.js",
63
+ "./product/product.event": "./dist/product/product.event.js",
64
+ "./product/product.operations": "./dist/product/product.operations.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.enum": "./dist/review/review.enum.js",
69
+ "./review/review.event": "./dist/review/review.event.js",
70
+ "./review/review.operations": "./dist/review/review.operations.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.enum": "./dist/store/store.enum.js",
75
+ "./store/store.event": "./dist/store/store.event.js",
76
+ "./store/store.operations": "./dist/store/store.operations.js",
77
+ "./store/store.presentation": "./dist/store/store.presentation.js",
78
+ "./store/store.schema": "./dist/store/store.schema.js",
79
+ "./*": "./*"
80
+ },
81
+ "module": "./dist/index.js",
82
+ "files": [
83
+ "dist",
84
+ "README.md"
85
+ ],
86
+ "publishConfig": {
87
+ "access": "public",
88
+ "exports": {
89
+ ".": "./dist/index.js",
90
+ "./docs": "./dist/docs/index.js",
91
+ "./docs/marketplace.docblock": "./dist/docs/marketplace.docblock.js",
92
+ "./entities": "./dist/entities/index.js",
93
+ "./entities/order": "./dist/entities/order.js",
94
+ "./entities/payout": "./dist/entities/payout.js",
95
+ "./entities/product": "./dist/entities/product.js",
96
+ "./entities/review": "./dist/entities/review.js",
97
+ "./entities/store": "./dist/entities/store.js",
98
+ "./example": "./dist/example.js",
99
+ "./marketplace.feature": "./dist/marketplace.feature.js",
100
+ "./order": "./dist/order/index.js",
101
+ "./order/order.contracts": "./dist/order/order.operations.js",
102
+ "./order/order.enum": "./dist/order/order.enum.js",
103
+ "./order/order.event": "./dist/order/order.event.js",
104
+ "./order/order.presentation": "./dist/order/order.presentation.js",
105
+ "./order/order.schema": "./dist/order/order.schema.js",
106
+ "./payout": "./dist/payout/index.js",
107
+ "./payout/payout.contracts": "./dist/payout/payout.operations.js",
108
+ "./payout/payout.enum": "./dist/payout/payout.enum.js",
109
+ "./payout/payout.event": "./dist/payout/payout.event.js",
110
+ "./payout/payout.presentation": "./dist/payout/payout.presentation.js",
111
+ "./payout/payout.schema": "./dist/payout/payout.schema.js",
112
+ "./product": "./dist/product/index.js",
113
+ "./product/product.contracts": "./dist/product/product.operations.js",
114
+ "./product/product.enum": "./dist/product/product.enum.js",
115
+ "./product/product.event": "./dist/product/product.event.js",
116
+ "./product/product.presentation": "./dist/product/product.presentation.js",
117
+ "./product/product.schema": "./dist/product/product.schema.js",
118
+ "./review": "./dist/review/index.js",
119
+ "./review/review.contracts": "./dist/review/review.operations.js",
120
+ "./review/review.enum": "./dist/review/review.enum.js",
121
+ "./review/review.event": "./dist/review/review.event.js",
122
+ "./review/review.presentation": "./dist/review/review.presentation.js",
123
+ "./review/review.schema": "./dist/review/review.schema.js",
124
+ "./store": "./dist/store/index.js",
125
+ "./store/store.contracts": "./dist/store/store.operations.js",
126
+ "./store/store.enum": "./dist/store/store.enum.js",
127
+ "./store/store.event": "./dist/store/store.event.js",
128
+ "./store/store.presentation": "./dist/store/store.presentation.js",
129
+ "./store/store.schema": "./dist/store/store.schema.js",
130
+ "./*": "./*"
131
+ },
132
+ "registry": "https://registry.npmjs.org/"
133
+ },
134
+ "license": "MIT",
135
+ "repository": {
136
+ "type": "git",
137
+ "url": "https://github.com/lssm-tech/contractspec.git",
138
+ "directory": "packages/examples/marketplace"
139
+ },
140
+ "homepage": "https://contractspec.io"
141
+ }