From 1953248639117d40fc780d0231e5b70d383dbbb8 Mon Sep 17 00:00:00 2001 From: Loewy Date: Mon, 3 Aug 2026 16:19:03 -0700 Subject: [PATCH] Regenerate Session Coach feedback schema --- src/index.tsx | 21 +++++++++++++++++++++ src/schema.gql | 18 ++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/src/index.tsx b/src/index.tsx index 6ddaef5..3690fe5 100644 --- a/src/index.tsx +++ b/src/index.tsx @@ -2582,6 +2582,7 @@ export type Mutation = { startChallenge: ChallengeEntry; submitCancellationFeedback: Scalars["Boolean"]["output"]; submitChallengeEntry: ChallengeEntry; + submitSessionCoachFeedback: SessionCoachFeedbackGql; syncAppleSubscription: SyncAppleSubscriptionResultGql; undismissChallenge: Scalars["Boolean"]["output"]; unfollowUser: UserGql; @@ -2843,6 +2844,12 @@ export type MutationSubmitChallengeEntryArgs = { videoId: Scalars["ID"]["input"]; }; +export type MutationSubmitSessionCoachFeedbackArgs = { + generationId: Scalars["ID"]["input"]; + response: SessionCoachFeedbackResponseEnum; + videoId: Scalars["Int"]["input"]; +}; + export type MutationSyncAppleSubscriptionArgs = { input: SyncAppleSubscriptionInputGql; }; @@ -3688,6 +3695,19 @@ export type SessionCoachEvidenceGql = { score: Scalars["Float"]["output"]; }; +export type SessionCoachFeedbackGql = { + __typename?: "SessionCoachFeedbackGQL"; + response: SessionCoachFeedbackResponseEnum; + updatedAt: Scalars["DateTime"]["output"]; +}; + +export enum SessionCoachFeedbackResponseEnum { + AlreadyWorkingOnThis = "ALREADY_WORKING_ON_THIS", + Helpful = "HELPFUL", + NotEnoughEvidence = "NOT_ENOUGH_EVIDENCE", + WrongFocus = "WRONG_FOCUS", +} + export type SessionCoachGql = { __typename?: "SessionCoachGQL"; agentGeneration?: Maybe; @@ -3740,6 +3760,7 @@ export type SessionCoachGenerationGql = { createdAt: Scalars["DateTime"]["output"]; decision?: Maybe; diagnostics?: Maybe; + feedback?: Maybe; id: Scalars["ID"]["output"]; state: SessionCoachGenerationStateEnum; }; diff --git a/src/schema.gql b/src/schema.gql index 1490bb6..4903b36 100644 --- a/src/schema.gql +++ b/src/schema.gql @@ -736,6 +736,11 @@ type Mutation { shotId: Int! fieldsToEdit: EditableShotFieldInputGQL! ): EditShotReturn! + submitSessionCoachFeedback( + videoId: Int! + generationId: ID! + response: SessionCoachFeedbackResponseEnum! + ): SessionCoachFeedbackGQL! requestSessionCoachGeneration(videoId: Int!): SessionCoachGQL! getProfileImageUploadLink( fileExt: String = ".png" @@ -1395,6 +1400,18 @@ type SessionCoachEvidenceGQL { baselineMakePercentage: Float } +type SessionCoachFeedbackGQL { + response: SessionCoachFeedbackResponseEnum! + updatedAt: DateTime! +} + +enum SessionCoachFeedbackResponseEnum { + HELPFUL + WRONG_FOCUS + ALREADY_WORKING_ON_THIS + NOT_ENOUGH_EVIDENCE +} + type SessionCoachGQL { videoId: Int! processingId: Int @@ -1446,6 +1463,7 @@ type SessionCoachGenerationGQL { completedAt: DateTime decision: SessionCoachDecisionGQL diagnostics: SessionCoachGenerationDiagnosticsGQL + feedback: SessionCoachFeedbackGQL } enum SessionCoachGenerationStateEnum {