Frontend (TypeScript)
The UpDoc backoffice extension is built with Lit web components and TypeScript, following Umbraco’s extension patterns.
All source files are in src/UpDoc/wwwroot/App_Plugins/UpDoc/src/.
| File | Description |
|---|---|
| index.ts | Entry point that registers all extension manifests with Umbraco |
| manifest.ts | Extension manifest definitions — entity actions, modals, conditions, settings, and collection actions |
| up-doc-action.ts | Entity action that handles “Create Document from Source” from the content tree |
| up-doc-collection-action.element.ts | Collection toolbar button for “Create from Source” in list views |
| up-doc-has-workflows.condition.ts | Condition that hides the entity action when no workflows are configured |
| up-doc-modal.element.ts | Source sidebar modal — source type selection, media picker, extraction preview |
| up-doc-modal.token.ts | Modal token defining the data/value contract for the source sidebar |
| blueprint-picker-modal.element.ts | Blueprint picker dialog — document type and blueprint selection |
| blueprint-picker-modal.token.ts | Modal token for the blueprint picker |
| workflow.types.ts | TypeScript type definitions for workflow configs |
| workflow.service.ts | API service for fetching workflows, configs, and extraction results |
| up-doc-workflows-view.element.ts | Settings workspace view listing configured workflows |
| transforms.ts | Markdown-to-HTML conversion and RTE value building |