@supabase/lite 0.7.1-next.4 → 0.7.1-next.6
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/{Connection-DJbw6dM8.d.ts → Connection-Cm9fpZU3.d.ts} +10 -10
- package/dist/cli/index.js +104 -103
- package/dist/cli/lib.d.ts +3 -2
- package/dist/cli/lib.js +33 -33
- package/dist/db/fallback.d.ts +1 -1
- package/dist/db/workerd/index.js +1 -1
- package/dist/index.d.ts +190 -161
- package/dist/index.js +46 -46
- package/dist/vite/index.d.ts +23 -23
- package/package.json +1 -1
package/dist/cli/lib.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ declare class AuthStorage implements SupportedStorage {
|
|
|
28
28
|
|
|
29
29
|
interface BaseApiConfig {
|
|
30
30
|
host?: string;
|
|
31
|
+
projectsHost?: string;
|
|
31
32
|
token?: string;
|
|
32
33
|
root?: string;
|
|
33
34
|
client?: SupabaseClient;
|
|
@@ -47,7 +48,7 @@ declare abstract class BaseApi<Config extends BaseApiConfig = BaseApiConfig> {
|
|
|
47
48
|
|
|
48
49
|
type Project = {
|
|
49
50
|
id: string;
|
|
50
|
-
name
|
|
51
|
+
name: string;
|
|
51
52
|
created_at: string;
|
|
52
53
|
};
|
|
53
54
|
interface ProjectApiConfig extends BaseApiConfig {
|
|
@@ -79,7 +80,7 @@ declare class ProjectRemoteApi extends ProjectApi {
|
|
|
79
80
|
ping(): Promise<boolean>;
|
|
80
81
|
list(): Promise<Project[]>;
|
|
81
82
|
get(projectRef?: string): Promise<Project>;
|
|
82
|
-
create(project
|
|
83
|
+
create(project: Partial<Omit<Project, "id" | "created_at">>): Promise<Project>;
|
|
83
84
|
getConfig(projectRef: string): Promise<DefaultAppConfig>;
|
|
84
85
|
setConfig(projectRef: string, config: any): Promise<boolean>;
|
|
85
86
|
createApp(projectRef: string): Promise<App>;
|