<?php

/**
 * SPDX-License-Identifier: MIT
 * Copyright (c) 2017-2018 Tobias Reich
 * Copyright (c) 2018-2026 LycheeOrg.
 */

namespace App\Http\Resources\Models;

use App\Http\Resources\GalleryConfigs\AlbumConfig;
use Spatie\LaravelData\Data;
use Spatie\TypeScriptTransformer\Attributes\TypeScript;

#[TypeScript()]
class HeadAbstractAlbumResource extends Data
{
	public function __construct(
		public AlbumConfig $config,
		public HeadAlbumResource|HeadSmartAlbumResource|HeadTagAlbumResource $resource)
	{
	}
}
