@riocrypto/common-server 1.0.2561 → 1.0.2562
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/user.d.ts +18 -0
- package/build/models/user.js +3 -0
- package/package.json +2 -2
package/build/models/user.d.ts
CHANGED
|
@@ -119,6 +119,15 @@ interface UserAttrs {
|
|
|
119
119
|
};
|
|
120
120
|
};
|
|
121
121
|
};
|
|
122
|
+
marketConfig?: {
|
|
123
|
+
[key in Fiat]?: {
|
|
124
|
+
isAfterHours?: boolean;
|
|
125
|
+
afterHoursEndsAt?: string;
|
|
126
|
+
afterHoursExchangeRateMarkup?: number;
|
|
127
|
+
buyOrderGeneralExchangeRateMarkup?: number;
|
|
128
|
+
sellOrderGeneralExchangeRateMarkup?: number;
|
|
129
|
+
};
|
|
130
|
+
};
|
|
122
131
|
}
|
|
123
132
|
interface UserModel extends Model<UserDoc> {
|
|
124
133
|
build(attrs: UserAttrs): UserDoc;
|
|
@@ -272,6 +281,15 @@ interface UserDoc extends Document {
|
|
|
272
281
|
};
|
|
273
282
|
};
|
|
274
283
|
};
|
|
284
|
+
marketConfig?: {
|
|
285
|
+
[key in Fiat]?: {
|
|
286
|
+
isAfterHours?: boolean;
|
|
287
|
+
afterHoursEndsAt?: string;
|
|
288
|
+
afterHoursExchangeRateMarkup?: number;
|
|
289
|
+
buyOrderGeneralExchangeRateMarkup?: number;
|
|
290
|
+
sellOrderGeneralExchangeRateMarkup?: number;
|
|
291
|
+
};
|
|
292
|
+
};
|
|
275
293
|
}
|
|
276
294
|
declare const buildUser: (mongoose: Mongoose) => UserModel;
|
|
277
295
|
export { buildUser, UserDoc, UserAttrs };
|
package/build/models/user.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.2562",
|
|
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.2357",
|
|
32
32
|
"@types/express": "^4.17.13",
|
|
33
33
|
"axios": "^1.7.4",
|
|
34
34
|
"crypto-js": "^4.2.0",
|