@datocms/svelte 1.2.1 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +33 -6
- package/{components → package/components}/StructuredText/StructuredText.svelte.d.ts +1 -1
- package/{index.d.ts → package/index.d.ts} +2 -2
- package/package.json +222 -70
- package/components/Head/__tests__/Head.test.d.ts +0 -1
- package/components/Head/__tests__/Head.test.js +0 -11
- package/components/Head/__tests__/__fixtures__/head.d.ts +0 -2
- package/components/Head/__tests__/__fixtures__/head.js +0 -280
- package/components/Head/__tests__/__snapshots__/Head.test.ts.snap +0 -221
- package/components/Image/__tests__/Image.svelte.test.d.ts +0 -1
- package/components/Image/__tests__/Image.svelte.test.js +0 -44
- package/components/Image/__tests__/__fixtures__/image.d.ts +0 -40
- package/components/Image/__tests__/__fixtures__/image.js +0 -40
- package/components/Image/__tests__/__snapshots__/Image.svelte.test.ts.snap +0 -903
- package/components/StructuredText/__tests__/StructuredText.svelte.test.d.ts +0 -1
- package/components/StructuredText/__tests__/StructuredText.svelte.test.js +0 -171
- package/components/StructuredText/__tests__/__fixtures__/Block.svelte +0 -11
- package/components/StructuredText/__tests__/__fixtures__/Block.svelte.d.ts +0 -19
- package/components/StructuredText/__tests__/__fixtures__/CustomSpan.svelte +0 -49
- package/components/StructuredText/__tests__/__fixtures__/CustomSpan.svelte.d.ts +0 -19
- package/components/StructuredText/__tests__/__fixtures__/IncreasedLevelHeading.svelte +0 -8
- package/components/StructuredText/__tests__/__fixtures__/IncreasedLevelHeading.svelte.d.ts +0 -19
- package/components/StructuredText/__tests__/__fixtures__/InlineItem.svelte +0 -8
- package/components/StructuredText/__tests__/__fixtures__/InlineItem.svelte.d.ts +0 -19
- package/components/StructuredText/__tests__/__fixtures__/ItemLink.svelte +0 -15
- package/components/StructuredText/__tests__/__fixtures__/ItemLink.svelte.d.ts +0 -21
- package/components/StructuredText/__tests__/__fixtures__/structuredText.d.ts +0 -7
- package/components/StructuredText/__tests__/__fixtures__/structuredText.js +0 -575
- package/components/StructuredText/__tests__/__fixtures__/types.d.ts +0 -27
- package/components/StructuredText/__tests__/__fixtures__/types.js +0 -1
- package/components/StructuredText/__tests__/__snapshots__/StructuredText.svelte.test.ts.snap +0 -531
- /package/{components → package/components}/Head/Head.svelte +0 -0
- /package/{components → package/components}/Head/Head.svelte.d.ts +0 -0
- /package/{components → package/components}/Head/README.md +0 -0
- /package/{components → package/components}/Image/Image.svelte +0 -0
- /package/{components → package/components}/Image/Image.svelte.d.ts +0 -0
- /package/{components → package/components}/Image/Placeholder.svelte +0 -0
- /package/{components → package/components}/Image/Placeholder.svelte.d.ts +0 -0
- /package/{components → package/components}/Image/README.md +0 -0
- /package/{components → package/components}/Image/Sizer.svelte +0 -0
- /package/{components → package/components}/Image/Sizer.svelte.d.ts +0 -0
- /package/{components → package/components}/Image/Source.svelte +0 -0
- /package/{components → package/components}/Image/Source.svelte.d.ts +0 -0
- /package/{components → package/components}/StructuredText/Node.svelte +0 -0
- /package/{components → package/components}/StructuredText/Node.svelte.d.ts +0 -0
- /package/{components → package/components}/StructuredText/README.md +0 -0
- /package/{components → package/components}/StructuredText/StructuredText.svelte +0 -0
- /package/{components → package/components}/StructuredText/nodes/Blockquote.svelte +0 -0
- /package/{components → package/components}/StructuredText/nodes/Blockquote.svelte.d.ts +0 -0
- /package/{components → package/components}/StructuredText/nodes/Code.svelte +0 -0
- /package/{components → package/components}/StructuredText/nodes/Code.svelte.d.ts +0 -0
- /package/{components → package/components}/StructuredText/nodes/Heading.svelte +0 -0
- /package/{components → package/components}/StructuredText/nodes/Heading.svelte.d.ts +0 -0
- /package/{components → package/components}/StructuredText/nodes/Link.svelte +0 -0
- /package/{components → package/components}/StructuredText/nodes/Link.svelte.d.ts +0 -0
- /package/{components → package/components}/StructuredText/nodes/List.svelte +0 -0
- /package/{components → package/components}/StructuredText/nodes/List.svelte.d.ts +0 -0
- /package/{components → package/components}/StructuredText/nodes/ListItem.svelte +0 -0
- /package/{components → package/components}/StructuredText/nodes/ListItem.svelte.d.ts +0 -0
- /package/{components → package/components}/StructuredText/nodes/Paragraph.svelte +0 -0
- /package/{components → package/components}/StructuredText/nodes/Paragraph.svelte.d.ts +0 -0
- /package/{components → package/components}/StructuredText/nodes/Root.svelte +0 -0
- /package/{components → package/components}/StructuredText/nodes/Root.svelte.d.ts +0 -0
- /package/{components → package/components}/StructuredText/nodes/Span.svelte +0 -0
- /package/{components → package/components}/StructuredText/nodes/Span.svelte.d.ts +0 -0
- /package/{components → package/components}/StructuredText/nodes/ThematicBreak.svelte +0 -0
- /package/{components → package/components}/StructuredText/nodes/ThematicBreak.svelte.d.ts +0 -0
- /package/{components → package/components}/StructuredText/utils/Lines.svelte +0 -0
- /package/{components → package/components}/StructuredText/utils/Lines.svelte.d.ts +0 -0
- /package/{index.js → package/index.js} +0 -0
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import '@testing-library/jest-dom';
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import { describe, expect, it } from 'vitest';
|
|
2
|
-
import '@testing-library/jest-dom';
|
|
3
|
-
import { render } from '@testing-library/svelte';
|
|
4
|
-
import { isBlock, isHeading, isInlineItem, isItemLink, isSpan } from 'datocms-structured-text-utils';
|
|
5
|
-
import { StructuredText } from '../../..';
|
|
6
|
-
import { heading, paragraphWithLink, structuredTextWithBlocksAndLinks } from './__fixtures__/structuredText';
|
|
7
|
-
import CustomSpan from './__fixtures__/CustomSpan.svelte';
|
|
8
|
-
import IncreasedLevelHeading from './__fixtures__/IncreasedLevelHeading.svelte';
|
|
9
|
-
import ItemLink from './__fixtures__/ItemLink.svelte';
|
|
10
|
-
import Block from './__fixtures__/Block.svelte';
|
|
11
|
-
import InlineItem from './__fixtures__/InlineItem.svelte';
|
|
12
|
-
describe('StructuredText', () => {
|
|
13
|
-
describe('with no value', () => {
|
|
14
|
-
it('renders null', () => {
|
|
15
|
-
const { container } = render(StructuredText, { props: { data: null } });
|
|
16
|
-
expect(container).toMatchSnapshot();
|
|
17
|
-
});
|
|
18
|
-
});
|
|
19
|
-
describe('with a very simple pure dast (only the `value` of a structured text)', () => {
|
|
20
|
-
describe('with default rules', () => {
|
|
21
|
-
it('renders the document', () => {
|
|
22
|
-
const { container } = render(StructuredText, { props: { data: heading.value } });
|
|
23
|
-
expect(container).toMatchSnapshot();
|
|
24
|
-
});
|
|
25
|
-
});
|
|
26
|
-
describe('with custom mark rules', () => {
|
|
27
|
-
it('renders the document', () => {
|
|
28
|
-
const { container } = render(StructuredText, {
|
|
29
|
-
props: { data: heading, components: [[isSpan, CustomSpan]] }
|
|
30
|
-
});
|
|
31
|
-
expect(container).toMatchSnapshot();
|
|
32
|
-
});
|
|
33
|
-
});
|
|
34
|
-
});
|
|
35
|
-
describe('with a very simple dast', () => {
|
|
36
|
-
describe('with default rules', () => {
|
|
37
|
-
it('renders the document', () => {
|
|
38
|
-
const { container } = render(StructuredText, { props: { data: heading } });
|
|
39
|
-
expect(container).toMatchSnapshot();
|
|
40
|
-
});
|
|
41
|
-
});
|
|
42
|
-
describe('with custom mark rules', () => {
|
|
43
|
-
it('renders the document', () => {
|
|
44
|
-
const { container } = render(StructuredText, {
|
|
45
|
-
props: { data: heading, components: [[isSpan, CustomSpan]] }
|
|
46
|
-
});
|
|
47
|
-
expect(container).toMatchSnapshot();
|
|
48
|
-
});
|
|
49
|
-
});
|
|
50
|
-
});
|
|
51
|
-
describe('with a dast which has a link inside', () => {
|
|
52
|
-
describe('with default rules', () => {
|
|
53
|
-
it('renders the document', () => {
|
|
54
|
-
const { container } = render(StructuredText, { props: { data: paragraphWithLink } });
|
|
55
|
-
expect(container).toMatchSnapshot();
|
|
56
|
-
});
|
|
57
|
-
});
|
|
58
|
-
});
|
|
59
|
-
describe('with a dast with no links nor blocks', () => {
|
|
60
|
-
describe('with default rules', () => {
|
|
61
|
-
it('renders the document', () => {
|
|
62
|
-
const { container } = render(StructuredText, {
|
|
63
|
-
props: { data: heading }
|
|
64
|
-
});
|
|
65
|
-
expect(container).toMatchSnapshot();
|
|
66
|
-
});
|
|
67
|
-
});
|
|
68
|
-
describe('with custom rules', () => {
|
|
69
|
-
it('renders the document', () => {
|
|
70
|
-
const { container } = render(StructuredText, {
|
|
71
|
-
props: { data: heading, components: [[isHeading, IncreasedLevelHeading]] }
|
|
72
|
-
});
|
|
73
|
-
expect(container).toMatchSnapshot();
|
|
74
|
-
});
|
|
75
|
-
});
|
|
76
|
-
});
|
|
77
|
-
describe('with a dast including links and blocks', () => {
|
|
78
|
-
describe('with default rules', () => {
|
|
79
|
-
it('renders the document', () => {
|
|
80
|
-
const { container } = render(StructuredText, {
|
|
81
|
-
props: {
|
|
82
|
-
data: structuredTextWithBlocksAndLinks,
|
|
83
|
-
components: [
|
|
84
|
-
[isInlineItem, InlineItem],
|
|
85
|
-
[isItemLink, ItemLink],
|
|
86
|
-
[isBlock, Block]
|
|
87
|
-
]
|
|
88
|
-
}
|
|
89
|
-
});
|
|
90
|
-
expect(container).toMatchSnapshot();
|
|
91
|
-
});
|
|
92
|
-
});
|
|
93
|
-
describe('with missing component for item links', () => {
|
|
94
|
-
it('raises an error', () => {
|
|
95
|
-
expect(() => {
|
|
96
|
-
render(StructuredText, {
|
|
97
|
-
props: {
|
|
98
|
-
data: structuredTextWithBlocksAndLinks,
|
|
99
|
-
components: [
|
|
100
|
-
[isBlock, Block],
|
|
101
|
-
[isInlineItem, InlineItem]
|
|
102
|
-
]
|
|
103
|
-
}
|
|
104
|
-
});
|
|
105
|
-
}).toThrowErrorMatchingSnapshot();
|
|
106
|
-
});
|
|
107
|
-
});
|
|
108
|
-
describe('with missing component for inline items', () => {
|
|
109
|
-
it('raises an error', () => {
|
|
110
|
-
expect(() => {
|
|
111
|
-
render(StructuredText, {
|
|
112
|
-
props: {
|
|
113
|
-
data: structuredTextWithBlocksAndLinks,
|
|
114
|
-
components: [
|
|
115
|
-
[isBlock, Block],
|
|
116
|
-
[isItemLink, ItemLink]
|
|
117
|
-
]
|
|
118
|
-
}
|
|
119
|
-
});
|
|
120
|
-
}).toThrowErrorMatchingSnapshot();
|
|
121
|
-
});
|
|
122
|
-
});
|
|
123
|
-
describe('with missing links', () => {
|
|
124
|
-
it('raises an error', () => {
|
|
125
|
-
expect(() => {
|
|
126
|
-
render(StructuredText, {
|
|
127
|
-
props: {
|
|
128
|
-
data: { ...structuredTextWithBlocksAndLinks, links: [] },
|
|
129
|
-
components: [
|
|
130
|
-
[isBlock, Block],
|
|
131
|
-
[isInlineItem, InlineItem],
|
|
132
|
-
[isItemLink, ItemLink]
|
|
133
|
-
]
|
|
134
|
-
}
|
|
135
|
-
});
|
|
136
|
-
}).toThrowErrorMatchingSnapshot();
|
|
137
|
-
});
|
|
138
|
-
});
|
|
139
|
-
describe('with missing component for blocks', () => {
|
|
140
|
-
it('raises an error', () => {
|
|
141
|
-
expect(() => {
|
|
142
|
-
render(StructuredText, {
|
|
143
|
-
props: {
|
|
144
|
-
data: structuredTextWithBlocksAndLinks,
|
|
145
|
-
components: [
|
|
146
|
-
[isInlineItem, InlineItem],
|
|
147
|
-
[isItemLink, ItemLink]
|
|
148
|
-
]
|
|
149
|
-
}
|
|
150
|
-
});
|
|
151
|
-
}).toThrowErrorMatchingSnapshot();
|
|
152
|
-
});
|
|
153
|
-
});
|
|
154
|
-
describe('with missing blocks', () => {
|
|
155
|
-
it('raises an error', () => {
|
|
156
|
-
expect(() => {
|
|
157
|
-
render(StructuredText, {
|
|
158
|
-
props: {
|
|
159
|
-
data: { ...structuredTextWithBlocksAndLinks, blocks: [] },
|
|
160
|
-
components: [
|
|
161
|
-
[isBlock, Block],
|
|
162
|
-
[isInlineItem, InlineItem],
|
|
163
|
-
[isItemLink, ItemLink]
|
|
164
|
-
]
|
|
165
|
-
}
|
|
166
|
-
});
|
|
167
|
-
}).toThrowErrorMatchingSnapshot();
|
|
168
|
-
});
|
|
169
|
-
});
|
|
170
|
-
});
|
|
171
|
-
});
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
<script>import { isBlock } from "datocms-structured-text-utils";
|
|
2
|
-
export let node;
|
|
3
|
-
export let block;
|
|
4
|
-
</script>
|
|
5
|
-
|
|
6
|
-
{#if block.__typename == 'QuoteRecord' && isBlock(node)}
|
|
7
|
-
<figure>
|
|
8
|
-
<blockquote>{block.quote}</blockquote>
|
|
9
|
-
<figcaption>{block.author}</figcaption>
|
|
10
|
-
</figure>
|
|
11
|
-
{/if}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import { type Block } from 'datocms-structured-text-utils';
|
|
3
|
-
import type { QuoteRecord } from './types';
|
|
4
|
-
declare const __propDef: {
|
|
5
|
-
props: {
|
|
6
|
-
node: Block;
|
|
7
|
-
block: QuoteRecord;
|
|
8
|
-
};
|
|
9
|
-
events: {
|
|
10
|
-
[evt: string]: CustomEvent<any>;
|
|
11
|
-
};
|
|
12
|
-
slots: {};
|
|
13
|
-
};
|
|
14
|
-
export type BlockProps = typeof __propDef.props;
|
|
15
|
-
export type BlockEvents = typeof __propDef.events;
|
|
16
|
-
export type BlockSlots = typeof __propDef.slots;
|
|
17
|
-
export default class Block extends SvelteComponentTyped<BlockProps, BlockEvents, BlockSlots> {
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
<script>import Lines from "../../utils/Lines.svelte";
|
|
2
|
-
export let node;
|
|
3
|
-
$:
|
|
4
|
-
({ type, value, marks } = node);
|
|
5
|
-
$:
|
|
6
|
-
[mark, ...otherMarks] = marks ?? [];
|
|
7
|
-
</script>
|
|
8
|
-
|
|
9
|
-
{#if mark}
|
|
10
|
-
{#if mark === 'emphasis'}
|
|
11
|
-
<em>
|
|
12
|
-
<svelte:self node={{ type, value, marks: otherMarks }}>
|
|
13
|
-
<slot />
|
|
14
|
-
</svelte:self>
|
|
15
|
-
</em>
|
|
16
|
-
{:else if mark === 'highlight'}
|
|
17
|
-
<mark>
|
|
18
|
-
<svelte:self node={{ type, value, marks: otherMarks }}>
|
|
19
|
-
<slot />
|
|
20
|
-
</svelte:self>
|
|
21
|
-
</mark>
|
|
22
|
-
{:else if mark === 'strikethrough'}
|
|
23
|
-
<del>
|
|
24
|
-
<svelte:self node={{ type, value, marks: otherMarks }}>
|
|
25
|
-
<slot />
|
|
26
|
-
</svelte:self>
|
|
27
|
-
</del>
|
|
28
|
-
{:else if mark === 'strong'}
|
|
29
|
-
<b>
|
|
30
|
-
<svelte:self node={{ type, value, marks: otherMarks }}>
|
|
31
|
-
<slot />
|
|
32
|
-
</svelte:self>
|
|
33
|
-
</b>
|
|
34
|
-
{:else if mark === 'underline'}
|
|
35
|
-
<u>
|
|
36
|
-
<svelte:self node={{ type, value, marks: otherMarks }}>
|
|
37
|
-
<slot />
|
|
38
|
-
</svelte:self>
|
|
39
|
-
</u>
|
|
40
|
-
{:else if mark === 'code'}
|
|
41
|
-
<pre>
|
|
42
|
-
<svelte:self node={{ type, value, marks: otherMarks }}>
|
|
43
|
-
<slot />
|
|
44
|
-
</svelte:self>
|
|
45
|
-
</pre>
|
|
46
|
-
{/if}
|
|
47
|
-
{:else}
|
|
48
|
-
<Lines lines={node.value.split(/\n/)} />
|
|
49
|
-
{/if}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import type { Span } from 'datocms-structured-text-utils';
|
|
3
|
-
declare const __propDef: {
|
|
4
|
-
props: {
|
|
5
|
-
node: Span;
|
|
6
|
-
};
|
|
7
|
-
events: {
|
|
8
|
-
[evt: string]: CustomEvent<any>;
|
|
9
|
-
};
|
|
10
|
-
slots: {
|
|
11
|
-
default: {};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export type CustomSpanProps = typeof __propDef.props;
|
|
15
|
-
export type CustomSpanEvents = typeof __propDef.events;
|
|
16
|
-
export type CustomSpanSlots = typeof __propDef.slots;
|
|
17
|
-
export default class CustomSpan extends SvelteComponentTyped<CustomSpanProps, CustomSpanEvents, CustomSpanSlots> {
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import type { Heading } from 'datocms-structured-text-utils';
|
|
3
|
-
declare const __propDef: {
|
|
4
|
-
props: {
|
|
5
|
-
node: Heading;
|
|
6
|
-
};
|
|
7
|
-
events: {
|
|
8
|
-
[evt: string]: CustomEvent<any>;
|
|
9
|
-
};
|
|
10
|
-
slots: {
|
|
11
|
-
default: {};
|
|
12
|
-
};
|
|
13
|
-
};
|
|
14
|
-
export type IncreasedLevelHeadingProps = typeof __propDef.props;
|
|
15
|
-
export type IncreasedLevelHeadingEvents = typeof __propDef.events;
|
|
16
|
-
export type IncreasedLevelHeadingSlots = typeof __propDef.slots;
|
|
17
|
-
export default class IncreasedLevelHeading extends SvelteComponentTyped<IncreasedLevelHeadingProps, IncreasedLevelHeadingEvents, IncreasedLevelHeadingSlots> {
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import { type InlineItem } from 'datocms-structured-text-utils';
|
|
3
|
-
import type { DocPageRecord } from './types';
|
|
4
|
-
declare const __propDef: {
|
|
5
|
-
props: {
|
|
6
|
-
node: InlineItem;
|
|
7
|
-
link: DocPageRecord;
|
|
8
|
-
};
|
|
9
|
-
events: {
|
|
10
|
-
[evt: string]: CustomEvent<any>;
|
|
11
|
-
};
|
|
12
|
-
slots: {};
|
|
13
|
-
};
|
|
14
|
-
export type InlineItemProps = typeof __propDef.props;
|
|
15
|
-
export type InlineItemEvents = typeof __propDef.events;
|
|
16
|
-
export type InlineItemSlots = typeof __propDef.slots;
|
|
17
|
-
export default class InlineItem extends SvelteComponentTyped<InlineItemProps, InlineItemEvents, InlineItemSlots> {
|
|
18
|
-
}
|
|
19
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
<script>import { defaultMetaTransformer } from "datocms-structured-text-generic-html-renderer";
|
|
2
|
-
import { isItemLink } from "datocms-structured-text-utils";
|
|
3
|
-
export let node;
|
|
4
|
-
export let link;
|
|
5
|
-
$:
|
|
6
|
-
({ meta } = node);
|
|
7
|
-
$:
|
|
8
|
-
transformedMeta = meta ? defaultMetaTransformer({ node, meta }) : null;
|
|
9
|
-
</script>
|
|
10
|
-
|
|
11
|
-
{#if link.__typename == 'DocPageRecord' && isItemLink(node)}
|
|
12
|
-
<a {...transformedMeta} href={`/docs/${link.slug}`}>
|
|
13
|
-
<slot />
|
|
14
|
-
</a>
|
|
15
|
-
{/if}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { SvelteComponentTyped } from "svelte";
|
|
2
|
-
import { type ItemLink } from 'datocms-structured-text-utils';
|
|
3
|
-
import type { DocPageRecord } from './types';
|
|
4
|
-
declare const __propDef: {
|
|
5
|
-
props: {
|
|
6
|
-
node: ItemLink;
|
|
7
|
-
link: DocPageRecord;
|
|
8
|
-
};
|
|
9
|
-
events: {
|
|
10
|
-
[evt: string]: CustomEvent<any>;
|
|
11
|
-
};
|
|
12
|
-
slots: {
|
|
13
|
-
default: {};
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export type ItemLinkProps = typeof __propDef.props;
|
|
17
|
-
export type ItemLinkEvents = typeof __propDef.events;
|
|
18
|
-
export type ItemLinkSlots = typeof __propDef.slots;
|
|
19
|
-
export default class ItemLink extends SvelteComponentTyped<ItemLinkProps, ItemLinkEvents, ItemLinkSlots> {
|
|
20
|
-
}
|
|
21
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { StructuredText } from 'datocms-structured-text-utils';
|
|
2
|
-
import type { BlogPostRecord, DocPageRecord, ImageRecord, QuoteRecord } from './types';
|
|
3
|
-
export declare const paragraph: StructuredText;
|
|
4
|
-
export declare const heading: StructuredText;
|
|
5
|
-
export declare const paragraphWithLink: StructuredText;
|
|
6
|
-
export declare const structuredTextWithBlocksAndLinks: StructuredText<QuoteRecord, DocPageRecord>;
|
|
7
|
-
export declare const full: StructuredText<ImageRecord | BlogPostRecord>;
|