Skip to content

Variable: IndexSummarySchema ​

ts
const IndexSummarySchema: ZodObject<{
  externalPlatformIndexReplay: ZodOptional<ZodRecord<ZodString, ZodObject<{
     lastConsumedOperation: ZodOptional<ZodObject<{
        id: ZodOptional<ZodNumber>;
        journalWriteTime: ZodOptional<ZodCoercedDate<...>>;
     }, ApiObjectConfig<undefined>>>;
     lastOperationInQueue: ZodOptional<ZodObject<{
        id: ZodOptional<ZodNumber>;
        journalWriteTime: ZodOptional<ZodCoercedDate<...>>;
     }, ApiObjectConfig<undefined>>>;
     queueSize: ZodOptional<ZodNumber>;
  }, ApiObjectConfig<undefined>>>>;
  issueIndex: ZodOptional<ZodObject<{
     countInArchive: ZodOptional<ZodNumber>;
     countInDatabase: ZodOptional<ZodNumber>;
     countInIndex: ZodOptional<ZodNumber>;
     indexReadable: ZodOptional<ZodBoolean>;
     lastUpdatedInDatabase: ZodOptional<ZodCoercedDate<unknown>>;
     lastUpdatedInIndex: ZodOptional<ZodCoercedDate<unknown>>;
  }, ApiObjectConfig<undefined>>>;
  nodeId: ZodOptional<ZodString>;
  replicationQueues: ZodOptional<ZodRecord<ZodString, ZodObject<{
     lastConsumedOperation: ZodOptional<ZodObject<{
        id: ZodOptional<ZodNumber>;
        replicationTime: ZodOptional<ZodCoercedDate<...>>;
     }, ApiObjectConfig<undefined>>>;
     lastOperationInQueue: ZodOptional<ZodObject<{
        id: ZodOptional<ZodNumber>;
        replicationTime: ZodOptional<ZodCoercedDate<...>>;
     }, ApiObjectConfig<undefined>>>;
     queueSize: ZodOptional<ZodNumber>;
  }, ApiObjectConfig<undefined>>>>;
  reportTime: ZodOptional<ZodCoercedDate<unknown>>;
}, ApiObjectConfig<undefined>>;

Defined in: src/server/models/indexSummary.ts:7