misc: removed unused table usage

This commit is contained in:
Sheen Capadngan
2024-09-08 17:04:41 +08:00
parent 17b0d0081d
commit ffaf145317
2 changed files with 1 additions and 10 deletions
-8
View File
@@ -14,9 +14,6 @@ import {
TAccessApprovalRequestsReviewersInsert, TAccessApprovalRequestsReviewersInsert,
TAccessApprovalRequestsReviewersUpdate, TAccessApprovalRequestsReviewersUpdate,
TAccessApprovalRequestsUpdate, TAccessApprovalRequestsUpdate,
TAdminSlackConfigs,
TAdminSlackConfigsInsert,
TAdminSlackConfigsUpdate,
TApiKeys, TApiKeys,
TApiKeysInsert, TApiKeysInsert,
TApiKeysUpdate, TApiKeysUpdate,
@@ -798,11 +795,6 @@ declare module "knex/types/tables" {
TProjectSlackConfigsInsert, TProjectSlackConfigsInsert,
TProjectSlackConfigsUpdate TProjectSlackConfigsUpdate
>; >;
[TableName.AdminSlackConfig]: KnexOriginal.CompositeTableType<
TAdminSlackConfigs,
TAdminSlackConfigsInsert,
TAdminSlackConfigsUpdate
>;
[TableName.WorkflowIntegrations]: KnexOriginal.CompositeTableType< [TableName.WorkflowIntegrations]: KnexOriginal.CompositeTableType<
TWorkflowIntegrations, TWorkflowIntegrations,
TWorkflowIntegrationsInsert, TWorkflowIntegrationsInsert,
+1 -2
View File
@@ -117,8 +117,7 @@ export enum TableName {
KmsKeyVersion = "kms_key_versions", KmsKeyVersion = "kms_key_versions",
WorkflowIntegrations = "workflow_integrations", WorkflowIntegrations = "workflow_integrations",
SlackIntegrations = "slack_integrations", SlackIntegrations = "slack_integrations",
ProjectSlackConfigs = "project_slack_configs", ProjectSlackConfigs = "project_slack_configs"
AdminSlackConfig = "admin_slack_configs"
} }
export type TImmutableDBKeys = "id" | "createdAt" | "updatedAt"; export type TImmutableDBKeys = "id" | "createdAt" | "updatedAt";