@project-sunbird/sunbird-questionset-editor-web-component-react 0.1.1 → 0.1.2
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/api/asset.d.ts +2 -2
- package/dist/index.js +3119 -3087
- package/dist/utils/context.d.ts +2 -0
- package/package.json +3 -2
package/dist/utils/context.d.ts
CHANGED
|
@@ -2,6 +2,8 @@ import { IContext, EditorMode } from '../types/editor';
|
|
|
2
2
|
|
|
3
3
|
export declare function getUserId(ctx?: IContext | null): string;
|
|
4
4
|
export declare function getContentId(ctx?: IContext | null): string;
|
|
5
|
+
/** Old editor sends context.user.fullName as the asset `creator`. */
|
|
6
|
+
export declare function getUserFullName(ctx?: IContext | null): string;
|
|
5
7
|
/**
|
|
6
8
|
* Old editor's role rule (header.component handleActionButtons): content is
|
|
7
9
|
* editable in edit mode, or during org/sourcing review when the host allows
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@project-sunbird/sunbird-questionset-editor-web-component-react",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "React-based QuML QuestionSet Editor — usable as a React component or as a <sb-questionset-editor> web component in any framework.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"sunbird",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@dnd-kit/sortable": "^8.0.0",
|
|
51
51
|
"@dnd-kit/utilities": "^3.2.2",
|
|
52
52
|
"@project-sunbird/ckeditor-build-classic": "^4.1.3",
|
|
53
|
-
"@project-sunbird/sunbird-quml-player-web-component-react": "^0.1.
|
|
53
|
+
"@project-sunbird/sunbird-quml-player-web-component-react": "^0.1.2",
|
|
54
54
|
"@tanstack/react-query": "^5.51.0",
|
|
55
55
|
"@tiptap/extension-code-block": "^3.27.1",
|
|
56
56
|
"@tiptap/extension-image": "^3.27.1",
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
"react-hook-form": "^7.52.0",
|
|
77
77
|
"react-hot-toast": "^2.4.1",
|
|
78
78
|
"react-to-webcomponent": "^1.1.0",
|
|
79
|
+
"uuid": "^14.0.1",
|
|
79
80
|
"zod": "^3.23.8",
|
|
80
81
|
"zustand": "^4.5.4"
|
|
81
82
|
},
|