2021-08-07 15:23:13 +00:00
|
|
|
//
|
|
|
|
// Copyright © 2020 Anticrm Platform Contributors.
|
2022-01-19 09:04:30 +00:00
|
|
|
//
|
2021-08-07 15:23:13 +00:00
|
|
|
// Licensed under the Eclipse Public License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License. You may
|
|
|
|
// obtain a copy of the License at https://www.eclipse.org/legal/epl-2.0
|
2022-01-19 09:04:30 +00:00
|
|
|
//
|
2021-08-07 15:23:13 +00:00
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
2022-01-19 09:04:30 +00:00
|
|
|
//
|
2021-08-07 15:23:13 +00:00
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
//
|
|
|
|
|
2022-01-19 09:04:30 +00:00
|
|
|
import chunter, { chunterId } from '@anticrm/chunter'
|
2022-04-22 03:13:15 +00:00
|
|
|
import type { Client, Space } from '@anticrm/core'
|
|
|
|
import type { IntlString, Resource } from '@anticrm/platform'
|
2022-01-19 09:04:30 +00:00
|
|
|
import { mergeIds } from '@anticrm/platform'
|
2021-08-07 15:23:13 +00:00
|
|
|
import type { AnyComponent } from '@anticrm/ui'
|
2022-04-19 09:38:31 +00:00
|
|
|
import { ViewAction } from '@anticrm/view'
|
2021-08-07 15:23:13 +00:00
|
|
|
|
|
|
|
export default mergeIds(chunterId, chunter, {
|
|
|
|
component: {
|
|
|
|
CreateChannel: '' as AnyComponent,
|
2022-04-22 03:13:15 +00:00
|
|
|
CreateDirectMessage: '' as AnyComponent,
|
2022-04-12 05:59:38 +00:00
|
|
|
ChannelHeader: '' as AnyComponent,
|
2022-04-22 03:13:15 +00:00
|
|
|
DmHeader: '' as AnyComponent,
|
2022-04-12 05:59:38 +00:00
|
|
|
ChannelView: '' as AnyComponent,
|
|
|
|
EditChannel: '' as AnyComponent
|
2021-08-07 15:23:13 +00:00
|
|
|
},
|
2022-04-22 03:13:15 +00:00
|
|
|
function: {
|
|
|
|
GetDmName: '' as Resource<(client: Client, space: Space) => Promise<string>>
|
|
|
|
},
|
2022-04-05 08:01:03 +00:00
|
|
|
actionImpl: {
|
2022-04-19 09:38:31 +00:00
|
|
|
SubscribeMessage: '' as ViewAction,
|
|
|
|
UnsubscribeMessage: '' as ViewAction,
|
|
|
|
PinMessage: '' as ViewAction,
|
|
|
|
UnpinMessage: '' as ViewAction,
|
|
|
|
SubscribeComment: '' as ViewAction,
|
|
|
|
UnsubscribeComment: '' as ViewAction
|
2022-04-05 08:01:03 +00:00
|
|
|
},
|
2021-08-07 15:23:13 +00:00
|
|
|
string: {
|
|
|
|
Channel: '' as IntlString,
|
2022-04-22 03:13:15 +00:00
|
|
|
DirectMessage: '' as IntlString,
|
2021-08-07 15:23:13 +00:00
|
|
|
Channels: '' as IntlString,
|
2022-04-22 03:13:15 +00:00
|
|
|
DirectMessages: '' as IntlString,
|
2021-08-07 15:23:13 +00:00
|
|
|
CreateChannel: '' as IntlString,
|
2022-04-22 03:13:15 +00:00
|
|
|
NewDirectMessage: '' as IntlString,
|
2021-08-07 15:23:13 +00:00
|
|
|
ChannelName: '' as IntlString,
|
2022-01-19 09:09:08 +00:00
|
|
|
ChannelNamePlaceholder: '' as IntlString,
|
2021-08-07 15:23:13 +00:00
|
|
|
ChannelDescription: '' as IntlString,
|
|
|
|
MakePrivate: '' as IntlString,
|
2022-02-23 16:10:11 +00:00
|
|
|
MakePrivateDescription: '' as IntlString,
|
2022-04-22 03:13:15 +00:00
|
|
|
About: '' as IntlString,
|
2022-04-12 05:59:38 +00:00
|
|
|
Members: '' as IntlString,
|
2022-04-22 03:13:15 +00:00
|
|
|
NoMembers: '' as IntlString,
|
2022-04-02 04:08:37 +00:00
|
|
|
In: '' as IntlString,
|
|
|
|
Replies: '' as IntlString,
|
2022-04-12 05:59:38 +00:00
|
|
|
Topic: '' as IntlString,
|
2022-04-02 04:08:37 +00:00
|
|
|
Thread: '' as IntlString,
|
2022-04-14 16:55:56 +00:00
|
|
|
Threads: '' as IntlString,
|
2022-04-02 04:08:37 +00:00
|
|
|
RepliesCount: '' as IntlString,
|
2022-04-05 06:19:18 +00:00
|
|
|
LastReply: '' as IntlString,
|
2022-04-05 08:01:03 +00:00
|
|
|
New: '' as IntlString,
|
|
|
|
GetNewReplies: '' as IntlString,
|
2022-04-12 15:45:06 +00:00
|
|
|
TurnOffReplies: '' as IntlString,
|
2022-04-14 08:53:33 +00:00
|
|
|
PinMessage: '' as IntlString,
|
|
|
|
UnpinMessage: '' as IntlString,
|
|
|
|
Pinned: '' as IntlString,
|
2022-04-14 07:36:11 +00:00
|
|
|
DeleteMessage: '' as IntlString,
|
2022-04-14 16:55:56 +00:00
|
|
|
EditMessage: '' as IntlString,
|
2022-04-15 08:53:57 +00:00
|
|
|
Edited: '' as IntlString,
|
2022-04-14 16:55:56 +00:00
|
|
|
AndYou: '' as IntlString,
|
2022-04-21 05:39:49 +00:00
|
|
|
ShowMoreReplies: '' as IntlString,
|
|
|
|
AddToSaved: '' as IntlString,
|
|
|
|
RemoveFromSaved: '' as IntlString,
|
|
|
|
EmptySavedHeader: '' as IntlString,
|
2022-04-21 15:47:04 +00:00
|
|
|
EmptySavedText: '' as IntlString,
|
2022-04-25 13:44:43 +00:00
|
|
|
SharedBy: '' as IntlString,
|
2022-04-21 15:47:04 +00:00
|
|
|
LeaveChannel: '' as IntlString,
|
2022-04-25 15:10:55 +00:00
|
|
|
ChannelBrowser: '' as IntlString,
|
2022-04-29 08:22:47 +00:00
|
|
|
SavedItems: '' as IntlString,
|
2022-05-31 13:01:24 +00:00
|
|
|
AddMembersHeader: '' as IntlString,
|
2022-06-10 16:10:15 +00:00
|
|
|
MessagesBrowser: '' as IntlString,
|
|
|
|
ChunterBrowser: '' as IntlString,
|
|
|
|
Messages: '' as IntlString,
|
2022-06-17 07:20:43 +00:00
|
|
|
NoResults: '' as IntlString,
|
|
|
|
CopyLink: '' as IntlString
|
2021-08-07 15:23:13 +00:00
|
|
|
}
|
|
|
|
})
|