@pgpmjs/export 1.16.2 → 1.16.4
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-graphql-meta.js +3 -3
- package/esm/export-migrations.js +1 -1
- package/esm/graphql-naming.js +2 -2
- package/esm/meta-export-tables.json +184 -22
- package/export-graphql-meta.js +3 -3
- package/export-migrations.d.ts +1 -1
- package/export-migrations.js +1 -1
- package/graphql-naming.js +2 -2
- package/meta-export-tables.json +184 -22
- package/package.json +12 -12
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* GraphQL equivalent of export-meta.ts.
|
|
3
3
|
*
|
|
4
|
-
* Fetches metadata from metaschema_public,
|
|
5
|
-
*
|
|
4
|
+
* Fetches metadata from metaschema_public, routing_public,
|
|
5
|
+
* apps_public, and metaschema_modules_public
|
|
6
6
|
* via GraphQL queries instead of direct SQL, then uses the same csv-to-pg Parser to
|
|
7
7
|
* generate SQL INSERT statements.
|
|
8
8
|
*/
|
|
@@ -104,7 +104,7 @@ export const exportGraphQLMeta = async ({ client, database_id }) => {
|
|
|
104
104
|
const tableConfig = META_TABLE_CONFIG[key];
|
|
105
105
|
if (!tableConfig)
|
|
106
106
|
return;
|
|
107
|
-
// Schema-qualified manifest keys (e.g.
|
|
107
|
+
// Schema-qualified manifest keys (e.g. catalog_private.apis)
|
|
108
108
|
// mark tables whose name collides with a table in another plane. GraphQL
|
|
109
109
|
// type/query names are derived from the bare table name, so these cannot
|
|
110
110
|
// be addressed unambiguously through the meta API — only the SQL flow
|
package/esm/export-migrations.js
CHANGED
|
@@ -24,7 +24,7 @@ const exportMigrationsToDisk = async ({ project, options, database, databaseId,
|
|
|
24
24
|
const name = extensionName || db.rows[0].name;
|
|
25
25
|
// When skipSchemaRenaming is true, pass empty schemas array to avoid renaming
|
|
26
26
|
// This is useful for self-referential introspection where you want to apply
|
|
27
|
-
// policies to real infrastructure schemas (metaschema_public,
|
|
27
|
+
// policies to real infrastructure schemas (metaschema_public, routing_public, etc.)
|
|
28
28
|
const schemasForReplacement = skipSchemaRenaming
|
|
29
29
|
? []
|
|
30
30
|
: schemas.rows.filter((schema) => schema_names.includes(schema.schema_name));
|
package/esm/graphql-naming.js
CHANGED
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* Examples:
|
|
10
10
|
* metaschema_public.database -> databases (query), Database (type)
|
|
11
11
|
* metaschema_public.foreign_key_constraint -> foreignKeyConstraints
|
|
12
|
-
*
|
|
13
|
-
*
|
|
12
|
+
* routing_public.api_schemas -> apiSchemas
|
|
13
|
+
* apps_public.apps -> apps
|
|
14
14
|
* metaschema_modules_public.api_surface_module -> apiSurfaceModules
|
|
15
15
|
* db_migrate.sql_actions -> sqlActions
|
|
16
16
|
* column database_id -> databaseId
|
|
@@ -66,6 +66,11 @@
|
|
|
66
66
|
"schema": "metaschema_public",
|
|
67
67
|
"table": "check_constraint"
|
|
68
68
|
},
|
|
69
|
+
{
|
|
70
|
+
"key": "derives",
|
|
71
|
+
"schema": "metaschema_public",
|
|
72
|
+
"table": "derives"
|
|
73
|
+
},
|
|
69
74
|
{
|
|
70
75
|
"key": "exclusion_constraint",
|
|
71
76
|
"schema": "metaschema_public",
|
|
@@ -101,6 +106,11 @@
|
|
|
101
106
|
"schema": "metaschema_public",
|
|
102
107
|
"table": "primary_key_constraint"
|
|
103
108
|
},
|
|
109
|
+
{
|
|
110
|
+
"key": "table_behavior",
|
|
111
|
+
"schema": "metaschema_public",
|
|
112
|
+
"table": "table_behavior"
|
|
113
|
+
},
|
|
104
114
|
{
|
|
105
115
|
"key": "table_grant",
|
|
106
116
|
"schema": "metaschema_public",
|
|
@@ -321,6 +331,11 @@
|
|
|
321
331
|
"schema": "metaschema_modules_public",
|
|
322
332
|
"table": "rls_module"
|
|
323
333
|
},
|
|
334
|
+
{
|
|
335
|
+
"key": "scope_types_module",
|
|
336
|
+
"schema": "metaschema_modules_public",
|
|
337
|
+
"table": "scope_types_module"
|
|
338
|
+
},
|
|
324
339
|
{
|
|
325
340
|
"key": "secure_table_provision",
|
|
326
341
|
"schema": "metaschema_modules_public",
|
|
@@ -391,11 +406,31 @@
|
|
|
391
406
|
"schema": "metaschema_public",
|
|
392
407
|
"table": "embedding_chunks"
|
|
393
408
|
},
|
|
409
|
+
{
|
|
410
|
+
"key": "field_behavior",
|
|
411
|
+
"schema": "metaschema_public",
|
|
412
|
+
"table": "field_behavior"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"key": "foreign_key_constraint_behavior",
|
|
416
|
+
"schema": "metaschema_public",
|
|
417
|
+
"table": "foreign_key_constraint_behavior"
|
|
418
|
+
},
|
|
394
419
|
{
|
|
395
420
|
"key": "spatial_relation",
|
|
396
421
|
"schema": "metaschema_public",
|
|
397
422
|
"table": "spatial_relation"
|
|
398
423
|
},
|
|
424
|
+
{
|
|
425
|
+
"key": "unique_constraint_behavior",
|
|
426
|
+
"schema": "metaschema_public",
|
|
427
|
+
"table": "unique_constraint_behavior"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"key": "view_behavior",
|
|
431
|
+
"schema": "metaschema_public",
|
|
432
|
+
"table": "view_behavior"
|
|
433
|
+
},
|
|
399
434
|
{
|
|
400
435
|
"key": "view_grant",
|
|
401
436
|
"schema": "metaschema_public",
|
|
@@ -476,6 +511,11 @@
|
|
|
476
511
|
"schema": "metaschema_modules_public",
|
|
477
512
|
"table": "http_route_module"
|
|
478
513
|
},
|
|
514
|
+
{
|
|
515
|
+
"key": "pages_module",
|
|
516
|
+
"schema": "metaschema_modules_public",
|
|
517
|
+
"table": "pages_module"
|
|
518
|
+
},
|
|
479
519
|
{
|
|
480
520
|
"key": "route_module",
|
|
481
521
|
"schema": "metaschema_modules_public",
|
|
@@ -531,6 +571,11 @@
|
|
|
531
571
|
"schema": "routing_public",
|
|
532
572
|
"table": "managed_domains"
|
|
533
573
|
},
|
|
574
|
+
{
|
|
575
|
+
"key": "pages",
|
|
576
|
+
"schema": "routing_public",
|
|
577
|
+
"table": "pages"
|
|
578
|
+
},
|
|
534
579
|
{
|
|
535
580
|
"key": "pubkey_settings",
|
|
536
581
|
"schema": "routing_public",
|
|
@@ -546,6 +591,21 @@
|
|
|
546
591
|
"schema": "routing_public",
|
|
547
592
|
"table": "routes"
|
|
548
593
|
},
|
|
594
|
+
{
|
|
595
|
+
"key": "site_app_links",
|
|
596
|
+
"schema": "routing_public",
|
|
597
|
+
"table": "site_app_links"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"key": "site_deep_links",
|
|
601
|
+
"schema": "routing_public",
|
|
602
|
+
"table": "site_deep_links"
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"key": "site_error_pages",
|
|
606
|
+
"schema": "routing_public",
|
|
607
|
+
"table": "site_error_pages"
|
|
608
|
+
},
|
|
549
609
|
{
|
|
550
610
|
"key": "site_metadata",
|
|
551
611
|
"schema": "routing_public",
|
|
@@ -561,6 +621,11 @@
|
|
|
561
621
|
"schema": "routing_public",
|
|
562
622
|
"table": "site_themes"
|
|
563
623
|
},
|
|
624
|
+
{
|
|
625
|
+
"key": "site_web_configs",
|
|
626
|
+
"schema": "routing_public",
|
|
627
|
+
"table": "site_web_configs"
|
|
628
|
+
},
|
|
564
629
|
{
|
|
565
630
|
"key": "sites",
|
|
566
631
|
"schema": "routing_public",
|
|
@@ -582,49 +647,79 @@
|
|
|
582
647
|
"table": "apps"
|
|
583
648
|
},
|
|
584
649
|
{
|
|
585
|
-
"key": "
|
|
586
|
-
"schema": "
|
|
650
|
+
"key": "catalog_private.apis",
|
|
651
|
+
"schema": "catalog_private",
|
|
587
652
|
"table": "apis"
|
|
588
653
|
},
|
|
589
654
|
{
|
|
590
|
-
"key": "
|
|
591
|
-
"schema": "
|
|
655
|
+
"key": "catalog_private.apps",
|
|
656
|
+
"schema": "catalog_private",
|
|
592
657
|
"table": "apps"
|
|
593
658
|
},
|
|
594
659
|
{
|
|
595
|
-
"key": "
|
|
596
|
-
"schema": "
|
|
660
|
+
"key": "bindings",
|
|
661
|
+
"schema": "catalog_private",
|
|
662
|
+
"table": "bindings"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"key": "buckets",
|
|
666
|
+
"schema": "catalog_private",
|
|
667
|
+
"table": "buckets"
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"key": "catalog_private.domains",
|
|
671
|
+
"schema": "catalog_private",
|
|
597
672
|
"table": "domains"
|
|
598
673
|
},
|
|
599
674
|
{
|
|
600
675
|
"key": "functions",
|
|
601
|
-
"schema": "
|
|
676
|
+
"schema": "catalog_private",
|
|
602
677
|
"table": "functions"
|
|
603
678
|
},
|
|
604
679
|
{
|
|
605
680
|
"key": "namespaces",
|
|
606
|
-
"schema": "
|
|
681
|
+
"schema": "catalog_private",
|
|
607
682
|
"table": "namespaces"
|
|
608
683
|
},
|
|
609
684
|
{
|
|
610
685
|
"key": "resource_definitions",
|
|
611
|
-
"schema": "
|
|
686
|
+
"schema": "catalog_private",
|
|
612
687
|
"table": "resource_definitions"
|
|
613
688
|
},
|
|
614
689
|
{
|
|
615
690
|
"key": "resource_installations",
|
|
616
|
-
"schema": "
|
|
691
|
+
"schema": "catalog_private",
|
|
617
692
|
"table": "resource_installations"
|
|
618
693
|
},
|
|
619
694
|
{
|
|
620
695
|
"key": "resources",
|
|
621
|
-
"schema": "
|
|
696
|
+
"schema": "catalog_private",
|
|
622
697
|
"table": "resources"
|
|
623
698
|
},
|
|
624
699
|
{
|
|
625
|
-
"key": "
|
|
626
|
-
"schema": "
|
|
700
|
+
"key": "catalog_private.sites",
|
|
701
|
+
"schema": "catalog_private",
|
|
627
702
|
"table": "sites"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"key": "sites_app_links",
|
|
706
|
+
"schema": "catalog_private",
|
|
707
|
+
"table": "sites_app_links"
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"key": "sites_deep_links",
|
|
711
|
+
"schema": "catalog_private",
|
|
712
|
+
"table": "sites_deep_links"
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"key": "sites_error_pages",
|
|
716
|
+
"schema": "catalog_private",
|
|
717
|
+
"table": "sites_error_pages"
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"key": "sites_web_config",
|
|
721
|
+
"schema": "catalog_private",
|
|
722
|
+
"table": "sites_web_config"
|
|
628
723
|
}
|
|
629
724
|
],
|
|
630
725
|
"timestampDefaultColumns": {
|
|
@@ -636,39 +731,63 @@
|
|
|
636
731
|
"created_at",
|
|
637
732
|
"updated_at"
|
|
638
733
|
],
|
|
639
|
-
"
|
|
734
|
+
"catalog_private.apis": [
|
|
640
735
|
"created_at",
|
|
641
736
|
"updated_at"
|
|
642
737
|
],
|
|
643
|
-
"
|
|
738
|
+
"catalog_private.apps": [
|
|
644
739
|
"created_at",
|
|
645
740
|
"updated_at"
|
|
646
741
|
],
|
|
647
|
-
"
|
|
742
|
+
"catalog_private.bindings": [
|
|
648
743
|
"created_at",
|
|
649
744
|
"updated_at"
|
|
650
745
|
],
|
|
651
|
-
"
|
|
746
|
+
"catalog_private.buckets": [
|
|
652
747
|
"created_at",
|
|
653
748
|
"updated_at"
|
|
654
749
|
],
|
|
655
|
-
"
|
|
750
|
+
"catalog_private.domains": [
|
|
656
751
|
"created_at",
|
|
657
752
|
"updated_at"
|
|
658
753
|
],
|
|
659
|
-
"
|
|
754
|
+
"catalog_private.functions": [
|
|
660
755
|
"created_at",
|
|
661
756
|
"updated_at"
|
|
662
757
|
],
|
|
663
|
-
"
|
|
758
|
+
"catalog_private.namespaces": [
|
|
664
759
|
"created_at",
|
|
665
760
|
"updated_at"
|
|
666
761
|
],
|
|
667
|
-
"
|
|
762
|
+
"catalog_private.resource_definitions": [
|
|
668
763
|
"created_at",
|
|
669
764
|
"updated_at"
|
|
670
765
|
],
|
|
671
|
-
"
|
|
766
|
+
"catalog_private.resource_installations": [
|
|
767
|
+
"created_at",
|
|
768
|
+
"updated_at"
|
|
769
|
+
],
|
|
770
|
+
"catalog_private.resources": [
|
|
771
|
+
"created_at",
|
|
772
|
+
"updated_at"
|
|
773
|
+
],
|
|
774
|
+
"catalog_private.sites": [
|
|
775
|
+
"created_at",
|
|
776
|
+
"updated_at"
|
|
777
|
+
],
|
|
778
|
+
"catalog_private.sites_app_links": [
|
|
779
|
+
"created_at",
|
|
780
|
+
"updated_at"
|
|
781
|
+
],
|
|
782
|
+
"catalog_private.sites_deep_links": [
|
|
783
|
+
"created_at",
|
|
784
|
+
"updated_at"
|
|
785
|
+
],
|
|
786
|
+
"catalog_private.sites_error_pages": [
|
|
787
|
+
"created_at",
|
|
788
|
+
"updated_at"
|
|
789
|
+
],
|
|
790
|
+
"catalog_private.sites_web_config": [
|
|
672
791
|
"created_at",
|
|
673
792
|
"updated_at"
|
|
674
793
|
],
|
|
@@ -687,6 +806,9 @@
|
|
|
687
806
|
"metaschema_modules_public.merkle_store_module": [
|
|
688
807
|
"created_at"
|
|
689
808
|
],
|
|
809
|
+
"metaschema_modules_public.pages_module": [
|
|
810
|
+
"created_at"
|
|
811
|
+
],
|
|
690
812
|
"metaschema_public.check_constraint": [
|
|
691
813
|
"created_at",
|
|
692
814
|
"updated_at"
|
|
@@ -695,6 +817,10 @@
|
|
|
695
817
|
"created_at",
|
|
696
818
|
"updated_at"
|
|
697
819
|
],
|
|
820
|
+
"metaschema_public.derives": [
|
|
821
|
+
"created_at",
|
|
822
|
+
"updated_at"
|
|
823
|
+
],
|
|
698
824
|
"metaschema_public.embedding_chunks": [
|
|
699
825
|
"created_at",
|
|
700
826
|
"updated_at"
|
|
@@ -707,10 +833,18 @@
|
|
|
707
833
|
"created_at",
|
|
708
834
|
"updated_at"
|
|
709
835
|
],
|
|
836
|
+
"metaschema_public.field_behavior": [
|
|
837
|
+
"created_at",
|
|
838
|
+
"updated_at"
|
|
839
|
+
],
|
|
710
840
|
"metaschema_public.foreign_key_constraint": [
|
|
711
841
|
"created_at",
|
|
712
842
|
"updated_at"
|
|
713
843
|
],
|
|
844
|
+
"metaschema_public.foreign_key_constraint_behavior": [
|
|
845
|
+
"created_at",
|
|
846
|
+
"updated_at"
|
|
847
|
+
],
|
|
714
848
|
"metaschema_public.full_text_search": [
|
|
715
849
|
"created_at",
|
|
716
850
|
"updated_at"
|
|
@@ -743,6 +877,10 @@
|
|
|
743
877
|
"created_at",
|
|
744
878
|
"updated_at"
|
|
745
879
|
],
|
|
880
|
+
"metaschema_public.table_behavior": [
|
|
881
|
+
"created_at",
|
|
882
|
+
"updated_at"
|
|
883
|
+
],
|
|
746
884
|
"metaschema_public.table_grant": [
|
|
747
885
|
"created_at",
|
|
748
886
|
"updated_at"
|
|
@@ -759,6 +897,14 @@
|
|
|
759
897
|
"created_at",
|
|
760
898
|
"updated_at"
|
|
761
899
|
],
|
|
900
|
+
"metaschema_public.unique_constraint_behavior": [
|
|
901
|
+
"created_at",
|
|
902
|
+
"updated_at"
|
|
903
|
+
],
|
|
904
|
+
"metaschema_public.view_behavior": [
|
|
905
|
+
"created_at",
|
|
906
|
+
"updated_at"
|
|
907
|
+
],
|
|
762
908
|
"routing_public.api_schemas": [
|
|
763
909
|
"created_at",
|
|
764
910
|
"updated_at"
|
|
@@ -811,6 +957,18 @@
|
|
|
811
957
|
"created_at",
|
|
812
958
|
"updated_at"
|
|
813
959
|
],
|
|
960
|
+
"routing_public.site_app_links": [
|
|
961
|
+
"created_at",
|
|
962
|
+
"updated_at"
|
|
963
|
+
],
|
|
964
|
+
"routing_public.site_deep_links": [
|
|
965
|
+
"created_at",
|
|
966
|
+
"updated_at"
|
|
967
|
+
],
|
|
968
|
+
"routing_public.site_error_pages": [
|
|
969
|
+
"created_at",
|
|
970
|
+
"updated_at"
|
|
971
|
+
],
|
|
814
972
|
"routing_public.site_metadata": [
|
|
815
973
|
"created_at",
|
|
816
974
|
"updated_at"
|
|
@@ -823,6 +981,10 @@
|
|
|
823
981
|
"created_at",
|
|
824
982
|
"updated_at"
|
|
825
983
|
],
|
|
984
|
+
"routing_public.site_web_configs": [
|
|
985
|
+
"created_at",
|
|
986
|
+
"updated_at"
|
|
987
|
+
],
|
|
826
988
|
"routing_public.sites": [
|
|
827
989
|
"created_at",
|
|
828
990
|
"updated_at"
|
package/export-graphql-meta.js
CHANGED
|
@@ -4,8 +4,8 @@ exports.exportGraphQLMeta = void 0;
|
|
|
4
4
|
/**
|
|
5
5
|
* GraphQL equivalent of export-meta.ts.
|
|
6
6
|
*
|
|
7
|
-
* Fetches metadata from metaschema_public,
|
|
8
|
-
*
|
|
7
|
+
* Fetches metadata from metaschema_public, routing_public,
|
|
8
|
+
* apps_public, and metaschema_modules_public
|
|
9
9
|
* via GraphQL queries instead of direct SQL, then uses the same csv-to-pg Parser to
|
|
10
10
|
* generate SQL INSERT statements.
|
|
11
11
|
*/
|
|
@@ -107,7 +107,7 @@ const exportGraphQLMeta = async ({ client, database_id }) => {
|
|
|
107
107
|
const tableConfig = export_utils_1.META_TABLE_CONFIG[key];
|
|
108
108
|
if (!tableConfig)
|
|
109
109
|
return;
|
|
110
|
-
// Schema-qualified manifest keys (e.g.
|
|
110
|
+
// Schema-qualified manifest keys (e.g. catalog_private.apis)
|
|
111
111
|
// mark tables whose name collides with a table in another plane. GraphQL
|
|
112
112
|
// type/query names are derived from the bare table name, so these cannot
|
|
113
113
|
// be addressed unambiguously through the meta API — only the SQL flow
|
package/export-migrations.d.ts
CHANGED
|
@@ -27,7 +27,7 @@ interface ExportOptions {
|
|
|
27
27
|
serviceOutdir?: string;
|
|
28
28
|
/**
|
|
29
29
|
* Skip schema name replacement for infrastructure schemas.
|
|
30
|
-
* When true, schema names like metaschema_public,
|
|
30
|
+
* When true, schema names like metaschema_public, routing_public will not be renamed.
|
|
31
31
|
* Useful for self-referential introspection where you want to apply policies to real schemas.
|
|
32
32
|
*/
|
|
33
33
|
skipSchemaRenaming?: boolean;
|
package/export-migrations.js
CHANGED
|
@@ -27,7 +27,7 @@ const exportMigrationsToDisk = async ({ project, options, database, databaseId,
|
|
|
27
27
|
const name = extensionName || db.rows[0].name;
|
|
28
28
|
// When skipSchemaRenaming is true, pass empty schemas array to avoid renaming
|
|
29
29
|
// This is useful for self-referential introspection where you want to apply
|
|
30
|
-
// policies to real infrastructure schemas (metaschema_public,
|
|
30
|
+
// policies to real infrastructure schemas (metaschema_public, routing_public, etc.)
|
|
31
31
|
const schemasForReplacement = skipSchemaRenaming
|
|
32
32
|
? []
|
|
33
33
|
: schemas.rows.filter((schema) => schema_names.includes(schema.schema_name));
|
package/graphql-naming.js
CHANGED
|
@@ -12,8 +12,8 @@ exports.getGraphQLTypeName = exports.mapGraphQLTypeToFieldType = exports.unwrapG
|
|
|
12
12
|
* Examples:
|
|
13
13
|
* metaschema_public.database -> databases (query), Database (type)
|
|
14
14
|
* metaschema_public.foreign_key_constraint -> foreignKeyConstraints
|
|
15
|
-
*
|
|
16
|
-
*
|
|
15
|
+
* routing_public.api_schemas -> apiSchemas
|
|
16
|
+
* apps_public.apps -> apps
|
|
17
17
|
* metaschema_modules_public.api_surface_module -> apiSurfaceModules
|
|
18
18
|
* db_migrate.sql_actions -> sqlActions
|
|
19
19
|
* column database_id -> databaseId
|
package/meta-export-tables.json
CHANGED
|
@@ -66,6 +66,11 @@
|
|
|
66
66
|
"schema": "metaschema_public",
|
|
67
67
|
"table": "check_constraint"
|
|
68
68
|
},
|
|
69
|
+
{
|
|
70
|
+
"key": "derives",
|
|
71
|
+
"schema": "metaschema_public",
|
|
72
|
+
"table": "derives"
|
|
73
|
+
},
|
|
69
74
|
{
|
|
70
75
|
"key": "exclusion_constraint",
|
|
71
76
|
"schema": "metaschema_public",
|
|
@@ -101,6 +106,11 @@
|
|
|
101
106
|
"schema": "metaschema_public",
|
|
102
107
|
"table": "primary_key_constraint"
|
|
103
108
|
},
|
|
109
|
+
{
|
|
110
|
+
"key": "table_behavior",
|
|
111
|
+
"schema": "metaschema_public",
|
|
112
|
+
"table": "table_behavior"
|
|
113
|
+
},
|
|
104
114
|
{
|
|
105
115
|
"key": "table_grant",
|
|
106
116
|
"schema": "metaschema_public",
|
|
@@ -321,6 +331,11 @@
|
|
|
321
331
|
"schema": "metaschema_modules_public",
|
|
322
332
|
"table": "rls_module"
|
|
323
333
|
},
|
|
334
|
+
{
|
|
335
|
+
"key": "scope_types_module",
|
|
336
|
+
"schema": "metaschema_modules_public",
|
|
337
|
+
"table": "scope_types_module"
|
|
338
|
+
},
|
|
324
339
|
{
|
|
325
340
|
"key": "secure_table_provision",
|
|
326
341
|
"schema": "metaschema_modules_public",
|
|
@@ -391,11 +406,31 @@
|
|
|
391
406
|
"schema": "metaschema_public",
|
|
392
407
|
"table": "embedding_chunks"
|
|
393
408
|
},
|
|
409
|
+
{
|
|
410
|
+
"key": "field_behavior",
|
|
411
|
+
"schema": "metaschema_public",
|
|
412
|
+
"table": "field_behavior"
|
|
413
|
+
},
|
|
414
|
+
{
|
|
415
|
+
"key": "foreign_key_constraint_behavior",
|
|
416
|
+
"schema": "metaschema_public",
|
|
417
|
+
"table": "foreign_key_constraint_behavior"
|
|
418
|
+
},
|
|
394
419
|
{
|
|
395
420
|
"key": "spatial_relation",
|
|
396
421
|
"schema": "metaschema_public",
|
|
397
422
|
"table": "spatial_relation"
|
|
398
423
|
},
|
|
424
|
+
{
|
|
425
|
+
"key": "unique_constraint_behavior",
|
|
426
|
+
"schema": "metaschema_public",
|
|
427
|
+
"table": "unique_constraint_behavior"
|
|
428
|
+
},
|
|
429
|
+
{
|
|
430
|
+
"key": "view_behavior",
|
|
431
|
+
"schema": "metaschema_public",
|
|
432
|
+
"table": "view_behavior"
|
|
433
|
+
},
|
|
399
434
|
{
|
|
400
435
|
"key": "view_grant",
|
|
401
436
|
"schema": "metaschema_public",
|
|
@@ -476,6 +511,11 @@
|
|
|
476
511
|
"schema": "metaschema_modules_public",
|
|
477
512
|
"table": "http_route_module"
|
|
478
513
|
},
|
|
514
|
+
{
|
|
515
|
+
"key": "pages_module",
|
|
516
|
+
"schema": "metaschema_modules_public",
|
|
517
|
+
"table": "pages_module"
|
|
518
|
+
},
|
|
479
519
|
{
|
|
480
520
|
"key": "route_module",
|
|
481
521
|
"schema": "metaschema_modules_public",
|
|
@@ -531,6 +571,11 @@
|
|
|
531
571
|
"schema": "routing_public",
|
|
532
572
|
"table": "managed_domains"
|
|
533
573
|
},
|
|
574
|
+
{
|
|
575
|
+
"key": "pages",
|
|
576
|
+
"schema": "routing_public",
|
|
577
|
+
"table": "pages"
|
|
578
|
+
},
|
|
534
579
|
{
|
|
535
580
|
"key": "pubkey_settings",
|
|
536
581
|
"schema": "routing_public",
|
|
@@ -546,6 +591,21 @@
|
|
|
546
591
|
"schema": "routing_public",
|
|
547
592
|
"table": "routes"
|
|
548
593
|
},
|
|
594
|
+
{
|
|
595
|
+
"key": "site_app_links",
|
|
596
|
+
"schema": "routing_public",
|
|
597
|
+
"table": "site_app_links"
|
|
598
|
+
},
|
|
599
|
+
{
|
|
600
|
+
"key": "site_deep_links",
|
|
601
|
+
"schema": "routing_public",
|
|
602
|
+
"table": "site_deep_links"
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
"key": "site_error_pages",
|
|
606
|
+
"schema": "routing_public",
|
|
607
|
+
"table": "site_error_pages"
|
|
608
|
+
},
|
|
549
609
|
{
|
|
550
610
|
"key": "site_metadata",
|
|
551
611
|
"schema": "routing_public",
|
|
@@ -561,6 +621,11 @@
|
|
|
561
621
|
"schema": "routing_public",
|
|
562
622
|
"table": "site_themes"
|
|
563
623
|
},
|
|
624
|
+
{
|
|
625
|
+
"key": "site_web_configs",
|
|
626
|
+
"schema": "routing_public",
|
|
627
|
+
"table": "site_web_configs"
|
|
628
|
+
},
|
|
564
629
|
{
|
|
565
630
|
"key": "sites",
|
|
566
631
|
"schema": "routing_public",
|
|
@@ -582,49 +647,79 @@
|
|
|
582
647
|
"table": "apps"
|
|
583
648
|
},
|
|
584
649
|
{
|
|
585
|
-
"key": "
|
|
586
|
-
"schema": "
|
|
650
|
+
"key": "catalog_private.apis",
|
|
651
|
+
"schema": "catalog_private",
|
|
587
652
|
"table": "apis"
|
|
588
653
|
},
|
|
589
654
|
{
|
|
590
|
-
"key": "
|
|
591
|
-
"schema": "
|
|
655
|
+
"key": "catalog_private.apps",
|
|
656
|
+
"schema": "catalog_private",
|
|
592
657
|
"table": "apps"
|
|
593
658
|
},
|
|
594
659
|
{
|
|
595
|
-
"key": "
|
|
596
|
-
"schema": "
|
|
660
|
+
"key": "bindings",
|
|
661
|
+
"schema": "catalog_private",
|
|
662
|
+
"table": "bindings"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"key": "buckets",
|
|
666
|
+
"schema": "catalog_private",
|
|
667
|
+
"table": "buckets"
|
|
668
|
+
},
|
|
669
|
+
{
|
|
670
|
+
"key": "catalog_private.domains",
|
|
671
|
+
"schema": "catalog_private",
|
|
597
672
|
"table": "domains"
|
|
598
673
|
},
|
|
599
674
|
{
|
|
600
675
|
"key": "functions",
|
|
601
|
-
"schema": "
|
|
676
|
+
"schema": "catalog_private",
|
|
602
677
|
"table": "functions"
|
|
603
678
|
},
|
|
604
679
|
{
|
|
605
680
|
"key": "namespaces",
|
|
606
|
-
"schema": "
|
|
681
|
+
"schema": "catalog_private",
|
|
607
682
|
"table": "namespaces"
|
|
608
683
|
},
|
|
609
684
|
{
|
|
610
685
|
"key": "resource_definitions",
|
|
611
|
-
"schema": "
|
|
686
|
+
"schema": "catalog_private",
|
|
612
687
|
"table": "resource_definitions"
|
|
613
688
|
},
|
|
614
689
|
{
|
|
615
690
|
"key": "resource_installations",
|
|
616
|
-
"schema": "
|
|
691
|
+
"schema": "catalog_private",
|
|
617
692
|
"table": "resource_installations"
|
|
618
693
|
},
|
|
619
694
|
{
|
|
620
695
|
"key": "resources",
|
|
621
|
-
"schema": "
|
|
696
|
+
"schema": "catalog_private",
|
|
622
697
|
"table": "resources"
|
|
623
698
|
},
|
|
624
699
|
{
|
|
625
|
-
"key": "
|
|
626
|
-
"schema": "
|
|
700
|
+
"key": "catalog_private.sites",
|
|
701
|
+
"schema": "catalog_private",
|
|
627
702
|
"table": "sites"
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
"key": "sites_app_links",
|
|
706
|
+
"schema": "catalog_private",
|
|
707
|
+
"table": "sites_app_links"
|
|
708
|
+
},
|
|
709
|
+
{
|
|
710
|
+
"key": "sites_deep_links",
|
|
711
|
+
"schema": "catalog_private",
|
|
712
|
+
"table": "sites_deep_links"
|
|
713
|
+
},
|
|
714
|
+
{
|
|
715
|
+
"key": "sites_error_pages",
|
|
716
|
+
"schema": "catalog_private",
|
|
717
|
+
"table": "sites_error_pages"
|
|
718
|
+
},
|
|
719
|
+
{
|
|
720
|
+
"key": "sites_web_config",
|
|
721
|
+
"schema": "catalog_private",
|
|
722
|
+
"table": "sites_web_config"
|
|
628
723
|
}
|
|
629
724
|
],
|
|
630
725
|
"timestampDefaultColumns": {
|
|
@@ -636,39 +731,63 @@
|
|
|
636
731
|
"created_at",
|
|
637
732
|
"updated_at"
|
|
638
733
|
],
|
|
639
|
-
"
|
|
734
|
+
"catalog_private.apis": [
|
|
640
735
|
"created_at",
|
|
641
736
|
"updated_at"
|
|
642
737
|
],
|
|
643
|
-
"
|
|
738
|
+
"catalog_private.apps": [
|
|
644
739
|
"created_at",
|
|
645
740
|
"updated_at"
|
|
646
741
|
],
|
|
647
|
-
"
|
|
742
|
+
"catalog_private.bindings": [
|
|
648
743
|
"created_at",
|
|
649
744
|
"updated_at"
|
|
650
745
|
],
|
|
651
|
-
"
|
|
746
|
+
"catalog_private.buckets": [
|
|
652
747
|
"created_at",
|
|
653
748
|
"updated_at"
|
|
654
749
|
],
|
|
655
|
-
"
|
|
750
|
+
"catalog_private.domains": [
|
|
656
751
|
"created_at",
|
|
657
752
|
"updated_at"
|
|
658
753
|
],
|
|
659
|
-
"
|
|
754
|
+
"catalog_private.functions": [
|
|
660
755
|
"created_at",
|
|
661
756
|
"updated_at"
|
|
662
757
|
],
|
|
663
|
-
"
|
|
758
|
+
"catalog_private.namespaces": [
|
|
664
759
|
"created_at",
|
|
665
760
|
"updated_at"
|
|
666
761
|
],
|
|
667
|
-
"
|
|
762
|
+
"catalog_private.resource_definitions": [
|
|
668
763
|
"created_at",
|
|
669
764
|
"updated_at"
|
|
670
765
|
],
|
|
671
|
-
"
|
|
766
|
+
"catalog_private.resource_installations": [
|
|
767
|
+
"created_at",
|
|
768
|
+
"updated_at"
|
|
769
|
+
],
|
|
770
|
+
"catalog_private.resources": [
|
|
771
|
+
"created_at",
|
|
772
|
+
"updated_at"
|
|
773
|
+
],
|
|
774
|
+
"catalog_private.sites": [
|
|
775
|
+
"created_at",
|
|
776
|
+
"updated_at"
|
|
777
|
+
],
|
|
778
|
+
"catalog_private.sites_app_links": [
|
|
779
|
+
"created_at",
|
|
780
|
+
"updated_at"
|
|
781
|
+
],
|
|
782
|
+
"catalog_private.sites_deep_links": [
|
|
783
|
+
"created_at",
|
|
784
|
+
"updated_at"
|
|
785
|
+
],
|
|
786
|
+
"catalog_private.sites_error_pages": [
|
|
787
|
+
"created_at",
|
|
788
|
+
"updated_at"
|
|
789
|
+
],
|
|
790
|
+
"catalog_private.sites_web_config": [
|
|
672
791
|
"created_at",
|
|
673
792
|
"updated_at"
|
|
674
793
|
],
|
|
@@ -687,6 +806,9 @@
|
|
|
687
806
|
"metaschema_modules_public.merkle_store_module": [
|
|
688
807
|
"created_at"
|
|
689
808
|
],
|
|
809
|
+
"metaschema_modules_public.pages_module": [
|
|
810
|
+
"created_at"
|
|
811
|
+
],
|
|
690
812
|
"metaschema_public.check_constraint": [
|
|
691
813
|
"created_at",
|
|
692
814
|
"updated_at"
|
|
@@ -695,6 +817,10 @@
|
|
|
695
817
|
"created_at",
|
|
696
818
|
"updated_at"
|
|
697
819
|
],
|
|
820
|
+
"metaschema_public.derives": [
|
|
821
|
+
"created_at",
|
|
822
|
+
"updated_at"
|
|
823
|
+
],
|
|
698
824
|
"metaschema_public.embedding_chunks": [
|
|
699
825
|
"created_at",
|
|
700
826
|
"updated_at"
|
|
@@ -707,10 +833,18 @@
|
|
|
707
833
|
"created_at",
|
|
708
834
|
"updated_at"
|
|
709
835
|
],
|
|
836
|
+
"metaschema_public.field_behavior": [
|
|
837
|
+
"created_at",
|
|
838
|
+
"updated_at"
|
|
839
|
+
],
|
|
710
840
|
"metaschema_public.foreign_key_constraint": [
|
|
711
841
|
"created_at",
|
|
712
842
|
"updated_at"
|
|
713
843
|
],
|
|
844
|
+
"metaschema_public.foreign_key_constraint_behavior": [
|
|
845
|
+
"created_at",
|
|
846
|
+
"updated_at"
|
|
847
|
+
],
|
|
714
848
|
"metaschema_public.full_text_search": [
|
|
715
849
|
"created_at",
|
|
716
850
|
"updated_at"
|
|
@@ -743,6 +877,10 @@
|
|
|
743
877
|
"created_at",
|
|
744
878
|
"updated_at"
|
|
745
879
|
],
|
|
880
|
+
"metaschema_public.table_behavior": [
|
|
881
|
+
"created_at",
|
|
882
|
+
"updated_at"
|
|
883
|
+
],
|
|
746
884
|
"metaschema_public.table_grant": [
|
|
747
885
|
"created_at",
|
|
748
886
|
"updated_at"
|
|
@@ -759,6 +897,14 @@
|
|
|
759
897
|
"created_at",
|
|
760
898
|
"updated_at"
|
|
761
899
|
],
|
|
900
|
+
"metaschema_public.unique_constraint_behavior": [
|
|
901
|
+
"created_at",
|
|
902
|
+
"updated_at"
|
|
903
|
+
],
|
|
904
|
+
"metaschema_public.view_behavior": [
|
|
905
|
+
"created_at",
|
|
906
|
+
"updated_at"
|
|
907
|
+
],
|
|
762
908
|
"routing_public.api_schemas": [
|
|
763
909
|
"created_at",
|
|
764
910
|
"updated_at"
|
|
@@ -811,6 +957,18 @@
|
|
|
811
957
|
"created_at",
|
|
812
958
|
"updated_at"
|
|
813
959
|
],
|
|
960
|
+
"routing_public.site_app_links": [
|
|
961
|
+
"created_at",
|
|
962
|
+
"updated_at"
|
|
963
|
+
],
|
|
964
|
+
"routing_public.site_deep_links": [
|
|
965
|
+
"created_at",
|
|
966
|
+
"updated_at"
|
|
967
|
+
],
|
|
968
|
+
"routing_public.site_error_pages": [
|
|
969
|
+
"created_at",
|
|
970
|
+
"updated_at"
|
|
971
|
+
],
|
|
814
972
|
"routing_public.site_metadata": [
|
|
815
973
|
"created_at",
|
|
816
974
|
"updated_at"
|
|
@@ -823,6 +981,10 @@
|
|
|
823
981
|
"created_at",
|
|
824
982
|
"updated_at"
|
|
825
983
|
],
|
|
984
|
+
"routing_public.site_web_configs": [
|
|
985
|
+
"created_at",
|
|
986
|
+
"updated_at"
|
|
987
|
+
],
|
|
826
988
|
"routing_public.sites": [
|
|
827
989
|
"created_at",
|
|
828
990
|
"updated_at"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgpmjs/export",
|
|
3
|
-
"version": "1.16.
|
|
3
|
+
"version": "1.16.4",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "PGPM export tools for SQL and GraphQL database migration extraction",
|
|
6
6
|
"main": "index.js",
|
|
@@ -39,24 +39,24 @@
|
|
|
39
39
|
],
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@pgsql/types": "^18.0.0",
|
|
42
|
-
"@types/pg": "^8.20.
|
|
42
|
+
"@types/pg": "^8.20.4",
|
|
43
43
|
"makage": "^0.3.0",
|
|
44
|
-
"pgsql-test": "^5.10.
|
|
44
|
+
"pgsql-test": "^5.10.4"
|
|
45
45
|
},
|
|
46
46
|
"dependencies": {
|
|
47
47
|
"@constructive-io/query-builder": "^3.10.1",
|
|
48
|
-
"@pgpmjs/core": "^7.
|
|
49
|
-
"@pgpmjs/migrate-client": "^1.11.
|
|
48
|
+
"@pgpmjs/core": "^7.25.1",
|
|
49
|
+
"@pgpmjs/migrate-client": "^1.11.4",
|
|
50
50
|
"@pgpmjs/naming-spec": "^0.3.0",
|
|
51
|
-
"@pgpmjs/transform": "^0.23.
|
|
52
|
-
"@pgpmjs/types": "^2.50.
|
|
53
|
-
"csv-to-pg": "^4.10.
|
|
51
|
+
"@pgpmjs/transform": "^0.23.2",
|
|
52
|
+
"@pgpmjs/types": "^2.50.3",
|
|
53
|
+
"csv-to-pg": "^4.10.2",
|
|
54
54
|
"glob": "^13.0.6",
|
|
55
55
|
"inflekt": "^0.7.1",
|
|
56
|
-
"inquirerer": "^4.9.
|
|
56
|
+
"inquirerer": "^4.9.3",
|
|
57
57
|
"pg": "^8.21.0",
|
|
58
|
-
"pg-cache": "^3.25.
|
|
59
|
-
"pg-env": "^1.29.
|
|
58
|
+
"pg-cache": "^3.25.3",
|
|
59
|
+
"pg-env": "^1.29.1"
|
|
60
60
|
},
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "0d9f0718a8c768cc8b7659525953dc762833bd6b"
|
|
62
62
|
}
|