@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.
@@ -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 Diagnostic ("Adaptive") policy
156
- * (not Fixed, not PriorLearning — see REQUIRES_PRIOR_POLICIES); pre/post
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@project-sunbird/collection-editor-react",
3
- "version": "1.0.5",
3
+ "version": "1.0.6",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.cjs",