@local-civics/mgmt-ui 0.1.220 → 0.1.221
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/index.d.ts +16 -0
- package/dist/index.js +351 -253
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +351 -253
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -128,6 +128,7 @@ type BadgeProps = {
|
|
|
128
128
|
displayName: string;
|
|
129
129
|
description: string;
|
|
130
130
|
imageURL?: string;
|
|
131
|
+
weight?: number;
|
|
131
132
|
classes: BadgeClass[];
|
|
132
133
|
lessons: Item$m[];
|
|
133
134
|
classId: string;
|
|
@@ -789,8 +790,22 @@ interface Item$1 {
|
|
|
789
790
|
badgeName: string;
|
|
790
791
|
percentageCompletion: number;
|
|
791
792
|
href: string;
|
|
793
|
+
categories: string[];
|
|
794
|
+
weight: number;
|
|
795
|
+
overflowCategories?: string[];
|
|
792
796
|
}
|
|
793
797
|
|
|
798
|
+
/**
|
|
799
|
+
* PathwayCategory
|
|
800
|
+
*/
|
|
801
|
+
type PathwayCategory = {
|
|
802
|
+
categoryId: string;
|
|
803
|
+
name: string;
|
|
804
|
+
description?: string;
|
|
805
|
+
parentCategoryId?: string;
|
|
806
|
+
maxPoints?: number;
|
|
807
|
+
};
|
|
808
|
+
|
|
794
809
|
/**
|
|
795
810
|
* PathwayUserItem
|
|
796
811
|
*/
|
|
@@ -822,6 +837,7 @@ type PathwayProps = {
|
|
|
822
837
|
name: string;
|
|
823
838
|
maxPoints?: number;
|
|
824
839
|
}[];
|
|
840
|
+
allCategories?: PathwayCategory[];
|
|
825
841
|
href: string;
|
|
826
842
|
trial?: boolean;
|
|
827
843
|
badgesCompleted?: number;
|