mirror of
https://github.com/jeffvli/feishin.git
synced 2026-06-17 08:54:27 +02:00
Move server directory outside of frontend src
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
import { z } from 'zod';
|
||||
import { idValidation, paginationValidation } from './shared.validation';
|
||||
|
||||
export const list = {
|
||||
body: z.object({}),
|
||||
params: z.object({ ...idValidation('serverId') }),
|
||||
query: z.object({
|
||||
...paginationValidation,
|
||||
serverFolderIds: z.string().min(1),
|
||||
}),
|
||||
};
|
||||
|
||||
export const detail = {
|
||||
body: z.object({}),
|
||||
params: z.object({ ...idValidation('id') }),
|
||||
query: z.object({}),
|
||||
};
|
||||
|
||||
export const albumArtistsValidation = {
|
||||
detail,
|
||||
list,
|
||||
};
|
||||
Reference in New Issue
Block a user