@supabase/lite 0.7.1-next.4 → 0.7.1-next.5
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/{Connection-DJbw6dM8.d.ts → Connection-Cm9fpZU3.d.ts} +10 -10
- package/dist/cli/index.js +104 -103
- package/dist/cli/lib.d.ts +3 -2
- package/dist/cli/lib.js +33 -33
- package/dist/db/fallback.d.ts +1 -1
- package/dist/db/workerd/index.js +1 -1
- package/dist/index.d.ts +190 -161
- package/dist/index.js +48 -48
- package/dist/vite/index.d.ts +23 -23
- package/package.json +1 -1
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
import { SelectQueryBuilder, InsertQueryBuilder, UpdateQueryBuilder, DeleteQueryBuilder, KyselyConfig, Kysely } from 'kysely';
|
|
2
2
|
|
|
3
|
+
interface CacheSetOptions {
|
|
4
|
+
ttl?: number;
|
|
5
|
+
}
|
|
6
|
+
interface CacheDriver {
|
|
7
|
+
get(key: string): Promise<string | undefined>;
|
|
8
|
+
set(key: string, value: string, options?: CacheSetOptions): Promise<void>;
|
|
9
|
+
delete(key: string): Promise<void>;
|
|
10
|
+
}
|
|
11
|
+
|
|
3
12
|
/**
|
|
4
13
|
* Nested object for runtime variable substitution.
|
|
5
14
|
* Paths are resolved via lodash-style dot-path access (e.g. "auth.jwt.role" → vars.auth.jwt.role).
|
|
@@ -556,15 +565,6 @@ interface ConnectionMigrator {
|
|
|
556
565
|
safeSortPlanSteps(steps: PlanStep[]): PlanStep[];
|
|
557
566
|
}
|
|
558
567
|
|
|
559
|
-
interface CacheSetOptions {
|
|
560
|
-
ttl?: number;
|
|
561
|
-
}
|
|
562
|
-
interface CacheDriver {
|
|
563
|
-
get(key: string): Promise<string | undefined>;
|
|
564
|
-
set(key: string, value: string, options?: CacheSetOptions): Promise<void>;
|
|
565
|
-
delete(key: string): Promise<void>;
|
|
566
|
-
}
|
|
567
|
-
|
|
568
568
|
interface IConnectionConfig extends Partial<KyselyConfig> {
|
|
569
569
|
url?: string;
|
|
570
570
|
introspection?: IntrospectOptions;
|
|
@@ -676,4 +676,4 @@ interface ViewOptionsMetadata {
|
|
|
676
676
|
}>;
|
|
677
677
|
}
|
|
678
678
|
|
|
679
|
-
export { type QbSelect as $, type AnyAST as A, type BaseAST as B, Connection as C, DataLossError as D, type EmbedDef as E, type FiltersResult as F, type IndexInfo as G, type HeadersResult as H, type IConnectionConfig as I, type InsertAST as J, type IntrospectOptions as K, type JoinDef as L, type JoinMap as M, type Meta as N, MigrationError as O, type OrderEntry as P, type PlanResult as Q, type PlanStep as R, PlanStepType as S, type TransactionOptions as T, type PreferToken as U, type VarsContext as V, type Where as W, type PrimaryKeyInfo as X, type Qb as Y, type QbDelete as Z, type QbInsert as _, type
|
|
679
|
+
export { type QbSelect as $, type AnyAST as A, type BaseAST as B, Connection as C, DataLossError as D, type EmbedDef as E, type FiltersResult as F, type IndexInfo as G, type HeadersResult as H, type IConnectionConfig as I, type InsertAST as J, type IntrospectOptions as K, type JoinDef as L, type JoinMap as M, type Meta as N, MigrationError as O, type OrderEntry as P, type PlanResult as Q, type PlanStep as R, PlanStepType as S, type TransactionOptions as T, type PreferToken as U, type VarsContext as V, type Where as W, type PrimaryKeyInfo as X, type Qb as Y, type QbDelete as Z, type QbInsert as _, type CacheDriver as a, type QbUpdate as a0, type QueryAST as a1, type QueryParamsResult as a2, RelationNotFoundError as a3, type RouteResult as a4, type RpcAST as a5, type RpcResult as a6, type SchemaDiffResult as a7, type SelectEntry as a8, type SelectResult as a9, type TableDiff as aa, type TableInfo as ab, type TextSearchValue as ac, type TransformsResult as ad, type TranslatorConfig as ae, type TriggerInfo as af, type UniqueConstraintInfo as ag, type UpdateAST as ah, type UpsertAST as ai, type UpsertResult as aj, type ViewInfo as ak, type ViewOptionsMetadata as al, type WhereValue as am, isRef as an, type CacheSetOptions as b, type IntrospectResult as c, type AST as d, type ASTType as e, type AggregateFunction as f, type BodyResult as g, type CheckConstraintInfo as h, type ColumnDef as i, type ColumnDiff as j, type ColumnInfo as k, type ColumnRef as l, type CommentInfo as m, type ConnectionContextOptions as n, type ConnectionMigrator as o, type CustomTypesInfo as p, type DataLossWarning as q, type DeleteAST as r, type Dialect as s, type DiffResult as t, type EmbedTransform as u, type ExplainOptions as v, type ForeignKeyDiff as w, type ForeignKeyInfo as x, type FunctionInfo as y, type IndexDiff as z };
|