interface SettingsSchema {
    fields: SettingsField[];
    textIsContent?: boolean;
}

Properties

fields: SettingsField[]
textIsContent?: boolean

The text is the drawing (a note, a callout, the text tool) rather than a label on a shape, so a host should ask for it the moment the tool is placed instead of waiting for a settings dialog.