Skip to content

Commit 6fc0312

Browse files
committed
Regenerate TypeScript declarations
1 parent d70e0f5 commit 6fc0312

File tree

4 files changed

+30
-2
lines changed

4 files changed

+30
-2
lines changed

types/helpers/members/MembersHelper.d.ts

+2
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ export type Member = {
1111
supreme: boolean;
1212
ultimate: boolean;
1313
discord_id?: number;
14+
avatar_url: string;
1415
post_count: number;
1516
resource_count: number;
1617
purchase_count: number;
@@ -38,6 +39,7 @@ export type Ban = {
3839
* @property {boolean} supreme
3940
* @property {boolean} ultimate
4041
* @property {number} [discord_id]
42+
* @property {string} avatar_url
4143
* @property {number} post_count
4244
* @property {number} resource_count
4345
* @property {number} purchase_count

types/helpers/members/MembersHelper.d.ts.map

+1-1
Original file line numberDiff line numberDiff line change

types/helpers/resources/ResourcesHelper.d.ts

+26
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,32 @@ export class ResourcesHelper {
101101
* @return {Array<BasicResource>} An array of raw data objects.
102102
*/
103103
listCollaboratedUntil(shouldContinue: (arg0: BasicResource) => boolean, sort: SortOptions): Array<BasicResource>;
104+
/** List a page of resources by an author.
105+
*
106+
* @param {number} authorId The identifier of the resource author.
107+
* @param {SortOptions} sort An optional set of sort options.
108+
*
109+
* @return {Array<BasicResource>} An array of raw data objects.
110+
*/
111+
listByAuthor(authorId: number, sort: SortOptions): Array<BasicResource>;
112+
/** List all pages of resources by an author.
113+
*
114+
* @param {number} authorId The identifier of the resource author.
115+
* @param {SortOptions} sort An optional set of sort options.
116+
*
117+
* @return {Array<BasicResource>} An array of raw data objects.
118+
*/
119+
listByAuthorAll(authorId: number, sort: SortOptions): Array<BasicResource>;
120+
/** List multiple pages of resources by an author until a condition is no longer met.
121+
*
122+
* @param {number} authorId The identifier of the resource author.
123+
* @param {function(BasicResource):boolean} shouldContinue A function which determines if further pages are
124+
* requested.
125+
* @param {SortOptions} sort An optional set of sort options.
126+
*
127+
* @return {Array<BasicResource>} An array of raw data objects.
128+
*/
129+
listByAuthorUntil(authorId: number, shouldContinue: (arg0: BasicResource) => boolean, sort: SortOptions): Array<BasicResource>;
104130
/** Fetch detailed information about a resource.
105131
*
106132
* @param {number} resourceId The identifier of the resource.

types/helpers/resources/ResourcesHelper.d.ts.map

+1-1
Original file line numberDiff line numberDiff line change

0 commit comments

Comments
 (0)