@@ -136,9 +136,7 @@ import { Buffer } from 'mobx-restful';
136136import { client } from ' ./client' ;
137137import { Repository , RepositoryModel } from ' ./Repository' ;
138138
139- export class PreloadRepositoryModel extends Buffer <Repository >(
140- RepositoryModel
141- ) {
139+ export class PreloadRepositoryModel extends Buffer <Repository >(RepositoryModel ) {
142140 client = client ;
143141 baseURI = ' orgs/idea2app/repos' ;
144142
@@ -174,9 +172,7 @@ export class MultipleRepository extends Stream<Repository>(RepositoryModel) {
174172 this .totalCount = public_repos ;
175173
176174 for (let i = 1 ; ; i ++ ) {
177- const { body } = await this .client .get <Repository []>(
178- ' orgs/idea2app/repos?page=' + i
179- );
175+ const { body } = await this .client .get <Repository []>(' orgs/idea2app/repos?page=' + i );
180176 if (! body [0 ]) break ;
181177
182178 yield * body ;
@@ -191,20 +187,15 @@ export class MultipleRepository extends Stream<Repository>(RepositoryModel) {
191187 this .totalCount = public_repos ;
192188
193189 for (let i = 1 ; ; i ++ ) {
194- const { body } = await this .client .get <Repository []>(
195- ' users/TechQuery/repos?page=' + i
196- );
190+ const { body } = await this .client .get <Repository []>(' users/TechQuery/repos?page=' + i );
197191 if (! body [0 ]) break ;
198192
199193 yield * body ;
200194 }
201195 }
202196
203197 openStream() {
204- return mergeStream (
205- this .getOrgRepos .bind (this ),
206- this .getUserRepos .bind (this )
207- );
198+ return mergeStream (this .getOrgRepos .bind (this ), this .getUserRepos .bind (this ));
208199 }
209200}
210201
@@ -341,6 +332,11 @@ export class PartyGiftPage extends HTMLElement {
3413322 . [ GitHub] ( https://github.com/idea2app/MobX-GitHub )
3423333 . [ Lark/FeiShu] ( https://github.com/idea2app/MobX-Lark )
343334
335+ ## Utility
336+
337+ 1 . [ Data Migrator] ( https://github.com/idea2app/MobX-RESTful-migrator )
338+ 2 . [ File Downloader] [ 12 ]
339+
344340## Component
345341
3463421 . [ Table, List & Form suite] ( https://github.com/idea2app/MobX-RESTful-table )
0 commit comments