chore: remove unused memory schema aliases (#5403)

Integrated into release/v3.8.42
This commit is contained in:
Jan Leon
2026-06-30 00:14:10 +02:00
committed by GitHub
parent 27a33bea09
commit 4149dcfcdc
2 changed files with 3 additions and 5 deletions

View File

@@ -138,10 +138,5 @@ export const RetrievePreviewResultSchema = z.object({
});
export type MemorySettingsExtended = z.infer<typeof MemorySettingsExtendedSchema>;
export type MemoryUpdatePut = z.infer<typeof MemoryUpdatePutSchema>;
export type RetrievePreview = z.infer<typeof RetrievePreviewSchema>;
export type MemoryReindex = z.infer<typeof MemoryReindexSchema>;
export type MemorySummarize = z.infer<typeof MemorySummarizeSchema>;
export type EmbeddingProviderListings = z.infer<typeof EmbeddingProviderListingSchema>;
export type MemoryEngineStatus = z.infer<typeof MemoryEngineStatusSchema>;
export type RetrievePreviewResult = z.infer<typeof RetrievePreviewResultSchema>;

View File

@@ -66,6 +66,9 @@ test("MemorySettingsExtendedSchema: rejects invalid embeddingSource value", () =
test("MemoryUpdatePutSchema: accepts valid partial update (content only)", () => {
const result = MemoryUpdatePutSchema.safeParse({ content: "updated content" });
assert.equal(result.success, true, "Should accept partial update with only content");
if (result.success) {
assert.equal(result.data.content, "updated content");
}
});
test("MemoryUpdatePutSchema: rejects extra field (strict)", () => {