@@ -101,6 +101,32 @@ export class ResourcesHelper {
101
101
* @return {Array<BasicResource> } An array of raw data objects.
102
102
*/
103
103
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 > ;
104
130
/** Fetch detailed information about a resource.
105
131
*
106
132
* @param {number } resourceId The identifier of the resource.
0 commit comments