mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-07-25 14:28:51 +08:00
chore: cleanup legacy logic (#15072)
This commit is contained in:
@@ -429,16 +429,6 @@
|
||||
"desc": "Number of workspaces automatically indexed per batch"
|
||||
}
|
||||
},
|
||||
"customerIo": {
|
||||
"enabled": {
|
||||
"type": "Boolean",
|
||||
"desc": "Enable customer.io integration"
|
||||
},
|
||||
"token": {
|
||||
"type": "String",
|
||||
"desc": "Customer.io token"
|
||||
}
|
||||
},
|
||||
"oauth": {
|
||||
"providers.google": {
|
||||
"type": "Object",
|
||||
@@ -470,16 +460,6 @@
|
||||
"type": "Boolean",
|
||||
"desc": "Whether enable lifetime price and allow user to pay for it."
|
||||
},
|
||||
"apiKey": {
|
||||
"type": "String",
|
||||
"desc": "[Deprecated] Stripe API key. Use payment.stripe.apiKey instead.",
|
||||
"env": "STRIPE_API_KEY"
|
||||
},
|
||||
"webhookKey": {
|
||||
"type": "String",
|
||||
"desc": "[Deprecated] Stripe webhook key. Use payment.stripe.webhookKey instead.",
|
||||
"env": "STRIPE_WEBHOOK_KEY"
|
||||
},
|
||||
"stripe": {
|
||||
"type": "Object",
|
||||
"desc": "Stripe sdk options and credentials",
|
||||
|
||||
@@ -37,13 +37,7 @@ type ConfigGroup<T extends AppConfigModule> = {
|
||||
const IGNORED_MODULES: (keyof AppConfig)[] = [];
|
||||
|
||||
if (environment.isSelfHosted) {
|
||||
IGNORED_MODULES.push(
|
||||
'payment',
|
||||
'customerIo',
|
||||
'captcha',
|
||||
'telemetry',
|
||||
'metrics'
|
||||
);
|
||||
IGNORED_MODULES.push('payment', 'captcha', 'telemetry', 'metrics');
|
||||
}
|
||||
|
||||
const ALL_CONFIGURABLE_MODULES = Object.keys(CONFIG_DESCRIPTORS).filter(
|
||||
|
||||
Reference in New Issue
Block a user