Skip to content

ids

References

uuidv3

Re-exports uuidv3

uuidv4

Re-exports uuidv4

uuidv5

Re-exports uuidv5

Functions

localId()

function localId(baseName?): string

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()

function newLocalId(baseName?): string

Parameters

baseName?: string

Returns

string

Defined in

tmp/commons/src/lib/utils/ids.ts:9


newUuid()

function newUuid(baseName?): string

Parameters

baseName?: string

Returns

string

Defined in

tmp/commons/src/lib/utils/ids.ts:27


uuid()

function uuid(baseName?): string

Generates a new v4 UUID, with an optional prefix.

Parameters

baseName?: string

prefix to add to the UUID

Returns

string

Defined in

tmp/commons/src/lib/utils/ids.ts:39