import type { Edge, Node } from "@xyflow/react"; export type ZTPillar = | "identity" | "device" | "application" | "network" | "data"; export type FlowState = "allowed" | "denied" | "challenge" | "encrypted"; export type ZTNodeKind = | "user" | "device" | "idp" | "gateway" | "workload" | "data" | "network" | "monitoring"; export type ZTNodeData = { label: string; role: string; kind: ZTNodeKind; }; export type ZTScenarioStep = { id: string; title: string; description: string; highlightNodes: string[]; highlightEdges: string[]; pillars: ZTPillar[]; practices: string[]; }; export type ZTScenarioDefinition = { id: string; title: string; subtitle: string; intro: string; nodes: Node[]; edges: Edge[]; steps: ZTScenarioStep[]; }; export const PILLAR_LABELS: Record = { identity: "Identité", device: "Appareil", application: "Application / charge de travail", network: "Réseau", data: "Données", };