@prisma/studio-core-licensed 0.0.0-dev.202511132256 → 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.
Files changed (41) hide show
  1. package/dist/chunk-4ML6JJCH.js +10 -0
  2. package/dist/chunk-MEAZKIQ2.js +10 -0
  3. package/dist/data/accelerate/index.d.cts +1 -1
  4. package/dist/data/accelerate/index.d.ts +1 -1
  5. package/dist/data/bff/index.d.cts +1 -1
  6. package/dist/data/bff/index.d.ts +1 -1
  7. package/dist/data/index.d.cts +1 -1
  8. package/dist/data/index.d.ts +1 -1
  9. package/dist/data/node-sqlite/index.cjs +2 -2
  10. package/dist/data/node-sqlite/index.d.cts +1 -1
  11. package/dist/data/node-sqlite/index.d.ts +1 -1
  12. package/dist/data/node-sqlite/index.js +1 -1
  13. package/dist/data/pglite/index.cjs +2 -2
  14. package/dist/data/pglite/index.d.cts +1 -1
  15. package/dist/data/pglite/index.d.ts +1 -1
  16. package/dist/data/pglite/index.js +1 -1
  17. package/dist/data/postgres-core/index.cjs +2 -2
  18. package/dist/data/postgres-core/index.d.cts +10 -7
  19. package/dist/data/postgres-core/index.d.ts +10 -7
  20. package/dist/data/postgres-core/index.js +1 -1
  21. package/dist/data/postgresjs/index.cjs +2 -2
  22. package/dist/data/postgresjs/index.d.cts +1 -1
  23. package/dist/data/postgresjs/index.d.ts +1 -1
  24. package/dist/data/postgresjs/index.js +1 -1
  25. package/dist/data/ppg/index.d.cts +1 -1
  26. package/dist/data/ppg/index.d.ts +1 -1
  27. package/dist/data/sqlite-core/index.cjs +2 -2
  28. package/dist/data/sqlite-core/index.d.cts +13 -6
  29. package/dist/data/sqlite-core/index.d.ts +13 -6
  30. package/dist/data/sqlite-core/index.js +1 -1
  31. package/dist/{index-CVwmrqt5.d.cts → index-QHiosBWl.d.cts} +1 -1
  32. package/dist/{index-CVwmrqt5.d.ts → index-QHiosBWl.d.ts} +1 -1
  33. package/dist/metafile-cjs.json +1 -1
  34. package/dist/metafile-esm.json +1 -1
  35. package/dist/ui/index.cjs +1 -1
  36. package/dist/ui/index.d.cts +1 -1
  37. package/dist/ui/index.d.ts +1 -1
  38. package/dist/ui/index.js +1 -1
  39. package/package.json +21 -2
  40. package/dist/chunk-HK4HH34Z.js +0 -10
  41. 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, g as AdapterInsertDetails, B as BuilderRequirements, e as AdapterQueryDetails, h as AdapterUpdateDetails, i as AdapterDeleteDetails } from '../../index-CVwmrqt5.cjs';
2
- import * as kysely from 'kysely';
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 `__studio_count__`.
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
- __studio_count__: `${bigint}`;
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 __studio_count__: "2";
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 __studio_count__: "2";
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<kysely.DeleteResult>;
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, g as AdapterInsertDetails, B as BuilderRequirements, e as AdapterQueryDetails, h as AdapterUpdateDetails, i as AdapterDeleteDetails } from '../../index-CVwmrqt5.js';
2
- import * as kysely from 'kysely';
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 `__studio_count__`.
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
- __studio_count__: `${bigint}`;
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 __studio_count__: "2";
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 __studio_count__: "2";
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<kysely.DeleteResult>;
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-T6RNFB7W.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};
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