bruce-models 6.3.6 → 6.3.7
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 +7 -1
- package/dist/bruce-models.es5.js.map +1 -1
- package/dist/bruce-models.umd.js +7 -1
- package/dist/bruce-models.umd.js.map +1 -1
- package/dist/lib/bruce-models.js +1 -1
- package/dist/lib/client-file/client-file.js.map +1 -1
- package/dist/lib/common/utc.js +6 -0
- package/dist/lib/common/utc.js.map +1 -1
- package/dist/lib/data-lab/data-lab.js.map +1 -1
- package/dist/lib/entity/entity-type.js.map +1 -1
- package/dist/lib/entity/entity.js.map +1 -1
- package/dist/lib/plugin/plugin.js.map +1 -1
- package/dist/lib/project/project-view-bookmark.js.map +1 -1
- package/dist/lib/project/project-view-legacy-bookmark.js.map +1 -1
- package/dist/lib/project/project-view.js.map +1 -1
- package/dist/lib/server/pending-action.js.map +1 -1
- package/dist/types/account/account-invite.d.ts +1 -1
- package/dist/types/assembly/assembly.d.ts +2 -1
- package/dist/types/bruce-models.d.ts +1 -1
- package/dist/types/client-file/client-file.d.ts +2 -1
- package/dist/types/common/utc.d.ts +6 -5
- package/dist/types/data-lab/data-lab.d.ts +2 -1
- package/dist/types/entity/entity-comment.d.ts +1 -1
- package/dist/types/entity/entity-type.d.ts +2 -2
- package/dist/types/entity/entity.d.ts +2 -1
- package/dist/types/entity-type-model/comment.d.ts +1 -1
- package/dist/types/plugin/plugin.d.ts +2 -2
- package/dist/types/project/project-view-bookmark.d.ts +2 -1
- package/dist/types/project/project-view-legacy-bookmark.d.ts +2 -1
- package/dist/types/project/project-view.d.ts +2 -1
- package/dist/types/server/pending-action.d.ts +4 -4
- package/dist/types/tileset/tileset.d.ts +3 -3
- package/dist/types/tracking/tracking.d.ts +1 -1
- package/dist/types/user/session.d.ts +1 -1
- package/package.json +1 -1
package/dist/bruce-models.umd.js
CHANGED
|
@@ -5945,10 +5945,16 @@
|
|
|
5945
5945
|
* @param utc
|
|
5946
5946
|
*/
|
|
5947
5947
|
function ToString(utc) {
|
|
5948
|
+
if (typeof utc === "string") {
|
|
5949
|
+
return utc;
|
|
5950
|
+
}
|
|
5948
5951
|
return ToDate(utc).toISOString();
|
|
5949
5952
|
}
|
|
5950
5953
|
UTC.ToString = ToString;
|
|
5951
5954
|
function ToDate(utc) {
|
|
5955
|
+
if (typeof utc === "string") {
|
|
5956
|
+
return new Date(utc);
|
|
5957
|
+
}
|
|
5952
5958
|
return new Date(Date.UTC(utc.y, utc.m - 1, utc.d, utc.hh, utc.mm, utc.ss, 0));
|
|
5953
5959
|
}
|
|
5954
5960
|
UTC.ToDate = ToDate;
|
|
@@ -15667,7 +15673,7 @@
|
|
|
15667
15673
|
})(exports.Tracking || (exports.Tracking = {}));
|
|
15668
15674
|
|
|
15669
15675
|
// This is updated with the package.json version on build.
|
|
15670
|
-
const VERSION = "6.3.
|
|
15676
|
+
const VERSION = "6.3.7";
|
|
15671
15677
|
|
|
15672
15678
|
exports.VERSION = VERSION;
|
|
15673
15679
|
exports.AbstractApi = AbstractApi;
|