1.0.0-beta.26 • Published 10 months 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
10 months ago
1.0.0-beta.25
11 months ago
1.0.0-beta.22
2 years ago
1.0.0-beta.23
2 years ago
1.0.0-beta.20
2 years ago
1.0.0-beta.21
2 years ago
1.0.0-beta.24
2 years ago
1.0.0-beta.2
2 years ago
1.0.0-beta.3
2 years ago
1.0.0-beta.4
2 years ago
1.0.0-beta.5
2 years ago
1.0.0-beta.1
2 years ago
1.0.0-beta.11
2 years ago
1.0.0-beta.12
2 years ago
1.0.0-beta.10
2 years ago
1.0.0-beta.6
2 years ago
1.0.0-beta.7
2 years ago
1.0.0-beta.8
2 years ago
1.0.0-beta.9
2 years ago
1.0.0-beta.19
2 years ago
1.0.0-beta.17
2 years ago
1.0.0-beta.18
2 years ago
1.0.0-beta.15
2 years ago
0.1.4
2 years ago
1.0.0-beta.16
2 years ago
1.0.0-beta.13
2 years ago
1.0.0-beta.14
2 years ago
0.1.5
2 years ago
0.1.3
3 years ago
0.1.2
3 years ago
0.1.0
3 years ago