@magda/external-ui-plugin-sdk 2.3.3 → 3.0.0-alpha.0

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.
Files changed (2) hide show
  1. package/dist/index.d.ts +35 -35
  2. package/package.json +3 -3
package/dist/index.d.ts CHANGED
@@ -173,10 +173,10 @@ export declare interface ConfigDataType {
173
173
  * The docker image information of the web server that serves all frontend resources of the application.
174
174
  *
175
175
  * @type {{
176
- * pullPolicy?: string;
177
- * repository?: string;
178
- * tag?: string;
179
- * }}
176
+ * pullPolicy?: string;
177
+ * repository?: string;
178
+ * tag?: string;
179
+ * }}
180
180
  * @memberof ConfigDataType
181
181
  */
182
182
  image?: {
@@ -384,8 +384,8 @@ export declare interface ConfigDataType {
384
384
  * A set of feature flags to turn on/of a list of features.
385
385
  *
386
386
  * @type {{
387
- * [id: string]: boolean;
388
- * }}
387
+ * [id: string]: boolean;
388
+ * }}
389
389
  * @memberof ConfigDataType
390
390
  */
391
391
  featureFlags: FeatureFlagsConfigType;
@@ -504,8 +504,8 @@ export declare interface ConfigDataType {
504
504
  * This feature is still in beta.
505
505
  *
506
506
  * @type {{
507
- * [ckanServerUrl: string]: boolean;
508
- * }}
507
+ * [ckanServerUrl: string]: boolean;
508
+ * }}
509
509
  * @memberof ConfigDataType
510
510
  */
511
511
  ckanExportServers: {
@@ -594,10 +594,10 @@ export declare interface ConfigDataType {
594
594
  * The responsive UI break points.
595
595
  *
596
596
  * @type {{
597
- * small: number;
598
- * medium: number;
599
- * large: number;
600
- * }}
597
+ * small: number;
598
+ * medium: number;
599
+ * large: number;
600
+ * }}
601
601
  * @memberof ConfigDataType
602
602
  */
603
603
  breakpoints?: {
@@ -641,11 +641,11 @@ export declare interface ConfigDataType {
641
641
  * Default boundingBox for map preview module
642
642
  *
643
643
  * @type {{
644
- * west: number;
645
- * south: number;
646
- * east: number;
647
- * north: number;
648
- * }}
644
+ * west: number;
645
+ * south: number;
646
+ * east: number;
647
+ * north: number;
648
+ * }}
649
649
  * @memberof ConfigDataType
650
650
  */
651
651
  boundingBox: {
@@ -685,8 +685,8 @@ export declare interface ConfigDataType {
685
685
  * extraConfigData is mainly for config data passing to external UI plugins
686
686
  *
687
687
  * @type {{
688
- * [key: string]: any;
689
- * }}
688
+ * [key: string]: any;
689
+ * }}
690
690
  * @memberof ConfigDataType
691
691
  */
692
692
  extraConfigData?: {
@@ -797,7 +797,7 @@ export declare interface DatasetEditButtonComponentPropsType extends CommonProps
797
797
  * @category External UI Plugin Component Types
798
798
  */
799
799
  export declare type DatasetEditButtonComponentType = ComponentType<
800
- DatasetEditButtonComponentPropsType
800
+ DatasetEditButtonComponentPropsType
801
801
  >;
802
802
 
803
803
  /**
@@ -817,7 +817,7 @@ export declare interface DatasetLikeButtonComponentPropsType extends CommonProps
817
817
  * @category External UI Plugin Component Types
818
818
  */
819
819
  export declare type DatasetLikeButtonComponentType = ComponentType<
820
- DatasetLikeButtonComponentPropsType
820
+ DatasetLikeButtonComponentPropsType
821
821
  >;
822
822
 
823
823
  declare type DatasetPublisher = {
@@ -875,7 +875,7 @@ declare type dcatDistributionStrings = {
875
875
  * @extends {CommonPropsType}
876
876
  */
877
877
  export declare interface ExtraVisualisationSectionComponentPropsType
878
- extends CommonPropsType {
878
+ extends CommonPropsType {
879
879
  dataset: ParsedDataset;
880
880
  distributionId?: string;
881
881
  }
@@ -887,7 +887,7 @@ export declare interface ExtraVisualisationSectionComponentPropsType
887
887
  * @category External UI Plugin Component Types
888
888
  */
889
889
  export declare type ExtraVisualisationSectionComponentType = ComponentType<
890
- ExtraVisualisationSectionComponentPropsType
890
+ ExtraVisualisationSectionComponentPropsType
891
891
  >;
892
892
 
893
893
  declare interface FacetConfigItem {
@@ -900,13 +900,13 @@ declare interface FacetConfigItem {
900
900
  declare type FeatureFlagsConfigType = Partial<Record<FeatureFlagType, boolean>>;
901
901
 
902
902
  declare type FeatureFlagType =
903
- | "cataloguing"
904
- | "publishToDga"
905
- | "previewAddDataset"
906
- | "datasetApprovalWorkflowOn"
907
- | "useStorageApi"
908
- | "datasetLikeButton"
909
- | "enableAutoMetadataFetchButton";
903
+ | "cataloguing"
904
+ | "publishToDga"
905
+ | "previewAddDataset"
906
+ | "datasetApprovalWorkflowOn"
907
+ | "useStorageApi"
908
+ | "datasetLikeButton"
909
+ | "enableAutoMetadataFetchButton";
910
910
 
911
911
  declare type FetchError = {
912
912
  title: string;
@@ -1159,11 +1159,11 @@ declare type PublishingAspect = {
1159
1159
  managingOrgUnitId?: string;
1160
1160
  state?: "draft" | "published" | "archived";
1161
1161
  level?:
1162
- | "organization"
1163
- | "custodian"
1164
- | "team"
1165
- | "creatorOrgUnit"
1166
- | "selectedOrgUnit";
1162
+ | "organization"
1163
+ | "custodian"
1164
+ | "team"
1165
+ | "creatorOrgUnit"
1166
+ | "selectedOrgUnit";
1167
1167
  contactPointDisplay?: "team" | "organization" | "custodian";
1168
1168
  publishAsOpenData?: {
1169
1169
  [key: string]: any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@magda/external-ui-plugin-sdk",
3
3
  "description": "MAGDA external UI plugin SDK",
4
- "version": "2.3.3",
4
+ "version": "3.0.0-alpha.0",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf dist tsconfig.tsbuildinfo",
7
7
  "build": "api-extractor run -l",
@@ -18,8 +18,8 @@
18
18
  "directory": "packages/external-ui-plugin-sdk"
19
19
  },
20
20
  "devDependencies": {
21
- "@magda/web-client": "^2.3.3",
22
- "typescript": "~4.2.4"
21
+ "@magda/web-client": "^3.0.0-alpha.0",
22
+ "typescript": "~5.2.2"
23
23
  },
24
24
  "peerDependencies": {
25
25
  "@types/react": "^16.8.17",