@instructure/platform-graphql-types 0.2.2 → 0.2.4
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 +1 -1
- package/src/generated/graphql.ts +23 -7
package/package.json
CHANGED
package/src/generated/graphql.ts
CHANGED
|
@@ -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
|
};
|
|
@@ -419,6 +420,7 @@ export type ApplyInstitutionalTagToUsersPayload = {
|
|
|
419
420
|
|
|
420
421
|
/** Autogenerated input type of ApplyInstitutionalTagsToUser */
|
|
421
422
|
export type ApplyInstitutionalTagsToUserInput = {
|
|
423
|
+
accountId?: InputMaybe<Scalars['ID']['input']>;
|
|
422
424
|
tagIds: Array<Scalars['ID']['input']>;
|
|
423
425
|
userId: Scalars['ID']['input'];
|
|
424
426
|
};
|
|
@@ -4547,6 +4549,8 @@ export type Module = LegacyIdInterface & Node & Timestamped & {
|
|
|
4547
4549
|
published?: Maybe<Scalars['Boolean']['output']>;
|
|
4548
4550
|
requireSequentialProgress?: Maybe<Scalars['Boolean']['output']>;
|
|
4549
4551
|
requirementCount?: Maybe<Scalars['Int']['output']>;
|
|
4552
|
+
/** How this module matches the modulesConnection searchTerm. Null without a searchTerm. */
|
|
4553
|
+
searchMatch?: Maybe<ModuleSearchMatch>;
|
|
4550
4554
|
submissionStatistics?: Maybe<ModuleStatistics>;
|
|
4551
4555
|
unlockAt?: Maybe<Scalars['DateTime']['output']>;
|
|
4552
4556
|
updatedAt?: Maybe<Scalars['DateTime']['output']>;
|
|
@@ -4586,6 +4590,8 @@ export type ModuleConnection = {
|
|
|
4586
4590
|
/** A list of nodes. */
|
|
4587
4591
|
nodes?: Maybe<Array<Maybe<Module>>>;
|
|
4588
4592
|
pageInfo: TotalCountPageInfo;
|
|
4593
|
+
/** Number of visible items with a title matching searchTerm across the filtered modules. Null without a searchTerm. */
|
|
4594
|
+
searchMatchCount?: Maybe<Scalars['Int']['output']>;
|
|
4589
4595
|
};
|
|
4590
4596
|
|
|
4591
4597
|
/** An edge in a connection. */
|
|
@@ -4629,6 +4635,8 @@ export type ModuleFilterInput = {
|
|
|
4629
4635
|
* not participate as a student. Cannot be combined with userId.
|
|
4630
4636
|
*/
|
|
4631
4637
|
moduleStatus?: InputMaybe<Array<ModuleStatus>>;
|
|
4638
|
+
/** Filter to modules whose name, or a visible item's title, contains the term. Requires at least two characters. */
|
|
4639
|
+
searchTerm?: InputMaybe<Scalars['String']['input']>;
|
|
4632
4640
|
/** Filter by specific user's progress (requires permission). Defaults to current user if not specified. */
|
|
4633
4641
|
userId?: InputMaybe<Scalars['ID']['input']>;
|
|
4634
4642
|
};
|
|
@@ -4832,6 +4840,14 @@ export type ModuleProgressionStatistics = {
|
|
|
4832
4840
|
totalModulesCount: Scalars['Int']['output'];
|
|
4833
4841
|
};
|
|
4834
4842
|
|
|
4843
|
+
/** How a module matches the modulesConnection searchTerm */
|
|
4844
|
+
export type ModuleSearchMatch = {
|
|
4845
|
+
/** Number of visible items whose title matches */
|
|
4846
|
+
matchingItemCount: Scalars['Int']['output'];
|
|
4847
|
+
/** Whether the module name matches */
|
|
4848
|
+
nameMatched: Scalars['Boolean']['output'];
|
|
4849
|
+
};
|
|
4850
|
+
|
|
4835
4851
|
export type ModuleStatistics = {
|
|
4836
4852
|
latestDueAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
|
|
4837
4853
|
missingAssignmentCount: Scalars['Int']['output'];
|
|
@@ -9286,19 +9302,19 @@ export type ArchiveInstitutionalTagMutationVariables = Exact<{
|
|
|
9286
9302
|
|
|
9287
9303
|
export type ArchiveInstitutionalTagMutation = { updateInstitutionalTagArchivedState?: { institutionalTag?: { id: string, workflowState: string } | null, errors?: Array<{ attribute?: string | null, message: string }> | null } | null };
|
|
9288
9304
|
|
|
9289
|
-
export type
|
|
9290
|
-
input:
|
|
9305
|
+
export type ApplyInstitutionalTagToUsersMutationVariables = Exact<{
|
|
9306
|
+
input: ApplyInstitutionalTagToUsersInput;
|
|
9291
9307
|
}>;
|
|
9292
9308
|
|
|
9293
9309
|
|
|
9294
|
-
export type
|
|
9310
|
+
export type ApplyInstitutionalTagToUsersMutation = { applyInstitutionalTagToUsers?: { institutionalTagAssociations?: Array<{ _id: string, tag: { id: string, name: string }, user?: { _id: string, name?: string | null } | null }> | null, errors?: Array<{ attribute?: string | null, message: string }> | null } | null };
|
|
9295
9311
|
|
|
9296
|
-
export type
|
|
9297
|
-
input:
|
|
9312
|
+
export type ApplyInstitutionalTagsToUserMutationVariables = Exact<{
|
|
9313
|
+
input: ApplyInstitutionalTagsToUserInput;
|
|
9298
9314
|
}>;
|
|
9299
9315
|
|
|
9300
9316
|
|
|
9301
|
-
export type
|
|
9317
|
+
export type ApplyInstitutionalTagsToUserMutation = { applyInstitutionalTagsToUser?: { institutionalTagAssociations?: Array<{ _id: string, tag: { id: string, name: string }, user?: { _id: string, name?: string | null } | null }> | null, errors?: Array<{ attribute?: string | null, message: string }> | null } | null };
|
|
9302
9318
|
|
|
9303
9319
|
export type RemoveInstitutionalTagMutationVariables = Exact<{
|
|
9304
9320
|
input: RemoveInstitutionalTagInput;
|
|
@@ -9774,8 +9790,8 @@ export const ArchiveInstitutionalTagCategoryDocument = {"kind":"Document","defin
|
|
|
9774
9790
|
export const CreateInstitutionalTagDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"CreateInstitutionalTag"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"CreateInstitutionalTagInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"createInstitutionalTag"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"institutionalTag"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"workflowState"}},{"kind":"Field","name":{"kind":"Name","value":"associationsCount"}},{"kind":"Field","name":{"kind":"Name","value":"category"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attribute"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<CreateInstitutionalTagMutation, CreateInstitutionalTagMutationVariables>;
|
|
9775
9791
|
export const UpdateInstitutionalTagDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateInstitutionalTag"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateInstitutionalTagInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateInstitutionalTag"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"institutionalTag"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}},{"kind":"Field","name":{"kind":"Name","value":"description"}},{"kind":"Field","name":{"kind":"Name","value":"workflowState"}},{"kind":"Field","name":{"kind":"Name","value":"associationsCount"}},{"kind":"Field","name":{"kind":"Name","value":"category"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"createdAt"}},{"kind":"Field","name":{"kind":"Name","value":"updatedAt"}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attribute"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateInstitutionalTagMutation, UpdateInstitutionalTagMutationVariables>;
|
|
9776
9792
|
export const ArchiveInstitutionalTagDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ArchiveInstitutionalTag"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateInstitutionalTagArchivedStateInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateInstitutionalTagArchivedState"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"institutionalTag"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"workflowState"}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attribute"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<ArchiveInstitutionalTagMutation, ArchiveInstitutionalTagMutationVariables>;
|
|
9777
|
-
export const ApplyInstitutionalTagDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ApplyInstitutionalTag"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ApplyInstitutionalTagInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"applyInstitutionalTag"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"institutionalTagAssociation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_id"}},{"kind":"Field","name":{"kind":"Name","value":"tag"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attribute"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<ApplyInstitutionalTagMutation, ApplyInstitutionalTagMutationVariables>;
|
|
9778
9793
|
export const ApplyInstitutionalTagToUsersDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ApplyInstitutionalTagToUsers"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ApplyInstitutionalTagToUsersInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"applyInstitutionalTagToUsers"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"institutionalTagAssociations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_id"}},{"kind":"Field","name":{"kind":"Name","value":"tag"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attribute"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<ApplyInstitutionalTagToUsersMutation, ApplyInstitutionalTagToUsersMutationVariables>;
|
|
9794
|
+
export const ApplyInstitutionalTagsToUserDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"ApplyInstitutionalTagsToUser"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"ApplyInstitutionalTagsToUserInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"applyInstitutionalTagsToUser"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"institutionalTagAssociations"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_id"}},{"kind":"Field","name":{"kind":"Name","value":"tag"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}},{"kind":"Field","name":{"kind":"Name","value":"user"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attribute"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<ApplyInstitutionalTagsToUserMutation, ApplyInstitutionalTagsToUserMutationVariables>;
|
|
9779
9795
|
export const RemoveInstitutionalTagDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"RemoveInstitutionalTag"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"RemoveInstitutionalTagInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"removeInstitutionalTag"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"institutionalTagAssociation"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"_id"}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attribute"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<RemoveInstitutionalTagMutation, RemoveInstitutionalTagMutationVariables>;
|
|
9780
9796
|
export const UpdateInstitutionalTagsCategoryDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateInstitutionalTagsCategory"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateInstitutionalTagsCategoryInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateInstitutionalTagsCategory"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"institutionalTags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"category"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"name"}}]}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attribute"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateInstitutionalTagsCategoryMutation, UpdateInstitutionalTagsCategoryMutationVariables>;
|
|
9781
9797
|
export const UpdateInstitutionalTagsArchivedStateDocument = {"kind":"Document","definitions":[{"kind":"OperationDefinition","operation":"mutation","name":{"kind":"Name","value":"UpdateInstitutionalTagsArchivedState"},"variableDefinitions":[{"kind":"VariableDefinition","variable":{"kind":"Variable","name":{"kind":"Name","value":"input"}},"type":{"kind":"NonNullType","type":{"kind":"NamedType","name":{"kind":"Name","value":"UpdateInstitutionalTagsArchivedStateInput"}}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"updateInstitutionalTagsArchivedState"},"arguments":[{"kind":"Argument","name":{"kind":"Name","value":"input"},"value":{"kind":"Variable","name":{"kind":"Name","value":"input"}}}],"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"institutionalTags"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"id"}},{"kind":"Field","name":{"kind":"Name","value":"workflowState"}}]}},{"kind":"Field","name":{"kind":"Name","value":"errors"},"selectionSet":{"kind":"SelectionSet","selections":[{"kind":"Field","name":{"kind":"Name","value":"attribute"}},{"kind":"Field","name":{"kind":"Name","value":"message"}}]}}]}}]}}]} as unknown as DocumentNode<UpdateInstitutionalTagsArchivedStateMutation, UpdateInstitutionalTagsArchivedStateMutationVariables>;
|