@riocrypto/common-server 1.0.2274 → 1.0.2275
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.
|
@@ -2,12 +2,14 @@ import mongoose from "mongoose";
|
|
|
2
2
|
interface AdminAuthDashboardSettingsAttrs {
|
|
3
3
|
adminAuthId: string;
|
|
4
4
|
hideBackgroundAnimation?: boolean;
|
|
5
|
-
|
|
5
|
+
pwaInstallBannerDismissedDesktop?: boolean;
|
|
6
|
+
pwaInstallBannerDismissedMobile?: boolean;
|
|
6
7
|
}
|
|
7
8
|
interface AdminAuthDashboardSettingsDoc extends mongoose.Document {
|
|
8
9
|
adminAuthId: string;
|
|
9
10
|
hideBackgroundAnimation?: boolean;
|
|
10
|
-
|
|
11
|
+
pwaInstallBannerDismissedDesktop?: boolean;
|
|
12
|
+
pwaInstallBannerDismissedMobile?: boolean;
|
|
11
13
|
}
|
|
12
14
|
interface AdminAuthDashboardSettingsModel extends mongoose.Model<AdminAuthDashboardSettingsDoc> {
|
|
13
15
|
build(attrs: AdminAuthDashboardSettingsAttrs): AdminAuthDashboardSettingsDoc;
|
|
@@ -14,7 +14,11 @@ const buildAdminAuthDashboardSettings = (mongoose) => {
|
|
|
14
14
|
hideBackgroundAnimation: {
|
|
15
15
|
type: Boolean,
|
|
16
16
|
},
|
|
17
|
-
|
|
17
|
+
pwaInstallBannerDismissedDesktop: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: false,
|
|
20
|
+
},
|
|
21
|
+
pwaInstallBannerDismissedMobile: {
|
|
18
22
|
type: Boolean,
|
|
19
23
|
default: false,
|
|
20
24
|
},
|
|
@@ -2,12 +2,14 @@ import mongoose from "mongoose";
|
|
|
2
2
|
interface AuthDashboardSettingsAttrs {
|
|
3
3
|
authId: string;
|
|
4
4
|
hideBackgroundAnimation?: boolean;
|
|
5
|
-
|
|
5
|
+
pwaInstallBannerDismissedDesktop?: boolean;
|
|
6
|
+
pwaInstallBannerDismissedMobile?: boolean;
|
|
6
7
|
}
|
|
7
8
|
interface AuthDashboardSettingsDoc extends mongoose.Document {
|
|
8
9
|
authId: string;
|
|
9
10
|
hideBackgroundAnimation?: boolean;
|
|
10
|
-
|
|
11
|
+
pwaInstallBannerDismissedDesktop?: boolean;
|
|
12
|
+
pwaInstallBannerDismissedMobile?: boolean;
|
|
11
13
|
}
|
|
12
14
|
interface AuthDashboardSettingsModel extends mongoose.Model<AuthDashboardSettingsDoc> {
|
|
13
15
|
build(attrs: AuthDashboardSettingsAttrs): AuthDashboardSettingsDoc;
|
|
@@ -14,7 +14,11 @@ const buildAuthDashboardSettings = (mongoose) => {
|
|
|
14
14
|
hideBackgroundAnimation: {
|
|
15
15
|
type: Boolean,
|
|
16
16
|
},
|
|
17
|
-
|
|
17
|
+
pwaInstallBannerDismissedDesktop: {
|
|
18
|
+
type: Boolean,
|
|
19
|
+
default: false,
|
|
20
|
+
},
|
|
21
|
+
pwaInstallBannerDismissedMobile: {
|
|
18
22
|
type: Boolean,
|
|
19
23
|
default: false,
|
|
20
24
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@riocrypto/common-server",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2275",
|
|
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.1994",
|
|
32
32
|
"@types/express": "^4.17.13",
|
|
33
33
|
"axios": "^1.7.4",
|
|
34
34
|
"crypto-js": "^4.2.0",
|