MCPcopy
hub / github.com/triggerdotdev/trigger.dev / generateFriendlyId

Function generateFriendlyId

apps/webapp/app/v3/friendlyIdentifiers.ts:5–7  ·  view source on GitHub ↗
(prefix: string, size?: number)

Source from the content-addressed store, hash-verified

3const idGenerator = customAlphabet("123456789abcdefghijkmnopqrstuvwxyz", 21);
4
5export function generateFriendlyId(prefix: string, size?: number) {
6 return `${prefix}_${idGenerator(size)}`;
7}

Callers 15

constructorMethod · 0.90
constructorMethod · 0.90
createMethod · 0.90
callMethod · 0.90
callMethod · 0.90
createBackgroundTasksFunction · 0.90
callMethod · 0.90
callMethod · 0.90
callMethod · 0.90
#createNewScheduleMethod · 0.90
callMethod · 0.90
callMethod · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…