# =============================================================================
#  App Type: Sale-Link
# =============================================================================

TYPE_LABEL="Sale-Link"
TYPE_IS_LARAVEL=true
TYPE_TEMPLATE="/var/www/templates/salelink"
TYPE_BASE_PATH="/var/www/salelink"
TYPE_USERNAME_PREFIX="salelink_"

# Directories replaced on `site.sh update`
TYPE_UPDATE_DIRS=(
    "app"
    "routes"
    "resources"
    "database"
    "bootstrap"
    "vendor"
    "config"
)

# Files replaced on `site.sh update`
TYPE_UPDATE_FILES=(
    "composer.json"
    "artisan"
)

# Glob patterns removed after initial copy (clears template-specific data)
TYPE_CLEAR_ON_CREATE=(
    "storage/app/private/image*"
    "storage/app/public/*"
    "public/images/*"
)

# Extra directories that need group-write permission (besides storage/)
TYPE_WRITABLE_EXTRAS=(
    "public/assets/img"
)
