@hot-updater/supabase 0.16.7-0 → 0.18.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.
@@ -1,30 +1,34 @@
1
- import { BuildType } from '@hot-updater/plugin-core';
1
+ import { BuildType } from "@hot-updater/plugin-core";
2
2
 
3
+ //#region iac/supabaseApi.d.ts
3
4
  interface SupabaseApi {
4
- listBuckets: () => Promise<{
5
- id: string;
6
- name: string;
7
- isPublic: boolean;
8
- createdAt: string;
9
- }[]>;
10
- createBucket: (bucketName: string, options: {
11
- public: boolean;
12
- }) => Promise<{
13
- name: string;
14
- }>;
15
- }
16
-
17
- declare const selectProject: () => Promise<{
5
+ listBuckets: () => Promise<{
18
6
  id: string;
19
7
  name: string;
20
- region: string;
8
+ isPublic: boolean;
9
+ createdAt: string;
10
+ }[]>;
11
+ createBucket: (bucketName: string, options: {
12
+ public: boolean;
13
+ }) => Promise<{
14
+ name: string;
15
+ }>;
16
+ } //#endregion
17
+ //#region iac/index.d.ts
18
+ declare const selectProject: () => Promise<{
19
+ id: string;
20
+ name: string;
21
+ region: string;
21
22
  }>;
22
23
  declare const selectBucket: (api: SupabaseApi) => Promise<{
23
- id: string;
24
- name: string;
24
+ id: string;
25
+ name: string;
25
26
  }>;
26
- declare const runInit: ({ build, }: {
27
- build: BuildType;
27
+ declare const runInit: ({
28
+ build
29
+ }: {
30
+ build: BuildType;
28
31
  }) => Promise<void>;
29
32
 
30
- export { runInit, selectBucket, selectProject };
33
+ //#endregion
34
+ export { runInit, selectBucket, selectProject };
@@ -1,30 +1,34 @@
1
- import { BuildType } from '@hot-updater/plugin-core';
1
+ import { BuildType } from "@hot-updater/plugin-core";
2
2
 
3
+ //#region iac/supabaseApi.d.ts
3
4
  interface SupabaseApi {
4
- listBuckets: () => Promise<{
5
- id: string;
6
- name: string;
7
- isPublic: boolean;
8
- createdAt: string;
9
- }[]>;
10
- createBucket: (bucketName: string, options: {
11
- public: boolean;
12
- }) => Promise<{
13
- name: string;
14
- }>;
15
- }
16
-
17
- declare const selectProject: () => Promise<{
5
+ listBuckets: () => Promise<{
18
6
  id: string;
19
7
  name: string;
20
- region: string;
8
+ isPublic: boolean;
9
+ createdAt: string;
10
+ }[]>;
11
+ createBucket: (bucketName: string, options: {
12
+ public: boolean;
13
+ }) => Promise<{
14
+ name: string;
15
+ }>;
16
+ } //#endregion
17
+ //#region iac/index.d.ts
18
+ declare const selectProject: () => Promise<{
19
+ id: string;
20
+ name: string;
21
+ region: string;
21
22
  }>;
22
23
  declare const selectBucket: (api: SupabaseApi) => Promise<{
23
- id: string;
24
- name: string;
24
+ id: string;
25
+ name: string;
25
26
  }>;
26
- declare const runInit: ({ build, }: {
27
- build: BuildType;
27
+ declare const runInit: ({
28
+ build
29
+ }: {
30
+ build: BuildType;
28
31
  }) => Promise<void>;
29
32
 
30
- export { runInit, selectBucket, selectProject };
33
+ //#endregion
34
+ export { runInit, selectBucket, selectProject };