@prisma/studio-core-licensed 0.0.0-dev.202512241936 → 0.0.0-dev.202512242033

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.
@@ -74,16 +74,16 @@ declare function getTablesQuery(requirements?: Omit<BuilderRequirements, "Adapte
74
74
  name: string;
75
75
  columns: {
76
76
  name: string;
77
- datatype: string;
78
- datatype_schema: string;
79
- fk_schema: string | null;
80
- fk_table: string | null;
81
77
  fk_column: string | null;
82
- pk: number | null;
78
+ fk_table: string | null;
79
+ fk_schema: string | null;
80
+ datatype_schema: string;
81
+ datatype: string;
82
+ autoinc: boolean;
83
83
  computed: boolean;
84
84
  nullable: boolean;
85
85
  options: string[];
86
- autoincrement: boolean;
86
+ pk: number | null;
87
87
  }[];
88
88
  }>;
89
89
  /**
@@ -93,145 +93,145 @@ declare function mockTablesQuery(): [{
93
93
  readonly schema: "zoo";
94
94
  readonly name: "animals";
95
95
  readonly columns: [{
96
- readonly name: "id";
96
+ readonly autoinc: true;
97
+ readonly computed: false;
97
98
  readonly datatype: "int4";
98
99
  readonly datatype_schema: "pg_catalog";
99
- readonly pk: 1;
100
- readonly computed: false;
101
- readonly options: [];
102
- readonly nullable: false;
100
+ readonly fk_column: null;
103
101
  readonly fk_schema: null;
104
102
  readonly fk_table: null;
105
- readonly fk_column: null;
106
- readonly autoincrement: true;
103
+ readonly name: "id";
104
+ readonly nullable: false;
105
+ readonly options: [];
106
+ readonly pk: 1;
107
107
  }, {
108
- readonly name: "name";
108
+ readonly autoinc: false;
109
+ readonly computed: false;
109
110
  readonly datatype: "text";
110
111
  readonly datatype_schema: "pg_catalog";
111
- readonly pk: null;
112
- readonly computed: false;
113
- readonly options: [];
114
- readonly nullable: true;
112
+ readonly fk_column: null;
115
113
  readonly fk_schema: null;
116
114
  readonly fk_table: null;
117
- readonly fk_column: null;
118
- readonly autoincrement: false;
115
+ readonly name: "name";
116
+ readonly nullable: true;
117
+ readonly options: [];
118
+ readonly pk: null;
119
119
  }];
120
120
  }, {
121
121
  readonly schema: "public";
122
122
  readonly name: "users";
123
123
  readonly columns: [{
124
- readonly name: "id";
124
+ readonly autoinc: true;
125
+ readonly computed: false;
125
126
  readonly datatype: "int4";
126
127
  readonly datatype_schema: "pg_catalog";
127
- readonly pk: 1;
128
- readonly computed: false;
129
- readonly options: [];
130
- readonly nullable: false;
128
+ readonly fk_column: null;
131
129
  readonly fk_schema: null;
132
130
  readonly fk_table: null;
133
- readonly fk_column: null;
134
- readonly autoincrement: true;
131
+ readonly name: "id";
132
+ readonly nullable: false;
133
+ readonly options: [];
134
+ readonly pk: 1;
135
135
  }, {
136
- readonly name: "created_at";
136
+ readonly autoinc: false;
137
+ readonly computed: false;
137
138
  readonly datatype: "timestamp";
138
139
  readonly datatype_schema: "pg_catalog";
139
- readonly pk: null;
140
- readonly computed: false;
141
- readonly options: [];
142
- readonly nullable: true;
140
+ readonly fk_column: null;
143
141
  readonly fk_schema: null;
144
142
  readonly fk_table: null;
145
- readonly fk_column: null;
146
- readonly autoincrement: false;
143
+ readonly name: "created_at";
144
+ readonly nullable: true;
145
+ readonly options: [];
146
+ readonly pk: null;
147
147
  }, {
148
- readonly name: "deleted_at";
148
+ readonly autoinc: false;
149
+ readonly computed: false;
149
150
  readonly datatype: "timestamp";
150
151
  readonly datatype_schema: "pg_catalog";
151
- readonly pk: null;
152
- readonly computed: false;
153
- readonly options: [];
154
- readonly nullable: true;
152
+ readonly fk_column: null;
155
153
  readonly fk_schema: null;
156
154
  readonly fk_table: null;
157
- readonly fk_column: null;
158
- readonly autoincrement: false;
155
+ readonly name: "deleted_at";
156
+ readonly nullable: true;
157
+ readonly options: [];
158
+ readonly pk: null;
159
159
  }, {
160
- readonly name: "role";
160
+ readonly autoinc: false;
161
+ readonly computed: false;
161
162
  readonly datatype: "varchar";
162
163
  readonly datatype_schema: "pg_catalog";
163
- readonly pk: null;
164
- readonly computed: false;
165
- readonly options: [];
166
- readonly nullable: true;
164
+ readonly fk_column: null;
167
165
  readonly fk_schema: null;
168
166
  readonly fk_table: null;
169
- readonly fk_column: null;
170
- readonly autoincrement: false;
167
+ readonly name: "role";
168
+ readonly nullable: true;
169
+ readonly options: [];
170
+ readonly pk: null;
171
171
  }, {
172
- readonly name: "name";
172
+ readonly autoinc: false;
173
+ readonly computed: false;
173
174
  readonly datatype: "varchar";
174
175
  readonly datatype_schema: "pg_catalog";
175
- readonly pk: null;
176
- readonly computed: false;
177
- readonly options: [];
178
- readonly nullable: true;
176
+ readonly fk_column: null;
179
177
  readonly fk_schema: null;
180
178
  readonly fk_table: null;
181
- readonly fk_column: null;
182
- readonly autoincrement: false;
179
+ readonly name: "name";
180
+ readonly nullable: true;
181
+ readonly options: [];
182
+ readonly pk: null;
183
183
  }, {
184
- readonly name: "name_role";
184
+ readonly autoinc: false;
185
+ readonly computed: true;
185
186
  readonly datatype: "text";
186
187
  readonly datatype_schema: "pg_catalog";
187
- readonly pk: null;
188
- readonly computed: true;
189
- readonly options: [];
190
- readonly nullable: false;
188
+ readonly fk_column: null;
191
189
  readonly fk_schema: null;
192
190
  readonly fk_table: null;
193
- readonly fk_column: null;
194
- readonly autoincrement: false;
191
+ readonly name: "name_role";
192
+ readonly nullable: false;
193
+ readonly options: [];
194
+ readonly pk: null;
195
195
  }];
196
196
  }, {
197
197
  readonly schema: "public";
198
198
  readonly name: "composite_pk";
199
199
  readonly columns: [{
200
- readonly name: "id";
200
+ readonly autoinc: false;
201
+ readonly computed: false;
201
202
  readonly datatype: "uuid";
202
203
  readonly datatype_schema: "pg_catalog";
203
- readonly pk: 1;
204
- readonly computed: false;
205
- readonly options: [];
206
- readonly nullable: false;
204
+ readonly fk_column: null;
207
205
  readonly fk_schema: null;
208
206
  readonly fk_table: null;
209
- readonly fk_column: null;
210
- readonly autoincrement: false;
207
+ readonly name: "id";
208
+ readonly nullable: false;
209
+ readonly options: [];
210
+ readonly pk: 1;
211
211
  }, {
212
- readonly name: "name";
212
+ readonly autoinc: false;
213
+ readonly computed: false;
213
214
  readonly datatype: "text";
214
215
  readonly datatype_schema: "pg_catalog";
215
- readonly pk: 2;
216
- readonly computed: false;
217
- readonly options: [];
218
- readonly nullable: true;
216
+ readonly fk_column: null;
219
217
  readonly fk_schema: null;
220
218
  readonly fk_table: null;
221
- readonly fk_column: null;
222
- readonly autoincrement: false;
219
+ readonly name: "name";
220
+ readonly nullable: true;
221
+ readonly options: [];
222
+ readonly pk: 2;
223
223
  }, {
224
- readonly name: "created_at";
224
+ readonly autoinc: false;
225
+ readonly computed: false;
225
226
  readonly datatype: "timestamp";
226
227
  readonly datatype_schema: "pg_catalog";
227
- readonly pk: null;
228
- readonly computed: false;
229
- readonly options: [];
230
- readonly nullable: true;
228
+ readonly fk_column: null;
231
229
  readonly fk_schema: null;
232
230
  readonly fk_table: null;
233
- readonly fk_column: null;
234
- readonly autoincrement: false;
231
+ readonly name: "created_at";
232
+ readonly nullable: true;
233
+ readonly options: [];
234
+ readonly pk: null;
235
235
  }];
236
236
  }];
237
237
  /**
@@ -74,16 +74,16 @@ declare function getTablesQuery(requirements?: Omit<BuilderRequirements, "Adapte
74
74
  name: string;
75
75
  columns: {
76
76
  name: string;
77
- datatype: string;
78
- datatype_schema: string;
79
- fk_schema: string | null;
80
- fk_table: string | null;
81
77
  fk_column: string | null;
82
- pk: number | null;
78
+ fk_table: string | null;
79
+ fk_schema: string | null;
80
+ datatype_schema: string;
81
+ datatype: string;
82
+ autoinc: boolean;
83
83
  computed: boolean;
84
84
  nullable: boolean;
85
85
  options: string[];
86
- autoincrement: boolean;
86
+ pk: number | null;
87
87
  }[];
88
88
  }>;
89
89
  /**
@@ -93,145 +93,145 @@ declare function mockTablesQuery(): [{
93
93
  readonly schema: "zoo";
94
94
  readonly name: "animals";
95
95
  readonly columns: [{
96
- readonly name: "id";
96
+ readonly autoinc: true;
97
+ readonly computed: false;
97
98
  readonly datatype: "int4";
98
99
  readonly datatype_schema: "pg_catalog";
99
- readonly pk: 1;
100
- readonly computed: false;
101
- readonly options: [];
102
- readonly nullable: false;
100
+ readonly fk_column: null;
103
101
  readonly fk_schema: null;
104
102
  readonly fk_table: null;
105
- readonly fk_column: null;
106
- readonly autoincrement: true;
103
+ readonly name: "id";
104
+ readonly nullable: false;
105
+ readonly options: [];
106
+ readonly pk: 1;
107
107
  }, {
108
- readonly name: "name";
108
+ readonly autoinc: false;
109
+ readonly computed: false;
109
110
  readonly datatype: "text";
110
111
  readonly datatype_schema: "pg_catalog";
111
- readonly pk: null;
112
- readonly computed: false;
113
- readonly options: [];
114
- readonly nullable: true;
112
+ readonly fk_column: null;
115
113
  readonly fk_schema: null;
116
114
  readonly fk_table: null;
117
- readonly fk_column: null;
118
- readonly autoincrement: false;
115
+ readonly name: "name";
116
+ readonly nullable: true;
117
+ readonly options: [];
118
+ readonly pk: null;
119
119
  }];
120
120
  }, {
121
121
  readonly schema: "public";
122
122
  readonly name: "users";
123
123
  readonly columns: [{
124
- readonly name: "id";
124
+ readonly autoinc: true;
125
+ readonly computed: false;
125
126
  readonly datatype: "int4";
126
127
  readonly datatype_schema: "pg_catalog";
127
- readonly pk: 1;
128
- readonly computed: false;
129
- readonly options: [];
130
- readonly nullable: false;
128
+ readonly fk_column: null;
131
129
  readonly fk_schema: null;
132
130
  readonly fk_table: null;
133
- readonly fk_column: null;
134
- readonly autoincrement: true;
131
+ readonly name: "id";
132
+ readonly nullable: false;
133
+ readonly options: [];
134
+ readonly pk: 1;
135
135
  }, {
136
- readonly name: "created_at";
136
+ readonly autoinc: false;
137
+ readonly computed: false;
137
138
  readonly datatype: "timestamp";
138
139
  readonly datatype_schema: "pg_catalog";
139
- readonly pk: null;
140
- readonly computed: false;
141
- readonly options: [];
142
- readonly nullable: true;
140
+ readonly fk_column: null;
143
141
  readonly fk_schema: null;
144
142
  readonly fk_table: null;
145
- readonly fk_column: null;
146
- readonly autoincrement: false;
143
+ readonly name: "created_at";
144
+ readonly nullable: true;
145
+ readonly options: [];
146
+ readonly pk: null;
147
147
  }, {
148
- readonly name: "deleted_at";
148
+ readonly autoinc: false;
149
+ readonly computed: false;
149
150
  readonly datatype: "timestamp";
150
151
  readonly datatype_schema: "pg_catalog";
151
- readonly pk: null;
152
- readonly computed: false;
153
- readonly options: [];
154
- readonly nullable: true;
152
+ readonly fk_column: null;
155
153
  readonly fk_schema: null;
156
154
  readonly fk_table: null;
157
- readonly fk_column: null;
158
- readonly autoincrement: false;
155
+ readonly name: "deleted_at";
156
+ readonly nullable: true;
157
+ readonly options: [];
158
+ readonly pk: null;
159
159
  }, {
160
- readonly name: "role";
160
+ readonly autoinc: false;
161
+ readonly computed: false;
161
162
  readonly datatype: "varchar";
162
163
  readonly datatype_schema: "pg_catalog";
163
- readonly pk: null;
164
- readonly computed: false;
165
- readonly options: [];
166
- readonly nullable: true;
164
+ readonly fk_column: null;
167
165
  readonly fk_schema: null;
168
166
  readonly fk_table: null;
169
- readonly fk_column: null;
170
- readonly autoincrement: false;
167
+ readonly name: "role";
168
+ readonly nullable: true;
169
+ readonly options: [];
170
+ readonly pk: null;
171
171
  }, {
172
- readonly name: "name";
172
+ readonly autoinc: false;
173
+ readonly computed: false;
173
174
  readonly datatype: "varchar";
174
175
  readonly datatype_schema: "pg_catalog";
175
- readonly pk: null;
176
- readonly computed: false;
177
- readonly options: [];
178
- readonly nullable: true;
176
+ readonly fk_column: null;
179
177
  readonly fk_schema: null;
180
178
  readonly fk_table: null;
181
- readonly fk_column: null;
182
- readonly autoincrement: false;
179
+ readonly name: "name";
180
+ readonly nullable: true;
181
+ readonly options: [];
182
+ readonly pk: null;
183
183
  }, {
184
- readonly name: "name_role";
184
+ readonly autoinc: false;
185
+ readonly computed: true;
185
186
  readonly datatype: "text";
186
187
  readonly datatype_schema: "pg_catalog";
187
- readonly pk: null;
188
- readonly computed: true;
189
- readonly options: [];
190
- readonly nullable: false;
188
+ readonly fk_column: null;
191
189
  readonly fk_schema: null;
192
190
  readonly fk_table: null;
193
- readonly fk_column: null;
194
- readonly autoincrement: false;
191
+ readonly name: "name_role";
192
+ readonly nullable: false;
193
+ readonly options: [];
194
+ readonly pk: null;
195
195
  }];
196
196
  }, {
197
197
  readonly schema: "public";
198
198
  readonly name: "composite_pk";
199
199
  readonly columns: [{
200
- readonly name: "id";
200
+ readonly autoinc: false;
201
+ readonly computed: false;
201
202
  readonly datatype: "uuid";
202
203
  readonly datatype_schema: "pg_catalog";
203
- readonly pk: 1;
204
- readonly computed: false;
205
- readonly options: [];
206
- readonly nullable: false;
204
+ readonly fk_column: null;
207
205
  readonly fk_schema: null;
208
206
  readonly fk_table: null;
209
- readonly fk_column: null;
210
- readonly autoincrement: false;
207
+ readonly name: "id";
208
+ readonly nullable: false;
209
+ readonly options: [];
210
+ readonly pk: 1;
211
211
  }, {
212
- readonly name: "name";
212
+ readonly autoinc: false;
213
+ readonly computed: false;
213
214
  readonly datatype: "text";
214
215
  readonly datatype_schema: "pg_catalog";
215
- readonly pk: 2;
216
- readonly computed: false;
217
- readonly options: [];
218
- readonly nullable: true;
216
+ readonly fk_column: null;
219
217
  readonly fk_schema: null;
220
218
  readonly fk_table: null;
221
- readonly fk_column: null;
222
- readonly autoincrement: false;
219
+ readonly name: "name";
220
+ readonly nullable: true;
221
+ readonly options: [];
222
+ readonly pk: 2;
223
223
  }, {
224
- readonly name: "created_at";
224
+ readonly autoinc: false;
225
+ readonly computed: false;
225
226
  readonly datatype: "timestamp";
226
227
  readonly datatype_schema: "pg_catalog";
227
- readonly pk: null;
228
- readonly computed: false;
229
- readonly options: [];
230
- readonly nullable: true;
228
+ readonly fk_column: null;
231
229
  readonly fk_schema: null;
232
230
  readonly fk_table: null;
233
- readonly fk_column: null;
234
- readonly autoincrement: false;
231
+ readonly name: "created_at";
232
+ readonly nullable: true;
233
+ readonly options: [];
234
+ readonly pk: null;
235
235
  }];
236
236
  }];
237
237
  /**
@@ -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}from"../../chunk-TPNMPFCD.js";import{a as l,b as m}from"../../chunk-WHVJGC3E.js";import"../../chunk-RMMVUGJM.js";import"../../chunk-I2RENVNB.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-OIVTTVFY.js";import{a as l,b as m}from"../../chunk-WHVJGC3E.js";import"../../chunk-RMMVUGJM.js";import"../../chunk-I2RENVNB.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