@project-sunbird/collection-editor-react 1.0.13 → 1.0.14
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/collection-editor.umd.js +21 -21
- package/dist/index.cjs +87 -87
- package/dist/index.js +3538 -3526
- package/dist/types/editor.d.ts +1 -1
- package/dist/utils/lpStructure.d.ts +5 -5
- package/package.json +1 -1
package/dist/types/editor.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ export interface IContext {
|
|
|
20
20
|
};
|
|
21
21
|
env: string;
|
|
22
22
|
/** Current user profile — user.fullName auto-fills the author field.
|
|
23
|
-
* When absent, the editor resolves it via /
|
|
23
|
+
* When absent, the editor resolves it via /action/user/v5/read. */
|
|
24
24
|
user?: {
|
|
25
25
|
fullName?: string;
|
|
26
26
|
};
|
|
@@ -195,10 +195,10 @@ export declare function validateLearningPathStructure(root: INode | undefined, s
|
|
|
195
195
|
/**
|
|
196
196
|
* Re-verifies the pre/post assessment courses are STILL categorized
|
|
197
197
|
* Evaluation Course at publish time — an author could re-tag a linked
|
|
198
|
-
* course's category after it was added to the path. A lightweight
|
|
199
|
-
* read (not a hierarchy walk — qualification is a single
|
|
200
|
-
* now) suffices. Separate from validateLearningPathStructure
|
|
201
|
-
* requires a network read; callers should run it alongside the
|
|
202
|
-
* not instead of them.
|
|
198
|
+
* course's category after it was added to the path. A lightweight
|
|
199
|
+
* collection read (not a hierarchy walk — qualification is a single
|
|
200
|
+
* metadata field now) suffices. Separate from validateLearningPathStructure
|
|
201
|
+
* because it requires a network read; callers should run it alongside the
|
|
202
|
+
* sync checks, not instead of them.
|
|
203
203
|
*/
|
|
204
204
|
export declare function revalidateAssessmentSlots(root: INode | undefined): Promise<LpValidationIssue[]>;
|