@freehour/supabase-core 2.2.2 → 2.3.1
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/index.js +43 -49
- package/dist/postgrest/filter.d.ts +9 -51
- package/dist/postgrest/filter.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -176,44 +176,41 @@ var y = [
|
|
|
176
176
|
"nxr",
|
|
177
177
|
"nxl",
|
|
178
178
|
"adj"
|
|
179
|
-
], b = ["and", "or"], x =
|
|
179
|
+
], b = ["and", "or"], x = (e) => (n = {}) => {
|
|
180
180
|
let r = (e) => n[e] ?? e, i = Object.keys(e.shape);
|
|
181
|
-
return t.string().transform((e,
|
|
181
|
+
return t.string().transform((e, n) => {
|
|
182
182
|
try {
|
|
183
|
-
return
|
|
184
|
-
} catch (
|
|
185
|
-
return
|
|
183
|
+
return T(e, i, r);
|
|
184
|
+
} catch (r) {
|
|
185
|
+
return n.addIssue({
|
|
186
186
|
code: "custom",
|
|
187
187
|
input: e,
|
|
188
|
-
message:
|
|
189
|
-
params:
|
|
190
|
-
expression:
|
|
191
|
-
format:
|
|
188
|
+
message: r instanceof Error ? r.message : void 0,
|
|
189
|
+
params: r instanceof o ? {
|
|
190
|
+
expression: r.expression,
|
|
191
|
+
format: r.format
|
|
192
192
|
} : void 0
|
|
193
|
-
}),
|
|
193
|
+
}), t.NEVER;
|
|
194
194
|
}
|
|
195
195
|
});
|
|
196
196
|
};
|
|
197
|
-
function
|
|
197
|
+
function S(e) {
|
|
198
198
|
return e.startsWith("not.") ? e.slice(4) : `not.${e}`;
|
|
199
199
|
}
|
|
200
|
-
function
|
|
200
|
+
function C(e) {
|
|
201
201
|
return {
|
|
202
202
|
...e,
|
|
203
|
-
op:
|
|
203
|
+
op: S(e.op)
|
|
204
204
|
};
|
|
205
205
|
}
|
|
206
|
-
function
|
|
206
|
+
function w(e, t = (e) => e) {
|
|
207
207
|
if (e.type === "logical") {
|
|
208
|
-
let n = e.args.map((e) =>
|
|
208
|
+
let n = e.args.map((e) => w(e, t));
|
|
209
209
|
return `${e.op}(${n})`;
|
|
210
210
|
}
|
|
211
211
|
return `${t(e.key)}.${e.op}.${e.value}`;
|
|
212
212
|
}
|
|
213
|
-
function
|
|
214
|
-
return e.map((e) => E(e, t)).join(n);
|
|
215
|
-
}
|
|
216
|
-
function O(t, n = [], r = (e) => e) {
|
|
213
|
+
function T(t, n = [], r = (e) => e) {
|
|
217
214
|
function i(e) {
|
|
218
215
|
let t = [], n = 0, r = "", i = !1;
|
|
219
216
|
for (let a of e) a === "\"" ? (i = !i, r += a) : a === "(" && !i ? (n++, r += a) : a === ")" && !i ? (n--, r += a) : a === "," && n === 0 && !i ? (t.push(r.trim()), r = "") : r += a;
|
|
@@ -223,22 +220,22 @@ function O(t, n = [], r = (e) => e) {
|
|
|
223
220
|
if (t.startsWith("and(")) return {
|
|
224
221
|
type: "logical",
|
|
225
222
|
op: "and",
|
|
226
|
-
args: i(t.slice(4, -1)).map((e) =>
|
|
223
|
+
args: i(t.slice(4, -1)).map((e) => T(e, n, r))
|
|
227
224
|
};
|
|
228
225
|
if (t.startsWith("or(")) return {
|
|
229
226
|
type: "logical",
|
|
230
227
|
op: "or",
|
|
231
|
-
args: i(t.slice(3, -1)).map((e) =>
|
|
228
|
+
args: i(t.slice(3, -1)).map((e) => T(e, n, r))
|
|
232
229
|
};
|
|
233
230
|
if (t.startsWith("not.and(")) return {
|
|
234
231
|
type: "logical",
|
|
235
232
|
op: "not.and",
|
|
236
|
-
args: i(t.slice(8, -1)).map((e) =>
|
|
233
|
+
args: i(t.slice(8, -1)).map((e) => T(e, n, r))
|
|
237
234
|
};
|
|
238
235
|
if (t.startsWith("not.or(")) return {
|
|
239
236
|
type: "logical",
|
|
240
237
|
op: "not.or",
|
|
241
|
-
args: i(t.slice(7, -1)).map((e) =>
|
|
238
|
+
args: i(t.slice(7, -1)).map((e) => T(e, n, r))
|
|
242
239
|
};
|
|
243
240
|
}
|
|
244
241
|
let a = `^(${n.length === 0 ? "[a-zA-Z_][a-zA-Z0-9_]*" : n.join("|")})\\.((?:not\\.)?(?:${y.join("|")}))\\.(.+)$`, s = new RegExp(a).exec(t);
|
|
@@ -258,12 +255,9 @@ function O(t, n = [], r = (e) => e) {
|
|
|
258
255
|
value: e.defined(u)
|
|
259
256
|
};
|
|
260
257
|
}
|
|
261
|
-
function k(e, t = [], n = (e) => e, r = "~") {
|
|
262
|
-
return e.length === 0 ? [] : e.split(r).map((e) => O(e, t, n));
|
|
263
|
-
}
|
|
264
258
|
//#endregion
|
|
265
259
|
//#region lib/postgrest/pagination-builder.ts
|
|
266
|
-
var
|
|
260
|
+
var E = class t extends D {
|
|
267
261
|
pagination;
|
|
268
262
|
constructor(e, t) {
|
|
269
263
|
super(e), this.pagination = t;
|
|
@@ -292,7 +286,7 @@ var A = class t extends j {
|
|
|
292
286
|
return t;
|
|
293
287
|
});
|
|
294
288
|
}
|
|
295
|
-
},
|
|
289
|
+
}, D = class t extends r.PostgrestFilterBuilder {
|
|
296
290
|
constructor(e) {
|
|
297
291
|
super(e);
|
|
298
292
|
}
|
|
@@ -301,7 +295,7 @@ var A = class t extends j {
|
|
|
301
295
|
}
|
|
302
296
|
where(e) {
|
|
303
297
|
if (e.type === "logical") {
|
|
304
|
-
let t = e.args.map((e) =>
|
|
298
|
+
let t = e.args.map((e) => w(e)).join(",");
|
|
305
299
|
return this.url.searchParams.append(e.op, `(${t})`), this;
|
|
306
300
|
}
|
|
307
301
|
return this.filter(e.key, e.op, e.value);
|
|
@@ -309,58 +303,58 @@ var A = class t extends j {
|
|
|
309
303
|
paginate(t, n) {
|
|
310
304
|
e(t >= 0, "Page index must be ≥ 0"), e(n >= 0, "Page limit must be ≥ 0");
|
|
311
305
|
let r = t * n, i = r + n - 1;
|
|
312
|
-
return new
|
|
306
|
+
return new E(this.range(r, i), {
|
|
313
307
|
page: t,
|
|
314
308
|
limit: n
|
|
315
309
|
});
|
|
316
310
|
}
|
|
317
|
-
},
|
|
311
|
+
}, O = class {
|
|
318
312
|
builder;
|
|
319
313
|
constructor(e) {
|
|
320
314
|
this.builder = e;
|
|
321
315
|
}
|
|
322
316
|
select(e = "*", t) {
|
|
323
|
-
return new
|
|
317
|
+
return new D(this.builder.select(d(e).join(","), t));
|
|
324
318
|
}
|
|
325
319
|
count(e = "exact") {
|
|
326
|
-
return new
|
|
320
|
+
return new D(this.select("*", {
|
|
327
321
|
count: e,
|
|
328
322
|
head: !0
|
|
329
323
|
}));
|
|
330
324
|
}
|
|
331
325
|
insert(e, t) {
|
|
332
|
-
return new
|
|
326
|
+
return new D(this.builder.insert(e, t));
|
|
333
327
|
}
|
|
334
328
|
upsert(e, { onConflict: t, ...n } = {}) {
|
|
335
|
-
return new
|
|
329
|
+
return new D(this.builder.upsert(e, {
|
|
336
330
|
onConflict: d(t).join(","),
|
|
337
331
|
...n
|
|
338
332
|
}));
|
|
339
333
|
}
|
|
340
334
|
update(e, t) {
|
|
341
|
-
return new
|
|
335
|
+
return new D(this.builder.update(e, t));
|
|
342
336
|
}
|
|
343
337
|
delete() {
|
|
344
|
-
return new
|
|
338
|
+
return new D(this.builder.delete());
|
|
345
339
|
}
|
|
346
|
-
},
|
|
340
|
+
}, k = class {
|
|
347
341
|
client;
|
|
348
342
|
constructor(e) {
|
|
349
343
|
this.client = e;
|
|
350
344
|
}
|
|
351
345
|
from(e) {
|
|
352
|
-
return new
|
|
346
|
+
return new O(this.client.from(e));
|
|
353
347
|
}
|
|
354
348
|
rpc(e, t, n) {
|
|
355
|
-
return new
|
|
349
|
+
return new D(this.client.rpc(e, t, n));
|
|
356
350
|
}
|
|
357
|
-
},
|
|
351
|
+
}, A = class {
|
|
358
352
|
supabase;
|
|
359
353
|
constructor({ supabase: e }) {
|
|
360
354
|
this.supabase = e;
|
|
361
355
|
}
|
|
362
356
|
schema(e) {
|
|
363
|
-
return new
|
|
357
|
+
return new k(this.supabase.schema(e));
|
|
364
358
|
}
|
|
365
359
|
relation(e, t) {
|
|
366
360
|
return new h({
|
|
@@ -386,15 +380,15 @@ var A = class t extends j {
|
|
|
386
380
|
};
|
|
387
381
|
//#endregion
|
|
388
382
|
//#region lib/storage.ts
|
|
389
|
-
function
|
|
383
|
+
function j(e) {
|
|
390
384
|
return e.bucket !== void 0 && e.path !== void 0;
|
|
391
385
|
}
|
|
392
|
-
function
|
|
386
|
+
function M(e) {
|
|
393
387
|
return e.fileId !== void 0 && e.bucket !== void 0;
|
|
394
388
|
}
|
|
395
389
|
//#endregion
|
|
396
390
|
//#region lib/storage-service.ts
|
|
397
|
-
var
|
|
391
|
+
var N = class {
|
|
398
392
|
client;
|
|
399
393
|
database;
|
|
400
394
|
constructor({ client: e, database: t }) {
|
|
@@ -414,8 +408,8 @@ var L = class {
|
|
|
414
408
|
return n;
|
|
415
409
|
}
|
|
416
410
|
async getFileStorageLocation(t) {
|
|
417
|
-
if (
|
|
418
|
-
if (
|
|
411
|
+
if (M(t)) return t;
|
|
412
|
+
if (j(t)) {
|
|
419
413
|
let { id: e } = await this.getFileObject(t);
|
|
420
414
|
return {
|
|
421
415
|
fileId: e,
|
|
@@ -483,7 +477,7 @@ var L = class {
|
|
|
483
477
|
let n = t.filter((e) => "fileId" in e).map((e) => e.fileId), r = (await this.files.query.select(["bucket_id", "path_tokens"]).containedBy("id", n).throwOnError()).data.map(({ bucket_id: t, path_tokens: n }) => ({
|
|
484
478
|
bucket: e.notNull(t, "bucket_id must not be null"),
|
|
485
479
|
path: e.notNull(n, "path_tokens must not be null").join("/")
|
|
486
|
-
})), i = m(f(t.filter((e) =>
|
|
480
|
+
})), i = m(f(t.filter((e) => j(e)).concat(r), (e) => e.bucket)).map(([e, t]) => ({
|
|
487
481
|
bucket: e,
|
|
488
482
|
paths: t.map((e) => e.path)
|
|
489
483
|
}));
|
|
@@ -498,4 +492,4 @@ var L = class {
|
|
|
498
492
|
}
|
|
499
493
|
};
|
|
500
494
|
//#endregion
|
|
501
|
-
export { h as DataService,
|
|
495
|
+
export { h as DataService, A as DatabaseService, a as FileNotFoundError, x as FilterNode, y as FilterOp, b as LogicalOp, o as ParseError, k as PostgrestClient, c as PostgrestErrorInterface, D as PostgrestFilterBuilder, E as PostgrestPaginationBuilder, O as PostgrestQueryBuilder, s as RecordNotFoundError, N as StorageService, g as TableDataService, i as TracedError, _ as ViewDataService, v as assertCounted, d as coerceArray, w as encodeFilterNode, m as entries, f as groupBy, l as isDatabaseApiError, C as negateFilterNode, S as negateOp, T as parseFilterExpression, p as removeElement, u as splitPath };
|
|
@@ -18,23 +18,6 @@ export type FilterOp = `${'' | 'not.'}${typeof FilterOp[number]}`;
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const LogicalOp: readonly ["and", "or"];
|
|
20
20
|
export type LogicalOp = `${'' | 'not.'}${typeof LogicalOp[number]}`;
|
|
21
|
-
/**
|
|
22
|
-
* The separator used to split multiple filter expressions in a logical operator (e.g. `and`, `or`).
|
|
23
|
-
*/
|
|
24
|
-
export declare const LogicalOpSeparator = ",";
|
|
25
|
-
/**
|
|
26
|
-
* The operator for chaining multiple filters.
|
|
27
|
-
* This is a short notation for cascading filters with and().
|
|
28
|
-
*
|
|
29
|
-
* ***NOTE:*** PostgREST uses `&` to separate filters, but we use `~` as `&` is reserved for top-level query parameters.
|
|
30
|
-
*
|
|
31
|
-
* @example
|
|
32
|
-
* // The following filter expressions are equivalent:
|
|
33
|
-
* 'name.cs.John~age.gt.30~createdAt.gte.2023-01-01'
|
|
34
|
-
* 'and(name.cs.John,and(age.gt.30,createdAt.gte.2023-01-01))'.
|
|
35
|
-
* @see https://docs.postgrest.org/en/stable/api.html#horizontal-filtering
|
|
36
|
-
*/
|
|
37
|
-
export declare const FilterChainSeparator = "~";
|
|
38
21
|
/**
|
|
39
22
|
* A single filter condition in an abstract syntax tree (AST) of filter nodes.
|
|
40
23
|
* @param K The type of keys in the filter expression.
|
|
@@ -77,11 +60,15 @@ export type FilterNode<K extends string = string> = FilterConditionNode<K> | Fil
|
|
|
77
60
|
*/
|
|
78
61
|
export type FilterKey<Item extends object> = KeyOfString<Item>;
|
|
79
62
|
/**
|
|
80
|
-
*
|
|
81
|
-
*
|
|
63
|
+
* A filter AST node schema that can be used to parse and validate filter expressions.
|
|
64
|
+
* The filter expression must follow the dot notation of [PostgREST](https://docs.postgrest.org/en/v13/references/api/tables_views.html#horizontal-filtering).
|
|
65
|
+
* @see https://docs.postgrest.org/en/v13/references/api/tables_views.html#horizontal-filtering
|
|
66
|
+
* @template Item The type of the item being filtered.
|
|
67
|
+
* @param item The Zod schema of the item being filtered. This is used to infer the valid filter keys.
|
|
68
|
+
* @param mapping An optional mapping from filter keys to decoded keys. This allows you to use different keys in the filter expressions and the resulting AST nodes.
|
|
69
|
+
* @returns A Zod schema that parses a filter expression string into a filter AST node.
|
|
82
70
|
*/
|
|
83
|
-
export declare const
|
|
84
|
-
export type Filter<K extends string = string> = FilterNode<K>[];
|
|
71
|
+
export declare const FilterNode: <Item extends ZodObject>(item: Item) => <DecodeKey extends string = string>(mapping?: Partial<Record<FilterKey<z.infer<Item>>, DecodeKey>>) => z.ZodPipe<z.ZodString, z.ZodTransform<FilterNode<DecodeKey>, string>>;
|
|
85
72
|
/**
|
|
86
73
|
* Negates a filter or logical operator.
|
|
87
74
|
*
|
|
@@ -108,25 +95,12 @@ export declare function negateFilterNode<K extends string = string, F extends Fi
|
|
|
108
95
|
* @param node The filter AST node to encode to a string.
|
|
109
96
|
* @param transformKey An optional function to transform keys from InputKey to OutputKey.
|
|
110
97
|
* @returns The encoded filter expression as a string.
|
|
111
|
-
* @see https://docs.postgrest.org/en/
|
|
98
|
+
* @see https://docs.postgrest.org/en/v13/references/api/tables_views.html#horizontal-filtering
|
|
112
99
|
*/
|
|
113
100
|
export declare function encodeFilterNode<K extends string = string>(node: FilterNode<K>, transformKey?: (key: K) => string): string;
|
|
114
|
-
/**
|
|
115
|
-
* Encodes a filter (an array of filter AST nodes) into a filter string
|
|
116
|
-
* containing one or more filter expressions separated by a filter separator.
|
|
117
|
-
*
|
|
118
|
-
* @template InputKey - The type of keys in the filter AST nodes.
|
|
119
|
-
* @template OutputKey - The type of keys in the filter string.
|
|
120
|
-
* @param filter The filter to encode.
|
|
121
|
-
* @param transformKey An optional function to transform keys from InputKey to OutputKey.
|
|
122
|
-
* @param separator The separator used to join multiple filter expressions. Default is the {@link FilterChainSeparator chain separator `~`} .
|
|
123
|
-
* @returns The encoded filter string.
|
|
124
|
-
*/
|
|
125
|
-
export declare function encodeFilter<K extends string = string>(filter: Filter<K>, transformKey?: (key: K) => string, separator?: string): string;
|
|
126
101
|
/**
|
|
127
102
|
* Parses a filter expression into a filter AST node.
|
|
128
103
|
* The expression must follow the dot notation of [PostgREST](https://docs.postgrest.org/en/v13/references/api/tables_views.html#horizontal-filtering).
|
|
129
|
-
* See also {@link parseFilterExpressionChain}.
|
|
130
104
|
*
|
|
131
105
|
* @template InputKey - The type of keys in the filter expression.
|
|
132
106
|
* @template OutputKey - The type of keys in the filter AST node.
|
|
@@ -138,20 +112,4 @@ export declare function encodeFilter<K extends string = string>(filter: Filter<K
|
|
|
138
112
|
* @throws ParseError if any expression in the filter string can not be parsed, e.g. has invalid syntax, unsupported operators or unsupported keys.
|
|
139
113
|
*/
|
|
140
114
|
export declare function parseFilterExpression<InputKey extends string = string, OutputKey extends string = InputKey>(expression: string, inputKeys?: InputKey[], transformKey?: (key: InputKey) => OutputKey): FilterNode<OutputKey>;
|
|
141
|
-
/**
|
|
142
|
-
* Parses a chain of filter expressions into a filter (an array of filter AST nodes).
|
|
143
|
-
* Filter expressions are chained together using a filter separator.
|
|
144
|
-
* Each expression in the chain must follow the dot notation of [PostgREST](https://docs.postgrest.org/en/v13/references/api/tables_views.html#horizontal-filtering).
|
|
145
|
-
*
|
|
146
|
-
* @template InputKey - The type of keys in the filter expressions.
|
|
147
|
-
* @template OutputKey - The type of keys in the filter AST nodes.
|
|
148
|
-
* @param expressions The filter string containing one or more filter expressions, chained together by the {@link separator}.
|
|
149
|
-
* @param inputKeys The list of valid keys in the filter expressions.
|
|
150
|
-
* This is used to validate the keys in the expressions. If not provided, any key is valid.
|
|
151
|
-
* @param transformKey An optional function to transform keys from InputKey to OutputKey.
|
|
152
|
-
* @param separator - The separator used to split multiple filter expressions. Default is the {@link FilterChainSeparator chain separator `~`} .
|
|
153
|
-
* @returns An array of filter AST nodes parsed from the filter string. An empty string will resolve to an empty array.
|
|
154
|
-
* @throws ParseError if any expression in the filter string can not be parsed, e.g. has invalid syntax, unsupported operators or unsupported keys.
|
|
155
|
-
*/
|
|
156
|
-
export declare function parseFilterExpressionChain<InputKey extends string = string, OutputKey extends string = InputKey>(expressions: string, inputKeys?: InputKey[], transformKey?: (key: InputKey) => OutputKey, separator?: string): FilterNode<OutputKey>[];
|
|
157
115
|
//# sourceMappingURL=filter.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../../lib/postgrest/filter.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,CAAC,MAAM,KAAK,CAAC;AAKpB,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"filter.d.ts","sourceRoot":"","sources":["../../lib/postgrest/filter.ts"],"names":[],"mappings":"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"}
|
package/package.json
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"private": false,
|
|
4
4
|
"displayName": "Supabase-Core",
|
|
5
5
|
"description": "Lightweight services for supabase to make it easier to work with databases, tables and storage buckets",
|
|
6
|
-
"version": "2.
|
|
6
|
+
"version": "2.3.1",
|
|
7
7
|
"type": "module",
|
|
8
8
|
"repository": {
|
|
9
9
|
"type": "git",
|