@project-sunbird/collection-editor-react 0.1.17 → 0.1.18

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.
@@ -2,3 +2,20 @@ import { IFramework, ITerm } from '../types/framework';
2
2
 
3
3
  export declare function getFramework(frameworkId: string): Promise<IFramework>;
4
4
  export declare function searchTerms(frameworkId: string, categoryCode: string, query?: string): Promise<ITerm[]>;
5
+ export interface IFrameworkSearchResult {
6
+ identifier: string;
7
+ name: string;
8
+ type?: string;
9
+ }
10
+ /**
11
+ * Discover Live frameworks via composite search — mirrors Angular
12
+ * FrameworkService.getFrameworkData (framework.service.ts:102-119). Used to
13
+ * extend the "Course Type" dropdown with frameworks whose orgFWType the
14
+ * channel does not already list.
15
+ */
16
+ export declare function searchFrameworks(filters: {
17
+ type?: string[];
18
+ identifier?: string[];
19
+ channel?: string;
20
+ systemDefault?: string;
21
+ }): Promise<IFrameworkSearchResult[]>;