Skip to content

Commit

Permalink
feat(schema): r__73.1.0-rc1_5e9f5d81afe__s21__STABLE
Browse files Browse the repository at this point in the history
  • Loading branch information
s21toolkit committed Apr 24, 2024
1 parent 4a0195a commit 3756db1
Show file tree
Hide file tree
Showing 202 changed files with 65,618 additions and 0 deletions.
11 changes: 11 additions & 0 deletions schema/operations/CalendarGetVideoInNotFinalStatus.gql
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
}
}
}
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
}
}
}
16 changes: 16 additions & 0 deletions schema/operations/EventsGetActivityFeedback.gql
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
email
}
comment
rating
createDate
}
getActivityEventFeedbackCount(activityEventId: $activityEventId)
}
}
15 changes: 15 additions & 0 deletions schema/operations/EventsGetStudents.gql
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
email
}
}
}
}
36 changes: 36 additions & 0 deletions schema/operations/GetTop5AndMeCoalitionTournamentMembers.gql
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
}
}
}
}
65 changes: 65 additions & 0 deletions schema/operations/ProjectMapGetStudentGraphState.gql
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
}
}
}
12 changes: 12 additions & 0 deletions schema/operations/ProjectMapGetStudentStageGroups.gql
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
}
}
}
}
5 changes: 5 additions & 0 deletions schema/operations/StartP2pCheck.gql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
mutation StartP2pCheck($filledChecklistId: ID!) {
student {
startP2pCheck(filledChecklistId: $filledChecklistId)
}
}
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
}
}
}
5 changes: 5 additions & 0 deletions schema/operations/acceptInvitationToTeam.gql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
mutation acceptInvitationToTeam($teamId: UUID!) {
student {
acceptInvitation(teamId: $teamId)
}
}
7 changes: 7 additions & 0 deletions schema/operations/addToFavourites.gql
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 schema/operations/bonusesGetBadgesWithFakePublicProfile.gql
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
}
}
}
5 changes: 5 additions & 0 deletions schema/operations/bonusesGetUserIdByLogin.gql
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
query bonusesGetUserIdByLogin($login: String!) {
school21 {
getUserIdByLogin(login: $login)
}
}
5 changes: 5 additions & 0 deletions schema/operations/bookPenaltySlot.gql
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)
}
}
12 changes: 12 additions & 0 deletions schema/operations/calendarAddBookingToEventSlot.gql
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
}
}
}
10 changes: 10 additions & 0 deletions schema/operations/calendarAddCodeReviewToEventSlot.gql
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
}
}
}
Loading

0 comments on commit 3756db1

Please sign in to comment.