MCPcopy
hub / github.com/markdoc/markdoc / CustomAttributeTypeInterface

Interface CustomAttributeTypeInterface

src/types.ts:45–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

43};
44
45export interface CustomAttributeTypeInterface {
46 transform?(value: any, config: Config): Scalar;
47 validate?(value: any, config: Config, name: string): ValidationError[];
48}
49
50export interface CustomAttributeType {
51 new (): CustomAttributeTypeInterface;

Callers 15

transformFunction · 0.65
attributesFunction · 0.65
nodeFunction · 0.65
resolveMethod · 0.65
transformFunction · 0.65
node.test.tsFile · 0.65
transformFunction · 0.65
renderFunction · 0.65
validateFunction · 0.65
validateTypeFunction · 0.65
validateFunctionFunction · 0.65
validatorFunction · 0.65

Implementers 3

ConditionalAttributeTypesrc/schema-types/conditional.ts
Classsrc/schema-types/class.ts
Idsrc/schema-types/id.ts

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…