@mattisvensson/strapi-plugin-webatlas 0.11.2 → 0.11.3
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/README.md +7 -6
- package/dist/admin/FullLoader-Btjb2W2p.mjs +1 -0
- package/dist/admin/FullLoader-Btjb2W2p.mjs.map +1 -0
- package/dist/admin/FullLoader-Da2n70bJ.js +1 -0
- package/dist/admin/FullLoader-Da2n70bJ.js.map +1 -0
- package/dist/admin/{SettingTitle-B0quw3f8.js → SettingTitle-BdiDHFXF.js} +2 -1
- package/dist/admin/SettingTitle-BdiDHFXF.js.map +1 -0
- package/dist/admin/{SettingTitle-HMfQOJnK.mjs → SettingTitle-CcNfx_4T.mjs} +2 -1
- package/dist/admin/SettingTitle-CcNfx_4T.mjs.map +1 -0
- package/dist/admin/de-B5pRvs13.mjs +1 -0
- package/dist/admin/de-B5pRvs13.mjs.map +1 -0
- package/dist/admin/de-CqU1FU8C.js +1 -0
- package/dist/admin/de-CqU1FU8C.js.map +1 -0
- package/dist/admin/en-BE-zzIv8.mjs +1 -0
- package/dist/admin/en-BE-zzIv8.mjs.map +1 -0
- package/dist/admin/en-C7I90FwV.js +1 -0
- package/dist/admin/en-C7I90FwV.js.map +1 -0
- package/dist/admin/{index-Bmg-ERct.mjs → index-BMTlUOrK.mjs} +3 -2
- package/dist/admin/index-BMTlUOrK.mjs.map +1 -0
- package/dist/admin/{index-B79ELMEC.mjs → index-BX3hiURm.mjs} +10 -38
- package/dist/admin/index-BX3hiURm.mjs.map +1 -0
- package/dist/admin/{index-9_HhKDUC.mjs → index-BdyLsiR4.mjs} +2 -1
- package/dist/admin/index-BdyLsiR4.mjs.map +1 -0
- package/dist/admin/{index-Cx_mktdk.js → index-BkPtrXJO.js} +10 -38
- package/dist/admin/index-BkPtrXJO.js.map +1 -0
- package/dist/admin/{index-YdWxpvOH.js → index-CEBh9c4X.js} +3 -2
- package/dist/admin/index-CEBh9c4X.js.map +1 -0
- package/dist/admin/{index-BEVoxEAm.js → index-DBG6vBGU.js} +2 -1
- package/dist/admin/index-DBG6vBGU.js.map +1 -0
- package/dist/admin/{index-Cz_k_jjp.mjs → index-DkEReTkt.mjs} +3 -2
- package/dist/admin/index-DkEReTkt.mjs.map +1 -0
- package/dist/admin/{index-oEJT_mvw.mjs → index-DkfE_arE.mjs} +27 -8
- package/dist/admin/index-DkfE_arE.mjs.map +1 -0
- package/dist/admin/{index-D2hB1vTw.js → index-Sj2FxwAu.js} +3 -2
- package/dist/admin/index-Sj2FxwAu.js.map +1 -0
- package/dist/admin/{index-C8YjuuOx.js → index-uW7YJoRU.js} +27 -8
- package/dist/admin/index-uW7YJoRU.js.map +1 -0
- package/dist/admin/index.js +2 -1
- package/dist/admin/index.js.map +1 -0
- package/dist/admin/index.mjs +2 -1
- package/dist/admin/index.mjs.map +1 -0
- package/dist/server/index.js +554 -1390
- package/dist/server/index.js.map +1 -0
- package/dist/server/index.mjs +554 -1390
- package/dist/server/index.mjs.map +1 -0
- package/package.json +14 -13
- package/dist/admin/src/index.d.ts +0 -12
- package/dist/server/src/index.d.ts +0 -305
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "0.11.
|
|
2
|
+
"version": "0.11.3",
|
|
3
3
|
"keywords": [],
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"exports": {
|
|
@@ -41,39 +41,40 @@
|
|
|
41
41
|
"@dnd-kit/utilities": "^3.2.2"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@strapi/admin": "^5.
|
|
45
|
-
"@strapi/pack-up": "^5.0.0",
|
|
46
|
-
"@strapi/utils": "^5.0.0",
|
|
44
|
+
"@strapi/admin": "^5.42.1",
|
|
47
45
|
"@strapi/content-manager": "^5.0.0",
|
|
48
46
|
"@strapi/design-system": "^2.0.0",
|
|
49
47
|
"@strapi/icons": "^2.0.0",
|
|
48
|
+
"@strapi/pack-up": "^5.0.0",
|
|
50
49
|
"@strapi/sdk-plugin": "^6.0.0",
|
|
51
|
-
"@strapi/strapi": "^5.
|
|
50
|
+
"@strapi/strapi": "^5.42.1",
|
|
52
51
|
"@strapi/typescript-utils": "^5.0.0",
|
|
52
|
+
"@strapi/utils": "^5.42.1",
|
|
53
|
+
"@types/lodash": "^4",
|
|
53
54
|
"@types/react": "^19.0.0",
|
|
54
55
|
"@types/react-dom": "^19.0.0",
|
|
55
|
-
"@types/lodash": "^4",
|
|
56
|
-
"eslint": "^8.57.1",
|
|
57
56
|
"cypress": "^13.9.0",
|
|
58
57
|
"cypress-terminal-report": "^6.0.2",
|
|
58
|
+
"eslint": "^8.57.1",
|
|
59
59
|
"jest": "^29.7.0",
|
|
60
60
|
"prettier": "^3.4.2",
|
|
61
61
|
"react": "^18.0.0",
|
|
62
|
-
"react-intl": "^6.0.0",
|
|
63
62
|
"react-dom": "^18.0.0",
|
|
63
|
+
"react-intl": "^6.0.0",
|
|
64
64
|
"react-router-dom": "^6.0.0",
|
|
65
65
|
"supertest": "^7.0.0",
|
|
66
|
-
"typescript": "^5.7.2"
|
|
66
|
+
"typescript": "^5.7.2",
|
|
67
|
+
"yalc": "^1.0.0-pre.53"
|
|
67
68
|
},
|
|
68
69
|
"peerDependencies": {
|
|
69
|
-
"@strapi/admin": "^5.
|
|
70
|
-
"@strapi/utils": "^5.0.0",
|
|
71
|
-
"@strapi/strapi": "^5.0.0",
|
|
70
|
+
"@strapi/admin": "^5.42.1",
|
|
72
71
|
"@strapi/design-system": "^2.0.0",
|
|
73
72
|
"@strapi/icons": "^2.0.0",
|
|
74
|
-
"
|
|
73
|
+
"@strapi/strapi": "^5.42.1",
|
|
74
|
+
"@strapi/utils": "^5.42.1",
|
|
75
75
|
"react": "^17.0.0 || ^18.0.0",
|
|
76
76
|
"react-dom": "^17.0.0 || ^18.0.0",
|
|
77
|
+
"react-intl": "^6.0.0",
|
|
77
78
|
"react-router-dom": "^6.0.0",
|
|
78
79
|
"styled-components": "^6.0.0"
|
|
79
80
|
},
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { StrapiApp } from '@strapi/admin/strapi-admin';
|
|
2
|
-
declare const _default: {
|
|
3
|
-
register(app: StrapiApp): void;
|
|
4
|
-
bootstrap(app: StrapiApp): void;
|
|
5
|
-
registerTrads({ locales }: {
|
|
6
|
-
locales: string[];
|
|
7
|
-
}): Promise<{
|
|
8
|
-
data: any;
|
|
9
|
-
locale: string;
|
|
10
|
-
}[]>;
|
|
11
|
-
};
|
|
12
|
-
export default _default;
|
|
@@ -1,305 +0,0 @@
|
|
|
1
|
-
declare const _default: {
|
|
2
|
-
register: ({ strapi }: {
|
|
3
|
-
strapi: import('@strapi/types/dist/core').Strapi;
|
|
4
|
-
}) => void;
|
|
5
|
-
bootstrap: ({ strapi }: {
|
|
6
|
-
strapi: import('@strapi/types/dist/core').Strapi;
|
|
7
|
-
}) => Promise<void>;
|
|
8
|
-
destroy: ({ strapi }: {
|
|
9
|
-
strapi: import('@strapi/types/dist/core').Strapi;
|
|
10
|
-
}) => void;
|
|
11
|
-
config: {
|
|
12
|
-
default: {
|
|
13
|
-
selectedContentTypes: any[];
|
|
14
|
-
navigation: {
|
|
15
|
-
maxDepth: number;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
validator(): void;
|
|
19
|
-
};
|
|
20
|
-
controllers: {
|
|
21
|
-
admin: () => {
|
|
22
|
-
updateConfig(ctx: any): Promise<any>;
|
|
23
|
-
getConfig(ctx: any): Promise<any>;
|
|
24
|
-
getRoute(ctx: any): Promise<any>;
|
|
25
|
-
getAllRoutes(ctx: any): Promise<any>;
|
|
26
|
-
getRelatedRoute(ctx: any): Promise<any>;
|
|
27
|
-
getProhibitedRouteIds(ctx: any): Promise<any>;
|
|
28
|
-
getNavigation(ctx: any): Promise<any>;
|
|
29
|
-
createNavigation(ctx: any): Promise<any>;
|
|
30
|
-
updateNavigation(ctx: any): Promise<any>;
|
|
31
|
-
updateNavigationItemStructure(ctx: any): Promise<any>;
|
|
32
|
-
deleteNavigation(ctx: any): Promise<any>;
|
|
33
|
-
checkUniquePath(ctx: any): Promise<any>;
|
|
34
|
-
};
|
|
35
|
-
client: ({ strapi }: {
|
|
36
|
-
strapi: import('@strapi/types/dist/core').Strapi;
|
|
37
|
-
}) => {
|
|
38
|
-
getEntityByPath(ctx: any): Promise<any>;
|
|
39
|
-
getNavigation(ctx: any): Promise<any>;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
routes: {
|
|
43
|
-
admin: {
|
|
44
|
-
type: string;
|
|
45
|
-
routes: {
|
|
46
|
-
method: string;
|
|
47
|
-
path: string;
|
|
48
|
-
handler: string;
|
|
49
|
-
config: {
|
|
50
|
-
policies: (string | {
|
|
51
|
-
name: string;
|
|
52
|
-
config: {
|
|
53
|
-
actions: string[];
|
|
54
|
-
};
|
|
55
|
-
})[];
|
|
56
|
-
};
|
|
57
|
-
}[];
|
|
58
|
-
};
|
|
59
|
-
'content-api': {
|
|
60
|
-
type: string;
|
|
61
|
-
routes: {
|
|
62
|
-
method: string;
|
|
63
|
-
path: string;
|
|
64
|
-
handler: string;
|
|
65
|
-
config: {
|
|
66
|
-
policies: any[];
|
|
67
|
-
};
|
|
68
|
-
}[];
|
|
69
|
-
};
|
|
70
|
-
};
|
|
71
|
-
services: {
|
|
72
|
-
admin: ({ strapi }: {
|
|
73
|
-
strapi: any;
|
|
74
|
-
}) => {
|
|
75
|
-
updateConfig(newConfig: Partial<import('../../types').PluginConfig>): Promise<import('../../types').PluginConfig | "Error. Couldn't update config">;
|
|
76
|
-
getConfig(): Promise<any>;
|
|
77
|
-
getRoute(documentId: string): Promise<any>;
|
|
78
|
-
getAllRoutes(): Promise<any>;
|
|
79
|
-
getRelatedRoute(documentId: string): Promise<any>;
|
|
80
|
-
getProhibitedRouteIds(documentId: string): Promise<string[]>;
|
|
81
|
-
getNavigation(documentId?: string, variant?: import('../../types').StructuredNavigationVariant | "namesOnly"): Promise<any>;
|
|
82
|
-
createNavigation(name: string, visible: boolean): Promise<any>;
|
|
83
|
-
updateNavigation(documentId: string, data: import('../../types').NavigationInput): Promise<any>;
|
|
84
|
-
deleteNavigation(documentId: string): Promise<any>;
|
|
85
|
-
updateNavigationItemStructure(navigationId: string, navigationItems: import('../../types').NestedNavItem[]): Promise<boolean>;
|
|
86
|
-
checkUniquePath(initialPath: string, targetRouteDocumentId?: string): Promise<string>;
|
|
87
|
-
};
|
|
88
|
-
client: ({ strapi }: {
|
|
89
|
-
strapi: any;
|
|
90
|
-
}) => {
|
|
91
|
-
getEntityByPath(slug: string, populate: string, populateDeepDepth: string, fields: any, status?: "published" | "draft"): Promise<any>;
|
|
92
|
-
getNavigation(id: string, name: string, slug: string, documentId: string, variant?: import('../../types').StructuredNavigationVariant): Promise<any>;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
contentTypes: {
|
|
96
|
-
route: {
|
|
97
|
-
schema: {
|
|
98
|
-
collectionName: string;
|
|
99
|
-
info: {
|
|
100
|
-
singularName: string;
|
|
101
|
-
pluralName: string;
|
|
102
|
-
displayName: string;
|
|
103
|
-
name: string;
|
|
104
|
-
};
|
|
105
|
-
options: {
|
|
106
|
-
increments: boolean;
|
|
107
|
-
timestamps: boolean;
|
|
108
|
-
comment: string;
|
|
109
|
-
};
|
|
110
|
-
pluginOptions: {
|
|
111
|
-
'content-manager': {
|
|
112
|
-
visible: boolean;
|
|
113
|
-
};
|
|
114
|
-
'content-type-builder': {
|
|
115
|
-
visible: boolean;
|
|
116
|
-
};
|
|
117
|
-
};
|
|
118
|
-
attributes: {
|
|
119
|
-
relatedContentType: {
|
|
120
|
-
type: string;
|
|
121
|
-
required: boolean;
|
|
122
|
-
configurable: boolean;
|
|
123
|
-
};
|
|
124
|
-
relatedId: {
|
|
125
|
-
type: string;
|
|
126
|
-
required: boolean;
|
|
127
|
-
configurable: boolean;
|
|
128
|
-
};
|
|
129
|
-
relatedDocumentId: {
|
|
130
|
-
type: string;
|
|
131
|
-
required: boolean;
|
|
132
|
-
configurable: boolean;
|
|
133
|
-
};
|
|
134
|
-
title: {
|
|
135
|
-
type: string;
|
|
136
|
-
required: boolean;
|
|
137
|
-
configurable: boolean;
|
|
138
|
-
};
|
|
139
|
-
path: {
|
|
140
|
-
type: string;
|
|
141
|
-
configurable: boolean;
|
|
142
|
-
};
|
|
143
|
-
canonicalPath: {
|
|
144
|
-
type: string;
|
|
145
|
-
configurable: boolean;
|
|
146
|
-
};
|
|
147
|
-
slug: {
|
|
148
|
-
type: string;
|
|
149
|
-
configurable: boolean;
|
|
150
|
-
};
|
|
151
|
-
uidPath: {
|
|
152
|
-
type: string;
|
|
153
|
-
configurable: boolean;
|
|
154
|
-
};
|
|
155
|
-
isOverride: {
|
|
156
|
-
type: string;
|
|
157
|
-
default: boolean;
|
|
158
|
-
configurable: boolean;
|
|
159
|
-
};
|
|
160
|
-
active: {
|
|
161
|
-
type: string;
|
|
162
|
-
default: boolean;
|
|
163
|
-
configurable: boolean;
|
|
164
|
-
};
|
|
165
|
-
navitem: {
|
|
166
|
-
type: string;
|
|
167
|
-
configurable: boolean;
|
|
168
|
-
relation: string;
|
|
169
|
-
target: string;
|
|
170
|
-
mappedBy: string;
|
|
171
|
-
};
|
|
172
|
-
type: {
|
|
173
|
-
type: string;
|
|
174
|
-
enum: string[];
|
|
175
|
-
default: string;
|
|
176
|
-
configurable: boolean;
|
|
177
|
-
required: boolean;
|
|
178
|
-
};
|
|
179
|
-
parent: {
|
|
180
|
-
type: string;
|
|
181
|
-
relation: string;
|
|
182
|
-
target: string;
|
|
183
|
-
inversedBy: string;
|
|
184
|
-
configurable: boolean;
|
|
185
|
-
};
|
|
186
|
-
children: {
|
|
187
|
-
type: string;
|
|
188
|
-
relation: string;
|
|
189
|
-
target: string;
|
|
190
|
-
mappedBy: string;
|
|
191
|
-
configurable: boolean;
|
|
192
|
-
};
|
|
193
|
-
};
|
|
194
|
-
};
|
|
195
|
-
};
|
|
196
|
-
navigation: {
|
|
197
|
-
schema: {
|
|
198
|
-
collectionName: string;
|
|
199
|
-
info: {
|
|
200
|
-
singularName: string;
|
|
201
|
-
pluralName: string;
|
|
202
|
-
displayName: string;
|
|
203
|
-
name: string;
|
|
204
|
-
};
|
|
205
|
-
options: {
|
|
206
|
-
increments: boolean;
|
|
207
|
-
timestamps: boolean;
|
|
208
|
-
comment: string;
|
|
209
|
-
};
|
|
210
|
-
pluginOptions: {
|
|
211
|
-
'content-manager': {
|
|
212
|
-
visible: boolean;
|
|
213
|
-
};
|
|
214
|
-
'content-type-builder': {
|
|
215
|
-
visible: boolean;
|
|
216
|
-
};
|
|
217
|
-
};
|
|
218
|
-
attributes: {
|
|
219
|
-
name: {
|
|
220
|
-
type: string;
|
|
221
|
-
configurable: boolean;
|
|
222
|
-
required: boolean;
|
|
223
|
-
};
|
|
224
|
-
slug: {
|
|
225
|
-
type: string;
|
|
226
|
-
target: string;
|
|
227
|
-
configurable: boolean;
|
|
228
|
-
required: boolean;
|
|
229
|
-
};
|
|
230
|
-
visible: {
|
|
231
|
-
type: string;
|
|
232
|
-
default: boolean;
|
|
233
|
-
configurable: boolean;
|
|
234
|
-
};
|
|
235
|
-
items: {
|
|
236
|
-
type: string;
|
|
237
|
-
configurable: boolean;
|
|
238
|
-
relation: string;
|
|
239
|
-
target: string;
|
|
240
|
-
mappedBy: string;
|
|
241
|
-
};
|
|
242
|
-
};
|
|
243
|
-
};
|
|
244
|
-
};
|
|
245
|
-
navitem: {
|
|
246
|
-
schema: {
|
|
247
|
-
collectionName: string;
|
|
248
|
-
info: {
|
|
249
|
-
singularName: string;
|
|
250
|
-
pluralName: string;
|
|
251
|
-
displayName: string;
|
|
252
|
-
name: string;
|
|
253
|
-
};
|
|
254
|
-
options: {
|
|
255
|
-
increments: boolean;
|
|
256
|
-
timestamps: boolean;
|
|
257
|
-
comment: string;
|
|
258
|
-
};
|
|
259
|
-
pluginOptions: {
|
|
260
|
-
'content-manager': {
|
|
261
|
-
visible: boolean;
|
|
262
|
-
};
|
|
263
|
-
'content-type-builder': {
|
|
264
|
-
visible: boolean;
|
|
265
|
-
};
|
|
266
|
-
};
|
|
267
|
-
attributes: {
|
|
268
|
-
navigation: {
|
|
269
|
-
type: string;
|
|
270
|
-
configurable: boolean;
|
|
271
|
-
relation: string;
|
|
272
|
-
target: string;
|
|
273
|
-
inversedBy: string;
|
|
274
|
-
};
|
|
275
|
-
route: {
|
|
276
|
-
type: string;
|
|
277
|
-
configurable: boolean;
|
|
278
|
-
relation: string;
|
|
279
|
-
target: string;
|
|
280
|
-
inversedBy: string;
|
|
281
|
-
};
|
|
282
|
-
parent: {
|
|
283
|
-
type: string;
|
|
284
|
-
configurable: boolean;
|
|
285
|
-
relation: string;
|
|
286
|
-
target: string;
|
|
287
|
-
};
|
|
288
|
-
order: {
|
|
289
|
-
type: string;
|
|
290
|
-
default: number;
|
|
291
|
-
};
|
|
292
|
-
};
|
|
293
|
-
};
|
|
294
|
-
};
|
|
295
|
-
};
|
|
296
|
-
policies: {
|
|
297
|
-
'has-permissions': (policyContext: any, config: any, { strapi }: any) => boolean;
|
|
298
|
-
};
|
|
299
|
-
middlewares: {
|
|
300
|
-
sanitizeWebatlas: (config: any, { strapi }: {
|
|
301
|
-
strapi: import('@strapi/types/dist/core').Strapi;
|
|
302
|
-
}) => (ctx: any, next: any) => Promise<void>;
|
|
303
|
-
};
|
|
304
|
-
};
|
|
305
|
-
export default _default;
|