@prisma/studio-core 0.0.0-dev.202504282240 → 0.0.0-dev.202504282354
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-CNZYXEsX.d.cts → adapter-Gn7PTGBr.d.cts} +3 -4
- package/dist/{adapter-CNZYXEsX.d.ts → adapter-Gn7PTGBr.d.ts} +3 -4
- package/dist/chunk-AXFPRC2V.js +1 -0
- 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.d.cts +2 -2
- package/dist/data/index.d.ts +2 -2
- 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 +3 -12
- package/dist/data/postgres-core/index.d.ts +3 -12
- package/dist/data/postgres-core/index.js +1 -1
- package/dist/{index-BF-ZW5g7.d.cts → index-BKlrKTNV.d.cts} +1 -1
- package/dist/{index-ydgOKEau.d.ts → index-ZKzLi7Ad.d.ts} +1 -1
- package/dist/ui/index.cjs +42 -42
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +18 -18
- package/package.json +1 -1
- package/dist/chunk-GEUDXEFT.js +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Adapter, T as Table, a as AdapterInsertDetails, b as AdapterQueryDetails, c as AdapterUpdateDetails } from '../../adapter-
|
|
2
|
-
import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-
|
|
1
|
+
import { A as Adapter, T as Table, a as AdapterInsertDetails, b as AdapterQueryDetails, c as AdapterUpdateDetails } from '../../adapter-Gn7PTGBr.cjs';
|
|
2
|
+
import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-BKlrKTNV.cjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
|
|
5
5
|
interface PostgresAdapterRequirements {
|
|
@@ -26,10 +26,7 @@ declare function mockIntrospect(): {
|
|
|
26
26
|
*/
|
|
27
27
|
type CTIDasText = `(${number},${number})`;
|
|
28
28
|
/**
|
|
29
|
-
* Inserts
|
|
30
|
-
* The `ctid` is returned as a string in the format `(blockNumber, tupleIndex)`.
|
|
31
|
-
* This is useful for identifying the row in the table, even if it has no primary key or unique constraints.
|
|
32
|
-
* The `ctid` is a system column that represents the physical location of a row in a table.
|
|
29
|
+
* Inserts one or more rows into a table and returns the inserted rows along with their `ctid`.
|
|
33
30
|
*/
|
|
34
31
|
declare function getInsertQuery(details: AdapterInsertDetails, requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<{
|
|
35
32
|
[x: string]: unknown;
|
|
@@ -82,7 +79,6 @@ declare function getTablesQuery(requirements?: Omit<BuilderRequirements, "Adapte
|
|
|
82
79
|
name: string;
|
|
83
80
|
datatype: string;
|
|
84
81
|
pk: boolean;
|
|
85
|
-
generated: boolean;
|
|
86
82
|
}[];
|
|
87
83
|
}>;
|
|
88
84
|
/**
|
|
@@ -95,27 +91,22 @@ declare function mockTablesQuery(): [{
|
|
|
95
91
|
readonly name: "id";
|
|
96
92
|
readonly datatype: "bigint";
|
|
97
93
|
readonly pk: true;
|
|
98
|
-
readonly generated: false;
|
|
99
94
|
}, {
|
|
100
95
|
readonly name: "name";
|
|
101
96
|
readonly datatype: "varchar";
|
|
102
97
|
readonly pk: false;
|
|
103
|
-
readonly generated: false;
|
|
104
98
|
}, {
|
|
105
99
|
readonly name: "role";
|
|
106
100
|
readonly datatype: "varchar";
|
|
107
101
|
readonly pk: false;
|
|
108
|
-
readonly generated: false;
|
|
109
102
|
}, {
|
|
110
103
|
readonly name: "created_at";
|
|
111
104
|
readonly datatype: "timestamptz";
|
|
112
105
|
readonly pk: false;
|
|
113
|
-
readonly generated: false;
|
|
114
106
|
}, {
|
|
115
107
|
readonly name: "deleted_at";
|
|
116
108
|
readonly datatype: "timestamptz";
|
|
117
109
|
readonly pk: false;
|
|
118
|
-
readonly generated: false;
|
|
119
110
|
}];
|
|
120
111
|
}];
|
|
121
112
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { A as Adapter, T as Table, a as AdapterInsertDetails, b as AdapterQueryDetails, c as AdapterUpdateDetails } from '../../adapter-
|
|
2
|
-
import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-
|
|
1
|
+
import { A as Adapter, T as Table, a as AdapterInsertDetails, b as AdapterQueryDetails, c as AdapterUpdateDetails } from '../../adapter-Gn7PTGBr.js';
|
|
2
|
+
import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-ZKzLi7Ad.js';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
|
|
5
5
|
interface PostgresAdapterRequirements {
|
|
@@ -26,10 +26,7 @@ declare function mockIntrospect(): {
|
|
|
26
26
|
*/
|
|
27
27
|
type CTIDasText = `(${number},${number})`;
|
|
28
28
|
/**
|
|
29
|
-
* Inserts
|
|
30
|
-
* The `ctid` is returned as a string in the format `(blockNumber, tupleIndex)`.
|
|
31
|
-
* This is useful for identifying the row in the table, even if it has no primary key or unique constraints.
|
|
32
|
-
* The `ctid` is a system column that represents the physical location of a row in a table.
|
|
29
|
+
* Inserts one or more rows into a table and returns the inserted rows along with their `ctid`.
|
|
33
30
|
*/
|
|
34
31
|
declare function getInsertQuery(details: AdapterInsertDetails, requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<{
|
|
35
32
|
[x: string]: unknown;
|
|
@@ -82,7 +79,6 @@ declare function getTablesQuery(requirements?: Omit<BuilderRequirements, "Adapte
|
|
|
82
79
|
name: string;
|
|
83
80
|
datatype: string;
|
|
84
81
|
pk: boolean;
|
|
85
|
-
generated: boolean;
|
|
86
82
|
}[];
|
|
87
83
|
}>;
|
|
88
84
|
/**
|
|
@@ -95,27 +91,22 @@ declare function mockTablesQuery(): [{
|
|
|
95
91
|
readonly name: "id";
|
|
96
92
|
readonly datatype: "bigint";
|
|
97
93
|
readonly pk: true;
|
|
98
|
-
readonly generated: false;
|
|
99
94
|
}, {
|
|
100
95
|
readonly name: "name";
|
|
101
96
|
readonly datatype: "varchar";
|
|
102
97
|
readonly pk: false;
|
|
103
|
-
readonly generated: false;
|
|
104
98
|
}, {
|
|
105
99
|
readonly name: "role";
|
|
106
100
|
readonly datatype: "varchar";
|
|
107
101
|
readonly pk: false;
|
|
108
|
-
readonly generated: false;
|
|
109
102
|
}, {
|
|
110
103
|
readonly name: "created_at";
|
|
111
104
|
readonly datatype: "timestamptz";
|
|
112
105
|
readonly pk: false;
|
|
113
|
-
readonly generated: false;
|
|
114
106
|
}, {
|
|
115
107
|
readonly name: "deleted_at";
|
|
116
108
|
readonly datatype: "timestamptz";
|
|
117
109
|
readonly pk: false;
|
|
118
|
-
readonly generated: false;
|
|
119
110
|
}];
|
|
120
111
|
}];
|
|
121
112
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e,f,g,h,i,j}from"../../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h,i,j}from"../../chunk-AXFPRC2V.js";import"../../chunk-RGBMDID6.js";import"../../chunk-2FW6TKD6.js";export{i as createPostgresAdapter,a as getInsertQuery,b as getSelectQuery,e as getTablesQuery,g as getTimezoneQuery,d as getUpdateQuery,j as mockIntrospect,c as mockSelectQuery,f as mockTablesQuery,h as mockTimezoneQuery};
|