mirror of
https://github.com/AppFlowy-IO/AppFlowy.git
synced 2025-04-24 22:57:12 -04:00
* chore: ai type * chore: use patch to fix version issue * chore: update * chore: update * chore: integrate client api * chore: add schema * chore: setup event * chore: add event test * chore: add test * chore: update test * chore: load chat message * chore: load chat message * chore: chat ui * chore: disable create chat * chore: update client api * chore: disable chat * chore: ui theme * chore: ui theme * chore: copy message * chore: fix test * chore: show error * chore: update bloc * chore: update test * chore: lint * chore: icon * chore: hover * chore: show unsupported page * chore: adjust mobile ui * chore: adjust view title bar * chore: return related question * chore: error page * chore: error page * chore: code format * chore: prompt * chore: fix test * chore: ui adjust * chore: disable create chat * chore: add loading page * chore: fix test * chore: disable chat action * chore: add maximum text limit
45 lines
1.6 KiB
Dart
45 lines
1.6 KiB
Dart
import 'package:appflowy/plugins/ai_chat/chat.dart';
|
|
import 'package:appflowy/plugins/database/calendar/calendar.dart';
|
|
import 'package:appflowy/plugins/database/board/board.dart';
|
|
import 'package:appflowy/plugins/database/grid/grid.dart';
|
|
import 'package:appflowy/plugins/database_document/database_document_plugin.dart';
|
|
import 'package:appflowy/startup/plugin/plugin.dart';
|
|
import 'package:appflowy/startup/startup.dart';
|
|
import 'package:appflowy/plugins/blank/blank.dart';
|
|
import 'package:appflowy/plugins/document/document.dart';
|
|
import 'package:appflowy/plugins/trash/trash.dart';
|
|
|
|
class PluginLoadTask extends LaunchTask {
|
|
const PluginLoadTask();
|
|
|
|
@override
|
|
LaunchTaskType get type => LaunchTaskType.dataProcessing;
|
|
|
|
@override
|
|
Future<void> initialize(LaunchContext context) async {
|
|
registerPlugin(builder: BlankPluginBuilder(), config: BlankPluginConfig());
|
|
registerPlugin(builder: TrashPluginBuilder(), config: TrashPluginConfig());
|
|
registerPlugin(builder: DocumentPluginBuilder());
|
|
registerPlugin(builder: GridPluginBuilder(), config: GridPluginConfig());
|
|
registerPlugin(builder: BoardPluginBuilder(), config: BoardPluginConfig());
|
|
registerPlugin(
|
|
builder: CalendarPluginBuilder(),
|
|
config: CalendarPluginConfig(),
|
|
);
|
|
registerPlugin(
|
|
builder: DatabaseDocumentPluginBuilder(),
|
|
config: DatabaseDocumentPluginConfig(),
|
|
);
|
|
registerPlugin(
|
|
builder: DatabaseDocumentPluginBuilder(),
|
|
config: DatabaseDocumentPluginConfig(),
|
|
);
|
|
registerPlugin(
|
|
builder: AIChatPluginBuilder(),
|
|
config: AIChatPluginConfig(),
|
|
);
|
|
}
|
|
|
|
@override
|
|
Future<void> dispose() async {}
|
|
}
|