Commits the contents of the working copy with the given id to the team server
Deletes the file with the specified filepath.
Deletes the project-to-working copy mapping for given project ID.
Returns a list of unitIds that contains a specific custom widget
Downloads the file specified by the supplied filepath.
Returns an array of all filepaths in the working copy.
Returns an EventSource instance that will emit events that occur on the working copy model.
Retrieves the working copy id that the given project ID maps to.
Returns an EventSource instance that will emit events that occur on the working copy level.
Retrieves a unit, as normalized model JSON, by working copy and unit ID.
Loads all unit interfaces of the working copy indicated with workingCopyId
as an array of normalized model JSON.
Retrieves the top-level working copy information/meta data for the working copy with given workingCopyId
.
Lock the working copy (will be locked for the currently authenticated openid)
Lock the working copy with lockOptions (will be locked for the currently authenticated openid)
Uploads the supplied file to the specified filepath.
Sends a sequence of deltas on the working copy with the given workingCopyId
to the Model API Server;
batched if more than one is passed, as a single delta otherwise.
Unlock the working copy (will be unlocked for the currently authenticated openid, will fail if it's locked by another openid)
if specified, only unlock if the working copy has this specified lock
Update the project-to-working copy mapping with the given data.
Generated using TypeDoc
The IModelServerClient interface is used for forwarding calls to the underlying Mendix Model API. Implementations of this interface serve as fully-typed clients for the Model API Server. Default implementation: {@link ModelServerClientImpl}. Note that all its methods are asynchronous, with the last two arguments always being a (success) callback and an error callback, and we will only explain the "essential" arguments in their documentation.
Note: this interface is part of the internal API of the Model SDK.
DISCLAIMER: End-users of the SDK should never rely directly on elements of the internal API, e.g. by implementing interfaces or instantiating classes. Anything in this file can be removed, or change signature, even between patch-level SDK versions.