MCPcopy
hub / github.com/baidu/amis / isCRUDContext

Method isCRUDContext

packages/amis-editor/src/plugin/Table2.tsx:907–909  ·  view source on GitHub ↗
(context: BaseEventContext)

Source from the content-addressed store, hash-verified

905 }
906
907 isCRUDContext(context: BaseEventContext) {
908 return context.schema.type === 'crud2' || context.schema.type === 'crud';
909 }
910
911 panelBodyCreator = (context: BaseEventContext) => {
912 const isCRUDContext = this.isCRUDContext(context);

Callers 1

Table2PluginClass · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected