Fix (#1297)
* update yarn * fix dep * upgrade deps * fix document config save * fix #1293 * support long recording assessment * fix bugsnag * fix style * fix #1288 * fix bugsnag config
This commit is contained in:
2
enjoy/src/types/enjoy-app.d.ts
vendored
2
enjoy/src/types/enjoy-app.d.ts
vendored
@@ -357,7 +357,7 @@ type EnjoyAppType = {
|
||||
set: (key: string, value: any, ttl?: number) => Promise<void>;
|
||||
delete: (key: string) => Promise<void>;
|
||||
clear: () => Promise<void>;
|
||||
writeFile: (filename: string, data: ArrayBuffer) => Promise<string>;
|
||||
writeFile: (filename: string, data: Buffer<ArrayBuffer>) => Promise<string>;
|
||||
};
|
||||
transcriptions: {
|
||||
findOrCreate: (params: any) => Promise<TranscriptionType>;
|
||||
|
||||
12
enjoy/src/types/index.d.ts
vendored
12
enjoy/src/types/index.d.ts
vendored
@@ -7,6 +7,18 @@ declare module "foliate-js/view.js";
|
||||
declare module "foliate-js/epub.js";
|
||||
declare module "compromise-paragraphs";
|
||||
|
||||
declare module "segment" {
|
||||
class Segment {
|
||||
useDefault(): void;
|
||||
loadDict(path: string): void;
|
||||
doSegment(
|
||||
text: string,
|
||||
options: { stripPunctuation: boolean }
|
||||
): Array<{ w: string }>;
|
||||
}
|
||||
export = Segment;
|
||||
}
|
||||
|
||||
type SupportedLlmProviderType = "enjoyai" | "openai";
|
||||
|
||||
type LlmProviderType = {
|
||||
|
||||
Reference in New Issue
Block a user