Variable ttsBackendTypeSchemaConst
ttsBackendTypeSchema: {
parse(
value: unknown,
): "none" | "local" | "ibm-watson-tts" | "google-cloud-tts" | "azure-tts";
safeParse(
value: unknown,
):
| { error: Error; success: false }
| {
data:
| "none"
| "local"
| "ibm-watson-tts"
| "google-cloud-tts"
| "azure-tts";
success: true;
};
} = ...
Type Declaration
parse: function
parse( value: unknown,): "none" | "local" | "ibm-watson-tts" | "google-cloud-tts" | "azure-tts" Returns "none" | "local" | "ibm-watson-tts" | "google-cloud-tts" | "azure-tts"
safeParse: function
safeParse( value: unknown,): | { error: Error; success: false } | { data: | "none" | "local" | "ibm-watson-tts" | "google-cloud-tts" | "azure-tts"; success: true; } Returns
| { error: Error; success: false }
| {
data:
| "none"
| "local"
| "ibm-watson-tts"
| "google-cloud-tts"
| "azure-tts";
success: true;
}