Skip to content

Add typed export-template lifecycle and execution support #32

Description

@terjekv

Gap

Exports have a high-level typed service, but all eight export-template operations remain generic:

  • list/create/get/update/delete templates;
  • run a template-backed export;
  • template events, history, and as-of reads.

This leaves reusable exports less safe and less discoverable than one-off ExportRequest workflows.

Acceptance criteria

  • Add ExportTemplateId, strict create/update/run request models, and forward-compatible template response models.
  • Expose a cursor-aware client.export_templates service with CRUD and execution.
  • Return the existing typed Task from template execution and interoperate with client.exports output retrieval.
  • Add typed template audit/history methods or integrate with the shared audit/history service.
  • Preserve exact sync/async parity.
  • Add unit and pinned v0.0.9 lifecycle/execute coverage.
  • Document template rendering, missing-data policy, output negotiation, and task workflow.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions