-
Notifications
You must be signed in to change notification settings - Fork 313
/
Copy pathmanifestMock.ts
37 lines (35 loc) · 1.09 KB
/
manifestMock.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
/**
* エンジンマニフェストのモック。
*/
import { EngineManifest } from "@/openapi";
/** エンジンマニフェストを返すモック */
export function getEngineManifestMock() {
return {
manifestVersion: "0.13.1",
name: "DUMMY Engine",
brandName: "DUMMY",
uuid: "c7b58856-bd56-4aa1-afb7-b8415f824b06",
url: "not_found",
icon: "iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAA1JREFUGFdjWHpl7X8AB24DJsTeKbEAAAAASUVORK5CYII=", // 1pxの画像
defaultSamplingRate: 24000,
frameRate: 93.75,
termsOfService: "not_found",
updateInfos: [],
dependencyLicenses: [],
supportedVvlibManifestVersion: undefined,
supportedFeatures: {
adjustMoraPitch: true,
adjustPhonemeLength: true,
adjustSpeedScale: true,
adjustPitchScale: true,
adjustIntonationScale: true,
adjustVolumeScale: true,
adjustPauseLength: true,
interrogativeUpspeak: true,
synthesisMorphing: false,
sing: true,
manageLibrary: false,
returnResourceUrl: true,
},
} satisfies EngineManifest;
}