Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit5a060fd

Browse files
committed
migrate codegen graphql typings
1 parenta591a2d commit5a060fd

File tree

1 file changed

+202
-0
lines changed

1 file changed

+202
-0
lines changed

‎typings/graphql.d.ts

Lines changed: 202 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,202 @@
1+
import { GraphQLResolveInfo, GraphQLScalarType, GraphQLScalarTypeConfig } from 'graphql';
2+
export type Maybe<T> = T | null;
3+
export type RequireFields<T, K extends keyof T> = { [X in Exclude<keyof T, K>]?: T[X] } & { [P in K]-?: NonNullable<T[P]> };
4+
/** All built-in and custom scalars, mapped to their actual values */
5+
export type Scalars = {
6+
ID: string,
7+
String: string,
8+
Boolean: boolean,
9+
Int: number,
10+
Float: number,
11+
/**
12+
* A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the
13+
* `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO
14+
* 8601 standard for representation of dates and times using the Gregorian calendar.
15+
**/
16+
DateTime: any,
17+
/** Git commit hash */
18+
Commit: any,
19+
/** The `JSON` scalar type represents JSON values as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
20+
JSON: any,
21+
/** The `JSONObject` scalar type represents JSON objects as specified by [ECMA-404](http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-404.pdf). */
22+
JSONObject: any,
23+
/** The `Upload` scalar type represents a file upload. */
24+
Upload: any,
25+
};
26+
27+
28+
29+
export type AuthenticateUserPayload = {
30+
__typename?: 'AuthenticateUserPayload',
31+
user: User,
32+
token: Scalars['String'],
33+
};
34+
35+
export enum CacheControlScope {
36+
Public = 'PUBLIC',
37+
Private = 'PRIVATE'
38+
}
39+
40+
41+
42+
export enum EnumCodingLanguage {
43+
Javascript = 'JAVASCRIPT'
44+
}
45+
46+
export enum EnumTestRunner {
47+
Jest = 'JEST'
48+
}
49+
50+
export type GithubUser = {
51+
__typename?: 'GithubUser',
52+
id: Scalars['ID'],
53+
name?: Maybe<Scalars['String']>,
54+
email?: Maybe<Scalars['String']>,
55+
location?: Maybe<Scalars['String']>,
56+
avatarUrl?: Maybe<Scalars['String']>,
57+
};
58+
59+
60+
61+
export type Level = {
62+
__typename?: 'Level',
63+
id: Scalars['ID'],
64+
title?: Maybe<Scalars['String']>,
65+
text?: Maybe<Scalars['String']>,
66+
stages?: Maybe<Array<Maybe<Stage>>>,
67+
setup?: Maybe<StepActions>,
68+
};
69+
70+
export type Mutation = {
71+
__typename?: 'Mutation',
72+
authenticate?: Maybe<AuthenticateUserPayload>,
73+
};
74+
75+
76+
export type MutationAuthenticateArgs = {
77+
accessToken: Scalars['String']
78+
};
79+
80+
export type Query = {
81+
__typename?: 'Query',
82+
tutorial?: Maybe<Tutorial>,
83+
tutorials?: Maybe<Array<Maybe<Tutorial>>>,
84+
user?: Maybe<User>,
85+
level?: Maybe<Level>,
86+
stage?: Maybe<Stage>,
87+
step?: Maybe<Step>,
88+
stepActions?: Maybe<StepActions>,
89+
};
90+
91+
92+
export type QueryTutorialArgs = {
93+
id: Scalars['ID']
94+
};
95+
96+
97+
export type QueryLevelArgs = {
98+
id: Scalars['ID']
99+
};
100+
101+
102+
export type QueryStageArgs = {
103+
id: Scalars['ID']
104+
};
105+
106+
107+
export type QueryStepArgs = {
108+
id: Scalars['ID']
109+
};
110+
111+
112+
export type QueryStepActionsArgs = {
113+
id: Scalars['ID']
114+
};
115+
116+
export enum Role {
117+
Admin = 'ADMIN',
118+
User = 'USER'
119+
}
120+
121+
export type Stage = {
122+
__typename?: 'Stage',
123+
id: Scalars['ID'],
124+
title?: Maybe<Scalars['String']>,
125+
text?: Maybe<Scalars['String']>,
126+
steps?: Maybe<Array<Maybe<Step>>>,
127+
setup?: Maybe<StepActions>,
128+
};
129+
130+
export type Step = {
131+
__typename?: 'Step',
132+
id: Scalars['ID'],
133+
title?: Maybe<Scalars['String']>,
134+
text?: Maybe<Scalars['String']>,
135+
setup?: Maybe<StepActions>,
136+
solution?: Maybe<StepActions>,
137+
};
138+
139+
export type StepActions = {
140+
__typename?: 'StepActions',
141+
id: Scalars['ID'],
142+
commits?: Maybe<Array<Maybe<Scalars['Commit']>>>,
143+
files?: Maybe<Array<Maybe<Scalars['String']>>>,
144+
commands?: Maybe<Array<Maybe<Scalars['String']>>>,
145+
};
146+
147+
export type Tutorial = {
148+
__typename?: 'Tutorial',
149+
id: Scalars['ID'],
150+
repo?: Maybe<TutorialRepo>,
151+
createdBy?: Maybe<User>,
152+
createdAt?: Maybe<Scalars['DateTime']>,
153+
updatedBy?: Maybe<User>,
154+
updatedAt?: Maybe<Scalars['DateTime']>,
155+
codingLanguage?: Maybe<EnumCodingLanguage>,
156+
testRunner?: Maybe<EnumTestRunner>,
157+
title?: Maybe<Scalars['String']>,
158+
text?: Maybe<Scalars['String']>,
159+
releasedAt?: Maybe<Scalars['DateTime']>,
160+
releasedBy?: Maybe<User>,
161+
latestVersion?: Maybe<TutorialVersion>,
162+
versions?: Maybe<Array<Maybe<TutorialVersion>>>,
163+
};
164+
165+
export type TutorialRepo = {
166+
__typename?: 'TutorialRepo',
167+
tutorialId: Scalars['ID'],
168+
uri?: Maybe<Scalars['String']>,
169+
branch?: Maybe<Scalars['String']>,
170+
name?: Maybe<Scalars['String']>,
171+
owner?: Maybe<Scalars['String']>,
172+
};
173+
174+
export type TutorialVersion = {
175+
__typename?: 'TutorialVersion',
176+
tutorialId: Scalars['ID'],
177+
version: Scalars['String'],
178+
coderoadVersion?: Maybe<Scalars['String']>,
179+
createdAt?: Maybe<Scalars['DateTime']>,
180+
createdBy?: Maybe<User>,
181+
publishedAt?: Maybe<Scalars['DateTime']>,
182+
publishedBy?: Maybe<User>,
183+
levels?: Maybe<Array<Maybe<Level>>>,
184+
};
185+
186+
187+
export type User = {
188+
__typename?: 'User',
189+
id: Scalars['ID'],
190+
name?: Maybe<Scalars['String']>,
191+
email?: Maybe<Scalars['String']>,
192+
location?: Maybe<Scalars['String']>,
193+
avatarUrl?: Maybe<Scalars['String']>,
194+
createdAt?: Maybe<Scalars['DateTime']>,
195+
updatedAt?: Maybe<Scalars['DateTime']>,
196+
githubUser?: Maybe<GithubUser>,
197+
};
198+
export type TutorialSummaryFragment = (
199+
{ __typename?: 'Tutorial' }
200+
& Pick<Tutorial, 'title' | 'text'>
201+
);
202+

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp