bruce-models 7.0.17 → 7.0.19
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 +4 -26
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +4 -26
- 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 +3 -25
- 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 +32 -2
- package/package.json +1 -1
package/dist/bruce-models.umd.js
CHANGED
|
@@ -16769,18 +16769,7 @@
|
|
|
16769
16769
|
api = exports.ENVIRONMENT.Api().GetBruceApi();
|
|
16770
16770
|
}
|
|
16771
16771
|
reqParams = exports.Api.PrepReqParams(reqParams);
|
|
16772
|
-
|
|
16773
|
-
try {
|
|
16774
|
-
const data = yield api.GET(`change/${id}`, exports.Api.PrepReqParams(reqParams));
|
|
16775
|
-
res({
|
|
16776
|
-
changeSet: data
|
|
16777
|
-
});
|
|
16778
|
-
}
|
|
16779
|
-
catch (e) {
|
|
16780
|
-
rej(e);
|
|
16781
|
-
}
|
|
16782
|
-
}));
|
|
16783
|
-
return prom;
|
|
16772
|
+
return yield api.GET(`change/${id}`, exports.Api.PrepReqParams(reqParams));
|
|
16784
16773
|
});
|
|
16785
16774
|
}
|
|
16786
16775
|
ChangeSet.Get = Get;
|
|
@@ -16794,7 +16783,7 @@
|
|
|
16794
16783
|
api = exports.ENVIRONMENT.Api().GetBruceApi();
|
|
16795
16784
|
}
|
|
16796
16785
|
reqParams = exports.Api.PrepReqParams(reqParams);
|
|
16797
|
-
return
|
|
16786
|
+
return api.GET("changes", exports.Api.PrepReqParams(reqParams));
|
|
16798
16787
|
});
|
|
16799
16788
|
}
|
|
16800
16789
|
ChangeSet.GetList = GetList;
|
|
@@ -16808,25 +16797,14 @@
|
|
|
16808
16797
|
api = exports.ENVIRONMENT.Api().GetBruceApi();
|
|
16809
16798
|
}
|
|
16810
16799
|
reqParams = exports.Api.PrepReqParams(reqParams);
|
|
16811
|
-
|
|
16812
|
-
try {
|
|
16813
|
-
const data = yield api.GET(`change/${id}/content`, exports.Api.PrepReqParams(reqParams));
|
|
16814
|
-
res({
|
|
16815
|
-
changeSet: data
|
|
16816
|
-
});
|
|
16817
|
-
}
|
|
16818
|
-
catch (e) {
|
|
16819
|
-
rej(e);
|
|
16820
|
-
}
|
|
16821
|
-
}));
|
|
16822
|
-
return prom;
|
|
16800
|
+
return api.GET(`change/${id}/content`, exports.Api.PrepReqParams(reqParams));
|
|
16823
16801
|
});
|
|
16824
16802
|
}
|
|
16825
16803
|
ChangeSet.GetChangeSetContent = GetChangeSetContent;
|
|
16826
16804
|
})(exports.ChangeSet || (exports.ChangeSet = {}));
|
|
16827
16805
|
|
|
16828
16806
|
// This is updated with the package.json version on build.
|
|
16829
|
-
const VERSION = "7.0.
|
|
16807
|
+
const VERSION = "7.0.19";
|
|
16830
16808
|
|
|
16831
16809
|
exports.VERSION = VERSION;
|
|
16832
16810
|
exports.AbstractApi = AbstractApi;
|