2021-12-06 10:07:08 +00:00
|
|
|
//
|
|
|
|
// Copyright © 2020 Anticrm Platform Contributors.
|
2022-02-10 09:04:18 +00:00
|
|
|
//
|
2021-11-18 12:48:05 +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-02-10 09:04:18 +00:00
|
|
|
//
|
2021-11-18 12:48:05 +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-02-10 09:04:18 +00:00
|
|
|
//
|
2021-11-18 12:48:05 +00:00
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
2021-12-06 10:07:08 +00:00
|
|
|
//
|
2021-11-18 12:48:05 +00:00
|
|
|
|
2023-10-07 20:14:00 +00:00
|
|
|
import attachment from '@hcengineering/attachment'
|
|
|
|
import { loadMetadata } from '@hcengineering/platform'
|
2021-11-18 12:48:05 +00:00
|
|
|
|
2022-02-10 09:04:18 +00:00
|
|
|
const icons = require('../assets/icons.svg') as string // eslint-disable-line
|
2021-12-06 10:07:08 +00:00
|
|
|
loadMetadata(attachment.icon, {
|
2023-03-29 09:35:00 +00:00
|
|
|
Attachment: `${icons}#attachment`,
|
2022-04-23 02:40:38 +00:00
|
|
|
FileBrowser: `${icons}#fileBrowser`
|
2021-12-06 10:07:08 +00:00
|
|
|
})
|