Skip to content

Commit 8351707

Browse files
ggazzoclaude
andcommitted
fix(api): use ITeamCreateRoom type for TeamsCreateProps.room
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9b11d97 commit 8351707

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

packages/rest-typings/src/v1/teams/TeamsCreateProps.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,12 @@
1+
import type { ITeamCreateRoom } from '@rocket.chat/core-services';
2+
13
import { ajv } from '../Ajv';
24

35
export type TeamsCreateProps = {
46
name: string;
57
type: 0 | 1;
68
members?: string[];
7-
room: Record<string, unknown>;
9+
room: ITeamCreateRoom;
810
owner?: string;
911
};
1012

0 commit comments

Comments
 (0)