Skip to content

Commit

Permalink
✨ Add possibility to add a link to integration callback response
Browse files Browse the repository at this point in the history
  • Loading branch information
castroCrea committed May 15, 2024
1 parent 9688a22 commit 3ab01a4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion dist/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,9 @@ export declare class MoonPlugin {
html: string;
markdown: string;
context: Context;
}) => Promise<boolean>);
}) => Promise<boolean | {
url: string;
}>);
/**
* If set, a button icon will be shown to trigger integration callback
*/
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ export class MoonPlugin {
html: string
markdown: string
context: Context
}) => Promise<boolean>)
}) => Promise<boolean | { url: string }>)
/**
* If set, a button icon will be shown to trigger integration callback
*/
Expand Down

0 comments on commit 3ab01a4

Please sign in to comment.