@civitai/client 0.2.0-beta.32 → 0.2.0-beta.33
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/utils/TimeSpan.d.ts
CHANGED
|
@@ -36,8 +36,8 @@ export declare class TimeSpan {
|
|
|
36
36
|
get milliseconds(): number;
|
|
37
37
|
get ticks(): number;
|
|
38
38
|
get totalMilliseconds(): number;
|
|
39
|
-
get totalMinutes(): number;
|
|
40
39
|
get totalSeconds(): number;
|
|
40
|
+
get totalMinutes(): number;
|
|
41
41
|
get totalHours(): number;
|
|
42
42
|
get totalDays(): number;
|
|
43
43
|
get totalTicks(): number;
|
package/dist/utils/TimeSpan.js
CHANGED
|
@@ -89,17 +89,17 @@ export class TimeSpan {
|
|
|
89
89
|
get totalMilliseconds() {
|
|
90
90
|
return Math.floor(__classPrivateFieldGet(this, _TimeSpan_ticks, "f") / ticksPerMillisecond);
|
|
91
91
|
}
|
|
92
|
-
get totalMinutes() {
|
|
93
|
-
return Math.floor(this.minutes / ticksPerMinute);
|
|
94
|
-
}
|
|
95
92
|
get totalSeconds() {
|
|
96
|
-
return Math.floor(this
|
|
93
|
+
return Math.floor(__classPrivateFieldGet(this, _TimeSpan_ticks, "f") / ticksPerSecond);
|
|
94
|
+
}
|
|
95
|
+
get totalMinutes() {
|
|
96
|
+
return Math.floor(__classPrivateFieldGet(this, _TimeSpan_ticks, "f") / ticksPerMinute);
|
|
97
97
|
}
|
|
98
98
|
get totalHours() {
|
|
99
|
-
return Math.floor(this
|
|
99
|
+
return Math.floor(__classPrivateFieldGet(this, _TimeSpan_ticks, "f") / ticksPerHour);
|
|
100
100
|
}
|
|
101
101
|
get totalDays() {
|
|
102
|
-
return Math.floor(this
|
|
102
|
+
return Math.floor(__classPrivateFieldGet(this, _TimeSpan_ticks, "f") / ticksPerDay);
|
|
103
103
|
}
|
|
104
104
|
get totalTicks() {
|
|
105
105
|
return __classPrivateFieldGet(this, _TimeSpan_ticks, "f");
|