feat: enums, schema and models for hado core
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BCrwHHnGCB5XH968Nxokqw
This commit is contained in:
18
core/config/hado.php
Normal file
18
core/config/hado.php
Normal file
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
'default_tz' => env('HADO_DEFAULT_TZ', 'UTC'),
|
||||
'presence_timeout' => (int) env('HADO_PRESENCE_TIMEOUT', 2),
|
||||
'presence_ttl' => 60,
|
||||
'fallback_day_minutes' => (int) env('HADO_FALLBACK_DAY', 30),
|
||||
'fallback_hour_minutes' => (int) env('HADO_FALLBACK_HOUR', 10),
|
||||
'fallback_hours' => array_map('intval', explode(',', env('HADO_FALLBACK_HOURS', '9,14,20'))),
|
||||
'retention_days' => (int) env('HADO_RETENTION_DAYS', 90),
|
||||
'telegram' => [
|
||||
'token' => env('TELEGRAM_BOT_TOKEN', ''),
|
||||
'username' => env('TELEGRAM_BOT_USERNAME', ''),
|
||||
'webhook_secret' => env('TELEGRAM_WEBHOOK_SECRET', ''),
|
||||
'seen_ttl' => 600,
|
||||
],
|
||||
'web_heartbeat_ttl' => 90,
|
||||
];
|
||||
Reference in New Issue
Block a user