Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
feat: removed knex-tables.d.ts
=c6b51af4b1c4
diff --git a/backend/src/@types/knex-tables.d.ts b/backend/src/@types/knex-tables.d.tsdeleted file mode 100644index 79342ea276..0000000000--- a/backend/src/@types/knex-tables.d.ts+++ /dev/null@@ -1,593 +0,0 @@-import { Knex } from "knex";--import {- TableName,- TAccessApprovalPolicies,- TAccessApprovalPoliciesApprovers,- TAccessApprovalPoliciesApproversInsert,- TAccessApprovalPoliciesApproversUpdate,- TAccessApprovalPoliciesInsert,- TAccessApprovalPoliciesUpdate,- TAccessApprovalRequests,- TAccessApprovalRequestsInsert,- TAccessApprovalRequestsReviewers,- TAccessApprovalRequestsReviewersInsert,- TAccessApprovalRequestsReviewersUpdate,- TAccessApprovalRequestsUpdate,- TApiKeys,- TApiKeysInsert,- TApiKeysUpdate,- TAuditLogs,- TAuditLogsInsert,- TAuditLogStreams,- TAuditLogStreamsInsert,- TAuditLogStreamsUpdate,- TAuditLogsUpdate,- TAuthTokens,- TAuthTokenSessions,- TAuthTokenSessionsInsert,- TAuthTokenSessionsUpdate,- TAuthTokensInsert,- TAuthTokensUpdate,- TBackupPrivateKey,- TBackupPrivateKeyInsert,- TBackupPrivateKeyUpdate,- TCertificateAuthorities,- TCertificateAuthoritiesInsert,- TCertificateAuthoritiesUpdate,- TCertificateAuthorityCerts,- TCertificateAuthorityCertsInsert,- TCertificateAuthorityCertsUpdate,- TCertificateAuthorityCrl,- TCertificateAuthorityCrlInsert,- TCertificateAuthorityCrlUpdate,- TCertificateAuthoritySecret,- TCertificateAuthoritySecretInsert,- TCertificateAuthoritySecretUpdate,- TCertificateBodies,- TCertificateBodiesInsert,- TCertificateBodiesUpdate,- TCertificates,- TCertificateSecrets,- TCertificateSecretsInsert,- TCertificateSecretsUpdate,- TCertificatesInsert,- TCertificatesUpdate,- TDynamicSecretLeases,- TDynamicSecretLeasesInsert,- TDynamicSecretLeasesUpdate,- TDynamicSecrets,- TDynamicSecretsInsert,- TDynamicSecretsUpdate,- TGitAppInstallSessions,- TGitAppInstallSessionsInsert,- TGitAppInstallSessionsUpdate,- TGitAppOrg,- TGitAppOrgInsert,- TGitAppOrgUpdate,- TGroupProjectMembershipRoles,- TGroupProjectMembershipRolesInsert,- TGroupProjectMembershipRolesUpdate,- TGroupProjectMemberships,- TGroupProjectMembershipsInsert,- TGroupProjectMembershipsUpdate,- TGroups,- TGroupsInsert,- TGroupsUpdate,- TIdentities,- TIdentitiesInsert,- TIdentitiesUpdate,- TIdentityAccessTokens,- TIdentityAccessTokensInsert,- TIdentityAccessTokensUpdate,- TIdentityAwsAuths,- TIdentityAwsAuthsInsert,- TIdentityAwsAuthsUpdate,- TIdentityAzureAuths,- TIdentityAzureAuthsInsert,- TIdentityAzureAuthsUpdate,- TIdentityGcpAuths,- TIdentityGcpAuthsInsert,- TIdentityGcpAuthsUpdate,- TIdentityKubernetesAuths,- TIdentityKubernetesAuthsInsert,- TIdentityKubernetesAuthsUpdate,- TIdentityOrgMemberships,- TIdentityOrgMembershipsInsert,- TIdentityOrgMembershipsUpdate,- TIdentityProjectAdditionalPrivilege,- TIdentityProjectAdditionalPrivilegeInsert,- TIdentityProjectAdditionalPrivilegeUpdate,- TIdentityProjectMembershipRole,- TIdentityProjectMembershipRoleInsert,- TIdentityProjectMembershipRoleUpdate,- TIdentityProjectMemberships,- TIdentityProjectMembershipsInsert,- TIdentityProjectMembershipsUpdate,- TIdentityUaClientSecrets,- TIdentityUaClientSecretsInsert,- TIdentityUaClientSecretsUpdate,- TIdentityUniversalAuths,- TIdentityUniversalAuthsInsert,- TIdentityUniversalAuthsUpdate,- TIncidentContacts,- TIncidentContactsInsert,- TIncidentContactsUpdate,- TIntegrationAuths,- TIntegrationAuthsInsert,- TIntegrationAuthsUpdate,- TIntegrations,- TIntegrationsInsert,- TIntegrationsUpdate,- TKmsKeys,- TKmsKeysInsert,- TKmsKeysUpdate,- TKmsKeyVersions,- TKmsKeyVersionsInsert,- TKmsKeyVersionsUpdate,- TKmsRootConfig,- TKmsRootConfigInsert,- TKmsRootConfigUpdate,- TLdapConfigs,- TLdapConfigsInsert,- TLdapConfigsUpdate,- TLdapGroupMaps,- TLdapGroupMapsInsert,- TLdapGroupMapsUpdate,- TOrganizations,- TOrganizationsInsert,- TOrganizationsUpdate,- TOrgBots,- TOrgBotsInsert,- TOrgBotsUpdate,- TOrgMemberships,- TOrgMembershipsInsert,- TOrgMembershipsUpdate,- TOrgRoles,- TOrgRolesInsert,- TOrgRolesUpdate,- TProjectBots,- TProjectBotsInsert,- TProjectBotsUpdate,- TProjectEnvironments,- TProjectEnvironmentsInsert,- TProjectEnvironmentsUpdate,- TProjectKeys,- TProjectKeysInsert,- TProjectKeysUpdate,- TProjectMemberships,- TProjectMembershipsInsert,- TProjectMembershipsUpdate,- TProjectRoles,- TProjectRolesInsert,- TProjectRolesUpdate,- TProjects,- TProjectsInsert,- TProjectsUpdate,- TProjectUserAdditionalPrivilege,- TProjectUserAdditionalPrivilegeInsert,- TProjectUserAdditionalPrivilegeUpdate,- TProjectUserMembershipRoles,- TProjectUserMembershipRolesInsert,- TProjectUserMembershipRolesUpdate,- TRateLimit,- TRateLimitInsert,- TRateLimitUpdate,- TSamlConfigs,- TSamlConfigsInsert,- TSamlConfigsUpdate,- TScimTokens,- TScimTokensInsert,- TScimTokensUpdate,- TSecretApprovalPolicies,- TSecretApprovalPoliciesApprovers,- TSecretApprovalPoliciesApproversInsert,- TSecretApprovalPoliciesApproversUpdate,- TSecretApprovalPoliciesInsert,- TSecretApprovalPoliciesUpdate,- TSecretApprovalRequests,- TSecretApprovalRequestSecretTags,- TSecretApprovalRequestSecretTagsInsert,- TSecretApprovalRequestSecretTagsUpdate,- TSecretApprovalRequestsInsert,- TSecretApprovalRequestsReviewers,- TSecretApprovalRequestsReviewersInsert,- TSecretApprovalRequestsReviewersUpdate,- TSecretApprovalRequestsSecrets,- TSecretApprovalRequestsSecretsInsert,- TSecretApprovalRequestsSecretsUpdate,- TSecretApprovalRequestsUpdate,- TSecretBlindIndexes,- TSecretBlindIndexesInsert,- TSecretBlindIndexesUpdate,- TSecretFolders,- TSecretFoldersInsert,- TSecretFoldersUpdate,- TSecretFolderVersions,- TSecretFolderVersionsInsert,- TSecretFolderVersionsUpdate,- TSecretImports,- TSecretImportsInsert,- TSecretImportsUpdate,- TSecretReferences,- TSecretReferencesInsert,- TSecretReferencesUpdate,- TSecretRotationOutputs,- TSecretRotationOutputsInsert,- TSecretRotationOutputsUpdate,- TSecretRotations,- TSecretRotationsInsert,- TSecretRotationsUpdate,- TSecrets,- TSecretScanningGitRisks,- TSecretScanningGitRisksInsert,- TSecretScanningGitRisksUpdate,- TSecretSharing,- TSecretSharingInsert,- TSecretSharingUpdate,- TSecretsInsert,- TSecretSnapshotFolders,- TSecretSnapshotFoldersInsert,- TSecretSnapshotFoldersUpdate,- TSecretSnapshots,- TSecretSnapshotSecrets,- TSecretSnapshotSecretsInsert,- TSecretSnapshotSecretsUpdate,- TSecretSnapshotsInsert,- TSecretSnapshotsUpdate,- TSecretsUpdate,- TSecretTagJunction,- TSecretTagJunctionInsert,- TSecretTagJunctionUpdate,- TSecretTags,- TSecretTagsInsert,- TSecretTagsUpdate,- TSecretVersions,- TSecretVersionsInsert,- TSecretVersionsUpdate,- TSecretVersionTagJunction,- TSecretVersionTagJunctionInsert,- TSecretVersionTagJunctionUpdate,- TServiceTokens,- TServiceTokensInsert,- TServiceTokensUpdate,- TSuperAdmin,- TSuperAdminInsert,- TSuperAdminUpdate,- TTrustedIps,- TTrustedIpsInsert,- TTrustedIpsUpdate,- TUserActions,- TUserActionsInsert,- TUserActionsUpdate,- TUserAliases,- TUserAliasesInsert,- TUserAliasesUpdate,- TUserEncryptionKeys,- TUserEncryptionKeysInsert,- TUserEncryptionKeysUpdate,- TUserGroupMembership,- TUserGroupMembershipInsert,- TUserGroupMembershipUpdate,- TUsers,- TUsersInsert,- TUsersUpdate,- TWebhooks,- TWebhooksInsert,- TWebhooksUpdate-} from "@app/db/schemas";--declare module "knex/types/tables" {- interface Tables {- [TableName.Users]: Knex.CompositeTableType<TUsers, TUsersInsert, TUsersUpdate>;- [TableName.Groups]: Knex.CompositeTableType<TGroups, TGroupsInsert, TGroupsUpdate>;- [TableName.CertificateAuthority]: Knex.CompositeTableType<- TCertificateAuthorities,- TCertificateAuthoritiesInsert,- TCertificateAuthoritiesUpdate- >;- [TableName.CertificateAuthorityCert]: Knex.CompositeTableType<- TCertificateAuthorityCerts,- TCertificateAuthorityCertsInsert,- TCertificateAuthorityCertsUpdate- >;- [TableName.CertificateAuthoritySecret]: Knex.CompositeTableType<- TCertificateAuthoritySecret,- TCertificateAuthoritySecretInsert,- TCertificateAuthoritySecretUpdate- >;- [TableName.CertificateAuthorityCrl]: Knex.CompositeTableType<- TCertificateAuthorityCrl,- TCertificateAuthorityCrlInsert,- TCertificateAuthorityCrlUpdate- >;- [TableName.Certificate]: Knex.CompositeTableType<TCertificates, TCertificatesInsert, TCertificatesUpdate>;- [TableName.CertificateBody]: Knex.CompositeTableType<- TCertificateBodies,- TCertificateBodiesInsert,- TCertificateBodiesUpdate- >;- [TableName.CertificateSecret]: Knex.CompositeTableType<- TCertificateSecrets,- TCertificateSecretsInsert,- TCertificateSecretsUpdate- >;- [TableName.UserGroupMembership]: Knex.CompositeTableType<- TUserGroupMembership,- TUserGroupMembershipInsert,- TUserGroupMembershipUpdate- >;- [TableName.GroupProjectMembership]: Knex.CompositeTableType<- TGroupProjectMemberships,- TGroupProjectMembershipsInsert,- TGroupProjectMembershipsUpdate- >;- [TableName.GroupProjectMembershipRole]: Knex.CompositeTableType<- TGroupProjectMembershipRoles,- TGroupProjectMembershipRolesInsert,- TGroupProjectMembershipRolesUpdate- >;- [TableName.UserAliases]: Knex.CompositeTableType<TUserAliases, TUserAliasesInsert, TUserAliasesUpdate>;- [TableName.UserEncryptionKey]: Knex.CompositeTableType<- TUserEncryptionKeys,- TUserEncryptionKeysInsert,- TUserEncryptionKeysUpdate- >;- [TableName.AuthTokens]: Knex.CompositeTableType<TAuthTokens, TAuthTokensInsert, TAuthTokensUpdate>;- [TableName.AuthTokenSession]: Knex.CompositeTableType<- TAuthTokenSessions,- TAuthTokenSessionsInsert,- TAuthTokenSessionsUpdate- >;- [TableName.BackupPrivateKey]: Knex.CompositeTableType<- TBackupPrivateKey,- TBackupPrivateKeyInsert,- TBackupPrivateKeyUpdate- >;- [TableName.Organization]: Knex.CompositeTableType<TOrganizations, TOrganizationsInsert, TOrganizationsUpdate>;- [TableName.OrgMembership]: Knex.CompositeTableType<TOrgMemberships, TOrgMembershipsInsert, TOrgMembershipsUpdate>;- [TableName.OrgRoles]: Knex.CompositeTableType<TOrgRoles, TOrgRolesInsert, TOrgRolesUpdate>;- [TableName.IncidentContact]: Knex.CompositeTableType<- TIncidentContacts,- TIncidentContactsInsert,- TIncidentContactsUpdate- >;- [TableName.UserAction]: Knex.CompositeTableType<TUserActions, TUserActionsInsert, TUserActionsUpdate>;- [TableName.SuperAdmin]: Knex.CompositeTableType<TSuperAdmin, TSuperAdminInsert, TSuperAdminUpdate>;- [TableName.ApiKey]: Knex.CompositeTableType<TApiKeys, TApiKeysInsert, TApiKeysUpdate>;- [TableName.Project]: Knex.CompositeTableType<TProjects, TProjectsInsert, TProjectsUpdate>;- [TableName.ProjectMembership]: Knex.CompositeTableType<- TProjectMemberships,- TProjectMembershipsInsert,- TProjectMembershipsUpdate- >;- [TableName.Environment]: Knex.CompositeTableType<- TProjectEnvironments,- TProjectEnvironmentsInsert,- TProjectEnvironmentsUpdate- >;- [TableName.ProjectBot]: Knex.CompositeTableType<TProjectBots, TProjectBotsInsert, TProjectBotsUpdate>;- [TableName.ProjectUserMembershipRole]: Knex.CompositeTableType<- TProjectUserMembershipRoles,- TProjectUserMembershipRolesInsert,- TProjectUserMembershipRolesUpdate- >;- [TableName.ProjectRoles]: Knex.CompositeTableType<TProjectRoles, TProjectRolesInsert, TProjectRolesUpdate>;- [TableName.ProjectUserAdditionalPrivilege]: Knex.CompositeTableType<- TProjectUserAdditionalPrivilege,- TProjectUserAdditionalPrivilegeInsert,- TProjectUserAdditionalPrivilegeUpdate- >;- [TableName.ProjectKeys]: Knex.CompositeTableType<TProjectKeys, TProjectKeysInsert, TProjectKeysUpdate>;- [TableName.Secret]: Knex.CompositeTableType<TSecrets, TSecretsInsert, TSecretsUpdate>;- [TableName.SecretReference]: Knex.CompositeTableType<- TSecretReferences,- TSecretReferencesInsert,- TSecretReferencesUpdate- >;- [TableName.SecretBlindIndex]: Knex.CompositeTableType<- TSecretBlindIndexes,- TSecretBlindIndexesInsert,- TSecretBlindIndexesUpdate- >;- [TableName.SecretVersion]: Knex.CompositeTableType<TSecretVersions, TSecretVersionsInsert, TSecretVersionsUpdate>;- [TableName.SecretFolder]: Knex.CompositeTableType<TSecretFolders, TSecretFoldersInsert, TSecretFoldersUpdate>;- [TableName.SecretFolderVersion]: Knex.CompositeTableType<- TSecretFolderVersions,- TSecretFolderVersionsInsert,- TSecretFolderVersionsUpdate- >;- [TableName.SecretSharing]: Knex.CompositeTableType<TSecretSharing, TSecretSharingInsert, TSecretSharingUpdate>;- [TableName.RateLimit]: Knex.CompositeTableType<TRateLimit, TRateLimitInsert, TRateLimitUpdate>;- [TableName.SecretTag]: Knex.CompositeTableType<TSecretTags, TSecretTagsInsert, TSecretTagsUpdate>;- [TableName.SecretImport]: Knex.CompositeTableType<TSecretImports, TSecretImportsInsert, TSecretImportsUpdate>;- [TableName.Integration]: Knex.CompositeTableType<TIntegrations, TIntegrationsInsert, TIntegrationsUpdate>;- [TableName.Webhook]: Knex.CompositeTableType<TWebhooks, TWebhooksInsert, TWebhooksUpdate>;- [TableName.ServiceToken]: Knex.CompositeTableType<TServiceTokens, TServiceTokensInsert, TServiceTokensUpdate>;- [TableName.IntegrationAuth]: Knex.CompositeTableType<- TIntegrationAuths,- TIntegrationAuthsInsert,- TIntegrationAuthsUpdate- >;- [TableName.Identity]: Knex.CompositeTableType<TIdentities, TIdentitiesInsert, TIdentitiesUpdate>;- [TableName.IdentityUniversalAuth]: Knex.CompositeTableType<- TIdentityUniversalAuths,- TIdentityUniversalAuthsInsert,- TIdentityUniversalAuthsUpdate- >;- [TableName.IdentityKubernetesAuth]: Knex.CompositeTableType<- TIdentityKubernetesAuths,- TIdentityKubernetesAuthsInsert,- TIdentityKubernetesAuthsUpdate- >;- [TableName.IdentityGcpAuth]: Knex.CompositeTableType<- TIdentityGcpAuths,- TIdentityGcpAuthsInsert,- TIdentityGcpAuthsUpdate- >;- [TableName.IdentityAwsAuth]: Knex.CompositeTableType<- TIdentityAwsAuths,- TIdentityAwsAuthsInsert,- TIdentityAwsAuthsUpdate- >;- [TableName.IdentityAzureAuth]: Knex.CompositeTableType<- TIdentityAzureAuths,- TIdentityAzureAuthsInsert,- TIdentityAzureAuthsUpdate- >;- [TableName.IdentityUaClientSecret]: Knex.CompositeTableType<- TIdentityUaClientSecrets,- TIdentityUaClientSecretsInsert,- TIdentityUaClientSecretsUpdate- >;- [TableName.IdentityAccessToken]: Knex.CompositeTableType<- TIdentityAccessTokens,- TIdentityAccessTokensInsert,- TIdentityAccessTokensUpdate- >;- [TableName.IdentityOrgMembership]: Knex.CompositeTableType<- TIdentityOrgMemberships,- TIdentityOrgMembershipsInsert,- TIdentityOrgMembershipsUpdate- >;- [TableName.IdentityProjectMembership]: Knex.CompositeTableType<- TIdentityProjectMemberships,- TIdentityProjectMembershipsInsert,- TIdentityProjectMembershipsUpdate- >;- [TableName.IdentityProjectMembershipRole]: Knex.CompositeTableType<- TIdentityProjectMembershipRole,- TIdentityProjectMembershipRoleInsert,- TIdentityProjectMembershipRoleUpdate- >;- [TableName.IdentityProjectAdditionalPrivilege]: Knex.CompositeTableType<- TIdentityProjectAdditionalPrivilege,- TIdentityProjectAdditionalPrivilegeInsert,- TIdentityProjectAdditionalPrivilegeUpdate- >;-- [TableName.AccessApprovalPolicy]: Knex.CompositeTableType<- TAccessApprovalPolicies,- TAccessApprovalPoliciesInsert,- TAccessApprovalPoliciesUpdate- >;-- [TableName.AccessApprovalPolicyApprover]: Knex.CompositeTableType<- TAccessApprovalPoliciesApprovers,- TAccessApprovalPoliciesApproversInsert,- TAccessApprovalPoliciesApproversUpdate- >;-- [TableName.AccessApprovalRequest]: Knex.CompositeTableType<- TAccessApprovalRequests,- TAccessApprovalRequestsInsert,- TAccessApprovalRequestsUpdate- >;-- [TableName.AccessApprovalRequestReviewer]: Knex.CompositeTableType<- TAccessApprovalRequestsReviewers,- TAccessApprovalRequestsReviewersInsert,- TAccessApprovalRequestsReviewersUpdate- >;-- [TableName.ScimToken]: Knex.CompositeTableType<TScimTokens, TScimTokensInsert, TScimTokensUpdate>;- [TableName.SecretApprovalPolicy]: Knex.CompositeTableType<- TSecretApprovalPolicies,- TSecretApprovalPoliciesInsert,- TSecretApprovalPoliciesUpdate- >;- [TableName.SecretApprovalPolicyApprover]: Knex.CompositeTableType<- TSecretApprovalPoliciesApprovers,- TSecretApprovalPoliciesApproversInsert,- TSecretApprovalPoliciesApproversUpdate- >;- [TableName.SecretApprovalRequest]: Knex.CompositeTableType<- TSecretApprovalRequests,- TSecretApprovalRequestsInsert,- TSecretApprovalRequestsUpdate- >;- [TableName.SecretApprovalRequestReviewer]: Knex.CompositeTableType<- TSecretApprovalRequestsReviewers,- TSecretApprovalRequestsReviewersInsert,- TSecretApprovalRequestsReviewersUpdate- >;- [TableName.SecretApprovalRequestSecret]: Knex.CompositeTableType<- TSecretApprovalRequestsSecrets,- TSecretApprovalRequestsSecretsInsert,- TSecretApprovalRequestsSecretsUpdate- >;- [TableName.SecretApprovalRequestSecretTag]: Knex.CompositeTableType<- TSecretApprovalRequestSecretTags,- TSecretApprovalRequestSecretTagsInsert,- TSecretApprovalRequestSecretTagsUpdate- >;- [TableName.SecretRotation]: Knex.CompositeTableType<- TSecretRotations,- TSecretRotationsInsert,- TSecretRotationsUpdate- >;- [TableName.SecretRotationOutput]: Knex.CompositeTableType<- TSecretRotationOutputs,- TSecretRotationOutputsInsert,- TSecretRotationOutputsUpdate- >;- [TableName.Snapshot]: Knex.CompositeTableType<TSecretSnapshots, TSecretSnapshotsInsert, TSecretSnapshotsUpdate>;- [TableName.SnapshotSecret]: Knex.CompositeTableType<- TSecretSnapshotSecrets,- TSecretSnapshotSecretsInsert,- TSecretSnapshotSecretsUpdate- >;- [TableName.SnapshotFolder]: Knex.CompositeTableType<- TSecretSnapshotFolders,- TSecretSnapshotFoldersInsert,- TSecretSnapshotFoldersUpdate- >;- [TableName.DynamicSecret]: Knex.CompositeTableType<TDynamicSecrets, TDynamicSecretsInsert, TDynamicSecretsUpdate>;- [TableName.DynamicSecretLease]: Knex.CompositeTableType<- TDynamicSecretLeases,- TDynamicSecretLeasesInsert,- TDynamicSecretLeasesUpdate- >;- [TableName.SamlConfig]: Knex.CompositeTableType<TSamlConfigs, TSamlConfigsInsert, TSamlConfigsUpdate>;- [TableName.LdapConfig]: Knex.CompositeTableType<TLdapConfigs, TLdapConfigsInsert, TLdapConfigsUpdate>;- [TableName.LdapGroupMap]: Knex.CompositeTableType<TLdapGroupMaps, TLdapGroupMapsInsert, TLdapGroupMapsUpdate>;- [TableName.OrgBot]: Knex.CompositeTableType<TOrgBots, TOrgBotsInsert, TOrgBotsUpdate>;- [TableName.AuditLog]: Knex.CompositeTableType<TAuditLogs, TAuditLogsInsert, TAuditLogsUpdate>;- [TableName.AuditLogStream]: Knex.CompositeTableType<- TAuditLogStreams,- TAuditLogStreamsInsert,- TAuditLogStreamsUpdate- >;- [TableName.GitAppInstallSession]: Knex.CompositeTableType<- TGitAppInstallSessions,- TGitAppInstallSessionsInsert,- TGitAppInstallSessionsUpdate- >;- [TableName.GitAppOrg]: Knex.CompositeTableType<TGitAppOrg, TGitAppOrgInsert, TGitAppOrgUpdate>;- [TableName.SecretScanningGitRisk]: Knex.CompositeTableType<- TSecretScanningGitRisks,- TSecretScanningGitRisksInsert,- TSecretScanningGitRisksUpdate- >;- [TableName.TrustedIps]: Knex.CompositeTableType<TTrustedIps, TTrustedIpsInsert, TTrustedIpsUpdate>;- // Junction tables- [TableName.JnSecretTag]: Knex.CompositeTableType<- TSecretTagJunction,- TSecretTagJunctionInsert,- TSecretTagJunctionUpdate- >;- [TableName.SecretVersionTag]: Knex.CompositeTableType<- TSecretVersionTagJunction,- TSecretVersionTagJunctionInsert,- TSecretVersionTagJunctionUpdate- >;- // KMS service- [TableName.KmsServerRootConfig]: Knex.CompositeTableType<- TKmsRootConfig,- TKmsRootConfigInsert,- TKmsRootConfigUpdate- >;- [TableName.KmsKey]: Knex.CompositeTableType<TKmsKeys, TKmsKeysInsert, TKmsKeysUpdate>;- [TableName.KmsKeyVersion]: Knex.CompositeTableType<TKmsKeyVersions, TKmsKeyVersionsInsert, TKmsKeyVersionsUpdate>;- }-}diff --git a/backend/src/@types/knex.d.ts b/backend/src/@types/knex.d.tsindex edd1cb7739..d0b9070254 100644--- a/backend/src/@types/knex.d.ts+++ b/backend/src/@types/knex.d.ts@@ -280,327 +280,371 @@ import {TWebhooksUpdate} from "@app/db/schemas";+declare module "knex" {+ namespace Knex {+ interface QueryInterface {+ primaryNode(): KnexOriginal;+ replicaNode(): KnexOriginal;+ }+ }+}+declare module "knex/types/tables" {interface Tables {- [TableName.Users]: Knex.CompositeTableType<TUsers, TUsersInsert, TUsersUpdate>;- [TableName.Groups]: Knex.CompositeTableType<TGroups, TGroupsInsert, TGroupsUpdate>;- [TableName.CertificateAuthority]: Knex.CompositeTableType<+ [TableName.Users]: KnexOriginal.CompositeTableType<TUsers, TUsersInsert, TUsersUpdate>;+ [TableName.Groups]: KnexOriginal.CompositeTableType<TGroups, TGroupsInsert, TGroupsUpdate>;+ [TableName.CertificateAuthority]: KnexOriginal.CompositeTableType<TCertificateAuthorities,TCertificateAuthoritiesInsert,TCertificateAuthoritiesUpdate>;- [TableName.CertificateAuthorityCert]: Knex.CompositeTableType<+ [TableName.CertificateAuthorityCert]: KnexOriginal.CompositeTableType<TCertificateAuthorityCerts,TCertificateAuthorityCertsInsert,TCertificateAuthorityCertsUpdate>;- [TableName.CertificateAuthoritySecret]: Knex.CompositeTableType<+ [TableName.CertificateAuthoritySecret]: KnexOriginal.CompositeTableType<TCertificateAuthoritySecret,TCertificateAuthoritySecretInsert,TCertificateAuthoritySecretUpdate>;- [TableName.CertificateAuthorityCrl]: Knex.CompositeTableType<+ [TableName.CertificateAuthorityCrl]: KnexOriginal.CompositeTableType<TCertificateAuthorityCrl,TCertificateAuthorityCrlInsert,TCertificateAuthorityCrlUpdate>;- [TableName.Certificate]: Knex.CompositeTableType<TCertificates, TCertificatesInsert, TCertificatesUpdate>;- [TableName.CertificateBody]: Knex.CompositeTableType<+ [TableName.Certificate]: KnexOriginal.CompositeTableType<TCertificates, TCertificatesInsert, TCertificatesUpdate>;+ [TableName.CertificateBody]: KnexOriginal.CompositeTableType<TCertificateBodies,TCertificateBodiesInsert,TCertificateBodiesUpdate>;- [TableName.CertificateSecret]: Knex.CompositeTableType<+ [TableName.CertificateSecret]: KnexOriginal.CompositeTableType<TCertificateSecrets,TCertificateSecretsInsert,TCertificateSecretsUpdate>;- [TableName.UserGroupMembership]: Knex.CompositeTableType<+ [TableName.UserGroupMembership]: KnexOriginal.CompositeTableType<TUserGroupMembership,TUserGroupMembershipInsert,TUserGroupMembershipUpdate>;- [TableName.GroupProjectMembership]: Knex.CompositeTableType<+ [TableName.GroupProjectMembership]: KnexOriginal.CompositeTableType<TGroupProjectMemberships,TGroupProjectMembershipsInsert,TGroupProjectMembershipsUpdate>;- [TableName.GroupProjectMembershipRole]: Knex.CompositeTableType<+ [TableName.GroupProjectMembershipRole]: KnexOriginal.CompositeTableType<TGroupProjectMembershipRoles,TGroupProjectMembershipRolesInsert,TGroupProjectMembershipRolesUpdate>;- [TableName.UserAliases]: Knex.CompositeTableType<TUserAliases, TUserAliasesInsert, TUserAliasesUpdate>;- [TableName.UserEncryptionKey]: Knex.CompositeTableType<+ [TableName.UserAliases]: KnexOriginal.CompositeTableType<TUserAliases, TUserAliasesInsert, TUserAliasesUpdate>;+ [TableName.UserEncryptionKey]: KnexOriginal.CompositeTableType<TUserEncryptionKeys,TUserEncryptionKeysInsert,TUserEncryptionKeysUpdate>;- [TableName.AuthTokens]: Knex.CompositeTableType<TAuthTokens, TAuthTokensInsert, TAuthTokensUpdate>;- [TableName.AuthTokenSession]: Knex.CompositeTableType<+ [TableName.AuthTokens]: KnexOriginal.CompositeTableType<TAuthTokens, TAuthTokensInsert, TAuthTokensUpdate>;+ [TableName.AuthTokenSession]: KnexOriginal.CompositeTableType<TAuthTokenSessions,TAuthTokenSessionsInsert,TAuthTokenSessionsUpdate>;- [TableName.BackupPrivateKey]: Knex.CompositeTableType<+ [TableName.BackupPrivateKey]: KnexOriginal.CompositeTableType<TBackupPrivateKey,TBackupPrivateKeyInsert,TBackupPrivateKeyUpdate>;- [TableName.Organization]: Knex.CompositeTableType<TOrganizations, TOrganizationsInsert, TOrganizationsUpdate>;- [TableName.OrgMembership]: Knex.CompositeTableType<TOrgMemberships, TOrgMembershipsInsert, TOrgMembershipsUpdate>;- [TableName.OrgRoles]: Knex.CompositeTableType<TOrgRoles, TOrgRolesInsert, TOrgRolesUpdate>;- [TableName.IncidentContact]: Knex.CompositeTableType<+ [TableName.Organization]: KnexOriginal.CompositeTableType<+ TOrganizations,+ TOrganizationsInsert,+ TOrganizationsUpdate+ >;+ [TableName.OrgMembership]: KnexOriginal.CompositeTableType<+ TOrgMemberships,+ TOrgMembershipsInsert,+ TOrgMembershipsUpdate+ >;+ [TableName.OrgRoles]: KnexOriginal.CompositeTableType<TOrgRoles, TOrgRolesInsert, TOrgRolesUpdate>;+ [TableName.IncidentContact]: KnexOriginal.CompositeTableType<TIncidentContacts,TIncidentContactsInsert,TIncidentContactsUpdate>;- [TableName.UserAction]: Knex.CompositeTableType<TUserActions, TUserActionsInsert, TUserActionsUpdate>;- [TableName.SuperAdmin]: Knex.CompositeTableType<TSuperAdmin, TSuperAdminInsert, TSuperAdminUpdate>;- [TableName.ApiKey]: Knex.CompositeTableType<TApiKeys, TApiKeysInsert, TApiKeysUpdate>;- [TableName.Project]: Knex.CompositeTableType<TProjects, TProjectsInsert, TProjectsUpdate>;- [TableName.ProjectMembership]: Knex.CompositeTableType<+ [TableName.UserAction]: KnexOriginal.CompositeTableType<TUserActions, TUserActionsInsert, TUserActionsUpdate>;+ [TableName.SuperAdmin]: KnexOriginal.CompositeTableType<TSuperAdmin, TSuperAdminInsert, TSuperAdminUpdate>;+ [TableName.ApiKey]: KnexOriginal.CompositeTableType<TApiKeys, TApiKeysInsert, TApiKeysUpdate>;+ [TableName.Project]: KnexOriginal.CompositeTableType<TProjects, TProjectsInsert, TProjectsUpdate>;+ [TableName.ProjectMembership]: KnexOriginal.CompositeTableType<TProjectMemberships,TProjectMembershipsInsert,TProjectMembershipsUpdate>;- [TableName.Environment]: Knex.CompositeTableType<+ [TableName.Environment]: KnexOriginal.CompositeTableType<TProjectEnvironments,TProjectEnvironmentsInsert,TProjectEnvironmentsUpdate>;- [TableName.ProjectBot]: Knex.CompositeTableType<TProjectBots, TProjectBotsInsert, TProjectBotsUpdate>;- [TableName.ProjectUserMembershipRole]: Knex.CompositeTableType<+ [TableName.ProjectBot]: KnexOriginal.CompositeTableType<TProjectBots, TProjectBotsInsert, TProjectBotsUpdate>;+ [TableName.ProjectUserMembershipRole]: KnexOriginal.CompositeTableType<TProjectUserMembershipRoles,TProjectUserMembershipRolesInsert,TProjectUserMembershipRolesUpdate>;- [TableName.ProjectRoles]: Knex.CompositeTableType<TProjectRoles, TProjectRolesInsert, TProjectRolesUpdate>;- [TableName.ProjectUserAdditionalPrivilege]: Knex.CompositeTableType<+ [TableName.ProjectRoles]: KnexOriginal.CompositeTableType<TProjectRoles, TProjectRolesInsert, TProjectRolesUpdate>;+ [TableName.ProjectUserAdditionalPrivilege]: KnexOriginal.CompositeTableType<TProjectUserAdditionalPrivilege,TProjectUserAdditionalPrivilegeInsert,TProjectUserAdditionalPrivilegeUpdate>;- [TableName.ProjectKeys]: Knex.CompositeTableType<TProjectKeys, TProjectKeysInsert, TProjectKeysUpdate>;- [TableName.Secret]: Knex.CompositeTableType<TSecrets, TSecretsInsert, TSecretsUpdate>;- [TableName.SecretReference]: Knex.CompositeTableType<+ [TableName.ProjectKeys]: KnexOriginal.CompositeTableType<TProjectKeys, TProjectKeysInsert, TProjectKeysUpdate>;+ [TableName.Secret]: KnexOriginal.CompositeTableType<TSecrets, TSecretsInsert, TSecretsUpdate>;+ [TableName.SecretReference]: KnexOriginal.CompositeTableType<TSecretReferences,TSecretReferencesInsert,TSecretReferencesUpdate>;- [TableName.SecretBlindIndex]: Knex.CompositeTableType<+ [TableName.SecretBlindIndex]: KnexOriginal.CompositeTableType<TSecretBlindIndexes,TSecretBlindIndexesInsert,TSecretBlindIndexesUpdate>;- [TableName.SecretVersion]: Knex.CompositeTableType<TSecretVersions, TSecretVersionsInsert, TSecretVersionsUpdate>;- [TableName.SecretFolder]: Knex.CompositeTableType<TSecretFolders, TSecretFoldersInsert, TSecretFoldersUpdate>;- [TableName.SecretFolderVersion]: Knex.CompositeTableType<+ [TableName.SecretVersion]: KnexOriginal.CompositeTableType<+ TSecretVersions,+ TSecretVersionsInsert,+ TSecretVersionsUpdate+ >;+ [TableName.SecretFolder]: KnexOriginal.CompositeTableType<+ TSecretFolders,+ TSecretFoldersInsert,+ TSecretFoldersUpdate+ >;+ [TableName.SecretFolderVersion]: KnexOriginal.CompositeTableType<TSecretFolderVersions,TSecretFolderVersionsInsert,TSecretFolderVersionsUpdate>;- [TableName.SecretSharing]: Knex.CompositeTableType<TSecretSharing, TSecretSharingInsert, TSecretSharingUpdate>;- [TableName.RateLimit]: Knex.CompositeTableType<TRateLimit, TRateLimitInsert, TRateLimitUpdate>;- [TableName.SecretTag]: Knex.CompositeTableType<TSecretTags, TSecretTagsInsert, TSecretTagsUpdate>;- [TableName.SecretImport]: Knex.CompositeTableType<TSecretImports, TSecretImportsInsert, TSecretImportsUpdate>;- [TableName.Integration]: Knex.CompositeTableType<TIntegrations, TIntegrationsInsert, TIntegrationsUpdate>;- [TableName.Webhook]: Knex.CompositeTableType<TWebhooks, TWebhooksInsert, TWebhooksUpdate>;- [TableName.ServiceToken]: Knex.CompositeTableType<TServiceTokens, TServiceTokensInsert, TServiceTokensUpdate>;- [TableName.IntegrationAuth]: Knex.CompositeTableType<+ [TableName.SecretSharing]: KnexOriginal.CompositeTableType<+ TSecretSharing,+ TSecretSharingInsert,+ TSecretSharingUpdate+ >;+ [TableName.RateLimit]: KnexOriginal.CompositeTableType<TRateLimit, TRateLimitInsert, TRateLimitUpdate>;+ [TableName.SecretTag]: KnexOriginal.CompositeTableType<TSecretTags, TSecretTagsInsert, TSecretTagsUpdate>;+ [TableName.SecretImport]: KnexOriginal.CompositeTableType<+ TSecretImports,+ TSecretImportsInsert,+ TSecretImportsUpdate+ >;+ [TableName.Integration]: KnexOriginal.CompositeTableType<TIntegrations, TIntegrationsInsert, TIntegrationsUpdate>;+ [TableName.Webhook]: KnexOriginal.CompositeTableType<TWebhooks, TWebhooksInsert, TWebhooksUpdate>;+ [TableName.ServiceToken]: KnexOriginal.CompositeTableType<+ TServiceTokens,+ TServiceTokensInsert,+ TServiceTokensUpdate+ >;+ [TableName.IntegrationAuth]: KnexOriginal.CompositeTableType<TIntegrationAuths,TIntegrationAuthsInsert,TIntegrationAuthsUpdate>;- [TableName.Identity]: Knex.CompositeTableType<TIdentities, TIdentitiesInsert, TIdentitiesUpdate>;- [TableName.IdentityUniversalAuth]: Knex.CompositeTableType<+ [TableName.Identity]: KnexOriginal.CompositeTableType<TIdentities, TIdentitiesInsert, TIdentitiesUpdate>;+ [TableName.IdentityUniversalAuth]: KnexOriginal.CompositeTableType<TIdentityUniversalAuths,TIdentityUniversalAuthsInsert,TIdentityUniversalAuthsUpdate>;- [TableName.IdentityKubernetesAuth]: Knex.CompositeTableType<+ [TableName.IdentityKubernetesAuth]: KnexOriginal.CompositeTableType<TIdentityKubernetesAuths,TIdentityKubernetesAuthsInsert,TIdentityKubernetesAuthsUpdate>;- [TableName.IdentityGcpAuth]: Knex.CompositeTableType<+ [TableName.IdentityGcpAuth]: KnexOriginal.CompositeTableType<TIdentityGcpAuths,TIdentityGcpAuthsInsert,TIdentityGcpAuthsUpdate>;- [TableName.IdentityAwsAuth]: Knex.CompositeTableType<+ [TableName.IdentityAwsAuth]: KnexOriginal.CompositeTableType<TIdentityAwsAuths,TIdentityAwsAuthsInsert,TIdentityAwsAuthsUpdate>;- [TableName.IdentityAzureAuth]: Knex.CompositeTableType<+ [TableName.IdentityAzureAuth]: KnexOriginal.CompositeTableType<TIdentityAzureAuths,TIdentityAzureAuthsInsert,TIdentityAzureAuthsUpdate>;- [TableName.IdentityUaClientSecret]: Knex.CompositeTableType<+ [TableName.IdentityUaClientSecret]: KnexOriginal.CompositeTableType<TIdentityUaClientSecrets,TIdentityUaClientSecretsInsert,TIdentityUaClientSecretsUpdate>;- [TableName.IdentityAccessToken]: Knex.CompositeTableType<+ [TableName.IdentityAccessToken]: KnexOriginal.CompositeTableType<TIdentityAccessTokens,TIdentityAccessTokensInsert,TIdentityAccessTokensUpdate>;- [TableName.IdentityOrgMembership]: Knex.CompositeTableType<+ [TableName.IdentityOrgMembership]: KnexOriginal.CompositeTableType<TIdentityOrgMemberships,TIdentityOrgMembershipsInsert,TIdentityOrgMembershipsUpdate>;- [TableName.IdentityProjectMembership]: Knex.CompositeTableType<+ [TableName.IdentityProjectMembership]: KnexOriginal.CompositeTableType<TIdentityProjectMemberships,TIdentityProjectMembershipsInsert,TIdentityProjectMembershipsUpdate>;- [TableName.IdentityProjectMembershipRole]: Knex.CompositeTableType<+ [TableName.IdentityProjectMembershipRole]: KnexOriginal.CompositeTableType<TIdentityProjectMembershipRole,TIdentityProjectMembershipRoleInsert,TIdentityProjectMembershipRoleUpdate>;- [TableName.IdentityProjectAdditionalPrivilege]: Knex.CompositeTableType<+ [TableName.IdentityProjectAdditionalPrivilege]: KnexOriginal.CompositeTableType<TIdentityProjectAdditionalPrivilege,TIdentityProjectAdditionalPrivilegeInsert,TIdentityProjectAdditionalPrivilegeUpdate>;- [TableName.AccessApprovalPolicy]: Knex.CompositeTableType<+ [TableName.AccessApprovalPolicy]: KnexOriginal.CompositeTableType<TAccessApprovalPolicies,TAccessApprovalPoliciesInsert,TAccessApprovalPoliciesUpdate>;- [TableName.AccessApprovalPolicyApprover]: Knex.CompositeTableType<+ [TableName.AccessApprovalPolicyApprover]: KnexOriginal.CompositeTableType<TAccessApprovalPoliciesApprovers,TAccessApprovalPoliciesApproversInsert,TAccessApprovalPoliciesApproversUpdate>;- [TableName.AccessApprovalRequest]: Knex.CompositeTableType<+ [TableName.AccessApprovalRequest]: KnexOriginal.CompositeTableType<TAccessApprovalRequests,TAccessApprovalRequestsInsert,TAccessApprovalRequestsUpdate>;- [TableName.AccessApprovalRequestReviewer]: Knex.CompositeTableType<+ [TableName.AccessApprovalRequestReviewer]: KnexOriginal.CompositeTableType<TAccessApprovalRequestsReviewers,TAccessApprovalRequestsReviewersInsert,TAccessApprovalRequestsReviewersUpdate>;- [TableName.ScimToken]: Knex.CompositeTableType<TScimTokens, TScimTokensInsert, TScimTokensUpdate>;- [TableName.SecretApprovalPolicy]: Knex.CompositeTableType<+ [TableName.ScimToken]: KnexOriginal.CompositeTableType<TScimTokens, TScimTokensInsert, TScimTokensUpdate>;+ [TableName.SecretApprovalPolicy]: KnexOriginal.CompositeTableType<TSecretApprovalPolicies,TSecretApprovalPoliciesInsert,TSecretApprovalPoliciesUpdate>;- [TableName.SecretApprovalPolicyApprover]: Knex.CompositeTableType<+ [TableName.SecretApprovalPolicyApprover]: KnexOriginal.CompositeTableType<TSecretApprovalPoliciesApprovers,TSecretApprovalPoliciesApproversInsert,TSecretApprovalPoliciesApproversUpdate>;- [TableName.SecretApprovalRequest]: Knex.CompositeTableType<+ [TableName.SecretApprovalRequest]: KnexOriginal.CompositeTableType<TSecretApprovalRequests,TSecretApprovalRequestsInsert,TSecretApprovalRequestsUpdate>;- [TableName.SecretApprovalRequestReviewer]: Knex.CompositeTableType<+ [TableName.SecretApprovalRequestReviewer]: KnexOriginal.CompositeTableType<TSecretApprovalRequestsReviewers,TSecretApprovalRequestsReviewersInsert,TSecretApprovalRequestsReviewersUpdate>;- [TableName.SecretApprovalRequestSecret]: Knex.CompositeTableType<+ [TableName.SecretApprovalRequestSecret]: KnexOriginal.CompositeTableType<TSecretApprovalRequestsSecrets,TSecretApprovalRequestsSecretsInsert,TSecretApprovalRequestsSecretsUpdate>;- [TableName.SecretApprovalRequestSecretTag]: Knex.CompositeTableType<+ [TableName.SecretApprovalRequestSecretTag]: KnexOriginal.CompositeTableType<TSecretApprovalRequestSecretTags,TSecretApprovalRequestSecretTagsInsert,TSecretApprovalRequestSecretTagsUpdate>;- [TableName.SecretRotation]: Knex.CompositeTableType<+ [TableName.SecretRotation]: KnexOriginal.CompositeTableType<TSecretRotations,TSecretRotationsInsert,TSecretRotationsUpdate>;- [TableName.SecretRotationOutput]: Knex.CompositeTableType<+ [TableName.SecretRotationOutput]: KnexOriginal.CompositeTableType<TSecretRotationOutputs,TSecretRotationOutputsInsert,TSecretRotationOutputsUpdate>;- [TableName.Snapshot]: Knex.CompositeTableType<TSecretSnapshots, TSecretSnapshotsInsert, TSecretSnapshotsUpdate>;- [TableName.SnapshotSecret]: Knex.CompositeTableType<+ [TableName.Snapshot]: KnexOriginal.CompositeTableType<+ TSecretSnapshots,+ TSecretSnapshotsInsert,+ TSecretSnapshotsUpdate+ >;+ [TableName.SnapshotSecret]: KnexOriginal.CompositeTableType<TSecretSnapshotSecrets,TSecretSnapshotSecretsInsert,TSecretSnapshotSecretsUpdate>;- [TableName.SnapshotFolder]: Knex.CompositeTableType<+ [TableName.SnapshotFolder]: KnexOriginal.CompositeTableType<TSecretSnapshotFolders,TSecretSnapshotFoldersInsert,TSecretSnapshotFoldersUpdate>;- [TableName.DynamicSecret]: Knex.CompositeTableType<TDynamicSecrets, TDynamicSecretsInsert, TDynamicSecretsUpdate>;- [TableName.DynamicSecretLease]: Knex.CompositeTableType<+ [TableName.DynamicSecret]: KnexOriginal.CompositeTableType<+ TDynamicSecrets,+ TDynamicSecretsInsert,+ TDynamicSecretsUpdate+ >;+ [TableName.DynamicSecretLease]: KnexOriginal.CompositeTableType<TDynamicSecretLeases,TDynamicSecretLeasesInsert,TDynamicSecretLeasesUpdate>;- [TableName.SamlConfig]: Knex.CompositeTableType<TSamlConfigs, TSamlConfigsInsert, TSamlConfigsUpdate>;+ [TableName.SamlConfig]: KnexOriginal.CompositeTableType<TSamlConfigs, TSamlConfigsInsert, TSamlConfigsUpdate>;[TableName.OidcConfig]: Knex.CompositeTableType<TOidcConfigs, TOidcConfigsInsert, TOidcConfigsUpdate>;- [TableName.LdapConfig]: Knex.CompositeTableType<TLdapConfigs, TLdapConfigsInsert, TLdapConfigsUpdate>;- [TableName.LdapGroupMap]: Knex.CompositeTableType<TLdapGroupMaps, TLdapGroupMapsInsert, TLdapGroupMapsUpdate>;- [TableName.OrgBot]: Knex.CompositeTableType<TOrgBots, TOrgBotsInsert, TOrgBotsUpdate>;- [TableName.AuditLog]: Knex.CompositeTableType<TAuditLogs, TAuditLogsInsert, TAuditLogsUpdate>;- [TableName.AuditLogStream]: Knex.CompositeTableType<+ [TableName.LdapConfig]: KnexOriginal.CompositeTableType<TLdapConfigs, TLdapConfigsInsert, TLdapConfigsUpdate>;+ [TableName.LdapGroupMap]: KnexOriginal.CompositeTableType<+ TLdapGroupMaps,+ TLdapGroupMapsInsert,+ TLdapGroupMapsUpdate+ >;+ [TableName.OrgBot]: KnexOriginal.CompositeTableType<TOrgBots, TOrgBotsInsert, TOrgBotsUpdate>;+ [TableName.AuditLog]: KnexOriginal.CompositeTableType<TAuditLogs, TAuditLogsInsert, TAuditLogsUpdate>;+ [TableName.AuditLogStream]: KnexOriginal.CompositeTableType<TAuditLogStreams,TAuditLogStreamsInsert,TAuditLogStreamsUpdate>;- [TableName.GitAppInstallSession]: Knex.CompositeTableType<+ [TableName.GitAppInstallSession]: KnexOriginal.CompositeTableType<TGitAppInstallSessions,TGitAppInstallSessionsInsert,TGitAppInstallSessionsUpdate>;- [TableName.GitAppOrg]: Knex.CompositeTableType<TGitAppOrg, TGitAppOrgInsert, TGitAppOrgUpdate>;- [TableName.SecretScanningGitRisk]: Knex.CompositeTableType<+ [TableName.GitAppOrg]: KnexOriginal.CompositeTableType<TGitAppOrg, TGitAppOrgInsert, TGitAppOrgUpdate>;+ [TableName.SecretScanningGitRisk]: KnexOriginal.CompositeTableType<TSecretScanningGitRisks,TSecretScanningGitRisksInsert,TSecretScanningGitRisksUpdate>;- [TableName.TrustedIps]: Knex.CompositeTableType<TTrustedIps, TTrustedIpsInsert, TTrustedIpsUpdate>;+ [TableName.TrustedIps]: KnexOriginal.CompositeTableType<TTrustedIps, TTrustedIpsInsert, TTrustedIpsUpdate>;// Junction tables- [TableName.JnSecretTag]: Knex.CompositeTableType<+ [TableName.JnSecretTag]: KnexOriginal.CompositeTableType<TSecretTagJunction,TSecretTagJunctionInsert,TSecretTagJunctionUpdate>;- [TableName.SecretVersionTag]: Knex.CompositeTableType<+ [TableName.SecretVersionTag]: KnexOriginal.CompositeTableType<TSecretVersionTagJunction,TSecretVersionTagJunctionInsert,TSecretVersionTagJunctionUpdate>;// KMS service- [TableName.KmsServerRootConfig]: Knex.CompositeTableType<+ [TableName.KmsServerRootConfig]: KnexOriginal.CompositeTableType<TKmsRootConfig,TKmsRootConfigInsert,TKmsRootConfigUpdate>;- [TableName.KmsKey]: Knex.CompositeTableType<TKmsKeys, TKmsKeysInsert, TKmsKeysUpdate>;- [TableName.KmsKeyVersion]: Knex.CompositeTableType<TKmsKeyVersions, TKmsKeyVersionsInsert, TKmsKeyVersionsUpdate>;- }-}--declare module "knex" {- namespace Knex {- interface QueryInterface {- primaryNode(): KnexOriginal;- replicaNode(): KnexOriginal;- }+ [TableName.KmsKey]: KnexOriginal.CompositeTableType<TKmsKeys, TKmsKeysInsert, TKmsKeysUpdate>;+ [TableName.KmsKeyVersion]: KnexOriginal.CompositeTableType<+ TKmsKeyVersions,+ TKmsKeyVersionsInsert,+ TKmsKeyVersionsUpdate+ >;}}