bruce-models 7.0.15 → 7.0.17
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/dist/bruce-models.es5.js +26 -1
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +26 -1
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/change-set/change-set.js +25 -0
- package/dist/lib/change-set/change-set.js.map +1 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/change-set/change-set.d.ts +20 -6
- package/package.json +1 -1
package/dist/bruce-models.es5.js
CHANGED
|
@@ -17114,10 +17114,35 @@ var ChangeSet;
|
|
|
17114
17114
|
});
|
|
17115
17115
|
}
|
|
17116
17116
|
ChangeSet.GetList = GetList;
|
|
17117
|
+
/**
|
|
17118
|
+
* Gets the Change Set record by its ID.
|
|
17119
|
+
*/
|
|
17120
|
+
function GetChangeSetContent(params) {
|
|
17121
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
17122
|
+
let { id, api, req: reqParams } = params;
|
|
17123
|
+
if (!api) {
|
|
17124
|
+
api = ENVIRONMENT.Api().GetBruceApi();
|
|
17125
|
+
}
|
|
17126
|
+
reqParams = Api.PrepReqParams(reqParams);
|
|
17127
|
+
const prom = new Promise((res, rej) => __awaiter(this, void 0, void 0, function* () {
|
|
17128
|
+
try {
|
|
17129
|
+
const data = yield api.GET(`change/${id}/content`, Api.PrepReqParams(reqParams));
|
|
17130
|
+
res({
|
|
17131
|
+
changeSet: data
|
|
17132
|
+
});
|
|
17133
|
+
}
|
|
17134
|
+
catch (e) {
|
|
17135
|
+
rej(e);
|
|
17136
|
+
}
|
|
17137
|
+
}));
|
|
17138
|
+
return prom;
|
|
17139
|
+
});
|
|
17140
|
+
}
|
|
17141
|
+
ChangeSet.GetChangeSetContent = GetChangeSetContent;
|
|
17117
17142
|
})(ChangeSet || (ChangeSet = {}));
|
|
17118
17143
|
|
|
17119
17144
|
// This is updated with the package.json version on build.
|
|
17120
|
-
const VERSION = "7.0.
|
|
17145
|
+
const VERSION = "7.0.17";
|
|
17121
17146
|
|
|
17122
17147
|
export { VERSION, Assembly, AnnDocument, CustomForm, AbstractApi, Api, BruceApi, GlobalApi, GuardianApi, ApiGetters, Calculator, Bounds, BruceEvent, CacheControl, Camera, Cartes, Carto, Color, DelayQueue, Geometry, UTC, BruceVariable, LRUCache, GeoJson, EntityAttachmentType, EntityAttachment, EntityComment, EntityLink, EntityLod, EntityLodCategory, EntityRelationType, EntityRelation, EntitySource, EntityTag, EntityType, Entity, EntityCoords, EntityAttribute, EntityHistoricData, EntityTableView, Comment, ClientFile, ProgramKey, ZoomControl, MenuItem, ProjectViewBookmark, ProjectView, ProjectViewLegacyTile, ProjectViewTile, ProjectViewLegacy, ProjectViewLegacyBookmark, ProjectViewBookmarkGroup, PendingAction, MessageBroker, HostingLocation, Style, Tileset, Permission, Session, UserGroup, User, UserMfaMethod, Account, AccountInvite, AccountFeatures, AccountLimits, AccountTemplate, AccountType, EncryptUtils, MathUtils, ObjectUtils, PathUtils, UrlUtils, DataLab, DataLabGroup, ImportAssembly, ImportCad, ImportCsv, ImportJson, ImportGeoJson, ImportKml, ImportedFile, ExportBrz, ExportUsd, Markup, Uploader, Plugin, ENVIRONMENT, DataSource, Scenario, Tracking, NavigatorChatClient, NavigatorMcpWebSocketClient, ChangeSet };
|
|
17123
17148
|
//# sourceMappingURL=bruce-models.es5.js.map
|