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

Commit3cd8796

Browse files
authored
Merge pull requestcoderoad#97 from ShMcK/fix/state-machine
Fix/state machine
2 parentse18999e +0d31c65 commit3cd8796

File tree

19 files changed

+1100
-806
lines changed

19 files changed

+1100
-806
lines changed

‎package-lock.json

Lines changed: 229 additions & 90 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.

‎package.json

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -32,27 +32,27 @@
3232
},
3333
"dependencies": {
3434
"@sentry/electron":"^1.2.0",
35-
"@sentry/node":"^5.11.1",
35+
"@sentry/node":"^5.11.2",
3636
"chokidar":"^3.3.0",
3737
"dotenv":"^8.2.0",
3838
"jsdom":"^16.0.1"
3939
},
4040
"devDependencies": {
41-
"@types/assert":"^1.4.4",
41+
"@types/assert":"^1.4.5",
4242
"@types/chokidar":"^2.1.3",
4343
"@types/dotenv":"^8.2.0",
4444
"@types/glob":"^7.1.1",
45-
"@types/jest":"^24.9.1",
45+
"@types/jest":"^25.1.1",
4646
"@types/jsdom":"^12.2.4",
47-
"@types/node":"^13.5.0",
48-
"@typescript-eslint/eslint-plugin":"^2.17.0",
49-
"@typescript-eslint/parser":"^2.17.0",
47+
"@types/node":"^13.5.3",
48+
"@typescript-eslint/eslint-plugin":"^2.18.0",
49+
"@typescript-eslint/parser":"^2.18.0",
5050
"eslint":"^6.8.0",
51-
"eslint-config-prettier":"^6.9.0",
51+
"eslint-config-prettier":"^6.10.0",
5252
"eslint-plugin-prettier":"^3.1.2",
5353
"graphql":"^14.6.0",
5454
"prettier":"^1.19.1",
55-
"ts-jest":"^25.0.0",
55+
"ts-jest":"^25.1.0",
5656
"typescript":"^3.7.5",
5757
"vscode":"^1.1.36",
5858
"vscode-test":"^1.3.0"

‎src/channel/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ class Channel implements Channel {
9898
thrownewError('Invalid tutorial to continue')
9999
}
100100
constcontinueConfig:T.TutorialConfig=tutorialContinue.version.data.config
101-
tutorialConfig(
101+
awaittutorialConfig(
102102
{
103103
config:continueConfig,
104104
alreadyConfigured:true,

‎typings/graphql.d.ts

Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ export type MutationUpdateTutorialProgressArgs = {
137137
}
138138

139139
exporttypeMutationCreateTutorialArgs={
140-
input:CreateTutorialInput
140+
input:Scalars['String']
141141
}
142142

143143
exporttypeMutationCreateTutorialVersionArgs={
@@ -347,14 +347,14 @@ export type ResolversTypes = {
347347
TutorialProgressType:TutorialProgressType
348348
TutorialProgressStatus:TutorialProgressStatus
349349
Boolean:ResolverTypeWrapper<Scalars['Boolean']>
350-
createTutorialInput:CreateTutorialInput
351350
createTutorialVersionInput:CreateTutorialVersionInput
352351
updateTutorialVersionInput:UpdateTutorialVersionInput
353352
JSONObject:ResolverTypeWrapper<Scalars['JSONObject']>
354353
Sha1:ResolverTypeWrapper<Scalars['Sha1']>
355354
Role:Role
356355
FileFormat:FileFormat
357356
tutorialRepoInput:TutorialRepoInput
357+
createTutorialInput:CreateTutorialInput
358358
GithubUser:ResolverTypeWrapper<GithubUser>
359359
}
360360

@@ -380,14 +380,14 @@ export type ResolversParentTypes = {
380380
TutorialProgressType:TutorialProgressType
381381
TutorialProgressStatus:TutorialProgressStatus
382382
Boolean:Scalars['Boolean']
383-
createTutorialInput:CreateTutorialInput
384383
createTutorialVersionInput:CreateTutorialVersionInput
385384
updateTutorialVersionInput:UpdateTutorialVersionInput
386385
JSONObject:Scalars['JSONObject']
387386
Sha1:Scalars['Sha1']
388387
Role:Role
389388
FileFormat:FileFormat
390389
tutorialRepoInput:TutorialRepoInput
390+
createTutorialInput:CreateTutorialInput
391391
GithubUser:GithubUser
392392
}
393393

@@ -601,15 +601,3 @@ export type DirectiveResolvers<ContextType = any> = {
601601
* Use "DirectiveResolvers" root object instead. If you wish to get "IDirectiveResolvers", add "typesPrefix: I" to your config.
602602
*/
603603
exporttypeIDirectiveResolvers<ContextType=any>=DirectiveResolvers<ContextType>
604-
605-
exportinterfaceIntrospectionResultData{
606-
__schema:{
607-
types:{
608-
kind:string
609-
name:string
610-
possibleTypes:{
611-
name:string
612-
}[]
613-
}[]
614-
}
615-
}

‎typings/index.d.ts

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,15 +66,16 @@ export interface MachineStateSchema {
6666
Error:{}
6767
NewOrContinue:{}
6868
SelectTutorial:{}
69+
LoadTutorialSummary:{}
70+
Summary:{}
71+
LoadTutorialData:{}
72+
SetupNewTutorial:{}
6973
ContinueTutorial:{}
7074
}
7175
}
7276
Tutorial:{
7377
states:{
74-
Initialize:{}
75-
Summary:{}
7678
LoadNext:{}
77-
Error:{}
7879
Level:{
7980
states:{
8081
Load:{}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp