MCPcopy Create free account
hub / github.com/MirrowApp/mirrow / Codeblock

Class Codeblock

packages/core/src/data/codeblocks.ts:3–5  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1export type CodeblockKind = "css-state" | "js-event";
2
3export class Codeblock {
4 constructor(public name: string, public kind: CodeblockKind) {}
5}
6
7const normalizeCssStateName = (name: string): string =>
8 name.replace(/^:+/, "").toLowerCase();

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected