@hot-updater/supabase 0.36.6 → 1.0.0-rc.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/edge.cjs +6 -3
- package/dist/edge.d.cts +14 -2
- package/dist/edge.d.mts +14 -2
- package/dist/edge.mjs +5 -2
- package/dist/iac/index.cjs +607 -50
- package/dist/iac/index.d.cts +26 -8
- package/dist/iac/index.d.mts +26 -8
- package/dist/iac/index.mjs +604 -52
- package/dist/index.cjs +3 -145
- package/dist/index.d.cts +7 -24
- package/dist/index.d.mts +7 -24
- package/dist/index.mjs +2 -117
- package/dist/init/index.cjs +5 -2
- package/dist/init/index.d.cts +2 -2
- package/dist/init/index.d.mts +2 -2
- package/dist/init/index.mjs +5 -2
- package/dist/supabaseDatabase-BDIBsXpz.d.cts +13 -0
- package/dist/supabaseDatabase-CP9WalBi.d.mts +13 -0
- package/dist/supabaseStorage-Cw294tR4.mjs +557 -0
- package/dist/supabaseStorage-yP7u4m7E.cjs +568 -0
- package/package.json +9 -9
- package/supabase/edge-functions/index.ts +9 -13
- package/supabase/edge-functions/runtime.docker.integration.spec.ts +417 -202
- package/supabase/migrations/20260818000000_hot-updater_1.0.0.sql +583 -0
- package/supabase/migrations.spec.ts +127 -46
- package/dist/supabaseEdgeFunctionStorage-BRxGvt-r.d.mts +0 -19
- package/dist/supabaseEdgeFunctionStorage-BSLlUeqi.cjs +0 -386
- package/dist/supabaseEdgeFunctionStorage-CU396KO3.d.cts +0 -19
- package/dist/supabaseEdgeFunctionStorage-pV0s_mTF.mjs +0 -356
- package/supabase/migrations/20250103114225_init.sql +0 -228
- package/supabase/migrations/20250314000000_hot-updater_0.13.0.sql +0 -134
- package/supabase/migrations/20250516000000_hot-updater_0.18.0.sql +0 -194
- package/supabase/migrations/20251014000000_hot-updater_0.21.0.sql +0 -184
- package/supabase/migrations/20260401000000_hot-updater_0.29.0.sql +0 -503
- package/supabase/migrations/20260414000000_hot-updater_0.30.0.sql +0 -50
- package/supabase/migrations/20260422000000_hot-updater_0.31.0.sql +0 -20
- package/supabase/migrations/20260520014100_hot-updater_rls.sql +0 -48
package/dist/edge.cjs
CHANGED
|
@@ -1,4 +1,7 @@
|
|
|
1
1
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
2
|
-
const
|
|
3
|
-
|
|
4
|
-
|
|
2
|
+
const require_supabaseStorage = require("./supabaseStorage-yP7u4m7E.cjs");
|
|
3
|
+
//#region src/supabaseEdgeFunctionStorage.ts
|
|
4
|
+
const supabaseEdgeFunctionStorage = (config) => require_supabaseStorage.supabaseStorage(config);
|
|
5
|
+
//#endregion
|
|
6
|
+
exports.supabaseDatabase = require_supabaseStorage.supabaseDatabase;
|
|
7
|
+
exports.supabaseStorage = supabaseEdgeFunctionStorage;
|
package/dist/edge.d.cts
CHANGED
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { n as supabaseDatabase, t as SupabaseDatabaseConfig } from "./supabaseDatabase-BDIBsXpz.cjs";
|
|
2
|
+
import { StoragePluginWith } from "@hot-updater/plugin-core";
|
|
3
|
+
|
|
4
|
+
//#region src/supabaseEdgeFunctionStorage.d.ts
|
|
5
|
+
interface SupabaseEdgeFunctionStorageConfig {
|
|
6
|
+
supabaseUrl: string;
|
|
7
|
+
supabaseServiceRoleKey: string;
|
|
8
|
+
bucketName: string;
|
|
9
|
+
basePath?: string;
|
|
10
|
+
signedUrlExpiresIn?: number;
|
|
11
|
+
}
|
|
12
|
+
declare const supabaseEdgeFunctionStorage: (config: SupabaseEdgeFunctionStorageConfig) => StoragePluginWith<"put" | "get" | "getDownloadUrl" | "exists" | "delete">;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { type SupabaseDatabaseConfig, type SupabaseEdgeFunctionStorageConfig as SupabaseStorageConfig, supabaseDatabase, supabaseEdgeFunctionStorage as supabaseStorage };
|
package/dist/edge.d.mts
CHANGED
|
@@ -1,2 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { n as supabaseDatabase, t as SupabaseDatabaseConfig } from "./supabaseDatabase-CP9WalBi.mjs";
|
|
2
|
+
import { StoragePluginWith } from "@hot-updater/plugin-core";
|
|
3
|
+
|
|
4
|
+
//#region src/supabaseEdgeFunctionStorage.d.ts
|
|
5
|
+
interface SupabaseEdgeFunctionStorageConfig {
|
|
6
|
+
supabaseUrl: string;
|
|
7
|
+
supabaseServiceRoleKey: string;
|
|
8
|
+
bucketName: string;
|
|
9
|
+
basePath?: string;
|
|
10
|
+
signedUrlExpiresIn?: number;
|
|
11
|
+
}
|
|
12
|
+
declare const supabaseEdgeFunctionStorage: (config: SupabaseEdgeFunctionStorageConfig) => StoragePluginWith<"put" | "get" | "getDownloadUrl" | "exists" | "delete">;
|
|
13
|
+
//#endregion
|
|
14
|
+
export { type SupabaseDatabaseConfig, type SupabaseEdgeFunctionStorageConfig as SupabaseStorageConfig, supabaseDatabase, supabaseEdgeFunctionStorage as supabaseStorage };
|
package/dist/edge.mjs
CHANGED
|
@@ -1,2 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { n as supabaseDatabase, t as supabaseStorage } from "./supabaseStorage-Cw294tR4.mjs";
|
|
2
|
+
//#region src/supabaseEdgeFunctionStorage.ts
|
|
3
|
+
const supabaseEdgeFunctionStorage = (config) => supabaseStorage(config);
|
|
4
|
+
//#endregion
|
|
5
|
+
export { supabaseDatabase, supabaseEdgeFunctionStorage as supabaseStorage };
|