platform/plugins/contact-resources/src/plugin.ts
Andrey Sobolev 1ad84330cd
TSK-1062: Fix merge properly (#2919)
Signed-off-by: Andrey Sobolev <haiodo@gmail.com>
2023-04-07 21:39:53 +06:00

89 lines
3.2 KiB
TypeScript

//
// Copyright © 2020, 2021 Anticrm Platform Contributors.
// Copyright © 2021 Hardcore Engineering Inc.
//
// 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
//
// 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.
//
// See the License for the specific language governing permissions and
// limitations under the License.
//
import contact, { contactId } from '@hcengineering/contact'
import { Doc } from '@hcengineering/core'
import { IntlString, mergeIds, Resource } from '@hcengineering/platform'
import { Location } from '@hcengineering/ui'
import { FilterFunction, SortFunc } from '@hcengineering/view'
export default mergeIds(contactId, contact, {
string: {
Apply: '' as IntlString,
Contacts: '' as IntlString,
CreatePerson: '' as IntlString,
OrganizationNamePlaceholder: '' as IntlString,
OrganizationsNamePlaceholder: '' as IntlString,
PersonLocationPlaceholder: '' as IntlString,
PersonsNamePlaceholder: '' as IntlString,
Organizations: '' as IntlString,
Organization: '' as IntlString,
SelectFolder: '' as IntlString,
OrganizationsFolder: '' as IntlString,
PersonsFolder: '' as IntlString,
Name: '' as IntlString,
ContactCreateLabel: '' as IntlString,
SocialLinks: '' as IntlString,
ViewActivity: '' as IntlString,
Status: '' as IntlString,
SetStatus: '' as IntlString,
ClearStatus: '' as IntlString,
SaveStatus: '' as IntlString,
Location: '' as IntlString,
Cancel: '' as IntlString,
StatusDueDate: '' as IntlString,
StatusName: '' as IntlString,
NoExpire: '' as IntlString,
StatusDueDateTooltip: '' as IntlString,
CopyToClipboard: '' as IntlString,
Copied: '' as IntlString,
ViewFullProfile: '' as IntlString,
Member: '' as IntlString,
Members: '' as IntlString,
NumberMembers: '' as IntlString,
NoMembers: '' as IntlString,
AddMember: '' as IntlString,
KickEmployee: '' as IntlString,
KickEmployeeDescr: '' as IntlString,
Email: '' as IntlString,
CreateEmployee: '' as IntlString,
Inactive: '' as IntlString,
NotSpecified: '' as IntlString,
MergeEmployee: '' as IntlString,
MergeEmployeeFrom: '' as IntlString,
MergeEmployeeTo: '' as IntlString,
SelectAvatar: '' as IntlString,
GravatarsManaged: '' as IntlString,
AvatarProvider: '' as IntlString,
CategoryProjectMembers: '' as IntlString,
AddMembersHeader: '' as IntlString,
Assigned: '' as IntlString,
Unassigned: '' as IntlString,
CategoryCurrentUser: '' as IntlString,
CategoryPreviousAssigned: '' as IntlString,
CategoryProjectLead: '' as IntlString,
CategoryOther: '' as IntlString,
DeleteEmployee: '' as IntlString
},
function: {
GetContactLink: '' as Resource<(doc: Doc, props: Record<string, any>) => Promise<Location>>,
EmployeeSort: '' as SortFunc,
FilterChannelInResult: '' as FilterFunction,
FilterChannelNinResult: '' as FilterFunction
}
})