@paroicms/site-generator-plugin 0.14.2 → 0.15.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.
|
@@ -119,7 +119,7 @@ function mapRowToStep(row, sessionId) {
|
|
|
119
119
|
kind,
|
|
120
120
|
siteId: strVal(row.siteId),
|
|
121
121
|
siteUrl,
|
|
122
|
-
|
|
122
|
+
adminUiUrl: `${siteUrl}/adm`,
|
|
123
123
|
loginEmail: strVal(row.loginEmail),
|
|
124
124
|
loginPassword: strVal(row.loginPassword),
|
|
125
125
|
localizedValues: JSON.parse(strVal(row.siteLocalizedValues)),
|
|
@@ -2,7 +2,7 @@ import { generateSlug } from "@paroicms/public-anywhere-lib";
|
|
|
2
2
|
export function createSiteSchemaFromAnalysis(analysis) {
|
|
3
3
|
const { siteProperties } = analysis;
|
|
4
4
|
const siteSchema = {
|
|
5
|
-
|
|
5
|
+
ParoiCMSSiteSchemaFormatVersion: "9",
|
|
6
6
|
languages: [siteProperties.language],
|
|
7
7
|
plugins: [
|
|
8
8
|
"@paroicms/contact-form-plugin",
|
|
@@ -228,7 +228,7 @@ function toRoutingDocumentNodeType(typeName, saType) {
|
|
|
228
228
|
ogType: saType.ogType,
|
|
229
229
|
route: generateSlug(saType.label),
|
|
230
230
|
withFeaturedImage: typeName !== "home" && !!saType.entryPage,
|
|
231
|
-
|
|
231
|
+
adminUi: saType.taxonomy
|
|
232
232
|
? {
|
|
233
233
|
menuPlacement: "popup",
|
|
234
234
|
}
|
|
@@ -41,7 +41,7 @@ Then, in the locales, the translations of custom field types must be in a sub-ke
|
|
|
41
41
|
"fields": {
|
|
42
42
|
"myCustomField": {
|
|
43
43
|
"label": "My custom field",
|
|
44
|
-
"description": "This is a description that will be displayed in a tooltip of the
|
|
44
|
+
"description": "This is a description that will be displayed in a tooltip of the admin-ui"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
47
47
|
}
|