diff --git a/packages/interfaces/src/message.ts b/packages/interfaces/src/message.ts index 1c8348239e..a98090220a 100644 --- a/packages/interfaces/src/message.ts +++ b/packages/interfaces/src/message.ts @@ -1,7 +1,7 @@ import type { PubsubTopic } from "./misc.js"; export interface SingleShardInfo { - clusterId: number; + clusterId?: number; /** * Specifying this field indicates to the encoder/decoder that static sharding must be used. */ diff --git a/packages/interfaces/src/protocols.ts b/packages/interfaces/src/protocols.ts index c7c223c6b4..b21a5871b5 100644 --- a/packages/interfaces/src/protocols.ts +++ b/packages/interfaces/src/protocols.ts @@ -23,7 +23,7 @@ export interface IBaseProtocol { } export type ContentTopicInfo = { - clusterId: number; + clusterId?: number; contentTopics: string[]; };