@foundrynorth/compass-schema 1.0.13 → 1.0.14
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 +115 -0
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +9 -0
- package/dist/schema.js.map +1 -1
- package/package.json +1 -1
- package/src/schema.ts +11 -0
package/package.json
CHANGED
package/src/schema.ts
CHANGED
|
@@ -8003,3 +8003,14 @@ export const compassEventOutbox = pgTable(
|
|
|
8003
8003
|
|
|
8004
8004
|
export type CompassEventOutboxRecord = typeof compassEventOutbox.$inferSelect;
|
|
8005
8005
|
export type InsertCompassEventOutbox = typeof compassEventOutbox.$inferInsert;
|
|
8006
|
+
|
|
8007
|
+
// ─── Creative Deliveries (Prism webhook idempotency) ────────────────────────
|
|
8008
|
+
|
|
8009
|
+
export const creativeDeliveries = pgTable("creative_deliveries", {
|
|
8010
|
+
id: serial("id").primaryKey(),
|
|
8011
|
+
packageId: varchar("package_id", { length: 255 }).notNull().unique(),
|
|
8012
|
+
compassCampaignId: varchar("compass_campaign_id", { length: 255 }).notNull(),
|
|
8013
|
+
status: varchar("status", { length: 50 }).notNull(),
|
|
8014
|
+
assetCount: integer("asset_count").notNull().default(0),
|
|
8015
|
+
receivedAt: timestamp("received_at").defaultNow().notNull(),
|
|
8016
|
+
});
|