Skip to content

BeechCMS


BeechCMS / @beechcms/core / validateSeedDefinitions

Function: validateSeedDefinitions() ​

validateSeedDefinitions(seeds): SeedValidationIssue[]

Pure, console-free, throw-free validation of a seed set. The single seed being created/edited should be validated in the context of the full active set: call validateSeedDefinitions([...otherActiveSeeds, edited]).

Parameters ​

seeds ​

Seed[]

Returns ​

SeedValidationIssue[]