Skip to content

Commit

Permalink
Deprecate params
Browse files Browse the repository at this point in the history
  • Loading branch information
mmktomato committed Jul 17, 2024
1 parent 1fc50aa commit 77b7b43
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 1 deletion.
12 changes: 12 additions & 0 deletions dist/types/option.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,19 +68,31 @@ export declare namespace WatchingList {
}
}
export declare namespace Group {
/**
* @deprecated
*/
interface GetGroupsParams {
order?: Order;
offset?: number;
count?: number;
}
/**
* @deprecated
*/
interface PostGroupsParams {
name: string;
members?: string[];
}
/**
* @deprecated
*/
interface PatchGroupParams {
name?: string;
members?: string[];
}
/**
* @deprecated
*/
interface PostProjectGroupParams {
groupId: number;
}
Expand Down
13 changes: 12 additions & 1 deletion src/option.ts
Original file line number Diff line number Diff line change
Expand Up @@ -87,23 +87,34 @@
}

export namespace Group {

/**
* @deprecated
*/
export interface GetGroupsParams {
order?: Order;
offset?: number;
count?: number;
}

/**
* @deprecated
*/
export interface PostGroupsParams {
name: string;
members?: string[];
}

/**
* @deprecated
*/
export interface PatchGroupParams {
name?: string;
members?: string[];
}

/**
* @deprecated
*/
export interface PostProjectGroupParams {
groupId: number;
}
Expand Down

0 comments on commit 77b7b43

Please sign in to comment.