@instructure/platform-graphql-types 0.2.3 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@instructure/platform-graphql-types",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "type": "module",
5
5
  "main": "./src/generated/graphql.ts",
6
6
  "types": "./src/generated/graphql.ts",
@@ -4549,6 +4549,8 @@ export type Module = LegacyIdInterface & Node & Timestamped & {
4549
4549
  published?: Maybe<Scalars['Boolean']['output']>;
4550
4550
  requireSequentialProgress?: Maybe<Scalars['Boolean']['output']>;
4551
4551
  requirementCount?: Maybe<Scalars['Int']['output']>;
4552
+ /** How this module matches the modulesConnection searchTerm. Null without a searchTerm. */
4553
+ searchMatch?: Maybe<ModuleSearchMatch>;
4552
4554
  submissionStatistics?: Maybe<ModuleStatistics>;
4553
4555
  unlockAt?: Maybe<Scalars['DateTime']['output']>;
4554
4556
  updatedAt?: Maybe<Scalars['DateTime']['output']>;
@@ -4588,6 +4590,8 @@ export type ModuleConnection = {
4588
4590
  /** A list of nodes. */
4589
4591
  nodes?: Maybe<Array<Maybe<Module>>>;
4590
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']>;
4591
4595
  };
4592
4596
 
4593
4597
  /** An edge in a connection. */
@@ -4631,6 +4635,8 @@ export type ModuleFilterInput = {
4631
4635
  * not participate as a student. Cannot be combined with userId.
4632
4636
  */
4633
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']>;
4634
4640
  /** Filter by specific user's progress (requires permission). Defaults to current user if not specified. */
4635
4641
  userId?: InputMaybe<Scalars['ID']['input']>;
4636
4642
  };
@@ -4834,6 +4840,14 @@ export type ModuleProgressionStatistics = {
4834
4840
  totalModulesCount: Scalars['Int']['output'];
4835
4841
  };
4836
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
+
4837
4851
  export type ModuleStatistics = {
4838
4852
  latestDueAt?: Maybe<Scalars['ISO8601DateTime']['output']>;
4839
4853
  missingAssignmentCount: Scalars['Int']['output'];
@@ -9288,19 +9302,19 @@ export type ArchiveInstitutionalTagMutationVariables = Exact<{
9288
9302
 
9289
9303
  export type ArchiveInstitutionalTagMutation = { updateInstitutionalTagArchivedState?: { institutionalTag?: { id: string, workflowState: string } | null, errors?: Array<{ attribute?: string | null, message: string }> | null } | null };
9290
9304
 
9291
- export type ApplyInstitutionalTagMutationVariables = Exact<{
9292
- input: ApplyInstitutionalTagInput;
9305
+ export type ApplyInstitutionalTagToUsersMutationVariables = Exact<{
9306
+ input: ApplyInstitutionalTagToUsersInput;
9293
9307
  }>;
9294
9308
 
9295
9309
 
9296
- export type ApplyInstitutionalTagMutation = { applyInstitutionalTag?: { institutionalTagAssociation?: { _id: string, tag: { id: string, name: string }, user?: { _id: string, name?: string | null } | null } | null, errors?: Array<{ attribute?: string | null, message: string }> | null } | null };
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 };
9297
9311
 
9298
- export type ApplyInstitutionalTagToUsersMutationVariables = Exact<{
9299
- input: ApplyInstitutionalTagToUsersInput;
9312
+ export type ApplyInstitutionalTagsToUserMutationVariables = Exact<{
9313
+ input: ApplyInstitutionalTagsToUserInput;
9300
9314
  }>;
9301
9315
 
9302
9316
 
9303
- 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 };
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 };
9304
9318
 
9305
9319
  export type RemoveInstitutionalTagMutationVariables = Exact<{
9306
9320
  input: RemoveInstitutionalTagInput;
@@ -9776,8 +9790,8 @@ export const ArchiveInstitutionalTagCategoryDocument = {"kind":"Document","defin
9776
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>;
9777
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>;
9778
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>;
9779
- 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>;
9780
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>;
9781
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>;
9782
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>;
9783
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>;