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
@@ -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
|
|
@@ -11,7 +11,7 @@ module LMSGraphQL
|
|
11
11
|
argument :comment_group_comment, Boolean, required: false
|
12
12
|
argument :comment_media_comment_id, String, required: false
|
13
13
|
argument :comment_media_comment_type, String, required: false
|
14
|
-
argument :comment_file_ids, Int, required: false
|
14
|
+
argument :comment_file_ids, [Int], required: false
|
15
15
|
argument :include_visibility, String, required: false
|
16
16
|
argument :submission_posted_grade, String, required: false
|
17
17
|
argument :submission_excuse, Boolean, required: false
|
@@ -11,7 +11,7 @@ module LMSGraphQL
|
|
11
11
|
argument :comment_group_comment, Boolean, required: false
|
12
12
|
argument :comment_media_comment_id, String, required: false
|
13
13
|
argument :comment_media_comment_type, String, required: false
|
14
|
-
argument :comment_file_ids, Int, required: false
|
14
|
+
argument :comment_file_ids, [Int], required: false
|
15
15
|
argument :include_visibility, String, required: false
|
16
16
|
argument :submission_posted_grade, String, required: false
|
17
17
|
argument :submission_excuse, Boolean, required: false
|
@@ -15,16 +15,18 @@ module LMSGraphQL
|
|
15
15
|
argument :override_sis_stickiness, Boolean, required: false
|
16
16
|
argument :add_sis_stickiness, Boolean, required: false
|
17
17
|
argument :clear_sis_stickiness, Boolean, required: false
|
18
|
+
argument :update_sis_id_if_login_claimed, Boolean, required: false
|
18
19
|
argument :diffing_data_set_identifier, String, required: false
|
19
20
|
argument :diffing_remaster_data_set, Boolean, required: false
|
20
21
|
argument :diffing_drop_status, String, required: false
|
22
|
+
argument :batch_mode_enrollment_drop_status, String, required: false
|
21
23
|
argument :change_threshold, Int, required: false
|
22
24
|
argument :diff_row_count_threshold, Int, required: false
|
23
25
|
|
24
26
|
|
25
27
|
field :sis_import, LMSGraphQL::Types::Canvas::CanvasSisImport, null: false
|
26
28
|
|
27
|
-
def resolve(account_id:, import_type: nil, attachment: nil, extension: nil, batch_mode: nil, batch_mode_term_id: nil, multi_term_batch_mode: nil, skip_deletes: nil, override_sis_stickiness: nil, add_sis_stickiness: nil, clear_sis_stickiness: nil, diffing_data_set_identifier: nil, diffing_remaster_data_set: nil, diffing_drop_status: nil, change_threshold: nil, diff_row_count_threshold: nil)
|
29
|
+
def resolve(account_id:, import_type: nil, attachment: nil, extension: nil, batch_mode: nil, batch_mode_term_id: nil, multi_term_batch_mode: nil, skip_deletes: nil, override_sis_stickiness: nil, add_sis_stickiness: nil, clear_sis_stickiness: nil, update_sis_id_if_login_claimed: nil, diffing_data_set_identifier: nil, diffing_remaster_data_set: nil, diffing_drop_status: nil, batch_mode_enrollment_drop_status: nil, change_threshold: nil, diff_row_count_threshold: nil)
|
28
30
|
context[:canvas_api].call("IMPORT_SIS_DATA").proxy(
|
29
31
|
"IMPORT_SIS_DATA",
|
30
32
|
{
|
@@ -41,9 +43,11 @@ module LMSGraphQL
|
|
41
43
|
"override_sis_stickiness": override_sis_stickiness,
|
42
44
|
"add_sis_stickiness": add_sis_stickiness,
|
43
45
|
"clear_sis_stickiness": clear_sis_stickiness,
|
46
|
+
"update_sis_id_if_login_claimed": update_sis_id_if_login_claimed,
|
44
47
|
"diffing_data_set_identifier": diffing_data_set_identifier,
|
45
48
|
"diffing_remaster_data_set": diffing_remaster_data_set,
|
46
49
|
"diffing_drop_status": diffing_drop_status,
|
50
|
+
"batch_mode_enrollment_drop_status": batch_mode_enrollment_drop_status,
|
47
51
|
"change_threshold": change_threshold,
|
48
52
|
"diff_row_count_threshold": diff_row_count_threshold
|
49
53
|
},
|
@@ -219,6 +219,7 @@ module LMSGraphQL
|
|
219
219
|
field :leave_group_memberships, mutation: LMSGraphQL::Mutations::Canvas::LeaveGroupMembership
|
220
220
|
field :leave_group_users, mutation: LMSGraphQL::Mutations::Canvas::LeaveGroupUser
|
221
221
|
field :confirm_image_selection, mutation: LMSGraphQL::Mutations::Canvas::ConfirmImageSelection
|
222
|
+
field :create_instid, mutation: LMSGraphQL::Mutations::Canvas::CreateInstid
|
222
223
|
field :create_jwt, mutation: LMSGraphQL::Mutations::Canvas::CreateJwt
|
223
224
|
field :refresh_jwt, mutation: LMSGraphQL::Mutations::Canvas::RefreshJwt
|
224
225
|
field :create_late_policy, mutation: LMSGraphQL::Mutations::Canvas::CreateLatePolicy
|
data/lib/lms_graphql/mutations/canvas/quiz_extensions_set_extensions_for_student_quiz_submissions.rb
CHANGED
@@ -6,12 +6,12 @@ module LMSGraphQL
|
|
6
6
|
class QuizExtensionsSetExtensionsForStudentQuizSubmission < BaseMutation
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :quiz_id, ID, required: true
|
9
|
-
argument :quiz_extensions_user_id, Int, required: true
|
10
|
-
argument :quiz_extensions_extra_attempts, Int, required: false
|
11
|
-
argument :quiz_extensions_extra_time, Int, required: false
|
12
|
-
argument :quiz_extensions_manually_unlocked, Boolean, required: false
|
13
|
-
argument :quiz_extensions_extend_from_now, Int, required: false
|
14
|
-
argument :quiz_extensions_extend_from_end_at, Int, required: false
|
9
|
+
argument :quiz_extensions_user_id, [Int], required: true
|
10
|
+
argument :quiz_extensions_extra_attempts, [Int], required: false
|
11
|
+
argument :quiz_extensions_extra_time, [Int], required: false
|
12
|
+
argument :quiz_extensions_manually_unlocked, [Boolean], required: false
|
13
|
+
argument :quiz_extensions_extend_from_now, [Int], required: false
|
14
|
+
argument :quiz_extensions_extend_from_end_at, [Int], required: false
|
15
15
|
|
16
16
|
|
17
17
|
field :return_value, Boolean, null: false
|
@@ -7,8 +7,8 @@ module LMSGraphQL
|
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :quiz_id, ID, required: true
|
9
9
|
argument :id, ID, required: true
|
10
|
-
argument :order_id, Int, required: true
|
11
|
-
argument :order_type, String, required: false
|
10
|
+
argument :order_id, [Int], required: true
|
11
|
+
argument :order_type, [String], required: false
|
12
12
|
|
13
13
|
|
14
14
|
field :return_value, Boolean, null: false
|
@@ -6,8 +6,8 @@ module LMSGraphQL
|
|
6
6
|
class ReorderQuizItem < BaseMutation
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :id, ID, required: true
|
9
|
-
argument :order_id, Int, required: true
|
10
|
-
argument :order_type, String, required: false
|
9
|
+
argument :order_id, [Int], required: true
|
10
|
+
argument :order_type, [String], required: false
|
11
11
|
|
12
12
|
|
13
13
|
field :return_value, Boolean, null: false
|
@@ -6,10 +6,10 @@ module LMSGraphQL
|
|
6
6
|
class SetCourseTimetable < BaseMutation
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :timetables_course_section_id, [String], required: false
|
9
|
-
argument :timetables_course_section_id_weekdays, String, required: false
|
10
|
-
argument :timetables_course_section_id_start_time, String, required: false
|
11
|
-
argument :timetables_course_section_id_end_time, String, required: false
|
12
|
-
argument :timetables_course_section_id_location_name, String, required: false
|
9
|
+
argument :timetables_course_section_id_weekdays, [String], required: false
|
10
|
+
argument :timetables_course_section_id_start_time, [String], required: false
|
11
|
+
argument :timetables_course_section_id_end_time, [String], required: false
|
12
|
+
argument :timetables_course_section_id_location_name, [String], required: false
|
13
13
|
|
14
14
|
|
15
15
|
field :return_value, Boolean, null: false
|
@@ -6,8 +6,8 @@ module LMSGraphQL
|
|
6
6
|
class SetExtensionsForStudentAssignmentSubmission < BaseMutation
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :assignment_id, ID, required: true
|
9
|
-
argument :assignment_extensions_user_id, Int, required: true
|
10
|
-
argument :assignment_extensions_extra_attempts, Int, required: true
|
9
|
+
argument :assignment_extensions_user_id, [Int], required: true
|
10
|
+
argument :assignment_extensions_extra_attempts, [Int], required: true
|
11
11
|
|
12
12
|
|
13
13
|
field :return_value, Boolean, null: false
|
@@ -10,7 +10,7 @@ module LMSGraphQL
|
|
10
10
|
argument :submission_submission_type, String, required: true
|
11
11
|
argument :submission_body, String, required: false
|
12
12
|
argument :submission_url, String, required: false
|
13
|
-
argument :submission_file_ids, Int, required: false
|
13
|
+
argument :submission_file_ids, [Int], required: false
|
14
14
|
argument :submission_media_comment_id, String, required: false
|
15
15
|
argument :submission_media_comment_type, String, required: false
|
16
16
|
argument :submission_user_id, Int, required: false
|
@@ -10,7 +10,7 @@ module LMSGraphQL
|
|
10
10
|
argument :submission_submission_type, String, required: true
|
11
11
|
argument :submission_body, String, required: false
|
12
12
|
argument :submission_url, String, required: false
|
13
|
-
argument :submission_file_ids, Int, required: false
|
13
|
+
argument :submission_file_ids, [Int], required: false
|
14
14
|
argument :submission_media_comment_id, String, required: false
|
15
15
|
argument :submission_media_comment_type, String, required: false
|
16
16
|
argument :submission_user_id, Int, required: false
|
@@ -15,6 +15,11 @@ module LMSGraphQL
|
|
15
15
|
argument :account_settings_restrict_student_past_view_value, Boolean, required: false
|
16
16
|
argument :account_settings_restrict_student_past_view_locked, Boolean, required: false
|
17
17
|
argument :account_settings_restrict_student_future_view_value, Boolean, required: false
|
18
|
+
argument :account_settings_microsoft_sync_enabled, Boolean, required: false
|
19
|
+
argument :account_settings_microsoft_sync_tenant, String, required: false
|
20
|
+
argument :account_settings_microsoft_sync_login_attribute, String, required: false
|
21
|
+
argument :account_settings_microsoft_sync_login_attribute_suffix, String, required: false
|
22
|
+
argument :account_settings_microsoft_sync_remote_attribute, String, required: false
|
18
23
|
argument :account_settings_restrict_student_future_view_locked, Boolean, required: false
|
19
24
|
argument :account_settings_lock_all_announcements_value, Boolean, required: false
|
20
25
|
argument :account_settings_lock_all_announcements_locked, Boolean, required: false
|
@@ -31,7 +36,7 @@ module LMSGraphQL
|
|
31
36
|
|
32
37
|
field :account, LMSGraphQL::Types::Canvas::CanvasAccount, null: false
|
33
38
|
|
34
|
-
def resolve(id:, account_name: nil, account_sis_account_id: nil, account_default_time_zone: nil, account_default_storage_quota_mb: nil, account_default_user_storage_quota_mb: nil, account_default_group_storage_quota_mb: nil, account_course_template_id: nil, account_settings_restrict_student_past_view_value: nil, account_settings_restrict_student_past_view_locked: nil, account_settings_restrict_student_future_view_value: nil, account_settings_restrict_student_future_view_locked: nil, account_settings_lock_all_announcements_value: nil, account_settings_lock_all_announcements_locked: nil, account_settings_usage_rights_required_value: nil, account_settings_usage_rights_required_locked: nil, account_settings_restrict_student_future_listing_value: nil, account_settings_restrict_student_future_listing_locked: nil, account_settings_lock_outcome_proficiency_value: nil, account_lock_outcome_proficiency_locked: nil, account_settings_lock_proficiency_calculation_value: nil, account_lock_proficiency_calculation_locked: nil, account_services: nil)
|
39
|
+
def resolve(id:, account_name: nil, account_sis_account_id: nil, account_default_time_zone: nil, account_default_storage_quota_mb: nil, account_default_user_storage_quota_mb: nil, account_default_group_storage_quota_mb: nil, account_course_template_id: nil, account_settings_restrict_student_past_view_value: nil, account_settings_restrict_student_past_view_locked: nil, account_settings_restrict_student_future_view_value: nil, account_settings_microsoft_sync_enabled: nil, account_settings_microsoft_sync_tenant: nil, account_settings_microsoft_sync_login_attribute: nil, account_settings_microsoft_sync_login_attribute_suffix: nil, account_settings_microsoft_sync_remote_attribute: nil, account_settings_restrict_student_future_view_locked: nil, account_settings_lock_all_announcements_value: nil, account_settings_lock_all_announcements_locked: nil, account_settings_usage_rights_required_value: nil, account_settings_usage_rights_required_locked: nil, account_settings_restrict_student_future_listing_value: nil, account_settings_restrict_student_future_listing_locked: nil, account_settings_lock_outcome_proficiency_value: nil, account_lock_outcome_proficiency_locked: nil, account_settings_lock_proficiency_calculation_value: nil, account_lock_proficiency_calculation_locked: nil, account_services: nil)
|
35
40
|
context[:canvas_api].call("UPDATE_ACCOUNT").proxy(
|
36
41
|
"UPDATE_ACCOUNT",
|
37
42
|
{
|
@@ -48,6 +53,11 @@ module LMSGraphQL
|
|
48
53
|
"account[settings][restrict_student_past_view][value]": account_settings_restrict_student_past_view_value,
|
49
54
|
"account[settings][restrict_student_past_view][locked]": account_settings_restrict_student_past_view_locked,
|
50
55
|
"account[settings][restrict_student_future_view][value]": account_settings_restrict_student_future_view_value,
|
56
|
+
"account[settings][microsoft_sync_enabled]": account_settings_microsoft_sync_enabled,
|
57
|
+
"account[settings][microsoft_sync_tenant]": account_settings_microsoft_sync_tenant,
|
58
|
+
"account[settings][microsoft_sync_login_attribute]": account_settings_microsoft_sync_login_attribute,
|
59
|
+
"account[settings][microsoft_sync_login_attribute_suffix]": account_settings_microsoft_sync_login_attribute_suffix,
|
60
|
+
"account[settings][microsoft_sync_remote_attribute]": account_settings_microsoft_sync_remote_attribute,
|
51
61
|
"account[settings][restrict_student_future_view][locked]": account_settings_restrict_student_future_view_locked,
|
52
62
|
"account[settings][lock_all_announcements][value]": account_settings_lock_all_announcements_value,
|
53
63
|
"account[settings][lock_all_announcements][locked]": account_settings_lock_all_announcements_locked,
|
@@ -5,8 +5,8 @@ module LMSGraphQL
|
|
5
5
|
module Canvas
|
6
6
|
class UpdateAppointmentGroup < BaseMutation
|
7
7
|
argument :id, ID, required: true
|
8
|
-
argument :appointment_group_context_codes, String, required: true
|
9
|
-
argument :appointment_group_sub_context_codes, String, required: false
|
8
|
+
argument :appointment_group_context_codes, [String], required: true
|
9
|
+
argument :appointment_group_sub_context_codes, [String], required: false
|
10
10
|
argument :appointment_group_title, String, required: false
|
11
11
|
argument :appointment_group_description, String, required: false
|
12
12
|
argument :appointment_group_location_name, String, required: false
|
@@ -15,7 +15,7 @@ module LMSGraphQL
|
|
15
15
|
argument :appointment_group_participants_per_appointment, Int, required: false
|
16
16
|
argument :appointment_group_min_appointments_per_participant, Int, required: false
|
17
17
|
argument :appointment_group_max_appointments_per_participant, Int, required: false
|
18
|
-
argument :appointment_group_new_appointments_X, String, required: false
|
18
|
+
argument :appointment_group_new_appointments_X, [String], required: false
|
19
19
|
argument :appointment_group_participant_visibility, String, required: false
|
20
20
|
|
21
21
|
|
@@ -7,7 +7,7 @@ module LMSGraphQL
|
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :assignment_id, ID, required: true
|
9
9
|
argument :id, ID, required: true
|
10
|
-
argument :assignment_override_student_ids, Int, required: false
|
10
|
+
argument :assignment_override_student_ids, [Int], required: false
|
11
11
|
argument :assignment_override_title, String, required: false
|
12
12
|
argument :assignment_override_due_at, LMSGraphQL::Types::DateTimeType, required: false
|
13
13
|
argument :assignment_override_unlock_at, LMSGraphQL::Types::DateTimeType, required: false
|
@@ -45,13 +45,15 @@ module LMSGraphQL
|
|
45
45
|
argument :course_use_blueprint_restrictions_by_object_type, Boolean, required: false
|
46
46
|
argument :course_blueprint_restrictions_by_object_type, String, required: false
|
47
47
|
argument :course_homeroom_course, Boolean, required: false
|
48
|
+
argument :course_sync_enrollments_from_homeroom, String, required: false
|
49
|
+
argument :course_homeroom_course_id, String, required: false
|
48
50
|
argument :course_template, Boolean, required: false
|
49
51
|
argument :course_course_color, String, required: false
|
50
|
-
|
51
|
-
|
52
|
+
|
53
|
+
|
52
54
|
field :return_value, Boolean, null: false
|
53
|
-
|
54
|
-
def resolve(id:, course_account_id: nil, course_name: nil, course_course_code: nil, course_start_at: nil, course_end_at: nil, course_license: nil, course_is_public: nil, course_is_public_to_auth_users: nil, course_public_syllabus: nil, course_public_syllabus_to_auth: nil, course_public_description: nil, course_allow_student_wiki_edits: nil, course_allow_wiki_comments: nil, course_allow_student_forum_attachments: nil, course_open_enrollment: nil, course_self_enrollment: nil, course_restrict_enrollments_to_course_dates: nil, course_term_id: nil, course_sis_course_id: nil, course_integration_id: nil, course_hide_final_grades: nil, course_time_zone: nil, course_apply_assignment_group_weights: nil, course_storage_quota_mb: nil, offer: nil, course_event: nil, course_default_view: nil, course_syllabus_body: nil, course_syllabus_course_summary: nil, course_grading_standard_id: nil, course_grade_passback_setting: nil, course_course_format: nil, course_image_id: nil, course_image_url: nil, course_remove_image: nil, course_blueprint: nil, course_blueprint_restrictions: nil, course_use_blueprint_restrictions_by_object_type: nil, course_blueprint_restrictions_by_object_type: nil, course_homeroom_course: nil, course_template: nil, course_course_color: nil)
|
55
|
+
|
56
|
+
def resolve(id:, course_account_id: nil, course_name: nil, course_course_code: nil, course_start_at: nil, course_end_at: nil, course_license: nil, course_is_public: nil, course_is_public_to_auth_users: nil, course_public_syllabus: nil, course_public_syllabus_to_auth: nil, course_public_description: nil, course_allow_student_wiki_edits: nil, course_allow_wiki_comments: nil, course_allow_student_forum_attachments: nil, course_open_enrollment: nil, course_self_enrollment: nil, course_restrict_enrollments_to_course_dates: nil, course_term_id: nil, course_sis_course_id: nil, course_integration_id: nil, course_hide_final_grades: nil, course_time_zone: nil, course_apply_assignment_group_weights: nil, course_storage_quota_mb: nil, offer: nil, course_event: nil, course_default_view: nil, course_syllabus_body: nil, course_syllabus_course_summary: nil, course_grading_standard_id: nil, course_grade_passback_setting: nil, course_course_format: nil, course_image_id: nil, course_image_url: nil, course_remove_image: nil, course_blueprint: nil, course_blueprint_restrictions: nil, course_use_blueprint_restrictions_by_object_type: nil, course_blueprint_restrictions_by_object_type: nil, course_homeroom_course: nil, course_sync_enrollments_from_homeroom: nil, course_homeroom_course_id: nil, course_template: nil, course_course_color: nil)
|
55
57
|
context[:canvas_api].call("UPDATE_COURSE").proxy(
|
56
58
|
"UPDATE_COURSE",
|
57
59
|
{
|
@@ -98,6 +100,8 @@ module LMSGraphQL
|
|
98
100
|
"course[use_blueprint_restrictions_by_object_type]": course_use_blueprint_restrictions_by_object_type,
|
99
101
|
"course[blueprint_restrictions_by_object_type]": course_blueprint_restrictions_by_object_type,
|
100
102
|
"course[homeroom_course]": course_homeroom_course,
|
103
|
+
"course[sync_enrollments_from_homeroom]": course_sync_enrollments_from_homeroom,
|
104
|
+
"course[homeroom_course_id]": course_homeroom_course_id,
|
101
105
|
"course[template]": course_template,
|
102
106
|
"course[course_color]": course_course_color
|
103
107
|
},
|
@@ -11,7 +11,7 @@ module LMSGraphQL
|
|
11
11
|
argument :account_notification_start_at, LMSGraphQL::Types::DateTimeType, required: false
|
12
12
|
argument :account_notification_end_at, LMSGraphQL::Types::DateTimeType, required: false
|
13
13
|
argument :account_notification_icon, String, required: false
|
14
|
-
argument :account_notification_roles, String, required: false
|
14
|
+
argument :account_notification_roles, [String], required: false
|
15
15
|
|
16
16
|
|
17
17
|
field :return_value, Boolean, null: false
|
@@ -5,7 +5,7 @@ module LMSGraphQL
|
|
5
5
|
module Canvas
|
6
6
|
class UpdateMediaTrack < BaseMutation
|
7
7
|
argument :media_object_id, ID, required: true
|
8
|
-
argument :include, String, required: false
|
8
|
+
argument :include, [String], required: false
|
9
9
|
|
10
10
|
|
11
11
|
field :media_track, [LMSGraphQL::Types::Canvas::CanvasMediaTrack], null: false
|
@@ -10,7 +10,7 @@ module LMSGraphQL
|
|
10
10
|
argument :module_unlock_at, LMSGraphQL::Types::DateTimeType, required: false
|
11
11
|
argument :module_position, Int, required: false
|
12
12
|
argument :module_require_sequential_progress, Boolean, required: false
|
13
|
-
argument :module_prerequisite_module_ids, String, required: false
|
13
|
+
argument :module_prerequisite_module_ids, [String], required: false
|
14
14
|
argument :module_publish_final_grade, Boolean, required: false
|
15
15
|
argument :module_published, Boolean, required: false
|
16
16
|
|
@@ -10,8 +10,8 @@ module LMSGraphQL
|
|
10
10
|
argument :description, String, required: false
|
11
11
|
argument :vendor_guid, String, required: false
|
12
12
|
argument :mastery_points, Int, required: false
|
13
|
-
argument :ratings_description, String, required: false
|
14
|
-
argument :ratings_points, Int, required: false
|
13
|
+
argument :ratings_description, [String], required: false
|
14
|
+
argument :ratings_points, [Int], required: false
|
15
15
|
argument :calculation_method, String, required: false
|
16
16
|
argument :calculation_int, Int, required: false
|
17
17
|
|
@@ -7,9 +7,9 @@ module LMSGraphQL
|
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :quiz_id, ID, required: true
|
9
9
|
argument :id, ID, required: true
|
10
|
-
argument :quiz_groups_name, String, required: false
|
11
|
-
argument :quiz_groups_pick_count, Int, required: false
|
12
|
-
argument :quiz_groups_question_points, Int, required: false
|
10
|
+
argument :quiz_groups_name, [String], required: false
|
11
|
+
argument :quiz_groups_pick_count, [Int], required: false
|
12
|
+
argument :quiz_groups_question_points, [Int], required: false
|
13
13
|
|
14
14
|
|
15
15
|
field :return_value, Boolean, null: false
|
@@ -8,7 +8,7 @@ module LMSGraphQL
|
|
8
8
|
argument :id, ID, required: true
|
9
9
|
argument :grading_periods_start_date, [LMSGraphQL::Types::DateTimeType], required: true
|
10
10
|
argument :grading_periods_end_date, [LMSGraphQL::Types::DateTimeType], required: true
|
11
|
-
argument :grading_periods_weight, Float, required: false
|
11
|
+
argument :grading_periods_weight, [Float], required: false
|
12
12
|
|
13
13
|
|
14
14
|
field :return_value, Boolean, null: false
|
@@ -5,8 +5,8 @@ module LMSGraphQL
|
|
5
5
|
module Canvas
|
6
6
|
class UpdateSinglePoll < BaseMutation
|
7
7
|
argument :id, ID, required: true
|
8
|
-
argument :polls_question, String, required: true
|
9
|
-
argument :polls_description, String, required: false
|
8
|
+
argument :polls_question, [String], required: true
|
9
|
+
argument :polls_description, [String], required: false
|
10
10
|
|
11
11
|
|
12
12
|
field :return_value, Boolean, null: false
|
@@ -6,9 +6,9 @@ module LMSGraphQL
|
|
6
6
|
class UpdateSinglePollChoice < BaseMutation
|
7
7
|
argument :poll_id, ID, required: true
|
8
8
|
argument :id, ID, required: true
|
9
|
-
argument :poll_choices_text, String, required: true
|
10
|
-
argument :poll_choices_is_correct, Boolean, required: false
|
11
|
-
argument :poll_choices_position, Int, required: false
|
9
|
+
argument :poll_choices_text, [String], required: true
|
10
|
+
argument :poll_choices_is_correct, [Boolean], required: false
|
11
|
+
argument :poll_choices_position, [Int], required: false
|
12
12
|
|
13
13
|
|
14
14
|
field :return_value, Boolean, null: false
|
@@ -6,9 +6,9 @@ module LMSGraphQL
|
|
6
6
|
class UpdateSinglePollSession < BaseMutation
|
7
7
|
argument :poll_id, ID, required: true
|
8
8
|
argument :id, ID, required: true
|
9
|
-
argument :poll_sessions_course_id, Int, required: false
|
10
|
-
argument :poll_sessions_course_section_id, Int, required: false
|
11
|
-
argument :poll_sessions_has_public_results, Boolean, required: false
|
9
|
+
argument :poll_sessions_course_id, [Int], required: false
|
10
|
+
argument :poll_sessions_course_section_id, [Int], required: false
|
11
|
+
argument :poll_sessions_has_public_results, [Boolean], required: false
|
12
12
|
|
13
13
|
|
14
14
|
field :return_value, Boolean, null: false
|
@@ -7,8 +7,8 @@ module LMSGraphQL
|
|
7
7
|
argument :course_id, ID, required: true
|
8
8
|
argument :quiz_id, ID, required: true
|
9
9
|
argument :id, ID, required: true
|
10
|
-
argument :quiz_submissions_attempt, Int, required: true
|
11
|
-
argument :quiz_submissions_fudge_points, Float, required: false
|
10
|
+
argument :quiz_submissions_attempt, [Int], required: true
|
11
|
+
argument :quiz_submissions_fudge_points, [Float], required: false
|
12
12
|
argument :quiz_submissions_questions, [LMSGraphQL::Types::Canvas::CanvasHashInput], required: false
|
13
13
|
|
14
14
|
|
@@ -7,8 +7,8 @@ module LMSGraphQL
|
|
7
7
|
type [LMSGraphQL::Types::Canvas::CanvasAssignmentOverride], null: false
|
8
8
|
argument :get_all, Boolean, required: false
|
9
9
|
argument :course_id, ID, required: true
|
10
|
-
argument :assignment_overrides_id, String, required: true
|
11
|
-
argument :assignment_overrides_assignment_id, String, required: true
|
10
|
+
argument :assignment_overrides_id, [String], required: true
|
11
|
+
argument :assignment_overrides_assignment_id, [String], required: true
|
12
12
|
def resolve(course_id:, assignment_overrides_id:, assignment_overrides_assignment_id:, get_all: false)
|
13
13
|
result = context[:canvas_api].call("BATCH_RETRIEVE_OVERRIDES_IN_COURSE").proxy(
|
14
14
|
"BATCH_RETRIEVE_OVERRIDES_IN_COURSE",
|
@@ -6,7 +6,7 @@ module LMSGraphQL
|
|
6
6
|
class CoursesPermission < CanvasBaseResolver
|
7
7
|
type Boolean, null: false
|
8
8
|
argument :course_id, ID, required: true
|
9
|
-
argument :permissions, String, required: false
|
9
|
+
argument :permissions, [String], required: false
|
10
10
|
def resolve(course_id:, permissions: nil, get_all: false)
|
11
11
|
result = context[:canvas_api].call("COURSES_PERMISSIONS").proxy(
|
12
12
|
"COURSES_PERMISSIONS",
|
@@ -7,11 +7,11 @@ module LMSGraphQL
|
|
7
7
|
type Boolean, null: false
|
8
8
|
argument :search, String, required: false
|
9
9
|
argument :context, String, required: false
|
10
|
-
argument :exclude, String, required: false
|
10
|
+
argument :exclude, [String], required: false
|
11
11
|
argument :type, String, required: false
|
12
12
|
argument :user_id, ID, required: false
|
13
13
|
argument :from_conversation_id, ID, required: false
|
14
|
-
argument :permissions, String, required: false
|
14
|
+
argument :permissions, [String], required: false
|
15
15
|
def resolve(search: nil, context: nil, exclude: nil, type: nil, user_id: nil, from_conversation_id: nil, permissions: nil, get_all: false)
|
16
16
|
result = context[:canvas_api].call("FIND_RECIPIENTS_CONVERSATIONS").proxy(
|
17
17
|
"FIND_RECIPIENTS_CONVERSATIONS",
|