@bettercms-ai/db 0.2.0 → 0.4.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/dist/index.d.ts CHANGED
@@ -377,6 +377,42 @@ type BindingReport = Record<string, {
377
377
  }[];
378
378
  }[];
379
379
  }>;
380
+ /**
381
+ * A brand gradient, STRUCTURED — never a raw CSS string.
382
+ *
383
+ * A gradient is not a file, so it is not a media asset: `linear-gradient(...)` is a value, and
384
+ * the Media Library stores bytes. It is a token, and it is stored the way every other token
385
+ * here is stored, as numbers and keys the emitter composes into CSS. Storing the CSS itself
386
+ * would put author-supplied text on a path that ends inside a published stylesheet.
387
+ *
388
+ * `stops[].color` is a KEY into this kit's own colours (`colors.primary`, or an `extras` key),
389
+ * not a hex value: a brand that changes its accent expects its gradients to follow, and a
390
+ * duplicated hex is a second place the same fact lives.
391
+ *
392
+ * The whole list is one override leaf, exactly like `extras`, `elevation` and `typeScale`: an
393
+ * edit replaces the array. A later build's new gradient still appears as a candidate on the
394
+ * Brand page, and adding it appends — the merge is a person's decision, not a silent one.
395
+ */
396
+ type BrandGradient = {
397
+ key: string;
398
+ label?: string;
399
+ kind: "linear" | "radial" | "conic";
400
+ /** Degrees. Ignored for `radial`, which is emitted as a centred circle. */
401
+ angle?: number;
402
+ stops: {
403
+ color: string;
404
+ at: number;
405
+ }[];
406
+ };
407
+ /** Who chose this asset. `build` is the only one no human clicked, so the UI can say so. */
408
+ type BrandAssetSource = "picker" | "extract" | "build" | "mcp" | "backfill";
409
+ type BrandAssetRef = {
410
+ id: string;
411
+ url: string;
412
+ name: string;
413
+ altText?: string;
414
+ source: BrandAssetSource;
415
+ };
380
416
  type BrandKit = {
381
417
  version: number;
382
418
  colors: {
@@ -403,6 +439,29 @@ type BrandKit = {
403
439
  markUrl: string;
404
440
  faviconUrl: string;
405
441
  };
442
+ /**
443
+ * The brand's images, as REFERENCES into this project's media library (FLO-1014).
444
+ *
445
+ * `id` is a `media_assets.id` belonging to THIS project — the file itself lives in the
446
+ * library, and this says which one is the brand's. `url` and `name` are resolved by the
447
+ * server from that id on every write and are never trusted from a client, because a media
448
+ * URL carries a `?v=` the library bumps on replace.
449
+ *
450
+ * `logos.markUrl`/`logos.faviconUrl` and `projects.logo_url`/`favicon_url` are MIRRORS the
451
+ * server writes from here, so everything that reads them today keeps working.
452
+ *
453
+ * These live in the kit as override LEAVES (`assets.mark.id`, `assets.mark.url`, …), so
454
+ * anything derived from them — the mirrors, the resolved url — must be derived BEFORE
455
+ * mutateBrand diffs the kit, or reconcileDesign drops it on the next build.
456
+ */
457
+ assets?: {
458
+ mark?: BrandAssetRef;
459
+ favicon?: BrandAssetRef;
460
+ };
461
+ /** Gradients and the blobs built from them: values, not files. See BrandGradient. */
462
+ graphics?: {
463
+ gradients: BrandGradient[];
464
+ };
406
465
  voice: {
407
466
  tone: string;
408
467
  doWords: string[];
@@ -1548,6 +1607,23 @@ declare const projects: drizzle_orm_pg_core.PgTableWithColumns<{
1548
1607
  identity: undefined;
1549
1608
  generated: undefined;
1550
1609
  }, {}, {}>;
1610
+ useCdn: drizzle_orm_pg_core.PgColumn<{
1611
+ name: "use_cdn";
1612
+ tableName: "projects";
1613
+ dataType: "boolean";
1614
+ columnType: "PgBoolean";
1615
+ data: boolean;
1616
+ driverParam: boolean;
1617
+ notNull: true;
1618
+ hasDefault: true;
1619
+ isPrimaryKey: false;
1620
+ isAutoincrement: false;
1621
+ hasRuntimeDefault: false;
1622
+ enumValues: undefined;
1623
+ baseColumn: never;
1624
+ identity: undefined;
1625
+ generated: undefined;
1626
+ }, {}, {}>;
1551
1627
  backupOnPublish: drizzle_orm_pg_core.PgColumn<{
1552
1628
  name: "backup_on_publish";
1553
1629
  tableName: "projects";
@@ -2103,6 +2179,57 @@ declare const projects: drizzle_orm_pg_core.PgTableWithColumns<{
2103
2179
  identity: undefined;
2104
2180
  generated: undefined;
2105
2181
  }, {}, {}>;
2182
+ switchedFromProjectId: drizzle_orm_pg_core.PgColumn<{
2183
+ name: "switched_from_project_id";
2184
+ tableName: "projects";
2185
+ dataType: "string";
2186
+ columnType: "PgText";
2187
+ data: string;
2188
+ driverParam: string;
2189
+ notNull: false;
2190
+ hasDefault: false;
2191
+ isPrimaryKey: false;
2192
+ isAutoincrement: false;
2193
+ hasRuntimeDefault: false;
2194
+ enumValues: [string, ...string[]];
2195
+ baseColumn: never;
2196
+ identity: undefined;
2197
+ generated: undefined;
2198
+ }, {}, {}>;
2199
+ purgeAfter: drizzle_orm_pg_core.PgColumn<{
2200
+ name: "purge_after";
2201
+ tableName: "projects";
2202
+ dataType: "date";
2203
+ columnType: "PgTimestamp";
2204
+ data: Date;
2205
+ driverParam: string;
2206
+ notNull: false;
2207
+ hasDefault: false;
2208
+ isPrimaryKey: false;
2209
+ isAutoincrement: false;
2210
+ hasRuntimeDefault: false;
2211
+ enumValues: undefined;
2212
+ baseColumn: never;
2213
+ identity: undefined;
2214
+ generated: undefined;
2215
+ }, {}, {}>;
2216
+ purgeFailedAt: drizzle_orm_pg_core.PgColumn<{
2217
+ name: "purge_failed_at";
2218
+ tableName: "projects";
2219
+ dataType: "date";
2220
+ columnType: "PgTimestamp";
2221
+ data: Date;
2222
+ driverParam: string;
2223
+ notNull: false;
2224
+ hasDefault: false;
2225
+ isPrimaryKey: false;
2226
+ isAutoincrement: false;
2227
+ hasRuntimeDefault: false;
2228
+ enumValues: undefined;
2229
+ baseColumn: never;
2230
+ identity: undefined;
2231
+ generated: undefined;
2232
+ }, {}, {}>;
2106
2233
  };
2107
2234
  dialect: "pg";
2108
2235
  }>;
@@ -2248,6 +2375,31 @@ declare const projectsRelations: drizzle_orm.Relations<"projects", {
2248
2375
  webhooks: drizzle_orm.Many<"webhooks">;
2249
2376
  }>;
2250
2377
 
2378
+ interface WebhookAdvancedConfigRecord {
2379
+ version: 1;
2380
+ envelopeVersion: "legacy" | "v2";
2381
+ subscriptions: Array<{
2382
+ event: WebhookEventType;
2383
+ payload: {
2384
+ mode: "complete";
2385
+ } | {
2386
+ mode: "selected";
2387
+ fields: Array<{
2388
+ path: string;
2389
+ alias?: string;
2390
+ }>;
2391
+ };
2392
+ filters: Array<{
2393
+ path: string;
2394
+ operator: "equals" | "not_equals" | "contains" | "exists";
2395
+ value?: string | number | boolean | null;
2396
+ }>;
2397
+ }>;
2398
+ headers: Array<{
2399
+ name: string;
2400
+ secretId: string;
2401
+ }>;
2402
+ }
2251
2403
  /**
2252
2404
  * WebhookEvent — union of all supported webhook event types.
2253
2405
  */
@@ -2370,6 +2522,25 @@ declare const webhooks: drizzle_orm_pg_core.PgTableWithColumns<{
2370
2522
  }, {}, {
2371
2523
  $type: WebhookEventType[];
2372
2524
  }>;
2525
+ advancedConfig: drizzle_orm_pg_core.PgColumn<{
2526
+ name: "advanced_config";
2527
+ tableName: "webhooks";
2528
+ dataType: "json";
2529
+ columnType: "PgJsonb";
2530
+ data: WebhookAdvancedConfigRecord;
2531
+ driverParam: unknown;
2532
+ notNull: false;
2533
+ hasDefault: false;
2534
+ isPrimaryKey: false;
2535
+ isAutoincrement: false;
2536
+ hasRuntimeDefault: false;
2537
+ enumValues: undefined;
2538
+ baseColumn: never;
2539
+ identity: undefined;
2540
+ generated: undefined;
2541
+ }, {}, {
2542
+ $type: WebhookAdvancedConfigRecord;
2543
+ }>;
2373
2544
  secretHash: drizzle_orm_pg_core.PgColumn<{
2374
2545
  name: "secret_hash";
2375
2546
  tableName: "webhooks";
@@ -2924,6 +3095,40 @@ declare const workspaces: drizzle_orm_pg_core.PgTableWithColumns<{
2924
3095
  size: undefined;
2925
3096
  $type: string[];
2926
3097
  }>;
3098
+ abmEnabled: drizzle_orm_pg_core.PgColumn<{
3099
+ name: "abm_enabled";
3100
+ tableName: "workspaces";
3101
+ dataType: "boolean";
3102
+ columnType: "PgBoolean";
3103
+ data: boolean;
3104
+ driverParam: boolean;
3105
+ notNull: true;
3106
+ hasDefault: true;
3107
+ isPrimaryKey: false;
3108
+ isAutoincrement: false;
3109
+ hasRuntimeDefault: false;
3110
+ enumValues: undefined;
3111
+ baseColumn: never;
3112
+ identity: undefined;
3113
+ generated: undefined;
3114
+ }, {}, {}>;
3115
+ researchDailyCap: drizzle_orm_pg_core.PgColumn<{
3116
+ name: "research_daily_cap";
3117
+ tableName: "workspaces";
3118
+ dataType: "number";
3119
+ columnType: "PgInteger";
3120
+ data: number;
3121
+ driverParam: string | number;
3122
+ notNull: false;
3123
+ hasDefault: false;
3124
+ isPrimaryKey: false;
3125
+ isAutoincrement: false;
3126
+ hasRuntimeDefault: false;
3127
+ enumValues: undefined;
3128
+ baseColumn: never;
3129
+ identity: undefined;
3130
+ generated: undefined;
3131
+ }, {}, {}>;
2927
3132
  createdAt: drizzle_orm_pg_core.PgColumn<{
2928
3133
  name: "created_at";
2929
3134
  tableName: "workspaces";
@@ -5384,6 +5589,59 @@ declare const contentEntries: drizzle_orm_pg_core.PgTableWithColumns<{
5384
5589
  placement?: Record<string, "inline" | "panel">;
5385
5590
  };
5386
5591
  }>;
5592
+ externalKey: drizzle_orm_pg_core.PgColumn<{
5593
+ name: "external_key";
5594
+ tableName: "content_entries";
5595
+ dataType: "string";
5596
+ columnType: "PgText";
5597
+ data: string;
5598
+ driverParam: string;
5599
+ notNull: false;
5600
+ hasDefault: false;
5601
+ isPrimaryKey: false;
5602
+ isAutoincrement: false;
5603
+ hasRuntimeDefault: false;
5604
+ enumValues: [string, ...string[]];
5605
+ baseColumn: never;
5606
+ identity: undefined;
5607
+ generated: undefined;
5608
+ }, {}, {}>;
5609
+ campaignId: drizzle_orm_pg_core.PgColumn<{
5610
+ name: "campaign_id";
5611
+ tableName: "content_entries";
5612
+ dataType: "string";
5613
+ columnType: "PgText";
5614
+ data: string;
5615
+ driverParam: string;
5616
+ notNull: false;
5617
+ hasDefault: false;
5618
+ isPrimaryKey: false;
5619
+ isAutoincrement: false;
5620
+ hasRuntimeDefault: false;
5621
+ enumValues: [string, ...string[]];
5622
+ baseColumn: never;
5623
+ identity: undefined;
5624
+ generated: undefined;
5625
+ }, {}, {}>;
5626
+ provenance: drizzle_orm_pg_core.PgColumn<{
5627
+ name: "provenance";
5628
+ tableName: "content_entries";
5629
+ dataType: "json";
5630
+ columnType: "PgJsonb";
5631
+ data: Record<string, unknown>;
5632
+ driverParam: unknown;
5633
+ notNull: false;
5634
+ hasDefault: false;
5635
+ isPrimaryKey: false;
5636
+ isAutoincrement: false;
5637
+ hasRuntimeDefault: false;
5638
+ enumValues: undefined;
5639
+ baseColumn: never;
5640
+ identity: undefined;
5641
+ generated: undefined;
5642
+ }, {}, {
5643
+ $type: Record<string, unknown>;
5644
+ }>;
5387
5645
  };
5388
5646
  dialect: "pg";
5389
5647
  }>;
@@ -6414,6 +6672,9 @@ declare const pages: drizzle_orm_pg_core.PgTableWithColumns<{
6414
6672
  repeaters?: boolean;
6415
6673
  families?: true;
6416
6674
  collection?: true;
6675
+ styles?: Record<string, unknown>;
6676
+ skipped?: unknown[];
6677
+ skippedTotal?: number;
6417
6678
  } | null;
6418
6679
  driverParam: unknown;
6419
6680
  notNull: false;
@@ -6430,6 +6691,9 @@ declare const pages: drizzle_orm_pg_core.PgTableWithColumns<{
6430
6691
  repeaters?: boolean;
6431
6692
  families?: true;
6432
6693
  collection?: true;
6694
+ styles?: Record<string, unknown>;
6695
+ skipped?: unknown[];
6696
+ skippedTotal?: number;
6433
6697
  } | null;
6434
6698
  }>;
6435
6699
  previewEntryId: drizzle_orm_pg_core.PgColumn<{
@@ -6483,6 +6747,23 @@ declare const pages: drizzle_orm_pg_core.PgTableWithColumns<{
6483
6747
  identity: undefined;
6484
6748
  generated: undefined;
6485
6749
  }, {}, {}>;
6750
+ campaignId: drizzle_orm_pg_core.PgColumn<{
6751
+ name: "campaign_id";
6752
+ tableName: "pages";
6753
+ dataType: "string";
6754
+ columnType: "PgText";
6755
+ data: string;
6756
+ driverParam: string;
6757
+ notNull: false;
6758
+ hasDefault: false;
6759
+ isPrimaryKey: false;
6760
+ isAutoincrement: false;
6761
+ hasRuntimeDefault: false;
6762
+ enumValues: [string, ...string[]];
6763
+ baseColumn: never;
6764
+ identity: undefined;
6765
+ generated: undefined;
6766
+ }, {}, {}>;
6486
6767
  };
6487
6768
  dialect: "pg";
6488
6769
  }>;
@@ -9381,6 +9662,25 @@ declare const forms: drizzle_orm_pg_core.PgTableWithColumns<{
9381
9662
  }, {}, {
9382
9663
  length: 64;
9383
9664
  }>;
9665
+ implementation: drizzle_orm_pg_core.PgColumn<{
9666
+ name: "implementation";
9667
+ tableName: "forms";
9668
+ dataType: "json";
9669
+ columnType: "PgJsonb";
9670
+ data: FormImplementation;
9671
+ driverParam: unknown;
9672
+ notNull: false;
9673
+ hasDefault: false;
9674
+ isPrimaryKey: false;
9675
+ isAutoincrement: false;
9676
+ hasRuntimeDefault: false;
9677
+ enumValues: undefined;
9678
+ baseColumn: never;
9679
+ identity: undefined;
9680
+ generated: undefined;
9681
+ }, {}, {
9682
+ $type: FormImplementation;
9683
+ }>;
9384
9684
  createdAt: drizzle_orm_pg_core.PgColumn<{
9385
9685
  name: "created_at";
9386
9686
  tableName: "forms";
@@ -9436,6 +9736,38 @@ declare const forms: drizzle_orm_pg_core.PgTableWithColumns<{
9436
9736
  dialect: "pg";
9437
9737
  }>;
9438
9738
  type FormStatus = "draft" | "published";
9739
+ /**
9740
+ * Whether a form's UI exists in the customer's built site (migration 0347).
9741
+ *
9742
+ * connected a <form> in the build carries data-bcms-form="<this form's id>"
9743
+ * implemented-not-connected a <form> has this form's field shape but no data-bcms-form
9744
+ * not-implemented no <form> in the build matches
9745
+ *
9746
+ * `route` is where it was found — absent for not-implemented. `fieldKeys` is what a build must
9747
+ * post for this form, so a not-implemented state can tell the author exactly what to add.
9748
+ */
9749
+ type FormImplementationState = "connected" | "implemented-not-connected" | "not-implemented";
9750
+ type FormImplementation = {
9751
+ state: FormImplementationState;
9752
+ route?: string;
9753
+ fieldKeys: string[];
9754
+ /**
9755
+ * The component whose built markup holds the form, read from the markers around it. Absent when
9756
+ * nothing encloses it or the enclosing band holds more than one component (never guessed).
9757
+ */
9758
+ componentId?: string;
9759
+ /** The repository file the codemod wired this form in, from the latest `--forms` receipt. */
9760
+ file?: string;
9761
+ /**
9762
+ * Where the built `<form>` posts and how (`action` resolved against `route`, `method`
9763
+ * lower-cased). The facts the codemod needs to rewire it and the only record of the endpoint
9764
+ * an imported form is still submitting to — refreshed by every release scan, so never stale.
9765
+ */
9766
+ action?: string;
9767
+ method?: string;
9768
+ /** ISO timestamp of the release scan that wrote this. */
9769
+ at: string;
9770
+ };
9439
9771
  type FormField = {
9440
9772
  key: string;
9441
9773
  label: string;
@@ -9444,6 +9776,12 @@ type FormField = {
9444
9776
  helpText?: string;
9445
9777
  required?: boolean;
9446
9778
  options?: string[];
9779
+ /**
9780
+ * What each choice SUBMITS, positionally paired with `options`. Only set when it differs from
9781
+ * the label — `<option value="pro">Pro</option>` shows one word and posts another, and a form
9782
+ * derived from built HTML that kept only the labels lost what the site actually collects.
9783
+ */
9784
+ optionValues?: string[];
9447
9785
  hidden?: boolean;
9448
9786
  defaultValue?: string;
9449
9787
  showIf?: {
@@ -9451,6 +9789,7 @@ type FormField = {
9451
9789
  equals: string;
9452
9790
  };
9453
9791
  validation?: FormFieldValidation;
9792
+ ui?: FormFieldUi;
9454
9793
  };
9455
9794
  /**
9456
9795
  * Per-field validation rules (FLO-1017). Each key is only meaningful on the field
@@ -9471,6 +9810,27 @@ type FormFieldValidation = {
9471
9810
  /** `text` | `textarea` | `url` — anchored regex, compiled and length-capped at save time. */
9472
9811
  pattern?: string;
9473
9812
  };
9813
+ /**
9814
+ * Per-field PRESENTATION options. Currently only the phone field's country picker.
9815
+ *
9816
+ * Deliberately NOT part of `FormFieldValidation`: that object is "rules the submit endpoint
9817
+ * enforces", and `lib/forms/validate` never reads this one. The save route gates each key to
9818
+ * the field types that actually render it, so a key accepted here is a key something draws.
9819
+ */
9820
+ type FormFieldUi = {
9821
+ /** `phone` — render a country picker beside the number. The value is stored as E.164. */
9822
+ countryPicker?: boolean;
9823
+ /** `phone` — ISO 3166-1 alpha-2, uppercase. The country the picker starts on. */
9824
+ defaultCountry?: string;
9825
+ /**
9826
+ * `phone` — show the country's flag beside the dialling code.
9827
+ *
9828
+ * Only the dashboard's searchable picker can honour this: the site renderers use a native
9829
+ * `<select>`, which cannot contain an SVG, and an emoji flag degrades to two grey letters on
9830
+ * Windows. They show the country NAME instead, which carries the same information.
9831
+ */
9832
+ showFlags?: boolean;
9833
+ };
9474
9834
  type Autoresponder = {
9475
9835
  enabled: boolean;
9476
9836
  subject: string;
@@ -14554,6 +14914,40 @@ declare const oauthClients: drizzle_orm_pg_core.PgTableWithColumns<{
14554
14914
  type OauthClientSelect = InferSelectModel<typeof oauthClients>;
14555
14915
  type OauthClientInsert = InferInsertModel<typeof oauthClients>;
14556
14916
 
14917
+ /** How one brand slot was resolved from a build. `kept` = a human's choice was already there. */
14918
+ type BrandLinkOutcome = {
14919
+ state: "linked" | "ambiguous" | "none" | "kept";
14920
+ assetId?: string;
14921
+ candidates?: string[];
14922
+ /** RESPONSE ONLY, never stored: the API resolves `candidates` so the card can show thumbnails
14923
+ * without a request per id. The stored report keeps ids — it records what the build saw. */
14924
+ candidateAssets?: {
14925
+ id: string;
14926
+ url: string;
14927
+ name: string;
14928
+ }[];
14929
+ reason?: string;
14930
+ };
14931
+ type IngestReport = {
14932
+ media: {
14933
+ adopted: number;
14934
+ /** Declined, each with the reason a person can act on. */
14935
+ skipped: {
14936
+ path: string;
14937
+ reason: string;
14938
+ }[];
14939
+ /** Queued behind this release's budget — not a problem, just not yet. */
14940
+ deferred?: {
14941
+ count: number;
14942
+ paths: string[];
14943
+ };
14944
+ };
14945
+ brand?: {
14946
+ mark?: BrandLinkOutcome;
14947
+ favicon?: BrandLinkOutcome;
14948
+ };
14949
+ };
14950
+
14557
14951
  /**
14558
14952
  * Releases — Lane B hosting artifact ingests.
14559
14953
  *
@@ -14800,6 +15194,25 @@ declare const releases: drizzle_orm_pg_core.PgTableWithColumns<{
14800
15194
  identity: undefined;
14801
15195
  generated: undefined;
14802
15196
  }, {}, {}>;
15197
+ ingestReport: drizzle_orm_pg_core.PgColumn<{
15198
+ name: "ingest_report";
15199
+ tableName: "releases";
15200
+ dataType: "json";
15201
+ columnType: "PgJsonb";
15202
+ data: IngestReport;
15203
+ driverParam: unknown;
15204
+ notNull: false;
15205
+ hasDefault: false;
15206
+ isPrimaryKey: false;
15207
+ isAutoincrement: false;
15208
+ hasRuntimeDefault: false;
15209
+ enumValues: undefined;
15210
+ baseColumn: never;
15211
+ identity: undefined;
15212
+ generated: undefined;
15213
+ }, {}, {
15214
+ $type: IngestReport;
15215
+ }>;
14803
15216
  designAttempts: drizzle_orm_pg_core.PgColumn<{
14804
15217
  name: "design_attempts";
14805
15218
  tableName: "releases";
@@ -20416,30 +20829,20 @@ declare const agentInstructions: drizzle_orm_pg_core.PgTableWithColumns<{
20416
20829
  type AgentInstructionSelect = InferSelectModel<typeof agentInstructions>;
20417
20830
  type AgentInstructionInsert = InferInsertModel<typeof agentInstructions>;
20418
20831
 
20419
- type AiWriteOrigin = Extract<WriteOrigin, `agent:${string}`>;
20420
- /**
20421
- * AiGenerationJobs — background bulk AI Page Builder runs (Prismic SEO/ABM parity).
20422
- *
20423
- * One row per "upload dataset → AI writes each page" job. The drain
20424
- * (src/lib/generate/jobs.ts) processes `rows` from `cursor` in bounded batches, calling
20425
- * the AI per `{ ai: { prompt } }` field and debiting the credit ledger per row, so a
20426
- * 2000-row run survives request/worker timeouts and credit exhaustion (resumable).
20427
- *
20428
- * RLS: enabled by migration 0178 (workspace_id = app.current_workspace_id); the cron drain
20429
- * reaches it through the SECURITY DEFINER claim_next_ai_job (0185) because a cron tick has no
20430
- * workspace pin. (This comment previously said "No RLS" — the exact false belief that left every
20431
- * background AI job dead in prod from 0178 until 0185.) `mapping`/`rows` are the parsed
20432
- * GenerateMapping + dataset rows (kept loose here so the db package doesn't depend on backend types).
20433
- *
20434
- * @see src/lib/generate/jobs.ts · src/lib/generate/service.ts
20435
- */
20436
- declare const aiGenerationJobs: drizzle_orm_pg_core.PgTableWithColumns<{
20437
- name: "ai_generation_jobs";
20832
+ declare const CUSTOM_AGENT_INSTRUCTIONS_MAX = 8000;
20833
+ declare const CUSTOM_AGENT_CAPABILITIES: readonly ["content-read", "content-drafts", "media-read", "seo-read", "analytics-read"];
20834
+ type CustomAgentCapability = (typeof CUSTOM_AGENT_CAPABILITIES)[number];
20835
+ type CustomAgentSpeed = "lite" | "balanced" | "max";
20836
+ type CustomAgentStatus = "active" | "archived";
20837
+ type CustomAgentRunStatus = "queued" | "running" | "stopping" | "completed" | "failed" | "stopped";
20838
+ /** Stable project-bound identity. Editable execution configuration lives in immutable revisions. */
20839
+ declare const customAgents: drizzle_orm_pg_core.PgTableWithColumns<{
20840
+ name: "custom_agents";
20438
20841
  schema: undefined;
20439
20842
  columns: {
20440
20843
  id: drizzle_orm_pg_core.PgColumn<{
20441
20844
  name: "id";
20442
- tableName: "ai_generation_jobs";
20845
+ tableName: "custom_agents";
20443
20846
  dataType: "string";
20444
20847
  columnType: "PgText";
20445
20848
  data: string;
@@ -20456,7 +20859,7 @@ declare const aiGenerationJobs: drizzle_orm_pg_core.PgTableWithColumns<{
20456
20859
  }, {}, {}>;
20457
20860
  workspaceId: drizzle_orm_pg_core.PgColumn<{
20458
20861
  name: "workspace_id";
20459
- tableName: "ai_generation_jobs";
20862
+ tableName: "custom_agents";
20460
20863
  dataType: "string";
20461
20864
  columnType: "PgText";
20462
20865
  data: string;
@@ -20473,7 +20876,7 @@ declare const aiGenerationJobs: drizzle_orm_pg_core.PgTableWithColumns<{
20473
20876
  }, {}, {}>;
20474
20877
  projectId: drizzle_orm_pg_core.PgColumn<{
20475
20878
  name: "project_id";
20476
- tableName: "ai_generation_jobs";
20879
+ tableName: "custom_agents";
20477
20880
  dataType: "string";
20478
20881
  columnType: "PgText";
20479
20882
  data: string;
@@ -20488,15 +20891,15 @@ declare const aiGenerationJobs: drizzle_orm_pg_core.PgTableWithColumns<{
20488
20891
  identity: undefined;
20489
20892
  generated: undefined;
20490
20893
  }, {}, {}>;
20491
- type: drizzle_orm_pg_core.PgColumn<{
20492
- name: "type";
20493
- tableName: "ai_generation_jobs";
20894
+ slug: drizzle_orm_pg_core.PgColumn<{
20895
+ name: "slug";
20896
+ tableName: "custom_agents";
20494
20897
  dataType: "string";
20495
20898
  columnType: "PgVarchar";
20496
20899
  data: string;
20497
20900
  driverParam: string;
20498
20901
  notNull: true;
20499
- hasDefault: true;
20902
+ hasDefault: false;
20500
20903
  isPrimaryKey: false;
20501
20904
  isAutoincrement: false;
20502
20905
  hasRuntimeDefault: false;
@@ -20505,30 +20908,13 @@ declare const aiGenerationJobs: drizzle_orm_pg_core.PgTableWithColumns<{
20505
20908
  identity: undefined;
20506
20909
  generated: undefined;
20507
20910
  }, {}, {
20508
- length: 16;
20911
+ length: 100;
20509
20912
  }>;
20510
- pageId: drizzle_orm_pg_core.PgColumn<{
20511
- name: "page_id";
20512
- tableName: "ai_generation_jobs";
20513
- dataType: "string";
20514
- columnType: "PgText";
20515
- data: string;
20516
- driverParam: string;
20517
- notNull: false;
20518
- hasDefault: false;
20519
- isPrimaryKey: false;
20520
- isAutoincrement: false;
20521
- hasRuntimeDefault: false;
20522
- enumValues: [string, ...string[]];
20523
- baseColumn: never;
20524
- identity: undefined;
20525
- generated: undefined;
20526
- }, {}, {}>;
20527
- actorId: drizzle_orm_pg_core.PgColumn<{
20528
- name: "actor_id";
20529
- tableName: "ai_generation_jobs";
20913
+ name: drizzle_orm_pg_core.PgColumn<{
20914
+ name: "name";
20915
+ tableName: "custom_agents";
20530
20916
  dataType: "string";
20531
- columnType: "PgText";
20917
+ columnType: "PgVarchar";
20532
20918
  data: string;
20533
20919
  driverParam: string;
20534
20920
  notNull: true;
@@ -20540,13 +20926,15 @@ declare const aiGenerationJobs: drizzle_orm_pg_core.PgTableWithColumns<{
20540
20926
  baseColumn: never;
20541
20927
  identity: undefined;
20542
20928
  generated: undefined;
20543
- }, {}, {}>;
20544
- writeOrigin: drizzle_orm_pg_core.PgColumn<{
20545
- name: "write_origin";
20546
- tableName: "ai_generation_jobs";
20929
+ }, {}, {
20930
+ length: 120;
20931
+ }>;
20932
+ description: drizzle_orm_pg_core.PgColumn<{
20933
+ name: "description";
20934
+ tableName: "custom_agents";
20547
20935
  dataType: "string";
20548
- columnType: "PgText";
20549
- data: AiWriteOrigin;
20936
+ columnType: "PgVarchar";
20937
+ data: string;
20550
20938
  driverParam: string;
20551
20939
  notNull: true;
20552
20940
  hasDefault: true;
@@ -20558,48 +20946,14 @@ declare const aiGenerationJobs: drizzle_orm_pg_core.PgTableWithColumns<{
20558
20946
  identity: undefined;
20559
20947
  generated: undefined;
20560
20948
  }, {}, {
20561
- $type: AiWriteOrigin;
20949
+ length: 500;
20562
20950
  }>;
20563
- mapping: drizzle_orm_pg_core.PgColumn<{
20564
- name: "mapping";
20565
- tableName: "ai_generation_jobs";
20566
- dataType: "json";
20567
- columnType: "PgJsonb";
20568
- data: unknown;
20569
- driverParam: unknown;
20570
- notNull: true;
20571
- hasDefault: false;
20572
- isPrimaryKey: false;
20573
- isAutoincrement: false;
20574
- hasRuntimeDefault: false;
20575
- enumValues: undefined;
20576
- baseColumn: never;
20577
- identity: undefined;
20578
- generated: undefined;
20579
- }, {}, {}>;
20580
- rows: drizzle_orm_pg_core.PgColumn<{
20581
- name: "rows";
20582
- tableName: "ai_generation_jobs";
20583
- dataType: "json";
20584
- columnType: "PgJsonb";
20585
- data: unknown;
20586
- driverParam: unknown;
20587
- notNull: true;
20588
- hasDefault: false;
20589
- isPrimaryKey: false;
20590
- isAutoincrement: false;
20591
- hasRuntimeDefault: false;
20592
- enumValues: undefined;
20593
- baseColumn: never;
20594
- identity: undefined;
20595
- generated: undefined;
20596
- }, {}, {}>;
20597
20951
  status: drizzle_orm_pg_core.PgColumn<{
20598
20952
  name: "status";
20599
- tableName: "ai_generation_jobs";
20953
+ tableName: "custom_agents";
20600
20954
  dataType: "string";
20601
20955
  columnType: "PgVarchar";
20602
- data: string;
20956
+ data: CustomAgentStatus;
20603
20957
  driverParam: string;
20604
20958
  notNull: true;
20605
20959
  hasDefault: true;
@@ -20612,95 +20966,28 @@ declare const aiGenerationJobs: drizzle_orm_pg_core.PgTableWithColumns<{
20612
20966
  generated: undefined;
20613
20967
  }, {}, {
20614
20968
  length: 16;
20969
+ $type: CustomAgentStatus;
20615
20970
  }>;
20616
- plan: drizzle_orm_pg_core.PgColumn<{
20617
- name: "plan";
20618
- tableName: "ai_generation_jobs";
20619
- dataType: "json";
20620
- columnType: "PgJsonb";
20621
- data: unknown;
20622
- driverParam: unknown;
20971
+ activeRevisionId: drizzle_orm_pg_core.PgColumn<{
20972
+ name: "active_revision_id";
20973
+ tableName: "custom_agents";
20974
+ dataType: "string";
20975
+ columnType: "PgText";
20976
+ data: string;
20977
+ driverParam: string;
20623
20978
  notNull: false;
20624
20979
  hasDefault: false;
20625
20980
  isPrimaryKey: false;
20626
20981
  isAutoincrement: false;
20627
20982
  hasRuntimeDefault: false;
20628
- enumValues: undefined;
20629
- baseColumn: never;
20630
- identity: undefined;
20631
- generated: undefined;
20632
- }, {}, {}>;
20633
- total: drizzle_orm_pg_core.PgColumn<{
20634
- name: "total";
20635
- tableName: "ai_generation_jobs";
20636
- dataType: "number";
20637
- columnType: "PgInteger";
20638
- data: number;
20639
- driverParam: string | number;
20640
- notNull: true;
20641
- hasDefault: true;
20642
- isPrimaryKey: false;
20643
- isAutoincrement: false;
20644
- hasRuntimeDefault: false;
20645
- enumValues: undefined;
20646
- baseColumn: never;
20647
- identity: undefined;
20648
- generated: undefined;
20649
- }, {}, {}>;
20650
- processed: drizzle_orm_pg_core.PgColumn<{
20651
- name: "processed";
20652
- tableName: "ai_generation_jobs";
20653
- dataType: "number";
20654
- columnType: "PgInteger";
20655
- data: number;
20656
- driverParam: string | number;
20657
- notNull: true;
20658
- hasDefault: true;
20659
- isPrimaryKey: false;
20660
- isAutoincrement: false;
20661
- hasRuntimeDefault: false;
20662
- enumValues: undefined;
20663
- baseColumn: never;
20664
- identity: undefined;
20665
- generated: undefined;
20666
- }, {}, {}>;
20667
- cursor: drizzle_orm_pg_core.PgColumn<{
20668
- name: "cursor";
20669
- tableName: "ai_generation_jobs";
20670
- dataType: "number";
20671
- columnType: "PgInteger";
20672
- data: number;
20673
- driverParam: string | number;
20674
- notNull: true;
20675
- hasDefault: true;
20676
- isPrimaryKey: false;
20677
- isAutoincrement: false;
20678
- hasRuntimeDefault: false;
20679
- enumValues: undefined;
20680
- baseColumn: never;
20681
- identity: undefined;
20682
- generated: undefined;
20683
- }, {}, {}>;
20684
- created: drizzle_orm_pg_core.PgColumn<{
20685
- name: "created";
20686
- tableName: "ai_generation_jobs";
20687
- dataType: "number";
20688
- columnType: "PgInteger";
20689
- data: number;
20690
- driverParam: string | number;
20691
- notNull: true;
20692
- hasDefault: true;
20693
- isPrimaryKey: false;
20694
- isAutoincrement: false;
20695
- hasRuntimeDefault: false;
20696
- enumValues: undefined;
20983
+ enumValues: [string, ...string[]];
20697
20984
  baseColumn: never;
20698
20985
  identity: undefined;
20699
20986
  generated: undefined;
20700
20987
  }, {}, {}>;
20701
- conflicts: drizzle_orm_pg_core.PgColumn<{
20702
- name: "conflicts";
20703
- tableName: "ai_generation_jobs";
20988
+ optimisticVersion: drizzle_orm_pg_core.PgColumn<{
20989
+ name: "optimistic_version";
20990
+ tableName: "custom_agents";
20704
20991
  dataType: "number";
20705
20992
  columnType: "PgInteger";
20706
20993
  data: number;
@@ -20715,9 +21002,9 @@ declare const aiGenerationJobs: drizzle_orm_pg_core.PgTableWithColumns<{
20715
21002
  identity: undefined;
20716
21003
  generated: undefined;
20717
21004
  }, {}, {}>;
20718
- error: drizzle_orm_pg_core.PgColumn<{
20719
- name: "error";
20720
- tableName: "ai_generation_jobs";
21005
+ createdBy: drizzle_orm_pg_core.PgColumn<{
21006
+ name: "created_by";
21007
+ tableName: "custom_agents";
20721
21008
  dataType: "string";
20722
21009
  columnType: "PgText";
20723
21010
  data: string;
@@ -20734,7 +21021,7 @@ declare const aiGenerationJobs: drizzle_orm_pg_core.PgTableWithColumns<{
20734
21021
  }, {}, {}>;
20735
21022
  createdAt: drizzle_orm_pg_core.PgColumn<{
20736
21023
  name: "created_at";
20737
- tableName: "ai_generation_jobs";
21024
+ tableName: "custom_agents";
20738
21025
  dataType: "date";
20739
21026
  columnType: "PgTimestamp";
20740
21027
  data: Date;
@@ -20751,7 +21038,7 @@ declare const aiGenerationJobs: drizzle_orm_pg_core.PgTableWithColumns<{
20751
21038
  }, {}, {}>;
20752
21039
  updatedAt: drizzle_orm_pg_core.PgColumn<{
20753
21040
  name: "updated_at";
20754
- tableName: "ai_generation_jobs";
21041
+ tableName: "custom_agents";
20755
21042
  dataType: "date";
20756
21043
  columnType: "PgTimestamp";
20757
21044
  data: Date;
@@ -20766,47 +21053,34 @@ declare const aiGenerationJobs: drizzle_orm_pg_core.PgTableWithColumns<{
20766
21053
  identity: undefined;
20767
21054
  generated: undefined;
20768
21055
  }, {}, {}>;
21056
+ archivedAt: drizzle_orm_pg_core.PgColumn<{
21057
+ name: "archived_at";
21058
+ tableName: "custom_agents";
21059
+ dataType: "date";
21060
+ columnType: "PgTimestamp";
21061
+ data: Date;
21062
+ driverParam: string;
21063
+ notNull: false;
21064
+ hasDefault: false;
21065
+ isPrimaryKey: false;
21066
+ isAutoincrement: false;
21067
+ hasRuntimeDefault: false;
21068
+ enumValues: undefined;
21069
+ baseColumn: never;
21070
+ identity: undefined;
21071
+ generated: undefined;
21072
+ }, {}, {}>;
20769
21073
  };
20770
21074
  dialect: "pg";
20771
21075
  }>;
20772
- type AiGenerationJobSelect = InferSelectModel<typeof aiGenerationJobs>;
20773
- type AiGenerationJobInsert = InferInsertModel<typeof aiGenerationJobs>;
20774
-
20775
- declare const MCP_TASK_STATUSES: readonly ["working", "input_required", "completed", "failed", "cancelled"];
20776
- type McpTaskStatus = (typeof MCP_TASK_STATUSES)[number];
20777
- type McpTaskPrincipalKind = "api_key" | "device";
20778
- interface McpCallToolResultSnapshot {
20779
- resultType: "complete";
20780
- content: Array<{
20781
- type: string;
20782
- [key: string]: unknown;
20783
- }>;
20784
- structuredContent?: unknown;
20785
- isError?: boolean;
20786
- _meta?: Record<string, unknown>;
20787
- }
20788
- /** JSON-RPC error replayed by `tasks/get` when the task execution itself was lost. */
20789
- interface McpJsonRpcErrorSnapshot {
20790
- code: number;
20791
- message: string;
20792
- data?: unknown;
20793
- }
20794
- type McpTaskTerminalSnapshot = McpCallToolResultSnapshot | McpJsonRpcErrorSnapshot;
20795
- interface McpTaskInputState {
20796
- [key: string]: unknown;
20797
- }
20798
- /**
20799
- * Durable state for an MCP long-running tool call. Authorization is bound to both the current
20800
- * workspace/project and the stable principal that created the task; callers must reauthorize
20801
- * that scope on every read/cancel/input round rather than treating possession of `id` as access.
20802
- */
20803
- declare const mcpTasks: drizzle_orm_pg_core.PgTableWithColumns<{
20804
- name: "mcp_tasks";
21076
+ /** A run always pins one of these rows, so later edits cannot rewrite history. */
21077
+ declare const customAgentRevisions: drizzle_orm_pg_core.PgTableWithColumns<{
21078
+ name: "custom_agent_revisions";
20805
21079
  schema: undefined;
20806
21080
  columns: {
20807
21081
  id: drizzle_orm_pg_core.PgColumn<{
20808
21082
  name: "id";
20809
- tableName: "mcp_tasks";
21083
+ tableName: "custom_agent_revisions";
20810
21084
  dataType: "string";
20811
21085
  columnType: "PgText";
20812
21086
  data: string;
@@ -20823,7 +21097,7 @@ declare const mcpTasks: drizzle_orm_pg_core.PgTableWithColumns<{
20823
21097
  }, {}, {}>;
20824
21098
  workspaceId: drizzle_orm_pg_core.PgColumn<{
20825
21099
  name: "workspace_id";
20826
- tableName: "mcp_tasks";
21100
+ tableName: "custom_agent_revisions";
20827
21101
  dataType: "string";
20828
21102
  columnType: "PgText";
20829
21103
  data: string;
@@ -20840,7 +21114,7 @@ declare const mcpTasks: drizzle_orm_pg_core.PgTableWithColumns<{
20840
21114
  }, {}, {}>;
20841
21115
  projectId: drizzle_orm_pg_core.PgColumn<{
20842
21116
  name: "project_id";
20843
- tableName: "mcp_tasks";
21117
+ tableName: "custom_agent_revisions";
20844
21118
  dataType: "string";
20845
21119
  columnType: "PgText";
20846
21120
  data: string;
@@ -20855,9 +21129,9 @@ declare const mcpTasks: drizzle_orm_pg_core.PgTableWithColumns<{
20855
21129
  identity: undefined;
20856
21130
  generated: undefined;
20857
21131
  }, {}, {}>;
20858
- toolName: drizzle_orm_pg_core.PgColumn<{
20859
- name: "tool_name";
20860
- tableName: "mcp_tasks";
21132
+ agentId: drizzle_orm_pg_core.PgColumn<{
21133
+ name: "agent_id";
21134
+ tableName: "custom_agent_revisions";
20861
21135
  dataType: "string";
20862
21136
  columnType: "PgText";
20863
21137
  data: string;
@@ -20872,11 +21146,1740 @@ declare const mcpTasks: drizzle_orm_pg_core.PgTableWithColumns<{
20872
21146
  identity: undefined;
20873
21147
  generated: undefined;
20874
21148
  }, {}, {}>;
20875
- principalKind: drizzle_orm_pg_core.PgColumn<{
20876
- name: "principal_kind";
20877
- tableName: "mcp_tasks";
20878
- dataType: "string";
20879
- columnType: "PgText";
21149
+ version: drizzle_orm_pg_core.PgColumn<{
21150
+ name: "version";
21151
+ tableName: "custom_agent_revisions";
21152
+ dataType: "number";
21153
+ columnType: "PgInteger";
21154
+ data: number;
21155
+ driverParam: string | number;
21156
+ notNull: true;
21157
+ hasDefault: false;
21158
+ isPrimaryKey: false;
21159
+ isAutoincrement: false;
21160
+ hasRuntimeDefault: false;
21161
+ enumValues: undefined;
21162
+ baseColumn: never;
21163
+ identity: undefined;
21164
+ generated: undefined;
21165
+ }, {}, {}>;
21166
+ instructions: drizzle_orm_pg_core.PgColumn<{
21167
+ name: "instructions";
21168
+ tableName: "custom_agent_revisions";
21169
+ dataType: "string";
21170
+ columnType: "PgText";
21171
+ data: string;
21172
+ driverParam: string;
21173
+ notNull: true;
21174
+ hasDefault: false;
21175
+ isPrimaryKey: false;
21176
+ isAutoincrement: false;
21177
+ hasRuntimeDefault: false;
21178
+ enumValues: [string, ...string[]];
21179
+ baseColumn: never;
21180
+ identity: undefined;
21181
+ generated: undefined;
21182
+ }, {}, {}>;
21183
+ speed: drizzle_orm_pg_core.PgColumn<{
21184
+ name: "speed";
21185
+ tableName: "custom_agent_revisions";
21186
+ dataType: "string";
21187
+ columnType: "PgVarchar";
21188
+ data: CustomAgentSpeed;
21189
+ driverParam: string;
21190
+ notNull: true;
21191
+ hasDefault: true;
21192
+ isPrimaryKey: false;
21193
+ isAutoincrement: false;
21194
+ hasRuntimeDefault: false;
21195
+ enumValues: [string, ...string[]];
21196
+ baseColumn: never;
21197
+ identity: undefined;
21198
+ generated: undefined;
21199
+ }, {}, {
21200
+ length: 16;
21201
+ $type: CustomAgentSpeed;
21202
+ }>;
21203
+ capabilities: drizzle_orm_pg_core.PgColumn<{
21204
+ name: "capabilities";
21205
+ tableName: "custom_agent_revisions";
21206
+ dataType: "json";
21207
+ columnType: "PgJsonb";
21208
+ data: ("content-read" | "content-drafts" | "media-read" | "seo-read" | "analytics-read")[];
21209
+ driverParam: unknown;
21210
+ notNull: true;
21211
+ hasDefault: true;
21212
+ isPrimaryKey: false;
21213
+ isAutoincrement: false;
21214
+ hasRuntimeDefault: false;
21215
+ enumValues: undefined;
21216
+ baseColumn: never;
21217
+ identity: undefined;
21218
+ generated: undefined;
21219
+ }, {}, {
21220
+ $type: ("content-read" | "content-drafts" | "media-read" | "seo-read" | "analytics-read")[];
21221
+ }>;
21222
+ reviewPolicy: drizzle_orm_pg_core.PgColumn<{
21223
+ name: "review_policy";
21224
+ tableName: "custom_agent_revisions";
21225
+ dataType: "string";
21226
+ columnType: "PgVarchar";
21227
+ data: string;
21228
+ driverParam: string;
21229
+ notNull: true;
21230
+ hasDefault: true;
21231
+ isPrimaryKey: false;
21232
+ isAutoincrement: false;
21233
+ hasRuntimeDefault: false;
21234
+ enumValues: [string, ...string[]];
21235
+ baseColumn: never;
21236
+ identity: undefined;
21237
+ generated: undefined;
21238
+ }, {}, {
21239
+ length: 24;
21240
+ }>;
21241
+ configDigest: drizzle_orm_pg_core.PgColumn<{
21242
+ name: "config_digest";
21243
+ tableName: "custom_agent_revisions";
21244
+ dataType: "string";
21245
+ columnType: "PgVarchar";
21246
+ data: string;
21247
+ driverParam: string;
21248
+ notNull: true;
21249
+ hasDefault: false;
21250
+ isPrimaryKey: false;
21251
+ isAutoincrement: false;
21252
+ hasRuntimeDefault: false;
21253
+ enumValues: [string, ...string[]];
21254
+ baseColumn: never;
21255
+ identity: undefined;
21256
+ generated: undefined;
21257
+ }, {}, {
21258
+ length: 64;
21259
+ }>;
21260
+ createdBy: drizzle_orm_pg_core.PgColumn<{
21261
+ name: "created_by";
21262
+ tableName: "custom_agent_revisions";
21263
+ dataType: "string";
21264
+ columnType: "PgText";
21265
+ data: string;
21266
+ driverParam: string;
21267
+ notNull: false;
21268
+ hasDefault: false;
21269
+ isPrimaryKey: false;
21270
+ isAutoincrement: false;
21271
+ hasRuntimeDefault: false;
21272
+ enumValues: [string, ...string[]];
21273
+ baseColumn: never;
21274
+ identity: undefined;
21275
+ generated: undefined;
21276
+ }, {}, {}>;
21277
+ createdAt: drizzle_orm_pg_core.PgColumn<{
21278
+ name: "created_at";
21279
+ tableName: "custom_agent_revisions";
21280
+ dataType: "date";
21281
+ columnType: "PgTimestamp";
21282
+ data: Date;
21283
+ driverParam: string;
21284
+ notNull: true;
21285
+ hasDefault: true;
21286
+ isPrimaryKey: false;
21287
+ isAutoincrement: false;
21288
+ hasRuntimeDefault: false;
21289
+ enumValues: undefined;
21290
+ baseColumn: never;
21291
+ identity: undefined;
21292
+ generated: undefined;
21293
+ }, {}, {}>;
21294
+ };
21295
+ dialect: "pg";
21296
+ }>;
21297
+ /** Durable execution record. The browser observes this row; it never owns the run lifecycle. */
21298
+ declare const customAgentRuns: drizzle_orm_pg_core.PgTableWithColumns<{
21299
+ name: "custom_agent_runs";
21300
+ schema: undefined;
21301
+ columns: {
21302
+ id: drizzle_orm_pg_core.PgColumn<{
21303
+ name: "id";
21304
+ tableName: "custom_agent_runs";
21305
+ dataType: "string";
21306
+ columnType: "PgText";
21307
+ data: string;
21308
+ driverParam: string;
21309
+ notNull: true;
21310
+ hasDefault: false;
21311
+ isPrimaryKey: true;
21312
+ isAutoincrement: false;
21313
+ hasRuntimeDefault: false;
21314
+ enumValues: [string, ...string[]];
21315
+ baseColumn: never;
21316
+ identity: undefined;
21317
+ generated: undefined;
21318
+ }, {}, {}>;
21319
+ workspaceId: drizzle_orm_pg_core.PgColumn<{
21320
+ name: "workspace_id";
21321
+ tableName: "custom_agent_runs";
21322
+ dataType: "string";
21323
+ columnType: "PgText";
21324
+ data: string;
21325
+ driverParam: string;
21326
+ notNull: true;
21327
+ hasDefault: false;
21328
+ isPrimaryKey: false;
21329
+ isAutoincrement: false;
21330
+ hasRuntimeDefault: false;
21331
+ enumValues: [string, ...string[]];
21332
+ baseColumn: never;
21333
+ identity: undefined;
21334
+ generated: undefined;
21335
+ }, {}, {}>;
21336
+ projectId: drizzle_orm_pg_core.PgColumn<{
21337
+ name: "project_id";
21338
+ tableName: "custom_agent_runs";
21339
+ dataType: "string";
21340
+ columnType: "PgText";
21341
+ data: string;
21342
+ driverParam: string;
21343
+ notNull: true;
21344
+ hasDefault: false;
21345
+ isPrimaryKey: false;
21346
+ isAutoincrement: false;
21347
+ hasRuntimeDefault: false;
21348
+ enumValues: [string, ...string[]];
21349
+ baseColumn: never;
21350
+ identity: undefined;
21351
+ generated: undefined;
21352
+ }, {}, {}>;
21353
+ agentId: drizzle_orm_pg_core.PgColumn<{
21354
+ name: "agent_id";
21355
+ tableName: "custom_agent_runs";
21356
+ dataType: "string";
21357
+ columnType: "PgText";
21358
+ data: string;
21359
+ driverParam: string;
21360
+ notNull: true;
21361
+ hasDefault: false;
21362
+ isPrimaryKey: false;
21363
+ isAutoincrement: false;
21364
+ hasRuntimeDefault: false;
21365
+ enumValues: [string, ...string[]];
21366
+ baseColumn: never;
21367
+ identity: undefined;
21368
+ generated: undefined;
21369
+ }, {}, {}>;
21370
+ revisionId: drizzle_orm_pg_core.PgColumn<{
21371
+ name: "revision_id";
21372
+ tableName: "custom_agent_runs";
21373
+ dataType: "string";
21374
+ columnType: "PgText";
21375
+ data: string;
21376
+ driverParam: string;
21377
+ notNull: true;
21378
+ hasDefault: false;
21379
+ isPrimaryKey: false;
21380
+ isAutoincrement: false;
21381
+ hasRuntimeDefault: false;
21382
+ enumValues: [string, ...string[]];
21383
+ baseColumn: never;
21384
+ identity: undefined;
21385
+ generated: undefined;
21386
+ }, {}, {}>;
21387
+ effectiveSpeed: drizzle_orm_pg_core.PgColumn<{
21388
+ name: "effective_speed";
21389
+ tableName: "custom_agent_runs";
21390
+ dataType: "string";
21391
+ columnType: "PgVarchar";
21392
+ data: CustomAgentSpeed;
21393
+ driverParam: string;
21394
+ notNull: true;
21395
+ hasDefault: false;
21396
+ isPrimaryKey: false;
21397
+ isAutoincrement: false;
21398
+ hasRuntimeDefault: false;
21399
+ enumValues: [string, ...string[]];
21400
+ baseColumn: never;
21401
+ identity: undefined;
21402
+ generated: undefined;
21403
+ }, {}, {
21404
+ length: 16;
21405
+ $type: CustomAgentSpeed;
21406
+ }>;
21407
+ requestedBy: drizzle_orm_pg_core.PgColumn<{
21408
+ name: "requested_by";
21409
+ tableName: "custom_agent_runs";
21410
+ dataType: "string";
21411
+ columnType: "PgText";
21412
+ data: string;
21413
+ driverParam: string;
21414
+ notNull: true;
21415
+ hasDefault: false;
21416
+ isPrimaryKey: false;
21417
+ isAutoincrement: false;
21418
+ hasRuntimeDefault: false;
21419
+ enumValues: [string, ...string[]];
21420
+ baseColumn: never;
21421
+ identity: undefined;
21422
+ generated: undefined;
21423
+ }, {}, {}>;
21424
+ trigger: drizzle_orm_pg_core.PgColumn<{
21425
+ name: "trigger";
21426
+ tableName: "custom_agent_runs";
21427
+ dataType: "string";
21428
+ columnType: "PgVarchar";
21429
+ data: string;
21430
+ driverParam: string;
21431
+ notNull: true;
21432
+ hasDefault: true;
21433
+ isPrimaryKey: false;
21434
+ isAutoincrement: false;
21435
+ hasRuntimeDefault: false;
21436
+ enumValues: [string, ...string[]];
21437
+ baseColumn: never;
21438
+ identity: undefined;
21439
+ generated: undefined;
21440
+ }, {}, {
21441
+ length: 16;
21442
+ }>;
21443
+ status: drizzle_orm_pg_core.PgColumn<{
21444
+ name: "status";
21445
+ tableName: "custom_agent_runs";
21446
+ dataType: "string";
21447
+ columnType: "PgVarchar";
21448
+ data: CustomAgentRunStatus;
21449
+ driverParam: string;
21450
+ notNull: true;
21451
+ hasDefault: true;
21452
+ isPrimaryKey: false;
21453
+ isAutoincrement: false;
21454
+ hasRuntimeDefault: false;
21455
+ enumValues: [string, ...string[]];
21456
+ baseColumn: never;
21457
+ identity: undefined;
21458
+ generated: undefined;
21459
+ }, {}, {
21460
+ length: 16;
21461
+ $type: CustomAgentRunStatus;
21462
+ }>;
21463
+ idempotencyKey: drizzle_orm_pg_core.PgColumn<{
21464
+ name: "idempotency_key";
21465
+ tableName: "custom_agent_runs";
21466
+ dataType: "string";
21467
+ columnType: "PgVarchar";
21468
+ data: string;
21469
+ driverParam: string;
21470
+ notNull: true;
21471
+ hasDefault: false;
21472
+ isPrimaryKey: false;
21473
+ isAutoincrement: false;
21474
+ hasRuntimeDefault: false;
21475
+ enumValues: [string, ...string[]];
21476
+ baseColumn: never;
21477
+ identity: undefined;
21478
+ generated: undefined;
21479
+ }, {}, {
21480
+ length: 100;
21481
+ }>;
21482
+ creditsQuoted: drizzle_orm_pg_core.PgColumn<{
21483
+ name: "credits_quoted";
21484
+ tableName: "custom_agent_runs";
21485
+ dataType: "number";
21486
+ columnType: "PgInteger";
21487
+ data: number;
21488
+ driverParam: string | number;
21489
+ notNull: true;
21490
+ hasDefault: false;
21491
+ isPrimaryKey: false;
21492
+ isAutoincrement: false;
21493
+ hasRuntimeDefault: false;
21494
+ enumValues: undefined;
21495
+ baseColumn: never;
21496
+ identity: undefined;
21497
+ generated: undefined;
21498
+ }, {}, {}>;
21499
+ creditsCharged: drizzle_orm_pg_core.PgColumn<{
21500
+ name: "credits_charged";
21501
+ tableName: "custom_agent_runs";
21502
+ dataType: "number";
21503
+ columnType: "PgInteger";
21504
+ data: number;
21505
+ driverParam: string | number;
21506
+ notNull: true;
21507
+ hasDefault: true;
21508
+ isPrimaryKey: false;
21509
+ isAutoincrement: false;
21510
+ hasRuntimeDefault: false;
21511
+ enumValues: undefined;
21512
+ baseColumn: never;
21513
+ identity: undefined;
21514
+ generated: undefined;
21515
+ }, {}, {}>;
21516
+ usesPlatformKey: drizzle_orm_pg_core.PgColumn<{
21517
+ name: "uses_platform_key";
21518
+ tableName: "custom_agent_runs";
21519
+ dataType: "boolean";
21520
+ columnType: "PgBoolean";
21521
+ data: boolean;
21522
+ driverParam: boolean;
21523
+ notNull: false;
21524
+ hasDefault: false;
21525
+ isPrimaryKey: false;
21526
+ isAutoincrement: false;
21527
+ hasRuntimeDefault: false;
21528
+ enumValues: undefined;
21529
+ baseColumn: never;
21530
+ identity: undefined;
21531
+ generated: undefined;
21532
+ }, {}, {}>;
21533
+ summary: drizzle_orm_pg_core.PgColumn<{
21534
+ name: "summary";
21535
+ tableName: "custom_agent_runs";
21536
+ dataType: "string";
21537
+ columnType: "PgText";
21538
+ data: string;
21539
+ driverParam: string;
21540
+ notNull: false;
21541
+ hasDefault: false;
21542
+ isPrimaryKey: false;
21543
+ isAutoincrement: false;
21544
+ hasRuntimeDefault: false;
21545
+ enumValues: [string, ...string[]];
21546
+ baseColumn: never;
21547
+ identity: undefined;
21548
+ generated: undefined;
21549
+ }, {}, {}>;
21550
+ errorCode: drizzle_orm_pg_core.PgColumn<{
21551
+ name: "error_code";
21552
+ tableName: "custom_agent_runs";
21553
+ dataType: "string";
21554
+ columnType: "PgVarchar";
21555
+ data: string;
21556
+ driverParam: string;
21557
+ notNull: false;
21558
+ hasDefault: false;
21559
+ isPrimaryKey: false;
21560
+ isAutoincrement: false;
21561
+ hasRuntimeDefault: false;
21562
+ enumValues: [string, ...string[]];
21563
+ baseColumn: never;
21564
+ identity: undefined;
21565
+ generated: undefined;
21566
+ }, {}, {
21567
+ length: 64;
21568
+ }>;
21569
+ errorMessage: drizzle_orm_pg_core.PgColumn<{
21570
+ name: "error_message";
21571
+ tableName: "custom_agent_runs";
21572
+ dataType: "string";
21573
+ columnType: "PgVarchar";
21574
+ data: string;
21575
+ driverParam: string;
21576
+ notNull: false;
21577
+ hasDefault: false;
21578
+ isPrimaryKey: false;
21579
+ isAutoincrement: false;
21580
+ hasRuntimeDefault: false;
21581
+ enumValues: [string, ...string[]];
21582
+ baseColumn: never;
21583
+ identity: undefined;
21584
+ generated: undefined;
21585
+ }, {}, {
21586
+ length: 500;
21587
+ }>;
21588
+ startedAt: drizzle_orm_pg_core.PgColumn<{
21589
+ name: "started_at";
21590
+ tableName: "custom_agent_runs";
21591
+ dataType: "date";
21592
+ columnType: "PgTimestamp";
21593
+ data: Date;
21594
+ driverParam: string;
21595
+ notNull: false;
21596
+ hasDefault: false;
21597
+ isPrimaryKey: false;
21598
+ isAutoincrement: false;
21599
+ hasRuntimeDefault: false;
21600
+ enumValues: undefined;
21601
+ baseColumn: never;
21602
+ identity: undefined;
21603
+ generated: undefined;
21604
+ }, {}, {}>;
21605
+ completedAt: drizzle_orm_pg_core.PgColumn<{
21606
+ name: "completed_at";
21607
+ tableName: "custom_agent_runs";
21608
+ dataType: "date";
21609
+ columnType: "PgTimestamp";
21610
+ data: Date;
21611
+ driverParam: string;
21612
+ notNull: false;
21613
+ hasDefault: false;
21614
+ isPrimaryKey: false;
21615
+ isAutoincrement: false;
21616
+ hasRuntimeDefault: false;
21617
+ enumValues: undefined;
21618
+ baseColumn: never;
21619
+ identity: undefined;
21620
+ generated: undefined;
21621
+ }, {}, {}>;
21622
+ cancelRequestedAt: drizzle_orm_pg_core.PgColumn<{
21623
+ name: "cancel_requested_at";
21624
+ tableName: "custom_agent_runs";
21625
+ dataType: "date";
21626
+ columnType: "PgTimestamp";
21627
+ data: Date;
21628
+ driverParam: string;
21629
+ notNull: false;
21630
+ hasDefault: false;
21631
+ isPrimaryKey: false;
21632
+ isAutoincrement: false;
21633
+ hasRuntimeDefault: false;
21634
+ enumValues: undefined;
21635
+ baseColumn: never;
21636
+ identity: undefined;
21637
+ generated: undefined;
21638
+ }, {}, {}>;
21639
+ leaseHeartbeatAt: drizzle_orm_pg_core.PgColumn<{
21640
+ name: "lease_heartbeat_at";
21641
+ tableName: "custom_agent_runs";
21642
+ dataType: "date";
21643
+ columnType: "PgTimestamp";
21644
+ data: Date;
21645
+ driverParam: string;
21646
+ notNull: false;
21647
+ hasDefault: false;
21648
+ isPrimaryKey: false;
21649
+ isAutoincrement: false;
21650
+ hasRuntimeDefault: false;
21651
+ enumValues: undefined;
21652
+ baseColumn: never;
21653
+ identity: undefined;
21654
+ generated: undefined;
21655
+ }, {}, {}>;
21656
+ createdAt: drizzle_orm_pg_core.PgColumn<{
21657
+ name: "created_at";
21658
+ tableName: "custom_agent_runs";
21659
+ dataType: "date";
21660
+ columnType: "PgTimestamp";
21661
+ data: Date;
21662
+ driverParam: string;
21663
+ notNull: true;
21664
+ hasDefault: true;
21665
+ isPrimaryKey: false;
21666
+ isAutoincrement: false;
21667
+ hasRuntimeDefault: false;
21668
+ enumValues: undefined;
21669
+ baseColumn: never;
21670
+ identity: undefined;
21671
+ generated: undefined;
21672
+ }, {}, {}>;
21673
+ updatedAt: drizzle_orm_pg_core.PgColumn<{
21674
+ name: "updated_at";
21675
+ tableName: "custom_agent_runs";
21676
+ dataType: "date";
21677
+ columnType: "PgTimestamp";
21678
+ data: Date;
21679
+ driverParam: string;
21680
+ notNull: true;
21681
+ hasDefault: true;
21682
+ isPrimaryKey: false;
21683
+ isAutoincrement: false;
21684
+ hasRuntimeDefault: false;
21685
+ enumValues: undefined;
21686
+ baseColumn: never;
21687
+ identity: undefined;
21688
+ generated: undefined;
21689
+ }, {}, {}>;
21690
+ };
21691
+ dialect: "pg";
21692
+ }>;
21693
+ type CustomAgentSelect = InferSelectModel<typeof customAgents>;
21694
+ type CustomAgentInsert = InferInsertModel<typeof customAgents>;
21695
+ type CustomAgentRevisionSelect = InferSelectModel<typeof customAgentRevisions>;
21696
+ type CustomAgentRunSelect = InferSelectModel<typeof customAgentRuns>;
21697
+
21698
+ type AiWriteOrigin = Extract<WriteOrigin, `agent:${string}`>;
21699
+ /**
21700
+ * AiGenerationJobs — background bulk AI Page Builder runs (Prismic SEO/ABM parity).
21701
+ *
21702
+ * One row per "upload dataset → AI writes each page" job. The drain
21703
+ * (src/lib/generate/jobs.ts) processes `rows` from `cursor` in bounded batches, calling
21704
+ * the AI per `{ ai: { prompt } }` field and debiting the credit ledger per row, so a
21705
+ * 2000-row run survives request/worker timeouts and credit exhaustion (resumable).
21706
+ *
21707
+ * RLS: enabled by migration 0178 (workspace_id = app.current_workspace_id); the cron drain
21708
+ * reaches it through the SECURITY DEFINER claim_next_ai_job (0185) because a cron tick has no
21709
+ * workspace pin. (This comment previously said "No RLS" — the exact false belief that left every
21710
+ * background AI job dead in prod from 0178 until 0185.) `mapping`/`rows` are the parsed
21711
+ * GenerateMapping + dataset rows (kept loose here so the db package doesn't depend on backend types).
21712
+ *
21713
+ * @see src/lib/generate/jobs.ts · src/lib/generate/service.ts
21714
+ */
21715
+ declare const aiGenerationJobs: drizzle_orm_pg_core.PgTableWithColumns<{
21716
+ name: "ai_generation_jobs";
21717
+ schema: undefined;
21718
+ columns: {
21719
+ id: drizzle_orm_pg_core.PgColumn<{
21720
+ name: "id";
21721
+ tableName: "ai_generation_jobs";
21722
+ dataType: "string";
21723
+ columnType: "PgText";
21724
+ data: string;
21725
+ driverParam: string;
21726
+ notNull: true;
21727
+ hasDefault: false;
21728
+ isPrimaryKey: true;
21729
+ isAutoincrement: false;
21730
+ hasRuntimeDefault: false;
21731
+ enumValues: [string, ...string[]];
21732
+ baseColumn: never;
21733
+ identity: undefined;
21734
+ generated: undefined;
21735
+ }, {}, {}>;
21736
+ workspaceId: drizzle_orm_pg_core.PgColumn<{
21737
+ name: "workspace_id";
21738
+ tableName: "ai_generation_jobs";
21739
+ dataType: "string";
21740
+ columnType: "PgText";
21741
+ data: string;
21742
+ driverParam: string;
21743
+ notNull: true;
21744
+ hasDefault: false;
21745
+ isPrimaryKey: false;
21746
+ isAutoincrement: false;
21747
+ hasRuntimeDefault: false;
21748
+ enumValues: [string, ...string[]];
21749
+ baseColumn: never;
21750
+ identity: undefined;
21751
+ generated: undefined;
21752
+ }, {}, {}>;
21753
+ projectId: drizzle_orm_pg_core.PgColumn<{
21754
+ name: "project_id";
21755
+ tableName: "ai_generation_jobs";
21756
+ dataType: "string";
21757
+ columnType: "PgText";
21758
+ data: string;
21759
+ driverParam: string;
21760
+ notNull: true;
21761
+ hasDefault: false;
21762
+ isPrimaryKey: false;
21763
+ isAutoincrement: false;
21764
+ hasRuntimeDefault: false;
21765
+ enumValues: [string, ...string[]];
21766
+ baseColumn: never;
21767
+ identity: undefined;
21768
+ generated: undefined;
21769
+ }, {}, {}>;
21770
+ type: drizzle_orm_pg_core.PgColumn<{
21771
+ name: "type";
21772
+ tableName: "ai_generation_jobs";
21773
+ dataType: "string";
21774
+ columnType: "PgVarchar";
21775
+ data: string;
21776
+ driverParam: string;
21777
+ notNull: true;
21778
+ hasDefault: true;
21779
+ isPrimaryKey: false;
21780
+ isAutoincrement: false;
21781
+ hasRuntimeDefault: false;
21782
+ enumValues: [string, ...string[]];
21783
+ baseColumn: never;
21784
+ identity: undefined;
21785
+ generated: undefined;
21786
+ }, {}, {
21787
+ length: 16;
21788
+ }>;
21789
+ pageId: drizzle_orm_pg_core.PgColumn<{
21790
+ name: "page_id";
21791
+ tableName: "ai_generation_jobs";
21792
+ dataType: "string";
21793
+ columnType: "PgText";
21794
+ data: string;
21795
+ driverParam: string;
21796
+ notNull: false;
21797
+ hasDefault: false;
21798
+ isPrimaryKey: false;
21799
+ isAutoincrement: false;
21800
+ hasRuntimeDefault: false;
21801
+ enumValues: [string, ...string[]];
21802
+ baseColumn: never;
21803
+ identity: undefined;
21804
+ generated: undefined;
21805
+ }, {}, {}>;
21806
+ actorId: drizzle_orm_pg_core.PgColumn<{
21807
+ name: "actor_id";
21808
+ tableName: "ai_generation_jobs";
21809
+ dataType: "string";
21810
+ columnType: "PgText";
21811
+ data: string;
21812
+ driverParam: string;
21813
+ notNull: true;
21814
+ hasDefault: false;
21815
+ isPrimaryKey: false;
21816
+ isAutoincrement: false;
21817
+ hasRuntimeDefault: false;
21818
+ enumValues: [string, ...string[]];
21819
+ baseColumn: never;
21820
+ identity: undefined;
21821
+ generated: undefined;
21822
+ }, {}, {}>;
21823
+ writeOrigin: drizzle_orm_pg_core.PgColumn<{
21824
+ name: "write_origin";
21825
+ tableName: "ai_generation_jobs";
21826
+ dataType: "string";
21827
+ columnType: "PgText";
21828
+ data: AiWriteOrigin;
21829
+ driverParam: string;
21830
+ notNull: true;
21831
+ hasDefault: true;
21832
+ isPrimaryKey: false;
21833
+ isAutoincrement: false;
21834
+ hasRuntimeDefault: false;
21835
+ enumValues: [string, ...string[]];
21836
+ baseColumn: never;
21837
+ identity: undefined;
21838
+ generated: undefined;
21839
+ }, {}, {
21840
+ $type: AiWriteOrigin;
21841
+ }>;
21842
+ mapping: drizzle_orm_pg_core.PgColumn<{
21843
+ name: "mapping";
21844
+ tableName: "ai_generation_jobs";
21845
+ dataType: "json";
21846
+ columnType: "PgJsonb";
21847
+ data: unknown;
21848
+ driverParam: unknown;
21849
+ notNull: true;
21850
+ hasDefault: false;
21851
+ isPrimaryKey: false;
21852
+ isAutoincrement: false;
21853
+ hasRuntimeDefault: false;
21854
+ enumValues: undefined;
21855
+ baseColumn: never;
21856
+ identity: undefined;
21857
+ generated: undefined;
21858
+ }, {}, {}>;
21859
+ rows: drizzle_orm_pg_core.PgColumn<{
21860
+ name: "rows";
21861
+ tableName: "ai_generation_jobs";
21862
+ dataType: "json";
21863
+ columnType: "PgJsonb";
21864
+ data: unknown;
21865
+ driverParam: unknown;
21866
+ notNull: true;
21867
+ hasDefault: false;
21868
+ isPrimaryKey: false;
21869
+ isAutoincrement: false;
21870
+ hasRuntimeDefault: false;
21871
+ enumValues: undefined;
21872
+ baseColumn: never;
21873
+ identity: undefined;
21874
+ generated: undefined;
21875
+ }, {}, {}>;
21876
+ status: drizzle_orm_pg_core.PgColumn<{
21877
+ name: "status";
21878
+ tableName: "ai_generation_jobs";
21879
+ dataType: "string";
21880
+ columnType: "PgVarchar";
21881
+ data: string;
21882
+ driverParam: string;
21883
+ notNull: true;
21884
+ hasDefault: true;
21885
+ isPrimaryKey: false;
21886
+ isAutoincrement: false;
21887
+ hasRuntimeDefault: false;
21888
+ enumValues: [string, ...string[]];
21889
+ baseColumn: never;
21890
+ identity: undefined;
21891
+ generated: undefined;
21892
+ }, {}, {
21893
+ length: 16;
21894
+ }>;
21895
+ plan: drizzle_orm_pg_core.PgColumn<{
21896
+ name: "plan";
21897
+ tableName: "ai_generation_jobs";
21898
+ dataType: "json";
21899
+ columnType: "PgJsonb";
21900
+ data: unknown;
21901
+ driverParam: unknown;
21902
+ notNull: false;
21903
+ hasDefault: false;
21904
+ isPrimaryKey: false;
21905
+ isAutoincrement: false;
21906
+ hasRuntimeDefault: false;
21907
+ enumValues: undefined;
21908
+ baseColumn: never;
21909
+ identity: undefined;
21910
+ generated: undefined;
21911
+ }, {}, {}>;
21912
+ total: drizzle_orm_pg_core.PgColumn<{
21913
+ name: "total";
21914
+ tableName: "ai_generation_jobs";
21915
+ dataType: "number";
21916
+ columnType: "PgInteger";
21917
+ data: number;
21918
+ driverParam: string | number;
21919
+ notNull: true;
21920
+ hasDefault: true;
21921
+ isPrimaryKey: false;
21922
+ isAutoincrement: false;
21923
+ hasRuntimeDefault: false;
21924
+ enumValues: undefined;
21925
+ baseColumn: never;
21926
+ identity: undefined;
21927
+ generated: undefined;
21928
+ }, {}, {}>;
21929
+ processed: drizzle_orm_pg_core.PgColumn<{
21930
+ name: "processed";
21931
+ tableName: "ai_generation_jobs";
21932
+ dataType: "number";
21933
+ columnType: "PgInteger";
21934
+ data: number;
21935
+ driverParam: string | number;
21936
+ notNull: true;
21937
+ hasDefault: true;
21938
+ isPrimaryKey: false;
21939
+ isAutoincrement: false;
21940
+ hasRuntimeDefault: false;
21941
+ enumValues: undefined;
21942
+ baseColumn: never;
21943
+ identity: undefined;
21944
+ generated: undefined;
21945
+ }, {}, {}>;
21946
+ cursor: drizzle_orm_pg_core.PgColumn<{
21947
+ name: "cursor";
21948
+ tableName: "ai_generation_jobs";
21949
+ dataType: "number";
21950
+ columnType: "PgInteger";
21951
+ data: number;
21952
+ driverParam: string | number;
21953
+ notNull: true;
21954
+ hasDefault: true;
21955
+ isPrimaryKey: false;
21956
+ isAutoincrement: false;
21957
+ hasRuntimeDefault: false;
21958
+ enumValues: undefined;
21959
+ baseColumn: never;
21960
+ identity: undefined;
21961
+ generated: undefined;
21962
+ }, {}, {}>;
21963
+ created: drizzle_orm_pg_core.PgColumn<{
21964
+ name: "created";
21965
+ tableName: "ai_generation_jobs";
21966
+ dataType: "number";
21967
+ columnType: "PgInteger";
21968
+ data: number;
21969
+ driverParam: string | number;
21970
+ notNull: true;
21971
+ hasDefault: true;
21972
+ isPrimaryKey: false;
21973
+ isAutoincrement: false;
21974
+ hasRuntimeDefault: false;
21975
+ enumValues: undefined;
21976
+ baseColumn: never;
21977
+ identity: undefined;
21978
+ generated: undefined;
21979
+ }, {}, {}>;
21980
+ conflicts: drizzle_orm_pg_core.PgColumn<{
21981
+ name: "conflicts";
21982
+ tableName: "ai_generation_jobs";
21983
+ dataType: "number";
21984
+ columnType: "PgInteger";
21985
+ data: number;
21986
+ driverParam: string | number;
21987
+ notNull: true;
21988
+ hasDefault: true;
21989
+ isPrimaryKey: false;
21990
+ isAutoincrement: false;
21991
+ hasRuntimeDefault: false;
21992
+ enumValues: undefined;
21993
+ baseColumn: never;
21994
+ identity: undefined;
21995
+ generated: undefined;
21996
+ }, {}, {}>;
21997
+ error: drizzle_orm_pg_core.PgColumn<{
21998
+ name: "error";
21999
+ tableName: "ai_generation_jobs";
22000
+ dataType: "string";
22001
+ columnType: "PgText";
22002
+ data: string;
22003
+ driverParam: string;
22004
+ notNull: false;
22005
+ hasDefault: false;
22006
+ isPrimaryKey: false;
22007
+ isAutoincrement: false;
22008
+ hasRuntimeDefault: false;
22009
+ enumValues: [string, ...string[]];
22010
+ baseColumn: never;
22011
+ identity: undefined;
22012
+ generated: undefined;
22013
+ }, {}, {}>;
22014
+ leaseToken: drizzle_orm_pg_core.PgColumn<{
22015
+ name: "lease_token";
22016
+ tableName: "ai_generation_jobs";
22017
+ dataType: "string";
22018
+ columnType: "PgText";
22019
+ data: string;
22020
+ driverParam: string;
22021
+ notNull: false;
22022
+ hasDefault: false;
22023
+ isPrimaryKey: false;
22024
+ isAutoincrement: false;
22025
+ hasRuntimeDefault: false;
22026
+ enumValues: [string, ...string[]];
22027
+ baseColumn: never;
22028
+ identity: undefined;
22029
+ generated: undefined;
22030
+ }, {}, {}>;
22031
+ leaseUntil: drizzle_orm_pg_core.PgColumn<{
22032
+ name: "lease_until";
22033
+ tableName: "ai_generation_jobs";
22034
+ dataType: "date";
22035
+ columnType: "PgTimestamp";
22036
+ data: Date;
22037
+ driverParam: string;
22038
+ notNull: false;
22039
+ hasDefault: false;
22040
+ isPrimaryKey: false;
22041
+ isAutoincrement: false;
22042
+ hasRuntimeDefault: false;
22043
+ enumValues: undefined;
22044
+ baseColumn: never;
22045
+ identity: undefined;
22046
+ generated: undefined;
22047
+ }, {}, {}>;
22048
+ rowResults: drizzle_orm_pg_core.PgColumn<{
22049
+ name: "row_results";
22050
+ tableName: "ai_generation_jobs";
22051
+ dataType: "json";
22052
+ columnType: "PgJsonb";
22053
+ data: unknown;
22054
+ driverParam: unknown;
22055
+ notNull: true;
22056
+ hasDefault: true;
22057
+ isPrimaryKey: false;
22058
+ isAutoincrement: false;
22059
+ hasRuntimeDefault: false;
22060
+ enumValues: undefined;
22061
+ baseColumn: never;
22062
+ identity: undefined;
22063
+ generated: undefined;
22064
+ }, {}, {}>;
22065
+ campaignId: drizzle_orm_pg_core.PgColumn<{
22066
+ name: "campaign_id";
22067
+ tableName: "ai_generation_jobs";
22068
+ dataType: "string";
22069
+ columnType: "PgText";
22070
+ data: string;
22071
+ driverParam: string;
22072
+ notNull: false;
22073
+ hasDefault: false;
22074
+ isPrimaryKey: false;
22075
+ isAutoincrement: false;
22076
+ hasRuntimeDefault: false;
22077
+ enumValues: [string, ...string[]];
22078
+ baseColumn: never;
22079
+ identity: undefined;
22080
+ generated: undefined;
22081
+ }, {}, {}>;
22082
+ createdAt: drizzle_orm_pg_core.PgColumn<{
22083
+ name: "created_at";
22084
+ tableName: "ai_generation_jobs";
22085
+ dataType: "date";
22086
+ columnType: "PgTimestamp";
22087
+ data: Date;
22088
+ driverParam: string;
22089
+ notNull: true;
22090
+ hasDefault: true;
22091
+ isPrimaryKey: false;
22092
+ isAutoincrement: false;
22093
+ hasRuntimeDefault: false;
22094
+ enumValues: undefined;
22095
+ baseColumn: never;
22096
+ identity: undefined;
22097
+ generated: undefined;
22098
+ }, {}, {}>;
22099
+ updatedAt: drizzle_orm_pg_core.PgColumn<{
22100
+ name: "updated_at";
22101
+ tableName: "ai_generation_jobs";
22102
+ dataType: "date";
22103
+ columnType: "PgTimestamp";
22104
+ data: Date;
22105
+ driverParam: string;
22106
+ notNull: true;
22107
+ hasDefault: true;
22108
+ isPrimaryKey: false;
22109
+ isAutoincrement: false;
22110
+ hasRuntimeDefault: false;
22111
+ enumValues: undefined;
22112
+ baseColumn: never;
22113
+ identity: undefined;
22114
+ generated: undefined;
22115
+ }, {}, {}>;
22116
+ };
22117
+ dialect: "pg";
22118
+ }>;
22119
+ type AiGenerationJobSelect = InferSelectModel<typeof aiGenerationJobs>;
22120
+ type AiGenerationJobInsert = InferInsertModel<typeof aiGenerationJobs>;
22121
+
22122
+ /**
22123
+ * PreviewTokenRevocations — one row per withdrawn preview/share JWT (migration 0355).
22124
+ *
22125
+ * Preview tokens are stateless JWTs, so the only way to withdraw one used to be bumping the
22126
+ * entry's `previewTokenVersion` — which kills EVERY link to that entry, not the one that leaked.
22127
+ * The mint now stamps a `jti`; revoking inserts it here and the public verify route refuses on a
22128
+ * primary-key hit.
22129
+ *
22130
+ * Rows are kept only until `expires_at` (the token's own `exp`), after which the JWT fails on its
22131
+ * own and the row is dead weight. Swept by `sweep_preview_token_revocations()` on the drain tick.
22132
+ *
22133
+ * RLS: workspace-scoped (0355). The public verify route sets the workspace context from the
22134
+ * token's own payload before it looks the jti up.
22135
+ */
22136
+ declare const previewTokenRevocations: drizzle_orm_pg_core.PgTableWithColumns<{
22137
+ name: "preview_token_revocations";
22138
+ schema: undefined;
22139
+ columns: {
22140
+ jti: drizzle_orm_pg_core.PgColumn<{
22141
+ name: "jti";
22142
+ tableName: "preview_token_revocations";
22143
+ dataType: "string";
22144
+ columnType: "PgText";
22145
+ data: string;
22146
+ driverParam: string;
22147
+ notNull: true;
22148
+ hasDefault: false;
22149
+ isPrimaryKey: true;
22150
+ isAutoincrement: false;
22151
+ hasRuntimeDefault: false;
22152
+ enumValues: [string, ...string[]];
22153
+ baseColumn: never;
22154
+ identity: undefined;
22155
+ generated: undefined;
22156
+ }, {}, {}>;
22157
+ workspaceId: drizzle_orm_pg_core.PgColumn<{
22158
+ name: "workspace_id";
22159
+ tableName: "preview_token_revocations";
22160
+ dataType: "string";
22161
+ columnType: "PgText";
22162
+ data: string;
22163
+ driverParam: string;
22164
+ notNull: true;
22165
+ hasDefault: false;
22166
+ isPrimaryKey: false;
22167
+ isAutoincrement: false;
22168
+ hasRuntimeDefault: false;
22169
+ enumValues: [string, ...string[]];
22170
+ baseColumn: never;
22171
+ identity: undefined;
22172
+ generated: undefined;
22173
+ }, {}, {}>;
22174
+ expiresAt: drizzle_orm_pg_core.PgColumn<{
22175
+ name: "expires_at";
22176
+ tableName: "preview_token_revocations";
22177
+ dataType: "date";
22178
+ columnType: "PgTimestamp";
22179
+ data: Date;
22180
+ driverParam: string;
22181
+ notNull: true;
22182
+ hasDefault: false;
22183
+ isPrimaryKey: false;
22184
+ isAutoincrement: false;
22185
+ hasRuntimeDefault: false;
22186
+ enumValues: undefined;
22187
+ baseColumn: never;
22188
+ identity: undefined;
22189
+ generated: undefined;
22190
+ }, {}, {}>;
22191
+ revokedBy: drizzle_orm_pg_core.PgColumn<{
22192
+ name: "revoked_by";
22193
+ tableName: "preview_token_revocations";
22194
+ dataType: "string";
22195
+ columnType: "PgText";
22196
+ data: string;
22197
+ driverParam: string;
22198
+ notNull: false;
22199
+ hasDefault: false;
22200
+ isPrimaryKey: false;
22201
+ isAutoincrement: false;
22202
+ hasRuntimeDefault: false;
22203
+ enumValues: [string, ...string[]];
22204
+ baseColumn: never;
22205
+ identity: undefined;
22206
+ generated: undefined;
22207
+ }, {}, {}>;
22208
+ revokedAt: drizzle_orm_pg_core.PgColumn<{
22209
+ name: "revoked_at";
22210
+ tableName: "preview_token_revocations";
22211
+ dataType: "date";
22212
+ columnType: "PgTimestamp";
22213
+ data: Date;
22214
+ driverParam: string;
22215
+ notNull: true;
22216
+ hasDefault: true;
22217
+ isPrimaryKey: false;
22218
+ isAutoincrement: false;
22219
+ hasRuntimeDefault: false;
22220
+ enumValues: undefined;
22221
+ baseColumn: never;
22222
+ identity: undefined;
22223
+ generated: undefined;
22224
+ }, {}, {}>;
22225
+ };
22226
+ dialect: "pg";
22227
+ }>;
22228
+ type PreviewTokenRevocationSelect = InferSelectModel<typeof previewTokenRevocations>;
22229
+ type PreviewTokenRevocationInsert = InferInsertModel<typeof previewTokenRevocations>;
22230
+
22231
+ /** How much the generator is allowed to learn about an account before it writes (PRD §5.3). */
22232
+ type AbmResearchMode = "off" | "lite" | "deep" | "agent";
22233
+ /**
22234
+ * Everything a campaign decides once, for every row it will ever generate.
22235
+ *
22236
+ * Stored as jsonb rather than fifteen columns because it is READ WHOLE (the drain, the wizard and
22237
+ * the review screen all want all of it) and never queried by any single key — the one predicate
22238
+ * anything filters on is `status`, which is its own column.
22239
+ */
22240
+ interface AbmCampaignOptions {
22241
+ research?: AbmResearchMode;
22242
+ noindex?: boolean;
22243
+ /** Days from publish to automatic retirement. `null` = never expire (a deliberate opt-out). */
22244
+ unpublishAfterDays?: number | null;
22245
+ /**
22246
+ * Hard ceiling on credits this campaign may spend, whatever the workspace budget allows.
22247
+ * `null` is "no cap" written explicitly, which is what the settings form sends when the field
22248
+ * is cleared — the same shape `unpublishAfterDays` above already has.
22249
+ */
22250
+ creditCap?: number | null;
22251
+ /** What a per-account layout may do. Phase 1 is hide + reorder only. */
22252
+ sectionPolicy?: {
22253
+ allowHide?: boolean;
22254
+ allowReorder?: boolean;
22255
+ };
22256
+ /** Shown on the 410 after `unpublish_at`. */
22257
+ expiredMessage?: string;
22258
+ /** The proof entry cited when no industry match is found. */
22259
+ defaultProofId?: string;
22260
+ /** Which dataset column IS the account — the upsert key. Normally `domain`. */
22261
+ externalKeyColumn?: string;
22262
+ /** Blueprint copy a verify failure falls back to, by field key. */
22263
+ fallbacks?: Record<string, string>;
22264
+ }
22265
+ /**
22266
+ * AbmCampaigns — the named unit of ABM work (migration 0356).
22267
+ *
22268
+ * A campaign owns 1..N template PAGES (the relation lives on `pages.campaign_id`, OV-7), and
22269
+ * every entry those pages generate carries `content_entries.campaign_id`. Main-branch only: there
22270
+ * is no `branch_id`, and campaign routes refuse off the live branch (OV-6).
22271
+ *
22272
+ * @see src/lib/abm/campaigns.ts — the state machine and the CRUD
22273
+ */
22274
+ declare const abmCampaigns: drizzle_orm_pg_core.PgTableWithColumns<{
22275
+ name: "abm_campaigns";
22276
+ schema: undefined;
22277
+ columns: {
22278
+ id: drizzle_orm_pg_core.PgColumn<{
22279
+ name: "id";
22280
+ tableName: "abm_campaigns";
22281
+ dataType: "string";
22282
+ columnType: "PgText";
22283
+ data: string;
22284
+ driverParam: string;
22285
+ notNull: true;
22286
+ hasDefault: false;
22287
+ isPrimaryKey: true;
22288
+ isAutoincrement: false;
22289
+ hasRuntimeDefault: false;
22290
+ enumValues: [string, ...string[]];
22291
+ baseColumn: never;
22292
+ identity: undefined;
22293
+ generated: undefined;
22294
+ }, {}, {}>;
22295
+ workspaceId: drizzle_orm_pg_core.PgColumn<{
22296
+ name: "workspace_id";
22297
+ tableName: "abm_campaigns";
22298
+ dataType: "string";
22299
+ columnType: "PgText";
22300
+ data: string;
22301
+ driverParam: string;
22302
+ notNull: true;
22303
+ hasDefault: false;
22304
+ isPrimaryKey: false;
22305
+ isAutoincrement: false;
22306
+ hasRuntimeDefault: false;
22307
+ enumValues: [string, ...string[]];
22308
+ baseColumn: never;
22309
+ identity: undefined;
22310
+ generated: undefined;
22311
+ }, {}, {}>;
22312
+ projectId: drizzle_orm_pg_core.PgColumn<{
22313
+ name: "project_id";
22314
+ tableName: "abm_campaigns";
22315
+ dataType: "string";
22316
+ columnType: "PgText";
22317
+ data: string;
22318
+ driverParam: string;
22319
+ notNull: true;
22320
+ hasDefault: false;
22321
+ isPrimaryKey: false;
22322
+ isAutoincrement: false;
22323
+ hasRuntimeDefault: false;
22324
+ enumValues: [string, ...string[]];
22325
+ baseColumn: never;
22326
+ identity: undefined;
22327
+ generated: undefined;
22328
+ }, {}, {}>;
22329
+ accountModelId: drizzle_orm_pg_core.PgColumn<{
22330
+ name: "account_model_id";
22331
+ tableName: "abm_campaigns";
22332
+ dataType: "string";
22333
+ columnType: "PgText";
22334
+ data: string;
22335
+ driverParam: string;
22336
+ notNull: false;
22337
+ hasDefault: false;
22338
+ isPrimaryKey: false;
22339
+ isAutoincrement: false;
22340
+ hasRuntimeDefault: false;
22341
+ enumValues: [string, ...string[]];
22342
+ baseColumn: never;
22343
+ identity: undefined;
22344
+ generated: undefined;
22345
+ }, {}, {}>;
22346
+ proofModelId: drizzle_orm_pg_core.PgColumn<{
22347
+ name: "proof_model_id";
22348
+ tableName: "abm_campaigns";
22349
+ dataType: "string";
22350
+ columnType: "PgText";
22351
+ data: string;
22352
+ driverParam: string;
22353
+ notNull: false;
22354
+ hasDefault: false;
22355
+ isPrimaryKey: false;
22356
+ isAutoincrement: false;
22357
+ hasRuntimeDefault: false;
22358
+ enumValues: [string, ...string[]];
22359
+ baseColumn: never;
22360
+ identity: undefined;
22361
+ generated: undefined;
22362
+ }, {}, {}>;
22363
+ name: drizzle_orm_pg_core.PgColumn<{
22364
+ name: "name";
22365
+ tableName: "abm_campaigns";
22366
+ dataType: "string";
22367
+ columnType: "PgVarchar";
22368
+ data: string;
22369
+ driverParam: string;
22370
+ notNull: true;
22371
+ hasDefault: false;
22372
+ isPrimaryKey: false;
22373
+ isAutoincrement: false;
22374
+ hasRuntimeDefault: false;
22375
+ enumValues: [string, ...string[]];
22376
+ baseColumn: never;
22377
+ identity: undefined;
22378
+ generated: undefined;
22379
+ }, {}, {
22380
+ length: 255;
22381
+ }>;
22382
+ kind: drizzle_orm_pg_core.PgColumn<{
22383
+ name: "kind";
22384
+ tableName: "abm_campaigns";
22385
+ dataType: "string";
22386
+ columnType: "PgVarchar";
22387
+ data: string;
22388
+ driverParam: string;
22389
+ notNull: true;
22390
+ hasDefault: true;
22391
+ isPrimaryKey: false;
22392
+ isAutoincrement: false;
22393
+ hasRuntimeDefault: false;
22394
+ enumValues: [string, ...string[]];
22395
+ baseColumn: never;
22396
+ identity: undefined;
22397
+ generated: undefined;
22398
+ }, {}, {
22399
+ length: 16;
22400
+ }>;
22401
+ status: drizzle_orm_pg_core.PgColumn<{
22402
+ name: "status";
22403
+ tableName: "abm_campaigns";
22404
+ dataType: "string";
22405
+ columnType: "PgVarchar";
22406
+ data: string;
22407
+ driverParam: string;
22408
+ notNull: true;
22409
+ hasDefault: true;
22410
+ isPrimaryKey: false;
22411
+ isAutoincrement: false;
22412
+ hasRuntimeDefault: false;
22413
+ enumValues: [string, ...string[]];
22414
+ baseColumn: never;
22415
+ identity: undefined;
22416
+ generated: undefined;
22417
+ }, {}, {
22418
+ length: 16;
22419
+ }>;
22420
+ options: drizzle_orm_pg_core.PgColumn<{
22421
+ name: "options";
22422
+ tableName: "abm_campaigns";
22423
+ dataType: "json";
22424
+ columnType: "PgJsonb";
22425
+ data: AbmCampaignOptions;
22426
+ driverParam: unknown;
22427
+ notNull: true;
22428
+ hasDefault: true;
22429
+ isPrimaryKey: false;
22430
+ isAutoincrement: false;
22431
+ hasRuntimeDefault: false;
22432
+ enumValues: undefined;
22433
+ baseColumn: never;
22434
+ identity: undefined;
22435
+ generated: undefined;
22436
+ }, {}, {
22437
+ $type: AbmCampaignOptions;
22438
+ }>;
22439
+ scheduledAt: drizzle_orm_pg_core.PgColumn<{
22440
+ name: "scheduled_at";
22441
+ tableName: "abm_campaigns";
22442
+ dataType: "date";
22443
+ columnType: "PgTimestamp";
22444
+ data: Date;
22445
+ driverParam: string;
22446
+ notNull: false;
22447
+ hasDefault: false;
22448
+ isPrimaryKey: false;
22449
+ isAutoincrement: false;
22450
+ hasRuntimeDefault: false;
22451
+ enumValues: undefined;
22452
+ baseColumn: never;
22453
+ identity: undefined;
22454
+ generated: undefined;
22455
+ }, {}, {}>;
22456
+ unpublishAt: drizzle_orm_pg_core.PgColumn<{
22457
+ name: "unpublish_at";
22458
+ tableName: "abm_campaigns";
22459
+ dataType: "date";
22460
+ columnType: "PgTimestamp";
22461
+ data: Date;
22462
+ driverParam: string;
22463
+ notNull: false;
22464
+ hasDefault: false;
22465
+ isPrimaryKey: false;
22466
+ isAutoincrement: false;
22467
+ hasRuntimeDefault: false;
22468
+ enumValues: undefined;
22469
+ baseColumn: never;
22470
+ identity: undefined;
22471
+ generated: undefined;
22472
+ }, {}, {}>;
22473
+ creditsSpent: drizzle_orm_pg_core.PgColumn<{
22474
+ name: "credits_spent";
22475
+ tableName: "abm_campaigns";
22476
+ dataType: "number";
22477
+ columnType: "PgInteger";
22478
+ data: number;
22479
+ driverParam: string | number;
22480
+ notNull: true;
22481
+ hasDefault: true;
22482
+ isPrimaryKey: false;
22483
+ isAutoincrement: false;
22484
+ hasRuntimeDefault: false;
22485
+ enumValues: undefined;
22486
+ baseColumn: never;
22487
+ identity: undefined;
22488
+ generated: undefined;
22489
+ }, {}, {}>;
22490
+ createdBy: drizzle_orm_pg_core.PgColumn<{
22491
+ name: "created_by";
22492
+ tableName: "abm_campaigns";
22493
+ dataType: "string";
22494
+ columnType: "PgText";
22495
+ data: string;
22496
+ driverParam: string;
22497
+ notNull: true;
22498
+ hasDefault: false;
22499
+ isPrimaryKey: false;
22500
+ isAutoincrement: false;
22501
+ hasRuntimeDefault: false;
22502
+ enumValues: [string, ...string[]];
22503
+ baseColumn: never;
22504
+ identity: undefined;
22505
+ generated: undefined;
22506
+ }, {}, {}>;
22507
+ createdAt: drizzle_orm_pg_core.PgColumn<{
22508
+ name: "created_at";
22509
+ tableName: "abm_campaigns";
22510
+ dataType: "date";
22511
+ columnType: "PgTimestamp";
22512
+ data: Date;
22513
+ driverParam: string;
22514
+ notNull: true;
22515
+ hasDefault: true;
22516
+ isPrimaryKey: false;
22517
+ isAutoincrement: false;
22518
+ hasRuntimeDefault: false;
22519
+ enumValues: undefined;
22520
+ baseColumn: never;
22521
+ identity: undefined;
22522
+ generated: undefined;
22523
+ }, {}, {}>;
22524
+ updatedAt: drizzle_orm_pg_core.PgColumn<{
22525
+ name: "updated_at";
22526
+ tableName: "abm_campaigns";
22527
+ dataType: "date";
22528
+ columnType: "PgTimestamp";
22529
+ data: Date;
22530
+ driverParam: string;
22531
+ notNull: true;
22532
+ hasDefault: true;
22533
+ isPrimaryKey: false;
22534
+ isAutoincrement: false;
22535
+ hasRuntimeDefault: false;
22536
+ enumValues: undefined;
22537
+ baseColumn: never;
22538
+ identity: undefined;
22539
+ generated: undefined;
22540
+ }, {}, {}>;
22541
+ };
22542
+ dialect: "pg";
22543
+ }>;
22544
+ type AbmCampaignSelect = InferSelectModel<typeof abmCampaigns>;
22545
+ type AbmCampaignInsert = InferInsertModel<typeof abmCampaigns>;
22546
+
22547
+ /** A link opens one account's pages, or the whole campaign's index. */
22548
+ type AbmShareScope = "campaign" | "account";
22549
+ /**
22550
+ * AbmShareTokens — revocable, expiring links to a campaign's UNPUBLISHED pages (migration 0358).
22551
+ *
22552
+ * 🔴 FENCED. `bcms_app` holds SELECT and nothing else: mint, revoke, resolve and touch are all
22553
+ * SECURITY DEFINER functions, because the public share route is holding a `jti` and no workspace
22554
+ * context, so it cannot set one before it reads. Drizzle is declared here for the LIST view
22555
+ * (which does run with a workspace context); never write through it.
22556
+ *
22557
+ * @see src/lib/abm/share.ts
22558
+ */
22559
+ declare const abmShareTokens: drizzle_orm_pg_core.PgTableWithColumns<{
22560
+ name: "abm_share_tokens";
22561
+ schema: undefined;
22562
+ columns: {
22563
+ jti: drizzle_orm_pg_core.PgColumn<{
22564
+ name: "jti";
22565
+ tableName: "abm_share_tokens";
22566
+ dataType: "string";
22567
+ columnType: "PgText";
22568
+ data: string;
22569
+ driverParam: string;
22570
+ notNull: true;
22571
+ hasDefault: false;
22572
+ isPrimaryKey: true;
22573
+ isAutoincrement: false;
22574
+ hasRuntimeDefault: false;
22575
+ enumValues: [string, ...string[]];
22576
+ baseColumn: never;
22577
+ identity: undefined;
22578
+ generated: undefined;
22579
+ }, {}, {}>;
22580
+ workspaceId: drizzle_orm_pg_core.PgColumn<{
22581
+ name: "workspace_id";
22582
+ tableName: "abm_share_tokens";
22583
+ dataType: "string";
22584
+ columnType: "PgText";
22585
+ data: string;
22586
+ driverParam: string;
22587
+ notNull: true;
22588
+ hasDefault: false;
22589
+ isPrimaryKey: false;
22590
+ isAutoincrement: false;
22591
+ hasRuntimeDefault: false;
22592
+ enumValues: [string, ...string[]];
22593
+ baseColumn: never;
22594
+ identity: undefined;
22595
+ generated: undefined;
22596
+ }, {}, {}>;
22597
+ campaignId: drizzle_orm_pg_core.PgColumn<{
22598
+ name: "campaign_id";
22599
+ tableName: "abm_share_tokens";
22600
+ dataType: "string";
22601
+ columnType: "PgText";
22602
+ data: string;
22603
+ driverParam: string;
22604
+ notNull: true;
22605
+ hasDefault: false;
22606
+ isPrimaryKey: false;
22607
+ isAutoincrement: false;
22608
+ hasRuntimeDefault: false;
22609
+ enumValues: [string, ...string[]];
22610
+ baseColumn: never;
22611
+ identity: undefined;
22612
+ generated: undefined;
22613
+ }, {}, {}>;
22614
+ scope: drizzle_orm_pg_core.PgColumn<{
22615
+ name: "scope";
22616
+ tableName: "abm_share_tokens";
22617
+ dataType: "string";
22618
+ columnType: "PgVarchar";
22619
+ data: AbmShareScope;
22620
+ driverParam: string;
22621
+ notNull: true;
22622
+ hasDefault: false;
22623
+ isPrimaryKey: false;
22624
+ isAutoincrement: false;
22625
+ hasRuntimeDefault: false;
22626
+ enumValues: [string, ...string[]];
22627
+ baseColumn: never;
22628
+ identity: undefined;
22629
+ generated: undefined;
22630
+ }, {}, {
22631
+ length: 16;
22632
+ $type: AbmShareScope;
22633
+ }>;
22634
+ externalKey: drizzle_orm_pg_core.PgColumn<{
22635
+ name: "external_key";
22636
+ tableName: "abm_share_tokens";
22637
+ dataType: "string";
22638
+ columnType: "PgText";
22639
+ data: string;
22640
+ driverParam: string;
22641
+ notNull: false;
22642
+ hasDefault: false;
22643
+ isPrimaryKey: false;
22644
+ isAutoincrement: false;
22645
+ hasRuntimeDefault: false;
22646
+ enumValues: [string, ...string[]];
22647
+ baseColumn: never;
22648
+ identity: undefined;
22649
+ generated: undefined;
22650
+ }, {}, {}>;
22651
+ label: drizzle_orm_pg_core.PgColumn<{
22652
+ name: "label";
22653
+ tableName: "abm_share_tokens";
22654
+ dataType: "string";
22655
+ columnType: "PgVarchar";
22656
+ data: string;
22657
+ driverParam: string;
22658
+ notNull: false;
22659
+ hasDefault: false;
22660
+ isPrimaryKey: false;
22661
+ isAutoincrement: false;
22662
+ hasRuntimeDefault: false;
22663
+ enumValues: [string, ...string[]];
22664
+ baseColumn: never;
22665
+ identity: undefined;
22666
+ generated: undefined;
22667
+ }, {}, {
22668
+ length: 120;
22669
+ }>;
22670
+ expiresAt: drizzle_orm_pg_core.PgColumn<{
22671
+ name: "expires_at";
22672
+ tableName: "abm_share_tokens";
22673
+ dataType: "date";
22674
+ columnType: "PgTimestamp";
22675
+ data: Date;
22676
+ driverParam: string;
22677
+ notNull: true;
22678
+ hasDefault: false;
22679
+ isPrimaryKey: false;
22680
+ isAutoincrement: false;
22681
+ hasRuntimeDefault: false;
22682
+ enumValues: undefined;
22683
+ baseColumn: never;
22684
+ identity: undefined;
22685
+ generated: undefined;
22686
+ }, {}, {}>;
22687
+ revokedAt: drizzle_orm_pg_core.PgColumn<{
22688
+ name: "revoked_at";
22689
+ tableName: "abm_share_tokens";
22690
+ dataType: "date";
22691
+ columnType: "PgTimestamp";
22692
+ data: Date;
22693
+ driverParam: string;
22694
+ notNull: false;
22695
+ hasDefault: false;
22696
+ isPrimaryKey: false;
22697
+ isAutoincrement: false;
22698
+ hasRuntimeDefault: false;
22699
+ enumValues: undefined;
22700
+ baseColumn: never;
22701
+ identity: undefined;
22702
+ generated: undefined;
22703
+ }, {}, {}>;
22704
+ createdBy: drizzle_orm_pg_core.PgColumn<{
22705
+ name: "created_by";
22706
+ tableName: "abm_share_tokens";
22707
+ dataType: "string";
22708
+ columnType: "PgText";
22709
+ data: string;
22710
+ driverParam: string;
22711
+ notNull: true;
22712
+ hasDefault: false;
22713
+ isPrimaryKey: false;
22714
+ isAutoincrement: false;
22715
+ hasRuntimeDefault: false;
22716
+ enumValues: [string, ...string[]];
22717
+ baseColumn: never;
22718
+ identity: undefined;
22719
+ generated: undefined;
22720
+ }, {}, {}>;
22721
+ createdAt: drizzle_orm_pg_core.PgColumn<{
22722
+ name: "created_at";
22723
+ tableName: "abm_share_tokens";
22724
+ dataType: "date";
22725
+ columnType: "PgTimestamp";
22726
+ data: Date;
22727
+ driverParam: string;
22728
+ notNull: true;
22729
+ hasDefault: true;
22730
+ isPrimaryKey: false;
22731
+ isAutoincrement: false;
22732
+ hasRuntimeDefault: false;
22733
+ enumValues: undefined;
22734
+ baseColumn: never;
22735
+ identity: undefined;
22736
+ generated: undefined;
22737
+ }, {}, {}>;
22738
+ lastUsedAt: drizzle_orm_pg_core.PgColumn<{
22739
+ name: "last_used_at";
22740
+ tableName: "abm_share_tokens";
22741
+ dataType: "date";
22742
+ columnType: "PgTimestamp";
22743
+ data: Date;
22744
+ driverParam: string;
22745
+ notNull: false;
22746
+ hasDefault: false;
22747
+ isPrimaryKey: false;
22748
+ isAutoincrement: false;
22749
+ hasRuntimeDefault: false;
22750
+ enumValues: undefined;
22751
+ baseColumn: never;
22752
+ identity: undefined;
22753
+ generated: undefined;
22754
+ }, {}, {}>;
22755
+ uses: drizzle_orm_pg_core.PgColumn<{
22756
+ name: "uses";
22757
+ tableName: "abm_share_tokens";
22758
+ dataType: "number";
22759
+ columnType: "PgInteger";
22760
+ data: number;
22761
+ driverParam: string | number;
22762
+ notNull: true;
22763
+ hasDefault: true;
22764
+ isPrimaryKey: false;
22765
+ isAutoincrement: false;
22766
+ hasRuntimeDefault: false;
22767
+ enumValues: undefined;
22768
+ baseColumn: never;
22769
+ identity: undefined;
22770
+ generated: undefined;
22771
+ }, {}, {}>;
22772
+ };
22773
+ dialect: "pg";
22774
+ }>;
22775
+ type AbmShareTokenSelect = InferSelectModel<typeof abmShareTokens>;
22776
+ type AbmShareTokenInsert = InferInsertModel<typeof abmShareTokens>;
22777
+
22778
+ declare const MCP_TASK_STATUSES: readonly ["working", "input_required", "completed", "failed", "cancelled"];
22779
+ type McpTaskStatus = (typeof MCP_TASK_STATUSES)[number];
22780
+ type McpTaskPrincipalKind = "api_key" | "device";
22781
+ interface McpCallToolResultSnapshot {
22782
+ resultType: "complete";
22783
+ content: Array<{
22784
+ type: string;
22785
+ [key: string]: unknown;
22786
+ }>;
22787
+ structuredContent?: unknown;
22788
+ isError?: boolean;
22789
+ _meta?: Record<string, unknown>;
22790
+ }
22791
+ /** JSON-RPC error replayed by `tasks/get` when the task execution itself was lost. */
22792
+ interface McpJsonRpcErrorSnapshot {
22793
+ code: number;
22794
+ message: string;
22795
+ data?: unknown;
22796
+ }
22797
+ type McpTaskTerminalSnapshot = McpCallToolResultSnapshot | McpJsonRpcErrorSnapshot;
22798
+ interface McpTaskInputState {
22799
+ [key: string]: unknown;
22800
+ }
22801
+ /**
22802
+ * Durable state for an MCP long-running tool call. Authorization is bound to both the current
22803
+ * workspace/project and the stable principal that created the task; callers must reauthorize
22804
+ * that scope on every read/cancel/input round rather than treating possession of `id` as access.
22805
+ */
22806
+ declare const mcpTasks: drizzle_orm_pg_core.PgTableWithColumns<{
22807
+ name: "mcp_tasks";
22808
+ schema: undefined;
22809
+ columns: {
22810
+ id: drizzle_orm_pg_core.PgColumn<{
22811
+ name: "id";
22812
+ tableName: "mcp_tasks";
22813
+ dataType: "string";
22814
+ columnType: "PgText";
22815
+ data: string;
22816
+ driverParam: string;
22817
+ notNull: true;
22818
+ hasDefault: false;
22819
+ isPrimaryKey: true;
22820
+ isAutoincrement: false;
22821
+ hasRuntimeDefault: false;
22822
+ enumValues: [string, ...string[]];
22823
+ baseColumn: never;
22824
+ identity: undefined;
22825
+ generated: undefined;
22826
+ }, {}, {}>;
22827
+ workspaceId: drizzle_orm_pg_core.PgColumn<{
22828
+ name: "workspace_id";
22829
+ tableName: "mcp_tasks";
22830
+ dataType: "string";
22831
+ columnType: "PgText";
22832
+ data: string;
22833
+ driverParam: string;
22834
+ notNull: true;
22835
+ hasDefault: false;
22836
+ isPrimaryKey: false;
22837
+ isAutoincrement: false;
22838
+ hasRuntimeDefault: false;
22839
+ enumValues: [string, ...string[]];
22840
+ baseColumn: never;
22841
+ identity: undefined;
22842
+ generated: undefined;
22843
+ }, {}, {}>;
22844
+ projectId: drizzle_orm_pg_core.PgColumn<{
22845
+ name: "project_id";
22846
+ tableName: "mcp_tasks";
22847
+ dataType: "string";
22848
+ columnType: "PgText";
22849
+ data: string;
22850
+ driverParam: string;
22851
+ notNull: true;
22852
+ hasDefault: false;
22853
+ isPrimaryKey: false;
22854
+ isAutoincrement: false;
22855
+ hasRuntimeDefault: false;
22856
+ enumValues: [string, ...string[]];
22857
+ baseColumn: never;
22858
+ identity: undefined;
22859
+ generated: undefined;
22860
+ }, {}, {}>;
22861
+ toolName: drizzle_orm_pg_core.PgColumn<{
22862
+ name: "tool_name";
22863
+ tableName: "mcp_tasks";
22864
+ dataType: "string";
22865
+ columnType: "PgText";
22866
+ data: string;
22867
+ driverParam: string;
22868
+ notNull: true;
22869
+ hasDefault: false;
22870
+ isPrimaryKey: false;
22871
+ isAutoincrement: false;
22872
+ hasRuntimeDefault: false;
22873
+ enumValues: [string, ...string[]];
22874
+ baseColumn: never;
22875
+ identity: undefined;
22876
+ generated: undefined;
22877
+ }, {}, {}>;
22878
+ principalKind: drizzle_orm_pg_core.PgColumn<{
22879
+ name: "principal_kind";
22880
+ tableName: "mcp_tasks";
22881
+ dataType: "string";
22882
+ columnType: "PgText";
20880
22883
  data: McpTaskPrincipalKind;
20881
22884
  driverParam: string;
20882
22885
  notNull: true;
@@ -20930,7 +22933,7 @@ declare const mcpTasks: drizzle_orm_pg_core.PgTableWithColumns<{
20930
22933
  tableName: "mcp_tasks";
20931
22934
  dataType: "string";
20932
22935
  columnType: "PgVarchar";
20933
- data: "working" | "input_required" | "completed" | "failed" | "cancelled";
22936
+ data: "completed" | "failed" | "working" | "input_required" | "cancelled";
20934
22937
  driverParam: string;
20935
22938
  notNull: true;
20936
22939
  hasDefault: true;
@@ -20943,7 +22946,7 @@ declare const mcpTasks: drizzle_orm_pg_core.PgTableWithColumns<{
20943
22946
  generated: undefined;
20944
22947
  }, {}, {
20945
22948
  length: 24;
20946
- $type: "working" | "input_required" | "completed" | "failed" | "cancelled";
22949
+ $type: "completed" | "failed" | "working" | "input_required" | "cancelled";
20947
22950
  }>;
20948
22951
  statusMessage: drizzle_orm_pg_core.PgColumn<{
20949
22952
  name: "status_message";
@@ -24152,6 +26155,25 @@ declare const components: drizzle_orm_pg_core.PgTableWithColumns<{
24152
26155
  }, {}, {
24153
26156
  length: 64;
24154
26157
  }>;
26158
+ sourceKey: drizzle_orm_pg_core.PgColumn<{
26159
+ name: "source_key";
26160
+ tableName: "components";
26161
+ dataType: "string";
26162
+ columnType: "PgVarchar";
26163
+ data: string;
26164
+ driverParam: string;
26165
+ notNull: false;
26166
+ hasDefault: false;
26167
+ isPrimaryKey: false;
26168
+ isAutoincrement: false;
26169
+ hasRuntimeDefault: false;
26170
+ enumValues: [string, ...string[]];
26171
+ baseColumn: never;
26172
+ identity: undefined;
26173
+ generated: undefined;
26174
+ }, {}, {
26175
+ length: 255;
26176
+ }>;
24155
26177
  variantGroupId: drizzle_orm_pg_core.PgColumn<{
24156
26178
  name: "variant_group_id";
24157
26179
  tableName: "components";
@@ -24599,6 +26621,23 @@ declare const components: drizzle_orm_pg_core.PgTableWithColumns<{
24599
26621
  identity: undefined;
24600
26622
  generated: undefined;
24601
26623
  }, {}, {}>;
26624
+ generatedThumbnailKey: drizzle_orm_pg_core.PgColumn<{
26625
+ name: "generated_thumbnail_key";
26626
+ tableName: "components";
26627
+ dataType: "string";
26628
+ columnType: "PgText";
26629
+ data: string;
26630
+ driverParam: string;
26631
+ notNull: false;
26632
+ hasDefault: false;
26633
+ isPrimaryKey: false;
26634
+ isAutoincrement: false;
26635
+ hasRuntimeDefault: false;
26636
+ enumValues: [string, ...string[]];
26637
+ baseColumn: never;
26638
+ identity: undefined;
26639
+ generated: undefined;
26640
+ }, {}, {}>;
24602
26641
  optimisticVersion: drizzle_orm_pg_core.PgColumn<{
24603
26642
  name: "optimistic_version";
24604
26643
  tableName: "components";
@@ -24657,7 +26696,18 @@ type ComponentPropDef = {
24657
26696
  * `reference` is absent on purpose — nothing resolves a content-entry id at component render
24658
26697
  * time, so such a prop would save cleanly and render as nothing.
24659
26698
  */
24660
- type: "text" | "richtext" | "image" | "url" | "boolean" | "number" | "select" | "group" | "table" | "slot";
26699
+ /**
26700
+ * ⚠️ Spelled out rather than imported, because @bettercms-ai/db stays decoupled from
26701
+ * @bettercms-ai/types on purpose (see the `props` column above). The SOURCE OF TRUTH is
26702
+ * `COMPONENT_PROP_TYPES` in packages/types/src/component.ts, and `component-prop-types.test.ts`
26703
+ * is what keeps this copy honest. Add here only when adding there.
26704
+ *
26705
+ * `form` holds ONE Form document reference — value `{ formId }`, `target.path` of `props`, so
26706
+ * filling it writes that object over an empty `form` block's props exactly as `slot` does over
26707
+ * a `component` block's. The form's FIELDS stay on the Form document; a component references a
26708
+ * form, it never re-declares one.
26709
+ */
26710
+ type: "text" | "richtext" | "image" | "url" | "boolean" | "number" | "select" | "group" | "table" | "slot" | "form";
24661
26711
  defaultValue?: unknown;
24662
26712
  /**
24663
26713
  * EDITOR HINTS (playbook §12). Stored in the props JSON, so no migration.
@@ -24687,8 +26737,12 @@ type ComponentPropDef = {
24687
26737
  type ComponentSubField = {
24688
26738
  key: string;
24689
26739
  label: string;
24690
- /** No `slot`: a nested component instance belongs on the prop itself, not inside a row. */
24691
- type: Exclude<ComponentPropDef["type"], "slot">;
26740
+ /**
26741
+ * No `slot` and no `form`: a nested component instance and a form reference both belong on the
26742
+ * prop itself, not inside a row. A form per table row would mean N form documents with no way
26743
+ * to author them.
26744
+ */
26745
+ type: Exclude<ComponentPropDef["type"], "slot" | "form">;
24692
26746
  defaultValue?: unknown;
24693
26747
  /** The same editor hints as the prop above, one level down. @see ComponentPropDef */
24694
26748
  required?: boolean;
@@ -27956,7 +30010,7 @@ declare const componentImplementationStates: drizzle_orm_pg_core.PgTableWithColu
27956
30010
  tableName: "component_implementation_states";
27957
30011
  dataType: "string";
27958
30012
  columnType: "PgVarchar";
27959
- data: "queued" | "failed" | "passed" | "not-requested" | "blocked" | "running";
30013
+ data: "queued" | "running" | "failed" | "passed" | "not-requested" | "blocked";
27960
30014
  driverParam: string;
27961
30015
  notNull: true;
27962
30016
  hasDefault: true;
@@ -27969,7 +30023,7 @@ declare const componentImplementationStates: drizzle_orm_pg_core.PgTableWithColu
27969
30023
  generated: undefined;
27970
30024
  }, {}, {
27971
30025
  length: 20;
27972
- $type: "queued" | "failed" | "passed" | "not-requested" | "blocked" | "running";
30026
+ $type: "queued" | "running" | "failed" | "passed" | "not-requested" | "blocked";
27973
30027
  }>;
27974
30028
  requestErrorCode: drizzle_orm_pg_core.PgColumn<{
27975
30029
  name: "request_error_code";
@@ -28209,7 +30263,7 @@ declare const componentPreviewSources: drizzle_orm_pg_core.PgTableWithColumns<{
28209
30263
  tableName: "component_preview_sources";
28210
30264
  dataType: "string";
28211
30265
  columnType: "PgVarchar";
28212
- data: "dashboard" | "agent" | "codemod-receipt";
30266
+ data: "agent" | "dashboard" | "codemod-receipt";
28213
30267
  driverParam: string;
28214
30268
  notNull: true;
28215
30269
  hasDefault: true;
@@ -28222,7 +30276,7 @@ declare const componentPreviewSources: drizzle_orm_pg_core.PgTableWithColumns<{
28222
30276
  generated: undefined;
28223
30277
  }, {}, {
28224
30278
  length: 24;
28225
- $type: "dashboard" | "agent" | "codemod-receipt";
30279
+ $type: "agent" | "dashboard" | "codemod-receipt";
28226
30280
  }>;
28227
30281
  updatedBy: drizzle_orm_pg_core.PgColumn<{
28228
30282
  name: "updated_by";
@@ -36776,7 +38830,7 @@ declare const sectionImplementationRequests: drizzle_orm_pg_core.PgTableWithColu
36776
38830
  tableName: "section_implementation_requests";
36777
38831
  dataType: "string";
36778
38832
  columnType: "PgVarchar";
36779
- data: "queued" | "failed" | "passed" | "running" | "dispatched" | "dispatching";
38833
+ data: "queued" | "running" | "failed" | "passed" | "dispatched" | "dispatching";
36780
38834
  driverParam: string;
36781
38835
  notNull: true;
36782
38836
  hasDefault: true;
@@ -36789,7 +38843,7 @@ declare const sectionImplementationRequests: drizzle_orm_pg_core.PgTableWithColu
36789
38843
  generated: undefined;
36790
38844
  }, {}, {
36791
38845
  length: 20;
36792
- $type: "queued" | "failed" | "passed" | "running" | "dispatched" | "dispatching";
38846
+ $type: "queued" | "running" | "failed" | "passed" | "dispatched" | "dispatching";
36793
38847
  }>;
36794
38848
  schemaHash: drizzle_orm_pg_core.PgColumn<{
36795
38849
  name: "schema_hash";
@@ -38649,6 +40703,10 @@ type CloneJobStatus = "pending" | "working" | "done" | "failed";
38649
40703
  type CloneJobPayload = {
38650
40704
  /** the template scope to clone (what carries over). */
38651
40705
  scope?: BackupScope;
40706
+ /** A mode-switch job forces the copy's hosting mode (see `purpose`). Absent = inherit. */
40707
+ hostingMode?: "managed" | "hybrid" | "headless";
40708
+ /** The project a mode-switch copy replaces. */
40709
+ switchedFromProjectId?: string;
38652
40710
  };
38653
40711
  declare const cloneJobs: drizzle_orm_pg_core.PgTableWithColumns<{
38654
40712
  name: "clone_jobs";
@@ -38883,6 +40941,25 @@ declare const cloneJobs: drizzle_orm_pg_core.PgTableWithColumns<{
38883
40941
  }, {}, {
38884
40942
  $type: CloneJobPayload;
38885
40943
  }>;
40944
+ purpose: drizzle_orm_pg_core.PgColumn<{
40945
+ name: "purpose";
40946
+ tableName: "clone_jobs";
40947
+ dataType: "string";
40948
+ columnType: "PgVarchar";
40949
+ data: string;
40950
+ driverParam: string;
40951
+ notNull: true;
40952
+ hasDefault: true;
40953
+ isPrimaryKey: false;
40954
+ isAutoincrement: false;
40955
+ hasRuntimeDefault: false;
40956
+ enumValues: [string, ...string[]];
40957
+ baseColumn: never;
40958
+ identity: undefined;
40959
+ generated: undefined;
40960
+ }, {}, {
40961
+ length: 32;
40962
+ }>;
38886
40963
  initiatedBy: drizzle_orm_pg_core.PgColumn<{
38887
40964
  name: "initiated_by";
38888
40965
  tableName: "clone_jobs";
@@ -42913,7 +44990,7 @@ declare const mcpConnections: drizzle_orm_pg_core.PgTableWithColumns<{
42913
44990
  tableName: "mcp_connections";
42914
44991
  dataType: "string";
42915
44992
  columnType: "PgVarchar";
42916
- data: "static" | "access_token" | "dcr" | "custom_headers" | "none";
44993
+ data: "static" | "access_token" | "none" | "dcr" | "custom_headers";
42917
44994
  driverParam: string;
42918
44995
  notNull: true;
42919
44996
  hasDefault: false;
@@ -42926,7 +45003,7 @@ declare const mcpConnections: drizzle_orm_pg_core.PgTableWithColumns<{
42926
45003
  generated: undefined;
42927
45004
  }, {}, {
42928
45005
  length: 24;
42929
- $type: "static" | "access_token" | "dcr" | "custom_headers" | "none";
45006
+ $type: "static" | "access_token" | "none" | "dcr" | "custom_headers";
42930
45007
  }>;
42931
45008
  name: drizzle_orm_pg_core.PgColumn<{
42932
45009
  name: "name";
@@ -43978,6 +46055,13 @@ declare const formIntegrationDeliveries: drizzle_orm_pg_core.PgTableWithColumns<
43978
46055
  * Used by drizzle.config.ts and src/lib/db/schema.ts for re-export.
43979
46056
  */
43980
46057
 
46058
+ type schema_AbmCampaignInsert = AbmCampaignInsert;
46059
+ type schema_AbmCampaignOptions = AbmCampaignOptions;
46060
+ type schema_AbmCampaignSelect = AbmCampaignSelect;
46061
+ type schema_AbmResearchMode = AbmResearchMode;
46062
+ type schema_AbmShareScope = AbmShareScope;
46063
+ type schema_AbmShareTokenInsert = AbmShareTokenInsert;
46064
+ type schema_AbmShareTokenSelect = AbmShareTokenSelect;
43981
46065
  type schema_AccountInsert = AccountInsert;
43982
46066
  type schema_AccountSelect = AccountSelect;
43983
46067
  type schema_AdminActionLogInsert = AdminActionLogInsert;
@@ -44045,12 +46129,17 @@ type schema_BranchPreviewGrantInsert = BranchPreviewGrantInsert;
44045
46129
  type schema_BranchPreviewGrantSelect = BranchPreviewGrantSelect;
44046
46130
  type schema_BranchPreviewShareInsert = BranchPreviewShareInsert;
44047
46131
  type schema_BranchPreviewShareSelect = BranchPreviewShareSelect;
46132
+ type schema_BrandAssetRef = BrandAssetRef;
46133
+ type schema_BrandAssetSource = BrandAssetSource;
44048
46134
  type schema_BrandCustomFont = BrandCustomFont;
46135
+ type schema_BrandDesignState = BrandDesignState;
44049
46136
  type schema_BrandElevationLevel = BrandElevationLevel;
44050
46137
  type schema_BrandExtraColor = BrandExtraColor;
46138
+ type schema_BrandGradient = BrandGradient;
44051
46139
  type schema_BrandKit = BrandKit;
44052
46140
  type schema_BrandKitVersionInsert = BrandKitVersionInsert;
44053
46141
  type schema_BrandKitVersionSelect = BrandKitVersionSelect;
46142
+ type schema_BrandLinkOutcome = BrandLinkOutcome;
44054
46143
  type schema_BrandMotion = BrandMotion;
44055
46144
  type schema_BrandProfile = BrandProfile;
44056
46145
  type schema_BrandReview = BrandReview;
@@ -44066,6 +46155,8 @@ declare const schema_CONTENT_LOCK_MODES: typeof CONTENT_LOCK_MODES;
44066
46155
  declare const schema_CONTENT_LOCK_TARGET_KINDS: typeof CONTENT_LOCK_TARGET_KINDS;
44067
46156
  declare const schema_CONVERSION_PROPOSAL_STATUSES: typeof CONVERSION_PROPOSAL_STATUSES;
44068
46157
  declare const schema_CRM_STAGES: typeof CRM_STAGES;
46158
+ declare const schema_CUSTOM_AGENT_CAPABILITIES: typeof CUSTOM_AGENT_CAPABILITIES;
46159
+ declare const schema_CUSTOM_AGENT_INSTRUCTIONS_MAX: typeof CUSTOM_AGENT_INSTRUCTIONS_MAX;
44069
46160
  type schema_Capabilities = Capabilities;
44070
46161
  type schema_CloneJobInsert = CloneJobInsert;
44071
46162
  type schema_CloneJobPayload = CloneJobPayload;
@@ -44137,6 +46228,14 @@ type schema_ConversionProposalStatus = ConversionProposalStatus;
44137
46228
  type schema_CrmDealInsert = CrmDealInsert;
44138
46229
  type schema_CrmDealSelect = CrmDealSelect;
44139
46230
  type schema_CrmStage = CrmStage;
46231
+ type schema_CustomAgentCapability = CustomAgentCapability;
46232
+ type schema_CustomAgentInsert = CustomAgentInsert;
46233
+ type schema_CustomAgentRevisionSelect = CustomAgentRevisionSelect;
46234
+ type schema_CustomAgentRunSelect = CustomAgentRunSelect;
46235
+ type schema_CustomAgentRunStatus = CustomAgentRunStatus;
46236
+ type schema_CustomAgentSelect = CustomAgentSelect;
46237
+ type schema_CustomAgentSpeed = CustomAgentSpeed;
46238
+ type schema_CustomAgentStatus = CustomAgentStatus;
44140
46239
  type schema_CustomDomainInsert = CustomDomainInsert;
44141
46240
  type schema_CustomDomainSelect = CustomDomainSelect;
44142
46241
  type schema_CustomScripts = CustomScripts;
@@ -44147,6 +46246,9 @@ declare const schema_DEFAULT_LOCALE_CONFIG: typeof DEFAULT_LOCALE_CONFIG;
44147
46246
  declare const schema_DEFAULT_SEARCH_CONFIG: typeof DEFAULT_SEARCH_CONFIG;
44148
46247
  type schema_DeployTargetInsert = DeployTargetInsert;
44149
46248
  type schema_DeployTargetSelect = DeployTargetSelect;
46249
+ type schema_DesignInput = DesignInput;
46250
+ type schema_DesignSnapshot = DesignSnapshot;
46251
+ type schema_DesignToken = DesignToken;
44150
46252
  type schema_DeviceAuthorizationInsert = DeviceAuthorizationInsert;
44151
46253
  type schema_DeviceAuthorizationSelect = DeviceAuthorizationSelect;
44152
46254
  type schema_DeviceAuthorizationStatus = DeviceAuthorizationStatus;
@@ -44182,7 +46284,10 @@ type schema_FolderSelect = FolderSelect;
44182
46284
  type schema_FormContactInsert = FormContactInsert;
44183
46285
  type schema_FormContactSelect = FormContactSelect;
44184
46286
  type schema_FormField = FormField;
46287
+ type schema_FormFieldUi = FormFieldUi;
44185
46288
  type schema_FormFieldValidation = FormFieldValidation;
46289
+ type schema_FormImplementation = FormImplementation;
46290
+ type schema_FormImplementationState = FormImplementationState;
44186
46291
  type schema_FormInsert = FormInsert;
44187
46292
  type schema_FormIntegrationConfig = FormIntegrationConfig;
44188
46293
  type schema_FormIntegrationInsert = FormIntegrationInsert;
@@ -44215,6 +46320,7 @@ type schema_IndexNowKind = IndexNowKind;
44215
46320
  type schema_IndexNowStatus = IndexNowStatus;
44216
46321
  type schema_IndexNowSubmissionInsert = IndexNowSubmissionInsert;
44217
46322
  type schema_IndexNowSubmissionSelect = IndexNowSubmissionSelect;
46323
+ type schema_IngestReport = IngestReport;
44218
46324
  type schema_InstructionKind = InstructionKind;
44219
46325
  type schema_InstructionSource = InstructionSource;
44220
46326
  type schema_InternalJobRunInsert = InternalJobRunInsert;
@@ -44312,6 +46418,8 @@ type schema_PlanChangeInsert = PlanChangeInsert;
44312
46418
  type schema_PlanChangeSelect = PlanChangeSelect;
44313
46419
  type schema_PlanLimitsInsert = PlanLimitsInsert;
44314
46420
  type schema_PlanLimitsSelect = PlanLimitsSelect;
46421
+ type schema_PreviewTokenRevocationInsert = PreviewTokenRevocationInsert;
46422
+ type schema_PreviewTokenRevocationSelect = PreviewTokenRevocationSelect;
44315
46423
  type schema_ProjectBranchInsert = ProjectBranchInsert;
44316
46424
  type schema_ProjectBranchSelect = ProjectBranchSelect;
44317
46425
  type schema_ProjectBranchStatus = ProjectBranchStatus;
@@ -44419,6 +46527,7 @@ type schema_VerificationSelect = VerificationSelect;
44419
46527
  declare const schema_WRITE_ORIGINS: typeof WRITE_ORIGINS;
44420
46528
  type schema_WebflowIntegrationInsert = WebflowIntegrationInsert;
44421
46529
  type schema_WebflowIntegrationSelect = WebflowIntegrationSelect;
46530
+ type schema_WebhookAdvancedConfigRecord = WebhookAdvancedConfigRecord;
44422
46531
  type schema_WebhookDeliveryInsert = WebhookDeliveryInsert;
44423
46532
  type schema_WebhookDeliverySelect = WebhookDeliverySelect;
44424
46533
  type schema_WebhookEventType = WebhookEventType;
@@ -44433,6 +46542,8 @@ type schema_WorkspaceRoleInsert = WorkspaceRoleInsert;
44433
46542
  type schema_WorkspaceRoleSelect = WorkspaceRoleSelect;
44434
46543
  type schema_WorkspaceSelect = WorkspaceSelect;
44435
46544
  type schema_WriteOrigin = WriteOrigin;
46545
+ declare const schema_abmCampaigns: typeof abmCampaigns;
46546
+ declare const schema_abmShareTokens: typeof abmShareTokens;
44436
46547
  declare const schema_accounts: typeof accounts;
44437
46548
  declare const schema_adminActionLogs: typeof adminActionLogs;
44438
46549
  declare const schema_adminAgentSessions: typeof adminAgentSessions;
@@ -44501,6 +46612,9 @@ declare const schema_conversionProposals: typeof conversionProposals;
44501
46612
  declare const schema_crmConnections: typeof crmConnections;
44502
46613
  declare const schema_crmDeals: typeof crmDeals;
44503
46614
  declare const schema_crmOauthStates: typeof crmOauthStates;
46615
+ declare const schema_customAgentRevisions: typeof customAgentRevisions;
46616
+ declare const schema_customAgentRuns: typeof customAgentRuns;
46617
+ declare const schema_customAgents: typeof customAgents;
44504
46618
  declare const schema_customDomains: typeof customDomains;
44505
46619
  declare const schema_deployTargets: typeof deployTargets;
44506
46620
  declare const schema_deviceAuthorizations: typeof deviceAuthorizations;
@@ -44563,6 +46677,7 @@ declare const schema_paymentRecords: typeof paymentRecords;
44563
46677
  declare const schema_pendingInvites: typeof pendingInvites;
44564
46678
  declare const schema_planChanges: typeof planChanges;
44565
46679
  declare const schema_planLimits: typeof planLimits;
46680
+ declare const schema_previewTokenRevocations: typeof previewTokenRevocations;
44566
46681
  declare const schema_projectBranches: typeof projectBranches;
44567
46682
  declare const schema_projectEnvVars: typeof projectEnvVars;
44568
46683
  declare const schema_projectFolders: typeof projectFolders;
@@ -44620,7 +46735,7 @@ declare const schema_workspaceRoles: typeof workspaceRoles;
44620
46735
  declare const schema_workspaces: typeof workspaces;
44621
46736
  declare const schema_writeGovernanceColumns: typeof writeGovernanceColumns;
44622
46737
  declare namespace schema {
44623
- export { type schema_AccountInsert as AccountInsert, type schema_AccountSelect as AccountSelect, type schema_AdminActionLogInsert as AdminActionLogInsert, type schema_AdminActionLogSelect as AdminActionLogSelect, type schema_AdminAgentSessionInsert as AdminAgentSessionInsert, type schema_AdminAgentSessionSelect as AdminAgentSessionSelect, type schema_AdminNoteInsert as AdminNoteInsert, type schema_AdminNoteSelect as AdminNoteSelect, type schema_AeoConfig as AeoConfig, type schema_AgentInstructionInsert as AgentInstructionInsert, type schema_AgentInstructionSelect as AgentInstructionSelect, type schema_AgentKeyInsert as AgentKeyInsert, type schema_AgentKeySelect as AgentKeySelect, type schema_AgentMessageInsert as AgentMessageInsert, type schema_AgentMessageSelect as AgentMessageSelect, type schema_AgentSessionInsert as AgentSessionInsert, type schema_AgentSessionSelect as AgentSessionSelect, type schema_AiCreditLedgerInsert as AiCreditLedgerInsert, type schema_AiCreditLedgerSelect as AiCreditLedgerSelect, type schema_AiFinding as AiFinding, type schema_AiGenerationJobInsert as AiGenerationJobInsert, type schema_AiGenerationJobSelect as AiGenerationJobSelect, type schema_AiProviderKeyInsert as AiProviderKeyInsert, type schema_AiProviderKeySelect as AiProviderKeySelect, type schema_AiReportInsert as AiReportInsert, type schema_AiReportKind as AiReportKind, type schema_AiReportSelect as AiReportSelect, type schema_AnalyticsCursor as AnalyticsCursor, type schema_AnalyticsDailyTotals as AnalyticsDailyTotals, type schema_ApiKeyInsert as ApiKeyInsert, type schema_ApiKeyKind as ApiKeyKind, type schema_ApiKeyPermission as ApiKeyPermission, type schema_ApiKeySelect as ApiKeySelect, type schema_ApiKeyTokenType as ApiKeyTokenType, type schema_ApprovalStatus as ApprovalStatus, type schema_ArrayItemType as ArrayItemType, type schema_AuditLogInsert as AuditLogInsert, type schema_AuditLogSelect as AuditLogSelect, type schema_Autoresponder as Autoresponder, schema_BUILD_TRIGGER_KINDS as BUILD_TRIGGER_KINDS, type schema_BackupCounts as BackupCounts, type schema_BackupInsert as BackupInsert, type schema_BackupJobInsert as BackupJobInsert, type schema_BackupJobPayload as BackupJobPayload, type schema_BackupJobSelect as BackupJobSelect, type schema_BackupJobStatus as BackupJobStatus, type schema_BackupOperation as BackupOperation, type schema_BackupScope as BackupScope, type schema_BackupSelect as BackupSelect, type schema_BackupSource as BackupSource, type schema_BackupStatus as BackupStatus, type schema_BcmsMigrationFlagInsert as BcmsMigrationFlagInsert, type schema_BcmsMigrationFlagSelect as BcmsMigrationFlagSelect, type schema_BetaWaitlistInsert as BetaWaitlistInsert, type schema_BetaWaitlistSelect as BetaWaitlistSelect, type schema_BetaWaitlistStatus as BetaWaitlistStatus, type schema_BillingAddonInsert as BillingAddonInsert, type schema_BillingAddonSelect as BillingAddonSelect, type schema_BillingAlertInsert as BillingAlertInsert, type schema_BillingAlertSelect as BillingAlertSelect, type schema_BillingCustomerInsert as BillingCustomerInsert, type schema_BillingCustomerSelect as BillingCustomerSelect, type schema_BindingReport as BindingReport, type schema_BranchPreviewGrantInsert as BranchPreviewGrantInsert, type schema_BranchPreviewGrantSelect as BranchPreviewGrantSelect, type schema_BranchPreviewShareInsert as BranchPreviewShareInsert, type schema_BranchPreviewShareSelect as BranchPreviewShareSelect, type schema_BrandCustomFont as BrandCustomFont, type schema_BrandElevationLevel as BrandElevationLevel, type schema_BrandExtraColor as BrandExtraColor, type schema_BrandKit as BrandKit, type schema_BrandKitVersionInsert as BrandKitVersionInsert, type schema_BrandKitVersionSelect as BrandKitVersionSelect, type schema_BrandMotion as BrandMotion, type schema_BrandProfile as BrandProfile, type schema_BrandReview as BrandReview, type schema_BrandSpacing as BrandSpacing, type schema_BrandTokenKey as BrandTokenKey, type schema_BrandTypeStep as BrandTypeStep, type schema_BuildTriggerInsert as BuildTriggerInsert, type schema_BuildTriggerKind as BuildTriggerKind, type schema_BuildTriggerRunInsert as BuildTriggerRunInsert, type schema_BuildTriggerRunSelect as BuildTriggerRunSelect, type schema_BuildTriggerSelect as BuildTriggerSelect, schema_CONTENT_LOCK_MODES as CONTENT_LOCK_MODES, schema_CONTENT_LOCK_TARGET_KINDS as CONTENT_LOCK_TARGET_KINDS, schema_CONVERSION_PROPOSAL_STATUSES as CONVERSION_PROPOSAL_STATUSES, schema_CRM_STAGES as CRM_STAGES, type schema_Capabilities as Capabilities, type schema_CloneJobInsert as CloneJobInsert, type schema_CloneJobPayload as CloneJobPayload, type schema_CloneJobSelect as CloneJobSelect, type schema_CloneJobStatus as CloneJobStatus, type schema_CloneLinkInsert as CloneLinkInsert, type schema_CloneLinkSelect as CloneLinkSelect, type schema_CollectionAction as CollectionAction, type schema_CollectionGrantInsert as CollectionGrantInsert, type schema_CollectionGrantSelect as CollectionGrantSelect, type schema_CommentAnchor as CommentAnchor, type schema_CommentAttachment as CommentAttachment, type schema_CommentInsert as CommentInsert, type schema_CommentSelect as CommentSelect, type schema_ComponentAdapterSource as ComponentAdapterSource, type schema_ComponentCategory as ComponentCategory, type schema_ComponentFamilyManifestSelect as ComponentFamilyManifestSelect, type schema_ComponentGroupInsert as ComponentGroupInsert, type schema_ComponentGroupSelect as ComponentGroupSelect, type schema_ComponentImplementationAdapter as ComponentImplementationAdapter, type schema_ComponentImplementationAdapterInsert as ComponentImplementationAdapterInsert, type schema_ComponentImplementationAdapterSelect as ComponentImplementationAdapterSelect, type schema_ComponentImplementationApprovalSelect as ComponentImplementationApprovalSelect, type schema_ComponentImplementationCandidateInsert as ComponentImplementationCandidateInsert, type schema_ComponentImplementationCandidateSelect as ComponentImplementationCandidateSelect, type schema_ComponentImplementationChecks as ComponentImplementationChecks, type schema_ComponentImplementationEvidenceInsert as ComponentImplementationEvidenceInsert, type schema_ComponentImplementationEvidenceSelect as ComponentImplementationEvidenceSelect, type schema_ComponentImplementationRequestSelect as ComponentImplementationRequestSelect, type schema_ComponentImplementationStateSelect as ComponentImplementationStateSelect, type schema_ComponentInsert as ComponentInsert, type schema_ComponentNativeViewport as ComponentNativeViewport, type schema_ComponentPresetInsert as ComponentPresetInsert, type schema_ComponentPresetSelect as ComponentPresetSelect, type schema_ComponentPropDef as ComponentPropDef, type schema_ComponentRuntimeProviderProvenance as ComponentRuntimeProviderProvenance, type schema_ComponentSelect as ComponentSelect, type schema_ComponentStatus as ComponentStatus, type schema_ComponentSubField as ComponentSubField, type schema_ComponentVariantDelta as ComponentVariantDelta, type schema_ComponentVariantGroupInsert as ComponentVariantGroupInsert, type schema_ComponentVariantGroupSelect as ComponentVariantGroupSelect, type schema_ComponentVariantInsert as ComponentVariantInsert, type schema_ComponentVariantSelect as ComponentVariantSelect, type schema_ComponentViewportResult as ComponentViewportResult, type schema_ContentEntryInsert as ContentEntryInsert, type schema_ContentEntrySelect as ContentEntrySelect, type schema_ContentLockBlockFingerprint as ContentLockBlockFingerprint, type schema_ContentLockInsert as ContentLockInsert, type schema_ContentLockMode as ContentLockMode, type schema_ContentLockSelect as ContentLockSelect, type schema_ContentLockTargetKind as ContentLockTargetKind, type schema_ContentModelField as ContentModelField, type schema_ContentModelFieldConfig as ContentModelFieldConfig, type schema_ContentModelFieldType as ContentModelFieldType, type schema_ContentModelInsert as ContentModelInsert, type schema_ContentModelKind as ContentModelKind, type schema_ContentModelSelect as ContentModelSelect, type schema_ContentNavigationDoc as ContentNavigationDoc, type schema_ContentNavigationFolder as ContentNavigationFolder, type schema_ContentNavigationInsert as ContentNavigationInsert, type schema_ContentNavigationItem as ContentNavigationItem, type schema_ContentNavigationSelect as ContentNavigationSelect, type schema_ContentVersionInsert as ContentVersionInsert, type schema_ContentVersionSelect as ContentVersionSelect, type schema_ConversionBriefIssued as ConversionBriefIssued, type schema_ConversionProposal as ConversionProposal, type schema_ConversionProposalStatus as ConversionProposalStatus, type schema_CrmDealInsert as CrmDealInsert, type schema_CrmDealSelect as CrmDealSelect, type schema_CrmStage as CrmStage, type schema_CustomDomainInsert as CustomDomainInsert, type schema_CustomDomainSelect as CustomDomainSelect, type schema_CustomScripts as CustomScripts, schema_DEFAULT_AEO_CONFIG as DEFAULT_AEO_CONFIG, schema_DEFAULT_BRAND_KIT as DEFAULT_BRAND_KIT, schema_DEFAULT_HTTP_HEADERS as DEFAULT_HTTP_HEADERS, schema_DEFAULT_LOCALE_CONFIG as DEFAULT_LOCALE_CONFIG, schema_DEFAULT_SEARCH_CONFIG as DEFAULT_SEARCH_CONFIG, type schema_DeployTargetInsert as DeployTargetInsert, type schema_DeployTargetSelect as DeployTargetSelect, type schema_DeviceAuthorizationInsert as DeviceAuthorizationInsert, type schema_DeviceAuthorizationSelect as DeviceAuthorizationSelect, type schema_DeviceAuthorizationStatus as DeviceAuthorizationStatus, schema_EMPTY_CUSTOM_SCRIPTS as EMPTY_CUSTOM_SCRIPTS, schema_ENV_VAR_SCOPES as ENV_VAR_SCOPES, schema_EXECUTOR_COMMAND_KINDS as EXECUTOR_COMMAND_KINDS, schema_EXECUTOR_GRANT_STATUSES as EXECUTOR_GRANT_STATUSES, schema_EXECUTOR_INSTALLATION_STATUSES as EXECUTOR_INSTALLATION_STATUSES, schema_EXECUTOR_KINDS as EXECUTOR_KINDS, schema_EXECUTOR_LEASE_RELEASE_REASONS as EXECUTOR_LEASE_RELEASE_REASONS, schema_EXECUTOR_LEASE_STATES as EXECUTOR_LEASE_STATES, schema_EXECUTOR_SESSION_STATES as EXECUTOR_SESSION_STATES, type schema_EmailSuppressionInsert as EmailSuppressionInsert, type schema_EmailSuppressionSelect as EmailSuppressionSelect, type schema_EntryMetaJson as EntryMetaJson, type schema_EnvVarScope as EnvVarScope, type schema_ExecutionMutationBudget as ExecutionMutationBudget, type schema_ExecutionPathPolicy as ExecutionPathPolicy, type schema_ExecutorCommandKind as ExecutorCommandKind, type schema_ExecutorGrantStatus as ExecutorGrantStatus, type schema_ExecutorInstallationStatus as ExecutorInstallationStatus, type schema_ExecutorKind as ExecutorKind, type schema_ExecutorLeaseReleaseReason as ExecutorLeaseReleaseReason, type schema_ExecutorLeaseState as ExecutorLeaseState, type schema_ExecutorRepositoryClaim as ExecutorRepositoryClaim, type schema_ExecutorSessionState as ExecutorSessionState, type schema_ExternalDeploymentInsert as ExternalDeploymentInsert, type schema_ExternalDeploymentSelect as ExternalDeploymentSelect, schema_FULL_BACKUP_SCOPE as FULL_BACKUP_SCOPE, type schema_Fieldset as Fieldset, type schema_FolderInsert as FolderInsert, type schema_FolderSelect as FolderSelect, type schema_FormContactInsert as FormContactInsert, type schema_FormContactSelect as FormContactSelect, type schema_FormField as FormField, type schema_FormFieldValidation as FormFieldValidation, type schema_FormInsert as FormInsert, type schema_FormIntegrationConfig as FormIntegrationConfig, type schema_FormIntegrationInsert as FormIntegrationInsert, type schema_FormIntegrationProvider as FormIntegrationProvider, type schema_FormIntegrationSelect as FormIntegrationSelect, type schema_FormNotification as FormNotification, type schema_FormSelect as FormSelect, type schema_FormStatus as FormStatus, type schema_FormSubmissionInsert as FormSubmissionInsert, type schema_FormSubmissionSelect as FormSubmissionSelect, type schema_GeneratedTypesInsert as GeneratedTypesInsert, type schema_GeneratedTypesSelect as GeneratedTypesSelect, type schema_GithubInstallationInsert as GithubInstallationInsert, type schema_GithubInstallationSelect as GithubInstallationSelect, type schema_GoogleIntegrationInsert as GoogleIntegrationInsert, type schema_GoogleIntegrationSelect as GoogleIntegrationSelect, type schema_GrantKind as GrantKind, type schema_HostingConnectionInsert as HostingConnectionInsert, type schema_HostingConnectionSelect as HostingConnectionSelect, type schema_HttpHeadersConfig as HttpHeadersConfig, schema_IMPLEMENTATION_ATTEMPT_STATUSES as IMPLEMENTATION_ATTEMPT_STATUSES, schema_INDEXNOW_KINDS as INDEXNOW_KINDS, schema_INDEXNOW_STATUSES as INDEXNOW_STATUSES, schema_INSTRUCTION_BODY_MAX as INSTRUCTION_BODY_MAX, schema_INSTRUCTION_KINDS as INSTRUCTION_KINDS, schema_INSTRUCTION_SOURCES as INSTRUCTION_SOURCES, type schema_ImplementationAttemptStatus as ImplementationAttemptStatus, type schema_IndexNowConfig as IndexNowConfig, type schema_IndexNowKind as IndexNowKind, type schema_IndexNowStatus as IndexNowStatus, type schema_IndexNowSubmissionInsert as IndexNowSubmissionInsert, type schema_IndexNowSubmissionSelect as IndexNowSubmissionSelect, type schema_InstructionKind as InstructionKind, type schema_InstructionSource as InstructionSource, type schema_InternalJobRunInsert as InternalJobRunInsert, type schema_InternalJobRunSelect as InternalJobRunSelect, type schema_LocaleConfig as LocaleConfig, schema_MARKDOWN_FILE_STATUSES as MARKDOWN_FILE_STATUSES, schema_MCP_TASK_STATUSES as MCP_TASK_STATUSES, type schema_MarkdownFileInsert as MarkdownFileInsert, type schema_MarkdownFileSelect as MarkdownFileSelect, type schema_MarkdownFileStatus as MarkdownFileStatus, type schema_McpCallToolResultSnapshot as McpCallToolResultSnapshot, type schema_McpConnectionInsert as McpConnectionInsert, type schema_McpConnectionSelect as McpConnectionSelect, type schema_McpJsonRpcErrorSnapshot as McpJsonRpcErrorSnapshot, type schema_McpTaskInputState as McpTaskInputState, type schema_McpTaskInsert as McpTaskInsert, type schema_McpTaskPrincipalKind as McpTaskPrincipalKind, type schema_McpTaskSelect as McpTaskSelect, type schema_McpTaskStatus as McpTaskStatus, type schema_McpTaskTerminalSnapshot as McpTaskTerminalSnapshot, type schema_MediaAssetInsert as MediaAssetInsert, type schema_MediaAssetSelect as MediaAssetSelect, type schema_MigrationJobInsert as MigrationJobInsert, type schema_MigrationJobSelect as MigrationJobSelect, type schema_NewConversionBriefIssued as NewConversionBriefIssued, type schema_NewConversionProposal as NewConversionProposal, type schema_NewOrchestrationExecutionApproval as NewOrchestrationExecutionApproval, type schema_NewOrchestrationExecutorCommand as NewOrchestrationExecutorCommand, type schema_NewOrchestrationExecutorGrant as NewOrchestrationExecutorGrant, type schema_NewOrchestrationExecutorInstallation as NewOrchestrationExecutorInstallation, type schema_NewOrchestrationExecutorLease as NewOrchestrationExecutorLease, type schema_NewOrchestrationExecutorSession as NewOrchestrationExecutorSession, type schema_NewOrchestrationImplementationAttempt as NewOrchestrationImplementationAttempt, type schema_NewOrchestrationPatchManifest as NewOrchestrationPatchManifest, type schema_NewOrchestrationPullRequestReceipt as NewOrchestrationPullRequestReceipt, type schema_NewOrchestrationValidationEnvelope as NewOrchestrationValidationEnvelope, type schema_NewOrchestrationValidationEvidence as NewOrchestrationValidationEvidence, type schema_NewsletterIssueInsert as NewsletterIssueInsert, type schema_NewsletterIssueSelect as NewsletterIssueSelect, type schema_NewsletterSendInsert as NewsletterSendInsert, type schema_NewsletterSendSelect as NewsletterSendSelect, schema_ORCHESTRATION_RUN_STATUSES as ORCHESTRATION_RUN_STATUSES, type schema_OauthClientInsert as OauthClientInsert, type schema_OauthClientSelect as OauthClientSelect, type schema_OrchestrationBoundTargetMetadata as OrchestrationBoundTargetMetadata, type schema_OrchestrationExecutionApproval as OrchestrationExecutionApproval, type schema_OrchestrationExecutorCommand as OrchestrationExecutorCommand, type schema_OrchestrationExecutorGrant as OrchestrationExecutorGrant, type schema_OrchestrationExecutorInstallation as OrchestrationExecutorInstallation, type schema_OrchestrationExecutorLease as OrchestrationExecutorLease, type schema_OrchestrationExecutorSession as OrchestrationExecutorSession, type schema_OrchestrationImplementationAttempt as OrchestrationImplementationAttempt, type schema_OrchestrationLegacyBoundTargetMetadata as OrchestrationLegacyBoundTargetMetadata, type schema_OrchestrationLegacyTargetBinding as OrchestrationLegacyTargetBinding, type schema_OrchestrationLegacyUnboundTargetMetadata as OrchestrationLegacyUnboundTargetMetadata, type schema_OrchestrationPatchManifest as OrchestrationPatchManifest, type schema_OrchestrationPullRequestReceipt as OrchestrationPullRequestReceipt, type schema_OrchestrationRunCommandResultInsert as OrchestrationRunCommandResultInsert, type schema_OrchestrationRunCommandResultPayload as OrchestrationRunCommandResultPayload, type schema_OrchestrationRunCommandResultSelect as OrchestrationRunCommandResultSelect, type schema_OrchestrationRunEventInsert as OrchestrationRunEventInsert, type schema_OrchestrationRunEventPayload as OrchestrationRunEventPayload, type schema_OrchestrationRunEventSelect as OrchestrationRunEventSelect, type schema_OrchestrationRunInsert as OrchestrationRunInsert, type schema_OrchestrationRunLifecycleCommand as OrchestrationRunLifecycleCommand, type schema_OrchestrationRunSelect as OrchestrationRunSelect, type schema_OrchestrationRunStartKeyInsert as OrchestrationRunStartKeyInsert, type schema_OrchestrationRunStartKeySelect as OrchestrationRunStartKeySelect, type schema_OrchestrationRunStatus as OrchestrationRunStatus, type schema_OrchestrationTargetBinding as OrchestrationTargetBinding, type schema_OrchestrationTargetKind as OrchestrationTargetKind, type schema_OrchestrationTargetMetadata as OrchestrationTargetMetadata, type schema_OrchestrationValidationEnvelope as OrchestrationValidationEnvelope, type schema_OrchestrationValidationEvidence as OrchestrationValidationEvidence, schema_PATCH_OPERATIONS as PATCH_OPERATIONS, type schema_PageInsert as PageInsert, type schema_PageMetaJson as PageMetaJson, type schema_PageRouting as PageRouting, type schema_PageSelect as PageSelect, type schema_PageTypeInsert as PageTypeInsert, type schema_PageTypeSelect as PageTypeSelect, type schema_PageVersionInsert as PageVersionInsert, type schema_PageVersionSelect as PageVersionSelect, type schema_PageVersionSnapshot as PageVersionSnapshot, type schema_PasskeyInsert as PasskeyInsert, type schema_PasskeySelect as PasskeySelect, type schema_PatchOperation as PatchOperation, type schema_PatternSegment as PatternSegment, type schema_PaymentRecordInsert as PaymentRecordInsert, type schema_PaymentRecordSelect as PaymentRecordSelect, type schema_PendingInviteInsert as PendingInviteInsert, type schema_PendingInviteSelect as PendingInviteSelect, type schema_PendingMainPublish as PendingMainPublish, type schema_PlanChangeInsert as PlanChangeInsert, type schema_PlanChangeSelect as PlanChangeSelect, type schema_PlanLimitsInsert as PlanLimitsInsert, type schema_PlanLimitsSelect as PlanLimitsSelect, type schema_ProjectBranchInsert as ProjectBranchInsert, type schema_ProjectBranchSelect as ProjectBranchSelect, type schema_ProjectBranchStatus as ProjectBranchStatus, type schema_ProjectEnvVarInsert as ProjectEnvVarInsert, type schema_ProjectEnvVarSelect as ProjectEnvVarSelect, type schema_ProjectFolderSelect as ProjectFolderSelect, type schema_ProjectFormDefaults as ProjectFormDefaults, type schema_ProjectInsert as ProjectInsert, type schema_ProjectLayoutInsert as ProjectLayoutInsert, type schema_ProjectLayoutSelect as ProjectLayoutSelect, type schema_ProjectLayoutVersionSelect as ProjectLayoutVersionSelect, type schema_ProjectMemberInsert as ProjectMemberInsert, type schema_ProjectMemberSelect as ProjectMemberSelect, type schema_ProjectOrchestrationStateInsert as ProjectOrchestrationStateInsert, type schema_ProjectOrchestrationStateSelect as ProjectOrchestrationStateSelect, type schema_ProjectRepoInsert as ProjectRepoInsert, type schema_ProjectRepoSelect as ProjectRepoSelect, type schema_ProjectSelect as ProjectSelect, type schema_ProjectSuggestionInsert as ProjectSuggestionInsert, type schema_ProjectSuggestionSelect as ProjectSuggestionSelect, type schema_ProjectTransferInsert as ProjectTransferInsert, type schema_ProjectTransferSelect as ProjectTransferSelect, type schema_PublishDeliverySelect as PublishDeliverySelect, type schema_PublishInsert as PublishInsert, type schema_PublishItemSelect as PublishItemSelect, type schema_PublishSelect as PublishSelect, type schema_QaCategory as QaCategory, type schema_QaFinding as QaFinding, type schema_QaReportInsert as QaReportInsert, type schema_QaReportSelect as QaReportSelect, type schema_QaSeverity as QaSeverity, type schema_RebuildQueueInsert as RebuildQueueInsert, type schema_RebuildQueueSelect as RebuildQueueSelect, type schema_RedirectInsert as RedirectInsert, type schema_RedirectSelect as RedirectSelect, type schema_ReleaseInsert as ReleaseInsert, type schema_ReleaseSelect as ReleaseSelect, type schema_RevalidationConfig as RevalidationConfig, type schema_RobotsConfig as RobotsConfig, type schema_RssConfig as RssConfig, type schema_RssFieldMap as RssFieldMap, schema_SECTION_IMPLEMENTATION_REQUEST_STATUSES as SECTION_IMPLEMENTATION_REQUEST_STATUSES, schema_SITE_FILE_KINDS as SITE_FILE_KINDS, schema_SUGGESTION_KINDS as SUGGESTION_KINDS, type schema_SearchConfig as SearchConfig, type schema_SectionDefinitionInsert as SectionDefinitionInsert, type schema_SectionDefinitionSelect as SectionDefinitionSelect, type schema_SectionDefinitionVersionSelect as SectionDefinitionVersionSelect, type schema_SectionImplementationRequestStatus as SectionImplementationRequestStatus, type schema_SectionManifestPayload as SectionManifestPayload, type schema_SectionSchemaKind as SectionSchemaKind, type schema_SectionValidationPayload as SectionValidationPayload, type schema_SectionValidationViewportResult as SectionValidationViewportResult, type schema_SectionZoneSelect as SectionZoneSelect, type schema_SeoDefaults as SeoDefaults, type schema_SeoReportInsert as SeoReportInsert, type schema_SeoReportMetrics as SeoReportMetrics, type schema_SeoReportSelect as SeoReportSelect, type schema_SessionInsert as SessionInsert, type schema_SessionSelect as SessionSelect, type schema_ShareLinkInsert as ShareLinkInsert, type schema_ShareLinkSelect as ShareLinkSelect, type schema_SiteFileInsert as SiteFileInsert, type schema_SiteFileKind as SiteFileKind, type schema_SiteFileSelect as SiteFileSelect, type schema_SiteSchema as SiteSchema, type schema_SitemapConfig as SitemapConfig, type schema_SitemapExtraUrl as SitemapExtraUrl, type schema_SsoProviderInsert as SsoProviderInsert, type schema_SsoProviderSelect as SsoProviderSelect, type schema_StorageConfigInsert as StorageConfigInsert, type schema_StorageConfigSelect as StorageConfigSelect, type schema_SubscriptionAddonInsert as SubscriptionAddonInsert, type schema_SubscriptionAddonSelect as SubscriptionAddonSelect, type schema_SubscriptionInsert as SubscriptionInsert, type schema_SubscriptionSelect as SubscriptionSelect, type schema_SuggestionKind as SuggestionKind, type schema_SuggestionTrigger as SuggestionTrigger, type schema_SupersededR2KeyInsert as SupersededR2KeyInsert, type schema_SupersededR2KeySelect as SupersededR2KeySelect, type schema_SupportAttachment as SupportAttachment, type schema_SupportTicketInsert as SupportTicketInsert, type schema_SupportTicketMessageInsert as SupportTicketMessageInsert, type schema_SupportTicketMessageSelect as SupportTicketMessageSelect, type schema_SupportTicketSelect as SupportTicketSelect, type schema_TemplateCategory as TemplateCategory, type schema_TemplateFramework as TemplateFramework, type schema_TemplateInsert as TemplateInsert, type schema_TemplateScope as TemplateScope, type schema_TemplateSelect as TemplateSelect, type schema_TemplateVisibility as TemplateVisibility, type schema_TwoFactorInsert as TwoFactorInsert, type schema_TwoFactorSelect as TwoFactorSelect, type schema_TypegenQueueInsert as TypegenQueueInsert, type schema_TypegenQueueSelect as TypegenQueueSelect, type schema_UserInsert as UserInsert, type schema_UserNotificationInsert as UserNotificationInsert, type schema_UserNotificationSelect as UserNotificationSelect, type schema_UserSelect as UserSelect, schema_VALIDATION_ENVELOPE_STATUSES as VALIDATION_ENVELOPE_STATUSES, schema_VALIDATION_LIVE_STATUSES as VALIDATION_LIVE_STATUSES, type schema_ValidationEnvelopeStatus as ValidationEnvelopeStatus, type schema_VerificationInsert as VerificationInsert, type schema_VerificationSelect as VerificationSelect, schema_WRITE_ORIGINS as WRITE_ORIGINS, type schema_WebflowIntegrationInsert as WebflowIntegrationInsert, type schema_WebflowIntegrationSelect as WebflowIntegrationSelect, type schema_WebhookDeliveryInsert as WebhookDeliveryInsert, type schema_WebhookDeliverySelect as WebhookDeliverySelect, type schema_WebhookEventType as WebhookEventType, type schema_WebhookInsert as WebhookInsert, type schema_WebhookSelect as WebhookSelect, type schema_WorkflowStageInsert as WorkflowStageInsert, type schema_WorkflowStageSelect as WorkflowStageSelect, type schema_WorkspaceInsert as WorkspaceInsert, type schema_WorkspaceMemberInsert as WorkspaceMemberInsert, type schema_WorkspaceMemberSelect as WorkspaceMemberSelect, type schema_WorkspaceRoleInsert as WorkspaceRoleInsert, type schema_WorkspaceRoleSelect as WorkspaceRoleSelect, type schema_WorkspaceSelect as WorkspaceSelect, type schema_WriteOrigin as WriteOrigin, schema_accounts as accounts, schema_adminActionLogs as adminActionLogs, schema_adminAgentSessions as adminAgentSessions, schema_adminNotes as adminNotes, schema_agentInstructions as agentInstructions, schema_agentKeys as agentKeys, schema_agentMessages as agentMessages, schema_agentSessions as agentSessions, schema_aiCreditLedger as aiCreditLedger, schema_aiGenerationJobs as aiGenerationJobs, schema_aiProviderKeys as aiProviderKeys, schema_aiReports as aiReports, schema_analyticsCursor as analyticsCursor, schema_analyticsDailyBreakdown as analyticsDailyBreakdown, schema_analyticsDailyPages as analyticsDailyPages, schema_analyticsDailyReferrers as analyticsDailyReferrers, schema_analyticsDailyTotals as analyticsDailyTotals, schema_analyticsEventsRaw as analyticsEventsRaw, schema_apiKeys as apiKeys, schema_apiKeysRelations as apiKeysRelations, schema_auditColumns as auditColumns, schema_auditLogs as auditLogs, schema_backupJobs as backupJobs, schema_backups as backups, schema_bcmsMigrationFlags as bcmsMigrationFlags, schema_betaWaitlist as betaWaitlist, schema_billingAddons as billingAddons, schema_billingAlerts as billingAlerts, schema_billingCustomers as billingCustomers, schema_branchColumns as branchColumns, schema_branchPreviewGrants as branchPreviewGrants, schema_branchPreviewShares as branchPreviewShares, schema_brandKitVersions as brandKitVersions, schema_buildTriggerRuns as buildTriggerRuns, schema_buildTriggers as buildTriggers, schema_cloneJobs as cloneJobs, schema_cloneLinks as cloneLinks, schema_collectionGrants as collectionGrants, schema_comments as comments, schema_componentFamilyManifests as componentFamilyManifests, schema_componentGroups as componentGroups, schema_componentImplementationAdapters as componentImplementationAdapters, schema_componentImplementationApprovals as componentImplementationApprovals, schema_componentImplementationCandidates as componentImplementationCandidates, schema_componentImplementationEvidence as componentImplementationEvidence, schema_componentImplementationRequests as componentImplementationRequests, schema_componentImplementationStates as componentImplementationStates, schema_componentPresets as componentPresets, schema_componentPresetsRelations as componentPresetsRelations, schema_componentPreviewBundles as componentPreviewBundles, schema_componentPreviewSources as componentPreviewSources, schema_componentVariantGroups as componentVariantGroups, schema_componentVariants as componentVariants, schema_componentVariantsRelations as componentVariantsRelations, schema_components as components, schema_componentsRelations as componentsRelations, schema_contentEntries as contentEntries, schema_contentEntriesRelations as contentEntriesRelations, schema_contentLocks as contentLocks, schema_contentModels as contentModels, schema_contentModelsRelations as contentModelsRelations, schema_contentNavigation as contentNavigation, schema_contentVersions as contentVersions, schema_conversionBriefsIssued as conversionBriefsIssued, schema_conversionProposals as conversionProposals, schema_crmConnections as crmConnections, schema_crmDeals as crmDeals, schema_crmOauthStates as crmOauthStates, schema_customDomains as customDomains, schema_deployTargets as deployTargets, schema_deviceAuthorizations as deviceAuthorizations, schema_emailSuppressions as emailSuppressions, schema_externalDeployments as externalDeployments, schema_folders as folders, schema_foldersRelations as foldersRelations, schema_formContacts as formContacts, schema_formContactsRelations as formContactsRelations, schema_formIntegrationDeliveries as formIntegrationDeliveries, schema_formIntegrations as formIntegrations, schema_formIntegrationsRelations as formIntegrationsRelations, schema_formSubmissions as formSubmissions, schema_forms as forms, schema_formsRelations as formsRelations, schema_generatedTypes as generatedTypes, schema_githubInstallations as githubInstallations, schema_googleIntegrations as googleIntegrations, schema_googleIntegrationsRelations as googleIntegrationsRelations, schema_hostingConnections as hostingConnections, schema_indexnowSubmissions as indexnowSubmissions, schema_internalJobRuns as internalJobRuns, schema_markdownFiles as markdownFiles, schema_mcpConnections as mcpConnections, schema_mcpTasks as mcpTasks, schema_mediaAssets as mediaAssets, schema_mediaAssetsRelations as mediaAssetsRelations, schema_migrationJobs as migrationJobs, schema_newsletterIssues as newsletterIssues, schema_newsletterSends as newsletterSends, schema_oauthClients as oauthClients, schema_orchestrationDeploymentAuthorizations as orchestrationDeploymentAuthorizations, schema_orchestrationDeploymentRequests as orchestrationDeploymentRequests, schema_orchestrationExecutionApprovals as orchestrationExecutionApprovals, schema_orchestrationExecutorCommands as orchestrationExecutorCommands, schema_orchestrationExecutorGrants as orchestrationExecutorGrants, schema_orchestrationExecutorInstallations as orchestrationExecutorInstallations, schema_orchestrationExecutorLeases as orchestrationExecutorLeases, schema_orchestrationExecutorSessions as orchestrationExecutorSessions, schema_orchestrationImplementationAttempts as orchestrationImplementationAttempts, schema_orchestrationMergeAuthorizations as orchestrationMergeAuthorizations, schema_orchestrationPatchManifests as orchestrationPatchManifests, schema_orchestrationPlanSnapshots as orchestrationPlanSnapshots, schema_orchestrationPullRequestReceipts as orchestrationPullRequestReceipts, schema_orchestrationRunCommandResults as orchestrationRunCommandResults, schema_orchestrationRunEvents as orchestrationRunEvents, schema_orchestrationRunStartKeys as orchestrationRunStartKeys, schema_orchestrationRuns as orchestrationRuns, schema_orchestrationValidationEnvelopes as orchestrationValidationEnvelopes, schema_orchestrationValidationEvidence as orchestrationValidationEvidence, schema_orchestrationVisualApprovals as orchestrationVisualApprovals, schema_pageFolders as pageFolders, schema_pageFoldersRelations as pageFoldersRelations, schema_pageTypes as pageTypes, schema_pageVersions as pageVersions, schema_pages as pages, schema_pagesRelations as pagesRelations, schema_passkeys as passkeys, schema_paymentRecords as paymentRecords, schema_pendingInvites as pendingInvites, schema_planChanges as planChanges, schema_planLimits as planLimits, schema_projectBranches as projectBranches, schema_projectEnvVars as projectEnvVars, schema_projectFolders as projectFolders, schema_projectLayoutVersions as projectLayoutVersions, schema_projectLayouts as projectLayouts, schema_projectMembers as projectMembers, schema_projectOrchestrationStates as projectOrchestrationStates, schema_projectRepos as projectRepos, schema_projectSuggestions as projectSuggestions, schema_projectTransfers as projectTransfers, schema_projects as projects, schema_projectsRelations as projectsRelations, schema_publishDeliveries as publishDeliveries, schema_publishItems as publishItems, schema_publishes as publishes, schema_qaReports as qaReports, schema_rebuildQueue as rebuildQueue, schema_redirects as redirects, schema_releases as releases, schema_sectionDefinitionVersions as sectionDefinitionVersions, schema_sectionDefinitions as sectionDefinitions, schema_sectionImplementationRequests as sectionImplementationRequests, schema_sectionManifests as sectionManifests, schema_sectionValidationRuns as sectionValidationRuns, schema_sectionVisualApprovals as sectionVisualApprovals, schema_sectionZoneAttachments as sectionZoneAttachments, schema_sectionZoneReleases as sectionZoneReleases, schema_sectionZones as sectionZones, schema_seoReports as seoReports, schema_sessions as sessions, schema_shareLinks as shareLinks, schema_siteFiles as siteFiles, schema_softDeleteColumn as softDeleteColumn, schema_ssoProviders as ssoProviders, schema_storageConfigs as storageConfigs, schema_subscriptionAddons as subscriptionAddons, schema_subscriptions as subscriptions, schema_supersededR2Keys as supersededR2Keys, schema_supportTicketMessages as supportTicketMessages, schema_supportTickets as supportTickets, schema_templates as templates, schema_templatesRelations as templatesRelations, schema_twoFactor as twoFactor, schema_typegenQueue as typegenQueue, schema_userNotifications as userNotifications, schema_users as users, schema_verification as verification, schema_webflowIntegrations as webflowIntegrations, schema_webhookDeliveries as webhookDeliveries, schema_webhooks as webhooks, schema_webhooksRelations as webhooksRelations, schema_workflowStages as workflowStages, schema_workspaceMembers as workspaceMembers, schema_workspaceRoles as workspaceRoles, schema_workspaces as workspaces, schema_writeGovernanceColumns as writeGovernanceColumns };
46738
+ export { type schema_AbmCampaignInsert as AbmCampaignInsert, type schema_AbmCampaignOptions as AbmCampaignOptions, type schema_AbmCampaignSelect as AbmCampaignSelect, type schema_AbmResearchMode as AbmResearchMode, type schema_AbmShareScope as AbmShareScope, type schema_AbmShareTokenInsert as AbmShareTokenInsert, type schema_AbmShareTokenSelect as AbmShareTokenSelect, type schema_AccountInsert as AccountInsert, type schema_AccountSelect as AccountSelect, type schema_AdminActionLogInsert as AdminActionLogInsert, type schema_AdminActionLogSelect as AdminActionLogSelect, type schema_AdminAgentSessionInsert as AdminAgentSessionInsert, type schema_AdminAgentSessionSelect as AdminAgentSessionSelect, type schema_AdminNoteInsert as AdminNoteInsert, type schema_AdminNoteSelect as AdminNoteSelect, type schema_AeoConfig as AeoConfig, type schema_AgentInstructionInsert as AgentInstructionInsert, type schema_AgentInstructionSelect as AgentInstructionSelect, type schema_AgentKeyInsert as AgentKeyInsert, type schema_AgentKeySelect as AgentKeySelect, type schema_AgentMessageInsert as AgentMessageInsert, type schema_AgentMessageSelect as AgentMessageSelect, type schema_AgentSessionInsert as AgentSessionInsert, type schema_AgentSessionSelect as AgentSessionSelect, type schema_AiCreditLedgerInsert as AiCreditLedgerInsert, type schema_AiCreditLedgerSelect as AiCreditLedgerSelect, type schema_AiFinding as AiFinding, type schema_AiGenerationJobInsert as AiGenerationJobInsert, type schema_AiGenerationJobSelect as AiGenerationJobSelect, type schema_AiProviderKeyInsert as AiProviderKeyInsert, type schema_AiProviderKeySelect as AiProviderKeySelect, type schema_AiReportInsert as AiReportInsert, type schema_AiReportKind as AiReportKind, type schema_AiReportSelect as AiReportSelect, type schema_AnalyticsCursor as AnalyticsCursor, type schema_AnalyticsDailyTotals as AnalyticsDailyTotals, type schema_ApiKeyInsert as ApiKeyInsert, type schema_ApiKeyKind as ApiKeyKind, type schema_ApiKeyPermission as ApiKeyPermission, type schema_ApiKeySelect as ApiKeySelect, type schema_ApiKeyTokenType as ApiKeyTokenType, type schema_ApprovalStatus as ApprovalStatus, type schema_ArrayItemType as ArrayItemType, type schema_AuditLogInsert as AuditLogInsert, type schema_AuditLogSelect as AuditLogSelect, type schema_Autoresponder as Autoresponder, schema_BUILD_TRIGGER_KINDS as BUILD_TRIGGER_KINDS, type schema_BackupCounts as BackupCounts, type schema_BackupInsert as BackupInsert, type schema_BackupJobInsert as BackupJobInsert, type schema_BackupJobPayload as BackupJobPayload, type schema_BackupJobSelect as BackupJobSelect, type schema_BackupJobStatus as BackupJobStatus, type schema_BackupOperation as BackupOperation, type schema_BackupScope as BackupScope, type schema_BackupSelect as BackupSelect, type schema_BackupSource as BackupSource, type schema_BackupStatus as BackupStatus, type schema_BcmsMigrationFlagInsert as BcmsMigrationFlagInsert, type schema_BcmsMigrationFlagSelect as BcmsMigrationFlagSelect, type schema_BetaWaitlistInsert as BetaWaitlistInsert, type schema_BetaWaitlistSelect as BetaWaitlistSelect, type schema_BetaWaitlistStatus as BetaWaitlistStatus, type schema_BillingAddonInsert as BillingAddonInsert, type schema_BillingAddonSelect as BillingAddonSelect, type schema_BillingAlertInsert as BillingAlertInsert, type schema_BillingAlertSelect as BillingAlertSelect, type schema_BillingCustomerInsert as BillingCustomerInsert, type schema_BillingCustomerSelect as BillingCustomerSelect, type schema_BindingReport as BindingReport, type schema_BranchPreviewGrantInsert as BranchPreviewGrantInsert, type schema_BranchPreviewGrantSelect as BranchPreviewGrantSelect, type schema_BranchPreviewShareInsert as BranchPreviewShareInsert, type schema_BranchPreviewShareSelect as BranchPreviewShareSelect, type schema_BrandAssetRef as BrandAssetRef, type schema_BrandAssetSource as BrandAssetSource, type schema_BrandCustomFont as BrandCustomFont, type schema_BrandDesignState as BrandDesignState, type schema_BrandElevationLevel as BrandElevationLevel, type schema_BrandExtraColor as BrandExtraColor, type schema_BrandGradient as BrandGradient, type schema_BrandKit as BrandKit, type schema_BrandKitVersionInsert as BrandKitVersionInsert, type schema_BrandKitVersionSelect as BrandKitVersionSelect, type schema_BrandLinkOutcome as BrandLinkOutcome, type schema_BrandMotion as BrandMotion, type schema_BrandProfile as BrandProfile, type schema_BrandReview as BrandReview, type schema_BrandSpacing as BrandSpacing, type schema_BrandTokenKey as BrandTokenKey, type schema_BrandTypeStep as BrandTypeStep, type schema_BuildTriggerInsert as BuildTriggerInsert, type schema_BuildTriggerKind as BuildTriggerKind, type schema_BuildTriggerRunInsert as BuildTriggerRunInsert, type schema_BuildTriggerRunSelect as BuildTriggerRunSelect, type schema_BuildTriggerSelect as BuildTriggerSelect, schema_CONTENT_LOCK_MODES as CONTENT_LOCK_MODES, schema_CONTENT_LOCK_TARGET_KINDS as CONTENT_LOCK_TARGET_KINDS, schema_CONVERSION_PROPOSAL_STATUSES as CONVERSION_PROPOSAL_STATUSES, schema_CRM_STAGES as CRM_STAGES, schema_CUSTOM_AGENT_CAPABILITIES as CUSTOM_AGENT_CAPABILITIES, schema_CUSTOM_AGENT_INSTRUCTIONS_MAX as CUSTOM_AGENT_INSTRUCTIONS_MAX, type schema_Capabilities as Capabilities, type schema_CloneJobInsert as CloneJobInsert, type schema_CloneJobPayload as CloneJobPayload, type schema_CloneJobSelect as CloneJobSelect, type schema_CloneJobStatus as CloneJobStatus, type schema_CloneLinkInsert as CloneLinkInsert, type schema_CloneLinkSelect as CloneLinkSelect, type schema_CollectionAction as CollectionAction, type schema_CollectionGrantInsert as CollectionGrantInsert, type schema_CollectionGrantSelect as CollectionGrantSelect, type schema_CommentAnchor as CommentAnchor, type schema_CommentAttachment as CommentAttachment, type schema_CommentInsert as CommentInsert, type schema_CommentSelect as CommentSelect, type schema_ComponentAdapterSource as ComponentAdapterSource, type schema_ComponentCategory as ComponentCategory, type schema_ComponentFamilyManifestSelect as ComponentFamilyManifestSelect, type schema_ComponentGroupInsert as ComponentGroupInsert, type schema_ComponentGroupSelect as ComponentGroupSelect, type schema_ComponentImplementationAdapter as ComponentImplementationAdapter, type schema_ComponentImplementationAdapterInsert as ComponentImplementationAdapterInsert, type schema_ComponentImplementationAdapterSelect as ComponentImplementationAdapterSelect, type schema_ComponentImplementationApprovalSelect as ComponentImplementationApprovalSelect, type schema_ComponentImplementationCandidateInsert as ComponentImplementationCandidateInsert, type schema_ComponentImplementationCandidateSelect as ComponentImplementationCandidateSelect, type schema_ComponentImplementationChecks as ComponentImplementationChecks, type schema_ComponentImplementationEvidenceInsert as ComponentImplementationEvidenceInsert, type schema_ComponentImplementationEvidenceSelect as ComponentImplementationEvidenceSelect, type schema_ComponentImplementationRequestSelect as ComponentImplementationRequestSelect, type schema_ComponentImplementationStateSelect as ComponentImplementationStateSelect, type schema_ComponentInsert as ComponentInsert, type schema_ComponentNativeViewport as ComponentNativeViewport, type schema_ComponentPresetInsert as ComponentPresetInsert, type schema_ComponentPresetSelect as ComponentPresetSelect, type schema_ComponentPropDef as ComponentPropDef, type schema_ComponentRuntimeProviderProvenance as ComponentRuntimeProviderProvenance, type schema_ComponentSelect as ComponentSelect, type schema_ComponentStatus as ComponentStatus, type schema_ComponentSubField as ComponentSubField, type schema_ComponentVariantDelta as ComponentVariantDelta, type schema_ComponentVariantGroupInsert as ComponentVariantGroupInsert, type schema_ComponentVariantGroupSelect as ComponentVariantGroupSelect, type schema_ComponentVariantInsert as ComponentVariantInsert, type schema_ComponentVariantSelect as ComponentVariantSelect, type schema_ComponentViewportResult as ComponentViewportResult, type schema_ContentEntryInsert as ContentEntryInsert, type schema_ContentEntrySelect as ContentEntrySelect, type schema_ContentLockBlockFingerprint as ContentLockBlockFingerprint, type schema_ContentLockInsert as ContentLockInsert, type schema_ContentLockMode as ContentLockMode, type schema_ContentLockSelect as ContentLockSelect, type schema_ContentLockTargetKind as ContentLockTargetKind, type schema_ContentModelField as ContentModelField, type schema_ContentModelFieldConfig as ContentModelFieldConfig, type schema_ContentModelFieldType as ContentModelFieldType, type schema_ContentModelInsert as ContentModelInsert, type schema_ContentModelKind as ContentModelKind, type schema_ContentModelSelect as ContentModelSelect, type schema_ContentNavigationDoc as ContentNavigationDoc, type schema_ContentNavigationFolder as ContentNavigationFolder, type schema_ContentNavigationInsert as ContentNavigationInsert, type schema_ContentNavigationItem as ContentNavigationItem, type schema_ContentNavigationSelect as ContentNavigationSelect, type schema_ContentVersionInsert as ContentVersionInsert, type schema_ContentVersionSelect as ContentVersionSelect, type schema_ConversionBriefIssued as ConversionBriefIssued, type schema_ConversionProposal as ConversionProposal, type schema_ConversionProposalStatus as ConversionProposalStatus, type schema_CrmDealInsert as CrmDealInsert, type schema_CrmDealSelect as CrmDealSelect, type schema_CrmStage as CrmStage, type schema_CustomAgentCapability as CustomAgentCapability, type schema_CustomAgentInsert as CustomAgentInsert, type schema_CustomAgentRevisionSelect as CustomAgentRevisionSelect, type schema_CustomAgentRunSelect as CustomAgentRunSelect, type schema_CustomAgentRunStatus as CustomAgentRunStatus, type schema_CustomAgentSelect as CustomAgentSelect, type schema_CustomAgentSpeed as CustomAgentSpeed, type schema_CustomAgentStatus as CustomAgentStatus, type schema_CustomDomainInsert as CustomDomainInsert, type schema_CustomDomainSelect as CustomDomainSelect, type schema_CustomScripts as CustomScripts, schema_DEFAULT_AEO_CONFIG as DEFAULT_AEO_CONFIG, schema_DEFAULT_BRAND_KIT as DEFAULT_BRAND_KIT, schema_DEFAULT_HTTP_HEADERS as DEFAULT_HTTP_HEADERS, schema_DEFAULT_LOCALE_CONFIG as DEFAULT_LOCALE_CONFIG, schema_DEFAULT_SEARCH_CONFIG as DEFAULT_SEARCH_CONFIG, type schema_DeployTargetInsert as DeployTargetInsert, type schema_DeployTargetSelect as DeployTargetSelect, type schema_DesignInput as DesignInput, type schema_DesignSnapshot as DesignSnapshot, type schema_DesignToken as DesignToken, type schema_DeviceAuthorizationInsert as DeviceAuthorizationInsert, type schema_DeviceAuthorizationSelect as DeviceAuthorizationSelect, type schema_DeviceAuthorizationStatus as DeviceAuthorizationStatus, schema_EMPTY_CUSTOM_SCRIPTS as EMPTY_CUSTOM_SCRIPTS, schema_ENV_VAR_SCOPES as ENV_VAR_SCOPES, schema_EXECUTOR_COMMAND_KINDS as EXECUTOR_COMMAND_KINDS, schema_EXECUTOR_GRANT_STATUSES as EXECUTOR_GRANT_STATUSES, schema_EXECUTOR_INSTALLATION_STATUSES as EXECUTOR_INSTALLATION_STATUSES, schema_EXECUTOR_KINDS as EXECUTOR_KINDS, schema_EXECUTOR_LEASE_RELEASE_REASONS as EXECUTOR_LEASE_RELEASE_REASONS, schema_EXECUTOR_LEASE_STATES as EXECUTOR_LEASE_STATES, schema_EXECUTOR_SESSION_STATES as EXECUTOR_SESSION_STATES, type schema_EmailSuppressionInsert as EmailSuppressionInsert, type schema_EmailSuppressionSelect as EmailSuppressionSelect, type schema_EntryMetaJson as EntryMetaJson, type schema_EnvVarScope as EnvVarScope, type schema_ExecutionMutationBudget as ExecutionMutationBudget, type schema_ExecutionPathPolicy as ExecutionPathPolicy, type schema_ExecutorCommandKind as ExecutorCommandKind, type schema_ExecutorGrantStatus as ExecutorGrantStatus, type schema_ExecutorInstallationStatus as ExecutorInstallationStatus, type schema_ExecutorKind as ExecutorKind, type schema_ExecutorLeaseReleaseReason as ExecutorLeaseReleaseReason, type schema_ExecutorLeaseState as ExecutorLeaseState, type schema_ExecutorRepositoryClaim as ExecutorRepositoryClaim, type schema_ExecutorSessionState as ExecutorSessionState, type schema_ExternalDeploymentInsert as ExternalDeploymentInsert, type schema_ExternalDeploymentSelect as ExternalDeploymentSelect, schema_FULL_BACKUP_SCOPE as FULL_BACKUP_SCOPE, type schema_Fieldset as Fieldset, type schema_FolderInsert as FolderInsert, type schema_FolderSelect as FolderSelect, type schema_FormContactInsert as FormContactInsert, type schema_FormContactSelect as FormContactSelect, type schema_FormField as FormField, type schema_FormFieldUi as FormFieldUi, type schema_FormFieldValidation as FormFieldValidation, type schema_FormImplementation as FormImplementation, type schema_FormImplementationState as FormImplementationState, type schema_FormInsert as FormInsert, type schema_FormIntegrationConfig as FormIntegrationConfig, type schema_FormIntegrationInsert as FormIntegrationInsert, type schema_FormIntegrationProvider as FormIntegrationProvider, type schema_FormIntegrationSelect as FormIntegrationSelect, type schema_FormNotification as FormNotification, type schema_FormSelect as FormSelect, type schema_FormStatus as FormStatus, type schema_FormSubmissionInsert as FormSubmissionInsert, type schema_FormSubmissionSelect as FormSubmissionSelect, type schema_GeneratedTypesInsert as GeneratedTypesInsert, type schema_GeneratedTypesSelect as GeneratedTypesSelect, type schema_GithubInstallationInsert as GithubInstallationInsert, type schema_GithubInstallationSelect as GithubInstallationSelect, type schema_GoogleIntegrationInsert as GoogleIntegrationInsert, type schema_GoogleIntegrationSelect as GoogleIntegrationSelect, type schema_GrantKind as GrantKind, type schema_HostingConnectionInsert as HostingConnectionInsert, type schema_HostingConnectionSelect as HostingConnectionSelect, type schema_HttpHeadersConfig as HttpHeadersConfig, schema_IMPLEMENTATION_ATTEMPT_STATUSES as IMPLEMENTATION_ATTEMPT_STATUSES, schema_INDEXNOW_KINDS as INDEXNOW_KINDS, schema_INDEXNOW_STATUSES as INDEXNOW_STATUSES, schema_INSTRUCTION_BODY_MAX as INSTRUCTION_BODY_MAX, schema_INSTRUCTION_KINDS as INSTRUCTION_KINDS, schema_INSTRUCTION_SOURCES as INSTRUCTION_SOURCES, type schema_ImplementationAttemptStatus as ImplementationAttemptStatus, type schema_IndexNowConfig as IndexNowConfig, type schema_IndexNowKind as IndexNowKind, type schema_IndexNowStatus as IndexNowStatus, type schema_IndexNowSubmissionInsert as IndexNowSubmissionInsert, type schema_IndexNowSubmissionSelect as IndexNowSubmissionSelect, type schema_IngestReport as IngestReport, type schema_InstructionKind as InstructionKind, type schema_InstructionSource as InstructionSource, type schema_InternalJobRunInsert as InternalJobRunInsert, type schema_InternalJobRunSelect as InternalJobRunSelect, type schema_LocaleConfig as LocaleConfig, schema_MARKDOWN_FILE_STATUSES as MARKDOWN_FILE_STATUSES, schema_MCP_TASK_STATUSES as MCP_TASK_STATUSES, type schema_MarkdownFileInsert as MarkdownFileInsert, type schema_MarkdownFileSelect as MarkdownFileSelect, type schema_MarkdownFileStatus as MarkdownFileStatus, type schema_McpCallToolResultSnapshot as McpCallToolResultSnapshot, type schema_McpConnectionInsert as McpConnectionInsert, type schema_McpConnectionSelect as McpConnectionSelect, type schema_McpJsonRpcErrorSnapshot as McpJsonRpcErrorSnapshot, type schema_McpTaskInputState as McpTaskInputState, type schema_McpTaskInsert as McpTaskInsert, type schema_McpTaskPrincipalKind as McpTaskPrincipalKind, type schema_McpTaskSelect as McpTaskSelect, type schema_McpTaskStatus as McpTaskStatus, type schema_McpTaskTerminalSnapshot as McpTaskTerminalSnapshot, type schema_MediaAssetInsert as MediaAssetInsert, type schema_MediaAssetSelect as MediaAssetSelect, type schema_MigrationJobInsert as MigrationJobInsert, type schema_MigrationJobSelect as MigrationJobSelect, type schema_NewConversionBriefIssued as NewConversionBriefIssued, type schema_NewConversionProposal as NewConversionProposal, type schema_NewOrchestrationExecutionApproval as NewOrchestrationExecutionApproval, type schema_NewOrchestrationExecutorCommand as NewOrchestrationExecutorCommand, type schema_NewOrchestrationExecutorGrant as NewOrchestrationExecutorGrant, type schema_NewOrchestrationExecutorInstallation as NewOrchestrationExecutorInstallation, type schema_NewOrchestrationExecutorLease as NewOrchestrationExecutorLease, type schema_NewOrchestrationExecutorSession as NewOrchestrationExecutorSession, type schema_NewOrchestrationImplementationAttempt as NewOrchestrationImplementationAttempt, type schema_NewOrchestrationPatchManifest as NewOrchestrationPatchManifest, type schema_NewOrchestrationPullRequestReceipt as NewOrchestrationPullRequestReceipt, type schema_NewOrchestrationValidationEnvelope as NewOrchestrationValidationEnvelope, type schema_NewOrchestrationValidationEvidence as NewOrchestrationValidationEvidence, type schema_NewsletterIssueInsert as NewsletterIssueInsert, type schema_NewsletterIssueSelect as NewsletterIssueSelect, type schema_NewsletterSendInsert as NewsletterSendInsert, type schema_NewsletterSendSelect as NewsletterSendSelect, schema_ORCHESTRATION_RUN_STATUSES as ORCHESTRATION_RUN_STATUSES, type schema_OauthClientInsert as OauthClientInsert, type schema_OauthClientSelect as OauthClientSelect, type schema_OrchestrationBoundTargetMetadata as OrchestrationBoundTargetMetadata, type schema_OrchestrationExecutionApproval as OrchestrationExecutionApproval, type schema_OrchestrationExecutorCommand as OrchestrationExecutorCommand, type schema_OrchestrationExecutorGrant as OrchestrationExecutorGrant, type schema_OrchestrationExecutorInstallation as OrchestrationExecutorInstallation, type schema_OrchestrationExecutorLease as OrchestrationExecutorLease, type schema_OrchestrationExecutorSession as OrchestrationExecutorSession, type schema_OrchestrationImplementationAttempt as OrchestrationImplementationAttempt, type schema_OrchestrationLegacyBoundTargetMetadata as OrchestrationLegacyBoundTargetMetadata, type schema_OrchestrationLegacyTargetBinding as OrchestrationLegacyTargetBinding, type schema_OrchestrationLegacyUnboundTargetMetadata as OrchestrationLegacyUnboundTargetMetadata, type schema_OrchestrationPatchManifest as OrchestrationPatchManifest, type schema_OrchestrationPullRequestReceipt as OrchestrationPullRequestReceipt, type schema_OrchestrationRunCommandResultInsert as OrchestrationRunCommandResultInsert, type schema_OrchestrationRunCommandResultPayload as OrchestrationRunCommandResultPayload, type schema_OrchestrationRunCommandResultSelect as OrchestrationRunCommandResultSelect, type schema_OrchestrationRunEventInsert as OrchestrationRunEventInsert, type schema_OrchestrationRunEventPayload as OrchestrationRunEventPayload, type schema_OrchestrationRunEventSelect as OrchestrationRunEventSelect, type schema_OrchestrationRunInsert as OrchestrationRunInsert, type schema_OrchestrationRunLifecycleCommand as OrchestrationRunLifecycleCommand, type schema_OrchestrationRunSelect as OrchestrationRunSelect, type schema_OrchestrationRunStartKeyInsert as OrchestrationRunStartKeyInsert, type schema_OrchestrationRunStartKeySelect as OrchestrationRunStartKeySelect, type schema_OrchestrationRunStatus as OrchestrationRunStatus, type schema_OrchestrationTargetBinding as OrchestrationTargetBinding, type schema_OrchestrationTargetKind as OrchestrationTargetKind, type schema_OrchestrationTargetMetadata as OrchestrationTargetMetadata, type schema_OrchestrationValidationEnvelope as OrchestrationValidationEnvelope, type schema_OrchestrationValidationEvidence as OrchestrationValidationEvidence, schema_PATCH_OPERATIONS as PATCH_OPERATIONS, type schema_PageInsert as PageInsert, type schema_PageMetaJson as PageMetaJson, type schema_PageRouting as PageRouting, type schema_PageSelect as PageSelect, type schema_PageTypeInsert as PageTypeInsert, type schema_PageTypeSelect as PageTypeSelect, type schema_PageVersionInsert as PageVersionInsert, type schema_PageVersionSelect as PageVersionSelect, type schema_PageVersionSnapshot as PageVersionSnapshot, type schema_PasskeyInsert as PasskeyInsert, type schema_PasskeySelect as PasskeySelect, type schema_PatchOperation as PatchOperation, type schema_PatternSegment as PatternSegment, type schema_PaymentRecordInsert as PaymentRecordInsert, type schema_PaymentRecordSelect as PaymentRecordSelect, type schema_PendingInviteInsert as PendingInviteInsert, type schema_PendingInviteSelect as PendingInviteSelect, type schema_PendingMainPublish as PendingMainPublish, type schema_PlanChangeInsert as PlanChangeInsert, type schema_PlanChangeSelect as PlanChangeSelect, type schema_PlanLimitsInsert as PlanLimitsInsert, type schema_PlanLimitsSelect as PlanLimitsSelect, type schema_PreviewTokenRevocationInsert as PreviewTokenRevocationInsert, type schema_PreviewTokenRevocationSelect as PreviewTokenRevocationSelect, type schema_ProjectBranchInsert as ProjectBranchInsert, type schema_ProjectBranchSelect as ProjectBranchSelect, type schema_ProjectBranchStatus as ProjectBranchStatus, type schema_ProjectEnvVarInsert as ProjectEnvVarInsert, type schema_ProjectEnvVarSelect as ProjectEnvVarSelect, type schema_ProjectFolderSelect as ProjectFolderSelect, type schema_ProjectFormDefaults as ProjectFormDefaults, type schema_ProjectInsert as ProjectInsert, type schema_ProjectLayoutInsert as ProjectLayoutInsert, type schema_ProjectLayoutSelect as ProjectLayoutSelect, type schema_ProjectLayoutVersionSelect as ProjectLayoutVersionSelect, type schema_ProjectMemberInsert as ProjectMemberInsert, type schema_ProjectMemberSelect as ProjectMemberSelect, type schema_ProjectOrchestrationStateInsert as ProjectOrchestrationStateInsert, type schema_ProjectOrchestrationStateSelect as ProjectOrchestrationStateSelect, type schema_ProjectRepoInsert as ProjectRepoInsert, type schema_ProjectRepoSelect as ProjectRepoSelect, type schema_ProjectSelect as ProjectSelect, type schema_ProjectSuggestionInsert as ProjectSuggestionInsert, type schema_ProjectSuggestionSelect as ProjectSuggestionSelect, type schema_ProjectTransferInsert as ProjectTransferInsert, type schema_ProjectTransferSelect as ProjectTransferSelect, type schema_PublishDeliverySelect as PublishDeliverySelect, type schema_PublishInsert as PublishInsert, type schema_PublishItemSelect as PublishItemSelect, type schema_PublishSelect as PublishSelect, type schema_QaCategory as QaCategory, type schema_QaFinding as QaFinding, type schema_QaReportInsert as QaReportInsert, type schema_QaReportSelect as QaReportSelect, type schema_QaSeverity as QaSeverity, type schema_RebuildQueueInsert as RebuildQueueInsert, type schema_RebuildQueueSelect as RebuildQueueSelect, type schema_RedirectInsert as RedirectInsert, type schema_RedirectSelect as RedirectSelect, type schema_ReleaseInsert as ReleaseInsert, type schema_ReleaseSelect as ReleaseSelect, type schema_RevalidationConfig as RevalidationConfig, type schema_RobotsConfig as RobotsConfig, type schema_RssConfig as RssConfig, type schema_RssFieldMap as RssFieldMap, schema_SECTION_IMPLEMENTATION_REQUEST_STATUSES as SECTION_IMPLEMENTATION_REQUEST_STATUSES, schema_SITE_FILE_KINDS as SITE_FILE_KINDS, schema_SUGGESTION_KINDS as SUGGESTION_KINDS, type schema_SearchConfig as SearchConfig, type schema_SectionDefinitionInsert as SectionDefinitionInsert, type schema_SectionDefinitionSelect as SectionDefinitionSelect, type schema_SectionDefinitionVersionSelect as SectionDefinitionVersionSelect, type schema_SectionImplementationRequestStatus as SectionImplementationRequestStatus, type schema_SectionManifestPayload as SectionManifestPayload, type schema_SectionSchemaKind as SectionSchemaKind, type schema_SectionValidationPayload as SectionValidationPayload, type schema_SectionValidationViewportResult as SectionValidationViewportResult, type schema_SectionZoneSelect as SectionZoneSelect, type schema_SeoDefaults as SeoDefaults, type schema_SeoReportInsert as SeoReportInsert, type schema_SeoReportMetrics as SeoReportMetrics, type schema_SeoReportSelect as SeoReportSelect, type schema_SessionInsert as SessionInsert, type schema_SessionSelect as SessionSelect, type schema_ShareLinkInsert as ShareLinkInsert, type schema_ShareLinkSelect as ShareLinkSelect, type schema_SiteFileInsert as SiteFileInsert, type schema_SiteFileKind as SiteFileKind, type schema_SiteFileSelect as SiteFileSelect, type schema_SiteSchema as SiteSchema, type schema_SitemapConfig as SitemapConfig, type schema_SitemapExtraUrl as SitemapExtraUrl, type schema_SsoProviderInsert as SsoProviderInsert, type schema_SsoProviderSelect as SsoProviderSelect, type schema_StorageConfigInsert as StorageConfigInsert, type schema_StorageConfigSelect as StorageConfigSelect, type schema_SubscriptionAddonInsert as SubscriptionAddonInsert, type schema_SubscriptionAddonSelect as SubscriptionAddonSelect, type schema_SubscriptionInsert as SubscriptionInsert, type schema_SubscriptionSelect as SubscriptionSelect, type schema_SuggestionKind as SuggestionKind, type schema_SuggestionTrigger as SuggestionTrigger, type schema_SupersededR2KeyInsert as SupersededR2KeyInsert, type schema_SupersededR2KeySelect as SupersededR2KeySelect, type schema_SupportAttachment as SupportAttachment, type schema_SupportTicketInsert as SupportTicketInsert, type schema_SupportTicketMessageInsert as SupportTicketMessageInsert, type schema_SupportTicketMessageSelect as SupportTicketMessageSelect, type schema_SupportTicketSelect as SupportTicketSelect, type schema_TemplateCategory as TemplateCategory, type schema_TemplateFramework as TemplateFramework, type schema_TemplateInsert as TemplateInsert, type schema_TemplateScope as TemplateScope, type schema_TemplateSelect as TemplateSelect, type schema_TemplateVisibility as TemplateVisibility, type schema_TwoFactorInsert as TwoFactorInsert, type schema_TwoFactorSelect as TwoFactorSelect, type schema_TypegenQueueInsert as TypegenQueueInsert, type schema_TypegenQueueSelect as TypegenQueueSelect, type schema_UserInsert as UserInsert, type schema_UserNotificationInsert as UserNotificationInsert, type schema_UserNotificationSelect as UserNotificationSelect, type schema_UserSelect as UserSelect, schema_VALIDATION_ENVELOPE_STATUSES as VALIDATION_ENVELOPE_STATUSES, schema_VALIDATION_LIVE_STATUSES as VALIDATION_LIVE_STATUSES, type schema_ValidationEnvelopeStatus as ValidationEnvelopeStatus, type schema_VerificationInsert as VerificationInsert, type schema_VerificationSelect as VerificationSelect, schema_WRITE_ORIGINS as WRITE_ORIGINS, type schema_WebflowIntegrationInsert as WebflowIntegrationInsert, type schema_WebflowIntegrationSelect as WebflowIntegrationSelect, type schema_WebhookAdvancedConfigRecord as WebhookAdvancedConfigRecord, type schema_WebhookDeliveryInsert as WebhookDeliveryInsert, type schema_WebhookDeliverySelect as WebhookDeliverySelect, type schema_WebhookEventType as WebhookEventType, type schema_WebhookInsert as WebhookInsert, type schema_WebhookSelect as WebhookSelect, type schema_WorkflowStageInsert as WorkflowStageInsert, type schema_WorkflowStageSelect as WorkflowStageSelect, type schema_WorkspaceInsert as WorkspaceInsert, type schema_WorkspaceMemberInsert as WorkspaceMemberInsert, type schema_WorkspaceMemberSelect as WorkspaceMemberSelect, type schema_WorkspaceRoleInsert as WorkspaceRoleInsert, type schema_WorkspaceRoleSelect as WorkspaceRoleSelect, type schema_WorkspaceSelect as WorkspaceSelect, type schema_WriteOrigin as WriteOrigin, schema_abmCampaigns as abmCampaigns, schema_abmShareTokens as abmShareTokens, schema_accounts as accounts, schema_adminActionLogs as adminActionLogs, schema_adminAgentSessions as adminAgentSessions, schema_adminNotes as adminNotes, schema_agentInstructions as agentInstructions, schema_agentKeys as agentKeys, schema_agentMessages as agentMessages, schema_agentSessions as agentSessions, schema_aiCreditLedger as aiCreditLedger, schema_aiGenerationJobs as aiGenerationJobs, schema_aiProviderKeys as aiProviderKeys, schema_aiReports as aiReports, schema_analyticsCursor as analyticsCursor, schema_analyticsDailyBreakdown as analyticsDailyBreakdown, schema_analyticsDailyPages as analyticsDailyPages, schema_analyticsDailyReferrers as analyticsDailyReferrers, schema_analyticsDailyTotals as analyticsDailyTotals, schema_analyticsEventsRaw as analyticsEventsRaw, schema_apiKeys as apiKeys, schema_apiKeysRelations as apiKeysRelations, schema_auditColumns as auditColumns, schema_auditLogs as auditLogs, schema_backupJobs as backupJobs, schema_backups as backups, schema_bcmsMigrationFlags as bcmsMigrationFlags, schema_betaWaitlist as betaWaitlist, schema_billingAddons as billingAddons, schema_billingAlerts as billingAlerts, schema_billingCustomers as billingCustomers, schema_branchColumns as branchColumns, schema_branchPreviewGrants as branchPreviewGrants, schema_branchPreviewShares as branchPreviewShares, schema_brandKitVersions as brandKitVersions, schema_buildTriggerRuns as buildTriggerRuns, schema_buildTriggers as buildTriggers, schema_cloneJobs as cloneJobs, schema_cloneLinks as cloneLinks, schema_collectionGrants as collectionGrants, schema_comments as comments, schema_componentFamilyManifests as componentFamilyManifests, schema_componentGroups as componentGroups, schema_componentImplementationAdapters as componentImplementationAdapters, schema_componentImplementationApprovals as componentImplementationApprovals, schema_componentImplementationCandidates as componentImplementationCandidates, schema_componentImplementationEvidence as componentImplementationEvidence, schema_componentImplementationRequests as componentImplementationRequests, schema_componentImplementationStates as componentImplementationStates, schema_componentPresets as componentPresets, schema_componentPresetsRelations as componentPresetsRelations, schema_componentPreviewBundles as componentPreviewBundles, schema_componentPreviewSources as componentPreviewSources, schema_componentVariantGroups as componentVariantGroups, schema_componentVariants as componentVariants, schema_componentVariantsRelations as componentVariantsRelations, schema_components as components, schema_componentsRelations as componentsRelations, schema_contentEntries as contentEntries, schema_contentEntriesRelations as contentEntriesRelations, schema_contentLocks as contentLocks, schema_contentModels as contentModels, schema_contentModelsRelations as contentModelsRelations, schema_contentNavigation as contentNavigation, schema_contentVersions as contentVersions, schema_conversionBriefsIssued as conversionBriefsIssued, schema_conversionProposals as conversionProposals, schema_crmConnections as crmConnections, schema_crmDeals as crmDeals, schema_crmOauthStates as crmOauthStates, schema_customAgentRevisions as customAgentRevisions, schema_customAgentRuns as customAgentRuns, schema_customAgents as customAgents, schema_customDomains as customDomains, schema_deployTargets as deployTargets, schema_deviceAuthorizations as deviceAuthorizations, schema_emailSuppressions as emailSuppressions, schema_externalDeployments as externalDeployments, schema_folders as folders, schema_foldersRelations as foldersRelations, schema_formContacts as formContacts, schema_formContactsRelations as formContactsRelations, schema_formIntegrationDeliveries as formIntegrationDeliveries, schema_formIntegrations as formIntegrations, schema_formIntegrationsRelations as formIntegrationsRelations, schema_formSubmissions as formSubmissions, schema_forms as forms, schema_formsRelations as formsRelations, schema_generatedTypes as generatedTypes, schema_githubInstallations as githubInstallations, schema_googleIntegrations as googleIntegrations, schema_googleIntegrationsRelations as googleIntegrationsRelations, schema_hostingConnections as hostingConnections, schema_indexnowSubmissions as indexnowSubmissions, schema_internalJobRuns as internalJobRuns, schema_markdownFiles as markdownFiles, schema_mcpConnections as mcpConnections, schema_mcpTasks as mcpTasks, schema_mediaAssets as mediaAssets, schema_mediaAssetsRelations as mediaAssetsRelations, schema_migrationJobs as migrationJobs, schema_newsletterIssues as newsletterIssues, schema_newsletterSends as newsletterSends, schema_oauthClients as oauthClients, schema_orchestrationDeploymentAuthorizations as orchestrationDeploymentAuthorizations, schema_orchestrationDeploymentRequests as orchestrationDeploymentRequests, schema_orchestrationExecutionApprovals as orchestrationExecutionApprovals, schema_orchestrationExecutorCommands as orchestrationExecutorCommands, schema_orchestrationExecutorGrants as orchestrationExecutorGrants, schema_orchestrationExecutorInstallations as orchestrationExecutorInstallations, schema_orchestrationExecutorLeases as orchestrationExecutorLeases, schema_orchestrationExecutorSessions as orchestrationExecutorSessions, schema_orchestrationImplementationAttempts as orchestrationImplementationAttempts, schema_orchestrationMergeAuthorizations as orchestrationMergeAuthorizations, schema_orchestrationPatchManifests as orchestrationPatchManifests, schema_orchestrationPlanSnapshots as orchestrationPlanSnapshots, schema_orchestrationPullRequestReceipts as orchestrationPullRequestReceipts, schema_orchestrationRunCommandResults as orchestrationRunCommandResults, schema_orchestrationRunEvents as orchestrationRunEvents, schema_orchestrationRunStartKeys as orchestrationRunStartKeys, schema_orchestrationRuns as orchestrationRuns, schema_orchestrationValidationEnvelopes as orchestrationValidationEnvelopes, schema_orchestrationValidationEvidence as orchestrationValidationEvidence, schema_orchestrationVisualApprovals as orchestrationVisualApprovals, schema_pageFolders as pageFolders, schema_pageFoldersRelations as pageFoldersRelations, schema_pageTypes as pageTypes, schema_pageVersions as pageVersions, schema_pages as pages, schema_pagesRelations as pagesRelations, schema_passkeys as passkeys, schema_paymentRecords as paymentRecords, schema_pendingInvites as pendingInvites, schema_planChanges as planChanges, schema_planLimits as planLimits, schema_previewTokenRevocations as previewTokenRevocations, schema_projectBranches as projectBranches, schema_projectEnvVars as projectEnvVars, schema_projectFolders as projectFolders, schema_projectLayoutVersions as projectLayoutVersions, schema_projectLayouts as projectLayouts, schema_projectMembers as projectMembers, schema_projectOrchestrationStates as projectOrchestrationStates, schema_projectRepos as projectRepos, schema_projectSuggestions as projectSuggestions, schema_projectTransfers as projectTransfers, schema_projects as projects, schema_projectsRelations as projectsRelations, schema_publishDeliveries as publishDeliveries, schema_publishItems as publishItems, schema_publishes as publishes, schema_qaReports as qaReports, schema_rebuildQueue as rebuildQueue, schema_redirects as redirects, schema_releases as releases, schema_sectionDefinitionVersions as sectionDefinitionVersions, schema_sectionDefinitions as sectionDefinitions, schema_sectionImplementationRequests as sectionImplementationRequests, schema_sectionManifests as sectionManifests, schema_sectionValidationRuns as sectionValidationRuns, schema_sectionVisualApprovals as sectionVisualApprovals, schema_sectionZoneAttachments as sectionZoneAttachments, schema_sectionZoneReleases as sectionZoneReleases, schema_sectionZones as sectionZones, schema_seoReports as seoReports, schema_sessions as sessions, schema_shareLinks as shareLinks, schema_siteFiles as siteFiles, schema_softDeleteColumn as softDeleteColumn, schema_ssoProviders as ssoProviders, schema_storageConfigs as storageConfigs, schema_subscriptionAddons as subscriptionAddons, schema_subscriptions as subscriptions, schema_supersededR2Keys as supersededR2Keys, schema_supportTicketMessages as supportTicketMessages, schema_supportTickets as supportTickets, schema_templates as templates, schema_templatesRelations as templatesRelations, schema_twoFactor as twoFactor, schema_typegenQueue as typegenQueue, schema_userNotifications as userNotifications, schema_users as users, schema_verification as verification, schema_webflowIntegrations as webflowIntegrations, schema_webhookDeliveries as webhookDeliveries, schema_webhooks as webhooks, schema_webhooksRelations as webhooksRelations, schema_workflowStages as workflowStages, schema_workspaceMembers as workspaceMembers, schema_workspaceRoles as workspaceRoles, schema_workspaces as workspaces, schema_writeGovernanceColumns as writeGovernanceColumns };
44624
46739
  }
44625
46740
 
44626
46741
  /** Raised when the pool is saturated. Mapped to 503 + Retry-After by the request edge. */
@@ -44982,4 +47097,4 @@ declare function extractEntryText(data: Record<string, unknown> | null | undefin
44982
47097
  declare const upsertEntry: typeof upsertPage;
44983
47098
  declare const removeEntry: typeof removePage;
44984
47099
 
44985
- export { type AccountInsert, type AccountSelect, type AdminActionLogInsert, type AdminActionLogSelect, type AdminAgentSessionInsert, type AdminAgentSessionSelect, type AdminNoteInsert, type AdminNoteSelect, type AeoConfig, type AgentInstructionInsert, type AgentInstructionSelect, type AgentKeyInsert, type AgentKeySelect, type AgentMessageInsert, type AgentMessageSelect, type AgentSessionInsert, type AgentSessionSelect, type AiCreditLedgerInsert, type AiCreditLedgerSelect, type AiFinding, type AiGenerationJobInsert, type AiGenerationJobSelect, type AiProviderKeyInsert, type AiProviderKeySelect, type AiReportInsert, type AiReportKind, type AiReportSelect, type AnalyticsCursor, type AnalyticsDailyTotals, type ApiKeyInsert, type ApiKeyKind, type ApiKeyPermission, type ApiKeySelect, type ApiKeyTokenType, type ApprovalStatus, type ArrayItemType, type AuditLogInsert, type AuditLogSelect, type Autoresponder, BUILD_TRIGGER_KINDS, type BackupCounts, type BackupInsert, type BackupJobInsert, type BackupJobPayload, type BackupJobSelect, type BackupJobStatus, type BackupOperation, type BackupScope, type BackupSelect, type BackupSource, type BackupStatus, type BcmsMigrationFlagInsert, type BcmsMigrationFlagSelect, type BetaWaitlistInsert, type BetaWaitlistSelect, type BetaWaitlistStatus, type BillingAddonInsert, type BillingAddonSelect, type BillingAlertInsert, type BillingAlertSelect, type BillingCustomerInsert, type BillingCustomerSelect, type BindingReport, type BranchPreviewGrantInsert, type BranchPreviewGrantSelect, type BranchPreviewShareInsert, type BranchPreviewShareSelect, type BrandCustomFont, type BrandElevationLevel, type BrandExtraColor, type BrandKit, type BrandKitVersionInsert, type BrandKitVersionSelect, type BrandMotion, type BrandProfile, type BrandReview, type BrandSpacing, type BrandTokenKey, type BrandTypeStep, type BuildTriggerInsert, type BuildTriggerKind, type BuildTriggerRunInsert, type BuildTriggerRunSelect, type BuildTriggerSelect, COLLECTION_NAME, CONTENT_LOCK_MODES, CONTENT_LOCK_TARGET_KINDS, CONVERSION_PROPOSAL_STATUSES, CRM_STAGES, type Capabilities, type CloneJobInsert, type CloneJobPayload, type CloneJobSelect, type CloneJobStatus, type CloneLinkInsert, type CloneLinkSelect, type CollectionAction, type CollectionGrantInsert, type CollectionGrantSelect, type CommentAnchor, type CommentAttachment, type CommentInsert, type CommentSelect, type ComponentAdapterSource, type ComponentCategory, type ComponentFamilyManifestSelect, type ComponentGroupInsert, type ComponentGroupSelect, type ComponentImplementationAdapter, type ComponentImplementationAdapterInsert, type ComponentImplementationAdapterSelect, type ComponentImplementationApprovalSelect, type ComponentImplementationCandidateInsert, type ComponentImplementationCandidateSelect, type ComponentImplementationChecks, type ComponentImplementationEvidenceInsert, type ComponentImplementationEvidenceSelect, type ComponentImplementationRequestSelect, type ComponentImplementationStateSelect, type ComponentInsert, type ComponentNativeViewport, type ComponentPresetInsert, type ComponentPresetSelect, type ComponentPropDef, type ComponentRuntimeProviderProvenance, type ComponentSelect, type ComponentStatus, type ComponentSubField, type ComponentVariantDelta, type ComponentVariantGroupInsert, type ComponentVariantGroupSelect, type ComponentVariantInsert, type ComponentVariantSelect, type ComponentViewportResult, type ContentEntryInsert, type ContentEntrySelect, type ContentLockBlockFingerprint, type ContentLockInsert, type ContentLockMode, type ContentLockSelect, type ContentLockTargetKind, type ContentModelField, type ContentModelFieldConfig, type ContentModelFieldType, type ContentModelInsert, type ContentModelKind, type ContentModelSelect, type ContentNavigationDoc, type ContentNavigationFolder, type ContentNavigationInsert, type ContentNavigationItem, type ContentNavigationSelect, type ContentVersionInsert, type ContentVersionSelect, type ConversionBriefIssued, type ConversionProposal, type ConversionProposalStatus, type CrmDealInsert, type CrmDealSelect, type CrmStage, type CustomDomainInsert, type CustomDomainSelect, type CustomScripts, DEFAULT_AEO_CONFIG, DEFAULT_BRAND_KIT, DEFAULT_HTTP_HEADERS, DEFAULT_LOCALE_CONFIG, DEFAULT_SEARCH_CONFIG, type DeployTargetInsert, type DeployTargetSelect, type DeviceAuthorizationInsert, type DeviceAuthorizationSelect, type DeviceAuthorizationStatus, EMPTY_CUSTOM_SCRIPTS, ENV_VAR_SCOPES, EXECUTOR_COMMAND_KINDS, EXECUTOR_GRANT_STATUSES, EXECUTOR_INSTALLATION_STATUSES, EXECUTOR_KINDS, EXECUTOR_LEASE_RELEASE_REASONS, EXECUTOR_LEASE_STATES, EXECUTOR_SESSION_STATES, type EmailSuppressionInsert, type EmailSuppressionSelect, type EntryMetaJson, type EnvVarScope, type ExecutionMutationBudget, type ExecutionPathPolicy, type ExecutorCommandKind, type ExecutorGrantStatus, type ExecutorInstallationStatus, type ExecutorKind, type ExecutorLeaseReleaseReason, type ExecutorLeaseState, type ExecutorRepositoryClaim, type ExecutorSessionState, type ExternalDeploymentInsert, type ExternalDeploymentSelect, FULL_BACKUP_SCOPE, type Fieldset, type FolderInsert, type FolderSelect, type FormContactInsert, type FormContactSelect, type FormField, type FormFieldValidation, type FormInsert, type FormIntegrationConfig, type FormIntegrationInsert, type FormIntegrationProvider, type FormIntegrationSelect, type FormNotification, type FormSelect, type FormStatus, type FormSubmissionInsert, type FormSubmissionSelect, type GeneratedTypesInsert, type GeneratedTypesSelect, type GithubInstallationInsert, type GithubInstallationSelect, type GoogleIntegrationInsert, type GoogleIntegrationSelect, type GrantKind, type HostingConnectionInsert, type HostingConnectionSelect, type HttpHeadersConfig, IMPLEMENTATION_ATTEMPT_STATUSES, INDEXNOW_KINDS, INDEXNOW_STATUSES, INSTRUCTION_BODY_MAX, INSTRUCTION_KINDS, INSTRUCTION_SOURCES, type ImplementationAttemptStatus, type IndexNowConfig, type IndexNowKind, type IndexNowStatus, type IndexNowSubmissionInsert, type IndexNowSubmissionSelect, type InstructionKind, type InstructionSource, type InternalJobRunInsert, type InternalJobRunSelect, type LocaleConfig, MARKDOWN_FILE_STATUSES, MCP_TASK_STATUSES, type MarkdownFileInsert, type MarkdownFileSelect, type MarkdownFileStatus, type McpCallToolResultSnapshot, type McpConnectionInsert, type McpConnectionSelect, type McpJsonRpcErrorSnapshot, type McpTaskInputState, type McpTaskInsert, type McpTaskPrincipalKind, type McpTaskSelect, type McpTaskStatus, type McpTaskTerminalSnapshot, type MediaAssetInsert, type MediaAssetSelect, type MigrationJobInsert, type MigrationJobSelect, type NewConversionBriefIssued, type NewConversionProposal, type NewOrchestrationExecutionApproval, type NewOrchestrationExecutorCommand, type NewOrchestrationExecutorGrant, type NewOrchestrationExecutorInstallation, type NewOrchestrationExecutorLease, type NewOrchestrationExecutorSession, type NewOrchestrationImplementationAttempt, type NewOrchestrationPatchManifest, type NewOrchestrationPullRequestReceipt, type NewOrchestrationValidationEnvelope, type NewOrchestrationValidationEvidence, type NewsletterIssueInsert, type NewsletterIssueSelect, type NewsletterSendInsert, type NewsletterSendSelect, ORCHESTRATION_RUN_STATUSES, type OauthClientInsert, type OauthClientSelect, type OrchestrationBoundTargetMetadata, type OrchestrationExecutionApproval, type OrchestrationExecutorCommand, type OrchestrationExecutorGrant, type OrchestrationExecutorInstallation, type OrchestrationExecutorLease, type OrchestrationExecutorSession, type OrchestrationImplementationAttempt, type OrchestrationLegacyBoundTargetMetadata, type OrchestrationLegacyTargetBinding, type OrchestrationLegacyUnboundTargetMetadata, type OrchestrationPatchManifest, type OrchestrationPullRequestReceipt, type OrchestrationRunCommandResultInsert, type OrchestrationRunCommandResultPayload, type OrchestrationRunCommandResultSelect, type OrchestrationRunEventInsert, type OrchestrationRunEventPayload, type OrchestrationRunEventSelect, type OrchestrationRunInsert, type OrchestrationRunLifecycleCommand, type OrchestrationRunSelect, type OrchestrationRunStartKeyInsert, type OrchestrationRunStartKeySelect, type OrchestrationRunStatus, type OrchestrationTargetBinding, type OrchestrationTargetKind, type OrchestrationTargetMetadata, type OrchestrationValidationEnvelope, type OrchestrationValidationEvidence, type OrderDirection, PATCH_OPERATIONS, type PageInsert, type PageMetaJson, type PageRouting, type PageSelect, type PageTypeInsert, type PageTypeSelect, type PageVersionInsert, type PageVersionSelect, type PageVersionSnapshot, type PaginatedResult, type PasskeyInsert, type PasskeySelect, type PatchOperation, type PatternSegment, type PaymentRecordInsert, type PaymentRecordSelect, type PendingInviteInsert, type PendingInviteSelect, type PendingMainPublish, type PlanChangeInsert, type PlanChangeSelect, type PlanLimitsInsert, type PlanLimitsSelect, PoolBusyError, type ProjectBranchInsert, type ProjectBranchSelect, type ProjectBranchStatus, type ProjectEnvVarInsert, type ProjectEnvVarSelect, type ProjectFolderSelect, type ProjectFormDefaults, type ProjectInsert, type ProjectLayoutInsert, type ProjectLayoutSelect, type ProjectLayoutVersionSelect, type ProjectMemberInsert, type ProjectMemberSelect, type ProjectOrchestrationStateInsert, type ProjectOrchestrationStateSelect, type ProjectRepoInsert, type ProjectRepoSelect, type ProjectSelect, type ProjectSuggestionInsert, type ProjectSuggestionSelect, type ProjectTransferInsert, type ProjectTransferSelect, type PublishDeliverySelect, type PublishInsert, type PublishItemSelect, type PublishSelect, type QaCategory, type QaFinding, type QaReportInsert, type QaReportSelect, type QaSeverity, type RebuildQueueInsert, type RebuildQueueSelect, type RedirectInsert, type RedirectSelect, type ReleaseInsert, type ReleaseSelect, type RevalidationConfig, type RobotsConfig, type RssConfig, type RssFieldMap, SECTION_IMPLEMENTATION_REQUEST_STATUSES, SITE_FILE_KINDS, SUGGESTION_KINDS, type SearchConfig, type SectionDefinitionInsert, type SectionDefinitionSelect, type SectionDefinitionVersionSelect, type SectionImplementationRequestStatus, type SectionManifestPayload, type SectionSchemaKind, type SectionValidationPayload, type SectionValidationViewportResult, type SectionZoneSelect, type SeoDefaults, type SeoReportInsert, type SeoReportMetrics, type SeoReportSelect, type SessionInsert, type SessionSelect, type ShareLinkInsert, type ShareLinkSelect, type SiteFileInsert, type SiteFileKind, type SiteFileSelect, type SiteSchema, type SitemapConfig, type SitemapExtraUrl, type SsoProviderInsert, type SsoProviderSelect, type StorageConfigInsert, type StorageConfigSelect, type SubscriptionAddonInsert, type SubscriptionAddonSelect, type SubscriptionInsert, type SubscriptionSelect, type SuggestionKind, type SuggestionTrigger, type SupersededR2KeyInsert, type SupersededR2KeySelect, type SupportAttachment, type SupportTicketInsert, type SupportTicketMessageInsert, type SupportTicketMessageSelect, type SupportTicketSelect, type TemplateCategory, type TemplateFramework, type TemplateInsert, type TemplateScope, type TemplateSelect, type TemplateVisibility, type TwoFactorInsert, type TwoFactorSelect, type TypegenQueueInsert, type TypegenQueueSelect, type UserInsert, type UserNotificationInsert, type UserNotificationSelect, type UserSelect, VALIDATION_ENVELOPE_STATUSES, VALIDATION_LIVE_STATUSES, type ValidationEnvelopeStatus, type VerificationInsert, type VerificationSelect, WRITE_ORIGINS, type WebflowIntegrationInsert, type WebflowIntegrationSelect, type WebhookDeliveryInsert, type WebhookDeliverySelect, type WebhookEventType, type WebhookInsert, type WebhookSelect, type WorkflowStageInsert, type WorkflowStageSelect, type WorkspaceInsert, type WorkspaceMemberInsert, type WorkspaceMemberSelect, type WorkspaceRoleInsert, type WorkspaceRoleSelect, type WorkspaceSelect, type WriteOrigin, accounts, activeDb, activeSql, adminActionLogs, adminAgentSessions, adminNotes, agentInstructions, agentKeys, agentMessages, agentSessions, aiCreditLedger, aiGenerationJobs, aiProviderKeys, aiReports, analyticsCursor, analyticsDailyBreakdown, analyticsDailyPages, analyticsDailyReferrers, analyticsDailyTotals, analyticsEventsRaw, apiKeys, apiKeysRelations, auditColumns, auditLogs, backupJobs, backups, bcmsMigrationFlags, betaWaitlist, billingAddons, billingAlerts, billingCustomers, branchColumns, branchPreviewGrants, branchPreviewShares, brandKitVersions, buildTriggerRuns, buildTriggers, clearBranchContext, clearUserContext, clearWorkspaceContext, cloneJobs, cloneLinks, collectionGrants, comments, componentFamilyManifests, componentGroups, componentImplementationAdapters, componentImplementationApprovals, componentImplementationCandidates, componentImplementationEvidence, componentImplementationRequests, componentImplementationStates, componentPresets, componentPresetsRelations, componentPreviewBundles, componentPreviewSources, componentVariantGroups, componentVariants, componentVariantsRelations, components, componentsRelations, contentEntries, contentEntriesRelations, contentLocks, contentModels, contentModelsRelations, contentNavigation, contentVersions, conversionBriefsIssued, conversionProposals, crmConnections, crmDeals, crmOauthStates, customDomains, db, deployTargets, deviceAuthorizations, emailSuppressions, ensureCollection, ensureDefaultWorkspace, externalDeployments, extractBlockText, extractEntryText, folders, foldersRelations, formContacts, formContactsRelations, formIntegrationDeliveries, formIntegrations, formIntegrationsRelations, formSubmissions, forms, formsRelations, generatedTypes, getDefaultWorkspaceId, getTypesenseClient, getWorkspaceSlugById, githubInstallations, googleIntegrations, googleIntegrationsRelations, hostingConnections, indexnowSubmissions, internalJobRuns, lookupApiKeyByHash, markdownFiles, mcpConnections, mcpTasks, mediaAssets, mediaAssetsRelations, migrationJobs, newsletterIssues, newsletterSends, oauthClients, orchestrationDeploymentAuthorizations, orchestrationDeploymentRequests, orchestrationExecutionApprovals, orchestrationExecutorCommands, orchestrationExecutorGrants, orchestrationExecutorInstallations, orchestrationExecutorLeases, orchestrationExecutorSessions, orchestrationImplementationAttempts, orchestrationMergeAuthorizations, orchestrationPatchManifests, orchestrationPlanSnapshots, orchestrationPullRequestReceipts, orchestrationRunCommandResults, orchestrationRunEvents, orchestrationRunStartKeys, orchestrationRuns, orchestrationValidationEnvelopes, orchestrationValidationEvidence, orchestrationVisualApprovals, pageFolders, pageFoldersRelations, pageTypes, pageVersions, pages, pagesCollectionSchema, pagesRelations, passkeys, paymentRecords, pendingInvites, planChanges, planLimits, poolStats, projectBranches, projectEnvVars, projectFolders, projectLayoutVersions, projectLayouts, projectMembers, projectOrchestrationStates, projectRepos, projectSuggestions, projectTransfers, projects, projectsRelations, publicWorkspaceBySlug, publishDeliveries, publishItems, publishes, qaReports, queries, rebuildQueue, redirects, releases, removeEntry, removePage, resolveUserWorkspace, rootDb, schema, sectionDefinitionVersions, sectionDefinitions, sectionImplementationRequests, sectionManifests, sectionValidationRuns, sectionVisualApprovals, sectionZoneAttachments, sectionZoneReleases, sectionZones, seoReports, sessions, setBranchContext, setUserContext, setWorkspaceContext, setWriteOrigin, shareLinks, siteFiles, softDeleteColumn, rootSql as sql, ssoProviders, storageConfigs, subscriptionAddons, subscriptions, supersededR2Keys, supportTicketMessages, supportTickets, templates, templatesRelations, twoFactor, typegenQueue, upsertEntry, upsertPage, userNotifications, users, verification, webflowIntegrations, webhookDeliveries, webhooks, webhooksRelations, withPinnedConnection, withoutPinnedConnection, workflowStages, workspaceMembers, workspaceRoles, workspaces, writeGovernanceColumns };
47100
+ export { type AbmCampaignInsert, type AbmCampaignOptions, type AbmCampaignSelect, type AbmResearchMode, type AbmShareScope, type AbmShareTokenInsert, type AbmShareTokenSelect, type AccountInsert, type AccountSelect, type AdminActionLogInsert, type AdminActionLogSelect, type AdminAgentSessionInsert, type AdminAgentSessionSelect, type AdminNoteInsert, type AdminNoteSelect, type AeoConfig, type AgentInstructionInsert, type AgentInstructionSelect, type AgentKeyInsert, type AgentKeySelect, type AgentMessageInsert, type AgentMessageSelect, type AgentSessionInsert, type AgentSessionSelect, type AiCreditLedgerInsert, type AiCreditLedgerSelect, type AiFinding, type AiGenerationJobInsert, type AiGenerationJobSelect, type AiProviderKeyInsert, type AiProviderKeySelect, type AiReportInsert, type AiReportKind, type AiReportSelect, type AnalyticsCursor, type AnalyticsDailyTotals, type ApiKeyInsert, type ApiKeyKind, type ApiKeyPermission, type ApiKeySelect, type ApiKeyTokenType, type ApprovalStatus, type ArrayItemType, type AuditLogInsert, type AuditLogSelect, type Autoresponder, BUILD_TRIGGER_KINDS, type BackupCounts, type BackupInsert, type BackupJobInsert, type BackupJobPayload, type BackupJobSelect, type BackupJobStatus, type BackupOperation, type BackupScope, type BackupSelect, type BackupSource, type BackupStatus, type BcmsMigrationFlagInsert, type BcmsMigrationFlagSelect, type BetaWaitlistInsert, type BetaWaitlistSelect, type BetaWaitlistStatus, type BillingAddonInsert, type BillingAddonSelect, type BillingAlertInsert, type BillingAlertSelect, type BillingCustomerInsert, type BillingCustomerSelect, type BindingReport, type BranchPreviewGrantInsert, type BranchPreviewGrantSelect, type BranchPreviewShareInsert, type BranchPreviewShareSelect, type BrandAssetRef, type BrandAssetSource, type BrandCustomFont, type BrandDesignState, type BrandElevationLevel, type BrandExtraColor, type BrandGradient, type BrandKit, type BrandKitVersionInsert, type BrandKitVersionSelect, type BrandLinkOutcome, type BrandMotion, type BrandProfile, type BrandReview, type BrandSpacing, type BrandTokenKey, type BrandTypeStep, type BuildTriggerInsert, type BuildTriggerKind, type BuildTriggerRunInsert, type BuildTriggerRunSelect, type BuildTriggerSelect, COLLECTION_NAME, CONTENT_LOCK_MODES, CONTENT_LOCK_TARGET_KINDS, CONVERSION_PROPOSAL_STATUSES, CRM_STAGES, CUSTOM_AGENT_CAPABILITIES, CUSTOM_AGENT_INSTRUCTIONS_MAX, type Capabilities, type CloneJobInsert, type CloneJobPayload, type CloneJobSelect, type CloneJobStatus, type CloneLinkInsert, type CloneLinkSelect, type CollectionAction, type CollectionGrantInsert, type CollectionGrantSelect, type CommentAnchor, type CommentAttachment, type CommentInsert, type CommentSelect, type ComponentAdapterSource, type ComponentCategory, type ComponentFamilyManifestSelect, type ComponentGroupInsert, type ComponentGroupSelect, type ComponentImplementationAdapter, type ComponentImplementationAdapterInsert, type ComponentImplementationAdapterSelect, type ComponentImplementationApprovalSelect, type ComponentImplementationCandidateInsert, type ComponentImplementationCandidateSelect, type ComponentImplementationChecks, type ComponentImplementationEvidenceInsert, type ComponentImplementationEvidenceSelect, type ComponentImplementationRequestSelect, type ComponentImplementationStateSelect, type ComponentInsert, type ComponentNativeViewport, type ComponentPresetInsert, type ComponentPresetSelect, type ComponentPropDef, type ComponentRuntimeProviderProvenance, type ComponentSelect, type ComponentStatus, type ComponentSubField, type ComponentVariantDelta, type ComponentVariantGroupInsert, type ComponentVariantGroupSelect, type ComponentVariantInsert, type ComponentVariantSelect, type ComponentViewportResult, type ContentEntryInsert, type ContentEntrySelect, type ContentLockBlockFingerprint, type ContentLockInsert, type ContentLockMode, type ContentLockSelect, type ContentLockTargetKind, type ContentModelField, type ContentModelFieldConfig, type ContentModelFieldType, type ContentModelInsert, type ContentModelKind, type ContentModelSelect, type ContentNavigationDoc, type ContentNavigationFolder, type ContentNavigationInsert, type ContentNavigationItem, type ContentNavigationSelect, type ContentVersionInsert, type ContentVersionSelect, type ConversionBriefIssued, type ConversionProposal, type ConversionProposalStatus, type CrmDealInsert, type CrmDealSelect, type CrmStage, type CustomAgentCapability, type CustomAgentInsert, type CustomAgentRevisionSelect, type CustomAgentRunSelect, type CustomAgentRunStatus, type CustomAgentSelect, type CustomAgentSpeed, type CustomAgentStatus, type CustomDomainInsert, type CustomDomainSelect, type CustomScripts, DEFAULT_AEO_CONFIG, DEFAULT_BRAND_KIT, DEFAULT_HTTP_HEADERS, DEFAULT_LOCALE_CONFIG, DEFAULT_SEARCH_CONFIG, type DeployTargetInsert, type DeployTargetSelect, type DesignInput, type DesignSnapshot, type DesignToken, type DeviceAuthorizationInsert, type DeviceAuthorizationSelect, type DeviceAuthorizationStatus, EMPTY_CUSTOM_SCRIPTS, ENV_VAR_SCOPES, EXECUTOR_COMMAND_KINDS, EXECUTOR_GRANT_STATUSES, EXECUTOR_INSTALLATION_STATUSES, EXECUTOR_KINDS, EXECUTOR_LEASE_RELEASE_REASONS, EXECUTOR_LEASE_STATES, EXECUTOR_SESSION_STATES, type EmailSuppressionInsert, type EmailSuppressionSelect, type EntryMetaJson, type EnvVarScope, type ExecutionMutationBudget, type ExecutionPathPolicy, type ExecutorCommandKind, type ExecutorGrantStatus, type ExecutorInstallationStatus, type ExecutorKind, type ExecutorLeaseReleaseReason, type ExecutorLeaseState, type ExecutorRepositoryClaim, type ExecutorSessionState, type ExternalDeploymentInsert, type ExternalDeploymentSelect, FULL_BACKUP_SCOPE, type Fieldset, type FolderInsert, type FolderSelect, type FormContactInsert, type FormContactSelect, type FormField, type FormFieldUi, type FormFieldValidation, type FormImplementation, type FormImplementationState, type FormInsert, type FormIntegrationConfig, type FormIntegrationInsert, type FormIntegrationProvider, type FormIntegrationSelect, type FormNotification, type FormSelect, type FormStatus, type FormSubmissionInsert, type FormSubmissionSelect, type GeneratedTypesInsert, type GeneratedTypesSelect, type GithubInstallationInsert, type GithubInstallationSelect, type GoogleIntegrationInsert, type GoogleIntegrationSelect, type GrantKind, type HostingConnectionInsert, type HostingConnectionSelect, type HttpHeadersConfig, IMPLEMENTATION_ATTEMPT_STATUSES, INDEXNOW_KINDS, INDEXNOW_STATUSES, INSTRUCTION_BODY_MAX, INSTRUCTION_KINDS, INSTRUCTION_SOURCES, type ImplementationAttemptStatus, type IndexNowConfig, type IndexNowKind, type IndexNowStatus, type IndexNowSubmissionInsert, type IndexNowSubmissionSelect, type IngestReport, type InstructionKind, type InstructionSource, type InternalJobRunInsert, type InternalJobRunSelect, type LocaleConfig, MARKDOWN_FILE_STATUSES, MCP_TASK_STATUSES, type MarkdownFileInsert, type MarkdownFileSelect, type MarkdownFileStatus, type McpCallToolResultSnapshot, type McpConnectionInsert, type McpConnectionSelect, type McpJsonRpcErrorSnapshot, type McpTaskInputState, type McpTaskInsert, type McpTaskPrincipalKind, type McpTaskSelect, type McpTaskStatus, type McpTaskTerminalSnapshot, type MediaAssetInsert, type MediaAssetSelect, type MigrationJobInsert, type MigrationJobSelect, type NewConversionBriefIssued, type NewConversionProposal, type NewOrchestrationExecutionApproval, type NewOrchestrationExecutorCommand, type NewOrchestrationExecutorGrant, type NewOrchestrationExecutorInstallation, type NewOrchestrationExecutorLease, type NewOrchestrationExecutorSession, type NewOrchestrationImplementationAttempt, type NewOrchestrationPatchManifest, type NewOrchestrationPullRequestReceipt, type NewOrchestrationValidationEnvelope, type NewOrchestrationValidationEvidence, type NewsletterIssueInsert, type NewsletterIssueSelect, type NewsletterSendInsert, type NewsletterSendSelect, ORCHESTRATION_RUN_STATUSES, type OauthClientInsert, type OauthClientSelect, type OrchestrationBoundTargetMetadata, type OrchestrationExecutionApproval, type OrchestrationExecutorCommand, type OrchestrationExecutorGrant, type OrchestrationExecutorInstallation, type OrchestrationExecutorLease, type OrchestrationExecutorSession, type OrchestrationImplementationAttempt, type OrchestrationLegacyBoundTargetMetadata, type OrchestrationLegacyTargetBinding, type OrchestrationLegacyUnboundTargetMetadata, type OrchestrationPatchManifest, type OrchestrationPullRequestReceipt, type OrchestrationRunCommandResultInsert, type OrchestrationRunCommandResultPayload, type OrchestrationRunCommandResultSelect, type OrchestrationRunEventInsert, type OrchestrationRunEventPayload, type OrchestrationRunEventSelect, type OrchestrationRunInsert, type OrchestrationRunLifecycleCommand, type OrchestrationRunSelect, type OrchestrationRunStartKeyInsert, type OrchestrationRunStartKeySelect, type OrchestrationRunStatus, type OrchestrationTargetBinding, type OrchestrationTargetKind, type OrchestrationTargetMetadata, type OrchestrationValidationEnvelope, type OrchestrationValidationEvidence, type OrderDirection, PATCH_OPERATIONS, type PageInsert, type PageMetaJson, type PageRouting, type PageSelect, type PageTypeInsert, type PageTypeSelect, type PageVersionInsert, type PageVersionSelect, type PageVersionSnapshot, type PaginatedResult, type PasskeyInsert, type PasskeySelect, type PatchOperation, type PatternSegment, type PaymentRecordInsert, type PaymentRecordSelect, type PendingInviteInsert, type PendingInviteSelect, type PendingMainPublish, type PlanChangeInsert, type PlanChangeSelect, type PlanLimitsInsert, type PlanLimitsSelect, PoolBusyError, type PreviewTokenRevocationInsert, type PreviewTokenRevocationSelect, type ProjectBranchInsert, type ProjectBranchSelect, type ProjectBranchStatus, type ProjectEnvVarInsert, type ProjectEnvVarSelect, type ProjectFolderSelect, type ProjectFormDefaults, type ProjectInsert, type ProjectLayoutInsert, type ProjectLayoutSelect, type ProjectLayoutVersionSelect, type ProjectMemberInsert, type ProjectMemberSelect, type ProjectOrchestrationStateInsert, type ProjectOrchestrationStateSelect, type ProjectRepoInsert, type ProjectRepoSelect, type ProjectSelect, type ProjectSuggestionInsert, type ProjectSuggestionSelect, type ProjectTransferInsert, type ProjectTransferSelect, type PublishDeliverySelect, type PublishInsert, type PublishItemSelect, type PublishSelect, type QaCategory, type QaFinding, type QaReportInsert, type QaReportSelect, type QaSeverity, type RebuildQueueInsert, type RebuildQueueSelect, type RedirectInsert, type RedirectSelect, type ReleaseInsert, type ReleaseSelect, type RevalidationConfig, type RobotsConfig, type RssConfig, type RssFieldMap, SECTION_IMPLEMENTATION_REQUEST_STATUSES, SITE_FILE_KINDS, SUGGESTION_KINDS, type SearchConfig, type SectionDefinitionInsert, type SectionDefinitionSelect, type SectionDefinitionVersionSelect, type SectionImplementationRequestStatus, type SectionManifestPayload, type SectionSchemaKind, type SectionValidationPayload, type SectionValidationViewportResult, type SectionZoneSelect, type SeoDefaults, type SeoReportInsert, type SeoReportMetrics, type SeoReportSelect, type SessionInsert, type SessionSelect, type ShareLinkInsert, type ShareLinkSelect, type SiteFileInsert, type SiteFileKind, type SiteFileSelect, type SiteSchema, type SitemapConfig, type SitemapExtraUrl, type SsoProviderInsert, type SsoProviderSelect, type StorageConfigInsert, type StorageConfigSelect, type SubscriptionAddonInsert, type SubscriptionAddonSelect, type SubscriptionInsert, type SubscriptionSelect, type SuggestionKind, type SuggestionTrigger, type SupersededR2KeyInsert, type SupersededR2KeySelect, type SupportAttachment, type SupportTicketInsert, type SupportTicketMessageInsert, type SupportTicketMessageSelect, type SupportTicketSelect, type TemplateCategory, type TemplateFramework, type TemplateInsert, type TemplateScope, type TemplateSelect, type TemplateVisibility, type TwoFactorInsert, type TwoFactorSelect, type TypegenQueueInsert, type TypegenQueueSelect, type UserInsert, type UserNotificationInsert, type UserNotificationSelect, type UserSelect, VALIDATION_ENVELOPE_STATUSES, VALIDATION_LIVE_STATUSES, type ValidationEnvelopeStatus, type VerificationInsert, type VerificationSelect, WRITE_ORIGINS, type WebflowIntegrationInsert, type WebflowIntegrationSelect, type WebhookAdvancedConfigRecord, type WebhookDeliveryInsert, type WebhookDeliverySelect, type WebhookEventType, type WebhookInsert, type WebhookSelect, type WorkflowStageInsert, type WorkflowStageSelect, type WorkspaceInsert, type WorkspaceMemberInsert, type WorkspaceMemberSelect, type WorkspaceRoleInsert, type WorkspaceRoleSelect, type WorkspaceSelect, type WriteOrigin, abmCampaigns, abmShareTokens, accounts, activeDb, activeSql, adminActionLogs, adminAgentSessions, adminNotes, agentInstructions, agentKeys, agentMessages, agentSessions, aiCreditLedger, aiGenerationJobs, aiProviderKeys, aiReports, analyticsCursor, analyticsDailyBreakdown, analyticsDailyPages, analyticsDailyReferrers, analyticsDailyTotals, analyticsEventsRaw, apiKeys, apiKeysRelations, auditColumns, auditLogs, backupJobs, backups, bcmsMigrationFlags, betaWaitlist, billingAddons, billingAlerts, billingCustomers, branchColumns, branchPreviewGrants, branchPreviewShares, brandKitVersions, buildTriggerRuns, buildTriggers, clearBranchContext, clearUserContext, clearWorkspaceContext, cloneJobs, cloneLinks, collectionGrants, comments, componentFamilyManifests, componentGroups, componentImplementationAdapters, componentImplementationApprovals, componentImplementationCandidates, componentImplementationEvidence, componentImplementationRequests, componentImplementationStates, componentPresets, componentPresetsRelations, componentPreviewBundles, componentPreviewSources, componentVariantGroups, componentVariants, componentVariantsRelations, components, componentsRelations, contentEntries, contentEntriesRelations, contentLocks, contentModels, contentModelsRelations, contentNavigation, contentVersions, conversionBriefsIssued, conversionProposals, crmConnections, crmDeals, crmOauthStates, customAgentRevisions, customAgentRuns, customAgents, customDomains, db, deployTargets, deviceAuthorizations, emailSuppressions, ensureCollection, ensureDefaultWorkspace, externalDeployments, extractBlockText, extractEntryText, folders, foldersRelations, formContacts, formContactsRelations, formIntegrationDeliveries, formIntegrations, formIntegrationsRelations, formSubmissions, forms, formsRelations, generatedTypes, getDefaultWorkspaceId, getTypesenseClient, getWorkspaceSlugById, githubInstallations, googleIntegrations, googleIntegrationsRelations, hostingConnections, indexnowSubmissions, internalJobRuns, lookupApiKeyByHash, markdownFiles, mcpConnections, mcpTasks, mediaAssets, mediaAssetsRelations, migrationJobs, newsletterIssues, newsletterSends, oauthClients, orchestrationDeploymentAuthorizations, orchestrationDeploymentRequests, orchestrationExecutionApprovals, orchestrationExecutorCommands, orchestrationExecutorGrants, orchestrationExecutorInstallations, orchestrationExecutorLeases, orchestrationExecutorSessions, orchestrationImplementationAttempts, orchestrationMergeAuthorizations, orchestrationPatchManifests, orchestrationPlanSnapshots, orchestrationPullRequestReceipts, orchestrationRunCommandResults, orchestrationRunEvents, orchestrationRunStartKeys, orchestrationRuns, orchestrationValidationEnvelopes, orchestrationValidationEvidence, orchestrationVisualApprovals, pageFolders, pageFoldersRelations, pageTypes, pageVersions, pages, pagesCollectionSchema, pagesRelations, passkeys, paymentRecords, pendingInvites, planChanges, planLimits, poolStats, previewTokenRevocations, projectBranches, projectEnvVars, projectFolders, projectLayoutVersions, projectLayouts, projectMembers, projectOrchestrationStates, projectRepos, projectSuggestions, projectTransfers, projects, projectsRelations, publicWorkspaceBySlug, publishDeliveries, publishItems, publishes, qaReports, queries, rebuildQueue, redirects, releases, removeEntry, removePage, resolveUserWorkspace, rootDb, schema, sectionDefinitionVersions, sectionDefinitions, sectionImplementationRequests, sectionManifests, sectionValidationRuns, sectionVisualApprovals, sectionZoneAttachments, sectionZoneReleases, sectionZones, seoReports, sessions, setBranchContext, setUserContext, setWorkspaceContext, setWriteOrigin, shareLinks, siteFiles, softDeleteColumn, rootSql as sql, ssoProviders, storageConfigs, subscriptionAddons, subscriptions, supersededR2Keys, supportTicketMessages, supportTickets, templates, templatesRelations, twoFactor, typegenQueue, upsertEntry, upsertPage, userNotifications, users, verification, webflowIntegrations, webhookDeliveries, webhooks, webhooksRelations, withPinnedConnection, withoutPinnedConnection, workflowStages, workspaceMembers, workspaceRoles, workspaces, writeGovernanceColumns };