| | |
| | | activityPlayerApplications(name: String, activityId: ID, page: Int, size: Int): [ActivityPlayerApplicationResponse!]! |
| | | activityPlayerDetail(id: ID!): ActivityPlayerDetailResponse |
| | | |
| | | # 报名状态查询 |
| | | playerRegistration(activityId: ID!): PlayerRegistrationResponse |
| | | |
| | | # 评分相关查询 |
| | | judgeRatingsForPlayer(activityPlayerId: ID!): [JudgeRatingStatusResponse!]! |
| | | currentJudgeRating(activityPlayerId: ID!): CurrentJudgeRatingResponse |
| | |
| | | |
| | | extend type Mutation { |
| | | saveActivityPlayerRating(input: ActivityPlayerRatingInput!): Boolean! |
| | | submitActivityRegistration(input: ActivityRegistrationInput!): ActivityRegistrationResponse! |
| | | } |
| | | |
| | | type ActivityPlayerApplicationResponse { |
| | |
| | | title: String |
| | | company: String |
| | | } |
| | | |
| | | # 报名提交输入类型 |
| | | input ActivityRegistrationInput { |
| | | activityId: ID! |
| | | playerInfo: PlayerRegistrationInput! |
| | | regionId: ID |
| | | projectName: String |
| | | description: String |
| | | mediaFiles: [MediaFileInput!] |
| | | attachmentMediaIds: [String!] |
| | | } |
| | | |
| | | # 选手报名信息输入类型 |
| | | input PlayerRegistrationInput { |
| | | name: String! |
| | | phone: String! |
| | | gender: Int |
| | | birthDate: String |
| | | education: String |
| | | introduction: String |
| | | description: String |
| | | avatarMediaId: String |
| | | } |
| | | |
| | | |
| | | |
| | | # 媒体文件输入类型 |
| | | input MediaFileInput { |
| | | name: String! |
| | | path: String! |
| | | fileExt: String |
| | | fileSize: Int |
| | | mediaType: Int! |
| | | } |
| | | |
| | | # 报名提交响应类型 |
| | | type ActivityRegistrationResponse { |
| | | success: Boolean! |
| | | message: String |
| | | registrationId: ID |
| | | playerId: ID |
| | | userId: ID |
| | | activityPlayerId: ID |
| | | } |
| | | |
| | | # 玩家报名状态响应类型 |
| | | type PlayerRegistrationResponse { |
| | | id: ID |
| | | status: Int |
| | | registrationTime: String |
| | | reviewStatus: Int |
| | | reviewComment: String |
| | | } |