mirror of
https://github.com/openclaw/openclaw.git
synced 2026-05-06 20:00:42 +00:00
refactor: type config schemas as typebox-compatible
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
import fs from "node:fs";
|
||||
import { describe, expect, it } from "vitest";
|
||||
import { validateJsonSchemaValue } from "../../../src/plugins/schema-validator.js";
|
||||
import type { JsonSchemaObject } from "../../../src/shared/json-schema.types.js";
|
||||
|
||||
const manifest = JSON.parse(
|
||||
fs.readFileSync(new URL("../openclaw.plugin.json", import.meta.url), "utf-8"),
|
||||
) as { configSchema: Record<string, unknown> };
|
||||
) as { configSchema: JsonSchemaObject };
|
||||
|
||||
describe("memory-core manifest config schema", () => {
|
||||
it("accepts dreaming phase thresholds used by QA and runtime", () => {
|
||||
|
||||
Reference in New Issue
Block a user