MutablePlatformStore
Defined in: packages/core/src/adapters.ts:54
A writable PlatformStore. Required for Dynamic Registration, which onboards
platforms at runtime (a read-only store rejects registration at config time).
Extends
Section titled “Extends”Methods
Section titled “Methods”find()
Section titled “find()”find(
iss,clientId?):Promise<Platform|null>
Defined in: packages/core/src/adapters.ts:44
Resolve a platform by issuer, optionally disambiguated by clientId
(for multiple tools/registrations under one issuer). Return null if none.
Parameters
Section titled “Parameters”string
clientId?
Section titled “clientId?”string | null
Returns
Section titled “Returns”Promise<Platform | null>
Inherited from
Section titled “Inherited from”save()
Section titled “save()”save(
platform):Promise<Platform>
Defined in: packages/core/src/adapters.ts:60
Upsert a platform keyed on (issuer, clientId): insert a new registration,
or update the endpoints (and backfill deploymentId) of an existing one.
Returns the stored record with its assigned id.
Parameters
Section titled “Parameters”platform
Section titled “platform”Returns
Section titled “Returns”Promise<Platform>