@prisma/studio-core 0.0.0-dev.202504140108 → 0.0.0-dev.202504141517
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-D0mwGLmg.d.cts → adapter-B6K_-LEb.d.cts} +14 -1
- package/dist/{adapter-CqrlY1Ga.d.ts → adapter-DxrvUXtb.d.ts} +14 -1
- package/dist/{chunk-4V7MKTII.js → chunk-VXPGBRXM.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 +13 -2
- package/dist/data/postgres-core/index.d.ts +13 -2
- 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, b as QueryDetails } from '../../adapter-
|
|
1
|
+
import { A as Adapter, b as QueryDetails } from '../../adapter-B6K_-LEb.cjs';
|
|
2
2
|
import { E as Executor, B as BuilderRequirements, Q as Query, a as QueryResult } from '../../executor-BLAClqkI.cjs';
|
|
3
3
|
import '../../type-utils-rTHUvEmt.cjs';
|
|
4
4
|
import 'kysely';
|
|
@@ -26,16 +26,27 @@ declare function getSelectQuery(details: QueryDetails, requirements?: Omit<Build
|
|
|
26
26
|
*/
|
|
27
27
|
declare function mockSelectQuery(): QueryResult<typeof getSelectQuery>;
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* Returns a query that returns metadata for all user-defined tables and views in the database.
|
|
31
|
+
*/
|
|
29
32
|
declare function getTablesQuery(requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<{
|
|
30
33
|
schema: string;
|
|
31
34
|
name: string;
|
|
32
35
|
columns: {
|
|
33
36
|
name: string;
|
|
37
|
+
datatype: string;
|
|
34
38
|
}[];
|
|
35
39
|
}>;
|
|
36
40
|
/**
|
|
37
41
|
* For testing purposes.
|
|
38
42
|
*/
|
|
39
43
|
declare function mockTablesQuery(): QueryResult<typeof getTablesQuery>;
|
|
44
|
+
/**
|
|
45
|
+
* Returns a query that returns the current timezone setting of the PostgreSQL database.
|
|
46
|
+
*/
|
|
47
|
+
declare function getTimezoneQuery(): Query<{
|
|
48
|
+
timezone: string;
|
|
49
|
+
}>;
|
|
50
|
+
declare function mockTimezoneQuery(): QueryResult<typeof getTimezoneQuery>;
|
|
40
51
|
|
|
41
|
-
export { type CTIDasText, type PostgresAdapterRequirements, createPostgresAdapter, getSelectQuery, getTablesQuery, mockSelectQuery, mockTablesQuery };
|
|
52
|
+
export { type CTIDasText, type PostgresAdapterRequirements, createPostgresAdapter, getSelectQuery, getTablesQuery, getTimezoneQuery, mockSelectQuery, mockTablesQuery, mockTimezoneQuery };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { A as Adapter, b as QueryDetails } from '../../adapter-
|
|
1
|
+
import { A as Adapter, b as QueryDetails } from '../../adapter-DxrvUXtb.js';
|
|
2
2
|
import { E as Executor, B as BuilderRequirements, Q as Query, a as QueryResult } from '../../executor-CySfZPUK.js';
|
|
3
3
|
import '../../type-utils-rTHUvEmt.js';
|
|
4
4
|
import 'kysely';
|
|
@@ -26,16 +26,27 @@ declare function getSelectQuery(details: QueryDetails, requirements?: Omit<Build
|
|
|
26
26
|
*/
|
|
27
27
|
declare function mockSelectQuery(): QueryResult<typeof getSelectQuery>;
|
|
28
28
|
|
|
29
|
+
/**
|
|
30
|
+
* Returns a query that returns metadata for all user-defined tables and views in the database.
|
|
31
|
+
*/
|
|
29
32
|
declare function getTablesQuery(requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<{
|
|
30
33
|
schema: string;
|
|
31
34
|
name: string;
|
|
32
35
|
columns: {
|
|
33
36
|
name: string;
|
|
37
|
+
datatype: string;
|
|
34
38
|
}[];
|
|
35
39
|
}>;
|
|
36
40
|
/**
|
|
37
41
|
* For testing purposes.
|
|
38
42
|
*/
|
|
39
43
|
declare function mockTablesQuery(): QueryResult<typeof getTablesQuery>;
|
|
44
|
+
/**
|
|
45
|
+
* Returns a query that returns the current timezone setting of the PostgreSQL database.
|
|
46
|
+
*/
|
|
47
|
+
declare function getTimezoneQuery(): Query<{
|
|
48
|
+
timezone: string;
|
|
49
|
+
}>;
|
|
50
|
+
declare function mockTimezoneQuery(): QueryResult<typeof getTimezoneQuery>;
|
|
40
51
|
|
|
41
|
-
export { type CTIDasText, type PostgresAdapterRequirements, createPostgresAdapter, getSelectQuery, getTablesQuery, mockSelectQuery, mockTablesQuery };
|
|
52
|
+
export { type CTIDasText, type PostgresAdapterRequirements, createPostgresAdapter, getSelectQuery, getTablesQuery, getTimezoneQuery, mockSelectQuery, mockTablesQuery, mockTimezoneQuery };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a,b,c,d,e}from"../../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g}from"../../chunk-VXPGBRXM.js";import"../../chunk-2FW6TKD6.js";export{g as createPostgresAdapter,a as getSelectQuery,c as getTablesQuery,e as getTimezoneQuery,b as mockSelectQuery,d as mockTablesQuery,f as mockTimezoneQuery};
|
package/dist/ui/index.d.cts
CHANGED
package/dist/ui/index.d.ts
CHANGED