Skip to content

Commit

Permalink
Remove outdated comments about public BlockInputInterfaces in block…
Browse files Browse the repository at this point in the history
… factories (#1581)

Co-authored-by: Johannes Obermair <[email protected]>
  • Loading branch information
Flips2001 and johnnyomair authored Jan 17, 2024
1 parent 32414d6 commit 49290cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion packages/api/cms-api/src/blocks/createSeoBlock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ interface CreateSeoBlockOptions<ImageBlock extends Block> {
image?: ImageBlock;
}

// Block-factories need the their BlockInputInterface to be public
interface SeoBlockInputInterface<ImageBlockInput extends BlockInputInterface> extends SimpleBlockInputInterface {
htmlTitle?: string;
metaDescription?: string;
Expand Down
1 change: 0 additions & 1 deletion packages/api/cms-api/src/blocks/createTextImageBlock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ interface CreateTextImageBlockOptions<TextBlock extends Block, ImageBlock extend
image?: ImageBlock;
}

// Block-factories need the their BlockInputInterface to be public
interface TextImageBlockInputInterface<TextBlockInput extends BlockInputInterface, ImageBlockInput extends BlockInputInterface>
extends SimpleBlockInputInterface {
text: TextBlockInput;
Expand Down

0 comments on commit 49290cb

Please sign in to comment.