Add public API for methods and values

This commit is contained in:
adilallo
2026-05-22 14:32:15 -06:00
parent cef7c98205
commit 9e11063a11
14 changed files with 727 additions and 134 deletions
+8
View File
@@ -66,6 +66,14 @@ export const METHOD_FACET_API_SECTION_IDS = [
export type MethodFacetApiSectionId = (typeof METHOD_FACET_API_SECTION_IDS)[number];
/** `GET /api/create-flow/methods?section=` — four method decks + core values (CR-115). */
export const CATALOG_SECTION_IDS = [
...METHOD_FACET_API_SECTION_IDS,
"coreValues",
] as const;
export type CatalogSectionId = (typeof CATALOG_SECTION_IDS)[number];
export type CustomRuleFacetKind = "coreValues" | "method";
export type CustomRuleFacetRow = {