@lazycatcloud/lzc-video-player 0.0.96 → 0.0.98
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,14 +1,23 @@
|
|
|
1
|
+
declare type SubtitleStateRecord = {
|
|
2
|
+
path: string;
|
|
3
|
+
name?: string;
|
|
4
|
+
index?: number;
|
|
5
|
+
is_external?: boolean;
|
|
6
|
+
};
|
|
1
7
|
declare function update(path: string, value: {
|
|
2
8
|
name?: string;
|
|
3
9
|
index?: number;
|
|
4
10
|
}): void;
|
|
5
|
-
declare function findOne(path: string): Promise<
|
|
6
|
-
|
|
7
|
-
name?: string
|
|
8
|
-
|
|
9
|
-
}
|
|
11
|
+
declare function findOne(path: string): Promise<SubtitleStateRecord | null>;
|
|
12
|
+
declare function updateLastSelected(value: {
|
|
13
|
+
name?: string;
|
|
14
|
+
is_external?: boolean;
|
|
15
|
+
}): void;
|
|
16
|
+
declare function findLastSelected(): Promise<SubtitleStateRecord | null>;
|
|
10
17
|
export declare const subtitleDB: {
|
|
11
18
|
update: typeof update;
|
|
12
19
|
findOne: typeof findOne;
|
|
20
|
+
updateLastSelected: typeof updateLastSelected;
|
|
21
|
+
findLastSelected: typeof findLastSelected;
|
|
13
22
|
};
|
|
14
23
|
export {};
|