Skip to content

Variable: WatchersSchema ​

ts
const WatchersSchema: ZodObject<{
  isWatching: ZodOptional<ZodBoolean>;
  self: ZodOptional<ZodString>;
  watchCount: ZodOptional<ZodNumber>;
  watchers: ZodOptional<ZodArray<ZodObject<{
     active: ZodOptional<ZodBoolean>;
     avatarUrls: ZodOptional<ZodRecord<ZodString, ZodString>>;
     displayName: ZodOptional<ZodString>;
     emailAddress: ZodOptional<ZodString>;
     key: ZodOptional<ZodString>;
     name: ZodOptional<ZodString>;
     self: ZodOptional<ZodString>;
     timeZone: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>>>;
}, ApiObjectConfig<undefined>>;

Defined in: src/server/models/watchers.ts:5