Type alias CollectionCurrentDate<Schema>

CollectionCurrentDate<Schema>: {
    [K in keyof Schema as Schema[K] extends Date | {
            $date: number;
        }
        ? K
        : never]?: boolean
}

Types the $currentDate operation. Not inherently strict or weak.

Type Parameters

  • Schema