Type alias InternalInferAttributeKeysFromFields<M, Key, Options>Private

InternalInferAttributeKeysFromFields<M, Key, Options>: Key extends keyof Model
    ? never
    : M[Key] extends AnyFunction
        ? never
        : IsBranded<M[Key], typeof NonAttributeBrand> extends true
            ? never
            : Options["omit"] extends string
                ? Key extends Options["omit"]
                    ? never
                    : Key
                : Key

Internal type used by InferCreationAttributes and InferAttributes to exclude attributes that are:

Type Parameters

Generated using TypeDoc