@grantjs/schema 1.3.3 → 1.4.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.3.3",
3
+ "version": "1.4.0",
4
4
  "description": "GraphQL schema and generated types for Grant",
5
5
  "main": "src/index.ts",
6
6
  "types": "src/index.ts",
@@ -443,8 +443,19 @@ export enum CdmIfMissing {
443
443
  }
444
444
 
445
445
  export type CdmKeyResolverInput = {
446
+ /**
447
+ * `id` references an existing Grant user id. `email` resolves or creates a
448
+ * global passwordless email authentication method. Other values are treated as
449
+ * CDM-local external keys for project import/export.
450
+ */
446
451
  findBy?: InputMaybe<CdmFindBy>;
447
452
  ifMissing?: InputMaybe<CdmIfMissing>;
453
+ /**
454
+ * Identifier value. For `findBy: email`, Grant normalizes this to lowercase
455
+ * and resolves it against the global email authentication method catalog.
456
+ * Imported email authentication methods start unverified until a later inbox
457
+ * proof flow, such as project OAuth email magic link, verifies them.
458
+ */
448
459
  value: Scalars['String']['input'];
449
460
  };
450
461
 
@@ -441,8 +441,19 @@ export enum CdmIfMissing {
441
441
  }
442
442
 
443
443
  export type CdmKeyResolverInput = {
444
+ /**
445
+ * `id` references an existing Grant user id. `email` resolves or creates a
446
+ * global passwordless email authentication method. Other values are treated as
447
+ * CDM-local external keys for project import/export.
448
+ */
444
449
  findBy?: InputMaybe<CdmFindBy>;
445
450
  ifMissing?: InputMaybe<CdmIfMissing>;
451
+ /**
452
+ * Identifier value. For `findBy: email`, Grant normalizes this to lowercase
453
+ * and resolves it against the global email authentication method catalog.
454
+ * Imported email authentication methods start unverified until a later inbox
455
+ * proof flow, such as project OAuth email magic link, verifies them.
456
+ */
446
457
  value: Scalars['String']['input'];
447
458
  };
448
459
 
@@ -30,7 +30,18 @@ input CdmModeInput {
30
30
  }
31
31
 
32
32
  input CdmKeyResolverInput {
33
+ """
34
+ Identifier value. For `findBy: email`, Grant normalizes this to lowercase
35
+ and resolves it against the global email authentication method catalog.
36
+ Imported email authentication methods start unverified until a later inbox
37
+ proof flow, such as project OAuth email magic link, verifies them.
38
+ """
33
39
  value: String!
40
+ """
41
+ `id` references an existing Grant user id. `email` resolves or creates a
42
+ global passwordless email authentication method. Other values are treated as
43
+ CDM-local external keys for project import/export.
44
+ """
34
45
  findBy: CdmFindBy
35
46
  ifMissing: CdmIfMissing
36
47
  }