bruce-models 0.3.8 → 0.3.9

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.
@@ -4374,6 +4374,26 @@
4374
4374
  });
4375
4375
  }
4376
4376
  ProjectViewBookmark.Update = Update;
4377
+ function SetOrder(api, viewId, bookmarkIds) {
4378
+ return __awaiter(this, void 0, void 0, function () {
4379
+ var reqData;
4380
+ return __generator(this, function (_a) {
4381
+ switch (_a.label) {
4382
+ case 0:
4383
+ reqData = {
4384
+ "UISlide.ID": bookmarkIds,
4385
+ "DisplayOrder.Start": 0
4386
+ };
4387
+ return [4 /*yield*/, api.POST("ui.view/" + viewId + "/slides/setOrder", reqData, exports.Api.PrepReqParams())];
4388
+ case 1:
4389
+ _a.sent();
4390
+ api.Cache.RemoveByStartsWith(GetListCacheKey(viewId));
4391
+ return [2 /*return*/];
4392
+ }
4393
+ });
4394
+ });
4395
+ }
4396
+ ProjectViewBookmark.SetOrder = SetOrder;
4377
4397
  })(exports.ProjectViewBookmark || (exports.ProjectViewBookmark = {}));
4378
4398
 
4379
4399
  (function (ProjectView) {