feat: add snapshot import export config (#8584)

[BS-1470](https://linear.app/affine-design/issue/BS-1470/提供-snapshot-导入导出开关)
This commit is contained in:
donteatfriedrice committed 2024-10-31 05:18:14 +00:00
1 parent 0f9d11fd5c
commit ba3aa7f153
12 files changed
+279 -7

No files matched your search

@@ -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;