Skip to content

Commit

Permalink
Fix #15 by resolving issues around rich text block elements (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
seratch authored Jun 19, 2024
1 parent a553f37 commit 2118dab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/block-kit/block-elements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -440,6 +440,7 @@ export interface RichTextSectionLink extends RichTextSectionElement {
type: "link";
url: string;
text: string;
unsafe?: boolean;
style?: RichTextSectionElementStyleWithCode;
}
export interface RichTextSectionTeam extends RichTextSectionElement {
Expand Down Expand Up @@ -469,6 +470,9 @@ export interface RichTextSectionElementStyle {
bold?: boolean;
italic?: boolean;
strike?: boolean;
highlight?: boolean;
client_highlight?: boolean;
unlink?: boolean;
}
export interface RichTextSectionElementStyleWithCode
extends RichTextSectionElementStyle {
Expand Down
4 changes: 4 additions & 0 deletions src_deno/block-kit/block-elements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,7 @@ export interface RichTextSectionLink extends RichTextSectionElement {
type: "link";
url: string;
text: string;
unsafe?: boolean;
style?: RichTextSectionElementStyleWithCode;
}
export interface RichTextSectionTeam extends RichTextSectionElement {
Expand Down Expand Up @@ -480,6 +481,9 @@ export interface RichTextSectionElementStyle {
bold?: boolean;
italic?: boolean;
strike?: boolean;
highlight?: boolean;
client_highlight?: boolean;
unlink?: boolean;
}
export interface RichTextSectionElementStyleWithCode
extends RichTextSectionElementStyle {
Expand Down

0 comments on commit 2118dab

Please sign in to comment.