Replace Type.Any() with Type.Unknown() across all source files

Type.Unknown() is canonical per ADR-012. Both produce identical JSON Schema
output but Unknown communicates intent. Changed in src/graphs/types.ts (metadata,
schema fields) and src/sqlite/tables/{nodes,edges}.ts (AttributesSchema).
This commit is contained in:
2026-05-29 10:53:18 +00:00
parent 2b0badd501
commit aad9636150
3 changed files with 6 additions and 6 deletions

View File

@@ -4,7 +4,7 @@ import { type Static, Type } from "@alkdev/typebox";
import { commonCols } from "./common.ts";
import { graphs } from "./graphs.ts";
const AttributesSchema = Type.Record(Type.String(), Type.Any());
const AttributesSchema = Type.Record(Type.String(), Type.Unknown());
export const nodes = sqliteTable("nodes", {
...commonCols,