MCPcopy
hub / github.com/vantezzen/autoform / getDefaultValues

Function getDefaultValues

packages/core/src/logic.ts:16–20  ·  view source on GitHub ↗
(
  schemaProvider: SchemaProvider
)

Source from the content-addressed store, hash-verified

14}
15
16export function getDefaultValues(
17 schemaProvider: SchemaProvider
18): Record<string, any> {
19 return schemaProvider.getDefaultValues();
20}
21
22// Recursively remove empty values from an object (null, undefined, "", [], {})
23export function removeEmptyValues<T extends Record<string, any>>(

Callers 1

AutoFormFunction · 0.90

Calls 1

getDefaultValuesMethod · 0.65

Tested by

no test coverage detected