@soga/types 0.2.18 → 0.2.33

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,11 +1,17 @@
1
1
  export type SubtitleType = 'srt' | 'vtt' | 'ass' | 'lrc';
2
2
  export type ManifestBaiduType = {
3
3
  host_id: number;
4
- info: Record<string, number>;
4
+ info: Record<string, {
5
+ fs_id: number;
6
+ md4: string;
7
+ }>;
5
8
  };
6
9
  export type ManifestAliType = {
7
10
  host_id: number;
8
- info: Record<string, string>;
11
+ info: Record<string, {
12
+ file_id: string;
13
+ sha1: string;
14
+ }>;
9
15
  drive_id: string;
10
16
  };
11
17
  export type ManifestPartsType = Record<string, {
@@ -61,6 +67,7 @@ export type ManifestCoverInfo = {
61
67
  end: number;
62
68
  };
63
69
  export type ManifestTextItem = {
70
+ uuid: string;
64
71
  builtin: boolean;
65
72
  end: number;
66
73
  file: string;
@@ -74,6 +81,7 @@ export type ManifestTextItem = {
74
81
  start: number;
75
82
  };
76
83
  start: number;
84
+ name: string;
77
85
  title: string;
78
86
  type: SubtitleType;
79
87
  };
package/dist/record.d.ts CHANGED
@@ -108,6 +108,7 @@ export type RecordDetail = RecordCommonFields & {
108
108
  };
109
109
  export type CloudInfoField = {
110
110
  id: number;
111
+ name: string;
111
112
  hosts: {
112
113
  ali?: {
113
114
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@soga/types",
3
- "version": "0.2.18",
3
+ "version": "0.2.33",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -31,5 +31,5 @@
31
31
  "keywords": [],
32
32
  "author": "",
33
33
  "license": "ISC",
34
- "gitHead": "5b63d8f6d6bca92cbe04e58d4a0dada02ba26758"
34
+ "gitHead": "70d4fae5e473e2f40b7ced6ca434c7b29a527547"
35
35
  }