<?php

declare(strict_types=1);

// Basic app config

const APP_NAME = 'TimeZup';
const SESSION_NAME = 'timezup_session';

// Filesystem paths
const BASE_DIR = __DIR__ . '/..';
const DATA_DIR = BASE_DIR . '/data';

// CSV file paths
const USERS_CSV = DATA_DIR . '/users.csv';
const BUSINESSES_CSV = DATA_DIR . '/businesses.csv';
const SUBSCRIPTIONS_CSV = DATA_DIR . '/subscriptions.csv';
const BUSINESS_ACCOUNTS_CSV = DATA_DIR . '/business_accounts.csv';
const SALES_CSV = DATA_DIR . '/sales.csv';
const SALE_EVENTS_CSV = DATA_DIR . '/sale_events.csv';

// Web Push (background notifications)
const PUSH_SUBSCRIPTIONS_CSV = DATA_DIR . '/push_subscriptions.csv';
const VAPID_KEYS_JSON = DATA_DIR . '/vapid_keys.json';
const VAPID_SUBJECT = 'mailto:admin@timezup.local';

// Set your own defaults as needed
// Pretoria, South Africa
const DEFAULT_MAP_CENTER_LAT = -25.7479;
const DEFAULT_MAP_CENTER_LNG = 28.2293;
const DEFAULT_MAP_ZOOM = 12;

// If you want an easy "admin" setup: sign up normally, then edit users.csv and set role=admin
const ADMIN_ROLE_NAME = 'admin';
