@fabriktor/fx 0.0.118 → 0.0.119
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.
|
@@ -97,8 +97,9 @@ export class TimesheetsWorkspace {
|
|
|
97
97
|
start,
|
|
98
98
|
end,
|
|
99
99
|
});
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
const indexes = result.value?.periods?.period_indexes;
|
|
101
|
+
requireState(!!indexes?.length, TimesheetsBlock.InvalidDay);
|
|
102
|
+
return indexes;
|
|
102
103
|
}
|
|
103
104
|
async punchState(opts) {
|
|
104
105
|
requireState(!!opts.owner_id && !!opts.timezone, TimesheetsBlock.InvalidDay);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fabriktor/fx",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.119",
|
|
4
4
|
"description": "",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -17,8 +17,8 @@
|
|
|
17
17
|
"typescript": "^6.0.3"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@fabriktor/client": "0.0.
|
|
20
|
+
"@fabriktor/client": "0.0.88",
|
|
21
21
|
"@fabriktor/fx": "0.0.94",
|
|
22
|
-
"@fabriktor/schema": "0.0.
|
|
22
|
+
"@fabriktor/schema": "0.0.64"
|
|
23
23
|
}
|
|
24
24
|
}
|