@magda/external-ui-plugin-sdk 5.0.0 → 5.1.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 +25 -0
  2. package/package.json +2 -2
package/dist/index.d.ts CHANGED
@@ -828,6 +828,31 @@ export declare interface ConfigDataType {
828
828
  * @memberof ConfigDataType
829
829
  */
830
830
  sqlConsoleMaxDisplayRows: number;
831
+
832
+ /**
833
+ * The cache store name SQLConsole uses.
834
+ * The cache store will be used to cache recent data file access.
835
+ *
836
+ * @type {string}
837
+ * @memberof ConfigDataType
838
+ */
839
+ sqlConsoleCacheName: string;
840
+
841
+ /**
842
+ * Max number of recent access data files that the SQLConsole will cache.
843
+ *
844
+ * @type {number}
845
+ * @memberof ConfigDataType
846
+ */
847
+ sqlConsoleCacheMaxSize: number;
848
+
849
+ /**
850
+ * This setting will be used to determine how many seconds a stored cache item will be kept before we fetch a new copy from the remote server.
851
+ *
852
+ * @type {number}
853
+ * @memberof ConfigDataType
854
+ */
855
+ sqlConsoleCacheExpiration: number;
831
856
  }
832
857
 
833
858
  /**
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": "5.0.0",
4
+ "version": "5.1.0",
5
5
  "scripts": {
6
6
  "prebuild": "rimraf dist tsconfig.tsbuildinfo",
7
7
  "build": "api-extractor run -l",
@@ -18,7 +18,7 @@
18
18
  "directory": "packages/external-ui-plugin-sdk"
19
19
  },
20
20
  "devDependencies": {
21
- "@magda/web-client": "^5.0.0",
21
+ "@magda/web-client": "^5.1.0",
22
22
  "typescript": "~5.3.3"
23
23
  },
24
24
  "peerDependencies": {