PostViewed: PostView & {
record: {
$type: string;
createdAt: string;
embed: {
$type: string;
external?: {
description: string;
thumb: {
$type: string;
mimeType: string;
ref: {
$link: string;
};
size: number;
};
title: string;
uri: string;
};
};
facets: {
features: {
$type: string;
uri: string;
}[];
index: {
byteEnd: number;
byteStart: number;
};
}[];
langs: string[];
text: string;
};
}
Type declaration
-
record: {
$type: string;
createdAt: string;
embed: {
$type: string;
external?: {
description: string;
thumb: {
$type: string;
mimeType: string;
ref: {
$link: string;
};
size: number;
};
title: string;
uri: string;
};
};
facets: {
features: {
$type: string;
uri: string;
}[];
index: {
byteEnd: number;
byteStart: number;
};
}[];
langs: string[];
text: string;
}
-
$type: string
-
createdAt: string
-
embed: {
$type: string;
external?: {
description: string;
thumb: {
$type: string;
mimeType: string;
ref: {
$link: string;
};
size: number;
};
title: string;
uri: string;
};
}
-
$type: string
-
Optional
external?: {
description: string;
thumb: {
$type: string;
mimeType: string;
ref: {
$link: string;
};
size: number;
};
title: string;
uri: string;
}
-
description: string
-
thumb: {
$type: string;
mimeType: string;
ref: {
$link: string;
};
size: number;
}
-
$type: string
-
mimeType: string
-
ref: {
$link: string;
}
-
size: number
-
title: string
-
uri: string
-
facets: {
features: {
$type: string;
uri: string;
}[];
index: {
byteEnd: number;
byteStart: number;
};
}[]
-
langs: string[]
-
text: string