@instructure/platform-graphql-types 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/platform-graphql-types",
3
- "version": "0.2.1",
3
+ "version": "0.2.2",
4
4
  "type": "module",
5
5
  "main": "./src/generated/graphql.ts",
6
6
  "types": "./src/generated/graphql.ts",
@@ -417,6 +417,18 @@ export type ApplyInstitutionalTagToUsersPayload = {
417
417
  institutionalTagAssociations?: Maybe<Array<InstitutionalTagAssociation>>;
418
418
  };
419
419
 
420
+ /** Autogenerated input type of ApplyInstitutionalTagsToUser */
421
+ export type ApplyInstitutionalTagsToUserInput = {
422
+ tagIds: Array<Scalars['ID']['input']>;
423
+ userId: Scalars['ID']['input'];
424
+ };
425
+
426
+ /** Autogenerated return type of ApplyInstitutionalTagsToUser. */
427
+ export type ApplyInstitutionalTagsToUserPayload = {
428
+ errors?: Maybe<Array<ValidationError>>;
429
+ institutionalTagAssociations?: Maybe<Array<InstitutionalTagAssociation>>;
430
+ };
431
+
420
432
  export type AssessmentRequest = LegacyIdInterface & Timestamped & {
421
433
  /** legacy canvas id */
422
434
  _id: Scalars['ID']['output'];
@@ -4629,6 +4641,8 @@ export type ModuleItem = LegacyIdInterface & Node & Timestamped & {
4629
4641
  estimatedDuration?: Maybe<Scalars['ISO8601Duration']['output']>;
4630
4642
  id: Scalars['ID']['output'];
4631
4643
  indent?: Maybe<Scalars['Int']['output']>;
4644
+ /** 1-based position among the non-sub-header items the current user can see in the module */
4645
+ itemNumber?: Maybe<Scalars['Int']['output']>;
4632
4646
  /** Restrictions from master courses for this module item */
4633
4647
  masterCourseRestrictions?: Maybe<ModuleItemMasterCourseRestriction>;
4634
4648
  /** Mastery path information for this module item */
@@ -4866,6 +4880,7 @@ export type Mutation = {
4866
4880
  addConversationMessage?: Maybe<AddConversationMessagePayload>;
4867
4881
  applyInstitutionalTag?: Maybe<ApplyInstitutionalTagPayload>;
4868
4882
  applyInstitutionalTagToUsers?: Maybe<ApplyInstitutionalTagToUsersPayload>;
4883
+ applyInstitutionalTagsToUser?: Maybe<ApplyInstitutionalTagsToUserPayload>;
4869
4884
  autoGradeSubmission?: Maybe<AutoGradeSubmissionPayload>;
4870
4885
  createAccountDomainLookup?: Maybe<CreateAccountDomainLookupPayload>;
4871
4886
  createAllocationRule?: Maybe<CreateAllocationRulePayload>;
@@ -5008,6 +5023,11 @@ export type MutationApplyInstitutionalTagToUsersArgs = {
5008
5023
  };
5009
5024
 
5010
5025
 
5026
+ export type MutationApplyInstitutionalTagsToUserArgs = {
5027
+ input: ApplyInstitutionalTagsToUserInput;
5028
+ };
5029
+
5030
+
5011
5031
  export type MutationAutoGradeSubmissionArgs = {
5012
5032
  input: AutoGradeSubmissionInput;
5013
5033
  };
@@ -6443,6 +6463,7 @@ export type Query = {
6443
6463
  enrollmentInvitations: Array<Enrollment>;
6444
6464
  /** Folder */
6445
6465
  folder?: Maybe<Folder>;
6466
+ groupedStudyNotes?: Maybe<Array<StudyNoteGroup>>;
6446
6467
  institutionalTag?: Maybe<InstitutionalTag>;
6447
6468
  institutionalTagCategory?: Maybe<InstitutionalTagCategory>;
6448
6469
  /** Retrieves a single internal setting by its ID or name */
@@ -6531,6 +6552,12 @@ export type QueryFolderArgs = {
6531
6552
  };
6532
6553
 
6533
6554
 
6555
+ export type QueryGroupedStudyNotesArgs = {
6556
+ courseId: Scalars['ID']['input'];
6557
+ filter?: InputMaybe<StudyNoteFilterInput>;
6558
+ };
6559
+
6560
+
6534
6561
  export type QueryInstitutionalTagArgs = {
6535
6562
  accountId?: InputMaybe<Scalars['ID']['input']>;
6536
6563
  id: Scalars['ID']['input'];
@@ -7310,6 +7337,8 @@ export type StudyNote = LegacyIdInterface & Node & Timestamped & {
7310
7337
  updatedAt?: Maybe<Scalars['DateTime']['output']>;
7311
7338
  userId: Scalars['ID']['output'];
7312
7339
  userText?: Maybe<Scalars['String']['output']>;
7340
+ /** Whether the note's learning object is currently published */
7341
+ visible: Scalars['Boolean']['output'];
7313
7342
  };
7314
7343
 
7315
7344
  /** The connection type for StudyNote. */
@@ -7334,6 +7363,15 @@ export type StudyNoteFilterInput = {
7334
7363
  reactions?: InputMaybe<Array<Scalars['String']['input']>>;
7335
7364
  };
7336
7365
 
7366
+ /** A group of a student's notes attached to the same learning object */
7367
+ export type StudyNoteGroup = {
7368
+ learningObjectId: Scalars['String']['output'];
7369
+ learningObjectName?: Maybe<Scalars['String']['output']>;
7370
+ learningObjectType: LearningObjectType;
7371
+ noteCount: Scalars['Int']['output'];
7372
+ notes: Array<StudyNote>;
7373
+ };
7374
+
7337
7375
  export type SubAssignmentSubmission = {
7338
7376
  assignmentId: Scalars['ID']['output'];
7339
7377
  cachedDueDate?: Maybe<Scalars['DateTime']['output']>;