@prisma/studio-core 0.0.0-dev.202504222204 → 0.0.0-dev.202504222316
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-On90Gtqe.d.ts → adapter-BLZ7FUth.d.ts} +31 -1
- package/dist/{adapter-BznP3lED.d.cts → adapter-buCr9KV9.d.cts} +31 -1
- package/dist/{chunk-WXLUXBTU.js → chunk-5XMLGQEU.js} +1 -1
- package/dist/data/accelerate/index.cjs +1 -1
- package/dist/data/accelerate/index.d.cts +1 -17
- package/dist/data/accelerate/index.d.ts +1 -17
- package/dist/data/accelerate/index.js +1 -1
- package/dist/data/bff/index.cjs +1 -1
- package/dist/data/bff/index.d.cts +0 -6
- package/dist/data/bff/index.d.ts +0 -6
- package/dist/data/bff/index.js +1 -1
- package/dist/data/index.d.cts +1 -1
- package/dist/data/index.d.ts +1 -1
- package/dist/data/pglite/index.cjs +1 -1
- package/dist/data/pglite/index.d.cts +1 -1
- package/dist/data/pglite/index.d.ts +1 -1
- 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 +8 -3
- package/dist/data/postgres-core/index.d.ts +8 -3
- package/dist/data/postgres-core/index.js +1 -1
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Adapter, c as AdapterQueryDetails } from '../../adapter-
|
|
1
|
+
import { A as Adapter, g as AdapterInsertDetails, c as AdapterQueryDetails } from '../../adapter-buCr9KV9.cjs';
|
|
2
2
|
import { E as Executor, B as BuilderRequirements, Q as Query, a as QueryResult } from '../../executor-DbZM00RR.cjs';
|
|
3
3
|
import '../../type-utils-u92OZz8n.cjs';
|
|
4
4
|
import 'kysely';
|
|
@@ -17,13 +17,18 @@ declare function createPostgresAdapter(requirements: PostgresAdapterRequirements
|
|
|
17
17
|
* Example: '(0,23)' represents the 24th row in the first block of the table.
|
|
18
18
|
*/
|
|
19
19
|
type CTIDasText = `(${number},${number})`;
|
|
20
|
+
declare function getInsertQuery(details: AdapterInsertDetails, requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<{
|
|
21
|
+
[x: string]: unknown;
|
|
22
|
+
} & {
|
|
23
|
+
ctid: `(${number},${number})`;
|
|
24
|
+
}>;
|
|
20
25
|
/**
|
|
21
26
|
* Returns a query that selects all columns from a table, along with the `ctid` column, and unbound row count as `oid` (reserved column name that cannot conflict with user columns).
|
|
22
27
|
*/
|
|
23
28
|
declare function getSelectQuery(details: AdapterQueryDetails, requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<{
|
|
24
29
|
[x: string]: unknown;
|
|
25
|
-
oid: `${number}`;
|
|
26
30
|
ctid: `(${number},${number})`;
|
|
31
|
+
oid: `${number}`;
|
|
27
32
|
}>;
|
|
28
33
|
/**
|
|
29
34
|
* For testing purposes.
|
|
@@ -54,4 +59,4 @@ declare function getTimezoneQuery(): Query<{
|
|
|
54
59
|
}>;
|
|
55
60
|
declare function mockTimezoneQuery(): QueryResult<typeof getTimezoneQuery>;
|
|
56
61
|
|
|
57
|
-
export { type CTIDasText, type PostgresAdapterRequirements, createPostgresAdapter, getSelectQuery, getTablesQuery, getTimezoneQuery, mockSelectQuery, mockTablesQuery, mockTimezoneQuery };
|
|
62
|
+
export { type CTIDasText, type PostgresAdapterRequirements, createPostgresAdapter, getInsertQuery, getSelectQuery, getTablesQuery, getTimezoneQuery, mockSelectQuery, mockTablesQuery, mockTimezoneQuery };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Adapter, c as AdapterQueryDetails } from '../../adapter-
|
|
1
|
+
import { A as Adapter, g as AdapterInsertDetails, c as AdapterQueryDetails } from '../../adapter-BLZ7FUth.js';
|
|
2
2
|
import { E as Executor, B as BuilderRequirements, Q as Query, a as QueryResult } from '../../executor-DI7JTcqO.js';
|
|
3
3
|
import '../../type-utils-u92OZz8n.js';
|
|
4
4
|
import 'kysely';
|
|
@@ -17,13 +17,18 @@ declare function createPostgresAdapter(requirements: PostgresAdapterRequirements
|
|
|
17
17
|
* Example: '(0,23)' represents the 24th row in the first block of the table.
|
|
18
18
|
*/
|
|
19
19
|
type CTIDasText = `(${number},${number})`;
|
|
20
|
+
declare function getInsertQuery(details: AdapterInsertDetails, requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<{
|
|
21
|
+
[x: string]: unknown;
|
|
22
|
+
} & {
|
|
23
|
+
ctid: `(${number},${number})`;
|
|
24
|
+
}>;
|
|
20
25
|
/**
|
|
21
26
|
* Returns a query that selects all columns from a table, along with the `ctid` column, and unbound row count as `oid` (reserved column name that cannot conflict with user columns).
|
|
22
27
|
*/
|
|
23
28
|
declare function getSelectQuery(details: AdapterQueryDetails, requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<{
|
|
24
29
|
[x: string]: unknown;
|
|
25
|
-
oid: `${number}`;
|
|
26
30
|
ctid: `(${number},${number})`;
|
|
31
|
+
oid: `${number}`;
|
|
27
32
|
}>;
|
|
28
33
|
/**
|
|
29
34
|
* For testing purposes.
|
|
@@ -54,4 +59,4 @@ declare function getTimezoneQuery(): Query<{
|
|
|
54
59
|
}>;
|
|
55
60
|
declare function mockTimezoneQuery(): QueryResult<typeof getTimezoneQuery>;
|
|
56
61
|
|
|
57
|
-
export { type CTIDasText, type PostgresAdapterRequirements, createPostgresAdapter, getSelectQuery, getTablesQuery, getTimezoneQuery, mockSelectQuery, mockTablesQuery, mockTimezoneQuery };
|
|
62
|
+
export { type CTIDasText, type PostgresAdapterRequirements, createPostgresAdapter, getInsertQuery, getSelectQuery, getTablesQuery, getTimezoneQuery, mockSelectQuery, mockTablesQuery, mockTimezoneQuery };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g}from"../../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h}from"../../chunk-5XMLGQEU.js";import"../../chunk-2FW6TKD6.js";export{h as createPostgresAdapter,a as getInsertQuery,b as getSelectQuery,d as getTablesQuery,f as getTimezoneQuery,c as mockSelectQuery,e as mockTablesQuery,g as mockTimezoneQuery};
|
package/dist/ui/index.d.cts
CHANGED
package/dist/ui/index.d.ts
CHANGED