Skip to content

Variable: WatchersSchema ​

ts
const WatchersSchema: ZodObject<{
  isWatching: ZodOptional<ZodBoolean>;
  self: ZodOptional<ZodString>;
  watchCount: ZodOptional<ZodNumber>;
  watchers: ZodOptional<ZodArray<ZodObject<{
     accountId: ZodOptional<ZodString>;
     accountType: ZodOptional<ZodString>;
     active: ZodOptional<ZodBoolean>;
     avatarUrls: ZodOptional<ZodObject<{
        16x16: ZodOptional<ZodURL>;
        24x24: ZodOptional<ZodURL>;
        32x32: ZodOptional<ZodURL>;
        48x48: ZodOptional<ZodURL>;
     }, ApiObjectConfig<undefined>>>;
     displayName: ZodOptional<ZodString>;
     emailAddress: ZodOptional<ZodString>;
     self: ZodOptional<ZodString>;
     timeZone: ZodOptional<ZodString>;
  }, ApiObjectConfig<undefined>>>>;
}, ApiObjectConfig<undefined>>;

Defined in: src/cloud/models/watchers.ts:6

The details of watchers on an issue.