mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-11 23:26:30 +08:00
1ea445ab15
Co-authored-by: himself65 <himself65@outlook.com> Co-authored-by: Peng Xiao <pengxiao@outlook.com>
33 lines
790 B
TypeScript
33 lines
790 B
TypeScript
import '@affine/env/config';
|
|
|
|
import { definePlugin } from '@toeverything/plugin-infra/manager';
|
|
import { ReleaseStage } from '@toeverything/plugin-infra/type';
|
|
|
|
definePlugin(
|
|
{
|
|
id: 'com.affine.copilot',
|
|
name: {
|
|
fallback: 'AFFiNE Copilot',
|
|
i18nKey: 'com.affine.copilot.name',
|
|
},
|
|
description: {
|
|
fallback:
|
|
'AFFiNE Copilot will help you with best writing experience on the World.',
|
|
},
|
|
publisher: {
|
|
name: {
|
|
fallback: 'AFFiNE',
|
|
},
|
|
link: 'https://affine.pro',
|
|
},
|
|
stage: ReleaseStage.NIGHTLY,
|
|
version: '0.0.1',
|
|
},
|
|
{
|
|
load: () => import('./UI/index'),
|
|
hotModuleReload: onHot =>
|
|
import.meta.webpackHot &&
|
|
import.meta.webpackHot.accept('./UI', () => onHot(import('./UI/index'))),
|
|
}
|
|
);
|