Skip to content

Commit

Permalink
Update shortcut data
Browse files Browse the repository at this point in the history
  • Loading branch information
electrikmilk committed Nov 24, 2023
1 parent d1d881f commit a604b11
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,15 @@ export interface ActionData {
WFWorkflowActionParameters: object
}

interface ShortcutData {
export interface ShortcutData {
WFWorkflowName?: string
WFWorkflowIcon?: ShortcutIcon
WFWorkflowActions?: Array<ActionData>
WFWorkflowHasShortcutInputVariables?: boolean,
WFWorkflowInputContentItemClasses?: Array<String>
WFWorkflowOutputContentItemClasses?: Array<String>
WFQuickActionSurfaces?: Array<String>
WFWorkflowTypes?: Array<String>
}

interface ShortcutIcon {
Expand All @@ -62,7 +67,7 @@ export class ShortcutPreview {
selector: string
name: string
url: string
data: ShortcutData
data: ShortcutData = {};
header: boolean
meta: boolean

Expand Down

0 comments on commit a604b11

Please sign in to comment.