@prisma/studio-core 0.0.0-dev.202511110025 → 0.0.0-dev.202511112025

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 (40) hide show
  1. package/dist/{chunk-GUK7IE4A.js → chunk-3DNVYNUR.js} +1 -1
  2. package/dist/chunk-FFEYXGFF.js +10 -0
  3. package/dist/chunk-PFICURYF.js +10 -0
  4. package/dist/data/accelerate/index.d.cts +1 -1
  5. package/dist/data/accelerate/index.d.ts +1 -1
  6. package/dist/data/bff/index.d.cts +1 -1
  7. package/dist/data/bff/index.d.ts +1 -1
  8. package/dist/data/index.d.cts +1 -1
  9. package/dist/data/index.d.ts +1 -1
  10. package/dist/data/node-sqlite/index.cjs +2 -2
  11. package/dist/data/node-sqlite/index.d.cts +1 -1
  12. package/dist/data/node-sqlite/index.d.ts +1 -1
  13. package/dist/data/node-sqlite/index.js +1 -1
  14. package/dist/data/pglite/index.cjs +1 -1
  15. package/dist/data/pglite/index.d.cts +1 -1
  16. package/dist/data/pglite/index.d.ts +1 -1
  17. package/dist/data/pglite/index.js +1 -1
  18. package/dist/data/postgres-core/index.cjs +1 -1
  19. package/dist/data/postgres-core/index.d.cts +1 -1
  20. package/dist/data/postgres-core/index.d.ts +1 -1
  21. package/dist/data/postgres-core/index.js +1 -1
  22. package/dist/data/postgresjs/index.cjs +1 -1
  23. package/dist/data/postgresjs/index.d.cts +1 -1
  24. package/dist/data/postgresjs/index.d.ts +1 -1
  25. package/dist/data/postgresjs/index.js +1 -1
  26. package/dist/data/ppg/index.d.cts +1 -1
  27. package/dist/data/ppg/index.d.ts +1 -1
  28. package/dist/data/sqlite-core/index.cjs +2 -2
  29. package/dist/data/sqlite-core/index.d.cts +1 -3
  30. package/dist/data/sqlite-core/index.d.ts +1 -3
  31. package/dist/data/sqlite-core/index.js +1 -1
  32. package/dist/{index-C2ZP5zCW.d.ts → index-DMbFKyaD.d.cts} +8 -0
  33. package/dist/{index-C2ZP5zCW.d.cts → index-DMbFKyaD.d.ts} +8 -0
  34. package/dist/metafile-cjs.json +1 -1
  35. package/dist/metafile-esm.json +1 -1
  36. package/dist/ui/index.d.cts +1 -1
  37. package/dist/ui/index.d.ts +1 -1
  38. package/package.json +1 -1
  39. package/dist/chunk-MI7VN4OZ.js +0 -10
  40. package/dist/chunk-OWOONDI7.js +0 -10
@@ -1,4 +1,4 @@
1
- import { d as AdapterRequirements, A as Adapter, B as BuilderRequirements, Q as Query } from '../../index-C2ZP5zCW.cjs';
1
+ import { d as AdapterRequirements, A as Adapter, B as BuilderRequirements, Q as Query } from '../../index-DMbFKyaD.cjs';
2
2
  import * as kysely from 'kysely';
3
3
 
4
4
  type SQLIteAdapterRequirements = AdapterRequirements;
@@ -6,8 +6,6 @@ declare function createSQLiteAdapter(requirements: SQLIteAdapterRequirements): A
6
6
 
7
7
  declare function getTablesQuery(requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<{
8
8
  name: string;
9
- schema: "main" | "temp";
10
- type: "table" | "view" | "shadow" | "virtual";
11
9
  sql: string | null;
12
10
  columns: {
13
11
  name: string;
@@ -1,4 +1,4 @@
1
- import { d as AdapterRequirements, A as Adapter, B as BuilderRequirements, Q as Query } from '../../index-C2ZP5zCW.js';
1
+ import { d as AdapterRequirements, A as Adapter, B as BuilderRequirements, Q as Query } from '../../index-DMbFKyaD.js';
2
2
  import * as kysely from 'kysely';
3
3
 
4
4
  type SQLIteAdapterRequirements = AdapterRequirements;
@@ -6,8 +6,6 @@ declare function createSQLiteAdapter(requirements: SQLIteAdapterRequirements): A
6
6
 
7
7
  declare function getTablesQuery(requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<{
8
8
  name: string;
9
- schema: "main" | "temp";
10
- type: "table" | "view" | "shadow" | "virtual";
11
9
  sql: string | null;
12
10
  columns: {
13
11
  name: string;
@@ -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}from"../../chunk-OWOONDI7.js";import"../../chunk-MI7VN4OZ.js";import"../../chunk-EQFDGYQI.js";import"../../chunk-GDQBQ7MK.js";export{b as createSQLiteAdapter,a as getTablesQuery};
9
+ import{a,b}from"../../chunk-FFEYXGFF.js";import"../../chunk-PFICURYF.js";import"../../chunk-EQFDGYQI.js";import"../../chunk-GDQBQ7MK.js";export{b as createSQLiteAdapter,a as getTablesQuery};
10
10
  //# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFtdLAogICJzb3VyY2VzQ29udGVudCI6IFtdLAogICJtYXBwaW5ncyI6ICIiLAogICJuYW1lcyI6IFtdCn0K
@@ -82,6 +82,14 @@ interface Column {
82
82
  fkTable: TableName | null;
83
83
  }
84
84
  interface DataType {
85
+ /**
86
+ * The database-specific affinity/type.
87
+ *
88
+ * e.g. in SQLite, datatypes can be anything. They are reduced to affinity via string matching rules.
89
+ *
90
+ * {@link https://sqlite.org/datatype3.html#determination_of_column_affinity}
91
+ */
92
+ affinity?: string;
85
93
  /**
86
94
  * A simplification/normalization for UI usage.
87
95
  *
@@ -82,6 +82,14 @@ interface Column {
82
82
  fkTable: TableName | null;
83
83
  }
84
84
  interface DataType {
85
+ /**
86
+ * The database-specific affinity/type.
87
+ *
88
+ * e.g. in SQLite, datatypes can be anything. They are reduced to affinity via string matching rules.
89
+ *
90
+ * {@link https://sqlite.org/datatype3.html#determination_of_column_affinity}
91
+ */
92
+ affinity?: string;
85
93
  /**
86
94
  * A simplification/normalization for UI usage.
87
95
  *