@pgpmjs/core 4.13.2 → 4.13.3
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.
- package/esm/export/export-meta.js +39 -16
- package/export/export-meta.js +39 -16
- package/package.json +2 -2
|
@@ -187,8 +187,8 @@ const config = {
|
|
|
187
187
|
fields: {
|
|
188
188
|
id: 'uuid',
|
|
189
189
|
database_id: 'uuid',
|
|
190
|
-
|
|
191
|
-
|
|
190
|
+
name: 'text',
|
|
191
|
+
code: 'text'
|
|
192
192
|
}
|
|
193
193
|
},
|
|
194
194
|
rls_function: {
|
|
@@ -197,8 +197,13 @@ const config = {
|
|
|
197
197
|
fields: {
|
|
198
198
|
id: 'uuid',
|
|
199
199
|
database_id: 'uuid',
|
|
200
|
-
|
|
201
|
-
name: 'text'
|
|
200
|
+
table_id: 'uuid',
|
|
201
|
+
name: 'text',
|
|
202
|
+
label: 'text',
|
|
203
|
+
description: 'text',
|
|
204
|
+
data: 'jsonb',
|
|
205
|
+
inline: 'boolean',
|
|
206
|
+
security: 'int'
|
|
202
207
|
}
|
|
203
208
|
},
|
|
204
209
|
limit_function: {
|
|
@@ -207,8 +212,12 @@ const config = {
|
|
|
207
212
|
fields: {
|
|
208
213
|
id: 'uuid',
|
|
209
214
|
database_id: 'uuid',
|
|
210
|
-
|
|
211
|
-
name: 'text'
|
|
215
|
+
table_id: 'uuid',
|
|
216
|
+
name: 'text',
|
|
217
|
+
label: 'text',
|
|
218
|
+
description: 'text',
|
|
219
|
+
data: 'jsonb',
|
|
220
|
+
security: 'int'
|
|
212
221
|
}
|
|
213
222
|
},
|
|
214
223
|
procedure: {
|
|
@@ -217,8 +226,12 @@ const config = {
|
|
|
217
226
|
fields: {
|
|
218
227
|
id: 'uuid',
|
|
219
228
|
database_id: 'uuid',
|
|
220
|
-
|
|
221
|
-
|
|
229
|
+
name: 'text',
|
|
230
|
+
argnames: 'text[]',
|
|
231
|
+
argtypes: 'text[]',
|
|
232
|
+
argdefaults: 'text[]',
|
|
233
|
+
lang_name: 'text',
|
|
234
|
+
definition: 'text'
|
|
222
235
|
}
|
|
223
236
|
},
|
|
224
237
|
foreign_key_constraint: {
|
|
@@ -229,11 +242,14 @@ const config = {
|
|
|
229
242
|
database_id: 'uuid',
|
|
230
243
|
table_id: 'uuid',
|
|
231
244
|
name: 'text',
|
|
245
|
+
description: 'text',
|
|
246
|
+
smart_tags: 'jsonb',
|
|
247
|
+
type: 'text',
|
|
232
248
|
field_ids: 'uuid[]',
|
|
233
249
|
ref_table_id: 'uuid',
|
|
234
250
|
ref_field_ids: 'uuid[]',
|
|
235
|
-
|
|
236
|
-
|
|
251
|
+
delete_action: 'text',
|
|
252
|
+
update_action: 'text'
|
|
237
253
|
}
|
|
238
254
|
},
|
|
239
255
|
primary_key_constraint: {
|
|
@@ -244,6 +260,7 @@ const config = {
|
|
|
244
260
|
database_id: 'uuid',
|
|
245
261
|
table_id: 'uuid',
|
|
246
262
|
name: 'text',
|
|
263
|
+
type: 'text',
|
|
247
264
|
field_ids: 'uuid[]'
|
|
248
265
|
}
|
|
249
266
|
},
|
|
@@ -255,6 +272,9 @@ const config = {
|
|
|
255
272
|
database_id: 'uuid',
|
|
256
273
|
table_id: 'uuid',
|
|
257
274
|
name: 'text',
|
|
275
|
+
description: 'text',
|
|
276
|
+
smart_tags: 'jsonb',
|
|
277
|
+
type: 'text',
|
|
258
278
|
field_ids: 'uuid[]'
|
|
259
279
|
}
|
|
260
280
|
},
|
|
@@ -266,7 +286,9 @@ const config = {
|
|
|
266
286
|
database_id: 'uuid',
|
|
267
287
|
table_id: 'uuid',
|
|
268
288
|
name: 'text',
|
|
269
|
-
|
|
289
|
+
type: 'text',
|
|
290
|
+
field_ids: 'uuid[]',
|
|
291
|
+
expr: 'jsonb'
|
|
270
292
|
}
|
|
271
293
|
},
|
|
272
294
|
full_text_search: {
|
|
@@ -276,9 +298,10 @@ const config = {
|
|
|
276
298
|
id: 'uuid',
|
|
277
299
|
database_id: 'uuid',
|
|
278
300
|
table_id: 'uuid',
|
|
279
|
-
|
|
301
|
+
field_id: 'uuid',
|
|
280
302
|
field_ids: 'uuid[]',
|
|
281
|
-
weights: 'text[]'
|
|
303
|
+
weights: 'text[]',
|
|
304
|
+
langs: 'text[]'
|
|
282
305
|
}
|
|
283
306
|
},
|
|
284
307
|
schema_grant: {
|
|
@@ -288,8 +311,7 @@ const config = {
|
|
|
288
311
|
id: 'uuid',
|
|
289
312
|
database_id: 'uuid',
|
|
290
313
|
schema_id: 'uuid',
|
|
291
|
-
|
|
292
|
-
privilege: 'text'
|
|
314
|
+
grantee_name: 'text'
|
|
293
315
|
}
|
|
294
316
|
},
|
|
295
317
|
table_grant: {
|
|
@@ -299,8 +321,9 @@ const config = {
|
|
|
299
321
|
id: 'uuid',
|
|
300
322
|
database_id: 'uuid',
|
|
301
323
|
table_id: 'uuid',
|
|
324
|
+
privilege: 'text',
|
|
302
325
|
role_name: 'text',
|
|
303
|
-
|
|
326
|
+
field_ids: 'uuid[]'
|
|
304
327
|
}
|
|
305
328
|
},
|
|
306
329
|
// =============================================================================
|
package/export/export-meta.js
CHANGED
|
@@ -190,8 +190,8 @@ const config = {
|
|
|
190
190
|
fields: {
|
|
191
191
|
id: 'uuid',
|
|
192
192
|
database_id: 'uuid',
|
|
193
|
-
|
|
194
|
-
|
|
193
|
+
name: 'text',
|
|
194
|
+
code: 'text'
|
|
195
195
|
}
|
|
196
196
|
},
|
|
197
197
|
rls_function: {
|
|
@@ -200,8 +200,13 @@ const config = {
|
|
|
200
200
|
fields: {
|
|
201
201
|
id: 'uuid',
|
|
202
202
|
database_id: 'uuid',
|
|
203
|
-
|
|
204
|
-
name: 'text'
|
|
203
|
+
table_id: 'uuid',
|
|
204
|
+
name: 'text',
|
|
205
|
+
label: 'text',
|
|
206
|
+
description: 'text',
|
|
207
|
+
data: 'jsonb',
|
|
208
|
+
inline: 'boolean',
|
|
209
|
+
security: 'int'
|
|
205
210
|
}
|
|
206
211
|
},
|
|
207
212
|
limit_function: {
|
|
@@ -210,8 +215,12 @@ const config = {
|
|
|
210
215
|
fields: {
|
|
211
216
|
id: 'uuid',
|
|
212
217
|
database_id: 'uuid',
|
|
213
|
-
|
|
214
|
-
name: 'text'
|
|
218
|
+
table_id: 'uuid',
|
|
219
|
+
name: 'text',
|
|
220
|
+
label: 'text',
|
|
221
|
+
description: 'text',
|
|
222
|
+
data: 'jsonb',
|
|
223
|
+
security: 'int'
|
|
215
224
|
}
|
|
216
225
|
},
|
|
217
226
|
procedure: {
|
|
@@ -220,8 +229,12 @@ const config = {
|
|
|
220
229
|
fields: {
|
|
221
230
|
id: 'uuid',
|
|
222
231
|
database_id: 'uuid',
|
|
223
|
-
|
|
224
|
-
|
|
232
|
+
name: 'text',
|
|
233
|
+
argnames: 'text[]',
|
|
234
|
+
argtypes: 'text[]',
|
|
235
|
+
argdefaults: 'text[]',
|
|
236
|
+
lang_name: 'text',
|
|
237
|
+
definition: 'text'
|
|
225
238
|
}
|
|
226
239
|
},
|
|
227
240
|
foreign_key_constraint: {
|
|
@@ -232,11 +245,14 @@ const config = {
|
|
|
232
245
|
database_id: 'uuid',
|
|
233
246
|
table_id: 'uuid',
|
|
234
247
|
name: 'text',
|
|
248
|
+
description: 'text',
|
|
249
|
+
smart_tags: 'jsonb',
|
|
250
|
+
type: 'text',
|
|
235
251
|
field_ids: 'uuid[]',
|
|
236
252
|
ref_table_id: 'uuid',
|
|
237
253
|
ref_field_ids: 'uuid[]',
|
|
238
|
-
|
|
239
|
-
|
|
254
|
+
delete_action: 'text',
|
|
255
|
+
update_action: 'text'
|
|
240
256
|
}
|
|
241
257
|
},
|
|
242
258
|
primary_key_constraint: {
|
|
@@ -247,6 +263,7 @@ const config = {
|
|
|
247
263
|
database_id: 'uuid',
|
|
248
264
|
table_id: 'uuid',
|
|
249
265
|
name: 'text',
|
|
266
|
+
type: 'text',
|
|
250
267
|
field_ids: 'uuid[]'
|
|
251
268
|
}
|
|
252
269
|
},
|
|
@@ -258,6 +275,9 @@ const config = {
|
|
|
258
275
|
database_id: 'uuid',
|
|
259
276
|
table_id: 'uuid',
|
|
260
277
|
name: 'text',
|
|
278
|
+
description: 'text',
|
|
279
|
+
smart_tags: 'jsonb',
|
|
280
|
+
type: 'text',
|
|
261
281
|
field_ids: 'uuid[]'
|
|
262
282
|
}
|
|
263
283
|
},
|
|
@@ -269,7 +289,9 @@ const config = {
|
|
|
269
289
|
database_id: 'uuid',
|
|
270
290
|
table_id: 'uuid',
|
|
271
291
|
name: 'text',
|
|
272
|
-
|
|
292
|
+
type: 'text',
|
|
293
|
+
field_ids: 'uuid[]',
|
|
294
|
+
expr: 'jsonb'
|
|
273
295
|
}
|
|
274
296
|
},
|
|
275
297
|
full_text_search: {
|
|
@@ -279,9 +301,10 @@ const config = {
|
|
|
279
301
|
id: 'uuid',
|
|
280
302
|
database_id: 'uuid',
|
|
281
303
|
table_id: 'uuid',
|
|
282
|
-
|
|
304
|
+
field_id: 'uuid',
|
|
283
305
|
field_ids: 'uuid[]',
|
|
284
|
-
weights: 'text[]'
|
|
306
|
+
weights: 'text[]',
|
|
307
|
+
langs: 'text[]'
|
|
285
308
|
}
|
|
286
309
|
},
|
|
287
310
|
schema_grant: {
|
|
@@ -291,8 +314,7 @@ const config = {
|
|
|
291
314
|
id: 'uuid',
|
|
292
315
|
database_id: 'uuid',
|
|
293
316
|
schema_id: 'uuid',
|
|
294
|
-
|
|
295
|
-
privilege: 'text'
|
|
317
|
+
grantee_name: 'text'
|
|
296
318
|
}
|
|
297
319
|
},
|
|
298
320
|
table_grant: {
|
|
@@ -302,8 +324,9 @@ const config = {
|
|
|
302
324
|
id: 'uuid',
|
|
303
325
|
database_id: 'uuid',
|
|
304
326
|
table_id: 'uuid',
|
|
327
|
+
privilege: 'text',
|
|
305
328
|
role_name: 'text',
|
|
306
|
-
|
|
329
|
+
field_ids: 'uuid[]'
|
|
307
330
|
}
|
|
308
331
|
},
|
|
309
332
|
// =============================================================================
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgpmjs/core",
|
|
3
|
-
"version": "4.13.
|
|
3
|
+
"version": "4.13.3",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "PGPM Package and Migration Tools",
|
|
6
6
|
"main": "index.js",
|
|
@@ -64,5 +64,5 @@
|
|
|
64
64
|
"pgsql-parser": "^17.9.11",
|
|
65
65
|
"yanse": "^0.1.11"
|
|
66
66
|
},
|
|
67
|
-
"gitHead": "
|
|
67
|
+
"gitHead": "c1708066d429d86bbc1ca3aed778ff51779c8efc"
|
|
68
68
|
}
|