1.0.0-beta.26 • Published 2 years ago
@tailor-cms/config v1.0.0-beta.26
@tailor-cms/config
Usage
const { getSchemaApi, getWorkflowApi, processSchemas } = require('@tailor-cms/config');
API
getSchemaApi(SCHEMAS)
The method returning an object containing schema helper methods.
Methods:
- getSchemaId
- getSchema
- getLevel
- getOutlineLevels
- isOutlineActivity
- getOutlineChildren
- filterOutlineActivities
- isTrackedInWorkflow
- getRepositoryMetadata
- getActivityLabel
- getActivityMetadata
- getElementMetadata
- getLevelRelationships
- getRepositoryRelationships
- getSiblingTypes
- getSupportedContainers
- getContainerTemplateId
- isEditable
getWorkflowApi(WORKFLOWS, schemaApi)
The method returning an object containing workflow properties and methods.
Properties:
- priorities
Methods:
- getWorkflow
- getPriority
- getDefaultWorkflowStatus
- getDefaultActivityStatus
processSchemas(SCHEMAS)
The method which validates schemas, prefixes activity types with schema ID, e.g.
SCHEMA_ID/TYPE
, and processes meta.
1.0.0-beta.26
2 years ago
1.0.0-beta.25
2 years ago
1.0.0-beta.22
3 years ago
1.0.0-beta.23
3 years ago
1.0.0-beta.20
3 years ago
1.0.0-beta.21
3 years ago
1.0.0-beta.24
3 years ago
1.0.0-beta.2
3 years ago
1.0.0-beta.3
3 years ago
1.0.0-beta.4
3 years ago
1.0.0-beta.5
3 years ago
1.0.0-beta.1
3 years ago
1.0.0-beta.11
3 years ago
1.0.0-beta.12
3 years ago
1.0.0-beta.10
3 years ago
1.0.0-beta.6
3 years ago
1.0.0-beta.7
3 years ago
1.0.0-beta.8
3 years ago
1.0.0-beta.9
3 years ago
1.0.0-beta.19
3 years ago
1.0.0-beta.17
3 years ago
1.0.0-beta.18
3 years ago
1.0.0-beta.15
3 years ago
0.1.4
3 years ago
1.0.0-beta.16
3 years ago
1.0.0-beta.13
3 years ago
1.0.0-beta.14
3 years ago
0.1.5
3 years ago
0.1.3
4 years ago
0.1.2
4 years ago
0.1.0
4 years ago