Skip to content

Commit 1a08afc

Browse files
committed
fix: added missing team-specific clients
1 parent f2c6592 commit 1a08afc

File tree

2 files changed

+14
-1
lines changed

2 files changed

+14
-1
lines changed

sdk/src/client/answers.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ import {
1111

1212
export interface CreateAnswerOptions {
1313
body: string;
14-
// Add other answer creation options as needed
1514
}
1615

1716
export interface GetAnswersOptions {

sdk/src/client/index.ts

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,25 @@ export class StackOverflowSDK {
7676
export class TeamContext {
7777
public readonly answers: AnswerClient;
7878
public readonly questions: QuestionClient;
79+
public readonly collections: CollectionClient;
80+
public readonly users: UserClient;
81+
public readonly articles: ArticleClient;
82+
public readonly comments: CommentClient;
83+
public readonly tags: TagClient;
84+
public readonly search: SearchClient;
85+
public readonly usergroups: UserGroupClient;
7986

8087
constructor(private config: ReturnType<typeof createConfiguration>, private teamId: string) {
8188
// Initialize team-specific clients
8289
this.answers = new AnswerClient(config, teamId);
8390
this.questions = new QuestionClient(config, teamId);
91+
this.collections = new CollectionClient(config, teamId);
92+
this.users = new UserClient(config, teamId);
93+
this.articles = new ArticleClient(config, teamId);
94+
this.comments = new CommentClient(config, teamId);
95+
this.tags = new TagClient(config, teamId);
96+
this.search = new SearchClient(config, teamId);
97+
this.usergroups = new UserGroupClient(config, teamId);
8498
}
8599
}
86100

0 commit comments

Comments
 (0)