@dxos/app-framework - v0.8.2
    Preparing search index...

    Type Alias Intent<Tag, Fields>

    An intent is an abstract description of an operation to be performed. Intents allow actions to be performed across plugins.

    type Intent<Tag extends string, Fields extends IntentParams> = {
        _schema: IntentSchema<Tag, Fields>;
        data: IntentData<Fields>;
        id: Tag;
        undo?: boolean;
    }

    Type Parameters

    Index

    Properties

    Properties

    Any data needed to perform the desired action.

    id: Tag

    The id of the intent.

    undo?: boolean

    Whether or not the intent is being undone.