@prisma/studio-core 0.0.0-dev.202504150049 → 0.0.0-dev.202504150943

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.
@@ -1,4 +1,4 @@
1
- import { E as Either, N as NumericString } from './type-utils-u92OZz8n.js';
1
+ import { E as Either } from './type-utils-rTHUvEmt.cjs';
2
2
 
3
3
  interface Adapter {
4
4
  /**
@@ -64,33 +64,16 @@ interface DataType {
64
64
  }
65
65
  type DataTypeGroup = "string" | "datetime" | "time" | "unsupported";
66
66
  interface QueryDetails {
67
- /**
68
- * Zero-based index of the page to fetch.
69
- */
70
- pageIndex: number;
71
- /**
72
- * Maximum number of rows to fetch from the database.
73
- */
74
- pageSize: number;
75
67
  /**
76
68
  * The database schema where the table is located. Defaults to "public".
77
69
  */
78
- schema: string;
70
+ schema?: string;
79
71
  /**
80
72
  * The name of the table to select from.
81
73
  */
82
74
  table: string;
83
75
  }
84
76
  interface QueryResult {
85
- /**
86
- * The total number of rows the query would return if not limited.
87
- *
88
- * If the database does not support counting rows, this should be set to `Infinity`.
89
- */
90
- filteredRowCount: NumericString;
91
- /**
92
- * The rows returned by the query.
93
- */
94
77
  rows: Record<ColumnName, unknown>[];
95
78
  }
96
79
 
@@ -1,4 +1,4 @@
1
- import { E as Either, N as NumericString } from './type-utils-u92OZz8n.cjs';
1
+ import { E as Either } from './type-utils-rTHUvEmt.js';
2
2
 
3
3
  interface Adapter {
4
4
  /**
@@ -64,33 +64,16 @@ interface DataType {
64
64
  }
65
65
  type DataTypeGroup = "string" | "datetime" | "time" | "unsupported";
66
66
  interface QueryDetails {
67
- /**
68
- * Zero-based index of the page to fetch.
69
- */
70
- pageIndex: number;
71
- /**
72
- * Maximum number of rows to fetch from the database.
73
- */
74
- pageSize: number;
75
67
  /**
76
68
  * The database schema where the table is located. Defaults to "public".
77
69
  */
78
- schema: string;
70
+ schema?: string;
79
71
  /**
80
72
  * The name of the table to select from.
81
73
  */
82
74
  table: string;
83
75
  }
84
76
  interface QueryResult {
85
- /**
86
- * The total number of rows the query would return if not limited.
87
- *
88
- * If the database does not support counting rows, this should be set to `Infinity`.
89
- */
90
- filteredRowCount: NumericString;
91
- /**
92
- * The rows returned by the query.
93
- */
94
77
  rows: Record<ColumnName, unknown>[];
95
78
  }
96
79