Merge branch 'main' of https://git.johncosta.tech/JohnCosta27/Haystack
This commit is contained in:
@@ -1,8 +1,7 @@
|
||||
import {
|
||||
type InferOutput,
|
||||
null as Null,
|
||||
any,
|
||||
array,
|
||||
InferOutput,
|
||||
null as Null,
|
||||
nullable,
|
||||
object,
|
||||
parse,
|
||||
@@ -56,8 +55,30 @@ const getUserImagesResponseValidator = array(
|
||||
ImageName: string(),
|
||||
Image: Null(),
|
||||
}),
|
||||
Tags: any(),
|
||||
Links: any(),
|
||||
Tags: nullable(
|
||||
array(
|
||||
object({
|
||||
ID: pipe(string(), uuid()),
|
||||
TagID: pipe(string(), uuid()),
|
||||
ImageID: pipe(string(), uuid()),
|
||||
|
||||
Tag: object({
|
||||
ID: pipe(string(), uuid()),
|
||||
Tag: string(),
|
||||
UserID: pipe(string(), uuid()),
|
||||
}),
|
||||
}),
|
||||
),
|
||||
),
|
||||
Links: nullable(
|
||||
array(
|
||||
object({
|
||||
ID: pipe(string(), uuid()),
|
||||
Links: string(),
|
||||
ImageID: pipe(string(), uuid()),
|
||||
}),
|
||||
),
|
||||
),
|
||||
Text: nullable(
|
||||
array(
|
||||
object({
|
||||
|
||||
Reference in New Issue
Block a user