@supabase/lite 0.8.1-next.1 → 0.9.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/LIMITATIONS.md +1 -1
- package/STATUS.md +1 -1
- package/dist/cli/index.js +117 -117
- package/dist/cli/lib.d.ts +3 -1
- package/dist/cli/lib.js +33 -33
- package/dist/{index-Bv2S5btu.d.ts → index-DKO3OQpz.d.ts} +2 -0
- package/dist/index.d.ts +63 -4
- package/dist/index.js +68 -68
- package/dist/vite/index.d.ts +8 -1
- package/package.json +3 -1
package/dist/cli/lib.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as _supabase_supabase_js from '@supabase/supabase-js';
|
|
2
2
|
import { SupportedStorage, SupabaseClient } from '@supabase/supabase-js';
|
|
3
|
-
import { S as Schema } from '../index-
|
|
3
|
+
import { S as Schema } from '../index-DKO3OQpz.js';
|
|
4
4
|
import { Connection, DefaultAppConfig, App } from '@supabase/lite';
|
|
5
5
|
import 'jsonv-ts';
|
|
6
6
|
|
|
@@ -140,6 +140,7 @@ type GeneratedProjectKeys = {
|
|
|
140
140
|
publishable?: string;
|
|
141
141
|
secret?: string;
|
|
142
142
|
};
|
|
143
|
+
/** @param created True only on the run that wrote the config, so `lite dev` can announce the scaffold it caused. */
|
|
143
144
|
declare function ensureInitialStructure(opts?: Partial<{
|
|
144
145
|
configFormat: "toml" | "json";
|
|
145
146
|
driver: NonNullable<Schema["db"]>["driver"];
|
|
@@ -147,6 +148,7 @@ declare function ensureInitialStructure(opts?: Partial<{
|
|
|
147
148
|
template: boolean;
|
|
148
149
|
}>): Promise<{
|
|
149
150
|
generatedKeys?: GeneratedProjectKeys;
|
|
151
|
+
created: boolean;
|
|
150
152
|
}>;
|
|
151
153
|
|
|
152
154
|
declare function ensureSchema(app: App, opts?: {
|