Codex Assistant
昨天 0a48616045ddce1562584543a0e89e5144051fde
backend/src/main/resources/graphql/player.graphqls
@@ -17,6 +17,10 @@
    # 获取当前评委对选手的评分
    currentJudgeRating(activityPlayerId: ID!): CurrentJudgeRatingResponse
    activityPlayerDetail(id: ID!): ActivityPlayerDetailResponse
    # 获取参赛项目阶段时间轴及评分概况
    projectStageTimeline(activityPlayerId: ID!): ProjectStageTimelineResponse
    # 获取指定阶段的评委评分详情
    stageJudgeRatings(activityPlayerId: ID!): StageJudgeRatingDetailResponse
    # 微信端获取选手报名状态
    getPlayerRegistrationState(activityId: ID!): PlayerRegistrationResponse
    # 获取比赛晋级列表
@@ -92,6 +96,7 @@
    totalScore: Float
    status: Int
    remark: String
    ratedAt: String
    items: [CurrentJudgeRatingItemResponse!]!
}
@@ -101,6 +106,44 @@
    ratingItemName: String!
    score: Float
    weightedScore: Float
    maxScore: Float
}
type ProjectStageTimelineResponse {
    activityId: ID!
    activityName: String
    stages: [ProjectStageTimelineItemResponse!]!
}
type ProjectStageTimelineItemResponse {
    stageId: ID!
    stageName: String!
    matchTime: String
    sortOrder: Int
    participated: Boolean!
    activityPlayerId: ID
    averageScore: Float
    ratingCount: Int!
    hasRating: Boolean!
    latestRatingTime: String
}
type StageJudgeRatingDetailResponse {
    activityPlayerId: ID!
    stageId: ID
    stageName: String
    matchTime: String
    ratingCount: Int!
    averageScore: Float
    judgeRatings: [StageJudgeRatingItemResponse!]!
}
type StageJudgeRatingItemResponse {
    judgeId: ID!
    judgeName: String!
    totalScore: Float
    feedback: String
    ratingTime: String
}
type ActivityPlayerApplicationResponse {
@@ -140,6 +183,15 @@
    description: String
    avatarUrl: String
    avatar: MediaResponse
    userInfo: PlayerUserInfoResponse
}
type PlayerUserInfoResponse {
    userId: ID
    name: String
    phone: String
    avatarUrl: String
    avatar: MediaResponse
}
type RegionInfoResponse {
@@ -151,7 +203,10 @@
type SubmissionMediaResponse {
    id: ID
    name: String
    path: String
    url: String
    fullUrl: String
    fullThumbUrl: String
    fileExt: String
    fileSize: Int
    mediaType: Int
@@ -289,4 +344,4 @@
    success: Boolean!
    message: String
    promotedCount: Int
}
}