@prisma/studio-core 0.0.0-dev.202506190229 → 0.0.0-dev.202506190259
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/{chunk-ZD6BLWTT.js → chunk-4JSOAGEV.js} +2 -2
- package/dist/chunk-LDCUGTZJ.js +10 -0
- package/dist/data/index.cjs +2 -2
- package/dist/data/index.js +1 -1
- package/dist/data/pglite/index.cjs +2 -2
- package/dist/data/pglite/index.js +1 -1
- package/dist/data/postgres-core/index.cjs +2 -2
- package/dist/data/postgres-core/index.d.cts +38 -1
- package/dist/data/postgres-core/index.d.ts +38 -1
- package/dist/data/postgres-core/index.js +1 -1
- package/dist/metafile-cjs.json +1 -1
- package/dist/metafile-esm.json +1 -1
- package/dist/ui/index.cjs +1 -1
- package/dist/ui/index.js +1 -1
- package/package.json +1 -1
- package/dist/chunk-FED7YPGJ.js +0 -10
|
@@ -13,7 +13,7 @@ declare function createPostgresAdapter(requirements: PostgresAdapterRequirements
|
|
|
13
13
|
declare function mockIntrospect(): {
|
|
14
14
|
schemas: { [K in "zoo" | "public"]: {
|
|
15
15
|
name: K;
|
|
16
|
-
tables: { [T in "animals" | "users"]: Table; };
|
|
16
|
+
tables: { [T in "animals" | "users" | "composite_pk"]: Table; };
|
|
17
17
|
}; };
|
|
18
18
|
timezone: "UTC";
|
|
19
19
|
filterOperators: FilterOperator[];
|
|
@@ -197,6 +197,43 @@ declare function mockTablesQuery(): [{
|
|
|
197
197
|
readonly foreign_key_table: null;
|
|
198
198
|
readonly foreign_key_column: null;
|
|
199
199
|
}];
|
|
200
|
+
}, {
|
|
201
|
+
readonly schema: "public";
|
|
202
|
+
readonly name: "composite_pk";
|
|
203
|
+
readonly columns: [{
|
|
204
|
+
readonly name: "id";
|
|
205
|
+
readonly datatype: "uuid";
|
|
206
|
+
readonly datatype_schema: "pg_catalog";
|
|
207
|
+
readonly pk: true;
|
|
208
|
+
readonly computed: false;
|
|
209
|
+
readonly options: [];
|
|
210
|
+
readonly nullable: false;
|
|
211
|
+
readonly foreign_key_schema: null;
|
|
212
|
+
readonly foreign_key_table: null;
|
|
213
|
+
readonly foreign_key_column: null;
|
|
214
|
+
}, {
|
|
215
|
+
readonly name: "name";
|
|
216
|
+
readonly datatype: "text";
|
|
217
|
+
readonly datatype_schema: "pg_catalog";
|
|
218
|
+
readonly pk: true;
|
|
219
|
+
readonly computed: false;
|
|
220
|
+
readonly options: [];
|
|
221
|
+
readonly nullable: true;
|
|
222
|
+
readonly foreign_key_schema: null;
|
|
223
|
+
readonly foreign_key_table: null;
|
|
224
|
+
readonly foreign_key_column: null;
|
|
225
|
+
}, {
|
|
226
|
+
readonly name: "created_at";
|
|
227
|
+
readonly datatype: "timestamp";
|
|
228
|
+
readonly datatype_schema: "pg_catalog";
|
|
229
|
+
readonly pk: false;
|
|
230
|
+
readonly computed: false;
|
|
231
|
+
readonly options: [];
|
|
232
|
+
readonly nullable: true;
|
|
233
|
+
readonly foreign_key_schema: null;
|
|
234
|
+
readonly foreign_key_table: null;
|
|
235
|
+
readonly foreign_key_column: null;
|
|
236
|
+
}];
|
|
200
237
|
}];
|
|
201
238
|
/**
|
|
202
239
|
* Returns a query that returns the current timezone setting of the PostgreSQL database.
|
|
@@ -13,7 +13,7 @@ declare function createPostgresAdapter(requirements: PostgresAdapterRequirements
|
|
|
13
13
|
declare function mockIntrospect(): {
|
|
14
14
|
schemas: { [K in "zoo" | "public"]: {
|
|
15
15
|
name: K;
|
|
16
|
-
tables: { [T in "animals" | "users"]: Table; };
|
|
16
|
+
tables: { [T in "animals" | "users" | "composite_pk"]: Table; };
|
|
17
17
|
}; };
|
|
18
18
|
timezone: "UTC";
|
|
19
19
|
filterOperators: FilterOperator[];
|
|
@@ -197,6 +197,43 @@ declare function mockTablesQuery(): [{
|
|
|
197
197
|
readonly foreign_key_table: null;
|
|
198
198
|
readonly foreign_key_column: null;
|
|
199
199
|
}];
|
|
200
|
+
}, {
|
|
201
|
+
readonly schema: "public";
|
|
202
|
+
readonly name: "composite_pk";
|
|
203
|
+
readonly columns: [{
|
|
204
|
+
readonly name: "id";
|
|
205
|
+
readonly datatype: "uuid";
|
|
206
|
+
readonly datatype_schema: "pg_catalog";
|
|
207
|
+
readonly pk: true;
|
|
208
|
+
readonly computed: false;
|
|
209
|
+
readonly options: [];
|
|
210
|
+
readonly nullable: false;
|
|
211
|
+
readonly foreign_key_schema: null;
|
|
212
|
+
readonly foreign_key_table: null;
|
|
213
|
+
readonly foreign_key_column: null;
|
|
214
|
+
}, {
|
|
215
|
+
readonly name: "name";
|
|
216
|
+
readonly datatype: "text";
|
|
217
|
+
readonly datatype_schema: "pg_catalog";
|
|
218
|
+
readonly pk: true;
|
|
219
|
+
readonly computed: false;
|
|
220
|
+
readonly options: [];
|
|
221
|
+
readonly nullable: true;
|
|
222
|
+
readonly foreign_key_schema: null;
|
|
223
|
+
readonly foreign_key_table: null;
|
|
224
|
+
readonly foreign_key_column: null;
|
|
225
|
+
}, {
|
|
226
|
+
readonly name: "created_at";
|
|
227
|
+
readonly datatype: "timestamp";
|
|
228
|
+
readonly datatype_schema: "pg_catalog";
|
|
229
|
+
readonly pk: false;
|
|
230
|
+
readonly computed: false;
|
|
231
|
+
readonly options: [];
|
|
232
|
+
readonly nullable: true;
|
|
233
|
+
readonly foreign_key_schema: null;
|
|
234
|
+
readonly foreign_key_table: null;
|
|
235
|
+
readonly foreign_key_column: null;
|
|
236
|
+
}];
|
|
200
237
|
}];
|
|
201
238
|
/**
|
|
202
239
|
* Returns a query that returns the current timezone setting of the PostgreSQL database.
|
|
@@ -6,5 +6,5 @@ function require(mod) {
|
|
|
6
6
|
if (mod === 'react-dom') return ___react_dom___;
|
|
7
7
|
throw new Error(`Unknown module ${mod}`);
|
|
8
8
|
}
|
|
9
|
-
import{a,b,c,d,e,f,g,h,i,j,k}from"../../chunk-
|
|
9
|
+
import{a,b,c,d,e,f,g,h,i,j,k}from"../../chunk-4JSOAGEV.js";import"../../chunk-LDCUGTZJ.js";import"../../chunk-P5LRZ6C2.js";export{j as createPostgresAdapter,e as getDeleteQuery,a as getInsertQuery,b as getSelectQuery,f as getTablesQuery,h as getTimezoneQuery,d as getUpdateQuery,k as mockIntrospect,c as mockSelectQuery,g as mockTablesQuery,i as mockTimezoneQuery};
|
|
10
10
|
//# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFtdLAogICJzb3VyY2VzQ29udGVudCI6IFtdLAogICJtYXBwaW5ncyI6ICIiLAogICJuYW1lcyI6IFtdCn0K
|