@pgpmjs/export 1.16.3 → 1.16.5

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.
@@ -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. catalog_public.apis)
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
@@ -331,6 +331,11 @@
331
331
  "schema": "metaschema_modules_public",
332
332
  "table": "rls_module"
333
333
  },
334
+ {
335
+ "key": "scope_types_module",
336
+ "schema": "metaschema_modules_public",
337
+ "table": "scope_types_module"
338
+ },
334
339
  {
335
340
  "key": "secure_table_provision",
336
341
  "schema": "metaschema_modules_public",
@@ -642,73 +647,78 @@
642
647
  "table": "apps"
643
648
  },
644
649
  {
645
- "key": "catalog_public.apis",
646
- "schema": "catalog_public",
650
+ "key": "catalog_private.apis",
651
+ "schema": "catalog_private",
647
652
  "table": "apis"
648
653
  },
649
654
  {
650
- "key": "catalog_public.apps",
651
- "schema": "catalog_public",
655
+ "key": "catalog_private.apps",
656
+ "schema": "catalog_private",
652
657
  "table": "apps"
653
658
  },
659
+ {
660
+ "key": "bindings",
661
+ "schema": "catalog_private",
662
+ "table": "bindings"
663
+ },
654
664
  {
655
665
  "key": "buckets",
656
- "schema": "catalog_public",
666
+ "schema": "catalog_private",
657
667
  "table": "buckets"
658
668
  },
659
669
  {
660
- "key": "catalog_public.domains",
661
- "schema": "catalog_public",
670
+ "key": "catalog_private.domains",
671
+ "schema": "catalog_private",
662
672
  "table": "domains"
663
673
  },
664
674
  {
665
675
  "key": "functions",
666
- "schema": "catalog_public",
676
+ "schema": "catalog_private",
667
677
  "table": "functions"
668
678
  },
669
679
  {
670
680
  "key": "namespaces",
671
- "schema": "catalog_public",
681
+ "schema": "catalog_private",
672
682
  "table": "namespaces"
673
683
  },
674
684
  {
675
685
  "key": "resource_definitions",
676
- "schema": "catalog_public",
686
+ "schema": "catalog_private",
677
687
  "table": "resource_definitions"
678
688
  },
679
689
  {
680
690
  "key": "resource_installations",
681
- "schema": "catalog_public",
691
+ "schema": "catalog_private",
682
692
  "table": "resource_installations"
683
693
  },
684
694
  {
685
695
  "key": "resources",
686
- "schema": "catalog_public",
696
+ "schema": "catalog_private",
687
697
  "table": "resources"
688
698
  },
689
699
  {
690
- "key": "catalog_public.sites",
691
- "schema": "catalog_public",
700
+ "key": "catalog_private.sites",
701
+ "schema": "catalog_private",
692
702
  "table": "sites"
693
703
  },
694
704
  {
695
705
  "key": "sites_app_links",
696
- "schema": "catalog_public",
706
+ "schema": "catalog_private",
697
707
  "table": "sites_app_links"
698
708
  },
699
709
  {
700
710
  "key": "sites_deep_links",
701
- "schema": "catalog_public",
711
+ "schema": "catalog_private",
702
712
  "table": "sites_deep_links"
703
713
  },
704
714
  {
705
715
  "key": "sites_error_pages",
706
- "schema": "catalog_public",
716
+ "schema": "catalog_private",
707
717
  "table": "sites_error_pages"
708
718
  },
709
719
  {
710
720
  "key": "sites_web_config",
711
- "schema": "catalog_public",
721
+ "schema": "catalog_private",
712
722
  "table": "sites_web_config"
713
723
  }
714
724
  ],
@@ -721,59 +731,63 @@
721
731
  "created_at",
722
732
  "updated_at"
723
733
  ],
724
- "catalog_public.apis": [
734
+ "catalog_private.apis": [
735
+ "created_at",
736
+ "updated_at"
737
+ ],
738
+ "catalog_private.apps": [
725
739
  "created_at",
726
740
  "updated_at"
727
741
  ],
728
- "catalog_public.apps": [
742
+ "catalog_private.bindings": [
729
743
  "created_at",
730
744
  "updated_at"
731
745
  ],
732
- "catalog_public.buckets": [
746
+ "catalog_private.buckets": [
733
747
  "created_at",
734
748
  "updated_at"
735
749
  ],
736
- "catalog_public.domains": [
750
+ "catalog_private.domains": [
737
751
  "created_at",
738
752
  "updated_at"
739
753
  ],
740
- "catalog_public.functions": [
754
+ "catalog_private.functions": [
741
755
  "created_at",
742
756
  "updated_at"
743
757
  ],
744
- "catalog_public.namespaces": [
758
+ "catalog_private.namespaces": [
745
759
  "created_at",
746
760
  "updated_at"
747
761
  ],
748
- "catalog_public.resource_definitions": [
762
+ "catalog_private.resource_definitions": [
749
763
  "created_at",
750
764
  "updated_at"
751
765
  ],
752
- "catalog_public.resource_installations": [
766
+ "catalog_private.resource_installations": [
753
767
  "created_at",
754
768
  "updated_at"
755
769
  ],
756
- "catalog_public.resources": [
770
+ "catalog_private.resources": [
757
771
  "created_at",
758
772
  "updated_at"
759
773
  ],
760
- "catalog_public.sites": [
774
+ "catalog_private.sites": [
761
775
  "created_at",
762
776
  "updated_at"
763
777
  ],
764
- "catalog_public.sites_app_links": [
778
+ "catalog_private.sites_app_links": [
765
779
  "created_at",
766
780
  "updated_at"
767
781
  ],
768
- "catalog_public.sites_deep_links": [
782
+ "catalog_private.sites_deep_links": [
769
783
  "created_at",
770
784
  "updated_at"
771
785
  ],
772
- "catalog_public.sites_error_pages": [
786
+ "catalog_private.sites_error_pages": [
773
787
  "created_at",
774
788
  "updated_at"
775
789
  ],
776
- "catalog_public.sites_web_config": [
790
+ "catalog_private.sites_web_config": [
777
791
  "created_at",
778
792
  "updated_at"
779
793
  ],
@@ -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. catalog_public.apis)
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
@@ -331,6 +331,11 @@
331
331
  "schema": "metaschema_modules_public",
332
332
  "table": "rls_module"
333
333
  },
334
+ {
335
+ "key": "scope_types_module",
336
+ "schema": "metaschema_modules_public",
337
+ "table": "scope_types_module"
338
+ },
334
339
  {
335
340
  "key": "secure_table_provision",
336
341
  "schema": "metaschema_modules_public",
@@ -642,73 +647,78 @@
642
647
  "table": "apps"
643
648
  },
644
649
  {
645
- "key": "catalog_public.apis",
646
- "schema": "catalog_public",
650
+ "key": "catalog_private.apis",
651
+ "schema": "catalog_private",
647
652
  "table": "apis"
648
653
  },
649
654
  {
650
- "key": "catalog_public.apps",
651
- "schema": "catalog_public",
655
+ "key": "catalog_private.apps",
656
+ "schema": "catalog_private",
652
657
  "table": "apps"
653
658
  },
659
+ {
660
+ "key": "bindings",
661
+ "schema": "catalog_private",
662
+ "table": "bindings"
663
+ },
654
664
  {
655
665
  "key": "buckets",
656
- "schema": "catalog_public",
666
+ "schema": "catalog_private",
657
667
  "table": "buckets"
658
668
  },
659
669
  {
660
- "key": "catalog_public.domains",
661
- "schema": "catalog_public",
670
+ "key": "catalog_private.domains",
671
+ "schema": "catalog_private",
662
672
  "table": "domains"
663
673
  },
664
674
  {
665
675
  "key": "functions",
666
- "schema": "catalog_public",
676
+ "schema": "catalog_private",
667
677
  "table": "functions"
668
678
  },
669
679
  {
670
680
  "key": "namespaces",
671
- "schema": "catalog_public",
681
+ "schema": "catalog_private",
672
682
  "table": "namespaces"
673
683
  },
674
684
  {
675
685
  "key": "resource_definitions",
676
- "schema": "catalog_public",
686
+ "schema": "catalog_private",
677
687
  "table": "resource_definitions"
678
688
  },
679
689
  {
680
690
  "key": "resource_installations",
681
- "schema": "catalog_public",
691
+ "schema": "catalog_private",
682
692
  "table": "resource_installations"
683
693
  },
684
694
  {
685
695
  "key": "resources",
686
- "schema": "catalog_public",
696
+ "schema": "catalog_private",
687
697
  "table": "resources"
688
698
  },
689
699
  {
690
- "key": "catalog_public.sites",
691
- "schema": "catalog_public",
700
+ "key": "catalog_private.sites",
701
+ "schema": "catalog_private",
692
702
  "table": "sites"
693
703
  },
694
704
  {
695
705
  "key": "sites_app_links",
696
- "schema": "catalog_public",
706
+ "schema": "catalog_private",
697
707
  "table": "sites_app_links"
698
708
  },
699
709
  {
700
710
  "key": "sites_deep_links",
701
- "schema": "catalog_public",
711
+ "schema": "catalog_private",
702
712
  "table": "sites_deep_links"
703
713
  },
704
714
  {
705
715
  "key": "sites_error_pages",
706
- "schema": "catalog_public",
716
+ "schema": "catalog_private",
707
717
  "table": "sites_error_pages"
708
718
  },
709
719
  {
710
720
  "key": "sites_web_config",
711
- "schema": "catalog_public",
721
+ "schema": "catalog_private",
712
722
  "table": "sites_web_config"
713
723
  }
714
724
  ],
@@ -721,59 +731,63 @@
721
731
  "created_at",
722
732
  "updated_at"
723
733
  ],
724
- "catalog_public.apis": [
734
+ "catalog_private.apis": [
735
+ "created_at",
736
+ "updated_at"
737
+ ],
738
+ "catalog_private.apps": [
725
739
  "created_at",
726
740
  "updated_at"
727
741
  ],
728
- "catalog_public.apps": [
742
+ "catalog_private.bindings": [
729
743
  "created_at",
730
744
  "updated_at"
731
745
  ],
732
- "catalog_public.buckets": [
746
+ "catalog_private.buckets": [
733
747
  "created_at",
734
748
  "updated_at"
735
749
  ],
736
- "catalog_public.domains": [
750
+ "catalog_private.domains": [
737
751
  "created_at",
738
752
  "updated_at"
739
753
  ],
740
- "catalog_public.functions": [
754
+ "catalog_private.functions": [
741
755
  "created_at",
742
756
  "updated_at"
743
757
  ],
744
- "catalog_public.namespaces": [
758
+ "catalog_private.namespaces": [
745
759
  "created_at",
746
760
  "updated_at"
747
761
  ],
748
- "catalog_public.resource_definitions": [
762
+ "catalog_private.resource_definitions": [
749
763
  "created_at",
750
764
  "updated_at"
751
765
  ],
752
- "catalog_public.resource_installations": [
766
+ "catalog_private.resource_installations": [
753
767
  "created_at",
754
768
  "updated_at"
755
769
  ],
756
- "catalog_public.resources": [
770
+ "catalog_private.resources": [
757
771
  "created_at",
758
772
  "updated_at"
759
773
  ],
760
- "catalog_public.sites": [
774
+ "catalog_private.sites": [
761
775
  "created_at",
762
776
  "updated_at"
763
777
  ],
764
- "catalog_public.sites_app_links": [
778
+ "catalog_private.sites_app_links": [
765
779
  "created_at",
766
780
  "updated_at"
767
781
  ],
768
- "catalog_public.sites_deep_links": [
782
+ "catalog_private.sites_deep_links": [
769
783
  "created_at",
770
784
  "updated_at"
771
785
  ],
772
- "catalog_public.sites_error_pages": [
786
+ "catalog_private.sites_error_pages": [
773
787
  "created_at",
774
788
  "updated_at"
775
789
  ],
776
- "catalog_public.sites_web_config": [
790
+ "catalog_private.sites_web_config": [
777
791
  "created_at",
778
792
  "updated_at"
779
793
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgpmjs/export",
3
- "version": "1.16.3",
3
+ "version": "1.16.5",
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.0",
42
+ "@types/pg": "^8.20.4",
43
43
  "makage": "^0.3.0",
44
- "pgsql-test": "^5.10.3"
44
+ "pgsql-test": "^5.10.5"
45
45
  },
46
46
  "dependencies": {
47
- "@constructive-io/query-builder": "^3.10.1",
48
- "@pgpmjs/core": "^7.25.0",
49
- "@pgpmjs/migrate-client": "^1.11.3",
47
+ "@constructive-io/query-builder": "^3.10.2",
48
+ "@pgpmjs/core": "^7.25.2",
49
+ "@pgpmjs/migrate-client": "^1.11.5",
50
50
  "@pgpmjs/naming-spec": "^0.3.0",
51
- "@pgpmjs/transform": "^0.23.1",
52
- "@pgpmjs/types": "^2.50.2",
53
- "csv-to-pg": "^4.10.2",
51
+ "@pgpmjs/transform": "^0.23.3",
52
+ "@pgpmjs/types": "^2.50.3",
53
+ "csv-to-pg": "^4.10.3",
54
54
  "glob": "^13.0.6",
55
- "inflekt": "^0.7.1",
55
+ "inflekt": "^0.8.0",
56
56
  "inquirerer": "^4.9.3",
57
57
  "pg": "^8.21.0",
58
- "pg-cache": "^3.25.2",
59
- "pg-env": "^1.29.0"
58
+ "pg-cache": "^3.25.4",
59
+ "pg-env": "^1.29.1"
60
60
  },
61
- "gitHead": "43121004a8bedd2c5fcf7bf33208079d55bad01f"
61
+ "gitHead": "905c4c530f09ac15621b554225be060609a4a0a3"
62
62
  }