feat: jira and synchro
This commit is contained in:
@@ -16,6 +16,14 @@ export interface AppConfig {
|
||||
enableNotifications: boolean;
|
||||
autoSave: boolean;
|
||||
};
|
||||
integrations: {
|
||||
jira: {
|
||||
enabled: boolean;
|
||||
baseUrl?: string;
|
||||
email?: string;
|
||||
apiToken?: string;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
// Configuration par défaut
|
||||
@@ -32,6 +40,14 @@ const defaultConfig: AppConfig = {
|
||||
enableDragAndDrop: process.env.NEXT_PUBLIC_ENABLE_DRAG_DROP !== 'false',
|
||||
enableNotifications: process.env.NEXT_PUBLIC_ENABLE_NOTIFICATIONS === 'true',
|
||||
autoSave: process.env.NEXT_PUBLIC_AUTO_SAVE !== 'false'
|
||||
},
|
||||
integrations: {
|
||||
jira: {
|
||||
enabled: Boolean(process.env.JIRA_BASE_URL && process.env.JIRA_EMAIL && process.env.JIRA_API_TOKEN),
|
||||
baseUrl: process.env.JIRA_BASE_URL,
|
||||
email: process.env.JIRA_EMAIL,
|
||||
apiToken: process.env.JIRA_API_TOKEN
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user