Skip to content

Variable: MemoryBucketStatusSchema ​

ts
const MemoryBucketStatusSchema: ZodObject<{
  bucketId: ZodString;
  bucketRecordIds: ZodArray<ZodString>;
  currentCount: ZodNumber;
  hardCap: ZodNullable<ZodNumber>;
  maxTotalRecords: ZodNullable<ZodNumber>;
  maxTotalRecordsReached: ZodBoolean;
  softCap: ZodNullable<ZodNumber>;
  totalRecordsCount: ZodNumber;
  zone: ZodEnum<{
     AT_HARD_CAP: "AT_HARD_CAP";
     SOFT_CAP_PRESSURE: "SOFT_CAP_PRESSURE";
     UNCAPPED: "UNCAPPED";
     UNDER_SOFT_CAP: "UNDER_SOFT_CAP";
  }>;
}, $strip>;

Defined in: schemas/memory-tools.schema.ts:63

Capacity status of the target bucket evaluated during memory_propose and memory_commit.

Released under the MIT License.