@stacksjs/orm 0.72.97 → 0.72.99

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
@@ -141,6 +141,19 @@ export declare const Transaction: ReturnType<typeof lazyModel<typeof import('./m
141
141
  export declare const WaitlistProduct: ReturnType<typeof lazyModel<typeof import('./models/commerce/WaitlistProduct').default>>;
142
142
  export declare const WaitlistRestaurant: ReturnType<typeof lazyModel<typeof import('./models/commerce/WaitlistRestaurant').default>>;
143
143
  export declare const Websocket: ReturnType<typeof lazyModel<typeof import('./models/realtime/Websocket').default>>;
144
+ /**
145
+ * The names this module puts on `globalThis`.
146
+ *
147
+ * Exported so the declaration generator can describe exactly this set rather
148
+ * than guessing at it from the models directory. The two used to be worked out
149
+ * separately - `server-auto-imports.d.ts` scanned the framework's model files,
150
+ * this list is the module's own exports - and separate derivations of one fact
151
+ * are how a global comes to be typed but absent, or present but untyped.
152
+ *
153
+ * Names only. Reading the values would instantiate every lazy proxy, which is
154
+ * the opposite of what they are for.
155
+ */
156
+ export declare const modelGlobalNames: readonly string[];
144
157
  /**
145
158
  * A model record seen only through `get(column)`.
146
159
  *