@constructive-io/react 1.19.7 → 1.19.8
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/agent/orm/input-types.d.ts +4 -4
- package/agent/schema-types.d.ts +4 -4
- package/api/hooks/index.d.ts +1 -1
- package/api/hooks/index.js +1 -1
- package/api/hooks/invalidation.d.ts +6 -0
- package/api/hooks/invalidation.js +16 -0
- package/api/hooks/mutation-keys.d.ts +12 -0
- package/api/hooks/mutation-keys.js +12 -2
- package/api/hooks/mutations/index.d.ts +1 -0
- package/api/hooks/mutations/index.js +1 -0
- package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +34 -0
- package/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +34 -0
- package/api/hooks/queries/index.d.ts +2 -0
- package/api/hooks/queries/index.js +2 -0
- package/api/hooks/queries/useListSuspendedDatabasesQuery.d.ts +69 -0
- package/api/hooks/queries/useListSuspendedDatabasesQuery.js +38 -0
- package/api/hooks/queries/useListSuspendedDatabasesRecordQuery.d.ts +65 -0
- package/api/hooks/queries/useListSuspendedDatabasesRecordQuery.js +53 -0
- package/api/hooks/query-keys.d.ts +14 -0
- package/api/hooks/query-keys.js +10 -2
- package/api/orm/index.d.ts +2 -0
- package/api/orm/index.js +2 -0
- package/api/orm/input-types.d.ts +60 -30
- package/api/orm/models/index.d.ts +1 -0
- package/api/orm/models/index.js +4 -2
- package/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
- package/api/orm/models/listSuspendedDatabasesRecord.js +80 -0
- package/api/schema-types.d.ts +22 -21
- package/api/types.d.ts +7 -2
- package/auth/hooks/mutation-keys.d.ts +6 -2
- package/auth/hooks/mutation-keys.js +9 -3
- package/auth/hooks/mutations/index.d.ts +3 -1
- package/auth/hooks/mutations/index.js +3 -1
- package/auth/hooks/mutations/useRequestMagicLinkMutation.d.ts +20 -0
- package/auth/hooks/mutations/{useProvisionNewUserMutation.js → useRequestMagicLinkMutation.js} +5 -5
- package/auth/hooks/mutations/useSendMfaChallengeCodeMutation.d.ts +20 -0
- package/auth/hooks/mutations/useSendMfaChallengeCodeMutation.js +26 -0
- package/auth/hooks/mutations/useSendSmsOtpMutation.d.ts +20 -0
- package/auth/hooks/mutations/useSendSmsOtpMutation.js +26 -0
- package/auth/orm/index.d.ts +15 -5
- package/auth/orm/input-types.d.ts +44 -14
- package/auth/orm/mutation/index.d.ts +25 -9
- package/auth/orm/mutation/index.js +36 -12
- package/auth/schema-types.d.ts +29 -10
- package/compute/hooks/index.d.ts +1 -1
- package/compute/hooks/index.js +1 -1
- package/compute/hooks/invalidation.d.ts +12 -0
- package/compute/hooks/invalidation.js +32 -0
- package/compute/hooks/mutation-keys.d.ts +28 -0
- package/compute/hooks/mutation-keys.js +26 -3
- package/compute/hooks/mutations/index.d.ts +8 -0
- package/compute/hooks/mutations/index.js +8 -0
- package/compute/hooks/mutations/useCreateFunctionScheduleMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreateFunctionScheduleMutation.js +34 -0
- package/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.d.ts +34 -0
- package/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.js +34 -0
- package/compute/hooks/mutations/useDeleteFunctionScheduleMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeleteFunctionScheduleMutation.js +39 -0
- package/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.d.ts +38 -0
- package/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.js +39 -0
- package/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.d.ts +20 -0
- package/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.js +26 -0
- package/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.d.ts +20 -0
- package/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.js +26 -0
- package/compute/hooks/mutations/useUpdateFunctionScheduleMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdateFunctionScheduleMutation.js +40 -0
- package/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.d.ts +40 -0
- package/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.js +40 -0
- package/compute/hooks/queries/index.d.ts +4 -0
- package/compute/hooks/queries/index.js +4 -0
- package/compute/hooks/queries/useFunctionScheduleQuery.d.ts +65 -0
- package/compute/hooks/queries/useFunctionScheduleQuery.js +53 -0
- package/compute/hooks/queries/useFunctionSchedulesQuery.d.ts +69 -0
- package/compute/hooks/queries/useFunctionSchedulesQuery.js +38 -0
- package/compute/hooks/queries/usePlatformFunctionScheduleQuery.d.ts +65 -0
- package/compute/hooks/queries/usePlatformFunctionScheduleQuery.js +53 -0
- package/compute/hooks/queries/usePlatformFunctionSchedulesQuery.d.ts +69 -0
- package/compute/hooks/queries/usePlatformFunctionSchedulesQuery.js +38 -0
- package/compute/hooks/query-keys.d.ts +28 -0
- package/compute/hooks/query-keys.js +19 -3
- package/compute/orm/index.d.ts +14 -0
- package/compute/orm/index.js +4 -0
- package/compute/orm/input-types.d.ts +553 -4
- package/compute/orm/input-types.js +2 -0
- package/compute/orm/models/functionSchedule.d.ts +54 -0
- package/compute/orm/models/functionSchedule.js +104 -0
- package/compute/orm/models/index.d.ts +2 -0
- package/compute/orm/models/index.js +7 -3
- package/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
- package/compute/orm/models/platformFunctionSchedule.js +104 -0
- package/compute/orm/mutation/index.d.ts +17 -1
- package/compute/orm/mutation/index.js +24 -0
- package/compute/schema-types.d.ts +319 -1
- package/compute/types.d.ts +29 -0
- package/esm/agent/orm/input-types.d.ts +4 -4
- package/esm/agent/schema-types.d.ts +4 -4
- package/esm/api/hooks/index.d.ts +1 -1
- package/esm/api/hooks/index.js +1 -1
- package/esm/api/hooks/invalidation.d.ts +6 -0
- package/esm/api/hooks/invalidation.js +17 -1
- package/esm/api/hooks/mutation-keys.d.ts +12 -0
- package/esm/api/hooks/mutation-keys.js +10 -0
- package/esm/api/hooks/mutations/index.d.ts +1 -0
- package/esm/api/hooks/mutations/index.js +1 -0
- package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.d.ts +34 -0
- package/esm/api/hooks/mutations/useCreateListSuspendedDatabasesRecordMutation.js +31 -0
- package/esm/api/hooks/queries/index.d.ts +2 -0
- package/esm/api/hooks/queries/index.js +2 -0
- package/esm/api/hooks/queries/useListSuspendedDatabasesQuery.d.ts +69 -0
- package/esm/api/hooks/queries/useListSuspendedDatabasesQuery.js +32 -0
- package/esm/api/hooks/queries/useListSuspendedDatabasesRecordQuery.d.ts +65 -0
- package/esm/api/hooks/queries/useListSuspendedDatabasesRecordQuery.js +47 -0
- package/esm/api/hooks/query-keys.d.ts +14 -0
- package/esm/api/hooks/query-keys.js +8 -0
- package/esm/api/orm/index.d.ts +2 -0
- package/esm/api/orm/index.js +2 -0
- package/esm/api/orm/input-types.d.ts +60 -30
- package/esm/api/orm/models/index.d.ts +1 -0
- package/esm/api/orm/models/index.js +1 -0
- package/esm/api/orm/models/listSuspendedDatabasesRecord.d.ts +36 -0
- package/esm/api/orm/models/listSuspendedDatabasesRecord.js +76 -0
- package/esm/api/schema-types.d.ts +22 -21
- package/esm/api/types.d.ts +7 -2
- package/esm/auth/hooks/mutation-keys.d.ts +6 -2
- package/esm/auth/hooks/mutation-keys.js +9 -3
- package/esm/auth/hooks/mutations/index.d.ts +3 -1
- package/esm/auth/hooks/mutations/index.js +3 -1
- package/esm/auth/hooks/mutations/useRequestMagicLinkMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/{useProvisionNewUserMutation.js → useRequestMagicLinkMutation.js} +4 -4
- package/esm/auth/hooks/mutations/useSendMfaChallengeCodeMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useSendMfaChallengeCodeMutation.js +23 -0
- package/esm/auth/hooks/mutations/useSendSmsOtpMutation.d.ts +20 -0
- package/esm/auth/hooks/mutations/useSendSmsOtpMutation.js +23 -0
- package/esm/auth/orm/index.d.ts +15 -5
- package/esm/auth/orm/input-types.d.ts +44 -14
- package/esm/auth/orm/mutation/index.d.ts +25 -9
- package/esm/auth/orm/mutation/index.js +36 -12
- package/esm/auth/schema-types.d.ts +29 -10
- package/esm/compute/hooks/index.d.ts +1 -1
- package/esm/compute/hooks/index.js +1 -1
- package/esm/compute/hooks/invalidation.d.ts +12 -0
- package/esm/compute/hooks/invalidation.js +33 -1
- package/esm/compute/hooks/mutation-keys.d.ts +28 -0
- package/esm/compute/hooks/mutation-keys.js +23 -0
- package/esm/compute/hooks/mutations/index.d.ts +8 -0
- package/esm/compute/hooks/mutations/index.js +8 -0
- package/esm/compute/hooks/mutations/useCreateFunctionScheduleMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreateFunctionScheduleMutation.js +31 -0
- package/esm/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.d.ts +34 -0
- package/esm/compute/hooks/mutations/useCreatePlatformFunctionScheduleMutation.js +31 -0
- package/esm/compute/hooks/mutations/useDeleteFunctionScheduleMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeleteFunctionScheduleMutation.js +36 -0
- package/esm/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.d.ts +38 -0
- package/esm/compute/hooks/mutations/useDeletePlatformFunctionScheduleMutation.js +36 -0
- package/esm/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/useFunctionExecutionLogsAppendMutation.js +23 -0
- package/esm/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.d.ts +20 -0
- package/esm/compute/hooks/mutations/usePlatformFunctionExecutionLogsAppendMutation.js +23 -0
- package/esm/compute/hooks/mutations/useUpdateFunctionScheduleMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdateFunctionScheduleMutation.js +37 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.d.ts +40 -0
- package/esm/compute/hooks/mutations/useUpdatePlatformFunctionScheduleMutation.js +37 -0
- package/esm/compute/hooks/queries/index.d.ts +4 -0
- package/esm/compute/hooks/queries/index.js +4 -0
- package/esm/compute/hooks/queries/useFunctionScheduleQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/useFunctionScheduleQuery.js +47 -0
- package/esm/compute/hooks/queries/useFunctionSchedulesQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/useFunctionSchedulesQuery.js +32 -0
- package/esm/compute/hooks/queries/usePlatformFunctionScheduleQuery.d.ts +65 -0
- package/esm/compute/hooks/queries/usePlatformFunctionScheduleQuery.js +47 -0
- package/esm/compute/hooks/queries/usePlatformFunctionSchedulesQuery.d.ts +69 -0
- package/esm/compute/hooks/queries/usePlatformFunctionSchedulesQuery.js +32 -0
- package/esm/compute/hooks/query-keys.d.ts +28 -0
- package/esm/compute/hooks/query-keys.js +16 -0
- package/esm/compute/orm/index.d.ts +14 -0
- package/esm/compute/orm/index.js +4 -0
- package/esm/compute/orm/input-types.d.ts +553 -4
- package/esm/compute/orm/input-types.js +2 -0
- package/esm/compute/orm/models/functionSchedule.d.ts +54 -0
- package/esm/compute/orm/models/functionSchedule.js +100 -0
- package/esm/compute/orm/models/index.d.ts +2 -0
- package/esm/compute/orm/models/index.js +2 -0
- package/esm/compute/orm/models/platformFunctionSchedule.d.ts +54 -0
- package/esm/compute/orm/models/platformFunctionSchedule.js +100 -0
- package/esm/compute/orm/mutation/index.d.ts +17 -1
- package/esm/compute/orm/mutation/index.js +24 -0
- package/esm/compute/schema-types.d.ts +319 -1
- package/esm/compute/types.d.ts +29 -0
- package/esm/modules/orm/input-types.d.ts +26 -48
- package/esm/modules/schema-types.d.ts +17 -33
- package/esm/modules/types.d.ts +3 -5
- package/esm/remote/orm/input-types.d.ts +13 -1
- package/esm/remote/schema-types.d.ts +8 -1
- package/esm/remote/types.d.ts +1 -0
- package/modules/orm/input-types.d.ts +26 -48
- package/modules/schema-types.d.ts +17 -33
- package/modules/types.d.ts +3 -5
- package/package.json +2 -2
- package/remote/orm/input-types.d.ts +13 -1
- package/remote/schema-types.d.ts +8 -1
- package/remote/types.d.ts +1 -0
- package/auth/hooks/mutations/useProvisionNewUserMutation.d.ts +0 -20
- package/esm/auth/hooks/mutations/useProvisionNewUserMutation.d.ts +0 -20
|
@@ -1713,7 +1713,6 @@ export interface CheckPasswordInput {
|
|
|
1713
1713
|
password?: string;
|
|
1714
1714
|
}
|
|
1715
1715
|
export interface CompleteMfaChallengeInput {
|
|
1716
|
-
authMethod?: string;
|
|
1717
1716
|
clientMutationId?: string;
|
|
1718
1717
|
credentialKind?: string;
|
|
1719
1718
|
deviceToken?: string;
|
|
@@ -1834,11 +1833,6 @@ export interface ProvisionBucketInput {
|
|
|
1834
1833
|
*/
|
|
1835
1834
|
ownerId?: string;
|
|
1836
1835
|
}
|
|
1837
|
-
export interface ProvisionNewUserInput {
|
|
1838
|
-
clientMutationId?: string;
|
|
1839
|
-
email?: string;
|
|
1840
|
-
password?: string;
|
|
1841
|
-
}
|
|
1842
1836
|
export interface RefreshAccessTokenInput {
|
|
1843
1837
|
clientMutationId?: string;
|
|
1844
1838
|
token?: string;
|
|
@@ -1850,6 +1844,10 @@ export interface RequestCrossOriginTokenInput {
|
|
|
1850
1844
|
password?: string;
|
|
1851
1845
|
rememberMe?: boolean;
|
|
1852
1846
|
}
|
|
1847
|
+
export interface RequestMagicLinkInput {
|
|
1848
|
+
clientMutationId?: string;
|
|
1849
|
+
email?: string;
|
|
1850
|
+
}
|
|
1853
1851
|
export interface ResetPasswordInput {
|
|
1854
1852
|
clientMutationId?: string;
|
|
1855
1853
|
newPassword?: string;
|
|
@@ -1872,10 +1870,20 @@ export interface RevokeSessionInput {
|
|
|
1872
1870
|
export interface SendAccountDeletionEmailInput {
|
|
1873
1871
|
clientMutationId?: string;
|
|
1874
1872
|
}
|
|
1873
|
+
export interface SendMfaChallengeCodeInput {
|
|
1874
|
+
clientMutationId?: string;
|
|
1875
|
+
mfaChallengeToken?: string;
|
|
1876
|
+
mfaMethod?: string;
|
|
1877
|
+
userId?: string;
|
|
1878
|
+
}
|
|
1875
1879
|
export interface SendPhoneVerificationCodeInput {
|
|
1876
1880
|
clientMutationId?: string;
|
|
1877
1881
|
phone?: string;
|
|
1878
1882
|
}
|
|
1883
|
+
export interface SendSmsOtpInput {
|
|
1884
|
+
clientMutationId?: string;
|
|
1885
|
+
phone?: string;
|
|
1886
|
+
}
|
|
1879
1887
|
export interface SendVerificationEmailInput {
|
|
1880
1888
|
clientMutationId?: string;
|
|
1881
1889
|
email?: ConstructiveInternalTypeEmail;
|
|
@@ -3523,14 +3531,6 @@ export type ProvisionBucketPayloadSelect = {
|
|
|
3523
3531
|
jobId?: boolean;
|
|
3524
3532
|
physicalName?: boolean;
|
|
3525
3533
|
};
|
|
3526
|
-
export interface ProvisionNewUserPayload {
|
|
3527
|
-
clientMutationId?: string | null;
|
|
3528
|
-
result?: string | null;
|
|
3529
|
-
}
|
|
3530
|
-
export type ProvisionNewUserPayloadSelect = {
|
|
3531
|
-
clientMutationId?: boolean;
|
|
3532
|
-
result?: boolean;
|
|
3533
|
-
};
|
|
3534
3534
|
export interface RefreshAccessTokenPayload {
|
|
3535
3535
|
clientMutationId?: string | null;
|
|
3536
3536
|
result?: RefreshAccessTokenRecord | null;
|
|
@@ -3549,6 +3549,12 @@ export type RequestCrossOriginTokenPayloadSelect = {
|
|
|
3549
3549
|
clientMutationId?: boolean;
|
|
3550
3550
|
result?: boolean;
|
|
3551
3551
|
};
|
|
3552
|
+
export interface RequestMagicLinkPayload {
|
|
3553
|
+
clientMutationId?: string | null;
|
|
3554
|
+
}
|
|
3555
|
+
export type RequestMagicLinkPayloadSelect = {
|
|
3556
|
+
clientMutationId?: boolean;
|
|
3557
|
+
};
|
|
3552
3558
|
export interface ResetPasswordPayload {
|
|
3553
3559
|
clientMutationId?: string | null;
|
|
3554
3560
|
result?: boolean | null;
|
|
@@ -3589,6 +3595,14 @@ export type SendAccountDeletionEmailPayloadSelect = {
|
|
|
3589
3595
|
clientMutationId?: boolean;
|
|
3590
3596
|
result?: boolean;
|
|
3591
3597
|
};
|
|
3598
|
+
export interface SendMfaChallengeCodePayload {
|
|
3599
|
+
clientMutationId?: string | null;
|
|
3600
|
+
result?: boolean | null;
|
|
3601
|
+
}
|
|
3602
|
+
export type SendMfaChallengeCodePayloadSelect = {
|
|
3603
|
+
clientMutationId?: boolean;
|
|
3604
|
+
result?: boolean;
|
|
3605
|
+
};
|
|
3592
3606
|
export interface SendPhoneVerificationCodePayload {
|
|
3593
3607
|
clientMutationId?: string | null;
|
|
3594
3608
|
result?: boolean | null;
|
|
@@ -3597,6 +3611,14 @@ export type SendPhoneVerificationCodePayloadSelect = {
|
|
|
3597
3611
|
clientMutationId?: boolean;
|
|
3598
3612
|
result?: boolean;
|
|
3599
3613
|
};
|
|
3614
|
+
export interface SendSmsOtpPayload {
|
|
3615
|
+
clientMutationId?: string | null;
|
|
3616
|
+
result?: boolean | null;
|
|
3617
|
+
}
|
|
3618
|
+
export type SendSmsOtpPayloadSelect = {
|
|
3619
|
+
clientMutationId?: boolean;
|
|
3620
|
+
result?: boolean;
|
|
3621
|
+
};
|
|
3600
3622
|
export interface SendVerificationEmailPayload {
|
|
3601
3623
|
clientMutationId?: string | null;
|
|
3602
3624
|
result?: boolean | null;
|
|
@@ -4282,6 +4304,8 @@ export interface SignInMagicLinkRecord {
|
|
|
4282
4304
|
accessToken?: string | null;
|
|
4283
4305
|
accessTokenExpiresAt?: string | null;
|
|
4284
4306
|
deviceApprovalRequired?: boolean | null;
|
|
4307
|
+
mfaChallengeToken?: string | null;
|
|
4308
|
+
mfaRequired?: boolean | null;
|
|
4285
4309
|
outDeviceToken?: string | null;
|
|
4286
4310
|
userId?: string | null;
|
|
4287
4311
|
}
|
|
@@ -4289,6 +4313,8 @@ export type SignInMagicLinkRecordSelect = {
|
|
|
4289
4313
|
accessToken?: boolean;
|
|
4290
4314
|
accessTokenExpiresAt?: boolean;
|
|
4291
4315
|
deviceApprovalRequired?: boolean;
|
|
4316
|
+
mfaChallengeToken?: boolean;
|
|
4317
|
+
mfaRequired?: boolean;
|
|
4292
4318
|
outDeviceToken?: boolean;
|
|
4293
4319
|
userId?: boolean;
|
|
4294
4320
|
};
|
|
@@ -4296,6 +4322,8 @@ export interface SignInSmsOtpRecord {
|
|
|
4296
4322
|
accessToken?: string | null;
|
|
4297
4323
|
accessTokenExpiresAt?: string | null;
|
|
4298
4324
|
deviceApprovalRequired?: boolean | null;
|
|
4325
|
+
mfaChallengeToken?: string | null;
|
|
4326
|
+
mfaRequired?: boolean | null;
|
|
4299
4327
|
outDeviceToken?: string | null;
|
|
4300
4328
|
userId?: string | null;
|
|
4301
4329
|
}
|
|
@@ -4303,6 +4331,8 @@ export type SignInSmsOtpRecordSelect = {
|
|
|
4303
4331
|
accessToken?: boolean;
|
|
4304
4332
|
accessTokenExpiresAt?: boolean;
|
|
4305
4333
|
deviceApprovalRequired?: boolean;
|
|
4334
|
+
mfaChallengeToken?: boolean;
|
|
4335
|
+
mfaRequired?: boolean;
|
|
4306
4336
|
outDeviceToken?: boolean;
|
|
4307
4337
|
userId?: boolean;
|
|
4308
4338
|
};
|
|
@@ -6,7 +6,7 @@
|
|
|
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, CreatePrincipalFromPresetInput, DeleteOrgPrincipalInput, DeletePrincipalInput, DisableEmailMfaInput, DisableSmsMfaInput, DisableTotpInput, DisconnectAccountInput, EnableEmailMfaInput, EnableSmsMfaInput, EnableTotpInput, ExtendTokenExpiresInput, ForgotPasswordInput, GenerateBackupCodesInput, LinkIdentityInput, MintAccessTokenInput, ProvisionBucketInput,
|
|
9
|
+
import type { ApproveDeviceInput, CheckPasswordInput, CompleteMfaChallengeInput, ConfirmDeleteAccountInput, ConfirmTotpSetupInput, CreateApiKeyInput, CreateChildPrincipalInput, CreateOrgApiKeyInput, CreateOrgPrincipalInput, CreatePrincipalFromPresetInput, DeleteOrgPrincipalInput, DeletePrincipalInput, DisableEmailMfaInput, DisableSmsMfaInput, DisableTotpInput, DisconnectAccountInput, EnableEmailMfaInput, EnableSmsMfaInput, EnableTotpInput, ExtendTokenExpiresInput, ForgotPasswordInput, GenerateBackupCodesInput, LinkIdentityInput, MintAccessTokenInput, ProvisionBucketInput, RefreshAccessTokenInput, RequestCrossOriginTokenInput, RequestMagicLinkInput, ResetPasswordInput, RevokeApiKeyInput, RevokeOrgApiKeyInput, RevokeSessionInput, SendAccountDeletionEmailInput, SendMfaChallengeCodeInput, SendPhoneVerificationCodeInput, SendSmsOtpInput, SendVerificationEmailInput, SetPasswordInput, SetPrincipalEntitiesInput, SetPrincipalScopeInput, SignInInput, SignInCrossOriginInput, SignInMagicLinkInput, SignInSmsOtpInput, SignOutInput, SignUpInput, SignUpMagicLinkInput, SignUpSmsInput, UpdatePrincipalInput, VerifyEmailInput, VerifyPasswordInput, VerifyPhoneInput, VerifyTotpInput, ApproveDevicePayload, CheckPasswordPayload, CompleteMfaChallengePayload, ConfirmDeleteAccountPayload, ConfirmTotpSetupPayload, CreateApiKeyPayload, CreateChildPrincipalPayload, CreateOrgApiKeyPayload, CreateOrgPrincipalPayload, CreatePrincipalFromPresetPayload, DeleteOrgPrincipalPayload, DeletePrincipalPayload, DisableEmailMfaPayload, DisableSmsMfaPayload, DisableTotpPayload, DisconnectAccountPayload, EnableEmailMfaPayload, EnableSmsMfaPayload, EnableTotpPayload, ExtendTokenExpiresPayload, ForgotPasswordPayload, GenerateBackupCodesPayload, LinkIdentityPayload, MintAccessTokenPayload, ProvisionBucketPayload, RefreshAccessTokenPayload, RequestCrossOriginTokenPayload, RequestMagicLinkPayload, ResetPasswordPayload, RevokeApiKeyPayload, RevokeOrgApiKeyPayload, RevokeSessionPayload, SendAccountDeletionEmailPayload, SendMfaChallengeCodePayload, SendPhoneVerificationCodePayload, SendSmsOtpPayload, SendVerificationEmailPayload, SetPasswordPayload, SetPrincipalEntitiesPayload, SetPrincipalScopePayload, SignInPayload, SignInCrossOriginPayload, SignInMagicLinkPayload, SignInSmsOtpPayload, SignOutPayload, SignUpPayload, SignUpMagicLinkPayload, SignUpSmsPayload, UpdatePrincipalPayload, VerifyEmailPayload, VerifyPasswordPayload, VerifyPhonePayload, VerifyTotpPayload, ApproveDevicePayloadSelect, CheckPasswordPayloadSelect, CompleteMfaChallengePayloadSelect, ConfirmDeleteAccountPayloadSelect, ConfirmTotpSetupPayloadSelect, CreateApiKeyPayloadSelect, CreateChildPrincipalPayloadSelect, CreateOrgApiKeyPayloadSelect, CreateOrgPrincipalPayloadSelect, CreatePrincipalFromPresetPayloadSelect, DeleteOrgPrincipalPayloadSelect, DeletePrincipalPayloadSelect, DisableEmailMfaPayloadSelect, DisableSmsMfaPayloadSelect, DisableTotpPayloadSelect, DisconnectAccountPayloadSelect, EnableEmailMfaPayloadSelect, EnableSmsMfaPayloadSelect, EnableTotpPayloadSelect, ExtendTokenExpiresPayloadSelect, ForgotPasswordPayloadSelect, GenerateBackupCodesPayloadSelect, LinkIdentityPayloadSelect, MintAccessTokenPayloadSelect, ProvisionBucketPayloadSelect, RefreshAccessTokenPayloadSelect, RequestCrossOriginTokenPayloadSelect, RequestMagicLinkPayloadSelect, ResetPasswordPayloadSelect, RevokeApiKeyPayloadSelect, RevokeOrgApiKeyPayloadSelect, RevokeSessionPayloadSelect, SendAccountDeletionEmailPayloadSelect, SendMfaChallengeCodePayloadSelect, SendPhoneVerificationCodePayloadSelect, SendSmsOtpPayloadSelect, SendVerificationEmailPayloadSelect, SetPasswordPayloadSelect, SetPrincipalEntitiesPayloadSelect, SetPrincipalScopePayloadSelect, SignInPayloadSelect, SignInCrossOriginPayloadSelect, SignInMagicLinkPayloadSelect, SignInSmsOtpPayloadSelect, SignOutPayloadSelect, SignUpPayloadSelect, SignUpMagicLinkPayloadSelect, SignUpSmsPayloadSelect, UpdatePrincipalPayloadSelect, VerifyEmailPayloadSelect, VerifyPasswordPayloadSelect, VerifyPhonePayloadSelect, VerifyTotpPayloadSelect } from '../input-types';
|
|
10
10
|
export interface ApproveDeviceVariables {
|
|
11
11
|
input: ApproveDeviceInput;
|
|
12
12
|
}
|
|
@@ -90,15 +90,15 @@ GraphQL errors.
|
|
|
90
90
|
export interface ProvisionBucketVariables {
|
|
91
91
|
input: ProvisionBucketInput;
|
|
92
92
|
}
|
|
93
|
-
export interface ProvisionNewUserVariables {
|
|
94
|
-
input: ProvisionNewUserInput;
|
|
95
|
-
}
|
|
96
93
|
export interface RefreshAccessTokenVariables {
|
|
97
94
|
input: RefreshAccessTokenInput;
|
|
98
95
|
}
|
|
99
96
|
export interface RequestCrossOriginTokenVariables {
|
|
100
97
|
input: RequestCrossOriginTokenInput;
|
|
101
98
|
}
|
|
99
|
+
export interface RequestMagicLinkVariables {
|
|
100
|
+
input: RequestMagicLinkInput;
|
|
101
|
+
}
|
|
102
102
|
export interface ResetPasswordVariables {
|
|
103
103
|
input: ResetPasswordInput;
|
|
104
104
|
}
|
|
@@ -114,9 +114,15 @@ export interface RevokeSessionVariables {
|
|
|
114
114
|
export interface SendAccountDeletionEmailVariables {
|
|
115
115
|
input: SendAccountDeletionEmailInput;
|
|
116
116
|
}
|
|
117
|
+
export interface SendMfaChallengeCodeVariables {
|
|
118
|
+
input: SendMfaChallengeCodeInput;
|
|
119
|
+
}
|
|
117
120
|
export interface SendPhoneVerificationCodeVariables {
|
|
118
121
|
input: SendPhoneVerificationCodeInput;
|
|
119
122
|
}
|
|
123
|
+
export interface SendSmsOtpVariables {
|
|
124
|
+
input: SendSmsOtpInput;
|
|
125
|
+
}
|
|
120
126
|
export interface SendVerificationEmailVariables {
|
|
121
127
|
input: SendVerificationEmailInput;
|
|
122
128
|
}
|
|
@@ -294,11 +300,6 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
294
300
|
} & StrictSelect<S, ProvisionBucketPayloadSelect>) => QueryBuilder<{
|
|
295
301
|
provisionBucket: InferSelectResult<ProvisionBucketPayload, S> | null;
|
|
296
302
|
}>;
|
|
297
|
-
provisionNewUser: <S extends ProvisionNewUserPayloadSelect>(args: ProvisionNewUserVariables, options: {
|
|
298
|
-
select: S;
|
|
299
|
-
} & StrictSelect<S, ProvisionNewUserPayloadSelect>) => QueryBuilder<{
|
|
300
|
-
provisionNewUser: InferSelectResult<ProvisionNewUserPayload, S> | null;
|
|
301
|
-
}>;
|
|
302
303
|
refreshAccessToken: <S extends RefreshAccessTokenPayloadSelect>(args: RefreshAccessTokenVariables, options: {
|
|
303
304
|
select: S;
|
|
304
305
|
} & StrictSelect<S, RefreshAccessTokenPayloadSelect>) => QueryBuilder<{
|
|
@@ -309,6 +310,11 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
309
310
|
} & StrictSelect<S, RequestCrossOriginTokenPayloadSelect>) => QueryBuilder<{
|
|
310
311
|
requestCrossOriginToken: InferSelectResult<RequestCrossOriginTokenPayload, S> | null;
|
|
311
312
|
}>;
|
|
313
|
+
requestMagicLink: <S extends RequestMagicLinkPayloadSelect>(args: RequestMagicLinkVariables, options: {
|
|
314
|
+
select: S;
|
|
315
|
+
} & StrictSelect<S, RequestMagicLinkPayloadSelect>) => QueryBuilder<{
|
|
316
|
+
requestMagicLink: InferSelectResult<RequestMagicLinkPayload, S> | null;
|
|
317
|
+
}>;
|
|
312
318
|
resetPassword: <S extends ResetPasswordPayloadSelect>(args: ResetPasswordVariables, options: {
|
|
313
319
|
select: S;
|
|
314
320
|
} & StrictSelect<S, ResetPasswordPayloadSelect>) => QueryBuilder<{
|
|
@@ -334,11 +340,21 @@ export declare function createMutationOperations(client: OrmClient): {
|
|
|
334
340
|
} & StrictSelect<S, SendAccountDeletionEmailPayloadSelect>) => QueryBuilder<{
|
|
335
341
|
sendAccountDeletionEmail: InferSelectResult<SendAccountDeletionEmailPayload, S> | null;
|
|
336
342
|
}>;
|
|
343
|
+
sendMfaChallengeCode: <S extends SendMfaChallengeCodePayloadSelect>(args: SendMfaChallengeCodeVariables, options: {
|
|
344
|
+
select: S;
|
|
345
|
+
} & StrictSelect<S, SendMfaChallengeCodePayloadSelect>) => QueryBuilder<{
|
|
346
|
+
sendMfaChallengeCode: InferSelectResult<SendMfaChallengeCodePayload, S> | null;
|
|
347
|
+
}>;
|
|
337
348
|
sendPhoneVerificationCode: <S extends SendPhoneVerificationCodePayloadSelect>(args: SendPhoneVerificationCodeVariables, options: {
|
|
338
349
|
select: S;
|
|
339
350
|
} & StrictSelect<S, SendPhoneVerificationCodePayloadSelect>) => QueryBuilder<{
|
|
340
351
|
sendPhoneVerificationCode: InferSelectResult<SendPhoneVerificationCodePayload, S> | null;
|
|
341
352
|
}>;
|
|
353
|
+
sendSmsOtp: <S extends SendSmsOtpPayloadSelect>(args: SendSmsOtpVariables, options: {
|
|
354
|
+
select: S;
|
|
355
|
+
} & StrictSelect<S, SendSmsOtpPayloadSelect>) => QueryBuilder<{
|
|
356
|
+
sendSmsOtp: InferSelectResult<SendSmsOtpPayload, S> | null;
|
|
357
|
+
}>;
|
|
342
358
|
sendVerificationEmail: <S extends SendVerificationEmailPayloadSelect>(args: SendVerificationEmailVariables, options: {
|
|
343
359
|
select: S;
|
|
344
360
|
} & StrictSelect<S, SendVerificationEmailPayloadSelect>) => QueryBuilder<{
|
|
@@ -305,18 +305,6 @@ function createMutationOperations(client) {
|
|
|
305
305
|
},
|
|
306
306
|
], input_types_1.connectionFieldsMap, 'ProvisionBucketPayload'),
|
|
307
307
|
}),
|
|
308
|
-
provisionNewUser: (args, options) => new query_builder_1.QueryBuilder({
|
|
309
|
-
client,
|
|
310
|
-
operation: 'mutation',
|
|
311
|
-
operationName: 'ProvisionNewUser',
|
|
312
|
-
fieldName: 'provisionNewUser',
|
|
313
|
-
...(0, query_builder_1.buildCustomDocument)('mutation', 'ProvisionNewUser', 'provisionNewUser', options.select, args, [
|
|
314
|
-
{
|
|
315
|
-
name: 'input',
|
|
316
|
-
type: 'ProvisionNewUserInput!',
|
|
317
|
-
},
|
|
318
|
-
], input_types_1.connectionFieldsMap, 'ProvisionNewUserPayload'),
|
|
319
|
-
}),
|
|
320
308
|
refreshAccessToken: (args, options) => new query_builder_1.QueryBuilder({
|
|
321
309
|
client,
|
|
322
310
|
operation: 'mutation',
|
|
@@ -341,6 +329,18 @@ function createMutationOperations(client) {
|
|
|
341
329
|
},
|
|
342
330
|
], input_types_1.connectionFieldsMap, 'RequestCrossOriginTokenPayload'),
|
|
343
331
|
}),
|
|
332
|
+
requestMagicLink: (args, options) => new query_builder_1.QueryBuilder({
|
|
333
|
+
client,
|
|
334
|
+
operation: 'mutation',
|
|
335
|
+
operationName: 'RequestMagicLink',
|
|
336
|
+
fieldName: 'requestMagicLink',
|
|
337
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'RequestMagicLink', 'requestMagicLink', options.select, args, [
|
|
338
|
+
{
|
|
339
|
+
name: 'input',
|
|
340
|
+
type: 'RequestMagicLinkInput!',
|
|
341
|
+
},
|
|
342
|
+
], input_types_1.connectionFieldsMap, 'RequestMagicLinkPayload'),
|
|
343
|
+
}),
|
|
344
344
|
resetPassword: (args, options) => new query_builder_1.QueryBuilder({
|
|
345
345
|
client,
|
|
346
346
|
operation: 'mutation',
|
|
@@ -401,6 +401,18 @@ function createMutationOperations(client) {
|
|
|
401
401
|
},
|
|
402
402
|
], input_types_1.connectionFieldsMap, 'SendAccountDeletionEmailPayload'),
|
|
403
403
|
}),
|
|
404
|
+
sendMfaChallengeCode: (args, options) => new query_builder_1.QueryBuilder({
|
|
405
|
+
client,
|
|
406
|
+
operation: 'mutation',
|
|
407
|
+
operationName: 'SendMfaChallengeCode',
|
|
408
|
+
fieldName: 'sendMfaChallengeCode',
|
|
409
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SendMfaChallengeCode', 'sendMfaChallengeCode', options.select, args, [
|
|
410
|
+
{
|
|
411
|
+
name: 'input',
|
|
412
|
+
type: 'SendMfaChallengeCodeInput!',
|
|
413
|
+
},
|
|
414
|
+
], input_types_1.connectionFieldsMap, 'SendMfaChallengeCodePayload'),
|
|
415
|
+
}),
|
|
404
416
|
sendPhoneVerificationCode: (args, options) => new query_builder_1.QueryBuilder({
|
|
405
417
|
client,
|
|
406
418
|
operation: 'mutation',
|
|
@@ -413,6 +425,18 @@ function createMutationOperations(client) {
|
|
|
413
425
|
},
|
|
414
426
|
], input_types_1.connectionFieldsMap, 'SendPhoneVerificationCodePayload'),
|
|
415
427
|
}),
|
|
428
|
+
sendSmsOtp: (args, options) => new query_builder_1.QueryBuilder({
|
|
429
|
+
client,
|
|
430
|
+
operation: 'mutation',
|
|
431
|
+
operationName: 'SendSmsOtp',
|
|
432
|
+
fieldName: 'sendSmsOtp',
|
|
433
|
+
...(0, query_builder_1.buildCustomDocument)('mutation', 'SendSmsOtp', 'sendSmsOtp', options.select, args, [
|
|
434
|
+
{
|
|
435
|
+
name: 'input',
|
|
436
|
+
type: 'SendSmsOtpInput!',
|
|
437
|
+
},
|
|
438
|
+
], input_types_1.connectionFieldsMap, 'SendSmsOtpPayload'),
|
|
439
|
+
}),
|
|
416
440
|
sendVerificationEmail: (args, options) => new query_builder_1.QueryBuilder({
|
|
417
441
|
client,
|
|
418
442
|
operation: 'mutation',
|
package/auth/schema-types.d.ts
CHANGED
|
@@ -135,7 +135,6 @@ export interface CheckPasswordInput {
|
|
|
135
135
|
password?: string;
|
|
136
136
|
}
|
|
137
137
|
export interface CompleteMfaChallengeInput {
|
|
138
|
-
authMethod?: string;
|
|
139
138
|
clientMutationId?: string;
|
|
140
139
|
credentialKind?: string;
|
|
141
140
|
deviceToken?: string;
|
|
@@ -951,11 +950,6 @@ export interface ProvisionBucketInput {
|
|
|
951
950
|
*/
|
|
952
951
|
ownerId?: string;
|
|
953
952
|
}
|
|
954
|
-
export interface ProvisionNewUserInput {
|
|
955
|
-
clientMutationId?: string;
|
|
956
|
-
email?: string;
|
|
957
|
-
password?: string;
|
|
958
|
-
}
|
|
959
953
|
export interface RefreshAccessTokenInput {
|
|
960
954
|
clientMutationId?: string;
|
|
961
955
|
token?: string;
|
|
@@ -967,6 +961,10 @@ export interface RequestCrossOriginTokenInput {
|
|
|
967
961
|
password?: string;
|
|
968
962
|
rememberMe?: boolean;
|
|
969
963
|
}
|
|
964
|
+
export interface RequestMagicLinkInput {
|
|
965
|
+
clientMutationId?: string;
|
|
966
|
+
email?: string;
|
|
967
|
+
}
|
|
970
968
|
export interface ResetPasswordInput {
|
|
971
969
|
clientMutationId?: string;
|
|
972
970
|
newPassword?: string;
|
|
@@ -1012,10 +1010,20 @@ export interface RoleTypePatch {
|
|
|
1012
1010
|
export interface SendAccountDeletionEmailInput {
|
|
1013
1011
|
clientMutationId?: string;
|
|
1014
1012
|
}
|
|
1013
|
+
export interface SendMfaChallengeCodeInput {
|
|
1014
|
+
clientMutationId?: string;
|
|
1015
|
+
mfaChallengeToken?: string;
|
|
1016
|
+
mfaMethod?: string;
|
|
1017
|
+
userId?: string;
|
|
1018
|
+
}
|
|
1015
1019
|
export interface SendPhoneVerificationCodeInput {
|
|
1016
1020
|
clientMutationId?: string;
|
|
1017
1021
|
phone?: string;
|
|
1018
1022
|
}
|
|
1023
|
+
export interface SendSmsOtpInput {
|
|
1024
|
+
clientMutationId?: string;
|
|
1025
|
+
phone?: string;
|
|
1026
|
+
}
|
|
1019
1027
|
export interface SendVerificationEmailInput {
|
|
1020
1028
|
clientMutationId?: string;
|
|
1021
1029
|
email?: ConstructiveInternalTypeEmail;
|
|
@@ -1979,10 +1987,6 @@ export interface ProvisionBucketPayload {
|
|
|
1979
1987
|
/** The physical bucket name already recorded, or null when reconciliation has not completed. */
|
|
1980
1988
|
physicalName?: string | null;
|
|
1981
1989
|
}
|
|
1982
|
-
export interface ProvisionNewUserPayload {
|
|
1983
|
-
clientMutationId?: string | null;
|
|
1984
|
-
result?: string | null;
|
|
1985
|
-
}
|
|
1986
1990
|
export interface RefreshAccessTokenPayload {
|
|
1987
1991
|
clientMutationId?: string | null;
|
|
1988
1992
|
result?: RefreshAccessTokenRecord | null;
|
|
@@ -1991,6 +1995,9 @@ export interface RequestCrossOriginTokenPayload {
|
|
|
1991
1995
|
clientMutationId?: string | null;
|
|
1992
1996
|
result?: string | null;
|
|
1993
1997
|
}
|
|
1998
|
+
export interface RequestMagicLinkPayload {
|
|
1999
|
+
clientMutationId?: string | null;
|
|
2000
|
+
}
|
|
1994
2001
|
export interface ResetPasswordPayload {
|
|
1995
2002
|
clientMutationId?: string | null;
|
|
1996
2003
|
result?: boolean | null;
|
|
@@ -2011,10 +2018,18 @@ export interface SendAccountDeletionEmailPayload {
|
|
|
2011
2018
|
clientMutationId?: string | null;
|
|
2012
2019
|
result?: boolean | null;
|
|
2013
2020
|
}
|
|
2021
|
+
export interface SendMfaChallengeCodePayload {
|
|
2022
|
+
clientMutationId?: string | null;
|
|
2023
|
+
result?: boolean | null;
|
|
2024
|
+
}
|
|
2014
2025
|
export interface SendPhoneVerificationCodePayload {
|
|
2015
2026
|
clientMutationId?: string | null;
|
|
2016
2027
|
result?: boolean | null;
|
|
2017
2028
|
}
|
|
2029
|
+
export interface SendSmsOtpPayload {
|
|
2030
|
+
clientMutationId?: string | null;
|
|
2031
|
+
result?: boolean | null;
|
|
2032
|
+
}
|
|
2018
2033
|
export interface SendVerificationEmailPayload {
|
|
2019
2034
|
clientMutationId?: string | null;
|
|
2020
2035
|
result?: boolean | null;
|
|
@@ -2328,6 +2343,8 @@ export interface SignInMagicLinkRecord {
|
|
|
2328
2343
|
accessToken?: string | null;
|
|
2329
2344
|
accessTokenExpiresAt?: string | null;
|
|
2330
2345
|
deviceApprovalRequired?: boolean | null;
|
|
2346
|
+
mfaChallengeToken?: string | null;
|
|
2347
|
+
mfaRequired?: boolean | null;
|
|
2331
2348
|
outDeviceToken?: string | null;
|
|
2332
2349
|
userId?: string | null;
|
|
2333
2350
|
}
|
|
@@ -2335,6 +2352,8 @@ export interface SignInSmsOtpRecord {
|
|
|
2335
2352
|
accessToken?: string | null;
|
|
2336
2353
|
accessTokenExpiresAt?: string | null;
|
|
2337
2354
|
deviceApprovalRequired?: boolean | null;
|
|
2355
|
+
mfaChallengeToken?: string | null;
|
|
2356
|
+
mfaRequired?: boolean | null;
|
|
2338
2357
|
outDeviceToken?: string | null;
|
|
2339
2358
|
userId?: string | null;
|
|
2340
2359
|
}
|
package/compute/hooks/index.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GraphQL SDK
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
*
|
|
5
|
-
* Tables: Build, BuildStep, BuilderBinding, ContentPreset, DatabaseFunctionGraph, DatabaseFunctionGraphExecution, DatabaseFunctionGraphExecutionNodeState, DatabaseFunctionGraphExecutionOutput, DatabaseGraphCommit, DatabaseGraphGetAllTreeNodesRecord, DatabaseGraphObject, DatabaseGraphRef, DatabaseGraphStore, DbPreset, FunctionApiBinding, FunctionCapabilityBinding, FunctionDefinition, FunctionDeployment, FunctionDeploymentEvent, FunctionExecutionLog, FunctionGraphCommit, FunctionGraph, FunctionGraphExecution, FunctionGraphExecutionNodeState, FunctionGraphExecutionOutput, FunctionGraphObject, FunctionGraphRef, FunctionGraphStore, FunctionInvocationAttempt, FunctionInvocation, GetAllTreeNodesRecord, Image, ImageGrant, InfraCommit, InfraGetAllTreeNodesRecord, InfraObject, InfraRef, InfraStore, IntegrationProvider, Namespace, NamespaceEvent, PlatformBuild, PlatformBuildStep, PlatformBuilderBinding, PlatformFunctionApiBinding, PlatformFunctionCapabilityBinding, PlatformFunctionDefinition, PlatformFunctionDeployment, PlatformFunctionDeploymentEvent, PlatformFunctionExecutionLog, PlatformFunctionInvocationAttempt, PlatformFunctionInvocation, PlatformImage, PlatformImageGrant, PlatformInfraCommit, PlatformInfraGetAllTreeNodesRecord, PlatformInfraObject, PlatformInfraRef, PlatformInfraStore, PlatformK8sResourceKind, PlatformK8sSpecRule, PlatformNamespace, PlatformNamespaceEvent, PlatformProposalComment, PlatformProposal, PlatformProposalFileView, PlatformProposalReaction, PlatformProposalReview, PlatformProposalsChunk, PlatformRegistryBinding, PlatformRegistry, PlatformRegistryGrant, PlatformRepository, PlatformRepositoryEvent, PlatformRepositoryRequiredCheck, PlatformRepositoryWorkflow, PlatformResource, PlatformResourceDeclaredCapacity, PlatformResourceDefinition, PlatformResourceEvent, PlatformResourceInstallation, PlatformResourceObservedStorage, PlatformResourceStatusCheck, PlatformResourceUsageLog, PlatformResourceUsageSummary, PlatformResourceUtilization, PlatformResourcesHealth, PlatformResourcesRequirementsState, PlatformResourcesResolvedRequirement, PlatformWebhookEndpoint, PlatformWebhookEvent, ProposalComment, Proposal, ProposalFileView, ProposalReaction, ProposalReview, ProposalsChunk, RegistryBinding, Registry, RegistryGrant, Repository, RepositoryEvent, RepositoryRequiredCheck, RepositoryWorkflow, Resource, ResourceDeclaredCapacity, ResourceDefinition, ResourceEvent, ResourceInstallation, ResourceObservedStorage, ResourceStatusCheck, ResourceUsageLog, ResourceUsageSummary, ResourceUtilization, ResourcesHealth, ResourcesRequirementsState, ResourcesResolvedRequirement, WebhookEndpoint, WebhookEvent
|
|
5
|
+
* Tables: Build, BuildStep, BuilderBinding, ContentPreset, DatabaseFunctionGraph, DatabaseFunctionGraphExecution, DatabaseFunctionGraphExecutionNodeState, DatabaseFunctionGraphExecutionOutput, DatabaseGraphCommit, DatabaseGraphGetAllTreeNodesRecord, DatabaseGraphObject, DatabaseGraphRef, DatabaseGraphStore, DbPreset, FunctionApiBinding, FunctionCapabilityBinding, FunctionDefinition, FunctionDeployment, FunctionDeploymentEvent, FunctionExecutionLog, FunctionGraphCommit, FunctionGraph, FunctionGraphExecution, FunctionGraphExecutionNodeState, FunctionGraphExecutionOutput, FunctionGraphObject, FunctionGraphRef, FunctionGraphStore, FunctionInvocationAttempt, FunctionInvocation, FunctionSchedule, GetAllTreeNodesRecord, Image, ImageGrant, InfraCommit, InfraGetAllTreeNodesRecord, InfraObject, InfraRef, InfraStore, IntegrationProvider, Namespace, NamespaceEvent, PlatformBuild, PlatformBuildStep, PlatformBuilderBinding, PlatformFunctionApiBinding, PlatformFunctionCapabilityBinding, PlatformFunctionDefinition, PlatformFunctionDeployment, PlatformFunctionDeploymentEvent, PlatformFunctionExecutionLog, PlatformFunctionInvocationAttempt, PlatformFunctionInvocation, PlatformFunctionSchedule, PlatformImage, PlatformImageGrant, PlatformInfraCommit, PlatformInfraGetAllTreeNodesRecord, PlatformInfraObject, PlatformInfraRef, PlatformInfraStore, PlatformK8sResourceKind, PlatformK8sSpecRule, PlatformNamespace, PlatformNamespaceEvent, PlatformProposalComment, PlatformProposal, PlatformProposalFileView, PlatformProposalReaction, PlatformProposalReview, PlatformProposalsChunk, PlatformRegistryBinding, PlatformRegistry, PlatformRegistryGrant, PlatformRepository, PlatformRepositoryEvent, PlatformRepositoryRequiredCheck, PlatformRepositoryWorkflow, PlatformResource, PlatformResourceDeclaredCapacity, PlatformResourceDefinition, PlatformResourceEvent, PlatformResourceInstallation, PlatformResourceObservedStorage, PlatformResourceStatusCheck, PlatformResourceUsageLog, PlatformResourceUsageSummary, PlatformResourceUtilization, PlatformResourcesHealth, PlatformResourcesRequirementsState, PlatformResourcesResolvedRequirement, PlatformWebhookEndpoint, PlatformWebhookEvent, ProposalComment, Proposal, ProposalFileView, ProposalReaction, ProposalReview, ProposalsChunk, RegistryBinding, Registry, RegistryGrant, Repository, RepositoryEvent, RepositoryRequiredCheck, RepositoryWorkflow, Resource, ResourceDeclaredCapacity, ResourceDefinition, ResourceEvent, ResourceInstallation, ResourceObservedStorage, ResourceStatusCheck, ResourceUsageLog, ResourceUsageSummary, ResourceUtilization, ResourcesHealth, ResourcesRequirementsState, ResourcesResolvedRequirement, WebhookEndpoint, WebhookEvent
|
|
6
6
|
*
|
|
7
7
|
* Usage:
|
|
8
8
|
*
|
package/compute/hooks/index.js
CHANGED
|
@@ -18,7 +18,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
18
18
|
* GraphQL SDK
|
|
19
19
|
* @generated by @constructive-io/graphql-codegen
|
|
20
20
|
*
|
|
21
|
-
* Tables: Build, BuildStep, BuilderBinding, ContentPreset, DatabaseFunctionGraph, DatabaseFunctionGraphExecution, DatabaseFunctionGraphExecutionNodeState, DatabaseFunctionGraphExecutionOutput, DatabaseGraphCommit, DatabaseGraphGetAllTreeNodesRecord, DatabaseGraphObject, DatabaseGraphRef, DatabaseGraphStore, DbPreset, FunctionApiBinding, FunctionCapabilityBinding, FunctionDefinition, FunctionDeployment, FunctionDeploymentEvent, FunctionExecutionLog, FunctionGraphCommit, FunctionGraph, FunctionGraphExecution, FunctionGraphExecutionNodeState, FunctionGraphExecutionOutput, FunctionGraphObject, FunctionGraphRef, FunctionGraphStore, FunctionInvocationAttempt, FunctionInvocation, GetAllTreeNodesRecord, Image, ImageGrant, InfraCommit, InfraGetAllTreeNodesRecord, InfraObject, InfraRef, InfraStore, IntegrationProvider, Namespace, NamespaceEvent, PlatformBuild, PlatformBuildStep, PlatformBuilderBinding, PlatformFunctionApiBinding, PlatformFunctionCapabilityBinding, PlatformFunctionDefinition, PlatformFunctionDeployment, PlatformFunctionDeploymentEvent, PlatformFunctionExecutionLog, PlatformFunctionInvocationAttempt, PlatformFunctionInvocation, PlatformImage, PlatformImageGrant, PlatformInfraCommit, PlatformInfraGetAllTreeNodesRecord, PlatformInfraObject, PlatformInfraRef, PlatformInfraStore, PlatformK8sResourceKind, PlatformK8sSpecRule, PlatformNamespace, PlatformNamespaceEvent, PlatformProposalComment, PlatformProposal, PlatformProposalFileView, PlatformProposalReaction, PlatformProposalReview, PlatformProposalsChunk, PlatformRegistryBinding, PlatformRegistry, PlatformRegistryGrant, PlatformRepository, PlatformRepositoryEvent, PlatformRepositoryRequiredCheck, PlatformRepositoryWorkflow, PlatformResource, PlatformResourceDeclaredCapacity, PlatformResourceDefinition, PlatformResourceEvent, PlatformResourceInstallation, PlatformResourceObservedStorage, PlatformResourceStatusCheck, PlatformResourceUsageLog, PlatformResourceUsageSummary, PlatformResourceUtilization, PlatformResourcesHealth, PlatformResourcesRequirementsState, PlatformResourcesResolvedRequirement, PlatformWebhookEndpoint, PlatformWebhookEvent, ProposalComment, Proposal, ProposalFileView, ProposalReaction, ProposalReview, ProposalsChunk, RegistryBinding, Registry, RegistryGrant, Repository, RepositoryEvent, RepositoryRequiredCheck, RepositoryWorkflow, Resource, ResourceDeclaredCapacity, ResourceDefinition, ResourceEvent, ResourceInstallation, ResourceObservedStorage, ResourceStatusCheck, ResourceUsageLog, ResourceUsageSummary, ResourceUtilization, ResourcesHealth, ResourcesRequirementsState, ResourcesResolvedRequirement, WebhookEndpoint, WebhookEvent
|
|
21
|
+
* Tables: Build, BuildStep, BuilderBinding, ContentPreset, DatabaseFunctionGraph, DatabaseFunctionGraphExecution, DatabaseFunctionGraphExecutionNodeState, DatabaseFunctionGraphExecutionOutput, DatabaseGraphCommit, DatabaseGraphGetAllTreeNodesRecord, DatabaseGraphObject, DatabaseGraphRef, DatabaseGraphStore, DbPreset, FunctionApiBinding, FunctionCapabilityBinding, FunctionDefinition, FunctionDeployment, FunctionDeploymentEvent, FunctionExecutionLog, FunctionGraphCommit, FunctionGraph, FunctionGraphExecution, FunctionGraphExecutionNodeState, FunctionGraphExecutionOutput, FunctionGraphObject, FunctionGraphRef, FunctionGraphStore, FunctionInvocationAttempt, FunctionInvocation, FunctionSchedule, GetAllTreeNodesRecord, Image, ImageGrant, InfraCommit, InfraGetAllTreeNodesRecord, InfraObject, InfraRef, InfraStore, IntegrationProvider, Namespace, NamespaceEvent, PlatformBuild, PlatformBuildStep, PlatformBuilderBinding, PlatformFunctionApiBinding, PlatformFunctionCapabilityBinding, PlatformFunctionDefinition, PlatformFunctionDeployment, PlatformFunctionDeploymentEvent, PlatformFunctionExecutionLog, PlatformFunctionInvocationAttempt, PlatformFunctionInvocation, PlatformFunctionSchedule, PlatformImage, PlatformImageGrant, PlatformInfraCommit, PlatformInfraGetAllTreeNodesRecord, PlatformInfraObject, PlatformInfraRef, PlatformInfraStore, PlatformK8sResourceKind, PlatformK8sSpecRule, PlatformNamespace, PlatformNamespaceEvent, PlatformProposalComment, PlatformProposal, PlatformProposalFileView, PlatformProposalReaction, PlatformProposalReview, PlatformProposalsChunk, PlatformRegistryBinding, PlatformRegistry, PlatformRegistryGrant, PlatformRepository, PlatformRepositoryEvent, PlatformRepositoryRequiredCheck, PlatformRepositoryWorkflow, PlatformResource, PlatformResourceDeclaredCapacity, PlatformResourceDefinition, PlatformResourceEvent, PlatformResourceInstallation, PlatformResourceObservedStorage, PlatformResourceStatusCheck, PlatformResourceUsageLog, PlatformResourceUsageSummary, PlatformResourceUtilization, PlatformResourcesHealth, PlatformResourcesRequirementsState, PlatformResourcesResolvedRequirement, PlatformWebhookEndpoint, PlatformWebhookEvent, ProposalComment, Proposal, ProposalFileView, ProposalReaction, ProposalReview, ProposalsChunk, RegistryBinding, Registry, RegistryGrant, Repository, RepositoryEvent, RepositoryRequiredCheck, RepositoryWorkflow, Resource, ResourceDeclaredCapacity, ResourceDefinition, ResourceEvent, ResourceInstallation, ResourceObservedStorage, ResourceStatusCheck, ResourceUsageLog, ResourceUsageSummary, ResourceUtilization, ResourcesHealth, ResourcesRequirementsState, ResourcesResolvedRequirement, WebhookEndpoint, WebhookEvent
|
|
22
22
|
*
|
|
23
23
|
* Usage:
|
|
24
24
|
*
|
|
@@ -174,6 +174,11 @@ export declare const invalidate: {
|
|
|
174
174
|
/** Invalidate functionInvocation list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
175
175
|
/** Invalidate a specific functionInvocation */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
176
176
|
};
|
|
177
|
+
/** Invalidate functionSchedule queries */ readonly functionSchedule: {
|
|
178
|
+
/** Invalidate all functionSchedule queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
179
|
+
/** Invalidate functionSchedule list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
180
|
+
/** Invalidate a specific functionSchedule */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
181
|
+
};
|
|
177
182
|
/** Invalidate getAllTreeNodesRecord queries */ readonly getAllTreeNodesRecord: {
|
|
178
183
|
/** Invalidate all getAllTreeNodesRecord queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
179
184
|
/** Invalidate getAllTreeNodesRecord list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
@@ -284,6 +289,11 @@ export declare const invalidate: {
|
|
|
284
289
|
/** Invalidate platformFunctionInvocation list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
285
290
|
/** Invalidate a specific platformFunctionInvocation */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
286
291
|
};
|
|
292
|
+
/** Invalidate platformFunctionSchedule queries */ readonly platformFunctionSchedule: {
|
|
293
|
+
/** Invalidate all platformFunctionSchedule queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
294
|
+
/** Invalidate platformFunctionSchedule list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
295
|
+
/** Invalidate a specific platformFunctionSchedule */ readonly detail: (queryClient: QueryClient, id: string | number) => Promise<void>;
|
|
296
|
+
};
|
|
287
297
|
/** Invalidate platformImage queries */ readonly platformImage: {
|
|
288
298
|
/** Invalidate all platformImage queries */ readonly all: (queryClient: QueryClient) => Promise<void>;
|
|
289
299
|
/** Invalidate platformImage list queries */ readonly lists: (queryClient: QueryClient) => Promise<void>;
|
|
@@ -662,6 +672,7 @@ export declare const remove: {
|
|
|
662
672
|
/** Remove functionGraphStore from cache */ readonly functionGraphStore: (queryClient: QueryClient, id: string | number) => void;
|
|
663
673
|
/** Remove functionInvocationAttempt from cache */ readonly functionInvocationAttempt: (queryClient: QueryClient, id: string | number) => void;
|
|
664
674
|
/** Remove functionInvocation from cache */ readonly functionInvocation: (queryClient: QueryClient, id: string | number) => void;
|
|
675
|
+
/** Remove functionSchedule from cache */ readonly functionSchedule: (queryClient: QueryClient, id: string | number) => void;
|
|
665
676
|
/** Remove getAllTreeNodesRecord from cache */ readonly getAllTreeNodesRecord: (queryClient: QueryClient, id: string | number) => void;
|
|
666
677
|
/** Remove image from cache */ readonly image: (queryClient: QueryClient, id: string | number) => void;
|
|
667
678
|
/** Remove imageGrant from cache */ readonly imageGrant: (queryClient: QueryClient, id: string | number) => void;
|
|
@@ -684,6 +695,7 @@ export declare const remove: {
|
|
|
684
695
|
/** Remove platformFunctionExecutionLog from cache */ readonly platformFunctionExecutionLog: (queryClient: QueryClient, id: string | number) => void;
|
|
685
696
|
/** Remove platformFunctionInvocationAttempt from cache */ readonly platformFunctionInvocationAttempt: (queryClient: QueryClient, id: string | number) => void;
|
|
686
697
|
/** Remove platformFunctionInvocation from cache */ readonly platformFunctionInvocation: (queryClient: QueryClient, id: string | number) => void;
|
|
698
|
+
/** Remove platformFunctionSchedule from cache */ readonly platformFunctionSchedule: (queryClient: QueryClient, id: string | number) => void;
|
|
687
699
|
/** Remove platformImage from cache */ readonly platformImage: (queryClient: QueryClient, id: string | number) => void;
|
|
688
700
|
/** Remove platformImageGrant from cache */ readonly platformImageGrant: (queryClient: QueryClient, id: string | number) => void;
|
|
689
701
|
/** Remove platformInfraCommit from cache */ readonly platformInfraCommit: (queryClient: QueryClient, id: string | number) => void;
|
|
@@ -357,6 +357,17 @@ exports.invalidate = {
|
|
|
357
357
|
queryKey: query_keys_1.functionInvocationKeys.detail(id),
|
|
358
358
|
}),
|
|
359
359
|
},
|
|
360
|
+
/** Invalidate functionSchedule queries */ functionSchedule: {
|
|
361
|
+
/** Invalidate all functionSchedule queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
362
|
+
queryKey: query_keys_1.functionScheduleKeys.all,
|
|
363
|
+
}),
|
|
364
|
+
/** Invalidate functionSchedule list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
365
|
+
queryKey: query_keys_1.functionScheduleKeys.lists(),
|
|
366
|
+
}),
|
|
367
|
+
/** Invalidate a specific functionSchedule */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
368
|
+
queryKey: query_keys_1.functionScheduleKeys.detail(id),
|
|
369
|
+
}),
|
|
370
|
+
},
|
|
360
371
|
/** Invalidate getAllTreeNodesRecord queries */ getAllTreeNodesRecord: {
|
|
361
372
|
/** Invalidate all getAllTreeNodesRecord queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
362
373
|
queryKey: query_keys_1.getAllTreeNodesRecordKeys.all,
|
|
@@ -599,6 +610,17 @@ exports.invalidate = {
|
|
|
599
610
|
queryKey: query_keys_1.platformFunctionInvocationKeys.detail(id),
|
|
600
611
|
}),
|
|
601
612
|
},
|
|
613
|
+
/** Invalidate platformFunctionSchedule queries */ platformFunctionSchedule: {
|
|
614
|
+
/** Invalidate all platformFunctionSchedule queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
615
|
+
queryKey: query_keys_1.platformFunctionScheduleKeys.all,
|
|
616
|
+
}),
|
|
617
|
+
/** Invalidate platformFunctionSchedule list queries */ lists: (queryClient) => queryClient.invalidateQueries({
|
|
618
|
+
queryKey: query_keys_1.platformFunctionScheduleKeys.lists(),
|
|
619
|
+
}),
|
|
620
|
+
/** Invalidate a specific platformFunctionSchedule */ detail: (queryClient, id) => queryClient.invalidateQueries({
|
|
621
|
+
queryKey: query_keys_1.platformFunctionScheduleKeys.detail(id),
|
|
622
|
+
}),
|
|
623
|
+
},
|
|
602
624
|
/** Invalidate platformImage queries */ platformImage: {
|
|
603
625
|
/** Invalidate all platformImage queries */ all: (queryClient) => queryClient.invalidateQueries({
|
|
604
626
|
queryKey: query_keys_1.platformImageKeys.all,
|
|
@@ -1499,6 +1521,11 @@ exports.remove = {
|
|
|
1499
1521
|
queryKey: query_keys_1.functionInvocationKeys.detail(id),
|
|
1500
1522
|
});
|
|
1501
1523
|
},
|
|
1524
|
+
/** Remove functionSchedule from cache */ functionSchedule: (queryClient, id) => {
|
|
1525
|
+
queryClient.removeQueries({
|
|
1526
|
+
queryKey: query_keys_1.functionScheduleKeys.detail(id),
|
|
1527
|
+
});
|
|
1528
|
+
},
|
|
1502
1529
|
/** Remove getAllTreeNodesRecord from cache */ getAllTreeNodesRecord: (queryClient, id) => {
|
|
1503
1530
|
queryClient.removeQueries({
|
|
1504
1531
|
queryKey: query_keys_1.getAllTreeNodesRecordKeys.detail(id),
|
|
@@ -1609,6 +1636,11 @@ exports.remove = {
|
|
|
1609
1636
|
queryKey: query_keys_1.platformFunctionInvocationKeys.detail(id),
|
|
1610
1637
|
});
|
|
1611
1638
|
},
|
|
1639
|
+
/** Remove platformFunctionSchedule from cache */ platformFunctionSchedule: (queryClient, id) => {
|
|
1640
|
+
queryClient.removeQueries({
|
|
1641
|
+
queryKey: query_keys_1.platformFunctionScheduleKeys.detail(id),
|
|
1642
|
+
});
|
|
1643
|
+
},
|
|
1612
1644
|
/** Remove platformImage from cache */ platformImage: (queryClient, id) => {
|
|
1613
1645
|
queryClient.removeQueries({
|
|
1614
1646
|
queryKey: query_keys_1.platformImageKeys.detail(id),
|