@abtnode/models 1.16.8-next-c66e39c7 → 1.16.8-next-199ae4cb
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/lib/models/user.d.ts +1 -3
- package/lib/models/user.js +1 -6
- package/package.json +3 -3
package/lib/models/user.d.ts
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import { TUserInfo } from '@abtnode/types';
|
|
2
2
|
import { DynamicModel } from '../types';
|
|
3
|
-
export type UserState = Omit<TUserInfo, 'passports' | 'connectedAccounts'
|
|
4
|
-
extra: Record<string, any>;
|
|
5
|
-
};
|
|
3
|
+
export type UserState = Omit<TUserInfo, 'passports' | 'connectedAccounts' | 'source' | 'extraConfigs'>;
|
|
6
4
|
export declare function createUserModel(): DynamicModel<UserState>;
|
package/lib/models/user.js
CHANGED
|
@@ -68,13 +68,8 @@ function createUserModel() {
|
|
|
68
68
|
index: true,
|
|
69
69
|
defaultValue: true,
|
|
70
70
|
},
|
|
71
|
-
// server extended
|
|
72
|
-
extra: {
|
|
73
|
-
type: sequelize_1.DataTypes.JSON,
|
|
74
|
-
defaultValue: {},
|
|
75
|
-
},
|
|
76
71
|
// app extended
|
|
77
|
-
|
|
72
|
+
extra: {
|
|
78
73
|
type: sequelize_1.DataTypes.JSON,
|
|
79
74
|
defaultValue: {},
|
|
80
75
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@abtnode/models",
|
|
3
|
-
"version": "1.16.8-next-
|
|
3
|
+
"version": "1.16.8-next-199ae4cb",
|
|
4
4
|
"description": "Sequelize models for blocklet server and blocklet service",
|
|
5
5
|
"homepage": "https://github.com/ArcBlock/blocklet-server#readme",
|
|
6
6
|
"publishConfig": {
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"url": "https://github.com/ArcBlock/blocklet-server/issues"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@abtnode/types": "1.16.8-next-
|
|
35
|
+
"@abtnode/types": "1.16.8-next-199ae4cb",
|
|
36
36
|
"@nedb/core": "^2.1.5",
|
|
37
37
|
"lodash.clonedeep": "^4.5.0",
|
|
38
38
|
"lodash.get": "^4.4.2",
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"typescript": "^4.8.4"
|
|
55
55
|
},
|
|
56
56
|
"resolutions": {},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "a3c52c2929d25254f33a08eca0261fbf4dbc7b4c"
|
|
58
58
|
}
|