Skip to content

Commit

Permalink
Reformat Action type
Browse files Browse the repository at this point in the history
  • Loading branch information
OzzyCzech committed Dec 6, 2023
1 parent 070b951 commit 2ffea6f
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions src/action.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,10 @@
export type Action = {

/**
* Unique id of the action (optional)
*/
id?: string;

/**
* Title of the action
*/
Expand All @@ -16,23 +22,20 @@ export type Action = {

/**
* Hotkey of the action (optional)
* @see https://wangchujiang.com/hotkeys-js/
* @see https://github.com/jamiebuilds/tinykeys
*/
hotkey?: string;

/**
* Unique id of the action (optional)
* URL of the action (optional)
*/
id?: string;

/**
* Target of the action (optional)
* default is `_self`
*/
target?: string;
/**
* URL of the action (optional)
*/
url?: string;

/**
* Handler of the action (optional)
Expand Down

1 comment on commit 2ffea6f

@vercel
Copy link

@vercel vercel bot commented on 2ffea6f Dec 6, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

cmd-dialog – ./

cmd-dialog-git-main-ozzyczech.vercel.app
cmd-dialog-ozzyczech.vercel.app
cmd-dialog.vercel.app

Please sign in to comment.