diff --git a/packages/bsky/src/lexicon/index.ts b/packages/bsky/src/lexicon/index.ts index 7613b61fb4e..63c34ee6e8c 100644 --- a/packages/bsky/src/lexicon/index.ts +++ b/packages/bsky/src/lexicon/index.ts @@ -2177,13 +2177,13 @@ export class ChatBskyModerationNS { type SharedRateLimitOpts = { name: string - calcKey?: (ctx: T) => string + calcKey?: (ctx: T) => string | null calcPoints?: (ctx: T) => number } type RouteRateLimitOpts = { durationMs: number points: number - calcKey?: (ctx: T) => string + calcKey?: (ctx: T) => string | null calcPoints?: (ctx: T) => number } type HandlerOpts = { blobLimit?: number } diff --git a/packages/ozone/src/lexicon/index.ts b/packages/ozone/src/lexicon/index.ts index cb526019090..951724c0fe9 100644 --- a/packages/ozone/src/lexicon/index.ts +++ b/packages/ozone/src/lexicon/index.ts @@ -2638,13 +2638,13 @@ export class ToolsOzoneTeamNS { type SharedRateLimitOpts = { name: string - calcKey?: (ctx: T) => string + calcKey?: (ctx: T) => string | null calcPoints?: (ctx: T) => number } type RouteRateLimitOpts = { durationMs: number points: number - calcKey?: (ctx: T) => string + calcKey?: (ctx: T) => string | null calcPoints?: (ctx: T) => number } type HandlerOpts = { blobLimit?: number } diff --git a/packages/pds/src/lexicon/index.ts b/packages/pds/src/lexicon/index.ts index cb526019090..951724c0fe9 100644 --- a/packages/pds/src/lexicon/index.ts +++ b/packages/pds/src/lexicon/index.ts @@ -2638,13 +2638,13 @@ export class ToolsOzoneTeamNS { type SharedRateLimitOpts = { name: string - calcKey?: (ctx: T) => string + calcKey?: (ctx: T) => string | null calcPoints?: (ctx: T) => number } type RouteRateLimitOpts = { durationMs: number points: number - calcKey?: (ctx: T) => string + calcKey?: (ctx: T) => string | null calcPoints?: (ctx: T) => number } type HandlerOpts = { blobLimit?: number }