sequential-workflow-editor-model
Advanced tools
Comparing version 0.10.0 to 0.11.0
@@ -0,1 +1,13 @@ | ||
class DefaultValueContext { | ||
static create(activator, propertyContext) { | ||
return new DefaultValueContext(activator, propertyContext); | ||
} | ||
constructor(activator, propertyContext) { | ||
this.activator = activator; | ||
this.propertyContext = propertyContext; | ||
this.getPropertyValue = this.propertyContext.getPropertyValue; | ||
this.activateStep = this.activator.activateStep; | ||
} | ||
} | ||
const SEPARATOR = '/'; | ||
@@ -106,14 +118,17 @@ class Path { | ||
class DefaultValueContext { | ||
static create(activator, object, model) { | ||
return new DefaultValueContext(activator, name => readPropertyValue(name, model, object)); | ||
class PropertyContext { | ||
static create(object, propertyModel, definitionModel) { | ||
return new PropertyContext(object, propertyModel, definitionModel); | ||
} | ||
static createFromValueContext(activator, valueContext) { | ||
return new DefaultValueContext(activator, valueContext.getPropertyValue); | ||
constructor(object, propertyModel, definitionModel) { | ||
this.object = object; | ||
this.propertyModel = propertyModel; | ||
this.definitionModel = definitionModel; | ||
this.getPropertyValue = (name) => { | ||
return readPropertyValue(name, this.propertyModel, this.object); | ||
}; | ||
this.getValueTypes = () => { | ||
return this.definitionModel.valueTypes; | ||
}; | ||
} | ||
constructor(activator, getPropertyValue) { | ||
this.activator = activator; | ||
this.getPropertyValue = getPropertyValue; | ||
this.activateStep = this.activator.activateStep; | ||
} | ||
} | ||
@@ -133,4 +148,5 @@ | ||
this.activatePropertiesInOrder(definition, this.definitionModel.root.properties); | ||
const sequenceValueContext = DefaultValueContext.create(this, definition, this.definitionModel.root.sequence); | ||
const sequence = this.definitionModel.root.sequence.value.getDefaultValue(sequenceValueContext); | ||
const propertyContext = PropertyContext.create(definition, this.definitionModel.root.sequence, this.definitionModel); | ||
const defaultValueContext = DefaultValueContext.create(this, propertyContext); | ||
const sequence = this.definitionModel.root.sequence.value.getDefaultValue(defaultValueContext); | ||
return Object.assign(Object.assign({}, definition), { sequence }); | ||
@@ -150,4 +166,5 @@ }; | ||
this.activatePropertiesInOrder(step, model.properties); | ||
const nameValueContext = DefaultValueContext.create(this, step, model.name); | ||
const name = model.name.value.getDefaultValue(nameValueContext); | ||
const propertyContext = PropertyContext.create(step, model.name, this.definitionModel); | ||
const defaultValueContext = DefaultValueContext.create(this, propertyContext); | ||
const name = model.name.value.getDefaultValue(defaultValueContext); | ||
return Object.assign(Object.assign({}, step), { name }); | ||
@@ -172,3 +189,4 @@ }; | ||
activateProperty(object, model) { | ||
const defaultValueContext = DefaultValueContext.create(this, object, model); | ||
const propertyContext = PropertyContext.create(object, model, this.definitionModel); | ||
const defaultValueContext = DefaultValueContext.create(this, propertyContext); | ||
const defaultValue = model.value.getDefaultValue(defaultValueContext); | ||
@@ -684,6 +702,2 @@ model.value.path.write(object, defaultValue); | ||
this._dependencies = []; | ||
/** | ||
* @deprecated Use `validator` instead. | ||
*/ | ||
this.customValidator = this.validator.bind(this); | ||
} | ||
@@ -1013,39 +1027,56 @@ /** | ||
class ScopedPropertyContext { | ||
static create(propertyContext, parentsProvider) { | ||
return new ScopedPropertyContext(propertyContext, parentsProvider); | ||
} | ||
constructor(propertyContext, parentsProvider) { | ||
this.propertyContext = propertyContext; | ||
this.parentsProvider = parentsProvider; | ||
this.getPropertyValue = this.propertyContext.getPropertyValue; | ||
this.getValueTypes = this.propertyContext.getValueTypes; | ||
this.hasVariable = (variableName, valueType) => { | ||
return this.getVariables().some(v => v.name === variableName && (valueType === null || v.type === valueType)); | ||
}; | ||
this.findFirstUndefinedVariable = (variableNames) => { | ||
const variables = new Set(this.getVariables().map(v => v.name)); | ||
return variableNames.find(name => !variables.has(name)); | ||
}; | ||
this.isVariableDuplicated = (variableName) => { | ||
return this.getVariables().filter(v => v.name === variableName).length > 1; | ||
}; | ||
this.getVariables = () => { | ||
return this.parentsProvider.getVariables(); | ||
}; | ||
} | ||
} | ||
class ValueContext { | ||
static create(valueModel, propertyModel, definitionContext) { | ||
return new ValueContext(valueModel, propertyModel, definitionContext); | ||
static createFromDefinitionContext(valueModel, propertyModel, definitionContext) { | ||
const propertyContext = PropertyContext.create(definitionContext.object, propertyModel, definitionContext.definitionModel); | ||
const scopedPropertyContext = ScopedPropertyContext.create(propertyContext, definitionContext.parentsProvider); | ||
return new ValueContext(valueModel, scopedPropertyContext); | ||
} | ||
constructor(model, propertyModel, definitionContext) { | ||
constructor(model, scopedPropertyContext) { | ||
this.model = model; | ||
this.propertyModel = propertyModel; | ||
this.definitionContext = definitionContext; | ||
this.scopedPropertyContext = scopedPropertyContext; | ||
this.onValueChanged = new SimpleEvent(); | ||
this.getPropertyValue = this.scopedPropertyContext.getPropertyValue; | ||
this.getValueTypes = this.scopedPropertyContext.getValueTypes; | ||
this.hasVariable = this.scopedPropertyContext.hasVariable; | ||
this.findFirstUndefinedVariable = this.scopedPropertyContext.findFirstUndefinedVariable; | ||
this.isVariableDuplicated = this.scopedPropertyContext.isVariableDuplicated; | ||
this.getVariables = this.scopedPropertyContext.getVariables; | ||
this.getValue = () => { | ||
return this.model.path.read(this.scopedPropertyContext.propertyContext.object); | ||
}; | ||
this.setValue = (value) => { | ||
this.model.path.write(this.scopedPropertyContext.propertyContext.object, value); | ||
this.onValueChanged.forward(this.model.path); | ||
}; | ||
this.validate = () => { | ||
return this.model.validate(this); | ||
}; | ||
this.getPropertyValue = (name) => { | ||
return readPropertyValue(name, this.propertyModel, this.definitionContext.object); | ||
}; | ||
} | ||
getValue() { | ||
return this.model.path.read(this.definitionContext.object); | ||
} | ||
setValue(value) { | ||
this.model.path.write(this.definitionContext.object, value); | ||
this.onValueChanged.forward(this.model.path); | ||
} | ||
getValueTypes() { | ||
return this.definitionContext.definitionModel.valueTypes; | ||
} | ||
hasVariable(name, valueType) { | ||
return this.getVariables().some(v => v.name === name && v.type === valueType); | ||
} | ||
isVariableDuplicated(name) { | ||
return this.getVariables().filter(v => v.name === name).length > 1; | ||
} | ||
getVariables() { | ||
return this.definitionContext.parentsProvider.getVariables(); | ||
} | ||
createChildContext(childModel) { | ||
const context = ValueContext.create(childModel, this.propertyModel, this.definitionContext); | ||
createChildContext(childValueModel) { | ||
const context = new ValueContext(childValueModel, this.scopedPropertyContext); | ||
context.onValueChanged.subscribe(this.onValueChanged.forward); | ||
@@ -1100,3 +1131,3 @@ return context; | ||
for (const propertyModel of propertyModels) { | ||
const valueContext = ValueContext.create(propertyModel.value, propertyModel, definitionContext); | ||
const valueContext = ValueContext.createFromDefinitionContext(propertyModel.value, propertyModel, definitionContext); | ||
const definitions = propertyModel.value.getVariableDefinitions(valueContext); | ||
@@ -1136,29 +1167,18 @@ if (!definitions) { | ||
class PropertyValidatorContext { | ||
static create(propertyModel, definitionContext) { | ||
return new PropertyValidatorContext(propertyModel, definitionContext); | ||
static create(valueContext) { | ||
return new PropertyValidatorContext(valueContext); | ||
} | ||
constructor(model, definitionContext) { | ||
this.model = model; | ||
this.definitionContext = definitionContext; | ||
constructor(valueContext) { | ||
this.valueContext = valueContext; | ||
this.getPropertyValue = this.valueContext.getPropertyValue; | ||
this.getSupportedValueTypes = this.valueContext.getValueTypes; | ||
this.hasVariable = this.valueContext.hasVariable; | ||
this.findFirstUndefinedVariable = this.valueContext.findFirstUndefinedVariable; | ||
this.isVariableDuplicated = this.valueContext.isVariableDuplicated; | ||
this.getVariables = this.valueContext.getVariables; | ||
} | ||
getValue() { | ||
return this.model.path.read(this.definitionContext.object); | ||
return this.valueContext.getValue(); | ||
} | ||
getPropertyValue(name) { | ||
return readPropertyValue(name, this.model, this.definitionContext.object); | ||
} | ||
hasVariable(name) { | ||
return this.hasVariables([name])[0]; | ||
} | ||
hasVariables(names) { | ||
const variables = this.definitionContext.parentsProvider.getVariables(); | ||
const variableNames = new Set(variables.map(v => v.name)); | ||
return names.map(name => variableNames.has(name)); | ||
} | ||
} | ||
/** | ||
* @deprecated Use `PropertyValidatorContext` instead. | ||
*/ | ||
class CustomValidatorContext extends PropertyValidatorContext { | ||
} | ||
@@ -1249,3 +1269,3 @@ class StepValidatorContext { | ||
validateProperty(propertyModel, definitionContext) { | ||
const valueContext = ValueContext.create(propertyModel.value, propertyModel, definitionContext); | ||
const valueContext = ValueContext.createFromDefinitionContext(propertyModel.value, propertyModel, definitionContext); | ||
const valueError = propertyModel.value.validate(valueContext); | ||
@@ -1256,3 +1276,3 @@ if (valueError) { | ||
if (propertyModel.validator) { | ||
const propertyContext = PropertyValidatorContext.create(propertyModel, definitionContext); | ||
const propertyContext = PropertyValidatorContext.create(valueContext); | ||
const propertyError = propertyModel.validator.validate(propertyContext); | ||
@@ -1274,2 +1294,2 @@ if (propertyError) { | ||
export { BranchedStepModelBuilder, CustomValidatorContext, DefaultValueContext, DefinitionContext, DefinitionModelBuilder, DefinitionValidator, GeneratedStringContext, ModelActivator, Path, PropertyModelBuilder, PropertyValidatorContext, RootModelBuilder, SequentialStepModelBuilder, SimpleEvent, StepModelBuilder, StepValidatorContext, ValueContext, WellKnownValueType, anyVariablesValueModelId, booleanValueModelId, branchesValueModelId, choiceValueModelId, createAnyVariablesValueModel, createBooleanValueModel, createBranchedStepModel, createBranchesValueModel, createChoiceValueModel, createDefinitionModel, createDynamicValueModel, createGeneratedStringValueModel, createNullableAnyVariableValueModel, createNullableVariableDefinitionValueModel, createNullableVariableValueModel, createNumberValueModel, createRootModel, createSequenceValueModel, createSequentialStepModel, createStepModel, createStringDictionaryValueModel, createStringValueModel, createValidationSingleError, createVariableDefinitionsValueModel, dynamicValueModelId, generatedStringValueModelId, nullableAnyVariableValueModelId, nullableVariableDefinitionValueModelId, nullableVariableValueModelId, numberValueModelId, sequenceValueModelId, stringDictionaryValueModelId, stringValueModelId, variableDefinitionsValueModelId, variableNameValidator }; | ||
export { BranchedStepModelBuilder, DefaultValueContext, DefinitionContext, DefinitionModelBuilder, DefinitionValidator, GeneratedStringContext, ModelActivator, Path, PropertyContext, PropertyModelBuilder, PropertyValidatorContext, RootModelBuilder, ScopedPropertyContext, SequentialStepModelBuilder, SimpleEvent, StepModelBuilder, StepValidatorContext, ValueContext, WellKnownValueType, anyVariablesValueModelId, booleanValueModelId, branchesValueModelId, choiceValueModelId, createAnyVariablesValueModel, createBooleanValueModel, createBranchedStepModel, createBranchesValueModel, createChoiceValueModel, createDefinitionModel, createDynamicValueModel, createGeneratedStringValueModel, createNullableAnyVariableValueModel, createNullableVariableDefinitionValueModel, createNullableVariableValueModel, createNumberValueModel, createRootModel, createSequenceValueModel, createSequentialStepModel, createStepModel, createStringDictionaryValueModel, createStringValueModel, createValidationSingleError, createVariableDefinitionsValueModel, dynamicValueModelId, generatedStringValueModelId, nullableAnyVariableValueModelId, nullableVariableDefinitionValueModelId, nullableVariableValueModelId, numberValueModelId, sequenceValueModelId, stringDictionaryValueModelId, stringValueModelId, variableDefinitionsValueModelId, variableNameValidator }; |
import * as sequential_workflow_model from 'sequential-workflow-model'; | ||
import { Step, Definition, DefinitionWalker, Properties, PropertyValue, Sequence, ComponentType, BranchedStep, Branches, SequentialStep } from 'sequential-workflow-model'; | ||
import { Properties, Step, Definition, DefinitionWalker, PropertyValue, Sequence, ComponentType, BranchedStep, Branches, SequentialStep } from 'sequential-workflow-model'; | ||
@@ -57,11 +57,21 @@ interface VariableDefinitions { | ||
declare class SimpleEvent<T> { | ||
private readonly listeners; | ||
subscribe(listener: SimpleEventListener<T>): void; | ||
unsubscribe(listener: SimpleEventListener<T>): void; | ||
readonly forward: (value: T) => void; | ||
count(): number; | ||
declare class PropertyContext<TProperties extends Properties = Properties> { | ||
readonly object: object; | ||
private readonly propertyModel; | ||
private readonly definitionModel; | ||
static create<TProps extends Properties = Properties>(object: object, propertyModel: PropertyModel, definitionModel: DefinitionModel): PropertyContext<TProps>; | ||
private constructor(); | ||
readonly getPropertyValue: <Key extends keyof TProperties>(name: Key) => TProperties[Key]; | ||
readonly getValueTypes: () => ValueType[]; | ||
} | ||
type SimpleEventListener<T> = (value: T) => void; | ||
declare class DefaultValueContext<TProperties extends Properties = Properties> { | ||
private readonly activator; | ||
readonly propertyContext: PropertyContext<TProperties>; | ||
static create<TProps extends Properties = Properties>(activator: ModelActivator, propertyContext: PropertyContext<TProps>): DefaultValueContext<TProps>; | ||
private constructor(); | ||
readonly getPropertyValue: <Key extends keyof TProperties>(name: Key) => TProperties[Key]; | ||
readonly activateStep: <TStep extends sequential_workflow_model.Step>(stepType: string) => TStep; | ||
} | ||
declare class ParentsProvider { | ||
@@ -80,2 +90,24 @@ private readonly step; | ||
declare class ScopedPropertyContext<TProperties extends Properties> { | ||
readonly propertyContext: PropertyContext<TProperties>; | ||
private readonly parentsProvider; | ||
static create<TProps extends Properties>(propertyContext: PropertyContext<TProps>, parentsProvider: ParentsProvider): ScopedPropertyContext<TProps>; | ||
private constructor(); | ||
readonly getPropertyValue: <Key extends keyof TProperties>(name: Key) => TProperties[Key]; | ||
readonly getValueTypes: () => string[]; | ||
readonly hasVariable: (variableName: string, valueType: string | null) => boolean; | ||
readonly findFirstUndefinedVariable: (variableNames: string[]) => string | undefined; | ||
readonly isVariableDuplicated: (variableName: string) => boolean; | ||
readonly getVariables: () => ContextVariable[]; | ||
} | ||
declare class SimpleEvent<T> { | ||
private readonly listeners; | ||
subscribe(listener: SimpleEventListener<T>): void; | ||
unsubscribe(listener: SimpleEventListener<T>): void; | ||
readonly forward: (value: T) => void; | ||
count(): number; | ||
} | ||
type SimpleEventListener<T> = (value: T) => void; | ||
declare class DefinitionContext { | ||
@@ -93,27 +125,18 @@ readonly object: Step | Definition; | ||
readonly model: TValueModel; | ||
private readonly propertyModel; | ||
private readonly definitionContext; | ||
static create<TValueModel extends ValueModel>(valueModel: TValueModel, propertyModel: PropertyModel, definitionContext: DefinitionContext): ValueContext<TValueModel>; | ||
readonly scopedPropertyContext: ScopedPropertyContext<TProperties>; | ||
static createFromDefinitionContext<TValModel extends ValueModel, TProps extends Properties = Properties>(valueModel: TValModel, propertyModel: PropertyModel, definitionContext: DefinitionContext): ValueContext<TValModel, TProps>; | ||
readonly onValueChanged: SimpleEvent<Path>; | ||
private constructor(); | ||
getValue(): ReturnType<TValueModel['getDefaultValue']>; | ||
setValue(value: ReturnType<TValueModel['getDefaultValue']>): void; | ||
readonly getPropertyValue: <Key extends keyof TProperties>(name: Key) => TProperties[Key]; | ||
readonly getValueTypes: () => string[]; | ||
readonly hasVariable: (variableName: string, valueType: string | null) => boolean; | ||
readonly findFirstUndefinedVariable: (variableNames: string[]) => string | undefined; | ||
readonly isVariableDuplicated: (variableName: string) => boolean; | ||
readonly getVariables: () => ContextVariable[]; | ||
readonly getValue: () => ReturnType<TValueModel['getDefaultValue']>; | ||
readonly setValue: (value: ReturnType<TValueModel['getDefaultValue']>) => void; | ||
readonly validate: () => ValidationResult; | ||
readonly getPropertyValue: <Key extends keyof TProperties>(name: Key) => TProperties[Key]; | ||
getValueTypes(): ValueType[]; | ||
hasVariable(name: string, valueType: string): boolean; | ||
isVariableDuplicated(name: string): boolean; | ||
getVariables(): ContextVariable[]; | ||
createChildContext<TChildModel extends ValueModel<PropertyValue, object, TProperties>>(childModel: TChildModel): ValueContext<TChildModel>; | ||
createChildContext<TChildModel extends ValueModel<PropertyValue, object, TProperties>>(childValueModel: TChildModel): ValueContext<TChildModel>; | ||
} | ||
declare class DefaultValueContext<TProperties extends Properties = Properties> { | ||
private readonly activator; | ||
readonly getPropertyValue: <Key extends keyof TProperties>(name: Key) => TProperties[Key]; | ||
static create<TProps extends Properties = Properties>(activator: ModelActivator, object: object, model: PropertyModel): DefaultValueContext<TProps>; | ||
static createFromValueContext<TProps extends Properties = Properties>(activator: ModelActivator, valueContext: ValueContext<ValueModel, TProps>): DefaultValueContext<TProps>; | ||
private constructor(); | ||
readonly activateStep: <TStep extends sequential_workflow_model.Step>(stepType: string) => TStep; | ||
} | ||
declare class DefinitionValidator { | ||
@@ -147,16 +170,13 @@ private readonly model; | ||
declare class PropertyValidatorContext<TValue extends PropertyValue = PropertyValue, TProperties extends Properties = Properties> { | ||
private readonly model; | ||
private readonly definitionContext; | ||
static create<TVal extends PropertyValue, TProps extends Properties>(propertyModel: PropertyModel<TVal>, definitionContext: DefinitionContext): PropertyValidatorContext<TVal, TProps>; | ||
protected constructor(model: PropertyModel<TValue>, definitionContext: DefinitionContext); | ||
private readonly valueContext; | ||
static create<TVal extends PropertyValue, TProps extends Properties>(valueContext: ValueContext<ValueModel, TProps>): PropertyValidatorContext<TVal, TProps>; | ||
protected constructor(valueContext: ValueContext<ValueModel, TProperties>); | ||
readonly getPropertyValue: <Key extends keyof TProperties>(name: Key) => TProperties[Key]; | ||
readonly getSupportedValueTypes: () => string[]; | ||
readonly hasVariable: (variableName: string, valueType: string | null) => boolean; | ||
readonly findFirstUndefinedVariable: (variableNames: string[]) => string | undefined; | ||
readonly isVariableDuplicated: (variableName: string) => boolean; | ||
readonly getVariables: () => ContextVariable[]; | ||
getValue(): TValue; | ||
getPropertyValue<Key extends keyof TProperties>(name: Key): TProperties[Key]; | ||
hasVariable(name: string): boolean; | ||
hasVariables(names: string[]): boolean[]; | ||
} | ||
/** | ||
* @deprecated Use `PropertyValidatorContext` instead. | ||
*/ | ||
declare class CustomValidatorContext<TValue extends PropertyValue = PropertyValue, TProperties extends Properties = Properties> extends PropertyValidatorContext<TValue, TProperties> { | ||
} | ||
@@ -230,6 +250,6 @@ declare class StepValidatorContext { | ||
interface ContextVariable { | ||
name: string; | ||
type: ValueType; | ||
stepId: string | null; | ||
valueModelPath: Path; | ||
readonly name: string; | ||
readonly type: ValueType; | ||
readonly stepId: string | null; | ||
readonly valueModelPath: Path; | ||
} | ||
@@ -297,6 +317,2 @@ | ||
validator(validator: PropertyValidator<TValue, TProperties>): this; | ||
/** | ||
* @deprecated Use `validator` instead. | ||
*/ | ||
readonly customValidator: (validator: PropertyValidator<TValue, TProperties>) => this; | ||
build(): PropertyModel<TValue>; | ||
@@ -454,3 +470,3 @@ private getDefaultLabel; | ||
private constructor(); | ||
readonly getPropertyValue: (<Key extends keyof TProperties>(name: Key) => TProperties[Key]) | (<Key_1 extends keyof TProperties>(name: Key_1) => TProperties[Key_1]); | ||
readonly getPropertyValue: <Key extends keyof TProperties>(name: Key) => TProperties[Key]; | ||
formatPropertyValue<Key extends keyof TProperties>(name: Key, formatter: (value: NonNullable<TProperties[Key]>) => string): string; | ||
@@ -531,2 +547,2 @@ } | ||
export { AnyVariable, AnyVariables, AnyVariablesValueModel, AnyVariablesValueModelConfiguration, BooleanValueModel, BooleanValueModelConfiguration, BranchedStepModelBuilder, BranchesValueModel, BranchesValueModelConfiguration, ChoiceValueModel, ChoiceValueModelConfiguration, ContextVariable, CustomValidatorContext, DefaultValueContext, DefinitionContext, DefinitionModel, DefinitionModelBuilder, DefinitionValidationError, DefinitionValidator, Dynamic, DynamicValueModel, DynamicValueModelConfiguration, GeneratedStringContext, GeneratedStringValueModelConfiguration, GeneratedStringVariableValueModel, ModelActivator, NullableAnyVariable, NullableAnyVariableValueModel, NullableAnyVariableValueModelConfiguration, NullableVariable, NullableVariableDefinition, NullableVariableDefinitionValueModel, NullableVariableDefinitionValueModelConfiguration, NullableVariableValueModel, NullableVariableValueModelConfiguration, NumberValueModel, NumberValueModelConfiguration, Path, PropertyModel, PropertyModelBuilder, PropertyModels, PropertyValidationError, PropertyValidator, PropertyValidatorContext, RootModel, RootModelBuilder, SequenceValueModel, SequenceValueModelConfiguration, SequentialStepModelBuilder, SimpleEvent, SimpleEventListener, StepModel, StepModelBuilder, StepModels, StepValidator, StepValidatorContext, StringDictionary, StringDictionaryItem, StringDictionaryValueModel, StringDictionaryValueModelConfiguration, StringValueModel, StringValueModelConfiguration, UidGenerator, ValidationError, ValidationResult, ValueContext, ValueModel, ValueModelFactory, ValueModelFactoryFromModel, ValueModelId, ValueType, Variable, VariableDefinition, VariableDefinitions, VariableDefinitionsValueModel, VariableDefinitionsValueModelConfiguration, WellKnownValueType, anyVariablesValueModelId, booleanValueModelId, branchesValueModelId, choiceValueModelId, createAnyVariablesValueModel, createBooleanValueModel, createBranchedStepModel, createBranchesValueModel, createChoiceValueModel, createDefinitionModel, createDynamicValueModel, createGeneratedStringValueModel, createNullableAnyVariableValueModel, createNullableVariableDefinitionValueModel, createNullableVariableValueModel, createNumberValueModel, createRootModel, createSequenceValueModel, createSequentialStepModel, createStepModel, createStringDictionaryValueModel, createStringValueModel, createValidationSingleError, createVariableDefinitionsValueModel, dynamicValueModelId, generatedStringValueModelId, nullableAnyVariableValueModelId, nullableVariableDefinitionValueModelId, nullableVariableValueModelId, numberValueModelId, sequenceValueModelId, stringDictionaryValueModelId, stringValueModelId, variableDefinitionsValueModelId, variableNameValidator }; | ||
export { AnyVariable, AnyVariables, AnyVariablesValueModel, AnyVariablesValueModelConfiguration, BooleanValueModel, BooleanValueModelConfiguration, BranchedStepModelBuilder, BranchesValueModel, BranchesValueModelConfiguration, ChoiceValueModel, ChoiceValueModelConfiguration, ContextVariable, DefaultValueContext, DefinitionContext, DefinitionModel, DefinitionModelBuilder, DefinitionValidationError, DefinitionValidator, Dynamic, DynamicValueModel, DynamicValueModelConfiguration, GeneratedStringContext, GeneratedStringValueModelConfiguration, GeneratedStringVariableValueModel, ModelActivator, NullableAnyVariable, NullableAnyVariableValueModel, NullableAnyVariableValueModelConfiguration, NullableVariable, NullableVariableDefinition, NullableVariableDefinitionValueModel, NullableVariableDefinitionValueModelConfiguration, NullableVariableValueModel, NullableVariableValueModelConfiguration, NumberValueModel, NumberValueModelConfiguration, Path, PropertyContext, PropertyModel, PropertyModelBuilder, PropertyModels, PropertyValidationError, PropertyValidator, PropertyValidatorContext, RootModel, RootModelBuilder, ScopedPropertyContext, SequenceValueModel, SequenceValueModelConfiguration, SequentialStepModelBuilder, SimpleEvent, SimpleEventListener, StepModel, StepModelBuilder, StepModels, StepValidator, StepValidatorContext, StringDictionary, StringDictionaryItem, StringDictionaryValueModel, StringDictionaryValueModelConfiguration, StringValueModel, StringValueModelConfiguration, UidGenerator, ValidationError, ValidationResult, ValueContext, ValueModel, ValueModelFactory, ValueModelFactoryFromModel, ValueModelId, ValueType, Variable, VariableDefinition, VariableDefinitions, VariableDefinitionsValueModel, VariableDefinitionsValueModelConfiguration, WellKnownValueType, anyVariablesValueModelId, booleanValueModelId, branchesValueModelId, choiceValueModelId, createAnyVariablesValueModel, createBooleanValueModel, createBranchedStepModel, createBranchesValueModel, createChoiceValueModel, createDefinitionModel, createDynamicValueModel, createGeneratedStringValueModel, createNullableAnyVariableValueModel, createNullableVariableDefinitionValueModel, createNullableVariableValueModel, createNumberValueModel, createRootModel, createSequenceValueModel, createSequentialStepModel, createStepModel, createStringDictionaryValueModel, createStringValueModel, createValidationSingleError, createVariableDefinitionsValueModel, dynamicValueModelId, generatedStringValueModelId, nullableAnyVariableValueModelId, nullableVariableDefinitionValueModelId, nullableVariableValueModelId, numberValueModelId, sequenceValueModelId, stringDictionaryValueModelId, stringValueModelId, variableDefinitionsValueModelId, variableNameValidator }; |
{ | ||
"name": "sequential-workflow-editor-model", | ||
"version": "0.10.0", | ||
"version": "0.11.0", | ||
"homepage": "https://nocode-js.com/", | ||
@@ -5,0 +5,0 @@ "author": { |
Sorry, the diff of this file is not supported yet
130567
3044