@classytic/primitives 0.28.0 → 0.29.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.
- package/CHANGELOG.md +1203 -1119
- package/dist/approval.d.mts +26 -2
- package/dist/approval.mjs +26 -3
- package/dist/canonical.d.mts +6 -1
- package/dist/canonical.mjs +10 -4
- package/dist/environment.d.mts +30 -1
- package/dist/environment.mjs +72 -1
- package/dist/events.d.mts +39 -1
- package/dist/events.mjs +169 -1
- package/dist/idempotency.d.mts +4 -0
- package/dist/idempotency.mjs +4 -0
- package/dist/item-stock.d.mts +43 -0
- package/dist/item-stock.mjs +67 -0
- package/dist/legal-form.d.mts +12 -0
- package/dist/legal-form.mjs +27 -0
- package/dist/line-settlement.d.mts +70 -0
- package/dist/line-settlement.mjs +79 -0
- package/dist/memory-outbox.mjs +2 -1
- package/dist/outbox.d.mts +20 -3
- package/dist/payment-events.d.mts +6 -0
- package/dist/period.d.mts +22 -1
- package/dist/period.mjs +30 -1
- package/dist/phone.d.mts +13 -1
- package/dist/phone.mjs +21 -1
- package/dist/proration.d.mts +11 -1
- package/dist/proration.mjs +24 -1
- package/dist/signed-token.d.mts +54 -0
- package/dist/signed-token.mjs +139 -0
- package/package.json +359 -285
package/package.json
CHANGED
|
@@ -1,285 +1,359 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@classytic/primitives",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "Framework-agnostic TypeScript primitives shared across Classytic packages
|
|
5
|
-
"author": "Classytic",
|
|
6
|
-
"license": "MIT",
|
|
7
|
-
"homepage": "https://www.npmjs.com/package/@classytic/primitives",
|
|
8
|
-
"bugs": {
|
|
9
|
-
"url": "https://github.com/classytic/primitives/issues"
|
|
10
|
-
},
|
|
11
|
-
"repository": {
|
|
12
|
-
"type": "git",
|
|
13
|
-
"url": "git+https://github.com/classytic/primitives.git"
|
|
14
|
-
},
|
|
15
|
-
"publishConfig": {
|
|
16
|
-
"access": "public"
|
|
17
|
-
},
|
|
18
|
-
"type": "module",
|
|
19
|
-
"sideEffects": false,
|
|
20
|
-
"engines": {
|
|
21
|
-
"node": ">=22"
|
|
22
|
-
},
|
|
23
|
-
"exports": {
|
|
24
|
-
"./money": {
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
"types": "./dist/
|
|
42
|
-
"default": "./dist/
|
|
43
|
-
},
|
|
44
|
-
"./
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
"types": "./dist/
|
|
62
|
-
"default": "./dist/
|
|
63
|
-
},
|
|
64
|
-
"./
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
"
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
"types": "./dist/
|
|
82
|
-
"default": "./dist/
|
|
83
|
-
},
|
|
84
|
-
"./
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
"
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
"
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
"types": "./dist/
|
|
102
|
-
"default": "./dist/
|
|
103
|
-
},
|
|
104
|
-
"./
|
|
105
|
-
"
|
|
106
|
-
"
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
"
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
"
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
"types": "./dist/
|
|
122
|
-
"default": "./dist/
|
|
123
|
-
},
|
|
124
|
-
"./
|
|
125
|
-
"
|
|
126
|
-
"
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
"
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
"
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
"types": "./dist/
|
|
142
|
-
"default": "./dist/
|
|
143
|
-
},
|
|
144
|
-
"./
|
|
145
|
-
"
|
|
146
|
-
"
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
"
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
"
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
"types": "./dist/
|
|
162
|
-
"default": "./dist/
|
|
163
|
-
},
|
|
164
|
-
"./
|
|
165
|
-
"
|
|
166
|
-
"
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
"
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
"
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
"types": "./dist/
|
|
182
|
-
"default": "./dist/
|
|
183
|
-
},
|
|
184
|
-
"./
|
|
185
|
-
"
|
|
186
|
-
"
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
"
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
"
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
"types": "./dist/
|
|
202
|
-
"default": "./dist/
|
|
203
|
-
},
|
|
204
|
-
"./
|
|
205
|
-
"
|
|
206
|
-
"
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
"
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
"
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
"
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
"types": "./dist/
|
|
227
|
-
"default": "./dist/
|
|
228
|
-
},
|
|
229
|
-
"./
|
|
230
|
-
"
|
|
231
|
-
"
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
"
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
"
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
"
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
"
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
"
|
|
260
|
-
"
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
"
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
"
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
"
|
|
276
|
-
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
"
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@classytic/primitives",
|
|
3
|
+
"version": "0.29.0",
|
|
4
|
+
"description": "Framework-agnostic TypeScript primitives shared across Classytic packages — Money, events, pagination, tenant config, and other building blocks.",
|
|
5
|
+
"author": "Classytic",
|
|
6
|
+
"license": "MIT",
|
|
7
|
+
"homepage": "https://www.npmjs.com/package/@classytic/primitives",
|
|
8
|
+
"bugs": {
|
|
9
|
+
"url": "https://github.com/classytic/primitives/issues"
|
|
10
|
+
},
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/classytic/primitives.git"
|
|
14
|
+
},
|
|
15
|
+
"publishConfig": {
|
|
16
|
+
"access": "public"
|
|
17
|
+
},
|
|
18
|
+
"type": "module",
|
|
19
|
+
"sideEffects": false,
|
|
20
|
+
"engines": {
|
|
21
|
+
"node": ">=22"
|
|
22
|
+
},
|
|
23
|
+
"exports": {
|
|
24
|
+
"./money": {
|
|
25
|
+
"@classytic/source": "./src/money/money.ts",
|
|
26
|
+
"types": "./dist/money.d.mts",
|
|
27
|
+
"default": "./dist/money.mjs"
|
|
28
|
+
},
|
|
29
|
+
"./currency": {
|
|
30
|
+
"@classytic/source": "./src/money/currency.ts",
|
|
31
|
+
"types": "./dist/currency.d.mts",
|
|
32
|
+
"default": "./dist/currency.mjs"
|
|
33
|
+
},
|
|
34
|
+
"./unit-cost-rate": {
|
|
35
|
+
"@classytic/source": "./src/money/unit-cost-rate.ts",
|
|
36
|
+
"types": "./dist/unit-cost-rate.d.mts",
|
|
37
|
+
"default": "./dist/unit-cost-rate.mjs"
|
|
38
|
+
},
|
|
39
|
+
"./price-basis": {
|
|
40
|
+
"@classytic/source": "./src/money/price-basis.ts",
|
|
41
|
+
"types": "./dist/price-basis.d.mts",
|
|
42
|
+
"default": "./dist/price-basis.mjs"
|
|
43
|
+
},
|
|
44
|
+
"./address": {
|
|
45
|
+
"@classytic/source": "./src/identity/address.ts",
|
|
46
|
+
"types": "./dist/address.d.mts",
|
|
47
|
+
"default": "./dist/address.mjs"
|
|
48
|
+
},
|
|
49
|
+
"./period": {
|
|
50
|
+
"@classytic/source": "./src/scheduling/period.ts",
|
|
51
|
+
"types": "./dist/period.d.mts",
|
|
52
|
+
"default": "./dist/period.mjs"
|
|
53
|
+
},
|
|
54
|
+
"./calendar": {
|
|
55
|
+
"@classytic/source": "./src/scheduling/calendar.ts",
|
|
56
|
+
"types": "./dist/calendar.d.mts",
|
|
57
|
+
"default": "./dist/calendar.mjs"
|
|
58
|
+
},
|
|
59
|
+
"./calendar-facts": {
|
|
60
|
+
"@classytic/source": "./src/scheduling/calendar-facts.ts",
|
|
61
|
+
"types": "./dist/calendar-facts.d.mts",
|
|
62
|
+
"default": "./dist/calendar-facts.mjs"
|
|
63
|
+
},
|
|
64
|
+
"./timezone": {
|
|
65
|
+
"@classytic/source": "./src/scheduling/timezone.ts",
|
|
66
|
+
"types": "./dist/timezone.d.mts",
|
|
67
|
+
"default": "./dist/timezone.mjs"
|
|
68
|
+
},
|
|
69
|
+
"./reference": {
|
|
70
|
+
"@classytic/source": "./src/composition/reference.ts",
|
|
71
|
+
"types": "./dist/reference.d.mts",
|
|
72
|
+
"default": "./dist/reference.mjs"
|
|
73
|
+
},
|
|
74
|
+
"./fault-attribution": {
|
|
75
|
+
"@classytic/source": "./src/composition/fault-attribution.ts",
|
|
76
|
+
"types": "./dist/fault-attribution.d.mts",
|
|
77
|
+
"default": "./dist/fault-attribution.mjs"
|
|
78
|
+
},
|
|
79
|
+
"./context": {
|
|
80
|
+
"@classytic/source": "./src/composition/context.ts",
|
|
81
|
+
"types": "./dist/context.d.mts",
|
|
82
|
+
"default": "./dist/context.mjs"
|
|
83
|
+
},
|
|
84
|
+
"./environment": {
|
|
85
|
+
"@classytic/source": "./src/composition/environment.ts",
|
|
86
|
+
"types": "./dist/environment.d.mts",
|
|
87
|
+
"default": "./dist/environment.mjs"
|
|
88
|
+
},
|
|
89
|
+
"./events": {
|
|
90
|
+
"@classytic/source": "./src/events/events.ts",
|
|
91
|
+
"types": "./dist/events.d.mts",
|
|
92
|
+
"default": "./dist/events.mjs"
|
|
93
|
+
},
|
|
94
|
+
"./memory-outbox": {
|
|
95
|
+
"@classytic/source": "./src/events/memory-outbox.ts",
|
|
96
|
+
"types": "./dist/memory-outbox.d.mts",
|
|
97
|
+
"default": "./dist/memory-outbox.mjs"
|
|
98
|
+
},
|
|
99
|
+
"./event-infra": {
|
|
100
|
+
"@classytic/source": "./src/events/event-infra.ts",
|
|
101
|
+
"types": "./dist/event-infra.d.mts",
|
|
102
|
+
"default": "./dist/event-infra.mjs"
|
|
103
|
+
},
|
|
104
|
+
"./outbox": {
|
|
105
|
+
"@classytic/source": "./src/events/outbox.ts",
|
|
106
|
+
"types": "./dist/outbox.d.mts",
|
|
107
|
+
"default": "./dist/outbox.mjs"
|
|
108
|
+
},
|
|
109
|
+
"./result": {
|
|
110
|
+
"@classytic/source": "./src/composition/result.ts",
|
|
111
|
+
"types": "./dist/result.d.mts",
|
|
112
|
+
"default": "./dist/result.mjs"
|
|
113
|
+
},
|
|
114
|
+
"./brand": {
|
|
115
|
+
"@classytic/source": "./src/composition/brand.ts",
|
|
116
|
+
"types": "./dist/brand.d.mts",
|
|
117
|
+
"default": "./dist/brand.mjs"
|
|
118
|
+
},
|
|
119
|
+
"./split-allocation": {
|
|
120
|
+
"@classytic/source": "./src/money/split-allocation.ts",
|
|
121
|
+
"types": "./dist/split-allocation.d.mts",
|
|
122
|
+
"default": "./dist/split-allocation.mjs"
|
|
123
|
+
},
|
|
124
|
+
"./approval": {
|
|
125
|
+
"@classytic/source": "./src/workflow/approval.ts",
|
|
126
|
+
"types": "./dist/approval.d.mts",
|
|
127
|
+
"default": "./dist/approval.mjs"
|
|
128
|
+
},
|
|
129
|
+
"./idempotency": {
|
|
130
|
+
"@classytic/source": "./src/workflow/idempotency.ts",
|
|
131
|
+
"types": "./dist/idempotency.d.mts",
|
|
132
|
+
"default": "./dist/idempotency.mjs"
|
|
133
|
+
},
|
|
134
|
+
"./cadence": {
|
|
135
|
+
"@classytic/source": "./src/scheduling/cadence.ts",
|
|
136
|
+
"types": "./dist/cadence.d.mts",
|
|
137
|
+
"default": "./dist/cadence.mjs"
|
|
138
|
+
},
|
|
139
|
+
"./hold": {
|
|
140
|
+
"@classytic/source": "./src/workflow/hold.ts",
|
|
141
|
+
"types": "./dist/hold.d.mts",
|
|
142
|
+
"default": "./dist/hold.mjs"
|
|
143
|
+
},
|
|
144
|
+
"./sla": {
|
|
145
|
+
"@classytic/source": "./src/scheduling/sla.ts",
|
|
146
|
+
"types": "./dist/sla.d.mts",
|
|
147
|
+
"default": "./dist/sla.mjs"
|
|
148
|
+
},
|
|
149
|
+
"./shelf-life": {
|
|
150
|
+
"@classytic/source": "./src/scheduling/shelf-life.ts",
|
|
151
|
+
"types": "./dist/shelf-life.d.mts",
|
|
152
|
+
"default": "./dist/shelf-life.mjs"
|
|
153
|
+
},
|
|
154
|
+
"./person": {
|
|
155
|
+
"@classytic/source": "./src/identity/person.ts",
|
|
156
|
+
"types": "./dist/person.d.mts",
|
|
157
|
+
"default": "./dist/person.mjs"
|
|
158
|
+
},
|
|
159
|
+
"./person-parse": {
|
|
160
|
+
"@classytic/source": "./src/identity/person-parse.ts",
|
|
161
|
+
"types": "./dist/person-parse.d.mts",
|
|
162
|
+
"default": "./dist/person-parse.mjs"
|
|
163
|
+
},
|
|
164
|
+
"./identity-verification": {
|
|
165
|
+
"@classytic/source": "./src/identity/identity-verification.ts",
|
|
166
|
+
"types": "./dist/identity-verification.d.mts",
|
|
167
|
+
"default": "./dist/identity-verification.mjs"
|
|
168
|
+
},
|
|
169
|
+
"./otp": {
|
|
170
|
+
"@classytic/source": "./src/identity/otp.ts",
|
|
171
|
+
"types": "./dist/otp.d.mts",
|
|
172
|
+
"default": "./dist/otp.mjs"
|
|
173
|
+
},
|
|
174
|
+
"./state-machine": {
|
|
175
|
+
"@classytic/source": "./src/workflow/state-machine.ts",
|
|
176
|
+
"types": "./dist/state-machine.d.mts",
|
|
177
|
+
"default": "./dist/state-machine.mjs"
|
|
178
|
+
},
|
|
179
|
+
"./bank-transaction": {
|
|
180
|
+
"@classytic/source": "./src/money/bank-transaction.ts",
|
|
181
|
+
"types": "./dist/bank-transaction.d.mts",
|
|
182
|
+
"default": "./dist/bank-transaction.mjs"
|
|
183
|
+
},
|
|
184
|
+
"./payment-gateway": {
|
|
185
|
+
"@classytic/source": "./src/money/payment-gateway.ts",
|
|
186
|
+
"types": "./dist/payment-gateway.d.mts",
|
|
187
|
+
"default": "./dist/payment-gateway.mjs"
|
|
188
|
+
},
|
|
189
|
+
"./payment-method-kind": {
|
|
190
|
+
"@classytic/source": "./src/money/payment-method-kind.ts",
|
|
191
|
+
"types": "./dist/payment-method-kind.d.mts",
|
|
192
|
+
"default": "./dist/payment-method-kind.mjs"
|
|
193
|
+
},
|
|
194
|
+
"./payment-allocation-status": {
|
|
195
|
+
"@classytic/source": "./src/money/payment-allocation-status.ts",
|
|
196
|
+
"types": "./dist/payment-allocation-status.d.mts",
|
|
197
|
+
"default": "./dist/payment-allocation-status.mjs"
|
|
198
|
+
},
|
|
199
|
+
"./monetization": {
|
|
200
|
+
"@classytic/source": "./src/money/monetization.ts",
|
|
201
|
+
"types": "./dist/monetization.d.mts",
|
|
202
|
+
"default": "./dist/monetization.mjs"
|
|
203
|
+
},
|
|
204
|
+
"./proration": {
|
|
205
|
+
"@classytic/source": "./src/money/proration.ts",
|
|
206
|
+
"types": "./dist/proration.d.mts",
|
|
207
|
+
"default": "./dist/proration.mjs"
|
|
208
|
+
},
|
|
209
|
+
"./payment-events": {
|
|
210
|
+
"@classytic/source": "./src/events/payment-events.ts",
|
|
211
|
+
"types": "./dist/payment-events.d.mts",
|
|
212
|
+
"default": "./dist/payment-events.mjs"
|
|
213
|
+
},
|
|
214
|
+
"./phone": {
|
|
215
|
+
"@classytic/source": "./src/identity/phone.ts",
|
|
216
|
+
"types": "./dist/phone.d.mts",
|
|
217
|
+
"default": "./dist/phone.mjs"
|
|
218
|
+
},
|
|
219
|
+
"./status-history": {
|
|
220
|
+
"@classytic/source": "./src/workflow/status-history.ts",
|
|
221
|
+
"types": "./dist/status-history.d.mts",
|
|
222
|
+
"default": "./dist/status-history.mjs"
|
|
223
|
+
},
|
|
224
|
+
"./condition": {
|
|
225
|
+
"@classytic/source": "./src/workflow/condition.ts",
|
|
226
|
+
"types": "./dist/condition.d.mts",
|
|
227
|
+
"default": "./dist/condition.mjs"
|
|
228
|
+
},
|
|
229
|
+
"./mixin": {
|
|
230
|
+
"@classytic/source": "./src/composition/mixin.ts",
|
|
231
|
+
"types": "./dist/mixin.d.mts",
|
|
232
|
+
"default": "./dist/mixin.mjs"
|
|
233
|
+
},
|
|
234
|
+
"./deadline": {
|
|
235
|
+
"@classytic/source": "./src/composition/deadline.ts",
|
|
236
|
+
"types": "./dist/deadline.d.mts",
|
|
237
|
+
"default": "./dist/deadline.mjs"
|
|
238
|
+
},
|
|
239
|
+
"./sla-policy": {
|
|
240
|
+
"@classytic/source": "./src/scheduling/sla-policy.ts",
|
|
241
|
+
"types": "./dist/sla-policy.d.mts",
|
|
242
|
+
"default": "./dist/sla-policy.mjs"
|
|
243
|
+
},
|
|
244
|
+
"./retention": {
|
|
245
|
+
"@classytic/source": "./src/retention/purge-evidence.ts",
|
|
246
|
+
"types": "./dist/retention.d.mts",
|
|
247
|
+
"default": "./dist/retention.mjs"
|
|
248
|
+
},
|
|
249
|
+
"./canonical": {
|
|
250
|
+
"@classytic/source": "./src/serialization/canonical.ts",
|
|
251
|
+
"types": "./dist/canonical.d.mts",
|
|
252
|
+
"default": "./dist/canonical.mjs"
|
|
253
|
+
},
|
|
254
|
+
"./csv": {
|
|
255
|
+
"@classytic/source": "./src/serialization/csv.ts",
|
|
256
|
+
"types": "./dist/csv.d.mts",
|
|
257
|
+
"default": "./dist/csv.mjs"
|
|
258
|
+
},
|
|
259
|
+
"./package.json": "./package.json",
|
|
260
|
+
"./state-diagram": {
|
|
261
|
+
"@classytic/source": "./src/workflow/state-diagram.ts",
|
|
262
|
+
"types": "./dist/state-diagram.d.mts",
|
|
263
|
+
"default": "./dist/state-diagram.mjs"
|
|
264
|
+
},
|
|
265
|
+
"./suspension": {
|
|
266
|
+
"@classytic/source": "./src/workflow/suspension.ts",
|
|
267
|
+
"types": "./dist/suspension.d.mts",
|
|
268
|
+
"default": "./dist/suspension.mjs"
|
|
269
|
+
},
|
|
270
|
+
"./legal-form": {
|
|
271
|
+
"@classytic/source": "./src/identity/legal-form.ts",
|
|
272
|
+
"types": "./dist/legal-form.d.mts",
|
|
273
|
+
"default": "./dist/legal-form.mjs"
|
|
274
|
+
},
|
|
275
|
+
"./subject": {
|
|
276
|
+
"@classytic/source": "./src/identity/subject.ts",
|
|
277
|
+
"types": "./dist/subject.d.mts",
|
|
278
|
+
"default": "./dist/subject.mjs"
|
|
279
|
+
},
|
|
280
|
+
"./item-identity": {
|
|
281
|
+
"@classytic/source": "./src/identity/item-identity.ts",
|
|
282
|
+
"types": "./dist/item-identity.d.mts",
|
|
283
|
+
"default": "./dist/item-identity.mjs"
|
|
284
|
+
},
|
|
285
|
+
"./stock-level": {
|
|
286
|
+
"@classytic/source": "./src/inventory/stock-level.ts",
|
|
287
|
+
"types": "./dist/stock-level.d.mts",
|
|
288
|
+
"default": "./dist/stock-level.mjs"
|
|
289
|
+
},
|
|
290
|
+
"./signed-token": {
|
|
291
|
+
"@classytic/source": "./src/security/signed-token.ts",
|
|
292
|
+
"types": "./dist/signed-token.d.mts",
|
|
293
|
+
"default": "./dist/signed-token.mjs"
|
|
294
|
+
},
|
|
295
|
+
"./item-stock": {
|
|
296
|
+
"@classytic/source": "./src/inventory/item-stock.ts",
|
|
297
|
+
"types": "./dist/item-stock.d.mts",
|
|
298
|
+
"default": "./dist/item-stock.mjs"
|
|
299
|
+
},
|
|
300
|
+
"./item-facts": {
|
|
301
|
+
"@classytic/source": "./src/inventory/item-facts.ts",
|
|
302
|
+
"types": "./dist/item-facts.d.mts",
|
|
303
|
+
"default": "./dist/item-facts.mjs"
|
|
304
|
+
},
|
|
305
|
+
"./line-settlement": {
|
|
306
|
+
"@classytic/source": "./src/inventory/line-settlement.ts",
|
|
307
|
+
"types": "./dist/line-settlement.d.mts",
|
|
308
|
+
"default": "./dist/line-settlement.mjs"
|
|
309
|
+
},
|
|
310
|
+
"./testing/stock-key-seam": {
|
|
311
|
+
"@classytic/source": "./src/testing/stock-key-seam.ts",
|
|
312
|
+
"types": "./dist/testing/stock-key-seam.d.mts",
|
|
313
|
+
"default": "./dist/testing/stock-key-seam.mjs"
|
|
314
|
+
}
|
|
315
|
+
},
|
|
316
|
+
"files": [
|
|
317
|
+
"dist",
|
|
318
|
+
"README.md",
|
|
319
|
+
"CHANGELOG.md",
|
|
320
|
+
"LICENSE"
|
|
321
|
+
],
|
|
322
|
+
"scripts": {
|
|
323
|
+
"build": "tsdown",
|
|
324
|
+
"dev": "tsdown --watch",
|
|
325
|
+
"typecheck": "tsc --noEmit",
|
|
326
|
+
"lint": "biome check src/ tests/",
|
|
327
|
+
"lint:fix": "biome check --write src/ tests/",
|
|
328
|
+
"test": "vitest run --project unit --project integration",
|
|
329
|
+
"test:unit": "vitest run --project unit",
|
|
330
|
+
"test:integration": "vitest run --project integration",
|
|
331
|
+
"test:all": "vitest run",
|
|
332
|
+
"test:watch": "vitest --project unit --project integration",
|
|
333
|
+
"test:smoke": "node tests/smoke/smoke.mjs",
|
|
334
|
+
"push": "classytic-push",
|
|
335
|
+
"prepublishOnly": "npm run typecheck && npm run test && npm run build && npm run test:smoke",
|
|
336
|
+
"release": "npm run build && npm run typecheck && npm publish --access public"
|
|
337
|
+
},
|
|
338
|
+
"devDependencies": {
|
|
339
|
+
"@biomejs/biome": "^2.4.9",
|
|
340
|
+
"@classytic/dev-tools": "^0.2.0",
|
|
341
|
+
"@types/node": "^25.5.0",
|
|
342
|
+
"publint": "^0.3.23",
|
|
343
|
+
"tsdown": "^0.22.14",
|
|
344
|
+
"typescript": "^5.7.0",
|
|
345
|
+
"vitest": "^3.0.0"
|
|
346
|
+
},
|
|
347
|
+
"keywords": [
|
|
348
|
+
"typescript",
|
|
349
|
+
"types",
|
|
350
|
+
"primitives",
|
|
351
|
+
"money",
|
|
352
|
+
"currency",
|
|
353
|
+
"pagination",
|
|
354
|
+
"domain-event",
|
|
355
|
+
"tenant",
|
|
356
|
+
"classytic",
|
|
357
|
+
"commerce"
|
|
358
|
+
]
|
|
359
|
+
}
|