MCPcopy Create free account
hub / github.com/anomalyco/console / cuid

Function cuid

packages/core/src/util/sql.pg.ts:5–5  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

3import { varchar, timestamp } from "drizzle-orm/pg-core";
4
5export const cuid = (name: string) => varchar(name, { length: 24 });
6
7export const id = {
8 get id() {

Callers 4

state.pg.tsFile · 0.90
run.pg.tsFile · 0.90
idFunction · 0.70
workspaceIDFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected