Skip to content

Commit

Permalink
fix: make slate optional
Browse files Browse the repository at this point in the history
  • Loading branch information
DecathectZero committed Nov 4, 2023
1 parent 4628f3d commit e8b844b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/base-types/src/node/cardV2.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export interface Node extends BaseNode, NodeNextID, BaseNoReplyNodeData, BaseNoM
}

export interface TraceCardV2Description {
slate: SlateTextValue;
slate?: SlateTextValue;
text: string;
}
export interface TraceCardV2 extends CardDataWithGeneralButton {
Expand Down
2 changes: 1 addition & 1 deletion packages/base-types/src/node/carousel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export interface Node extends BaseNode, NodeNextID, BaseNoReplyNodeData, BaseNoM
}

export interface TraceCarouselCardDescription {
slate: SlateTextValue;
slate?: SlateTextValue;
text: string;
}
export interface TraceCarouselCard extends Omit<NodeCarouselCard, 'description'> {
Expand Down

0 comments on commit e8b844b

Please sign in to comment.