mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-19 11:06:25 +08:00
feat(core): add pdf embed preview feature flag (#9307)
This commit is contained in:
@@ -234,7 +234,16 @@ export const AFFINE_FLAGS = {
|
||||
configurable: isMobile,
|
||||
defaultState: false,
|
||||
},
|
||||
enable_pdf_embed_preview: {
|
||||
category: 'affine',
|
||||
displayName:
|
||||
'com.affine.settings.workspace.experimental-features.enable-pdf-embed-preview.name',
|
||||
description:
|
||||
'com.affine.settings.workspace.experimental-features.enable-pdf-embed-preview.description',
|
||||
configurable: !isMobile,
|
||||
defaultState: false,
|
||||
},
|
||||
} satisfies { [key in string]: FlagInfo };
|
||||
|
||||
// eslint-disable-next-line no-redeclare
|
||||
// oxlint-disable-next-line no-redeclare
|
||||
export type AFFINE_FLAGS = typeof AFFINE_FLAGS;
|
||||
|
||||
Reference in New Issue
Block a user