@aglyn/aglyn 1.0.0-beta.221 → 1.0.0-beta.222

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 (346) hide show
  1. package/package.json +15 -11
  2. package/src/lib/app-utils/agent-openapi.js +1 -1
  3. package/src/lib/app-utils/agent-openapi.js.map +1 -1
  4. package/src/lib/app-utils/analytics-events.d.ts +3 -2
  5. package/src/lib/app-utils/analytics-events.js +3 -2
  6. package/src/lib/app-utils/analytics-events.js.map +1 -1
  7. package/src/lib/app-utils/api-plugins.d.ts +30 -0
  8. package/src/lib/app-utils/api-plugins.js +24 -1
  9. package/src/lib/app-utils/api-plugins.js.map +1 -1
  10. package/src/lib/app-utils/author-html.d.ts +1 -1
  11. package/src/lib/app-utils/author-html.js.map +1 -1
  12. package/src/lib/app-utils/bandwidth-cap.d.ts +12 -1
  13. package/src/lib/app-utils/bandwidth-cap.js +17 -1
  14. package/src/lib/app-utils/bandwidth-cap.js.map +1 -1
  15. package/src/lib/app-utils/compose-reusable-components.d.ts +19 -0
  16. package/src/lib/app-utils/compose-reusable-components.js +116 -26
  17. package/src/lib/app-utils/compose-reusable-components.js.map +1 -1
  18. package/src/lib/app-utils/console-routes.d.ts +4 -0
  19. package/src/lib/app-utils/console-routes.js +3 -0
  20. package/src/lib/app-utils/console-routes.js.map +1 -1
  21. package/src/lib/app-utils/contacts.d.ts +71 -0
  22. package/src/lib/app-utils/contacts.js +55 -0
  23. package/src/lib/app-utils/contacts.js.map +1 -1
  24. package/src/lib/app-utils/contexts.d.ts +1 -0
  25. package/src/lib/app-utils/contexts.js +1 -0
  26. package/src/lib/app-utils/contexts.js.map +1 -1
  27. package/src/lib/app-utils/crm-email-templates.js +21 -4
  28. package/src/lib/app-utils/crm-email-templates.js.map +1 -1
  29. package/src/lib/app-utils/crm-kinds.d.ts +2 -0
  30. package/src/lib/app-utils/crm-kinds.js +1 -0
  31. package/src/lib/app-utils/crm-kinds.js.map +1 -1
  32. package/src/lib/app-utils/crm.d.ts +1199 -67
  33. package/src/lib/app-utils/crm.js +1951 -310
  34. package/src/lib/app-utils/crm.js.map +1 -1
  35. package/src/lib/app-utils/csv-import.d.ts +10 -38
  36. package/src/lib/app-utils/csv-import.js +17 -42
  37. package/src/lib/app-utils/csv-import.js.map +1 -1
  38. package/src/lib/app-utils/csv.d.ts +32 -11
  39. package/src/lib/app-utils/csv.js +43 -5
  40. package/src/lib/app-utils/csv.js.map +1 -1
  41. package/src/lib/app-utils/default-site.d.ts +116 -0
  42. package/src/lib/app-utils/default-site.js +1024 -0
  43. package/src/lib/app-utils/default-site.js.map +1 -0
  44. package/src/lib/app-utils/docs-help.generated.d.ts +22 -22
  45. package/src/lib/app-utils/docs-help.generated.js +44 -10
  46. package/src/lib/app-utils/docs-help.generated.js.map +1 -1
  47. package/src/lib/app-utils/docs-index.generated.js +738 -150
  48. package/src/lib/app-utils/docs-index.generated.js.map +1 -1
  49. package/src/lib/app-utils/draft-placeholders.d.ts +76 -0
  50. package/src/lib/app-utils/draft-placeholders.js +115 -0
  51. package/src/lib/app-utils/draft-placeholders.js.map +1 -0
  52. package/src/lib/app-utils/entity-picker-context.d.ts +19 -15
  53. package/src/lib/app-utils/entity-picker-context.js +4 -4
  54. package/src/lib/app-utils/entity-picker-context.js.map +1 -1
  55. package/src/lib/app-utils/expand-repeatables.d.ts +66 -10
  56. package/src/lib/app-utils/expand-repeatables.js +88 -14
  57. package/src/lib/app-utils/expand-repeatables.js.map +1 -1
  58. package/src/lib/app-utils/forms.d.ts +33 -22
  59. package/src/lib/app-utils/forms.js +47 -28
  60. package/src/lib/app-utils/forms.js.map +1 -1
  61. package/src/lib/app-utils/full-use-cost.d.ts +277 -0
  62. package/src/lib/app-utils/full-use-cost.js +421 -0
  63. package/src/lib/app-utils/full-use-cost.js.map +1 -0
  64. package/src/lib/app-utils/health-report.js +11 -0
  65. package/src/lib/app-utils/health-report.js.map +1 -1
  66. package/src/lib/app-utils/llms-txt.d.ts +20 -0
  67. package/src/lib/app-utils/llms-txt.js +7 -1
  68. package/src/lib/app-utils/llms-txt.js.map +1 -1
  69. package/src/lib/app-utils/media-asset-facts.d.ts +16 -1
  70. package/src/lib/app-utils/media-asset-facts.js +40 -13
  71. package/src/lib/app-utils/media-asset-facts.js.map +1 -1
  72. package/src/lib/app-utils/media-bandwidth.d.ts +52 -0
  73. package/src/lib/app-utils/media-bandwidth.js +94 -0
  74. package/src/lib/app-utils/media-bandwidth.js.map +1 -0
  75. package/src/lib/app-utils/media-ref.d.ts +241 -33
  76. package/src/lib/app-utils/media-ref.js +324 -43
  77. package/src/lib/app-utils/media-ref.js.map +1 -1
  78. package/src/lib/app-utils/media-src.d.ts +8 -8
  79. package/src/lib/app-utils/media-src.js +27 -11
  80. package/src/lib/app-utils/media-src.js.map +1 -1
  81. package/src/lib/app-utils/media-takedown-reach.d.ts +4 -1
  82. package/src/lib/app-utils/media-takedown-reach.js +6 -3
  83. package/src/lib/app-utils/media-takedown-reach.js.map +1 -1
  84. package/src/lib/app-utils/notifications.d.ts +1 -1
  85. package/src/lib/app-utils/notifications.js +2 -0
  86. package/src/lib/app-utils/notifications.js.map +1 -1
  87. package/src/lib/app-utils/organizations.d.ts +51 -2
  88. package/src/lib/app-utils/organizations.js +56 -3
  89. package/src/lib/app-utils/organizations.js.map +1 -1
  90. package/src/lib/app-utils/page-record-sources.d.ts +87 -0
  91. package/src/lib/app-utils/page-record-sources.js +53 -0
  92. package/src/lib/app-utils/page-record-sources.js.map +1 -0
  93. package/src/lib/app-utils/paid-media-source.d.ts +3 -7
  94. package/src/lib/app-utils/paid-media-source.js +5 -19
  95. package/src/lib/app-utils/paid-media-source.js.map +1 -1
  96. package/src/lib/app-utils/person-erasure.d.ts +5 -2
  97. package/src/lib/app-utils/person-erasure.js.map +1 -1
  98. package/src/lib/app-utils/picklists.d.ts +187 -0
  99. package/src/lib/app-utils/picklists.js +320 -0
  100. package/src/lib/app-utils/picklists.js.map +1 -0
  101. package/src/lib/app-utils/plan-entitlements.d.ts +220 -50
  102. package/src/lib/app-utils/plan-entitlements.js +309 -115
  103. package/src/lib/app-utils/plan-entitlements.js.map +1 -1
  104. package/src/lib/app-utils/realm-host-surface.generated.js +2 -0
  105. package/src/lib/app-utils/realm-host-surface.generated.js.map +1 -1
  106. package/src/lib/app-utils/release-flags.d.ts +1 -1
  107. package/src/lib/app-utils/release-flags.js +11 -0
  108. package/src/lib/app-utils/release-flags.js.map +1 -1
  109. package/src/lib/app-utils/rendered-widths.d.ts +121 -0
  110. package/src/lib/app-utils/rendered-widths.js +211 -0
  111. package/src/lib/app-utils/rendered-widths.js.map +1 -0
  112. package/src/lib/app-utils/repeat-sources.d.ts +2 -1
  113. package/src/lib/app-utils/repeat-sources.js.map +1 -1
  114. package/src/lib/app-utils/screen-route.d.ts +154 -36
  115. package/src/lib/app-utils/screen-route.js +185 -40
  116. package/src/lib/app-utils/screen-route.js.map +1 -1
  117. package/src/lib/app-utils/seo-audit.d.ts +11 -1
  118. package/src/lib/app-utils/seo-audit.js +33 -13
  119. package/src/lib/app-utils/seo-audit.js.map +1 -1
  120. package/src/lib/app-utils/seo-keywords.d.ts +11 -0
  121. package/src/lib/app-utils/seo-keywords.js +19 -5
  122. package/src/lib/app-utils/seo-keywords.js.map +1 -1
  123. package/src/lib/app-utils/seo-page-facts.d.ts +47 -4
  124. package/src/lib/app-utils/seo-page-facts.js +136 -31
  125. package/src/lib/app-utils/seo-page-facts.js.map +1 -1
  126. package/src/lib/app-utils/seo-site-scan.d.ts +42 -4
  127. package/src/lib/app-utils/seo-site-scan.js +113 -12
  128. package/src/lib/app-utils/seo-site-scan.js.map +1 -1
  129. package/src/lib/app-utils/server.d.ts +5 -4
  130. package/src/lib/app-utils/server.js +14 -5
  131. package/src/lib/app-utils/server.js.map +1 -1
  132. package/src/lib/app-utils/site-icon-set.d.ts +195 -0
  133. package/src/lib/app-utils/site-icon-set.js +351 -0
  134. package/src/lib/app-utils/site-icon-set.js.map +1 -0
  135. package/src/lib/app-utils/site-interactions.d.ts +101 -4
  136. package/src/lib/app-utils/site-interactions.js +120 -4
  137. package/src/lib/app-utils/site-interactions.js.map +1 -1
  138. package/src/lib/app-utils/starter-template-nodes.d.ts +7 -0
  139. package/src/lib/app-utils/starter-template-nodes.js +3 -0
  140. package/src/lib/app-utils/starter-template-nodes.js.map +1 -1
  141. package/src/lib/app-utils/starter-templates.d.ts +5 -19
  142. package/src/lib/app-utils/starter-templates.js +5 -49
  143. package/src/lib/app-utils/starter-templates.js.map +1 -1
  144. package/src/lib/app-utils/transfer-launcher-context.d.ts +136 -0
  145. package/src/lib/app-utils/transfer-launcher-context.js +23 -0
  146. package/src/lib/app-utils/transfer-launcher-context.js.map +1 -0
  147. package/src/lib/app-utils/transfer-resume-import.d.ts +39 -0
  148. package/src/lib/app-utils/transfer-resume-import.js +128 -0
  149. package/src/lib/app-utils/transfer-resume-import.js.map +1 -0
  150. package/src/lib/app-utils/upgrade-proposal.d.ts +66 -0
  151. package/src/lib/app-utils/upgrade-proposal.js +95 -0
  152. package/src/lib/app-utils/upgrade-proposal.js.map +1 -0
  153. package/src/lib/app-utils/utc-month.d.ts +33 -0
  154. package/src/lib/app-utils/utc-month.js +35 -0
  155. package/src/lib/app-utils/utc-month.js.map +1 -0
  156. package/src/lib/app-utils/visitor-record-ceiling.d.ts +4 -4
  157. package/src/lib/app-utils/visitor-record-ceiling.js +4 -4
  158. package/src/lib/app-utils/visitor-record-ceiling.js.map +1 -1
  159. package/src/lib/app-utils/wire-nodes.d.ts +39 -19
  160. package/src/lib/app-utils/wire-nodes.js +120 -34
  161. package/src/lib/app-utils/wire-nodes.js.map +1 -1
  162. package/src/lib/data-transfer/access.d.ts +74 -0
  163. package/src/lib/data-transfer/access.js +93 -0
  164. package/src/lib/data-transfer/access.js.map +1 -0
  165. package/src/lib/data-transfer/derive.d.ts +246 -0
  166. package/src/lib/data-transfer/derive.js +1007 -0
  167. package/src/lib/data-transfer/derive.js.map +1 -0
  168. package/src/lib/data-transfer/export-file.d.ts +46 -0
  169. package/src/lib/data-transfer/export-file.js +146 -0
  170. package/src/lib/data-transfer/export-file.js.map +1 -0
  171. package/src/lib/data-transfer/field-catalog.d.ts +134 -0
  172. package/src/lib/data-transfer/field-catalog.js +278 -0
  173. package/src/lib/data-transfer/field-catalog.js.map +1 -0
  174. package/src/lib/data-transfer/header-match.d.ts +129 -0
  175. package/src/lib/data-transfer/header-match.js +367 -0
  176. package/src/lib/data-transfer/header-match.js.map +1 -0
  177. package/src/lib/data-transfer/index.d.ts +34 -0
  178. package/src/lib/data-transfer/index.js +40 -0
  179. package/src/lib/data-transfer/index.js.map +1 -0
  180. package/src/lib/data-transfer/job.d.ts +190 -0
  181. package/src/lib/data-transfer/job.js +229 -0
  182. package/src/lib/data-transfer/job.js.map +1 -0
  183. package/src/lib/data-transfer/lookup.d.ts +45 -0
  184. package/src/lib/data-transfer/lookup.js +71 -0
  185. package/src/lib/data-transfer/lookup.js.map +1 -0
  186. package/src/lib/data-transfer/match.d.ts +99 -0
  187. package/src/lib/data-transfer/match.js +244 -0
  188. package/src/lib/data-transfer/match.js.map +1 -0
  189. package/src/lib/data-transfer/package-plan.d.ts +205 -0
  190. package/src/lib/data-transfer/package-plan.js +475 -0
  191. package/src/lib/data-transfer/package-plan.js.map +1 -0
  192. package/src/lib/data-transfer/package.d.ts +181 -0
  193. package/src/lib/data-transfer/package.js +426 -0
  194. package/src/lib/data-transfer/package.js.map +1 -0
  195. package/src/lib/data-transfer/picklist-map.d.ts +139 -0
  196. package/src/lib/data-transfer/picklist-map.js +271 -0
  197. package/src/lib/data-transfer/picklist-map.js.map +1 -0
  198. package/src/lib/data-transfer/plan.d.ts +176 -0
  199. package/src/lib/data-transfer/plan.js +451 -0
  200. package/src/lib/data-transfer/plan.js.map +1 -0
  201. package/src/lib/data-transfer/policy.d.ts +170 -0
  202. package/src/lib/data-transfer/policy.js +378 -0
  203. package/src/lib/data-transfer/policy.js.map +1 -0
  204. package/src/lib/data-transfer/resource.d.ts +211 -0
  205. package/src/lib/data-transfer/resource.js +241 -0
  206. package/src/lib/data-transfer/resource.js.map +1 -0
  207. package/src/lib/data-transfer/review.d.ts +70 -0
  208. package/src/lib/data-transfer/review.js +233 -0
  209. package/src/lib/data-transfer/review.js.map +1 -0
  210. package/src/lib/data-transfer/similarity.d.ts +40 -0
  211. package/src/lib/data-transfer/similarity.js +106 -0
  212. package/src/lib/data-transfer/similarity.js.map +1 -0
  213. package/src/lib/data-transfer/site-package.d.ts +365 -0
  214. package/src/lib/data-transfer/site-package.js +1077 -0
  215. package/src/lib/data-transfer/site-package.js.map +1 -0
  216. package/src/lib/data-transfer/source.d.ts +74 -0
  217. package/src/lib/data-transfer/source.js +293 -0
  218. package/src/lib/data-transfer/source.js.map +1 -0
  219. package/src/lib/data-transfer/transfer-api.d.ts +898 -0
  220. package/src/lib/data-transfer/transfer-api.js +107 -0
  221. package/src/lib/data-transfer/transfer-api.js.map +1 -0
  222. package/src/lib/foundation/definitions/org-billing.types.d.ts +31 -0
  223. package/src/lib/foundation/definitions/org-billing.types.js.map +1 -1
  224. package/src/lib/foundation/definitions/organization.types.d.ts +42 -1
  225. package/src/lib/foundation/definitions/organization.types.js.map +1 -1
  226. package/src/lib/foundation/definitions/platform.types.d.ts +6 -4
  227. package/src/lib/foundation/definitions/platform.types.js.map +1 -1
  228. package/src/lib/foundation/index.d.ts +1 -1
  229. package/src/lib/foundation/index.js.map +1 -1
  230. package/src/lib/plugin-manager/feature-plugins.d.ts +91 -2
  231. package/src/lib/plugin-manager/feature-plugins.js +48 -3
  232. package/src/lib/plugin-manager/feature-plugins.js.map +1 -1
  233. package/src/lib/plugin-manager/first-party-plugins.generated.d.ts +50 -0
  234. package/src/lib/plugin-manager/first-party-plugins.generated.js +1129 -28
  235. package/src/lib/plugin-manager/first-party-plugins.generated.js.map +1 -1
  236. package/src/lib/plugin-manager/index.d.ts +0 -1
  237. package/src/lib/plugin-manager/index.js +0 -1
  238. package/src/lib/plugin-manager/index.js.map +1 -1
  239. package/src/lib/plugin-manager/interaction-recipes.d.ts +142 -0
  240. package/src/lib/plugin-manager/interaction-recipes.js +104 -0
  241. package/src/lib/plugin-manager/interaction-recipes.js.map +1 -0
  242. package/src/lib/plugin-manager/interaction-step-checks.d.ts +66 -0
  243. package/src/lib/plugin-manager/interaction-step-checks.js +86 -0
  244. package/src/lib/plugin-manager/interaction-step-checks.js.map +1 -0
  245. package/src/lib/plugin-manager/plugin-artifact-types.d.ts +235 -0
  246. package/src/lib/plugin-manager/plugin-artifact-types.js +99 -0
  247. package/src/lib/plugin-manager/plugin-artifact-types.js.map +1 -0
  248. package/src/lib/plugin-manager/plugin-contact-capture.d.ts +8 -0
  249. package/src/lib/plugin-manager/plugin-contact-capture.js.map +1 -1
  250. package/src/lib/plugin-manager/plugin-conversion-credit.d.ts +216 -0
  251. package/src/lib/plugin-manager/plugin-conversion-credit.js +91 -0
  252. package/src/lib/plugin-manager/plugin-conversion-credit.js.map +1 -0
  253. package/src/lib/plugin-manager/plugin-entity-pickers.d.ts +83 -0
  254. package/src/lib/plugin-manager/plugin-entity-pickers.js +87 -0
  255. package/src/lib/plugin-manager/plugin-entity-pickers.js.map +1 -0
  256. package/src/lib/plugin-manager/plugin-host-resources.d.ts +6 -0
  257. package/src/lib/plugin-manager/plugin-host-resources.js +6 -1
  258. package/src/lib/plugin-manager/plugin-host-resources.js.map +1 -1
  259. package/src/lib/plugin-manager/plugin-intake-gates.d.ts +75 -0
  260. package/src/lib/plugin-manager/plugin-intake-gates.js +49 -0
  261. package/src/lib/plugin-manager/plugin-intake-gates.js.map +1 -0
  262. package/src/lib/plugin-manager/plugin-jobs.d.ts +5 -5
  263. package/src/lib/plugin-manager/plugin-jobs.js +7 -7
  264. package/src/lib/plugin-manager/plugin-jobs.js.map +1 -1
  265. package/src/lib/plugin-manager/plugin-live-paths.d.ts +70 -0
  266. package/src/lib/plugin-manager/plugin-live-paths.js +66 -0
  267. package/src/lib/plugin-manager/plugin-live-paths.js.map +1 -0
  268. package/src/lib/plugin-manager/plugin-org-erasure.d.ts +3 -2
  269. package/src/lib/plugin-manager/plugin-org-erasure.js +30 -5
  270. package/src/lib/plugin-manager/plugin-org-erasure.js.map +1 -1
  271. package/src/lib/plugin-manager/plugin-person-erasure.d.ts +68 -9
  272. package/src/lib/plugin-manager/plugin-person-erasure.js +196 -51
  273. package/src/lib/plugin-manager/plugin-person-erasure.js.map +1 -1
  274. package/src/lib/plugin-manager/plugin-person-records.d.ts +275 -0
  275. package/src/lib/plugin-manager/plugin-person-records.js +107 -0
  276. package/src/lib/plugin-manager/plugin-person-records.js.map +1 -0
  277. package/src/lib/plugin-manager/plugin-record-counts.d.ts +76 -0
  278. package/src/lib/plugin-manager/plugin-record-counts.js +49 -0
  279. package/src/lib/plugin-manager/plugin-record-counts.js.map +1 -0
  280. package/src/lib/plugin-manager/plugin-record-email-state.d.ts +26 -0
  281. package/src/lib/plugin-manager/plugin-record-email-state.js +16 -0
  282. package/src/lib/plugin-manager/plugin-record-email-state.js.map +1 -1
  283. package/src/lib/plugin-manager/plugin-record-index.d.ts +10 -0
  284. package/src/lib/plugin-manager/plugin-record-index.js.map +1 -1
  285. package/src/lib/plugin-manager/plugin-record-lists.d.ts +86 -6
  286. package/src/lib/plugin-manager/plugin-record-lists.js +42 -5
  287. package/src/lib/plugin-manager/plugin-record-lists.js.map +1 -1
  288. package/src/lib/plugin-manager/plugin-record-origin.d.ts +79 -0
  289. package/src/lib/plugin-manager/plugin-record-origin.js +46 -0
  290. package/src/lib/plugin-manager/plugin-record-origin.js.map +1 -0
  291. package/src/lib/plugin-manager/plugin-record-pages.d.ts +37 -0
  292. package/src/lib/plugin-manager/plugin-record-pages.js +52 -0
  293. package/src/lib/plugin-manager/plugin-record-pages.js.map +1 -0
  294. package/src/lib/plugin-manager/plugin-record-timeline.d.ts +60 -0
  295. package/src/lib/plugin-manager/plugin-record-timeline.js +16 -0
  296. package/src/lib/plugin-manager/plugin-record-timeline.js.map +1 -1
  297. package/src/lib/plugin-manager/plugin-resource-drafts.d.ts +5 -5
  298. package/src/lib/plugin-manager/plugin-resource-drafts.js.map +1 -1
  299. package/src/lib/plugin-manager/plugin-revocations.d.ts +64 -0
  300. package/src/lib/plugin-manager/plugin-revocations.js +47 -0
  301. package/src/lib/plugin-manager/plugin-revocations.js.map +1 -0
  302. package/src/lib/plugin-manager/plugin-send-tallies.d.ts +69 -0
  303. package/src/lib/plugin-manager/plugin-send-tallies.js +45 -0
  304. package/src/lib/plugin-manager/plugin-send-tallies.js.map +1 -0
  305. package/src/lib/plugin-manager/plugin-site-bundle.d.ts +40 -0
  306. package/src/lib/plugin-manager/plugin-site-bundle.js +4 -0
  307. package/src/lib/plugin-manager/plugin-site-bundle.js.map +1 -1
  308. package/src/lib/plugin-manager/plugin-site-export.d.ts +57 -1
  309. package/src/lib/plugin-manager/plugin-site-export.js +23 -10
  310. package/src/lib/plugin-manager/plugin-site-export.js.map +1 -1
  311. package/src/lib/plugin-manager/plugin-sitemap-readers.d.ts +146 -0
  312. package/src/lib/plugin-manager/plugin-sitemap-readers.js +110 -0
  313. package/src/lib/plugin-manager/plugin-sitemap-readers.js.map +1 -0
  314. package/src/lib/plugin-manager/plugin-transfer-resources.d.ts +714 -0
  315. package/src/lib/plugin-manager/plugin-transfer-resources.js +443 -0
  316. package/src/lib/plugin-manager/plugin-transfer-resources.js.map +1 -0
  317. package/src/lib/plugin-manager/plugin-usage-axes.d.ts +54 -5
  318. package/src/lib/plugin-manager/plugin-usage-axes.js +11 -3
  319. package/src/lib/plugin-manager/plugin-usage-axes.js.map +1 -1
  320. package/src/lib/plugin-manager/plugin-user-erasure.js +9 -1
  321. package/src/lib/plugin-manager/plugin-user-erasure.js.map +1 -1
  322. package/src/lib/plugin-manager/plugin-visitor-doors.d.ts +104 -0
  323. package/src/lib/plugin-manager/plugin-visitor-doors.js +108 -0
  324. package/src/lib/plugin-manager/plugin-visitor-doors.js.map +1 -0
  325. package/src/lib/plugin-manager/realm-host-aglyn.generated.js +2 -0
  326. package/src/lib/plugin-manager/realm-host-aglyn.generated.js.map +1 -1
  327. package/src/lib/plugin-manager/repeat-rows.d.ts +5 -6
  328. package/src/lib/plugin-manager/repeat-rows.js.map +1 -1
  329. package/src/lib/app-utils/actions.d.ts +0 -310
  330. package/src/lib/app-utils/actions.js +0 -506
  331. package/src/lib/app-utils/actions.js.map +0 -1
  332. package/src/lib/app-utils/automation-placeholders.d.ts +0 -72
  333. package/src/lib/app-utils/automation-placeholders.js +0 -207
  334. package/src/lib/app-utils/automation-placeholders.js.map +0 -1
  335. package/src/lib/app-utils/dataset-models.d.ts +0 -339
  336. package/src/lib/app-utils/dataset-models.js +0 -722
  337. package/src/lib/app-utils/dataset-models.js.map +0 -1
  338. package/src/lib/app-utils/datasets.d.ts +0 -171
  339. package/src/lib/app-utils/datasets.js +0 -227
  340. package/src/lib/app-utils/datasets.js.map +0 -1
  341. package/src/lib/app-utils/form-abuse-ceiling.d.ts +0 -146
  342. package/src/lib/app-utils/form-abuse-ceiling.js +0 -158
  343. package/src/lib/app-utils/form-abuse-ceiling.js.map +0 -1
  344. package/src/lib/plugin-manager/order-fulfilment.d.ts +0 -142
  345. package/src/lib/plugin-manager/order-fulfilment.js +0 -104
  346. package/src/lib/plugin-manager/order-fulfilment.js.map +0 -1
@@ -1 +1 @@
1
- {"version":3,"sources":["../../../../../../libs/aglyn/src/lib/foundation/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2022 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// ____ _________________ ____________________ _ _______\n// / __ \\/ ____/ ____/ _/ | / / _/_ __/ _/ __ \\/ | / / ___/\n// / / / / __/ / /_ / // |/ // / / / / // / / / |/ /\\__ \\\n// / /_/ / /___/ __/ _/ // /| // / / / _/ // /_/ / /| /___/ /\n// /_____/_____/_/ /___/_/ |_/___/ /_/ /___/\\____/_/ |_//____/\n// 👇\n\nexport * from './definitions/components.types'\n// One postal address + one phone format, shared by the personal profile, the\n// org billing address and the Stripe customer (AGL-1133). The failure this\n// prevents is a phone number stored three ways in three collections.\nexport * from './definitions/contact.types'\n// Which host subcollections the media usage scan reads, and which it skips\n// with a written reason (AGL-1867). A VALUE, and exported here rather than\n// kept in the console, because the guard that keeps it equal to a repo-wide\n// sweep lives beside the other derived host-subcollection guards.\nexport * from './definitions/host-content-collections'\nexport * from './definitions/organization.types'\n// The component and layout property kinds (AGL-2893), VALUES because the\n// Properties dialog, the Attributes panel and the graft all read the same\n// table — one list per field kind, derived from `FieldComponentType`.\nexport * from './definitions/property-kinds'\nexport * from './definitions/shared'\n// `HOST_UNPERSISTED_FIELDS` is a VALUE for the same reason its org twin below\n// is: it states which `hosts/{hostId}` keys are never fields. It is exported\n// here so the write boundary can enforce that declaration at runtime\n// (AGL-1429), not only so the rules coverage guard can read it.\nexport {\n // The four error slots as a VALUE (AGL-2092). Exported because their COUNT\n // is now the bound on `kind: 'error'` exemptions (`ERROR_SCREEN_MAX_PER_HOST`)\n // as well as the console card's picker list — one list, so the pickers and\n // the bound cannot drift apart.\n HOST_ERROR_SCREEN_SLOTS,\n HOST_UNPERSISTED_FIELDS,\n HostEntityType,\n HostRedirectParams,\n HostScreenStatus,\n HostScreenVisibility,\n HostViewFormat,\n HostViewType,\n} from './definitions/platform.types'\n// AglynScreenVersion/AglynLayoutVersion are exported (specialized with the\n// SDK's NodeSchema) from ../types/screen instead of this generic form.\n// Org billing vocabulary (see definitions/org-billing.types.ts and the\n// glossary). The two ownership maps are VALUES, not types: they are the\n// declared client-writable/unpersisted partition of `orgs/{orgId}` that the\n// AGL-1355 coverage guard checks the Firestore rules against.\nexport {\n ORG_CLIENT_WRITABLE_FIELDS,\n ORG_UNPERSISTED_FIELDS,\n} from './definitions/org-billing.types'\nexport type {\n AglynOrgBilling,\n // The core halves of the two composed shapes (AGL-3124): what a plan table\n // declares exhaustively, beside the plugin half every reader gets through\n // `OrgEntitlements` / `OrgFeatureFlags`.\n CoreOrgEntitlements,\n CoreOrgFeatureFlags,\n OrgBandwidthCap,\n OrgBrandingProfile,\n OrgCrmAssignmentRule,\n OrgCrmHostSettings,\n OrgCrmRoundRobin,\n OrgCrmSettings,\n OrgDiscount,\n OrgEntitlements,\n OrgFeatureFlags,\n OrgPlan,\n OrgPlanComp,\n OrgSeatAddons,\n OrgSubscription,\n OrgUid,\n} from './definitions/org-billing.types'\nexport type {\n AglynDocument,\n AglynHost,\n AglynHostComponent,\n AglynHostComponentVersion,\n AglynHostMedia,\n AglynHostMediaFolder,\n AglynHostTheme,\n AglynLayout,\n AglynRedirect,\n AglynScreen,\n AglynTemplate,\n AglynUser,\n ComponentDefUid,\n HostAnnouncementBar,\n HostErrorScreens,\n HostErrorScreenSlot,\n HostPopup,\n HostMediaUid,\n HostPath,\n HostUid,\n LayoutUid,\n LegacyNamedFieldKind,\n NonValueFieldKind,\n ProjectNumber,\n ProjectUid,\n PublishSchedule,\n RedirectUid,\n ReusableComponentIcon,\n ReusableComponentKind,\n ReusableComponentProp,\n ReusableComponentPropCondition,\n ReusableComponentPropOption,\n ReusableComponentPropRule,\n ReusableComponentPropType,\n ReusableComponentPropValue,\n ScopeToken,\n ScreenSlug,\n ScreenUid,\n TemplateKind,\n TemplatePlaceholder,\n TemplateSource,\n TemplateUid,\n UserUid,\n VersionUid,\n} from './definitions/platform.types'\n\n// __________ _ ________________ _ _____________\n// / ____/ __ \\/ | / / ___/_ __/ | / | / /_ __/ ___/\n// / / / / / / |/ /\\__ \\ / / / /| | / |/ / / / \\__ \\\n// / /___/ /_/ / /| /___/ // / / ___ |/ /| / / / ___/ /\n// \\____/\\____/_/ |_//____//_/ /_/ |_/_/ |_/ /_/ /____/\n// 👇\n\nexport * from './constants/_internal'\nexport * from './constants/app'\nexport * from './constants/canvas'\nexport * from './constants/components'\nexport * from './constants/shared'\nexport * from './constants/symbol'\n"],"names":["HOST_ERROR_SCREEN_SLOTS","HOST_UNPERSISTED_FIELDS","HostEntityType","HostRedirectParams","HostScreenStatus","HostScreenVisibility","HostViewFormat","HostViewType","ORG_CLIENT_WRITABLE_FIELDS","ORG_UNPERSISTED_FIELDS"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAED,kEAAkE;AAClE,kEAAkE;AAClE,iEAAiE;AACjE,iEAAiE;AACjE,gEAAgE;AAChE,KAAK;AAEL,cAAc,oCAAgC;AAC9C,6EAA6E;AAC7E,2EAA2E;AAC3E,qEAAqE;AACrE,cAAc,iCAA6B;AAC3C,2EAA2E;AAC3E,2EAA2E;AAC3E,4EAA4E;AAC5E,kEAAkE;AAClE,cAAc,4CAAwC;AACtD,cAAc,sCAAkC;AAChD,yEAAyE;AACzE,0EAA0E;AAC1E,sEAAsE;AACtE,cAAc,kCAA8B;AAC5C,cAAc,0BAAsB;AACpC,8EAA8E;AAC9E,6EAA6E;AAC7E,qEAAqE;AACrE,gEAAgE;AAChE,SACE,2EAA2E;AAC3E,+EAA+E;AAC/E,2EAA2E;AAC3E,gCAAgC;AAChCA,uBAAuB,EACvBC,uBAAuB,EACvBC,cAAc,EACdC,kBAAkB,EAClBC,gBAAgB,EAChBC,oBAAoB,EACpBC,cAAc,EACdC,YAAY,QACP,kCAA8B;AACrC,2EAA2E;AAC3E,uEAAuE;AACvE,uEAAuE;AACvE,wEAAwE;AACxE,4EAA4E;AAC5E,8DAA8D;AAC9D,SACEC,0BAA0B,EAC1BC,sBAAsB,QACjB,qCAAiC;AAsExC,2DAA2D;AAC3D,2DAA2D;AAC3D,0DAA0D;AAC1D,0DAA0D;AAC1D,yDAAyD;AACzD,KAAK;AAEL,cAAc,2BAAuB;AACrC,cAAc,qBAAiB;AAC/B,cAAc,wBAAoB;AAClC,cAAc,4BAAwB;AACtC,cAAc,wBAAoB;AAClC,cAAc,wBAAoB"}
1
+ {"version":3,"sources":["../../../../../../libs/aglyn/src/lib/foundation/index.ts"],"sourcesContent":["/**\n * @license\n * Copyright 2022 Aglyn LLC\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\n// ____ _________________ ____________________ _ _______\n// / __ \\/ ____/ ____/ _/ | / / _/_ __/ _/ __ \\/ | / / ___/\n// / / / / __/ / /_ / // |/ // / / / / // / / / |/ /\\__ \\\n// / /_/ / /___/ __/ _/ // /| // / / / _/ // /_/ / /| /___/ /\n// /_____/_____/_/ /___/_/ |_/___/ /_/ /___/\\____/_/ |_//____/\n// 👇\n\nexport * from './definitions/components.types'\n// One postal address + one phone format, shared by the personal profile, the\n// org billing address and the Stripe customer (AGL-1133). The failure this\n// prevents is a phone number stored three ways in three collections.\nexport * from './definitions/contact.types'\n// Which host subcollections the media usage scan reads, and which it skips\n// with a written reason (AGL-1867). A VALUE, and exported here rather than\n// kept in the console, because the guard that keeps it equal to a repo-wide\n// sweep lives beside the other derived host-subcollection guards.\nexport * from './definitions/host-content-collections'\nexport * from './definitions/organization.types'\n// The component and layout property kinds (AGL-2893), VALUES because the\n// Properties dialog, the Attributes panel and the graft all read the same\n// table — one list per field kind, derived from `FieldComponentType`.\nexport * from './definitions/property-kinds'\nexport * from './definitions/shared'\n// `HOST_UNPERSISTED_FIELDS` is a VALUE for the same reason its org twin below\n// is: it states which `hosts/{hostId}` keys are never fields. It is exported\n// here so the write boundary can enforce that declaration at runtime\n// (AGL-1429), not only so the rules coverage guard can read it.\nexport {\n // The four error slots as a VALUE (AGL-2092). Exported because their COUNT\n // is now the bound on `kind: 'error'` exemptions (`ERROR_SCREEN_MAX_PER_HOST`)\n // as well as the console card's picker list — one list, so the pickers and\n // the bound cannot drift apart.\n HOST_ERROR_SCREEN_SLOTS,\n HOST_UNPERSISTED_FIELDS,\n HostEntityType,\n HostRedirectParams,\n HostScreenStatus,\n HostScreenVisibility,\n HostViewFormat,\n HostViewType,\n} from './definitions/platform.types'\n// AglynScreenVersion/AglynLayoutVersion are exported (specialized with the\n// SDK's NodeSchema) from ../types/screen instead of this generic form.\n// Org billing vocabulary (see definitions/org-billing.types.ts and the\n// glossary). The two ownership maps are VALUES, not types: they are the\n// declared client-writable/unpersisted partition of `orgs/{orgId}` that the\n// AGL-1355 coverage guard checks the Firestore rules against.\nexport {\n ORG_CLIENT_WRITABLE_FIELDS,\n ORG_UNPERSISTED_FIELDS,\n} from './definitions/org-billing.types'\nexport type {\n AglynOrgBilling,\n // The core halves of the two composed shapes (AGL-3124): what a plan table\n // declares exhaustively, beside the plugin half every reader gets through\n // `OrgEntitlements` / `OrgFeatureFlags`.\n CoreOrgEntitlements,\n CoreOrgFeatureFlags,\n OrgBandwidthCap,\n OrgBrandingProfile,\n OrgCrmAssignmentRule,\n OrgCrmHostSettings,\n OrgCrmRoundRobin,\n OrgCrmSettings,\n OrgDiscount,\n OrgEntitlements,\n OrgFeatureFlags,\n OrgPlan,\n OrgPlanComp,\n OrgSeatAddons,\n OrgSubscription,\n OrgUid,\n OrgUpgradeProposal,\n} from './definitions/org-billing.types'\nexport type {\n AglynDocument,\n AglynHost,\n AglynHostComponent,\n AglynHostComponentVersion,\n AglynHostMedia,\n AglynHostMediaFolder,\n AglynHostTheme,\n AglynLayout,\n AglynRedirect,\n AglynScreen,\n AglynTemplate,\n AglynUser,\n ComponentDefUid,\n HostAnnouncementBar,\n HostErrorScreens,\n HostErrorScreenSlot,\n HostPopup,\n HostMediaUid,\n HostPath,\n HostUid,\n LayoutUid,\n LegacyNamedFieldKind,\n NonValueFieldKind,\n ProjectNumber,\n ProjectUid,\n PublishSchedule,\n RedirectUid,\n ReusableComponentIcon,\n ReusableComponentKind,\n ReusableComponentProp,\n ReusableComponentPropCondition,\n ReusableComponentPropOption,\n ReusableComponentPropRule,\n ReusableComponentPropType,\n ReusableComponentPropValue,\n ScopeToken,\n ScreenSlug,\n ScreenUid,\n TemplateKind,\n TemplatePlaceholder,\n TemplateSource,\n TemplateUid,\n UserUid,\n VersionUid,\n} from './definitions/platform.types'\n\n// __________ _ ________________ _ _____________\n// / ____/ __ \\/ | / / ___/_ __/ | / | / /_ __/ ___/\n// / / / / / / |/ /\\__ \\ / / / /| | / |/ / / / \\__ \\\n// / /___/ /_/ / /| /___/ // / / ___ |/ /| / / / ___/ /\n// \\____/\\____/_/ |_//____//_/ /_/ |_/_/ |_/ /_/ /____/\n// 👇\n\nexport * from './constants/_internal'\nexport * from './constants/app'\nexport * from './constants/canvas'\nexport * from './constants/components'\nexport * from './constants/shared'\nexport * from './constants/symbol'\n"],"names":["HOST_ERROR_SCREEN_SLOTS","HOST_UNPERSISTED_FIELDS","HostEntityType","HostRedirectParams","HostScreenStatus","HostScreenVisibility","HostViewFormat","HostViewType","ORG_CLIENT_WRITABLE_FIELDS","ORG_UNPERSISTED_FIELDS"],"mappings":"AAAA;;;;;;;;;;;;;;;CAeC,GAED,kEAAkE;AAClE,kEAAkE;AAClE,iEAAiE;AACjE,iEAAiE;AACjE,gEAAgE;AAChE,KAAK;AAEL,cAAc,oCAAgC;AAC9C,6EAA6E;AAC7E,2EAA2E;AAC3E,qEAAqE;AACrE,cAAc,iCAA6B;AAC3C,2EAA2E;AAC3E,2EAA2E;AAC3E,4EAA4E;AAC5E,kEAAkE;AAClE,cAAc,4CAAwC;AACtD,cAAc,sCAAkC;AAChD,yEAAyE;AACzE,0EAA0E;AAC1E,sEAAsE;AACtE,cAAc,kCAA8B;AAC5C,cAAc,0BAAsB;AACpC,8EAA8E;AAC9E,6EAA6E;AAC7E,qEAAqE;AACrE,gEAAgE;AAChE,SACE,2EAA2E;AAC3E,+EAA+E;AAC/E,2EAA2E;AAC3E,gCAAgC;AAChCA,uBAAuB,EACvBC,uBAAuB,EACvBC,cAAc,EACdC,kBAAkB,EAClBC,gBAAgB,EAChBC,oBAAoB,EACpBC,cAAc,EACdC,YAAY,QACP,kCAA8B;AACrC,2EAA2E;AAC3E,uEAAuE;AACvE,uEAAuE;AACvE,wEAAwE;AACxE,4EAA4E;AAC5E,8DAA8D;AAC9D,SACEC,0BAA0B,EAC1BC,sBAAsB,QACjB,qCAAiC;AAuExC,2DAA2D;AAC3D,2DAA2D;AAC3D,0DAA0D;AAC1D,0DAA0D;AAC1D,yDAAyD;AACzD,KAAK;AAEL,cAAc,2BAAuB;AACrC,cAAc,qBAAiB;AAC/B,cAAc,wBAAoB;AAClC,cAAc,4BAAwB;AACtC,cAAc,wBAAoB;AAClC,cAAc,wBAAoB"}
@@ -699,8 +699,8 @@ export declare const CONSOLE_WIDGET_SLOTS: {
699
699
  */
700
700
  readonly hostFirstRun: "hostFirstRun";
701
701
  /**
702
- * The host setup Theme section, between the "What you have changed" card
703
- * and the editor (AGL-2938). Props: {@link ConsoleHostThemeZoneProps} — the
702
+ * The host setup Theme section, between the Theme picker and the editor
703
+ * (AGL-2938). Props: {@link ConsoleHostThemeZoneProps} — the
704
704
  * site, the theme the editor shows, where that theme came from, the
705
705
  * editor's own preview, and `proposeDraft`, which puts a theme in the
706
706
  * editor as unsaved changes.
@@ -873,6 +873,23 @@ export declare const CONSOLE_WIDGET_SLOTS: {
873
873
  * names no site).
874
874
  */
875
875
  readonly besignerToolbar: "besignerToolbar";
876
+ /**
877
+ * A section at the foot of the besigner's Page Properties drawer
878
+ * (AGL-3475), under the page's publishing, layout, SEO and password
879
+ * sections: what a plugin makes of the PAGE itself, such as serving it once
880
+ * per record. Props: {@link ConsoleBesignerPagePropertiesZoneProps}. The
881
+ * drawer's column spaces each widget as one of its sections; a widget saves
882
+ * through its own routes, never through the drawer's buttons.
883
+ */
884
+ readonly besignerPageProperties: "besignerPageProperties";
885
+ /**
886
+ * Inside one row of a site's Pages list (AGL-3475), beside the page's name:
887
+ * a chip a plugin draws about that page — that it is a record template,
888
+ * and how many pages it serves. Props:
889
+ * {@link ConsoleHostScreenRowZoneProps}. Drawn once per row, so a widget
890
+ * reads what it needs once for the site and answers each row from that.
891
+ */
892
+ readonly hostScreenRow: "hostScreenRow";
876
893
  /**
877
894
  * A site's Screens page, beside its Templates and Create New Screen actions
878
895
  * (AGL-2907): another way to start a screen. Props:
@@ -915,8 +932,43 @@ export declare const CONSOLE_WIDGET_SLOTS: {
915
932
  * widget's declared permission.
916
933
  */
917
934
  readonly orgSites: "orgSites";
935
+ /**
936
+ * One side of one item in a site package import's Changes step, beside
937
+ * the other side (AGL-3545): the item drawn the way its owner previews it.
938
+ * Props: {@link ConsoleSitePackageItemPreviewZoneProps}.
939
+ *
940
+ * A package carries items of many kinds, and how one looks belongs to
941
+ * whoever keeps that kind — a form through the form's own preview, a site
942
+ * email through the email preview. So a widget here names the kinds it
943
+ * draws in its `itemKinds`, the import draws it for those and nothing else,
944
+ * and an item of a kind no widget names keeps the console's own rendering
945
+ * or its value list. The widget reads nothing it is not handed beyond what
946
+ * its preview always reads, and never writes: the import writes, after the
947
+ * person decides.
948
+ */
949
+ readonly sitePackageItemPreview: "sitePackageItemPreview";
918
950
  };
919
951
  export type ConsoleWidgetSlot = (typeof CONSOLE_WIDGET_SLOTS)[keyof typeof CONSOLE_WIDGET_SLOTS];
952
+ /** What the `besignerPageProperties` zone hands each widget (AGL-3475). */
953
+ export interface ConsoleBesignerPagePropertiesZoneProps {
954
+ hostId: string;
955
+ /** The org the page names; `undefined` while it resolves. */
956
+ orgId: string | undefined;
957
+ /** The page in the editor. */
958
+ screenId: string;
959
+ /** The page's `kind` as stored: `'template'` for a template, absent for a page. */
960
+ screenKind?: string;
961
+ }
962
+ /** What the `hostScreenRow` zone hands each widget (AGL-3475). */
963
+ export interface ConsoleHostScreenRowZoneProps {
964
+ hostId: string;
965
+ /** The org the page names; `undefined` while it resolves. */
966
+ orgId: string | undefined;
967
+ /** The row's page. */
968
+ screenId: string;
969
+ /** The page's `kind` as stored. */
970
+ screenKind?: string;
971
+ }
920
972
  /** What the `hostScreens` zone hands each widget (AGL-2907). */
921
973
  export interface ConsoleHostScreensZoneProps {
922
974
  hostId: string;
@@ -1143,6 +1195,23 @@ export interface ConsoleTemplateInstallStatusZoneProps {
1143
1195
  */
1144
1196
  template: Readonly<Record<string, unknown>>;
1145
1197
  }
1198
+ /** What the `sitePackageItemPreview` zone hands each widget (AGL-3545). */
1199
+ export interface ConsoleSitePackageItemPreviewZoneProps {
1200
+ /** The site the package is being imported into. */
1201
+ hostId: string;
1202
+ /** Which side this is: the site's copy, or the file's. */
1203
+ side: 'site' | 'file';
1204
+ /** The item's package key, `<kind>/<id>`. */
1205
+ itemKey: string;
1206
+ /** One of the kinds the widget names in `itemKinds`. */
1207
+ kind: string;
1208
+ /** The document the side is: the site's item, or the id the file's would land under. */
1209
+ itemId: string;
1210
+ /** The item as an import would write it: the document, without `$id`. */
1211
+ content: unknown;
1212
+ /** What the import calls the item. */
1213
+ title: string;
1214
+ }
1146
1215
  /** What the `hostArtifactPublish` zone hands each widget (AGL-3080). */
1147
1216
  export interface ConsoleArtifactPublishZoneProps {
1148
1217
  /**
@@ -1194,6 +1263,20 @@ export interface ConsoleHostThemeZoneProps {
1194
1263
  export declare const CONSOLE_STAFF_WIDGET_SLOTS: readonly ConsoleWidgetSlot[];
1195
1264
  /** Whether a slot is one of the {@link CONSOLE_STAFF_WIDGET_SLOTS}. */
1196
1265
  export declare function isConsoleStaffWidgetSlot(slot: string): boolean;
1266
+ /**
1267
+ * The zones whose HOST decides who reads them (AGL-3554): each widget draws
1268
+ * only the props the host hands it, and the host page is already gated on
1269
+ * what its own route requires — a site package import's side-by-side diff,
1270
+ * opened by whoever may import a package into the site. So the console asks
1271
+ * the widget's own `permission` there and not its extension's: an
1272
+ * extension's permission guards the extension's own surfaces and reads (the
1273
+ * Email plugin's `data.manage`, for the audiences its page lists), and
1274
+ * would otherwise hide a preview from the very person importing the item.
1275
+ * The extension's plan feature is still asked.
1276
+ */
1277
+ export declare const CONSOLE_HOST_GATED_WIDGET_SLOTS: readonly ConsoleWidgetSlot[];
1278
+ /** Whether a slot is one of the {@link CONSOLE_HOST_GATED_WIDGET_SLOTS}. */
1279
+ export declare function isConsoleHostGatedWidgetSlot(slot: string): boolean;
1197
1280
  /** Search listing values by field; a field the editor does not hold is absent. */
1198
1281
  export type ConsoleSeoFieldValues = Partial<Record<SeoListingFieldKey, string>>;
1199
1282
  /**
@@ -1329,6 +1412,12 @@ export interface ConsoleWidget {
1329
1412
  * slots read it; elsewhere it is ignored.
1330
1413
  */
1331
1414
  column?: ConsoleWidgetColumn;
1415
+ /**
1416
+ * The kinds of item the widget draws, for a zone that draws one item of
1417
+ * many kinds (`sitePackageItemPreview`, AGL-3545). Only the slots
1418
+ * documented as reading it do; elsewhere it is ignored.
1419
+ */
1420
+ itemKinds?: readonly string[];
1332
1421
  /**
1333
1422
  * Stable identity for this widget, unique within the plugin per slot.
1334
1423
  * The id names the CARD, not its placement: the same card registered on
@@ -257,8 +257,8 @@ import { _ as _extends } from "@swc/helpers/_/_extends";
257
257
  * state worth returning to.
258
258
  */ hostFirstRun: 'hostFirstRun',
259
259
  /**
260
- * The host setup Theme section, between the "What you have changed" card
261
- * and the editor (AGL-2938). Props: {@link ConsoleHostThemeZoneProps} — the
260
+ * The host setup Theme section, between the Theme picker and the editor
261
+ * (AGL-2938). Props: {@link ConsoleHostThemeZoneProps} — the
262
262
  * site, the theme the editor shows, where that theme came from, the
263
263
  * editor's own preview, and `proposeDraft`, which puts a theme in the
264
264
  * editor as unsaved changes.
@@ -409,6 +409,21 @@ import { _ as _extends } from "@swc/helpers/_/_extends";
409
409
  * names no site).
410
410
  */ besignerToolbar: 'besignerToolbar',
411
411
  /**
412
+ * A section at the foot of the besigner's Page Properties drawer
413
+ * (AGL-3475), under the page's publishing, layout, SEO and password
414
+ * sections: what a plugin makes of the PAGE itself, such as serving it once
415
+ * per record. Props: {@link ConsoleBesignerPagePropertiesZoneProps}. The
416
+ * drawer's column spaces each widget as one of its sections; a widget saves
417
+ * through its own routes, never through the drawer's buttons.
418
+ */ besignerPageProperties: 'besignerPageProperties',
419
+ /**
420
+ * Inside one row of a site's Pages list (AGL-3475), beside the page's name:
421
+ * a chip a plugin draws about that page — that it is a record template,
422
+ * and how many pages it serves. Props:
423
+ * {@link ConsoleHostScreenRowZoneProps}. Drawn once per row, so a widget
424
+ * reads what it needs once for the site and answers each row from that.
425
+ */ hostScreenRow: 'hostScreenRow',
426
+ /**
412
427
  * A site's Screens page, beside its Templates and Create New Screen actions
413
428
  * (AGL-2907): another way to start a screen. Props:
414
429
  * {@link ConsoleHostScreensZoneProps}. A widget here runs its own flow and
@@ -444,7 +459,21 @@ import { _ as _extends } from "@swc/helpers/_/_extends";
444
459
  * door proves the reader's permission on each of them again. So the zone
445
460
  * carries no gate beyond the slot's own — enablement, entitlement, and the
446
461
  * widget's declared permission.
447
- */ orgSites: 'orgSites'
462
+ */ orgSites: 'orgSites',
463
+ /**
464
+ * One side of one item in a site package import's Changes step, beside
465
+ * the other side (AGL-3545): the item drawn the way its owner previews it.
466
+ * Props: {@link ConsoleSitePackageItemPreviewZoneProps}.
467
+ *
468
+ * A package carries items of many kinds, and how one looks belongs to
469
+ * whoever keeps that kind — a form through the form's own preview, a site
470
+ * email through the email preview. So a widget here names the kinds it
471
+ * draws in its `itemKinds`, the import draws it for those and nothing else,
472
+ * and an item of a kind no widget names keeps the console's own rendering
473
+ * or its value list. The widget reads nothing it is not handed beyond what
474
+ * its preview always reads, and never writes: the import writes, after the
475
+ * person decides.
476
+ */ sitePackageItemPreview: 'sitePackageItemPreview'
448
477
  };
449
478
  /**
450
479
  * The zones on the STAFF pages (AGL-2939): the staff overview, the staff org
@@ -469,6 +498,22 @@ import { _ as _extends } from "@swc/helpers/_/_extends";
469
498
  /** Whether a slot is one of the {@link CONSOLE_STAFF_WIDGET_SLOTS}. */ export function isConsoleStaffWidgetSlot(slot) {
470
499
  return CONSOLE_STAFF_WIDGET_SLOTS.includes(slot);
471
500
  }
501
+ /**
502
+ * The zones whose HOST decides who reads them (AGL-3554): each widget draws
503
+ * only the props the host hands it, and the host page is already gated on
504
+ * what its own route requires — a site package import's side-by-side diff,
505
+ * opened by whoever may import a package into the site. So the console asks
506
+ * the widget's own `permission` there and not its extension's: an
507
+ * extension's permission guards the extension's own surfaces and reads (the
508
+ * Email plugin's `data.manage`, for the audiences its page lists), and
509
+ * would otherwise hide a preview from the very person importing the item.
510
+ * The extension's plan feature is still asked.
511
+ */ export const CONSOLE_HOST_GATED_WIDGET_SLOTS = [
512
+ CONSOLE_WIDGET_SLOTS.sitePackageItemPreview
513
+ ];
514
+ /** Whether a slot is one of the {@link CONSOLE_HOST_GATED_WIDGET_SLOTS}. */ export function isConsoleHostGatedWidgetSlot(slot) {
515
+ return CONSOLE_HOST_GATED_WIDGET_SLOTS.includes(slot);
516
+ }
472
517
  const consoleExtensions = new Map();
473
518
  /** Idempotent by pluginId — re-registration replaces the previous entry. */ export function registerConsoleExtension(extension) {
474
519
  consoleExtensions.set(extension.pluginId, extension);