@voyantjs/sellability 0.6.0 → 0.6.3
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/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +5 -5
- package/package.json +10 -10
package/dist/schema.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../src/schema.ts"],"names":[],"mappings":"AAaA,eAAO,MAAM,6BAA6B,oFAIxC,CAAA;AAEF,eAAO,MAAM,oCAAoC,2FAK/C,CAAA;AAEF,eAAO,MAAM,0BAA0B,4FAMrC,CAAA;AAEF,eAAO,MAAM,yBAAyB,mJASpC,CAAA;AAEF,eAAO,MAAM,iCAAiC,oFAK5C,CAAA;AAEF,eAAO,MAAM,yBAAyB,gGAMpC,CAAA;AAEF,eAAO,MAAM,8BAA8B,2FAKzC,CAAA;AAEF,eAAO,MAAM,8BAA8B,sHAQzC,CAAA;AAEF,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA6BhC,CAAA;AAED,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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GAAG,OAAO,qBAAqB,CAAC,YAAY,CAAA;AAC/E,MAAM,MAAM,sBAAsB,GAAG,OAAO,uBAAuB,CAAC,YAAY,CAAA;AAChF,MAAM,MAAM,yBAAyB,GAAG,OAAO,uBAAuB,CAAC,YAAY,CAAA;AAEnF,eAAO,MAAM,6BAA6B;;;;;;EAMvC,CAAA;AAEH,eAAO,MAAM,iCAAiC;;EAK3C,CAAA;AAEH,eAAO,MAAM,4BAA4B;;EAEtC,CAAA;AAEH,eAAO,MAAM,iCAAiC;;;;EAa3C,CAAA;AAEH,eAAO,MAAM,yBAAyB;;EAKnC,CAAA;AAEH,eAAO,MAAM,8BAA8B;;EAKxC,CAAA;AAEH,eAAO,MAAM,gCAAgC;;;EAS1C,CAAA"}
|
package/dist/schema.js
CHANGED
|
@@ -111,7 +111,7 @@ export const sellabilitySnapshotItems = pgTable("sellability_snapshot_items", {
|
|
|
111
111
|
isSelected: boolean("is_selected").notNull().default(true),
|
|
112
112
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
113
113
|
}, (table) => [
|
|
114
|
-
index("
|
|
114
|
+
index("idx_sellability_snapshot_items_snapshot_order").on(table.snapshotId, table.candidateIndex, table.componentIndex),
|
|
115
115
|
index("idx_sellability_snapshot_items_candidate").on(table.candidateIndex),
|
|
116
116
|
index("idx_sellability_snapshot_items_component").on(table.componentKind),
|
|
117
117
|
index("idx_sellability_snapshot_items_product").on(table.productId),
|
|
@@ -162,7 +162,7 @@ export const sellabilityPolicyResults = pgTable("sellability_policy_results", {
|
|
|
162
162
|
details: jsonb("details").$type(),
|
|
163
163
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
164
164
|
}, (table) => [
|
|
165
|
-
index("
|
|
165
|
+
index("idx_sellability_policy_results_snapshot_created").on(table.snapshotId, table.createdAt),
|
|
166
166
|
index("idx_sellability_policy_results_snapshot_item").on(table.snapshotItemId),
|
|
167
167
|
index("idx_sellability_policy_results_policy").on(table.policyId),
|
|
168
168
|
index("idx_sellability_policy_results_status").on(table.status),
|
|
@@ -181,7 +181,7 @@ export const offerRefreshRuns = pgTable("offer_refresh_runs", {
|
|
|
181
181
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
182
182
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
|
|
183
183
|
}, (table) => [
|
|
184
|
-
index("
|
|
184
|
+
index("idx_offer_refresh_runs_offer_started").on(table.offerId, table.startedAt),
|
|
185
185
|
index("idx_offer_refresh_runs_snapshot").on(table.snapshotId),
|
|
186
186
|
index("idx_offer_refresh_runs_status").on(table.status),
|
|
187
187
|
]);
|
|
@@ -199,7 +199,7 @@ export const offerExpirationEvents = pgTable("offer_expiration_events", {
|
|
|
199
199
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
200
200
|
updatedAt: timestamp("updated_at", { withTimezone: true }).notNull().defaultNow(),
|
|
201
201
|
}, (table) => [
|
|
202
|
-
index("
|
|
202
|
+
index("idx_offer_expiration_events_offer_expires").on(table.offerId, table.expiresAt),
|
|
203
203
|
index("idx_offer_expiration_events_snapshot").on(table.snapshotId),
|
|
204
204
|
index("idx_offer_expiration_events_status").on(table.status),
|
|
205
205
|
]);
|
|
@@ -218,7 +218,7 @@ export const sellabilityExplanations = pgTable("sellability_explanations", {
|
|
|
218
218
|
details: jsonb("details").$type(),
|
|
219
219
|
createdAt: timestamp("created_at", { withTimezone: true }).notNull().defaultNow(),
|
|
220
220
|
}, (table) => [
|
|
221
|
-
index("
|
|
221
|
+
index("idx_sellability_explanations_snapshot_created").on(table.snapshotId, table.createdAt),
|
|
222
222
|
index("idx_sellability_explanations_snapshot_item").on(table.snapshotItemId),
|
|
223
223
|
index("idx_sellability_explanations_type").on(table.explanationType),
|
|
224
224
|
]);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/sellability",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.3",
|
|
4
4
|
"license": "FSL-1.1-Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -25,15 +25,15 @@
|
|
|
25
25
|
"drizzle-orm": "^0.45.2",
|
|
26
26
|
"hono": "^4.12.10",
|
|
27
27
|
"zod": "^4.3.6",
|
|
28
|
-
"@voyantjs/availability": "0.6.
|
|
29
|
-
"@voyantjs/core": "0.6.
|
|
30
|
-
"@voyantjs/db": "0.6.
|
|
31
|
-
"@voyantjs/distribution": "0.6.
|
|
32
|
-
"@voyantjs/hono": "0.6.
|
|
33
|
-
"@voyantjs/markets": "0.6.
|
|
34
|
-
"@voyantjs/pricing": "0.6.
|
|
35
|
-
"@voyantjs/products": "0.6.
|
|
36
|
-
"@voyantjs/transactions": "0.6.
|
|
28
|
+
"@voyantjs/availability": "0.6.3",
|
|
29
|
+
"@voyantjs/core": "0.6.3",
|
|
30
|
+
"@voyantjs/db": "0.6.3",
|
|
31
|
+
"@voyantjs/distribution": "0.6.3",
|
|
32
|
+
"@voyantjs/hono": "0.6.3",
|
|
33
|
+
"@voyantjs/markets": "0.6.3",
|
|
34
|
+
"@voyantjs/pricing": "0.6.3",
|
|
35
|
+
"@voyantjs/products": "0.6.3",
|
|
36
|
+
"@voyantjs/transactions": "0.6.3"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
39
|
"typescript": "^6.0.2",
|