Skip to content

craft-hub / workItemSourceKey

Function: workItemSourceKey() ​

workItemSourceKey(ref): string

Defined in: packages/craft-hub/src/work-items.ts:80

Return a collision-safe source key, isolating installations, accounts and containers.

Parameters ​

ref ​

accountId ​

string = identitySchema

containerId ​

string = identitySchema

instanceId ​

string = identitySchema

itemId ​

string = identitySchema

kind ​

string = identitySchema

providerId ​

string = identitySchema

Returns ​

string

Released under the MIT License.