# Frontend Authoring reference

<!-- prettier-ignore-start -->

Developer reference for `capell-app/frontend-authoring`. Start with the [README](../README.md) for what the extension does and how to install it.

## Package Details

Frontend Authoring is an **Available** Capell package in the **Capell Essentials** product group. It ships as `capell-app/frontend-authoring` and extends these surfaces: frontend, console.

- Status: Available
- Tier: free
- Bundle: foundation
- Composer package: `capell-app/frontend-authoring`
- Namespace: `Capell\FrontendAuthoring`
- Theme key: not applicable

## Technical Shape

### Service providers

- `Capell\FrontendAuthoring\Providers\MigrationMetadataServiceProvider`
- `Capell\FrontendAuthoring\Providers\FrontendAuthoringServiceProvider`
- `Capell\FrontendAuthoring\Providers\AdminServiceProvider`
- `Capell\FrontendAuthoring\Providers\FrontendServiceProvider`

### Config files

- `packages/frontend-authoring/config/capell-frontend-authoring.php`

### Migrations

- `packages/frontend-authoring/database/migrations/2026_09_25_000001_create_frontend_authoring_field_revisions_table.php`

### Filament classes

- `AuthoringMarkerPanelExtender`

### Livewire components

- `EditRegionField`

### Route files

- `packages/frontend-authoring/routes/web.php`

### Extension contracts

- `AuthoringMarkerEligibility`
- `EditableRegionApprovalWorkflow`
- `EditableRegionEditorSurface`

### Listeners

- `ForgetAuthoringMarkerOnLogout`

### Actions

- `AuthorizeEditableRegionAction`
- `BuildAuthoringBannerContextAction`
- `BuildBeaconResponseAction`
- `BuildEditableRegionManifestAction`
- `ClearAffectedCachedUrlsAction`
- `CollectAffectedCachedUrlsAction`
- `InstallFrontendAuthoringPackageAction`
- `UpdateEditableRegionAction`
- `ValidateEditableRegionPayloadAction`

### Data objects

- `EditableRegionData`
- `EditableRegionPayloadData`

### Manifest action API

- `install: Capell\FrontendAuthoring\Actions\InstallFrontendAuthoringPackageAction`

### Manifest contributions

- `asset: Capell\FrontendAuthoring\Manifest\FrontendAuthoringAssetsContribution`
- `render-hook: Capell\FrontendAuthoring\Manifest\FrontendAuthoringRenderHookContribution`
- `route: Capell\FrontendAuthoring\Manifest\FrontendAuthoringRoutesContribution`

### Health checks

- `Capell\FrontendAuthoring\Health\FrontendAuthoringHealthCheck`

### Blade views

- `packages/frontend-authoring/resources/views/components/page-data.blade.php`
- `packages/frontend-authoring/resources/views/editor/bootstrap-script.blade.php`
- `packages/frontend-authoring/resources/views/editor/filament-shell-assets.blade.php`
- `packages/frontend-authoring/resources/views/editor/livewire/edit-region-field.blade.php`
- `packages/frontend-authoring/resources/views/editor/region.blade.php`

### Cache tags

- `frontend-authoring`

## Data Model

- Required tables: `frontend_authoring_field_revisions`.
- Migration files: `2026_09_25_000001_create_frontend_authoring_field_revisions_table.php`.
- Migration impact: run host migrations through the package install flow before opening package surfaces.
- Deletion/retention behaviour: Docs gap: migrations and manifest contributions do not prove a cascade, pruning command, or timed retention policy.

<!-- prettier-ignore-end -->