@hot-updater/supabase 1.0.0-rc.18 → 1.0.0-rc.21
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 +1 -1
- package/dist/edge.d.cts +3 -3
- package/dist/edge.d.mts +3 -3
- package/dist/edge.mjs +1 -1
- package/dist/index.cjs +11 -12
- package/dist/index.d.cts +3 -4
- package/dist/index.d.mts +3 -4
- package/dist/index.mjs +2 -3
- package/dist/init/index.cjs +7593 -6
- package/dist/init/index.d.cts +97 -4
- package/dist/init/index.d.mts +97 -4
- package/dist/init/index.mjs +7578 -3
- package/dist/{plugins--10vxSpf.mjs → plugins-B8grmU79.mjs} +2 -3
- package/dist/{plugins-CcNpRRGq.cjs → plugins-DJUmZYvT.cjs} +5 -6
- package/dist/supabaseDatabase-DVb3-y2x.d.cts +726 -0
- package/dist/supabaseDatabase-DVb3-y2x.d.mts +726 -0
- package/package.json +9 -13
- package/dist/iac/index.cjs +0 -7680
- package/dist/iac/index.d.cts +0 -101
- package/dist/iac/index.d.mts +0 -101
- package/dist/iac/index.mjs +0 -7664
- package/dist/supabaseDatabase-C0-IshLi.d.cts +0 -436
- package/dist/supabaseDatabase-C0-IshLi.d.mts +0 -436
- package/supabase/edge-functions/runtime.docker.integration.spec.ts +0 -1301
- package/supabase/migrations.spec.ts +0 -287
|
@@ -1,436 +0,0 @@
|
|
|
1
|
-
import { EngineDatabase } from "@hot-updater/plugin-core";
|
|
2
|
-
//#region src/plugins.d.ts
|
|
3
|
-
/**
|
|
4
|
-
* The plugins the managed Supabase server runs: Insights, and API keys on every
|
|
5
|
-
* client route. Its Edge Function imports this list.
|
|
6
|
-
*/
|
|
7
|
-
declare const plugins: readonly [import("@hot-updater/server/plugins").HotUpdaterPlugin<"insights", {
|
|
8
|
-
readonly bundle_events: import("@hot-updater/server/database").TableDefinition<{
|
|
9
|
-
readonly id: {
|
|
10
|
-
readonly type: "string";
|
|
11
|
-
readonly maxLength: 36;
|
|
12
|
-
};
|
|
13
|
-
readonly type: {
|
|
14
|
-
readonly type: "string";
|
|
15
|
-
readonly maxLength: 32;
|
|
16
|
-
};
|
|
17
|
-
readonly install_id: {
|
|
18
|
-
readonly type: "string";
|
|
19
|
-
readonly maxLength: 255;
|
|
20
|
-
};
|
|
21
|
-
readonly user_id: {
|
|
22
|
-
readonly type: "string";
|
|
23
|
-
readonly maxLength: 255;
|
|
24
|
-
readonly required: false;
|
|
25
|
-
};
|
|
26
|
-
readonly from_release_id: {
|
|
27
|
-
readonly type: "string";
|
|
28
|
-
readonly maxLength: 36;
|
|
29
|
-
readonly required: false;
|
|
30
|
-
};
|
|
31
|
-
readonly from_bundle_id: {
|
|
32
|
-
readonly type: "string";
|
|
33
|
-
readonly maxLength: 36;
|
|
34
|
-
readonly required: false;
|
|
35
|
-
};
|
|
36
|
-
readonly to_release_id: {
|
|
37
|
-
readonly type: "string";
|
|
38
|
-
readonly maxLength: 36;
|
|
39
|
-
readonly required: false;
|
|
40
|
-
};
|
|
41
|
-
readonly to_bundle_id: {
|
|
42
|
-
readonly type: "string";
|
|
43
|
-
readonly maxLength: 36;
|
|
44
|
-
};
|
|
45
|
-
readonly platform: {
|
|
46
|
-
readonly type: "string";
|
|
47
|
-
readonly maxLength: 16;
|
|
48
|
-
};
|
|
49
|
-
readonly app_version: {
|
|
50
|
-
readonly type: "string";
|
|
51
|
-
};
|
|
52
|
-
readonly channel: {
|
|
53
|
-
readonly type: "string";
|
|
54
|
-
};
|
|
55
|
-
readonly metadata: {
|
|
56
|
-
readonly type: "json";
|
|
57
|
-
};
|
|
58
|
-
readonly received_at_ms: {
|
|
59
|
-
readonly type: "integer";
|
|
60
|
-
};
|
|
61
|
-
}, {
|
|
62
|
-
day: "integer";
|
|
63
|
-
movement_install_id: "string";
|
|
64
|
-
bundle_ref: "string";
|
|
65
|
-
}, {
|
|
66
|
-
readonly recent: {
|
|
67
|
-
readonly eq: readonly ["channel", "platform", "day"];
|
|
68
|
-
readonly sort: readonly ["received_at_ms"];
|
|
69
|
-
};
|
|
70
|
-
readonly movementsByInstall: {
|
|
71
|
-
readonly eq: readonly ["movement_install_id"];
|
|
72
|
-
readonly sort: readonly ["received_at_ms"];
|
|
73
|
-
};
|
|
74
|
-
readonly byBundle: {
|
|
75
|
-
readonly eq: readonly ["platform", "channel", "type", "bundle_ref", "day"];
|
|
76
|
-
readonly sort: readonly ["received_at_ms"];
|
|
77
|
-
};
|
|
78
|
-
readonly byDay: {
|
|
79
|
-
readonly eq: readonly ["day"];
|
|
80
|
-
readonly sort: readonly ["received_at_ms"];
|
|
81
|
-
};
|
|
82
|
-
}, readonly ["id"]>;
|
|
83
|
-
readonly bundle_event_heads: import("@hot-updater/server/database").TableDefinition<{
|
|
84
|
-
readonly install_id: {
|
|
85
|
-
readonly type: "string";
|
|
86
|
-
readonly maxLength: 255;
|
|
87
|
-
};
|
|
88
|
-
readonly id: {
|
|
89
|
-
readonly type: "string";
|
|
90
|
-
readonly maxLength: 36;
|
|
91
|
-
};
|
|
92
|
-
readonly type: {
|
|
93
|
-
readonly type: "string";
|
|
94
|
-
readonly maxLength: 32;
|
|
95
|
-
};
|
|
96
|
-
readonly user_id: {
|
|
97
|
-
readonly type: "string";
|
|
98
|
-
readonly maxLength: 255;
|
|
99
|
-
readonly required: false;
|
|
100
|
-
};
|
|
101
|
-
readonly from_release_id: {
|
|
102
|
-
readonly type: "string";
|
|
103
|
-
readonly maxLength: 36;
|
|
104
|
-
readonly required: false;
|
|
105
|
-
};
|
|
106
|
-
readonly from_bundle_id: {
|
|
107
|
-
readonly type: "string";
|
|
108
|
-
readonly maxLength: 36;
|
|
109
|
-
readonly required: false;
|
|
110
|
-
};
|
|
111
|
-
readonly to_release_id: {
|
|
112
|
-
readonly type: "string";
|
|
113
|
-
readonly maxLength: 36;
|
|
114
|
-
readonly required: false;
|
|
115
|
-
};
|
|
116
|
-
readonly to_bundle_id: {
|
|
117
|
-
readonly type: "string";
|
|
118
|
-
readonly maxLength: 36;
|
|
119
|
-
};
|
|
120
|
-
readonly platform: {
|
|
121
|
-
readonly type: "string";
|
|
122
|
-
readonly maxLength: 16;
|
|
123
|
-
};
|
|
124
|
-
readonly app_version: {
|
|
125
|
-
readonly type: "string";
|
|
126
|
-
};
|
|
127
|
-
readonly channel: {
|
|
128
|
-
readonly type: "string";
|
|
129
|
-
};
|
|
130
|
-
readonly metadata: {
|
|
131
|
-
readonly type: "json";
|
|
132
|
-
};
|
|
133
|
-
readonly received_at_ms: {
|
|
134
|
-
readonly type: "integer";
|
|
135
|
-
};
|
|
136
|
-
}, Readonly<Record<string, import("@hot-updater/server/database").FieldType>>, {
|
|
137
|
-
readonly byUser: {
|
|
138
|
-
readonly eq: readonly ["user_id"];
|
|
139
|
-
readonly sort: readonly ["install_id"];
|
|
140
|
-
};
|
|
141
|
-
}, readonly ["install_id"]>;
|
|
142
|
-
readonly insights_overview: import("@hot-updater/server/database").AggregateDefinition<{
|
|
143
|
-
readonly identity: {
|
|
144
|
-
readonly type: "string";
|
|
145
|
-
readonly maxLength: 32;
|
|
146
|
-
};
|
|
147
|
-
readonly bucket_start_ms: {
|
|
148
|
-
readonly type: "integer";
|
|
149
|
-
};
|
|
150
|
-
}, "downloads" | "launches" | "failed_launches" | "failed_updates" | "patch_downloads" | "patch_fallbacks", {
|
|
151
|
-
readonly window: {
|
|
152
|
-
readonly eq: readonly ["identity"];
|
|
153
|
-
readonly sort: readonly ["bucket_start_ms"];
|
|
154
|
-
};
|
|
155
|
-
}, never, readonly ["identity", "bucket_start_ms"]>;
|
|
156
|
-
readonly insights_sketches: import("@hot-updater/server/database").AggregateDefinition<{
|
|
157
|
-
readonly identity: {
|
|
158
|
-
readonly type: "string";
|
|
159
|
-
readonly maxLength: 32;
|
|
160
|
-
};
|
|
161
|
-
readonly bucket_start_ms: {
|
|
162
|
-
readonly type: "integer";
|
|
163
|
-
};
|
|
164
|
-
}, never, {
|
|
165
|
-
readonly window: {
|
|
166
|
-
readonly eq: readonly ["identity"];
|
|
167
|
-
readonly sort: readonly ["bucket_start_ms"];
|
|
168
|
-
};
|
|
169
|
-
}, "launch_users" | "activity_users" | "failed_users", readonly ["identity", "bucket_start_ms"]>;
|
|
170
|
-
readonly insights_overview_daily: import("@hot-updater/server/database").AggregateDefinition<{
|
|
171
|
-
readonly identity: {
|
|
172
|
-
readonly type: "string";
|
|
173
|
-
readonly maxLength: 32;
|
|
174
|
-
};
|
|
175
|
-
readonly bucket_start_ms: {
|
|
176
|
-
readonly type: "integer";
|
|
177
|
-
};
|
|
178
|
-
}, "downloads" | "launches" | "failed_launches" | "failed_updates" | "patch_downloads" | "patch_fallbacks", {
|
|
179
|
-
readonly window: {
|
|
180
|
-
readonly eq: readonly ["identity"];
|
|
181
|
-
readonly sort: readonly ["bucket_start_ms"];
|
|
182
|
-
};
|
|
183
|
-
}, never, readonly ["identity", "bucket_start_ms"]>;
|
|
184
|
-
readonly insights_sketches_daily: import("@hot-updater/server/database").AggregateDefinition<{
|
|
185
|
-
readonly identity: {
|
|
186
|
-
readonly type: "string";
|
|
187
|
-
readonly maxLength: 32;
|
|
188
|
-
};
|
|
189
|
-
readonly bucket_start_ms: {
|
|
190
|
-
readonly type: "integer";
|
|
191
|
-
};
|
|
192
|
-
}, never, {
|
|
193
|
-
readonly window: {
|
|
194
|
-
readonly eq: readonly ["identity"];
|
|
195
|
-
readonly sort: readonly ["bucket_start_ms"];
|
|
196
|
-
};
|
|
197
|
-
}, "launch_users" | "activity_users" | "failed_users", readonly ["identity", "bucket_start_ms"]>;
|
|
198
|
-
readonly insights_overview_lifetime: import("@hot-updater/server/database").AggregateDefinition<{
|
|
199
|
-
readonly identity: {
|
|
200
|
-
readonly type: "string";
|
|
201
|
-
readonly maxLength: 32;
|
|
202
|
-
};
|
|
203
|
-
readonly bucket_start_ms: {
|
|
204
|
-
readonly type: "integer";
|
|
205
|
-
};
|
|
206
|
-
}, "downloads" | "launches" | "failed_launches" | "failed_updates" | "patch_downloads" | "patch_fallbacks", {
|
|
207
|
-
readonly window: {
|
|
208
|
-
readonly eq: readonly ["identity"];
|
|
209
|
-
readonly sort: readonly ["bucket_start_ms"];
|
|
210
|
-
};
|
|
211
|
-
}, never, readonly ["identity", "bucket_start_ms"]>;
|
|
212
|
-
readonly insights_sketches_lifetime: import("@hot-updater/server/database").AggregateDefinition<{
|
|
213
|
-
readonly identity: {
|
|
214
|
-
readonly type: "string";
|
|
215
|
-
readonly maxLength: 32;
|
|
216
|
-
};
|
|
217
|
-
readonly bucket_start_ms: {
|
|
218
|
-
readonly type: "integer";
|
|
219
|
-
};
|
|
220
|
-
}, never, {
|
|
221
|
-
readonly window: {
|
|
222
|
-
readonly eq: readonly ["identity"];
|
|
223
|
-
readonly sort: readonly ["bucket_start_ms"];
|
|
224
|
-
};
|
|
225
|
-
}, "failed_users", readonly ["identity", "bucket_start_ms"]>;
|
|
226
|
-
readonly insights_distribution: import("@hot-updater/server/database").AggregateDefinition<{
|
|
227
|
-
readonly channel: {
|
|
228
|
-
readonly type: "string";
|
|
229
|
-
};
|
|
230
|
-
readonly platform: {
|
|
231
|
-
readonly type: "string";
|
|
232
|
-
readonly maxLength: 16;
|
|
233
|
-
};
|
|
234
|
-
readonly app_version: {
|
|
235
|
-
readonly type: "string";
|
|
236
|
-
};
|
|
237
|
-
readonly release_id: {
|
|
238
|
-
readonly type: "string";
|
|
239
|
-
readonly maxLength: 36;
|
|
240
|
-
};
|
|
241
|
-
readonly bucket_start_ms: {
|
|
242
|
-
readonly type: "integer";
|
|
243
|
-
};
|
|
244
|
-
}, "latest_installations", {
|
|
245
|
-
readonly byScope: {
|
|
246
|
-
readonly eq: readonly ["channel", "platform"];
|
|
247
|
-
readonly sort: readonly ["bucket_start_ms"];
|
|
248
|
-
};
|
|
249
|
-
readonly byVersion: {
|
|
250
|
-
readonly eq: readonly ["channel", "platform", "app_version"];
|
|
251
|
-
readonly sort: readonly ["bucket_start_ms"];
|
|
252
|
-
};
|
|
253
|
-
}, never, readonly ["channel", "platform", "app_version", "release_id", "bucket_start_ms"]>;
|
|
254
|
-
readonly insights_latest_by_bundle: import("@hot-updater/server/database").AggregateDefinition<{
|
|
255
|
-
readonly platform: {
|
|
256
|
-
readonly type: "string";
|
|
257
|
-
readonly maxLength: 16;
|
|
258
|
-
};
|
|
259
|
-
readonly channel: {
|
|
260
|
-
readonly type: "string";
|
|
261
|
-
};
|
|
262
|
-
readonly bundle_field: {
|
|
263
|
-
readonly type: "string";
|
|
264
|
-
readonly maxLength: 16;
|
|
265
|
-
};
|
|
266
|
-
readonly bundle_id: {
|
|
267
|
-
readonly type: "string";
|
|
268
|
-
readonly maxLength: 36;
|
|
269
|
-
};
|
|
270
|
-
readonly type: {
|
|
271
|
-
readonly type: "string";
|
|
272
|
-
readonly maxLength: 32;
|
|
273
|
-
};
|
|
274
|
-
readonly bucket_start_ms: {
|
|
275
|
-
readonly type: "integer";
|
|
276
|
-
};
|
|
277
|
-
}, "installations", {
|
|
278
|
-
readonly byBundle: {
|
|
279
|
-
readonly eq: readonly ["platform", "channel", "bundle_field", "bundle_id", "type"];
|
|
280
|
-
readonly sort: readonly ["bucket_start_ms"];
|
|
281
|
-
};
|
|
282
|
-
}, never, readonly ["platform", "channel", "bundle_field", "bundle_id", "type", "bucket_start_ms"]>;
|
|
283
|
-
readonly insights_outcomes: import("@hot-updater/server/database").AggregateDefinition<{
|
|
284
|
-
readonly platform: {
|
|
285
|
-
readonly type: "string";
|
|
286
|
-
readonly maxLength: 16;
|
|
287
|
-
};
|
|
288
|
-
readonly channel: {
|
|
289
|
-
readonly type: "string";
|
|
290
|
-
};
|
|
291
|
-
readonly type: {
|
|
292
|
-
readonly type: "string";
|
|
293
|
-
readonly maxLength: 32;
|
|
294
|
-
};
|
|
295
|
-
readonly bundle_ref: {
|
|
296
|
-
readonly type: "string";
|
|
297
|
-
readonly maxLength: 41;
|
|
298
|
-
};
|
|
299
|
-
readonly bucket_start_ms: {
|
|
300
|
-
readonly type: "integer";
|
|
301
|
-
};
|
|
302
|
-
}, "events", {
|
|
303
|
-
readonly byRef: {
|
|
304
|
-
readonly eq: readonly ["platform", "channel", "type", "bundle_ref"];
|
|
305
|
-
readonly sort: readonly ["bucket_start_ms"];
|
|
306
|
-
};
|
|
307
|
-
}, never, readonly ["platform", "channel", "type", "bundle_ref", "bucket_start_ms"]>;
|
|
308
|
-
readonly insights_failures: import("@hot-updater/server/database").AggregateDefinition<{
|
|
309
|
-
readonly platform: {
|
|
310
|
-
readonly type: "string";
|
|
311
|
-
readonly maxLength: 16;
|
|
312
|
-
};
|
|
313
|
-
readonly channel: {
|
|
314
|
-
readonly type: "string";
|
|
315
|
-
};
|
|
316
|
-
readonly bucket_start_ms: {
|
|
317
|
-
readonly type: "integer";
|
|
318
|
-
};
|
|
319
|
-
readonly release_id: {
|
|
320
|
-
readonly type: "string";
|
|
321
|
-
readonly maxLength: 36;
|
|
322
|
-
};
|
|
323
|
-
readonly stage: {
|
|
324
|
-
readonly type: "string";
|
|
325
|
-
readonly maxLength: 16;
|
|
326
|
-
};
|
|
327
|
-
readonly reason: {
|
|
328
|
-
readonly type: "string";
|
|
329
|
-
readonly maxLength: 64;
|
|
330
|
-
};
|
|
331
|
-
readonly detail: {
|
|
332
|
-
readonly type: "string";
|
|
333
|
-
readonly maxLength: 160;
|
|
334
|
-
};
|
|
335
|
-
}, "events", {
|
|
336
|
-
readonly byScope: {
|
|
337
|
-
readonly eq: readonly ["platform", "channel"];
|
|
338
|
-
readonly sort: readonly ["bucket_start_ms"];
|
|
339
|
-
};
|
|
340
|
-
}, never, readonly ["platform", "channel", "bucket_start_ms", "release_id", "stage", "reason", "detail"]>;
|
|
341
|
-
}, {
|
|
342
|
-
api: {
|
|
343
|
-
retention: import("@hot-updater/server/plugins/insights").InsightsRetention;
|
|
344
|
-
recordEvent: (event: import("@hot-updater/server/plugins/insights").BundleEventRow) => Promise<void>;
|
|
345
|
-
listEvents: (input: import("@hot-updater/server/plugins/insights").InsightsListEventsInput) => Promise<readonly import("@hot-updater/server/plugins/insights").BundleEventRow[]>;
|
|
346
|
-
findLatestEvents: (input: import("@hot-updater/server/plugins/insights").InsightsFindLatestEventsInput) => Promise<readonly import("@hot-updater/server/plugins/insights").BundleEventRow[]>;
|
|
347
|
-
countLatestEvents: (input: import("@hot-updater/server/plugins/insights").InsightsCountLatestEventsInput) => Promise<number>;
|
|
348
|
-
countEvents: (input: import("@hot-updater/server/plugins/insights").InsightsCountEventsInput) => Promise<number>;
|
|
349
|
-
getReleaseActivity: (input: import("@hot-updater/server/plugins/insights").InsightsGetReleaseActivityInput) => Promise<import("@hot-updater/server/plugins/insights").InsightsGetReleaseActivityResult>;
|
|
350
|
-
getAppUsage: (input: import("@hot-updater/server/plugins/insights").InsightsGetAppUsageInput) => Promise<import("@hot-updater/server/plugins/insights").InsightsGetAppUsageResult>;
|
|
351
|
-
getUpdateFailures: (input: import("@hot-updater/server/plugins/insights").InsightsUpdateFailuresInput) => Promise<import("@hot-updater/server/plugins/insights").InsightsUpdateFailures>;
|
|
352
|
-
};
|
|
353
|
-
endpoints: import("@hot-updater/server/plugins").PluginEndpoint[];
|
|
354
|
-
}, {}>, import("@hot-updater/server/plugins").HotUpdaterPlugin<"apiKeys", {
|
|
355
|
-
readonly api_keys: import("@hot-updater/server/database").TableDefinition<{
|
|
356
|
-
readonly id: {
|
|
357
|
-
readonly type: "string";
|
|
358
|
-
readonly maxLength: 255;
|
|
359
|
-
};
|
|
360
|
-
readonly hash: {
|
|
361
|
-
readonly type: "string";
|
|
362
|
-
readonly maxLength: 64;
|
|
363
|
-
readonly unique: true;
|
|
364
|
-
};
|
|
365
|
-
readonly name: {
|
|
366
|
-
readonly type: "string";
|
|
367
|
-
readonly maxLength: 64;
|
|
368
|
-
};
|
|
369
|
-
readonly prefix: {
|
|
370
|
-
readonly type: "string";
|
|
371
|
-
readonly maxLength: 16;
|
|
372
|
-
};
|
|
373
|
-
readonly role: {
|
|
374
|
-
readonly type: "string";
|
|
375
|
-
readonly maxLength: 16;
|
|
376
|
-
};
|
|
377
|
-
readonly created_at_ms: {
|
|
378
|
-
readonly type: "integer";
|
|
379
|
-
};
|
|
380
|
-
readonly revoked_at_ms: {
|
|
381
|
-
readonly type: "integer";
|
|
382
|
-
readonly required: false;
|
|
383
|
-
};
|
|
384
|
-
}, {}, {
|
|
385
|
-
readonly byCreated: {
|
|
386
|
-
readonly eq: readonly [];
|
|
387
|
-
readonly sort: readonly ["created_at_ms"];
|
|
388
|
-
};
|
|
389
|
-
}, readonly ["id"]>;
|
|
390
|
-
}, {
|
|
391
|
-
api: {
|
|
392
|
-
register: (input: {
|
|
393
|
-
readonly apiKey: string;
|
|
394
|
-
readonly name: string;
|
|
395
|
-
readonly createdAtMs?: number;
|
|
396
|
-
}) => Promise<import("@hot-updater/server/plugins/api-keys").CreatedApiKey>;
|
|
397
|
-
provision: (input: {
|
|
398
|
-
readonly existingApiKey?: string;
|
|
399
|
-
readonly name: string;
|
|
400
|
-
}) => Promise<import("@hot-updater/server/plugins/api-keys").CreatedApiKey>;
|
|
401
|
-
create(input: {
|
|
402
|
-
readonly name: string;
|
|
403
|
-
}): Promise<{
|
|
404
|
-
readonly apiKey: string;
|
|
405
|
-
readonly record: import("@hot-updater/server/plugins/api-keys").ApiKeyMetadata;
|
|
406
|
-
}>;
|
|
407
|
-
list(): Promise<readonly import("@hot-updater/server/plugins/api-keys").ApiKeyMetadata[]>;
|
|
408
|
-
revoke(input: {
|
|
409
|
-
readonly id: string;
|
|
410
|
-
}): Promise<import("@hot-updater/server/plugins/api-keys").ApiKeyMetadata | null>;
|
|
411
|
-
};
|
|
412
|
-
clientAuth: {
|
|
413
|
-
varyHeaders: string[];
|
|
414
|
-
authenticate: (headers: Headers) => Promise<boolean>;
|
|
415
|
-
};
|
|
416
|
-
}, {
|
|
417
|
-
readonly clientAuth: true;
|
|
418
|
-
}>];
|
|
419
|
-
//#endregion
|
|
420
|
-
//#region src/supabaseConfig.d.ts
|
|
421
|
-
type SupabaseServiceRoleConfig = {
|
|
422
|
-
supabaseUrl: string;
|
|
423
|
-
supabaseServiceRoleKey: string;
|
|
424
|
-
};
|
|
425
|
-
//#endregion
|
|
426
|
-
//#region src/supabaseDatabase.d.ts
|
|
427
|
-
type SupabaseDatabaseConfig = SupabaseServiceRoleConfig;
|
|
428
|
-
/**
|
|
429
|
-
* Hot Updater's database on Supabase: the storage engine through the shared
|
|
430
|
-
* SQL core, fenced by the schema settings. Every read and write goes through
|
|
431
|
-
* the service-role-only apply RPC, which runs no DDL, so Supabase migrations
|
|
432
|
-
* create the tables.
|
|
433
|
-
*/
|
|
434
|
-
declare const supabaseDatabase: (config: SupabaseDatabaseConfig) => EngineDatabase;
|
|
435
|
-
//#endregion
|
|
436
|
-
export { plugins as i, supabaseDatabase as n, SupabaseServiceRoleConfig as r, SupabaseDatabaseConfig as t };
|