-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathoperations-types.ts
More file actions
245 lines (177 loc) · 15.3 KB
/
operations-types.ts
File metadata and controls
245 lines (177 loc) · 15.3 KB
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
export type Maybe<T> = T | null;
export type InputMaybe<T> = Maybe<T>;
export type Exact<T extends { [key: string]: unknown }> = { [K in keyof T]: T[K] };
export type MakeOptional<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]?: Maybe<T[SubKey]> };
export type MakeMaybe<T, K extends keyof T> = Omit<T, K> & { [SubKey in K]: Maybe<T[SubKey]> };
export type MakeEmpty<T extends { [key: string]: unknown }, K extends keyof T> = { [_ in K]?: never };
export type Incremental<T> = T | { [P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never };
/** All built-in and custom scalars, mapped to their actual values */
export type Scalars = {
ID: { input: string; output: string; }
String: { input: string; output: string; }
Boolean: { input: boolean; output: boolean; }
Int: { input: number; output: number; }
Float: { input: number; output: number; }
DateTime: { input: any; output: any; }
Decimal: { input: any; output: any; }
};
export type AccessNodeInput = {
id: InputMaybe<Scalars['ID']['input']>;
password: Scalars['String']['input'];
slug: InputMaybe<Scalars['String']['input']>;
};
export type ApplyCouponInput = {
code: InputMaybe<Scalars['String']['input']>;
};
export enum CollectionType {
/** @deprecated This is no longer supported */
Bundle = 'BUNDLE',
Designer = 'DESIGNER',
Family = 'FAMILY',
Superfamily = 'SUPERFAMILY'
}
export type CreateLibraryStripeCheckoutSessionInput = {
/** Which Stripe subscription billing period? "month" or "year". Only used when creating a new subscription. */
billingPeriod: InputMaybe<Scalars['String']['input']>;
};
export type CreateOrderItemsInput = {
licenseSelections: Array<InputMaybe<LicenseSelectionInput>>;
licenseeIsBillingIdentity: InputMaybe<Scalars['Boolean']['input']>;
orderVariableSelections: InputMaybe<Array<OrderVariableSelectionInput>>;
skuIds: Array<InputMaybe<Scalars['ID']['input']>>;
};
export type ExchangeLoginTokenInput = {
loginToken: Scalars['String']['input'];
};
export type FontCollectionOrder = {
direction: InputMaybe<OrderDirection>;
field: InputMaybe<FontCollectionOrderField>;
};
export enum FontCollectionOrderField {
IsNew = 'IS_NEW',
Position = 'POSITION'
}
export type IdentityInput = {
administrativeArea: InputMaybe<Scalars['String']['input']>;
country: Scalars['String']['input'];
email: Scalars['String']['input'];
locality: InputMaybe<Scalars['String']['input']>;
name: Scalars['String']['input'];
organization: InputMaybe<Scalars['String']['input']>;
phone: InputMaybe<Scalars['String']['input']>;
sortingCode: InputMaybe<Scalars['String']['input']>;
street: InputMaybe<Scalars['String']['input']>;
sublocality: InputMaybe<Scalars['String']['input']>;
vatNumber: InputMaybe<Scalars['String']['input']>;
zip: InputMaybe<Scalars['String']['input']>;
};
export type LicenseOptionsSpec = {
licenseId: Scalars['ID']['input'];
licenseOptionIds: InputMaybe<Array<Scalars['ID']['input']>>;
};
export type LicenseSelectionInput = {
id: InputMaybe<Scalars['ID']['input']>;
licenseId: Scalars['ID']['input'];
licenseOptionId: InputMaybe<Scalars['ID']['input']>;
licenseVariableId: InputMaybe<Scalars['ID']['input']>;
variableText: InputMaybe<Scalars['String']['input']>;
};
export enum LicenseType {
Retail = 'RETAIL',
Special = 'SPECIAL',
Test = 'TEST'
}
export type LoginInput = {
email: InputMaybe<Scalars['String']['input']>;
name: InputMaybe<Scalars['String']['input']>;
newsletterOptIn: InputMaybe<Scalars['Boolean']['input']>;
target: InputMaybe<Scalars['String']['input']>;
};
export enum NameFormat {
Default = 'DEFAULT',
Localized = 'LOCALIZED'
}
export enum OrderDirection {
Asc = 'ASC',
Desc = 'DESC'
}
export type OrderItemInput = {
id: Scalars['ID']['input'];
licenseSelections: Array<InputMaybe<LicenseSelectionInput>>;
};
export type OrderVariableSelectionInput = {
countryCode: InputMaybe<Scalars['String']['input']>;
orderVariableId: Scalars['ID']['input'];
orderVariableOptionId: InputMaybe<Scalars['ID']['input']>;
};
export type RefreshAccessTokenInput = {
refreshToken: Scalars['String']['input'];
};
export enum Separator {
Comma = 'COMMA',
Newline = 'NEWLINE',
Whitespace = 'WHITESPACE'
}
export type StartLibraryStripeSubscriptionTrialInput = {
/** Which Stripe subscription billing period? "month" or "year" */
billingPeriod: InputMaybe<Scalars['String']['input']>;
};
export enum TextFormat {
Html = 'HTML',
Markdown = 'MARKDOWN'
}
export type UpdateCustomerInput = {
email: InputMaybe<Scalars['String']['input']>;
name: InputMaybe<Scalars['String']['input']>;
newsletterOptIn: InputMaybe<Scalars['Boolean']['input']>;
recaptchaToken: InputMaybe<Scalars['String']['input']>;
};
export type UpdateOrderInput = {
billingIdentity: InputMaybe<IdentityInput>;
licenseeIdentity: InputMaybe<IdentityInput>;
licenseeIsBillingIdentity: InputMaybe<Scalars['Boolean']['input']>;
orderItems: InputMaybe<Array<InputMaybe<OrderItemInput>>>;
orderVariableSelections: InputMaybe<Array<OrderVariableSelectionInput>>;
stripePaymentMethodId: InputMaybe<Scalars['String']['input']>;
};
export type ArticleQueryVariables = Exact<{
slug: Scalars['String']['input'];
}>;
export type ArticleQuery = { viewer: { articlesTags: Array<string> | null, slug: { article: { title: string | null, tags: Array<string> | null, body: string | null, images: Array<{ id: string, url: string | null, description: string | null, meta: { width: number | null, height: number | null } | null }> | null, pageMetadata: { title: string | null, description: string | null, keywords: string | null } | null } | null } | null } };
export type ArticlePathsQueryVariables = Exact<{ [key: string]: never; }>;
export type ArticlePathsQuery = { viewer: { articles: { edges: Array<{ node: { slug: { name: string | null } | null } | null } | null> | null } | null } };
export type ArticleTagsQueryVariables = Exact<{ [key: string]: never; }>;
export type ArticleTagsQuery = { viewer: { articlesTags: Array<string> | null } };
export type ArticlesQueryVariables = Exact<{
tags: InputMaybe<Array<Scalars['String']['input']> | Scalars['String']['input']>;
}>;
export type ArticlesQuery = { viewer: { articlesTags: Array<string> | null, articles: { edges: Array<{ node: { id: string, title: string | null, path: string | null, tags: Array<string> | null, slug: { name: string | null } | null, images: Array<{ url: string | null, description: string | null, meta: { width: number | null, height: number | null } | null }> | null } | null } | null> | null } | null } };
export type FontDetailCollectionFragment = { id: string, name: string, collectionType: string, isVariableFont: boolean, cssUrl: string | null, sku: { id: string } | null, bundles: Array<{ sku: { id: string } | null }> | null, fontStyles: Array<{ name: string, cssFamily: string | null, cssWeight: string | null, cssStyle: string | null, webfontSources: Array<{ url: string | null, format: string | null } | null> | null, sku: { id: string } | null, variableInstances: Array<{ name: string, coordinates: Array<{ axis: string, value: number }> }> | null }> };
export type FontDetailFragment = { shortDescription: string | null, description: string | null, minisiteLink: string | null, id: string, name: string, collectionType: string, isVariableFont: boolean, cssUrl: string | null, pdfs: Array<{ url: string | null, thumbnailUrl: string | null, name: string | null } | null> | null, featureStyle: { cssFamily: string | null, name: string, webfontSources: Array<{ url: string | null, format: string | null } | null> | null } | null, children: Array<{ id: string, name: string, collectionType: string, isVariableFont: boolean, cssUrl: string | null, sku: { id: string } | null, bundles: Array<{ sku: { id: string } | null }> | null, fontStyles: Array<{ name: string, cssFamily: string | null, cssWeight: string | null, cssStyle: string | null, webfontSources: Array<{ url: string | null, format: string | null } | null> | null, sku: { id: string } | null, variableInstances: Array<{ name: string, coordinates: Array<{ axis: string, value: number }> }> | null }> }> | null, images: Array<{ url: string | null, description: string | null, meta: { mimeType: string | null, width: number | null, height: number | null } | null }> | null, sku: { id: string } | null, bundles: Array<{ sku: { id: string } | null }> | null, fontStyles: Array<{ name: string, cssFamily: string | null, cssWeight: string | null, cssStyle: string | null, webfontSources: Array<{ url: string | null, format: string | null } | null> | null, sku: { id: string } | null, variableInstances: Array<{ name: string, coordinates: Array<{ axis: string, value: number }> }> | null }> };
export type FontQueryVariables = Exact<{
slug: Scalars['String']['input'];
}>;
export type FontQuery = { viewer: { slug: { fontCollection: { shortDescription: string | null, description: string | null, minisiteLink: string | null, id: string, name: string, collectionType: string, isVariableFont: boolean, cssUrl: string | null, pageMetadata: { title: string | null, description: string | null, keywords: string | null } | null, pdfs: Array<{ url: string | null, thumbnailUrl: string | null, name: string | null } | null> | null, featureStyle: { cssFamily: string | null, name: string, webfontSources: Array<{ url: string | null, format: string | null } | null> | null } | null, children: Array<{ id: string, name: string, collectionType: string, isVariableFont: boolean, cssUrl: string | null, sku: { id: string } | null, bundles: Array<{ sku: { id: string } | null }> | null, fontStyles: Array<{ name: string, cssFamily: string | null, cssWeight: string | null, cssStyle: string | null, webfontSources: Array<{ url: string | null, format: string | null } | null> | null, sku: { id: string } | null, variableInstances: Array<{ name: string, coordinates: Array<{ axis: string, value: number }> }> | null }> }> | null, images: Array<{ url: string | null, description: string | null, meta: { mimeType: string | null, width: number | null, height: number | null } | null }> | null, sku: { id: string } | null, bundles: Array<{ sku: { id: string } | null }> | null, fontStyles: Array<{ name: string, cssFamily: string | null, cssWeight: string | null, cssStyle: string | null, webfontSources: Array<{ url: string | null, format: string | null } | null> | null, sku: { id: string } | null, variableInstances: Array<{ name: string, coordinates: Array<{ axis: string, value: number }> }> | null }> } | null } | null } };
export type FontPathsQueryVariables = Exact<{ [key: string]: never; }>;
export type FontPathsQuery = { viewer: { fontCollections: { edges: Array<{ node: { slug: { name: string | null } | null } | null } | null> | null } | null } };
export type FontCollectionCssFragment = { featureStyle: { cssFamily: string | null, name: string, webfontSources: Array<{ format: string | null, url: string | null } | null> | null, family: { cssUrl: string | null } | null } | null };
export type IndexQueryVariables = Exact<{ [key: string]: never; }>;
export type IndexQuery = { viewer: { firstCollection: { edges: Array<{ node: { shortDescription: string | null, description: string | null, minisiteLink: string | null, id: string, name: string, collectionType: string, isVariableFont: boolean, cssUrl: string | null, pdfs: Array<{ url: string | null, thumbnailUrl: string | null, name: string | null } | null> | null, featureStyle: { cssFamily: string | null, name: string, webfontSources: Array<{ url: string | null, format: string | null } | null> | null } | null, children: Array<{ id: string, name: string, collectionType: string, isVariableFont: boolean, cssUrl: string | null, sku: { id: string } | null, bundles: Array<{ sku: { id: string } | null }> | null, fontStyles: Array<{ name: string, cssFamily: string | null, cssWeight: string | null, cssStyle: string | null, webfontSources: Array<{ url: string | null, format: string | null } | null> | null, sku: { id: string } | null, variableInstances: Array<{ name: string, coordinates: Array<{ axis: string, value: number }> }> | null }> }> | null, images: Array<{ url: string | null, description: string | null, meta: { mimeType: string | null, width: number | null, height: number | null } | null }> | null, sku: { id: string } | null, bundles: Array<{ sku: { id: string } | null }> | null, fontStyles: Array<{ name: string, cssFamily: string | null, cssWeight: string | null, cssStyle: string | null, webfontSources: Array<{ url: string | null, format: string | null } | null> | null, sku: { id: string } | null, variableInstances: Array<{ name: string, coordinates: Array<{ axis: string, value: number }> }> | null }> } | null } | null> | null } | null, fontCollections: { edges: Array<{ node: { id: string, name: string, collectionType: string, url: string | null, isNew: boolean | null, opticalAdjustment: any | null, slug: { name: string | null } | null, featureStyle: { cssFamily: string | null, name: string, webfontSources: Array<{ format: string | null, url: string | null } | null> | null, family: { cssUrl: string | null } | null } | null } | null } | null> | null } | null } };
export type LicenseQueryVariables = Exact<{
slug: Scalars['String']['input'];
}>;
export type LicenseQuery = { viewer: { slug: { license: { id: string, name: string | null, text: string | null } | null } | null } };
export type LicensePathsQueryVariables = Exact<{ [key: string]: never; }>;
export type LicensePathsQuery = { viewer: { licenses: Array<{ slug: { name: string | null } | null }> | null } };
export type LicensesQueryVariables = Exact<{ [key: string]: never; }>;
export type LicensesQuery = { viewer: { licenses: Array<{ id: string, name: string | null, slug: { name: string | null } | null }> | null } };
export type PageQueryVariables = Exact<{
slug: Scalars['String']['input'];
}>;
export type PageQuery = { viewer: { slug: { page: { title: string | null, text: string | null, pageMetadata: { title: string | null, description: string | null, keywords: string | null } | null } | null } | null } };
export type PagePathsQueryVariables = Exact<{ [key: string]: never; }>;
export type PagePathsQuery = { viewer: { pages: { edges: Array<{ node: { slug: { name: string | null } | null } | null } | null> | null } | null } };
export type RootLayoutQueryVariables = Exact<{ [key: string]: never; }>;
export type RootLayoutQuery = { viewer: { fontCollections: { edges: Array<{ node: { id: string } | null } | null> | null } | null, pages: { edges: Array<{ node: { id: string, title: string | null, slug: { name: string | null } | null } | null } | null> | null } | null, settings: { title: string | null, footerText: string | null, htmlHead: string | null, faviconMarkup: string | null, uiFontStyle: { name: string, cssFamily: string | null, webfontSources: Array<{ url: string | null, format: string | null } | null> | null } | null } | null, logo: { url: string, meta: { width: number | null, height: number | null } } | null } };
export type SitemapQueryVariables = Exact<{ [key: string]: never; }>;
export type SitemapQuery = { viewer: { fontCollections: { edges: Array<{ node: { slug: { name: string | null } | null } | null } | null> | null } | null, articles: { edges: Array<{ node: { slug: { name: string | null } | null } | null } | null> | null } | null, pages: { edges: Array<{ node: { slug: { name: string | null } | null } | null } | null> | null } | null, licenses: Array<{ slug: { name: string | null } | null }> | null } };