@quatrain/cloudwrapper-supabase 0.1.1 → 0.1.2
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.
|
@@ -16,5 +16,6 @@ export declare class SupabaseCloudWrapper extends AbstractCloudWrapper {
|
|
|
16
16
|
protected _isInitialized: boolean;
|
|
17
17
|
constructor(params: SupabaseParams);
|
|
18
18
|
databaseTrigger(trigger: DatabaseTriggerType): void;
|
|
19
|
+
triggersEnable(): void;
|
|
19
20
|
protected _initialize(): void;
|
|
20
21
|
}
|
|
@@ -58,6 +58,10 @@ class SupabaseCloudWrapper extends core_1.AbstractCloudWrapper {
|
|
|
58
58
|
return yield trigger.script({ before, after, context });
|
|
59
59
|
}));
|
|
60
60
|
}
|
|
61
|
+
triggersEnable() {
|
|
62
|
+
var _a;
|
|
63
|
+
(_a = this._realtimeClient) === null || _a === void 0 ? void 0 : _a.subscribe();
|
|
64
|
+
}
|
|
61
65
|
_initialize() {
|
|
62
66
|
if (this._isInitialized === false) {
|
|
63
67
|
core_1.Core.log(`[SPB] Supabase App init`);
|