mirror of
https://github.com/toeverything/AFFiNE.git
synced 2024-12-22 18:11:32 +03:00
build: remove image preview config (#2861)
This commit is contained in:
parent
d46b6c4863
commit
53488a1498
1
.github/workflows/nightly-build.yml
vendored
1
.github/workflows/nightly-build.yml
vendored
@ -60,7 +60,6 @@ jobs:
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
API_SERVER_PROFILE: prod
|
||||
ENABLE_TEST_PROPERTIES: false
|
||||
ENABLE_IMAGE_PREVIEW_MODAL: true
|
||||
ENABLE_BOOKMARK_OPERATION: true
|
||||
RELEASE_VERSION: ${{ needs.set-build-version.outputs.version }}
|
||||
|
||||
|
1
.github/workflows/release-desktop-app.yml
vendored
1
.github/workflows/release-desktop-app.yml
vendored
@ -56,7 +56,6 @@ jobs:
|
||||
SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }}
|
||||
API_SERVER_PROFILE: prod
|
||||
ENABLE_TEST_PROPERTIES: false
|
||||
ENABLE_IMAGE_PREVIEW_MODAL: ${{ github.event.inputs.build-type == 'stable' && false || true }}
|
||||
ENABLE_BOOKMARK_OPERATION: true
|
||||
RELEASE_VERSION: ${{ github.event.inputs.version }}
|
||||
|
||||
|
@ -24,9 +24,6 @@ export const buildFlags = {
|
||||
(process.env.ENABLE_ALL_PAGE_FILTER
|
||||
? process.env.ENABLE_ALL_PAGE_FILTER === 'true'
|
||||
: false),
|
||||
enableImagePreviewModal: process.env.ENABLE_IMAGE_PREVIEW_MODAL
|
||||
? process.env.ENABLE_IMAGE_PREVIEW_MODAL === 'true'
|
||||
: true,
|
||||
enableTestProperties: process.env.ENABLE_TEST_PROPERTIES
|
||||
? process.env.ENABLE_TEST_PROPERTIES === 'true'
|
||||
: true,
|
||||
|
3
nx.json
3
nx.json
@ -48,9 +48,6 @@
|
||||
{
|
||||
"env": "ENABLE_ALL_PAGE_FILTER"
|
||||
},
|
||||
{
|
||||
"env": "ENABLE_IMAGE_PREVIEW_MODAL"
|
||||
},
|
||||
{
|
||||
"env": "ENABLE_TEST_PROPERTIES"
|
||||
},
|
||||
|
1
packages/env/src/config.ts
vendored
1
packages/env/src/config.ts
vendored
@ -41,7 +41,6 @@ export const buildFlagsSchema = z.object({
|
||||
*/
|
||||
enableAllPageFilter: z.boolean(),
|
||||
enablePlugin: z.boolean(),
|
||||
enableImagePreviewModal: z.boolean(),
|
||||
enableTestProperties: z.boolean(),
|
||||
enableBroadcastChannelProvider: z.boolean(),
|
||||
enableDebugPage: z.boolean(),
|
||||
|
Loading…
Reference in New Issue
Block a user