@grantjs/schema 1.18.8 → 1.18.9

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.18.8",
3
+ "version": "1.18.9",
4
4
  "license": "MIT",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1474,6 +1474,9 @@ export type ProjectSyncJobQuery = {
1474
1474
  usersCreated: number;
1475
1475
  userRolesAssigned: number;
1476
1476
  projectUserApiKeysCreated: number;
1477
+ projectUserApiKeysUnchanged: number;
1478
+ projectUserApiKeysRotated: number;
1479
+ projectUserApiKeysDeleted: number;
1477
1480
  passwordsImported: number;
1478
1481
  passwordsUpdated: number;
1479
1482
  passwordsUnchanged: number;
@@ -8046,6 +8049,12 @@ export const ProjectSyncJobDocument = {
8046
8049
  { kind: 'Field', name: { kind: 'Name', value: 'usersCreated' } },
8047
8050
  { kind: 'Field', name: { kind: 'Name', value: 'userRolesAssigned' } },
8048
8051
  { kind: 'Field', name: { kind: 'Name', value: 'projectUserApiKeysCreated' } },
8052
+ {
8053
+ kind: 'Field',
8054
+ name: { kind: 'Name', value: 'projectUserApiKeysUnchanged' },
8055
+ },
8056
+ { kind: 'Field', name: { kind: 'Name', value: 'projectUserApiKeysRotated' } },
8057
+ { kind: 'Field', name: { kind: 'Name', value: 'projectUserApiKeysDeleted' } },
8049
8058
  { kind: 'Field', name: { kind: 'Name', value: 'passwordsImported' } },
8050
8059
  { kind: 'Field', name: { kind: 'Name', value: 'passwordsUpdated' } },
8051
8060
  { kind: 'Field', name: { kind: 'Name', value: 'passwordsUnchanged' } },
@@ -3319,6 +3319,9 @@ export type SyncProjectResultResolvers<
3319
3319
  projectRolesLinked?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3320
3320
  projectTagsLinked?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3321
3321
  projectUserApiKeysCreated?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3322
+ projectUserApiKeysDeleted?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3323
+ projectUserApiKeysRotated?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3324
+ projectUserApiKeysUnchanged?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3322
3325
  projectUsersEnsured?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3323
3326
  resourcesCreated?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
3324
3327
  roleGroupsLinked?: Resolver<ResolversTypes['Int'], ParentType, ContextType>;
@@ -3661,6 +3661,21 @@ export type SyncProjectResult = {
3661
3661
  projectRolesLinked: Scalars['Int']['output'];
3662
3662
  projectTagsLinked: Scalars['Int']['output'];
3663
3663
  projectUserApiKeysCreated: Scalars['Int']['output'];
3664
+ /**
3665
+ * CDM-managed project-user API keys present before replace and missing from the document
3666
+ * (or lacking an importer `externalKey`).
3667
+ */
3668
+ projectUserApiKeysDeleted: Scalars['Int']['output'];
3669
+ /**
3670
+ * Existing CDM-managed project-user API keys whose secret changed (or had no fingerprint
3671
+ * yet). The stored bcrypt hash is replaced; `api_keys.id` and `clientId` stay.
3672
+ */
3673
+ projectUserApiKeysRotated: Scalars['Int']['output'];
3674
+ /**
3675
+ * CDM-managed project-user API keys whose `externalKey` and secret fingerprint already
3676
+ * matched on replace. Creates only increment `projectUserApiKeysCreated`.
3677
+ */
3678
+ projectUserApiKeysUnchanged: Scalars['Int']['output'];
3664
3679
  projectUsersEnsured: Scalars['Int']['output'];
3665
3680
  resourcesCreated: Scalars['Int']['output'];
3666
3681
  roleGroupsLinked: Scalars['Int']['output'];
@@ -22,6 +22,9 @@ query ProjectSyncJob($id: ID!, $scope: Scope!, $jobId: ID!) {
22
22
  usersCreated
23
23
  userRolesAssigned
24
24
  projectUserApiKeysCreated
25
+ projectUserApiKeysUnchanged
26
+ projectUserApiKeysRotated
27
+ projectUserApiKeysDeleted
25
28
  passwordsImported
26
29
  passwordsUpdated
27
30
  passwordsUnchanged
@@ -17,6 +17,21 @@ type SyncProjectResult {
17
17
  userRolesAssigned: Int!
18
18
  projectUserApiKeysCreated: Int!
19
19
  """
20
+ CDM-managed project-user API keys whose `externalKey` and secret fingerprint already
21
+ matched on replace. Creates only increment `projectUserApiKeysCreated`.
22
+ """
23
+ projectUserApiKeysUnchanged: Int!
24
+ """
25
+ Existing CDM-managed project-user API keys whose secret changed (or had no fingerprint
26
+ yet). The stored bcrypt hash is replaced; `api_keys.id` and `clientId` stay.
27
+ """
28
+ projectUserApiKeysRotated: Int!
29
+ """
30
+ CDM-managed project-user API keys present before replace and missing from the document
31
+ (or lacking an importer `externalKey`).
32
+ """
33
+ projectUserApiKeysDeleted: Int!
34
+ """
20
35
  Users whose `password` hash was stored as the importing project's credential for the
21
36
  first time.
22
37
  """