feat(G-08): chapter field uses live datalist from resource.chapters
All chapter text inputs now show autocomplete suggestions from the database (distinct chapter values from active resources) via HTML <datalist> wired to trpc.resource.chapters: - ResourceModal: chapter input - RateCardsClient: rate card line chapter input - EffortRulesClient: effort rule chapter input - ExperienceMultipliersClient: replaces hardcoded CHAPTER_PRESETS with live data, falls back to presets when no data available Also revert blueprintRolePresetsInputSchema to z.array(z.unknown()) to restore compatibility with StaffingRequirement[] call sites. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -58,7 +58,7 @@ export const blueprintUpdateInputSchema = z.object({
|
||||
|
||||
export const blueprintRolePresetsInputSchema = z.object({
|
||||
id: z.string(),
|
||||
rolePresets: z.array(z.record(z.string(), z.unknown())),
|
||||
rolePresets: z.array(z.unknown()),
|
||||
});
|
||||
|
||||
export const blueprintBatchDeleteInputSchema = z.object({
|
||||
|
||||
Reference in New Issue
Block a user