@foundrynorth/compass-schema 1.0.6 → 1.0.8
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/relations.d.ts +5 -0
- package/dist/relations.d.ts.map +1 -1
- package/dist/relations.js +12 -1
- package/dist/relations.js.map +1 -1
- package/dist/schema.d.ts +251 -0
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +59 -0
- package/dist/schema.js.map +1 -1
- package/package.json +1 -1
package/dist/relations.d.ts
CHANGED
|
@@ -40,4 +40,9 @@ export declare const googleAdCreativesRelations: import("drizzle-orm/relations")
|
|
|
40
40
|
export declare const googleAdSearchesRelations: import("drizzle-orm/relations").Relations<"google_ad_searches", {
|
|
41
41
|
googleAdCreatives: import("drizzle-orm/relations").Many<"google_ad_creatives">;
|
|
42
42
|
}>;
|
|
43
|
+
/** SEM campaign relations — links to media order and line item. */
|
|
44
|
+
export declare const semCampaignsRelations: import("drizzle-orm/relations").Relations<"sem_campaigns", {
|
|
45
|
+
mediaOrder: import("drizzle-orm/relations").One<"media_orders", true>;
|
|
46
|
+
lineItem: import("drizzle-orm/relations").One<"media_order_line_items", true>;
|
|
47
|
+
}>;
|
|
43
48
|
//# sourceMappingURL=relations.d.ts.map
|
package/dist/relations.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"relations.d.ts","sourceRoot":"","sources":["../src/relations.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"relations.d.ts","sourceRoot":"","sources":["../src/relations.ts"],"names":[],"mappings":"AAmBA,eAAO,MAAM,4BAA4B;;EAKtC,CAAC;AAEJ,eAAO,MAAM,cAAc;;;EAGxB,CAAC;AAEJ,eAAO,MAAM,iCAAiC;;EAK3C,CAAC;AAEJ,eAAO,MAAM,qBAAqB;;EAE/B,CAAC;AAEJ,eAAO,MAAM,yBAAyB;;EAKnC,CAAC;AAEJ,eAAO,MAAM,oBAAoB;;;;;EAK9B,CAAC;AAEJ,eAAO,MAAM,kBAAkB;;;EAM5B,CAAC;AAEJ,eAAO,MAAM,wBAAwB;;EAKlC,CAAC;AAEJ,eAAO,MAAM,qBAAqB;;EAK/B,CAAC;AAEJ,eAAO,MAAM,qBAAqB;;;EAS/B,CAAC;AAEJ,eAAO,MAAM,0BAA0B;;EAKpC,CAAC;AAEJ,eAAO,MAAM,yBAAyB;;EAEnC,CAAC;AAEJ,mEAAmE;AACnE,eAAO,MAAM,qBAAqB;;;EAS/B,CAAC"}
|
package/dist/relations.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { relations } from "drizzle-orm/relations";
|
|
2
|
-
import { plans, deepEnrichmentUsage, pdfTemplates, pdfTemplateFieldMappings, rfpRequests, rfpContextAssets, rfpScores, planEnrichments, rfpDocuments, rfpResponses, googleAdSearches, googleAdCreatives } from "./schema.js";
|
|
2
|
+
import { plans, deepEnrichmentUsage, pdfTemplates, pdfTemplateFieldMappings, rfpRequests, rfpContextAssets, rfpScores, planEnrichments, rfpDocuments, rfpResponses, googleAdSearches, googleAdCreatives, semCampaigns, mediaOrders, mediaOrderLineItems, } from "./schema.js";
|
|
3
3
|
export const deepEnrichmentUsageRelations = relations(deepEnrichmentUsage, ({ one }) => ({
|
|
4
4
|
plan: one(plans, {
|
|
5
5
|
fields: [deepEnrichmentUsage.planId],
|
|
@@ -69,4 +69,15 @@ export const googleAdCreativesRelations = relations(googleAdCreatives, ({ one })
|
|
|
69
69
|
export const googleAdSearchesRelations = relations(googleAdSearches, ({ many }) => ({
|
|
70
70
|
googleAdCreatives: many(googleAdCreatives),
|
|
71
71
|
}));
|
|
72
|
+
/** SEM campaign relations — links to media order and line item. */
|
|
73
|
+
export const semCampaignsRelations = relations(semCampaigns, ({ one }) => ({
|
|
74
|
+
mediaOrder: one(mediaOrders, {
|
|
75
|
+
fields: [semCampaigns.mediaOrderId],
|
|
76
|
+
references: [mediaOrders.id],
|
|
77
|
+
}),
|
|
78
|
+
lineItem: one(mediaOrderLineItems, {
|
|
79
|
+
fields: [semCampaigns.lineItemId],
|
|
80
|
+
references: [mediaOrderLineItems.id],
|
|
81
|
+
}),
|
|
82
|
+
}));
|
|
72
83
|
//# sourceMappingURL=relations.js.map
|
package/dist/relations.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"relations.js","sourceRoot":"","sources":["../src/relations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EACL,KAAK,EACL,mBAAmB,EACnB,YAAY,EACZ,wBAAwB,EACxB,WAAW,EACX,gBAAgB,EAChB,SAAS,EACT,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,
|
|
1
|
+
{"version":3,"file":"relations.js","sourceRoot":"","sources":["../src/relations.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC;AAClD,OAAO,EACL,KAAK,EACL,mBAAmB,EACnB,YAAY,EACZ,wBAAwB,EACxB,WAAW,EACX,gBAAgB,EAChB,SAAS,EACT,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,gBAAgB,EAChB,iBAAiB,EACjB,YAAY,EACZ,WAAW,EACX,mBAAmB,GACpB,MAAM,aAAa,CAAC;AAErB,MAAM,CAAC,MAAM,4BAA4B,GAAG,SAAS,CAAC,mBAAmB,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CAAC,CAAC;IACrF,IAAI,EAAE,GAAG,CAAC,KAAK,EAAE;QACf,MAAM,EAAE,CAAC,mBAAmB,CAAC,MAAM,CAAC;QACpC,UAAU,EAAE,CAAC,KAAK,CAAC,EAAE,CAAC;KACvB,CAAC;CACH,CAAC,CAAC,CAAC;AAEJ,MAAM,CAAC,MAAM,cAAc,GAAG,SAAS,CAAC,KAAK,EAAE,CAAC,EAAC,IAAI,EAAC,EAAE,EAAE,CAAC,CAAC;IAC1D,oB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AAU,EAAE,CAAC,SAAS,CAAC,EAAE,CAAC;KAC3B,CAAC;CACH,CAAC,CAAC,CAAC;AAEJ,MAAM,CAAC,MAAM,0BAA0B,GAAG,SAAS,CAAC,iBAAiB,EAAE,CAAC,EAAC,GAAG,EAAC,EAAE,EAAE,CAAC,CAAC;IACjF,cAAc,EAAE,GAAG,CAAC,gBAAgB,EAAE;QACpC,MAAM,EAAE,CAAC,iBAAiB,CAAC,QAAQ,CAAC;QACpC,UAAU,EAAE,CAAC,gBAAgB,CAAC,EAAE,CAAC;KAClC,CAAC;CACH,CAAC,CAAC,CAAC;AAEJ,MAAM,CAAC,MAAM,yBAAyB,GAAG,SAAS,CAAC,gBAAgB,EAAE,CAAC,EAAC,IAAI,EAAC,EAAE,EAAE,CAAC,CAAC;IAChF,iBAAiB,EAAE,IAAI,CAAC,iBAAiB,CAAC;CAC3C,CAAC,CAAC,CAAC;AAEJ,mEAAmE;AACnE,MAAM,CAAC,MAAM,qBAAqB,GAAG,SAAS,CAAC,YAAY,EAAE,CAAC,EAAE,GAAG,EAAE,EAAE,EAAE,CAAC,CAAC;IACzE,UAAU,EAAE,GAAG,CAAC,WAAW,EAAE;QAC3B,MAAM,EAAE,CAAC,YAAY,CAAC,YAAY,CAAC;QACnC,UAAU,EAAE,CAAC,WAAW,CAAC,EAAE,CAAC;KAC7B,CAAC;IACF,QAAQ,EAAE,GAAG,CAAC,mBAAmB,EAAE;QACjC,MAAM,EAAE,CAAC,YAAY,CAAC,UAAU,CAAC;QACjC,UAAU,EAAE,CAAC,mBAAmB,CAAC,EAAE,CAAC;KACrC,CAAC;CACH,CAAC,CAAC,CAAC"}
|
package/dist/schema.d.ts
CHANGED
|
@@ -61217,4 +61217,255 @@ export declare const simplifiBudgetFlights: import("drizzle-orm/pg-core").PgTabl
|
|
|
61217
61217
|
}>;
|
|
61218
61218
|
export type SimplifiBudgetFlightRecord = typeof simplifiBudgetFlights.$inferSelect;
|
|
61219
61219
|
export type InsertSimplifiBudgetFlight = typeof simplifiBudgetFlights.$inferInsert;
|
|
61220
|
+
/** SEM campaign lifecycle status — tracks progression from intake through completion. */
|
|
61221
|
+
export declare const semCampaignStatusEnum: import("drizzle-orm/pg-core").PgEnum<["intake", "enriching", "ready", "exported", "active", "completed"]>;
|
|
61222
|
+
/** SEM enrichment pipeline status — tracks the async enrichment Trigger.dev task. */
|
|
61223
|
+
export declare const semEnrichmentStatusEnum: import("drizzle-orm/pg-core").PgEnum<["pending", "running", "completed", "failed"]>;
|
|
61224
|
+
/**
|
|
61225
|
+
* sem_campaigns — SEM campaign intelligence and lifecycle tracking.
|
|
61226
|
+
*
|
|
61227
|
+
* Created when an order with SEM_SEO line items transitions to "sent".
|
|
61228
|
+
* Enriched asynchronously by the sem-enrich Trigger.dev task with keyword
|
|
61229
|
+
* research, competitor analysis, landing page audit, and AI account structure.
|
|
61230
|
+
*
|
|
61231
|
+
* One record per SEM line item. The enrichmentData JSONB stores the full
|
|
61232
|
+
* DataForSEO + LLM output; accountStructure stores the Google Ads Editor-ready
|
|
61233
|
+
* campaign tree; exportHistory tracks CSV downloads.
|
|
61234
|
+
*/
|
|
61235
|
+
export declare const semCampaigns: import("drizzle-orm/pg-core").PgTableWithColumns<{
|
|
61236
|
+
name: "sem_campaigns";
|
|
61237
|
+
schema: undefined;
|
|
61238
|
+
columns: {
|
|
61239
|
+
id: import("drizzle-orm/pg-core").PgColumn<{
|
|
61240
|
+
name: "id";
|
|
61241
|
+
tableName: "sem_campaigns";
|
|
61242
|
+
dataType: "string";
|
|
61243
|
+
columnType: "PgVarchar";
|
|
61244
|
+
data: string;
|
|
61245
|
+
driverParam: string;
|
|
61246
|
+
notNull: true;
|
|
61247
|
+
hasDefault: true;
|
|
61248
|
+
isPrimaryKey: true;
|
|
61249
|
+
isAutoincrement: false;
|
|
61250
|
+
hasRuntimeDefault: false;
|
|
61251
|
+
enumValues: [string, ...string[]];
|
|
61252
|
+
baseColumn: never;
|
|
61253
|
+
identity: undefined;
|
|
61254
|
+
generated: undefined;
|
|
61255
|
+
}, {}, {
|
|
61256
|
+
length: number | undefined;
|
|
61257
|
+
}>;
|
|
61258
|
+
mediaOrderId: import("drizzle-orm/pg-core").PgColumn<{
|
|
61259
|
+
name: "media_order_id";
|
|
61260
|
+
tableName: "sem_campaigns";
|
|
61261
|
+
dataType: "string";
|
|
61262
|
+
columnType: "PgVarchar";
|
|
61263
|
+
data: string;
|
|
61264
|
+
driverParam: string;
|
|
61265
|
+
notNull: true;
|
|
61266
|
+
hasDefault: false;
|
|
61267
|
+
isPrimaryKey: false;
|
|
61268
|
+
isAutoincrement: false;
|
|
61269
|
+
hasRuntimeDefault: false;
|
|
61270
|
+
enumValues: [string, ...string[]];
|
|
61271
|
+
baseColumn: never;
|
|
61272
|
+
identity: undefined;
|
|
61273
|
+
generated: undefined;
|
|
61274
|
+
}, {}, {
|
|
61275
|
+
length: 36;
|
|
61276
|
+
}>;
|
|
61277
|
+
lineItemId: import("drizzle-orm/pg-core").PgColumn<{
|
|
61278
|
+
name: "line_item_id";
|
|
61279
|
+
tableName: "sem_campaigns";
|
|
61280
|
+
dataType: "string";
|
|
61281
|
+
columnType: "PgVarchar";
|
|
61282
|
+
data: string;
|
|
61283
|
+
driverParam: string;
|
|
61284
|
+
notNull: true;
|
|
61285
|
+
hasDefault: false;
|
|
61286
|
+
isPrimaryKey: false;
|
|
61287
|
+
isAutoincrement: false;
|
|
61288
|
+
hasRuntimeDefault: false;
|
|
61289
|
+
enumValues: [string, ...string[]];
|
|
61290
|
+
baseColumn: never;
|
|
61291
|
+
identity: undefined;
|
|
61292
|
+
generated: undefined;
|
|
61293
|
+
}, {}, {
|
|
61294
|
+
length: 36;
|
|
61295
|
+
}>;
|
|
61296
|
+
clientDomain: import("drizzle-orm/pg-core").PgColumn<{
|
|
61297
|
+
name: "client_domain";
|
|
61298
|
+
tableName: "sem_campaigns";
|
|
61299
|
+
dataType: "string";
|
|
61300
|
+
columnType: "PgText";
|
|
61301
|
+
data: string;
|
|
61302
|
+
driverParam: string;
|
|
61303
|
+
notNull: false;
|
|
61304
|
+
hasDefault: false;
|
|
61305
|
+
isPrimaryKey: false;
|
|
61306
|
+
isAutoincrement: false;
|
|
61307
|
+
hasRuntimeDefault: false;
|
|
61308
|
+
enumValues: [string, ...string[]];
|
|
61309
|
+
baseColumn: never;
|
|
61310
|
+
identity: undefined;
|
|
61311
|
+
generated: undefined;
|
|
61312
|
+
}, {}, {}>;
|
|
61313
|
+
googleAdsAccountId: import("drizzle-orm/pg-core").PgColumn<{
|
|
61314
|
+
name: "google_ads_account_id";
|
|
61315
|
+
tableName: "sem_campaigns";
|
|
61316
|
+
dataType: "string";
|
|
61317
|
+
columnType: "PgText";
|
|
61318
|
+
data: string;
|
|
61319
|
+
driverParam: string;
|
|
61320
|
+
notNull: false;
|
|
61321
|
+
hasDefault: false;
|
|
61322
|
+
isPrimaryKey: false;
|
|
61323
|
+
isAutoincrement: false;
|
|
61324
|
+
hasRuntimeDefault: false;
|
|
61325
|
+
enumValues: [string, ...string[]];
|
|
61326
|
+
baseColumn: never;
|
|
61327
|
+
identity: undefined;
|
|
61328
|
+
generated: undefined;
|
|
61329
|
+
}, {}, {}>;
|
|
61330
|
+
status: import("drizzle-orm/pg-core").PgColumn<{
|
|
61331
|
+
name: "status";
|
|
61332
|
+
tableName: "sem_campaigns";
|
|
61333
|
+
dataType: "string";
|
|
61334
|
+
columnType: "PgEnumColumn";
|
|
61335
|
+
data: "completed" | "active" | "ready" | "intake" | "enriching" | "exported";
|
|
61336
|
+
driverParam: string;
|
|
61337
|
+
notNull: true;
|
|
61338
|
+
hasDefault: true;
|
|
61339
|
+
isPrimaryKey: false;
|
|
61340
|
+
isAutoincrement: false;
|
|
61341
|
+
hasRuntimeDefault: false;
|
|
61342
|
+
enumValues: ["intake", "enriching", "ready", "exported", "active", "completed"];
|
|
61343
|
+
baseColumn: never;
|
|
61344
|
+
identity: undefined;
|
|
61345
|
+
generated: undefined;
|
|
61346
|
+
}, {}, {}>;
|
|
61347
|
+
enrichmentStatus: import("drizzle-orm/pg-core").PgColumn<{
|
|
61348
|
+
name: "enrichment_status";
|
|
61349
|
+
tableName: "sem_campaigns";
|
|
61350
|
+
dataType: "string";
|
|
61351
|
+
columnType: "PgEnumColumn";
|
|
61352
|
+
data: "pending" | "completed" | "failed" | "running";
|
|
61353
|
+
driverParam: string;
|
|
61354
|
+
notNull: true;
|
|
61355
|
+
hasDefault: true;
|
|
61356
|
+
isPrimaryKey: false;
|
|
61357
|
+
isAutoincrement: false;
|
|
61358
|
+
hasRuntimeDefault: false;
|
|
61359
|
+
enumValues: ["pending", "running", "completed", "failed"];
|
|
61360
|
+
baseColumn: never;
|
|
61361
|
+
identity: undefined;
|
|
61362
|
+
generated: undefined;
|
|
61363
|
+
}, {}, {}>;
|
|
61364
|
+
enrichmentData: import("drizzle-orm/pg-core").PgColumn<{
|
|
61365
|
+
name: "enrichment_data";
|
|
61366
|
+
tableName: "sem_campaigns";
|
|
61367
|
+
dataType: "json";
|
|
61368
|
+
columnType: "PgJsonb";
|
|
61369
|
+
data: unknown;
|
|
61370
|
+
driverParam: unknown;
|
|
61371
|
+
notNull: false;
|
|
61372
|
+
hasDefault: false;
|
|
61373
|
+
isPrimaryKey: false;
|
|
61374
|
+
isAutoincrement: false;
|
|
61375
|
+
hasRuntimeDefault: false;
|
|
61376
|
+
enumValues: undefined;
|
|
61377
|
+
baseColumn: never;
|
|
61378
|
+
identity: undefined;
|
|
61379
|
+
generated: undefined;
|
|
61380
|
+
}, {}, {}>;
|
|
61381
|
+
enrichmentError: import("drizzle-orm/pg-core").PgColumn<{
|
|
61382
|
+
name: "enrichment_error";
|
|
61383
|
+
tableName: "sem_campaigns";
|
|
61384
|
+
dataType: "string";
|
|
61385
|
+
columnType: "PgText";
|
|
61386
|
+
data: string;
|
|
61387
|
+
driverParam: string;
|
|
61388
|
+
notNull: false;
|
|
61389
|
+
hasDefault: false;
|
|
61390
|
+
isPrimaryKey: false;
|
|
61391
|
+
isAutoincrement: false;
|
|
61392
|
+
hasRuntimeDefault: false;
|
|
61393
|
+
enumValues: [string, ...string[]];
|
|
61394
|
+
baseColumn: never;
|
|
61395
|
+
identity: undefined;
|
|
61396
|
+
generated: undefined;
|
|
61397
|
+
}, {}, {}>;
|
|
61398
|
+
accountStructure: import("drizzle-orm/pg-core").PgColumn<{
|
|
61399
|
+
name: "account_structure";
|
|
61400
|
+
tableName: "sem_campaigns";
|
|
61401
|
+
dataType: "json";
|
|
61402
|
+
columnType: "PgJsonb";
|
|
61403
|
+
data: unknown;
|
|
61404
|
+
driverParam: unknown;
|
|
61405
|
+
notNull: false;
|
|
61406
|
+
hasDefault: false;
|
|
61407
|
+
isPrimaryKey: false;
|
|
61408
|
+
isAutoincrement: false;
|
|
61409
|
+
hasRuntimeDefault: false;
|
|
61410
|
+
enumValues: undefined;
|
|
61411
|
+
baseColumn: never;
|
|
61412
|
+
identity: undefined;
|
|
61413
|
+
generated: undefined;
|
|
61414
|
+
}, {}, {}>;
|
|
61415
|
+
exportHistory: import("drizzle-orm/pg-core").PgColumn<{
|
|
61416
|
+
name: "export_history";
|
|
61417
|
+
tableName: "sem_campaigns";
|
|
61418
|
+
dataType: "json";
|
|
61419
|
+
columnType: "PgJsonb";
|
|
61420
|
+
data: unknown;
|
|
61421
|
+
driverParam: unknown;
|
|
61422
|
+
notNull: false;
|
|
61423
|
+
hasDefault: true;
|
|
61424
|
+
isPrimaryKey: false;
|
|
61425
|
+
isAutoincrement: false;
|
|
61426
|
+
hasRuntimeDefault: false;
|
|
61427
|
+
enumValues: undefined;
|
|
61428
|
+
baseColumn: never;
|
|
61429
|
+
identity: undefined;
|
|
61430
|
+
generated: undefined;
|
|
61431
|
+
}, {}, {}>;
|
|
61432
|
+
createdAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
61433
|
+
name: "created_at";
|
|
61434
|
+
tableName: "sem_campaigns";
|
|
61435
|
+
dataType: "date";
|
|
61436
|
+
columnType: "PgTimestamp";
|
|
61437
|
+
data: Date;
|
|
61438
|
+
driverParam: string;
|
|
61439
|
+
notNull: true;
|
|
61440
|
+
hasDefault: true;
|
|
61441
|
+
isPrimaryKey: false;
|
|
61442
|
+
isAutoincrement: false;
|
|
61443
|
+
hasRuntimeDefault: false;
|
|
61444
|
+
enumValues: undefined;
|
|
61445
|
+
baseColumn: never;
|
|
61446
|
+
identity: undefined;
|
|
61447
|
+
generated: undefined;
|
|
61448
|
+
}, {}, {}>;
|
|
61449
|
+
updatedAt: import("drizzle-orm/pg-core").PgColumn<{
|
|
61450
|
+
name: "updated_at";
|
|
61451
|
+
tableName: "sem_campaigns";
|
|
61452
|
+
dataType: "date";
|
|
61453
|
+
columnType: "PgTimestamp";
|
|
61454
|
+
data: Date;
|
|
61455
|
+
driverParam: string;
|
|
61456
|
+
notNull: true;
|
|
61457
|
+
hasDefault: true;
|
|
61458
|
+
isPrimaryKey: false;
|
|
61459
|
+
isAutoincrement: false;
|
|
61460
|
+
hasRuntimeDefault: false;
|
|
61461
|
+
enumValues: undefined;
|
|
61462
|
+
baseColumn: never;
|
|
61463
|
+
identity: undefined;
|
|
61464
|
+
generated: undefined;
|
|
61465
|
+
}, {}, {}>;
|
|
61466
|
+
};
|
|
61467
|
+
dialect: "pg";
|
|
61468
|
+
}>;
|
|
61469
|
+
export type SemCampaignRecord = typeof semCampaigns.$inferSelect;
|
|
61470
|
+
export type InsertSemCampaign = typeof semCampaigns.$inferInsert;
|
|
61220
61471
|
//# sourceMappingURL=schema.d.ts.map
|