@grantjs/schema 1.23.1 → 1.25.0

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": "@grantjs/schema",
3
- "version": "1.23.1",
3
+ "version": "1.25.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1578,6 +1578,8 @@ export type ProjectSyncJobQuery = {
1578
1578
  passwordsUnchanged: number;
1579
1579
  passwordsSkippedExisting: number;
1580
1580
  usersSkippedTombstoned: number;
1581
+ usersRenamed: number;
1582
+ projectDisplayNamesUpdated: number;
1581
1583
  warnings: Array<string>;
1582
1584
  } | null;
1583
1585
  };
@@ -8603,6 +8605,11 @@ export const ProjectSyncJobDocument = {
8603
8605
  { kind: 'Field', name: { kind: 'Name', value: 'passwordsUnchanged' } },
8604
8606
  { kind: 'Field', name: { kind: 'Name', value: 'passwordsSkippedExisting' } },
8605
8607
  { kind: 'Field', name: { kind: 'Name', value: 'usersSkippedTombstoned' } },
8608
+ { kind: 'Field', name: { kind: 'Name', value: 'usersRenamed' } },
8609
+ {
8610
+ kind: 'Field',
8611
+ name: { kind: 'Name', value: 'projectDisplayNamesUpdated' },
8612
+ },
8606
8613
  { kind: 'Field', name: { kind: 'Name', value: 'warnings' } },
8607
8614
  ],
8608
8615
  },
@@ -3467,6 +3467,7 @@ export type SyncProjectResultResolvers<
3467
3467
  passwordsUnchanged?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3468
3468
  passwordsUpdated?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3469
3469
  permissionsCreated?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3470
+ projectDisplayNamesUpdated?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3470
3471
  projectGroupsLinked?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3471
3472
  projectId?: Resolver<ResolversTypes['ID'], ParentType, ContextType>;
3472
3473
  projectPermissionsLinked?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
@@ -3486,6 +3487,7 @@ export type SyncProjectResultResolvers<
3486
3487
  userRolesAssigned?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3487
3488
  userTagsLinked?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3488
3489
  usersCreated?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3490
+ usersRenamed?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3489
3491
  usersSkippedTombstoned?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3490
3492
  warnings?: Resolver<Array<ResolversTypes['String']>, ParentType, ContextType>;
3491
3493
  }>;
@@ -3899,6 +3899,12 @@ export type SyncProjectResult = {
3899
3899
  */
3900
3900
  passwordsUpdated: Scalars['Int']['output'];
3901
3901
  permissionsCreated: Scalars['Int']['output'];
3902
+ /**
3903
+ * Project memberships whose display name (this project's name for the person) was set to the
3904
+ * document's `name` because it differed from the stored one. Counted for every provisioned
3905
+ * user, created, reused or matched; the global user name is not touched.
3906
+ */
3907
+ projectDisplayNamesUpdated: Scalars['Int']['output'];
3902
3908
  projectGroupsLinked: Scalars['Int']['output'];
3903
3909
  projectId: Scalars['ID']['output'];
3904
3910
  projectPermissionsLinked: Scalars['Int']['output'];
@@ -3930,6 +3936,12 @@ export type SyncProjectResult = {
3930
3936
  userRolesAssigned: Scalars['Int']['output'];
3931
3937
  userTagsLinked: Scalars['Int']['output'];
3932
3938
  usersCreated: Scalars['Int']['output'];
3939
+ /**
3940
+ * Users created by an earlier import of this project whose name was updated to the
3941
+ * document's name. A user the import only matched (a `grantUserId` hint) keeps its own name
3942
+ * and is not counted.
3943
+ */
3944
+ usersRenamed: Scalars['Int']['output'];
3933
3945
  /**
3934
3946
  * Document users not created because the person deleted this imported identity; their
3935
3947
  * membership, credential and API keys were not written either.
@@ -30,6 +30,8 @@ query ProjectSyncJob($id: ID!, $scope: Scope!, $jobId: ID!) {
30
30
  passwordsUnchanged
31
31
  passwordsSkippedExisting
32
32
  usersSkippedTombstoned
33
+ usersRenamed
34
+ projectDisplayNamesUpdated
33
35
  warnings
34
36
  }
35
37
  warnings
@@ -56,6 +56,18 @@ type SyncProjectResult {
56
56
  membership, credential and API keys were not written either.
57
57
  """
58
58
  usersSkippedTombstoned: Int!
59
+ """
60
+ Users created by an earlier import of this project whose name was updated to the
61
+ document's name. A user the import only matched (a `grantUserId` hint) keeps its own name
62
+ and is not counted.
63
+ """
64
+ usersRenamed: Int!
65
+ """
66
+ Project memberships whose display name (this project's name for the person) was set to the
67
+ document's `name` because it differed from the stored one. Counted for every provisioned
68
+ user, created, reused or matched; the global user name is not touched.
69
+ """
70
+ projectDisplayNamesUpdated: Int!
59
71
  resourcesCreated: Int!
60
72
  permissionsCreated: Int!
61
73
  tagsCreated: Int!