@xwiki/cristal-rename-api 0.24.0 → 0.25.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/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js.map +1 -1
- package/etc/cristal-rename-api.api.md +1 -1
- package/package.json +4 -4
- package/src/index.ts +1 -1
- package/CHANGELOG.md +0 -122
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.es.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.es.js","sources":["../src/index.ts"],"sourcesContent":["/**\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n */\n\nimport type { PageData } from \"@xwiki/
|
|
1
|
+
{"version":3,"file":"index.es.js","sources":["../src/index.ts"],"sourcesContent":["/**\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n */\n\nimport type { PageData } from \"@xwiki/platform-api\";\n\n/**\n * A PageRenameManager can handle page rename operations.\n *\n * @since 0.14\n * @beta\n **/\ninterface PageRenameManager {\n /**\n * Change the reference of a given page.\n *\n * @param pageData - the page for which to get the revisions\n * @param newReference - the new reference for the page\n * @param preserveChildren - whether to also affect children\n * @returns true if this was successful, false with the reason otherwise\n */\n updateReference(\n page: PageData,\n newReference: string,\n preserveChildren: boolean,\n ): Promise<{ success: boolean; error?: string }>;\n\n /* TODO: Fix CRISTAL-84 and add operations to update backlinks and set-up\n automatic redirects. */\n}\n\n/**\n * A PageRenameManagerProvider returns the instance of {@link PageRenameManager}\n * matching the current wiki configuration.\n *\n * @since 0.14\n * @beta\n **/\ninterface PageRenameManagerProvider {\n /**\n * Check whether an instance of PageRenameManager matching the current wiki\n * configuration exists.\n *\n * @returns whether or not an instance exists\n */\n has(): boolean;\n\n /**\n * Return the instance of PageRenameManager matching the current wiki\n * configuration.\n *\n * @returns the instance of PageRenameManager\n */\n get(): PageRenameManager;\n}\n\n/**\n * The component id of PageRenameManager.\n * @since 0.14\n * @beta\n */\nconst name = \"PageRenameManager\";\n\nexport { type PageRenameManager, type PageRenameManagerProvider, name };\n"],"names":["name"],"mappings":"AA6EA,MAAMA,IAAO;"}
|
package/dist/index.umd.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.umd.js","sources":["../src/index.ts"],"sourcesContent":["/**\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n */\n\nimport type { PageData } from \"@xwiki/
|
|
1
|
+
{"version":3,"file":"index.umd.js","sources":["../src/index.ts"],"sourcesContent":["/**\n * See the LICENSE file distributed with this work for additional\n * information regarding copyright ownership.\n *\n * This is free software; you can redistribute it and/or modify it\n * under the terms of the GNU Lesser General Public License as\n * published by the Free Software Foundation; either version 2.1 of\n * the License, or (at your option) any later version.\n *\n * This software is distributed in the hope that it will be useful,\n * but WITHOUT ANY WARRANTY; without even the implied warranty of\n * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\n * Lesser General Public License for more details.\n *\n * You should have received a copy of the GNU Lesser General Public\n * License along with this software; if not, write to the Free\n * Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA\n * 02110-1301 USA, or see the FSF site: http://www.fsf.org.\n */\n\nimport type { PageData } from \"@xwiki/platform-api\";\n\n/**\n * A PageRenameManager can handle page rename operations.\n *\n * @since 0.14\n * @beta\n **/\ninterface PageRenameManager {\n /**\n * Change the reference of a given page.\n *\n * @param pageData - the page for which to get the revisions\n * @param newReference - the new reference for the page\n * @param preserveChildren - whether to also affect children\n * @returns true if this was successful, false with the reason otherwise\n */\n updateReference(\n page: PageData,\n newReference: string,\n preserveChildren: boolean,\n ): Promise<{ success: boolean; error?: string }>;\n\n /* TODO: Fix CRISTAL-84 and add operations to update backlinks and set-up\n automatic redirects. */\n}\n\n/**\n * A PageRenameManagerProvider returns the instance of {@link PageRenameManager}\n * matching the current wiki configuration.\n *\n * @since 0.14\n * @beta\n **/\ninterface PageRenameManagerProvider {\n /**\n * Check whether an instance of PageRenameManager matching the current wiki\n * configuration exists.\n *\n * @returns whether or not an instance exists\n */\n has(): boolean;\n\n /**\n * Return the instance of PageRenameManager matching the current wiki\n * configuration.\n *\n * @returns the instance of PageRenameManager\n */\n get(): PageRenameManager;\n}\n\n/**\n * The component id of PageRenameManager.\n * @since 0.14\n * @beta\n */\nconst name = \"PageRenameManager\";\n\nexport { type PageRenameManager, type PageRenameManagerProvider, name };\n"],"names":["name"],"mappings":"8OA6EA,MAAMA,EAAO"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xwiki/cristal-rename-api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.25.0",
|
|
4
4
|
"license": "LGPL 2.1",
|
|
5
5
|
"author": "XWiki Org Community <contact@xwiki.org>",
|
|
6
6
|
"homepage": "https://cristal.xwiki.org/",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
"main": "./dist/index.es.js",
|
|
29
29
|
"types": "./dist/index.d.ts",
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@xwiki/
|
|
31
|
+
"@xwiki/platform-api": "18.0.0-1766398944"
|
|
32
32
|
},
|
|
33
33
|
"devDependencies": {
|
|
34
34
|
"typescript": "5.9.3",
|
|
35
|
-
"vite": "7.
|
|
36
|
-
"@xwiki/cristal-dev-config": "0.
|
|
35
|
+
"vite": "7.2.7",
|
|
36
|
+
"@xwiki/cristal-dev-config": "0.25.0"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"api-extractor:local": "api-extractor run --local",
|
package/src/index.ts
CHANGED
package/CHANGELOG.md
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
# @xwiki/cristal-rename-api
|
|
2
|
-
|
|
3
|
-
## 0.23.0
|
|
4
|
-
|
|
5
|
-
### Minor Changes
|
|
6
|
-
|
|
7
|
-
- Cristal 0.23 Release
|
|
8
|
-
|
|
9
|
-
### Patch Changes
|
|
10
|
-
|
|
11
|
-
- Updated dependencies
|
|
12
|
-
- @xwiki/cristal-api@0.23.0
|
|
13
|
-
|
|
14
|
-
## 0.22.0
|
|
15
|
-
|
|
16
|
-
### Minor Changes
|
|
17
|
-
|
|
18
|
-
- Cristal 0.22 Release
|
|
19
|
-
|
|
20
|
-
### Patch Changes
|
|
21
|
-
|
|
22
|
-
- Updated dependencies
|
|
23
|
-
- @xwiki/cristal-api@0.22.0
|
|
24
|
-
|
|
25
|
-
## 0.21.0
|
|
26
|
-
|
|
27
|
-
### Minor Changes
|
|
28
|
-
|
|
29
|
-
- Cristal 0.21 Release
|
|
30
|
-
|
|
31
|
-
### Patch Changes
|
|
32
|
-
|
|
33
|
-
- Updated dependencies
|
|
34
|
-
- @xwiki/cristal-api@0.21.0
|
|
35
|
-
|
|
36
|
-
## 0.20.0
|
|
37
|
-
|
|
38
|
-
### Minor Changes
|
|
39
|
-
|
|
40
|
-
- Cristal 0.20 Release
|
|
41
|
-
|
|
42
|
-
### Patch Changes
|
|
43
|
-
|
|
44
|
-
- Updated dependencies
|
|
45
|
-
- @xwiki/cristal-api@0.20.0
|
|
46
|
-
|
|
47
|
-
## 0.20.0-rc.0
|
|
48
|
-
|
|
49
|
-
### Minor Changes
|
|
50
|
-
|
|
51
|
-
- Cristal 0.20-rc-1 Release
|
|
52
|
-
|
|
53
|
-
### Patch Changes
|
|
54
|
-
|
|
55
|
-
- Updated dependencies
|
|
56
|
-
- @xwiki/cristal-api@0.20.0-rc.0
|
|
57
|
-
|
|
58
|
-
## 0.19.0
|
|
59
|
-
|
|
60
|
-
### Minor Changes
|
|
61
|
-
|
|
62
|
-
- 3eea53e: Cristal 0.19 Release
|
|
63
|
-
|
|
64
|
-
### Patch Changes
|
|
65
|
-
|
|
66
|
-
- Updated dependencies [3eea53e]
|
|
67
|
-
- @xwiki/cristal-api@0.19.0
|
|
68
|
-
|
|
69
|
-
## 0.18.0
|
|
70
|
-
|
|
71
|
-
### Minor Changes
|
|
72
|
-
|
|
73
|
-
- Cristal 0.18 Release
|
|
74
|
-
|
|
75
|
-
### Patch Changes
|
|
76
|
-
|
|
77
|
-
- Updated dependencies
|
|
78
|
-
- @xwiki/cristal-api@0.18.0
|
|
79
|
-
|
|
80
|
-
## 0.17.0
|
|
81
|
-
|
|
82
|
-
### Minor Changes
|
|
83
|
-
|
|
84
|
-
- Cristal 0.17 Release
|
|
85
|
-
|
|
86
|
-
### Patch Changes
|
|
87
|
-
|
|
88
|
-
- Updated dependencies
|
|
89
|
-
- @xwiki/cristal-api@0.17.0
|
|
90
|
-
|
|
91
|
-
## 0.16.0
|
|
92
|
-
|
|
93
|
-
### Minor Changes
|
|
94
|
-
|
|
95
|
-
- Cristal 0.16 Release
|
|
96
|
-
|
|
97
|
-
### Patch Changes
|
|
98
|
-
|
|
99
|
-
- Updated dependencies
|
|
100
|
-
- @xwiki/cristal-api@0.16.0
|
|
101
|
-
|
|
102
|
-
## 0.15.0
|
|
103
|
-
|
|
104
|
-
### Minor Changes
|
|
105
|
-
|
|
106
|
-
- Cristal 0.15 Release
|
|
107
|
-
|
|
108
|
-
### Patch Changes
|
|
109
|
-
|
|
110
|
-
- Updated dependencies
|
|
111
|
-
- @xwiki/cristal-api@0.15.0
|
|
112
|
-
|
|
113
|
-
## 0.14.0
|
|
114
|
-
|
|
115
|
-
### Minor Changes
|
|
116
|
-
|
|
117
|
-
- 3e5f853: Cristal 0.14 Release
|
|
118
|
-
|
|
119
|
-
### Patch Changes
|
|
120
|
-
|
|
121
|
-
- Updated dependencies [3e5f853]
|
|
122
|
-
- @xwiki/cristal-api@0.14.0
|