@bettercms-ai/db 0.4.3 → 0.4.4

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
@@ -6699,7 +6699,39 @@ declare const pages: drizzle_orm_pg_core.PgTableWithColumns<{
6699
6699
  repeaters?: boolean;
6700
6700
  families?: true;
6701
6701
  collection?: true;
6702
+ /**
6703
+ * Which PROSE grammar this page was derived in. `"document"` means its article body is
6704
+ * one Portable Text field; absent means a field per paragraph, which every page
6705
+ * derived before prose mode holds. @see DeriveOptions.prose
6706
+ */
6707
+ prose?: "document";
6702
6708
  styles?: Record<string, unknown>;
6709
+ /**
6710
+ * field path → the id of the Button component that path's CTA looks like, written by
6711
+ * the button-recipes lane so componentize can reference it. A slot on an existing
6712
+ * jsonb column, not a new one: it is per-page derive metadata like everything else here.
6713
+ */
6714
+ buttons?: Record<string, string>;
6715
+ /**
6716
+ * Elements an editor pinned from the canvas ("Make editable"), replayed on every later
6717
+ * derive so the field they minted survives a re-derive and a rebuild.
6718
+ *
6719
+ * Structural, not `DerivedLocator` imported: this package is the schema and must not
6720
+ * depend on the content lane. @see packages/types/src/locator.ts
6721
+ */
6722
+ pins?: {
6723
+ region: string | null;
6724
+ ancestors: string[];
6725
+ siblingIndex: number;
6726
+ tag: string;
6727
+ /**
6728
+ * COLLECTIONS ONLY: the model field this pin fills, and what it holds. A singleton
6729
+ * re-derives its key from the element's own text; a collection's entries each say
6730
+ * something different, so one key has to ride with the pin. @see PinnedField
6731
+ */
6732
+ key?: string;
6733
+ type?: "text" | "image";
6734
+ }[];
6703
6735
  skipped?: unknown[];
6704
6736
  skippedTotal?: number;
6705
6737
  } | null;
@@ -6718,7 +6750,39 @@ declare const pages: drizzle_orm_pg_core.PgTableWithColumns<{
6718
6750
  repeaters?: boolean;
6719
6751
  families?: true;
6720
6752
  collection?: true;
6753
+ /**
6754
+ * Which PROSE grammar this page was derived in. `"document"` means its article body is
6755
+ * one Portable Text field; absent means a field per paragraph, which every page
6756
+ * derived before prose mode holds. @see DeriveOptions.prose
6757
+ */
6758
+ prose?: "document";
6721
6759
  styles?: Record<string, unknown>;
6760
+ /**
6761
+ * field path → the id of the Button component that path's CTA looks like, written by
6762
+ * the button-recipes lane so componentize can reference it. A slot on an existing
6763
+ * jsonb column, not a new one: it is per-page derive metadata like everything else here.
6764
+ */
6765
+ buttons?: Record<string, string>;
6766
+ /**
6767
+ * Elements an editor pinned from the canvas ("Make editable"), replayed on every later
6768
+ * derive so the field they minted survives a re-derive and a rebuild.
6769
+ *
6770
+ * Structural, not `DerivedLocator` imported: this package is the schema and must not
6771
+ * depend on the content lane. @see packages/types/src/locator.ts
6772
+ */
6773
+ pins?: {
6774
+ region: string | null;
6775
+ ancestors: string[];
6776
+ siblingIndex: number;
6777
+ tag: string;
6778
+ /**
6779
+ * COLLECTIONS ONLY: the model field this pin fills, and what it holds. A singleton
6780
+ * re-derives its key from the element's own text; a collection's entries each say
6781
+ * something different, so one key has to ride with the pin. @see PinnedField
6782
+ */
6783
+ key?: string;
6784
+ type?: "text" | "image";
6785
+ }[];
6722
6786
  skipped?: unknown[];
6723
6787
  skippedTotal?: number;
6724
6788
  } | null;