@riocrypto/common-server 1.0.2633 → 1.0.2635
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/build/models/admin-auth-dashboard-settings.d.ts +3 -0
- package/build/models/admin-auth-dashboard-settings.js +3 -0
- package/build/models/auth-dashboard-settings.d.ts +3 -0
- package/build/models/auth-dashboard-settings.js +3 -0
- package/build/models/auth.d.ts +3 -1
- package/build/models/auth.js +3 -0
- package/package.json +2 -2
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TablePreferences } from "@riocrypto/common";
|
|
1
2
|
import mongoose from "mongoose";
|
|
2
3
|
interface AdminAuthDashboardSettingsAttrs {
|
|
3
4
|
adminAuthId: string;
|
|
@@ -5,6 +6,7 @@ interface AdminAuthDashboardSettingsAttrs {
|
|
|
5
6
|
pwaInstallBannerDismissedDesktop?: boolean;
|
|
6
7
|
pwaInstallBannerDismissedMobile?: boolean;
|
|
7
8
|
notificationBannerDismissedMobile?: boolean;
|
|
9
|
+
tablePreferences?: TablePreferences;
|
|
8
10
|
}
|
|
9
11
|
interface AdminAuthDashboardSettingsDoc extends mongoose.Document {
|
|
10
12
|
adminAuthId: string;
|
|
@@ -12,6 +14,7 @@ interface AdminAuthDashboardSettingsDoc extends mongoose.Document {
|
|
|
12
14
|
pwaInstallBannerDismissedDesktop?: boolean;
|
|
13
15
|
pwaInstallBannerDismissedMobile?: boolean;
|
|
14
16
|
notificationBannerDismissedMobile?: boolean;
|
|
17
|
+
tablePreferences?: TablePreferences;
|
|
15
18
|
}
|
|
16
19
|
interface AdminAuthDashboardSettingsModel extends mongoose.Model<AdminAuthDashboardSettingsDoc> {
|
|
17
20
|
build(attrs: AdminAuthDashboardSettingsAttrs): AdminAuthDashboardSettingsDoc;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TablePreferences } from "@riocrypto/common";
|
|
1
2
|
import mongoose from "mongoose";
|
|
2
3
|
interface AuthDashboardSettingsAttrs {
|
|
3
4
|
authId: string;
|
|
@@ -5,6 +6,7 @@ interface AuthDashboardSettingsAttrs {
|
|
|
5
6
|
pwaInstallBannerDismissedDesktop?: boolean;
|
|
6
7
|
pwaInstallBannerDismissedMobile?: boolean;
|
|
7
8
|
notificationBannerDismissedMobile?: boolean;
|
|
9
|
+
tablePreferences?: TablePreferences;
|
|
8
10
|
}
|
|
9
11
|
interface AuthDashboardSettingsDoc extends mongoose.Document {
|
|
10
12
|
authId: string;
|
|
@@ -12,6 +14,7 @@ interface AuthDashboardSettingsDoc extends mongoose.Document {
|
|
|
12
14
|
pwaInstallBannerDismissedDesktop?: boolean;
|
|
13
15
|
pwaInstallBannerDismissedMobile?: boolean;
|
|
14
16
|
notificationBannerDismissedMobile?: boolean;
|
|
17
|
+
tablePreferences?: TablePreferences;
|
|
15
18
|
}
|
|
16
19
|
interface AuthDashboardSettingsModel extends mongoose.Model<AuthDashboardSettingsDoc> {
|
|
17
20
|
build(attrs: AuthDashboardSettingsAttrs): AuthDashboardSettingsDoc;
|
package/build/models/auth.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { APIKey, AuthRole, SecurityQuestion, AuthPermission } from "@riocrypto/common";
|
|
1
|
+
import { APIKey, AuthRole, SecurityQuestion, AuthPermission, AuthKYCStatus } from "@riocrypto/common";
|
|
2
2
|
import { Mongoose, Model, Document } from "mongoose";
|
|
3
3
|
interface AuthAttrs {
|
|
4
4
|
phoneNumber: string;
|
|
@@ -28,6 +28,7 @@ interface AuthAttrs {
|
|
|
28
28
|
secondLastName?: string;
|
|
29
29
|
role?: AuthRole;
|
|
30
30
|
permissions?: AuthPermission[];
|
|
31
|
+
KYCStatus: AuthKYCStatus;
|
|
31
32
|
}
|
|
32
33
|
interface AuthDoc extends Document {
|
|
33
34
|
phoneNumber: string;
|
|
@@ -57,6 +58,7 @@ interface AuthDoc extends Document {
|
|
|
57
58
|
secondLastName?: string;
|
|
58
59
|
role?: AuthRole;
|
|
59
60
|
permissions?: AuthPermission[];
|
|
61
|
+
KYCStatus: AuthKYCStatus;
|
|
60
62
|
}
|
|
61
63
|
interface AuthModel extends Model<AuthDoc> {
|
|
62
64
|
build(attrs: AuthAttrs): AuthDoc;
|
package/build/models/auth.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2635",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "./build/index.js",
|
|
6
6
|
"types": "./build/index.d.ts",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@google-cloud/secret-manager": "^5.3.0",
|
|
29
29
|
"@google-cloud/storage": "^6.9.5",
|
|
30
30
|
"@hyperdx/node-opentelemetry": "^0.7.0",
|
|
31
|
-
"@riocrypto/common": "^1.0.
|
|
31
|
+
"@riocrypto/common": "^1.0.2439",
|
|
32
32
|
"@types/express": "^4.17.13",
|
|
33
33
|
"axios": "^1.7.4",
|
|
34
34
|
"crypto-js": "^4.2.0",
|