Abstract base class for file storage operations. Provides shared functionality for all file storage action implementations:

  • Storage provider lookup and initialization
  • Parameter extraction helpers
  • Result creation utilities
  • Error handling patterns

Hierarchy (view full)

Constructors

Methods

  • Internal method that must be implemented by derived action classes. This is where the actual action logic should be implemented.

    Parameters

    • params: RunActionParams<any>

      The action execution parameters including typed context

    Returns Promise<ActionResultSimple>

    Promise resolving to the action result

  • Executes the action with the provided parameters.

    Parameters

    • params: RunActionParams<any>

      The action execution parameters including context

    Returns Promise<ActionResultSimple>

    Promise resolving to the action result