@workglow/storage 0.0.103 → 0.0.105
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 +570 -219
- package/dist/browser.js.map +13 -11
- package/dist/bun.js +671 -288
- package/dist/bun.js.map +15 -13
- package/dist/common.d.ts +2 -0
- package/dist/common.d.ts.map +1 -1
- package/dist/credentials/EncryptedKvCredentialStore.d.ts +52 -0
- package/dist/credentials/EncryptedKvCredentialStore.d.ts.map +1 -0
- package/dist/node.js +671 -288
- package/dist/node.js.map +15 -13
- package/dist/tabular/BaseTabularStorage.d.ts +21 -7
- package/dist/tabular/BaseTabularStorage.d.ts.map +1 -1
- package/dist/tabular/CachedTabularStorage.d.ts +14 -10
- package/dist/tabular/CachedTabularStorage.d.ts.map +1 -1
- package/dist/tabular/FsFolderTabularStorage.d.ts +6 -6
- package/dist/tabular/FsFolderTabularStorage.d.ts.map +1 -1
- package/dist/tabular/HuggingFaceTabularStorage.d.ts +11 -6
- package/dist/tabular/HuggingFaceTabularStorage.d.ts.map +1 -1
- package/dist/tabular/ITabularStorage.d.ts +22 -3
- package/dist/tabular/ITabularStorage.d.ts.map +1 -1
- package/dist/tabular/InMemoryTabularStorage.d.ts +12 -10
- package/dist/tabular/InMemoryTabularStorage.d.ts.map +1 -1
- package/dist/tabular/IndexedDbTabularStorage.d.ts +12 -10
- package/dist/tabular/IndexedDbTabularStorage.d.ts.map +1 -1
- package/dist/tabular/PostgresTabularStorage.d.ts +12 -11
- package/dist/tabular/PostgresTabularStorage.d.ts.map +1 -1
- package/dist/tabular/SharedInMemoryTabularStorage.d.ts +12 -10
- package/dist/tabular/SharedInMemoryTabularStorage.d.ts.map +1 -1
- package/dist/tabular/SqliteTabularStorage.d.ts +12 -11
- package/dist/tabular/SqliteTabularStorage.d.ts.map +1 -1
- package/dist/tabular/StorageError.d.ts +31 -0
- package/dist/tabular/StorageError.d.ts.map +1 -0
- package/dist/tabular/SupabaseTabularStorage.d.ts +12 -10
- package/dist/tabular/SupabaseTabularStorage.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -7,7 +7,7 @@ import { Sqlite } from "@workglow/sqlite";
|
|
|
7
7
|
import { DataPortSchemaObject, FromSchema, JsonSchema, TypedArraySchemaOptions } from "@workglow/util";
|
|
8
8
|
import { BaseSqlTabularStorage } from "./BaseSqlTabularStorage";
|
|
9
9
|
import { ClientProvidedKeysOption, KeyGenerationStrategy } from "./BaseTabularStorage";
|
|
10
|
-
import { AnyTabularStorage, AutoGeneratedKeys, DeleteSearchCriteria, InsertEntity, SimplifyPrimaryKey, TabularChangePayload, TabularSubscribeOptions, ValueOptionType } from "./ITabularStorage";
|
|
10
|
+
import { AnyTabularStorage, AutoGeneratedKeys, DeleteSearchCriteria, InsertEntity, QueryOptions, SearchCriteria, SimplifyPrimaryKey, TabularChangePayload, TabularSubscribeOptions, ValueOptionType } from "./ITabularStorage";
|
|
11
11
|
export declare const SQLITE_TABULAR_REPOSITORY: import("@workglow/util").ServiceToken<AnyTabularStorage>;
|
|
12
12
|
/**
|
|
13
13
|
* A SQLite-based key-value repository implementation.
|
|
@@ -83,14 +83,6 @@ export declare class SqliteTabularStorage<Schema extends DataPortSchemaObject, P
|
|
|
83
83
|
* @emits 'get' event when successful
|
|
84
84
|
*/
|
|
85
85
|
get(key: PrimaryKey): Promise<Entity | undefined>;
|
|
86
|
-
/**
|
|
87
|
-
* Method to be implemented by concrete repositories to search for key-value pairs
|
|
88
|
-
* based on a partial key.
|
|
89
|
-
*
|
|
90
|
-
* @param key - Partial key to search for
|
|
91
|
-
* @returns Promise resolving to an array of combined key-value objects or undefined if not found
|
|
92
|
-
*/
|
|
93
|
-
search(key: Partial<Entity>): Promise<Entity[] | undefined>;
|
|
94
86
|
/**
|
|
95
87
|
* Deletes a key-value pair from the database
|
|
96
88
|
* @param key - The primary key object to delete
|
|
@@ -98,10 +90,11 @@ export declare class SqliteTabularStorage<Schema extends DataPortSchemaObject, P
|
|
|
98
90
|
*/
|
|
99
91
|
delete(key: PrimaryKey): Promise<void>;
|
|
100
92
|
/**
|
|
101
|
-
* Retrieves all entries from the database table
|
|
93
|
+
* Retrieves all entries from the database table, with optional ordering, offset, and limit.
|
|
94
|
+
* @param options - Optional ordering, limit, and offset options
|
|
102
95
|
* @returns Promise resolving to an array of entries or undefined if not found
|
|
103
96
|
*/
|
|
104
|
-
getAll(): Promise<Entity[] | undefined>;
|
|
97
|
+
getAll(options?: QueryOptions<Entity>): Promise<Entity[] | undefined>;
|
|
105
98
|
/**
|
|
106
99
|
* Deletes all entries from the database table
|
|
107
100
|
* @emits 'clearall' event when successful
|
|
@@ -135,6 +128,14 @@ export declare class SqliteTabularStorage<Schema extends DataPortSchemaObject, P
|
|
|
135
128
|
* @param criteria - Object with column names as keys and values or SearchConditions
|
|
136
129
|
*/
|
|
137
130
|
deleteSearch(criteria: DeleteSearchCriteria<Entity>): Promise<void>;
|
|
131
|
+
/**
|
|
132
|
+
* Queries entries matching the specified search criteria with optional ordering, limit, and offset.
|
|
133
|
+
*
|
|
134
|
+
* @param criteria - Object with column names as keys and values or SearchConditions
|
|
135
|
+
* @param options - Optional ordering, limit, and offset options
|
|
136
|
+
* @returns Array of matching entities or undefined if no matches found
|
|
137
|
+
*/
|
|
138
|
+
query(criteria: SearchCriteria<Entity>, options?: QueryOptions<Entity>): Promise<Entity[] | undefined>;
|
|
138
139
|
/**
|
|
139
140
|
* Subscribes to changes in the repository.
|
|
140
141
|
* NOT IMPLEMENTED for SQLite storage.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SqliteTabularStorage.d.ts","sourceRoot":"","sources":["../../src/tabular/SqliteTabularStorage.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,MAAM,EAAE,MAAM,kBAAkB,CAAC;AAC1C,OAAO,EAEL,oBAAoB,EACpB,UAAU,EACV,UAAU,EACV,uBAAuB,EAExB,MAAM,gBAAgB,CAAC;AACxB,OAAO,E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Roussey <sroussey@gmail.com>
|
|
4
|
+
* SPDX-License-Identifier: Apache-2.0
|
|
5
|
+
*/
|
|
6
|
+
import { BaseError } from "@workglow/util";
|
|
7
|
+
export declare class StorageError extends BaseError {
|
|
8
|
+
static readonly type: string;
|
|
9
|
+
constructor(message: string);
|
|
10
|
+
}
|
|
11
|
+
export declare class StorageValidationError extends StorageError {
|
|
12
|
+
static readonly type: string;
|
|
13
|
+
constructor(message: string);
|
|
14
|
+
}
|
|
15
|
+
export declare class StorageEmptyCriteriaError extends StorageValidationError {
|
|
16
|
+
static readonly type: string;
|
|
17
|
+
constructor();
|
|
18
|
+
}
|
|
19
|
+
export declare class StorageInvalidLimitError extends StorageValidationError {
|
|
20
|
+
static readonly type: string;
|
|
21
|
+
constructor(limit: number);
|
|
22
|
+
}
|
|
23
|
+
export declare class StorageInvalidColumnError extends StorageValidationError {
|
|
24
|
+
static readonly type: string;
|
|
25
|
+
constructor(column: string);
|
|
26
|
+
}
|
|
27
|
+
export declare class StorageUnsupportedError extends StorageError {
|
|
28
|
+
static readonly type: string;
|
|
29
|
+
constructor(operation: string, backend: string);
|
|
30
|
+
}
|
|
31
|
+
//# sourceMappingURL=StorageError.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StorageError.d.ts","sourceRoot":"","sources":["../../src/tabular/StorageError.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAE3C,qBAAa,YAAa,SAAQ,SAAS;IACzC,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAkB;gBAClC,OAAO,EAAE,MAAM;CAG5B;AAED,qBAAa,sBAAuB,SAAQ,YAAY;IACtD,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAA4B;gBAC5C,OAAO,EAAE,MAAM;CAG5B;AAED,qBAAa,yBAA0B,SAAQ,sBAAsB;IACnE,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAA+B;;CAI5D;AAED,qBAAa,wBAAyB,SAAQ,sBAAsB;IAClE,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAA8B;gBAC9C,KAAK,EAAE,MAAM;CAG1B;AAED,qBAAa,yBAA0B,SAAQ,sBAAsB;IACnE,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAA+B;gBAC/C,MAAM,EAAE,MAAM;CAG3B;AAED,qBAAa,uBAAwB,SAAQ,YAAY;IACvD,MAAM,CAAC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAA6B;gBAC7C,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM;CAG/C"}
|
|
@@ -7,7 +7,7 @@ import type { SupabaseClient } from "@supabase/supabase-js";
|
|
|
7
7
|
import { DataPortSchemaObject, FromSchema, JsonSchema, TypedArraySchemaOptions } from "@workglow/util";
|
|
8
8
|
import { BaseSqlTabularStorage } from "./BaseSqlTabularStorage";
|
|
9
9
|
import { ClientProvidedKeysOption } from "./BaseTabularStorage";
|
|
10
|
-
import { AnyTabularStorage, AutoGeneratedKeys, DeleteSearchCriteria, InsertEntity, SimplifyPrimaryKey, TabularChangePayload, TabularSubscribeOptions, ValueOptionType } from "./ITabularStorage";
|
|
10
|
+
import { AnyTabularStorage, AutoGeneratedKeys, DeleteSearchCriteria, InsertEntity, QueryOptions, SearchCriteria, SimplifyPrimaryKey, TabularChangePayload, TabularSubscribeOptions, ValueOptionType } from "./ITabularStorage";
|
|
11
11
|
export declare const SUPABASE_TABULAR_REPOSITORY: import("@workglow/util").ServiceToken<AnyTabularStorage>;
|
|
12
12
|
/**
|
|
13
13
|
* A Supabase-based tabular repository implementation that extends BaseSqlTabularStorage.
|
|
@@ -94,13 +94,6 @@ export declare class SupabaseTabularStorage<Schema extends DataPortSchemaObject,
|
|
|
94
94
|
* @emits "get" event with the key when successful
|
|
95
95
|
*/
|
|
96
96
|
get(key: PrimaryKey): Promise<Entity | undefined>;
|
|
97
|
-
/**
|
|
98
|
-
* Method to search for rows based on a partial key.
|
|
99
|
-
*
|
|
100
|
-
* @param searchCriteria - Partial entity to search for
|
|
101
|
-
* @returns Promise resolving to an array of entities or undefined if not found
|
|
102
|
-
*/
|
|
103
|
-
search(searchCriteria: Partial<Entity>): Promise<Entity[] | undefined>;
|
|
104
97
|
/**
|
|
105
98
|
* Deletes a row from the database.
|
|
106
99
|
*
|
|
@@ -109,10 +102,11 @@ export declare class SupabaseTabularStorage<Schema extends DataPortSchemaObject,
|
|
|
109
102
|
*/
|
|
110
103
|
delete(value: PrimaryKey | Entity): Promise<void>;
|
|
111
104
|
/**
|
|
112
|
-
* Retrieves all entries from the database table
|
|
105
|
+
* Retrieves all entries from the database table, with optional ordering, offset, and limit.
|
|
106
|
+
* @param options - Optional ordering, limit, and offset options
|
|
113
107
|
* @returns Promise resolving to an array of entries or undefined if not found
|
|
114
108
|
*/
|
|
115
|
-
getAll(): Promise<Entity[] | undefined>;
|
|
109
|
+
getAll(options?: QueryOptions<Entity>): Promise<Entity[] | undefined>;
|
|
116
110
|
/**
|
|
117
111
|
* Deletes all rows from the database table.
|
|
118
112
|
* @emits "clearall" event when successful
|
|
@@ -138,6 +132,14 @@ export declare class SupabaseTabularStorage<Schema extends DataPortSchemaObject,
|
|
|
138
132
|
* @param criteria - Object with column names as keys and values or SearchConditions
|
|
139
133
|
*/
|
|
140
134
|
deleteSearch(criteria: DeleteSearchCriteria<Entity>): Promise<void>;
|
|
135
|
+
/**
|
|
136
|
+
* Queries entries matching the specified search criteria with optional ordering, limit, and offset.
|
|
137
|
+
*
|
|
138
|
+
* @param criteria - Object with column names as keys and values or SearchConditions
|
|
139
|
+
* @param options - Optional ordering, limit, and offset options
|
|
140
|
+
* @returns Array of matching entities or undefined if no matches found
|
|
141
|
+
*/
|
|
142
|
+
query(criteria: SearchCriteria<Entity>, options?: QueryOptions<Entity>): Promise<Entity[] | undefined>;
|
|
141
143
|
/**
|
|
142
144
|
* Converts a row from Supabase realtime payload to an Entity with proper type conversions.
|
|
143
145
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SupabaseTabularStorage.d.ts","sourceRoot":"","sources":["../../src/tabular/SupabaseTabularStorage.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAmB,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAEL,oBAAoB,EACpB,UAAU,EACV,UAAU,EACV,uBAAuB,EACxB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,YAAY,
|
|
1
|
+
{"version":3,"file":"SupabaseTabularStorage.d.ts","sourceRoot":"","sources":["../../src/tabular/SupabaseTabularStorage.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,KAAK,EAAmB,cAAc,EAAE,MAAM,uBAAuB,CAAC;AAC7E,OAAO,EAEL,oBAAoB,EACpB,UAAU,EACV,UAAU,EACV,uBAAuB,EACxB,MAAM,gBAAgB,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EAAE,wBAAwB,EAAE,MAAM,sBAAsB,CAAC;AAChE,OAAO,EACL,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,YAAY,EAEZ,YAAY,EACZ,cAAc,EAEd,kBAAkB,EAClB,oBAAoB,EAEpB,uBAAuB,EACvB,eAAe,EAChB,MAAM,mBAAmB,CAAC;AAE3B,eAAO,MAAM,2BAA2B,0DAEvC,CAAC;AAEF;;;;;;;GAOG;AACH,qBAAa,sBAAsB,CACjC,MAAM,SAAS,oBAAoB,EACnC,eAAe,SAAS,aAAa,CAAC,MAAM,MAAM,CAAC,YAAY,CAAC,CAAC,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,GAChC,MAAM,IAAI;IAsCb;;OAEG;IACH,OAAO,IAAI,IAAI;CAMhB"}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@workglow/storage",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.105",
|
|
5
5
|
"description": "Storage abstraction layer for Workglow, supporting IndexedDB, PostgreSQL, and Supabase with unified interfaces.",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"watch": "concurrently -c 'auto' 'bun:watch-*'",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
"prepare": "node -e \"const pkg=require('./package.json');pkg.exports['.'].bun='./dist/bun.js';pkg.exports['.'].types='./dist/types.d.ts';require('fs').writeFileSync('package.json',JSON.stringify(pkg,null,2))\""
|
|
21
21
|
},
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@workglow/sqlite": "0.0.
|
|
24
|
-
"@workglow/util": "0.0.
|
|
23
|
+
"@workglow/sqlite": "0.0.105",
|
|
24
|
+
"@workglow/util": "0.0.105",
|
|
25
25
|
"pg": "^8.19.0",
|
|
26
|
-
"@supabase/supabase-js": "^2.
|
|
26
|
+
"@supabase/supabase-js": "^2.98.0"
|
|
27
27
|
},
|
|
28
28
|
"peerDependenciesMeta": {
|
|
29
29
|
"@workglow/sqlite": {
|
|
@@ -34,11 +34,11 @@
|
|
|
34
34
|
}
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"@workglow/sqlite": "0.0.
|
|
38
|
-
"@workglow/util": "0.0.
|
|
37
|
+
"@workglow/sqlite": "0.0.105",
|
|
38
|
+
"@workglow/util": "0.0.105",
|
|
39
39
|
"pg": "^8.19.0",
|
|
40
40
|
"@types/pg": "^8.16.0",
|
|
41
|
-
"@supabase/supabase-js": "^2.
|
|
41
|
+
"@supabase/supabase-js": "^2.98.0",
|
|
42
42
|
"fake-indexeddb": "^6.2.4"
|
|
43
43
|
},
|
|
44
44
|
"exports": {
|