Type alias PayloadThing

PayloadThing: {
    attributes: {
        termsofuse: string;
    };
    items: {
        comments?: {
            comment: {
                rating: string;
                username: string;
                value: string;
            }[];
            page: string;
            total: string;
        };
        description: string;
        id: string;
        image?: string;
        links: PayloadThingLinks[];
        marketplace?: {
            listings: {
                condition: string;
                link: {
                    href: string;
                    title: string;
                };
                listDate: string;
                notes: string;
                price: {
                    currency: string;
                    value: string;
                };
            }[];
        };
        maxPlayTime: string;
        maxPlayers: string;
        minAge: string;
        minPlayTime: string;
        minPlayers: string;
        names: PayloadThingNames[];
        playingTime: string;
        polls: PayloadThingPolls;
        statistics?: {
            averageWeight: string;
            median: string;
            numComments: string;
            numWeights: string;
            owned: string;
            page: string;
            ratings: {
                average: string;
                bayesAverage: string;
                ranks: {
                    bayesAverage: string;
                    friendlyName: string;
                    id: string;
                    name: string;
                    type: string;
                    value: string;
                }[];
                usersRated: string;
            };
            stdDev: string;
            trading: string;
            wanting: string;
            wishing: string;
        };
        thumbnail?: string;
        type: string;
        versions?: {
            depth: string;
            id: string;
            image?: string;
            length: string;
            links: PayloadThingLinks[];
            names: PayloadThingNames[];
            productCode: string;
            thumbnail?: string;
            type: string;
            weight: string;
            width: string;
            yearPublished: string;
        }[];
        videos?: {
            total: string;
            videos: {
                category: string;
                id: string;
                language: string;
                link: string;
                postdate: string;
                title: string;
                userid: string;
                username: string;
            }[];
        };
        yearPublished: string;
    }[];
}

Type declaration

  • attributes: {
        termsofuse: string;
    }
    • termsofuse: string
  • items: {
        comments?: {
            comment: {
                rating: string;
                username: string;
                value: string;
            }[];
            page: string;
            total: string;
        };
        description: string;
        id: string;
        image?: string;
        links: PayloadThingLinks[];
        marketplace?: {
            listings: {
                condition: string;
                link: {
                    href: string;
                    title: string;
                };
                listDate: string;
                notes: string;
                price: {
                    currency: string;
                    value: string;
                };
            }[];
        };
        maxPlayTime: string;
        maxPlayers: string;
        minAge: string;
        minPlayTime: string;
        minPlayers: string;
        names: PayloadThingNames[];
        playingTime: string;
        polls: PayloadThingPolls;
        statistics?: {
            averageWeight: string;
            median: string;
            numComments: string;
            numWeights: string;
            owned: string;
            page: string;
            ratings: {
                average: string;
                bayesAverage: string;
                ranks: {
                    bayesAverage: string;
                    friendlyName: string;
                    id: string;
                    name: string;
                    type: string;
                    value: string;
                }[];
                usersRated: string;
            };
            stdDev: string;
            trading: string;
            wanting: string;
            wishing: string;
        };
        thumbnail?: string;
        type: string;
        versions?: {
            depth: string;
            id: string;
            image?: string;
            length: string;
            links: PayloadThingLinks[];
            names: PayloadThingNames[];
            productCode: string;
            thumbnail?: string;
            type: string;
            weight: string;
            width: string;
            yearPublished: string;
        }[];
        videos?: {
            total: string;
            videos: {
                category: string;
                id: string;
                language: string;
                link: string;
                postdate: string;
                title: string;
                userid: string;
                username: string;
            }[];
        };
        yearPublished: string;
    }[]