Compare commits

..

2 Commits

Author SHA1 Message Date
Dean Wenstrand
16684f0057 Fetch replyToCommentId in comment reply selections
All checks were successful
Tests / Tests (pull_request) Successful in 12s
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-22 20:06:28 -07:00
Dean Wenstrand
6a599d7d2b Add replyToCommentId to CommentGQL
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-22 19:59:43 -07:00
5 changed files with 11 additions and 28 deletions

View File

@@ -274,6 +274,7 @@ export type CommentGql = {
id: Scalars["Int"]["output"]; id: Scalars["Int"]["output"];
message: Scalars["String"]["output"]; message: Scalars["String"]["output"];
replies: Array<CommentGql>; replies: Array<CommentGql>;
replyToCommentId?: Maybe<Scalars["Int"]["output"]>;
user: UserGql; user: UserGql;
}; };
@@ -3613,10 +3614,7 @@ export type SessionCoachDecisionGql = {
practiceAttemptCount?: Maybe<Scalars["Int"]["output"]>; practiceAttemptCount?: Maybe<Scalars["Int"]["output"]>;
practiceTarget?: Maybe<Scalars["String"]["output"]>; practiceTarget?: Maybe<Scalars["String"]["output"]>;
selectedCandidateId?: Maybe<Scalars["ID"]["output"]>; selectedCandidateId?: Maybe<Scalars["ID"]["output"]>;
sessionSummary?: Maybe<Scalars["String"]["output"]>;
suggestedAction?: Maybe<Scalars["String"]["output"]>; suggestedAction?: Maybe<Scalars["String"]["output"]>;
supportingCandidateIds: Array<Scalars["ID"]["output"]>;
supportingShotIds: Array<Scalars["Int"]["output"]>;
title?: Maybe<Scalars["String"]["output"]>; title?: Maybe<Scalars["String"]["output"]>;
}; };
@@ -3675,7 +3673,6 @@ export type SessionCoachGenerationDiagnosticsGql = {
promptVersion: Scalars["String"]["output"]; promptVersion: Scalars["String"]["output"];
providerKey: Scalars["String"]["output"]; providerKey: Scalars["String"]["output"];
startedAt?: Maybe<Scalars["DateTime"]["output"]>; startedAt?: Maybe<Scalars["DateTime"]["output"]>;
synthesisRationale?: Maybe<Scalars["String"]["output"]>;
updatedAt: Scalars["DateTime"]["output"]; updatedAt: Scalars["DateTime"]["output"];
}; };
@@ -5012,6 +5009,7 @@ export type GetFeedQuery = {
__typename?: "CommentGQL"; __typename?: "CommentGQL";
id: number; id: number;
message: string; message: string;
replyToCommentId?: number | null;
user: { user: {
__typename?: "UserGQL"; __typename?: "UserGQL";
id: number; id: number;
@@ -5127,6 +5125,7 @@ export type VideoCardFieldsFragment = {
__typename?: "CommentGQL"; __typename?: "CommentGQL";
id: number; id: number;
message: string; message: string;
replyToCommentId?: number | null;
user: { user: {
__typename?: "UserGQL"; __typename?: "UserGQL";
id: number; id: number;
@@ -5275,6 +5274,7 @@ export type GetVideoFeedQuery = {
__typename?: "CommentGQL"; __typename?: "CommentGQL";
id: number; id: number;
message: string; message: string;
replyToCommentId?: number | null;
user: { user: {
__typename?: "UserGQL"; __typename?: "UserGQL";
id: number; id: number;
@@ -6980,9 +6980,6 @@ export type GetSessionCoachQuery = {
decision?: { decision?: {
__typename?: "SessionCoachDecisionGQL"; __typename?: "SessionCoachDecisionGQL";
selectedCandidateId?: string | null; selectedCandidateId?: string | null;
supportingCandidateIds: Array<string>;
supportingShotIds: Array<number>;
sessionSummary?: string | null;
title?: string | null; title?: string | null;
body?: string | null; body?: string | null;
suggestedAction?: string | null; suggestedAction?: string | null;
@@ -7010,7 +7007,6 @@ export type GetSessionCoachQuery = {
startedAt?: any | null; startedAt?: any | null;
lastEnqueuedAt?: any | null; lastEnqueuedAt?: any | null;
abstentionReason?: string | null; abstentionReason?: string | null;
synthesisRationale?: string | null;
} | null; } | null;
} | null; } | null;
}; };
@@ -7034,9 +7030,6 @@ export type RequestSessionCoachGenerationMutation = {
decision?: { decision?: {
__typename?: "SessionCoachDecisionGQL"; __typename?: "SessionCoachDecisionGQL";
selectedCandidateId?: string | null; selectedCandidateId?: string | null;
supportingCandidateIds: Array<string>;
supportingShotIds: Array<number>;
sessionSummary?: string | null;
title?: string | null; title?: string | null;
body?: string | null; body?: string | null;
suggestedAction?: string | null; suggestedAction?: string | null;
@@ -7064,7 +7057,6 @@ export type RequestSessionCoachGenerationMutation = {
startedAt?: any | null; startedAt?: any | null;
lastEnqueuedAt?: any | null; lastEnqueuedAt?: any | null;
abstentionReason?: string | null; abstentionReason?: string | null;
synthesisRationale?: string | null;
} | null; } | null;
} | null; } | null;
}; };
@@ -7108,9 +7100,6 @@ export type SessionCoachGenerationFieldsFragment = {
decision?: { decision?: {
__typename?: "SessionCoachDecisionGQL"; __typename?: "SessionCoachDecisionGQL";
selectedCandidateId?: string | null; selectedCandidateId?: string | null;
supportingCandidateIds: Array<string>;
supportingShotIds: Array<number>;
sessionSummary?: string | null;
title?: string | null; title?: string | null;
body?: string | null; body?: string | null;
suggestedAction?: string | null; suggestedAction?: string | null;
@@ -7138,7 +7127,6 @@ export type SessionCoachGenerationFieldsFragment = {
startedAt?: any | null; startedAt?: any | null;
lastEnqueuedAt?: any | null; lastEnqueuedAt?: any | null;
abstentionReason?: string | null; abstentionReason?: string | null;
synthesisRationale?: string | null;
} | null; } | null;
}; };
@@ -8530,6 +8518,7 @@ export type GetVideoSocialDetailsByIdQuery = {
__typename?: "CommentGQL"; __typename?: "CommentGQL";
id: number; id: number;
message: string; message: string;
replyToCommentId?: number | null;
user: { user: {
__typename?: "UserGQL"; __typename?: "UserGQL";
id: number; id: number;
@@ -8637,6 +8626,7 @@ export type GetVideoCardQuery = {
__typename?: "CommentGQL"; __typename?: "CommentGQL";
id: number; id: number;
message: string; message: string;
replyToCommentId?: number | null;
user: { user: {
__typename?: "UserGQL"; __typename?: "UserGQL";
id: number; id: number;
@@ -9437,6 +9427,7 @@ export const VideoCardFieldsFragmentDoc = gql`
replies { replies {
id id
message message
replyToCommentId
user { user {
...UserSocialsFields ...UserSocialsFields
} }
@@ -9624,9 +9615,6 @@ export const SessionCoachGenerationFieldsFragmentDoc = gql`
completedAt completedAt
decision { decision {
selectedCandidateId selectedCandidateId
supportingCandidateIds
supportingShotIds
sessionSummary
title title
body body
suggestedAction suggestedAction
@@ -9653,7 +9641,6 @@ export const SessionCoachGenerationFieldsFragmentDoc = gql`
startedAt startedAt
lastEnqueuedAt lastEnqueuedAt
abstentionReason abstentionReason
synthesisRationale
} }
} }
`; `;
@@ -18385,6 +18372,7 @@ export const GetVideoSocialDetailsByIdDocument = gql`
replies { replies {
id id
message message
replyToCommentId
user { user {
...UserSocialsFields ...UserSocialsFields
} }

View File

@@ -78,6 +78,7 @@ fragment VideoCardFields on VideoGQL {
replies { replies {
id id
message message
replyToCommentId
user { user {
...UserSocialsFields ...UserSocialsFields
} }

View File

@@ -69,9 +69,6 @@ fragment SessionCoachGenerationFields on SessionCoachGenerationGQL {
completedAt completedAt
decision { decision {
selectedCandidateId selectedCandidateId
supportingCandidateIds
supportingShotIds
sessionSummary
title title
body body
suggestedAction suggestedAction
@@ -98,6 +95,5 @@ fragment SessionCoachGenerationFields on SessionCoachGenerationGQL {
startedAt startedAt
lastEnqueuedAt lastEnqueuedAt
abstentionReason abstentionReason
synthesisRationale
} }
} }

View File

@@ -131,6 +131,7 @@ query GetVideoSocialDetailsById($videoId: Int!) {
replies { replies {
id id
message message
replyToCommentId
user { user {
...UserSocialsFields ...UserSocialsFields
} }

View File

@@ -221,6 +221,7 @@ type CommentGQL {
user: UserGQL! user: UserGQL!
message: String! message: String!
replies: [CommentGQL!]! replies: [CommentGQL!]!
replyToCommentId: Int
} }
type CountLeaderboardGQL { type CountLeaderboardGQL {
@@ -1323,9 +1324,6 @@ enum SessionCoachCandidateKindEnum {
type SessionCoachDecisionGQL { type SessionCoachDecisionGQL {
selectedCandidateId: ID selectedCandidateId: ID
supportingCandidateIds: [ID!]!
supportingShotIds: [Int!]!
sessionSummary: String
title: String title: String
body: String body: String
suggestedAction: String suggestedAction: String
@@ -1388,7 +1386,6 @@ type SessionCoachGenerationDiagnosticsGQL {
startedAt: DateTime startedAt: DateTime
lastEnqueuedAt: DateTime lastEnqueuedAt: DateTime
abstentionReason: String abstentionReason: String
synthesisRationale: String
} }
type SessionCoachGenerationGQL { type SessionCoachGenerationGQL {