UNPKG

augnitosdk

Version:

AugnitoSDK lets you make use of the Speech Recognition AI. You can edit, format and complete reports at the speed of human speech, with the best-in-class accuracy

20 lines (19 loc) 910 B
import { AugnitoCommands } from '../commands/AugnitoCommands'; type ActionRecipe = { name: AugnitoCommands | string; action: string | AugnitoCommands; sessionCode: string; final: boolean; isCommand: boolean; isCustomCommand: boolean; receivedText: string; receivedTextWithoutSpace: string; chooseNumber: number; fontSize: number; nextPrevious: 'next' | 'previous' | 'last' | string; searchText: 'previousword' | 'nextword' | 'all' | string; selectFor: 'delete' | 'bold' | 'capitalize' | 'italicize' | 'underline' | 'delete' | 'gotoend' | 'select' | string; }; type PrepareCommandRecipe = Pick<ActionRecipe, 'receivedText'> & Partial<ActionRecipe>; type CommandResultRecipe = Pick<ActionRecipe, 'name' | 'sessionCode' | 'final' | 'isCommand' | 'action' | 'receivedText'>; export { ActionRecipe, PrepareCommandRecipe, CommandResultRecipe };