@grantjs/schema 1.23.1 → 1.24.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.24.0",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1578,6 +1578,7 @@ export type ProjectSyncJobQuery = {
1578
1578
  passwordsUnchanged: number;
1579
1579
  passwordsSkippedExisting: number;
1580
1580
  usersSkippedTombstoned: number;
1581
+ usersRenamed: number;
1581
1582
  warnings: Array<string>;
1582
1583
  } | null;
1583
1584
  };
@@ -8603,6 +8604,7 @@ export const ProjectSyncJobDocument = {
8603
8604
  { kind: 'Field', name: { kind: 'Name', value: 'passwordsUnchanged' } },
8604
8605
  { kind: 'Field', name: { kind: 'Name', value: 'passwordsSkippedExisting' } },
8605
8606
  { kind: 'Field', name: { kind: 'Name', value: 'usersSkippedTombstoned' } },
8607
+ { kind: 'Field', name: { kind: 'Name', value: 'usersRenamed' } },
8606
8608
  { kind: 'Field', name: { kind: 'Name', value: 'warnings' } },
8607
8609
  ],
8608
8610
  },
@@ -3486,6 +3486,7 @@ export type SyncProjectResultResolvers<
3486
3486
  userRolesAssigned?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3487
3487
  userTagsLinked?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3488
3488
  usersCreated?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3489
+ usersRenamed?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3489
3490
  usersSkippedTombstoned?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3490
3491
  warnings?: Resolver<Array<ResolversTypes['String']>, ParentType, ContextType>;
3491
3492
  }>;
@@ -3930,6 +3930,12 @@ export type SyncProjectResult = {
3930
3930
  userRolesAssigned: Scalars['Int']['output'];
3931
3931
  userTagsLinked: Scalars['Int']['output'];
3932
3932
  usersCreated: Scalars['Int']['output'];
3933
+ /**
3934
+ * Users created by an earlier import of this project whose name was updated to the
3935
+ * document's name. A user the import only matched (a `grantUserId` hint) keeps its own name
3936
+ * and is not counted.
3937
+ */
3938
+ usersRenamed: Scalars['Int']['output'];
3933
3939
  /**
3934
3940
  * Document users not created because the person deleted this imported identity; their
3935
3941
  * membership, credential and API keys were not written either.
@@ -30,6 +30,7 @@ query ProjectSyncJob($id: ID!, $scope: Scope!, $jobId: ID!) {
30
30
  passwordsUnchanged
31
31
  passwordsSkippedExisting
32
32
  usersSkippedTombstoned
33
+ usersRenamed
33
34
  warnings
34
35
  }
35
36
  warnings
@@ -56,6 +56,12 @@ 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!
59
65
  resourcesCreated: Int!
60
66
  permissionsCreated: Int!
61
67
  tagsCreated: Int!