@paroicms/server 1.23.0 → 1.24.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.
Files changed (247) hide show
  1. package/README.md +2 -2
  2. package/ddl/main.ddl.sql +1 -1
  3. package/dist/common/child-ordering-query.js +3 -3
  4. package/dist/common/child-ordering-query.js.map +1 -1
  5. package/dist/common/data-format.js +8 -8
  6. package/dist/common/data-format.js.map +1 -1
  7. package/dist/common/media-handles.helpers.d.ts +2 -2
  8. package/dist/common/media-handles.helpers.js +7 -7
  9. package/dist/common/media-handles.helpers.js.map +1 -1
  10. package/dist/common/serve-text-or.d.ts +1 -1
  11. package/dist/common/serve-text-or.js.map +1 -1
  12. package/dist/common/text-cache.js +10 -7
  13. package/dist/common/text-cache.js.map +1 -1
  14. package/dist/context.d.ts +6 -6
  15. package/dist/context.js +6 -6
  16. package/dist/context.js.map +1 -1
  17. package/dist/helpers/label-translator.helper.d.ts +2 -2
  18. package/dist/helpers/label-translator.helper.js +2 -2
  19. package/dist/helpers/label-translator.helper.js.map +1 -1
  20. package/dist/helpers/simple-i18n.d.ts +2 -2
  21. package/dist/helpers/simple-i18n.js +8 -8
  22. package/dist/helpers/simple-i18n.js.map +1 -1
  23. package/dist/helpers/url.helpers.d.ts +2 -2
  24. package/dist/helpers/url.helpers.js +2 -2
  25. package/dist/helpers/url.helpers.js.map +1 -1
  26. package/dist/helpers/utils-helper.d.ts +5 -0
  27. package/dist/helpers/utils-helper.js +8 -1
  28. package/dist/helpers/utils-helper.js.map +1 -1
  29. package/dist/liquidjs-tools/liquidjs-drop.d.ts +1 -1
  30. package/dist/liquidjs-tools/liquidjs-drop.js +3 -3
  31. package/dist/liquidjs-tools/liquidjs-drop.js.map +1 -1
  32. package/dist/liquidjs-tools/liquidjs-rendering/render-liquidjs.js +4 -0
  33. package/dist/liquidjs-tools/liquidjs-rendering/render-liquidjs.js.map +1 -1
  34. package/dist/liquidjs-tools/liquidjs-utils.d.ts +1 -1
  35. package/dist/liquidjs-tools/liquidjs-utils.js +5 -5
  36. package/dist/liquidjs-tools/liquidjs-utils.js.map +1 -1
  37. package/dist/modules/app.controller.js +1 -1
  38. package/dist/modules/app.controller.js.map +1 -1
  39. package/dist/modules/core/account/account.queries.js +10 -10
  40. package/dist/modules/core/account/account.queries.js.map +1 -1
  41. package/dist/modules/core/account/account.schema.d.ts +3 -3
  42. package/dist/modules/core/account/account.schema.js +6 -6
  43. package/dist/modules/core/account/account.schema.js.map +1 -1
  44. package/dist/modules/core/auth/auth.service.js +6 -6
  45. package/dist/modules/core/auth/auth.service.js.map +1 -1
  46. package/dist/modules/core/auth/auth.types.d.ts +1 -1
  47. package/dist/modules/core/document/document.resolver.d.ts +2 -2
  48. package/dist/modules/core/document/document.resolver.extend.d.ts +2 -2
  49. package/dist/modules/core/document/document.resolver.extend.js +5 -5
  50. package/dist/modules/core/document/document.resolver.extend.js.map +1 -1
  51. package/dist/modules/core/document/document.resolver.js +5 -5
  52. package/dist/modules/core/document/document.resolver.js.map +1 -1
  53. package/dist/modules/core/document/document.schema.d.ts +3 -3
  54. package/dist/modules/core/document/document.schema.js +6 -6
  55. package/dist/modules/core/document/document.schema.js.map +1 -1
  56. package/dist/modules/core/document/load-documents.queries.d.ts +4 -7
  57. package/dist/modules/core/document/load-documents.queries.js +26 -19
  58. package/dist/modules/core/document/load-documents.queries.js.map +1 -1
  59. package/dist/modules/core/document/save-documents.queries.d.ts +3 -3
  60. package/dist/modules/core/document/save-documents.queries.js +19 -17
  61. package/dist/modules/core/document/save-documents.queries.js.map +1 -1
  62. package/dist/modules/core/fields/_fields.helpers.d.ts +1 -1
  63. package/dist/modules/core/fields/_fields.helpers.js +5 -5
  64. package/dist/modules/core/fields/_fields.helpers.js.map +1 -1
  65. package/dist/modules/core/fields/fields.resolver.d.ts +5 -5
  66. package/dist/modules/core/fields/fields.resolver.js +13 -13
  67. package/dist/modules/core/fields/fields.resolver.js.map +1 -1
  68. package/dist/modules/core/fields/load-fields.queries.d.ts +3 -3
  69. package/dist/modules/core/fields/load-fields.queries.js +16 -16
  70. package/dist/modules/core/fields/load-fields.queries.js.map +1 -1
  71. package/dist/modules/core/fields/quill-delta.js +2 -2
  72. package/dist/modules/core/fields/quill-delta.js.map +1 -1
  73. package/dist/modules/core/fields/save-fields.queries.d.ts +2 -2
  74. package/dist/modules/core/fields/save-fields.queries.js +15 -9
  75. package/dist/modules/core/fields/save-fields.queries.js.map +1 -1
  76. package/dist/modules/core/media/media-upload.controller.js +1 -1
  77. package/dist/modules/core/media/media-upload.controller.js.map +1 -1
  78. package/dist/modules/core/media/media.d.ts +3 -3
  79. package/dist/modules/core/media/media.js +4 -4
  80. package/dist/modules/core/media/media.js.map +1 -1
  81. package/dist/modules/core/media/media.resolver.d.ts +1 -1
  82. package/dist/modules/core/media/media.resolver.js +8 -8
  83. package/dist/modules/core/media/media.resolver.js.map +1 -1
  84. package/dist/modules/core/media/media.schema.d.ts +1 -1
  85. package/dist/modules/core/media/media.schema.js +2 -2
  86. package/dist/modules/core/media/media.schema.js.map +1 -1
  87. package/dist/modules/core/part/part.queries.d.ts +1 -1
  88. package/dist/modules/core/part/part.queries.js +18 -15
  89. package/dist/modules/core/part/part.queries.js.map +1 -1
  90. package/dist/modules/core/part/part.resolver.d.ts +1 -1
  91. package/dist/modules/core/part/part.resolver.extend.d.ts +1 -1
  92. package/dist/modules/core/part/part.resolver.extend.js +2 -2
  93. package/dist/modules/core/part/part.resolver.extend.js.map +1 -1
  94. package/dist/modules/core/part/part.resolver.js +4 -4
  95. package/dist/modules/core/part/part.resolver.js.map +1 -1
  96. package/dist/modules/core/part/part.schema.d.ts +1 -1
  97. package/dist/modules/core/part/part.schema.js +2 -2
  98. package/dist/modules/core/part/part.schema.js.map +1 -1
  99. package/dist/modules/core/section/section-wrap.resolver.d.ts +2 -2
  100. package/dist/modules/core/section/section-wrap.resolver.js +12 -12
  101. package/dist/modules/core/section/section-wrap.resolver.js.map +1 -1
  102. package/dist/modules/core/section/section.queries.d.ts +2 -2
  103. package/dist/modules/core/section/section.queries.js +30 -29
  104. package/dist/modules/core/section/section.queries.js.map +1 -1
  105. package/dist/modules/core/section/section.resolver.js +2 -2
  106. package/dist/modules/core/section/section.resolver.js.map +1 -1
  107. package/dist/modules/core/section/section.schema.d.ts +4 -4
  108. package/dist/modules/core/section/section.schema.js +8 -8
  109. package/dist/modules/core/section/section.schema.js.map +1 -1
  110. package/dist/modules/core/unprotected/unprotected.resolver.js +7 -7
  111. package/dist/modules/core/unprotected/unprotected.resolver.js.map +1 -1
  112. package/dist/modules/core/unprotected/unprotected.schema.d.ts +3 -3
  113. package/dist/modules/core/unprotected/unprotected.schema.js +12 -12
  114. package/dist/modules/core/unprotected/unprotected.schema.js.map +1 -1
  115. package/dist/modules/private-api.module.js +1 -1
  116. package/dist/modules/private-api.module.js.map +1 -1
  117. package/dist/modules/public-api/mail/contact-form-mail.js +7 -7
  118. package/dist/modules/public-api/mail/contact-form-mail.js.map +1 -1
  119. package/dist/modules/public-api/mail/mail.dto.d.ts +1 -1
  120. package/dist/modules/public-api/mail/mail.dto.js +2 -2
  121. package/dist/modules/public-api/mail/mail.dto.js.map +1 -1
  122. package/dist/modules/public-api/public-api-controller.js +14 -14
  123. package/dist/modules/public-api/public-api-controller.js.map +1 -1
  124. package/dist/modules/public-api/search-text/search-text.dto.d.ts +1 -1
  125. package/dist/modules/public-api/search-text/search-text.dto.js +2 -2
  126. package/dist/modules/public-api/search-text/search-text.dto.js.map +1 -1
  127. package/dist/modules/public-api/search-text/search-text.queries.d.ts +5 -5
  128. package/dist/modules/public-api/search-text/search-text.queries.js +16 -16
  129. package/dist/modules/public-api/search-text/search-text.queries.js.map +1 -1
  130. package/dist/modules/public-site/helpers/format-date.helper.d.ts +1 -1
  131. package/dist/modules/public-site/helpers/format-date.helper.js +6 -6
  132. package/dist/modules/public-site/helpers/format-date.helper.js.map +1 -1
  133. package/dist/modules/public-site/liquidjs-filters/format-date.js +3 -3
  134. package/dist/modules/public-site/liquidjs-filters/format-date.js.map +1 -1
  135. package/dist/modules/public-site/liquidjs-filters/format-number.js +3 -3
  136. package/dist/modules/public-site/liquidjs-filters/format-number.js.map +1 -1
  137. package/dist/modules/public-site/liquidjs-filters/info-filter.js +22 -14
  138. package/dist/modules/public-site/liquidjs-filters/info-filter.js.map +1 -1
  139. package/dist/modules/public-site/liquidjs-filters/translate-filter.js +3 -3
  140. package/dist/modules/public-site/liquidjs-filters/translate-filter.js.map +1 -1
  141. package/dist/modules/public-site/liquidjs-tags/{get-page-tag.d.ts → get-doc-tag.d.ts} +4 -2
  142. package/dist/modules/public-site/liquidjs-tags/{get-page-tag.js → get-doc-tag.js} +19 -16
  143. package/dist/modules/public-site/liquidjs-tags/get-doc-tag.js.map +1 -0
  144. package/dist/modules/public-site/liquidjs-tags/{get-pages-tag.d.ts → get-docs-tag.d.ts} +4 -2
  145. package/dist/modules/public-site/liquidjs-tags/{get-pages-tag.js → get-docs-tag.js} +17 -14
  146. package/dist/modules/public-site/liquidjs-tags/get-docs-tag.js.map +1 -0
  147. package/dist/modules/public-site/liquidjs-tags/use-image-tag.js +2 -2
  148. package/dist/modules/public-site/liquidjs-tags/use-image-tag.js.map +1 -1
  149. package/dist/modules/public-site/media-serve/_media-serve-helpers.d.ts +2 -2
  150. package/dist/modules/public-site/media-serve/_media-serve-helpers.js +1 -1
  151. package/dist/modules/public-site/media-serve/_media-serve-helpers.js.map +1 -1
  152. package/dist/modules/public-site/media-serve/media-serve.controller.js +5 -5
  153. package/dist/modules/public-site/media-serve/media-serve.controller.js.map +1 -1
  154. package/dist/modules/public-site/public-route/make-url.d.ts +1 -1
  155. package/dist/modules/public-site/public-route/make-url.js +18 -18
  156. package/dist/modules/public-site/public-route/make-url.js.map +1 -1
  157. package/dist/modules/public-site/public-route/public-route-parser.d.ts +1 -1
  158. package/dist/modules/public-site/public-route/public-route-parser.js +8 -8
  159. package/dist/modules/public-site/public-route/public-route-parser.js.map +1 -1
  160. package/dist/modules/public-site/public-route/raw-document-payload.d.ts +4 -4
  161. package/dist/modules/public-site/public-route/raw-document-payload.js +16 -16
  162. package/dist/modules/public-site/public-route/raw-document-payload.js.map +1 -1
  163. package/dist/modules/public-site/public-site.middleware.js +1 -1
  164. package/dist/modules/public-site/public-site.middleware.js.map +1 -1
  165. package/dist/modules/public-site/serve-document/serve-document.js +10 -12
  166. package/dist/modules/public-site/serve-document/serve-document.js.map +1 -1
  167. package/dist/public-payload/{create-page-drop.d.ts → create-doc-drop.d.ts} +2 -2
  168. package/dist/public-payload/{create-page-drop.js → create-doc-drop.js} +46 -42
  169. package/dist/public-payload/create-doc-drop.js.map +1 -0
  170. package/dist/public-payload/{create-page-part-drop.d.ts → create-doc-part-drop.d.ts} +2 -2
  171. package/dist/public-payload/{create-page-part-drop.js → create-doc-part-drop.js} +15 -15
  172. package/dist/public-payload/create-doc-part-drop.js.map +1 -0
  173. package/dist/public-payload/doc-values.queries.d.ts +27 -0
  174. package/dist/public-payload/{page-values.queries.js → doc-values.queries.js} +28 -26
  175. package/dist/public-payload/doc-values.queries.js.map +1 -0
  176. package/dist/public-payload/excerpt.queries.d.ts +1 -1
  177. package/dist/public-payload/excerpt.queries.js +2 -2
  178. package/dist/public-payload/excerpt.queries.js.map +1 -1
  179. package/dist/public-payload/field-values.d.ts +1 -1
  180. package/dist/public-payload/field-values.js +3 -3
  181. package/dist/public-payload/field-values.js.map +1 -1
  182. package/dist/public-payload/get-siblings.queries.js +11 -9
  183. package/dist/public-payload/get-siblings.queries.js.map +1 -1
  184. package/dist/public-payload/load-default-image.d.ts +1 -1
  185. package/dist/public-payload/load-default-image.js +4 -4
  186. package/dist/public-payload/load-default-image.js.map +1 -1
  187. package/dist/public-payload/make-basic-payload.d.ts +1 -1
  188. package/dist/public-payload/make-basic-payload.js +5 -5
  189. package/dist/public-payload/make-basic-payload.js.map +1 -1
  190. package/dist/public-payload/make-image-available.d.ts +3 -3
  191. package/dist/public-payload/make-image-available.js +3 -3
  192. package/dist/public-payload/make-image-available.js.map +1 -1
  193. package/dist/public-payload/parts.queries.d.ts +1 -1
  194. package/dist/public-payload/parts.queries.js +25 -25
  195. package/dist/public-payload/parts.queries.js.map +1 -1
  196. package/dist/public-payload/public-payload.types.d.ts +29 -29
  197. package/dist/public-payload/site-payload.d.ts +1 -1
  198. package/dist/public-payload/site-payload.js +10 -10
  199. package/dist/public-payload/site-payload.js.map +1 -1
  200. package/dist/public-payload/taxonomies.queries.d.ts +2 -2
  201. package/dist/public-payload/taxonomies.queries.js +12 -12
  202. package/dist/public-payload/taxonomies.queries.js.map +1 -1
  203. package/dist/public-payload/translations.queries.d.ts +3 -3
  204. package/dist/public-payload/translations.queries.js +21 -21
  205. package/dist/public-payload/translations.queries.js.map +1 -1
  206. package/dist/site-context/create-site-context.js +8 -6
  207. package/dist/site-context/create-site-context.js.map +1 -1
  208. package/dist/site-context/db-init/ddl-migration.js +7 -7
  209. package/dist/site-context/db-init/ddl-migration.js.map +1 -1
  210. package/dist/site-context/db-init/init-routing-points.js +13 -13
  211. package/dist/site-context/db-init/init-routing-points.js.map +1 -1
  212. package/dist/site-context/site-context.types.d.ts +1 -1
  213. package/dist/site-context/theme-conf-reader.js +6 -6
  214. package/dist/site-context/theme-conf-reader.js.map +1 -1
  215. package/dist/site-schema/common-schema-reader.js +1 -1
  216. package/dist/site-schema/common-schema-reader.js.map +1 -1
  217. package/dist/site-schema/merged-schema-lib.d.ts +2 -2
  218. package/dist/site-schema/merged-schema-lib.js +7 -7
  219. package/dist/site-schema/merged-schema-lib.js.map +1 -1
  220. package/dist/site-schema/read-locales.d.ts +3 -3
  221. package/dist/site-schema/read-locales.js +35 -35
  222. package/dist/site-schema/read-locales.js.map +1 -1
  223. package/dist/site-schema/site-schema-factory.js +28 -28
  224. package/dist/site-schema/site-schema-factory.js.map +1 -1
  225. package/dist/site-schema/site-schema-lib-reader.js +1 -1
  226. package/dist/site-schema/site-schema-lib-reader.js.map +1 -1
  227. package/dist/types.to.json +1 -1
  228. package/package.json +8 -8
  229. package/schema.gql +24 -34
  230. package/site-schema-lib/common-schema.json +1 -1
  231. package/site-schema-lib/fields.site-schema.json +1 -1
  232. package/site-schema-lib/gallery-page.site-schema.json +1 -1
  233. package/site-schema-lib/lowcost.site-schema.json +1 -1
  234. package/site-schema-lib/media-policies.site-schema.json +1 -1
  235. package/site-schema-lib/portfolio.site-schema.json +1 -1
  236. package/site-schema-lib/post.site-schema.json +1 -1
  237. package/site-schema-lib/simple-pages.site-schema.json +1 -1
  238. package/site-schema-lib/special-page.site-schema.json +1 -1
  239. package/site-schema-lib/tour.site-schema.json +1 -1
  240. package/site-schema-lib/tour.site-schema.l10n.en.json +1 -1
  241. package/site-schema-lib/tour.site-schema.l10n.fr.json +1 -1
  242. package/dist/modules/public-site/liquidjs-tags/get-page-tag.js.map +0 -1
  243. package/dist/modules/public-site/liquidjs-tags/get-pages-tag.js.map +0 -1
  244. package/dist/public-payload/create-page-drop.js.map +0 -1
  245. package/dist/public-payload/create-page-part-drop.js.map +0 -1
  246. package/dist/public-payload/page-values.queries.d.ts +0 -27
  247. package/dist/public-payload/page-values.queries.js.map +0 -1
@@ -1 +1 @@
1
- {"./configuration-types":{"namedTypes":[{"name":"Configuration","exported":true,"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"SingleSiteConfiguration"},{"kind":"localRef","refName":"MultisiteConfiguration"}]},{"name":"ConfigurationBase","exported":true,"kind":"interface","properties":[{"name":"thisServer","type":{"kind":"localRef","refName":"ThisServerConf"},"optional":true,"docComment":"@deprecated Move the sub-properties in the parent."},{"name":"port","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"It is required except if the legacy `thisServer` is still used."},{"name":"hostname","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true},{"name":"publicProtocol","type":{"kind":"composite","op":"union","types":[{"kind":"literal","literal":"http"},{"kind":"literal","literal":"https"}]},"optional":true,"docComment":"Default is `\"http\"`."},{"name":"publicPort","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true},{"name":"boPort","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true},{"name":"allowRobots","type":{"kind":"name","group":"primitive","refName":"boolean"}},{"name":"enableCache","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true},{"name":"immutableAssets","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true},{"name":"cacheTimeToIdle","type":{"kind":"composite","op":"union","types":[{"kind":"name","group":"primitive","refName":"string"},{"kind":"literal","literal":"disabled"},{"kind":"literal","literal":"infinite"}]},"optional":true,"docComment":"For example: `\"14d\"`."},{"name":"clearCacheAfterStart","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true},{"name":"clearImageCacheAfterStart","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true},{"name":"log","type":{"kind":"localRef","refName":"LogConf"},"optional":true,"docComment":"@deprecated Replace `log.level` by `logLevel`, and `log.file` by `logFile`."},{"name":"logLevel","type":{"kind":"composite","op":"union","types":[{"kind":"literal","literal":"silent"},{"kind":"literal","literal":"error"},{"kind":"literal","literal":"warn"},{"kind":"literal","literal":"info"},{"kind":"literal","literal":"stats"},{"kind":"literal","literal":"debug"},{"kind":"literal","literal":"trace"}]},"optional":true},{"name":"logFile","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true,"docComment":"Omit for stdout."},{"name":"graphqlDevTools","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true},{"name":"generateMissingDatabases","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true},{"name":"googleAuth","type":{"kind":"localRef","refName":"GoogleAuthConf"},"optional":true},{"name":"awsSesMail","type":{"kind":"localRef","refName":"AwsSesMailConf"},"optional":true},{"name":"googleRecaptcha","type":{"kind":"localRef","refName":"GoogleRecaptchaConf"},"optional":true},{"name":"imageProcessor","type":{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"ImageProcessorConf"},{"kind":"localRef","refName":"LegacyImageProcessorConf"}]},"optional":true},{"name":"devAccount","type":{"kind":"localRef","refName":"DevAccount"},"optional":true},{"name":"platformAdminAccounts","type":{"kind":"array","itemType":{"kind":"localRef","refName":"PlatformAdminAccount"}},"optional":true}]},{"name":"SingleSiteConfiguration","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"ConfigurationBase"},{"kind":"interface","properties":[{"name":"singleSite","type":{"kind":"localRef","refName":"SingleSiteConf"}}]}]},{"name":"MultisiteConfiguration","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"ConfigurationBase"},{"kind":"interface","properties":[{"name":"platform","type":{"kind":"interface","properties":[{"name":"dataDir","type":{"kind":"name","group":"primitive","refName":"string"}}]}},{"name":"sitePacks","type":{"kind":"array","itemType":{"kind":"localRef","refName":"SitePackOrLegacyConf"}}}]}]},{"name":"ThisServerConf","exported":true,"kind":"interface","properties":[{"name":"port","type":{"kind":"name","group":"primitive","refName":"number"}},{"name":"publicPort","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true},{"name":"boPublicPort","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true},{"name":"hostName","type":{"kind":"composite","op":"union","types":[{"kind":"name","group":"primitive","refName":"string"},{"kind":"name","group":"primitive","refName":"null"}]},"optional":true},{"name":"https","type":{"kind":"name","group":"primitive","refName":"boolean"}}]},{"name":"LogConf","exported":true,"kind":"interface","properties":[{"name":"level","type":{"kind":"composite","op":"union","types":[{"kind":"literal","literal":"silent"},{"kind":"literal","literal":"error"},{"kind":"literal","literal":"warn"},{"kind":"literal","literal":"info"},{"kind":"literal","literal":"stats"},{"kind":"literal","literal":"debug"},{"kind":"literal","literal":"trace"}]}},{"name":"file","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true,"docComment":"Omit for stdout."}]},{"name":"SingleSiteConf","exported":true,"kind":"interface","properties":[{"name":"siteDir","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"dataDir","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"cacheDir","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"backupDir","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"fqdn","type":{"kind":"name","group":"primitive","refName":"string"}}]},{"name":"SitePackOrLegacyConf","exported":true,"kind":"composite","op":"union","types":[{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"SitePackConf"},{"kind":"localRef","refName":"LegacyFqdnSitePackConf"},{"kind":"localRef","refName":"LegacySubDomainSitePackConf"}]}]},{"name":"SitePackConf","exported":true,"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"FqdnSitePackConf"},{"kind":"localRef","refName":"SubDomainSitePackConf"}]},{"name":"SitePackConfBase","exported":true,"kind":"interface","properties":[{"name":"packName","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"sitesDir","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true},{"name":"dataDir","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"cacheDir","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"backupDir","type":{"kind":"name","group":"primitive","refName":"string"}}]},{"name":"FqdnSitePackConf","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"SitePackConfBase"},{"kind":"interface","properties":[{"name":"serveOn","type":{"kind":"literal","literal":"fqdn"}}]}]},{"name":"LegacyFqdnSitePackConf","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"SitePackConfBase"},{"kind":"interface","properties":[{"name":"serveAs","type":{"kind":"literal","literal":"fqdn"},"docComment":"@deprecated Renamed to `serveOn`"}]}]},{"name":"SubDomainSitePackConf","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"SitePackConfBase"},{"kind":"interface","properties":[{"name":"serveOn","type":{"kind":"literal","literal":"subDomain"}},{"name":"parentDomain","type":{"kind":"name","group":"primitive","refName":"string"}}]}]},{"name":"LegacySubDomainSitePackConf","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"SitePackConfBase"},{"kind":"interface","properties":[{"name":"serveAs","type":{"kind":"literal","literal":"subDomain"},"docComment":"@deprecated Renamed to `serveOn`"},{"name":"parentDomain","type":{"kind":"name","group":"primitive","refName":"string"}}]}]},{"name":"GoogleAuthConf","exported":true,"kind":"interface","properties":[{"name":"disabled","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true},{"name":"fqdn","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"clientId","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"clientSecret","type":{"kind":"name","group":"primitive","refName":"string"}}]},{"name":"AwsSesMailConf","exported":true,"kind":"interface","properties":[{"name":"disabled","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true},{"name":"from","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"accessKeyId","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"secretAccessKey","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"region","type":{"kind":"name","group":"primitive","refName":"string"}}]},{"name":"GoogleRecaptchaConf","exported":true,"kind":"interface","properties":[{"name":"disabled","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true},{"name":"siteKey","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"secretKey","type":{"kind":"name","group":"primitive","refName":"string"}}]},{"name":"ImageProcessorConf","exported":true,"kind":"interface","properties":[{"name":"cpuCoresPerFile","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true},{"name":"allowConcurrency","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true}]},{"name":"LegacyImageProcessorConf","exported":true,"kind":"interface","properties":[{"name":"cpuCoresPerFile","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true},{"name":"oneSharpAtATime","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true}]},{"name":"DevAccount","exported":true,"kind":"interface","properties":[{"name":"email","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"name","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"password","type":{"kind":"name","group":"primitive","refName":"string"}}]},{"name":"PlatformAdminAccount","exported":true,"kind":"interface","properties":[{"name":"email","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"name","type":{"kind":"name","group":"primitive","refName":"string"}}]}]},"./l10n-types":{"namedTypes":[{"name":"JsonOfLanguageSchemaLocales","exported":true,"kind":"interface","properties":[{"name":"siteFieldLib","type":{"kind":"interface","indexSignature":{"keyName":"fieldName","keyType":"string","type":{"kind":"localRef","refName":"JsonOfLabelLocales"}}},"optional":true},{"name":"sectionFieldLib","type":{"kind":"interface","indexSignature":{"keyName":"fieldName","keyType":"string","type":{"kind":"localRef","refName":"JsonOfLabelLocales"}}},"optional":true},{"name":"site","type":{"kind":"interface","properties":[{"name":"fields","type":{"kind":"interface","indexSignature":{"keyName":"fieldName","keyType":"string","type":{"kind":"localRef","refName":"JsonOfLabelLocales"}}},"optional":true}]},"optional":true},{"name":"documentTypes","type":{"kind":"interface","indexSignature":{"keyName":"leafType","keyType":"string","type":{"kind":"localRef","refName":"JsonOfLabelLocales"}}},"optional":true},{"name":"partTypes","type":{"kind":"interface","indexSignature":{"keyName":"leafType","keyType":"string","type":{"kind":"localRef","refName":"JsonOfLabelLocales"}}},"optional":true}]},{"name":"JsonOfLabelLocales","exported":true,"kind":"interface","indexSignature":{"keyName":"key","keyType":"string","type":{"kind":"composite","op":"union","types":[{"kind":"name","group":"primitive","refName":"string"},{"kind":"localRef","refName":"JsonOfLabelLocales"}]}}}]},"./site-schema-json-types":{"namedTypes":[{"name":"JsonOfCommonSchema","exported":true,"docComment":"The common schema is currently an internal file. Here is its typing.","kind":"interface","properties":[{"name":"schemaEngineVersion","type":{"kind":"name","group":"primitive","refName":"string"},"docComment":"This is the version of the schema engine."},{"name":"langs","type":{"kind":"array","itemType":{"kind":"name","group":"primitive","refName":"string"}},"docComment":"Specify the list of 2-letters language codes that can be used in the websites.\n\n@example [\"en\", \"fr\"]`"},{"name":"site","type":{"kind":"interface","properties":[{"name":"fields","type":{"kind":"array","itemType":{"kind":"localRef","refName":"JsonOfFieldType"}}}]}}]},{"name":"JsonOfSiteSchemaBase","exported":true,"docComment":"This properties are part of a site schema, and part of the internal library as well.","kind":"interface","properties":[{"name":"schemaEngineVersion","type":{"kind":"name","group":"primitive","refName":"string"},"docComment":"This is the version of the schema engine."},{"name":"langs","type":{"kind":"array","itemType":{"kind":"name","group":"primitive","refName":"string"}},"docComment":"Specify the list of 2-letters language codes of the website. The first language is the default language.\n\n@example `[\"en\", \"fr\"]`"},{"name":"usePlugins","type":{"kind":"array","itemType":{"kind":"name","group":"primitive","refName":"string"}},"optional":true,"docComment":"List of plugins that are used in the schema.\n@example [\"site:video\"]"},{"name":"useModules","type":{"kind":"array","itemType":{"kind":"name","group":"primitive","refName":"string"}},"optional":true,"docComment":"Allows you to load other configuration schema in module form\n@example [\"media-policies\", \"simple-page\"]"},{"name":"site","type":{"kind":"localRef","refName":"JsonOfSiteDataSchema"},"optional":true},{"name":"partTypes","type":{"kind":"array","itemType":{"kind":"localRef","refName":"JsonOfPartSchema"}},"optional":true,"docComment":"The different parts that can be used in documents."},{"name":"mediaPolicies","type":{"kind":"array","itemType":{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfMediaPolicy"},{"kind":"name","group":"primitive","refName":"string"}]}},"optional":true,"docComment":"Media policies"},{"name":"imageQualityPolicy","type":{"kind":"array","itemType":{"kind":"localRef","refName":"JsonOfImageCompressionQualityPolicy"}},"optional":true,"docComment":"We can set the image compression quality here. The list must be ordered from the lowest area\nto the highest.\n@example\n```json\n{\n \"areaLimitPx\": 120000,\n \"quality\": 90\n},\n{\n \"areaLimitPx\": 750000,\n \"quality\": 80\n},\n{\n \"quality\": 70\n}\n```"}]},{"name":"JsonOfSiteDataSchema","exported":true,"kind":"interface","properties":[{"name":"fields","type":{"kind":"array","itemType":{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfFieldType"},{"kind":"name","group":"primitive","refName":"string"}]}},"optional":true,"docComment":"The fields of the site. They will be added to the required fields `[\"title\", \"contactEmail\", \"favicon\", \"ogImage\"]`.\n\n@example `[\"logo\", \"slogan\", \"phone\"]`"}]},{"name":"JsonOfSiteSchema","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfSiteSchemaBase"},{"kind":"interface","properties":[{"name":"siteFieldLib","type":{"kind":"array","itemType":{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfFieldType"},{"kind":"name","group":"primitive","refName":"string"}]}},"optional":true},{"name":"sectionFieldLib","type":{"kind":"array","itemType":{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfFieldType"},{"kind":"name","group":"primitive","refName":"string"}]}},"optional":true},{"name":"documentTypes","type":{"kind":"array","itemType":{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfDocumentType"},{"kind":"name","group":"primitive","refName":"string"}]}},"optional":true,"docComment":"If missing, then `[\"home\"]` is taken by default."}]}]},{"name":"JsonOfSiteSchemaModule","exported":true,"docComment":"The site schema module","kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfSiteSchemaBase"},{"kind":"interface","properties":[{"name":"siteFieldLib","type":{"kind":"array","itemType":{"kind":"localRef","refName":"JsonOfFieldType"}},"optional":true,"docComment":"Allows you to specify the different fields to add as site properties.\n\nParoiCMS is a dynamic CMS; then it does not impose a structure regarding the\nsite configuration values. As an example of configuration data, we have the\ntitle, logo, slogan, contacts etc...\n\n@see {@link JsonOfFieldType}"},{"name":"sectionFieldLib","type":{"kind":"array","itemType":{"kind":"localRef","refName":"JsonOfFieldType"}},"optional":true,"docComment":"Allows you to specify the different fields of a document\n\nThe structure of a document is not imposed. You can choose to\nhave for your document to have the following fields: title, content, media gallery.\n@see {@link JsonOfFieldType}\n@see {@link JsonOfModuleDocumentType}"},{"name":"documentTypes","type":{"kind":"array","itemType":{"kind":"localRef","refName":"JsonOfModuleDocumentType"}},"optional":true,"docComment":"Allows you to add the different types of documents that will be handled on the site.\n@see {@link JsonOfModuleDocumentType}"}]}]},{"name":"JsonOfModuleDocumentType","exported":true,"docComment":"A document is a web page. For example, a block article, a service, or a contact page is\na document. What all these elements have in common is that they can be edited in the back-office\nand published on the public site.","kind":"interface","properties":[{"name":"leafType","type":{"kind":"name","group":"primitive","refName":"string"},"docComment":"This is the identifier of the document type."},{"name":"route","type":{"kind":"composite","op":"union","types":[{"kind":"name","group":"primitive","refName":"string"},{"kind":"interface","indexSignature":{"keyName":"lang","keyType":"string","type":{"kind":"name","group":"primitive","refName":"string"}}}]},"optional":true,"docComment":"@example\n```json\n \"route\": {\n \"en\": \"posts\",\n \"fr\": \"articles\"\n },\n```"},{"name":"relativeIdGenerator","type":{"kind":"array","itemType":{"kind":"name","group":"ts","refName":"any"}},"optional":true,"docComment":"@example `[\"default\", 6]`"},{"name":"children","type":{"kind":"array","itemType":{"kind":"name","group":"primitive","refName":"string"}},"optional":true,"docComment":"Types of children that are allowed for the document."},{"name":"childOrdering","type":{"kind":"localRef","refName":"JsonOfChildOrdering"},"optional":true,"docComment":"We define how to order the children here."},{"name":"childLimit","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"The maximum number of children."},{"name":"partLists","type":{"kind":"array","itemType":{"kind":"localRef","refName":"JsonOfPartListSchema"}},"optional":true,"docComment":"The lists of parts in the document."},{"name":"useTaxonomies","type":{"kind":"array","itemType":{"kind":"localRef","refName":"JsonOfUseTaxonomy"}},"optional":true,"docComment":"The list of taxonomies used in the document."},{"name":"withData","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true,"docComment":"Value `false` means that the document is just a hierarchy parent for other documents. But it\nhas no content itself."},{"name":"fields","type":{"kind":"array","itemType":{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfFieldType"},{"kind":"name","group":"primitive","refName":"string"}]}},"optional":true,"docComment":"The list of fields in the document."},{"name":"mediaPolicy","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true,"docComment":"The name of the media policy."},{"name":"ogType","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true,"docComment":"@see[Open Graph Protocol](https://ogp.me/)\n@example `\"article\"`"},{"name":"autoPublish","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true,"docComment":"Value `true` means that the document will be automatically published without being a\ndraft before."},{"name":"disableFeaturedImage","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true}]},{"name":"JsonOfChildOrdering","exported":true,"docComment":"Child odering method.\n@default \"manual\"","kind":"composite","op":"union","types":[{"kind":"array","itemType":{"kind":"name","group":"primitive","refName":"string"}},{"kind":"literal","literal":"manual"},{"kind":"name","group":"primitive","refName":"string"}]},{"name":"JsonOfDocumentType","exported":true,"docComment":"Document type","kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfModuleDocumentType"},{"kind":"interface","properties":[{"name":"from","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true}]}]},{"name":"JsonOfPartListSchema","exported":true,"docComment":"This is the definition of a list of parts.","kind":"interface","properties":[{"name":"listName","type":{"kind":"name","group":"primitive","refName":"string"},"docComment":"This is the identifier of the part list."},{"name":"orderBy","type":{"kind":"literal","literal":"manual"},"docComment":"Only `\"manual\"` is currently supported."},{"name":"partLeafTypes","type":{"kind":"array","itemType":{"kind":"name","group":"primitive","refName":"string"}},"docComment":"Part types that can be in the list."},{"name":"partLimit","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"Maximum number of parts in the list."}]},{"name":"JsonOfPartSchema","exported":true,"docComment":"This is part schema","kind":"interface","properties":[{"name":"leafType","type":{"kind":"name","group":"primitive","refName":"string"},"docComment":"This is the identifier of the part type."},{"name":"withData","type":{"kind":"name","group":"primitive","refName":"boolean"},"docComment":"Always `true`."},{"name":"fields","type":{"kind":"array","itemType":{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfFieldType"},{"kind":"name","group":"primitive","refName":"string"}]}},"optional":true,"docComment":"The list of fields in the part."},{"name":"mediaPolicy","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true,"docComment":"Give the name of the media policy, if there is one."}]},{"name":"JsonOfUseTaxonomy","exported":true,"docComment":"This object reprensents a link to a taxonomy. A taxonomy is a document type.","kind":"interface","properties":[{"name":"leafType","type":{"kind":"name","group":"primitive","refName":"string"},"docComment":"This is the identifier of the taxonomy's document type."},{"name":"relation","type":{"kind":"composite","op":"union","types":[{"kind":"literal","literal":"single"},{"kind":"literal","literal":"multiple"}]},"docComment":"A _single_ relation means that the document can only have one term. A _multiple_ relation\nmeans that the document can have multiple terms."},{"name":"withLeadTerm","type":{"kind":"composite","op":"union","types":[{"kind":"literal","literal":"single"},{"kind":"literal","literal":"multiple"}]},"optional":true,"docComment":"A _lead term_ is a term that is shown first."}]},{"name":"JsonOfFieldType","exported":true,"docComment":"This is field type. It can be varchar, text, leafMedia, leafGallery.\n@see {@link JsonOfVarcharFieldType}\n@see {@link JsonOfTextFieldType}\n@see {@link JsonOfLeafMediaFieldType}\n@see {@link JsonOfLeafGalleryFieldType}","kind":"composite","op":"union","types":[{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfVarcharFieldType"},{"kind":"localRef","refName":"JsonOfTextFieldType"},{"kind":"localRef","refName":"JsonOfLeafMediaFieldType"},{"kind":"localRef","refName":"JsonOfLeafGalleryFieldType"}]}]},{"name":"JsonOfFieldTypeBase","exported":true,"docComment":"This is the base type for other types: varchar text, leafMedia, leafGallery.\n@see {@link JsonOfVarcharFieldType}\n@see {@link JsonOfTextFieldType}\n@see {@link JsonOfLeafMediaFieldType}\n@see {@link JsonOfLeafGalleryFieldType}","kind":"interface","properties":[{"name":"storedOn","type":{"kind":"composite","op":"union","types":[{"kind":"literal","literal":"leaf"},{"kind":"literal","literal":"section"}]},"docComment":"The field value can be attached to\n- `leaf`: all the translations of the same document will share the same value\n- `section`: each translation will have its own value."},{"name":"name","type":{"kind":"name","group":"primitive","refName":"string"},"docComment":"The field name."},{"name":"plugin","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true},{"name":"withGallery","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true,"docComment":"\n@example"},{"name":"backOffice","type":{"kind":"name","group":"ts","refName":"any"},"optional":true,"docComment":"\n@example"}]},{"name":"JsonOfVarcharFieldType","exported":true,"docComment":"This is the base type for data varchar types: stringVarchar, numberVarchar, booleanVarchar\n@see {@link JsonOfStringVarcharFieldType}\n@see {@link JsonOfNumberVarcharFieldType}\n@see {@link JsonOfBooleanVarcharFieldType}","kind":"composite","op":"union","types":[{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfStringVarcharFieldType"},{"kind":"localRef","refName":"JsonOfNumberVarcharFieldType"},{"kind":"localRef","refName":"JsonOfBooleanVarcharFieldType"}]}]},{"name":"JsonOfStringVarcharFieldType","exported":true,"docComment":"This is string type with varchar data type","kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfFieldTypeBase"},{"kind":"interface","properties":[{"name":"storedAs","type":{"kind":"literal","literal":"varchar"}},{"name":"dataType","type":{"kind":"literal","literal":"string"}}]}]},{"name":"JsonOfNumberVarcharFieldType","exported":true,"docComment":"This is number type with varchar data type","kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfFieldTypeBase"},{"kind":"interface","properties":[{"name":"storedAs","type":{"kind":"literal","literal":"varchar"}},{"name":"dataType","type":{"kind":"literal","literal":"number"}},{"name":"currency","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true,"docComment":"@example `\"EUR\"`"}]}]},{"name":"JsonOfBooleanVarcharFieldType","exported":true,"docComment":"This is boolean type with varchar data type","kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfFieldTypeBase"},{"kind":"interface","properties":[{"name":"storedAs","type":{"kind":"literal","literal":"varchar"}},{"name":"dataType","type":{"kind":"literal","literal":"boolean"}}]}]},{"name":"JsonOfTextFieldType","exported":true,"docComment":"@see {@link JsonOfFTextFieldType}\n@see {@link JsonOfJsonFieldType}","kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfFTextFieldType"},{"kind":"localRef","refName":"JsonOfJsonFieldType"}]},{"name":"JsonOfFTextFieldType","exported":true,"docComment":"Formatted Text field (with HTML content).","kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfFieldTypeBase"},{"kind":"interface","properties":[{"name":"storedAs","type":{"kind":"literal","literal":"text"}},{"name":"dataType","type":{"kind":"composite","op":"union","types":[{"kind":"literal","literal":"quillDelta"},{"kind":"literal","literal":"html"}]}},{"name":"useAsExcerpt","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"\n@example"},{"name":"useAsDefaultImage","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"\n@example"}]}]},{"name":"JsonOfJsonFieldType","exported":true,"docComment":"This is JSON type","kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfFieldTypeBase"},{"kind":"interface","properties":[{"name":"storedAs","type":{"kind":"literal","literal":"text"}},{"name":"dataType","type":{"kind":"literal","literal":"json"}}]}]},{"name":"JsonOfGalleryFieldType","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfFieldTypeBase"},{"kind":"interface","properties":[{"name":"storedAs","type":{"kind":"literal","literal":"mediaHandle"}},{"name":"dataType","type":{"kind":"literal","literal":"gallery"}},{"name":"accept","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"refuse","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true}]}]},{"name":"JsonOfLeafGalleryFieldType","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfGalleryFieldType"},{"kind":"interface","properties":[{"name":"useAsDefaultImage","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"\n@example"}]}]},{"name":"JsonOfMediaFieldType","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfFieldTypeBase"},{"kind":"interface","properties":[{"name":"storedAs","type":{"kind":"literal","literal":"mediaHandle"},"docComment":"\n@example"},{"name":"dataType","type":{"kind":"literal","literal":"media"},"docComment":"\n@example"},{"name":"accept","type":{"kind":"name","group":"primitive","refName":"string"},"docComment":"\n@example"},{"name":"refuse","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true,"docComment":"\n@example"}]}]},{"name":"JsonOfLeafMediaFieldType","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfMediaFieldType"},{"kind":"interface","properties":[{"name":"useAsDefaultImage","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"\n@example"}]}]},{"name":"JsonOfMediaPolicy","exported":true,"docComment":"These properties define the rules that are applied to medias.","kind":"interface","properties":[{"name":"policyName","type":{"kind":"name","group":"primitive","refName":"string"},"docComment":"The internal name of the policy.\n@example `\"myPolicyName\"`"},{"name":"mediaLimitPerDocument","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"Max media limit uploaded in a document.\n@example `10`"},{"name":"mediaLimitPerPart","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"Max media limit uploaded in a part.\n@example `10`"},{"name":"attachedDocument","type":{"kind":"localRef","refName":"JsonOfAttachedDocumentPolicy"},"optional":true,"docComment":"Rules about non-image medias (like PDF files)."},{"name":"image","type":{"kind":"localRef","refName":"JsonOfImagePolicy"},"optional":true,"docComment":"Rules about images."}]},{"name":"JsonOfAttachedDocumentPolicy","exported":true,"docComment":"These properties define the rules that are applied to\ndocument uploaded in document and document part","kind":"interface","properties":[{"name":"siteWeightLimitB","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"Size limit in bytes.\n@example `2000000`"}]},{"name":"JsonOfImagePolicy","exported":true,"docComment":"These properties define the rules that are applied to\nimages contained in document and document part","kind":"interface","properties":[{"name":"weightLimitB","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"Size limit in bytes.\n@example `2000000`"},{"name":"areaLimitPx","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"Maximum area (width × height, in pixels) of an image.\n@example `2000000`"}]},{"name":"JsonOfImageCompressionQualityPolicy","exported":true,"docComment":"These properties define the rules applied to image\ncompression across all sites","kind":"interface","properties":[{"name":"areaLimitPx","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"The quality will apply for image with area smaller than this value.\n@example `600000`"},{"name":"quality","type":{"kind":"name","group":"primitive","refName":"number"},"docComment":"Webp quality loss, in percents.\n@example `80`"}]}]},"./theme-json-types":{"namedTypes":[{"name":"JsonOfThemeConf","exported":true,"kind":"interface","properties":[{"name":"pixelRatio","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"Default value is `1`."},{"name":"fTextImages","type":{"kind":"array","itemType":{"kind":"name","group":"primitive","refName":"string"}}}]}]}}
1
+ {"./configuration-types":{"namedTypes":[{"name":"Configuration","exported":true,"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"SingleSiteConfiguration"},{"kind":"localRef","refName":"MultisiteConfiguration"}]},{"name":"ConfigurationBase","exported":true,"kind":"interface","properties":[{"name":"thisServer","type":{"kind":"localRef","refName":"ThisServerConf"},"optional":true,"docComment":"@deprecated Move the sub-properties in the parent."},{"name":"port","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"It is required except if the legacy `thisServer` is still used."},{"name":"hostname","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true},{"name":"publicProtocol","type":{"kind":"composite","op":"union","types":[{"kind":"literal","literal":"http"},{"kind":"literal","literal":"https"}]},"optional":true,"docComment":"Default is `\"http\"`."},{"name":"publicPort","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true},{"name":"boPort","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true},{"name":"allowRobots","type":{"kind":"name","group":"primitive","refName":"boolean"}},{"name":"enableCache","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true},{"name":"immutableAssets","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true},{"name":"cacheTimeToIdle","type":{"kind":"composite","op":"union","types":[{"kind":"name","group":"primitive","refName":"string"},{"kind":"literal","literal":"disabled"},{"kind":"literal","literal":"infinite"}]},"optional":true,"docComment":"For example: `\"14d\"`."},{"name":"clearCacheAfterStart","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true},{"name":"clearImageCacheAfterStart","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true},{"name":"log","type":{"kind":"localRef","refName":"LogConf"},"optional":true,"docComment":"@deprecated Replace `log.level` by `logLevel`, and `log.file` by `logFile`."},{"name":"logLevel","type":{"kind":"composite","op":"union","types":[{"kind":"literal","literal":"silent"},{"kind":"literal","literal":"error"},{"kind":"literal","literal":"warn"},{"kind":"literal","literal":"info"},{"kind":"literal","literal":"stats"},{"kind":"literal","literal":"debug"},{"kind":"literal","literal":"trace"}]},"optional":true},{"name":"logFile","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true,"docComment":"Omit for stdout."},{"name":"graphqlDevTools","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true},{"name":"generateMissingDatabases","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true},{"name":"googleAuth","type":{"kind":"localRef","refName":"GoogleAuthConf"},"optional":true},{"name":"awsSesMail","type":{"kind":"localRef","refName":"AwsSesMailConf"},"optional":true},{"name":"googleRecaptcha","type":{"kind":"localRef","refName":"GoogleRecaptchaConf"},"optional":true},{"name":"imageProcessor","type":{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"ImageProcessorConf"},{"kind":"localRef","refName":"LegacyImageProcessorConf"}]},"optional":true},{"name":"devAccount","type":{"kind":"localRef","refName":"DevAccount"},"optional":true},{"name":"platformAdminAccounts","type":{"kind":"array","itemType":{"kind":"localRef","refName":"PlatformAdminAccount"}},"optional":true}]},{"name":"SingleSiteConfiguration","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"ConfigurationBase"},{"kind":"interface","properties":[{"name":"singleSite","type":{"kind":"localRef","refName":"SingleSiteConf"}}]}]},{"name":"MultisiteConfiguration","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"ConfigurationBase"},{"kind":"interface","properties":[{"name":"platform","type":{"kind":"interface","properties":[{"name":"dataDir","type":{"kind":"name","group":"primitive","refName":"string"}}]}},{"name":"sitePacks","type":{"kind":"array","itemType":{"kind":"localRef","refName":"SitePackOrLegacyConf"}}}]}]},{"name":"ThisServerConf","exported":true,"kind":"interface","properties":[{"name":"port","type":{"kind":"name","group":"primitive","refName":"number"}},{"name":"publicPort","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true},{"name":"boPublicPort","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true},{"name":"hostName","type":{"kind":"composite","op":"union","types":[{"kind":"name","group":"primitive","refName":"string"},{"kind":"name","group":"primitive","refName":"null"}]},"optional":true},{"name":"https","type":{"kind":"name","group":"primitive","refName":"boolean"}}]},{"name":"LogConf","exported":true,"kind":"interface","properties":[{"name":"level","type":{"kind":"composite","op":"union","types":[{"kind":"literal","literal":"silent"},{"kind":"literal","literal":"error"},{"kind":"literal","literal":"warn"},{"kind":"literal","literal":"info"},{"kind":"literal","literal":"stats"},{"kind":"literal","literal":"debug"},{"kind":"literal","literal":"trace"}]}},{"name":"file","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true,"docComment":"Omit for stdout."}]},{"name":"SingleSiteConf","exported":true,"kind":"interface","properties":[{"name":"siteDir","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"dataDir","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"cacheDir","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"backupDir","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"fqdn","type":{"kind":"name","group":"primitive","refName":"string"}}]},{"name":"SitePackOrLegacyConf","exported":true,"kind":"composite","op":"union","types":[{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"SitePackConf"},{"kind":"localRef","refName":"LegacyFqdnSitePackConf"},{"kind":"localRef","refName":"LegacySubDomainSitePackConf"}]}]},{"name":"SitePackConf","exported":true,"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"FqdnSitePackConf"},{"kind":"localRef","refName":"SubDomainSitePackConf"}]},{"name":"SitePackConfBase","exported":true,"kind":"interface","properties":[{"name":"packName","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"sitesDir","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true},{"name":"dataDir","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"cacheDir","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"backupDir","type":{"kind":"name","group":"primitive","refName":"string"}}]},{"name":"FqdnSitePackConf","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"SitePackConfBase"},{"kind":"interface","properties":[{"name":"serveOn","type":{"kind":"literal","literal":"fqdn"}}]}]},{"name":"LegacyFqdnSitePackConf","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"SitePackConfBase"},{"kind":"interface","properties":[{"name":"serveAs","type":{"kind":"literal","literal":"fqdn"},"docComment":"@deprecated Renamed to `serveOn`"}]}]},{"name":"SubDomainSitePackConf","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"SitePackConfBase"},{"kind":"interface","properties":[{"name":"serveOn","type":{"kind":"literal","literal":"subDomain"}},{"name":"parentDomain","type":{"kind":"name","group":"primitive","refName":"string"}}]}]},{"name":"LegacySubDomainSitePackConf","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"SitePackConfBase"},{"kind":"interface","properties":[{"name":"serveAs","type":{"kind":"literal","literal":"subDomain"},"docComment":"@deprecated Renamed to `serveOn`"},{"name":"parentDomain","type":{"kind":"name","group":"primitive","refName":"string"}}]}]},{"name":"GoogleAuthConf","exported":true,"kind":"interface","properties":[{"name":"disabled","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true},{"name":"fqdn","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"clientId","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"clientSecret","type":{"kind":"name","group":"primitive","refName":"string"}}]},{"name":"AwsSesMailConf","exported":true,"kind":"interface","properties":[{"name":"disabled","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true},{"name":"from","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"accessKeyId","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"secretAccessKey","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"region","type":{"kind":"name","group":"primitive","refName":"string"}}]},{"name":"GoogleRecaptchaConf","exported":true,"kind":"interface","properties":[{"name":"disabled","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true},{"name":"siteKey","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"secretKey","type":{"kind":"name","group":"primitive","refName":"string"}}]},{"name":"ImageProcessorConf","exported":true,"kind":"interface","properties":[{"name":"cpuCoresPerFile","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true},{"name":"allowConcurrency","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true}]},{"name":"LegacyImageProcessorConf","exported":true,"kind":"interface","properties":[{"name":"cpuCoresPerFile","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true},{"name":"oneSharpAtATime","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true}]},{"name":"DevAccount","exported":true,"kind":"interface","properties":[{"name":"email","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"name","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"password","type":{"kind":"name","group":"primitive","refName":"string"}}]},{"name":"PlatformAdminAccount","exported":true,"kind":"interface","properties":[{"name":"email","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"name","type":{"kind":"name","group":"primitive","refName":"string"}}]}]},"./l10n-types":{"namedTypes":[{"name":"JsonOfLanguageSchemaLocales","exported":true,"kind":"interface","properties":[{"name":"siteFieldLib","type":{"kind":"interface","indexSignature":{"keyName":"fieldName","keyType":"string","type":{"kind":"localRef","refName":"JsonOfLabelLocales"}}},"optional":true},{"name":"sectionFieldLib","type":{"kind":"interface","indexSignature":{"keyName":"fieldName","keyType":"string","type":{"kind":"localRef","refName":"JsonOfLabelLocales"}}},"optional":true},{"name":"site","type":{"kind":"interface","properties":[{"name":"fields","type":{"kind":"interface","indexSignature":{"keyName":"fieldName","keyType":"string","type":{"kind":"localRef","refName":"JsonOfLabelLocales"}}},"optional":true}]},"optional":true},{"name":"documentTypes","type":{"kind":"interface","indexSignature":{"keyName":"leafType","keyType":"string","type":{"kind":"localRef","refName":"JsonOfLabelLocales"}}},"optional":true},{"name":"partTypes","type":{"kind":"interface","indexSignature":{"keyName":"leafType","keyType":"string","type":{"kind":"localRef","refName":"JsonOfLabelLocales"}}},"optional":true}]},{"name":"JsonOfLabelLocales","exported":true,"kind":"interface","indexSignature":{"keyName":"key","keyType":"string","type":{"kind":"composite","op":"union","types":[{"kind":"name","group":"primitive","refName":"string"},{"kind":"localRef","refName":"JsonOfLabelLocales"}]}}}]},"./site-schema-json-types":{"namedTypes":[{"name":"JsonOfCommonSchema","exported":true,"docComment":"The common schema is currently an internal file. Here is its typing.","kind":"interface","properties":[{"name":"schemaEngineVersion","type":{"kind":"name","group":"primitive","refName":"string"},"docComment":"This is the version of the schema engine."},{"name":"languages","type":{"kind":"array","itemType":{"kind":"name","group":"primitive","refName":"string"}},"docComment":"Specify the list of 2-letters language codes that can be used in the websites.\n\n@example [\"en\", \"fr\"]`"},{"name":"site","type":{"kind":"interface","properties":[{"name":"fields","type":{"kind":"array","itemType":{"kind":"localRef","refName":"JsonOfFieldType"}}}]}}]},{"name":"JsonOfSiteSchemaBase","exported":true,"docComment":"This properties are part of a site schema, and part of the internal library as well.","kind":"interface","properties":[{"name":"schemaEngineVersion","type":{"kind":"name","group":"primitive","refName":"string"},"docComment":"This is the version of the schema engine."},{"name":"languages","type":{"kind":"array","itemType":{"kind":"name","group":"primitive","refName":"string"}},"docComment":"Specify the list of 2-letters language codes of the website. The first language is the default language.\n\n@example `[\"en\", \"fr\"]`"},{"name":"usePlugins","type":{"kind":"array","itemType":{"kind":"name","group":"primitive","refName":"string"}},"optional":true,"docComment":"List of plugins that are used in the schema.\n@example [\"site:video\"]"},{"name":"useModules","type":{"kind":"array","itemType":{"kind":"name","group":"primitive","refName":"string"}},"optional":true,"docComment":"Allows you to load other configuration schema in module form\n@example [\"media-policies\", \"simple-page\"]"},{"name":"site","type":{"kind":"localRef","refName":"JsonOfSiteDataSchema"},"optional":true},{"name":"partTypes","type":{"kind":"array","itemType":{"kind":"localRef","refName":"JsonOfPartSchema"}},"optional":true,"docComment":"The different parts that can be used in documents."},{"name":"mediaPolicies","type":{"kind":"array","itemType":{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfMediaPolicy"},{"kind":"name","group":"primitive","refName":"string"}]}},"optional":true,"docComment":"Media policies"},{"name":"imageQualityPolicy","type":{"kind":"array","itemType":{"kind":"localRef","refName":"JsonOfImageCompressionQualityPolicy"}},"optional":true,"docComment":"We can set the image compression quality here. The list must be ordered from the lowest area\nto the highest.\n@example\n```json\n{\n \"areaLimitPx\": 120000,\n \"quality\": 90\n},\n{\n \"areaLimitPx\": 750000,\n \"quality\": 80\n},\n{\n \"quality\": 70\n}\n```"}]},{"name":"JsonOfSiteDataSchema","exported":true,"kind":"interface","properties":[{"name":"fields","type":{"kind":"array","itemType":{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfFieldType"},{"kind":"name","group":"primitive","refName":"string"}]}},"optional":true,"docComment":"The fields of the site. They will be added to the required fields `[\"title\", \"contactEmail\", \"favicon\", \"ogImage\"]`.\n\n@example `[\"logo\", \"slogan\", \"phone\"]`"}]},{"name":"JsonOfSiteSchema","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfSiteSchemaBase"},{"kind":"interface","properties":[{"name":"siteFieldLib","type":{"kind":"array","itemType":{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfFieldType"},{"kind":"name","group":"primitive","refName":"string"}]}},"optional":true},{"name":"sectionFieldLib","type":{"kind":"array","itemType":{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfFieldType"},{"kind":"name","group":"primitive","refName":"string"}]}},"optional":true},{"name":"documentTypes","type":{"kind":"array","itemType":{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfDocumentType"},{"kind":"name","group":"primitive","refName":"string"}]}},"optional":true,"docComment":"If missing, then `[\"home\"]` is taken by default."}]}]},{"name":"JsonOfSiteSchemaModule","exported":true,"docComment":"The site schema module","kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfSiteSchemaBase"},{"kind":"interface","properties":[{"name":"siteFieldLib","type":{"kind":"array","itemType":{"kind":"localRef","refName":"JsonOfFieldType"}},"optional":true,"docComment":"Allows you to specify the different fields to add as site properties.\n\nParoiCMS is a dynamic CMS; then it does not impose a structure regarding the\nsite configuration values. As an example of configuration data, we have the\ntitle, logo, slogan, contacts etc...\n\n@see {@link JsonOfFieldType}"},{"name":"sectionFieldLib","type":{"kind":"array","itemType":{"kind":"localRef","refName":"JsonOfFieldType"}},"optional":true,"docComment":"Allows you to specify the different fields of a document\n\nThe structure of a document is not imposed. You can choose to\nhave for your document to have the following fields: title, content, media gallery.\n@see {@link JsonOfFieldType}\n@see {@link JsonOfModuleDocumentType}"},{"name":"documentTypes","type":{"kind":"array","itemType":{"kind":"localRef","refName":"JsonOfModuleDocumentType"}},"optional":true,"docComment":"Allows you to add the different types of documents that will be handled on the site.\n@see {@link JsonOfModuleDocumentType}"}]}]},{"name":"JsonOfModuleDocumentType","exported":true,"docComment":"A document is a web page. For example, a block article, a service, or a contact page is\na document. What all these elements have in common is that they can be edited in the back-office\nand published on the public site.","kind":"interface","properties":[{"name":"leafType","type":{"kind":"name","group":"primitive","refName":"string"},"docComment":"This is the identifier of the document type."},{"name":"route","type":{"kind":"composite","op":"union","types":[{"kind":"name","group":"primitive","refName":"string"},{"kind":"interface","indexSignature":{"keyName":"language","keyType":"string","type":{"kind":"name","group":"primitive","refName":"string"}}}]},"optional":true,"docComment":"@example\n```json\n \"route\": {\n \"en\": \"posts\",\n \"fr\": \"articles\"\n },\n```"},{"name":"relativeIdGenerator","type":{"kind":"array","itemType":{"kind":"name","group":"ts","refName":"any"}},"optional":true,"docComment":"@example `[\"default\", 6]`"},{"name":"children","type":{"kind":"array","itemType":{"kind":"name","group":"primitive","refName":"string"}},"optional":true,"docComment":"Types of children that are allowed for the document."},{"name":"childOrdering","type":{"kind":"localRef","refName":"JsonOfChildOrdering"},"optional":true,"docComment":"We define how to order the children here."},{"name":"childLimit","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"The maximum number of children."},{"name":"partLists","type":{"kind":"array","itemType":{"kind":"localRef","refName":"JsonOfPartListSchema"}},"optional":true,"docComment":"The lists of parts in the document."},{"name":"useTaxonomies","type":{"kind":"array","itemType":{"kind":"localRef","refName":"JsonOfUseTaxonomy"}},"optional":true,"docComment":"The list of taxonomies used in the document."},{"name":"withData","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true,"docComment":"Value `false` means that the document is just a hierarchy parent for other documents. But it\nhas no content itself."},{"name":"fields","type":{"kind":"array","itemType":{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfFieldType"},{"kind":"name","group":"primitive","refName":"string"}]}},"optional":true,"docComment":"The list of fields in the document."},{"name":"mediaPolicy","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true,"docComment":"The name of the media policy."},{"name":"ogType","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true,"docComment":"@see[Open Graph Protocol](https://ogp.me/)\n@example `\"article\"`"},{"name":"autoPublish","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true,"docComment":"Value `true` means that the document will be automatically published without being a\ndraft before."},{"name":"disableFeaturedImage","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true}]},{"name":"JsonOfChildOrdering","exported":true,"docComment":"Child odering method.\n@default \"manual\"","kind":"composite","op":"union","types":[{"kind":"array","itemType":{"kind":"name","group":"primitive","refName":"string"}},{"kind":"literal","literal":"manual"},{"kind":"name","group":"primitive","refName":"string"}]},{"name":"JsonOfDocumentType","exported":true,"docComment":"Document type","kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfModuleDocumentType"},{"kind":"interface","properties":[{"name":"from","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true}]}]},{"name":"JsonOfPartListSchema","exported":true,"docComment":"This is the definition of a list of parts.","kind":"interface","properties":[{"name":"listName","type":{"kind":"name","group":"primitive","refName":"string"},"docComment":"This is the identifier of the part list."},{"name":"orderBy","type":{"kind":"literal","literal":"manual"},"docComment":"Only `\"manual\"` is currently supported."},{"name":"partLeafTypes","type":{"kind":"array","itemType":{"kind":"name","group":"primitive","refName":"string"}},"docComment":"Part types that can be in the list."},{"name":"partLimit","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"Maximum number of parts in the list."}]},{"name":"JsonOfPartSchema","exported":true,"docComment":"This is part schema","kind":"interface","properties":[{"name":"leafType","type":{"kind":"name","group":"primitive","refName":"string"},"docComment":"This is the identifier of the part type."},{"name":"withData","type":{"kind":"name","group":"primitive","refName":"boolean"},"docComment":"Always `true`."},{"name":"fields","type":{"kind":"array","itemType":{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfFieldType"},{"kind":"name","group":"primitive","refName":"string"}]}},"optional":true,"docComment":"The list of fields in the part."},{"name":"mediaPolicy","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true,"docComment":"Give the name of the media policy, if there is one."}]},{"name":"JsonOfUseTaxonomy","exported":true,"docComment":"This object reprensents a link to a taxonomy. A taxonomy is a document type.","kind":"interface","properties":[{"name":"leafType","type":{"kind":"name","group":"primitive","refName":"string"},"docComment":"This is the identifier of the taxonomy's document type."},{"name":"relation","type":{"kind":"composite","op":"union","types":[{"kind":"literal","literal":"single"},{"kind":"literal","literal":"multiple"}]},"docComment":"A _single_ relation means that the document can only have one term. A _multiple_ relation\nmeans that the document can have multiple terms."},{"name":"withLeadTerm","type":{"kind":"composite","op":"union","types":[{"kind":"literal","literal":"single"},{"kind":"literal","literal":"multiple"}]},"optional":true,"docComment":"A _lead term_ is a term that is shown first."}]},{"name":"JsonOfFieldType","exported":true,"docComment":"This is field type. It can be varchar, text, leafMedia, leafGallery.\n@see {@link JsonOfVarcharFieldType}\n@see {@link JsonOfTextFieldType}\n@see {@link JsonOfLeafMediaFieldType}\n@see {@link JsonOfLeafGalleryFieldType}","kind":"composite","op":"union","types":[{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfVarcharFieldType"},{"kind":"localRef","refName":"JsonOfTextFieldType"},{"kind":"localRef","refName":"JsonOfLeafMediaFieldType"},{"kind":"localRef","refName":"JsonOfLeafGalleryFieldType"}]}]},{"name":"JsonOfFieldTypeBase","exported":true,"docComment":"This is the base type for other types: varchar text, leafMedia, leafGallery.\n@see {@link JsonOfVarcharFieldType}\n@see {@link JsonOfTextFieldType}\n@see {@link JsonOfLeafMediaFieldType}\n@see {@link JsonOfLeafGalleryFieldType}","kind":"interface","properties":[{"name":"storedOn","type":{"kind":"composite","op":"union","types":[{"kind":"literal","literal":"leaf"},{"kind":"literal","literal":"section"}]},"docComment":"The field value can be attached to\n- `leaf`: all the translations of the same document will share the same value\n- `section`: each translation will have its own value."},{"name":"name","type":{"kind":"name","group":"primitive","refName":"string"},"docComment":"The field name."},{"name":"plugin","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true},{"name":"withGallery","type":{"kind":"name","group":"primitive","refName":"boolean"},"optional":true,"docComment":"\n@example"},{"name":"backOffice","type":{"kind":"name","group":"ts","refName":"any"},"optional":true,"docComment":"\n@example"}]},{"name":"JsonOfVarcharFieldType","exported":true,"docComment":"This is the base type for data varchar types: stringVarchar, numberVarchar, booleanVarchar\n@see {@link JsonOfStringVarcharFieldType}\n@see {@link JsonOfNumberVarcharFieldType}\n@see {@link JsonOfBooleanVarcharFieldType}","kind":"composite","op":"union","types":[{"kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfStringVarcharFieldType"},{"kind":"localRef","refName":"JsonOfNumberVarcharFieldType"},{"kind":"localRef","refName":"JsonOfBooleanVarcharFieldType"}]}]},{"name":"JsonOfStringVarcharFieldType","exported":true,"docComment":"This is string type with varchar data type","kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfFieldTypeBase"},{"kind":"interface","properties":[{"name":"storedAs","type":{"kind":"literal","literal":"varchar"}},{"name":"dataType","type":{"kind":"literal","literal":"string"}}]}]},{"name":"JsonOfNumberVarcharFieldType","exported":true,"docComment":"This is number type with varchar data type","kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfFieldTypeBase"},{"kind":"interface","properties":[{"name":"storedAs","type":{"kind":"literal","literal":"varchar"}},{"name":"dataType","type":{"kind":"literal","literal":"number"}},{"name":"currency","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true,"docComment":"@example `\"EUR\"`"}]}]},{"name":"JsonOfBooleanVarcharFieldType","exported":true,"docComment":"This is boolean type with varchar data type","kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfFieldTypeBase"},{"kind":"interface","properties":[{"name":"storedAs","type":{"kind":"literal","literal":"varchar"}},{"name":"dataType","type":{"kind":"literal","literal":"boolean"}}]}]},{"name":"JsonOfTextFieldType","exported":true,"docComment":"@see {@link JsonOfFTextFieldType}\n@see {@link JsonOfJsonFieldType}","kind":"composite","op":"union","types":[{"kind":"localRef","refName":"JsonOfFTextFieldType"},{"kind":"localRef","refName":"JsonOfJsonFieldType"}]},{"name":"JsonOfFTextFieldType","exported":true,"docComment":"Formatted Text field (with HTML content).","kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfFieldTypeBase"},{"kind":"interface","properties":[{"name":"storedAs","type":{"kind":"literal","literal":"text"}},{"name":"dataType","type":{"kind":"composite","op":"union","types":[{"kind":"literal","literal":"quillDelta"},{"kind":"literal","literal":"html"}]}},{"name":"useAsExcerpt","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"\n@example"},{"name":"useAsDefaultImage","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"\n@example"}]}]},{"name":"JsonOfJsonFieldType","exported":true,"docComment":"This is JSON type","kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfFieldTypeBase"},{"kind":"interface","properties":[{"name":"storedAs","type":{"kind":"literal","literal":"text"}},{"name":"dataType","type":{"kind":"literal","literal":"json"}}]}]},{"name":"JsonOfGalleryFieldType","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfFieldTypeBase"},{"kind":"interface","properties":[{"name":"storedAs","type":{"kind":"literal","literal":"mediaHandle"}},{"name":"dataType","type":{"kind":"literal","literal":"gallery"}},{"name":"accept","type":{"kind":"name","group":"primitive","refName":"string"}},{"name":"refuse","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true}]}]},{"name":"JsonOfLeafGalleryFieldType","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfGalleryFieldType"},{"kind":"interface","properties":[{"name":"useAsDefaultImage","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"\n@example"}]}]},{"name":"JsonOfMediaFieldType","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfFieldTypeBase"},{"kind":"interface","properties":[{"name":"storedAs","type":{"kind":"literal","literal":"mediaHandle"},"docComment":"\n@example"},{"name":"dataType","type":{"kind":"literal","literal":"media"},"docComment":"\n@example"},{"name":"accept","type":{"kind":"name","group":"primitive","refName":"string"},"docComment":"\n@example"},{"name":"refuse","type":{"kind":"name","group":"primitive","refName":"string"},"optional":true,"docComment":"\n@example"}]}]},{"name":"JsonOfLeafMediaFieldType","exported":true,"kind":"composite","op":"intersection","types":[{"kind":"localRef","refName":"JsonOfMediaFieldType"},{"kind":"interface","properties":[{"name":"useAsDefaultImage","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"\n@example"}]}]},{"name":"JsonOfMediaPolicy","exported":true,"docComment":"These properties define the rules that are applied to medias.","kind":"interface","properties":[{"name":"policyName","type":{"kind":"name","group":"primitive","refName":"string"},"docComment":"The internal name of the policy.\n@example `\"myPolicyName\"`"},{"name":"mediaLimitPerDocument","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"Max media limit uploaded in a document.\n@example `10`"},{"name":"mediaLimitPerPart","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"Max media limit uploaded in a part.\n@example `10`"},{"name":"attachedDocument","type":{"kind":"localRef","refName":"JsonOfAttachedDocumentPolicy"},"optional":true,"docComment":"Rules about non-image medias (like PDF files)."},{"name":"image","type":{"kind":"localRef","refName":"JsonOfImagePolicy"},"optional":true,"docComment":"Rules about images."}]},{"name":"JsonOfAttachedDocumentPolicy","exported":true,"docComment":"These properties define the rules that are applied to\ndocument uploaded in document and document part","kind":"interface","properties":[{"name":"siteWeightLimitB","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"Size limit in bytes.\n@example `2000000`"}]},{"name":"JsonOfImagePolicy","exported":true,"docComment":"These properties define the rules that are applied to\nimages contained in document and document part","kind":"interface","properties":[{"name":"weightLimitB","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"Size limit in bytes.\n@example `2000000`"},{"name":"areaLimitPx","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"Maximum area (width × height, in pixels) of an image.\n@example `2000000`"}]},{"name":"JsonOfImageCompressionQualityPolicy","exported":true,"docComment":"These properties define the rules applied to image\ncompression across all sites","kind":"interface","properties":[{"name":"areaLimitPx","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"The quality will apply for image with area smaller than this value.\n@example `600000`"},{"name":"quality","type":{"kind":"name","group":"primitive","refName":"number"},"docComment":"Webp quality loss, in percents.\n@example `80`"}]}]},"./theme-json-types":{"namedTypes":[{"name":"JsonOfThemeConf","exported":true,"kind":"interface","properties":[{"name":"pixelRatio","type":{"kind":"name","group":"primitive","refName":"number"},"optional":true,"docComment":"Default value is `1`."},{"name":"fTextImages","type":{"kind":"array","itemType":{"kind":"name","group":"primitive","refName":"string"}}}]}]}}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@paroicms/server",
3
- "version": "1.23.0",
3
+ "version": "1.24.0",
4
4
  "description": "The ParoiCMS server",
5
5
  "keywords": [
6
6
  "cms",
@@ -48,14 +48,14 @@
48
48
  "@paroi/async-lib": "~0.2.0",
49
49
  "@paroi/data-formatters-lib": "~0.3.0",
50
50
  "@paroi/quill-delta-to-html": "~0.12.2",
51
- "@paroicms/anywhere-lib": "1.8.0",
52
- "@paroicms/bo": "1.19.0",
51
+ "@paroicms/anywhere-lib": "1.9.0",
52
+ "@paroicms/bo": "1.21.0",
53
53
  "@paroicms/plugin-lib": "0.3.0",
54
- "@paroicms/server-database-media-storage": "1.4.2",
55
- "@paroicms/server-image-cache-engine": "1.5.1",
56
- "@paroicms/server-lib": "1.4.1",
57
- "@paroicms/server-text-cache-system": "1.3.2",
58
- "@paroicms/site-app": "1.4.1",
54
+ "@paroicms/server-database-media-storage": "1.4.3",
55
+ "@paroicms/server-image-cache-engine": "1.6.0",
56
+ "@paroicms/server-lib": "1.4.2",
57
+ "@paroicms/server-text-cache-system": "1.3.3",
58
+ "@paroicms/site-app": "1.5.0",
59
59
  "@typeonly/validator": "~0.6.0",
60
60
  "archiver": "~7.0.1",
61
61
  "bcrypt": "~5.1.0",
package/schema.gql CHANGED
@@ -11,11 +11,11 @@ type Account {
11
11
  }
12
12
 
13
13
  type AccountPreferences {
14
- lang: String
14
+ language: String
15
15
  }
16
16
 
17
17
  input AccountPreferencesValues {
18
- lang: String
18
+ language: String
19
19
  }
20
20
 
21
21
  type AppVersion {
@@ -37,7 +37,7 @@ type BackupInfo {
37
37
  }
38
38
 
39
39
  type BreadcrumbItem {
40
- lang: String!
40
+ language: String!
41
41
  leafId: ID!
42
42
  leafType: String!
43
43
  sectionId: ID!
@@ -47,7 +47,7 @@ type BreadcrumbItem {
47
47
  input CreateAccountValues {
48
48
  accountType: String!
49
49
  email: String!
50
- lang: String!
50
+ language: String!
51
51
  name: String
52
52
  }
53
53
 
@@ -74,7 +74,7 @@ scalar DateTime
74
74
 
75
75
  type Document {
76
76
  featuredImageHandle: String!
77
- lang: String!
77
+ language: String!
78
78
  leafId: ID!
79
79
  media: Media
80
80
  metaDescription: String
@@ -97,9 +97,9 @@ type FaviconThumb {
97
97
  width: Int!
98
98
  }
99
99
 
100
- type LangWithLabel {
100
+ type LanguageWithLabel {
101
101
  label: String!
102
- lang: ID!
102
+ language: ID!
103
103
  }
104
104
 
105
105
  type Leaf {
@@ -125,17 +125,17 @@ type Media {
125
125
 
126
126
  type Mutation {
127
127
  createAccount(values: CreateAccountValues!): Account!
128
- createDocumentOnLeaf(lang: String!, leafId: ID!, values: CreateDocumentValues): Document!
128
+ createDocumentOnLeaf(language: String!, leafId: ID!, values: CreateDocumentValues): Document!
129
129
  createLeafWithDocument(parentSectionId: String!, values: CreateLeafWithDocumentValues!): Document!
130
130
  createLeafWithPart(leafType: String!, listName: String!, parentSectionId: String!): Part!
131
- createPartOnLeaf(lang: String!, leafId: ID!): Part!
131
+ createPartOnLeaf(language: String!, leafId: ID!): Part!
132
132
  deleteAccount(accountId: ID!): Boolean!
133
133
  deleteDocument(sectionId: String!): Boolean!
134
134
  deleteLeafAndDocuments(sectionId: String!): Boolean!
135
135
  deleteMedia(handle: ID!): String!
136
136
  deleteMediaFromGallery(galleryHandle: ID!, uid: ID!): String!
137
137
  deletePart(
138
- """lang:leafId"""
138
+ """language:leafId"""
139
139
  sectionId: ID!
140
140
  ): Boolean!
141
141
  flagWith(flaggedLeafId: ID!, taxonomyLeafId: ID!, terms: [TermValues!]!): Boolean!
@@ -144,10 +144,10 @@ type Mutation {
144
144
  reorderMedias(input: ReorderMediasInput!): [Media!]!
145
145
  resetAccountPassword(accountId: ID!): Boolean!
146
146
  setAccountPreferences(accountId: ID!, values: AccountPreferencesValues!): String!
147
- setFieldValues(lang: String, leafId: ID!, values: String!): Boolean!
147
+ setFieldValues(language: String, leafId: ID!, values: String!): Boolean!
148
148
  setLeafPublishDate(leafId: ID!, publishDate: DateTime!): Leaf!
149
149
  setSectionReady(ready: Boolean!, sectionId: ID!): Section!
150
- setSiteFieldValues(lang: String, values: String!): Boolean!
150
+ setSiteFieldValues(language: String, values: String!): Boolean!
151
151
  updateAccount(accountId: ID!, values: UpdateAccountValues!): Account!
152
152
  updateAttachedData(mediaUid: ID!, values: String!): Media!
153
153
  updateDocumentMeta(id: ID!, values: UpdateDocumentMetaValues!): Document!
@@ -171,7 +171,7 @@ type Part {
171
171
  featuredImageHandle: String!
172
172
  fieldValues(fieldNames: [String!], quillDeltaToHtml: Boolean): String!
173
173
  itemNum: Int
174
- lang: String!
174
+ language: String!
175
175
  leafId: ID!
176
176
  leafType: String!
177
177
  sectionId: ID!
@@ -194,23 +194,13 @@ type Query {
194
194
  getMediaByUid(mediaUid: String!): Media!
195
195
  media(handle: ID!): Media
196
196
  medias(galleryHandle: ID!): [Media!]!
197
- pagedSectionWraps(
198
- limit: Int!
199
- orderBy: [OrderByItem!]
200
-
201
- """lang:leafId"""
202
- parentSectionId: ID!
203
- start: Int!
204
- ): PagedSectionWraps!
197
+ pagedSectionWraps(limit: Int!, orderBy: [OrderByItem!], parentSectionId: ID!, start: Int!): PagedSectionWraps!
205
198
  part(sectionId: ID!): Part!
206
199
  routingPointIds: String!
207
- searchDocuments(lang: String!, limit: Int!, orderBy: [OrderByItem!], queryString: String!, start: Int!): PagedSectionWraps!
200
+ searchDocuments(language: String!, limit: Int!, orderBy: [OrderByItem!], queryString: String!, start: Int!): PagedSectionWraps!
208
201
  sectionWrap(sectionId: ID!): SectionWrap!
209
- sectionWraps(
210
- """lang:leafId"""
211
- parentSectionId: ID!
212
- ): [SectionWrap!]!
213
- siteFieldValues(fieldNames: [String!], lang: String, quillDeltaToHtml: Boolean): String!
202
+ sectionWraps(parentSectionId: ID!): [SectionWrap!]!
203
+ siteFieldValues(fieldNames: [String!], language: String, quillDeltaToHtml: Boolean): String!
214
204
  siteInfo: SiteInfo!
215
205
  siteSchema: String!
216
206
  thisSiteConstants: ThisSiteConstants!
@@ -222,7 +212,7 @@ input ReorderMediasInput {
222
212
  }
223
213
 
224
214
  type Section {
225
- lang: String!
215
+ language: String!
226
216
  leafId: ID!
227
217
  ready: Boolean!
228
218
  sectionId: ID!
@@ -230,7 +220,7 @@ type Section {
230
220
  }
231
221
 
232
222
  type SectionTranslation {
233
- lang: String!
223
+ language: String!
234
224
  sectionId: ID!
235
225
  }
236
226
 
@@ -238,7 +228,7 @@ type SectionWrap {
238
228
  breadcrumb: [BreadcrumbItem!]!
239
229
  document: Document
240
230
  fieldValues(fieldNames: [String!], quillDeltaToHtml: Boolean): String!
241
- lang: String!
231
+ language: String!
242
232
  leaf: Leaf!
243
233
  leafId: String!
244
234
  parts: [PartOrPlaceholder!]!
@@ -252,12 +242,12 @@ type SiteInfo {
252
242
  }
253
243
 
254
244
  type TermDocument {
255
- lang: String!
245
+ language: String!
256
246
  title: String
257
247
  }
258
248
 
259
249
  type TermFlag {
260
- document(lang: String!): TermDocument
250
+ document(language: String!): TermDocument
261
251
  isLead: Boolean!
262
252
  taxonomyLeafType: String!
263
253
  termId: ID!
@@ -271,7 +261,7 @@ input TermValues {
271
261
  type ThisSiteConstants {
272
262
  boFaviconThumb: FaviconThumb
273
263
  faviconThumb: FaviconThumb
274
- langWithLabels: [LangWithLabel!]!
264
+ languageWithLabels: [LanguageWithLabel!]!
275
265
  platformAuthUrl: String
276
266
  publicSiteUrl: String!
277
267
  }
@@ -304,8 +294,8 @@ input UpdateDocumentTitleValues {
304
294
  }
305
295
 
306
296
  input UseImageInput {
297
+ imageSize: String!
307
298
  uid: ID!
308
- variantName: String!
309
299
  }
310
300
 
311
301
  type UsedImage {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaEngineVersion": "1.0.0",
3
- "langs": ["en", "fr"],
3
+ "languages": ["en", "fr"],
4
4
  "site": {
5
5
  "fields": [
6
6
  {
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaEngineVersion": "1.0.0",
3
- "langs": ["en", "fr"],
3
+ "languages": ["en", "fr"],
4
4
  "siteFieldLib": [
5
5
  {
6
6
  "name": "logo",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaEngineVersion": "1.0.0",
3
- "langs": ["en", "fr"],
3
+ "languages": ["en", "fr"],
4
4
  "documentTypes": [
5
5
  {
6
6
  "leafType": "galleryPages",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaEngineVersion": "1.0.0",
3
- "langs": ["en", "fr"],
3
+ "languages": ["en", "fr"],
4
4
  "useModules": ["fields", "special-page"],
5
5
  "site": {
6
6
  "fields": ["logo", "slogan", "phone", "facebookChatPageId"]
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaEngineVersion": "1.0.0",
3
- "langs": ["en", "fr"],
3
+ "languages": ["en", "fr"],
4
4
  "mediaPolicies": [
5
5
  {
6
6
  "policyName": "default",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaEngineVersion": "1.0.0",
3
- "langs": ["en", "fr"],
3
+ "languages": ["en", "fr"],
4
4
  "documentTypes": [
5
5
  {
6
6
  "leafType": "portfolio",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaEngineVersion": "1.0.0",
3
- "langs": ["en", "fr"],
3
+ "languages": ["en", "fr"],
4
4
  "documentTypes": [
5
5
  {
6
6
  "leafType": "posts",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaEngineVersion": "1.0.0",
3
- "langs": ["en", "fr"],
3
+ "languages": ["en", "fr"],
4
4
  "documentTypes": [
5
5
  {
6
6
  "leafType": "pages",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaEngineVersion": "1.0.0",
3
- "langs": ["en", "fr"],
3
+ "languages": ["en", "fr"],
4
4
  "documentTypes": [
5
5
  {
6
6
  "leafType": "specialPage",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaEngineVersion": "1.0.0",
3
- "langs": ["en", "fr"],
3
+ "languages": ["en", "fr"],
4
4
  "documentTypes": [
5
5
  {
6
6
  "leafType": "tours",
@@ -2,7 +2,7 @@
2
2
  "documentTypes": {
3
3
  "tours": {
4
4
  "label": "Tours",
5
- "addBtn": "Add a tour {{lang}}"
5
+ "addBtn": "Add a tour {{language}}"
6
6
  },
7
7
  "tour": {
8
8
  "label": "Tour",
@@ -2,7 +2,7 @@
2
2
  "documentTypes": {
3
3
  "tours": {
4
4
  "label": "Circuits",
5
- "addBtn": "Ajouter un circuit {{lang}}"
5
+ "addBtn": "Ajouter un circuit {{language}}"
6
6
  },
7
7
  "tour": {
8
8
  "label": "Circuit",
@@ -1 +0,0 @@
1
- {"version":3,"file":"get-page-tag.js","sourceRoot":"","sources":["../../../../src/modules/public-site/liquidjs-tags/get-page-tag.ts"],"names":[],"mappings":";;;AAAA,oEAA8E;AAC9E,yDAAwF;AACxF,uCAAmG;AACnG,2DAAoE;AACpE,oGAGsE;AACtE,2EAA6E;AAC7E,+EAAiF;AACjF,qFAA0E;AAG1E,MAAM,uBAAuB,GAAG,IAAI,GAAG,CAAC,CAAC,IAAI,EAAE,QAAQ,CAAC,CAAC,CAAC;AAE1D,SAAgB,wBAAwB,CAAC,WAAwB;IAC/D,OAAO,MAAM,UAAW,SAAQ,cAAG;QAEjC,QAAQ,CAAS;QACjB,KAAK,CAAO;QAEZ,YAAY,KAAe,EAAE,YAA6B,EAAE,MAAc;YACxE,KAAK,CAAC,KAAK,EAAE,YAAY,EAAE,MAAM,CAAC,CAAC;YACnC,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,SAAS,CAAC,cAAc,EAAE,CAAC,OAAO,CAAC;YACxD,IAAI,CAAC,KAAK,GAAG,IAAI,eAAI,CAAC,KAAK,CAAC,IAAI,CAAC,CAAC;QACpC,CAAC;QAED,CAAC,MAAM,CAAC,GAAY;YAClB,MAAM,OAAO,GAAG,kBAAkB,CAAC,MAAM,IAA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