Merge pull request #2 from LemmyNet/add_listing_type_to_list_communities

Add listing type to list communities
This commit is contained in:
Dessalines 2021-01-26 12:24:03 -05:00 committed by GitHub
commit 7b26039441
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View file

@ -1,7 +1,7 @@
{ {
"name": "lemmy-js-client", "name": "lemmy-js-client",
"description": "A javascript / typescript client for Lemmy", "description": "A javascript / typescript client for Lemmy",
"version": "0.9.0", "version": "0.9.1-rc.1",
"author": "Dessalines <tyhou13@gmx.com>", "author": "Dessalines <tyhou13@gmx.com>",
"license": "AGPL-3.0", "license": "AGPL-3.0",
"main": "./dist/index.js", "main": "./dist/index.js",

View file

@ -33,6 +33,7 @@ export interface CommunityResponse {
} }
export interface ListCommunities { export interface ListCommunities {
type_: string;
sort: string; sort: string;
page?: number; page?: number;
limit?: number; limit?: number;