<?php

namespace Lucent\Schema;

use Lucent\Primitive\Collection;

class FilesSchema implements Schema
{

    public Type $type = Type::FILES;

    /**
     * @param Collection<FieldInterface> $fields
     * @param array<string> $groups
     */
    function __construct(
        public string     $name,
        public string     $label,
        public Collection $fields,
        public string     $path,
        public array      $groups,
        public bool       $isEntry = false,
        public string     $sortBy = "-_sys.updatedAt",
        public string     $color = "",
        public string     $titleTemplate = "",
        public int        $revisions = 0,
        public array      $read = [],
        public array      $write = [],
    )
    {
    }


}
