mendixmodelsdk
Advanced tools
Comparing version 2.0.0-dev.ad09f43 to 2.0.0-dev.c2a188a
[ | ||
{ | ||
"deltaType": "CREATE_UNIT", | ||
"unitId": "1a5b59c8-4465-4136-8362-671223bd964d", | ||
"unitId": "ad8329f8-eb41-4bf6-b2e9-eb5574204a0b", | ||
"containerId": "eec3241d-13a9-4ba9-940c-5d5223624304", | ||
@@ -10,4 +10,4 @@ "containmentName": "modules", | ||
{ | ||
"unitId": "1a5b59c8-4465-4136-8362-671223bd964d", | ||
"elementId": "1a5b59c8-4465-4136-8362-671223bd964d", | ||
"unitId": "ad8329f8-eb41-4bf6-b2e9-eb5574204a0b", | ||
"elementId": "ad8329f8-eb41-4bf6-b2e9-eb5574204a0b", | ||
"deltaType": "UPDATE_PROPERTY_VALUE", | ||
@@ -22,4 +22,4 @@ "propertyName": "name", | ||
"deltaType": "CREATE_UNIT", | ||
"unitId": "e4afbd8e-76c1-41f6-9c90-acec3ff24e3e", | ||
"containerId": "1a5b59c8-4465-4136-8362-671223bd964d", | ||
"unitId": "e30c99b5-910b-4a96-9ccf-217e5fe1e138", | ||
"containerId": "ad8329f8-eb41-4bf6-b2e9-eb5574204a0b", | ||
"containmentName": "domainModel", | ||
@@ -30,4 +30,4 @@ "contentType": "DomainModels$DomainModel" | ||
"deltaType": "CREATE_UNIT", | ||
"unitId": "9bb3e8e1-cef8-47ca-92b1-9797f79e8b02", | ||
"containerId": "1a5b59c8-4465-4136-8362-671223bd964d", | ||
"unitId": "86f7df06-f117-4ba2-aca8-25a19bb69769", | ||
"containerId": "ad8329f8-eb41-4bf6-b2e9-eb5574204a0b", | ||
"containmentName": "folders", | ||
@@ -37,4 +37,4 @@ "contentType": "Projects$Folder" | ||
{ | ||
"unitId": "9bb3e8e1-cef8-47ca-92b1-9797f79e8b02", | ||
"elementId": "9bb3e8e1-cef8-47ca-92b1-9797f79e8b02", | ||
"unitId": "86f7df06-f117-4ba2-aca8-25a19bb69769", | ||
"elementId": "86f7df06-f117-4ba2-aca8-25a19bb69769", | ||
"deltaType": "UPDATE_PROPERTY_VALUE", | ||
@@ -49,4 +49,4 @@ "propertyName": "name", | ||
"deltaType": "CREATE_UNIT", | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"containerId": "9bb3e8e1-cef8-47ca-92b1-9797f79e8b02", | ||
"unitId": "a0aac375-77eb-421c-8aa8-761b3d5121f3", | ||
"containerId": "86f7df06-f117-4ba2-aca8-25a19bb69769", | ||
"containmentName": "documents", | ||
@@ -56,4 +56,4 @@ "contentType": "Pages$Page" | ||
{ | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"unitId": "a0aac375-77eb-421c-8aa8-761b3d5121f3", | ||
"elementId": "a0aac375-77eb-421c-8aa8-761b3d5121f3", | ||
"deltaType": "UPDATE_PROPERTY_VALUE", | ||
@@ -67,4 +67,4 @@ "propertyName": "canvasWidth", | ||
{ | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"unitId": "a0aac375-77eb-421c-8aa8-761b3d5121f3", | ||
"elementId": "a0aac375-77eb-421c-8aa8-761b3d5121f3", | ||
"deltaType": "UPDATE_PROPERTY_VALUE", | ||
@@ -78,28 +78,28 @@ "propertyName": "canvasHeight", | ||
{ | ||
"parentId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"parentId": "a0aac375-77eb-421c-8aa8-761b3d5121f3", | ||
"elementType": "Pages$LayoutCall", | ||
"parentPropertyName": "layoutCall", | ||
"deltaType": "CREATE_ELEMENT", | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementId": "33ef2363-b55c-48ec-9f8a-9d2d28da7818" | ||
"unitId": "a0aac375-77eb-421c-8aa8-761b3d5121f3", | ||
"elementId": "bddcdd01-0fac-4099-ad1f-242c0eb82352" | ||
}, | ||
{ | ||
"parentId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"parentId": "a0aac375-77eb-421c-8aa8-761b3d5121f3", | ||
"elementType": "Texts$Text", | ||
"parentPropertyName": "title", | ||
"deltaType": "CREATE_ELEMENT", | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementId": "b286cd82-94b9-4c14-ada6-4b575c1127bb" | ||
"unitId": "a0aac375-77eb-421c-8aa8-761b3d5121f3", | ||
"elementId": "66d9f0ba-9676-456c-ba3a-4ee5dcc418fa" | ||
}, | ||
{ | ||
"parentId": "b286cd82-94b9-4c14-ada6-4b575c1127bb", | ||
"parentId": "66d9f0ba-9676-456c-ba3a-4ee5dcc418fa", | ||
"elementType": "Texts$Translation", | ||
"parentPropertyName": "translations", | ||
"deltaType": "CREATE_ELEMENT", | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementId": "26c44d6c-68be-485b-8dde-b7f1da4e3751" | ||
"unitId": "a0aac375-77eb-421c-8aa8-761b3d5121f3", | ||
"elementId": "694b0bec-67e9-42b1-8878-2b3bb8a2f285" | ||
}, | ||
{ | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementId": "26c44d6c-68be-485b-8dde-b7f1da4e3751", | ||
"unitId": "a0aac375-77eb-421c-8aa8-761b3d5121f3", | ||
"elementId": "694b0bec-67e9-42b1-8878-2b3bb8a2f285", | ||
"deltaType": "UPDATE_PROPERTY_VALUE", | ||
@@ -113,4 +113,4 @@ "propertyName": "languageCode", | ||
{ | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementId": "26c44d6c-68be-485b-8dde-b7f1da4e3751", | ||
"unitId": "a0aac375-77eb-421c-8aa8-761b3d5121f3", | ||
"elementId": "694b0bec-67e9-42b1-8878-2b3bb8a2f285", | ||
"deltaType": "UPDATE_PROPERTY_VALUE", | ||
@@ -124,4 +124,4 @@ "propertyName": "text", | ||
{ | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"unitId": "a0aac375-77eb-421c-8aa8-761b3d5121f3", | ||
"elementId": "a0aac375-77eb-421c-8aa8-761b3d5121f3", | ||
"deltaType": "UPDATE_PROPERTY_VALUE", | ||
@@ -135,4 +135,4 @@ "propertyName": "popupResizable", | ||
{ | ||
"unitId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"elementId": "9b5339cc-4d1e-440e-91b3-ea07d2249a2f", | ||
"unitId": "a0aac375-77eb-421c-8aa8-761b3d5121f3", | ||
"elementId": "a0aac375-77eb-421c-8aa8-761b3d5121f3", | ||
"deltaType": "UPDATE_PROPERTY_VALUE", | ||
@@ -139,0 +139,0 @@ "propertyName": "name", |
@@ -86,2 +86,3 @@ import { IAbstractModel, AbstractModel } from '../sdk/internal/abstract-model'; | ||
findJavaActionParameterByQualifiedName(qname: string): javaactions.IJavaActionParameter; | ||
findJsonStructureByQualifiedName(qname: string): jsonstructures.IJsonStructure; | ||
findMenuDocumentByQualifiedName(qname: string): menus.IMenuDocument; | ||
@@ -164,2 +165,3 @@ findMicroflowByQualifiedName(qname: string): microflows.IMicroflow; | ||
findJavaActionParameterByQualifiedName(qname: string): javaactions.IJavaActionParameter; | ||
findJsonStructureByQualifiedName(qname: string): jsonstructures.IJsonStructure; | ||
findMenuDocumentByQualifiedName(qname: string): menus.IMenuDocument; | ||
@@ -166,0 +168,0 @@ findMicroflowByQualifiedName(qname: string): microflows.IMicroflow; |
@@ -322,2 +322,5 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
}; | ||
BaseModel.prototype.findJsonStructureByQualifiedName = function (qname) { | ||
return this._resolveName("JsonStructures$JsonStructure", qname); | ||
}; | ||
BaseModel.prototype.findMenuDocumentByQualifiedName = function (qname) { | ||
@@ -324,0 +327,0 @@ return this._resolveName("Menus$MenuDocument", qname); |
@@ -37,2 +37,3 @@ import * as internal from '../sdk/internal'; | ||
static createIn(container: projects.IFolderBase): JsonStructure; | ||
_isByNameReferrable(): boolean; | ||
_initializeDefaultProperties(): void; | ||
@@ -39,0 +40,0 @@ } |
@@ -41,2 +41,3 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
}; | ||
JsonStructure.prototype._isByNameReferrable = function () { return true; }; | ||
JsonStructure.prototype._initializeDefaultProperties = function () { | ||
@@ -43,0 +44,0 @@ _super.prototype._initializeDefaultProperties.call(this); |
@@ -14,2 +14,4 @@ import * as internal from '../sdk/internal'; | ||
static All: ElementType; | ||
static NamedArray: ElementType; | ||
static Wrapper: ElementType; | ||
} | ||
@@ -56,2 +58,8 @@ class ObjectHandlingBackupEnum extends internal.IEnum { | ||
xmlSchemaQualifiedName: string; | ||
private __jsonStructure; | ||
/** | ||
* In version 6.4.0: introduced | ||
*/ | ||
jsonStructure: jsonstructures.IJsonStructure; | ||
jsonStructureQualifiedName: string; | ||
private __rootElementName; | ||
@@ -202,2 +210,7 @@ rootElementName: string; | ||
objectHandlingBackup: ObjectHandlingBackupEnum; | ||
private __isDefaultType; | ||
/** | ||
* In version 6.4.0: introduced | ||
*/ | ||
isDefaultType: boolean; | ||
static versionInfo: StructureVersionInfo; | ||
@@ -258,2 +271,3 @@ constructor(model: internal.AbstractModel, typeName: string, id: string, isPartial: boolean, unit: internal.ModelUnit, container: internal.AbstractElement); | ||
import { domainmodels } from './domainmodels'; | ||
import { jsonstructures } from './jsonstructures'; | ||
import { microflows } from './microflows'; | ||
@@ -260,0 +274,0 @@ import { webservices } from './webservices'; |
@@ -24,2 +24,8 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
ElementType.All = new ElementType("All", {}); | ||
ElementType.NamedArray = new ElementType("NamedArray", { | ||
"introduced": "6.4.0" | ||
}); | ||
ElementType.Wrapper = new ElementType("Wrapper", { | ||
"introduced": "6.4.0" | ||
}); | ||
return ElementType; | ||
@@ -65,2 +71,3 @@ })(internal.IEnum); | ||
this.__xmlSchema = new internal.ByNameReferenceProperty(MappingDocument, this, "xmlSchema", null, "XmlSchemas$XmlSchema"); | ||
this.__jsonStructure = new internal.ByNameReferenceProperty(MappingDocument, this, "jsonStructure", null, "JsonStructures$JsonStructure"); | ||
this.__rootElementName = new internal.PrimitiveProperty(MappingDocument, this, "rootElementName", "", internal.PrimitiveTypeEnum.String); | ||
@@ -93,2 +100,16 @@ this.__importedWebService = new internal.ByNameReferenceProperty(MappingDocument, this, "importedWebService", null, "WebServices$ImportedWebService"); | ||
}); | ||
Object.defineProperty(MappingDocument.prototype, "jsonStructure", { | ||
/** | ||
* In version 6.4.0: introduced | ||
*/ | ||
get: function () { return this.__jsonStructure.get(); }, | ||
set: function (newValue) { this.__jsonStructure.set(newValue); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(MappingDocument.prototype, "jsonStructureQualifiedName", { | ||
get: function () { return this.__jsonStructure.qualifiedName(); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
Object.defineProperty(MappingDocument.prototype, "rootElementName", { | ||
@@ -127,3 +148,9 @@ get: function () { return this.__rootElementName.get(); }, | ||
MappingDocument.typeName = "Mappings$MappingDocument"; | ||
MappingDocument.versionInfo = new exports.StructureVersionInfo({}, internal.StructureType.ModelUnit); | ||
MappingDocument.versionInfo = new exports.StructureVersionInfo({ | ||
"properties": { | ||
"jsonStructure": { | ||
"introduced": "6.4.0" | ||
} | ||
} | ||
}, internal.StructureType.ModelUnit); | ||
return MappingDocument; | ||
@@ -342,2 +369,3 @@ })(projects_1.projects.Document); | ||
this.__objectHandlingBackup = new internal.EnumProperty(ObjectMappingElement, this, "objectHandlingBackup", ObjectHandlingBackupEnum.Create, ObjectHandlingBackupEnum); | ||
this.__isDefaultType = new internal.PrimitiveProperty(ObjectMappingElement, this, "isDefaultType", false, internal.PrimitiveTypeEnum.Boolean); | ||
if (arguments.length < 4) | ||
@@ -402,2 +430,11 @@ throw new Error("new ObjectMappingElement() cannot be invoked directly, please use 'model.mappings.createObjectMappingElement()'"); | ||
}); | ||
Object.defineProperty(ObjectMappingElement.prototype, "isDefaultType", { | ||
/** | ||
* In version 6.4.0: introduced | ||
*/ | ||
get: function () { return this.__isDefaultType.get(); }, | ||
set: function (newValue) { this.__isDefaultType.set(newValue); }, | ||
enumerable: true, | ||
configurable: true | ||
}); | ||
ObjectMappingElement.prototype._initializeDefaultProperties = function () { | ||
@@ -409,3 +446,9 @@ _super.prototype._initializeDefaultProperties.call(this); | ||
ObjectMappingElement.typeName = "Mappings$ObjectMappingElement"; | ||
ObjectMappingElement.versionInfo = new exports.StructureVersionInfo({}, internal.StructureType.Element); | ||
ObjectMappingElement.versionInfo = new exports.StructureVersionInfo({ | ||
"properties": { | ||
"isDefaultType": { | ||
"introduced": "6.4.0" | ||
} | ||
} | ||
}, internal.StructureType.Element); | ||
return ObjectMappingElement; | ||
@@ -412,0 +455,0 @@ })(MappingElement); |
@@ -69,6 +69,4 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
this._properties.forEach(function (property) { | ||
if (property instanceof properties.PartListProperty) | ||
if (property instanceof properties.PartProperty || property instanceof properties.PartListProperty) | ||
property.updateElementContainer(unit); | ||
else if (property instanceof properties.PartProperty) | ||
property.updateElementContainer(unit); | ||
else if (property instanceof properties.ByIdReferenceProperty) | ||
@@ -75,0 +73,0 @@ property.updateElementContainer(); |
@@ -113,2 +113,3 @@ var __extends = (this && this.__extends) || function (d, b) { | ||
this._handleCreateSelf = AbstractUnit.prototype._handleCreateSelf; | ||
this._elementsCache[this.id] = this; | ||
} | ||
@@ -115,0 +116,0 @@ ModelUnit.prototype._updateWithJsonImpl = function (json) { |
@@ -1,2 +0,2 @@ | ||
/** Current SDK version: 2.0.0-dev.91e791d */ | ||
/** Current SDK version: 2.0.0-dev.c2a188a */ | ||
export declare const SDK_VERSION: string; |
@@ -1,2 +0,2 @@ | ||
/** Current SDK version: 2.0.0-dev.91e791d */ | ||
/** Current SDK version: 2.0.0-dev.c2a188a */ | ||
exports.SDK_VERSION = "2.0.0"; |
{ | ||
"name": "mendixmodelsdk", | ||
"version": "2.0.0-dev.ad09f43", | ||
"version": "2.0.0-dev.c2a188a", | ||
"description": "Mendix Model SDK", | ||
@@ -30,2 +30,3 @@ "main": "dist/index.js", | ||
"grunt-exec": "0.4.6", | ||
"@mendix/kill-by-port": "^0.1.3", | ||
"mkdirp": "0.5.1", | ||
@@ -32,0 +33,0 @@ "mocha": "2.2.1", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
5031673
212
94510
12
5
6