@@ -610,10 +610,7 @@ type Mutation {
610
610
"""Whether to open the project when added"""
611
611
open : Boolean
612
612
path : String !
613
- ): Boolean
614
-
615
- """Create an Index HTML file for a new component testing project"""
616
- appCreateComponentIndexHtml (template : String ! ): Boolean
613
+ ): Query
617
614
618
615
"""Clears the currently active project"""
619
616
clearCurrentProject : Query
@@ -641,7 +638,7 @@ type Mutation {
641
638
internal_clearProjectPreferencesCache (projectTitle : String ! ): Boolean
642
639
643
640
"""Launches project from open_project global singleton"""
644
- launchOpenProject (specPath : String ): Boolean
641
+ launchOpenProject (specPath : String ): CurrentProject
645
642
646
643
"""Sets the active browser"""
647
644
launchpadSetBrowser (
@@ -650,10 +647,10 @@ type Mutation {
650
647
): CurrentProject
651
648
652
649
"""Auth with Cypress Cloud"""
653
- login : Boolean
650
+ login : Query
654
651
655
652
"""Log out of Cypress Cloud"""
656
- logout : Boolean
653
+ logout : Query
657
654
658
655
"""Open a path in preferred IDE"""
659
656
openDirectoryInIDE (path : String ! ): Boolean
@@ -669,30 +666,27 @@ type Mutation {
669
666
reconfigureProject : Boolean !
670
667
671
668
"""Remove project from projects array and cache"""
672
- removeProject (path : String ! ): Boolean
669
+ removeProject (path : String ! ): Query
673
670
674
671
"""Reset the Wizard to the starting position"""
675
672
resetWizard : Boolean !
676
673
scaffoldIntegration : [CodeGenResultWithFileParts ! ]!
677
674
scaffoldTestingType : Query
678
675
679
676
"""Set active project to run tests on"""
680
- setCurrentProject (path : String ! ): Boolean
677
+ setCurrentProject (path : String ! ): Query
681
678
setCurrentTestingType (testingType : TestingTypeEnum ! ): Query
682
679
683
680
"""
684
681
Update local preferences (also known as appData). The payload, `value`, should be a `JSON.stringified()` object of the new values you'd like to persist. Example: `setPreferences (value: JSON.stringify({ lastOpened: Date.now() }))`
685
682
"""
686
- setPreferences (value : String ! ): Boolean
683
+ setPreferences (value : String ! ): Query
687
684
688
685
"""Save the projects preferences to cache"""
689
686
setProjectPreferences (browserPath : String ! , testingType : TestingTypeEnum ! ): Query !
690
687
691
- """show the launchpad at the browser picker step"""
692
- showElectronOnAppExit : Boolean
693
-
694
688
"""Updates the different fields of the wizard data store"""
695
- wizardUpdate (input : WizardUpdateInput ! ): Boolean
689
+ wizardUpdate (input : WizardUpdateInput ! ): Wizard
696
690
}
697
691
698
692
"""Implements the Relay Node spec"""
0 commit comments