@prisma/studio-core 0.7.0 → 0.8.0

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 (60) hide show
  1. package/dist/chunk-32BUC7NR.js +10 -0
  2. package/dist/chunk-3KCOUVOV.js +10 -0
  3. package/dist/chunk-A6CVKSUD.js +10 -0
  4. package/dist/chunk-M7E5UEO3.js +10 -0
  5. package/dist/chunk-O6ZAHVDF.js +10 -0
  6. package/dist/chunk-SXTJF4PD.js +10 -0
  7. package/dist/chunk-ZUEQ555M.js +10 -0
  8. package/dist/data/accelerate/index.d.cts +1 -1
  9. package/dist/data/accelerate/index.d.ts +1 -1
  10. package/dist/data/bff/index.cjs +2 -2
  11. package/dist/data/bff/index.d.cts +15 -3
  12. package/dist/data/bff/index.d.ts +15 -3
  13. package/dist/data/bff/index.js +2 -2
  14. package/dist/data/index.d.cts +1 -1
  15. package/dist/data/index.d.ts +1 -1
  16. package/dist/data/index.js +1 -1
  17. package/dist/data/mysql-core/index.cjs +3 -0
  18. package/dist/data/mysql-core/index.d.cts +176 -0
  19. package/dist/data/mysql-core/index.d.ts +176 -0
  20. package/dist/data/mysql-core/index.js +11 -0
  21. package/dist/data/mysql2/index.cjs +2 -0
  22. package/dist/data/mysql2/index.d.cts +7 -0
  23. package/dist/data/mysql2/index.d.ts +7 -0
  24. package/dist/data/mysql2/index.js +10 -0
  25. package/dist/data/node-sqlite/index.cjs +2 -2
  26. package/dist/data/node-sqlite/index.d.cts +2 -3
  27. package/dist/data/node-sqlite/index.d.ts +2 -3
  28. package/dist/data/node-sqlite/index.js +2 -2
  29. package/dist/data/pglite/index.cjs +2 -2
  30. package/dist/data/pglite/index.d.cts +1 -1
  31. package/dist/data/pglite/index.d.ts +1 -1
  32. package/dist/data/pglite/index.js +2 -2
  33. package/dist/data/postgres-core/index.cjs +2 -2
  34. package/dist/data/postgres-core/index.d.cts +37 -37
  35. package/dist/data/postgres-core/index.d.ts +37 -37
  36. package/dist/data/postgres-core/index.js +1 -1
  37. package/dist/data/postgresjs/index.cjs +2 -2
  38. package/dist/data/postgresjs/index.d.cts +3 -14
  39. package/dist/data/postgresjs/index.d.ts +3 -14
  40. package/dist/data/postgresjs/index.js +2 -2
  41. package/dist/data/ppg/index.d.cts +1 -1
  42. package/dist/data/ppg/index.d.ts +1 -1
  43. package/dist/data/sqlite-core/index.cjs +2 -2
  44. package/dist/data/sqlite-core/index.d.cts +25 -25
  45. package/dist/data/sqlite-core/index.d.ts +25 -25
  46. package/dist/data/sqlite-core/index.js +2 -2
  47. package/dist/{index-2horhMcs.d.cts → index-BhPjNuvP.d.cts} +10 -6
  48. package/dist/{index-2horhMcs.d.ts → index-BhPjNuvP.d.ts} +10 -6
  49. package/dist/metafile-cjs.json +1 -1
  50. package/dist/metafile-esm.json +1 -1
  51. package/dist/ui/index.cjs +1 -1
  52. package/dist/ui/index.d.cts +1 -1
  53. package/dist/ui/index.d.ts +1 -1
  54. package/dist/ui/index.js +2 -2
  55. package/package.json +22 -1
  56. package/dist/chunk-AHIV4VYN.js +0 -10
  57. package/dist/chunk-CTJRZ7VA.js +0 -10
  58. package/dist/chunk-NDYVVFWW.js +0 -10
  59. package/dist/chunk-OTK4ZF2W.js +0 -10
  60. package/dist/chunk-WHLVNWIR.js +0 -10
@@ -1,4 +1,4 @@
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, f as AdapterDeleteDetails } from '../../index-2horhMcs.cjs';
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, f as AdapterDeleteDetails } from '../../index-BhPjNuvP.cjs';
2
2
  import 'kysely';
3
3
 
4
4
  type PostgresAdapterRequirements = AdapterRequirements;
@@ -76,9 +76,9 @@ declare function getTablesQuery(requirements?: Omit<BuilderRequirements, "Adapte
76
76
  name: string;
77
77
  datatype: string;
78
78
  datatype_schema: string;
79
- foreign_key_schema: string | null;
80
- foreign_key_table: string | null;
81
- foreign_key_column: string | null;
79
+ fk_schema: string | null;
80
+ fk_table: string | null;
81
+ fk_column: string | null;
82
82
  pk: boolean;
83
83
  computed: boolean;
84
84
  nullable: boolean;
@@ -99,9 +99,9 @@ declare function mockTablesQuery(): [{
99
99
  readonly computed: false;
100
100
  readonly options: [];
101
101
  readonly nullable: false;
102
- readonly foreign_key_schema: null;
103
- readonly foreign_key_table: null;
104
- readonly foreign_key_column: null;
102
+ readonly fk_schema: null;
103
+ readonly fk_table: null;
104
+ readonly fk_column: null;
105
105
  }, {
106
106
  readonly name: "name";
107
107
  readonly datatype: "text";
@@ -110,9 +110,9 @@ declare function mockTablesQuery(): [{
110
110
  readonly computed: false;
111
111
  readonly options: [];
112
112
  readonly nullable: true;
113
- readonly foreign_key_schema: null;
114
- readonly foreign_key_table: null;
115
- readonly foreign_key_column: null;
113
+ readonly fk_schema: null;
114
+ readonly fk_table: null;
115
+ readonly fk_column: null;
116
116
  }];
117
117
  }, {
118
118
  readonly schema: "public";
@@ -125,9 +125,9 @@ declare function mockTablesQuery(): [{
125
125
  readonly computed: false;
126
126
  readonly options: [];
127
127
  readonly nullable: false;
128
- readonly foreign_key_schema: null;
129
- readonly foreign_key_table: null;
130
- readonly foreign_key_column: null;
128
+ readonly fk_schema: null;
129
+ readonly fk_table: null;
130
+ readonly fk_column: null;
131
131
  }, {
132
132
  readonly name: "created_at";
133
133
  readonly datatype: "timestamp";
@@ -136,9 +136,9 @@ declare function mockTablesQuery(): [{
136
136
  readonly computed: false;
137
137
  readonly options: [];
138
138
  readonly nullable: true;
139
- readonly foreign_key_schema: null;
140
- readonly foreign_key_table: null;
141
- readonly foreign_key_column: null;
139
+ readonly fk_schema: null;
140
+ readonly fk_table: null;
141
+ readonly fk_column: null;
142
142
  }, {
143
143
  readonly name: "deleted_at";
144
144
  readonly datatype: "timestamp";
@@ -147,9 +147,9 @@ declare function mockTablesQuery(): [{
147
147
  readonly computed: false;
148
148
  readonly options: [];
149
149
  readonly nullable: true;
150
- readonly foreign_key_schema: null;
151
- readonly foreign_key_table: null;
152
- readonly foreign_key_column: null;
150
+ readonly fk_schema: null;
151
+ readonly fk_table: null;
152
+ readonly fk_column: null;
153
153
  }, {
154
154
  readonly name: "role";
155
155
  readonly datatype: "varchar";
@@ -158,9 +158,9 @@ declare function mockTablesQuery(): [{
158
158
  readonly computed: false;
159
159
  readonly options: [];
160
160
  readonly nullable: true;
161
- readonly foreign_key_schema: null;
162
- readonly foreign_key_table: null;
163
- readonly foreign_key_column: null;
161
+ readonly fk_schema: null;
162
+ readonly fk_table: null;
163
+ readonly fk_column: null;
164
164
  }, {
165
165
  readonly name: "name";
166
166
  readonly datatype: "varchar";
@@ -169,9 +169,9 @@ declare function mockTablesQuery(): [{
169
169
  readonly computed: false;
170
170
  readonly options: [];
171
171
  readonly nullable: true;
172
- readonly foreign_key_schema: null;
173
- readonly foreign_key_table: null;
174
- readonly foreign_key_column: null;
172
+ readonly fk_schema: null;
173
+ readonly fk_table: null;
174
+ readonly fk_column: null;
175
175
  }, {
176
176
  readonly name: "name_role";
177
177
  readonly datatype: "text";
@@ -180,9 +180,9 @@ declare function mockTablesQuery(): [{
180
180
  readonly computed: true;
181
181
  readonly options: [];
182
182
  readonly nullable: false;
183
- readonly foreign_key_schema: null;
184
- readonly foreign_key_table: null;
185
- readonly foreign_key_column: null;
183
+ readonly fk_schema: null;
184
+ readonly fk_table: null;
185
+ readonly fk_column: null;
186
186
  }];
187
187
  }, {
188
188
  readonly schema: "public";
@@ -195,9 +195,9 @@ declare function mockTablesQuery(): [{
195
195
  readonly computed: false;
196
196
  readonly options: [];
197
197
  readonly nullable: false;
198
- readonly foreign_key_schema: null;
199
- readonly foreign_key_table: null;
200
- readonly foreign_key_column: null;
198
+ readonly fk_schema: null;
199
+ readonly fk_table: null;
200
+ readonly fk_column: null;
201
201
  }, {
202
202
  readonly name: "name";
203
203
  readonly datatype: "text";
@@ -206,9 +206,9 @@ declare function mockTablesQuery(): [{
206
206
  readonly computed: false;
207
207
  readonly options: [];
208
208
  readonly nullable: true;
209
- readonly foreign_key_schema: null;
210
- readonly foreign_key_table: null;
211
- readonly foreign_key_column: null;
209
+ readonly fk_schema: null;
210
+ readonly fk_table: null;
211
+ readonly fk_column: null;
212
212
  }, {
213
213
  readonly name: "created_at";
214
214
  readonly datatype: "timestamp";
@@ -217,9 +217,9 @@ declare function mockTablesQuery(): [{
217
217
  readonly computed: false;
218
218
  readonly options: [];
219
219
  readonly nullable: true;
220
- readonly foreign_key_schema: null;
221
- readonly foreign_key_table: null;
222
- readonly foreign_key_column: null;
220
+ readonly fk_schema: null;
221
+ readonly fk_table: null;
222
+ readonly fk_column: null;
223
223
  }];
224
224
  }];
225
225
  /**
@@ -1,4 +1,4 @@
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, f as AdapterDeleteDetails } from '../../index-2horhMcs.js';
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, f as AdapterDeleteDetails } from '../../index-BhPjNuvP.js';
2
2
  import 'kysely';
3
3
 
4
4
  type PostgresAdapterRequirements = AdapterRequirements;
@@ -76,9 +76,9 @@ declare function getTablesQuery(requirements?: Omit<BuilderRequirements, "Adapte
76
76
  name: string;
77
77
  datatype: string;
78
78
  datatype_schema: string;
79
- foreign_key_schema: string | null;
80
- foreign_key_table: string | null;
81
- foreign_key_column: string | null;
79
+ fk_schema: string | null;
80
+ fk_table: string | null;
81
+ fk_column: string | null;
82
82
  pk: boolean;
83
83
  computed: boolean;
84
84
  nullable: boolean;
@@ -99,9 +99,9 @@ declare function mockTablesQuery(): [{
99
99
  readonly computed: false;
100
100
  readonly options: [];
101
101
  readonly nullable: false;
102
- readonly foreign_key_schema: null;
103
- readonly foreign_key_table: null;
104
- readonly foreign_key_column: null;
102
+ readonly fk_schema: null;
103
+ readonly fk_table: null;
104
+ readonly fk_column: null;
105
105
  }, {
106
106
  readonly name: "name";
107
107
  readonly datatype: "text";
@@ -110,9 +110,9 @@ declare function mockTablesQuery(): [{
110
110
  readonly computed: false;
111
111
  readonly options: [];
112
112
  readonly nullable: true;
113
- readonly foreign_key_schema: null;
114
- readonly foreign_key_table: null;
115
- readonly foreign_key_column: null;
113
+ readonly fk_schema: null;
114
+ readonly fk_table: null;
115
+ readonly fk_column: null;
116
116
  }];
117
117
  }, {
118
118
  readonly schema: "public";
@@ -125,9 +125,9 @@ declare function mockTablesQuery(): [{
125
125
  readonly computed: false;
126
126
  readonly options: [];
127
127
  readonly nullable: false;
128
- readonly foreign_key_schema: null;
129
- readonly foreign_key_table: null;
130
- readonly foreign_key_column: null;
128
+ readonly fk_schema: null;
129
+ readonly fk_table: null;
130
+ readonly fk_column: null;
131
131
  }, {
132
132
  readonly name: "created_at";
133
133
  readonly datatype: "timestamp";
@@ -136,9 +136,9 @@ declare function mockTablesQuery(): [{
136
136
  readonly computed: false;
137
137
  readonly options: [];
138
138
  readonly nullable: true;
139
- readonly foreign_key_schema: null;
140
- readonly foreign_key_table: null;
141
- readonly foreign_key_column: null;
139
+ readonly fk_schema: null;
140
+ readonly fk_table: null;
141
+ readonly fk_column: null;
142
142
  }, {
143
143
  readonly name: "deleted_at";
144
144
  readonly datatype: "timestamp";
@@ -147,9 +147,9 @@ declare function mockTablesQuery(): [{
147
147
  readonly computed: false;
148
148
  readonly options: [];
149
149
  readonly nullable: true;
150
- readonly foreign_key_schema: null;
151
- readonly foreign_key_table: null;
152
- readonly foreign_key_column: null;
150
+ readonly fk_schema: null;
151
+ readonly fk_table: null;
152
+ readonly fk_column: null;
153
153
  }, {
154
154
  readonly name: "role";
155
155
  readonly datatype: "varchar";
@@ -158,9 +158,9 @@ declare function mockTablesQuery(): [{
158
158
  readonly computed: false;
159
159
  readonly options: [];
160
160
  readonly nullable: true;
161
- readonly foreign_key_schema: null;
162
- readonly foreign_key_table: null;
163
- readonly foreign_key_column: null;
161
+ readonly fk_schema: null;
162
+ readonly fk_table: null;
163
+ readonly fk_column: null;
164
164
  }, {
165
165
  readonly name: "name";
166
166
  readonly datatype: "varchar";
@@ -169,9 +169,9 @@ declare function mockTablesQuery(): [{
169
169
  readonly computed: false;
170
170
  readonly options: [];
171
171
  readonly nullable: true;
172
- readonly foreign_key_schema: null;
173
- readonly foreign_key_table: null;
174
- readonly foreign_key_column: null;
172
+ readonly fk_schema: null;
173
+ readonly fk_table: null;
174
+ readonly fk_column: null;
175
175
  }, {
176
176
  readonly name: "name_role";
177
177
  readonly datatype: "text";
@@ -180,9 +180,9 @@ declare function mockTablesQuery(): [{
180
180
  readonly computed: true;
181
181
  readonly options: [];
182
182
  readonly nullable: false;
183
- readonly foreign_key_schema: null;
184
- readonly foreign_key_table: null;
185
- readonly foreign_key_column: null;
183
+ readonly fk_schema: null;
184
+ readonly fk_table: null;
185
+ readonly fk_column: null;
186
186
  }];
187
187
  }, {
188
188
  readonly schema: "public";
@@ -195,9 +195,9 @@ declare function mockTablesQuery(): [{
195
195
  readonly computed: false;
196
196
  readonly options: [];
197
197
  readonly nullable: false;
198
- readonly foreign_key_schema: null;
199
- readonly foreign_key_table: null;
200
- readonly foreign_key_column: null;
198
+ readonly fk_schema: null;
199
+ readonly fk_table: null;
200
+ readonly fk_column: null;
201
201
  }, {
202
202
  readonly name: "name";
203
203
  readonly datatype: "text";
@@ -206,9 +206,9 @@ declare function mockTablesQuery(): [{
206
206
  readonly computed: false;
207
207
  readonly options: [];
208
208
  readonly nullable: true;
209
- readonly foreign_key_schema: null;
210
- readonly foreign_key_table: null;
211
- readonly foreign_key_column: null;
209
+ readonly fk_schema: null;
210
+ readonly fk_table: null;
211
+ readonly fk_column: null;
212
212
  }, {
213
213
  readonly name: "created_at";
214
214
  readonly datatype: "timestamp";
@@ -217,9 +217,9 @@ declare function mockTablesQuery(): [{
217
217
  readonly computed: false;
218
218
  readonly options: [];
219
219
  readonly nullable: true;
220
- readonly foreign_key_schema: null;
221
- readonly foreign_key_table: null;
222
- readonly foreign_key_column: null;
220
+ readonly fk_schema: null;
221
+ readonly fk_table: null;
222
+ readonly fk_column: null;
223
223
  }];
224
224
  }];
225
225
  /**
@@ -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-CTJRZ7VA.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}from"../../chunk-3KCOUVOV.js";import{a as l,b as m}from"../../chunk-M7E5UEO3.js";import"../../chunk-O6ZAHVDF.js";import"../../chunk-A6CVKSUD.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