Skip to content

DesignProvider

Defined in: packages/core/src/adapters/design.ts:58

Descriptor — registered at startup, parses links and binds a credential.

readonly optional lifecycle?: AdapterLifecycle

Defined in: packages/core/src/adapters/metadata.ts:84

Optional lifecycle hooks.

Adapter.lifecycle


readonly metadata: AdapterMetadata & DesignAdapterMetadata

Defined in: packages/core/src/adapters/metadata.ts:82

Adapter identity (mandatory).

Adapter.metadata


readonly optional oauth?: OAuthClient

Defined in: packages/core/src/adapters/design.ts:64

Present only when the operator configured OAuth for this provider.

create(opts): DesignClient

Defined in: packages/core/src/adapters/design.ts:62

Create a client bound to a decrypted credential (authType defaults to a personal token).

DesignAuthType

string

Logger

DesignClient


parseUrl(raw): DesignRef | null

Defined in: packages/core/src/adapters/design.ts:60

Parse a pasted link; null when it is not one of this provider’s links.

string

DesignRef | null


optional setLogger(logger): void

Defined in: packages/core/src/adapters/metadata.ts:90

Bind the host-owned runtime logger. Called by the app/worker when present; factories must never create their own loggers — they only store what they are given (explicit options.logger wins over bound).

Logger

void

Adapter.setLogger