@workglow/storage 0.2.9 → 0.2.11
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/browser.js +3 -3
- package/dist/browser.js.map +6 -6
- package/dist/bun.js +3 -3
- package/dist/bun.js.map +6 -6
- package/dist/kv/SupabaseKvStorage.d.ts +2 -3
- package/dist/kv/SupabaseKvStorage.d.ts.map +1 -1
- package/dist/node.js +3 -3
- package/dist/node.js.map +6 -6
- package/dist/queue/SupabaseQueueStorage.d.ts +1 -6
- package/dist/queue/SupabaseQueueStorage.d.ts.map +1 -1
- package/dist/queue-limiter/SupabaseRateLimiterStorage.d.ts +2 -6
- package/dist/queue-limiter/SupabaseRateLimiterStorage.d.ts.map +1 -1
- package/dist/tabular/SupabaseTabularStorage.d.ts +2 -2
- package/dist/tabular/SupabaseTabularStorage.d.ts.map +1 -1
- package/package.json +3 -3
- package/src/vector/README.md +4 -1
|
@@ -3,7 +3,6 @@
|
|
|
3
3
|
* Copyright 2025 Steven Roussey <sroussey@gmail.com>
|
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
|
5
5
|
*/
|
|
6
|
-
import type { SupabaseClient } from "@supabase/supabase-js";
|
|
7
6
|
import { JsonSchema } from "@workglow/util/schema";
|
|
8
7
|
import { SupabaseTabularStorage } from "../tabular/SupabaseTabularStorage";
|
|
9
8
|
import { DefaultKeyValueKey, DefaultKeyValueSchema, IKvStorage } from "./IKvStorage";
|
|
@@ -18,7 +17,7 @@ export declare const SUPABASE_KV_REPOSITORY: import("@workglow/util").ServiceTok
|
|
|
18
17
|
* @template Combined - Combined type of Key & Value
|
|
19
18
|
*/
|
|
20
19
|
export declare class SupabaseKvStorage extends KvViaTabularStorage {
|
|
21
|
-
client:
|
|
20
|
+
client: unknown;
|
|
22
21
|
tableName: string;
|
|
23
22
|
tabularRepository: SupabaseTabularStorage<typeof DefaultKeyValueSchema, typeof DefaultKeyValueKey>;
|
|
24
23
|
/**
|
|
@@ -29,6 +28,6 @@ export declare class SupabaseKvStorage extends KvViaTabularStorage {
|
|
|
29
28
|
* @param keySchema - Schema for the key type (defaults to string)
|
|
30
29
|
* @param valueSchema - Schema for the value type (defaults to any)
|
|
31
30
|
*/
|
|
32
|
-
constructor(client:
|
|
31
|
+
constructor(client: unknown, tableName: string, keySchema?: JsonSchema, valueSchema?: JsonSchema, tabularRepository?: SupabaseTabularStorage<typeof DefaultKeyValueSchema, typeof DefaultKeyValueKey>);
|
|
33
32
|
}
|
|
34
33
|
//# sourceMappingURL=SupabaseKvStorage.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SupabaseKvStorage.d.ts","sourceRoot":"","sources":["../../src/kv/SupabaseKvStorage.ts"],"names":[],"mappings":"AAAA;;;;GAIG;
|
|
1
|
+
{"version":3,"file":"SupabaseKvStorage.d.ts","sourceRoot":"","sources":["../../src/kv/SupabaseKvStorage.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAGH,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,sBAAsB,EAAE,MAAM,mCAAmC,CAAC;AAC3E,OAAO,EAAE,kBAAkB,EAAE,qBAAqB,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AACrF,OAAO,EAAE,mBAAmB,EAAE,MAAM,uBAAuB,CAAC;AAE5D,eAAO,MAAM,sBAAsB,qEAElC,CAAC;AAEF;;;;;;;GAOG;AACH,qBAAa,iBAAkB,SAAQ,mBAAmB;IAe/C,MAAM,EAAE,OAAO;IACf,SAAS,EAAE,MAAM;IAfnB,iBAAiB,EAAE,sBAAsB,CAC9C,OAAO,qBAAqB,EAC5B,OAAO,kBAAkB,CAC1B,CAAC;IAEF;;;;;;;OAOG;IACH,YACS,MAAM,EAAE,OAAO,EACf,SAAS,EAAE,MAAM,EACxB,SAAS,GAAE,UAA+B,EAC1C,WAAW,GAAE,UAAe,EAC5B,iBAAiB,CAAC,EAAE,sBAAsB,CACxC,OAAO,qBAAqB,EAC5B,OAAO,kBAAkB,CAC1B,EAMF;CACF"}
|
package/dist/node.js
CHANGED
|
@@ -4984,16 +4984,16 @@ import { createServiceToken as createServiceToken23, makeFingerprint as makeFing
|
|
|
4984
4984
|
var SUPABASE_QUEUE_STORAGE = createServiceToken23("jobqueue.storage.supabase");
|
|
4985
4985
|
|
|
4986
4986
|
class SupabaseQueueStorage {
|
|
4987
|
-
client;
|
|
4988
4987
|
queueName;
|
|
4988
|
+
client;
|
|
4989
4989
|
prefixes;
|
|
4990
4990
|
prefixValues;
|
|
4991
4991
|
tableName;
|
|
4992
4992
|
realtimeChannel = null;
|
|
4993
4993
|
pollingManager = null;
|
|
4994
4994
|
constructor(client, queueName, options) {
|
|
4995
|
-
this.client = client;
|
|
4996
4995
|
this.queueName = queueName;
|
|
4996
|
+
this.client = client;
|
|
4997
4997
|
this.prefixes = options?.prefixes ?? [];
|
|
4998
4998
|
this.prefixValues = options?.prefixValues ?? {};
|
|
4999
4999
|
if (this.prefixes.length > 0) {
|
|
@@ -8371,4 +8371,4 @@ export {
|
|
|
8371
8371
|
BaseTabularStorage
|
|
8372
8372
|
};
|
|
8373
8373
|
|
|
8374
|
-
//# debugId=
|
|
8374
|
+
//# debugId=68DCAFB0CAFAB85B64756E2164756E21
|