@prisma/studio-core 0.0.0-dev.202504271644 → 0.0.0-dev.202504280807
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-DnY5GQR_.d.cts → adapter-BOYOEPRL.d.cts} +8 -12
- package/dist/{adapter-DnY5GQR_.d.ts → adapter-BOYOEPRL.d.ts} +8 -12
- package/dist/{chunk-RGBMDID6.js → chunk-FM7CI5YG.js} +1 -1
- package/dist/{chunk-UVMSMMNS.js → chunk-O3FFLQK6.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-7Rl3ArFE.d.ts → index-CLd0EllQ.d.cts} +3 -4
- package/dist/{index-DJNljgpQ.d.cts → index-D6voXKsD.d.ts} +3 -4
- package/dist/ui/index.cjs +114 -114
- package/dist/ui/index.d.cts +1 -1
- package/dist/ui/index.d.ts +1 -1
- package/dist/ui/index.js +6 -6
- 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-BOYOEPRL.cjs';
|
|
2
|
+
import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-CLd0EllQ.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-BOYOEPRL.js';
|
|
2
|
+
import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-D6voXKsD.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-O3FFLQK6.js";import"../../chunk-FM7CI5YG.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-BOYOEPRL.cjs';
|
|
2
2
|
import { WhereInterface, DialectAdapter, QueryCompiler } from 'kysely';
|
|
3
3
|
|
|
4
4
|
interface BuilderRequirements {
|
|
@@ -22,8 +22,7 @@ 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
|
|
26
|
-
declare function inferRowFilter(row: Record<string, unknown>, columns: Table["columns"]): [ColumnName: string, Value: unknown][];
|
|
25
|
+
declare function applyInferredFilter(row: Record<string, unknown>, columns: Table["columns"]): <QB extends WhereInterface<any, any>>(qb: QB) => QB;
|
|
27
26
|
|
|
28
27
|
interface Executor {
|
|
29
28
|
execute<Q extends Query>(query: Q, options?: ExecuteOptions): Promise<Either<Error, QueryResult<Q>>>;
|
|
@@ -32,4 +31,4 @@ interface ExecuteOptions {
|
|
|
32
31
|
abortSignal?: AbortSignal;
|
|
33
32
|
}
|
|
34
33
|
|
|
35
|
-
export { type BuilderRequirements as B, type Executor as E, type Query as Q, type ExecuteOptions as a, type QueryResult as b,
|
|
34
|
+
export { type BuilderRequirements as B, type Executor as E, type Query as Q, type ExecuteOptions as a, type QueryResult as b, applyInferredFilter as c };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { T as Table, E as Either } from './adapter-
|
|
1
|
+
import { T as Table, E as Either } from './adapter-BOYOEPRL.js';
|
|
2
2
|
import { WhereInterface, DialectAdapter, QueryCompiler } from 'kysely';
|
|
3
3
|
|
|
4
4
|
interface BuilderRequirements {
|
|
@@ -22,8 +22,7 @@ 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
|
|
26
|
-
declare function inferRowFilter(row: Record<string, unknown>, columns: Table["columns"]): [ColumnName: string, Value: unknown][];
|
|
25
|
+
declare function applyInferredFilter(row: Record<string, unknown>, columns: Table["columns"]): <QB extends WhereInterface<any, any>>(qb: QB) => QB;
|
|
27
26
|
|
|
28
27
|
interface Executor {
|
|
29
28
|
execute<Q extends Query>(query: Q, options?: ExecuteOptions): Promise<Either<Error, QueryResult<Q>>>;
|
|
@@ -32,4 +31,4 @@ interface ExecuteOptions {
|
|
|
32
31
|
abortSignal?: AbortSignal;
|
|
33
32
|
}
|
|
34
33
|
|
|
35
|
-
export { type BuilderRequirements as B, type Executor as E, type Query as Q, type ExecuteOptions as a, type QueryResult as b,
|
|
34
|
+
export { type BuilderRequirements as B, type Executor as E, type Query as Q, type ExecuteOptions as a, type QueryResult as b, applyInferredFilter as c };
|