dyna-record
    Preparing search index...

    Type Alias CreateConditionKeys<T>

    CreateConditionKeys: {
        [K in SingleRelationshipKeys<T>]?: HasTypedForeignKeyTo<
            T,
            NonNullable<T[K]>,
        > extends true
            ? TargetCondition<AssertDynaRecord<NonNullable<T[K]>>>
            : CreateRelationshipConditionError
    } & { [K in ForeignKeyKeys<T>]?: ForeignKeyGuard<T, K> }

    The guards a create offers, before the closing step in CreateCondition.

    Type Parameters

    • T extends default

      The entity being created.