@mattisvensson/strapi-plugin-webatlas 0.2.4 → 0.2.6
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/_chunks/{index-C4EZHacG.mjs → index-BMQSVj43.mjs} +11 -7
- package/dist/_chunks/{index-rvOUYDZ4.mjs → index-BMlQpLGa.mjs} +1 -1
- package/dist/_chunks/{index-C3a42qmP.mjs → index-B_RPO9ty.mjs} +2 -32
- package/dist/_chunks/{index-B_a-qtdq.js → index-BvXbuF1E.js} +1 -1
- package/dist/_chunks/{index-BLQ7k9G6.js → index-D4IHmUrH.js} +1 -1
- package/dist/_chunks/{index-C9tlbXg0.js → index-DIyVy-8D.js} +2 -32
- package/dist/_chunks/{index-CnY7liYv.js → index-DrlYDm6a.js} +11 -7
- package/dist/_chunks/{index-BDCJSjey.mjs → index-uoH_HJQr.mjs} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/components/CMEditViewAside/Alias.d.ts +1 -1
- package/dist/server/index.js +16 -15
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +16 -15
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/src/content-types/index.d.ts +5 -5
- package/dist/server/src/content-types/navigation/index.d.ts +1 -1
- package/dist/server/src/content-types/navigation/schema.d.ts +1 -1
- package/dist/server/src/content-types/navitem/index.d.ts +3 -3
- package/dist/server/src/content-types/navitem/schema.d.ts +3 -3
- package/dist/server/src/content-types/route/index.d.ts +1 -1
- package/dist/server/src/content-types/route/schema.d.ts +1 -1
- package/dist/server/src/index.d.ts +5 -5
- package/package.json +1 -1
package/dist/server/index.mjs
CHANGED
|
@@ -19,7 +19,7 @@ function transformToUrl(input) {
|
|
|
19
19
|
input = input.replace(/-+/g, "-");
|
|
20
20
|
return input;
|
|
21
21
|
}
|
|
22
|
-
const version = "0.2.
|
|
22
|
+
const version = "0.2.6";
|
|
23
23
|
const keywords = [];
|
|
24
24
|
const type = "commonjs";
|
|
25
25
|
const exports = {
|
|
@@ -876,7 +876,6 @@ const register = ({ strapi: strapi2 }) => {
|
|
|
876
876
|
const { attributes } = contentType;
|
|
877
877
|
const fieldSettings = {
|
|
878
878
|
writable: true,
|
|
879
|
-
private: true,
|
|
880
879
|
configurable: false,
|
|
881
880
|
editable: false,
|
|
882
881
|
visible: true,
|
|
@@ -884,11 +883,13 @@ const register = ({ strapi: strapi2 }) => {
|
|
|
884
883
|
};
|
|
885
884
|
set$1(attributes, "webatlas_path", {
|
|
886
885
|
...fieldSettings,
|
|
887
|
-
type: "string"
|
|
886
|
+
type: "string",
|
|
887
|
+
private: false
|
|
888
888
|
});
|
|
889
889
|
set$1(attributes, "webatlas_override", {
|
|
890
890
|
...fieldSettings,
|
|
891
|
-
type: "boolean"
|
|
891
|
+
type: "boolean",
|
|
892
|
+
private: true
|
|
892
893
|
});
|
|
893
894
|
});
|
|
894
895
|
};
|
|
@@ -972,10 +973,10 @@ const schema$2 = {
|
|
|
972
973
|
},
|
|
973
974
|
navitem: {
|
|
974
975
|
type: "relation",
|
|
975
|
-
|
|
976
|
+
configurable: true,
|
|
977
|
+
relation: "oneToMany",
|
|
976
978
|
target: "plugin::webatlas.navitem",
|
|
977
|
-
mappedBy: "route"
|
|
978
|
-
configurable: false
|
|
979
|
+
mappedBy: "route"
|
|
979
980
|
},
|
|
980
981
|
wrapper: {
|
|
981
982
|
type: "boolean",
|
|
@@ -1026,10 +1027,10 @@ const schema$1 = {
|
|
|
1026
1027
|
},
|
|
1027
1028
|
items: {
|
|
1028
1029
|
type: "relation",
|
|
1030
|
+
configurable: false,
|
|
1029
1031
|
relation: "oneToMany",
|
|
1030
1032
|
target: "plugin::webatlas.navitem",
|
|
1031
|
-
|
|
1032
|
-
mappedBy: "plugin::webatlas.navigation"
|
|
1033
|
+
mappedBy: "navigation"
|
|
1033
1034
|
}
|
|
1034
1035
|
}
|
|
1035
1036
|
};
|
|
@@ -1059,23 +1060,23 @@ const schema = {
|
|
|
1059
1060
|
attributes: {
|
|
1060
1061
|
navigation: {
|
|
1061
1062
|
type: "relation",
|
|
1063
|
+
configurable: false,
|
|
1062
1064
|
relation: "manyToOne",
|
|
1063
1065
|
target: "plugin::webatlas.navigation",
|
|
1064
|
-
configurable: false,
|
|
1065
1066
|
inversedBy: "items"
|
|
1066
1067
|
},
|
|
1067
1068
|
route: {
|
|
1068
1069
|
type: "relation",
|
|
1069
|
-
|
|
1070
|
+
configurable: false,
|
|
1071
|
+
relation: "manyToOne",
|
|
1070
1072
|
target: "plugin::webatlas.route",
|
|
1071
|
-
inversedBy: "navitem"
|
|
1072
|
-
configurable: false
|
|
1073
|
+
inversedBy: "navitem"
|
|
1073
1074
|
},
|
|
1074
1075
|
parent: {
|
|
1075
1076
|
type: "relation",
|
|
1077
|
+
configurable: false,
|
|
1076
1078
|
relation: "oneToOne",
|
|
1077
|
-
target: "plugin::webatlas.navitem"
|
|
1078
|
-
configurable: false
|
|
1079
|
+
target: "plugin::webatlas.navitem"
|
|
1079
1080
|
},
|
|
1080
1081
|
order: {
|
|
1081
1082
|
type: "integer",
|