@pgpmjs/core 4.14.0 → 4.15.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.
@@ -149,7 +149,7 @@ const config = {
149
149
  privilege: 'text',
150
150
  permissive: 'boolean',
151
151
  disabled: 'boolean',
152
- template: 'text',
152
+ policy_type: 'text',
153
153
  data: 'jsonb'
154
154
  }
155
155
  },
@@ -822,11 +822,65 @@ const config = {
822
822
  private_schema_id: 'uuid',
823
823
  table_id: 'uuid',
824
824
  field_id: 'uuid',
825
+ node_type: 'text',
825
826
  data: 'jsonb',
826
827
  triggers: 'text[]',
827
828
  functions: 'text[]'
828
829
  }
829
830
  },
831
+ table_module: {
832
+ schema: 'metaschema_modules_public',
833
+ table: 'table_module',
834
+ fields: {
835
+ id: 'uuid',
836
+ database_id: 'uuid',
837
+ private_schema_id: 'uuid',
838
+ table_id: 'uuid',
839
+ node_type: 'text',
840
+ data: 'jsonb',
841
+ fields: 'uuid[]'
842
+ }
843
+ },
844
+ user_profiles_module: {
845
+ schema: 'metaschema_modules_public',
846
+ table: 'user_profiles_module',
847
+ fields: {
848
+ id: 'uuid',
849
+ database_id: 'uuid',
850
+ schema_id: 'uuid',
851
+ private_schema_id: 'uuid',
852
+ table_id: 'uuid',
853
+ table_name: 'text',
854
+ users_table_id: 'uuid'
855
+ }
856
+ },
857
+ user_settings_module: {
858
+ schema: 'metaschema_modules_public',
859
+ table: 'user_settings_module',
860
+ fields: {
861
+ id: 'uuid',
862
+ database_id: 'uuid',
863
+ schema_id: 'uuid',
864
+ private_schema_id: 'uuid',
865
+ table_id: 'uuid',
866
+ table_name: 'text',
867
+ users_table_id: 'uuid'
868
+ }
869
+ },
870
+ organization_settings_module: {
871
+ schema: 'metaschema_modules_public',
872
+ table: 'organization_settings_module',
873
+ fields: {
874
+ id: 'uuid',
875
+ database_id: 'uuid',
876
+ schema_id: 'uuid',
877
+ private_schema_id: 'uuid',
878
+ table_id: 'uuid',
879
+ table_name: 'text',
880
+ entity_table_id: 'uuid',
881
+ membership_type: 'int'
882
+ }
883
+ },
830
884
  uuid_module: {
831
885
  schema: 'metaschema_modules_public',
832
886
  table: 'uuid_module',
@@ -260,6 +260,10 @@ SET session_replication_role TO DEFAULT;`;
260
260
  'crypto_addresses_module',
261
261
  'crypto_auth_module',
262
262
  'field_module',
263
+ 'table_module',
264
+ 'user_profiles_module',
265
+ 'user_settings_module',
266
+ 'organization_settings_module',
263
267
  'uuid_module',
264
268
  'default_ids_module',
265
269
  'denormalized_table_field'
@@ -152,7 +152,7 @@ const config = {
152
152
  privilege: 'text',
153
153
  permissive: 'boolean',
154
154
  disabled: 'boolean',
155
- template: 'text',
155
+ policy_type: 'text',
156
156
  data: 'jsonb'
157
157
  }
158
158
  },
@@ -825,11 +825,65 @@ const config = {
825
825
  private_schema_id: 'uuid',
826
826
  table_id: 'uuid',
827
827
  field_id: 'uuid',
828
+ node_type: 'text',
828
829
  data: 'jsonb',
829
830
  triggers: 'text[]',
830
831
  functions: 'text[]'
831
832
  }
832
833
  },
834
+ table_module: {
835
+ schema: 'metaschema_modules_public',
836
+ table: 'table_module',
837
+ fields: {
838
+ id: 'uuid',
839
+ database_id: 'uuid',
840
+ private_schema_id: 'uuid',
841
+ table_id: 'uuid',
842
+ node_type: 'text',
843
+ data: 'jsonb',
844
+ fields: 'uuid[]'
845
+ }
846
+ },
847
+ user_profiles_module: {
848
+ schema: 'metaschema_modules_public',
849
+ table: 'user_profiles_module',
850
+ fields: {
851
+ id: 'uuid',
852
+ database_id: 'uuid',
853
+ schema_id: 'uuid',
854
+ private_schema_id: 'uuid',
855
+ table_id: 'uuid',
856
+ table_name: 'text',
857
+ users_table_id: 'uuid'
858
+ }
859
+ },
860
+ user_settings_module: {
861
+ schema: 'metaschema_modules_public',
862
+ table: 'user_settings_module',
863
+ fields: {
864
+ id: 'uuid',
865
+ database_id: 'uuid',
866
+ schema_id: 'uuid',
867
+ private_schema_id: 'uuid',
868
+ table_id: 'uuid',
869
+ table_name: 'text',
870
+ users_table_id: 'uuid'
871
+ }
872
+ },
873
+ organization_settings_module: {
874
+ schema: 'metaschema_modules_public',
875
+ table: 'organization_settings_module',
876
+ fields: {
877
+ id: 'uuid',
878
+ database_id: 'uuid',
879
+ schema_id: 'uuid',
880
+ private_schema_id: 'uuid',
881
+ table_id: 'uuid',
882
+ table_name: 'text',
883
+ entity_table_id: 'uuid',
884
+ membership_type: 'int'
885
+ }
886
+ },
833
887
  uuid_module: {
834
888
  schema: 'metaschema_modules_public',
835
889
  table: 'uuid_module',
@@ -266,6 +266,10 @@ SET session_replication_role TO DEFAULT;`;
266
266
  'crypto_addresses_module',
267
267
  'crypto_auth_module',
268
268
  'field_module',
269
+ 'table_module',
270
+ 'user_profiles_module',
271
+ 'user_settings_module',
272
+ 'organization_settings_module',
269
273
  'uuid_module',
270
274
  'default_ids_module',
271
275
  'denormalized_table_field'
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pgpmjs/core",
3
- "version": "4.14.0",
3
+ "version": "4.15.0",
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": "cb4af2cf6c23dad24cd951c232d3e2006b81aa3d"
67
+ "gitHead": "15e8f92ee6ec7bfebd6647dec743e4235b0362ac"
68
68
  }