@@ -110,6 +110,7 @@ export enum UserDefineKey {
110
110
export type Mutation = {
111
111
readonly __typename ?: 'Mutation' ;
112
112
readonly buildFlashFirmware : BuildFlashFirmwareResult ;
113
+ readonly clearPlatformioCoreDir : ClearPlatformioCoreDirResult ;
113
114
} ;
114
115
115
116
export type MutationBuildFlashFirmwareArgs = {
@@ -175,6 +176,12 @@ export type UserDefineInput = {
175
176
readonly value ?: Maybe < Scalars [ 'String' ] > ;
176
177
} ;
177
178
179
+ export type ClearPlatformioCoreDirResult = {
180
+ readonly __typename ?: 'ClearPlatformioCoreDirResult' ;
181
+ readonly success : Scalars [ 'Boolean' ] ;
182
+ readonly message ?: Maybe < Scalars [ 'String' ] > ;
183
+ } ;
184
+
178
185
export type Subscription = {
179
186
readonly __typename ?: 'Subscription' ;
180
187
readonly buildProgressNotifications : BuildProgressNotification ;
@@ -255,6 +262,18 @@ export type BuildProgressNotificationsSubscription = {
255
262
} & Pick < BuildProgressNotification , 'type' | 'step' | 'message' > ;
256
263
} ;
257
264
265
+ export type ClearPlatformioCoreDirMutationVariables = Exact < {
266
+ [ key : string ] : never ;
267
+ } > ;
268
+
269
+ export type ClearPlatformioCoreDirMutation = {
270
+ readonly __typename ?: 'Mutation' ;
271
+ } & {
272
+ readonly clearPlatformioCoreDir : {
273
+ readonly __typename ?: 'ClearPlatformioCoreDirResult' ;
274
+ } & Pick < ClearPlatformioCoreDirResult , 'success' | 'message' > ;
275
+ } ;
276
+
258
277
export type TargetDeviceOptionsQueryVariables = Exact < {
259
278
target : DeviceTarget ;
260
279
} > ;
@@ -469,6 +488,55 @@ export type BuildProgressNotificationsSubscriptionHookResult = ReturnType<
469
488
typeof useBuildProgressNotificationsSubscription
470
489
> ;
471
490
export type BuildProgressNotificationsSubscriptionResult = Apollo . SubscriptionResult < BuildProgressNotificationsSubscription > ;
491
+ export const ClearPlatformioCoreDirDocument = gql `
492
+ mutation clearPlatformioCoreDir {
493
+ clearPlatformioCoreDir {
494
+ success
495
+ message
496
+ }
497
+ }
498
+ ` ;
499
+ export type ClearPlatformioCoreDirMutationFn = Apollo . MutationFunction <
500
+ ClearPlatformioCoreDirMutation ,
501
+ ClearPlatformioCoreDirMutationVariables
502
+ > ;
503
+
504
+ /**
505
+ * __useClearPlatformioCoreDirMutation__
506
+ *
507
+ * To run a mutation, you first call `useClearPlatformioCoreDirMutation` within a React component and pass it any options that fit your needs.
508
+ * When your component renders, `useClearPlatformioCoreDirMutation` returns a tuple that includes:
509
+ * - A mutate function that you can call at any time to execute the mutation
510
+ * - An object with fields that represent the current status of the mutation's execution
511
+ *
512
+ * @param baseOptions options that will be passed into the mutation, supported options are listed on: https://www.apollographql.com/docs/react/api/react-hooks/#options-2;
513
+ *
514
+ * @example
515
+ * const [clearPlatformioCoreDirMutation, { data, loading, error }] = useClearPlatformioCoreDirMutation({
516
+ * variables: {
517
+ * },
518
+ * });
519
+ */
520
+ export function useClearPlatformioCoreDirMutation (
521
+ baseOptions ?: Apollo . MutationHookOptions <
522
+ ClearPlatformioCoreDirMutation ,
523
+ ClearPlatformioCoreDirMutationVariables
524
+ >
525
+ ) {
526
+ return Apollo . useMutation <
527
+ ClearPlatformioCoreDirMutation ,
528
+ ClearPlatformioCoreDirMutationVariables
529
+ > ( ClearPlatformioCoreDirDocument , baseOptions ) ;
530
+ }
531
+
532
+ export type ClearPlatformioCoreDirMutationHookResult = ReturnType <
533
+ typeof useClearPlatformioCoreDirMutation
534
+ > ;
535
+ export type ClearPlatformioCoreDirMutationResult = Apollo . MutationResult < ClearPlatformioCoreDirMutation > ;
536
+ export type ClearPlatformioCoreDirMutationOptions = Apollo . BaseMutationOptions <
537
+ ClearPlatformioCoreDirMutation ,
538
+ ClearPlatformioCoreDirMutationVariables
539
+ > ;
472
540
export const TargetDeviceOptionsDocument = gql `
473
541
query targetDeviceOptions($target: DeviceTarget!) {
474
542
targetDeviceOptions(target: $target) {
0 commit comments