New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

mendixmodelsdk

Package Overview
Dependencies
Maintainers
4
Versions
1113
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mendixmodelsdk - npm Package Compare versions

Comparing version 2.0.0-dev.c2a188a to 2.0.0-dev.e73d140

dist/gen/expressions-meta-types.d.ts

32

dist/gen/appservices.d.ts

@@ -18,3 +18,3 @@ import * as internal from '../sdk/internal';

load(): AppServiceAction;
load(callback: (element: AppServiceAction) => void): any;
load(callback: (element: AppServiceAction) => void, forceRefresh?: boolean): any;
name: string;

@@ -67,3 +67,3 @@ parameters: internal.IList<IAppServiceActionParameter>;

load(): AppServiceActionParameter;
load(callback: (element: AppServiceActionParameter) => void): any;
load(callback: (element: AppServiceActionParameter) => void, forceRefresh?: boolean): any;
name: string;

@@ -107,3 +107,3 @@ }

load(): ConsumedAppService;
load(callback: (element: ConsumedAppService) => void): any;
load(callback: (element: ConsumedAppService) => void, forceRefresh?: boolean): any;
actions: internal.IList<IAppServiceAction>;

@@ -152,3 +152,3 @@ }

load(): Msd;
load(callback: (element: Msd) => void): any;
load(callback: (element: Msd) => void, forceRefresh?: boolean): any;
}

@@ -191,3 +191,3 @@ class Msd extends internal.Element implements IMsd {

load(): MsdAssociation;
load(callback: (element: MsdAssociation) => void): any;
load(callback: (element: MsdAssociation) => void, forceRefresh?: boolean): any;
}

@@ -250,3 +250,3 @@ class MsdAssociation extends internal.Element implements IMsdAssociation {

load(): MsdAttribute;
load(callback: (element: MsdAttribute) => void): any;
load(callback: (element: MsdAttribute) => void, forceRefresh?: boolean): any;
}

@@ -294,3 +294,3 @@ class MsdAttribute extends internal.Element implements IMsdAttribute {

load(): MsdDomainModel;
load(callback: (element: MsdDomainModel) => void): any;
load(callback: (element: MsdDomainModel) => void, forceRefresh?: boolean): any;
}

@@ -324,3 +324,3 @@ class MsdDomainModel extends internal.Element implements IMsdDomainModel {

load(): MsdEntity;
load(callback: (element: MsdEntity) => void): any;
load(callback: (element: MsdEntity) => void, forceRefresh?: boolean): any;
}

@@ -364,3 +364,3 @@ class MsdEntity extends internal.Element implements IMsdEntity {

load(): MsdEnumeration;
load(callback: (element: MsdEnumeration) => void): any;
load(callback: (element: MsdEnumeration) => void, forceRefresh?: boolean): any;
}

@@ -397,3 +397,3 @@ class MsdEnumeration extends internal.Element implements IMsdEnumeration {

load(): MsdEnumerationContainer;
load(callback: (element: MsdEnumerationContainer) => void): any;
load(callback: (element: MsdEnumerationContainer) => void, forceRefresh?: boolean): any;
}

@@ -431,3 +431,3 @@ class MsdEnumerationContainer extends internal.Element implements IMsdEnumerationContainer {

load(): MsdEnumerationValue;
load(callback: (element: MsdEnumerationValue) => void): any;
load(callback: (element: MsdEnumerationValue) => void, forceRefresh?: boolean): any;
}

@@ -465,3 +465,3 @@ class MsdEnumerationValue extends internal.Element implements IMsdEnumerationValue {

load(): MsdMetadata;
load(callback: (element: MsdMetadata) => void): any;
load(callback: (element: MsdMetadata) => void, forceRefresh?: boolean): any;
}

@@ -517,3 +517,3 @@ class MsdMetadata extends internal.Element implements IMsdMetadata {

load(): MsdMicroflow;
load(callback: (element: MsdMicroflow) => void): any;
load(callback: (element: MsdMicroflow) => void, forceRefresh?: boolean): any;
}

@@ -565,3 +565,3 @@ class MsdMicroflow extends internal.Element implements IMsdMicroflow {

load(): MsdMicroflowParameter;
load(callback: (element: MsdMicroflowParameter) => void): any;
load(callback: (element: MsdMicroflowParameter) => void, forceRefresh?: boolean): any;
}

@@ -610,3 +610,3 @@ class MsdMicroflowParameter extends internal.Element implements IMsdMicroflowParameter {

load(): MsdText;
load(callback: (element: MsdText) => void): any;
load(callback: (element: MsdText) => void, forceRefresh?: boolean): any;
}

@@ -640,3 +640,3 @@ class MsdText extends internal.Element implements IMsdText {

load(): MsdVersion;
load(callback: (element: MsdVersion) => void): any;
load(callback: (element: MsdVersion) => void, forceRefresh?: boolean): any;
}

@@ -643,0 +643,0 @@ class MsdVersion extends internal.Element implements IMsdVersion {

@@ -15,3 +15,3 @@ import * as internal from '../sdk/internal';

load(): Constant;
load(callback: (element: Constant) => void): any;
load(callback: (element: Constant) => void, forceRefresh?: boolean): any;
}

@@ -18,0 +18,0 @@ /**

@@ -82,3 +82,3 @@ import * as internal from '../sdk/internal';

load(): CustomWidget;
load(callback: (element: CustomWidget) => void): any;
load(callback: (element: CustomWidget) => void, forceRefresh?: boolean): any;
}

@@ -229,3 +229,3 @@ class CustomWidget extends pages.Widget implements ICustomWidget {

load(): CustomWidgetType;
load(callback: (element: CustomWidgetType) => void): any;
load(callback: (element: CustomWidgetType) => void, forceRefresh?: boolean): any;
}

@@ -269,3 +269,3 @@ class CustomWidgetType extends internal.Element implements ICustomWidgetType {

load(): WidgetEnumerationValue;
load(callback: (element: WidgetEnumerationValue) => void): any;
load(callback: (element: WidgetEnumerationValue) => void, forceRefresh?: boolean): any;
}

@@ -300,3 +300,3 @@ class WidgetEnumerationValue extends internal.Element implements IWidgetEnumerationValue {

load(): WidgetObject;
load(callback: (element: WidgetObject) => void): any;
load(callback: (element: WidgetObject) => void, forceRefresh?: boolean): any;
}

@@ -337,3 +337,3 @@ class WidgetObject extends internal.Element implements IWidgetObject {

load(): WidgetObjectType;
load(callback: (element: WidgetObjectType) => void): any;
load(callback: (element: WidgetObjectType) => void, forceRefresh?: boolean): any;
}

@@ -371,3 +371,3 @@ class WidgetObjectType extends internal.Element implements IWidgetObjectType {

load(): WidgetProperty;
load(callback: (element: WidgetProperty) => void): any;
load(callback: (element: WidgetProperty) => void, forceRefresh?: boolean): any;
}

@@ -401,3 +401,3 @@ class WidgetProperty extends internal.Element implements IWidgetProperty {

load(): WidgetPropertyType;
load(callback: (element: WidgetPropertyType) => void): any;
load(callback: (element: WidgetPropertyType) => void, forceRefresh?: boolean): any;
}

@@ -439,3 +439,3 @@ class WidgetPropertyType extends internal.Element implements IWidgetPropertyType {

load(): WidgetReturnType;
load(callback: (element: WidgetReturnType) => void): any;
load(callback: (element: WidgetReturnType) => void, forceRefresh?: boolean): any;
}

@@ -471,3 +471,3 @@ class WidgetReturnType extends internal.Element implements IWidgetReturnType {

load(): WidgetTranslation;
load(callback: (element: WidgetTranslation) => void): any;
load(callback: (element: WidgetTranslation) => void, forceRefresh?: boolean): any;
}

@@ -501,3 +501,3 @@ class WidgetTranslation extends internal.Element implements IWidgetTranslation {

load(): WidgetValue;
load(callback: (element: WidgetValue) => void): any;
load(callback: (element: WidgetValue) => void, forceRefresh?: boolean): any;
}

@@ -559,3 +559,3 @@ class WidgetValue extends internal.Element implements IWidgetValue {

load(): WidgetValueType;
load(callback: (element: WidgetValueType) => void): any;
load(callback: (element: WidgetValueType) => void, forceRefresh?: boolean): any;
}

@@ -562,0 +562,0 @@ class WidgetValueType extends internal.Element implements IWidgetValueType {

@@ -33,3 +33,3 @@ import * as internal from '../sdk/internal';

load(): DataSet;
load(callback: (element: DataSet) => void): any;
load(callback: (element: DataSet) => void, forceRefresh?: boolean): any;
parameters: internal.IList<IDataSetParameter>;

@@ -64,3 +64,3 @@ }

load(): DataSetAccess;
load(callback: (element: DataSetAccess) => void): any;
load(callback: (element: DataSetAccess) => void, forceRefresh?: boolean): any;
}

@@ -92,3 +92,3 @@ class DataSetAccess extends internal.Element implements IDataSetAccess {

load(): DataSetColumn;
load(callback: (element: DataSetColumn) => void): any;
load(callback: (element: DataSetColumn) => void, forceRefresh?: boolean): any;
}

@@ -125,3 +125,3 @@ class DataSetColumn extends internal.Element implements IDataSetColumn {

load(): DataSetConstraintAccess;
load(callback: (element: DataSetConstraintAccess) => void): any;
load(callback: (element: DataSetConstraintAccess) => void, forceRefresh?: boolean): any;
}

@@ -155,3 +155,3 @@ class DataSetConstraintAccess extends internal.Element implements IDataSetConstraintAccess {

load(): DataSetParameterConstraint;
load(callback: (element: DataSetParameterConstraint) => void): any;
load(callback: (element: DataSetParameterConstraint) => void, forceRefresh?: boolean): any;
}

@@ -175,3 +175,3 @@ /**

load(): DataSetDateTimeConstraint;
load(callback: (element: DataSetDateTimeConstraint) => void): any;
load(callback: (element: DataSetDateTimeConstraint) => void, forceRefresh?: boolean): any;
}

@@ -205,3 +205,3 @@ class DataSetDateTimeConstraint extends DataSetParameterConstraint implements IDataSetDateTimeConstraint {

load(): DataSetModuleRoleAccess;
load(callback: (element: DataSetModuleRoleAccess) => void): any;
load(callback: (element: DataSetModuleRoleAccess) => void, forceRefresh?: boolean): any;
}

@@ -236,3 +236,3 @@ class DataSetModuleRoleAccess extends internal.Element implements IDataSetModuleRoleAccess {

load(): DataSetNumericConstraint;
load(callback: (element: DataSetNumericConstraint) => void): any;
load(callback: (element: DataSetNumericConstraint) => void, forceRefresh?: boolean): any;
}

@@ -270,3 +270,3 @@ class DataSetNumericConstraint extends DataSetParameterConstraint implements IDataSetNumericConstraint {

load(): DataSetObjectConstraint;
load(callback: (element: DataSetObjectConstraint) => void): any;
load(callback: (element: DataSetObjectConstraint) => void, forceRefresh?: boolean): any;
}

@@ -303,3 +303,3 @@ class DataSetObjectConstraint extends DataSetParameterConstraint implements IDataSetObjectConstraint {

load(): DataSetParameter;
load(callback: (element: DataSetParameter) => void): any;
load(callback: (element: DataSetParameter) => void, forceRefresh?: boolean): any;
name: string;

@@ -339,3 +339,3 @@ }

load(): DataSetParameterAccess;
load(callback: (element: DataSetParameterAccess) => void): any;
load(callback: (element: DataSetParameterAccess) => void, forceRefresh?: boolean): any;
}

@@ -369,3 +369,3 @@ class DataSetParameterAccess extends internal.Element implements IDataSetParameterAccess {

load(): DataSetSource;
load(callback: (element: DataSetSource) => void): any;
load(callback: (element: DataSetSource) => void, forceRefresh?: boolean): any;
}

@@ -389,3 +389,3 @@ /**

load(): JavaDataSetSource;
load(callback: (element: JavaDataSetSource) => void): any;
load(callback: (element: JavaDataSetSource) => void, forceRefresh?: boolean): any;
}

@@ -417,3 +417,3 @@ class JavaDataSetSource extends DataSetSource implements IJavaDataSetSource {

load(): OqlDataSetSource;
load(callback: (element: OqlDataSetSource) => void): any;
load(callback: (element: OqlDataSetSource) => void, forceRefresh?: boolean): any;
}

@@ -420,0 +420,0 @@ class OqlDataSetSource extends DataSetSource implements IOqlDataSetSource {

@@ -35,3 +35,3 @@ import * as internal from '../sdk/internal';

load(): Widget;
load(callback: (element: Widget) => void): any;
load(callback: (element: Widget) => void, forceRefresh?: boolean): any;
}

@@ -59,3 +59,3 @@ /**

load(): AttributeWidget;
load(callback: (element: AttributeWidget) => void): any;
load(callback: (element: AttributeWidget) => void, forceRefresh?: boolean): any;
}

@@ -85,3 +85,3 @@ /**

load(): ConditionSettings;
load(callback: (element: ConditionSettings) => void): any;
load(callback: (element: ConditionSettings) => void, forceRefresh?: boolean): any;
}

@@ -117,3 +117,3 @@ class ConditionSettings extends internal.Element implements IConditionSettings {

load(): EntityWidget;
load(callback: (element: EntityWidget) => void): any;
load(callback: (element: EntityWidget) => void, forceRefresh?: boolean): any;
}

@@ -144,3 +144,3 @@ /**

load(): Grid;
load(callback: (element: Grid) => void): any;
load(callback: (element: Grid) => void, forceRefresh?: boolean): any;
}

@@ -180,3 +180,3 @@ /**

load(): DataGrid;
load(callback: (element: DataGrid) => void): any;
load(callback: (element: DataGrid) => void, forceRefresh?: boolean): any;
}

@@ -222,3 +222,3 @@ /**

load(): DataGridCell;
load(callback: (element: DataGridCell) => void): any;
load(callback: (element: DataGridCell) => void, forceRefresh?: boolean): any;
}

@@ -261,3 +261,3 @@ /**

load(): DataGridColumn;
load(callback: (element: DataGridColumn) => void): any;
load(callback: (element: DataGridColumn) => void, forceRefresh?: boolean): any;
}

@@ -309,3 +309,3 @@ /**

load(): DataView;
load(callback: (element: DataView) => void): any;
load(callback: (element: DataView) => void, forceRefresh?: boolean): any;
}

@@ -352,3 +352,3 @@ /**

load(): DropZone;
load(callback: (element: DropZone) => void): any;
load(callback: (element: DropZone) => void, forceRefresh?: boolean): any;
}

@@ -377,3 +377,3 @@ /**

load(): DataViewContents;
load(callback: (element: DataViewContents) => void): any;
load(callback: (element: DataViewContents) => void, forceRefresh?: boolean): any;
}

@@ -406,3 +406,3 @@ class DataViewContents extends DropZone implements IDataViewContents {

load(): DocumentTemplate;
load(callback: (element: DocumentTemplate) => void): any;
load(callback: (element: DocumentTemplate) => void, forceRefresh?: boolean): any;
}

@@ -456,3 +456,3 @@ /**

load(): DocumentTemplateParameter;
load(callback: (element: DocumentTemplateParameter) => void): any;
load(callback: (element: DocumentTemplateParameter) => void, forceRefresh?: boolean): any;
name: string;

@@ -487,3 +487,3 @@ /**

load(): DynamicImageViewer;
load(callback: (element: DynamicImageViewer) => void): any;
load(callback: (element: DynamicImageViewer) => void, forceRefresh?: boolean): any;
}

@@ -535,3 +535,3 @@ /**

load(): DynamicLabel;
load(callback: (element: DynamicLabel) => void): any;
load(callback: (element: DynamicLabel) => void, forceRefresh?: boolean): any;
}

@@ -579,3 +579,3 @@ /**

load(): Footer;
load(callback: (element: Footer) => void): any;
load(callback: (element: Footer) => void, forceRefresh?: boolean): any;
}

@@ -613,3 +613,3 @@ /**

load(): GridSortBar;
load(callback: (element: GridSortBar) => void): any;
load(callback: (element: GridSortBar) => void, forceRefresh?: boolean): any;
}

@@ -644,3 +644,3 @@ /**

load(): GridSortItem;
load(callback: (element: GridSortItem) => void): any;
load(callback: (element: GridSortItem) => void, forceRefresh?: boolean): any;
}

@@ -680,3 +680,3 @@ class GridSortItem extends internal.Element implements IGridSortItem {

load(): Header;
load(callback: (element: Header) => void): any;
load(callback: (element: Header) => void, forceRefresh?: boolean): any;
}

@@ -715,3 +715,3 @@ /**

load(): LineBreak;
load(callback: (element: LineBreak) => void): any;
load(callback: (element: LineBreak) => void, forceRefresh?: boolean): any;
}

@@ -754,3 +754,3 @@ /**

load(): PageBreak;
load(callback: (element: PageBreak) => void): any;
load(callback: (element: PageBreak) => void, forceRefresh?: boolean): any;
}

@@ -793,3 +793,3 @@ /**

load(): StaticImageViewer;
load(callback: (element: StaticImageViewer) => void): any;
load(callback: (element: StaticImageViewer) => void, forceRefresh?: boolean): any;
}

@@ -839,3 +839,3 @@ /**

load(): StaticLabel;
load(callback: (element: StaticLabel) => void): any;
load(callback: (element: StaticLabel) => void, forceRefresh?: boolean): any;
}

@@ -889,3 +889,3 @@ /**

load(): Style;
load(callback: (element: Style) => void): any;
load(callback: (element: Style) => void, forceRefresh?: boolean): any;
}

@@ -1022,3 +1022,3 @@ /**

load(): Table;
load(callback: (element: Table) => void): any;
load(callback: (element: Table) => void, forceRefresh?: boolean): any;
}

@@ -1070,3 +1070,3 @@ /**

load(): TableCell;
load(callback: (element: TableCell) => void): any;
load(callback: (element: TableCell) => void, forceRefresh?: boolean): any;
}

@@ -1110,3 +1110,3 @@ /**

load(): TableRow;
load(callback: (element: TableRow) => void): any;
load(callback: (element: TableRow) => void, forceRefresh?: boolean): any;
}

@@ -1147,3 +1147,3 @@ /**

load(): TemplateGrid;
load(callback: (element: TemplateGrid) => void): any;
load(callback: (element: TemplateGrid) => void, forceRefresh?: boolean): any;
}

@@ -1188,3 +1188,3 @@ /**

load(): TemplateGridContents;
load(callback: (element: TemplateGridContents) => void): any;
load(callback: (element: TemplateGridContents) => void, forceRefresh?: boolean): any;
}

@@ -1223,3 +1223,3 @@ class TemplateGridContents extends DropZone implements ITemplateGridContents {

load(): Title;
load(callback: (element: Title) => void): any;
load(callback: (element: Title) => void, forceRefresh?: boolean): any;
}

@@ -1226,0 +1226,0 @@ /**

@@ -13,3 +13,3 @@ import * as internal from '../sdk/internal';

load(): Condition;
load(callback: (element: Condition) => void): any;
load(callback: (element: Condition) => void, forceRefresh?: boolean): any;
}

@@ -52,3 +52,3 @@ class Condition extends internal.Element implements ICondition {

load(): Enumeration;
load(callback: (element: Enumeration) => void): any;
load(callback: (element: Enumeration) => void, forceRefresh?: boolean): any;
values: internal.IList<IEnumerationValue>;

@@ -82,3 +82,3 @@ }

load(): EnumerationValue;
load(callback: (element: EnumerationValue) => void): any;
load(callback: (element: EnumerationValue) => void, forceRefresh?: boolean): any;
name: string;

@@ -85,0 +85,0 @@ }

@@ -9,3 +9,3 @@ import * as internal from '../sdk/internal';

/**
* See: {@link https://world.mendix.com/display/refguide6/Domain-to-XML+Mappings relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Export+Mappings relevant section in reference guide}
*/

@@ -16,6 +16,6 @@ interface IExportMapping extends mappings.IMappingDocument {

load(): ExportMapping;
load(callback: (element: ExportMapping) => void): any;
load(callback: (element: ExportMapping) => void, forceRefresh?: boolean): any;
}
/**
* See: {@link https://world.mendix.com/display/refguide6/Domain-to-XML+Mappings relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Export+Mappings relevant section in reference guide}
*/

@@ -46,3 +46,3 @@ class ExportMapping extends mappings.MappingDocument implements IExportMapping {

/**
* See: {@link https://world.mendix.com/display/refguide6/Map+entity+to+element relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Export+Mappings relevant section in reference guide}
*/

@@ -54,6 +54,6 @@ interface IExportObjectMappingElement extends mappings.IObjectMappingElement {

load(): ExportObjectMappingElement;
load(callback: (element: ExportObjectMappingElement) => void): any;
load(callback: (element: ExportObjectMappingElement) => void, forceRefresh?: boolean): any;
}
/**
* See: {@link https://world.mendix.com/display/refguide6/Map+entity+to+element relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Export+Mappings relevant section in reference guide}
*/

@@ -86,3 +86,3 @@ class ExportObjectMappingElement extends mappings.ObjectMappingElement implements IExportObjectMappingElement {

/**
* See: {@link https://world.mendix.com/display/refguide6/Map+entity+to+element relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Export+Mappings relevant section in reference guide}
*/

@@ -93,6 +93,6 @@ interface IExportValueMappingElement extends mappings.IValueMappingElement {

load(): ExportValueMappingElement;
load(callback: (element: ExportValueMappingElement) => void): any;
load(callback: (element: ExportValueMappingElement) => void, forceRefresh?: boolean): any;
}
/**
* See: {@link https://world.mendix.com/display/refguide6/Map+entity+to+element relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Export+Mappings relevant section in reference guide}
*/

@@ -99,0 +99,0 @@ class ExportValueMappingElement extends mappings.ValueMappingElement implements IExportValueMappingElement {

@@ -12,3 +12,3 @@ var __extends = (this && this.__extends) || function (d, b) {

/**
* See: {@link https://world.mendix.com/display/refguide6/Domain-to-XML+Mappings relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Export+Mappings relevant section in reference guide}
*/

@@ -74,3 +74,3 @@ var ExportMapping = (function (_super) {

/**
* See: {@link https://world.mendix.com/display/refguide6/Map+entity+to+element relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Export+Mappings relevant section in reference guide}
*/

@@ -125,3 +125,3 @@ var ExportObjectMappingElement = (function (_super) {

/**
* See: {@link https://world.mendix.com/display/refguide6/Map+entity+to+element relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Export+Mappings relevant section in reference guide}
*/

@@ -128,0 +128,0 @@ var ExportValueMappingElement = (function (_super) {

@@ -12,3 +12,3 @@ import * as internal from '../sdk/internal';

load(): Image;
load(callback: (element: Image) => void): any;
load(callback: (element: Image) => void, forceRefresh?: boolean): any;
name: string;

@@ -50,3 +50,3 @@ }

load(): ImageCollection;
load(callback: (element: ImageCollection) => void): any;
load(callback: (element: ImageCollection) => void, forceRefresh?: boolean): any;
images: internal.IList<IImage>;

@@ -53,0 +53,0 @@ }

@@ -9,3 +9,3 @@ import * as internal from '../sdk/internal';

/**
* See: {@link https://world.mendix.com/display/refguide6/XML-to-domain+Mappings relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Import+Mappings relevant section in reference guide}
*/

@@ -16,6 +16,6 @@ interface IImportMapping extends mappings.IMappingDocument {

load(): ImportMapping;
load(callback: (element: ImportMapping) => void): any;
load(callback: (element: ImportMapping) => void, forceRefresh?: boolean): any;
}
/**
* See: {@link https://world.mendix.com/display/refguide6/XML-to-domain+Mappings relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Import+Mappings relevant section in reference guide}
*/

@@ -42,3 +42,3 @@ class ImportMapping extends mappings.MappingDocument implements IImportMapping {

/**
* See: {@link https://world.mendix.com/display/refguide6/Map+element+to+entity relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Import+Mappings relevant section in reference guide}
*/

@@ -50,6 +50,6 @@ interface IImportObjectMappingElement extends mappings.IObjectMappingElement {

load(): ImportObjectMappingElement;
load(callback: (element: ImportObjectMappingElement) => void): any;
load(callback: (element: ImportObjectMappingElement) => void, forceRefresh?: boolean): any;
}
/**
* See: {@link https://world.mendix.com/display/refguide6/Map+element+to+entity relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Import+Mappings relevant section in reference guide}
*/

@@ -82,3 +82,3 @@ class ImportObjectMappingElement extends mappings.ObjectMappingElement implements IImportObjectMappingElement {

/**
* See: {@link https://world.mendix.com/display/refguide6/Map+element+to+entity relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Import+Mappings relevant section in reference guide}
*/

@@ -89,6 +89,6 @@ interface IImportValueMappingElement extends mappings.IValueMappingElement {

load(): ImportValueMappingElement;
load(callback: (element: ImportValueMappingElement) => void): any;
load(callback: (element: ImportValueMappingElement) => void, forceRefresh?: boolean): any;
}
/**
* See: {@link https://world.mendix.com/display/refguide6/Map+element+to+entity relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Import+Mappings relevant section in reference guide}
*/

@@ -95,0 +95,0 @@ class ImportValueMappingElement extends mappings.ValueMappingElement implements IImportValueMappingElement {

@@ -12,3 +12,3 @@ var __extends = (this && this.__extends) || function (d, b) {

/**
* See: {@link https://world.mendix.com/display/refguide6/XML-to-domain+Mappings relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Import+Mappings relevant section in reference guide}
*/

@@ -62,3 +62,3 @@ var ImportMapping = (function (_super) {

/**
* See: {@link https://world.mendix.com/display/refguide6/Map+element+to+entity relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Import+Mappings relevant section in reference guide}
*/

@@ -113,3 +113,3 @@ var ImportObjectMappingElement = (function (_super) {

/**
* See: {@link https://world.mendix.com/display/refguide6/Map+element+to+entity relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Import+Mappings relevant section in reference guide}
*/

@@ -116,0 +116,0 @@ var ImportValueMappingElement = (function (_super) {

@@ -15,3 +15,3 @@ import * as internal from '../sdk/internal';

load(): JavaAction;
load(callback: (element: JavaAction) => void): any;
load(callback: (element: JavaAction) => void, forceRefresh?: boolean): any;
parameters: internal.IList<IJavaActionParameter>;

@@ -51,3 +51,3 @@ /**

load(): JavaActionParameter;
load(callback: (element: JavaActionParameter) => void): any;
load(callback: (element: JavaActionParameter) => void, forceRefresh?: boolean): any;
name: string;

@@ -54,0 +54,0 @@ /**

@@ -17,3 +17,3 @@ import * as internal from '../sdk/internal';

load(): JsonStructure;
load(callback: (element: JsonStructure) => void): any;
load(callback: (element: JsonStructure) => void, forceRefresh?: boolean): any;
}

@@ -20,0 +20,0 @@ /**

@@ -39,3 +39,3 @@ import * as internal from '../sdk/internal';

load(): MappingDocument;
load(callback: (element: MappingDocument) => void): any;
load(callback: (element: MappingDocument) => void, forceRefresh?: boolean): any;
}

@@ -82,3 +82,3 @@ /**

load(): MappingElement;
load(callback: (element: MappingElement) => void): any;
load(callback: (element: MappingElement) => void, forceRefresh?: boolean): any;
}

@@ -118,3 +118,3 @@ /**

load(): MappingMicroflowCall;
load(callback: (element: MappingMicroflowCall) => void): any;
load(callback: (element: MappingMicroflowCall) => void, forceRefresh?: boolean): any;
}

@@ -149,3 +149,3 @@ class MappingMicroflowCall extends internal.Element implements IMappingMicroflowCall {

load(): MappingMicroflowParameter;
load(callback: (element: MappingMicroflowParameter) => void): any;
load(callback: (element: MappingMicroflowParameter) => void, forceRefresh?: boolean): any;
}

@@ -186,3 +186,3 @@ class MappingMicroflowParameter extends internal.Element implements IMappingMicroflowParameter {

load(): ObjectMappingElement;
load(callback: (element: ObjectMappingElement) => void): any;
load(callback: (element: ObjectMappingElement) => void, forceRefresh?: boolean): any;
}

@@ -226,3 +226,3 @@ /**

load(): ValueMappingElement;
load(callback: (element: ValueMappingElement) => void): any;
load(callback: (element: ValueMappingElement) => void, forceRefresh?: boolean): any;
}

@@ -229,0 +229,0 @@ /**

@@ -15,3 +15,3 @@ import * as internal from '../sdk/internal';

load(): MenuDocument;
load(callback: (element: MenuDocument) => void): any;
load(callback: (element: MenuDocument) => void, forceRefresh?: boolean): any;
}

@@ -43,3 +43,3 @@ /**

load(): MenuItemContainer;
load(callback: (element: MenuItemContainer) => void): any;
load(callback: (element: MenuItemContainer) => void, forceRefresh?: boolean): any;
}

@@ -70,3 +70,3 @@ /**

load(): MenuItem;
load(callback: (element: MenuItem) => void): any;
load(callback: (element: MenuItem) => void, forceRefresh?: boolean): any;
}

@@ -101,3 +101,3 @@ /**

load(): MenuItemCollection;
load(callback: (element: MenuItemCollection) => void): any;
load(callback: (element: MenuItemCollection) => void, forceRefresh?: boolean): any;
}

@@ -104,0 +104,0 @@ class MenuItemCollection extends MenuItemContainer implements IMenuItemCollection {

@@ -25,3 +25,3 @@ import * as internal from '../sdk/internal';

load(): HomePageBase;
load(callback: (element: HomePageBase) => void): any;
load(callback: (element: HomePageBase) => void, forceRefresh?: boolean): any;
}

@@ -51,3 +51,3 @@ /**

load(): HomePage;
load(callback: (element: HomePage) => void): any;
load(callback: (element: HomePage) => void, forceRefresh?: boolean): any;
}

@@ -80,3 +80,3 @@ class HomePage extends HomePageBase implements IHomePage {

load(): NavigationDocument;
load(callback: (element: NavigationDocument) => void): any;
load(callback: (element: NavigationDocument) => void, forceRefresh?: boolean): any;
}

@@ -111,3 +111,3 @@ /**

load(): NavigationProfile;
load(callback: (element: NavigationProfile) => void): any;
load(callback: (element: NavigationProfile) => void, forceRefresh?: boolean): any;
}

@@ -162,3 +162,3 @@ class NavigationProfile extends internal.Element implements INavigationProfile {

load(): RoleBasedHomePage;
load(callback: (element: RoleBasedHomePage) => void): any;
load(callback: (element: RoleBasedHomePage) => void, forceRefresh?: boolean): any;
}

@@ -165,0 +165,0 @@ class RoleBasedHomePage extends HomePageBase implements IRoleBasedHomePage {

@@ -12,3 +12,3 @@ import * as internal from '../sdk/internal';

load(): ModuleDocument;
load(callback: (element: ModuleDocument) => void): any;
load(callback: (element: ModuleDocument) => void, forceRefresh?: boolean): any;
}

@@ -33,3 +33,3 @@ /**

load(): Document;
load(callback: (element: Document) => void): any;
load(callback: (element: Document) => void, forceRefresh?: boolean): any;
name: string;

@@ -164,3 +164,3 @@ }

load(): OneTimeConversionMarker;
load(callback: (element: OneTimeConversionMarker) => void): any;
load(callback: (element: OneTimeConversionMarker) => void, forceRefresh?: boolean): any;
}

@@ -223,3 +223,3 @@ class OneTimeConversionMarker extends internal.Element implements IOneTimeConversionMarker {

load(): ProjectConversion;
load(callback: (element: ProjectConversion) => void): any;
load(callback: (element: ProjectConversion) => void, forceRefresh?: boolean): any;
}

@@ -248,3 +248,3 @@ class ProjectConversion extends internal.ModelUnit implements IProjectConversion {

load(): ProjectDocument;
load(callback: (element: ProjectDocument) => void): any;
load(callback: (element: ProjectDocument) => void, forceRefresh?: boolean): any;
}

@@ -251,0 +251,0 @@ /**

@@ -15,3 +15,3 @@ import * as internal from '../sdk/internal';

load(): RegularExpression;
load(callback: (element: RegularExpression) => void): any;
load(callback: (element: RegularExpression) => void, forceRefresh?: boolean): any;
}

@@ -18,0 +18,0 @@ /**

@@ -16,3 +16,3 @@ import * as internal from '../sdk/internal';

load(): PublishedRestServiceBase;
load(callback: (element: PublishedRestServiceBase) => void): any;
load(callback: (element: PublishedRestServiceBase) => void, forceRefresh?: boolean): any;
}

@@ -44,3 +44,3 @@ /**

load(): PublishedODataService;
load(callback: (element: PublishedODataService) => void): any;
load(callback: (element: PublishedODataService) => void, forceRefresh?: boolean): any;
}

@@ -70,3 +70,3 @@ class PublishedODataService extends PublishedRestServiceBase implements IPublishedODataService {

load(): PublishedRestResource;
load(callback: (element: PublishedRestResource) => void): any;
load(callback: (element: PublishedRestResource) => void, forceRefresh?: boolean): any;
}

@@ -105,3 +105,3 @@ /**

load(): PublishedRestService;
load(callback: (element: PublishedRestService) => void): any;
load(callback: (element: PublishedRestService) => void, forceRefresh?: boolean): any;
}

@@ -108,0 +108,0 @@ class PublishedRestService extends PublishedRestServiceBase implements IPublishedRestService {

@@ -30,3 +30,3 @@ import * as internal from '../sdk/internal';

load(): ScheduledEvent;
load(callback: (element: ScheduledEvent) => void): any;
load(callback: (element: ScheduledEvent) => void, forceRefresh?: boolean): any;
}

@@ -33,0 +33,0 @@ /**

@@ -18,3 +18,3 @@ import * as internal from '../sdk/internal';

load(): AccessRuleContainerBase;
load(callback: (element: AccessRuleContainerBase) => void): any;
load(callback: (element: AccessRuleContainerBase) => void, forceRefresh?: boolean): any;
}

@@ -43,3 +43,3 @@ /**

load(): DemoUser;
load(callback: (element: DemoUser) => void): any;
load(callback: (element: DemoUser) => void, forceRefresh?: boolean): any;
}

@@ -82,3 +82,3 @@ /**

load(): FileDocumentAccessRuleContainer;
load(callback: (element: FileDocumentAccessRuleContainer) => void): any;
load(callback: (element: FileDocumentAccessRuleContainer) => void, forceRefresh?: boolean): any;
}

@@ -108,3 +108,3 @@ class FileDocumentAccessRuleContainer extends AccessRuleContainerBase implements IFileDocumentAccessRuleContainer {

load(): ImageAccessRuleContainer;
load(callback: (element: ImageAccessRuleContainer) => void): any;
load(callback: (element: ImageAccessRuleContainer) => void, forceRefresh?: boolean): any;
}

@@ -137,3 +137,3 @@ class ImageAccessRuleContainer extends AccessRuleContainerBase implements IImageAccessRuleContainer {

load(): ModuleRole;
load(callback: (element: ModuleRole) => void): any;
load(callback: (element: ModuleRole) => void, forceRefresh?: boolean): any;
name: string;

@@ -175,3 +175,3 @@ }

load(): ModuleSecurity;
load(callback: (element: ModuleSecurity) => void): any;
load(callback: (element: ModuleSecurity) => void, forceRefresh?: boolean): any;
moduleRoles: internal.IList<IModuleRole>;

@@ -204,3 +204,3 @@ }

load(): PasswordPolicySettings;
load(callback: (element: PasswordPolicySettings) => void): any;
load(callback: (element: PasswordPolicySettings) => void, forceRefresh?: boolean): any;
}

@@ -244,3 +244,3 @@ /**

load(): ProjectSecurity;
load(callback: (element: ProjectSecurity) => void): any;
load(callback: (element: ProjectSecurity) => void, forceRefresh?: boolean): any;
userRoles: internal.IList<IUserRole>;

@@ -306,3 +306,3 @@ }

load(): UserRole;
load(callback: (element: UserRole) => void): any;
load(callback: (element: UserRole) => void, forceRefresh?: boolean): any;
name: string;

@@ -309,0 +309,0 @@ }

@@ -48,3 +48,3 @@ import * as internal from '../sdk/internal';

load(): Certificate;
load(callback: (element: Certificate) => void): any;
load(callback: (element: Certificate) => void, forceRefresh?: boolean): any;
}

@@ -78,3 +78,3 @@ class Certificate extends internal.Element implements ICertificate {

load(): ProjectSettingsPart;
load(callback: (element: ProjectSettingsPart) => void): any;
load(callback: (element: ProjectSettingsPart) => void, forceRefresh?: boolean): any;
}

@@ -98,3 +98,3 @@ /**

load(): CertificateSettings;
load(callback: (element: CertificateSettings) => void): any;
load(callback: (element: CertificateSettings) => void, forceRefresh?: boolean): any;
}

@@ -129,3 +129,3 @@ class CertificateSettings extends ProjectSettingsPart implements ICertificateSettings {

load(): Configuration;
load(callback: (element: Configuration) => void): any;
load(callback: (element: Configuration) => void, forceRefresh?: boolean): any;
}

@@ -192,3 +192,3 @@ /**

load(): ConfigurationSettings;
load(callback: (element: ConfigurationSettings) => void): any;
load(callback: (element: ConfigurationSettings) => void, forceRefresh?: boolean): any;
}

@@ -220,3 +220,3 @@ class ConfigurationSettings extends ProjectSettingsPart implements IConfigurationSettings {

load(): ConstantValue;
load(callback: (element: ConstantValue) => void): any;
load(callback: (element: ConstantValue) => void, forceRefresh?: boolean): any;
}

@@ -251,3 +251,3 @@ class ConstantValue extends internal.Element implements IConstantValue {

load(): CustomSetting;
load(callback: (element: CustomSetting) => void): any;
load(callback: (element: CustomSetting) => void, forceRefresh?: boolean): any;
}

@@ -281,3 +281,3 @@ class CustomSetting extends internal.Element implements ICustomSetting {

load(): IntegrationProjectSettingsPart;
load(callback: (element: IntegrationProjectSettingsPart) => void): any;
load(callback: (element: IntegrationProjectSettingsPart) => void, forceRefresh?: boolean): any;
}

@@ -307,3 +307,3 @@ class IntegrationProjectSettingsPart extends ProjectSettingsPart implements IIntegrationProjectSettingsPart {

load(): Language;
load(callback: (element: Language) => void): any;
load(callback: (element: Language) => void, forceRefresh?: boolean): any;
}

@@ -343,3 +343,3 @@ class Language extends internal.Element implements ILanguage {

load(): LanguageSettings;
load(callback: (element: LanguageSettings) => void): any;
load(callback: (element: LanguageSettings) => void, forceRefresh?: boolean): any;
}

@@ -373,3 +373,3 @@ class LanguageSettings extends ProjectSettingsPart implements ILanguageSettings {

load(): ModelerSettings;
load(callback: (element: ModelerSettings) => void): any;
load(callback: (element: ModelerSettings) => void, forceRefresh?: boolean): any;
}

@@ -404,3 +404,3 @@ class ModelerSettings extends ProjectSettingsPart implements IModelerSettings {

load(): ProjectSettings;
load(callback: (element: ProjectSettings) => void): any;
load(callback: (element: ProjectSettings) => void, forceRefresh?: boolean): any;
}

@@ -429,3 +429,3 @@ /**

load(): RuntimeSettings;
load(callback: (element: RuntimeSettings) => void): any;
load(callback: (element: RuntimeSettings) => void, forceRefresh?: boolean): any;
}

@@ -476,3 +476,3 @@ class RuntimeSettings extends ProjectSettingsPart implements IRuntimeSettings {

load(): WebUIProjectSettingsPart;
load(callback: (element: WebUIProjectSettingsPart) => void): any;
load(callback: (element: WebUIProjectSettingsPart) => void, forceRefresh?: boolean): any;
}

@@ -479,0 +479,0 @@ class WebUIProjectSettingsPart extends ProjectSettingsPart implements IWebUIProjectSettingsPart {

@@ -12,3 +12,3 @@ import * as internal from '../sdk/internal';

load(): SystemText;
load(callback: (element: SystemText) => void): any;
load(callback: (element: SystemText) => void, forceRefresh?: boolean): any;
}

@@ -45,3 +45,3 @@ class SystemText extends internal.Element implements ISystemText {

load(): SystemTextCollection;
load(callback: (element: SystemTextCollection) => void): any;
load(callback: (element: SystemTextCollection) => void, forceRefresh?: boolean): any;
}

@@ -108,3 +108,3 @@ /**

load(): Text;
load(callback: (element: Text) => void): any;
load(callback: (element: Text) => void, forceRefresh?: boolean): any;
}

@@ -384,3 +384,3 @@ /**

load(): Translation;
load(callback: (element: Translation) => void): any;
load(callback: (element: Translation) => void, forceRefresh?: boolean): any;
}

@@ -387,0 +387,0 @@ class Translation extends internal.Element implements ITranslation {

@@ -31,3 +31,3 @@ import * as internal from '../sdk/internal';

load(): DataMember;
load(callback: (element: DataMember) => void): any;
load(callback: (element: DataMember) => void, forceRefresh?: boolean): any;
}

@@ -69,3 +69,3 @@ /**

load(): DataEntityBase;
load(callback: (element: DataEntityBase) => void): any;
load(callback: (element: DataEntityBase) => void, forceRefresh?: boolean): any;
}

@@ -98,3 +98,3 @@ /**

load(): DataAssociation;
load(callback: (element: DataAssociation) => void): any;
load(callback: (element: DataAssociation) => void, forceRefresh?: boolean): any;
}

@@ -129,3 +129,3 @@ class DataAssociation extends DataEntityBase implements IDataAssociation {

load(): DataAttribute;
load(callback: (element: DataAttribute) => void): any;
load(callback: (element: DataAttribute) => void, forceRefresh?: boolean): any;
}

@@ -162,3 +162,3 @@ class DataAttribute extends DataMember implements IDataAttribute {

load(): DataEntity;
load(callback: (element: DataEntity) => void): any;
load(callback: (element: DataEntity) => void, forceRefresh?: boolean): any;
}

@@ -197,3 +197,3 @@ class DataEntity extends DataEntityBase implements IDataEntity {

/**
* See: {@link https://world.mendix.com/display/refguide6/Imported+Web+Services relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Consumed+Web+Services relevant section in reference guide}
*/

@@ -204,6 +204,6 @@ interface IImportedWebService extends projects.IDocument {

load(): ImportedWebService;
load(callback: (element: ImportedWebService) => void): any;
load(callback: (element: ImportedWebService) => void, forceRefresh?: boolean): any;
}
/**
* See: {@link https://world.mendix.com/display/refguide6/Imported+Web+Services relevant section in reference guide}
* See: {@link https://world.mendix.com/display/refguide6/Consumed+Web+Services relevant section in reference guide}
*/

@@ -232,3 +232,3 @@ class ImportedWebService extends projects.Document implements IImportedWebService {

load(): OperationInfo;
load(callback: (element: OperationInfo) => void): any;
load(callback: (element: OperationInfo) => void, forceRefresh?: boolean): any;
}

@@ -289,3 +289,3 @@ class OperationInfo extends internal.Element implements IOperationInfo {

load(): PartEncoding;
load(callback: (element: PartEncoding) => void): any;
load(callback: (element: PartEncoding) => void, forceRefresh?: boolean): any;
}

@@ -324,3 +324,3 @@ class PartEncoding extends internal.Element implements IPartEncoding {

load(): PublishedServiceBase;
load(callback: (element: PublishedServiceBase) => void): any;
load(callback: (element: PublishedServiceBase) => void, forceRefresh?: boolean): any;
}

@@ -349,3 +349,3 @@ /**

load(): PublishedAppService;
load(callback: (element: PublishedAppService) => void): any;
load(callback: (element: PublishedAppService) => void, forceRefresh?: boolean): any;
}

@@ -373,3 +373,3 @@ /**

load(): PublishedResource;
load(callback: (element: PublishedResource) => void): any;
load(callback: (element: PublishedResource) => void, forceRefresh?: boolean): any;
}

@@ -396,3 +396,3 @@ /**

load(): PublishedOperation;
load(callback: (element: PublishedOperation) => void): any;
load(callback: (element: PublishedOperation) => void, forceRefresh?: boolean): any;
}

@@ -455,3 +455,3 @@ class PublishedOperation extends PublishedResource implements IPublishedOperation {

load(): PublishedParameter;
load(callback: (element: PublishedParameter) => void): any;
load(callback: (element: PublishedParameter) => void, forceRefresh?: boolean): any;
}

@@ -510,3 +510,3 @@ class PublishedParameter extends internal.Element implements IPublishedParameter {

load(): PublishedWebService;
load(callback: (element: PublishedWebService) => void): any;
load(callback: (element: PublishedWebService) => void, forceRefresh?: boolean): any;
}

@@ -533,3 +533,3 @@ /**

load(): RpcMessagePartElement;
load(callback: (element: RpcMessagePartElement) => void): any;
load(callback: (element: RpcMessagePartElement) => void, forceRefresh?: boolean): any;
}

@@ -565,3 +565,3 @@ class RpcMessagePartElement extends internal.Element implements IRpcMessagePartElement {

load(): RpcOperationElement;
load(callback: (element: RpcOperationElement) => void): any;
load(callback: (element: RpcOperationElement) => void, forceRefresh?: boolean): any;
}

@@ -605,3 +605,3 @@ class RpcOperationElement extends internal.Element implements IRpcOperationElement {

load(): ServiceInfo;
load(callback: (element: ServiceInfo) => void): any;
load(callback: (element: ServiceInfo) => void, forceRefresh?: boolean): any;
}

@@ -649,3 +649,3 @@ class ServiceInfo extends internal.Element implements IServiceInfo {

load(): VersionedService;
load(callback: (element: VersionedService) => void): any;
load(callback: (element: VersionedService) => void, forceRefresh?: boolean): any;
}

@@ -710,3 +710,3 @@ /**

load(): WsdlDescription;
load(callback: (element: WsdlDescription) => void): any;
load(callback: (element: WsdlDescription) => void, forceRefresh?: boolean): any;
}

@@ -752,3 +752,3 @@ class WsdlDescription extends internal.Element implements IWsdlDescription {

load(): WsdlEntry;
load(callback: (element: WsdlEntry) => void): any;
load(callback: (element: WsdlEntry) => void, forceRefresh?: boolean): any;
}

@@ -755,0 +755,0 @@ class WsdlEntry extends internal.Element implements IWsdlEntry {

@@ -27,3 +27,3 @@ import * as internal from '../sdk/internal';

load(): MxSchema;
load(callback: (element: MxSchema) => void): any;
load(callback: (element: MxSchema) => void, forceRefresh?: boolean): any;
}

@@ -50,3 +50,3 @@ /**

load(): XmlSchema;
load(callback: (element: XmlSchema) => void): any;
load(callback: (element: XmlSchema) => void, forceRefresh?: boolean): any;
}

@@ -79,3 +79,3 @@ /**

load(): XmlSchemaEntry;
load(callback: (element: XmlSchemaEntry) => void): any;
load(callback: (element: XmlSchemaEntry) => void, forceRefresh?: boolean): any;
}

@@ -82,0 +82,0 @@ class XmlSchemaEntry extends internal.Element implements IXmlSchemaEntry {

@@ -55,3 +55,3 @@ import { common } from '../../common';

*/
loadUnitById<T extends IAbstractUnit>(id: string, callback: common.ICallback<T>, errorCallback?: common.IErrorCallback): any;
loadUnitById<T extends IAbstractUnit>(id: string, forceRefresh: boolean, callback: common.ICallback<T>, errorCallback?: common.IErrorCallback): any;
/**

@@ -152,3 +152,4 @@ * Returns all units in the project, including modules, folders etc.

*/
loadUnitById<T extends IAbstractUnit>(id: string, callback: common.ICallback<T>, errorCallback?: common.IErrorCallback): void;
loadUnitById<T extends IAbstractUnit>(id: string, forceRefresh: boolean, callback: common.ICallback<T>, errorCallback?: common.IErrorCallback): void;
protected _loadUnit<T extends IAbstractUnit>(unit: IAbstractUnit, callback: common.ICallback<T>, errorCallback?: common.IErrorCallback): void;
protected _loadMetaData(workingCopyId: string, callback: (processCallback: common.IVoidCallback) => void, errorCallback: common.IErrorCallback): void;

@@ -155,0 +156,0 @@ protected _processLoadedMetaData(data: IWorkingCopy): void;

@@ -146,4 +146,3 @@ var mobservable_1 = require('mobservable');

*/
AbstractModel.prototype.loadUnitById = function (id, callback, errorCallback) {
var _this = this;
AbstractModel.prototype.loadUnitById = function (id, forceRefresh, callback, errorCallback) {
if (id === null) {

@@ -155,4 +154,14 @@ callback(null);

if (!unit) {
throw new Error("Unknown unit ID: " + id);
if (typeof errorCallback === 'function') {
errorCallback(new Error("Unknown unit ID: " + id));
}
else {
this._errorHandler(new Error("Unknown unit ID: " + id));
}
}
else if (forceRefresh) {
// make sure we can load the unit again:
unit._markNotLoaded();
this._loadUnit(unit, callback, errorCallback);
}
else if (unit._isLoading) {

@@ -162,17 +171,23 @@ unit._registerAfterLoadCallback(callback);

else if (unit.isLoaded) {
callback(unit);
setTimeout(function () {
callback(unit);
}, 1);
}
else {
unit._registerAfterLoadCallback(callback);
unit._markLoading();
this._client.loadUnitById(this.metadata.id, id, function (data) {
mobservable_1.transaction(function () {
unit._updateWithJson(data);
_this._resolveContainer(unit, data.containerId);
unit._resolveReferences();
});
unit._markLoaded();
}, errorCallback || this._errorHandler);
this._loadUnit(unit, callback, errorCallback);
}
};
AbstractModel.prototype._loadUnit = function (unit, callback, errorCallback) {
var _this = this;
unit._registerAfterLoadCallback(callback);
unit._markLoading();
this._client.loadUnitById(this.metadata.id, unit.id, function (data) {
mobservable_1.transaction(function () {
unit._updateWithJson(data);
_this._resolveContainer(unit, data.containerId);
unit._resolveReferences();
});
unit._markLoaded();
}, errorCallback || this._errorHandler);
};
AbstractModel.prototype._loadMetaData = function (workingCopyId, callback, errorCallback) {

@@ -179,0 +194,0 @@ var _this = this;

@@ -43,3 +43,3 @@ import * as structures from './structures';

*/
load<T extends AbstractElement>(callback?: (elem: T) => void): any;
load<T extends AbstractElement>(callback: (elem: T) => void, forceRefresh?: boolean): any;
load<T extends AbstractElement>(): T;

@@ -46,0 +46,0 @@ /**

@@ -50,4 +50,5 @@ var __extends = (this && this.__extends) || function (d, b) {

});
AbstractElement.prototype.load = function (callback) {
AbstractElement.prototype.load = function (callback, forceRefresh) {
var _this = this;
if (forceRefresh === void 0) { forceRefresh = false; }
if (!callback) {

@@ -57,3 +58,3 @@ this._assertLoaded(this);

}
this.unit._model.loadUnitById(this.unit.id, function () {
this.unit._model.loadUnitById(this.unit.id, forceRefresh, function () {
// this element should be loaded now!

@@ -60,0 +61,0 @@ _this._assertLoaded(_this);

@@ -56,6 +56,6 @@ import { AbstractModel } from './abstract-model';

/**
* Type -> class (constructor function) lookup, e.g. "DomainModels$Entity" -> DomainModels.Entity
* Type -> class (the constructor function, technically) lookup, e.g. "DomainModels$Entity" -> DomainModels.Entity
*/
function lookupInitializer(qualifiedTypeName: string, classes: any): any;
function lookupClass(qualifiedTypeName: string, classes: any): any;
function structureAffectsQualifiedNames(structure: structures.Structure): boolean;
}

@@ -46,3 +46,3 @@ var abstract_model_1 = require('./abstract-model');

return null;
var unit = createStructure(lookupInitializer(json.$Type, model._allModelClasses()), model._unitsCache, function (initializer) { return new initializer(model, json.$Type, json.$ID, isPartial, null); }, json);
var unit = createStructure(lookupClass(json.$Type, model._allModelClasses()), model._unitsCache, function (initializer) { return new initializer(model, json.$Type, json.$ID, isPartial, null); }, json);
if (unit)

@@ -62,3 +62,3 @@ model._cache(unit);

return null;
return createStructure(lookupInitializer(json.$Type, model._allModelClasses()), unit._elementsCache, function (initializer) { return new initializer(model, json.$Type, json.$ID, isPartial, unit, container); }, json);
return createStructure(lookupClass(json.$Type, model._allModelClasses()), unit._elementsCache, function (initializer) { return new initializer(model, json.$Type, json.$ID, isPartial, unit, container); }, json);
}

@@ -102,5 +102,5 @@ instancehelpers.modelElementJsonToInstance = modelElementJsonToInstance;

/**
* Type -> class (constructor function) lookup, e.g. "DomainModels$Entity" -> DomainModels.Entity
* Type -> class (the constructor function, technically) lookup, e.g. "DomainModels$Entity" -> DomainModels.Entity
*/
function lookupInitializer(qualifiedTypeName, classes) {
function lookupClass(qualifiedTypeName, classes) {
if (!qualifiedTypeName)

@@ -114,4 +114,3 @@ return nullWithError('cannot look up initializer for a falsy qualified type name');

if (!classes[metaModelName])
return null; // As long as meta model isn't complete..
//return nullWithError(`no meta model with name '${metaModelName}' exists`);
return nullWithError("no meta model with name '" + metaModelName + "' exists");
if (!classes[metaModelName][className])

@@ -121,3 +120,3 @@ return nullWithError("no type with name '" + metaModelName + "$" + className + " exists");

}
instancehelpers.lookupInitializer = lookupInitializer;
instancehelpers.lookupClass = lookupClass;
function structureAffectsQualifiedNames(structure) {

@@ -124,0 +123,0 @@ return structure._declaredAsNamespace || (structure instanceof elements.AbstractElement && structure._isByNameReferrable());

@@ -29,3 +29,3 @@ var utils_1 = require("../utils");

throw new Error("please provide a typename");
var initializer = instances_1.instancehelpers.lookupInitializer(typeName, this._model._allModelClasses());
var initializer = instances_1.instancehelpers.lookupClass(typeName, this._model._allModelClasses());
var elems = this._data[qualifiedName];

@@ -32,0 +32,0 @@ if (!elems)

@@ -41,2 +41,6 @@ import * as structures from './structures';

/**
* Mark this unit as not having been loaded.
*/
_markNotLoaded(): any;
/**
* Mark this unit as having been loaded.

@@ -66,2 +70,3 @@ */

isLoaded: boolean;
_markNotLoaded(): void;
_markLoaded(): void;

@@ -113,2 +118,3 @@ _markLoading(): void;

private _afterLoadCallbacks;
_markNotLoaded: () => void;
_markLoaded: () => void;

@@ -115,0 +121,0 @@ _markLoading: () => void;

@@ -29,2 +29,6 @@ var __extends = (this && this.__extends) || function (d, b) {

});
AbstractUnit.prototype._markNotLoaded = function () {
this._isLoading = false;
this._isPartial = true;
};
AbstractUnit.prototype._markLoaded = function () {

@@ -34,3 +38,3 @@ var _this = this;

this._isPartial = false;
this._afterLoadCallbacks.forEach(function (cb) { return cb(_this); });
this._afterLoadCallbacks.splice(0).forEach(function (cb) { return cb(_this); });
};

@@ -111,2 +115,3 @@ AbstractUnit.prototype._markLoading = function () {

/* mimics multiple inheritance */
this._markNotLoaded = AbstractUnit.prototype._markNotLoaded;
this._markLoaded = AbstractUnit.prototype._markLoaded;

@@ -113,0 +118,0 @@ this._markLoading = AbstractUnit.prototype._markLoading;

@@ -1,2 +0,2 @@

/** Current SDK version: 2.0.0-dev.c2a188a */
/** Current SDK version: 2.0.0-dev.e73d140 */
export declare const SDK_VERSION: string;

@@ -1,2 +0,2 @@

/** Current SDK version: 2.0.0-dev.c2a188a */
/** Current SDK version: 2.0.0-dev.e73d140 */
exports.SDK_VERSION = "2.0.0";
{
"name": "mendixmodelsdk",
"version": "2.0.0-dev.c2a188a",
"version": "2.0.0-dev.e73d140",
"description": "Mendix Model SDK",

@@ -26,2 +26,3 @@ "main": "dist/index.js",

"devDependencies": {
"@mendix/kill-by-port": "^0.1.3",
"build-if-changed": "^0.1.2",

@@ -31,3 +32,3 @@ "chai": "2.1.2",

"grunt-exec": "0.4.6",
"@mendix/kill-by-port": "^0.1.3",
"miniup": "^0.1.1",
"mkdirp": "0.5.1",

@@ -34,0 +35,0 @@ "mocha": "2.2.1",

# Release notes Mendix Model SDK
## Next
| story# | impact | description |
|---|---|---|
| 659702 | Low | Unit-loading now has an extra optional forceRefresh option. If set, it will then bypass the Mendix MOdel SDK cache, and get the fresh unit straight from the source/server.
## 2.0.0

@@ -4,0 +10,0 @@

@@ -139,3 +139,3 @@ /// <reference path="../test-typings.d.ts"/>

createSdkClient().openWorkingCopy("1", (m:IModel) => {
m.loadUnitById(domainModelUnitId, (d:domainmodels.DomainModel) => {
m.loadUnitById(domainModelUnitId, false, (d:domainmodels.DomainModel) => {
const entity: domainmodels.Entity = <domainmodels.Entity> m.findEntityByQualifiedName("Expenses.Expense");

@@ -231,3 +231,3 @@ const attr = lodash.find(entity.attributes, a => a.name === "Status");

createSdkClient().openWorkingCopy("1", (m:IModel) => {
m.loadUnitById(domainModelUnitId, (d:domainmodels.DomainModel) => {
m.loadUnitById(domainModelUnitId, false, (d:domainmodels.DomainModel) => {
const entity = domainmodels.Entity.create(m);

@@ -250,3 +250,3 @@ const assoc = domainmodels.Association.create(m);

createSdkClient().openWorkingCopy("1", (m:IModel) => {
m.loadUnitById(domainModelUnitId, (d:domainmodels.DomainModel) => {
m.loadUnitById(domainModelUnitId, false, (d:domainmodels.DomainModel) => {
const entity = domainmodels.Entity.create(m);

@@ -268,3 +268,3 @@ const assoc = domainmodels.Association.create(m);

createSdkClient().openWorkingCopy("1", model => {
model.loadUnitById(domainModelUnitId, (d:domainmodels.DomainModel) => {
model.loadUnitById(domainModelUnitId, false, (d:domainmodels.DomainModel) => {
// create a cross association (in the same module, but that's ok for now...):

@@ -440,3 +440,3 @@ const crossAssoc = domainmodels.CrossAssociation.create(model);

createSdkClient().openWorkingCopy("1", model => {
model.loadUnitById(domainModelUnitId, (d:domainmodels.DomainModel) => {
model.loadUnitById(domainModelUnitId, false, (d:domainmodels.DomainModel) => {
const entity = d.entities[0];

@@ -478,3 +478,3 @@ const attribute1 = entity.attributes[0];

createSdkClient().openWorkingCopy("1", model => {
model.loadUnitById(domainModelUnitId, (dm1:domainmodels.DomainModel) => {
model.loadUnitById(domainModelUnitId, false, (dm1:domainmodels.DomainModel) => {
// verify we have an entity e1 in dm1

@@ -481,0 +481,0 @@ const entity1 = lodash.find(dm1.entities, ent => ent.name === "TempUser");

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

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc