ids
References
uuidv3
Re-exports uuidv3
uuidv4
Re-exports uuidv4
uuidv5
Re-exports uuidv5
Functions
localId()
Generates a new local ID, with an optional prefix.
Don’t use it for persisted IDs.
Parameters
• baseName?: string
prefix to add to the ID
Returns
string
Defined in
tmp/commons/src/lib/utils/ids.ts:20
newLocalId()
Parameters
• baseName?: string
Returns
string
Defined in
tmp/commons/src/lib/utils/ids.ts:9
newUuid()
Parameters
• baseName?: string
Returns
string
Defined in
tmp/commons/src/lib/utils/ids.ts:27
uuid()
Generates a new v4 UUID, with an optional prefix.
Parameters
• baseName?: string
prefix to add to the UUID
Returns
string