Implement core value modals
This commit is contained in:
@@ -20,6 +20,11 @@ const communityStructureChipSnapshotsSchema = z
|
||||
})
|
||||
.strict();
|
||||
|
||||
const coreValueDetailEntrySchema = z.object({
|
||||
meaning: z.string().max(8000),
|
||||
signals: z.string().max(8000),
|
||||
});
|
||||
|
||||
/**
|
||||
* Published rule `document` column: arbitrary JSON object with safety bounds.
|
||||
*/
|
||||
@@ -55,6 +60,9 @@ export const createFlowStateSchema = z
|
||||
coreValuesChipsSnapshot: z
|
||||
.array(communityStructureChipSnapshotRowSchema)
|
||||
.optional(),
|
||||
coreValueDetailsByChipId: z
|
||||
.record(coreValueDetailEntrySchema)
|
||||
.optional(),
|
||||
currentStep: createFlowStepSchema.optional(),
|
||||
sections: z.array(z.unknown()).optional(),
|
||||
stakeholders: z.array(z.unknown()).optional(),
|
||||
|
||||
Reference in New Issue
Block a user