@squadbase/vite-server 0.1.19 → 0.1.20-dev.39a001c

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.
@@ -174,7 +174,10 @@ interface SqlServerLogicDefinition extends BaseServerLogicDefinition {
174
174
  }
175
175
  interface TypeScriptServerLogicDefinition extends BaseServerLogicDefinition {
176
176
  _isTypescript: true;
177
+ /** The `.ts` handler path as written in the JSON (relative), kept for metadata. */
177
178
  _tsHandlerPath: string;
179
+ /** Lazily loads the handler module (build-time collected via import.meta.glob). */
180
+ _loadHandler: () => Promise<Record<string, unknown>>;
178
181
  connectionId?: undefined;
179
182
  _query?: undefined;
180
183
  }
@@ -1,10 +1,15 @@
1
1
  import { Plugin } from 'vite';
2
2
 
3
3
  interface SquadbasePluginOptions {
4
- buildEntry?: string;
5
- devEntry?: string;
6
4
  external?: string[];
7
5
  exclude?: RegExp[];
6
+ /**
7
+ * @deprecated No longer used — the dev server and the build now share a single
8
+ * shipped wrapper entry. Kept (and ignored) so existing dashboard
9
+ * `vite.config.ts` files that still pass these continue to type-check and run.
10
+ */
11
+ buildEntry?: string;
12
+ devEntry?: string;
8
13
  }
9
14
  declare function squadbasePlugin(options?: SquadbasePluginOptions): Plugin[];
10
15