gatelogue-types
    Preparing search index...

    Interface Town<S>

    interface Town<S extends boolean = true> {
        coordinates: null | { s: string[]; v: [number, number] };
        deputy_mayor: Sourced<null | string, S>;
        i: number;
        mayor: Sourced<string, S>;
        name: string;
        proximity: Record<
            StringID<Located>,
            Sourced<{ distance: number; explicit: boolean }>,
        >;
        rank: Sourced<Rank, S>;
        shared_facility: { s: string[]; v: number }[];
        source: string[];
        type: string;
        world: null | Sourced<World, S>;
    }

    Type Parameters

    • S extends boolean = true

    Hierarchy (View Summary)

    Index

    Properties

    coordinates: null | { s: string[]; v: [number, number] }
    deputy_mayor: Sourced<null | string, S>
    i: number
    mayor: Sourced<string, S>
    name: string
    proximity: Record<
        StringID<Located>,
        Sourced<{ distance: number; explicit: boolean }>,
    >
    rank: Sourced<Rank, S>
    shared_facility: { s: string[]; v: number }[]
    source: string[]
    type: string
    world: null | Sourced<World, S>