@soga/types 0.0.39 → 0.0.41

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
@@ -149,7 +149,7 @@ export type Manifest = {
149
149
  }>;
150
150
  };
151
151
  file: null | ManifestFileInfo;
152
- media: {
152
+ media?: {
153
153
  audio_meta: ManifestAudioMetaInfo;
154
154
  audios: ManifestAudioItem[];
155
155
  cover: ManifestCoverInfo;
@@ -159,12 +159,20 @@ export type Manifest = {
159
159
  video_meta: ManifestVideoMetaInfo;
160
160
  videos: ManifestVideoItem[];
161
161
  };
162
+ txt?: {
163
+ pages: number;
164
+ map: {
165
+ file: string;
166
+ start: number;
167
+ end: number;
168
+ };
169
+ parts: ManifestPartItem[];
170
+ };
162
171
  meta: ManifestMetaInfo;
163
172
  };
164
173
  export type RecordFolderConfig = {
165
174
  insert_last: -1 | 0 | 1;
166
- keep_source?: -1 | 0 | 1;
167
- keep_preview?: -1 | 0 | 1;
175
+ file_keeps?: 0 | 1 | 2 | 3;
168
176
  adapt_resolution?: -1 | 0 | 1;
169
177
  };
170
178
  type RecordCommonFields = {
package/package.json CHANGED
@@ -1,42 +1,42 @@
1
- {
2
- "name": "@soga/types",
3
- "version": "0.0.39",
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.41",
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
+ }