mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 00:35:38 +02:00
10 lines
301 B
TypeScript
10 lines
301 B
TypeScript
import "zod-openapi/extend";
|
|
import { sql } from "drizzle-orm";
|
|
|
|
export namespace Common {
|
|
export const IdDescription = `Unique object identifier.
|
|
The format and length of IDs may change over time.`;
|
|
|
|
export const now = () => sql`now()`;
|
|
export const utc = () => sql`now() at time zone 'utc'`;
|
|
} |