mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-12 12:28:42 +00:00
feat: add snapshot import export config (#8584)
[BS-1470](https://linear.app/affine-design/issue/BS-1470/提供-snapshot-导入导出开关)
This commit is contained in:
@@ -162,6 +162,14 @@ export const AFFINE_FLAGS = {
|
||||
configurable: false,
|
||||
defaultState: isMobile,
|
||||
},
|
||||
enable_snapshot_import_export: {
|
||||
category: 'affine',
|
||||
displayName: 'Enable Snapshot Import Export',
|
||||
description:
|
||||
'Once enabled, users can import and export blocksuite snapshots',
|
||||
configurable: true,
|
||||
defaultState: false,
|
||||
},
|
||||
} satisfies { [key in string]: FlagInfo };
|
||||
|
||||
export type AFFINE_FLAGS = typeof AFFINE_FLAGS;
|
||||
|
||||
Reference in New Issue
Block a user