Skip to content

Commit

Permalink
chore: remove unimplemented executeOnUserDataChanged adlib-action p…
Browse files Browse the repository at this point in the history
…roperty
  • Loading branch information
Julusian committed Oct 19, 2023
1 parent d9dee47 commit bb13da9
Showing 1 changed file with 10 additions and 10 deletions.
20 changes: 10 additions & 10 deletions packages/blueprints-integration/src/action.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@ export interface ActionUserData {
[key: string]: any
}

export enum ActionExecuteAfterChanged {
/** Do not execute the action after userData has changed, unless specifically triggered by the user */
none = 'none',
/** Execute the action immediately after userData has changed */
immediately = 'immediately',
/** Execute the action after userData has changed and there was an identifiable period of calm in the changes */
debounce = 'debounce',
}
// export enum ActionExecuteAfterChanged {
// /** Do not execute the action after userData has changed, unless specifically triggered by the user */
// none = 'none',
// /** Execute the action immediately after userData has changed */
// immediately = 'immediately',
// /** Execute the action after userData has changed and there was an identifiable period of calm in the changes */
// debounce = 'debounce',
// }

export interface IBlueprintActionManifestDisplay {
/** A label to be displayed to the user */
Expand Down Expand Up @@ -94,9 +94,9 @@ export interface IBlueprintActionManifest {
userDataManifest: {
/** List of editable fields in userData, to allow for customising */
editableFields?: JSONBlob<JSONSchema>
/** Execute the action after userData is changed. If not present ActionExecuteAfterChanged.none is assumed. */
executeOnUserDataChanged?: ActionExecuteAfterChanged
// Potential future properties:
// /** Execute the action after userData is changed. If not present ActionExecuteAfterChanged.none is assumed. */
// executeOnUserDataChanged?: ActionExecuteAfterChanged
// asloDisplayACtionButton: boolean
}

Expand Down

0 comments on commit bb13da9

Please sign in to comment.