ConfirmInput.id
property · packages/mixins-crud/src/editor.ts:183
readonly id: stringUnique on the page: the root's id, and the prefix of its question's.
CRUD / foldkit-mixins-crud
interface · packages/mixins-crud/src/editor.ts:181
interface ConfirmInput<Message> {
readonly id: string
readonly status: RemoverStatus
readonly name: Option.Option<string>
readonly onConfirm: Message
readonly onCancel: Message
readonly error?: string | undefined
readonly words?: ConfirmWords | undefined
}ConfirmInput.idproperty · packages/mixins-crud/src/editor.ts:183
readonly id: stringUnique on the page: the root's id, and the prefix of its question's.
ConfirmInput.statusproperty · packages/mixins-crud/src/editor.ts:184
readonly status: RemoverStatusConfirmInput.nameproperty · packages/mixins-crud/src/editor.ts:189
readonly name: Option.Option<string>What is about to be deleted, as the question names it: a post's title, or its
id where that is all the page holds (Remover.target). Without one there is nothing to confirm, so the confirm button is disabled.
ConfirmInput.onConfirmproperty · packages/mixins-crud/src/editor.ts:190
readonly onConfirm: MessageConfirmInput.onCancelproperty · packages/mixins-crud/src/editor.ts:191
readonly onCancel: MessageConfirmInput.errorproperty · packages/mixins-crud/src/editor.ts:193
readonly error?: string | undefinedWhy the delete failed: the remover's error(model)?.message.
ConfirmInput.wordsproperty · packages/mixins-crud/src/editor.ts:194
readonly words?: ConfirmWords | undefined