@accordproject/concerto-core 2.0.0-20220401130011 → 2.0.0-20220405100536
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/messages/en.json +48 -48
- package/package.json +4 -4
- package/umd/concerto.js +1 -1
- package/umd/concerto.js.LICENSE.txt +1 -1
package/messages/en.json
CHANGED
|
@@ -13,68 +13,68 @@
|
|
|
13
13
|
"test-repeat-array": "{0} {0} {0}",
|
|
14
14
|
"test-repeat-object": "{value} {value} {value}",
|
|
15
15
|
|
|
16
|
-
"classdeclaration-constructor-modelastreq": "ModelFile and AST are required to create a ClassDecl.",
|
|
17
|
-
"classdeclaration-process-unrecmodelelem": "Unrecognised model element {type}",
|
|
18
|
-
"classdeclaration-getfield-notfindsupertype": "Could not find
|
|
19
|
-
"classdeclaration-validate-identifiernotproperty": "Class {class} is identified by field
|
|
20
|
-
"classdeclaration-validate-identifiernotstring": "Class {class} is identified by field
|
|
21
|
-
"classdeclaration-validate-duplicatefieldname": "Class {class} has more than one field named
|
|
22
|
-
"classdeclaration-validate-missingidentifier" : "Class {class} is not declared as abstract. It must define an identifying field.",
|
|
16
|
+
"classdeclaration-constructor-modelastreq": "\"ModelFile\" and \"AST\" are required to create a \"ClassDecl\".",
|
|
17
|
+
"classdeclaration-process-unrecmodelelem": "Unrecognised model element \"{type}\".",
|
|
18
|
+
"classdeclaration-getfield-notfindsupertype": "Could not find supertype \"{type}\".",
|
|
19
|
+
"classdeclaration-validate-identifiernotproperty": "Class \"{class}\" is identified by field \"{idField}\", but does not contain this property.",
|
|
20
|
+
"classdeclaration-validate-identifiernotstring": "Class \"{class}\" is identified by field \"{idField}\", but the type of the field is not \"String\".",
|
|
21
|
+
"classdeclaration-validate-duplicatefieldname": "Class \"{class}\" has more than one field named \"{fieldName}\".",
|
|
22
|
+
"classdeclaration-validate-missingidentifier" : "Class \"{class}\" is not declared as \"abstract\". It must define an identifying field.",
|
|
23
23
|
|
|
24
|
-
"modelfile-constructor-unrecmodelelem": "Unrecognised model element {type}",
|
|
25
|
-
"modelfile-resolvetype-undecltype": "Undeclared type {type} in {context}",
|
|
26
|
-
"modelfile-resolveimport-failfindimp": "Failed to find {type} in list of imports [{imports}] for namespace {namespace}",
|
|
24
|
+
"modelfile-constructor-unrecmodelelem": "Unrecognised model element \"{type}\".",
|
|
25
|
+
"modelfile-resolvetype-undecltype": "Undeclared type \"{type}\" in \"{context}\".",
|
|
26
|
+
"modelfile-resolveimport-failfindimp": "Failed to find \"{type}\" in list of imports \"[{imports}]\" for namespace \"{namespace}\".",
|
|
27
27
|
|
|
28
28
|
"transactiondeclaration-getidentifierfieldname-noidentifyingfield": "Transactions do not have an identifying field.",
|
|
29
29
|
|
|
30
|
-
"composer-connect-noconopts": "connectOptions not specified",
|
|
31
|
-
"composer-connect-nokeyvalstore": "connectOptions.keyValStore not specified",
|
|
32
|
-
"composer-connect-nomembersrvcurl": "connectOptions.membershipServicesURL not specified",
|
|
33
|
-
"composer-connect-nopeerurl": "connectOptions.peerURL not specified",
|
|
34
|
-
"composer-connect-noeventhuburl": "connectOptions.eventHubURL not specified",
|
|
35
|
-
"composer-connect-notconnected": "Connection needs to be connected. Call connect(..)",
|
|
36
|
-
"composer-login-noenrollmentid": "enrollmentID not specified",
|
|
37
|
-
"composer-login-noenrollmentsecret": "enrollmentSecret not specified",
|
|
38
|
-
"composer-deploy-nosecuritycontext": "securityContext not specified",
|
|
30
|
+
"composer-connect-noconopts": "\"connectOptions\" not specified.",
|
|
31
|
+
"composer-connect-nokeyvalstore": "\"connectOptions.keyValStore\" not specified.",
|
|
32
|
+
"composer-connect-nomembersrvcurl": "\"connectOptions.membershipServicesURL\" not specified.",
|
|
33
|
+
"composer-connect-nopeerurl": "\"connectOptions.peerURL\" not specified.",
|
|
34
|
+
"composer-connect-noeventhuburl": "\"connectOptions.eventHubURL\" not specified.",
|
|
35
|
+
"composer-connect-notconnected": "Connection needs to be connected. Call \"connect(..)\".",
|
|
36
|
+
"composer-login-noenrollmentid": "\"enrollmentID\" not specified.",
|
|
37
|
+
"composer-login-noenrollmentsecret": "\"enrollmentSecret\" not specified.",
|
|
38
|
+
"composer-deploy-nosecuritycontext": "\"securityContext\" not specified.",
|
|
39
39
|
|
|
40
|
-
"factory-newinstance-missingidentifier": "Missing identifier for Type {type} in namespace {namespace}",
|
|
41
|
-
"factory-newinstance-invalididentifier": "Invalid or missing identifier for Type {type} in namespace {namespace}",
|
|
42
|
-
"factory-newinstance-abstracttype": "Cannot instantiate
|
|
43
|
-
"factory-newrelationship-notregisteredwithmm" : "Cannot create relationship as namespace {namespace} is not known",
|
|
44
|
-
"factory-newinstance-typenotdeclaredinns" : "Cannot instantiate Type {type} in namespace {namespace}",
|
|
40
|
+
"factory-newinstance-missingidentifier": "Missing identifier for Type \"{type}\" in namespace \"{namespace}\".",
|
|
41
|
+
"factory-newinstance-invalididentifier": "Invalid or missing identifier for Type \"{type}\" in namespace \"{namespace}\".",
|
|
42
|
+
"factory-newinstance-abstracttype": "Cannot instantiate the abstract type \"{type}\" in the \"{namespace}\" namespace.",
|
|
43
|
+
"factory-newrelationship-notregisteredwithmm" : "Cannot create relationship as namespace \"{namespace}\" is not known.",
|
|
44
|
+
"factory-newinstance-typenotdeclaredinns" : "Cannot instantiate Type \"{type}\" in namespace \"{namespace}\".",
|
|
45
45
|
|
|
46
|
-
"instancegenerator-newinstance-noconcreteclass": "No concrete extending type for {type}",
|
|
46
|
+
"instancegenerator-newinstance-noconcreteclass": "No concrete extending type for \"{type}\".",
|
|
47
47
|
|
|
48
|
-
"modelmanager-resolvetype-nonsfortype": "No registered namespace for type {type} in {context}",
|
|
49
|
-
"modelmanager-resolvetype-notypeinnsforcontext": "No type {type} in namespace {namespace} for {context}",
|
|
48
|
+
"modelmanager-resolvetype-nonsfortype": "No registered namespace for type \"{type}\" in \"{context}\".",
|
|
49
|
+
"modelmanager-resolvetype-notypeinnsforcontext": "No type \"{type}\" in namespace \"{namespace}\" for \"{context}\".",
|
|
50
50
|
|
|
51
|
-
"modelmanager-gettype-noregisteredns": "Namespace is not defined for type {type}",
|
|
52
|
-
"modelmanager-gettype-notypeinns": "Type {type} is not defined in namespace {namespace}",
|
|
51
|
+
"modelmanager-gettype-noregisteredns": "Namespace is not defined for type \"{type}\".",
|
|
52
|
+
"modelmanager-gettype-notypeinns": "Type \"{type}\" is not defined in namespace \"{namespace}\".",
|
|
53
53
|
|
|
54
|
-
"serializer-constructor-factorynull": "Factory cannot be null",
|
|
55
|
-
"serializer-constructor-modelmanagernull": "ModelManager cannot be null",
|
|
56
|
-
"serializer-tojson-notcobject": "Serializer.toJSON only accepts Concept, Event, Asset, Participant or Transaction.",
|
|
54
|
+
"serializer-constructor-factorynull": "\"Factory\" cannot be \"null\".",
|
|
55
|
+
"serializer-constructor-modelmanagernull": "\"ModelManager\" cannot be \"null\".",
|
|
56
|
+
"serializer-tojson-notcobject": "\"Serializer.toJSON\" only accepts \"Concept\", \"Event\", \"Asset\", \"Participant\" or \"Transaction\".",
|
|
57
57
|
|
|
58
|
-
"util-securitycheck-novalidcontext": "A valid SecurityContext must be specified.",
|
|
58
|
+
"util-securitycheck-novalidcontext": "A valid \"SecurityContext\" must be specified.",
|
|
59
59
|
|
|
60
60
|
"modelutil-getnamespace-nofnq": "FQN is invalid.",
|
|
61
61
|
|
|
62
|
-
"resourcevalidator-notresourceorconcept": "Model violation in
|
|
63
|
-
"resourcevalidator-notrelationship": "Model violation in
|
|
64
|
-
"resourcevalidator-fieldtypeviolation": "Model violation in
|
|
65
|
-
"resourcevalidator-missingrequiredproperty": "
|
|
66
|
-
"resourcevalidator-invalidenumvalue": "
|
|
67
|
-
"resourcevalidator-abstractclass": "The class {className} is abstract
|
|
68
|
-
"resourcevalidator-undeclaredfield": "Instance {resourceId} has a property named {propertyName} which is not declared in {fullyQualifiedTypeName}",
|
|
69
|
-
"resourcevalidator-invalidfieldassignment": "Instance {resourceId} has property {propertyName} with type {objectType} that is not derived from {fieldType}",
|
|
70
|
-
"resourcevalidator-emptyidentifier": "Instance {resourceId} has an empty identifier.",
|
|
62
|
+
"resourcevalidator-notresourceorconcept": "Model violation in the \"{resourceId}\" instance. Class \"{classFQN}\" has the value of \"{invalidValue}\". Expected a \"Resource\" or a \"Concept\".",
|
|
63
|
+
"resourcevalidator-notrelationship": "Model violation in the \"{resourceId}\" instance. Class \"{classFQN}\" has a value of \"{invalidValue}\". Expected a \"Relationship\".",
|
|
64
|
+
"resourcevalidator-fieldtypeviolation": "Model violation in the \"{resourceId}\" instance. The field \"{propertyName}\" has a value of \"{value}\" (type of value: \"{typeOfValue}\"). Expected type of value: \"{fieldType}\".",
|
|
65
|
+
"resourcevalidator-missingrequiredproperty": "The instance \"{resourceId}\" is missing the required field \"{fieldName}\".",
|
|
66
|
+
"resourcevalidator-invalidenumvalue": "Model violation in the \"{resourceId}\" instance. Invalid enum value of \"{value}\" for the field \"{fieldName}\".",
|
|
67
|
+
"resourcevalidator-abstractclass": "The class \"{className}\" is abstract and should not contain an instance.",
|
|
68
|
+
"resourcevalidator-undeclaredfield": "Instance \"{resourceId}\" has a property named \"{propertyName}\", which is not declared in \"{fullyQualifiedTypeName}\".",
|
|
69
|
+
"resourcevalidator-invalidfieldassignment": "Instance \"{resourceId}\" has a property \"{propertyName}\" with type \"{objectType}\" that is not derived from \"{fieldType}\".",
|
|
70
|
+
"resourcevalidator-emptyidentifier": "Instance \"{resourceId}\" has an empty identifier.",
|
|
71
71
|
|
|
72
|
-
"typenotfounderror-defaultmessage": "Type
|
|
72
|
+
"typenotfounderror-defaultmessage": "Type \"{typeName}\" not found.",
|
|
73
73
|
|
|
74
|
-
"whereastvalidator-propertytypeviolation": "Property {propertyName} cannot be compared with {value} ({typeOfValue})
|
|
75
|
-
"whereastvalidator-enum-propertytypeviolation": "Enum property {propertyName} cannot be compared with {value} ({typeOfValue})
|
|
76
|
-
"whereastvalidator-relationship-propertytypeviolation": "Relationship {propertyName} cannot be compared with {value} ({typeOfValue})
|
|
77
|
-
"whereastvalidator-unsupportedtype": "Property {propertyName} of type {fieldType} cannot be compared with a literal value.",
|
|
78
|
-
"whereastvalidator-invalidoperator": "Property {propertyName} cannot be compared using the {operator} operator."
|
|
74
|
+
"whereastvalidator-propertytypeviolation": "Property \"{propertyName}\" cannot be compared with \"{value}\" (type of value: \"{typeOfValue}\"). Expected type: \"{fieldType}\".",
|
|
75
|
+
"whereastvalidator-enum-propertytypeviolation": "Enum property \"{propertyName}\" cannot be compared with \"{value}\" (type of value: \"{typeOfValue}\"). Expected type: \"String\".",
|
|
76
|
+
"whereastvalidator-relationship-propertytypeviolation": "Relationship \"{propertyName}\" cannot be compared with \"{value}\" (type of value: \"{typeOfValue}\"). Expected type: \"String\".",
|
|
77
|
+
"whereastvalidator-unsupportedtype": "Property \"{propertyName}\" of type \"{fieldType}\" cannot be compared with a literal value.",
|
|
78
|
+
"whereastvalidator-invalidoperator": "Property \"{propertyName}\" cannot be compared using the \"{operator}\" operator."
|
|
79
79
|
}
|
|
80
80
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@accordproject/concerto-core",
|
|
3
|
-
"version": "2.0.0-
|
|
3
|
+
"version": "2.0.0-20220405100536",
|
|
4
4
|
"description": "Core Implementation for the Concerto Modeling Language",
|
|
5
5
|
"homepage": "https://github.com/accordproject/concerto",
|
|
6
6
|
"engines": {
|
|
@@ -65,9 +65,9 @@
|
|
|
65
65
|
"yargs": "17.3.1"
|
|
66
66
|
},
|
|
67
67
|
"dependencies": {
|
|
68
|
-
"@accordproject/concerto-cto": "2.0.0-
|
|
69
|
-
"@accordproject/concerto-metamodel": "2.0.0-
|
|
70
|
-
"@accordproject/concerto-util": "2.0.0-
|
|
68
|
+
"@accordproject/concerto-cto": "2.0.0-20220405100536",
|
|
69
|
+
"@accordproject/concerto-metamodel": "2.0.0-20220405100536",
|
|
70
|
+
"@accordproject/concerto-util": "2.0.0-20220405100536",
|
|
71
71
|
"dayjs": "1.10.8",
|
|
72
72
|
"debug": "4.3.1",
|
|
73
73
|
"lorem-ipsum": "2.0.3",
|