InterfaceListRepository

interface ListRepository {
    $select(id: string): {
        accounts: {
            create(params: AddListAccountsParams, meta?: HttpMetaParams<"json">): Promise<void>;
            list(params?: DefaultPaginationParams, meta?: HttpMetaParams<"none">): Paginator<mastodon.v1.Account[], DefaultPaginationParams>;
            remove(params: AddListAccountsParams, meta?: HttpMetaParams<"json">): Promise<void>;
        };
        fetch(meta?: HttpMetaParams<"none">): Promise<List>;
        remove(meta?: HttpMetaParams<"none">): Promise<void>;
        update(params: CreateListParams, meta?: HttpMetaParams<"json">): Promise<List>;
    };
    create(params: CreateListParams, meta?: HttpMetaParams<"json">): Promise<List>;
    list(meta?: HttpMetaParams<"none">): Paginator<List[], undefined>;
}

Methods