MCPcopy Create free account
hub / github.com/TanStack/ai / createId

Function createId

packages/ai/src/activities/generateVideo/index.ts:101–103  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

99// Activity Options Types
100
101function createId(prefix: string): string {
102 return `${prefix}-${Date.now()}-${Math.random().toString(36).slice(2, 9)}`
103}
104// ===========================
105
106/**

Callers 3

runCreateVideoJobFunction · 0.70
getVideoJobStatusFunction · 0.70

Calls 2

nowMethod · 0.80
toStringMethod · 0.80

Tested by

no test coverage detected