MCPcopy Index your code
hub / github.com/totaljs/framework / getSchemaName

Function getSchemaName

index.js:19384–19388  ·  view source on GitHub ↗
(schema, params)

Source from the content-addressed store, hash-verified

19382}
19383
19384function getSchemaName(schema, params) {
19385 if (!(schema instanceof Array))
19386 schema = schema.split('/');
19387 return schema[0] === 'default' ? (params ? params[schema[1]] : schema[1]) : (schema.length > 1 ? (schema[0] + '/' + schema[1]) : schema[0]);
19388}
19389
19390// Default action for workflow routing
19391function controller_json_workflow(id) {

Callers 4

index.jsFile · 0.85
performschemaFunction · 0.85
controller_json_workflowFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected