export interface SourceCardMenuProps { /** * Called right before navigating to a Manage tab. The multi-source dashboard * uses this to mark the card's source as active so the destination tab opens * on the right source. Omitted on the single-source path. */ onBeforeNavigate?: () => void; /** * Opens the start confirmation for this card's source. "Start source" is * only rendered when supplied — v1 clients omit it because the API cannot * start a single source, and running sources omit it because they are * already started. */ onStart?: () => void; /** * Opens the stop confirmation for this card's source. "Stop source" is * only rendered when supplied — v1 clients omit it because the API cannot * stop a single source, and stopped sources omit it because they are * already stopped. */ onStop?: () => void; /** * Opens the reset confirmation for this card's source. "Reset source" is * only rendered when supplied — v1 clients omit it because the API cannot * reset a single source. */ onReset?: () => void; /** * Opens the delete confirmation for this card's source. "Delete source" is * only rendered when supplied, so consumers that don't support deletion are * unaffected. */ onDelete?: () => void; }