sendNotetakerStore
Section titled “sendNotetakerStore”This interface describes a Zustand store, an advanced state management React solution. This is intended for advanced use only – the Notetaker components will work without using this store directly.
The interface for the SendNotetaker component state store. sendNotetakerStore manages all form data and UI state information for the component.
import { SendNotetaker, sendNotetakerStore } from "@nylas/react";
export default function App() { const store = sendNotetakerStore(); useEffect(() => { store.setName("ExampleName"); }, []);
return ( <div> <SendNotetaker /> </div> );}sendNotetakerStore properties
Section titled “sendNotetakerStore properties”advancedSettings
Section titled “advancedSettings”| Description | Display the Advanced Settings section. |
| Type | boolean |
| Default | false |
| Description | The date on which the Notetaker bot will join the meeting. |
| Type | string |
handleSubmit
Section titled “handleSubmit”| Description | Handles form submission and sending information to the Notetaker API. |
| Type | (onSend?: (data: ..., resetForm: ...) => ..., onError?: (error: ...) => ...) => void |
isLoading
Section titled “isLoading”| Description | Indicates that the component is loading or submitting the form. |
| Type | boolean |
| Default | false |
meetingLink
Section titled “meetingLink”| Description | The URL that Notetaker will use to join the meeting. |
| Type | string |
| Description | The name of the Notetaker bot. This is displayed in the meeting provider UI. |
| Type | string |
| Description | Resets all form fields and the store to their default values. |
| Type | () => void |
selectedRecordingTypes
Section titled “selectedRecordingTypes”| Description | A list of selected recording types (video, audio, or transcript). |
| Type | RecordingType[] |
setAdvancedSettings
Section titled “setAdvancedSettings”| Description | Sets the visibility of the Advanced Settings section. |
| Type | (show: boolean) => void |
setDate
Section titled “setDate”| Description | Sets the date on which the Notetaker bot will join the meeting. |
| Type | (date: string) => void |
setIsLoading
Section titled “setIsLoading”| Description | Sets the loading state. |
| Type | (isLoading: boolean) => void |
setMeetingLink
Section titled “setMeetingLink”| Description | Sets the meeting link. |
| Type | (meetingLink: string) => void |
setName
Section titled “setName”| Description | Sets the name of the Notetaker bot. |
| Type | (name: string) => void |
setSelectedRecordingTypes
Section titled “setSelectedRecordingTypes”| Description | Sets the selected recording types. |
| Type | (types: RecordingType[]) => void |
setTime
Section titled “setTime”| Description | Sets the time at which the Notetaker bot will join the meeting. |
| Type | (time: string) => void |
| Description | The time at which the Notetaker bot will join the meeting. |
| Type | string |
toggleRecordingType
Section titled “toggleRecordingType”| Description | Toggles the specified recording type on or off. |
| Type | (type: RecordingType) => void |