> ## Documentation Index
> Fetch the complete documentation index at: https://docs.bijection.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Module: runtime/components

> Reference for the bijection/runtime/components entry point.

## Type Aliases

### CallbackReference

Ƭ **CallbackReference**: [`FunctionReference`](https://docs.bijection.com/api/modules/server#functionreference)\<`any`, `any`, `any`, `any`>

Not exported: an exported type refers to it.

***

### ComponentCommandRoute

Ƭ **ComponentCommandRoute**: `Object`

#### Type declaration

| Name | Type |
| :- | :- |
| `command` | [`CommandHandle`](https://docs.bijection.com/api/modules/server#commandhandle)\<`any`, `any`> |
| `submit` | [`FunctionReference`](https://docs.bijection.com/api/modules/server#functionreference)\<`"mutation"`, `"internal"`, `any`, `any`> |

***

### ComponentWorkPermission

Ƭ **ComponentWorkPermission**: `Object`

#### Type declaration

| Name | Type |
| :- | :- |
| `kind` | `string` |
| `key` | `string` |
| `operations` | readonly `string`\[] |

***

### RetainedComponentCallbacks

Ƭ **RetainedComponentCallbacks**\<`Callbacks`>: \{ \[Field in keyof Callbacks]: Callbacks\[Field] extends FunctionReference\<infer Kind, any, infer Args, infer Result> ? RetainedFunction\<Kind, Args, Result> : string }

#### Type parameters

| Name | Type |
| :- | :- |
| `Callbacks` | extends `Record`\<`string`, `string` \| [`CallbackReference`](https://docs.bijection.com/api/modules/runtime_components#callbackreference)> |

***

### ComponentPolicySlots

Ƭ **ComponentPolicySlots**\<`Slots`>: `Object`

Generated policy requirements; the marker exists only in TypeScript.

#### Type parameters

| Name | Type |
| :- | :- |
| `Slots` | extends `Record`\<`string`, \{ `args`: `any` ; `result`: `any`  }> |

#### Type declaration

| Name | Type |
| :- | :- |
| `[componentPolicySlots]` | `Slots` |

***

### ComponentSource

Ƭ **ComponentSource**: `Object`

A deployment-selected source of this component's own table.

#### Type declaration

| Name | Type |
| :- | :- |
| `table` | `string` |
| `destination` | `string` |
| `[sourceMarker]` | `true` |

## Variables

### requestAttribution

• `Const` **requestAttribution**: `Object`

#### Type declaration

| Name | Type |
| :- | :- |
| `attribute` | (`request`: \{ `record`: `string` ; `operation`: `string` ; `reference`: `string`  }) => `Promise`\<`void`> |

***

### programScope

• `Const` **programScope**: `Object`

## Functions

### componentDeclaration

▸ **componentDeclaration**(): `Promise`\<\{ `component`: `string` | `null` ; `declaration`: `string` ; `revision`: `string` ; `phase`: `"activation"` | `"work"` ; `access`: [`ComponentWorkPermission`](https://docs.bijection.com/api/modules/runtime_components#componentworkpermission)\[]  } | `null`>

Native declaration evidence for the installed component making this call.
This inspection grants no source permission and accepts no caller selector.

#### Returns

`Promise`\<\{ `component`: `string` | `null` ; `declaration`: `string` ; `revision`: `string` ; `phase`: `"activation"` | `"work"` ; `access`: [`ComponentWorkPermission`](https://docs.bijection.com/api/modules/runtime_components#componentworkpermission)\[]  } | `null`>

***

### resumeComponentWork

▸ **resumeComponentWork**(`record`): `Promise`\<`boolean`>

Resume finite native declaration evidence held by an accepted component
record inside its ordinary controller, after authorizing the current
operator. This grants no source read, deployment
authority, or configuration phase.

#### Parameters

| Name | Type |
| :- | :- |
| `record` | `string` |

#### Returns

`Promise`\<`boolean`>

***

### componentAdmission

▸ **componentAdmission**\<`T`>(`mutation`): `T`

An ordinary component mutation whose admission is the public review boundary.
Native evidence binds its actual code, arguments and result. Only this
installation's exact private bookkeeping images are encapsulated; business
writes, file publication, resource use and charges remain ordinary effects.
A returned reference must be stable across trial and acceptance.

#### Type parameters

| Name | Type |
| :- | :- |
| `T` | extends [`RegisteredMutation`](https://docs.bijection.com/api/modules/server#registeredmutation)\<`"public"`, `any`, `any`> |

#### Parameters

| Name | Type |
| :- | :- |
| `mutation` | `T` |

#### Returns

`T`

***

### componentSource

▸ **componentSource**(`table`, `destination`): [`ComponentSource`](https://docs.bijection.com/api/modules/runtime_components#componentsource)

#### Parameters

| Name | Type |
| :- | :- |
| `table` | `string` |
| `destination` | `string` |

#### Returns

[`ComponentSource`](https://docs.bijection.com/api/modules/runtime_components#componentsource)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.