Skip to content

Commit

Permalink
build(api): generate new api
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasnobile authored and matej21 committed Oct 19, 2023
1 parent 6565edc commit cf2eadd
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions build/api/react-client.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ export interface RichTextAnchorElement<CustomElements extends RichTextElement =
}

// @public (undocumented)
export type RichTextBlock = Record<string, unknown>;
export type RichTextBlock = Readonly<Record<string, unknown>>;

// @public (undocumented)
export interface RichTextBoldLeaf extends RichTextLeaf {
Expand Down Expand Up @@ -312,7 +312,7 @@ export const RichTextRenderer: <CustomElements extends RichTextElement<never, ne
// @public (undocumented)
export interface RichTextRendererBlockProps<CustomElements extends RichTextElement = never, CustomLeaves extends RichTextLeaf = never> {
// (undocumented)
blocks: RichTextBlock[];
blocks: readonly RichTextBlock[];
// (undocumented)
referenceDiscriminationField?: string;
// (undocumented)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@ import { RichTextRenderMetadataContext } from './RichTextRenderMetadataContext'
import type { RootEditorNode } from './RootEditorNode'

export interface RichTextRendererFieldProps {
readonly source: string | null
source: string | null
}

export interface RichTextRendererBlockProps<
CustomElements extends RichTextElement = never,
CustomLeaves extends RichTextLeaf = never,
> {
readonly blocks: RichTextBlock[]
readonly referenceRenderers?: Record<string, ReferenceRenderer<any, CustomElements, CustomLeaves>>
readonly sourceField?: string
readonly referencesField?: string
readonly referenceDiscriminationField?: string
blocks: readonly RichTextBlock[]
referenceRenderers?: Record<string, ReferenceRenderer<any, CustomElements, CustomLeaves>>
sourceField?: string
referencesField?: string
referenceDiscriminationField?: string
}

export type RichTextRendererProps<
Expand Down

0 comments on commit cf2eadd

Please sign in to comment.