Skip to content

Commit

Permalink
add rich text date element field types (#19)
Browse files Browse the repository at this point in the history
  • Loading branch information
StephenTangCook authored Aug 21, 2024
1 parent d369eca commit c6ff090
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/block-kit/block-elements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,8 @@ export interface RichTextSectionDate extends RichTextSectionElement {
timestamp: number;
format: string;
style?: RichTextSectionElementStyleWithCode;
url?: string;
fallback?: string;
}
export interface RichTextSectionBroadcast extends RichTextSectionElement {
type: "broadcast";
Expand Down
2 changes: 2 additions & 0 deletions src_deno/block-kit/block-elements.ts
Original file line number Diff line number Diff line change
Expand Up @@ -467,6 +467,8 @@ export interface RichTextSectionDate extends RichTextSectionElement {
timestamp: number;
format: string;
style?: RichTextSectionElementStyleWithCode;
url?: string;
fallback?: string;
}
export interface RichTextSectionBroadcast extends RichTextSectionElement {
type: "broadcast";
Expand Down

0 comments on commit c6ff090

Please sign in to comment.