Add custom intervention modals

This commit is contained in:
adilallo
2026-05-01 22:05:05 -06:00
parent 58d0e33500
commit dee2dd800e
67 changed files with 3480 additions and 197 deletions
+13
View File
@@ -0,0 +1,13 @@
import type { CreateFlowState } from "../../app/(app)/create/types";
/**
* User-authored method cards (UUID ids) register a meta row when finalized
* from {@link CustomMethodCardWizard}. Preset rows from `methods[]` never
* appear here — keeps edit surfaces from treating custom ids like presets.
*/
export function isCustomMethodCardId(
methodId: string,
customMeta: CreateFlowState["customMethodCardMetaById"],
): boolean {
return Boolean(customMeta?.[methodId]);
}