@grantjs/schema 1.16.0 → 1.16.1
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
package/src/generated/graphql.ts
CHANGED
|
@@ -444,6 +444,7 @@ export type MeQuery = {
|
|
|
444
444
|
requiresEmailVerification: boolean | null;
|
|
445
445
|
verificationExpiry: Date | null;
|
|
446
446
|
email: string | null;
|
|
447
|
+
hasOrganizationMembership: boolean;
|
|
447
448
|
accounts: Array<{
|
|
448
449
|
id: string;
|
|
449
450
|
type: Types.AccountType;
|
|
@@ -4179,6 +4180,7 @@ export const MeDocument = {
|
|
|
4179
4180
|
{ kind: 'Field', name: { kind: 'Name', value: 'requiresEmailVerification' } },
|
|
4180
4181
|
{ kind: 'Field', name: { kind: 'Name', value: 'verificationExpiry' } },
|
|
4181
4182
|
{ kind: 'Field', name: { kind: 'Name', value: 'email' } },
|
|
4183
|
+
{ kind: 'Field', name: { kind: 'Name', value: 'hasOrganizationMembership' } },
|
|
4182
4184
|
],
|
|
4183
4185
|
},
|
|
4184
4186
|
},
|
|
@@ -1433,6 +1433,7 @@ export type MeResponseResolvers<
|
|
|
1433
1433
|
> = ResolversObject<{
|
|
1434
1434
|
accounts?: Resolver<Array<ResolversTypes['Account']>, ParentType, ContextType>;
|
|
1435
1435
|
email?: Resolver<Types.Maybe<ResolversTypes['String']>, ParentType, ContextType>;
|
|
1436
|
+
hasOrganizationMembership?: Resolver<ResolversTypes['Boolean'], ParentType, ContextType>;
|
|
1436
1437
|
mfaVerified?: Resolver<Types.Maybe<ResolversTypes['Boolean']>, ParentType, ContextType>;
|
|
1437
1438
|
requiresEmailVerification?: Resolver<
|
|
1438
1439
|
Types.Maybe<ResolversTypes['Boolean']>,
|
|
@@ -1010,6 +1010,11 @@ export type MeResponse = {
|
|
|
1010
1010
|
__typename?: 'MeResponse';
|
|
1011
1011
|
accounts: Array<Account>;
|
|
1012
1012
|
email?: Maybe<Scalars['String']['output']>;
|
|
1013
|
+
/**
|
|
1014
|
+
* Whether the user belongs to at least one organization. A user with no accounts and no
|
|
1015
|
+
* organization membership has no workspace on this installation.
|
|
1016
|
+
*/
|
|
1017
|
+
hasOrganizationMembership: Scalars['Boolean']['output'];
|
|
1013
1018
|
mfaVerified?: Maybe<Scalars['Boolean']['output']>;
|
|
1014
1019
|
requiresEmailVerification?: Maybe<Scalars['Boolean']['output']>;
|
|
1015
1020
|
verificationExpiry?: Maybe<Scalars['Date']['output']>;
|
|
@@ -4,4 +4,9 @@ type MeResponse {
|
|
|
4
4
|
requiresEmailVerification: Boolean
|
|
5
5
|
verificationExpiry: Date
|
|
6
6
|
email: String
|
|
7
|
+
"""
|
|
8
|
+
Whether the user belongs to at least one organization. A user with no accounts and no
|
|
9
|
+
organization membership has no workspace on this installation.
|
|
10
|
+
"""
|
|
11
|
+
hasOrganizationMembership: Boolean!
|
|
7
12
|
}
|