Skip to content
This repository was archived by the owner on Nov 5, 2025. It is now read-only.

Commit acda8ff

Browse files
committed
Improve custom fields typing
1 parent efa647e commit acda8ff

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

src/definition/rooms/IRoom.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,12 @@ export interface IRoom {
2020
updatedAt?: Date;
2121
lastModifiedAt?: Date;
2222
description?: string;
23+
/** @deprecated */
2324
customFields?: { [key: string]: any };
25+
custom?: ICustomFields;
2426
parentRoom?: IRoom;
2527
livechatData?: { [key: string]: any };
2628
}
29+
30+
// eslint-disable-next-line @typescript-eslint/no-empty-interface
31+
interface ICustomFields {}

0 commit comments

Comments
 (0)