MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / migrate-schema-class.ts

File migrate-schema-class.ts

scripts/migrate-schema-class.ts:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1#!/usr/bin/env bun
2/**
3 * Codemod: replace `Schema.Class` and `Schema.TaggedClass` declarations with
4 * `Schema.Struct` / `Schema.TaggedStruct` + type alias, and rewrite

Callers

nothing calls this directly

Calls 10

collectTsFilesFunction · 0.85
findClassDeclsFunction · 0.85
collectImportAliasesFunction · 0.85
findConstructorCallsFunction · 0.85
buildReplacementFunction · 0.85
applyEditsFunction · 0.85
logMethod · 0.80
setMethod · 0.65
getMethod · 0.65
resolveFunction · 0.50

Tested by

no test coverage detected