mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-24 12:06:57 +03:00
0280677f03
Signed-off-by: Vyacheslav Tumanov <me@slavatumanov.me>
61 lines
1.9 KiB
TypeScript
61 lines
1.9 KiB
TypeScript
//
|
|
// Copyright © 2022 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 { Ref } from '@hcengineering/core'
|
|
import { hrId } from '@hcengineering/hr'
|
|
import hr from '@hcengineering/hr-resources/src/plugin'
|
|
import { IntlString, mergeIds } from '@hcengineering/platform'
|
|
import { AnyComponent } from '@hcengineering/ui'
|
|
import { Action, ActionCategory, ViewAction } from '@hcengineering/view'
|
|
|
|
export default mergeIds(hrId, hr, {
|
|
string: {
|
|
HRApplication: '' as IntlString,
|
|
Departments: '' as IntlString,
|
|
Request: '' as IntlString,
|
|
Vacation: '' as IntlString,
|
|
Sick: '' as IntlString,
|
|
PTO: '' as IntlString,
|
|
PTO2: '' as IntlString,
|
|
Remote: '' as IntlString,
|
|
Overtime: '' as IntlString,
|
|
Overtime2: '' as IntlString
|
|
},
|
|
component: {
|
|
Structure: '' as AnyComponent,
|
|
EditDepartment: '' as AnyComponent,
|
|
DepartmentStaff: '' as AnyComponent,
|
|
DepartmentEditor: '' as AnyComponent,
|
|
Schedule: '' as AnyComponent,
|
|
EditRequest: '' as AnyComponent,
|
|
TzDatePresenter: '' as AnyComponent,
|
|
TzDateEditor: '' as AnyComponent,
|
|
RequestPresenter: '' as AnyComponent
|
|
},
|
|
category: {
|
|
HR: '' as Ref<ActionCategory>
|
|
},
|
|
action: {
|
|
EditDepartment: '' as Ref<Action>,
|
|
DeleteDepartment: '' as Ref<Action>,
|
|
EditRequest: '' as Ref<Action>,
|
|
EditRequestType: '' as Ref<Action>,
|
|
DeleteRequest: '' as Ref<Action>
|
|
},
|
|
actionImpl: {
|
|
EditRequestType: '' as ViewAction
|
|
}
|
|
})
|