MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / nextId

Function nextId

packages/plugins/workos-vault/src/sdk/testing.ts:85–85  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

83 let conflictPending = options?.conflictOnNextSecretUpdate ?? false;
84
85 const nextId = () => `vault_${(sequence += 1)}_${crypto.randomUUID().slice(0, 8)}`;
86
87 const validateObjectName = (name: string): Effect.Effect<void, TestWorkOSVaultError> => {
88 if (options?.rejectNamesWithColon && name.includes(":")) {

Callers 1

createObjectFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected