@voltro/database 0.22.1 → 0.23.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
@@ -2308,6 +2308,17 @@ declare interface FormatIssueOptions {
2308
2308
  readonly indent?: string;
2309
2309
  }
2310
2310
 
2311
+ /**
2312
+ * Live tables the framework's own runtime creates under a name that does NOT
2313
+ * start with a reserved prefix, so the prefix rule below cannot recognise them.
2314
+ *
2315
+ * Public because consumers need to tell "a table the app declares" from "one the
2316
+ * framework or a plugin brought" — `plugin-versioning` reads it to decide its
2317
+ * default watch set. One copy of that rule on purpose: a second copy of it is
2318
+ * how a per-dialect difference in what `voltro dev` does got shipped once.
2319
+ */
2320
+ export declare const FRAMEWORK_LIVE_TABLES: ReadonlySet<string>;
2321
+
2311
2322
  /** All framework tables as an array — useful for bootstrap DDL emission. */
2312
2323
  export declare const frameworkTables: readonly [TableLike, TableLike, TableLike];
2313
2324
 
@@ -2686,6 +2697,10 @@ export declare const isFieldDecryptionError: (e: unknown) => e is FieldDecryptio
2686
2697
  /** Type-guard for the discovery walker. */
2687
2698
  export declare const isFileMigration: (value: unknown) => value is FileMigration;
2688
2699
 
2700
+ /** True when `name` is a live table the framework / its runtime engines create
2701
+ * but no user schema declares — never plan a drop for it. */
2702
+ export declare const isFrameworkOwnedLiveTable: (name: string) => boolean;
2703
+
2689
2704
  export declare const isMigrationDefinition: (value: unknown) => value is MigrationDefinition;
2690
2705
 
2691
2706
  /**