@constructive-io/react 0.12.7 → 0.12.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/admin/hooks/index.d.ts +1 -1
- package/admin/hooks/index.js +1 -1
- package/admin/hooks/invalidation.d.ts +12 -6
- package/admin/hooks/invalidation.js +31 -15
- package/admin/hooks/mutation-keys.d.ts +24 -12
- package/admin/hooks/mutation-keys.js +15 -8
- package/admin/hooks/mutations/index.d.ts +6 -3
- package/admin/hooks/mutations/index.js +6 -3
- package/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
- package/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.js +34 -0
- package/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
- package/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +39 -0
- package/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
- package/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +40 -0
- package/admin/hooks/queries/index.d.ts +4 -2
- package/admin/hooks/queries/index.js +4 -2
- package/admin/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
- package/admin/hooks/queries/useOrgMembershipSettingQuery.js +53 -0
- package/admin/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
- package/admin/hooks/queries/useOrgMembershipSettingsQuery.js +38 -0
- package/admin/hooks/query-keys.d.ts +28 -14
- package/admin/hooks/query-keys.js +17 -9
- package/admin/orm/index.d.ts +4 -2
- package/admin/orm/index.js +4 -2
- package/admin/orm/input-types.d.ts +303 -142
- package/admin/orm/models/index.d.ts +2 -1
- package/admin/orm/models/index.js +5 -3
- package/admin/orm/models/orgMembershipSetting.d.ts +56 -0
- package/admin/orm/models/orgMembershipSetting.js +100 -0
- package/admin/schema-types.d.ts +231 -106
- package/admin/types.d.ts +23 -11
- package/auth/hooks/index.d.ts +1 -1
- package/auth/hooks/index.js +1 -1
- package/auth/hooks/invalidation.d.ts +12 -0
- package/auth/hooks/invalidation.js +32 -0
- package/auth/hooks/mutation-keys.d.ts +26 -2
- package/auth/hooks/mutation-keys.js +18 -4
- package/auth/hooks/mutations/index.d.ts +5 -1
- package/auth/hooks/mutations/index.js +5 -1
- package/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
- package/auth/hooks/mutations/useCreateIdentityProviderMutation.js +34 -0
- package/auth/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
- package/auth/hooks/mutations/useCreateWebauthnCredentialMutation.js +34 -0
- package/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
- package/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.js +39 -0
- package/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
- package/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.js +40 -0
- package/auth/hooks/queries/index.d.ts +3 -0
- package/auth/hooks/queries/index.js +3 -0
- package/auth/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
- package/auth/hooks/queries/useIdentityProvidersQuery.js +38 -0
- package/auth/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
- package/auth/hooks/queries/useWebauthnCredentialQuery.js +53 -0
- package/auth/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
- package/auth/hooks/queries/useWebauthnCredentialsQuery.js +38 -0
- package/auth/hooks/query-keys.d.ts +28 -0
- package/auth/hooks/query-keys.js +17 -1
- package/auth/orm/index.d.ts +9 -5
- package/auth/orm/index.js +4 -0
- package/auth/orm/input-types.d.ts +525 -81
- package/auth/orm/input-types.js +1 -0
- package/auth/orm/models/identityProvider.d.ts +32 -0
- package/auth/orm/models/identityProvider.js +55 -0
- package/auth/orm/models/index.d.ts +2 -0
- package/auth/orm/models/index.js +5 -1
- package/auth/orm/models/webauthnCredential.d.ts +56 -0
- package/auth/orm/models/webauthnCredential.js +100 -0
- package/auth/orm/mutation/index.d.ts +9 -9
- package/auth/orm/mutation/index.js +12 -12
- package/auth/schema-types.d.ts +278 -22
- package/auth/types.d.ts +27 -0
- package/esm/admin/hooks/index.d.ts +1 -1
- package/esm/admin/hooks/index.js +1 -1
- package/esm/admin/hooks/invalidation.d.ts +12 -6
- package/esm/admin/hooks/invalidation.js +32 -16
- package/esm/admin/hooks/mutation-keys.d.ts +24 -12
- package/esm/admin/hooks/mutation-keys.js +14 -7
- package/esm/admin/hooks/mutations/index.d.ts +6 -3
- package/esm/admin/hooks/mutations/index.js +6 -3
- package/esm/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
- package/esm/admin/hooks/mutations/useCreateOrgMembershipSettingMutation.js +31 -0
- package/esm/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
- package/esm/admin/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +36 -0
- package/esm/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
- package/esm/admin/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +37 -0
- package/esm/admin/hooks/queries/index.d.ts +4 -2
- package/esm/admin/hooks/queries/index.js +4 -2
- package/esm/admin/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
- package/esm/admin/hooks/queries/useOrgMembershipSettingQuery.js +47 -0
- package/esm/admin/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
- package/esm/admin/hooks/queries/useOrgMembershipSettingsQuery.js +32 -0
- package/esm/admin/hooks/query-keys.d.ts +28 -14
- package/esm/admin/hooks/query-keys.js +16 -8
- package/esm/admin/orm/index.d.ts +4 -2
- package/esm/admin/orm/index.js +4 -2
- package/esm/admin/orm/input-types.d.ts +303 -142
- package/esm/admin/orm/models/index.d.ts +2 -1
- package/esm/admin/orm/models/index.js +2 -1
- package/esm/admin/orm/models/orgMembershipSetting.d.ts +56 -0
- package/esm/admin/orm/models/orgMembershipSetting.js +96 -0
- package/esm/admin/schema-types.d.ts +231 -106
- package/esm/admin/types.d.ts +23 -11
- package/esm/auth/hooks/index.d.ts +1 -1
- package/esm/auth/hooks/index.js +1 -1
- package/esm/auth/hooks/invalidation.d.ts +12 -0
- package/esm/auth/hooks/invalidation.js +33 -1
- package/esm/auth/hooks/mutation-keys.d.ts +26 -2
- package/esm/auth/hooks/mutation-keys.js +17 -3
- package/esm/auth/hooks/mutations/index.d.ts +5 -1
- package/esm/auth/hooks/mutations/index.js +5 -1
- package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
- package/esm/auth/hooks/mutations/useCreateIdentityProviderMutation.js +31 -0
- package/esm/auth/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
- package/esm/auth/hooks/mutations/useCreateWebauthnCredentialMutation.js +31 -0
- package/esm/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
- package/esm/auth/hooks/mutations/useDeleteWebauthnCredentialMutation.js +36 -0
- package/esm/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
- package/esm/auth/hooks/mutations/useUpdateWebauthnCredentialMutation.js +37 -0
- package/esm/auth/hooks/queries/index.d.ts +3 -0
- package/esm/auth/hooks/queries/index.js +3 -0
- package/esm/auth/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
- package/esm/auth/hooks/queries/useIdentityProvidersQuery.js +32 -0
- package/esm/auth/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
- package/esm/auth/hooks/queries/useWebauthnCredentialQuery.js +47 -0
- package/esm/auth/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
- package/esm/auth/hooks/queries/useWebauthnCredentialsQuery.js +32 -0
- package/esm/auth/hooks/query-keys.d.ts +28 -0
- package/esm/auth/hooks/query-keys.js +16 -0
- package/esm/auth/orm/index.d.ts +9 -5
- package/esm/auth/orm/index.js +4 -0
- package/esm/auth/orm/input-types.d.ts +525 -81
- package/esm/auth/orm/input-types.js +1 -0
- package/esm/auth/orm/models/identityProvider.d.ts +32 -0
- package/esm/auth/orm/models/identityProvider.js +51 -0
- package/esm/auth/orm/models/index.d.ts +2 -0
- package/esm/auth/orm/models/index.js +2 -0
- package/esm/auth/orm/models/webauthnCredential.d.ts +56 -0
- package/esm/auth/orm/models/webauthnCredential.js +96 -0
- package/esm/auth/orm/mutation/index.d.ts +9 -9
- package/esm/auth/orm/mutation/index.js +12 -12
- package/esm/auth/schema-types.d.ts +278 -22
- package/esm/auth/types.d.ts +27 -0
- package/esm/objects/orm/input-types.d.ts +12 -0
- package/esm/objects/schema-types.d.ts +12 -0
- package/esm/public/hooks/index.d.ts +1 -1
- package/esm/public/hooks/index.js +1 -1
- package/esm/public/hooks/invalidation.d.ts +42 -6
- package/esm/public/hooks/invalidation.js +113 -17
- package/esm/public/hooks/mutation-keys.d.ts +86 -14
- package/esm/public/hooks/mutation-keys.js +55 -10
- package/esm/public/hooks/mutations/index.d.ts +20 -4
- package/esm/public/hooks/mutations/index.js +20 -4
- package/esm/public/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateIdentityProviderMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateNotificationsModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateNotificationsModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateOrgMembershipSettingMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateSecureTableProvisionMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useCreateSecureTableProvisionMutation.js +1 -1
- package/esm/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
- package/esm/public/hooks/mutations/useCreateWebauthnCredentialMutation.js +31 -0
- package/esm/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.js +1 -1
- package/esm/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteNotificationsModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteNotificationsModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteSecureTableProvisionMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useDeleteSecureTableProvisionMutation.js +1 -1
- package/esm/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
- package/esm/public/hooks/mutations/useDeleteWebauthnCredentialMutation.js +36 -0
- package/esm/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.js +1 -1
- package/esm/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateNotificationsModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateNotificationsModuleMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateSecureTableProvisionMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useUpdateSecureTableProvisionMutation.js +1 -1
- package/esm/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
- package/esm/public/hooks/mutations/useUpdateWebauthnCredentialMutation.js +37 -0
- package/esm/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.d.ts +2 -2
- package/esm/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.js +1 -1
- package/esm/public/hooks/queries/index.d.ts +13 -2
- package/esm/public/hooks/queries/index.js +13 -2
- package/esm/public/hooks/queries/useIdentityProvidersModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useIdentityProvidersModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useIdentityProvidersModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useIdentityProvidersModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useIdentityProvidersQuery.js +32 -0
- package/esm/public/hooks/queries/useNotificationsModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useNotificationsModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useNotificationsModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useNotificationsModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useOrgMembershipSettingQuery.js +47 -0
- package/esm/public/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useOrgMembershipSettingsQuery.js +32 -0
- package/esm/public/hooks/queries/useSecureTableProvisionQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useSecureTableProvisionQuery.js +1 -1
- package/esm/public/hooks/queries/useSecureTableProvisionsQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useSecureTableProvisionsQuery.js +1 -1
- package/esm/public/hooks/queries/useWebauthnAuthModuleQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useWebauthnAuthModuleQuery.js +47 -0
- package/esm/public/hooks/queries/useWebauthnAuthModulesQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useWebauthnAuthModulesQuery.js +32 -0
- package/esm/public/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
- package/esm/public/hooks/queries/useWebauthnCredentialQuery.js +47 -0
- package/esm/public/hooks/queries/useWebauthnCredentialsModuleQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useWebauthnCredentialsModuleQuery.js +1 -1
- package/esm/public/hooks/queries/useWebauthnCredentialsModulesQuery.d.ts +4 -4
- package/esm/public/hooks/queries/useWebauthnCredentialsModulesQuery.js +1 -1
- package/esm/public/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
- package/esm/public/hooks/queries/useWebauthnCredentialsQuery.js +32 -0
- package/esm/public/hooks/query-keys.d.ts +98 -14
- package/esm/public/hooks/query-keys.js +56 -8
- package/esm/public/orm/index.d.ts +19 -7
- package/esm/public/orm/index.js +14 -2
- package/esm/public/orm/input-types.d.ts +1827 -366
- package/esm/public/orm/input-types.js +7 -0
- package/esm/public/orm/models/identityProvider.d.ts +32 -0
- package/esm/public/orm/models/identityProvider.js +51 -0
- package/esm/public/orm/models/identityProvidersModule.d.ts +56 -0
- package/esm/public/orm/models/identityProvidersModule.js +96 -0
- package/esm/public/orm/models/index.d.ts +7 -1
- package/esm/public/orm/models/index.js +7 -1
- package/esm/public/orm/models/notificationsModule.d.ts +56 -0
- package/esm/public/orm/models/notificationsModule.js +96 -0
- package/esm/public/orm/models/orgMembershipSetting.d.ts +56 -0
- package/esm/public/orm/models/orgMembershipSetting.js +96 -0
- package/esm/public/orm/models/webauthnAuthModule.d.ts +56 -0
- package/esm/public/orm/models/webauthnAuthModule.js +96 -0
- package/esm/public/orm/models/webauthnCredential.d.ts +56 -0
- package/esm/public/orm/models/webauthnCredential.js +96 -0
- package/esm/public/orm/mutation/index.d.ts +9 -9
- package/esm/public/orm/mutation/index.js +12 -12
- package/esm/public/schema-types.d.ts +2041 -1214
- package/esm/public/types.d.ts +103 -27
- package/objects/orm/input-types.d.ts +12 -0
- package/objects/schema-types.d.ts +12 -0
- package/package.json +3 -3
- package/public/hooks/index.d.ts +1 -1
- package/public/hooks/index.js +1 -1
- package/public/hooks/invalidation.d.ts +42 -6
- package/public/hooks/invalidation.js +112 -16
- package/public/hooks/mutation-keys.d.ts +86 -14
- package/public/hooks/mutation-keys.js +58 -13
- package/public/hooks/mutations/index.d.ts +20 -4
- package/public/hooks/mutations/index.js +20 -4
- package/public/hooks/mutations/useCreateIdentityProviderMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateIdentityProviderMutation.js +34 -0
- package/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateIdentityProvidersModuleMutation.js +34 -0
- package/public/hooks/mutations/useCreateNotificationsModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateNotificationsModuleMutation.js +34 -0
- package/public/hooks/mutations/useCreateOrgMembershipSettingMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateOrgMembershipSettingMutation.js +34 -0
- package/public/hooks/mutations/useCreateSecureTableProvisionMutation.d.ts +2 -2
- package/public/hooks/mutations/useCreateSecureTableProvisionMutation.js +1 -1
- package/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateWebauthnAuthModuleMutation.js +34 -0
- package/public/hooks/mutations/useCreateWebauthnCredentialMutation.d.ts +34 -0
- package/public/hooks/mutations/useCreateWebauthnCredentialMutation.js +34 -0
- package/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.d.ts +2 -2
- package/public/hooks/mutations/useCreateWebauthnCredentialsModuleMutation.js +1 -1
- package/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteIdentityProvidersModuleMutation.js +39 -0
- package/public/hooks/mutations/useDeleteNotificationsModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteNotificationsModuleMutation.js +39 -0
- package/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteOrgMembershipSettingMutation.js +39 -0
- package/public/hooks/mutations/useDeleteSecureTableProvisionMutation.d.ts +2 -2
- package/public/hooks/mutations/useDeleteSecureTableProvisionMutation.js +1 -1
- package/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteWebauthnAuthModuleMutation.js +39 -0
- package/public/hooks/mutations/useDeleteWebauthnCredentialMutation.d.ts +38 -0
- package/public/hooks/mutations/useDeleteWebauthnCredentialMutation.js +39 -0
- package/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.d.ts +2 -2
- package/public/hooks/mutations/useDeleteWebauthnCredentialsModuleMutation.js +1 -1
- package/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateIdentityProvidersModuleMutation.js +40 -0
- package/public/hooks/mutations/useUpdateNotificationsModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateNotificationsModuleMutation.js +40 -0
- package/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateOrgMembershipSettingMutation.js +40 -0
- package/public/hooks/mutations/useUpdateSecureTableProvisionMutation.d.ts +2 -2
- package/public/hooks/mutations/useUpdateSecureTableProvisionMutation.js +1 -1
- package/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateWebauthnAuthModuleMutation.js +40 -0
- package/public/hooks/mutations/useUpdateWebauthnCredentialMutation.d.ts +40 -0
- package/public/hooks/mutations/useUpdateWebauthnCredentialMutation.js +40 -0
- package/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.d.ts +2 -2
- package/public/hooks/mutations/useUpdateWebauthnCredentialsModuleMutation.js +1 -1
- package/public/hooks/queries/index.d.ts +13 -2
- package/public/hooks/queries/index.js +13 -2
- package/public/hooks/queries/useIdentityProvidersModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useIdentityProvidersModuleQuery.js +53 -0
- package/public/hooks/queries/useIdentityProvidersModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useIdentityProvidersModulesQuery.js +38 -0
- package/public/hooks/queries/useIdentityProvidersQuery.d.ts +69 -0
- package/public/hooks/queries/useIdentityProvidersQuery.js +38 -0
- package/public/hooks/queries/useNotificationsModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useNotificationsModuleQuery.js +53 -0
- package/public/hooks/queries/useNotificationsModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useNotificationsModulesQuery.js +38 -0
- package/public/hooks/queries/useOrgMembershipSettingQuery.d.ts +65 -0
- package/public/hooks/queries/useOrgMembershipSettingQuery.js +53 -0
- package/public/hooks/queries/useOrgMembershipSettingsQuery.d.ts +69 -0
- package/public/hooks/queries/useOrgMembershipSettingsQuery.js +38 -0
- package/public/hooks/queries/useSecureTableProvisionQuery.d.ts +4 -4
- package/public/hooks/queries/useSecureTableProvisionQuery.js +1 -1
- package/public/hooks/queries/useSecureTableProvisionsQuery.d.ts +4 -4
- package/public/hooks/queries/useSecureTableProvisionsQuery.js +1 -1
- package/public/hooks/queries/useWebauthnAuthModuleQuery.d.ts +65 -0
- package/public/hooks/queries/useWebauthnAuthModuleQuery.js +53 -0
- package/public/hooks/queries/useWebauthnAuthModulesQuery.d.ts +69 -0
- package/public/hooks/queries/useWebauthnAuthModulesQuery.js +38 -0
- package/public/hooks/queries/useWebauthnCredentialQuery.d.ts +65 -0
- package/public/hooks/queries/useWebauthnCredentialQuery.js +53 -0
- package/public/hooks/queries/useWebauthnCredentialsModuleQuery.d.ts +4 -4
- package/public/hooks/queries/useWebauthnCredentialsModuleQuery.js +1 -1
- package/public/hooks/queries/useWebauthnCredentialsModulesQuery.d.ts +4 -4
- package/public/hooks/queries/useWebauthnCredentialsModulesQuery.js +1 -1
- package/public/hooks/queries/useWebauthnCredentialsQuery.d.ts +69 -0
- package/public/hooks/queries/useWebauthnCredentialsQuery.js +38 -0
- package/public/hooks/query-keys.d.ts +98 -14
- package/public/hooks/query-keys.js +59 -11
- package/public/orm/index.d.ts +19 -7
- package/public/orm/index.js +14 -2
- package/public/orm/input-types.d.ts +1827 -366
- package/public/orm/input-types.js +7 -0
- package/public/orm/models/identityProvider.d.ts +32 -0
- package/public/orm/models/identityProvider.js +55 -0
- package/public/orm/models/identityProvidersModule.d.ts +56 -0
- package/public/orm/models/identityProvidersModule.js +100 -0
- package/public/orm/models/index.d.ts +7 -1
- package/public/orm/models/index.js +17 -5
- package/public/orm/models/notificationsModule.d.ts +56 -0
- package/public/orm/models/notificationsModule.js +100 -0
- package/public/orm/models/orgMembershipSetting.d.ts +56 -0
- package/public/orm/models/orgMembershipSetting.js +100 -0
- package/public/orm/models/webauthnAuthModule.d.ts +56 -0
- package/public/orm/models/webauthnAuthModule.js +100 -0
- package/public/orm/models/webauthnCredential.d.ts +56 -0
- package/public/orm/models/webauthnCredential.js +100 -0
- package/public/orm/mutation/index.d.ts +9 -9
- package/public/orm/mutation/index.js +12 -12
- package/public/schema-types.d.ts +2041 -1214
- package/public/types.d.ts +103 -27
|
@@ -3,18 +3,23 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
-
import type { AuditLog, CryptoAddress, Email, PhoneNumber, RoleType, User, UserConnectedAccount, BooleanFilter, DatetimeFilter, FullTextFilter, IntFilter, InternetAddressFilter, JSONFilter, StringFilter, UUIDFilter } from './types';
|
|
6
|
+
import type { AuditLog, CryptoAddress, Email, IdentityProvider, PhoneNumber, RoleType, User, UserConnectedAccount, WebauthnCredential, BigIntFilter, BooleanFilter, DatetimeFilter, FullTextFilter, IntFilter, InternetAddressFilter, JSONFilter, StringFilter, StringListFilter, UUIDFilter } from './types';
|
|
7
|
+
export type Base64EncodedBinary = unknown;
|
|
7
8
|
export type ConstructiveInternalTypeEmail = unknown;
|
|
8
9
|
export type ConstructiveInternalTypeImage = unknown;
|
|
9
10
|
export type ConstructiveInternalTypeOrigin = unknown;
|
|
10
11
|
/** Methods to use when ordering `Email`. */
|
|
11
|
-
export type EmailOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
12
|
+
export type EmailOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'EMAIL_ASC' | 'EMAIL_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
12
13
|
/** Methods to use when ordering `PhoneNumber`. */
|
|
13
|
-
export type PhoneNumberOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CC_ASC' | 'CC_DESC' | 'NUMBER_ASC' | 'NUMBER_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
14
|
+
export type PhoneNumberOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CC_ASC' | 'CC_DESC' | 'NUMBER_ASC' | 'NUMBER_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
14
15
|
/** Methods to use when ordering `CryptoAddress`. */
|
|
15
|
-
export type CryptoAddressOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'ADDRESS_ASC' | 'ADDRESS_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
16
|
+
export type CryptoAddressOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'ADDRESS_ASC' | 'ADDRESS_DESC' | 'IS_VERIFIED_ASC' | 'IS_VERIFIED_DESC' | 'IS_PRIMARY_ASC' | 'IS_PRIMARY_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
17
|
+
/** Methods to use when ordering `WebauthnCredential`. */
|
|
18
|
+
export type WebauthnCredentialOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'OWNER_ID_ASC' | 'OWNER_ID_DESC' | 'CREDENTIAL_ID_ASC' | 'CREDENTIAL_ID_DESC' | 'PUBLIC_KEY_ASC' | 'PUBLIC_KEY_DESC' | 'SIGN_COUNT_ASC' | 'SIGN_COUNT_DESC' | 'WEBAUTHN_USER_ID_ASC' | 'WEBAUTHN_USER_ID_DESC' | 'TRANSPORTS_ASC' | 'TRANSPORTS_DESC' | 'CREDENTIAL_DEVICE_TYPE_ASC' | 'CREDENTIAL_DEVICE_TYPE_DESC' | 'BACKUP_ELIGIBLE_ASC' | 'BACKUP_ELIGIBLE_DESC' | 'BACKUP_STATE_ASC' | 'BACKUP_STATE_DESC' | 'NAME_ASC' | 'NAME_DESC' | 'LAST_USED_AT_ASC' | 'LAST_USED_AT_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC' | 'UPDATED_AT_ASC' | 'UPDATED_AT_DESC';
|
|
16
19
|
/** Methods to use when ordering `AuditLog`. */
|
|
17
20
|
export type AuditLogOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'EVENT_ASC' | 'EVENT_DESC' | 'ACTOR_ID_ASC' | 'ACTOR_ID_DESC' | 'ORIGIN_ASC' | 'ORIGIN_DESC' | 'USER_AGENT_ASC' | 'USER_AGENT_DESC' | 'IP_ADDRESS_ASC' | 'IP_ADDRESS_DESC' | 'SUCCESS_ASC' | 'SUCCESS_DESC' | 'CREATED_AT_ASC' | 'CREATED_AT_DESC';
|
|
21
|
+
/** Methods to use when ordering `IdentityProvider`. */
|
|
22
|
+
export type IdentityProviderOrderBy = 'NATURAL' | 'SLUG_ASC' | 'SLUG_DESC' | 'KIND_ASC' | 'KIND_DESC' | 'DISPLAY_NAME_ASC' | 'DISPLAY_NAME_DESC' | 'ENABLED_ASC' | 'ENABLED_DESC' | 'IS_BUILT_IN_ASC' | 'IS_BUILT_IN_DESC';
|
|
18
23
|
/** Methods to use when ordering `RoleType`. */
|
|
19
24
|
export type RoleTypeOrderBy = 'NATURAL' | 'PRIMARY_KEY_ASC' | 'PRIMARY_KEY_DESC' | 'ID_ASC' | 'ID_DESC' | 'NAME_ASC' | 'NAME_DESC';
|
|
20
25
|
/** Methods to use when ordering `UserConnectedAccount`. */
|
|
@@ -33,6 +38,8 @@ export interface EmailFilter {
|
|
|
33
38
|
isVerified?: BooleanFilter;
|
|
34
39
|
/** Filter by the object’s `isPrimary` field. */
|
|
35
40
|
isPrimary?: BooleanFilter;
|
|
41
|
+
/** Filter by the object’s `name` field. */
|
|
42
|
+
name?: StringFilter;
|
|
36
43
|
/** Filter by the object’s `createdAt` field. */
|
|
37
44
|
createdAt?: DatetimeFilter;
|
|
38
45
|
/** Filter by the object’s `updatedAt` field. */
|
|
@@ -161,6 +168,10 @@ export interface UserFilter {
|
|
|
161
168
|
ownedCryptoAddresses?: UserToManyCryptoAddressFilter;
|
|
162
169
|
/** `ownedCryptoAddresses` exist. */
|
|
163
170
|
ownedCryptoAddressesExist?: boolean;
|
|
171
|
+
/** Filter by the object’s `ownedWebauthnCredentials` relation. */
|
|
172
|
+
ownedWebauthnCredentials?: UserToManyWebauthnCredentialFilter;
|
|
173
|
+
/** `ownedWebauthnCredentials` exist. */
|
|
174
|
+
ownedWebauthnCredentialsExist?: boolean;
|
|
164
175
|
/** Filter by the object’s `auditLogsByActorId` relation. */
|
|
165
176
|
auditLogsByActorId?: UserToManyAuditLogFilter;
|
|
166
177
|
/** `auditLogsByActorId` exist. */
|
|
@@ -345,6 +356,8 @@ export interface PhoneNumberFilter {
|
|
|
345
356
|
isVerified?: BooleanFilter;
|
|
346
357
|
/** Filter by the object’s `isPrimary` field. */
|
|
347
358
|
isPrimary?: BooleanFilter;
|
|
359
|
+
/** Filter by the object’s `name` field. */
|
|
360
|
+
name?: StringFilter;
|
|
348
361
|
/** Filter by the object’s `createdAt` field. */
|
|
349
362
|
createdAt?: DatetimeFilter;
|
|
350
363
|
/** Filter by the object’s `updatedAt` field. */
|
|
@@ -379,6 +392,8 @@ export interface CryptoAddressFilter {
|
|
|
379
392
|
isVerified?: BooleanFilter;
|
|
380
393
|
/** Filter by the object’s `isPrimary` field. */
|
|
381
394
|
isPrimary?: BooleanFilter;
|
|
395
|
+
/** Filter by the object’s `name` field. */
|
|
396
|
+
name?: StringFilter;
|
|
382
397
|
/** Filter by the object’s `createdAt` field. */
|
|
383
398
|
createdAt?: DatetimeFilter;
|
|
384
399
|
/** Filter by the object’s `updatedAt` field. */
|
|
@@ -392,6 +407,71 @@ export interface CryptoAddressFilter {
|
|
|
392
407
|
/** Filter by the object’s `owner` relation. */
|
|
393
408
|
owner?: UserFilter;
|
|
394
409
|
}
|
|
410
|
+
/** A filter to be used against many `WebauthnCredential` object types. All fields are combined with a logical ‘and.’ */
|
|
411
|
+
export interface UserToManyWebauthnCredentialFilter {
|
|
412
|
+
/** Filters to entities where at least one related entity matches. */
|
|
413
|
+
some?: WebauthnCredentialFilter;
|
|
414
|
+
/** Filters to entities where every related entity matches. */
|
|
415
|
+
every?: WebauthnCredentialFilter;
|
|
416
|
+
/** Filters to entities where no related entity matches. */
|
|
417
|
+
none?: WebauthnCredentialFilter;
|
|
418
|
+
}
|
|
419
|
+
/** A filter to be used against `WebauthnCredential` object types. All fields are combined with a logical ‘and.’ */
|
|
420
|
+
export interface WebauthnCredentialFilter {
|
|
421
|
+
/** Filter by the object’s `id` field. */
|
|
422
|
+
id?: UUIDFilter;
|
|
423
|
+
/** Filter by the object’s `ownerId` field. */
|
|
424
|
+
ownerId?: UUIDFilter;
|
|
425
|
+
/** Filter by the object’s `credentialId` field. */
|
|
426
|
+
credentialId?: StringFilter;
|
|
427
|
+
/** Filter by the object’s `publicKey` field. */
|
|
428
|
+
publicKey?: Base64EncodedBinaryFilter;
|
|
429
|
+
/** Filter by the object’s `signCount` field. */
|
|
430
|
+
signCount?: BigIntFilter;
|
|
431
|
+
/** Filter by the object’s `webauthnUserId` field. */
|
|
432
|
+
webauthnUserId?: StringFilter;
|
|
433
|
+
/** Filter by the object’s `transports` field. */
|
|
434
|
+
transports?: StringListFilter;
|
|
435
|
+
/** Filter by the object’s `credentialDeviceType` field. */
|
|
436
|
+
credentialDeviceType?: StringFilter;
|
|
437
|
+
/** Filter by the object’s `backupEligible` field. */
|
|
438
|
+
backupEligible?: BooleanFilter;
|
|
439
|
+
/** Filter by the object’s `backupState` field. */
|
|
440
|
+
backupState?: BooleanFilter;
|
|
441
|
+
/** Filter by the object’s `name` field. */
|
|
442
|
+
name?: StringFilter;
|
|
443
|
+
/** Filter by the object’s `lastUsedAt` field. */
|
|
444
|
+
lastUsedAt?: DatetimeFilter;
|
|
445
|
+
/** Filter by the object’s `createdAt` field. */
|
|
446
|
+
createdAt?: DatetimeFilter;
|
|
447
|
+
/** Filter by the object’s `updatedAt` field. */
|
|
448
|
+
updatedAt?: DatetimeFilter;
|
|
449
|
+
/** Checks for all expressions in this list. */
|
|
450
|
+
and?: WebauthnCredentialFilter[];
|
|
451
|
+
/** Checks for any expressions in this list. */
|
|
452
|
+
or?: WebauthnCredentialFilter[];
|
|
453
|
+
/** Negates the expression. */
|
|
454
|
+
not?: WebauthnCredentialFilter;
|
|
455
|
+
/** Filter by the object’s `owner` relation. */
|
|
456
|
+
owner?: UserFilter;
|
|
457
|
+
}
|
|
458
|
+
/** A filter to be used against Base64EncodedBinary fields. All fields are combined with a logical ‘and.’ */
|
|
459
|
+
export interface Base64EncodedBinaryFilter {
|
|
460
|
+
/** Is null (if `true` is specified) or is not null (if `false` is specified). */
|
|
461
|
+
isNull?: boolean;
|
|
462
|
+
/** Equal to the specified value. */
|
|
463
|
+
equalTo?: Base64EncodedBinary;
|
|
464
|
+
/** Not equal to the specified value. */
|
|
465
|
+
notEqualTo?: Base64EncodedBinary;
|
|
466
|
+
/** Not equal to the specified value, treating null like an ordinary value. */
|
|
467
|
+
distinctFrom?: Base64EncodedBinary;
|
|
468
|
+
/** Equal to the specified value, treating null like an ordinary value. */
|
|
469
|
+
notDistinctFrom?: Base64EncodedBinary;
|
|
470
|
+
/** Included in the specified list. */
|
|
471
|
+
in?: Base64EncodedBinary[];
|
|
472
|
+
/** Not included in the specified list. */
|
|
473
|
+
notIn?: Base64EncodedBinary[];
|
|
474
|
+
}
|
|
395
475
|
/** A filter to be used against many `AuditLog` object types. All fields are combined with a logical ‘and.’ */
|
|
396
476
|
export interface UserToManyAuditLogFilter {
|
|
397
477
|
/** Filters to entities where at least one related entity matches. */
|
|
@@ -507,6 +587,25 @@ export interface ConstructiveInternalTypeOriginFilter {
|
|
|
507
587
|
/** Greater than or equal to the specified value (case-insensitive). */
|
|
508
588
|
greaterThanOrEqualToInsensitive?: string;
|
|
509
589
|
}
|
|
590
|
+
/** A filter to be used against `IdentityProvider` object types. All fields are combined with a logical ‘and.’ */
|
|
591
|
+
export interface IdentityProviderFilter {
|
|
592
|
+
/** Filter by the object’s `slug` field. */
|
|
593
|
+
slug?: StringFilter;
|
|
594
|
+
/** Filter by the object’s `kind` field. */
|
|
595
|
+
kind?: StringFilter;
|
|
596
|
+
/** Filter by the object’s `displayName` field. */
|
|
597
|
+
displayName?: StringFilter;
|
|
598
|
+
/** Filter by the object’s `enabled` field. */
|
|
599
|
+
enabled?: BooleanFilter;
|
|
600
|
+
/** Filter by the object’s `isBuiltIn` field. */
|
|
601
|
+
isBuiltIn?: BooleanFilter;
|
|
602
|
+
/** Checks for all expressions in this list. */
|
|
603
|
+
and?: IdentityProviderFilter[];
|
|
604
|
+
/** Checks for any expressions in this list. */
|
|
605
|
+
or?: IdentityProviderFilter[];
|
|
606
|
+
/** Negates the expression. */
|
|
607
|
+
not?: IdentityProviderFilter;
|
|
608
|
+
}
|
|
510
609
|
/** A filter to be used against `UserConnectedAccount` object types. All fields are combined with a logical ‘and.’ */
|
|
511
610
|
export interface UserConnectedAccountFilter {
|
|
512
611
|
/** Filter by the object’s `id` field. */
|
|
@@ -588,12 +687,6 @@ export interface ResetPasswordInput {
|
|
|
588
687
|
resetToken?: string;
|
|
589
688
|
newPassword?: string;
|
|
590
689
|
}
|
|
591
|
-
export interface CreateApiKeyInput {
|
|
592
|
-
clientMutationId?: string;
|
|
593
|
-
keyName: string;
|
|
594
|
-
accessLevel?: string;
|
|
595
|
-
mfaLevel?: string;
|
|
596
|
-
}
|
|
597
690
|
export interface SignInCrossOriginInput {
|
|
598
691
|
clientMutationId?: string;
|
|
599
692
|
token?: string;
|
|
@@ -646,6 +739,13 @@ export interface IntervalInput {
|
|
|
646
739
|
/** A quantity of years. */
|
|
647
740
|
years?: number;
|
|
648
741
|
}
|
|
742
|
+
export interface CreateApiKeyInput {
|
|
743
|
+
clientMutationId?: string;
|
|
744
|
+
keyName?: string;
|
|
745
|
+
accessLevel?: string;
|
|
746
|
+
mfaLevel?: string;
|
|
747
|
+
expiresIn?: IntervalInput;
|
|
748
|
+
}
|
|
649
749
|
export interface ForgotPasswordInput {
|
|
650
750
|
clientMutationId?: string;
|
|
651
751
|
email?: ConstructiveInternalTypeEmail;
|
|
@@ -654,6 +754,19 @@ export interface SendVerificationEmailInput {
|
|
|
654
754
|
clientMutationId?: string;
|
|
655
755
|
email?: ConstructiveInternalTypeEmail;
|
|
656
756
|
}
|
|
757
|
+
export interface CreateIdentityProviderInput {
|
|
758
|
+
clientMutationId?: string;
|
|
759
|
+
/** The `IdentityProvider` to be created by this mutation. */
|
|
760
|
+
identityProvider: IdentityProviderInput;
|
|
761
|
+
}
|
|
762
|
+
/** An input for mutations affecting `IdentityProvider` */
|
|
763
|
+
export interface IdentityProviderInput {
|
|
764
|
+
slug?: string;
|
|
765
|
+
kind?: string;
|
|
766
|
+
displayName?: string;
|
|
767
|
+
enabled?: boolean;
|
|
768
|
+
isBuiltIn?: boolean;
|
|
769
|
+
}
|
|
657
770
|
export interface CreateRoleTypeInput {
|
|
658
771
|
clientMutationId?: string;
|
|
659
772
|
/** The `RoleType` to be created by this mutation. */
|
|
@@ -679,6 +792,8 @@ export interface CryptoAddressInput {
|
|
|
679
792
|
isVerified?: boolean;
|
|
680
793
|
/** Whether this is the user's primary cryptocurrency address */
|
|
681
794
|
isPrimary?: boolean;
|
|
795
|
+
/** Optional user-provided label for this address (e.g. "Main wallet", "Hardware wallet"). */
|
|
796
|
+
name?: string;
|
|
682
797
|
createdAt?: string;
|
|
683
798
|
updatedAt?: string;
|
|
684
799
|
}
|
|
@@ -699,6 +814,8 @@ export interface PhoneNumberInput {
|
|
|
699
814
|
isVerified?: boolean;
|
|
700
815
|
/** Whether this is the user's primary phone number */
|
|
701
816
|
isPrimary?: boolean;
|
|
817
|
+
/** Optional user-provided label for this phone number (e.g. "Mobile", "Work"). */
|
|
818
|
+
name?: string;
|
|
702
819
|
createdAt?: string;
|
|
703
820
|
updatedAt?: string;
|
|
704
821
|
}
|
|
@@ -756,6 +873,8 @@ export interface EmailInput {
|
|
|
756
873
|
isVerified?: boolean;
|
|
757
874
|
/** Whether this is the user's primary email address */
|
|
758
875
|
isPrimary?: boolean;
|
|
876
|
+
/** Optional user-provided label for this email (e.g. "Work", "Personal"). */
|
|
877
|
+
name?: string;
|
|
759
878
|
createdAt?: string;
|
|
760
879
|
updatedAt?: string;
|
|
761
880
|
}
|
|
@@ -774,6 +893,38 @@ export interface UserInput {
|
|
|
774
893
|
createdAt?: string;
|
|
775
894
|
updatedAt?: string;
|
|
776
895
|
}
|
|
896
|
+
export interface CreateWebauthnCredentialInput {
|
|
897
|
+
clientMutationId?: string;
|
|
898
|
+
/** The `WebauthnCredential` to be created by this mutation. */
|
|
899
|
+
webauthnCredential: WebauthnCredentialInput;
|
|
900
|
+
}
|
|
901
|
+
/** An input for mutations affecting `WebauthnCredential` */
|
|
902
|
+
export interface WebauthnCredentialInput {
|
|
903
|
+
id?: string;
|
|
904
|
+
ownerId?: string;
|
|
905
|
+
/** Base64url-encoded credential ID returned by the authenticator. Globally unique per WebAuthn spec. */
|
|
906
|
+
credentialId: string;
|
|
907
|
+
/** COSE-encoded public key bytes from the authenticator attestation. */
|
|
908
|
+
publicKey: Base64EncodedBinary;
|
|
909
|
+
/** Monotonic signature counter. Strict-increase check during sign-in detects cloned credentials. 0 means the authenticator does not implement a counter. */
|
|
910
|
+
signCount?: string;
|
|
911
|
+
/** Random per-user handle sent to authenticators as user.id. Privacy-preserving; NOT the internal user UUID. */
|
|
912
|
+
webauthnUserId: string;
|
|
913
|
+
/** Authenticator transport hints (e.g. usb, nfc, ble, internal, hybrid). Used to hint browser UI during sign-in. */
|
|
914
|
+
transports?: string[];
|
|
915
|
+
/** Either 'singleDevice' (hardware-bound) or 'multiDevice' (synced passkey). Enforced by CHECK constraint below. */
|
|
916
|
+
credentialDeviceType: string;
|
|
917
|
+
/** Whether this credential is eligible for backup (syncing) per the authenticator's flags at registration. */
|
|
918
|
+
backupEligible?: boolean;
|
|
919
|
+
/** Current backup state; updated on each successful sign-in assertion. */
|
|
920
|
+
backupState?: boolean;
|
|
921
|
+
/** User-provided label for this credential (e.g. "YubiKey 5C", "iPhone 15"). Renamed via rename_passkey. */
|
|
922
|
+
name?: string;
|
|
923
|
+
/** Timestamp of the most recent successful sign-in assertion using this credential. */
|
|
924
|
+
lastUsedAt?: string;
|
|
925
|
+
createdAt?: string;
|
|
926
|
+
updatedAt?: string;
|
|
927
|
+
}
|
|
777
928
|
export interface UpdateRoleTypeInput {
|
|
778
929
|
clientMutationId?: string;
|
|
779
930
|
id: number;
|
|
@@ -801,6 +952,8 @@ export interface CryptoAddressPatch {
|
|
|
801
952
|
isVerified?: boolean;
|
|
802
953
|
/** Whether this is the user's primary cryptocurrency address */
|
|
803
954
|
isPrimary?: boolean;
|
|
955
|
+
/** Optional user-provided label for this address (e.g. "Main wallet", "Hardware wallet"). */
|
|
956
|
+
name?: string;
|
|
804
957
|
createdAt?: string;
|
|
805
958
|
updatedAt?: string;
|
|
806
959
|
}
|
|
@@ -822,6 +975,8 @@ export interface PhoneNumberPatch {
|
|
|
822
975
|
isVerified?: boolean;
|
|
823
976
|
/** Whether this is the user's primary phone number */
|
|
824
977
|
isPrimary?: boolean;
|
|
978
|
+
/** Optional user-provided label for this phone number (e.g. "Mobile", "Work"). */
|
|
979
|
+
name?: string;
|
|
825
980
|
createdAt?: string;
|
|
826
981
|
updatedAt?: string;
|
|
827
982
|
}
|
|
@@ -865,6 +1020,8 @@ export interface EmailPatch {
|
|
|
865
1020
|
isVerified?: boolean;
|
|
866
1021
|
/** Whether this is the user's primary email address */
|
|
867
1022
|
isPrimary?: boolean;
|
|
1023
|
+
/** Optional user-provided label for this email (e.g. "Work", "Personal"). */
|
|
1024
|
+
name?: string;
|
|
868
1025
|
createdAt?: string;
|
|
869
1026
|
updatedAt?: string;
|
|
870
1027
|
}
|
|
@@ -886,6 +1043,39 @@ export interface UserPatch {
|
|
|
886
1043
|
/** File upload for the `profilePicture` field. */
|
|
887
1044
|
profilePictureUpload?: File;
|
|
888
1045
|
}
|
|
1046
|
+
export interface UpdateWebauthnCredentialInput {
|
|
1047
|
+
clientMutationId?: string;
|
|
1048
|
+
id: string;
|
|
1049
|
+
/** An object where the defined keys will be set on the `WebauthnCredential` being updated. */
|
|
1050
|
+
webauthnCredentialPatch: WebauthnCredentialPatch;
|
|
1051
|
+
}
|
|
1052
|
+
/** Represents an update to a `WebauthnCredential`. Fields that are set will be updated. */
|
|
1053
|
+
export interface WebauthnCredentialPatch {
|
|
1054
|
+
id?: string;
|
|
1055
|
+
ownerId?: string;
|
|
1056
|
+
/** Base64url-encoded credential ID returned by the authenticator. Globally unique per WebAuthn spec. */
|
|
1057
|
+
credentialId?: string;
|
|
1058
|
+
/** COSE-encoded public key bytes from the authenticator attestation. */
|
|
1059
|
+
publicKey?: Base64EncodedBinary;
|
|
1060
|
+
/** Monotonic signature counter. Strict-increase check during sign-in detects cloned credentials. 0 means the authenticator does not implement a counter. */
|
|
1061
|
+
signCount?: string;
|
|
1062
|
+
/** Random per-user handle sent to authenticators as user.id. Privacy-preserving; NOT the internal user UUID. */
|
|
1063
|
+
webauthnUserId?: string;
|
|
1064
|
+
/** Authenticator transport hints (e.g. usb, nfc, ble, internal, hybrid). Used to hint browser UI during sign-in. */
|
|
1065
|
+
transports?: string[];
|
|
1066
|
+
/** Either 'singleDevice' (hardware-bound) or 'multiDevice' (synced passkey). Enforced by CHECK constraint below. */
|
|
1067
|
+
credentialDeviceType?: string;
|
|
1068
|
+
/** Whether this credential is eligible for backup (syncing) per the authenticator's flags at registration. */
|
|
1069
|
+
backupEligible?: boolean;
|
|
1070
|
+
/** Current backup state; updated on each successful sign-in assertion. */
|
|
1071
|
+
backupState?: boolean;
|
|
1072
|
+
/** User-provided label for this credential (e.g. "YubiKey 5C", "iPhone 15"). Renamed via rename_passkey. */
|
|
1073
|
+
name?: string;
|
|
1074
|
+
/** Timestamp of the most recent successful sign-in assertion using this credential. */
|
|
1075
|
+
lastUsedAt?: string;
|
|
1076
|
+
createdAt?: string;
|
|
1077
|
+
updatedAt?: string;
|
|
1078
|
+
}
|
|
889
1079
|
export interface DeleteRoleTypeInput {
|
|
890
1080
|
clientMutationId?: string;
|
|
891
1081
|
id: number;
|
|
@@ -910,9 +1100,20 @@ export interface DeleteUserInput {
|
|
|
910
1100
|
clientMutationId?: string;
|
|
911
1101
|
id: string;
|
|
912
1102
|
}
|
|
1103
|
+
export interface DeleteWebauthnCredentialInput {
|
|
1104
|
+
clientMutationId?: string;
|
|
1105
|
+
id: string;
|
|
1106
|
+
}
|
|
913
1107
|
export interface RequestUploadUrlInput {
|
|
914
1108
|
/** Bucket key (e.g., "public", "private") */
|
|
915
1109
|
bucketKey: string;
|
|
1110
|
+
/**
|
|
1111
|
+
* Owner entity ID for entity-scoped uploads.
|
|
1112
|
+
* Omit for app-level (database-wide) storage.
|
|
1113
|
+
* When provided, resolves the storage module for the entity type
|
|
1114
|
+
* that owns this entity instance (e.g., a data room ID, team ID).
|
|
1115
|
+
*/
|
|
1116
|
+
ownerId?: string;
|
|
916
1117
|
/** SHA-256 content hash computed by the client (hex-encoded, 64 chars) */
|
|
917
1118
|
contentHash: string;
|
|
918
1119
|
/** MIME type of the file (e.g., "image/png") */
|
|
@@ -929,6 +1130,18 @@ export interface ConfirmUploadInput {
|
|
|
929
1130
|
export interface ProvisionBucketInput {
|
|
930
1131
|
/** The logical bucket key (e.g., "public", "private") */
|
|
931
1132
|
bucketKey: string;
|
|
1133
|
+
/**
|
|
1134
|
+
* Owner entity ID for entity-scoped bucket provisioning.
|
|
1135
|
+
* Omit for app-level (database-wide) storage.
|
|
1136
|
+
*/
|
|
1137
|
+
ownerId?: string;
|
|
1138
|
+
}
|
|
1139
|
+
/** A connection to a list of `IdentityProvider` values. */
|
|
1140
|
+
export interface IdentityProviderConnection {
|
|
1141
|
+
nodes: IdentityProvider[];
|
|
1142
|
+
edges: IdentityProviderEdge[];
|
|
1143
|
+
pageInfo: PageInfo;
|
|
1144
|
+
totalCount: number;
|
|
932
1145
|
}
|
|
933
1146
|
/** A connection to a list of `RoleType` values. */
|
|
934
1147
|
export interface RoleTypeConnection {
|
|
@@ -979,6 +1192,13 @@ export interface UserConnection {
|
|
|
979
1192
|
pageInfo: PageInfo;
|
|
980
1193
|
totalCount: number;
|
|
981
1194
|
}
|
|
1195
|
+
/** A connection to a list of `WebauthnCredential` values. */
|
|
1196
|
+
export interface WebauthnCredentialConnection {
|
|
1197
|
+
nodes: WebauthnCredential[];
|
|
1198
|
+
edges: WebauthnCredentialEdge[];
|
|
1199
|
+
pageInfo: PageInfo;
|
|
1200
|
+
totalCount: number;
|
|
1201
|
+
}
|
|
982
1202
|
/** Root meta schema type */
|
|
983
1203
|
export interface MetaSchema {
|
|
984
1204
|
tables: MetaTable[];
|
|
@@ -1033,10 +1253,6 @@ export interface ResetPasswordPayload {
|
|
|
1033
1253
|
clientMutationId?: string | null;
|
|
1034
1254
|
result?: boolean | null;
|
|
1035
1255
|
}
|
|
1036
|
-
export interface CreateApiKeyPayload {
|
|
1037
|
-
clientMutationId?: string | null;
|
|
1038
|
-
result?: CreateApiKeyRecord | null;
|
|
1039
|
-
}
|
|
1040
1256
|
export interface SignInCrossOriginPayload {
|
|
1041
1257
|
clientMutationId?: string | null;
|
|
1042
1258
|
result?: SignInCrossOriginRecord | null;
|
|
@@ -1057,6 +1273,10 @@ export interface ExtendTokenExpiresPayload {
|
|
|
1057
1273
|
clientMutationId?: string | null;
|
|
1058
1274
|
result?: ExtendTokenExpiresRecord[] | null;
|
|
1059
1275
|
}
|
|
1276
|
+
export interface CreateApiKeyPayload {
|
|
1277
|
+
clientMutationId?: string | null;
|
|
1278
|
+
result?: CreateApiKeyRecord | null;
|
|
1279
|
+
}
|
|
1060
1280
|
export interface ForgotPasswordPayload {
|
|
1061
1281
|
clientMutationId?: string | null;
|
|
1062
1282
|
}
|
|
@@ -1064,6 +1284,11 @@ export interface SendVerificationEmailPayload {
|
|
|
1064
1284
|
clientMutationId?: string | null;
|
|
1065
1285
|
result?: boolean | null;
|
|
1066
1286
|
}
|
|
1287
|
+
export interface CreateIdentityProviderPayload {
|
|
1288
|
+
clientMutationId?: string | null;
|
|
1289
|
+
/** The `IdentityProvider` that was created by this mutation. */
|
|
1290
|
+
identityProvider?: IdentityProvider | null;
|
|
1291
|
+
}
|
|
1067
1292
|
export interface CreateRoleTypePayload {
|
|
1068
1293
|
clientMutationId?: string | null;
|
|
1069
1294
|
/** The `RoleType` that was created by this mutation. */
|
|
@@ -1105,6 +1330,12 @@ export interface CreateUserPayload {
|
|
|
1105
1330
|
user?: User | null;
|
|
1106
1331
|
userEdge?: UserEdge | null;
|
|
1107
1332
|
}
|
|
1333
|
+
export interface CreateWebauthnCredentialPayload {
|
|
1334
|
+
clientMutationId?: string | null;
|
|
1335
|
+
/** The `WebauthnCredential` that was created by this mutation. */
|
|
1336
|
+
webauthnCredential?: WebauthnCredential | null;
|
|
1337
|
+
webauthnCredentialEdge?: WebauthnCredentialEdge | null;
|
|
1338
|
+
}
|
|
1108
1339
|
export interface UpdateRoleTypePayload {
|
|
1109
1340
|
clientMutationId?: string | null;
|
|
1110
1341
|
/** The `RoleType` that was updated by this mutation. */
|
|
@@ -1141,6 +1372,12 @@ export interface UpdateUserPayload {
|
|
|
1141
1372
|
user?: User | null;
|
|
1142
1373
|
userEdge?: UserEdge | null;
|
|
1143
1374
|
}
|
|
1375
|
+
export interface UpdateWebauthnCredentialPayload {
|
|
1376
|
+
clientMutationId?: string | null;
|
|
1377
|
+
/** The `WebauthnCredential` that was updated by this mutation. */
|
|
1378
|
+
webauthnCredential?: WebauthnCredential | null;
|
|
1379
|
+
webauthnCredentialEdge?: WebauthnCredentialEdge | null;
|
|
1380
|
+
}
|
|
1144
1381
|
export interface DeleteRoleTypePayload {
|
|
1145
1382
|
clientMutationId?: string | null;
|
|
1146
1383
|
/** The `RoleType` that was deleted by this mutation. */
|
|
@@ -1177,6 +1414,12 @@ export interface DeleteUserPayload {
|
|
|
1177
1414
|
user?: User | null;
|
|
1178
1415
|
userEdge?: UserEdge | null;
|
|
1179
1416
|
}
|
|
1417
|
+
export interface DeleteWebauthnCredentialPayload {
|
|
1418
|
+
clientMutationId?: string | null;
|
|
1419
|
+
/** The `WebauthnCredential` that was deleted by this mutation. */
|
|
1420
|
+
webauthnCredential?: WebauthnCredential | null;
|
|
1421
|
+
webauthnCredentialEdge?: WebauthnCredentialEdge | null;
|
|
1422
|
+
}
|
|
1180
1423
|
export interface RequestUploadUrlPayload {
|
|
1181
1424
|
/** Presigned PUT URL (null if file was deduplicated) */
|
|
1182
1425
|
uploadUrl?: string | null;
|
|
@@ -1211,11 +1454,11 @@ export interface ProvisionBucketPayload {
|
|
|
1211
1454
|
/** Error message if provisioning failed */
|
|
1212
1455
|
error?: string | null;
|
|
1213
1456
|
}
|
|
1214
|
-
/** A `
|
|
1215
|
-
export interface
|
|
1457
|
+
/** A `IdentityProvider` edge in the connection. */
|
|
1458
|
+
export interface IdentityProviderEdge {
|
|
1216
1459
|
cursor?: string | null;
|
|
1217
|
-
/** The `
|
|
1218
|
-
node?:
|
|
1460
|
+
/** The `IdentityProvider` at the end of the edge. */
|
|
1461
|
+
node?: IdentityProvider | null;
|
|
1219
1462
|
}
|
|
1220
1463
|
/** Information about pagination in a connection. */
|
|
1221
1464
|
export interface PageInfo {
|
|
@@ -1228,6 +1471,12 @@ export interface PageInfo {
|
|
|
1228
1471
|
/** When paginating forwards, the cursor to continue. */
|
|
1229
1472
|
endCursor?: string | null;
|
|
1230
1473
|
}
|
|
1474
|
+
/** A `RoleType` edge in the connection. */
|
|
1475
|
+
export interface RoleTypeEdge {
|
|
1476
|
+
cursor?: string | null;
|
|
1477
|
+
/** The `RoleType` at the end of the edge. */
|
|
1478
|
+
node?: RoleType | null;
|
|
1479
|
+
}
|
|
1231
1480
|
/** A `CryptoAddress` edge in the connection. */
|
|
1232
1481
|
export interface CryptoAddressEdge {
|
|
1233
1482
|
cursor?: string | null;
|
|
@@ -1264,6 +1513,12 @@ export interface UserEdge {
|
|
|
1264
1513
|
/** The `User` at the end of the edge. */
|
|
1265
1514
|
node?: User | null;
|
|
1266
1515
|
}
|
|
1516
|
+
/** A `WebauthnCredential` edge in the connection. */
|
|
1517
|
+
export interface WebauthnCredentialEdge {
|
|
1518
|
+
cursor?: string | null;
|
|
1519
|
+
/** The `WebauthnCredential` at the end of the edge. */
|
|
1520
|
+
node?: WebauthnCredential | null;
|
|
1521
|
+
}
|
|
1267
1522
|
/** Information about a database table */
|
|
1268
1523
|
export interface MetaTable {
|
|
1269
1524
|
name: string;
|
|
@@ -1278,10 +1533,6 @@ export interface MetaTable {
|
|
|
1278
1533
|
inflection: MetaInflection;
|
|
1279
1534
|
query: MetaQuery;
|
|
1280
1535
|
}
|
|
1281
|
-
export interface CreateApiKeyRecord {
|
|
1282
|
-
apiKey?: string | null;
|
|
1283
|
-
keyId?: string | null;
|
|
1284
|
-
}
|
|
1285
1536
|
export interface SignInCrossOriginRecord {
|
|
1286
1537
|
id?: string | null;
|
|
1287
1538
|
userId?: string | null;
|
|
@@ -1313,6 +1564,11 @@ export interface ExtendTokenExpiresRecord {
|
|
|
1313
1564
|
sessionId?: string | null;
|
|
1314
1565
|
expiresAt?: string | null;
|
|
1315
1566
|
}
|
|
1567
|
+
export interface CreateApiKeyRecord {
|
|
1568
|
+
apiKey?: string | null;
|
|
1569
|
+
keyId?: string | null;
|
|
1570
|
+
expiresAt?: string | null;
|
|
1571
|
+
}
|
|
1316
1572
|
/** Information about a table field/column */
|
|
1317
1573
|
export interface MetaField {
|
|
1318
1574
|
name: string;
|
package/esm/auth/types.d.ts
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
* DO NOT EDIT - changes will be overwritten
|
|
5
5
|
*/
|
|
6
|
+
export type Base64EncodedBinary = unknown;
|
|
6
7
|
export type ConstructiveInternalTypeEmail = unknown;
|
|
7
8
|
export type ConstructiveInternalTypeImage = unknown;
|
|
8
9
|
export type ConstructiveInternalTypeOrigin = unknown;
|
|
@@ -12,6 +13,7 @@ export interface Email {
|
|
|
12
13
|
email: ConstructiveInternalTypeEmail | null;
|
|
13
14
|
isVerified: boolean | null;
|
|
14
15
|
isPrimary: boolean | null;
|
|
16
|
+
name: string | null;
|
|
15
17
|
createdAt: string | null;
|
|
16
18
|
updatedAt: string | null;
|
|
17
19
|
}
|
|
@@ -22,6 +24,7 @@ export interface PhoneNumber {
|
|
|
22
24
|
number: string | null;
|
|
23
25
|
isVerified: boolean | null;
|
|
24
26
|
isPrimary: boolean | null;
|
|
27
|
+
name: string | null;
|
|
25
28
|
createdAt: string | null;
|
|
26
29
|
updatedAt: string | null;
|
|
27
30
|
}
|
|
@@ -31,6 +34,23 @@ export interface CryptoAddress {
|
|
|
31
34
|
address: string | null;
|
|
32
35
|
isVerified: boolean | null;
|
|
33
36
|
isPrimary: boolean | null;
|
|
37
|
+
name: string | null;
|
|
38
|
+
createdAt: string | null;
|
|
39
|
+
updatedAt: string | null;
|
|
40
|
+
}
|
|
41
|
+
export interface WebauthnCredential {
|
|
42
|
+
id: string | null;
|
|
43
|
+
ownerId: string | null;
|
|
44
|
+
credentialId: string | null;
|
|
45
|
+
publicKey: Base64EncodedBinary | null;
|
|
46
|
+
signCount: string | null;
|
|
47
|
+
webauthnUserId: string | null;
|
|
48
|
+
transports: string[] | null;
|
|
49
|
+
credentialDeviceType: string | null;
|
|
50
|
+
backupEligible: boolean | null;
|
|
51
|
+
backupState: boolean | null;
|
|
52
|
+
name: string | null;
|
|
53
|
+
lastUsedAt: string | null;
|
|
34
54
|
createdAt: string | null;
|
|
35
55
|
updatedAt: string | null;
|
|
36
56
|
}
|
|
@@ -44,6 +64,13 @@ export interface AuditLog {
|
|
|
44
64
|
success: boolean | null;
|
|
45
65
|
createdAt: string | null;
|
|
46
66
|
}
|
|
67
|
+
export interface IdentityProvider {
|
|
68
|
+
slug: string | null;
|
|
69
|
+
kind: string | null;
|
|
70
|
+
displayName: string | null;
|
|
71
|
+
enabled: boolean | null;
|
|
72
|
+
isBuiltIn: boolean | null;
|
|
73
|
+
}
|
|
47
74
|
export interface RoleType {
|
|
48
75
|
id: number | null;
|
|
49
76
|
name: string | null;
|
|
@@ -632,6 +632,13 @@ export interface SetAndCommitInput {
|
|
|
632
632
|
export interface RequestUploadUrlInput {
|
|
633
633
|
/** Bucket key (e.g., "public", "private") */
|
|
634
634
|
bucketKey: string;
|
|
635
|
+
/**
|
|
636
|
+
* Owner entity ID for entity-scoped uploads.
|
|
637
|
+
* Omit for app-level (database-wide) storage.
|
|
638
|
+
* When provided, resolves the storage module for the entity type
|
|
639
|
+
* that owns this entity instance (e.g., a data room ID, team ID).
|
|
640
|
+
*/
|
|
641
|
+
ownerId?: string;
|
|
635
642
|
/** SHA-256 content hash computed by the client (hex-encoded, 64 chars) */
|
|
636
643
|
contentHash: string;
|
|
637
644
|
/** MIME type of the file (e.g., "image/png") */
|
|
@@ -648,6 +655,11 @@ export interface ConfirmUploadInput {
|
|
|
648
655
|
export interface ProvisionBucketInput {
|
|
649
656
|
/** The logical bucket key (e.g., "public", "private") */
|
|
650
657
|
bucketKey: string;
|
|
658
|
+
/**
|
|
659
|
+
* Owner entity ID for entity-scoped bucket provisioning.
|
|
660
|
+
* Omit for app-level (database-wide) storage.
|
|
661
|
+
*/
|
|
662
|
+
ownerId?: string;
|
|
651
663
|
}
|
|
652
664
|
/** A connection to a list of `Object` values. */
|
|
653
665
|
export interface ObjectConnection {
|
|
@@ -338,6 +338,13 @@ export interface DeleteObjectInput {
|
|
|
338
338
|
export interface RequestUploadUrlInput {
|
|
339
339
|
/** Bucket key (e.g., "public", "private") */
|
|
340
340
|
bucketKey: string;
|
|
341
|
+
/**
|
|
342
|
+
* Owner entity ID for entity-scoped uploads.
|
|
343
|
+
* Omit for app-level (database-wide) storage.
|
|
344
|
+
* When provided, resolves the storage module for the entity type
|
|
345
|
+
* that owns this entity instance (e.g., a data room ID, team ID).
|
|
346
|
+
*/
|
|
347
|
+
ownerId?: string;
|
|
341
348
|
/** SHA-256 content hash computed by the client (hex-encoded, 64 chars) */
|
|
342
349
|
contentHash: string;
|
|
343
350
|
/** MIME type of the file (e.g., "image/png") */
|
|
@@ -354,6 +361,11 @@ export interface ConfirmUploadInput {
|
|
|
354
361
|
export interface ProvisionBucketInput {
|
|
355
362
|
/** The logical bucket key (e.g., "public", "private") */
|
|
356
363
|
bucketKey: string;
|
|
364
|
+
/**
|
|
365
|
+
* Owner entity ID for entity-scoped bucket provisioning.
|
|
366
|
+
* Omit for app-level (database-wide) storage.
|
|
367
|
+
*/
|
|
368
|
+
ownerId?: string;
|
|
357
369
|
}
|
|
358
370
|
/** A connection to a list of `GetAllRecord` values. */
|
|
359
371
|
export interface GetAllConnection {
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GraphQL SDK
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
*
|
|
5
|
-
* Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, GetAllRecord, Object, AppPermission, OrgPermission, AppLevelRequirement, Database, Schema, Table, CheckConstraint, Field, SpatialRelation, ForeignKeyConstraint, FullTextSearch, Index, Policy, PrimaryKeyConstraint, TableGrant, Trigger, UniqueConstraint, View, ViewTable, ViewGrant, ViewRule, EmbeddingChunk, SecureTableProvision, RelationProvision, SessionSecretsModule, SchemaGrant, DefaultPrivilege, Enum, ApiSchema, ApiModule, Domain, SiteMetadatum, SiteModule, SiteTheme, TriggerFunction, DatabaseTransfer, Api, Site, App, ConnectedAccountsModule, CryptoAddressesModule, CryptoAuthModule, DefaultIdsModule, DenormalizedTableField, EmailsModule, EncryptedSecretsModule, InvitesModule, LevelsModule, LimitsModule, MembershipTypesModule, MembershipsModule, PermissionsModule, PhoneNumbersModule, ProfilesModule, SecretsModule, SessionsModule, UserAuthModule, UsersModule, Blueprint, BlueprintTemplate, BlueprintConstruction, StorageModule, EntityTypeProvision, WebauthnCredentialsModule, DatabaseProvisionModule, AppAdminGrant, AppOwnerGrant, AppGrant, OrgMembership, OrgMember, OrgAdminGrant, OrgOwnerGrant, OrgMemberProfile, OrgGrant, OrgChartEdge, OrgChartEdgeGrant, OrgPermissionDefault, AppLimit, OrgLimit, AppStep, AppAchievement, AppLevel, Email, PhoneNumber, CryptoAddress, AppInvite, AppClaimedInvite, OrgInvite, OrgClaimedInvite, AuditLog, AppPermissionDefault, Ref, Store, RoleType, MigrateFile, AppLimitDefault, OrgLimitDefault, DevicesModule, UserConnectedAccount, AppMembershipDefault, Commit, RateLimitsModule, MembershipType,
|
|
5
|
+
* Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, GetAllRecord, Object, AppPermission, OrgPermission, AppLevelRequirement, Database, Schema, Table, CheckConstraint, Field, SpatialRelation, ForeignKeyConstraint, FullTextSearch, Index, Policy, PrimaryKeyConstraint, TableGrant, Trigger, UniqueConstraint, View, ViewTable, ViewGrant, ViewRule, EmbeddingChunk, SecureTableProvision, RelationProvision, SessionSecretsModule, IdentityProvidersModule, SchemaGrant, DefaultPrivilege, Enum, ApiSchema, ApiModule, Domain, SiteMetadatum, SiteModule, SiteTheme, TriggerFunction, DatabaseTransfer, Api, Site, App, ConnectedAccountsModule, CryptoAddressesModule, CryptoAuthModule, DefaultIdsModule, DenormalizedTableField, EmailsModule, EncryptedSecretsModule, InvitesModule, LevelsModule, LimitsModule, MembershipTypesModule, MembershipsModule, PermissionsModule, PhoneNumbersModule, ProfilesModule, SecretsModule, SessionsModule, UserAuthModule, UsersModule, Blueprint, BlueprintTemplate, BlueprintConstruction, StorageModule, EntityTypeProvision, WebauthnCredentialsModule, WebauthnAuthModule, NotificationsModule, DatabaseProvisionModule, AppAdminGrant, AppOwnerGrant, AppGrant, OrgMembership, OrgMember, OrgAdminGrant, OrgOwnerGrant, OrgMemberProfile, OrgGrant, OrgChartEdge, OrgChartEdgeGrant, OrgPermissionDefault, AppLimit, OrgLimit, AppStep, AppAchievement, AppLevel, Email, PhoneNumber, CryptoAddress, WebauthnCredential, AppInvite, AppClaimedInvite, OrgInvite, OrgClaimedInvite, AuditLog, AppPermissionDefault, IdentityProvider, Ref, Store, RoleType, MigrateFile, AppLimitDefault, OrgLimitDefault, DevicesModule, UserConnectedAccount, AppMembershipDefault, OrgMembershipDefault, Commit, RateLimitsModule, MembershipType, RlsModule, SqlAction, OrgMembershipSetting, User, AstMigration, AppMembership, HierarchyModule
|
|
6
6
|
*
|
|
7
7
|
* Usage:
|
|
8
8
|
*
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* GraphQL SDK
|
|
3
3
|
* @generated by @constructive-io/graphql-codegen
|
|
4
4
|
*
|
|
5
|
-
* Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, GetAllRecord, Object, AppPermission, OrgPermission, AppLevelRequirement, Database, Schema, Table, CheckConstraint, Field, SpatialRelation, ForeignKeyConstraint, FullTextSearch, Index, Policy, PrimaryKeyConstraint, TableGrant, Trigger, UniqueConstraint, View, ViewTable, ViewGrant, ViewRule, EmbeddingChunk, SecureTableProvision, RelationProvision, SessionSecretsModule, SchemaGrant, DefaultPrivilege, Enum, ApiSchema, ApiModule, Domain, SiteMetadatum, SiteModule, SiteTheme, TriggerFunction, DatabaseTransfer, Api, Site, App, ConnectedAccountsModule, CryptoAddressesModule, CryptoAuthModule, DefaultIdsModule, DenormalizedTableField, EmailsModule, EncryptedSecretsModule, InvitesModule, LevelsModule, LimitsModule, MembershipTypesModule, MembershipsModule, PermissionsModule, PhoneNumbersModule, ProfilesModule, SecretsModule, SessionsModule, UserAuthModule, UsersModule, Blueprint, BlueprintTemplate, BlueprintConstruction, StorageModule, EntityTypeProvision, WebauthnCredentialsModule, DatabaseProvisionModule, AppAdminGrant, AppOwnerGrant, AppGrant, OrgMembership, OrgMember, OrgAdminGrant, OrgOwnerGrant, OrgMemberProfile, OrgGrant, OrgChartEdge, OrgChartEdgeGrant, OrgPermissionDefault, AppLimit, OrgLimit, AppStep, AppAchievement, AppLevel, Email, PhoneNumber, CryptoAddress, AppInvite, AppClaimedInvite, OrgInvite, OrgClaimedInvite, AuditLog, AppPermissionDefault, Ref, Store, RoleType, MigrateFile, AppLimitDefault, OrgLimitDefault, DevicesModule, UserConnectedAccount, AppMembershipDefault, Commit, RateLimitsModule, MembershipType,
|
|
5
|
+
* Tables: OrgGetManagersRecord, OrgGetSubordinatesRecord, GetAllRecord, Object, AppPermission, OrgPermission, AppLevelRequirement, Database, Schema, Table, CheckConstraint, Field, SpatialRelation, ForeignKeyConstraint, FullTextSearch, Index, Policy, PrimaryKeyConstraint, TableGrant, Trigger, UniqueConstraint, View, ViewTable, ViewGrant, ViewRule, EmbeddingChunk, SecureTableProvision, RelationProvision, SessionSecretsModule, IdentityProvidersModule, SchemaGrant, DefaultPrivilege, Enum, ApiSchema, ApiModule, Domain, SiteMetadatum, SiteModule, SiteTheme, TriggerFunction, DatabaseTransfer, Api, Site, App, ConnectedAccountsModule, CryptoAddressesModule, CryptoAuthModule, DefaultIdsModule, DenormalizedTableField, EmailsModule, EncryptedSecretsModule, InvitesModule, LevelsModule, LimitsModule, MembershipTypesModule, MembershipsModule, PermissionsModule, PhoneNumbersModule, ProfilesModule, SecretsModule, SessionsModule, UserAuthModule, UsersModule, Blueprint, BlueprintTemplate, BlueprintConstruction, StorageModule, EntityTypeProvision, WebauthnCredentialsModule, WebauthnAuthModule, NotificationsModule, DatabaseProvisionModule, AppAdminGrant, AppOwnerGrant, AppGrant, OrgMembership, OrgMember, OrgAdminGrant, OrgOwnerGrant, OrgMemberProfile, OrgGrant, OrgChartEdge, OrgChartEdgeGrant, OrgPermissionDefault, AppLimit, OrgLimit, AppStep, AppAchievement, AppLevel, Email, PhoneNumber, CryptoAddress, WebauthnCredential, AppInvite, AppClaimedInvite, OrgInvite, OrgClaimedInvite, AuditLog, AppPermissionDefault, IdentityProvider, Ref, Store, RoleType, MigrateFile, AppLimitDefault, OrgLimitDefault, DevicesModule, UserConnectedAccount, AppMembershipDefault, OrgMembershipDefault, Commit, RateLimitsModule, MembershipType, RlsModule, SqlAction, OrgMembershipSetting, User, AstMigration, AppMembership, HierarchyModule
|
|
6
6
|
*
|
|
7
7
|
* Usage:
|
|
8
8
|
*
|