@@ -452,48 +452,46 @@ extension CommentsRequestExecutor: PaginationAwareExecutor {
452452    public  typealias  EmbedContextResponseType  =  CommentsRequestListWithEmbedContextResponse 
453453} 
454454
455- // MARK: - Categories
456- 
457- extension  CategoriesRequestListWithEditContextResponse :  PaginatableResponse  { 
455+ // MARK: - Terms
456+ extension  TermsRequestListWithEditContextResponse :  PaginatableResponse  { 
458457    public  typealias  ParamsType  =  TermListParams 
459-     public  typealias  DataType  =  CategoryWithEditContext 
458+     public  typealias  DataType  =  AnyTermWithEditContext 
460459} 
461460
462- extension  CategoriesRequestListWithViewContextResponse :  PaginatableResponse  { 
461+ extension  TermsRequestListWithViewContextResponse :  PaginatableResponse  { 
463462    public  typealias  ParamsType  =  TermListParams 
464-     public  typealias  DataType  =  CategoryWithViewContext 
463+     public  typealias  DataType  =  AnyTermWithViewContext 
465464} 
466465
467- extension  CategoriesRequestListWithEmbedContextResponse :  PaginatableResponse  { 
466+ extension  TermsRequestListWithEmbedContextResponse :  PaginatableResponse  { 
468467    public  typealias  ParamsType  =  TermListParams 
469-     public  typealias  DataType  =  CategoryWithEmbedContext 
470- } 
471- 
472- extension  CategoriesRequestExecutor :  PaginationAwareExecutor  { 
473-     public  typealias  EditContextResponseType  =  CategoriesRequestListWithEditContextResponse 
474-     public  typealias  ViewContextResponseType  =  CategoriesRequestListWithViewContextResponse 
475-     public  typealias  EmbedContextResponseType  =  CategoriesRequestListWithEmbedContextResponse 
468+     public  typealias  DataType  =  AnyTermWithEmbedContext 
476469} 
477470
478- // MARK: - Tags
471+ extension  TermsRequestExecutor :  TypedPaginationAwareExecutor  { 
472+     public  typealias  EditContextResponseType  =  TermsRequestListWithEditContextResponse 
473+     public  typealias  ViewContextResponseType  =  TermsRequestListWithViewContextResponse 
474+     public  typealias  EmbedContextResponseType  =  TermsRequestListWithEmbedContextResponse 
475+     public  typealias  TypeParam  =  TermEndpointType 
479476
480- extension  TagsRequestListWithEditContextResponse :  PaginatableResponse  { 
481-     public  typealias  ParamsType  =  TermListParams 
482-     public  typealias  DataType  =  TagWithEditContext 
483- } 
484- 
485- extension  TagsRequestListWithViewContextResponse :  PaginatableResponse  { 
486-     public  typealias  ParamsType  =  TermListParams 
487-     public  typealias  DataType  =  TagWithViewContext 
488- } 
477+     public  func  listWithEditContext( 
478+         type:  TypeParam , 
479+         params:  EditContextResponseType . ParamsType 
480+     )  async  throws  ->  EditContextResponseType  { 
481+         try   await  self . listWithEditContext ( termEndpointType:  type,  params:  params) 
482+     } 
489483
490- extension  TagsRequestListWithEmbedContextResponse :  PaginatableResponse  { 
491-     public  typealias  ParamsType  =  TermListParams 
492-     public  typealias  DataType  =  TagWithEmbedContext 
493- } 
484+     public  func  listWithViewContext( 
485+         type:  TypeParam , 
486+         params:  ViewContextResponseType . ParamsType 
487+     )  async  throws  ->  ViewContextResponseType  { 
488+         try   await  self . listWithViewContext ( termEndpointType:  type,  params:  params) 
489+     } 
494490
495- extension  TagsRequestExecutor :  PaginationAwareExecutor  { 
496-     public  typealias  EditContextResponseType  =  TagsRequestListWithEditContextResponse 
497-     public  typealias  ViewContextResponseType  =  TagsRequestListWithViewContextResponse 
498-     public  typealias  EmbedContextResponseType  =  TagsRequestListWithEmbedContextResponse 
491+     public  func  listWithEmbedContext( 
492+         type:  TypeParam , 
493+         params:  EmbedContextResponseType . ParamsType 
494+     )  async  throws  ->  EmbedContextResponseType  { 
495+         try   await  self . listWithEmbedContext ( termEndpointType:  type,  params:  params) 
496+     } 
499497} 
0 commit comments