@soga/types 0.0.34 → 0.0.35

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 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/record.d.ts CHANGED
@@ -129,6 +129,11 @@ export type ManifestTextItem = {
129
129
  title: string;
130
130
  type: SubtitleType;
131
131
  };
132
+ export type ManifestFilePartList = ManifestPartItem[];
133
+ export type ManifestFileInfo = {
134
+ head: string;
135
+ parts: ManifestFilePartList;
136
+ };
132
137
  export type Manifest = {
133
138
  ali: {
134
139
  host_id: number;
@@ -145,7 +150,7 @@ export type Manifest = {
145
150
  md4: string;
146
151
  }>;
147
152
  };
148
- file: null;
153
+ file: null | ManifestFileInfo;
149
154
  media: {
150
155
  audio_meta: ManifestAudioMetaInfo;
151
156
  audios: ManifestAudioItem[];
package/package.json CHANGED
@@ -1,42 +1,42 @@
1
- {
2
- "name": "@soga/types",
3
- "version": "0.0.34",
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.35",
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
+ }