Netlify Create Document Type
The Typescript definition of the Netlify Create Document type
The following Document
interface is extracted from the @stackbit/types
package.
To extend the Netlify Create Document
with custom data, you can use theDocumentContext
generic type when defining your content source class.
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Please install @stackbit/types
package to introspect the DocumentField
type.