@pgpmjs/core 5.1.0 → 5.1.1
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.
|
@@ -443,7 +443,8 @@ const config = {
|
|
|
443
443
|
api_id: 'uuid',
|
|
444
444
|
schema_id: 'uuid',
|
|
445
445
|
private_schema_id: 'uuid',
|
|
446
|
-
|
|
446
|
+
session_credentials_table_id: 'uuid',
|
|
447
|
+
sessions_table_id: 'uuid',
|
|
447
448
|
users_table_id: 'uuid',
|
|
448
449
|
authenticate: 'text',
|
|
449
450
|
authenticate_strict: 'text',
|
|
@@ -462,7 +463,10 @@ const config = {
|
|
|
462
463
|
users_table_id: 'uuid',
|
|
463
464
|
secrets_table_id: 'uuid',
|
|
464
465
|
encrypted_table_id: 'uuid',
|
|
465
|
-
|
|
466
|
+
sessions_table_id: 'uuid',
|
|
467
|
+
session_credentials_table_id: 'uuid',
|
|
468
|
+
audits_table_id: 'uuid',
|
|
469
|
+
audits_table_name: 'text',
|
|
466
470
|
sign_in_function: 'text',
|
|
467
471
|
sign_up_function: 'text',
|
|
468
472
|
sign_out_function: 'text',
|
|
@@ -475,7 +479,9 @@ const config = {
|
|
|
475
479
|
reset_password_function: 'text',
|
|
476
480
|
forgot_password_function: 'text',
|
|
477
481
|
send_verification_email_function: 'text',
|
|
478
|
-
verify_email_function: 'text'
|
|
482
|
+
verify_email_function: 'text',
|
|
483
|
+
verify_password_function: 'text',
|
|
484
|
+
check_password_function: 'text'
|
|
479
485
|
}
|
|
480
486
|
},
|
|
481
487
|
memberships_module: {
|
|
@@ -677,17 +683,21 @@ const config = {
|
|
|
677
683
|
table_name: 'text'
|
|
678
684
|
}
|
|
679
685
|
},
|
|
680
|
-
|
|
686
|
+
sessions_module: {
|
|
681
687
|
schema: 'metaschema_modules_public',
|
|
682
|
-
table: '
|
|
688
|
+
table: 'sessions_module',
|
|
683
689
|
fields: {
|
|
684
690
|
id: 'uuid',
|
|
685
691
|
database_id: 'uuid',
|
|
686
692
|
schema_id: 'uuid',
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
|
|
690
|
-
|
|
693
|
+
sessions_table_id: 'uuid',
|
|
694
|
+
session_credentials_table_id: 'uuid',
|
|
695
|
+
auth_settings_table_id: 'uuid',
|
|
696
|
+
users_table_id: 'uuid',
|
|
697
|
+
sessions_default_expiration: 'interval',
|
|
698
|
+
sessions_table: 'text',
|
|
699
|
+
session_credentials_table: 'text',
|
|
700
|
+
auth_settings_table: 'text'
|
|
691
701
|
}
|
|
692
702
|
},
|
|
693
703
|
secrets_module: {
|
|
@@ -785,7 +795,8 @@ const config = {
|
|
|
785
795
|
database_id: 'uuid',
|
|
786
796
|
schema_id: 'uuid',
|
|
787
797
|
users_table_id: 'uuid',
|
|
788
|
-
|
|
798
|
+
sessions_table_id: 'uuid',
|
|
799
|
+
session_credentials_table_id: 'uuid',
|
|
789
800
|
secrets_table_id: 'uuid',
|
|
790
801
|
addresses_table_id: 'uuid',
|
|
791
802
|
user_field: 'text',
|
|
@@ -980,7 +991,7 @@ export const exportMeta = async ({ opts, dbname, database_id }) => {
|
|
|
980
991
|
await queryAndParse('membership_types_module', `SELECT * FROM metaschema_modules_public.membership_types_module WHERE database_id = $1`);
|
|
981
992
|
await queryAndParse('invites_module', `SELECT * FROM metaschema_modules_public.invites_module WHERE database_id = $1`);
|
|
982
993
|
await queryAndParse('emails_module', `SELECT * FROM metaschema_modules_public.emails_module WHERE database_id = $1`);
|
|
983
|
-
await queryAndParse('
|
|
994
|
+
await queryAndParse('sessions_module', `SELECT * FROM metaschema_modules_public.sessions_module WHERE database_id = $1`);
|
|
984
995
|
await queryAndParse('secrets_module', `SELECT * FROM metaschema_modules_public.secrets_module WHERE database_id = $1`);
|
|
985
996
|
await queryAndParse('profiles_module', `SELECT * FROM metaschema_modules_public.profiles_module WHERE database_id = $1`);
|
|
986
997
|
await queryAndParse('encrypted_secrets_module', `SELECT * FROM metaschema_modules_public.encrypted_secrets_module WHERE database_id = $1`);
|
package/export/export-meta.js
CHANGED
|
@@ -446,7 +446,8 @@ const config = {
|
|
|
446
446
|
api_id: 'uuid',
|
|
447
447
|
schema_id: 'uuid',
|
|
448
448
|
private_schema_id: 'uuid',
|
|
449
|
-
|
|
449
|
+
session_credentials_table_id: 'uuid',
|
|
450
|
+
sessions_table_id: 'uuid',
|
|
450
451
|
users_table_id: 'uuid',
|
|
451
452
|
authenticate: 'text',
|
|
452
453
|
authenticate_strict: 'text',
|
|
@@ -465,7 +466,10 @@ const config = {
|
|
|
465
466
|
users_table_id: 'uuid',
|
|
466
467
|
secrets_table_id: 'uuid',
|
|
467
468
|
encrypted_table_id: 'uuid',
|
|
468
|
-
|
|
469
|
+
sessions_table_id: 'uuid',
|
|
470
|
+
session_credentials_table_id: 'uuid',
|
|
471
|
+
audits_table_id: 'uuid',
|
|
472
|
+
audits_table_name: 'text',
|
|
469
473
|
sign_in_function: 'text',
|
|
470
474
|
sign_up_function: 'text',
|
|
471
475
|
sign_out_function: 'text',
|
|
@@ -478,7 +482,9 @@ const config = {
|
|
|
478
482
|
reset_password_function: 'text',
|
|
479
483
|
forgot_password_function: 'text',
|
|
480
484
|
send_verification_email_function: 'text',
|
|
481
|
-
verify_email_function: 'text'
|
|
485
|
+
verify_email_function: 'text',
|
|
486
|
+
verify_password_function: 'text',
|
|
487
|
+
check_password_function: 'text'
|
|
482
488
|
}
|
|
483
489
|
},
|
|
484
490
|
memberships_module: {
|
|
@@ -680,17 +686,21 @@ const config = {
|
|
|
680
686
|
table_name: 'text'
|
|
681
687
|
}
|
|
682
688
|
},
|
|
683
|
-
|
|
689
|
+
sessions_module: {
|
|
684
690
|
schema: 'metaschema_modules_public',
|
|
685
|
-
table: '
|
|
691
|
+
table: 'sessions_module',
|
|
686
692
|
fields: {
|
|
687
693
|
id: 'uuid',
|
|
688
694
|
database_id: 'uuid',
|
|
689
695
|
schema_id: 'uuid',
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
|
|
696
|
+
sessions_table_id: 'uuid',
|
|
697
|
+
session_credentials_table_id: 'uuid',
|
|
698
|
+
auth_settings_table_id: 'uuid',
|
|
699
|
+
users_table_id: 'uuid',
|
|
700
|
+
sessions_default_expiration: 'interval',
|
|
701
|
+
sessions_table: 'text',
|
|
702
|
+
session_credentials_table: 'text',
|
|
703
|
+
auth_settings_table: 'text'
|
|
694
704
|
}
|
|
695
705
|
},
|
|
696
706
|
secrets_module: {
|
|
@@ -788,7 +798,8 @@ const config = {
|
|
|
788
798
|
database_id: 'uuid',
|
|
789
799
|
schema_id: 'uuid',
|
|
790
800
|
users_table_id: 'uuid',
|
|
791
|
-
|
|
801
|
+
sessions_table_id: 'uuid',
|
|
802
|
+
session_credentials_table_id: 'uuid',
|
|
792
803
|
secrets_table_id: 'uuid',
|
|
793
804
|
addresses_table_id: 'uuid',
|
|
794
805
|
user_field: 'text',
|
|
@@ -983,7 +994,7 @@ const exportMeta = async ({ opts, dbname, database_id }) => {
|
|
|
983
994
|
await queryAndParse('membership_types_module', `SELECT * FROM metaschema_modules_public.membership_types_module WHERE database_id = $1`);
|
|
984
995
|
await queryAndParse('invites_module', `SELECT * FROM metaschema_modules_public.invites_module WHERE database_id = $1`);
|
|
985
996
|
await queryAndParse('emails_module', `SELECT * FROM metaschema_modules_public.emails_module WHERE database_id = $1`);
|
|
986
|
-
await queryAndParse('
|
|
997
|
+
await queryAndParse('sessions_module', `SELECT * FROM metaschema_modules_public.sessions_module WHERE database_id = $1`);
|
|
987
998
|
await queryAndParse('secrets_module', `SELECT * FROM metaschema_modules_public.secrets_module WHERE database_id = $1`);
|
|
988
999
|
await queryAndParse('profiles_module', `SELECT * FROM metaschema_modules_public.profiles_module WHERE database_id = $1`);
|
|
989
1000
|
await queryAndParse('encrypted_secrets_module', `SELECT * FROM metaschema_modules_public.encrypted_secrets_module WHERE database_id = $1`);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pgpmjs/core",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.1",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "PGPM Package and Migration Tools",
|
|
6
6
|
"main": "index.js",
|
|
@@ -65,5 +65,5 @@
|
|
|
65
65
|
"pgsql-parser": "^17.9.11",
|
|
66
66
|
"yanse": "^0.2.0"
|
|
67
67
|
},
|
|
68
|
-
"gitHead": "
|
|
68
|
+
"gitHead": "27b059d8fb062729f697cd3d3415a57de28a0975"
|
|
69
69
|
}
|