-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(schema): r__73.1.0-rc1_5e9f5d81afe__s21__STABLE
- Loading branch information
s21toolkit
committed
Apr 24, 2024
1 parent
4a0195a
commit 3756db1
Showing
202 changed files
with
65,618 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
query CalendarGetVideoInNotFinalStatus($filledChecklistId: ID!) { | ||
sc21StudentTaskCheck { | ||
getVideoInNotFinalStatus(filledChecklistId: $filledChecklistId) { | ||
onlineVideoId | ||
link | ||
status | ||
statusDetails | ||
updateDateTime | ||
} | ||
} | ||
} |
10 changes: 10 additions & 0 deletions
10
schema/operations/CalendarUpdateFilledChecklistWithOnlineReview.gql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
mutation CalendarUpdateFilledChecklistWithOnlineReview($filledChecklistId: ID!, $onlineReviewId: ID!) { | ||
school21 { | ||
updateFilledChecklistWithOnlineReview( | ||
filledChecklistId: $filledChecklistId | ||
onlineReviewId: $onlineReviewId | ||
) { | ||
checklistId | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
query EventsGetActivityFeedback($activityEventId: ID!, $page: PagingInput!) { | ||
event { | ||
getActivityEventFeedback(activityEventId: $activityEventId, page: $page) { | ||
id | ||
user { | ||
id | ||
login | ||
} | ||
comment | ||
rating | ||
createDate | ||
} | ||
getActivityEventFeedbackCount(activityEventId: $activityEventId) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
query EventsGetStudents($activityEventId: ID!, $studentType: StudentEventTypeEnum!, $page: PagingInput!) { | ||
event { | ||
getEventStudents( | ||
eventId: $activityEventId | ||
page: $page | ||
studentType: $studentType | ||
) { | ||
User { | ||
id | ||
login | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
schema/operations/GetTop5AndMeCoalitionTournamentMembers.gql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
fragment CompetitioncoalitionUserInfo on User { | ||
id | ||
login | ||
avatarUrl | ||
userExperience { | ||
level { | ||
id | ||
levelCode | ||
} | ||
} | ||
} | ||
|
||
fragment GetTop5AndMeCoalitionTournamentMembersInfo on CoalitionMemberPowerRank { | ||
id | ||
rank | ||
power { | ||
id | ||
points | ||
coalitionMemberUser { | ||
...CompetitioncoalitionUserInfo | ||
} | ||
} | ||
} | ||
|
||
query GetTop5AndMeCoalitionTournamentMembers($gameCoalitionId: Int!, $gameTournamentId: Int!) { | ||
student { | ||
getTop5AndMeCoalitionTournamentMembers( | ||
gameCoalitionId: $gameCoalitionId | ||
gameTournamentId: $gameTournamentId | ||
) { | ||
top5 { | ||
...GetTop5AndMeCoalitionTournamentMembersInfo | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
fragment GraphJson on HolyGraphJSON { | ||
nodes { | ||
id | ||
label | ||
items { | ||
id | ||
code | ||
handles | ||
entityType | ||
entityId | ||
parentNodeCodes | ||
skills { | ||
id | ||
name | ||
color | ||
textColor | ||
} | ||
goal { | ||
projectId | ||
projectName | ||
projectDescription | ||
projectPoints | ||
goalExecutionType | ||
duration | ||
projectDate | ||
projectState | ||
isMandatory | ||
projectDate | ||
} | ||
course { | ||
projectId | ||
projectName | ||
projectDescription | ||
projectPoints | ||
projectPoints | ||
courseType | ||
duration | ||
projectDate | ||
projectState | ||
projectDate | ||
localCourseId | ||
} | ||
parentNodeCodes | ||
} | ||
position { | ||
x | ||
y | ||
} | ||
} | ||
edges { | ||
id | ||
source | ||
target | ||
sourceHandle | ||
targetHandle | ||
} | ||
} | ||
|
||
query ProjectMapGetStudentGraphState($studentId: UUID, $stageGroupId: Int) { | ||
holyGraph { | ||
getStudentStateGraph(studentId: $studentId, stageGroupId: $stageGroupId) { | ||
...GraphJson | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
query ProjectMapGetStudentStageGroups($studentId: UUID!) { | ||
school21 { | ||
loadStudentStageGroups(studentId: $studentId) { | ||
stageGroupS21 { | ||
waveId | ||
waveName | ||
eduForm | ||
active | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
mutation StartP2pCheck($filledChecklistId: ID!) { | ||
student { | ||
startP2pCheck(filledChecklistId: $filledChecklistId) | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
schema/operations/StudentProfileGetUserRestrictionsByUserIdAndSchoolId.gql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
query StudentProfileGetUserRestrictionsByUserIdAndSchoolId($userId: UUID!, $schoolId: UUID!) { | ||
school21 { | ||
getUserRestrictionsByUserIdAndSchoolId(userId: $userId, schoolId: $schoolId) { | ||
restrictionId | ||
restrictionType | ||
userId | ||
schoolId | ||
isActive | ||
createdTs | ||
updatedTs | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
mutation acceptInvitationToTeam($teamId: UUID!) { | ||
student { | ||
acceptInvitation(teamId: $teamId) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
mutation addToFavourites($videoId: UUID!) { | ||
mediateka { | ||
addBookmark(itemId: $videoId) { | ||
status | ||
} | ||
} | ||
} |
53 changes: 53 additions & 0 deletions
53
schema/operations/bonusesGetBadgesWithFakePublicProfile.gql
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
fragment UserAchievements on UserBadgeAward { | ||
id | ||
histories { | ||
id | ||
rewardDate | ||
awardPoints | ||
} | ||
badge { | ||
id | ||
kind { | ||
id | ||
name | ||
order | ||
} | ||
name | ||
description | ||
avatarUrl | ||
bigAvatarUrl | ||
} | ||
award { | ||
id | ||
awardCondition { | ||
id | ||
description | ||
} | ||
awardBounties { | ||
awardBountyId | ||
description | ||
cookies | ||
coins | ||
experienceValue | ||
coalitionPoints | ||
softSkillPowers { | ||
softSkillId | ||
power | ||
softSkill { | ||
id | ||
name | ||
} | ||
} | ||
} | ||
} | ||
points | ||
isFake | ||
} | ||
|
||
query bonusesGetBadgesWithFakePublicProfile($userId: UUID) { | ||
school21 { | ||
getBadgesWithFakePublicProfile(userId: $userId) { | ||
...UserAchievements | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
query bonusesGetUserIdByLogin($login: String!) { | ||
school21 { | ||
getUserIdByLogin(login: $login) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
mutation bookPenaltySlot($penaltyId: ID!, $slotId: ID!) { | ||
penalty { | ||
setPenaltyBooking(penaltyId: $penaltyId, slotId: $slotId) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
mutation calendarAddBookingToEventSlot($answerId: ID!, $startTime: DateTime!, $wasStaffSlotChosen: Boolean!, $isOnline: Boolean) { | ||
student { | ||
addBookingP2PToEventSlot( | ||
answerId: $answerId | ||
startTime: $startTime | ||
wasStaffSlotChosen: $wasStaffSlotChosen | ||
isOnline: $isOnline | ||
) { | ||
id | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
mutation calendarAddCodeReviewToEventSlot($studentGoalId: ID!, $startTime: DateTime!) { | ||
student { | ||
addBookingCodeReviewToEventSlot( | ||
studentGoalId: $studentGoalId | ||
startTime: $startTime | ||
) { | ||
id | ||
} | ||
} | ||
} |
Oops, something went wrong.