@prisma/studio-core 0.0.0-dev.202504282240 → 0.0.0-dev.202504282354

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,5 +1,5 @@
1
- import { A as Adapter, T as Table, a as AdapterInsertDetails, b as AdapterQueryDetails, c as AdapterUpdateDetails } from '../../adapter-CNZYXEsX.cjs';
2
- import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-BF-ZW5g7.cjs';
1
+ import { A as Adapter, T as Table, a as AdapterInsertDetails, b as AdapterQueryDetails, c as AdapterUpdateDetails } from '../../adapter-Gn7PTGBr.cjs';
2
+ import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-BKlrKTNV.cjs';
3
3
  import 'kysely';
4
4
 
5
5
  interface PostgresAdapterRequirements {
@@ -26,10 +26,7 @@ declare function mockIntrospect(): {
26
26
  */
27
27
  type CTIDasText = `(${number},${number})`;
28
28
  /**
29
- * Inserts a row into a table and returns the inserted row along with its `ctid`.
30
- * The `ctid` is returned as a string in the format `(blockNumber, tupleIndex)`.
31
- * This is useful for identifying the row in the table, even if it has no primary key or unique constraints.
32
- * The `ctid` is a system column that represents the physical location of a row in a table.
29
+ * Inserts one or more rows into a table and returns the inserted rows along with their `ctid`.
33
30
  */
34
31
  declare function getInsertQuery(details: AdapterInsertDetails, requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<{
35
32
  [x: string]: unknown;
@@ -82,7 +79,6 @@ declare function getTablesQuery(requirements?: Omit<BuilderRequirements, "Adapte
82
79
  name: string;
83
80
  datatype: string;
84
81
  pk: boolean;
85
- generated: boolean;
86
82
  }[];
87
83
  }>;
88
84
  /**
@@ -95,27 +91,22 @@ declare function mockTablesQuery(): [{
95
91
  readonly name: "id";
96
92
  readonly datatype: "bigint";
97
93
  readonly pk: true;
98
- readonly generated: false;
99
94
  }, {
100
95
  readonly name: "name";
101
96
  readonly datatype: "varchar";
102
97
  readonly pk: false;
103
- readonly generated: false;
104
98
  }, {
105
99
  readonly name: "role";
106
100
  readonly datatype: "varchar";
107
101
  readonly pk: false;
108
- readonly generated: false;
109
102
  }, {
110
103
  readonly name: "created_at";
111
104
  readonly datatype: "timestamptz";
112
105
  readonly pk: false;
113
- readonly generated: false;
114
106
  }, {
115
107
  readonly name: "deleted_at";
116
108
  readonly datatype: "timestamptz";
117
109
  readonly pk: false;
118
- readonly generated: false;
119
110
  }];
120
111
  }];
121
112
  /**
@@ -1,5 +1,5 @@
1
- import { A as Adapter, T as Table, a as AdapterInsertDetails, b as AdapterQueryDetails, c as AdapterUpdateDetails } from '../../adapter-CNZYXEsX.js';
2
- import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-ydgOKEau.js';
1
+ import { A as Adapter, T as Table, a as AdapterInsertDetails, b as AdapterQueryDetails, c as AdapterUpdateDetails } from '../../adapter-Gn7PTGBr.js';
2
+ import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-ZKzLi7Ad.js';
3
3
  import 'kysely';
4
4
 
5
5
  interface PostgresAdapterRequirements {
@@ -26,10 +26,7 @@ declare function mockIntrospect(): {
26
26
  */
27
27
  type CTIDasText = `(${number},${number})`;
28
28
  /**
29
- * Inserts a row into a table and returns the inserted row along with its `ctid`.
30
- * The `ctid` is returned as a string in the format `(blockNumber, tupleIndex)`.
31
- * This is useful for identifying the row in the table, even if it has no primary key or unique constraints.
32
- * The `ctid` is a system column that represents the physical location of a row in a table.
29
+ * Inserts one or more rows into a table and returns the inserted rows along with their `ctid`.
33
30
  */
34
31
  declare function getInsertQuery(details: AdapterInsertDetails, requirements?: Omit<BuilderRequirements, "Adapter" | "QueryCompiler">): Query<{
35
32
  [x: string]: unknown;
@@ -82,7 +79,6 @@ declare function getTablesQuery(requirements?: Omit<BuilderRequirements, "Adapte
82
79
  name: string;
83
80
  datatype: string;
84
81
  pk: boolean;
85
- generated: boolean;
86
82
  }[];
87
83
  }>;
88
84
  /**
@@ -95,27 +91,22 @@ declare function mockTablesQuery(): [{
95
91
  readonly name: "id";
96
92
  readonly datatype: "bigint";
97
93
  readonly pk: true;
98
- readonly generated: false;
99
94
  }, {
100
95
  readonly name: "name";
101
96
  readonly datatype: "varchar";
102
97
  readonly pk: false;
103
- readonly generated: false;
104
98
  }, {
105
99
  readonly name: "role";
106
100
  readonly datatype: "varchar";
107
101
  readonly pk: false;
108
- readonly generated: false;
109
102
  }, {
110
103
  readonly name: "created_at";
111
104
  readonly datatype: "timestamptz";
112
105
  readonly pk: false;
113
- readonly generated: false;
114
106
  }, {
115
107
  readonly name: "deleted_at";
116
108
  readonly datatype: "timestamptz";
117
109
  readonly pk: false;
118
- readonly generated: false;
119
110
  }];
120
111
  }];
121
112
  /**
@@ -1 +1 @@
1
- import{a,b,c,d,e,f,g,h,i,j}from"../../chunk-GEUDXEFT.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
+ import{a,b,c,d,e,f,g,h,i,j}from"../../chunk-AXFPRC2V.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-CNZYXEsX.cjs';
1
+ import { T as Table, E as Either } from './adapter-Gn7PTGBr.cjs';
2
2
  import { WhereInterface, DialectAdapter, QueryCompiler } from 'kysely';
3
3
 
4
4
  interface BuilderRequirements {
@@ -1,4 +1,4 @@
1
- import { T as Table, E as Either } from './adapter-CNZYXEsX.js';
1
+ import { T as Table, E as Either } from './adapter-Gn7PTGBr.js';
2
2
  import { WhereInterface, DialectAdapter, QueryCompiler } from 'kysely';
3
3
 
4
4
  interface BuilderRequirements {