generated from leafrogers/template
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtypes.generated.ts
70 lines (68 loc) · 1.88 KB
/
types.generated.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
// Code generated by prismic-ts-codegen. DO NOT EDIT.
import type * as prismic from '@prismicio/client';
type Simplify<T> = {
[KeyType in keyof T]: T[KeyType];
};
/** Content for weeknotes documents */
interface WeeknotesDocumentData {
/**
* title field in *weeknotes*
*
* - **Field Type**: Title
* - **Placeholder**: The main title of the weeknote.
* - **API ID Path**: weeknotes.title
* - **Tab**: Main
* - **Documentation**: https://prismic.io/docs/core-concepts/rich-text-title
*
*/
title: prismic.TitleField;
/**
* body field in *weeknotes*
*
* - **Field Type**: Rich Text
* - **Placeholder**: Main content area for the weeknote.
* - **API ID Path**: weeknotes.body
* - **Tab**: Main
* - **Documentation**: https://prismic.io/docs/core-concepts/rich-text-title
*
*/
body: prismic.RichTextField;
/**
* displayed published date field in *weeknotes*
*
* - **Field Type**: Timestamp
* - **Placeholder**: The timestamp you want to use as the cheaty “published” date
* - **API ID Path**: weeknotes.date
* - **Tab**: Main
* - **Documentation**: https://prismic.io/docs/core-concepts/timestamp
*
*/
date: prismic.TimestampField;
}
/**
* weeknotes document from Prismic
*
* - **API ID**: `weeknotes`
* - **Repeatable**: `true`
* - **Documentation**: https://prismic.io/docs/core-concepts/custom-types
*
* @typeParam Lang - Language API ID of the document.
*/
export type WeeknotesDocument<Lang extends string = string> =
prismic.PrismicDocumentWithUID<
Simplify<WeeknotesDocumentData>,
'weeknotes',
Lang
>;
export type AllDocumentTypes = WeeknotesDocument;
declare module '@prismicio/client' {
interface CreateClient {
(
repositoryNameOrEndpoint: string,
options?: prismic.ClientConfig
): prismic.Client<AllDocumentTypes>;
}
namespace Content {
export type { WeeknotesDocumentData, WeeknotesDocument, AllDocumentTypes };
}
}