MCPcopy
hub / github.com/webiny/webiny-js / get

Function get

packages/app-admin/src/features/formModel/FieldBuilder.ts:213–219  ·  view source on GitHub ↗
(_target, prop: string)

Source from the content-addressed store, hash-verified

211
212 const proxy: IFieldBuilderRegistry = new Proxy({} as IFieldBuilderRegistry, {
213 get(_target, prop: string) {
214 const factory = fieldTypes.get(prop);
215 if (factory) {
216 return () => factory.create(proxy);
217 }
218 return undefined;
219 }
220 });
221 return proxy;
222}

Callers 15

ApiKeyFormFunction · 0.50
RolesFormFunction · 0.50
TeamsFormFunction · 0.50
getChildPathsMethod · 0.50
getIndexFunction · 0.50
ParentFieldProviderFunction · 0.50
EditorFunction · 0.50
getValueFunction · 0.50
getContentModelFunction · 0.50
ContentModelGroupsFormFunction · 0.50
ContentEntriesContainerFunction · 0.50

Calls 2

getMethod · 0.65
createMethod · 0.65

Tested by

no test coverage detected