@prisma/studio-core 0.0.0-dev.202505122008 → 0.0.0-dev.202505122034

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, F as FilterOperator, a as AdapterInsertDetails, b as AdapterQueryDetails, c as AdapterUpdateDetails, d as AdapterDeleteDetails } from '../../adapter-Bt_0JnjE.cjs';
2
- import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-C9ZnIXOd.cjs';
1
+ import { A as Adapter, T as Table, F as FilterOperator, a as AdapterInsertDetails, b as AdapterQueryDetails, c as AdapterUpdateDetails, d as AdapterDeleteDetails } from '../../adapter-BQaQoUNI.cjs';
2
+ import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-DuLnmKEq.cjs';
3
3
  import * as kysely from 'kysely';
4
4
 
5
5
  interface PostgresAdapterRequirements {
@@ -12,7 +12,7 @@ declare function createPostgresAdapter(requirements: PostgresAdapterRequirements
12
12
  */
13
13
  declare function mockIntrospect(): {
14
14
  schemas: { [K in "public"]: {
15
- tables: { [T in "users" | "posts"]: Table; };
15
+ tables: { [T in "users"]: Table; };
16
16
  }; };
17
17
  timezone: "UTC";
18
18
  filterOperators: FilterOperator[];
@@ -85,9 +85,6 @@ declare function getTablesQuery(requirements?: Omit<BuilderRequirements, "Adapte
85
85
  name: string;
86
86
  datatype: string;
87
87
  datatype_schema: string;
88
- foreign_key_schema: string | null;
89
- foreign_key_table: string | null;
90
- foreign_key_column: string | null;
91
88
  pk: boolean;
92
89
  computed: boolean;
93
90
  nullable: boolean;
@@ -108,9 +105,6 @@ declare function mockTablesQuery(): [{
108
105
  readonly computed: false;
109
106
  readonly options: [];
110
107
  readonly nullable: true;
111
- readonly foreign_key_schema: null;
112
- readonly foreign_key_table: null;
113
- readonly foreign_key_column: null;
114
108
  }, {
115
109
  readonly name: "name";
116
110
  readonly datatype: "varchar";
@@ -119,9 +113,6 @@ declare function mockTablesQuery(): [{
119
113
  readonly computed: false;
120
114
  readonly options: [];
121
115
  readonly nullable: true;
122
- readonly foreign_key_schema: null;
123
- readonly foreign_key_table: null;
124
- readonly foreign_key_column: null;
125
116
  }, {
126
117
  readonly name: "role";
127
118
  readonly datatype: "role";
@@ -130,9 +121,6 @@ declare function mockTablesQuery(): [{
130
121
  readonly computed: false;
131
122
  readonly options: ["admin", "maintainer", "member"];
132
123
  readonly nullable: true;
133
- readonly foreign_key_schema: null;
134
- readonly foreign_key_table: null;
135
- readonly foreign_key_column: null;
136
124
  }, {
137
125
  readonly name: "created_at";
138
126
  readonly datatype: "timestamptz";
@@ -141,9 +129,6 @@ declare function mockTablesQuery(): [{
141
129
  readonly computed: false;
142
130
  readonly options: [];
143
131
  readonly nullable: true;
144
- readonly foreign_key_schema: null;
145
- readonly foreign_key_table: null;
146
- readonly foreign_key_column: null;
147
132
  }, {
148
133
  readonly name: "deleted_at";
149
134
  readonly datatype: "timestamptz";
@@ -152,46 +137,6 @@ declare function mockTablesQuery(): [{
152
137
  readonly computed: false;
153
138
  readonly options: [];
154
139
  readonly nullable: true;
155
- readonly foreign_key_schema: null;
156
- readonly foreign_key_table: null;
157
- readonly foreign_key_column: null;
158
- }];
159
- }, {
160
- readonly schema: "public";
161
- readonly name: "posts";
162
- readonly columns: [{
163
- readonly name: "id";
164
- readonly datatype: "bigint";
165
- readonly datatype_schema: "public";
166
- readonly pk: true;
167
- readonly computed: false;
168
- readonly options: [];
169
- readonly nullable: true;
170
- readonly foreign_key_schema: null;
171
- readonly foreign_key_table: null;
172
- readonly foreign_key_column: null;
173
- }, {
174
- readonly name: "user_id";
175
- readonly datatype: "bigint";
176
- readonly datatype_schema: "public";
177
- readonly pk: false;
178
- readonly computed: false;
179
- readonly options: [];
180
- readonly nullable: false;
181
- readonly foreign_key_schema: "public";
182
- readonly foreign_key_table: "users";
183
- readonly foreign_key_column: "id";
184
- }, {
185
- readonly name: "content";
186
- readonly datatype: "text";
187
- readonly datatype_schema: "public";
188
- readonly pk: false;
189
- readonly computed: false;
190
- readonly options: [];
191
- readonly nullable: true;
192
- readonly foreign_key_schema: null;
193
- readonly foreign_key_table: null;
194
- readonly foreign_key_column: null;
195
140
  }];
196
141
  }];
197
142
  /**
@@ -1,5 +1,5 @@
1
- import { A as Adapter, T as Table, F as FilterOperator, a as AdapterInsertDetails, b as AdapterQueryDetails, c as AdapterUpdateDetails, d as AdapterDeleteDetails } from '../../adapter-Bt_0JnjE.js';
2
- import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-B6_kEBLg.js';
1
+ import { A as Adapter, T as Table, F as FilterOperator, a as AdapterInsertDetails, b as AdapterQueryDetails, c as AdapterUpdateDetails, d as AdapterDeleteDetails } from '../../adapter-BQaQoUNI.js';
2
+ import { E as Executor, B as BuilderRequirements, Q as Query } from '../../index-Crb7VQNF.js';
3
3
  import * as kysely from 'kysely';
4
4
 
5
5
  interface PostgresAdapterRequirements {
@@ -12,7 +12,7 @@ declare function createPostgresAdapter(requirements: PostgresAdapterRequirements
12
12
  */
13
13
  declare function mockIntrospect(): {
14
14
  schemas: { [K in "public"]: {
15
- tables: { [T in "users" | "posts"]: Table; };
15
+ tables: { [T in "users"]: Table; };
16
16
  }; };
17
17
  timezone: "UTC";
18
18
  filterOperators: FilterOperator[];
@@ -85,9 +85,6 @@ declare function getTablesQuery(requirements?: Omit<BuilderRequirements, "Adapte
85
85
  name: string;
86
86
  datatype: string;
87
87
  datatype_schema: string;
88
- foreign_key_schema: string | null;
89
- foreign_key_table: string | null;
90
- foreign_key_column: string | null;
91
88
  pk: boolean;
92
89
  computed: boolean;
93
90
  nullable: boolean;
@@ -108,9 +105,6 @@ declare function mockTablesQuery(): [{
108
105
  readonly computed: false;
109
106
  readonly options: [];
110
107
  readonly nullable: true;
111
- readonly foreign_key_schema: null;
112
- readonly foreign_key_table: null;
113
- readonly foreign_key_column: null;
114
108
  }, {
115
109
  readonly name: "name";
116
110
  readonly datatype: "varchar";
@@ -119,9 +113,6 @@ declare function mockTablesQuery(): [{
119
113
  readonly computed: false;
120
114
  readonly options: [];
121
115
  readonly nullable: true;
122
- readonly foreign_key_schema: null;
123
- readonly foreign_key_table: null;
124
- readonly foreign_key_column: null;
125
116
  }, {
126
117
  readonly name: "role";
127
118
  readonly datatype: "role";
@@ -130,9 +121,6 @@ declare function mockTablesQuery(): [{
130
121
  readonly computed: false;
131
122
  readonly options: ["admin", "maintainer", "member"];
132
123
  readonly nullable: true;
133
- readonly foreign_key_schema: null;
134
- readonly foreign_key_table: null;
135
- readonly foreign_key_column: null;
136
124
  }, {
137
125
  readonly name: "created_at";
138
126
  readonly datatype: "timestamptz";
@@ -141,9 +129,6 @@ declare function mockTablesQuery(): [{
141
129
  readonly computed: false;
142
130
  readonly options: [];
143
131
  readonly nullable: true;
144
- readonly foreign_key_schema: null;
145
- readonly foreign_key_table: null;
146
- readonly foreign_key_column: null;
147
132
  }, {
148
133
  readonly name: "deleted_at";
149
134
  readonly datatype: "timestamptz";
@@ -152,46 +137,6 @@ declare function mockTablesQuery(): [{
152
137
  readonly computed: false;
153
138
  readonly options: [];
154
139
  readonly nullable: true;
155
- readonly foreign_key_schema: null;
156
- readonly foreign_key_table: null;
157
- readonly foreign_key_column: null;
158
- }];
159
- }, {
160
- readonly schema: "public";
161
- readonly name: "posts";
162
- readonly columns: [{
163
- readonly name: "id";
164
- readonly datatype: "bigint";
165
- readonly datatype_schema: "public";
166
- readonly pk: true;
167
- readonly computed: false;
168
- readonly options: [];
169
- readonly nullable: true;
170
- readonly foreign_key_schema: null;
171
- readonly foreign_key_table: null;
172
- readonly foreign_key_column: null;
173
- }, {
174
- readonly name: "user_id";
175
- readonly datatype: "bigint";
176
- readonly datatype_schema: "public";
177
- readonly pk: false;
178
- readonly computed: false;
179
- readonly options: [];
180
- readonly nullable: false;
181
- readonly foreign_key_schema: "public";
182
- readonly foreign_key_table: "users";
183
- readonly foreign_key_column: "id";
184
- }, {
185
- readonly name: "content";
186
- readonly datatype: "text";
187
- readonly datatype_schema: "public";
188
- readonly pk: false;
189
- readonly computed: false;
190
- readonly options: [];
191
- readonly nullable: true;
192
- readonly foreign_key_schema: null;
193
- readonly foreign_key_table: null;
194
- readonly foreign_key_column: null;
195
140
  }];
196
141
  }];
197
142
  /**
@@ -1,2 +1,2 @@
1
- import{a,b,c,d,e,f,g,h,i,j,k}from"../../chunk-KBBN6R5J.js";import"../../chunk-OGMDOPWW.js";import"../../chunk-XBQ4XZ2M.js";export{j as createPostgresAdapter,e as getDeleteQuery,a as getInsertQuery,b as getSelectQuery,f as getTablesQuery,h as getTimezoneQuery,d as getUpdateQuery,k as mockIntrospect,c as mockSelectQuery,g as mockTablesQuery,i as mockTimezoneQuery};
1
+ import{a,b,c,d,e,f,g,h,i,j,k}from"../../chunk-IAE3ZG42.js";import"../../chunk-OGMDOPWW.js";import"../../chunk-XBQ4XZ2M.js";export{j as createPostgresAdapter,e as getDeleteQuery,a as getInsertQuery,b as getSelectQuery,f as getTablesQuery,h as getTimezoneQuery,d as getUpdateQuery,k as mockIntrospect,c as mockSelectQuery,g as mockTablesQuery,i as mockTimezoneQuery};
2
2
  //# sourceMappingURL=data:application/json;base64,ewogICJ2ZXJzaW9uIjogMywKICAic291cmNlcyI6IFtdLAogICJzb3VyY2VzQ29udGVudCI6IFtdLAogICJtYXBwaW5ncyI6ICIiLAogICJuYW1lcyI6IFtdCn0K
@@ -1,4 +1,4 @@
1
- import { T as Table, E as Either } from './adapter-Bt_0JnjE.js';
1
+ import { T as Table, E as Either } from './adapter-BQaQoUNI.js';
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-Bt_0JnjE.cjs';
1
+ import { T as Table, E as Either } from './adapter-BQaQoUNI.cjs';
2
2
  import { WhereInterface, DialectAdapter, QueryCompiler } from 'kysely';
3
3
 
4
4
  interface BuilderRequirements {