MCPcopy Index your code
hub / github.com/simstudioai/sim / generateTempId

Function generateTempId

apps/sim/hooks/queries/utils/optimistic-mutation.ts:75–77  ·  view source on GitHub ↗
(prefix: string)

Source from the content-addressed store, hash-verified

73}
74
75export function generateTempId(prefix: string): string {
76 return `${prefix}-${Date.now()}`
77}

Callers 2

Calls

no outgoing calls

Tested by

no test coverage detected