@soga/types 0.0.3 → 0.0.4
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/README.md +3 -3
- package/dist/main.d.ts +1 -1
- package/dist/main.js +1 -2
- package/dist/user.d.ts +21 -0
- package/dist/user.js +2 -0
- package/package.json +42 -42
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
- StageType -> UploadFileStage
|
|
2
|
-
- UploadItem -> UploadFileItem
|
|
3
|
-
- UploadControlData -> UploadControlConfig
|
|
1
|
+
- StageType -> UploadFileStage
|
|
2
|
+
- UploadItem -> UploadFileItem
|
|
3
|
+
- UploadControlData -> UploadControlConfig
|
package/dist/main.d.ts
CHANGED
package/dist/main.js
CHANGED
|
@@ -14,10 +14,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
-
exports.foo = void 0;
|
|
18
17
|
__exportStar(require("./common"), exports);
|
|
19
18
|
__exportStar(require("./host"), exports);
|
|
20
19
|
__exportStar(require("./record"), exports);
|
|
21
20
|
__exportStar(require("./upload"), exports);
|
|
22
21
|
__exportStar(require("./member"), exports);
|
|
23
|
-
exports
|
|
22
|
+
__exportStar(require("./user"), exports);
|
package/dist/user.d.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
export type UserGroupListItem = {
|
|
2
|
+
id: number;
|
|
3
|
+
name: string;
|
|
4
|
+
sort: number;
|
|
5
|
+
space_id: number;
|
|
6
|
+
users_count: number;
|
|
7
|
+
};
|
|
8
|
+
export type UserListItem = {
|
|
9
|
+
id: number;
|
|
10
|
+
space_id: number;
|
|
11
|
+
user_id: number;
|
|
12
|
+
remark: string;
|
|
13
|
+
group_ids: string;
|
|
14
|
+
user_name: string;
|
|
15
|
+
avatar: string;
|
|
16
|
+
groups: {
|
|
17
|
+
id: number;
|
|
18
|
+
name: string;
|
|
19
|
+
join_time: string;
|
|
20
|
+
}[];
|
|
21
|
+
};
|
package/dist/user.js
ADDED
package/package.json
CHANGED
|
@@ -1,42 +1,42 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@soga/types",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"publishConfig": {
|
|
5
|
-
"access": "public"
|
|
6
|
-
},
|
|
7
|
-
"description": "",
|
|
8
|
-
"main": "dist/main.js",
|
|
9
|
-
"types": "dist/main.d.ts",
|
|
10
|
-
"files": [
|
|
11
|
-
"dist"
|
|
12
|
-
],
|
|
13
|
-
"scripts": {
|
|
14
|
-
"build": "rimraf dist && tsc",
|
|
15
|
-
"dev": "tsc --watch",
|
|
16
|
-
"lint": "eslint . --ext .ts",
|
|
17
|
-
"prepublishOnly": "npm run build"
|
|
18
|
-
},
|
|
19
|
-
"devDependencies": {
|
|
20
|
-
"@types/node": "^22.5.1",
|
|
21
|
-
"@typescript-eslint/eslint-plugin": "^8.3.0",
|
|
22
|
-
"@typescript-eslint/parser": "^8.3.0",
|
|
23
|
-
"eslint": "^9.9.1",
|
|
24
|
-
"eslint-config-prettier": "^9.1.0",
|
|
25
|
-
"eslint-plugin-prettier": "^5.2.1",
|
|
26
|
-
"prettier": "^3.3.3",
|
|
27
|
-
"rimraf": "^6.0.1",
|
|
28
|
-
"ts-node": "^10.9.2",
|
|
29
|
-
"typescript": "^5.5.4"
|
|
30
|
-
},
|
|
31
|
-
"repository": {
|
|
32
|
-
"type": "git",
|
|
33
|
-
"url": "git+https://github.com/dpan-com/types.git"
|
|
34
|
-
},
|
|
35
|
-
"keywords": [],
|
|
36
|
-
"author": "",
|
|
37
|
-
"license": "ISC",
|
|
38
|
-
"bugs": {
|
|
39
|
-
"url": "https://github.com/dpan-com/types/issues"
|
|
40
|
-
},
|
|
41
|
-
"homepage": "https://github.com/dpan-com/types#readme"
|
|
42
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@soga/types",
|
|
3
|
+
"version": "0.0.4",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public"
|
|
6
|
+
},
|
|
7
|
+
"description": "",
|
|
8
|
+
"main": "dist/main.js",
|
|
9
|
+
"types": "dist/main.d.ts",
|
|
10
|
+
"files": [
|
|
11
|
+
"dist"
|
|
12
|
+
],
|
|
13
|
+
"scripts": {
|
|
14
|
+
"build": "rimraf dist && tsc",
|
|
15
|
+
"dev": "tsc --watch",
|
|
16
|
+
"lint": "eslint . --ext .ts",
|
|
17
|
+
"prepublishOnly": "npm run build"
|
|
18
|
+
},
|
|
19
|
+
"devDependencies": {
|
|
20
|
+
"@types/node": "^22.5.1",
|
|
21
|
+
"@typescript-eslint/eslint-plugin": "^8.3.0",
|
|
22
|
+
"@typescript-eslint/parser": "^8.3.0",
|
|
23
|
+
"eslint": "^9.9.1",
|
|
24
|
+
"eslint-config-prettier": "^9.1.0",
|
|
25
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
26
|
+
"prettier": "^3.3.3",
|
|
27
|
+
"rimraf": "^6.0.1",
|
|
28
|
+
"ts-node": "^10.9.2",
|
|
29
|
+
"typescript": "^5.5.4"
|
|
30
|
+
},
|
|
31
|
+
"repository": {
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "git+https://github.com/dpan-com/types.git"
|
|
34
|
+
},
|
|
35
|
+
"keywords": [],
|
|
36
|
+
"author": "",
|
|
37
|
+
"license": "ISC",
|
|
38
|
+
"bugs": {
|
|
39
|
+
"url": "https://github.com/dpan-com/types/issues"
|
|
40
|
+
},
|
|
41
|
+
"homepage": "https://github.com/dpan-com/types#readme"
|
|
42
|
+
}
|