@xwiki/cristal-wiki-config-api 0.21.0 → 0.22.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @xwiki/cristal-wiki-config-api
2
2
 
3
+ ## 0.22.0
4
+
5
+ ### Minor Changes
6
+
7
+ - Cristal 0.22 Release
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies
12
+ - @xwiki/cristal-api@0.22.0
13
+ - @xwiki/cristal-configuration-api@0.22.0
14
+
3
15
  ## 0.21.0
4
16
 
5
17
  ### Minor Changes
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://developer.microsoft.com/json-schemas/api-extractor/v7/api-extractor.schema.json",
3
+ "extends": "../../../api-extractor.json"
4
+ }
package/dist/index.d.ts CHANGED
@@ -25,6 +25,7 @@ import type { Ref } from "vue";
25
25
  * WikiConfigs.
26
26
  *
27
27
  * @since 0.18
28
+ * @beta
28
29
  */
29
30
  interface WikiConfigProxy {
30
31
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B;;;;;GAKG;AACH,UAAU,eAAe;IACvB;;;;OAIG;IACH,0BAA0B,IAAI,GAAG,CAAC,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC;IAE3D;;;;;OAKG;IACH,0BAA0B,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,CAAC;IAEzD;;;;;OAKG;IACH,4BAA4B,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CACxD;AAED,YAAY,EAAE,eAAe,EAAE,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,KAAK,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE/B;;;;;;GAMG;AACH,UAAU,eAAe;IACvB;;;;OAIG;IACH,0BAA0B,IAAI,GAAG,CAAC,GAAG,CAAC,MAAM,EAAE,UAAU,CAAC,CAAC,CAAC;IAE3D;;;;;OAKG;IACH,0BAA0B,CAAC,MAAM,EAAE,cAAc,GAAG,IAAI,CAAC;IAEzD;;;;;OAKG;IACH,4BAA4B,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;CACxD;AAED,YAAY,EAAE,eAAe,EAAE,CAAC"}
@@ -0,0 +1,20 @@
1
+ ## API Report File for "@xwiki/cristal-wiki-config-api"
2
+
3
+ > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
4
+
5
+ ```ts
6
+
7
+ import type { Configurations } from '@xwiki/cristal-configuration-api';
8
+ import type { Ref } from 'vue';
9
+ import type { WikiConfig } from '@xwiki/cristal-api';
10
+
11
+ // @beta
12
+ export interface WikiConfigProxy {
13
+ deleteAvailableConfiguration(configName: string): void;
14
+ getAvailableConfigurations(): Ref<Map<string, WikiConfig>>;
15
+ setAvailableConfigurations(config: Configurations): void;
16
+ }
17
+
18
+ // (No @packageDocumentation comment for this package)
19
+
20
+ ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xwiki/cristal-wiki-config-api",
3
- "version": "0.21.0",
3
+ "version": "0.22.0",
4
4
  "license": "LGPL 2.1",
5
5
  "author": "XWiki Org Community <contact@xwiki.org>",
6
6
  "homepage": "https://cristal.xwiki.org/",
@@ -18,10 +18,10 @@
18
18
  "types": "./dist/index.d.ts"
19
19
  }
20
20
  },
21
- "types": "./src/index.ts",
21
+ "types": "./dist/index.d.ts",
22
22
  "dependencies": {
23
- "@xwiki/cristal-configuration-api": "0.21.0",
24
- "@xwiki/cristal-api": "0.21.0"
23
+ "@xwiki/cristal-configuration-api": "0.22.0",
24
+ "@xwiki/cristal-api": "0.22.0"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "reflect-metadata": "0.x",
@@ -29,11 +29,12 @@
29
29
  },
30
30
  "devDependencies": {
31
31
  "typescript": "5.9.2",
32
- "vue": "3.5.18",
33
- "@xwiki/cristal-dev-config": "0.21.0"
32
+ "vue": "3.5.20",
33
+ "@xwiki/cristal-dev-config": "0.22.0"
34
34
  },
35
35
  "scripts": {
36
- "build": "rimraf dist && tsc --project tsconfig.json",
36
+ "api-extractor:local": "api-extractor run --local",
37
+ "build": "rimraf dist && tsc",
37
38
  "clean": "rimraf dist",
38
39
  "lint": "eslint \"./src/**/*.{ts,tsx,vue}\" --max-warnings=0"
39
40
  }
package/src/index.ts CHANGED
@@ -27,6 +27,7 @@ import type { Ref } from "vue";
27
27
  * WikiConfigs.
28
28
  *
29
29
  * @since 0.18
30
+ * @beta
30
31
  */
31
32
  interface WikiConfigProxy {
32
33
  /**