{"version":3,"file":"content-structure.mjs","sources":["../../../../server/src/controllers/validation/content-structure.ts"],"sourcesContent":["import { z } from 'zod';\n\nimport { CONTENT_TYPE_UID_REGEX } from './common';\n\n// eslint-disable-next-line no-control-regex\nconst CONTROL_CHARS_REGEX = /[\\x00-\\x1F\\x7F-\\x9F]/;\n// eslint-disable-next-line no-control-regex\nconst ANSI_ESCAPE_REGEX = /\\x1B\\[[0-9;]*[A-Za-z]/;\n\nconst GROUP_NAME_MAX_LENGTH = 255;\n\nconst groupIdSchema = z.string().min(1, 'Group id must not be empty');\n\nconst groupNameSchema = z\n  .string()\n  .min(1, 'Group name must not be empty')\n  .max(GROUP_NAME_MAX_LENGTH, `Group name must be at most ${GROUP_NAME_MAX_LENGTH} characters`)\n  .refine((value) => value.trim().length > 0, 'Group name must not be empty')\n  .refine(\n    (value) => value === value.trim(),\n    'Group name must not have leading or trailing whitespace'\n  )\n  .refine(\n    (value) => !CONTROL_CHARS_REGEX.test(value),\n    'Group name must not contain control characters'\n  )\n  .refine(\n    (value) => !ANSI_ESCAPE_REGEX.test(value),\n    'Group name must not contain ANSI escape characters'\n  );\n\nexport const contentStructureChildSchema = z.discriminatedUnion('type', [\n  z.object({\n    uid: z.string().regex(CONTENT_TYPE_UID_REGEX, 'Invalid content type uid'),\n    type: z.literal('contentType'),\n  }),\n  z.object({\n    type: z.literal('group'),\n    id: groupIdSchema,\n  }),\n]);\n\n/** Zod schema for a group record */\nexport const contentStructureGroupSchema = z.object({\n  children: z.array(contentStructureChildSchema),\n  parent: groupIdSchema.nullable(),\n  name: groupNameSchema,\n  id: groupIdSchema,\n});\n\nconst contentStructureSectionSchema = z.object({\n  groups: z.array(contentStructureGroupSchema),\n});\n\nconst contentStructureFileObjectSchema = z.object({\n  version: z.literal(1),\n  sections: z.object({\n    collectionTypes: contentStructureSectionSchema,\n    singleTypes: contentStructureSectionSchema,\n  }),\n});\n\ntype ContentStructureFileObject = z.infer<typeof contentStructureFileObjectSchema>;\ntype ContentStructureGroupInput = z.infer<typeof contentStructureGroupSchema>;\ntype SuperRefinement<T> = (value: T, ctx: z.RefinementCtx) => void | Promise<void>;\n\nconst MAX_FOLDER_DEPTH = 3;\n\n/**\n * File-wide group-id uniqueness across singleTypes and collectionTypes\n */\nconst uniqueGroupIdsAcrossFile: SuperRefinement<ContentStructureFileObject> = (file, ctx) => {\n  const seen = new Set<string>();\n\n  for (const section of [file.sections.collectionTypes, file.sections.singleTypes]) {\n    for (const group of section.groups) {\n      if (seen.has(group.id)) {\n        ctx.addIssue({\n          message: `Duplicate group id \"${group.id}\"`,\n          code: z.ZodIssueCode.custom,\n          path: ['sections'],\n        });\n      }\n\n      seen.add(group.id);\n    }\n  }\n};\n\n/**\n * File-internal graph resolution/validation.\n * This performs all context-UNAWARE validation of the structure. Context-aware validation is performed at the CTB service layer.\n */\nconst validateSectionGraph = (\n  groups: ContentStructureGroupInput[],\n  sectionKey: 'collectionTypes' | 'singleTypes',\n  ctx: z.RefinementCtx\n) => {\n  const path: (string | number)[] = ['sections', sectionKey, 'groups'];\n  const byId = new Map(groups.map((group) => [group.id, group]));\n\n  const report = (message: string) => {\n    ctx.addIssue({ code: z.ZodIssueCode.custom, path, message });\n  };\n\n  // Sibling group names must be unique within the same parent (case-insensitive).\n  const siblingNames = new Map<string | null, Set<string>>();\n\n  for (const group of groups) {\n    const name = group.name.trim().toLowerCase();\n    const seen = siblingNames.get(group.parent) ?? new Set<string>();\n\n    if (seen.has(name)) {\n      const where = group.parent ? `group \"${group.parent}\"` : 'the section root';\n      report(\n        `Sibling groups under ${where} in section \"${sectionKey}\" share the name \"${group.name.trim()}\"`\n      );\n    }\n\n    seen.add(name);\n    siblingNames.set(group.parent, seen);\n  }\n\n  // Parent references a group in the SAME section.\n  // No cycles\n  // Depth <= 3\n  for (const group of groups) {\n    if (group.parent !== null && !byId.has(group.parent)) {\n      report(\n        `Group \"${group.id}\" references parent \"${group.parent}\" which is not a group in section \"${sectionKey}\"`\n      );\n      continue;\n    }\n\n    const chain = new Set<string>([group.id]);\n\n    let current: ContentStructureGroupInput | undefined = group;\n    let depth = 1;\n    let broken = false;\n\n    while (current && current.parent !== null) {\n      if (chain.has(current.parent)) {\n        report(`Group \"${group.id}\" is part of a parent cycle`);\n        broken = true;\n        break;\n      }\n\n      const parent = byId.get(current.parent);\n\n      if (!parent) {\n        broken = true;\n        break;\n      }\n\n      chain.add(current.parent);\n      current = parent;\n      depth += 1;\n    }\n\n    if (!broken && depth > MAX_FOLDER_DEPTH) {\n      report(\n        `Group \"${group.id}\" exceeds the maximum nesting depth of ${MAX_FOLDER_DEPTH} in section \"${sectionKey}\"`\n      );\n    }\n  }\n\n  // Group children reference an existing group in the same section whose parent points back at the containing group.\n  // Also, each content type appears in at most ONE group.\n  const groupChildCount = new Map<string, number>();\n  const seenUids = new Set<string>();\n\n  for (const group of groups) {\n    for (const child of group.children) {\n      if (child.type === 'group') {\n        const target = byId.get(child.id);\n\n        if (!target) {\n          report(\n            `Group \"${group.id}\" has a group child \"${child.id}\" that does not exist in section \"${sectionKey}\"`\n          );\n          continue;\n        }\n\n        if (target.parent !== group.id) {\n          report(\n            `Group child \"${child.id}\" of \"${group.id}\" does not list \"${group.id}\" as its parent`\n          );\n        }\n\n        groupChildCount.set(child.id, (groupChildCount.get(child.id) ?? 0) + 1);\n        continue;\n      }\n\n      if (seenUids.has(child.uid)) {\n        report(\n          `Content type \"${child.uid}\" appears in more than one group in section \"${sectionKey}\"`\n        );\n      } else {\n        seenUids.add(child.uid);\n      }\n    }\n  }\n\n  // Every non-root group should appear exactly once as a group child.\n  for (const group of groups) {\n    const count = groupChildCount.get(group.id) ?? 0;\n\n    if (group.parent === null) {\n      if (count > 0) {\n        report(\n          `Root group \"${group.id}\" is listed as a group child of another group in section \"${sectionKey}\"`\n        );\n      }\n      continue;\n    }\n\n    if (count === 0) {\n      report(`Group \"${group.id}\" is not listed in the children of its parent \"${group.parent}\"`);\n    } else if (count > 1) {\n      report(\n        `Group \"${group.id}\" is listed ${count} times as a group child in section \"${sectionKey}\"`\n      );\n    }\n  }\n};\n\nconst validateGraphRules: SuperRefinement<ContentStructureFileObject> = (file, ctx) => {\n  validateSectionGraph(file.sections.collectionTypes.groups, 'collectionTypes', ctx);\n  validateSectionGraph(file.sections.singleTypes.groups, 'singleTypes', ctx);\n};\n\nexport const contentStructureFileSchema = contentStructureFileObjectSchema\n  .superRefine(uniqueGroupIdsAcrossFile)\n  .superRefine(validateGraphRules);\n\nexport type ContentStructureFileInput = z.infer<typeof contentStructureFileSchema>;\n"],"names":["CONTROL_CHARS_REGEX","ANSI_ESCAPE_REGEX","GROUP_NAME_MAX_LENGTH","groupIdSchema","z","string","min","groupNameSchema","max","refine","value","trim","length","test","contentStructureChildSchema","discriminatedUnion","object","uid","regex","CONTENT_TYPE_UID_REGEX","type","literal","id","contentStructureGroupSchema","children","array","parent","nullable","name","contentStructureSectionSchema","groups","contentStructureFileObjectSchema","version","sections","collectionTypes","singleTypes","MAX_FOLDER_DEPTH","uniqueGroupIdsAcrossFile","file","ctx","seen","Set","section","group","has","addIssue","message","code","ZodIssueCode","custom","path","add","validateSectionGraph","sectionKey","byId","Map","map","report","siblingNames","toLowerCase","get","where","set","chain","current","depth","broken","groupChildCount","seenUids","child","target","count","validateGraphRules","contentStructureFileSchema","superRefine"],"mappings":";;;AAIA;AACA,MAAMA,mBAAAA,GAAsB,sBAAA;AAC5B;AACA,MAAMC,iBAAAA,GAAoB,uBAAA;AAE1B,MAAMC,qBAAAA,GAAwB,GAAA;AAE9B,MAAMC,gBAAgBC,CAAAA,CAAEC,MAAM,EAAA,CAAGC,GAAG,CAAC,CAAA,EAAG,4BAAA,CAAA;AAExC,MAAMC,eAAAA,GAAkBH,CAAAA,CACrBC,MAAM,EAAA,CACNC,GAAG,CAAC,CAAA,EAAG,8BAAA,CAAA,CACPE,GAAG,CAACN,qBAAAA,EAAuB,CAAC,2BAA2B,EAAEA,qBAAAA,CAAsB,WAAW,CAAC,CAAA,CAC3FO,MAAM,CAA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