@xwiki/cristal-wiki-config-api 1.2.0 → 1.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xwiki/cristal-wiki-config-api",
3
- "version": "1.2.0",
3
+ "version": "1.4.0",
4
4
  "license": "LGPL 2.1",
5
5
  "author": "XWiki Org Community <contact@xwiki.org>",
6
6
  "homepage": "https://cristal.xwiki.org/",
@@ -20,8 +20,8 @@
20
20
  },
21
21
  "types": "./dist/index.d.ts",
22
22
  "dependencies": {
23
- "@xwiki/platform-api": "18.2.0",
24
- "@xwiki/platform-configuration-api": "18.2.0"
23
+ "@xwiki/platform-api": "18.4.0",
24
+ "@xwiki/platform-configuration-api": "18.4.0"
25
25
  },
26
26
  "peerDependencies": {
27
27
  "reflect-metadata": "0.x",
@@ -30,7 +30,7 @@
30
30
  "devDependencies": {
31
31
  "typescript": "5.9.3",
32
32
  "vue": "3.5.30",
33
- "@xwiki/cristal-dev-config": "1.2.0"
33
+ "@xwiki/cristal-dev-config": "1.4.0"
34
34
  },
35
35
  "scripts": {
36
36
  "api-extractor:local": "api-extractor run --local",
package/dist/index.d.ts DELETED
@@ -1,53 +0,0 @@
1
- /**
2
- * See the LICENSE file distributed with this work for additional
3
- * information regarding copyright ownership.
4
- *
5
- * This is free software; you can redistribute it and/or modify it
6
- * under the terms of the GNU Lesser General Public License as
7
- * published by the Free Software Foundation; either version 2.1 of
8
- * the License, or (at your option) any later version.
9
- *
10
- * This software is distributed in the hope that it will be useful,
11
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13
- * Lesser General Public License for more details.
14
- *
15
- * You should have received a copy of the GNU Lesser General Public
16
- * License along with this software; if not, write to the Free
17
- * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
18
- * 02110-1301 USA, or see the FSF site: http://www.fsf.org.
19
- */
20
- import type { WikiConfig } from "@xwiki/platform-api";
21
- import type { Configurations } from "@xwiki/platform-configuration-api";
22
- import type { Ref } from "vue";
23
- /**
24
- * Service that provides a reactive proxy to handle changes in available
25
- * WikiConfigs.
26
- *
27
- * @since 0.18
28
- * @beta
29
- */
30
- interface WikiConfigProxy {
31
- /**
32
- * Provide a reactive Map containing the currently available configurations.
33
- *
34
- * @returns the reactive Map
35
- */
36
- getAvailableConfigurations(): Ref<Map<string, WikiConfig>>;
37
- /**
38
- * Add or replace configurations from the set of available configurations and
39
- * trigger a change in the internal Map.
40
- *
41
- * @param config - the configurations to add or replace
42
- */
43
- setAvailableConfigurations(config: Configurations): void;
44
- /**
45
- * Delete a configuration from the set of available configurations and
46
- * trigger a change in the internal Map.
47
- *
48
- * @param configName - the name of the configuration to delete
49
- */
50
- deleteAvailableConfiguration(configName: string): void;
51
- }
52
- export type { WikiConfigProxy };
53
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;GAkBG;AAEH,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,mCAAmC,CAAC;AACxE,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"}