@instructure/platform-graphql-types 0.2.1 → 0.2.3

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.3",
4
4
  "type": "module",
5
5
  "main": "./src/generated/graphql.ts",
6
6
  "types": "./src/generated/graphql.ts",
@@ -407,6 +407,7 @@ export type ApplyInstitutionalTagPayload = {
407
407
 
408
408
  /** Autogenerated input type of ApplyInstitutionalTagToUsers */
409
409
  export type ApplyInstitutionalTagToUsersInput = {
410
+ accountId?: InputMaybe<Scalars['ID']['input']>;
410
411
  tagId: Scalars['ID']['input'];
411
412
  userIds: Array<Scalars['ID']['input']>;
412
413
  };
@@ -417,6 +418,19 @@ export type ApplyInstitutionalTagToUsersPayload = {
417
418
  institutionalTagAssociations?: Maybe<Array<InstitutionalTagAssociation>>;
418
419
  };
419
420
 
421
+ /** Autogenerated input type of ApplyInstitutionalTagsToUser */
422
+ export type ApplyInstitutionalTagsToUserInput = {
423
+ accountId?: InputMaybe<Scalars['ID']['input']>;
424
+ tagIds: Array<Scalars['ID']['input']>;
425
+ userId: Scalars['ID']['input'];
426
+ };
427
+
428
+ /** Autogenerated return type of ApplyInstitutionalTagsToUser. */
429
+ export type ApplyInstitutionalTagsToUserPayload = {
430
+ errors?: Maybe<Array<ValidationError>>;
431
+ institutionalTagAssociations?: Maybe<Array<InstitutionalTagAssociation>>;
432
+ };
433
+
420
434
  export type AssessmentRequest = LegacyIdInterface & Timestamped & {
421
435
  /** legacy canvas id */
422
436
  _id: Scalars['ID']['output'];
@@ -4629,6 +4643,8 @@ export type ModuleItem = LegacyIdInterface & Node & Timestamped & {
4629
4643
  estimatedDuration?: Maybe<Scalars['ISO8601Duration']['output']>;
4630
4644
  id: Scalars['ID']['output'];
4631
4645
  indent?: Maybe<Scalars['Int']['output']>;
4646
+ /** 1-based position among the non-sub-header items the current user can see in the module */
4647
+ itemNumber?: Maybe<Scalars['Int']['output']>;
4632
4648
  /** Restrictions from master courses for this module item */
4633
4649
  masterCourseRestrictions?: Maybe<ModuleItemMasterCourseRestriction>;
4634
4650
  /** Mastery path information for this module item */
@@ -4866,6 +4882,7 @@ export type Mutation = {
4866
4882
  addConversationMessage?: Maybe<AddConversationMessagePayload>;
4867
4883
  applyInstitutionalTag?: Maybe<ApplyInstitutionalTagPayload>;
4868
4884
  applyInstitutionalTagToUsers?: Maybe<ApplyInstitutionalTagToUsersPayload>;
4885
+ applyInstitutionalTagsToUser?: Maybe<ApplyInstitutionalTagsToUserPayload>;
4869
4886
  autoGradeSubmission?: Maybe<AutoGradeSubmissionPayload>;
4870
4887
  createAccountDomainLookup?: Maybe<CreateAccountDomainLookupPayload>;
4871
4888
  createAllocationRule?: Maybe<CreateAllocationRulePayload>;
@@ -5008,6 +5025,11 @@ export type MutationApplyInstitutionalTagToUsersArgs = {
5008
5025
  };
5009
5026
 
5010
5027
 
5028
+ export type MutationApplyInstitutionalTagsToUserArgs = {
5029
+ input: ApplyInstitutionalTagsToUserInput;
5030
+ };
5031
+
5032
+
5011
5033
  export type MutationAutoGradeSubmissionArgs = {
5012
5034
  input: AutoGradeSubmissionInput;
5013
5035
  };
@@ -6443,6 +6465,7 @@ export type Query = {
6443
6465
  enrollmentInvitations: Array<Enrollment>;
6444
6466
  /** Folder */
6445
6467
  folder?: Maybe<Folder>;
6468
+ groupedStudyNotes?: Maybe<Array<StudyNoteGroup>>;
6446
6469
  institutionalTag?: Maybe<InstitutionalTag>;
6447
6470
  institutionalTagCategory?: Maybe<InstitutionalTagCategory>;
6448
6471
  /** Retrieves a single internal setting by its ID or name */
@@ -6531,6 +6554,12 @@ export type QueryFolderArgs = {
6531
6554
  };
6532
6555
 
6533
6556
 
6557
+ export type QueryGroupedStudyNotesArgs = {
6558
+ courseId: Scalars['ID']['input'];
6559
+ filter?: InputMaybe<StudyNoteFilterInput>;
6560
+ };
6561
+
6562
+
6534
6563
  export type QueryInstitutionalTagArgs = {
6535
6564
  accountId?: InputMaybe<Scalars['ID']['input']>;
6536
6565
  id: Scalars['ID']['input'];
@@ -7310,6 +7339,8 @@ export type StudyNote = LegacyIdInterface & Node & Timestamped & {
7310
7339
  updatedAt?: Maybe<Scalars['DateTime']['output']>;
7311
7340
  userId: Scalars['ID']['output'];
7312
7341
  userText?: Maybe<Scalars['String']['output']>;
7342
+ /** Whether the note's learning object is currently published */
7343
+ visible: Scalars['Boolean']['output'];
7313
7344
  };
7314
7345
 
7315
7346
  /** The connection type for StudyNote. */
@@ -7334,6 +7365,15 @@ export type StudyNoteFilterInput = {
7334
7365
  reactions?: InputMaybe<Array<Scalars['String']['input']>>;
7335
7366
  };
7336
7367
 
7368
+ /** A group of a student's notes attached to the same learning object */
7369
+ export type StudyNoteGroup = {
7370
+ learningObjectId: Scalars['String']['output'];
7371
+ learningObjectName?: Maybe<Scalars['String']['output']>;
7372
+ learningObjectType: LearningObjectType;
7373
+ noteCount: Scalars['Int']['output'];
7374
+ notes: Array<StudyNote>;
7375
+ };
7376
+
7337
7377
  export type SubAssignmentSubmission = {
7338
7378
  assignmentId: Scalars['ID']['output'];
7339
7379
  cachedDueDate?: Maybe<Scalars['DateTime']['output']>;