@constructive-io/react 1.21.35 → 1.21.37
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/auth/hooks/mutation-keys.d.ts +4 -0
- package/auth/hooks/mutation-keys.js +6 -0
- package/auth/hooks/mutations/index.d.ts +2 -0
- package/auth/hooks/mutations/index.js +2 -0
- package/auth/hooks/mutations/useCancelSignUpHandoffMutation.d.ts +20 -0
- package/auth/hooks/mutations/useCancelSignUpHandoffMutation.js +26 -0
- package/auth/hooks/mutations/useVerifyEmailHandoffMutation.d.ts +20 -0
- package/auth/hooks/mutations/useVerifyEmailHandoffMutation.js +26 -0
- package/auth/orm/index.d.ts +10 -0
- package/auth/orm/input-types.d.ts +43 -0
- package/auth/orm/mutation/index.d.ts +17 -1
- package/auth/orm/mutation/index.js +24 -0
- package/auth/schema-types.d.ts +27 -0
- package/esm/auth/hooks/mutation-keys.d.ts +4 -0
- package/esm/auth/hooks/mutation-keys.js +6 -0
- package/esm/auth/hooks/mutations/index.d.ts +2 -0
- package/esm/auth/hooks/mutations/index.js +2 -0
- package/esm/auth/hooks/mutations/useCancelSignUpHandoffMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useCancelSignUpHandoffMutation.js +23 -0
- package/esm/auth/hooks/mutations/useVerifyEmailHandoffMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useVerifyEmailHandoffMutation.js +23 -0
- package/esm/auth/orm/index.d.ts +10 -0
- package/esm/auth/orm/input-types.d.ts +43 -0
- package/esm/auth/orm/mutation/index.d.ts +17 -1
- package/esm/auth/orm/mutation/index.js +24 -0
- package/esm/auth/schema-types.d.ts +27 -0
- package/package.json +5 -5
|
@@ -95,6 +95,7 @@ export declare const webauthnCredentialMutationKeys: {
|
|
|
95
95
|
};
|
|
96
96
|
export declare const customMutationKeys: {
|
|
97
97
|
/** Mutation key for approveDevice */ readonly approveDevice: (identifier?: string) => readonly ["mutation", "approveDevice", string] | readonly ["mutation", "approveDevice"];
|
|
98
|
+
/** Mutation key for cancelSignUpHandoff */ readonly cancelSignUpHandoff: (identifier?: string) => readonly ["mutation", "cancelSignUpHandoff", string] | readonly ["mutation", "cancelSignUpHandoff"];
|
|
98
99
|
/** Mutation key for checkPassword */ readonly checkPassword: (identifier?: string) => readonly ["mutation", "checkPassword", string] | readonly ["mutation", "checkPassword"];
|
|
99
100
|
/** Mutation key for completeMfaChallenge */ readonly completeMfaChallenge: (identifier?: string) => readonly ["mutation", "completeMfaChallenge", string] | readonly ["mutation", "completeMfaChallenge"];
|
|
100
101
|
/** Mutation key for confirmDeleteAccount */ readonly confirmDeleteAccount: (identifier?: string) => readonly ["mutation", "confirmDeleteAccount", string] | readonly ["mutation", "confirmDeleteAccount"];
|
|
@@ -149,6 +150,7 @@ export declare const customMutationKeys: {
|
|
|
149
150
|
/** Mutation key for signUpSms */ readonly signUpSms: (identifier?: string) => readonly ["mutation", "signUpSms", string] | readonly ["mutation", "signUpSms"];
|
|
150
151
|
/** Mutation key for updatePrincipal */ readonly updatePrincipal: (identifier?: string) => readonly ["mutation", "updatePrincipal", string] | readonly ["mutation", "updatePrincipal"];
|
|
151
152
|
/** Mutation key for verifyEmail */ readonly verifyEmail: (identifier?: string) => readonly ["mutation", "verifyEmail", string] | readonly ["mutation", "verifyEmail"];
|
|
153
|
+
/** Mutation key for verifyEmailHandoff */ readonly verifyEmailHandoff: (identifier?: string) => readonly ["mutation", "verifyEmailHandoff", string] | readonly ["mutation", "verifyEmailHandoff"];
|
|
152
154
|
/** Mutation key for verifyPassword */ readonly verifyPassword: (identifier?: string) => readonly ["mutation", "verifyPassword", string] | readonly ["mutation", "verifyPassword"];
|
|
153
155
|
/** Mutation key for verifyPhone */ readonly verifyPhone: (identifier?: string) => readonly ["mutation", "verifyPhone", string] | readonly ["mutation", "verifyPhone"];
|
|
154
156
|
/** Mutation key for verifyStepUpCode */ readonly verifyStepUpCode: (identifier?: string) => readonly ["mutation", "verifyStepUpCode", string] | readonly ["mutation", "verifyStepUpCode"];
|
|
@@ -269,6 +271,7 @@ export declare const mutationKeys: {
|
|
|
269
271
|
};
|
|
270
272
|
readonly custom: {
|
|
271
273
|
/** Mutation key for approveDevice */ readonly approveDevice: (identifier?: string) => readonly ["mutation", "approveDevice", string] | readonly ["mutation", "approveDevice"];
|
|
274
|
+
/** Mutation key for cancelSignUpHandoff */ readonly cancelSignUpHandoff: (identifier?: string) => readonly ["mutation", "cancelSignUpHandoff", string] | readonly ["mutation", "cancelSignUpHandoff"];
|
|
272
275
|
/** Mutation key for checkPassword */ readonly checkPassword: (identifier?: string) => readonly ["mutation", "checkPassword", string] | readonly ["mutation", "checkPassword"];
|
|
273
276
|
/** Mutation key for completeMfaChallenge */ readonly completeMfaChallenge: (identifier?: string) => readonly ["mutation", "completeMfaChallenge", string] | readonly ["mutation", "completeMfaChallenge"];
|
|
274
277
|
/** Mutation key for confirmDeleteAccount */ readonly confirmDeleteAccount: (identifier?: string) => readonly ["mutation", "confirmDeleteAccount", string] | readonly ["mutation", "confirmDeleteAccount"];
|
|
@@ -323,6 +326,7 @@ export declare const mutationKeys: {
|
|
|
323
326
|
/** Mutation key for signUpSms */ readonly signUpSms: (identifier?: string) => readonly ["mutation", "signUpSms", string] | readonly ["mutation", "signUpSms"];
|
|
324
327
|
/** Mutation key for updatePrincipal */ readonly updatePrincipal: (identifier?: string) => readonly ["mutation", "updatePrincipal", string] | readonly ["mutation", "updatePrincipal"];
|
|
325
328
|
/** Mutation key for verifyEmail */ readonly verifyEmail: (identifier?: string) => readonly ["mutation", "verifyEmail", string] | readonly ["mutation", "verifyEmail"];
|
|
329
|
+
/** Mutation key for verifyEmailHandoff */ readonly verifyEmailHandoff: (identifier?: string) => readonly ["mutation", "verifyEmailHandoff", string] | readonly ["mutation", "verifyEmailHandoff"];
|
|
326
330
|
/** Mutation key for verifyPassword */ readonly verifyPassword: (identifier?: string) => readonly ["mutation", "verifyPassword", string] | readonly ["mutation", "verifyPassword"];
|
|
327
331
|
/** Mutation key for verifyPhone */ readonly verifyPhone: (identifier?: string) => readonly ["mutation", "verifyPhone", string] | readonly ["mutation", "verifyPhone"];
|
|
328
332
|
/** Mutation key for verifyStepUpCode */ readonly verifyStepUpCode: (identifier?: string) => readonly ["mutation", "verifyStepUpCode", string] | readonly ["mutation", "verifyStepUpCode"];
|
|
@@ -118,6 +118,9 @@ exports.customMutationKeys = {
|
|
|
118
118
|
/** Mutation key for approveDevice */ approveDevice: (identifier) => identifier
|
|
119
119
|
? ['mutation', 'approveDevice', identifier]
|
|
120
120
|
: ['mutation', 'approveDevice'],
|
|
121
|
+
/** Mutation key for cancelSignUpHandoff */ cancelSignUpHandoff: (identifier) => identifier
|
|
122
|
+
? ['mutation', 'cancelSignUpHandoff', identifier]
|
|
123
|
+
: ['mutation', 'cancelSignUpHandoff'],
|
|
121
124
|
/** Mutation key for checkPassword */ checkPassword: (identifier) => identifier
|
|
122
125
|
? ['mutation', 'checkPassword', identifier]
|
|
123
126
|
: ['mutation', 'checkPassword'],
|
|
@@ -276,6 +279,9 @@ exports.customMutationKeys = {
|
|
|
276
279
|
/** Mutation key for verifyEmail */ verifyEmail: (identifier) => identifier
|
|
277
280
|
? ['mutation', 'verifyEmail', identifier]
|
|
278
281
|
: ['mutation', 'verifyEmail'],
|
|
282
|
+
/** Mutation key for verifyEmailHandoff */ verifyEmailHandoff: (identifier) => identifier
|
|
283
|
+
? ['mutation', 'verifyEmailHandoff', identifier]
|
|
284
|
+
: ['mutation', 'verifyEmailHandoff'],
|
|
279
285
|
/** Mutation key for verifyPassword */ verifyPassword: (identifier) => identifier
|
|
280
286
|
? ['mutation', 'verifyPassword', identifier]
|
|
281
287
|
: ['mutation', 'verifyPassword'],
|
|
@@ -31,6 +31,7 @@ export * from './useCreateWebauthnCredentialMutation';
|
|
|
31
31
|
export * from './useUpdateWebauthnCredentialMutation';
|
|
32
32
|
export * from './useDeleteWebauthnCredentialMutation';
|
|
33
33
|
export * from './useApproveDeviceMutation';
|
|
34
|
+
export * from './useCancelSignUpHandoffMutation';
|
|
34
35
|
export * from './useCheckPasswordMutation';
|
|
35
36
|
export * from './useCompleteMfaChallengeMutation';
|
|
36
37
|
export * from './useConfirmDeleteAccountMutation';
|
|
@@ -85,6 +86,7 @@ export * from './useSignUpMagicLinkMutation';
|
|
|
85
86
|
export * from './useSignUpSmsMutation';
|
|
86
87
|
export * from './useUpdatePrincipalMutation';
|
|
87
88
|
export * from './useVerifyEmailMutation';
|
|
89
|
+
export * from './useVerifyEmailHandoffMutation';
|
|
88
90
|
export * from './useVerifyPasswordMutation';
|
|
89
91
|
export * from './useVerifyPhoneMutation';
|
|
90
92
|
export * from './useVerifyStepUpCodeMutation';
|
|
@@ -47,6 +47,7 @@ __exportStar(require("./useCreateWebauthnCredentialMutation"), exports);
|
|
|
47
47
|
__exportStar(require("./useUpdateWebauthnCredentialMutation"), exports);
|
|
48
48
|
__exportStar(require("./useDeleteWebauthnCredentialMutation"), exports);
|
|
49
49
|
__exportStar(require("./useApproveDeviceMutation"), exports);
|
|
50
|
+
__exportStar(require("./useCancelSignUpHandoffMutation"), exports);
|
|
50
51
|
__exportStar(require("./useCheckPasswordMutation"), exports);
|
|
51
52
|
__exportStar(require("./useCompleteMfaChallengeMutation"), exports);
|
|
52
53
|
__exportStar(require("./useConfirmDeleteAccountMutation"), exports);
|
|
@@ -101,6 +102,7 @@ __exportStar(require("./useSignUpMagicLinkMutation"), exports);
|
|
|
101
102
|
__exportStar(require("./useSignUpSmsMutation"), exports);
|
|
102
103
|
__exportStar(require("./useUpdatePrincipalMutation"), exports);
|
|
103
104
|
__exportStar(require("./useVerifyEmailMutation"), exports);
|
|
105
|
+
__exportStar(require("./useVerifyEmailHandoffMutation"), exports);
|
|
104
106
|
__exportStar(require("./useVerifyPasswordMutation"), exports);
|
|
105
107
|
__exportStar(require("./useVerifyPhoneMutation"), exports);
|
|
106
108
|
__exportStar(require("./useVerifyStepUpCodeMutation"), exports);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for cancelSignUpHandoff
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { CancelSignUpHandoffVariables } from '../../orm/mutation';
|
|
8
|
+
import type { CancelSignUpHandoffPayloadSelect, CancelSignUpHandoffPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { CancelSignUpHandoffVariables } from '../../orm/mutation';
|
|
11
|
+
export type { CancelSignUpHandoffPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useCancelSignUpHandoffMutation<S extends CancelSignUpHandoffPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & CancelSignUpHandoffPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, CancelSignUpHandoffPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
cancelSignUpHandoff: InferSelectResult<CancelSignUpHandoffPayload, S> | null;
|
|
18
|
+
}, Error, CancelSignUpHandoffVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
cancelSignUpHandoff: InferSelectResult<CancelSignUpHandoffPayload, S> | null;
|
|
20
|
+
}, Error, CancelSignUpHandoffVariables>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Custom mutation hook for cancelSignUpHandoff
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.useCancelSignUpHandoffMutation = useCancelSignUpHandoffMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const client_1 = require("../client");
|
|
11
|
+
const selection_1 = require("../selection");
|
|
12
|
+
const mutation_keys_1 = require("../mutation-keys");
|
|
13
|
+
function useCancelSignUpHandoffMutation(params) {
|
|
14
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
15
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
16
|
+
void _selection;
|
|
17
|
+
return (0, react_query_1.useMutation)({
|
|
18
|
+
mutationKey: mutation_keys_1.customMutationKeys.cancelSignUpHandoff(),
|
|
19
|
+
mutationFn: (variables) => (0, client_1.getClient)()
|
|
20
|
+
.mutation.cancelSignUpHandoff(variables, {
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
...mutationOptions,
|
|
25
|
+
});
|
|
26
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for verifyEmailHandoff
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { VerifyEmailHandoffVariables } from '../../orm/mutation';
|
|
8
|
+
import type { VerifyEmailHandoffPayloadSelect, VerifyEmailHandoffPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { VerifyEmailHandoffVariables } from '../../orm/mutation';
|
|
11
|
+
export type { VerifyEmailHandoffPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useVerifyEmailHandoffMutation<S extends VerifyEmailHandoffPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & VerifyEmailHandoffPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, VerifyEmailHandoffPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
verifyEmailHandoff: InferSelectResult<VerifyEmailHandoffPayload, S> | null;
|
|
18
|
+
}, Error, VerifyEmailHandoffVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
verifyEmailHandoff: InferSelectResult<VerifyEmailHandoffPayload, S> | null;
|
|
20
|
+
}, Error, VerifyEmailHandoffVariables>;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Custom mutation hook for verifyEmailHandoff
|
|
4
|
+
* @generated by @constructive-io/graphql-codegen
|
|
5
|
+
* DO NOT EDIT - changes will be overwritten
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.useVerifyEmailHandoffMutation = useVerifyEmailHandoffMutation;
|
|
9
|
+
const react_query_1 = require("@tanstack/react-query");
|
|
10
|
+
const client_1 = require("../client");
|
|
11
|
+
const selection_1 = require("../selection");
|
|
12
|
+
const mutation_keys_1 = require("../mutation-keys");
|
|
13
|
+
function useVerifyEmailHandoffMutation(params) {
|
|
14
|
+
const args = (0, selection_1.buildSelectionArgs)(params.selection);
|
|
15
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
16
|
+
void _selection;
|
|
17
|
+
return (0, react_query_1.useMutation)({
|
|
18
|
+
mutationKey: mutation_keys_1.customMutationKeys.verifyEmailHandoff(),
|
|
19
|
+
mutationFn: (variables) => (0, client_1.getClient)()
|
|
20
|
+
.mutation.verifyEmailHandoff(variables, {
|
|
21
|
+
select: args.select,
|
|
22
|
+
})
|
|
23
|
+
.unwrap(),
|
|
24
|
+
...mutationOptions,
|
|
25
|
+
});
|
|
26
|
+
}
|
package/auth/orm/index.d.ts
CHANGED
|
@@ -103,6 +103,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
103
103
|
} & import("./select-types").StrictSelect<S, import("./input-types").ApproveDevicePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
104
104
|
approveDevice: import("./select-types").InferSelectResult<import("./input-types").ApproveDevicePayload, S> | null;
|
|
105
105
|
}>;
|
|
106
|
+
cancelSignUpHandoff: <S extends import("./input-types").CancelSignUpHandoffPayloadSelect>(args: import("./mutation").CancelSignUpHandoffVariables, options: {
|
|
107
|
+
select: S;
|
|
108
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").CancelSignUpHandoffPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
109
|
+
cancelSignUpHandoff: import("./select-types").InferSelectResult<import("./input-types").CancelSignUpHandoffPayload, S> | null;
|
|
110
|
+
}>;
|
|
106
111
|
checkPassword: <S extends import("./input-types").CheckPasswordPayloadSelect>(args: import("./mutation").CheckPasswordVariables, options: {
|
|
107
112
|
select: S;
|
|
108
113
|
} & import("./select-types").StrictSelect<S, import("./input-types").CheckPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -373,6 +378,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
373
378
|
} & import("./select-types").StrictSelect<S, import("./input-types").VerifyEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
374
379
|
verifyEmail: import("./select-types").InferSelectResult<import("./input-types").VerifyEmailPayload, S> | null;
|
|
375
380
|
}>;
|
|
381
|
+
verifyEmailHandoff: <S extends import("./input-types").VerifyEmailHandoffPayloadSelect>(args: import("./mutation").VerifyEmailHandoffVariables, options: {
|
|
382
|
+
select: S;
|
|
383
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").VerifyEmailHandoffPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
384
|
+
verifyEmailHandoff: import("./select-types").InferSelectResult<import("./input-types").VerifyEmailHandoffPayload, S> | null;
|
|
385
|
+
}>;
|
|
376
386
|
verifyPassword: <S extends import("./input-types").VerifyPasswordPayloadSelect>(args: import("./mutation").VerifyPasswordVariables, options: {
|
|
377
387
|
select: S;
|
|
378
388
|
} & import("./select-types").StrictSelect<S, import("./input-types").VerifyPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -1652,6 +1652,11 @@ export interface ApproveDeviceInput {
|
|
|
1652
1652
|
approvalToken: string;
|
|
1653
1653
|
clientMutationId?: string;
|
|
1654
1654
|
}
|
|
1655
|
+
export interface CancelSignUpHandoffInput {
|
|
1656
|
+
clientMutationId?: string;
|
|
1657
|
+
codeChallenge?: string;
|
|
1658
|
+
email?: string;
|
|
1659
|
+
}
|
|
1655
1660
|
export interface CheckPasswordInput {
|
|
1656
1661
|
clientMutationId?: string;
|
|
1657
1662
|
password?: string;
|
|
@@ -1915,9 +1920,11 @@ export interface SignOutInput {
|
|
|
1915
1920
|
}
|
|
1916
1921
|
export interface SignUpInput {
|
|
1917
1922
|
clientMutationId?: string;
|
|
1923
|
+
codeChallenge?: string;
|
|
1918
1924
|
csrfToken?: string;
|
|
1919
1925
|
email?: string;
|
|
1920
1926
|
inviteToken?: string;
|
|
1927
|
+
nativeRedirectUri?: string;
|
|
1921
1928
|
password?: string;
|
|
1922
1929
|
}
|
|
1923
1930
|
export interface SignUpMagicLinkInput {
|
|
@@ -1943,6 +1950,12 @@ export interface VerifyEmailInput {
|
|
|
1943
1950
|
password?: string;
|
|
1944
1951
|
token?: string;
|
|
1945
1952
|
}
|
|
1953
|
+
export interface VerifyEmailHandoffInput {
|
|
1954
|
+
clientMutationId?: string;
|
|
1955
|
+
emailId?: string;
|
|
1956
|
+
password?: string;
|
|
1957
|
+
token?: string;
|
|
1958
|
+
}
|
|
1946
1959
|
export interface VerifyPasswordInput {
|
|
1947
1960
|
clientMutationId?: string;
|
|
1948
1961
|
password: string;
|
|
@@ -3311,6 +3324,7 @@ export interface SignInOptionsRecord {
|
|
|
3311
3324
|
allowWebauthnUsernameless?: boolean | null;
|
|
3312
3325
|
enableCaptcha?: boolean | null;
|
|
3313
3326
|
identityProviders?: Record<string, unknown> | null;
|
|
3327
|
+
nativeSignUpHandoff?: boolean | null;
|
|
3314
3328
|
requireMfa?: boolean | null;
|
|
3315
3329
|
signUpRequiresInvite?: boolean | null;
|
|
3316
3330
|
}
|
|
@@ -3331,6 +3345,7 @@ export type SignInOptionsRecordSelect = {
|
|
|
3331
3345
|
allowWebauthnUsernameless?: boolean;
|
|
3332
3346
|
enableCaptcha?: boolean;
|
|
3333
3347
|
identityProviders?: boolean;
|
|
3348
|
+
nativeSignUpHandoff?: boolean;
|
|
3334
3349
|
requireMfa?: boolean;
|
|
3335
3350
|
signUpRequiresInvite?: boolean;
|
|
3336
3351
|
};
|
|
@@ -3342,6 +3357,12 @@ export type ApproveDevicePayloadSelect = {
|
|
|
3342
3357
|
clientMutationId?: boolean;
|
|
3343
3358
|
result?: boolean;
|
|
3344
3359
|
};
|
|
3360
|
+
export interface CancelSignUpHandoffPayload {
|
|
3361
|
+
clientMutationId?: string | null;
|
|
3362
|
+
}
|
|
3363
|
+
export type CancelSignUpHandoffPayloadSelect = {
|
|
3364
|
+
clientMutationId?: boolean;
|
|
3365
|
+
};
|
|
3345
3366
|
export interface CheckPasswordPayload {
|
|
3346
3367
|
clientMutationId?: string | null;
|
|
3347
3368
|
}
|
|
@@ -3797,6 +3818,16 @@ export type VerifyEmailPayloadSelect = {
|
|
|
3797
3818
|
clientMutationId?: boolean;
|
|
3798
3819
|
result?: boolean;
|
|
3799
3820
|
};
|
|
3821
|
+
export interface VerifyEmailHandoffPayload {
|
|
3822
|
+
clientMutationId?: string | null;
|
|
3823
|
+
result?: VerifyEmailHandoffRecord | null;
|
|
3824
|
+
}
|
|
3825
|
+
export type VerifyEmailHandoffPayloadSelect = {
|
|
3826
|
+
clientMutationId?: boolean;
|
|
3827
|
+
result?: {
|
|
3828
|
+
select: VerifyEmailHandoffRecordSelect;
|
|
3829
|
+
};
|
|
3830
|
+
};
|
|
3800
3831
|
export interface VerifyPasswordPayload {
|
|
3801
3832
|
clientMutationId?: string | null;
|
|
3802
3833
|
result?: boolean | null;
|
|
@@ -4459,6 +4490,18 @@ export type SignUpSmsRecordSelect = {
|
|
|
4459
4490
|
outDeviceToken?: boolean;
|
|
4460
4491
|
userId?: boolean;
|
|
4461
4492
|
};
|
|
4493
|
+
export interface VerifyEmailHandoffRecord {
|
|
4494
|
+
codeChallenge?: string | null;
|
|
4495
|
+
email?: string | null;
|
|
4496
|
+
nativeRedirectUri?: string | null;
|
|
4497
|
+
result?: boolean | null;
|
|
4498
|
+
}
|
|
4499
|
+
export type VerifyEmailHandoffRecordSelect = {
|
|
4500
|
+
codeChallenge?: boolean;
|
|
4501
|
+
email?: boolean;
|
|
4502
|
+
nativeRedirectUri?: boolean;
|
|
4503
|
+
result?: boolean;
|
|
4504
|
+
};
|
|
4462
4505
|
/** A `AuditLogAuth` edge in the connection. */
|
|
4463
4506
|
export interface AuditLogAuthEdge {
|
|
4464
4507
|
cursor?: string | null;
|
|
@@ -6,10 +6,13 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { ApproveDeviceInput, CheckPasswordInput, CompleteMfaChallengeInput, ConfirmDeleteAccountInput, ConfirmTotpSetupInput, CreateApiKeyInput, CreateChildPrincipalInput, CreateOrgApiKeyInput, CreateOrgPrincipalInput, CreatePrincipalInput, CreatePrincipalFromPresetInput, DeleteOrgPrincipalInput, DeletePrincipalInput, DisableEmailMfaInput, DisableSmsMfaInput, DisableTotpInput, DisconnectAccountInput, EnableEmailMfaInput, EnableSmsMfaInput, EnableTotpInput, EnsureAuthCsrfInput, ExchangeNativeHandoffInput, ExtendTokenExpiresInput, ForgotPasswordInput, GenerateBackupCodesInput, LinkIdentityInput, MintAccessTokenInput, ProvisionBucketInput, RefreshAccessTokenInput, RequestCrossOriginTokenInput, RequestDeviceApprovalInput, RequestMagicLinkInput, ResetPasswordInput, RevokeApiKeyInput, RevokeOrgApiKeyInput, RevokeSessionInput, SendAccountDeletionEmailInput, SendMfaChallengeCodeInput, SendPhoneVerificationCodeInput, SendSmsOtpInput, SendStepUpCodeInput, SendVerificationEmailInput, SetPasswordInput, SetPrincipalEntitiesInput, SetPrincipalScopeInput, SignInInput, SignInCrossOriginInput, SignInMagicLinkInput, SignInSmsOtpInput, SignOutInput, SignUpInput, SignUpMagicLinkInput, SignUpSmsInput, UpdatePrincipalInput, VerifyEmailInput, VerifyPasswordInput, VerifyPhoneInput, VerifyStepUpCodeInput, VerifyTotpInput, ApproveDevicePayload, CheckPasswordPayload, CompleteMfaChallengePayload, ConfirmDeleteAccountPayload, ConfirmTotpSetupPayload, CreateApiKeyPayload, CreateChildPrincipalPayload, CreateOrgApiKeyPayload, CreateOrgPrincipalPayload, CreatePrincipalPayload, CreatePrincipalFromPresetPayload, DeleteOrgPrincipalPayload, DeletePrincipalPayload, DisableEmailMfaPayload, DisableSmsMfaPayload, DisableTotpPayload, DisconnectAccountPayload, EnableEmailMfaPayload, EnableSmsMfaPayload, EnableTotpPayload, EnsureAuthCsrfPayload, ExchangeNativeHandoffPayload, ExtendTokenExpiresPayload, ForgotPasswordPayload, GenerateBackupCodesPayload, LinkIdentityPayload, MintAccessTokenPayload, ProvisionBucketPayload, RefreshAccessTokenPayload, RequestCrossOriginTokenPayload, RequestDeviceApprovalPayload, RequestMagicLinkPayload, ResetPasswordPayload, RevokeApiKeyPayload, RevokeOrgApiKeyPayload, RevokeSessionPayload, SendAccountDeletionEmailPayload, SendMfaChallengeCodePayload, SendPhoneVerificationCodePayload, SendSmsOtpPayload, SendStepUpCodePayload, SendVerificationEmailPayload, SetPasswordPayload, SetPrincipalEntitiesPayload, SetPrincipalScopePayload, SignInPayload, SignInCrossOriginPayload, SignInMagicLinkPayload, SignInSmsOtpPayload, SignOutPayload, SignUpPayload, SignUpMagicLinkPayload, SignUpSmsPayload, UpdatePrincipalPayload, VerifyEmailPayload, VerifyPasswordPayload, VerifyPhonePayload, VerifyStepUpCodePayload, VerifyTotpPayload, ApproveDevicePayloadSelect, CheckPasswordPayloadSelect, CompleteMfaChallengePayloadSelect, ConfirmDeleteAccountPayloadSelect, ConfirmTotpSetupPayloadSelect, CreateApiKeyPayloadSelect, CreateChildPrincipalPayloadSelect, CreateOrgApiKeyPayloadSelect, CreateOrgPrincipalPayloadSelect, CreatePrincipalPayloadSelect, CreatePrincipalFromPresetPayloadSelect, DeleteOrgPrincipalPayloadSelect, DeletePrincipalPayloadSelect, DisableEmailMfaPayloadSelect, DisableSmsMfaPayloadSelect, DisableTotpPayloadSelect, DisconnectAccountPayloadSelect, EnableEmailMfaPayloadSelect, EnableSmsMfaPayloadSelect, EnableTotpPayloadSelect, EnsureAuthCsrfPayloadSelect, ExchangeNativeHandoffPayloadSelect, ExtendTokenExpiresPayloadSelect, ForgotPasswordPayloadSelect, GenerateBackupCodesPayloadSelect, LinkIdentityPayloadSelect, MintAccessTokenPayloadSelect, ProvisionBucketPayloadSelect, RefreshAccessTokenPayloadSelect, RequestCrossOriginTokenPayloadSelect, RequestDeviceApprovalPayloadSelect, RequestMagicLinkPayloadSelect, ResetPasswordPayloadSelect, RevokeApiKeyPayloadSelect, RevokeOrgApiKeyPayloadSelect, RevokeSessionPayloadSelect, SendAccountDeletionEmailPayloadSelect, SendMfaChallengeCodePayloadSelect, SendPhoneVerificationCodePayloadSelect, SendSmsOtpPayloadSelect, SendStepUpCodePayloadSelect, SendVerificationEmailPayloadSelect, SetPasswordPayloadSelect, SetPrincipalEntitiesPayloadSelect, SetPrincipalScopePayloadSelect, SignInPayloadSelect, SignInCrossOriginPayloadSelect, SignInMagicLinkPayloadSelect, SignInSmsOtpPayloadSelect, SignOutPayloadSelect, SignUpPayloadSelect, SignUpMagicLinkPayloadSelect, SignUpSmsPayloadSelect, UpdatePrincipalPayloadSelect, VerifyEmailPayloadSelect, VerifyPasswordPayloadSelect, VerifyPhonePayloadSelect, VerifyStepUpCodePayloadSelect, VerifyTotpPayloadSelect } from '../input-types';
|
|
9
|
+
import type { ApproveDeviceInput, CancelSignUpHandoffInput, CheckPasswordInput, CompleteMfaChallengeInput, ConfirmDeleteAccountInput, ConfirmTotpSetupInput, CreateApiKeyInput, CreateChildPrincipalInput, CreateOrgApiKeyInput, CreateOrgPrincipalInput, CreatePrincipalInput, CreatePrincipalFromPresetInput, DeleteOrgPrincipalInput, DeletePrincipalInput, DisableEmailMfaInput, DisableSmsMfaInput, DisableTotpInput, DisconnectAccountInput, EnableEmailMfaInput, EnableSmsMfaInput, EnableTotpInput, EnsureAuthCsrfInput, ExchangeNativeHandoffInput, ExtendTokenExpiresInput, ForgotPasswordInput, GenerateBackupCodesInput, LinkIdentityInput, MintAccessTokenInput, ProvisionBucketInput, RefreshAccessTokenInput, RequestCrossOriginTokenInput, RequestDeviceApprovalInput, RequestMagicLinkInput, ResetPasswordInput, RevokeApiKeyInput, RevokeOrgApiKeyInput, RevokeSessionInput, SendAccountDeletionEmailInput, SendMfaChallengeCodeInput, SendPhoneVerificationCodeInput, SendSmsOtpInput, SendStepUpCodeInput, SendVerificationEmailInput, SetPasswordInput, SetPrincipalEntitiesInput, SetPrincipalScopeInput, SignInInput, SignInCrossOriginInput, SignInMagicLinkInput, SignInSmsOtpInput, SignOutInput, SignUpInput, SignUpMagicLinkInput, SignUpSmsInput, UpdatePrincipalInput, VerifyEmailInput, VerifyEmailHandoffInput, VerifyPasswordInput, VerifyPhoneInput, VerifyStepUpCodeInput, VerifyTotpInput, ApproveDevicePayload, CancelSignUpHandoffPayload, CheckPasswordPayload, CompleteMfaChallengePayload, ConfirmDeleteAccountPayload, ConfirmTotpSetupPayload, CreateApiKeyPayload, CreateChildPrincipalPayload, CreateOrgApiKeyPayload, CreateOrgPrincipalPayload, CreatePrincipalPayload, CreatePrincipalFromPresetPayload, DeleteOrgPrincipalPayload, DeletePrincipalPayload, DisableEmailMfaPayload, DisableSmsMfaPayload, DisableTotpPayload, DisconnectAccountPayload, EnableEmailMfaPayload, EnableSmsMfaPayload, EnableTotpPayload, EnsureAuthCsrfPayload, ExchangeNativeHandoffPayload, ExtendTokenExpiresPayload, ForgotPasswordPayload, GenerateBackupCodesPayload, LinkIdentityPayload, MintAccessTokenPayload, ProvisionBucketPayload, RefreshAccessTokenPayload, RequestCrossOriginTokenPayload, RequestDeviceApprovalPayload, RequestMagicLinkPayload, ResetPasswordPayload, RevokeApiKeyPayload, RevokeOrgApiKeyPayload, RevokeSessionPayload, SendAccountDeletionEmailPayload, SendMfaChallengeCodePayload, SendPhoneVerificationCodePayload, SendSmsOtpPayload, SendStepUpCodePayload, SendVerificationEmailPayload, SetPasswordPayload, SetPrincipalEntitiesPayload, SetPrincipalScopePayload, SignInPayload, SignInCrossOriginPayload, SignInMagicLinkPayload, SignInSmsOtpPayload, SignOutPayload, SignUpPayload, SignUpMagicLinkPayload, SignUpSmsPayload, UpdatePrincipalPayload, VerifyEmailPayload, VerifyEmailHandoffPayload, VerifyPasswordPayload, VerifyPhonePayload, VerifyStepUpCodePayload, VerifyTotpPayload, ApproveDevicePayloadSelect, CancelSignUpHandoffPayloadSelect, CheckPasswordPayloadSelect, CompleteMfaChallengePayloadSelect, ConfirmDeleteAccountPayloadSelect, ConfirmTotpSetupPayloadSelect, CreateApiKeyPayloadSelect, CreateChildPrincipalPayloadSelect, CreateOrgApiKeyPayloadSelect, CreateOrgPrincipalPayloadSelect, CreatePrincipalPayloadSelect, CreatePrincipalFromPresetPayloadSelect, DeleteOrgPrincipalPayloadSelect, DeletePrincipalPayloadSelect, DisableEmailMfaPayloadSelect, DisableSmsMfaPayloadSelect, DisableTotpPayloadSelect, DisconnectAccountPayloadSelect, EnableEmailMfaPayloadSelect, EnableSmsMfaPayloadSelect, EnableTotpPayloadSelect, EnsureAuthCsrfPayloadSelect, ExchangeNativeHandoffPayloadSelect, ExtendTokenExpiresPayloadSelect, ForgotPasswordPayloadSelect, GenerateBackupCodesPayloadSelect, LinkIdentityPayloadSelect, MintAccessTokenPayloadSelect, ProvisionBucketPayloadSelect, RefreshAccessTokenPayloadSelect, RequestCrossOriginTokenPayloadSelect, RequestDeviceApprovalPayloadSelect, RequestMagicLinkPayloadSelect, ResetPasswordPayloadSelect, RevokeApiKeyPayloadSelect, RevokeOrgApiKeyPayloadSelect, RevokeSessionPayloadSelect, SendAccountDeletionEmailPayloadSelect, SendMfaChallengeCodePayloadSelect, SendPhoneVerificationCodePayloadSelect, SendSmsOtpPayloadSelect, SendStepUpCodePayloadSelect, SendVerificationEmailPayloadSelect, SetPasswordPayloadSelect, SetPrincipalEntitiesPayloadSelect, SetPrincipalScopePayloadSelect, SignInPayloadSelect, SignInCrossOriginPayloadSelect, SignInMagicLinkPayloadSelect, SignInSmsOtpPayloadSelect, SignOutPayloadSelect, SignUpPayloadSelect, SignUpMagicLinkPayloadSelect, SignUpSmsPayloadSelect, UpdatePrincipalPayloadSelect, VerifyEmailPayloadSelect, VerifyEmailHandoffPayloadSelect, VerifyPasswordPayloadSelect, VerifyPhonePayloadSelect, VerifyStepUpCodePayloadSelect, VerifyTotpPayloadSelect } from '../input-types';
|
|
10
10
|
export interface ApproveDeviceVariables {
|
|
11
11
|
input: ApproveDeviceInput;
|
|
12
12
|
}
|
|
13
|
+
export interface CancelSignUpHandoffVariables {
|
|
14
|
+
input: CancelSignUpHandoffInput;
|
|
15
|
+
}
|
|
13
16
|
export interface CheckPasswordVariables {
|
|
14
17
|
input: CheckPasswordInput;
|
|
15
18
|
}
|
|
@@ -185,6 +188,9 @@ export interface UpdatePrincipalVariables {
|
|
|
185
188
|
export interface VerifyEmailVariables {
|
|
186
189
|
input: VerifyEmailInput;
|
|
187
190
|
}
|
|
191
|
+
export interface VerifyEmailHandoffVariables {
|
|
192
|
+
input: VerifyEmailHandoffInput;
|
|
193
|
+
}
|
|
188
194
|
export interface VerifyPasswordVariables {
|
|
189
195
|
input: VerifyPasswordInput;
|
|
190
196
|
}
|
|
@@ -203,6 +209,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
203
209
|
} & StrictSelect<S, ApproveDevicePayloadSelect>) => QueryBuilder<{
|
|
204
210
|
approveDevice: InferSelectResult<ApproveDevicePayload, S> | null;
|
|
205
211
|
}>;
|
|
212
|
+
cancelSignUpHandoff: <S extends CancelSignUpHandoffPayloadSelect>(args: CancelSignUpHandoffVariables, options: {
|
|
213
|
+
select: S;
|
|
214
|
+
} & StrictSelect<S, CancelSignUpHandoffPayloadSelect>) => QueryBuilder<{
|
|
215
|
+
cancelSignUpHandoff: InferSelectResult<CancelSignUpHandoffPayload, S> | null;
|
|
216
|
+
}>;
|
|
206
217
|
checkPassword: <S extends CheckPasswordPayloadSelect>(args: CheckPasswordVariables, options: {
|
|
207
218
|
select: S;
|
|
208
219
|
} & StrictSelect<S, CheckPasswordPayloadSelect>) => QueryBuilder<{
|
|
@@ -473,6 +484,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
473
484
|
} & StrictSelect<S, VerifyEmailPayloadSelect>) => QueryBuilder<{
|
|
474
485
|
verifyEmail: InferSelectResult<VerifyEmailPayload, S> | null;
|
|
475
486
|
}>;
|
|
487
|
+
verifyEmailHandoff: <S extends VerifyEmailHandoffPayloadSelect>(args: VerifyEmailHandoffVariables, options: {
|
|
488
|
+
select: S;
|
|
489
|
+
} & StrictSelect<S, VerifyEmailHandoffPayloadSelect>) => QueryBuilder<{
|
|
490
|
+
verifyEmailHandoff: InferSelectResult<VerifyEmailHandoffPayload, S> | null;
|
|
491
|
+
}>;
|
|
476
492
|
verifyPassword: <S extends VerifyPasswordPayloadSelect>(args: VerifyPasswordVariables, options: {
|
|
477
493
|
select: S;
|
|
478
494
|
} & StrictSelect<S, VerifyPasswordPayloadSelect>) => QueryBuilder<{
|
|
@@ -17,6 +17,18 @@ function createMutationOperations(client) {
|
|
|
17
17
|
},
|
|
18
18
|
], input_types_1.connectionFieldsMap, 'ApproveDevicePayload'),
|
|
19
19
|
}),
|
|
20
|
+
cancelSignUpHandoff: (args, options) => new query_builder_1.QueryBuilder({
|
|
21
|
+
client,
|
|
22
|
+
operation: 'mutation',
|
|
23
|
+
operationName: 'CancelSignUpHandoff',
|
|
24
|
+
fieldName: 'cancelSignUpHandoff',
|
|
25
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'CancelSignUpHandoff', 'cancelSignUpHandoff', options.select, args, [
|
|
26
|
+
{
|
|
27
|
+
name: 'input',
|
|
28
|
+
type: 'CancelSignUpHandoffInput!',
|
|
29
|
+
},
|
|
30
|
+
], input_types_1.connectionFieldsMap, 'CancelSignUpHandoffPayload'),
|
|
31
|
+
}),
|
|
20
32
|
checkPassword: (args, options) => new query_builder_1.QueryBuilder({
|
|
21
33
|
client,
|
|
22
34
|
operation: 'mutation',
|
|
@@ -665,6 +677,18 @@ function createMutationOperations(client) {
|
|
|
665
677
|
},
|
|
666
678
|
], input_types_1.connectionFieldsMap, 'VerifyEmailPayload'),
|
|
667
679
|
}),
|
|
680
|
+
verifyEmailHandoff: (args, options) => new query_builder_1.QueryBuilder({
|
|
681
|
+
client,
|
|
682
|
+
operation: 'mutation',
|
|
683
|
+
operationName: 'VerifyEmailHandoff',
|
|
684
|
+
fieldName: 'verifyEmailHandoff',
|
|
685
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'VerifyEmailHandoff', 'verifyEmailHandoff', options.select, args, [
|
|
686
|
+
{
|
|
687
|
+
name: 'input',
|
|
688
|
+
type: 'VerifyEmailHandoffInput!',
|
|
689
|
+
},
|
|
690
|
+
], input_types_1.connectionFieldsMap, 'VerifyEmailHandoffPayload'),
|
|
691
|
+
}),
|
|
668
692
|
verifyPassword: (args, options) => new query_builder_1.QueryBuilder({
|
|
669
693
|
client,
|
|
670
694
|
operation: 'mutation',
|
package/auth/schema-types.d.ts
CHANGED
|
@@ -130,6 +130,11 @@ export interface Base64EncodedBinaryFilter {
|
|
|
130
130
|
/** Not included in the specified list. */
|
|
131
131
|
notIn?: Base64EncodedBinary[];
|
|
132
132
|
}
|
|
133
|
+
export interface CancelSignUpHandoffInput {
|
|
134
|
+
clientMutationId?: string;
|
|
135
|
+
codeChallenge?: string;
|
|
136
|
+
email?: string;
|
|
137
|
+
}
|
|
133
138
|
export interface CheckPasswordInput {
|
|
134
139
|
clientMutationId?: string;
|
|
135
140
|
password?: string;
|
|
@@ -1103,9 +1108,11 @@ export interface SignOutInput {
|
|
|
1103
1108
|
}
|
|
1104
1109
|
export interface SignUpInput {
|
|
1105
1110
|
clientMutationId?: string;
|
|
1111
|
+
codeChallenge?: string;
|
|
1106
1112
|
csrfToken?: string;
|
|
1107
1113
|
email?: string;
|
|
1108
1114
|
inviteToken?: string;
|
|
1115
|
+
nativeRedirectUri?: string;
|
|
1109
1116
|
password?: string;
|
|
1110
1117
|
}
|
|
1111
1118
|
export interface SignUpMagicLinkInput {
|
|
@@ -1563,6 +1570,12 @@ export interface UserToManyWebauthnCredentialFilter {
|
|
|
1563
1570
|
/** Filters to entities where at least one related entity matches. */
|
|
1564
1571
|
some?: WebauthnCredentialFilter;
|
|
1565
1572
|
}
|
|
1573
|
+
export interface VerifyEmailHandoffInput {
|
|
1574
|
+
clientMutationId?: string;
|
|
1575
|
+
emailId?: string;
|
|
1576
|
+
password?: string;
|
|
1577
|
+
token?: string;
|
|
1578
|
+
}
|
|
1566
1579
|
export interface VerifyEmailInput {
|
|
1567
1580
|
clientMutationId?: string;
|
|
1568
1581
|
emailId?: string;
|
|
@@ -1776,6 +1789,7 @@ export interface SignInOptionsRecord {
|
|
|
1776
1789
|
allowWebauthnUsernameless?: boolean | null;
|
|
1777
1790
|
enableCaptcha?: boolean | null;
|
|
1778
1791
|
identityProviders?: unknown | null;
|
|
1792
|
+
nativeSignUpHandoff?: boolean | null;
|
|
1779
1793
|
requireMfa?: boolean | null;
|
|
1780
1794
|
signUpRequiresInvite?: boolean | null;
|
|
1781
1795
|
}
|
|
@@ -1818,6 +1832,9 @@ export interface ApproveDevicePayload {
|
|
|
1818
1832
|
clientMutationId?: string | null;
|
|
1819
1833
|
result?: boolean | null;
|
|
1820
1834
|
}
|
|
1835
|
+
export interface CancelSignUpHandoffPayload {
|
|
1836
|
+
clientMutationId?: string | null;
|
|
1837
|
+
}
|
|
1821
1838
|
export interface CheckPasswordPayload {
|
|
1822
1839
|
clientMutationId?: string | null;
|
|
1823
1840
|
}
|
|
@@ -2196,6 +2213,10 @@ export interface VerifyEmailPayload {
|
|
|
2196
2213
|
clientMutationId?: string | null;
|
|
2197
2214
|
result?: boolean | null;
|
|
2198
2215
|
}
|
|
2216
|
+
export interface VerifyEmailHandoffPayload {
|
|
2217
|
+
clientMutationId?: string | null;
|
|
2218
|
+
result?: VerifyEmailHandoffRecord | null;
|
|
2219
|
+
}
|
|
2199
2220
|
export interface VerifyPasswordPayload {
|
|
2200
2221
|
clientMutationId?: string | null;
|
|
2201
2222
|
result?: boolean | null;
|
|
@@ -2449,6 +2470,12 @@ export interface SignUpSmsRecord {
|
|
|
2449
2470
|
outDeviceToken?: string | null;
|
|
2450
2471
|
userId?: string | null;
|
|
2451
2472
|
}
|
|
2473
|
+
export interface VerifyEmailHandoffRecord {
|
|
2474
|
+
codeChallenge?: string | null;
|
|
2475
|
+
email?: string | null;
|
|
2476
|
+
nativeRedirectUri?: string | null;
|
|
2477
|
+
result?: boolean | null;
|
|
2478
|
+
}
|
|
2452
2479
|
/** Table constraints */
|
|
2453
2480
|
export interface MetaConstraints {
|
|
2454
2481
|
foreignKey: MetaForeignKeyConstraint[];
|
|
@@ -95,6 +95,7 @@ export declare const webauthnCredentialMutationKeys: {
|
|
|
95
95
|
};
|
|
96
96
|
export declare const customMutationKeys: {
|
|
97
97
|
/** Mutation key for approveDevice */ readonly approveDevice: (identifier?: string) => readonly ["mutation", "approveDevice", string] | readonly ["mutation", "approveDevice"];
|
|
98
|
+
/** Mutation key for cancelSignUpHandoff */ readonly cancelSignUpHandoff: (identifier?: string) => readonly ["mutation", "cancelSignUpHandoff", string] | readonly ["mutation", "cancelSignUpHandoff"];
|
|
98
99
|
/** Mutation key for checkPassword */ readonly checkPassword: (identifier?: string) => readonly ["mutation", "checkPassword", string] | readonly ["mutation", "checkPassword"];
|
|
99
100
|
/** Mutation key for completeMfaChallenge */ readonly completeMfaChallenge: (identifier?: string) => readonly ["mutation", "completeMfaChallenge", string] | readonly ["mutation", "completeMfaChallenge"];
|
|
100
101
|
/** Mutation key for confirmDeleteAccount */ readonly confirmDeleteAccount: (identifier?: string) => readonly ["mutation", "confirmDeleteAccount", string] | readonly ["mutation", "confirmDeleteAccount"];
|
|
@@ -149,6 +150,7 @@ export declare const customMutationKeys: {
|
|
|
149
150
|
/** Mutation key for signUpSms */ readonly signUpSms: (identifier?: string) => readonly ["mutation", "signUpSms", string] | readonly ["mutation", "signUpSms"];
|
|
150
151
|
/** Mutation key for updatePrincipal */ readonly updatePrincipal: (identifier?: string) => readonly ["mutation", "updatePrincipal", string] | readonly ["mutation", "updatePrincipal"];
|
|
151
152
|
/** Mutation key for verifyEmail */ readonly verifyEmail: (identifier?: string) => readonly ["mutation", "verifyEmail", string] | readonly ["mutation", "verifyEmail"];
|
|
153
|
+
/** Mutation key for verifyEmailHandoff */ readonly verifyEmailHandoff: (identifier?: string) => readonly ["mutation", "verifyEmailHandoff", string] | readonly ["mutation", "verifyEmailHandoff"];
|
|
152
154
|
/** Mutation key for verifyPassword */ readonly verifyPassword: (identifier?: string) => readonly ["mutation", "verifyPassword", string] | readonly ["mutation", "verifyPassword"];
|
|
153
155
|
/** Mutation key for verifyPhone */ readonly verifyPhone: (identifier?: string) => readonly ["mutation", "verifyPhone", string] | readonly ["mutation", "verifyPhone"];
|
|
154
156
|
/** Mutation key for verifyStepUpCode */ readonly verifyStepUpCode: (identifier?: string) => readonly ["mutation", "verifyStepUpCode", string] | readonly ["mutation", "verifyStepUpCode"];
|
|
@@ -269,6 +271,7 @@ export declare const mutationKeys: {
|
|
|
269
271
|
};
|
|
270
272
|
readonly custom: {
|
|
271
273
|
/** Mutation key for approveDevice */ readonly approveDevice: (identifier?: string) => readonly ["mutation", "approveDevice", string] | readonly ["mutation", "approveDevice"];
|
|
274
|
+
/** Mutation key for cancelSignUpHandoff */ readonly cancelSignUpHandoff: (identifier?: string) => readonly ["mutation", "cancelSignUpHandoff", string] | readonly ["mutation", "cancelSignUpHandoff"];
|
|
272
275
|
/** Mutation key for checkPassword */ readonly checkPassword: (identifier?: string) => readonly ["mutation", "checkPassword", string] | readonly ["mutation", "checkPassword"];
|
|
273
276
|
/** Mutation key for completeMfaChallenge */ readonly completeMfaChallenge: (identifier?: string) => readonly ["mutation", "completeMfaChallenge", string] | readonly ["mutation", "completeMfaChallenge"];
|
|
274
277
|
/** Mutation key for confirmDeleteAccount */ readonly confirmDeleteAccount: (identifier?: string) => readonly ["mutation", "confirmDeleteAccount", string] | readonly ["mutation", "confirmDeleteAccount"];
|
|
@@ -323,6 +326,7 @@ export declare const mutationKeys: {
|
|
|
323
326
|
/** Mutation key for signUpSms */ readonly signUpSms: (identifier?: string) => readonly ["mutation", "signUpSms", string] | readonly ["mutation", "signUpSms"];
|
|
324
327
|
/** Mutation key for updatePrincipal */ readonly updatePrincipal: (identifier?: string) => readonly ["mutation", "updatePrincipal", string] | readonly ["mutation", "updatePrincipal"];
|
|
325
328
|
/** Mutation key for verifyEmail */ readonly verifyEmail: (identifier?: string) => readonly ["mutation", "verifyEmail", string] | readonly ["mutation", "verifyEmail"];
|
|
329
|
+
/** Mutation key for verifyEmailHandoff */ readonly verifyEmailHandoff: (identifier?: string) => readonly ["mutation", "verifyEmailHandoff", string] | readonly ["mutation", "verifyEmailHandoff"];
|
|
326
330
|
/** Mutation key for verifyPassword */ readonly verifyPassword: (identifier?: string) => readonly ["mutation", "verifyPassword", string] | readonly ["mutation", "verifyPassword"];
|
|
327
331
|
/** Mutation key for verifyPhone */ readonly verifyPhone: (identifier?: string) => readonly ["mutation", "verifyPhone", string] | readonly ["mutation", "verifyPhone"];
|
|
328
332
|
/** Mutation key for verifyStepUpCode */ readonly verifyStepUpCode: (identifier?: string) => readonly ["mutation", "verifyStepUpCode", string] | readonly ["mutation", "verifyStepUpCode"];
|
|
@@ -115,6 +115,9 @@ export const customMutationKeys = {
|
|
|
115
115
|
/** Mutation key for approveDevice */ approveDevice: (identifier) => identifier
|
|
116
116
|
? ['mutation', 'approveDevice', identifier]
|
|
117
117
|
: ['mutation', 'approveDevice'],
|
|
118
|
+
/** Mutation key for cancelSignUpHandoff */ cancelSignUpHandoff: (identifier) => identifier
|
|
119
|
+
? ['mutation', 'cancelSignUpHandoff', identifier]
|
|
120
|
+
: ['mutation', 'cancelSignUpHandoff'],
|
|
118
121
|
/** Mutation key for checkPassword */ checkPassword: (identifier) => identifier
|
|
119
122
|
? ['mutation', 'checkPassword', identifier]
|
|
120
123
|
: ['mutation', 'checkPassword'],
|
|
@@ -273,6 +276,9 @@ export const customMutationKeys = {
|
|
|
273
276
|
/** Mutation key for verifyEmail */ verifyEmail: (identifier) => identifier
|
|
274
277
|
? ['mutation', 'verifyEmail', identifier]
|
|
275
278
|
: ['mutation', 'verifyEmail'],
|
|
279
|
+
/** Mutation key for verifyEmailHandoff */ verifyEmailHandoff: (identifier) => identifier
|
|
280
|
+
? ['mutation', 'verifyEmailHandoff', identifier]
|
|
281
|
+
: ['mutation', 'verifyEmailHandoff'],
|
|
276
282
|
/** Mutation key for verifyPassword */ verifyPassword: (identifier) => identifier
|
|
277
283
|
? ['mutation', 'verifyPassword', identifier]
|
|
278
284
|
: ['mutation', 'verifyPassword'],
|
|
@@ -31,6 +31,7 @@ export * from './useCreateWebauthnCredentialMutation';
|
|
|
31
31
|
export * from './useUpdateWebauthnCredentialMutation';
|
|
32
32
|
export * from './useDeleteWebauthnCredentialMutation';
|
|
33
33
|
export * from './useApproveDeviceMutation';
|
|
34
|
+
export * from './useCancelSignUpHandoffMutation';
|
|
34
35
|
export * from './useCheckPasswordMutation';
|
|
35
36
|
export * from './useCompleteMfaChallengeMutation';
|
|
36
37
|
export * from './useConfirmDeleteAccountMutation';
|
|
@@ -85,6 +86,7 @@ export * from './useSignUpMagicLinkMutation';
|
|
|
85
86
|
export * from './useSignUpSmsMutation';
|
|
86
87
|
export * from './useUpdatePrincipalMutation';
|
|
87
88
|
export * from './useVerifyEmailMutation';
|
|
89
|
+
export * from './useVerifyEmailHandoffMutation';
|
|
88
90
|
export * from './useVerifyPasswordMutation';
|
|
89
91
|
export * from './useVerifyPhoneMutation';
|
|
90
92
|
export * from './useVerifyStepUpCodeMutation';
|
|
@@ -31,6 +31,7 @@ export * from './useCreateWebauthnCredentialMutation';
|
|
|
31
31
|
export * from './useUpdateWebauthnCredentialMutation';
|
|
32
32
|
export * from './useDeleteWebauthnCredentialMutation';
|
|
33
33
|
export * from './useApproveDeviceMutation';
|
|
34
|
+
export * from './useCancelSignUpHandoffMutation';
|
|
34
35
|
export * from './useCheckPasswordMutation';
|
|
35
36
|
export * from './useCompleteMfaChallengeMutation';
|
|
36
37
|
export * from './useConfirmDeleteAccountMutation';
|
|
@@ -85,6 +86,7 @@ export * from './useSignUpMagicLinkMutation';
|
|
|
85
86
|
export * from './useSignUpSmsMutation';
|
|
86
87
|
export * from './useUpdatePrincipalMutation';
|
|
87
88
|
export * from './useVerifyEmailMutation';
|
|
89
|
+
export * from './useVerifyEmailHandoffMutation';
|
|
88
90
|
export * from './useVerifyPasswordMutation';
|
|
89
91
|
export * from './useVerifyPhoneMutation';
|
|
90
92
|
export * from './useVerifyStepUpCodeMutation';
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for cancelSignUpHandoff
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { CancelSignUpHandoffVariables } from '../../orm/mutation';
|
|
8
|
+
import type { CancelSignUpHandoffPayloadSelect, CancelSignUpHandoffPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { CancelSignUpHandoffVariables } from '../../orm/mutation';
|
|
11
|
+
export type { CancelSignUpHandoffPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useCancelSignUpHandoffMutation<S extends CancelSignUpHandoffPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & CancelSignUpHandoffPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, CancelSignUpHandoffPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
cancelSignUpHandoff: InferSelectResult<CancelSignUpHandoffPayload, S> | null;
|
|
18
|
+
}, Error, CancelSignUpHandoffVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
cancelSignUpHandoff: InferSelectResult<CancelSignUpHandoffPayload, S> | null;
|
|
20
|
+
}, Error, CancelSignUpHandoffVariables>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for cancelSignUpHandoff
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { customMutationKeys } from '../mutation-keys';
|
|
10
|
+
export function useCancelSignUpHandoffMutation(params) {
|
|
11
|
+
const args = buildSelectionArgs(params.selection);
|
|
12
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
13
|
+
void _selection;
|
|
14
|
+
return useMutation({
|
|
15
|
+
mutationKey: customMutationKeys.cancelSignUpHandoff(),
|
|
16
|
+
mutationFn: (variables) => getClient()
|
|
17
|
+
.mutation.cancelSignUpHandoff(variables, {
|
|
18
|
+
select: args.select,
|
|
19
|
+
})
|
|
20
|
+
.unwrap(),
|
|
21
|
+
...mutationOptions,
|
|
22
|
+
});
|
|
23
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for verifyEmailHandoff
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import type { UseMutationOptions, UseMutationResult } from '@tanstack/react-query';
|
|
7
|
+
import type { VerifyEmailHandoffVariables } from '../../orm/mutation';
|
|
8
|
+
import type { VerifyEmailHandoffPayloadSelect, VerifyEmailHandoffPayload } from '../../orm/input-types';
|
|
9
|
+
import type { InferSelectResult, HookStrictSelect } from '../../orm/select-types';
|
|
10
|
+
export type { VerifyEmailHandoffVariables } from '../../orm/mutation';
|
|
11
|
+
export type { VerifyEmailHandoffPayloadSelect } from '../../orm/input-types';
|
|
12
|
+
export declare function useVerifyEmailHandoffMutation<S extends VerifyEmailHandoffPayloadSelect>(params: {
|
|
13
|
+
selection: {
|
|
14
|
+
fields: S & VerifyEmailHandoffPayloadSelect;
|
|
15
|
+
} & HookStrictSelect<NoInfer<S>, VerifyEmailHandoffPayloadSelect>;
|
|
16
|
+
} & Omit<UseMutationOptions<{
|
|
17
|
+
verifyEmailHandoff: InferSelectResult<VerifyEmailHandoffPayload, S> | null;
|
|
18
|
+
}, Error, VerifyEmailHandoffVariables>, 'mutationFn'>): UseMutationResult<{
|
|
19
|
+
verifyEmailHandoff: InferSelectResult<VerifyEmailHandoffPayload, S> | null;
|
|
20
|
+
}, Error, VerifyEmailHandoffVariables>;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Custom mutation hook for verifyEmailHandoff
|
|
3
|
+
* @generated by @constructive-io/graphql-codegen
|
|
4
|
+
* DO NOT EDIT - changes will be overwritten
|
|
5
|
+
*/
|
|
6
|
+
import { useMutation } from '@tanstack/react-query';
|
|
7
|
+
import { getClient } from '../client';
|
|
8
|
+
import { buildSelectionArgs } from '../selection';
|
|
9
|
+
import { customMutationKeys } from '../mutation-keys';
|
|
10
|
+
export function useVerifyEmailHandoffMutation(params) {
|
|
11
|
+
const args = buildSelectionArgs(params.selection);
|
|
12
|
+
const { selection: _selection, ...mutationOptions } = params ?? {};
|
|
13
|
+
void _selection;
|
|
14
|
+
return useMutation({
|
|
15
|
+
mutationKey: customMutationKeys.verifyEmailHandoff(),
|
|
16
|
+
mutationFn: (variables) => getClient()
|
|
17
|
+
.mutation.verifyEmailHandoff(variables, {
|
|
18
|
+
select: args.select,
|
|
19
|
+
})
|
|
20
|
+
.unwrap(),
|
|
21
|
+
...mutationOptions,
|
|
22
|
+
});
|
|
23
|
+
}
|
package/esm/auth/orm/index.d.ts
CHANGED
|
@@ -103,6 +103,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
103
103
|
} & import("./select-types").StrictSelect<S, import("./input-types").ApproveDevicePayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
104
104
|
approveDevice: import("./select-types").InferSelectResult<import("./input-types").ApproveDevicePayload, S> | null;
|
|
105
105
|
}>;
|
|
106
|
+
cancelSignUpHandoff: <S extends import("./input-types").CancelSignUpHandoffPayloadSelect>(args: import("./mutation").CancelSignUpHandoffVariables, options: {
|
|
107
|
+
select: S;
|
|
108
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").CancelSignUpHandoffPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
109
|
+
cancelSignUpHandoff: import("./select-types").InferSelectResult<import("./input-types").CancelSignUpHandoffPayload, S> | null;
|
|
110
|
+
}>;
|
|
106
111
|
checkPassword: <S extends import("./input-types").CheckPasswordPayloadSelect>(args: import("./mutation").CheckPasswordVariables, options: {
|
|
107
112
|
select: S;
|
|
108
113
|
} & import("./select-types").StrictSelect<S, import("./input-types").CheckPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -373,6 +378,11 @@ export declare function createClient(config: OrmClientConfig): {
|
|
|
373
378
|
} & import("./select-types").StrictSelect<S, import("./input-types").VerifyEmailPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
374
379
|
verifyEmail: import("./select-types").InferSelectResult<import("./input-types").VerifyEmailPayload, S> | null;
|
|
375
380
|
}>;
|
|
381
|
+
verifyEmailHandoff: <S extends import("./input-types").VerifyEmailHandoffPayloadSelect>(args: import("./mutation").VerifyEmailHandoffVariables, options: {
|
|
382
|
+
select: S;
|
|
383
|
+
} & import("./select-types").StrictSelect<S, import("./input-types").VerifyEmailHandoffPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
384
|
+
verifyEmailHandoff: import("./select-types").InferSelectResult<import("./input-types").VerifyEmailHandoffPayload, S> | null;
|
|
385
|
+
}>;
|
|
376
386
|
verifyPassword: <S extends import("./input-types").VerifyPasswordPayloadSelect>(args: import("./mutation").VerifyPasswordVariables, options: {
|
|
377
387
|
select: S;
|
|
378
388
|
} & import("./select-types").StrictSelect<S, import("./input-types").VerifyPasswordPayloadSelect>) => import("./query-builder").QueryBuilder<{
|
|
@@ -1652,6 +1652,11 @@ export interface ApproveDeviceInput {
|
|
|
1652
1652
|
approvalToken: string;
|
|
1653
1653
|
clientMutationId?: string;
|
|
1654
1654
|
}
|
|
1655
|
+
export interface CancelSignUpHandoffInput {
|
|
1656
|
+
clientMutationId?: string;
|
|
1657
|
+
codeChallenge?: string;
|
|
1658
|
+
email?: string;
|
|
1659
|
+
}
|
|
1655
1660
|
export interface CheckPasswordInput {
|
|
1656
1661
|
clientMutationId?: string;
|
|
1657
1662
|
password?: string;
|
|
@@ -1915,9 +1920,11 @@ export interface SignOutInput {
|
|
|
1915
1920
|
}
|
|
1916
1921
|
export interface SignUpInput {
|
|
1917
1922
|
clientMutationId?: string;
|
|
1923
|
+
codeChallenge?: string;
|
|
1918
1924
|
csrfToken?: string;
|
|
1919
1925
|
email?: string;
|
|
1920
1926
|
inviteToken?: string;
|
|
1927
|
+
nativeRedirectUri?: string;
|
|
1921
1928
|
password?: string;
|
|
1922
1929
|
}
|
|
1923
1930
|
export interface SignUpMagicLinkInput {
|
|
@@ -1943,6 +1950,12 @@ export interface VerifyEmailInput {
|
|
|
1943
1950
|
password?: string;
|
|
1944
1951
|
token?: string;
|
|
1945
1952
|
}
|
|
1953
|
+
export interface VerifyEmailHandoffInput {
|
|
1954
|
+
clientMutationId?: string;
|
|
1955
|
+
emailId?: string;
|
|
1956
|
+
password?: string;
|
|
1957
|
+
token?: string;
|
|
1958
|
+
}
|
|
1946
1959
|
export interface VerifyPasswordInput {
|
|
1947
1960
|
clientMutationId?: string;
|
|
1948
1961
|
password: string;
|
|
@@ -3311,6 +3324,7 @@ export interface SignInOptionsRecord {
|
|
|
3311
3324
|
allowWebauthnUsernameless?: boolean | null;
|
|
3312
3325
|
enableCaptcha?: boolean | null;
|
|
3313
3326
|
identityProviders?: Record<string, unknown> | null;
|
|
3327
|
+
nativeSignUpHandoff?: boolean | null;
|
|
3314
3328
|
requireMfa?: boolean | null;
|
|
3315
3329
|
signUpRequiresInvite?: boolean | null;
|
|
3316
3330
|
}
|
|
@@ -3331,6 +3345,7 @@ export type SignInOptionsRecordSelect = {
|
|
|
3331
3345
|
allowWebauthnUsernameless?: boolean;
|
|
3332
3346
|
enableCaptcha?: boolean;
|
|
3333
3347
|
identityProviders?: boolean;
|
|
3348
|
+
nativeSignUpHandoff?: boolean;
|
|
3334
3349
|
requireMfa?: boolean;
|
|
3335
3350
|
signUpRequiresInvite?: boolean;
|
|
3336
3351
|
};
|
|
@@ -3342,6 +3357,12 @@ export type ApproveDevicePayloadSelect = {
|
|
|
3342
3357
|
clientMutationId?: boolean;
|
|
3343
3358
|
result?: boolean;
|
|
3344
3359
|
};
|
|
3360
|
+
export interface CancelSignUpHandoffPayload {
|
|
3361
|
+
clientMutationId?: string | null;
|
|
3362
|
+
}
|
|
3363
|
+
export type CancelSignUpHandoffPayloadSelect = {
|
|
3364
|
+
clientMutationId?: boolean;
|
|
3365
|
+
};
|
|
3345
3366
|
export interface CheckPasswordPayload {
|
|
3346
3367
|
clientMutationId?: string | null;
|
|
3347
3368
|
}
|
|
@@ -3797,6 +3818,16 @@ export type VerifyEmailPayloadSelect = {
|
|
|
3797
3818
|
clientMutationId?: boolean;
|
|
3798
3819
|
result?: boolean;
|
|
3799
3820
|
};
|
|
3821
|
+
export interface VerifyEmailHandoffPayload {
|
|
3822
|
+
clientMutationId?: string | null;
|
|
3823
|
+
result?: VerifyEmailHandoffRecord | null;
|
|
3824
|
+
}
|
|
3825
|
+
export type VerifyEmailHandoffPayloadSelect = {
|
|
3826
|
+
clientMutationId?: boolean;
|
|
3827
|
+
result?: {
|
|
3828
|
+
select: VerifyEmailHandoffRecordSelect;
|
|
3829
|
+
};
|
|
3830
|
+
};
|
|
3800
3831
|
export interface VerifyPasswordPayload {
|
|
3801
3832
|
clientMutationId?: string | null;
|
|
3802
3833
|
result?: boolean | null;
|
|
@@ -4459,6 +4490,18 @@ export type SignUpSmsRecordSelect = {
|
|
|
4459
4490
|
outDeviceToken?: boolean;
|
|
4460
4491
|
userId?: boolean;
|
|
4461
4492
|
};
|
|
4493
|
+
export interface VerifyEmailHandoffRecord {
|
|
4494
|
+
codeChallenge?: string | null;
|
|
4495
|
+
email?: string | null;
|
|
4496
|
+
nativeRedirectUri?: string | null;
|
|
4497
|
+
result?: boolean | null;
|
|
4498
|
+
}
|
|
4499
|
+
export type VerifyEmailHandoffRecordSelect = {
|
|
4500
|
+
codeChallenge?: boolean;
|
|
4501
|
+
email?: boolean;
|
|
4502
|
+
nativeRedirectUri?: boolean;
|
|
4503
|
+
result?: boolean;
|
|
4504
|
+
};
|
|
4462
4505
|
/** A `AuditLogAuth` edge in the connection. */
|
|
4463
4506
|
export interface AuditLogAuthEdge {
|
|
4464
4507
|
cursor?: string | null;
|
|
@@ -6,10 +6,13 @@
|
|
|
6
6
|
import { OrmClient } from '../client';
|
|
7
7
|
import { QueryBuilder } from '../query-builder';
|
|
8
8
|
import type { InferSelectResult, StrictSelect } from '../select-types';
|
|
9
|
-
import type { ApproveDeviceInput, CheckPasswordInput, CompleteMfaChallengeInput, ConfirmDeleteAccountInput, ConfirmTotpSetupInput, CreateApiKeyInput, CreateChildPrincipalInput, CreateOrgApiKeyInput, CreateOrgPrincipalInput, CreatePrincipalInput, CreatePrincipalFromPresetInput, DeleteOrgPrincipalInput, DeletePrincipalInput, DisableEmailMfaInput, DisableSmsMfaInput, DisableTotpInput, DisconnectAccountInput, EnableEmailMfaInput, EnableSmsMfaInput, EnableTotpInput, EnsureAuthCsrfInput, ExchangeNativeHandoffInput, ExtendTokenExpiresInput, ForgotPasswordInput, GenerateBackupCodesInput, LinkIdentityInput, MintAccessTokenInput, ProvisionBucketInput, RefreshAccessTokenInput, RequestCrossOriginTokenInput, RequestDeviceApprovalInput, RequestMagicLinkInput, ResetPasswordInput, RevokeApiKeyInput, RevokeOrgApiKeyInput, RevokeSessionInput, SendAccountDeletionEmailInput, SendMfaChallengeCodeInput, SendPhoneVerificationCodeInput, SendSmsOtpInput, SendStepUpCodeInput, SendVerificationEmailInput, SetPasswordInput, SetPrincipalEntitiesInput, SetPrincipalScopeInput, SignInInput, SignInCrossOriginInput, SignInMagicLinkInput, SignInSmsOtpInput, SignOutInput, SignUpInput, SignUpMagicLinkInput, SignUpSmsInput, UpdatePrincipalInput, VerifyEmailInput, VerifyPasswordInput, VerifyPhoneInput, VerifyStepUpCodeInput, VerifyTotpInput, ApproveDevicePayload, CheckPasswordPayload, CompleteMfaChallengePayload, ConfirmDeleteAccountPayload, ConfirmTotpSetupPayload, CreateApiKeyPayload, CreateChildPrincipalPayload, CreateOrgApiKeyPayload, CreateOrgPrincipalPayload, CreatePrincipalPayload, CreatePrincipalFromPresetPayload, DeleteOrgPrincipalPayload, DeletePrincipalPayload, DisableEmailMfaPayload, DisableSmsMfaPayload, DisableTotpPayload, DisconnectAccountPayload, EnableEmailMfaPayload, EnableSmsMfaPayload, EnableTotpPayload, EnsureAuthCsrfPayload, ExchangeNativeHandoffPayload, ExtendTokenExpiresPayload, ForgotPasswordPayload, GenerateBackupCodesPayload, LinkIdentityPayload, MintAccessTokenPayload, ProvisionBucketPayload, RefreshAccessTokenPayload, RequestCrossOriginTokenPayload, RequestDeviceApprovalPayload, RequestMagicLinkPayload, ResetPasswordPayload, RevokeApiKeyPayload, RevokeOrgApiKeyPayload, RevokeSessionPayload, SendAccountDeletionEmailPayload, SendMfaChallengeCodePayload, SendPhoneVerificationCodePayload, SendSmsOtpPayload, SendStepUpCodePayload, SendVerificationEmailPayload, SetPasswordPayload, SetPrincipalEntitiesPayload, SetPrincipalScopePayload, SignInPayload, SignInCrossOriginPayload, SignInMagicLinkPayload, SignInSmsOtpPayload, SignOutPayload, SignUpPayload, SignUpMagicLinkPayload, SignUpSmsPayload, UpdatePrincipalPayload, VerifyEmailPayload, VerifyPasswordPayload, VerifyPhonePayload, VerifyStepUpCodePayload, VerifyTotpPayload, ApproveDevicePayloadSelect, CheckPasswordPayloadSelect, CompleteMfaChallengePayloadSelect, ConfirmDeleteAccountPayloadSelect, ConfirmTotpSetupPayloadSelect, CreateApiKeyPayloadSelect, CreateChildPrincipalPayloadSelect, CreateOrgApiKeyPayloadSelect, CreateOrgPrincipalPayloadSelect, CreatePrincipalPayloadSelect, CreatePrincipalFromPresetPayloadSelect, DeleteOrgPrincipalPayloadSelect, DeletePrincipalPayloadSelect, DisableEmailMfaPayloadSelect, DisableSmsMfaPayloadSelect, DisableTotpPayloadSelect, DisconnectAccountPayloadSelect, EnableEmailMfaPayloadSelect, EnableSmsMfaPayloadSelect, EnableTotpPayloadSelect, EnsureAuthCsrfPayloadSelect, ExchangeNativeHandoffPayloadSelect, ExtendTokenExpiresPayloadSelect, ForgotPasswordPayloadSelect, GenerateBackupCodesPayloadSelect, LinkIdentityPayloadSelect, MintAccessTokenPayloadSelect, ProvisionBucketPayloadSelect, RefreshAccessTokenPayloadSelect, RequestCrossOriginTokenPayloadSelect, RequestDeviceApprovalPayloadSelect, RequestMagicLinkPayloadSelect, ResetPasswordPayloadSelect, RevokeApiKeyPayloadSelect, RevokeOrgApiKeyPayloadSelect, RevokeSessionPayloadSelect, SendAccountDeletionEmailPayloadSelect, SendMfaChallengeCodePayloadSelect, SendPhoneVerificationCodePayloadSelect, SendSmsOtpPayloadSelect, SendStepUpCodePayloadSelect, SendVerificationEmailPayloadSelect, SetPasswordPayloadSelect, SetPrincipalEntitiesPayloadSelect, SetPrincipalScopePayloadSelect, SignInPayloadSelect, SignInCrossOriginPayloadSelect, SignInMagicLinkPayloadSelect, SignInSmsOtpPayloadSelect, SignOutPayloadSelect, SignUpPayloadSelect, SignUpMagicLinkPayloadSelect, SignUpSmsPayloadSelect, UpdatePrincipalPayloadSelect, VerifyEmailPayloadSelect, VerifyPasswordPayloadSelect, VerifyPhonePayloadSelect, VerifyStepUpCodePayloadSelect, VerifyTotpPayloadSelect } from '../input-types';
|
|
9
|
+
import type { ApproveDeviceInput, CancelSignUpHandoffInput, CheckPasswordInput, CompleteMfaChallengeInput, ConfirmDeleteAccountInput, ConfirmTotpSetupInput, CreateApiKeyInput, CreateChildPrincipalInput, CreateOrgApiKeyInput, CreateOrgPrincipalInput, CreatePrincipalInput, CreatePrincipalFromPresetInput, DeleteOrgPrincipalInput, DeletePrincipalInput, DisableEmailMfaInput, DisableSmsMfaInput, DisableTotpInput, DisconnectAccountInput, EnableEmailMfaInput, EnableSmsMfaInput, EnableTotpInput, EnsureAuthCsrfInput, ExchangeNativeHandoffInput, ExtendTokenExpiresInput, ForgotPasswordInput, GenerateBackupCodesInput, LinkIdentityInput, MintAccessTokenInput, ProvisionBucketInput, RefreshAccessTokenInput, RequestCrossOriginTokenInput, RequestDeviceApprovalInput, RequestMagicLinkInput, ResetPasswordInput, RevokeApiKeyInput, RevokeOrgApiKeyInput, RevokeSessionInput, SendAccountDeletionEmailInput, SendMfaChallengeCodeInput, SendPhoneVerificationCodeInput, SendSmsOtpInput, SendStepUpCodeInput, SendVerificationEmailInput, SetPasswordInput, SetPrincipalEntitiesInput, SetPrincipalScopeInput, SignInInput, SignInCrossOriginInput, SignInMagicLinkInput, SignInSmsOtpInput, SignOutInput, SignUpInput, SignUpMagicLinkInput, SignUpSmsInput, UpdatePrincipalInput, VerifyEmailInput, VerifyEmailHandoffInput, VerifyPasswordInput, VerifyPhoneInput, VerifyStepUpCodeInput, VerifyTotpInput, ApproveDevicePayload, CancelSignUpHandoffPayload, CheckPasswordPayload, CompleteMfaChallengePayload, ConfirmDeleteAccountPayload, ConfirmTotpSetupPayload, CreateApiKeyPayload, CreateChildPrincipalPayload, CreateOrgApiKeyPayload, CreateOrgPrincipalPayload, CreatePrincipalPayload, CreatePrincipalFromPresetPayload, DeleteOrgPrincipalPayload, DeletePrincipalPayload, DisableEmailMfaPayload, DisableSmsMfaPayload, DisableTotpPayload, DisconnectAccountPayload, EnableEmailMfaPayload, EnableSmsMfaPayload, EnableTotpPayload, EnsureAuthCsrfPayload, ExchangeNativeHandoffPayload, ExtendTokenExpiresPayload, ForgotPasswordPayload, GenerateBackupCodesPayload, LinkIdentityPayload, MintAccessTokenPayload, ProvisionBucketPayload, RefreshAccessTokenPayload, RequestCrossOriginTokenPayload, RequestDeviceApprovalPayload, RequestMagicLinkPayload, ResetPasswordPayload, RevokeApiKeyPayload, RevokeOrgApiKeyPayload, RevokeSessionPayload, SendAccountDeletionEmailPayload, SendMfaChallengeCodePayload, SendPhoneVerificationCodePayload, SendSmsOtpPayload, SendStepUpCodePayload, SendVerificationEmailPayload, SetPasswordPayload, SetPrincipalEntitiesPayload, SetPrincipalScopePayload, SignInPayload, SignInCrossOriginPayload, SignInMagicLinkPayload, SignInSmsOtpPayload, SignOutPayload, SignUpPayload, SignUpMagicLinkPayload, SignUpSmsPayload, UpdatePrincipalPayload, VerifyEmailPayload, VerifyEmailHandoffPayload, VerifyPasswordPayload, VerifyPhonePayload, VerifyStepUpCodePayload, VerifyTotpPayload, ApproveDevicePayloadSelect, CancelSignUpHandoffPayloadSelect, CheckPasswordPayloadSelect, CompleteMfaChallengePayloadSelect, ConfirmDeleteAccountPayloadSelect, ConfirmTotpSetupPayloadSelect, CreateApiKeyPayloadSelect, CreateChildPrincipalPayloadSelect, CreateOrgApiKeyPayloadSelect, CreateOrgPrincipalPayloadSelect, CreatePrincipalPayloadSelect, CreatePrincipalFromPresetPayloadSelect, DeleteOrgPrincipalPayloadSelect, DeletePrincipalPayloadSelect, DisableEmailMfaPayloadSelect, DisableSmsMfaPayloadSelect, DisableTotpPayloadSelect, DisconnectAccountPayloadSelect, EnableEmailMfaPayloadSelect, EnableSmsMfaPayloadSelect, EnableTotpPayloadSelect, EnsureAuthCsrfPayloadSelect, ExchangeNativeHandoffPayloadSelect, ExtendTokenExpiresPayloadSelect, ForgotPasswordPayloadSelect, GenerateBackupCodesPayloadSelect, LinkIdentityPayloadSelect, MintAccessTokenPayloadSelect, ProvisionBucketPayloadSelect, RefreshAccessTokenPayloadSelect, RequestCrossOriginTokenPayloadSelect, RequestDeviceApprovalPayloadSelect, RequestMagicLinkPayloadSelect, ResetPasswordPayloadSelect, RevokeApiKeyPayloadSelect, RevokeOrgApiKeyPayloadSelect, RevokeSessionPayloadSelect, SendAccountDeletionEmailPayloadSelect, SendMfaChallengeCodePayloadSelect, SendPhoneVerificationCodePayloadSelect, SendSmsOtpPayloadSelect, SendStepUpCodePayloadSelect, SendVerificationEmailPayloadSelect, SetPasswordPayloadSelect, SetPrincipalEntitiesPayloadSelect, SetPrincipalScopePayloadSelect, SignInPayloadSelect, SignInCrossOriginPayloadSelect, SignInMagicLinkPayloadSelect, SignInSmsOtpPayloadSelect, SignOutPayloadSelect, SignUpPayloadSelect, SignUpMagicLinkPayloadSelect, SignUpSmsPayloadSelect, UpdatePrincipalPayloadSelect, VerifyEmailPayloadSelect, VerifyEmailHandoffPayloadSelect, VerifyPasswordPayloadSelect, VerifyPhonePayloadSelect, VerifyStepUpCodePayloadSelect, VerifyTotpPayloadSelect } from '../input-types';
|
|
10
10
|
export interface ApproveDeviceVariables {
|
|
11
11
|
input: ApproveDeviceInput;
|
|
12
12
|
}
|
|
13
|
+
export interface CancelSignUpHandoffVariables {
|
|
14
|
+
input: CancelSignUpHandoffInput;
|
|
15
|
+
}
|
|
13
16
|
export interface CheckPasswordVariables {
|
|
14
17
|
input: CheckPasswordInput;
|
|
15
18
|
}
|
|
@@ -185,6 +188,9 @@ export interface UpdatePrincipalVariables {
|
|
|
185
188
|
export interface VerifyEmailVariables {
|
|
186
189
|
input: VerifyEmailInput;
|
|
187
190
|
}
|
|
191
|
+
export interface VerifyEmailHandoffVariables {
|
|
192
|
+
input: VerifyEmailHandoffInput;
|
|
193
|
+
}
|
|
188
194
|
export interface VerifyPasswordVariables {
|
|
189
195
|
input: VerifyPasswordInput;
|
|
190
196
|
}
|
|
@@ -203,6 +209,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
203
209
|
} & StrictSelect<S, ApproveDevicePayloadSelect>) => QueryBuilder<{
|
|
204
210
|
approveDevice: InferSelectResult<ApproveDevicePayload, S> | null;
|
|
205
211
|
}>;
|
|
212
|
+
cancelSignUpHandoff: <S extends CancelSignUpHandoffPayloadSelect>(args: CancelSignUpHandoffVariables, options: {
|
|
213
|
+
select: S;
|
|
214
|
+
} & StrictSelect<S, CancelSignUpHandoffPayloadSelect>) => QueryBuilder<{
|
|
215
|
+
cancelSignUpHandoff: InferSelectResult<CancelSignUpHandoffPayload, S> | null;
|
|
216
|
+
}>;
|
|
206
217
|
checkPassword: <S extends CheckPasswordPayloadSelect>(args: CheckPasswordVariables, options: {
|
|
207
218
|
select: S;
|
|
208
219
|
} & StrictSelect<S, CheckPasswordPayloadSelect>) => QueryBuilder<{
|
|
@@ -473,6 +484,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
473
484
|
} & StrictSelect<S, VerifyEmailPayloadSelect>) => QueryBuilder<{
|
|
474
485
|
verifyEmail: InferSelectResult<VerifyEmailPayload, S> | null;
|
|
475
486
|
}>;
|
|
487
|
+
verifyEmailHandoff: <S extends VerifyEmailHandoffPayloadSelect>(args: VerifyEmailHandoffVariables, options: {
|
|
488
|
+
select: S;
|
|
489
|
+
} & StrictSelect<S, VerifyEmailHandoffPayloadSelect>) => QueryBuilder<{
|
|
490
|
+
verifyEmailHandoff: InferSelectResult<VerifyEmailHandoffPayload, S> | null;
|
|
491
|
+
}>;
|
|
476
492
|
verifyPassword: <S extends VerifyPasswordPayloadSelect>(args: VerifyPasswordVariables, options: {
|
|
477
493
|
select: S;
|
|
478
494
|
} & StrictSelect<S, VerifyPasswordPayloadSelect>) => QueryBuilder<{
|
|
@@ -14,6 +14,18 @@ export function createMutationOperations(client) {
|
|
|
14
14
|
},
|
|
15
15
|
], connectionFieldsMap, 'ApproveDevicePayload'),
|
|
16
16
|
}),
|
|
17
|
+
cancelSignUpHandoff: (args, options) => new QueryBuilder({
|
|
18
|
+
client,
|
|
19
|
+
operation: 'mutation',
|
|
20
|
+
operationName: 'CancelSignUpHandoff',
|
|
21
|
+
fieldName: 'cancelSignUpHandoff',
|
|
22
|
+
...buildCustomDocument('mutation', 'CancelSignUpHandoff', 'cancelSignUpHandoff', options.select, args, [
|
|
23
|
+
{
|
|
24
|
+
name: 'input',
|
|
25
|
+
type: 'CancelSignUpHandoffInput!',
|
|
26
|
+
},
|
|
27
|
+
], connectionFieldsMap, 'CancelSignUpHandoffPayload'),
|
|
28
|
+
}),
|
|
17
29
|
checkPassword: (args, options) => new QueryBuilder({
|
|
18
30
|
client,
|
|
19
31
|
operation: 'mutation',
|
|
@@ -662,6 +674,18 @@ export function createMutationOperations(client) {
|
|
|
662
674
|
},
|
|
663
675
|
], connectionFieldsMap, 'VerifyEmailPayload'),
|
|
664
676
|
}),
|
|
677
|
+
verifyEmailHandoff: (args, options) => new QueryBuilder({
|
|
678
|
+
client,
|
|
679
|
+
operation: 'mutation',
|
|
680
|
+
operationName: 'VerifyEmailHandoff',
|
|
681
|
+
fieldName: 'verifyEmailHandoff',
|
|
682
|
+
...buildCustomDocument('mutation', 'VerifyEmailHandoff', 'verifyEmailHandoff', options.select, args, [
|
|
683
|
+
{
|
|
684
|
+
name: 'input',
|
|
685
|
+
type: 'VerifyEmailHandoffInput!',
|
|
686
|
+
},
|
|
687
|
+
], connectionFieldsMap, 'VerifyEmailHandoffPayload'),
|
|
688
|
+
}),
|
|
665
689
|
verifyPassword: (args, options) => new QueryBuilder({
|
|
666
690
|
client,
|
|
667
691
|
operation: 'mutation',
|
|
@@ -130,6 +130,11 @@ export interface Base64EncodedBinaryFilter {
|
|
|
130
130
|
/** Not included in the specified list. */
|
|
131
131
|
notIn?: Base64EncodedBinary[];
|
|
132
132
|
}
|
|
133
|
+
export interface CancelSignUpHandoffInput {
|
|
134
|
+
clientMutationId?: string;
|
|
135
|
+
codeChallenge?: string;
|
|
136
|
+
email?: string;
|
|
137
|
+
}
|
|
133
138
|
export interface CheckPasswordInput {
|
|
134
139
|
clientMutationId?: string;
|
|
135
140
|
password?: string;
|
|
@@ -1103,9 +1108,11 @@ export interface SignOutInput {
|
|
|
1103
1108
|
}
|
|
1104
1109
|
export interface SignUpInput {
|
|
1105
1110
|
clientMutationId?: string;
|
|
1111
|
+
codeChallenge?: string;
|
|
1106
1112
|
csrfToken?: string;
|
|
1107
1113
|
email?: string;
|
|
1108
1114
|
inviteToken?: string;
|
|
1115
|
+
nativeRedirectUri?: string;
|
|
1109
1116
|
password?: string;
|
|
1110
1117
|
}
|
|
1111
1118
|
export interface SignUpMagicLinkInput {
|
|
@@ -1563,6 +1570,12 @@ export interface UserToManyWebauthnCredentialFilter {
|
|
|
1563
1570
|
/** Filters to entities where at least one related entity matches. */
|
|
1564
1571
|
some?: WebauthnCredentialFilter;
|
|
1565
1572
|
}
|
|
1573
|
+
export interface VerifyEmailHandoffInput {
|
|
1574
|
+
clientMutationId?: string;
|
|
1575
|
+
emailId?: string;
|
|
1576
|
+
password?: string;
|
|
1577
|
+
token?: string;
|
|
1578
|
+
}
|
|
1566
1579
|
export interface VerifyEmailInput {
|
|
1567
1580
|
clientMutationId?: string;
|
|
1568
1581
|
emailId?: string;
|
|
@@ -1776,6 +1789,7 @@ export interface SignInOptionsRecord {
|
|
|
1776
1789
|
allowWebauthnUsernameless?: boolean | null;
|
|
1777
1790
|
enableCaptcha?: boolean | null;
|
|
1778
1791
|
identityProviders?: unknown | null;
|
|
1792
|
+
nativeSignUpHandoff?: boolean | null;
|
|
1779
1793
|
requireMfa?: boolean | null;
|
|
1780
1794
|
signUpRequiresInvite?: boolean | null;
|
|
1781
1795
|
}
|
|
@@ -1818,6 +1832,9 @@ export interface ApproveDevicePayload {
|
|
|
1818
1832
|
clientMutationId?: string | null;
|
|
1819
1833
|
result?: boolean | null;
|
|
1820
1834
|
}
|
|
1835
|
+
export interface CancelSignUpHandoffPayload {
|
|
1836
|
+
clientMutationId?: string | null;
|
|
1837
|
+
}
|
|
1821
1838
|
export interface CheckPasswordPayload {
|
|
1822
1839
|
clientMutationId?: string | null;
|
|
1823
1840
|
}
|
|
@@ -2196,6 +2213,10 @@ export interface VerifyEmailPayload {
|
|
|
2196
2213
|
clientMutationId?: string | null;
|
|
2197
2214
|
result?: boolean | null;
|
|
2198
2215
|
}
|
|
2216
|
+
export interface VerifyEmailHandoffPayload {
|
|
2217
|
+
clientMutationId?: string | null;
|
|
2218
|
+
result?: VerifyEmailHandoffRecord | null;
|
|
2219
|
+
}
|
|
2199
2220
|
export interface VerifyPasswordPayload {
|
|
2200
2221
|
clientMutationId?: string | null;
|
|
2201
2222
|
result?: boolean | null;
|
|
@@ -2449,6 +2470,12 @@ export interface SignUpSmsRecord {
|
|
|
2449
2470
|
outDeviceToken?: string | null;
|
|
2450
2471
|
userId?: string | null;
|
|
2451
2472
|
}
|
|
2473
|
+
export interface VerifyEmailHandoffRecord {
|
|
2474
|
+
codeChallenge?: string | null;
|
|
2475
|
+
email?: string | null;
|
|
2476
|
+
nativeRedirectUri?: string | null;
|
|
2477
|
+
result?: boolean | null;
|
|
2478
|
+
}
|
|
2452
2479
|
/** Table constraints */
|
|
2453
2480
|
export interface MetaConstraints {
|
|
2454
2481
|
foreignKey: MetaForeignKeyConstraint[];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@constructive-io/react",
|
|
3
|
-
"version": "1.21.
|
|
3
|
+
"version": "1.21.37",
|
|
4
4
|
"author": "Constructive <developers@constructive.io>",
|
|
5
5
|
"description": "Constructive React - Auto-generated React Query hooks and ORM client",
|
|
6
6
|
"main": "index.js",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
],
|
|
42
42
|
"dependencies": {
|
|
43
43
|
"@0no-co/graphql.web": "^1.3.3",
|
|
44
|
-
"@constructive-io/graphql-query": "^4.24.
|
|
45
|
-
"@constructive-io/graphql-types": "^3.36.
|
|
44
|
+
"@constructive-io/graphql-query": "^4.24.11",
|
|
45
|
+
"@constructive-io/graphql-types": "^3.36.4",
|
|
46
46
|
"@tanstack/react-query": "^5.90.21",
|
|
47
47
|
"gql-ast": "^3.26.0",
|
|
48
48
|
"graphql": "16.13.0"
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"react": "^18.0.0 || ^19.0.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@constructive-io/graphql-codegen": "^5.25.
|
|
54
|
+
"@constructive-io/graphql-codegen": "^5.25.37",
|
|
55
55
|
"@types/node": "^22.19.11",
|
|
56
56
|
"@types/react": "^19.2.18",
|
|
57
57
|
"makage": "^0.8.0",
|
|
@@ -59,5 +59,5 @@
|
|
|
59
59
|
"tsx": "^4.19.0",
|
|
60
60
|
"typescript": "^6.0.3"
|
|
61
61
|
},
|
|
62
|
-
"gitHead": "
|
|
62
|
+
"gitHead": "a6b53ff76945ce3542e5e20a61980d74a727e877"
|
|
63
63
|
}
|