mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-01 03:46:25 +02:00
refactor: update connector status configuration to use commented example configs
This commit is contained in:
parent
075bb44731
commit
9fa0e17588
1 changed files with 16 additions and 15 deletions
|
|
@ -46,21 +46,22 @@ export type ConnectorStatusConfigFile = z.infer<typeof connectorStatusConfigFile
|
|||
*/
|
||||
const rawConnectorStatusConfig = {
|
||||
connectorStatuses: {
|
||||
SLACK_CONNECTOR: {
|
||||
enabled: false,
|
||||
status: "disabled",
|
||||
statusMessage: "Unavailable due to API changes",
|
||||
},
|
||||
NOTION_CONNECTOR: {
|
||||
enabled: true,
|
||||
status: "warning",
|
||||
statusMessage: "Rate limits may apply",
|
||||
},
|
||||
TEAMS_CONNECTOR: {
|
||||
enabled: false,
|
||||
status: "maintenance",
|
||||
statusMessage: "Temporarily unavailable for maintenance",
|
||||
},
|
||||
// Example configs to use
|
||||
// SLACK_CONNECTOR: {
|
||||
// enabled: false,
|
||||
// status: "disabled",
|
||||
// statusMessage: "Unavailable due to API changes",
|
||||
// },
|
||||
// NOTION_CONNECTOR: {
|
||||
// enabled: true,
|
||||
// status: "warning",
|
||||
// statusMessage: "Rate limits may apply",
|
||||
// },
|
||||
// TEAMS_CONNECTOR: {
|
||||
// enabled: false,
|
||||
// status: "maintenance",
|
||||
// statusMessage: "Temporarily unavailable for maintenance",
|
||||
// },
|
||||
},
|
||||
globalSettings: {
|
||||
showWarnings: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue