Skip to content

ForgeAdapter

Defined in: packages/core/src/adapters/ForgeAdapter.ts:72

The core transport interface implemented by every Forge execution context adapter.

Every Forge execution context (Forge Function, UI Kit 2, Custom UI, Forge Container, Forge Remote) implements this interface, allowing the generated clients to work identically regardless of context.

You do not implement this interface yourself — use one of the provided adapters: ForgeFunctionAdapter, ForgeBridgeAdapter, ForgeContainerAdapter, or ForgeRemoteAdapter.

readonly product: "jira" | "confluence"

Defined in: packages/core/src/adapters/ForgeAdapter.ts:74

The Atlassian product this adapter is configured to make requests to

fetch(options): Promise<Response>

Defined in: packages/core/src/adapters/ForgeAdapter.ts:80

Execute an HTTP request and return a standard Response. Implementations are responsible for authentication header injection, URL construction, and serialisation.

ForgeRequestOptions

Promise<Response>