@prisma/studio-core-licensed 0.0.0-dev.202511141157 → 0.0.0-dev.202511152033
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-4ML6JJCH.js +10 -0
- package/dist/chunk-MEAZKIQ2.js +10 -0
- package/dist/data/accelerate/index.d.cts +1 -1
- package/dist/data/accelerate/index.d.ts +1 -1
- package/dist/data/bff/index.d.cts +1 -1
- package/dist/data/bff/index.d.ts +1 -1
- package/dist/data/index.d.cts +1 -1
- package/dist/data/index.d.ts +1 -1
- package/dist/data/node-sqlite/index.cjs +2 -2
- package/dist/data/node-sqlite/index.d.cts +1 -1
- package/dist/data/node-sqlite/index.d.ts +1 -1
- package/dist/data/node-sqlite/index.js +1 -1
- package/dist/data/pglite/index.cjs +2 -2
- 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 +2 -2
- package/dist/data/postgres-core/index.d.cts +10 -7
- package/dist/data/postgres-core/index.d.ts +10 -7
- package/dist/data/postgres-core/index.js +1 -1
- package/dist/data/postgresjs/index.cjs +2 -2
- package/dist/data/postgresjs/index.d.cts +1 -1
- package/dist/data/postgresjs/index.d.ts +1 -1
- package/dist/data/postgresjs/index.js +1 -1
- package/dist/data/ppg/index.d.cts +1 -1
- package/dist/data/ppg/index.d.ts +1 -1
- package/dist/data/sqlite-core/index.cjs +2 -2
- package/dist/data/sqlite-core/index.d.cts +13 -6
- package/dist/data/sqlite-core/index.d.ts +13 -6
- package/dist/data/sqlite-core/index.js +1 -1
- package/dist/{index-CVwmrqt5.d.cts → index-QHiosBWl.d.cts} +1 -1
- package/dist/{index-CVwmrqt5.d.ts → index-QHiosBWl.d.ts} +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.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +1 -1
- package/package.json +21 -2
- package/dist/chunk-HK4HH34Z.js +0 -10
- package/dist/chunk-T6RNFB7W.js +0 -10
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as AdapterRequirements, A as Adapter, T as Table, F as FilterOperator, Q as Query,
|
|
2
|
-
import
|
|
1
|
+
import { d as AdapterRequirements, A as Adapter, T as Table, F as FilterOperator, Q as Query, h as AdapterInsertDetails, B as BuilderRequirements, e as AdapterQueryDetails, i as AdapterUpdateDetails, f as AdapterDeleteDetails } from '../../index-QHiosBWl.cjs';
|
|
2
|
+
import 'kysely';
|
|
3
3
|
|
|
4
4
|
type PostgresAdapterRequirements = AdapterRequirements;
|
|
5
5
|
declare function createPostgresAdapter(requirements: PostgresAdapterRequirements): Adapter;
|
|
@@ -23,11 +23,11 @@ declare function getInsertQuery(details: AdapterInsertDetails, requirements?: Om
|
|
|
23
23
|
[x: string]: unknown;
|
|
24
24
|
}>;
|
|
25
25
|
/**
|
|
26
|
-
* Returns a query that selects all columns from a table, along with an unbound row count as `
|
|
26
|
+
* Returns a query that selects all columns from a table, along with an unbound row count as `__ps_count__`.
|
|
27
27
|
*/
|
|
28
28
|
declare function getSelectQuery(details: AdapterQueryDetails, requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<{
|
|
29
29
|
[x: string]: unknown;
|
|
30
|
-
|
|
30
|
+
__ps_count__: `${bigint}`;
|
|
31
31
|
}>;
|
|
32
32
|
/**
|
|
33
33
|
* For testing purposes.
|
|
@@ -37,7 +37,7 @@ declare function mockSelectQuery(): [{
|
|
|
37
37
|
readonly deleted_at: null;
|
|
38
38
|
readonly id: 1;
|
|
39
39
|
readonly name: "John Doe";
|
|
40
|
-
readonly
|
|
40
|
+
readonly __ps_count__: "2";
|
|
41
41
|
readonly role: "admin";
|
|
42
42
|
readonly name_role: "Jonn Doe - admin";
|
|
43
43
|
}, {
|
|
@@ -45,7 +45,7 @@ declare function mockSelectQuery(): [{
|
|
|
45
45
|
readonly deleted_at: null;
|
|
46
46
|
readonly id: 2;
|
|
47
47
|
readonly name: "Jane Doe";
|
|
48
|
-
readonly
|
|
48
|
+
readonly __ps_count__: "2";
|
|
49
49
|
readonly role: "poweruser";
|
|
50
50
|
readonly name_role: "Jane Doe - poweruser";
|
|
51
51
|
}];
|
|
@@ -59,7 +59,10 @@ declare function getUpdateQuery(details: AdapterUpdateDetails, requirements?: Om
|
|
|
59
59
|
/**
|
|
60
60
|
* Returns a query that deletes a given set of rows.
|
|
61
61
|
*/
|
|
62
|
-
declare function getDeleteQuery(details: AdapterDeleteDetails, requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<
|
|
62
|
+
declare function getDeleteQuery(details: AdapterDeleteDetails, requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<{
|
|
63
|
+
[x: string]: unknown;
|
|
64
|
+
__ps_deleted_at__: `${bigint}`;
|
|
65
|
+
}>;
|
|
63
66
|
|
|
64
67
|
/**
|
|
65
68
|
* Returns a query that returns metadata for all user-defined tables and views in the database.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { d as AdapterRequirements, A as Adapter, T as Table, F as FilterOperator, Q as Query,
|
|
2
|
-
import
|
|
1
|
+
import { d as AdapterRequirements, A as Adapter, T as Table, F as FilterOperator, Q as Query, h as AdapterInsertDetails, B as BuilderRequirements, e as AdapterQueryDetails, i as AdapterUpdateDetails, f as AdapterDeleteDetails } from '../../index-QHiosBWl.js';
|
|
2
|
+
import 'kysely';
|
|
3
3
|
|
|
4
4
|
type PostgresAdapterRequirements = AdapterRequirements;
|
|
5
5
|
declare function createPostgresAdapter(requirements: PostgresAdapterRequirements): Adapter;
|
|
@@ -23,11 +23,11 @@ declare function getInsertQuery(details: AdapterInsertDetails, requirements?: Om
|
|
|
23
23
|
[x: string]: unknown;
|
|
24
24
|
}>;
|
|
25
25
|
/**
|
|
26
|
-
* Returns a query that selects all columns from a table, along with an unbound row count as `
|
|
26
|
+
* Returns a query that selects all columns from a table, along with an unbound row count as `__ps_count__`.
|
|
27
27
|
*/
|
|
28
28
|
declare function getSelectQuery(details: AdapterQueryDetails, requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<{
|
|
29
29
|
[x: string]: unknown;
|
|
30
|
-
|
|
30
|
+
__ps_count__: `${bigint}`;
|
|
31
31
|
}>;
|
|
32
32
|
/**
|
|
33
33
|
* For testing purposes.
|
|
@@ -37,7 +37,7 @@ declare function mockSelectQuery(): [{
|
|
|
37
37
|
readonly deleted_at: null;
|
|
38
38
|
readonly id: 1;
|
|
39
39
|
readonly name: "John Doe";
|
|
40
|
-
readonly
|
|
40
|
+
readonly __ps_count__: "2";
|
|
41
41
|
readonly role: "admin";
|
|
42
42
|
readonly name_role: "Jonn Doe - admin";
|
|
43
43
|
}, {
|
|
@@ -45,7 +45,7 @@ declare function mockSelectQuery(): [{
|
|
|
45
45
|
readonly deleted_at: null;
|
|
46
46
|
readonly id: 2;
|
|
47
47
|
readonly name: "Jane Doe";
|
|
48
|
-
readonly
|
|
48
|
+
readonly __ps_count__: "2";
|
|
49
49
|
readonly role: "poweruser";
|
|
50
50
|
readonly name_role: "Jane Doe - poweruser";
|
|
51
51
|
}];
|
|
@@ -59,7 +59,10 @@ declare function getUpdateQuery(details: AdapterUpdateDetails, requirements?: Om
|
|
|
59
59
|
/**
|
|
60
60
|
* Returns a query that deletes a given set of rows.
|
|
61
61
|
*/
|
|
62
|
-
declare function getDeleteQuery(details: AdapterDeleteDetails, requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<
|
|
62
|
+
declare function getDeleteQuery(details: AdapterDeleteDetails, requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<{
|
|
63
|
+
[x: string]: unknown;
|
|
64
|
+
__ps_deleted_at__: `${bigint}`;
|
|
65
|
+
}>;
|
|
63
66
|
|
|
64
67
|
/**
|
|
65
68
|
* Returns a query that returns metadata for all user-defined tables and views in the 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,l,m}from"../../chunk-
|
|
9
|
+
import{a,b,c,d,e,f,g,h,i,j,k,l,m}from"../../chunk-4ML6JJCH.js";import"../../chunk-OTK4ZF2W.js";import"../../chunk-WHLVNWIR.js";import"../../chunk-GDQBQ7MK.js";export{j as createPostgresAdapter,m as getCancelQuery,e as getDeleteQuery,a as getInsertQuery,l as getPIDQuery,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
|