@mattisvensson/strapi-plugin-webatlas 0.1.6 → 0.2.1
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 +32 -5
- package/dist/_chunks/EmptyBox-7D4LrvdH.mjs +16 -0
- package/dist/_chunks/EmptyBox-DT6D5gcf.js +15 -0
- package/dist/_chunks/_baseConvert-B84_vf8X.js +864 -0
- package/dist/_chunks/_baseConvert-C2SW1VHq.mjs +865 -0
- package/dist/_chunks/{index-B3GOkpFO.js → index-B2j5uojM.js} +3140 -32
- package/dist/_chunks/{index-DWbEC3_A.mjs → index-BDU-lYsm.mjs} +14 -844
- package/dist/_chunks/{index-BoTOXEX8.mjs → index-BwErs0UT.mjs} +4 -7
- package/dist/_chunks/{index-DDVtOWSL.js → index-DC0vflKd.js} +4 -7
- package/dist/_chunks/{index-DfHrvxDY.js → index-DOVsVqnP.js} +39 -28
- package/dist/_chunks/{index-q4x-lnlr.js → index-DU_hn0uc.js} +30 -860
- package/dist/_chunks/{index-DL3LkD8O.mjs → index-Doc1ry3x.mjs} +3136 -28
- package/dist/_chunks/{index-lOv9Po4g.mjs → index-c7q9J79y.mjs} +39 -28
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/{pages/Navigation/EmptyNav.d.ts → components/UI/EmptyBox.d.ts} +1 -1
- package/dist/admin/src/components/UI/index.d.ts +3 -0
- package/dist/admin/src/hooks/useApi.d.ts +1 -1
- package/dist/server/index.js +4246 -272
- package/dist/server/index.mjs +4246 -272
- package/dist/server/src/controllers/admin.d.ts +2 -1
- package/dist/server/src/controllers/index.d.ts +2 -1
- package/dist/server/src/index.d.ts +5 -3
- package/dist/server/src/services/admin.d.ts +2 -1
- package/dist/server/src/services/client.d.ts +1 -1
- package/dist/server/src/services/index.d.ts +3 -2
- package/package.json +1 -1
- package/dist/_chunks/_commonjsHelpers-BxmBWJD2.mjs +0 -33
- package/dist/_chunks/_commonjsHelpers-Cq6wktVC.js +0 -32
|
@@ -2,8 +2,9 @@ declare const admin: () => {
|
|
|
2
2
|
updateConfig(ctx: any): Promise<any>;
|
|
3
3
|
getConfig(ctx: any): Promise<any>;
|
|
4
4
|
getRoutes(ctx: any): Promise<any>;
|
|
5
|
-
createExternalRoute(ctx: any): Promise<any>;
|
|
6
5
|
updateRoute(ctx: any): Promise<any>;
|
|
6
|
+
createExternalRoute(ctx: any): Promise<any>;
|
|
7
|
+
getRelatedRoute(ctx: any): Promise<any>;
|
|
7
8
|
getNavigation(ctx: any): Promise<any>;
|
|
8
9
|
createNavigation(ctx: any): Promise<any>;
|
|
9
10
|
updateNavigation(ctx: any): Promise<any>;
|
|
@@ -3,8 +3,9 @@ declare const _default: {
|
|
|
3
3
|
updateConfig(ctx: any): Promise<any>;
|
|
4
4
|
getConfig(ctx: any): Promise<any>;
|
|
5
5
|
getRoutes(ctx: any): Promise<any>;
|
|
6
|
-
createExternalRoute(ctx: any): Promise<any>;
|
|
7
6
|
updateRoute(ctx: any): Promise<any>;
|
|
7
|
+
createExternalRoute(ctx: any): Promise<any>;
|
|
8
|
+
getRelatedRoute(ctx: any): Promise<any>;
|
|
8
9
|
getNavigation(ctx: any): Promise<any>;
|
|
9
10
|
createNavigation(ctx: any): Promise<any>;
|
|
10
11
|
updateNavigation(ctx: any): Promise<any>;
|
|
@@ -17,8 +17,9 @@ declare const _default: {
|
|
|
17
17
|
updateConfig(ctx: any): Promise<any>;
|
|
18
18
|
getConfig(ctx: any): Promise<any>;
|
|
19
19
|
getRoutes(ctx: any): Promise<any>;
|
|
20
|
-
createExternalRoute(ctx: any): Promise<any>;
|
|
21
20
|
updateRoute(ctx: any): Promise<any>;
|
|
21
|
+
createExternalRoute(ctx: any): Promise<any>;
|
|
22
|
+
getRelatedRoute(ctx: any): Promise<any>;
|
|
22
23
|
getNavigation(ctx: any): Promise<any>;
|
|
23
24
|
createNavigation(ctx: any): Promise<any>;
|
|
24
25
|
updateNavigation(ctx: any): Promise<any>;
|
|
@@ -67,8 +68,9 @@ declare const _default: {
|
|
|
67
68
|
updateConfig(newConfig: any): Promise<string>;
|
|
68
69
|
getConfig(): Promise<any>;
|
|
69
70
|
getRoutes(): Promise<any>;
|
|
70
|
-
createExternalRoute(data: any): Promise<any>;
|
|
71
71
|
updateRoute(documentId: string, data: any): Promise<any>;
|
|
72
|
+
createExternalRoute(data: any): Promise<any>;
|
|
73
|
+
getRelatedRoute(documentId: string): Promise<any>;
|
|
72
74
|
getNavigation(documentId?: string, variant?: import("../../types").StructuredNavigationVariant): Promise<any>;
|
|
73
75
|
createNavigation(data: any): Promise<any>;
|
|
74
76
|
updateNavigation(documentId: string, data: import("../../types").NavigationInput): Promise<any>;
|
|
@@ -81,7 +83,7 @@ declare const _default: {
|
|
|
81
83
|
client: ({ strapi }: {
|
|
82
84
|
strapi: any;
|
|
83
85
|
}) => {
|
|
84
|
-
getEntityByPath(slug: string, populate: string, populateDeepDepth: string, fields: any): Promise<any>;
|
|
86
|
+
getEntityByPath(slug: string, populate: string, populateDeepDepth: string, fields: any, status?: "draft" | "published"): Promise<any>;
|
|
85
87
|
getNavigation(id: string, name: string, documentId: string, variant?: import("../../types").StructuredNavigationVariant): Promise<any>;
|
|
86
88
|
};
|
|
87
89
|
};
|
|
@@ -5,8 +5,9 @@ declare const _default: ({ strapi }: {
|
|
|
5
5
|
updateConfig(newConfig: any): Promise<string>;
|
|
6
6
|
getConfig(): Promise<any>;
|
|
7
7
|
getRoutes(): Promise<any>;
|
|
8
|
-
createExternalRoute(data: any): Promise<any>;
|
|
9
8
|
updateRoute(documentId: string, data: any): Promise<any>;
|
|
9
|
+
createExternalRoute(data: any): Promise<any>;
|
|
10
|
+
getRelatedRoute(documentId: string): Promise<any>;
|
|
10
11
|
getNavigation(documentId?: string, variant?: StructuredNavigationVariant): Promise<any>;
|
|
11
12
|
createNavigation(data: any): Promise<any>;
|
|
12
13
|
updateNavigation(documentId: string, data: NavigationInput): Promise<any>;
|
|
@@ -2,7 +2,7 @@ import { StructuredNavigationVariant } from "../../../types";
|
|
|
2
2
|
declare const _default: ({ strapi }: {
|
|
3
3
|
strapi: any;
|
|
4
4
|
}) => {
|
|
5
|
-
getEntityByPath(slug: string, populate: string, populateDeepDepth: string, fields: any): Promise<any>;
|
|
5
|
+
getEntityByPath(slug: string, populate: string, populateDeepDepth: string, fields: any, status?: 'draft' | 'published'): Promise<any>;
|
|
6
6
|
getNavigation(id: string, name: string, documentId: string, variant?: StructuredNavigationVariant): Promise<any>;
|
|
7
7
|
};
|
|
8
8
|
export default _default;
|
|
@@ -5,8 +5,9 @@ declare const _default: {
|
|
|
5
5
|
updateConfig(newConfig: any): Promise<string>;
|
|
6
6
|
getConfig(): Promise<any>;
|
|
7
7
|
getRoutes(): Promise<any>;
|
|
8
|
-
createExternalRoute(data: any): Promise<any>;
|
|
9
8
|
updateRoute(documentId: string, data: any): Promise<any>;
|
|
9
|
+
createExternalRoute(data: any): Promise<any>;
|
|
10
|
+
getRelatedRoute(documentId: string): Promise<any>;
|
|
10
11
|
getNavigation(documentId?: string, variant?: import("../../../types").StructuredNavigationVariant): Promise<any>;
|
|
11
12
|
createNavigation(data: any): Promise<any>;
|
|
12
13
|
updateNavigation(documentId: string, data: import("../../../types").NavigationInput): Promise<any>;
|
|
@@ -19,7 +20,7 @@ declare const _default: {
|
|
|
19
20
|
client: ({ strapi }: {
|
|
20
21
|
strapi: any;
|
|
21
22
|
}) => {
|
|
22
|
-
getEntityByPath(slug: string, populate: string, populateDeepDepth: string, fields: any): Promise<any>;
|
|
23
|
+
getEntityByPath(slug: string, populate: string, populateDeepDepth: string, fields: any, status?: "draft" | "published"): Promise<any>;
|
|
23
24
|
getNavigation(id: string, name: string, documentId: string, variant?: import("../../../types").StructuredNavigationVariant): Promise<any>;
|
|
24
25
|
};
|
|
25
26
|
};
|
package/package.json
CHANGED
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
2
|
-
function getDefaultExportFromCjs(x) {
|
|
3
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
4
|
-
}
|
|
5
|
-
function getAugmentedNamespace(n) {
|
|
6
|
-
if (n.__esModule) return n;
|
|
7
|
-
var f = n.default;
|
|
8
|
-
if (typeof f == "function") {
|
|
9
|
-
var a = function a2() {
|
|
10
|
-
if (this instanceof a2) {
|
|
11
|
-
return Reflect.construct(f, arguments, this.constructor);
|
|
12
|
-
}
|
|
13
|
-
return f.apply(this, arguments);
|
|
14
|
-
};
|
|
15
|
-
a.prototype = f.prototype;
|
|
16
|
-
} else a = {};
|
|
17
|
-
Object.defineProperty(a, "__esModule", { value: true });
|
|
18
|
-
Object.keys(n).forEach(function(k) {
|
|
19
|
-
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
20
|
-
Object.defineProperty(a, k, d.get ? d : {
|
|
21
|
-
enumerable: true,
|
|
22
|
-
get: function() {
|
|
23
|
-
return n[k];
|
|
24
|
-
}
|
|
25
|
-
});
|
|
26
|
-
});
|
|
27
|
-
return a;
|
|
28
|
-
}
|
|
29
|
-
export {
|
|
30
|
-
getDefaultExportFromCjs as a,
|
|
31
|
-
commonjsGlobal as c,
|
|
32
|
-
getAugmentedNamespace as g
|
|
33
|
-
};
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var commonjsGlobal = typeof globalThis !== "undefined" ? globalThis : typeof window !== "undefined" ? window : typeof global !== "undefined" ? global : typeof self !== "undefined" ? self : {};
|
|
3
|
-
function getDefaultExportFromCjs(x) {
|
|
4
|
-
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, "default") ? x["default"] : x;
|
|
5
|
-
}
|
|
6
|
-
function getAugmentedNamespace(n) {
|
|
7
|
-
if (n.__esModule) return n;
|
|
8
|
-
var f = n.default;
|
|
9
|
-
if (typeof f == "function") {
|
|
10
|
-
var a = function a2() {
|
|
11
|
-
if (this instanceof a2) {
|
|
12
|
-
return Reflect.construct(f, arguments, this.constructor);
|
|
13
|
-
}
|
|
14
|
-
return f.apply(this, arguments);
|
|
15
|
-
};
|
|
16
|
-
a.prototype = f.prototype;
|
|
17
|
-
} else a = {};
|
|
18
|
-
Object.defineProperty(a, "__esModule", { value: true });
|
|
19
|
-
Object.keys(n).forEach(function(k) {
|
|
20
|
-
var d = Object.getOwnPropertyDescriptor(n, k);
|
|
21
|
-
Object.defineProperty(a, k, d.get ? d : {
|
|
22
|
-
enumerable: true,
|
|
23
|
-
get: function() {
|
|
24
|
-
return n[k];
|
|
25
|
-
}
|
|
26
|
-
});
|
|
27
|
-
});
|
|
28
|
-
return a;
|
|
29
|
-
}
|
|
30
|
-
exports.commonjsGlobal = commonjsGlobal;
|
|
31
|
-
exports.getAugmentedNamespace = getAugmentedNamespace;
|
|
32
|
-
exports.getDefaultExportFromCjs = getDefaultExportFromCjs;
|