lms-graphql-api 1.8.0 → 1.9.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/lms_graphql/mutations/canvas/add_message.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/add_recipients.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/copy_course_content.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_appointment_group.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/create_assignment.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_assignment_override.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/create_conversation.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_global_notification.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/create_instid.rb +22 -0
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_accounts_outcome_id.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_courses_outcome_id.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_global.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_link_outcome_global_outcome_id.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_module.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/create_new_course.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_accounts.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_new_grading_standard_courses.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/create_question_group.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/create_single_poll.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/create_single_poll_choice.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/create_single_poll_session.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/create_single_poll_submission.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_accounts.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/create_update_proficiency_ratings_courses.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/delete_message.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/edit_assignment.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/edit_conversation.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/edit_group.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_assignments.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_courses_submissions.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_assignments.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_multiple_submissions_sections_submissions.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_courses.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/grade_or_comment_on_submission_sections.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/import_sis_data.rb +5 -1
- data/lib/lms_graphql/mutations/canvas/invite_others_to_group.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/mutations.rb +1 -0
- data/lib/lms_graphql/mutations/canvas/quiz_extensions_set_extensions_for_student_quiz_submissions.rb +6 -6
- data/lib/lms_graphql/mutations/canvas/reorder_custom_columns.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_courses.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/reorder_pinned_topics_groups.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/reorder_question_groups.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/reorder_quiz_items.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/set_course_timetable.rb +4 -4
- data/lib/lms_graphql/mutations/canvas/set_extensions_for_student_assignment_submissions.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/submit_assignment_courses.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/submit_assignment_sections.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_account.rb +11 -1
- data/lib/lms_graphql/mutations/canvas/update_appointment_group.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_assignment_override.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_course.rb +8 -4
- data/lib/lms_graphql/mutations/canvas/update_global_notification.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_media_tracks.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_module.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_outcome.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_question_group.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_single_grading_period.rb +1 -1
- data/lib/lms_graphql/mutations/canvas/update_single_poll.rb +2 -2
- data/lib/lms_graphql/mutations/canvas/update_single_poll_choice.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_single_poll_session.rb +3 -3
- data/lib/lms_graphql/mutations/canvas/update_student_question_scores_and_comments.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/batch_retrieve_overrides_in_course.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/courses_permissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/find_recipients_conversations.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/find_recipients_search.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/get_accounts_that_admins_can_manage.rb +23 -0
- data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_courses_peer_reviews.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_courses_submissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_sections_peer_reviews.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_all_peer_reviews_sections_submissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_all_quiz_submission_questions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_all_quiz_submissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_assignment_group.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_file_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_file_files.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_file_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_file_users.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_outcome_result_rollups.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/get_outcome_results.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_quiz_submission.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_section_information_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_section_information_sections.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_appointment_group.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_assignment.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_conversation.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_course_accounts.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_course_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_group.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_quiz_submission.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_rubric_accounts.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_rubric_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_submission_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_submission_sections.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_topic_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_single_topic_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_sis_import_list.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/get_users_most_recently_graded_submissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/get_visible_course_navigation_tools.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/get_visible_course_navigation_tools_for_single_course.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/groups_permissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_accounts.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_active_courses_in_account.rb +9 -7
- data/lib/lms_graphql/resolvers/canvas/list_announcements.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_appointment_groups.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_assignment_groups.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_assignment_submissions_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_assignment_submissions_sections.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_assignments_assignment_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_assignments_assignments.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_accounts.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_courses.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_groups.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_available_tabs_for_course_or_group_users.rb +4 -2
- data/lib/lms_graphql/resolvers/canvas/list_calendar_events.rb +5 -3
- data/lib/lms_graphql/resolvers/canvas/list_calendar_events_for_user.rb +5 -3
- data/lib/lms_graphql/resolvers/canvas/list_conversations.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_counts_for_todo_items.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_course_sections.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_courses_for_user.rb +6 -4
- data/lib/lms_graphql/resolvers/canvas/list_discussion_topics_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_discussion_topics_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_enrollment_terms.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_enrollments_courses.rb +9 -9
- data/lib/lms_graphql/resolvers/canvas/list_enrollments_sections.rb +9 -9
- data/lib/lms_graphql/resolvers/canvas/list_enrollments_users.rb +9 -9
- data/lib/lms_graphql/resolvers/canvas/list_entries_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_entries_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_files_courses.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_files_folders.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_files_groups.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_files_users.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_group_memberships.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_group_s_users.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_groups_available_in_context_accounts.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_groups_available_in_context_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_media_objects_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_media_objects_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_media_objects_media_objects.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_media_tracks_for_media_object.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_members_of_collaboration.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_missing_submissions.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_module_items.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_modules.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_observees.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_observers.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_planner_items_planner.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_planner_items_users.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_planner_notes.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_roles.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_courses.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_submissions_for_multiple_assignments_sections.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_todo_items.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/list_users_in_course_search_users.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_users_in_course_users.rb +3 -3
- data/lib/lms_graphql/resolvers/canvas/list_your_courses.rb +2 -2
- data/lib/lms_graphql/resolvers/canvas/list_your_groups.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/permissions.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_classic_quizzes.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/retrieve_assignment_overridden_dates_for_new_quizzes.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/settings.rb +22 -0
- data/lib/lms_graphql/resolvers/canvas/show_module.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/show_module_item.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/show_user_details.rb +1 -1
- data/lib/lms_graphql/resolvers/canvas/update_user_settings.rb +8 -2
- data/lib/lms_graphql/types/canvas/account_notification.rb +1 -1
- data/lib/lms_graphql/types/canvas/account_notification_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/appointment_group.rb +2 -2
- data/lib/lms_graphql/types/canvas/appointment_group_input.rb +2 -2
- data/lib/lms_graphql/types/canvas/assignment.rb +4 -4
- data/lib/lms_graphql/types/canvas/assignment_event.rb +1 -0
- data/lib/lms_graphql/types/canvas/assignment_event_input.rb +1 -0
- data/lib/lms_graphql/types/canvas/assignment_group.rb +1 -1
- data/lib/lms_graphql/types/canvas/assignment_group_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/assignment_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/authentication_provider.rb +1 -0
- data/lib/lms_graphql/types/canvas/authentication_provider_input.rb +1 -0
- data/lib/lms_graphql/types/canvas/calendar_event.rb +2 -1
- data/lib/lms_graphql/types/canvas/calendar_event_input.rb +2 -1
- data/lib/lms_graphql/types/canvas/conference.rb +1 -1
- data/lib/lms_graphql/types/canvas/conference_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/conversation.rb +3 -3
- data/lib/lms_graphql/types/canvas/conversation_input.rb +3 -3
- data/lib/lms_graphql/types/canvas/created_event_datum.rb +4 -4
- data/lib/lms_graphql/types/canvas/created_event_datum_input.rb +4 -4
- data/lib/lms_graphql/types/canvas/discussion_topic.rb +1 -1
- data/lib/lms_graphql/types/canvas/discussion_topic_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/grader.rb +1 -1
- data/lib/lms_graphql/types/canvas/grader_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/grading_rule.rb +1 -1
- data/lib/lms_graphql/types/canvas/grading_rule_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/inst_id.rb +14 -0
- data/lib/lms_graphql/types/canvas/inst_id_input.rb +14 -0
- data/lib/lms_graphql/types/canvas/migrator.rb +1 -1
- data/lib/lms_graphql/types/canvas/migrator_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/profile.rb +1 -0
- data/lib/lms_graphql/types/canvas/profile_input.rb +1 -0
- data/lib/lms_graphql/types/canvas/query_type.rb +13 -1
- data/lib/lms_graphql/types/canvas/quiz.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_submission_question.rb +1 -1
- data/lib/lms_graphql/types/canvas/quiz_submission_question_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/report_parameter.rb +1 -1
- data/lib/lms_graphql/types/canvas/report_parameter_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/rubric_assessment.rb +1 -1
- data/lib/lms_graphql/types/canvas/rubric_assessment_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/sis_import_datum.rb +1 -1
- data/lib/lms_graphql/types/canvas/sis_import_datum_input.rb +1 -1
- data/lib/lms_graphql/types/canvas/submission.rb +6 -0
- data/lib/lms_graphql/types/canvas/submission_input.rb +6 -0
- data/lib/lms_graphql/types/canvas/updated_event_datum.rb +4 -4
- data/lib/lms_graphql/types/canvas/updated_event_datum_input.rb +4 -4
- data/lib/lms_graphql/types/canvas_forward_declarations.rb +2 -0
- data/lib/lms_graphql/version.rb +1 -1
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7e66a604576bed32b35d5b8b06205dcf9070a2eb3655e16d55fc808f7c77688e
|
4
|
+
data.tar.gz: 1ce55ee65235bff1a0e5fcc5f4436c3e4112dfb7a44a48e150b06977adba3486
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5b0603ec53f78ff7a4b9d0bbddc3bab08e31cae84b888ae33f7896872d17daae57f44f7a410d837cea71b180d7d0c0548f190ba110ae50af8bd3017a159f3fb6
|
7
|
+
data.tar.gz: 1b9d6babc384bbc766537d160f52925e0deff320abd6a9358b85925bc464b4d9fa66ccc54fa08e2e5ede4b1e85950c17064ff08768018f7c5c742869284dfe3f
|
@@ -9,8 +9,8 @@ module LMSGraphQL
|
|
9
9
|
argument :attachment_ids, [ID], required: false
|
10
10
|
argument :media_comment_id, ID, required: false
|
11
11
|
argument :media_comment_type, String, required: false
|
12
|
-
argument :recipients, String, required: false
|
13
|
-
argument :included_messages, String, required: false
|
12
|
+
argument :recipients, [String], required: false
|
13
|
+
argument :included_messages, [String], required: false
|
14
14
|
argument :user_note, Boolean, required: false
|
15
15
|
|
16
16
|
|
@@ -6,8 +6,8 @@ module LMSGraphQL
|
|
6
6
|
class CopyCourseContent < BaseMutation
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :source_course, String, required: false
|
9
|
-
argument :except, String, required: false
|
10
|
-
argument :only, String, required: false
|
9
|
+
argument :except, [String], required: false
|
10
|
+
argument :only, [String], required: false
|
11
11
|
|
12
12
|
|
13
13
|
field :return_value, Boolean, null: false
|
@@ -4,8 +4,8 @@ module LMSGraphQL
|
|
4
4
|
module Mutations
|
5
5
|
module Canvas
|
6
6
|
class CreateAppointmentGroup < BaseMutation
|
7
|
-
argument :appointment_group_context_codes, String, required: true
|
8
|
-
argument :appointment_group_sub_context_codes, String, required: false
|
7
|
+
argument :appointment_group_context_codes, [String], required: true
|
8
|
+
argument :appointment_group_sub_context_codes, [String], required: false
|
9
9
|
argument :appointment_group_title, String, required: true
|
10
10
|
argument :appointment_group_description, String, required: false
|
11
11
|
argument :appointment_group_location_name, String, required: false
|
@@ -14,7 +14,7 @@ module LMSGraphQL
|
|
14
14
|
argument :appointment_group_participants_per_appointment, Int, required: false
|
15
15
|
argument :appointment_group_min_appointments_per_participant, Int, required: false
|
16
16
|
argument :appointment_group_max_appointments_per_participant, Int, required: false
|
17
|
-
argument :appointment_group_new_appointments_X, String, required: false
|
17
|
+
argument :appointment_group_new_appointments_X, [String], required: false
|
18
18
|
argument :appointment_group_participant_visibility, String, required: false
|
19
19
|
|
20
20
|
|
@@ -7,8 +7,8 @@ module LMSGraphQL
|
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :assignment_name, String, required: true
|
9
9
|
argument :assignment_position, Int, required: false
|
10
|
-
argument :assignment_submission_types, String, required: false
|
11
|
-
argument :assignment_allowed_extensions, String, required: false
|
10
|
+
argument :assignment_submission_types, [String], required: false
|
11
|
+
argument :assignment_allowed_extensions, [String], required: false
|
12
12
|
argument :assignment_turnitin_enabled, Boolean, required: false
|
13
13
|
argument :assignment_vericite_enabled, Boolean, required: false
|
14
14
|
argument :assignment_turnitin_settings, String, required: false
|
@@ -6,7 +6,7 @@ module LMSGraphQL
|
|
6
6
|
class CreateAssignmentOverride < BaseMutation
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :assignment_id, ID, required: true
|
9
|
-
argument :assignment_override_student_ids, Int, required: false
|
9
|
+
argument :assignment_override_student_ids, [Int], required: false
|
10
10
|
argument :assignment_override_title, String, required: false
|
11
11
|
argument :assignment_override_group_id, Int, required: false
|
12
12
|
argument :assignment_override_course_section_id, Int, required: false
|
@@ -4,7 +4,7 @@ module LMSGraphQL
|
|
4
4
|
module Mutations
|
5
5
|
module Canvas
|
6
6
|
class CreateConversation < BaseMutation
|
7
|
-
argument :recipients, String, required: true
|
7
|
+
argument :recipients, [String], required: true
|
8
8
|
argument :subject, String, required: false
|
9
9
|
argument :body, String, required: true
|
10
10
|
argument :force_new, Boolean, required: false
|
@@ -15,7 +15,7 @@ module LMSGraphQL
|
|
15
15
|
argument :user_note, Boolean, required: false
|
16
16
|
argument :mode, String, required: false
|
17
17
|
argument :scope, String, required: false
|
18
|
-
argument :filter, String, required: false
|
18
|
+
argument :filter, [String], required: false
|
19
19
|
argument :filter_mode, String, required: false
|
20
20
|
argument :context_code, String, required: false
|
21
21
|
|
@@ -10,7 +10,7 @@ module LMSGraphQL
|
|
10
10
|
argument :account_notification_start_at, LMSGraphQL::Types::DateTimeType, required: true
|
11
11
|
argument :account_notification_end_at, LMSGraphQL::Types::DateTimeType, required: true
|
12
12
|
argument :account_notification_icon, String, required: false
|
13
|
-
argument :account_notification_roles, String, required: false
|
13
|
+
argument :account_notification_roles, [String], required: false
|
14
14
|
|
15
15
|
|
16
16
|
field :return_value, Boolean, null: false
|
@@ -0,0 +1,22 @@
|
|
1
|
+
require_relative "../canvas_base_mutation"
|
2
|
+
require_relative "../../types/canvas/inst_id"
|
3
|
+
module LMSGraphQL
|
4
|
+
module Mutations
|
5
|
+
module Canvas
|
6
|
+
class CreateInstid < BaseMutation
|
7
|
+
|
8
|
+
|
9
|
+
|
10
|
+
field :inst_id, LMSGraphQL::Types::Canvas::CanvasInstID, null: false
|
11
|
+
|
12
|
+
def resolve()
|
13
|
+
context[:canvas_api].call("CREATE_INSTID").proxy(
|
14
|
+
"CREATE_INSTID",
|
15
|
+
{},
|
16
|
+
{},
|
17
|
+
).parsed_response
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -13,8 +13,8 @@ module LMSGraphQL
|
|
13
13
|
argument :description, String, required: false
|
14
14
|
argument :vendor_guid, String, required: false
|
15
15
|
argument :mastery_points, Int, required: false
|
16
|
-
argument :ratings_description, String, required: false
|
17
|
-
argument :ratings_points, Int, required: false
|
16
|
+
argument :ratings_description, [String], required: false
|
17
|
+
argument :ratings_points, [Int], required: false
|
18
18
|
argument :calculation_method, String, required: false
|
19
19
|
argument :calculation_int, Int, required: false
|
20
20
|
|
@@ -13,8 +13,8 @@ module LMSGraphQL
|
|
13
13
|
argument :description, String, required: false
|
14
14
|
argument :vendor_guid, String, required: false
|
15
15
|
argument :mastery_points, Int, required: false
|
16
|
-
argument :ratings_description, String, required: false
|
17
|
-
argument :ratings_points, Int, required: false
|
16
|
+
argument :ratings_description, [String], required: false
|
17
|
+
argument :ratings_points, [Int], required: false
|
18
18
|
argument :calculation_method, String, required: false
|
19
19
|
argument :calculation_int, Int, required: false
|
20
20
|
|
@@ -13,8 +13,8 @@ module LMSGraphQL
|
|
13
13
|
argument :description, String, required: false
|
14
14
|
argument :vendor_guid, String, required: false
|
15
15
|
argument :mastery_points, Int, required: false
|
16
|
-
argument :ratings_description, String, required: false
|
17
|
-
argument :ratings_points, Int, required: false
|
16
|
+
argument :ratings_description, [String], required: false
|
17
|
+
argument :ratings_points, [Int], required: false
|
18
18
|
argument :calculation_method, String, required: false
|
19
19
|
argument :calculation_int, Int, required: false
|
20
20
|
|
@@ -13,8 +13,8 @@ module LMSGraphQL
|
|
13
13
|
argument :description, String, required: false
|
14
14
|
argument :vendor_guid, String, required: false
|
15
15
|
argument :mastery_points, Int, required: false
|
16
|
-
argument :ratings_description, String, required: false
|
17
|
-
argument :ratings_points, Int, required: false
|
16
|
+
argument :ratings_description, [String], required: false
|
17
|
+
argument :ratings_points, [Int], required: false
|
18
18
|
argument :calculation_method, String, required: false
|
19
19
|
argument :calculation_int, Int, required: false
|
20
20
|
|
@@ -12,8 +12,8 @@ module LMSGraphQL
|
|
12
12
|
argument :description, String, required: false
|
13
13
|
argument :vendor_guid, String, required: false
|
14
14
|
argument :mastery_points, Int, required: false
|
15
|
-
argument :ratings_description, String, required: false
|
16
|
-
argument :ratings_points, Int, required: false
|
15
|
+
argument :ratings_description, [String], required: false
|
16
|
+
argument :ratings_points, [Int], required: false
|
17
17
|
argument :calculation_method, String, required: false
|
18
18
|
argument :calculation_int, Int, required: false
|
19
19
|
|
@@ -12,8 +12,8 @@ module LMSGraphQL
|
|
12
12
|
argument :description, String, required: false
|
13
13
|
argument :vendor_guid, String, required: false
|
14
14
|
argument :mastery_points, Int, required: false
|
15
|
-
argument :ratings_description, String, required: false
|
16
|
-
argument :ratings_points, Int, required: false
|
15
|
+
argument :ratings_description, [String], required: false
|
16
|
+
argument :ratings_points, [Int], required: false
|
17
17
|
argument :calculation_method, String, required: false
|
18
18
|
argument :calculation_int, Int, required: false
|
19
19
|
|
@@ -9,7 +9,7 @@ module LMSGraphQL
|
|
9
9
|
argument :module_unlock_at, LMSGraphQL::Types::DateTimeType, required: false
|
10
10
|
argument :module_position, Int, required: false
|
11
11
|
argument :module_require_sequential_progress, Boolean, required: false
|
12
|
-
argument :module_prerequisite_module_ids, String, required: false
|
12
|
+
argument :module_prerequisite_module_ids, [String], required: false
|
13
13
|
argument :module_publish_final_grade, Boolean, required: false
|
14
14
|
|
15
15
|
|
@@ -21,7 +21,7 @@ module LMSGraphQL
|
|
21
21
|
argument :course_open_enrollment, Boolean, required: false
|
22
22
|
argument :course_self_enrollment, Boolean, required: false
|
23
23
|
argument :course_restrict_enrollments_to_course_dates, Boolean, required: false
|
24
|
-
argument :course_term_id,
|
24
|
+
argument :course_term_id, String, required: false
|
25
25
|
argument :course_sis_course_id, String, required: false
|
26
26
|
argument :course_integration_id, String, required: false
|
27
27
|
argument :course_hide_final_grades, Boolean, required: false
|
@@ -6,8 +6,8 @@ module LMSGraphQL
|
|
6
6
|
class CreateNewGradingStandardAccount < BaseMutation
|
7
7
|
argument :account_id, ID, required: true
|
8
8
|
argument :title, String, required: true
|
9
|
-
argument :grading_scheme_entry_name, String, required: true
|
10
|
-
argument :grading_scheme_entry_value, Int, required: true
|
9
|
+
argument :grading_scheme_entry_name, [String], required: true
|
10
|
+
argument :grading_scheme_entry_value, [Int], required: true
|
11
11
|
|
12
12
|
|
13
13
|
field :grading_standard, LMSGraphQL::Types::Canvas::CanvasGradingStandard, null: false
|
@@ -6,8 +6,8 @@ module LMSGraphQL
|
|
6
6
|
class CreateNewGradingStandardCourse < BaseMutation
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :title, String, required: true
|
9
|
-
argument :grading_scheme_entry_name, String, required: true
|
10
|
-
argument :grading_scheme_entry_value, Int, required: true
|
9
|
+
argument :grading_scheme_entry_name, [String], required: true
|
10
|
+
argument :grading_scheme_entry_value, [Int], required: true
|
11
11
|
|
12
12
|
|
13
13
|
field :grading_standard, LMSGraphQL::Types::Canvas::CanvasGradingStandard, null: false
|
data/lib/lms_graphql/mutations/canvas/create_or_update_events_directly_for_course_timetable.rb
CHANGED
@@ -9,9 +9,9 @@ module LMSGraphQL
|
|
9
9
|
argument :events, [String], required: false
|
10
10
|
argument :events_start_at, [LMSGraphQL::Types::DateTimeType], required: false
|
11
11
|
argument :events_end_at, [LMSGraphQL::Types::DateTimeType], required: false
|
12
|
-
argument :events_location_name, String, required: false
|
13
|
-
argument :events_code, String, required: false
|
14
|
-
argument :events_title, String, required: false
|
12
|
+
argument :events_location_name, [String], required: false
|
13
|
+
argument :events_code, [String], required: false
|
14
|
+
argument :events_title, [String], required: false
|
15
15
|
|
16
16
|
|
17
17
|
field :return_value, Boolean, null: false
|
@@ -6,10 +6,10 @@ module LMSGraphQL
|
|
6
6
|
class CreateQuestionGroup < BaseMutation
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :quiz_id, ID, required: true
|
9
|
-
argument :quiz_groups_name, String, required: false
|
10
|
-
argument :quiz_groups_pick_count, Int, required: false
|
11
|
-
argument :quiz_groups_question_points, Int, required: false
|
12
|
-
argument :quiz_groups_assessment_question_bank_id, Int, required: false
|
9
|
+
argument :quiz_groups_name, [String], required: false
|
10
|
+
argument :quiz_groups_pick_count, [Int], required: false
|
11
|
+
argument :quiz_groups_question_points, [Int], required: false
|
12
|
+
argument :quiz_groups_assessment_question_bank_id, [Int], required: false
|
13
13
|
|
14
14
|
|
15
15
|
field :return_value, Boolean, null: false
|
@@ -4,8 +4,8 @@ module LMSGraphQL
|
|
4
4
|
module Mutations
|
5
5
|
module Canvas
|
6
6
|
class CreateSinglePoll < BaseMutation
|
7
|
-
argument :polls_question, String, required: true
|
8
|
-
argument :polls_description, String, required: false
|
7
|
+
argument :polls_question, [String], required: true
|
8
|
+
argument :polls_description, [String], required: false
|
9
9
|
|
10
10
|
|
11
11
|
field :return_value, Boolean, null: false
|
@@ -5,9 +5,9 @@ module LMSGraphQL
|
|
5
5
|
module Canvas
|
6
6
|
class CreateSinglePollChoice < BaseMutation
|
7
7
|
argument :poll_id, ID, required: true
|
8
|
-
argument :poll_choices_text, String, required: true
|
9
|
-
argument :poll_choices_is_correct, Boolean, required: false
|
10
|
-
argument :poll_choices_position, Int, required: false
|
8
|
+
argument :poll_choices_text, [String], required: true
|
9
|
+
argument :poll_choices_is_correct, [Boolean], required: false
|
10
|
+
argument :poll_choices_position, [Int], required: false
|
11
11
|
|
12
12
|
|
13
13
|
field :return_value, Boolean, null: false
|
@@ -5,9 +5,9 @@ module LMSGraphQL
|
|
5
5
|
module Canvas
|
6
6
|
class CreateSinglePollSession < BaseMutation
|
7
7
|
argument :poll_id, ID, required: true
|
8
|
-
argument :poll_sessions_course_id, Int, required: true
|
9
|
-
argument :poll_sessions_course_section_id, Int, required: false
|
10
|
-
argument :poll_sessions_has_public_results, Boolean, required: false
|
8
|
+
argument :poll_sessions_course_id, [Int], required: true
|
9
|
+
argument :poll_sessions_course_section_id, [Int], required: false
|
10
|
+
argument :poll_sessions_has_public_results, [Boolean], required: false
|
11
11
|
|
12
12
|
|
13
13
|
field :return_value, Boolean, null: false
|
@@ -6,7 +6,7 @@ module LMSGraphQL
|
|
6
6
|
class CreateSinglePollSubmission < BaseMutation
|
7
7
|
argument :poll_id, ID, required: true
|
8
8
|
argument :poll_session_id, ID, required: true
|
9
|
-
argument :poll_submissions_poll_choice_id, Int, required: true
|
9
|
+
argument :poll_submissions_poll_choice_id, [Int], required: true
|
10
10
|
|
11
11
|
|
12
12
|
field :return_value, Boolean, null: false
|
@@ -5,10 +5,10 @@ module LMSGraphQL
|
|
5
5
|
module Canvas
|
6
6
|
class CreateUpdateProficiencyRatingsAccount < BaseMutation
|
7
7
|
argument :account_id, ID, required: true
|
8
|
-
argument :ratings_description, String, required: false
|
9
|
-
argument :ratings_points, Int, required: false
|
10
|
-
argument :ratings_mastery, Int, required: false
|
11
|
-
argument :ratings_color, Int, required: false
|
8
|
+
argument :ratings_description, [String], required: false
|
9
|
+
argument :ratings_points, [Int], required: false
|
10
|
+
argument :ratings_mastery, [Int], required: false
|
11
|
+
argument :ratings_color, [Int], required: false
|
12
12
|
|
13
13
|
|
14
14
|
field :proficiency, LMSGraphQL::Types::Canvas::CanvasProficiency, null: false
|
@@ -5,10 +5,10 @@ module LMSGraphQL
|
|
5
5
|
module Canvas
|
6
6
|
class CreateUpdateProficiencyRatingsCourse < BaseMutation
|
7
7
|
argument :course_id, ID, required: true
|
8
|
-
argument :ratings_description, String, required: false
|
9
|
-
argument :ratings_points, Int, required: false
|
10
|
-
argument :ratings_mastery, Int, required: false
|
11
|
-
argument :ratings_color, Int, required: false
|
8
|
+
argument :ratings_description, [String], required: false
|
9
|
+
argument :ratings_points, [Int], required: false
|
10
|
+
argument :ratings_mastery, [Int], required: false
|
11
|
+
argument :ratings_color, [Int], required: false
|
12
12
|
|
13
13
|
|
14
14
|
field :proficiency, LMSGraphQL::Types::Canvas::CanvasProficiency, null: false
|
@@ -8,8 +8,8 @@ module LMSGraphQL
|
|
8
8
|
argument :id, ID, required: true
|
9
9
|
argument :assignment_name, String, required: false
|
10
10
|
argument :assignment_position, Int, required: false
|
11
|
-
argument :assignment_submission_types, String, required: false
|
12
|
-
argument :assignment_allowed_extensions, String, required: false
|
11
|
+
argument :assignment_submission_types, [String], required: false
|
12
|
+
argument :assignment_allowed_extensions, [String], required: false
|
13
13
|
argument :assignment_turnitin_enabled, Boolean, required: false
|
14
14
|
argument :assignment_vericite_enabled, Boolean, required: false
|
15
15
|
argument :assignment_turnitin_settings, String, required: false
|
@@ -9,7 +9,7 @@ module LMSGraphQL
|
|
9
9
|
argument :conversation_subscribed, Boolean, required: false
|
10
10
|
argument :conversation_starred, Boolean, required: false
|
11
11
|
argument :scope, String, required: false
|
12
|
-
argument :filter, String, required: false
|
12
|
+
argument :filter, [String], required: false
|
13
13
|
argument :filter_mode, String, required: false
|
14
14
|
|
15
15
|
|
@@ -11,7 +11,7 @@ module LMSGraphQL
|
|
11
11
|
argument :join_level, String, required: false
|
12
12
|
argument :avatar_id, ID, required: false
|
13
13
|
argument :storage_quota_mb, Int, required: false
|
14
|
-
argument :members, String, required: false
|
14
|
+
argument :members, [String], required: false
|
15
15
|
argument :sis_group_id, ID, required: false
|
16
16
|
|
17
17
|
|
@@ -13,7 +13,7 @@ module LMSGraphQL
|
|
13
13
|
argument :grade_data__student_id__group_comment, Boolean, required: false
|
14
14
|
argument :grade_data__student_id__media_comment_id, String, required: false
|
15
15
|
argument :grade_data__student_id__media_comment_type, String, required: false
|
16
|
-
argument :grade_data__student_id__file_ids, Int, required: false
|
16
|
+
argument :grade_data__student_id__file_ids, [Int], required: false
|
17
17
|
argument :grade_data__student_id__assignment_id, Int, required: false
|
18
18
|
|
19
19
|
|
@@ -12,7 +12,7 @@ module LMSGraphQL
|
|
12
12
|
argument :grade_data__student_id__group_comment, Boolean, required: false
|
13
13
|
argument :grade_data__student_id__media_comment_id, String, required: false
|
14
14
|
argument :grade_data__student_id__media_comment_type, String, required: false
|
15
|
-
argument :grade_data__student_id__file_ids, Int, required: false
|
15
|
+
argument :grade_data__student_id__file_ids, [Int], required: false
|
16
16
|
argument :grade_data__student_id__assignment_id, Int, required: false
|
17
17
|
|
18
18
|
|
@@ -13,7 +13,7 @@ module LMSGraphQL
|
|
13
13
|
argument :grade_data__student_id__group_comment, Boolean, required: false
|
14
14
|
argument :grade_data__student_id__media_comment_id, String, required: false
|
15
15
|
argument :grade_data__student_id__media_comment_type, String, required: false
|
16
|
-
argument :grade_data__student_id__file_ids, Int, required: false
|
16
|
+
argument :grade_data__student_id__file_ids, [Int], required: false
|
17
17
|
argument :grade_data__student_id__assignment_id, Int, required: false
|
18
18
|
|
19
19
|
|