Type alias SetFields<TSchema>

SetFields<TSchema>: {
    readonly [key in KeysOfAType<TSchema, ReadonlyArray<any> | undefined>]?: OptionalId<Flatten<TSchema[key]>> | AddToSetOperators<OptionalId<Flatten<TSchema[key]>>[]>
} & IsAny<TSchema[keyof TSchema], object, NotAcceptedFields<TSchema, ReadonlyArray<any> | undefined>> & {
    [key: string]: AddToSetOperators<any> | any;
}

Type Parameters

  • TSchema

Type declaration

Generated using TypeDoc