StudioResponse is an interface representing the response from a studio query. It includes the studio's id, name, animation studio status, media, site url, favourite status, and favourites count.

interface StudioResponse {
    favourites: number;
    id: number;
    isAnimationStudio: boolean;
    isFavourite: boolean;
    media: {
        edges: {
            characterName: string;
            characterRole: string;
            characters: Staff;
            dubGroup: string;
            favouriteOrder: number;
            id: number;
            isMainStudio: boolean;
            node: Media;
            relationType: string;
            roleNotes: string;
            voiceActorRole: {
                dubGroup: string;
                roleNotes: string;
                voiceActor: string;
            };
            voiceActors: Staff;
        }[];
    };
    name: string;
    siteUrl: string;
}

Properties

favourites: number

favourites is a number representing the count of favourites for the studio.

id: number

id is a number representing the id of the studio.

isAnimationStudio: boolean

isAnimationStudio is a boolean indicating whether the studio is an animation studio.

isFavourite: boolean

isFavourite is a boolean indicating whether the studio is a favourite.

media: {
    edges: {
        characterName: string;
        characterRole: string;
        characters: Staff;
        dubGroup: string;
        favouriteOrder: number;
        id: number;
        isMainStudio: boolean;
        node: Media;
        relationType: string;
        roleNotes: string;
        voiceActorRole: {
            dubGroup: string;
            roleNotes: string;
            voiceActor: string;
        };
        voiceActors: Staff;
    }[];
}

media is an object representing the media associated with the studio. It includes an array of edges each representing a media edge with its own properties.

Type declaration

  • edges: {
        characterName: string;
        characterRole: string;
        characters: Staff;
        dubGroup: string;
        favouriteOrder: number;
        id: number;
        isMainStudio: boolean;
        node: Media;
        relationType: string;
        roleNotes: string;
        voiceActorRole: {
            dubGroup: string;
            roleNotes: string;
            voiceActor: string;
        };
        voiceActors: Staff;
    }[]
name: string

name is a string representing the name of the studio.

siteUrl: string

siteUrl is a string representing the URL of the studio on the site.