An open source design system that's fully customizable and agent ready
TypeScript
chore: remove dead code (2026-08-02) (#4662)
Cindy Zhang7855d2b9a1e2
diff --git a/packages/cli/authoring/doctypes/_schema.mjs b/packages/cli/authoring/doctypes/_schema.mjsindex 535ee81569..505482e7d3 100644--- a/packages/cli/authoring/doctypes/_schema.mjs+++ b/packages/cli/authoring/doctypes/_schema.mjs@@ -85,13 +85,6 @@ export const GenericDocKindSchema = z}).passthrough();-/** A stamped doc: one of the three per-kind schemas, discriminated by `type`. */-export const StampedDocSchema = z.discriminatedUnion('type', [- ComponentDocKindSchema,- FunctionDocKindSchema,- GenericDocKindSchema,-]);-// ── Legacy loose format (unchanged, kept for back-compat) ─────────────const LegacyBaseDocSchema = z.object({name: z.string().min(1, 'name is required'),@@ -140,9 +133,3 @@ export const LegacyDocSchema = z.union([LegacyMultiComponentDocSchema,LegacySingleComponentDocSchema,]);--/**- * The permissive load-boundary contract for a doc: a stamped doc OR a legacy- * loose doc. This is the exact acceptance set the old `ComponentDocSchema` had.- */-export const AnyDocSchema = z.union([StampedDocSchema, LegacyDocSchema]);diff --git a/packages/lab/src/Chart/index.ts b/packages/lab/src/Chart/index.tsindex 02f4827eba..c05ff1dd3e 100644--- a/packages/lab/src/Chart/index.ts+++ b/packages/lab/src/Chart/index.ts@@ -68,7 +68,6 @@ export {sizeCanvas,mountCanvasOverSVG,compileShader,- createProgram as createGLProgram,CIRCLE_FRAG_BODY,POINT_SIZE_COMPENSATION,} from './webgl';