From e7d69c9a173000af529f44a18a3bef443677ab34 Mon Sep 17 00:00:00 2001 From: Julian Jelfs Date: Thu, 12 Dec 2024 12:03:30 +0000 Subject: [PATCH] tidy up some build issues --- .../src/services/groupIndex/groupIndex.client.ts | 6 ------ frontend/openchat-agent/src/services/user/user.client.ts | 1 - frontend/openchat-shared/src/domain/permission.ts | 2 +- 3 files changed, 1 insertion(+), 8 deletions(-) diff --git a/frontend/openchat-agent/src/services/groupIndex/groupIndex.client.ts b/frontend/openchat-agent/src/services/groupIndex/groupIndex.client.ts index 5c31754c10..b0fcd79a40 100644 --- a/frontend/openchat-agent/src/services/groupIndex/groupIndex.client.ts +++ b/frontend/openchat-agent/src/services/groupIndex/groupIndex.client.ts @@ -16,7 +16,6 @@ import type { ChannelIdentifier, FreezeCommunityResponse, UnfreezeCommunityResponse, - SlashCommandPermissions, } from "openchat-shared"; import { CandidService } from "../candidService"; import { @@ -70,11 +69,6 @@ import { GroupIndexUnfreezeGroupResponse, } from "../../typebox"; import { principalStringToBytes } from "../../utils/mapping"; -import { - apiChatPermission, - apiCommunityPermission, - apiMessagePermission, -} from "../common/chatMappersV2"; export class GroupIndexClient extends CandidService { constructor(identity: Identity, agent: HttpAgent, canisterId: string) { diff --git a/frontend/openchat-agent/src/services/user/user.client.ts b/frontend/openchat-agent/src/services/user/user.client.ts index aa5011a231..8e91ab2d62 100644 --- a/frontend/openchat-agent/src/services/user/user.client.ts +++ b/frontend/openchat-agent/src/services/user/user.client.ts @@ -121,7 +121,6 @@ import { import { apiCommunityPermissions, apiGroupPermissions, - apiMaybeAccessGate, apiMessageContent, editMessageResponse, apiPendingCryptocurrencyWithdrawal, diff --git a/frontend/openchat-shared/src/domain/permission.ts b/frontend/openchat-shared/src/domain/permission.ts index 41413a4625..761caf0394 100644 --- a/frontend/openchat-shared/src/domain/permission.ts +++ b/frontend/openchat-shared/src/domain/permission.ts @@ -1,4 +1,4 @@ -import type { ChatIdentifier, MessageContext, VideoCallType } from "./chat"; +import type { MessageContext, VideoCallType } from "./chat"; import type { OptionUpdate } from "./optionUpdate"; export const allRoles = ["none", "owner", "admin", "moderator", "member"] as const;