@capytale/meta-player 0.3.2 → 0.3.4
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/package.json
CHANGED
|
@@ -175,10 +175,12 @@ export const useActivityJsEssentials = () => {
|
|
|
175
175
|
};
|
|
176
176
|
const hasAssignment = !!ab.assignmentNode;
|
|
177
177
|
const title = ab.title.value;
|
|
178
|
+
const nid = ab.mainNode.nid;
|
|
178
179
|
return {
|
|
179
180
|
mode,
|
|
180
181
|
title,
|
|
181
182
|
hasAssignment,
|
|
183
|
+
nid,
|
|
182
184
|
getActivityContent,
|
|
183
185
|
getAssignmentContent,
|
|
184
186
|
getActivityBinaryData,
|
package/src/index.tsx
CHANGED
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
useActivityJsEssentials,
|
|
13
13
|
} from "./features/activityJS/ActivityJSProvider";
|
|
14
14
|
import { useNotifyIsDirty } from "./features/activityData/hooks";
|
|
15
|
+
import { useOrientation } from "./features/layout/hooks";
|
|
15
16
|
import { ActivitySidebarActionsSetter } from "./features/navbar/ActivitySidebarActions";
|
|
16
17
|
import { ActivityQuickActionsSetter } from "./features/navbar/ActivityQuickActions";
|
|
17
18
|
import ActivitySettingsSetter from "./features/activitySettings/ActivitySettingsSetter";
|
|
@@ -29,6 +30,7 @@ export {
|
|
|
29
30
|
useActivityJS,
|
|
30
31
|
useActivityJsEssentials,
|
|
31
32
|
useNotifyIsDirty,
|
|
33
|
+
useOrientation,
|
|
32
34
|
ActivitySidebarActionsSetter,
|
|
33
35
|
ActivityQuickActionsSetter,
|
|
34
36
|
ActivitySettingsSetter,
|