@did-space/core 1.0.20 → 1.0.22
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.
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import type { Model } from 'sequelize';
|
|
2
2
|
import type { AppPermissions } from '../meta';
|
|
3
|
+
export declare enum UNIT_TYPE {
|
|
4
|
+
WALLET = "wallet",
|
|
5
|
+
COMPONENT = "component",
|
|
6
|
+
BACKUP = "backup",
|
|
7
|
+
PROFILE = "profile",
|
|
8
|
+
STORAGE = "storage"
|
|
9
|
+
}
|
|
3
10
|
export interface AppSpaceApplyModel {
|
|
4
11
|
/**
|
|
5
12
|
* @description 记录的唯一标识,是一个 UUIDV4
|
|
@@ -1,2 +1,12 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.UNIT_TYPE = void 0;
|
|
4
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
5
|
+
var UNIT_TYPE;
|
|
6
|
+
(function (UNIT_TYPE) {
|
|
7
|
+
UNIT_TYPE["WALLET"] = "wallet";
|
|
8
|
+
UNIT_TYPE["COMPONENT"] = "component";
|
|
9
|
+
UNIT_TYPE["BACKUP"] = "backup";
|
|
10
|
+
UNIT_TYPE["PROFILE"] = "profile";
|
|
11
|
+
UNIT_TYPE["STORAGE"] = "storage";
|
|
12
|
+
})(UNIT_TYPE = exports.UNIT_TYPE || (exports.UNIT_TYPE = {}));
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
import type { Model } from 'sequelize';
|
|
2
2
|
import type { AppPermissions } from '../meta';
|
|
3
|
+
export declare enum UNIT_TYPE {
|
|
4
|
+
WALLET = "wallet",
|
|
5
|
+
COMPONENT = "component",
|
|
6
|
+
BACKUP = "backup",
|
|
7
|
+
PROFILE = "profile",
|
|
8
|
+
STORAGE = "storage"
|
|
9
|
+
}
|
|
3
10
|
export interface AppSpaceApplyModel {
|
|
4
11
|
/**
|
|
5
12
|
* @description 记录的唯一标识,是一个 UUIDV4
|
|
@@ -1 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
// eslint-disable-next-line @typescript-eslint/naming-convention
|
|
2
|
+
export var UNIT_TYPE;
|
|
3
|
+
(function (UNIT_TYPE) {
|
|
4
|
+
UNIT_TYPE["WALLET"] = "wallet";
|
|
5
|
+
UNIT_TYPE["COMPONENT"] = "component";
|
|
6
|
+
UNIT_TYPE["BACKUP"] = "backup";
|
|
7
|
+
UNIT_TYPE["PROFILE"] = "profile";
|
|
8
|
+
UNIT_TYPE["STORAGE"] = "storage";
|
|
9
|
+
})(UNIT_TYPE || (UNIT_TYPE = {}));
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@did-space/core",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.22",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -115,9 +115,9 @@
|
|
|
115
115
|
"watch": "npm run build -- -w"
|
|
116
116
|
},
|
|
117
117
|
"dependencies": {
|
|
118
|
-
"@arcblock/did": "^1.19.
|
|
118
|
+
"@arcblock/did": "^1.19.12",
|
|
119
119
|
"@arcblock/ipfs-only-hash": "^0.0.2",
|
|
120
|
-
"@arcblock/validator": "^1.19.
|
|
120
|
+
"@arcblock/validator": "^1.19.12",
|
|
121
121
|
"dayjs": "^1.11.13",
|
|
122
122
|
"debug": "^4.4.0",
|
|
123
123
|
"destroy": "^1.2.0",
|
|
@@ -146,7 +146,7 @@
|
|
|
146
146
|
"ts-jest": "^28.0.8",
|
|
147
147
|
"typescript": "^4.9.5",
|
|
148
148
|
"vite": "^5.4.14",
|
|
149
|
-
"vitest": "^3.0.
|
|
149
|
+
"vitest": "^3.0.7"
|
|
150
150
|
},
|
|
151
|
-
"gitHead": "
|
|
151
|
+
"gitHead": "85bf211785c4557570799a40f2835ce815fed1da"
|
|
152
152
|
}
|