<?php

declare(strict_types=1);

namespace PpPhp\Core\Discovery\Providers;

final class ComponentDiscoveryProvider extends AbstractManifestDiscoveryProvider
{
    public function id(): string
    {
        return 'ppui-components';
    }

    public function label(): string
    {
        return 'PPUI Components';
    }

    protected function relativeRoot(): string
    {
        return 'packages/ui/ppui/components';
    }

    protected function manifestName(): string
    {
        return 'manifest.json';
    }

    protected function type(): string
    {
        return 'component';
    }
}
