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