@hackersheet/core 0.1.0-alpha.1
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 +3 -0
- package/dist/chunk-3GXIDS5H.mjs +23 -0
- package/dist/chunk-5X53IRLN.mjs +2417 -0
- package/dist/chunk-7R3CATQT.mjs +143 -0
- package/dist/chunk-C3G2CMRR.mjs +13 -0
- package/dist/chunk-EXRG4APR.mjs +34 -0
- package/dist/chunk-FIFBNWMD.mjs +21 -0
- package/dist/chunk-FRXB4F4I.mjs +0 -0
- package/dist/chunk-JGQBUURE.mjs +60 -0
- package/dist/chunk-PA32N4A6.mjs +6 -0
- package/dist/chunk-PUTNZ4GU.mjs +12 -0
- package/dist/chunk-RRJUH3D4.mjs +0 -0
- package/dist/chunk-SYHSU6VH.mjs +38 -0
- package/dist/chunk-TXCPBPKN.mjs +12 -0
- package/dist/chunk-VKWT2GNZ.mjs +0 -0
- package/dist/chunk-WIUPPYM5.mjs +60 -0
- package/dist/chunk-YAN7TO2B.mjs +0 -0
- package/dist/chunk-ZZFAG7Y6.mjs +705 -0
- package/dist/client/client.d.mts +51 -0
- package/dist/client/client.d.ts +51 -0
- package/dist/client/client.js +3424 -0
- package/dist/client/client.mjs +20 -0
- package/dist/client/create-client.d.mts +11 -0
- package/dist/client/create-client.d.ts +11 -0
- package/dist/client/create-client.js +3429 -0
- package/dist/client/create-client.mjs +21 -0
- package/dist/client/operations/get-document.d.mts +15 -0
- package/dist/client/operations/get-document.d.ts +15 -0
- package/dist/client/operations/get-document.js +881 -0
- package/dist/client/operations/get-document.mjs +14 -0
- package/dist/client/operations/get-documents.d.mts +14 -0
- package/dist/client/operations/get-documents.d.ts +14 -0
- package/dist/client/operations/get-documents.js +798 -0
- package/dist/client/operations/get-documents.mjs +14 -0
- package/dist/client/operations/get-tag.d.mts +12 -0
- package/dist/client/operations/get-tag.d.ts +12 -0
- package/dist/client/operations/get-tag.js +776 -0
- package/dist/client/operations/get-tag.mjs +14 -0
- package/dist/client/operations/get-tags.d.mts +14 -0
- package/dist/client/operations/get-tags.d.ts +14 -0
- package/dist/client/operations/get-tags.js +772 -0
- package/dist/client/operations/get-tags.mjs +14 -0
- package/dist/client/operations/get-websites.d.mts +14 -0
- package/dist/client/operations/get-websites.d.ts +14 -0
- package/dist/client/operations/get-websites.js +798 -0
- package/dist/client/operations/get-websites.mjs +14 -0
- package/dist/client/operations/index.d.mts +11 -0
- package/dist/client/operations/index.d.ts +11 -0
- package/dist/client/operations/index.js +1041 -0
- package/dist/client/operations/index.mjs +31 -0
- package/dist/gql/fragment-masking.d.mts +22 -0
- package/dist/gql/fragment-masking.d.ts +22 -0
- package/dist/gql/fragment-masking.js +47 -0
- package/dist/gql/fragment-masking.mjs +10 -0
- package/dist/gql/gql.d.mts +70 -0
- package/dist/gql/gql.d.ts +70 -0
- package/dist/gql/gql.js +739 -0
- package/dist/gql/gql.mjs +7 -0
- package/dist/gql/graphql.d.mts +722 -0
- package/dist/gql/graphql.d.ts +722 -0
- package/dist/gql/graphql.js +733 -0
- package/dist/gql/graphql.mjs +14 -0
- package/dist/gql/index.d.mts +4 -0
- package/dist/gql/index.d.ts +4 -0
- package/dist/gql/index.js +761 -0
- package/dist/gql/index.mjs +16 -0
- package/dist/index.d.mts +8 -0
- package/dist/index.d.ts +8 -0
- package/dist/index.js +3429 -0
- package/dist/index.mjs +22 -0
- package/dist/types/document.d.mts +71 -0
- package/dist/types/document.d.ts +71 -0
- package/dist/types/document.js +18 -0
- package/dist/types/document.mjs +0 -0
- package/dist/types/index.d.mts +3 -0
- package/dist/types/index.d.ts +3 -0
- package/dist/types/index.js +18 -0
- package/dist/types/index.mjs +1 -0
- package/dist/types/tag.d.mts +23 -0
- package/dist/types/tag.d.ts +23 -0
- package/dist/types/tag.js +18 -0
- package/dist/types/tag.mjs +0 -0
- package/dist/types/website.d.mts +29 -0
- package/dist/types/website.d.ts +29 -0
- package/dist/types/website.js +18 -0
- package/dist/types/website.mjs +0 -0
- package/dist/utils/index.d.mts +2 -0
- package/dist/utils/index.d.ts +2 -0
- package/dist/utils/index.js +49 -0
- package/dist/utils/index.mjs +12 -0
- package/dist/utils/make-after-cursor-from-page.d.mts +3 -0
- package/dist/utils/make-after-cursor-from-page.d.ts +3 -0
- package/dist/utils/make-after-cursor-from-page.js +32 -0
- package/dist/utils/make-after-cursor-from-page.mjs +6 -0
- package/dist/utils/non-nullable-filter.d.mts +3 -0
- package/dist/utils/non-nullable-filter.d.ts +3 -0
- package/dist/utils/non-nullable-filter.js +30 -0
- package/dist/utils/non-nullable-filter.mjs +6 -0
- package/dist/utils/to-array-from-edges.d.mts +6 -0
- package/dist/utils/to-array-from-edges.d.ts +6 -0
- package/dist/utils/to-array-from-edges.js +34 -0
- package/dist/utils/to-array-from-edges.mjs +7 -0
- package/license.md +21 -0
- package/package.json +36 -0
|
@@ -0,0 +1,722 @@
|
|
|
1
|
+
import { TypedDocumentNode } from '@graphql-typed-document-node/core';
|
|
2
|
+
|
|
3
|
+
type Maybe<T> = T | null;
|
|
4
|
+
type InputMaybe<T> = Maybe<T>;
|
|
5
|
+
type Exact<T extends {
|
|
6
|
+
[key: string]: unknown;
|
|
7
|
+
}> = {
|
|
8
|
+
[K in keyof T]: T[K];
|
|
9
|
+
};
|
|
10
|
+
type MakeOptional<T, K extends keyof T> = Omit<T, K> & {
|
|
11
|
+
[SubKey in K]?: Maybe<T[SubKey]>;
|
|
12
|
+
};
|
|
13
|
+
type MakeMaybe<T, K extends keyof T> = Omit<T, K> & {
|
|
14
|
+
[SubKey in K]: Maybe<T[SubKey]>;
|
|
15
|
+
};
|
|
16
|
+
type MakeEmpty<T extends {
|
|
17
|
+
[key: string]: unknown;
|
|
18
|
+
}, K extends keyof T> = {
|
|
19
|
+
[_ in K]?: never;
|
|
20
|
+
};
|
|
21
|
+
type Incremental<T> = T | {
|
|
22
|
+
[P in keyof T]?: P extends ' $fragmentName' | '__typename' ? T[P] : never;
|
|
23
|
+
};
|
|
24
|
+
/** All built-in and custom scalars, mapped to their actual values */
|
|
25
|
+
type Scalars = {
|
|
26
|
+
ID: {
|
|
27
|
+
input: string;
|
|
28
|
+
output: string;
|
|
29
|
+
};
|
|
30
|
+
String: {
|
|
31
|
+
input: string;
|
|
32
|
+
output: string;
|
|
33
|
+
};
|
|
34
|
+
Boolean: {
|
|
35
|
+
input: boolean;
|
|
36
|
+
output: boolean;
|
|
37
|
+
};
|
|
38
|
+
Int: {
|
|
39
|
+
input: number;
|
|
40
|
+
output: number;
|
|
41
|
+
};
|
|
42
|
+
Float: {
|
|
43
|
+
input: number;
|
|
44
|
+
output: number;
|
|
45
|
+
};
|
|
46
|
+
/** DateTime */
|
|
47
|
+
DateTime: {
|
|
48
|
+
input: any;
|
|
49
|
+
output: any;
|
|
50
|
+
};
|
|
51
|
+
};
|
|
52
|
+
type Asset = {
|
|
53
|
+
__typename?: 'Asset';
|
|
54
|
+
/** Identifies the date and time when the object was created. */
|
|
55
|
+
createdAt: Scalars['DateTime']['output'];
|
|
56
|
+
/** A list of documents associated with the object. */
|
|
57
|
+
documents?: Maybe<DocumentConnection>;
|
|
58
|
+
/** The file size of the asset. */
|
|
59
|
+
fileSize: Scalars['Int']['output'];
|
|
60
|
+
/** The HTTP URL listing the asset file. */
|
|
61
|
+
fileUrl: Scalars['String']['output'];
|
|
62
|
+
/** The height of the asset file. */
|
|
63
|
+
height: Scalars['Int']['output'];
|
|
64
|
+
id: Scalars['ID']['output'];
|
|
65
|
+
/** The name of the asset. */
|
|
66
|
+
name: Scalars['String']['output'];
|
|
67
|
+
/** the origin file path of the asset. */
|
|
68
|
+
path?: Maybe<Scalars['String']['output']>;
|
|
69
|
+
/** Identifies the date and time when the object was updated. */
|
|
70
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
71
|
+
/** The width of the asset file. */
|
|
72
|
+
width: Scalars['Int']['output'];
|
|
73
|
+
};
|
|
74
|
+
type AssetDocumentsArgs = {
|
|
75
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
76
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
77
|
+
filter?: InputMaybe<DocumentConnectionFilter>;
|
|
78
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
79
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
80
|
+
sort?: InputMaybe<ConnectionSort>;
|
|
81
|
+
};
|
|
82
|
+
/** The connection type for Asset. */
|
|
83
|
+
type AssetConnection = {
|
|
84
|
+
__typename?: 'AssetConnection';
|
|
85
|
+
/** A list of edges. */
|
|
86
|
+
edges?: Maybe<Array<Maybe<AssetEdge>>>;
|
|
87
|
+
/** A list of nodes. */
|
|
88
|
+
nodes?: Maybe<Array<Maybe<Asset>>>;
|
|
89
|
+
/** Information to aid in pagination. */
|
|
90
|
+
pageInfo: PageInfo;
|
|
91
|
+
/** Total count of nodes. */
|
|
92
|
+
totalCount: Scalars['Int']['output'];
|
|
93
|
+
};
|
|
94
|
+
/** An edge in a connection. */
|
|
95
|
+
type AssetEdge = {
|
|
96
|
+
__typename?: 'AssetEdge';
|
|
97
|
+
/** A cursor for use in pagination. */
|
|
98
|
+
cursor: Scalars['String']['output'];
|
|
99
|
+
/** The item at the end of the edge. */
|
|
100
|
+
node?: Maybe<Asset>;
|
|
101
|
+
};
|
|
102
|
+
/** Args for sort of connection. */
|
|
103
|
+
type ConnectionSort = {
|
|
104
|
+
/** Sort by. */
|
|
105
|
+
by?: InputMaybe<Scalars['String']['input']>;
|
|
106
|
+
/** Sort order. */
|
|
107
|
+
order?: InputMaybe<Scalars['String']['input']>;
|
|
108
|
+
};
|
|
109
|
+
type Document = {
|
|
110
|
+
__typename?: 'Document';
|
|
111
|
+
/** A list of assets associated with the object. */
|
|
112
|
+
assets?: Maybe<AssetConnection>;
|
|
113
|
+
/** The content of the document. */
|
|
114
|
+
content: Scalars['String']['output'];
|
|
115
|
+
/** Identifies the date and time when the object was created. */
|
|
116
|
+
createdAt: Scalars['DateTime']['output'];
|
|
117
|
+
/** Whether the document is draft. */
|
|
118
|
+
draft: Scalars['Boolean']['output'];
|
|
119
|
+
/** The emoji of the document. */
|
|
120
|
+
emoji: Scalars['String']['output'];
|
|
121
|
+
id: Scalars['ID']['output'];
|
|
122
|
+
/** A list of documents linking this document. */
|
|
123
|
+
inboundLinkDocuments?: Maybe<DocumentConnection>;
|
|
124
|
+
/** Identifies the date and time when the object was modified. */
|
|
125
|
+
modifiedAt: Scalars['DateTime']['output'];
|
|
126
|
+
/** A list of documents linked from this document. */
|
|
127
|
+
outboundLinkDocuments?: Maybe<DocumentConnection>;
|
|
128
|
+
/** the origin file path of the document. */
|
|
129
|
+
path?: Maybe<Scalars['String']['output']>;
|
|
130
|
+
/** Asset set as preview. */
|
|
131
|
+
preview?: Maybe<Asset>;
|
|
132
|
+
/** Identifies the date and time when the object was published. */
|
|
133
|
+
publishedAt: Scalars['DateTime']['output'];
|
|
134
|
+
/** The raw content of the document. */
|
|
135
|
+
rawContent: Scalars['String']['output'];
|
|
136
|
+
/** The slug of the document. */
|
|
137
|
+
slug: Scalars['String']['output'];
|
|
138
|
+
/** A list of tags associated with the object. */
|
|
139
|
+
tags?: Maybe<TagConnection>;
|
|
140
|
+
/** The title of the document. */
|
|
141
|
+
title: Scalars['String']['output'];
|
|
142
|
+
/** Identifies the date and time when the object was updated. */
|
|
143
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
144
|
+
/** A list of workspace websites associated with the object. */
|
|
145
|
+
websites?: Maybe<WorkspaceWebsiteConnection>;
|
|
146
|
+
};
|
|
147
|
+
type DocumentAssetsArgs = {
|
|
148
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
149
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
150
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
151
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
152
|
+
};
|
|
153
|
+
type DocumentInboundLinkDocumentsArgs = {
|
|
154
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
155
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
156
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
157
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
158
|
+
};
|
|
159
|
+
type DocumentOutboundLinkDocumentsArgs = {
|
|
160
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
161
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
162
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
163
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
164
|
+
};
|
|
165
|
+
type DocumentTagsArgs = {
|
|
166
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
167
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
168
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
169
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
170
|
+
};
|
|
171
|
+
type DocumentWebsitesArgs = {
|
|
172
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
173
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
174
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
175
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
176
|
+
};
|
|
177
|
+
/** The connection type for Document. */
|
|
178
|
+
type DocumentConnection = {
|
|
179
|
+
__typename?: 'DocumentConnection';
|
|
180
|
+
/** A list of edges. */
|
|
181
|
+
edges?: Maybe<Array<Maybe<DocumentEdge>>>;
|
|
182
|
+
/** A list of nodes. */
|
|
183
|
+
nodes?: Maybe<Array<Maybe<Document>>>;
|
|
184
|
+
/** Information to aid in pagination. */
|
|
185
|
+
pageInfo: PageInfo;
|
|
186
|
+
/** Total count of nodes. */
|
|
187
|
+
totalCount: Scalars['Int']['output'];
|
|
188
|
+
};
|
|
189
|
+
/** Args for filter of document connection. */
|
|
190
|
+
type DocumentConnectionFilter = {
|
|
191
|
+
/** End of date and time the document was created. */
|
|
192
|
+
createdAtEnd?: InputMaybe<Scalars['DateTime']['input']>;
|
|
193
|
+
/** Start of date and time the document was created. */
|
|
194
|
+
createdAtStart?: InputMaybe<Scalars['DateTime']['input']>;
|
|
195
|
+
/** Indicates whether it is a draft. */
|
|
196
|
+
draft?: InputMaybe<Scalars['Boolean']['input']>;
|
|
197
|
+
/** Slugs excluded in the document. */
|
|
198
|
+
excludeSlugs?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
199
|
+
/** Tags excluded in the document. */
|
|
200
|
+
excludeTags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
201
|
+
/** The keyword inclued in the document. */
|
|
202
|
+
keyword?: InputMaybe<Scalars['String']['input']>;
|
|
203
|
+
/** End of date and time the document was modified. */
|
|
204
|
+
modifiedAtEnd?: InputMaybe<Scalars['DateTime']['input']>;
|
|
205
|
+
/** Start of date and time the document was modified. */
|
|
206
|
+
modifiedAtStart?: InputMaybe<Scalars['DateTime']['input']>;
|
|
207
|
+
/** End of date and time the document was published. */
|
|
208
|
+
publishedAtEnd?: InputMaybe<Scalars['DateTime']['input']>;
|
|
209
|
+
/** Start of date and time the document was published. */
|
|
210
|
+
publishedAtStart?: InputMaybe<Scalars['DateTime']['input']>;
|
|
211
|
+
/** Slugs included in the document. */
|
|
212
|
+
slugs?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
213
|
+
/** Tags included in the document. */
|
|
214
|
+
tags?: InputMaybe<Array<Scalars['String']['input']>>;
|
|
215
|
+
/** Indicates that the tag is not included. */
|
|
216
|
+
tagsNone?: InputMaybe<Scalars['Boolean']['input']>;
|
|
217
|
+
/** End of date and time the document was updated. */
|
|
218
|
+
updatedAtEnd?: InputMaybe<Scalars['DateTime']['input']>;
|
|
219
|
+
/** Start of date and time the document was updated. */
|
|
220
|
+
updatedAtStart?: InputMaybe<Scalars['DateTime']['input']>;
|
|
221
|
+
};
|
|
222
|
+
/** An edge in a connection. */
|
|
223
|
+
type DocumentEdge = {
|
|
224
|
+
__typename?: 'DocumentEdge';
|
|
225
|
+
/** A cursor for use in pagination. */
|
|
226
|
+
cursor: Scalars['String']['output'];
|
|
227
|
+
/** The item at the end of the edge. */
|
|
228
|
+
node?: Maybe<Document>;
|
|
229
|
+
};
|
|
230
|
+
/** Information about pagination in a connection. */
|
|
231
|
+
type PageInfo = {
|
|
232
|
+
__typename?: 'PageInfo';
|
|
233
|
+
/** When paginating forwards, the cursor to continue. */
|
|
234
|
+
endCursor?: Maybe<Scalars['String']['output']>;
|
|
235
|
+
/** When paginating forwards, are there more items? */
|
|
236
|
+
hasNextPage: Scalars['Boolean']['output'];
|
|
237
|
+
/** When paginating backwards, are there more items? */
|
|
238
|
+
hasPreviousPage: Scalars['Boolean']['output'];
|
|
239
|
+
/** When paginating backwards, the cursor to continue. */
|
|
240
|
+
startCursor?: Maybe<Scalars['String']['output']>;
|
|
241
|
+
};
|
|
242
|
+
type Query = {
|
|
243
|
+
__typename?: 'Query';
|
|
244
|
+
/** Find a asset associated with the workspace by either `ID` or `path`. */
|
|
245
|
+
asset?: Maybe<Asset>;
|
|
246
|
+
/** A list of assets associated with the workspace. */
|
|
247
|
+
assets?: Maybe<AssetConnection>;
|
|
248
|
+
/** Find a document associated with the workspace by either `ID`, `slug` or `path`. */
|
|
249
|
+
document?: Maybe<Document>;
|
|
250
|
+
/** A list of documents associated with the workspace. */
|
|
251
|
+
documents?: Maybe<DocumentConnection>;
|
|
252
|
+
/** Find a tag associated with the workspace by either `ID` or `name`. */
|
|
253
|
+
tag?: Maybe<Tag>;
|
|
254
|
+
/** A list of tags associated with the workspace. */
|
|
255
|
+
tags?: Maybe<TagConnection>;
|
|
256
|
+
/** Find a website associated with the workspace by `ID`. */
|
|
257
|
+
website?: Maybe<WorkspaceWebsite>;
|
|
258
|
+
/** A list of websites associated with the workspace. */
|
|
259
|
+
websites?: Maybe<WorkspaceWebsiteConnection>;
|
|
260
|
+
};
|
|
261
|
+
type QueryAssetArgs = {
|
|
262
|
+
id?: InputMaybe<Scalars['String']['input']>;
|
|
263
|
+
path?: InputMaybe<Scalars['String']['input']>;
|
|
264
|
+
};
|
|
265
|
+
type QueryAssetsArgs = {
|
|
266
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
267
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
268
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
269
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
270
|
+
sort?: InputMaybe<ConnectionSort>;
|
|
271
|
+
};
|
|
272
|
+
type QueryDocumentArgs = {
|
|
273
|
+
id?: InputMaybe<Scalars['String']['input']>;
|
|
274
|
+
path?: InputMaybe<Scalars['String']['input']>;
|
|
275
|
+
slug?: InputMaybe<Scalars['String']['input']>;
|
|
276
|
+
};
|
|
277
|
+
type QueryDocumentsArgs = {
|
|
278
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
279
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
280
|
+
filter?: InputMaybe<DocumentConnectionFilter>;
|
|
281
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
282
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
283
|
+
sort?: InputMaybe<ConnectionSort>;
|
|
284
|
+
};
|
|
285
|
+
type QueryTagArgs = {
|
|
286
|
+
id?: InputMaybe<Scalars['String']['input']>;
|
|
287
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
288
|
+
};
|
|
289
|
+
type QueryTagsArgs = {
|
|
290
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
291
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
292
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
293
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
294
|
+
sort?: InputMaybe<ConnectionSort>;
|
|
295
|
+
};
|
|
296
|
+
type QueryWebsiteArgs = {
|
|
297
|
+
id: Scalars['String']['input'];
|
|
298
|
+
};
|
|
299
|
+
type QueryWebsitesArgs = {
|
|
300
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
301
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
302
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
303
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
304
|
+
};
|
|
305
|
+
type Tag = {
|
|
306
|
+
__typename?: 'Tag';
|
|
307
|
+
/** Identifies the date and time when the object was created. */
|
|
308
|
+
createdAt: Scalars['DateTime']['output'];
|
|
309
|
+
/** Number of documents with this tag. */
|
|
310
|
+
documentCount: Scalars['Int']['output'];
|
|
311
|
+
/** Number of documents in published with this tag. */
|
|
312
|
+
documentCountInPublished: Scalars['Int']['output'];
|
|
313
|
+
/** A list of documents associated with the object. */
|
|
314
|
+
documents?: Maybe<DocumentConnection>;
|
|
315
|
+
id: Scalars['ID']['output'];
|
|
316
|
+
/** The name of the tag. */
|
|
317
|
+
name: Scalars['String']['output'];
|
|
318
|
+
/** A list of related tags associated with the object. */
|
|
319
|
+
relatedTags?: Maybe<TagConnection>;
|
|
320
|
+
/** Identifies the date and time when the object was updated. */
|
|
321
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
322
|
+
};
|
|
323
|
+
type TagDocumentsArgs = {
|
|
324
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
325
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
326
|
+
filter?: InputMaybe<DocumentConnectionFilter>;
|
|
327
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
328
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
329
|
+
sort?: InputMaybe<ConnectionSort>;
|
|
330
|
+
};
|
|
331
|
+
type TagRelatedTagsArgs = {
|
|
332
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
333
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
334
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
335
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
336
|
+
};
|
|
337
|
+
/** The connection type for Tag. */
|
|
338
|
+
type TagConnection = {
|
|
339
|
+
__typename?: 'TagConnection';
|
|
340
|
+
/** A list of edges. */
|
|
341
|
+
edges?: Maybe<Array<Maybe<TagEdge>>>;
|
|
342
|
+
/** A list of nodes. */
|
|
343
|
+
nodes?: Maybe<Array<Maybe<Tag>>>;
|
|
344
|
+
/** Information to aid in pagination. */
|
|
345
|
+
pageInfo: PageInfo;
|
|
346
|
+
/** Total count of nodes. */
|
|
347
|
+
totalCount: Scalars['Int']['output'];
|
|
348
|
+
};
|
|
349
|
+
/** An edge in a connection. */
|
|
350
|
+
type TagEdge = {
|
|
351
|
+
__typename?: 'TagEdge';
|
|
352
|
+
/** A cursor for use in pagination. */
|
|
353
|
+
cursor: Scalars['String']['output'];
|
|
354
|
+
/** The item at the end of the edge. */
|
|
355
|
+
node?: Maybe<Tag>;
|
|
356
|
+
};
|
|
357
|
+
type WebsiteOgImage = {
|
|
358
|
+
__typename?: 'WebsiteOgImage';
|
|
359
|
+
/** Identifies the date and time when the object was created. */
|
|
360
|
+
createdAt: Scalars['DateTime']['output'];
|
|
361
|
+
/** The file size of the og image. */
|
|
362
|
+
fileSize: Scalars['Int']['output'];
|
|
363
|
+
/** The HTTP URL listing the og image file. */
|
|
364
|
+
fileUrl?: Maybe<Scalars['String']['output']>;
|
|
365
|
+
/** The height of the og image file. */
|
|
366
|
+
height: Scalars['Int']['output'];
|
|
367
|
+
/** The Node ID of the website og image object. */
|
|
368
|
+
id: Scalars['ID']['output'];
|
|
369
|
+
/** Identifies the date and time when the object was updated. */
|
|
370
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
371
|
+
/** The width of the og image file. */
|
|
372
|
+
width: Scalars['Int']['output'];
|
|
373
|
+
};
|
|
374
|
+
type WorkspaceWebsite = {
|
|
375
|
+
__typename?: 'WorkspaceWebsite';
|
|
376
|
+
/** The value obtained by hashing the url with SHA-256. */
|
|
377
|
+
checksum: Scalars['String']['output'];
|
|
378
|
+
/** Identifies the date and time when the object was created. */
|
|
379
|
+
createdAt: Scalars['DateTime']['output'];
|
|
380
|
+
/** The description of the website. */
|
|
381
|
+
description: Scalars['String']['output'];
|
|
382
|
+
/** A list of documents associated with the object. */
|
|
383
|
+
documents?: Maybe<DocumentConnection>;
|
|
384
|
+
/** The domain of the website. */
|
|
385
|
+
domain: Scalars['String']['output'];
|
|
386
|
+
/** The Node ID of the workspace website object. */
|
|
387
|
+
id: Scalars['ID']['output'];
|
|
388
|
+
/** The og:description of the website. */
|
|
389
|
+
ogDescription: Scalars['String']['output'];
|
|
390
|
+
/** The og image of the website. */
|
|
391
|
+
ogImage?: Maybe<WebsiteOgImage>;
|
|
392
|
+
/** The og:image of the website. */
|
|
393
|
+
ogImageUrl: Scalars['String']['output'];
|
|
394
|
+
/** The og:locale of the website. */
|
|
395
|
+
ogLocale: Scalars['String']['output'];
|
|
396
|
+
/** The og:site_name of the website. */
|
|
397
|
+
ogSiteName: Scalars['String']['output'];
|
|
398
|
+
/** The og:title of the website. */
|
|
399
|
+
ogTitle: Scalars['String']['output'];
|
|
400
|
+
/** The og:type of the website. */
|
|
401
|
+
ogType: Scalars['String']['output'];
|
|
402
|
+
/** The og:url of the website. */
|
|
403
|
+
ogUrl: Scalars['String']['output'];
|
|
404
|
+
/** The title of the website. */
|
|
405
|
+
title: Scalars['String']['output'];
|
|
406
|
+
/** Identifies the date and time when the object was updated. */
|
|
407
|
+
updatedAt: Scalars['DateTime']['output'];
|
|
408
|
+
/** The HTTP URL listing the website. */
|
|
409
|
+
url: Scalars['String']['output'];
|
|
410
|
+
/** The Node ID of the website object. */
|
|
411
|
+
websiteId?: Maybe<Scalars['ID']['output']>;
|
|
412
|
+
};
|
|
413
|
+
type WorkspaceWebsiteDocumentsArgs = {
|
|
414
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
415
|
+
before?: InputMaybe<Scalars['String']['input']>;
|
|
416
|
+
filter?: InputMaybe<DocumentConnectionFilter>;
|
|
417
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
418
|
+
last?: InputMaybe<Scalars['Int']['input']>;
|
|
419
|
+
sort?: InputMaybe<ConnectionSort>;
|
|
420
|
+
};
|
|
421
|
+
/** The connection type for WorkspaceWebsite. */
|
|
422
|
+
type WorkspaceWebsiteConnection = {
|
|
423
|
+
__typename?: 'WorkspaceWebsiteConnection';
|
|
424
|
+
/** A list of edges. */
|
|
425
|
+
edges?: Maybe<Array<Maybe<WorkspaceWebsiteEdge>>>;
|
|
426
|
+
/** A list of nodes. */
|
|
427
|
+
nodes?: Maybe<Array<Maybe<WorkspaceWebsite>>>;
|
|
428
|
+
/** Information to aid in pagination. */
|
|
429
|
+
pageInfo: PageInfo;
|
|
430
|
+
/** Total count of nodes. */
|
|
431
|
+
totalCount: Scalars['Int']['output'];
|
|
432
|
+
};
|
|
433
|
+
/** An edge in a connection. */
|
|
434
|
+
type WorkspaceWebsiteEdge = {
|
|
435
|
+
__typename?: 'WorkspaceWebsiteEdge';
|
|
436
|
+
/** A cursor for use in pagination. */
|
|
437
|
+
cursor: Scalars['String']['output'];
|
|
438
|
+
/** The item at the end of the edge. */
|
|
439
|
+
node?: Maybe<WorkspaceWebsite>;
|
|
440
|
+
};
|
|
441
|
+
type DocumentQueryVariables = Exact<{
|
|
442
|
+
slug?: InputMaybe<Scalars['String']['input']>;
|
|
443
|
+
}>;
|
|
444
|
+
type DocumentQuery = {
|
|
445
|
+
__typename?: 'Query';
|
|
446
|
+
document?: {
|
|
447
|
+
__typename?: 'Document';
|
|
448
|
+
id: string;
|
|
449
|
+
slug: string;
|
|
450
|
+
emoji: string;
|
|
451
|
+
title: string;
|
|
452
|
+
draft: boolean;
|
|
453
|
+
content: string;
|
|
454
|
+
path?: string | null;
|
|
455
|
+
publishedAt: any;
|
|
456
|
+
modifiedAt: any;
|
|
457
|
+
tags?: {
|
|
458
|
+
__typename?: 'TagConnection';
|
|
459
|
+
edges?: Array<{
|
|
460
|
+
__typename?: 'TagEdge';
|
|
461
|
+
node?: {
|
|
462
|
+
__typename?: 'Tag';
|
|
463
|
+
id: string;
|
|
464
|
+
name: string;
|
|
465
|
+
} | null;
|
|
466
|
+
} | null> | null;
|
|
467
|
+
} | null;
|
|
468
|
+
preview?: {
|
|
469
|
+
__typename?: 'Asset';
|
|
470
|
+
id: string;
|
|
471
|
+
width: number;
|
|
472
|
+
height: number;
|
|
473
|
+
path?: string | null;
|
|
474
|
+
fileUrl: string;
|
|
475
|
+
} | null;
|
|
476
|
+
assets?: {
|
|
477
|
+
__typename?: 'AssetConnection';
|
|
478
|
+
edges?: Array<{
|
|
479
|
+
__typename?: 'AssetEdge';
|
|
480
|
+
node?: {
|
|
481
|
+
__typename?: 'Asset';
|
|
482
|
+
id: string;
|
|
483
|
+
path?: string | null;
|
|
484
|
+
name: string;
|
|
485
|
+
fileUrl: string;
|
|
486
|
+
height: number;
|
|
487
|
+
width: number;
|
|
488
|
+
} | null;
|
|
489
|
+
} | null> | null;
|
|
490
|
+
} | null;
|
|
491
|
+
outboundLinkDocuments?: {
|
|
492
|
+
__typename?: 'DocumentConnection';
|
|
493
|
+
edges?: Array<{
|
|
494
|
+
__typename?: 'DocumentEdge';
|
|
495
|
+
node?: {
|
|
496
|
+
__typename?: 'Document';
|
|
497
|
+
id: string;
|
|
498
|
+
slug: string;
|
|
499
|
+
emoji: string;
|
|
500
|
+
title: string;
|
|
501
|
+
draft: boolean;
|
|
502
|
+
path?: string | null;
|
|
503
|
+
publishedAt: any;
|
|
504
|
+
modifiedAt: any;
|
|
505
|
+
tags?: {
|
|
506
|
+
__typename?: 'TagConnection';
|
|
507
|
+
edges?: Array<{
|
|
508
|
+
__typename?: 'TagEdge';
|
|
509
|
+
node?: {
|
|
510
|
+
__typename?: 'Tag';
|
|
511
|
+
id: string;
|
|
512
|
+
name: string;
|
|
513
|
+
} | null;
|
|
514
|
+
} | null> | null;
|
|
515
|
+
} | null;
|
|
516
|
+
} | null;
|
|
517
|
+
} | null> | null;
|
|
518
|
+
} | null;
|
|
519
|
+
inboundLinkDocuments?: {
|
|
520
|
+
__typename?: 'DocumentConnection';
|
|
521
|
+
edges?: Array<{
|
|
522
|
+
__typename?: 'DocumentEdge';
|
|
523
|
+
node?: {
|
|
524
|
+
__typename?: 'Document';
|
|
525
|
+
id: string;
|
|
526
|
+
slug: string;
|
|
527
|
+
emoji: string;
|
|
528
|
+
title: string;
|
|
529
|
+
draft: boolean;
|
|
530
|
+
path?: string | null;
|
|
531
|
+
publishedAt: any;
|
|
532
|
+
modifiedAt: any;
|
|
533
|
+
tags?: {
|
|
534
|
+
__typename?: 'TagConnection';
|
|
535
|
+
edges?: Array<{
|
|
536
|
+
__typename?: 'TagEdge';
|
|
537
|
+
node?: {
|
|
538
|
+
__typename?: 'Tag';
|
|
539
|
+
id: string;
|
|
540
|
+
name: string;
|
|
541
|
+
} | null;
|
|
542
|
+
} | null> | null;
|
|
543
|
+
} | null;
|
|
544
|
+
} | null;
|
|
545
|
+
} | null> | null;
|
|
546
|
+
} | null;
|
|
547
|
+
websites?: {
|
|
548
|
+
__typename?: 'WorkspaceWebsiteConnection';
|
|
549
|
+
edges?: Array<{
|
|
550
|
+
__typename?: 'WorkspaceWebsiteEdge';
|
|
551
|
+
node?: {
|
|
552
|
+
__typename?: 'WorkspaceWebsite';
|
|
553
|
+
id: string;
|
|
554
|
+
url: string;
|
|
555
|
+
domain: string;
|
|
556
|
+
title: string;
|
|
557
|
+
description: string;
|
|
558
|
+
ogSiteName: string;
|
|
559
|
+
ogTitle: string;
|
|
560
|
+
ogType: string;
|
|
561
|
+
ogUrl: string;
|
|
562
|
+
ogDescription: string;
|
|
563
|
+
ogLocale: string;
|
|
564
|
+
ogImage?: {
|
|
565
|
+
__typename?: 'WebsiteOgImage';
|
|
566
|
+
id: string;
|
|
567
|
+
fileUrl?: string | null;
|
|
568
|
+
width: number;
|
|
569
|
+
height: number;
|
|
570
|
+
} | null;
|
|
571
|
+
} | null;
|
|
572
|
+
} | null> | null;
|
|
573
|
+
} | null;
|
|
574
|
+
} | null;
|
|
575
|
+
};
|
|
576
|
+
type DocumentsQueryVariables = Exact<{
|
|
577
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
578
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
579
|
+
filter?: InputMaybe<DocumentConnectionFilter>;
|
|
580
|
+
sort?: InputMaybe<ConnectionSort>;
|
|
581
|
+
}>;
|
|
582
|
+
type DocumentsQuery = {
|
|
583
|
+
__typename?: 'Query';
|
|
584
|
+
documents?: {
|
|
585
|
+
__typename?: 'DocumentConnection';
|
|
586
|
+
totalCount: number;
|
|
587
|
+
edges?: Array<{
|
|
588
|
+
__typename?: 'DocumentEdge';
|
|
589
|
+
node?: {
|
|
590
|
+
__typename?: 'Document';
|
|
591
|
+
id: string;
|
|
592
|
+
slug: string;
|
|
593
|
+
emoji: string;
|
|
594
|
+
title: string;
|
|
595
|
+
draft: boolean;
|
|
596
|
+
path?: string | null;
|
|
597
|
+
publishedAt: any;
|
|
598
|
+
modifiedAt: any;
|
|
599
|
+
tags?: {
|
|
600
|
+
__typename?: 'TagConnection';
|
|
601
|
+
edges?: Array<{
|
|
602
|
+
__typename?: 'TagEdge';
|
|
603
|
+
node?: {
|
|
604
|
+
__typename?: 'Tag';
|
|
605
|
+
id: string;
|
|
606
|
+
name: string;
|
|
607
|
+
} | null;
|
|
608
|
+
} | null> | null;
|
|
609
|
+
} | null;
|
|
610
|
+
preview?: {
|
|
611
|
+
__typename?: 'Asset';
|
|
612
|
+
id: string;
|
|
613
|
+
width: number;
|
|
614
|
+
height: number;
|
|
615
|
+
path?: string | null;
|
|
616
|
+
fileUrl: string;
|
|
617
|
+
} | null;
|
|
618
|
+
} | null;
|
|
619
|
+
} | null> | null;
|
|
620
|
+
} | null;
|
|
621
|
+
};
|
|
622
|
+
type TagQueryVariables = Exact<{
|
|
623
|
+
name?: InputMaybe<Scalars['String']['input']>;
|
|
624
|
+
}>;
|
|
625
|
+
type TagQuery = {
|
|
626
|
+
__typename?: 'Query';
|
|
627
|
+
tag?: {
|
|
628
|
+
__typename?: 'Tag';
|
|
629
|
+
id: string;
|
|
630
|
+
name: string;
|
|
631
|
+
documentCount: number;
|
|
632
|
+
documentCountInPublished: number;
|
|
633
|
+
relatedTags?: {
|
|
634
|
+
__typename?: 'TagConnection';
|
|
635
|
+
edges?: Array<{
|
|
636
|
+
__typename?: 'TagEdge';
|
|
637
|
+
node?: {
|
|
638
|
+
__typename?: 'Tag';
|
|
639
|
+
id: string;
|
|
640
|
+
name: string;
|
|
641
|
+
documentCount: number;
|
|
642
|
+
documentCountInPublished: number;
|
|
643
|
+
} | null;
|
|
644
|
+
} | null> | null;
|
|
645
|
+
} | null;
|
|
646
|
+
} | null;
|
|
647
|
+
};
|
|
648
|
+
type TagsQueryVariables = Exact<{
|
|
649
|
+
sort?: InputMaybe<ConnectionSort>;
|
|
650
|
+
}>;
|
|
651
|
+
type TagsQuery = {
|
|
652
|
+
__typename?: 'Query';
|
|
653
|
+
tags?: {
|
|
654
|
+
__typename?: 'TagConnection';
|
|
655
|
+
totalCount: number;
|
|
656
|
+
edges?: Array<{
|
|
657
|
+
__typename?: 'TagEdge';
|
|
658
|
+
node?: {
|
|
659
|
+
__typename?: 'Tag';
|
|
660
|
+
id: string;
|
|
661
|
+
name: string;
|
|
662
|
+
documentCount: number;
|
|
663
|
+
documentCountInPublished: number;
|
|
664
|
+
} | null;
|
|
665
|
+
} | null> | null;
|
|
666
|
+
} | null;
|
|
667
|
+
};
|
|
668
|
+
type WebsitesQueryVariables = Exact<{
|
|
669
|
+
after?: InputMaybe<Scalars['String']['input']>;
|
|
670
|
+
first?: InputMaybe<Scalars['Int']['input']>;
|
|
671
|
+
}>;
|
|
672
|
+
type WebsitesQuery = {
|
|
673
|
+
__typename?: 'Query';
|
|
674
|
+
websites?: {
|
|
675
|
+
__typename?: 'WorkspaceWebsiteConnection';
|
|
676
|
+
totalCount: number;
|
|
677
|
+
edges?: Array<{
|
|
678
|
+
__typename?: 'WorkspaceWebsiteEdge';
|
|
679
|
+
node?: {
|
|
680
|
+
__typename?: 'WorkspaceWebsite';
|
|
681
|
+
id: string;
|
|
682
|
+
url: string;
|
|
683
|
+
domain: string;
|
|
684
|
+
title: string;
|
|
685
|
+
description: string;
|
|
686
|
+
ogSiteName: string;
|
|
687
|
+
ogTitle: string;
|
|
688
|
+
ogType: string;
|
|
689
|
+
ogUrl: string;
|
|
690
|
+
ogDescription: string;
|
|
691
|
+
ogLocale: string;
|
|
692
|
+
ogImage?: {
|
|
693
|
+
__typename?: 'WebsiteOgImage';
|
|
694
|
+
id: string;
|
|
695
|
+
fileUrl?: string | null;
|
|
696
|
+
width: number;
|
|
697
|
+
height: number;
|
|
698
|
+
} | null;
|
|
699
|
+
documents?: {
|
|
700
|
+
__typename?: 'DocumentConnection';
|
|
701
|
+
edges?: Array<{
|
|
702
|
+
__typename?: 'DocumentEdge';
|
|
703
|
+
node?: {
|
|
704
|
+
__typename?: 'Document';
|
|
705
|
+
id: string;
|
|
706
|
+
draft: boolean;
|
|
707
|
+
title: string;
|
|
708
|
+
slug: string;
|
|
709
|
+
} | null;
|
|
710
|
+
} | null> | null;
|
|
711
|
+
} | null;
|
|
712
|
+
} | null;
|
|
713
|
+
} | null> | null;
|
|
714
|
+
} | null;
|
|
715
|
+
};
|
|
716
|
+
declare const DocumentDocument: TypedDocumentNode<DocumentQuery, DocumentQueryVariables>;
|
|
717
|
+
declare const DocumentsDocument: TypedDocumentNode<DocumentsQuery, DocumentsQueryVariables>;
|
|
718
|
+
declare const TagDocument: TypedDocumentNode<TagQuery, TagQueryVariables>;
|
|
719
|
+
declare const TagsDocument: TypedDocumentNode<TagsQuery, TagsQueryVariables>;
|
|
720
|
+
declare const WebsitesDocument: TypedDocumentNode<WebsitesQuery, WebsitesQueryVariables>;
|
|
721
|
+
|
|
722
|
+
export { type Asset, type AssetConnection, type AssetDocumentsArgs, type AssetEdge, type ConnectionSort, type Document, type DocumentAssetsArgs, type DocumentConnection, type DocumentConnectionFilter, DocumentDocument, type DocumentEdge, type DocumentInboundLinkDocumentsArgs, type DocumentOutboundLinkDocumentsArgs, type DocumentQuery, type DocumentQueryVariables, type DocumentTagsArgs, type DocumentWebsitesArgs, DocumentsDocument, type DocumentsQuery, type DocumentsQueryVariables, type Exact, type Incremental, type InputMaybe, type MakeEmpty, type MakeMaybe, type MakeOptional, type Maybe, type PageInfo, type Query, type QueryAssetArgs, type QueryAssetsArgs, type QueryDocumentArgs, type QueryDocumentsArgs, type QueryTagArgs, type QueryTagsArgs, type QueryWebsiteArgs, type QueryWebsitesArgs, type Scalars, type Tag, type TagConnection, TagDocument, type TagDocumentsArgs, type TagEdge, type TagQuery, type TagQueryVariables, type TagRelatedTagsArgs, TagsDocument, type TagsQuery, type TagsQueryVariables, type WebsiteOgImage, WebsitesDocument, type WebsitesQuery, type WebsitesQueryVariables, type WorkspaceWebsite, type WorkspaceWebsiteConnection, type WorkspaceWebsiteDocumentsArgs, type WorkspaceWebsiteEdge };
|