API reference › @evolu/common › Type › SetFromParentOperations

Defined in: packages/common/src/Type.ts:13694

The .parent suffixes of a SetType from operation.

Each .parent accepts a Set of the next element Output toward the root and returns the element errors of every boundary it adds.

Properties

parent

readonly parent: (value: ReadonlySet, options?: ValidationOptions) => Result<ReadonlySet<Output>, SetElementsError<Error>> & [Boundary["parent"]] extends [Parent] ? SetFromParentOperations<Output, Error | Boundary["Error"], Parent> : unknown;

Defined in: packages/common/src/Type.ts:13699