Function: brandCredentialRecord()
Makaio Framework / contracts/config / brandCredentialRecord
Function: brandCredentialRecord()
Section titled “Function: brandCredentialRecord()”brandCredentialRecord(
creds):Record<string,string&$brand<"CredentialRef">> |undefined
Defined in: ../../../packages/contracts/src/config/credential-ref.ts:191
Brand a plain string record as a credential-ref record.
Used by storage handlers to convert persisted JSON values into the branded API type.
Parameters
Section titled “Parameters”Record<string, string> | null | undefined
Plain string record from storage
Returns
Section titled “Returns”Record<string, string & $brand<"CredentialRef">> | undefined
Branded credential-ref record, or undefined when input is nullish