@prisma/studio-core 0.0.0-dev.202504280807 → 0.0.0-dev.202504280930
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/{adapter-BOYOEPRL.d.cts → adapter-DnY5GQR_.d.cts} +12 -8
- package/dist/{adapter-BOYOEPRL.d.ts → adapter-DnY5GQR_.d.ts} +12 -8
- package/dist/{chunk-FM7CI5YG.js → chunk-RGBMDID6.js} +1 -1
- package/dist/{chunk-O3FFLQK6.js → chunk-UVMSMMNS.js} +1 -1
- package/dist/data/accelerate/index.d.cts +2 -2
- package/dist/data/accelerate/index.d.ts +2 -2
- package/dist/data/bff/index.d.cts +2 -2
- package/dist/data/bff/index.d.ts +2 -2
- package/dist/data/index.cjs +1 -1
- package/dist/data/index.d.cts +2 -2
- package/dist/data/index.d.ts +2 -2
- package/dist/data/index.js +1 -1
- package/dist/data/pglite/index.cjs +1 -1
- package/dist/data/pglite/index.d.cts +2 -2
- package/dist/data/pglite/index.d.ts +2 -2
- package/dist/data/pglite/index.js +1 -1
- package/dist/data/postgres-core/index.cjs +1 -1
- package/dist/data/postgres-core/index.d.cts +2 -2
- package/dist/data/postgres-core/index.d.ts +2 -2
- package/dist/data/postgres-core/index.js +1 -1
- package/dist/{index-CLd0EllQ.d.cts → index-7Rl3ArFE.d.ts} +4 -3
- package/dist/{index-D6voXKsD.d.ts → index-DJNljgpQ.d.cts} +4 -3
- package/dist/ui/index.cjs +114 -114
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +6 -6
- package/package.json +1 -1
|
@@ -13,26 +13,30 @@ interface Adapter {
|
|
|
13
13
|
*
|
|
14
14
|
* @param options - Options for the introspection request.
|
|
15
15
|
*/
|
|
16
|
-
introspect(options:
|
|
16
|
+
introspect(options: AdapterIntrospectOptions): Promise<Either<Error, Introspection>>;
|
|
17
17
|
/**
|
|
18
18
|
* Executes a structured query against the database.
|
|
19
19
|
*/
|
|
20
|
-
query(details: AdapterQueryDetails, options:
|
|
20
|
+
query(details: AdapterQueryDetails, options: AdapterQueryOptions): Promise<Either<Error, AdapterQueryResult>>;
|
|
21
21
|
/**
|
|
22
22
|
* Inserts a single row into the database.
|
|
23
23
|
*/
|
|
24
|
-
insert(details: AdapterInsertDetails, options:
|
|
24
|
+
insert(details: AdapterInsertDetails, options: AdapterInsertOptions): Promise<Either<Error, AdapterInsertResult>>;
|
|
25
25
|
/**
|
|
26
26
|
* Updates a given row in the database with given changes.
|
|
27
27
|
*/
|
|
28
|
-
update(details: AdapterUpdateDetails, options:
|
|
28
|
+
update(details: AdapterUpdateDetails, options: AdapterUpdateOptions): Promise<Either<Error, AdapterUpdateResult>>;
|
|
29
29
|
}
|
|
30
|
-
interface
|
|
30
|
+
interface AdapterBaseOptions {
|
|
31
|
+
}
|
|
32
|
+
interface AdapterIntrospectOptions extends AdapterBaseOptions {
|
|
33
|
+
}
|
|
34
|
+
interface AdapterQueryOptions extends AdapterBaseOptions {
|
|
31
35
|
abortSignal: AbortSignal;
|
|
32
36
|
}
|
|
33
|
-
interface
|
|
37
|
+
interface AdapterInsertOptions extends AdapterBaseOptions {
|
|
34
38
|
}
|
|
35
|
-
interface
|
|
39
|
+
interface AdapterUpdateOptions extends AdapterBaseOptions {
|
|
36
40
|
}
|
|
37
41
|
type SchemaName = string;
|
|
38
42
|
interface Introspection {
|
|
@@ -150,4 +154,4 @@ interface AdapterUpdateResult {
|
|
|
150
154
|
row: Record<ColumnName, unknown>;
|
|
151
155
|
}
|
|
152
156
|
|
|
153
|
-
export type { Adapter as A,
|
|
157
|
+
export type { Adapter as A, Column as C, DataType as D, Either as E, Introspection as I, NumericString as N, Schema as S, Table as T, AdapterInsertDetails as a, AdapterQueryDetails as b, AdapterUpdateDetails as c, AdapterBaseOptions as d, AdapterIntrospectOptions as e, AdapterQueryOptions as f, AdapterInsertOptions as g, AdapterUpdateOptions as h, DataTypeGroup as i, SortOrderItem as j, SortDirection as k, AdapterQueryResult as l, AdapterInsertResult as m, AdapterUpdateResult as n };
|
|
@@ -13,26 +13,30 @@ interface Adapter {
|
|
|
13
13
|
*
|
|
14
14
|
* @param options - Options for the introspection request.
|
|
15
15
|
*/
|
|
16
|
-
introspect(options:
|
|
16
|
+
introspect(options: AdapterIntrospectOptions): Promise<Either<Error, Introspection>>;
|
|
17
17
|
/**
|
|
18
18
|
* Executes a structured query against the database.
|
|
19
19
|
*/
|
|
20
|
-
query(details: AdapterQueryDetails, options:
|
|
20
|
+
query(details: AdapterQueryDetails, options: AdapterQueryOptions): Promise<Either<Error, AdapterQueryResult>>;
|
|
21
21
|
/**
|
|
22
22
|
* Inserts a single row into the database.
|
|
23
23
|
*/
|
|
24
|
-
insert(details: AdapterInsertDetails, options:
|
|
24
|
+
insert(details: AdapterInsertDetails, options: AdapterInsertOptions): Promise<Either<Error, AdapterInsertResult>>;
|
|
25
25
|
/**
|
|
26
26
|
* Updates a given row in the database with given changes.
|
|
27
27
|
*/
|
|
28
|
-
update(details: AdapterUpdateDetails, options:
|
|
28
|
+
update(details: AdapterUpdateDetails, options: AdapterUpdateOptions): Promise<Either<Error, AdapterUpdateResult>>;
|
|
29
29
|
}
|
|
30
|
-
interface
|
|
30
|
+
interface AdapterBaseOptions {
|
|
31
|
+
}
|
|
32
|
+
interface AdapterIntrospectOptions extends AdapterBaseOptions {
|
|
33
|
+
}
|
|
34
|
+
interface AdapterQueryOptions extends AdapterBaseOptions {
|
|
31
35
|
abortSignal: AbortSignal;
|
|
32
36
|
}
|
|
33
|
-
interface
|
|
37
|
+
interface AdapterInsertOptions extends AdapterBaseOptions {
|
|
34
38
|
}
|
|
35
|
-
interface
|
|
39
|
+
interface AdapterUpdateOptions extends AdapterBaseOptions {
|
|
36
40
|
}
|
|
37
41
|
type SchemaName = string;
|
|
38
42
|
interface Introspection {
|
|
@@ -150,4 +154,4 @@ interface AdapterUpdateResult {
|
|
|
150
154
|
row: Record<ColumnName, unknown>;
|
|
151
155
|
}
|
|
152
156
|
|
|
153
|
-
export type { Adapter as A,
|
|
157
|
+
export type { Adapter as A, Column as C, DataType as D, Either as E, Introspection as I, NumericString as N, Schema as S, Table as T, AdapterInsertDetails as a, AdapterQueryDetails as b, AdapterUpdateDetails as c, AdapterBaseOptions as d, AdapterIntrospectOptions as e, AdapterQueryOptions as f, AdapterInsertOptions as g, AdapterUpdateOptions as h, DataTypeGroup as i, SortOrderItem as j, SortDirection as k, AdapterQueryResult as l, AdapterInsertResult as m, AdapterUpdateResult as n };
|