@squidcloud/backend
    Preparing search index...

    Interface StorageContext

    Context for performing a storage-related operation.

    interface StorageContext {
        action: StorageActionType;
        functionality: StorageFunctionality;
        integrationId: string;
        pathsInBucket: string[];
    }
    Index

    Type of action being performed on the storage.

    functionality: StorageFunctionality

    Specific storage functionality being used.

    integrationId: string

    Identifier of the integration performing the storage action.

    pathsInBucket: string[]

    The keys the action runs on, as the bucket is accessed: each client path trimmed and stripped of one leading and one trailing '/', an uploaded file joined to its directory, a listed directory ending in '/' ('' for the bucket root). A path with a . or .. segment is refused before any rule runs.