<?php

return [
    'types' => [
        'procedures' => [
            'category' => 'procedures_categories',
            'comments' => false,
            'likes'    => false,
        ],
        'sops' => [
            'category' => 'folders',
            'comments' => false,
            'likes'    => false,
        ],
        'rops' => [
            'category' => 'folders',
            'comments' => false,
            'likes'    => false,
        ],
        'documents' => [
            'category' => 'folders',
            'comments' => false,
            'likes'    => false,
        ],
        'declined_documents' => [
            'category' => 'folders',
            'comments' => false,
            'likes'    => false,
        ],
    ],
    'export' => [
        'contents' => [
            'headers'    => [
                'uuid'         => 'UUID',
                'content_type' => 'Content type',
                'title'        => 'Title',
                'edit'         => 'Edit link',
            ],
            'presenters' => [
                'edit' => function ($value, $model) {
                    return env('APP_URL').'/edit/'.class_to_type($model).'/'.$model->uuid;
                },
            ],
        ],
        'users'    => [
            'headers' => [
                'email'    => 'Mail address',
                'full_name' => 'Full name',
                'user.entities' => 'Entities',
                'user.services' => 'Services',
            ],
        ],
        'authentication' => [
            'headers' => [
                'entities' => 'Entities',
                'services' => 'Services',
            ],
        ],
    ],
];
