Skip to content

Variable: MemoryDrainNotesOutputSchema ​

ts
const MemoryDrainNotesOutputSchema: ZodObject<{
  drainedIds: ZodArray<ZodString>;
  dryRun: ZodBoolean;
  gitCommitted: ZodBoolean;
  gitPushed: ZodBoolean;
  matchedNotes: ZodArray<ZodObject<{
     context: ZodOptional<ZodArray<ZodString>>;
     createdAt: ZodISODateTime;
     id: ZodString;
     lifecycle: ZodDiscriminatedUnion<[ZodObject<{
        mode: ZodLiteral<"persistent">;
      }, $strip>, ZodObject<{
        mode: ZodLiteral<"read-count">;
        remainingReads: ZodNumber;
      }, $strip>, ZodObject<{
        expiresAt: ZodISODateTime;
        mode: ZodLiteral<"hard-expiry">;
      }, $strip>, ZodObject<{
        expiresAt: ZodISODateTime;
        mode: ZodLiteral<"soft-expiry">;
     }, $strip>], "mode">;
     repos: ZodOptional<ZodArray<ZodString>>;
     role: ZodString;
     text: ZodString;
     type: ZodLiteral<"note">;
     updatedAt: ZodOptional<ZodISODateTime>;
  }, $strip>>;
}, $strip>;

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

Output schema for memory_drain_notes.

Released under the MIT License.