@project-sunbird/collection-editor-react 1.0.5 → 1.0.6
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/client.d.ts +1 -1
- package/dist/collection-editor.umd.js +95 -95
- package/dist/components/modals/ConfirmDialog.d.ts +9 -5
- package/dist/i18n/locales/ar.json.d.ts +4 -0
- package/dist/i18n/locales/en.json.d.ts +4 -0
- package/dist/i18n/locales/fr.json.d.ts +4 -0
- package/dist/i18n/locales/pt.json.d.ts +4 -0
- package/dist/index.cjs +89 -89
- package/dist/index.js +4145 -4104
- package/dist/types/editor.d.ts +5 -4
- package/dist/utils/lpStructure.d.ts +2 -2
- package/package.json +1 -1
package/dist/types/editor.d.ts
CHANGED
|
@@ -64,14 +64,15 @@ export interface IConfig {
|
|
|
64
64
|
size?: number;
|
|
65
65
|
accepted?: string;
|
|
66
66
|
};
|
|
67
|
+
/** When set, replaces every API call's leading /action|/api|/portal
|
|
68
|
+
* segment (see src/api/client.ts's resolveApiUrl) with this host-specific
|
|
69
|
+
* prefix, e.g. if the portal's own gateway proxies every backend service
|
|
70
|
+
* under one path of its own instead. */
|
|
71
|
+
apiSlug?: string;
|
|
67
72
|
}
|
|
68
73
|
export interface IEditorConfig {
|
|
69
74
|
context: IContext;
|
|
70
75
|
config: IConfig;
|
|
71
|
-
/** metadata.apiSlug — when set, replaces every API call's leading
|
|
72
|
-
* /action|/api|/portal segment (see src/api/client.ts's resolveApiUrl)
|
|
73
|
-
* with this host-specific prefix, e.g. if the portal's own gateway
|
|
74
|
-
* proxies every backend service under one path of its own. */
|
|
75
76
|
metadata?: Record<string, unknown>;
|
|
76
77
|
data?: unknown;
|
|
77
78
|
enableSplitBuilder?: boolean;
|
|
@@ -152,8 +152,8 @@ export interface LpValidationIssue {
|
|
|
152
152
|
export declare const REQUIRES_PRIOR_POLICIES: Set<string>;
|
|
153
153
|
/**
|
|
154
154
|
* Every synchronous (no network) LP publish rule: consumption policy set;
|
|
155
|
-
* prior assessment required only for the
|
|
156
|
-
* (not
|
|
155
|
+
* prior assessment required only for the adaptive ("Adaptive") policy
|
|
156
|
+
* (not strict, not priorLearning — see REQUIRES_PRIOR_POLICIES); pre/post
|
|
157
157
|
* slot purity when a slot IS filled (Outcome Assessment itself is optional
|
|
158
158
|
* — an empty post slot no longer blocks publish/send-for-review); every
|
|
159
159
|
* content Level has ≥1 course and ≥1 in-scope skill; no empty Levels; every
|