@prisma/studio-core 0.0.0-dev.202504270200 → 0.0.0-dev.202504271107
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-DaDiAEIc.d.cts → adapter-DnY5GQR_.d.cts} +13 -9
- package/dist/{adapter-DaDiAEIc.d.ts → adapter-DnY5GQR_.d.ts} +13 -9
- package/dist/{chunk-FM7CI5YG.js → chunk-RGBMDID6.js} +1 -1
- package/dist/{chunk-O3FFLQK6.js → chunk-UVMSMMNS.js} +1 -1
- 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.cjs +1 -1
- package/dist/data/index.d.cts +2 -2
- package/dist/data/index.d.ts +2 -2
- package/dist/data/index.js +1 -1
- 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 +2 -2
- package/dist/data/postgres-core/index.d.ts +2 -2
- package/dist/data/postgres-core/index.js +1 -1
- package/dist/{index-BdmWpbSo.d.cts → index-7Rl3ArFE.d.ts} +4 -3
- package/dist/{index-B9iKA_pF.d.ts → index-DJNljgpQ.d.cts} +4 -3
- package/dist/ui/index.cjs +138 -146
- package/dist/ui/index.css +0 -21
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +18 -26
- package/package.json +1 -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-DnY5GQR_.cjs';
|
|
2
|
+
import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-DJNljgpQ.cjs';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
|
|
5
5
|
interface PostgresAdapterRequirements {
|
|
@@ -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-DnY5GQR_.js';
|
|
2
|
+
import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-7Rl3ArFE.js';
|
|
3
3
|
import 'kysely';
|
|
4
4
|
|
|
5
5
|
interface PostgresAdapterRequirements {
|
|
@@ -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-UVMSMMNS.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};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as Table, E as Either } from './adapter-
|
|
1
|
+
import { T as Table, E as Either } from './adapter-DnY5GQR_.js';
|
|
2
2
|
import { WhereInterface, DialectAdapter, QueryCompiler } from 'kysely';
|
|
3
3
|
|
|
4
4
|
interface BuilderRequirements {
|
|
@@ -22,7 +22,8 @@ type QueryResult<T> = T extends Query<infer R> ? R[] : T extends (...args: any[]
|
|
|
22
22
|
*
|
|
23
23
|
* @example db.selectFrom("users").$call(applyInferredFilter(row, columns)).selectAll()
|
|
24
24
|
*/
|
|
25
|
-
declare function
|
|
25
|
+
declare function applyInferredRowFilter(row: Record<string, unknown>, columns: Table["columns"]): <QB extends WhereInterface<any, any>>(qb: QB) => QB;
|
|
26
|
+
declare function inferRowFilter(row: Record<string, unknown>, columns: Table["columns"]): [ColumnName: string, Value: unknown][];
|
|
26
27
|
|
|
27
28
|
interface Executor {
|
|
28
29
|
execute<Q extends Query>(query: Q, options?: ExecuteOptions): Promise<Either<Error, QueryResult<Q>>>;
|
|
@@ -31,4 +32,4 @@ interface ExecuteOptions {
|
|
|
31
32
|
abortSignal?: AbortSignal;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
|
-
export { type BuilderRequirements as B, type Executor as E, type Query as Q, type ExecuteOptions as a, type QueryResult as b,
|
|
35
|
+
export { type BuilderRequirements as B, type Executor as E, type Query as Q, type ExecuteOptions as a, type QueryResult as b, applyInferredRowFilter as c, inferRowFilter as i };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as Table, E as Either } from './adapter-
|
|
1
|
+
import { T as Table, E as Either } from './adapter-DnY5GQR_.cjs';
|
|
2
2
|
import { WhereInterface, DialectAdapter, QueryCompiler } from 'kysely';
|
|
3
3
|
|
|
4
4
|
interface BuilderRequirements {
|
|
@@ -22,7 +22,8 @@ type QueryResult<T> = T extends Query<infer R> ? R[] : T extends (...args: any[]
|
|
|
22
22
|
*
|
|
23
23
|
* @example db.selectFrom("users").$call(applyInferredFilter(row, columns)).selectAll()
|
|
24
24
|
*/
|
|
25
|
-
declare function
|
|
25
|
+
declare function applyInferredRowFilter(row: Record<string, unknown>, columns: Table["columns"]): <QB extends WhereInterface<any, any>>(qb: QB) => QB;
|
|
26
|
+
declare function inferRowFilter(row: Record<string, unknown>, columns: Table["columns"]): [ColumnName: string, Value: unknown][];
|
|
26
27
|
|
|
27
28
|
interface Executor {
|
|
28
29
|
execute<Q extends Query>(query: Q, options?: ExecuteOptions): Promise<Either<Error, QueryResult<Q>>>;
|
|
@@ -31,4 +32,4 @@ interface ExecuteOptions {
|
|
|
31
32
|
abortSignal?: AbortSignal;
|
|
32
33
|
}
|
|
33
34
|
|
|
34
|
-
export { type BuilderRequirements as B, type Executor as E, type Query as Q, type ExecuteOptions as a, type QueryResult as b,
|
|
35
|
+
export { type BuilderRequirements as B, type Executor as E, type Query as Q, type ExecuteOptions as a, type QueryResult as b, applyInferredRowFilter as c, inferRowFilter as i };
|