import type { components } from './openapi/schema';
import { commonQuerySchema, stringArrayCoerce } from './common';

export type Tag = components['schemas']['TagRead'];

export const tagQuerySchema = commonQuerySchema.extend({
	libraries: stringArrayCoerce,
	ids: stringArrayCoerce
});

export type TagQuerySchema = typeof tagQuerySchema;
