@aglyn/aglyn 1.0.0-beta.220 → 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 (358) 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 +23 -23
  45. package/src/lib/app-utils/docs-help.generated.js +47 -10
  46. package/src/lib/app-utils/docs-help.generated.js.map +1 -1
  47. package/src/lib/app-utils/docs-index.generated.js +746 -151
  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 +33 -0
  65. package/src/lib/app-utils/health-report.js.map +1 -1
  66. package/src/lib/app-utils/leaving-notice.d.ts +96 -0
  67. package/src/lib/app-utils/leaving-notice.js +157 -0
  68. package/src/lib/app-utils/leaving-notice.js.map +1 -0
  69. package/src/lib/app-utils/llms-txt.d.ts +20 -0
  70. package/src/lib/app-utils/llms-txt.js +7 -1
  71. package/src/lib/app-utils/llms-txt.js.map +1 -1
  72. package/src/lib/app-utils/media-asset-facts.d.ts +16 -1
  73. package/src/lib/app-utils/media-asset-facts.js +40 -13
  74. package/src/lib/app-utils/media-asset-facts.js.map +1 -1
  75. package/src/lib/app-utils/media-bandwidth.d.ts +52 -0
  76. package/src/lib/app-utils/media-bandwidth.js +94 -0
  77. package/src/lib/app-utils/media-bandwidth.js.map +1 -0
  78. package/src/lib/app-utils/media-ref.d.ts +241 -33
  79. package/src/lib/app-utils/media-ref.js +324 -43
  80. package/src/lib/app-utils/media-ref.js.map +1 -1
  81. package/src/lib/app-utils/media-src.d.ts +8 -8
  82. package/src/lib/app-utils/media-src.js +27 -11
  83. package/src/lib/app-utils/media-src.js.map +1 -1
  84. package/src/lib/app-utils/media-takedown-reach.d.ts +4 -1
  85. package/src/lib/app-utils/media-takedown-reach.js +6 -3
  86. package/src/lib/app-utils/media-takedown-reach.js.map +1 -1
  87. package/src/lib/app-utils/notifications.d.ts +1 -1
  88. package/src/lib/app-utils/notifications.js +2 -0
  89. package/src/lib/app-utils/notifications.js.map +1 -1
  90. package/src/lib/app-utils/operator-alerts.js +17 -0
  91. package/src/lib/app-utils/operator-alerts.js.map +1 -1
  92. package/src/lib/app-utils/organizations.d.ts +51 -2
  93. package/src/lib/app-utils/organizations.js +56 -3
  94. package/src/lib/app-utils/organizations.js.map +1 -1
  95. package/src/lib/app-utils/page-record-sources.d.ts +87 -0
  96. package/src/lib/app-utils/page-record-sources.js +53 -0
  97. package/src/lib/app-utils/page-record-sources.js.map +1 -0
  98. package/src/lib/app-utils/paid-media-source.d.ts +3 -7
  99. package/src/lib/app-utils/paid-media-source.js +5 -19
  100. package/src/lib/app-utils/paid-media-source.js.map +1 -1
  101. package/src/lib/app-utils/person-erasure.d.ts +5 -2
  102. package/src/lib/app-utils/person-erasure.js.map +1 -1
  103. package/src/lib/app-utils/picklists.d.ts +187 -0
  104. package/src/lib/app-utils/picklists.js +320 -0
  105. package/src/lib/app-utils/picklists.js.map +1 -0
  106. package/src/lib/app-utils/plan-entitlements.d.ts +220 -50
  107. package/src/lib/app-utils/plan-entitlements.js +309 -115
  108. package/src/lib/app-utils/plan-entitlements.js.map +1 -1
  109. package/src/lib/app-utils/realm-host-surface.generated.js +2 -0
  110. package/src/lib/app-utils/realm-host-surface.generated.js.map +1 -1
  111. package/src/lib/app-utils/release-flags.d.ts +1 -1
  112. package/src/lib/app-utils/release-flags.js +11 -0
  113. package/src/lib/app-utils/release-flags.js.map +1 -1
  114. package/src/lib/app-utils/rendered-widths.d.ts +121 -0
  115. package/src/lib/app-utils/rendered-widths.js +211 -0
  116. package/src/lib/app-utils/rendered-widths.js.map +1 -0
  117. package/src/lib/app-utils/repeat-sources.d.ts +2 -1
  118. package/src/lib/app-utils/repeat-sources.js.map +1 -1
  119. package/src/lib/app-utils/screen-link-context-value.d.ts +7 -0
  120. package/src/lib/app-utils/screen-link-context-value.js.map +1 -1
  121. package/src/lib/app-utils/screen-link-context.js +14 -2
  122. package/src/lib/app-utils/screen-link-context.js.map +1 -1
  123. package/src/lib/app-utils/screen-route.d.ts +157 -36
  124. package/src/lib/app-utils/screen-route.js +191 -41
  125. package/src/lib/app-utils/screen-route.js.map +1 -1
  126. package/src/lib/app-utils/seo-audit.d.ts +11 -1
  127. package/src/lib/app-utils/seo-audit.js +33 -13
  128. package/src/lib/app-utils/seo-audit.js.map +1 -1
  129. package/src/lib/app-utils/seo-keywords.d.ts +11 -0
  130. package/src/lib/app-utils/seo-keywords.js +19 -5
  131. package/src/lib/app-utils/seo-keywords.js.map +1 -1
  132. package/src/lib/app-utils/seo-page-facts.d.ts +47 -4
  133. package/src/lib/app-utils/seo-page-facts.js +136 -31
  134. package/src/lib/app-utils/seo-page-facts.js.map +1 -1
  135. package/src/lib/app-utils/seo-site-scan.d.ts +42 -4
  136. package/src/lib/app-utils/seo-site-scan.js +113 -12
  137. package/src/lib/app-utils/seo-site-scan.js.map +1 -1
  138. package/src/lib/app-utils/server.d.ts +5 -4
  139. package/src/lib/app-utils/server.js +14 -5
  140. package/src/lib/app-utils/server.js.map +1 -1
  141. package/src/lib/app-utils/site-icon-set.d.ts +195 -0
  142. package/src/lib/app-utils/site-icon-set.js +351 -0
  143. package/src/lib/app-utils/site-icon-set.js.map +1 -0
  144. package/src/lib/app-utils/site-interactions.d.ts +101 -4
  145. package/src/lib/app-utils/site-interactions.js +120 -4
  146. package/src/lib/app-utils/site-interactions.js.map +1 -1
  147. package/src/lib/app-utils/starter-template-nodes.d.ts +7 -0
  148. package/src/lib/app-utils/starter-template-nodes.js +3 -0
  149. package/src/lib/app-utils/starter-template-nodes.js.map +1 -1
  150. package/src/lib/app-utils/starter-templates.d.ts +5 -19
  151. package/src/lib/app-utils/starter-templates.js +5 -49
  152. package/src/lib/app-utils/starter-templates.js.map +1 -1
  153. package/src/lib/app-utils/transfer-launcher-context.d.ts +136 -0
  154. package/src/lib/app-utils/transfer-launcher-context.js +23 -0
  155. package/src/lib/app-utils/transfer-launcher-context.js.map +1 -0
  156. package/src/lib/app-utils/transfer-resume-import.d.ts +39 -0
  157. package/src/lib/app-utils/transfer-resume-import.js +128 -0
  158. package/src/lib/app-utils/transfer-resume-import.js.map +1 -0
  159. package/src/lib/app-utils/upgrade-proposal.d.ts +66 -0
  160. package/src/lib/app-utils/upgrade-proposal.js +95 -0
  161. package/src/lib/app-utils/upgrade-proposal.js.map +1 -0
  162. package/src/lib/app-utils/utc-month.d.ts +33 -0
  163. package/src/lib/app-utils/utc-month.js +35 -0
  164. package/src/lib/app-utils/utc-month.js.map +1 -0
  165. package/src/lib/app-utils/visitor-record-ceiling.d.ts +4 -4
  166. package/src/lib/app-utils/visitor-record-ceiling.js +4 -4
  167. package/src/lib/app-utils/visitor-record-ceiling.js.map +1 -1
  168. package/src/lib/app-utils/wire-nodes.d.ts +39 -19
  169. package/src/lib/app-utils/wire-nodes.js +120 -34
  170. package/src/lib/app-utils/wire-nodes.js.map +1 -1
  171. package/src/lib/data-transfer/access.d.ts +74 -0
  172. package/src/lib/data-transfer/access.js +93 -0
  173. package/src/lib/data-transfer/access.js.map +1 -0
  174. package/src/lib/data-transfer/derive.d.ts +246 -0
  175. package/src/lib/data-transfer/derive.js +1007 -0
  176. package/src/lib/data-transfer/derive.js.map +1 -0
  177. package/src/lib/data-transfer/export-file.d.ts +46 -0
  178. package/src/lib/data-transfer/export-file.js +146 -0
  179. package/src/lib/data-transfer/export-file.js.map +1 -0
  180. package/src/lib/data-transfer/field-catalog.d.ts +134 -0
  181. package/src/lib/data-transfer/field-catalog.js +278 -0
  182. package/src/lib/data-transfer/field-catalog.js.map +1 -0
  183. package/src/lib/data-transfer/header-match.d.ts +129 -0
  184. package/src/lib/data-transfer/header-match.js +367 -0
  185. package/src/lib/data-transfer/header-match.js.map +1 -0
  186. package/src/lib/data-transfer/index.d.ts +34 -0
  187. package/src/lib/data-transfer/index.js +40 -0
  188. package/src/lib/data-transfer/index.js.map +1 -0
  189. package/src/lib/data-transfer/job.d.ts +190 -0
  190. package/src/lib/data-transfer/job.js +229 -0
  191. package/src/lib/data-transfer/job.js.map +1 -0
  192. package/src/lib/data-transfer/lookup.d.ts +45 -0
  193. package/src/lib/data-transfer/lookup.js +71 -0
  194. package/src/lib/data-transfer/lookup.js.map +1 -0
  195. package/src/lib/data-transfer/match.d.ts +99 -0
  196. package/src/lib/data-transfer/match.js +244 -0
  197. package/src/lib/data-transfer/match.js.map +1 -0
  198. package/src/lib/data-transfer/package-plan.d.ts +205 -0
  199. package/src/lib/data-transfer/package-plan.js +475 -0
  200. package/src/lib/data-transfer/package-plan.js.map +1 -0
  201. package/src/lib/data-transfer/package.d.ts +181 -0
  202. package/src/lib/data-transfer/package.js +426 -0
  203. package/src/lib/data-transfer/package.js.map +1 -0
  204. package/src/lib/data-transfer/picklist-map.d.ts +139 -0
  205. package/src/lib/data-transfer/picklist-map.js +271 -0
  206. package/src/lib/data-transfer/picklist-map.js.map +1 -0
  207. package/src/lib/data-transfer/plan.d.ts +176 -0
  208. package/src/lib/data-transfer/plan.js +451 -0
  209. package/src/lib/data-transfer/plan.js.map +1 -0
  210. package/src/lib/data-transfer/policy.d.ts +170 -0
  211. package/src/lib/data-transfer/policy.js +378 -0
  212. package/src/lib/data-transfer/policy.js.map +1 -0
  213. package/src/lib/data-transfer/resource.d.ts +211 -0
  214. package/src/lib/data-transfer/resource.js +241 -0
  215. package/src/lib/data-transfer/resource.js.map +1 -0
  216. package/src/lib/data-transfer/review.d.ts +70 -0
  217. package/src/lib/data-transfer/review.js +233 -0
  218. package/src/lib/data-transfer/review.js.map +1 -0
  219. package/src/lib/data-transfer/similarity.d.ts +40 -0
  220. package/src/lib/data-transfer/similarity.js +106 -0
  221. package/src/lib/data-transfer/similarity.js.map +1 -0
  222. package/src/lib/data-transfer/site-package.d.ts +365 -0
  223. package/src/lib/data-transfer/site-package.js +1077 -0
  224. package/src/lib/data-transfer/site-package.js.map +1 -0
  225. package/src/lib/data-transfer/source.d.ts +74 -0
  226. package/src/lib/data-transfer/source.js +293 -0
  227. package/src/lib/data-transfer/source.js.map +1 -0
  228. package/src/lib/data-transfer/transfer-api.d.ts +898 -0
  229. package/src/lib/data-transfer/transfer-api.js +107 -0
  230. package/src/lib/data-transfer/transfer-api.js.map +1 -0
  231. package/src/lib/foundation/definitions/org-billing.types.d.ts +31 -0
  232. package/src/lib/foundation/definitions/org-billing.types.js.map +1 -1
  233. package/src/lib/foundation/definitions/organization.types.d.ts +42 -1
  234. package/src/lib/foundation/definitions/organization.types.js.map +1 -1
  235. package/src/lib/foundation/definitions/platform.types.d.ts +6 -4
  236. package/src/lib/foundation/definitions/platform.types.js.map +1 -1
  237. package/src/lib/foundation/index.d.ts +1 -1
  238. package/src/lib/foundation/index.js.map +1 -1
  239. package/src/lib/plugin-manager/feature-plugins.d.ts +91 -2
  240. package/src/lib/plugin-manager/feature-plugins.js +48 -3
  241. package/src/lib/plugin-manager/feature-plugins.js.map +1 -1
  242. package/src/lib/plugin-manager/first-party-plugins.generated.d.ts +56 -0
  243. package/src/lib/plugin-manager/first-party-plugins.generated.js +1132 -27
  244. package/src/lib/plugin-manager/first-party-plugins.generated.js.map +1 -1
  245. package/src/lib/plugin-manager/index.d.ts +0 -1
  246. package/src/lib/plugin-manager/index.js +0 -1
  247. package/src/lib/plugin-manager/index.js.map +1 -1
  248. package/src/lib/plugin-manager/interaction-recipes.d.ts +142 -0
  249. package/src/lib/plugin-manager/interaction-recipes.js +104 -0
  250. package/src/lib/plugin-manager/interaction-recipes.js.map +1 -0
  251. package/src/lib/plugin-manager/interaction-step-checks.d.ts +66 -0
  252. package/src/lib/plugin-manager/interaction-step-checks.js +86 -0
  253. package/src/lib/plugin-manager/interaction-step-checks.js.map +1 -0
  254. package/src/lib/plugin-manager/plugin-artifact-types.d.ts +235 -0
  255. package/src/lib/plugin-manager/plugin-artifact-types.js +99 -0
  256. package/src/lib/plugin-manager/plugin-artifact-types.js.map +1 -0
  257. package/src/lib/plugin-manager/plugin-contact-capture.d.ts +8 -0
  258. package/src/lib/plugin-manager/plugin-contact-capture.js.map +1 -1
  259. package/src/lib/plugin-manager/plugin-conversion-credit.d.ts +216 -0
  260. package/src/lib/plugin-manager/plugin-conversion-credit.js +91 -0
  261. package/src/lib/plugin-manager/plugin-conversion-credit.js.map +1 -0
  262. package/src/lib/plugin-manager/plugin-entity-pickers.d.ts +83 -0
  263. package/src/lib/plugin-manager/plugin-entity-pickers.js +87 -0
  264. package/src/lib/plugin-manager/plugin-entity-pickers.js.map +1 -0
  265. package/src/lib/plugin-manager/plugin-host-resources.d.ts +6 -0
  266. package/src/lib/plugin-manager/plugin-host-resources.js +6 -1
  267. package/src/lib/plugin-manager/plugin-host-resources.js.map +1 -1
  268. package/src/lib/plugin-manager/plugin-intake-gates.d.ts +75 -0
  269. package/src/lib/plugin-manager/plugin-intake-gates.js +49 -0
  270. package/src/lib/plugin-manager/plugin-intake-gates.js.map +1 -0
  271. package/src/lib/plugin-manager/plugin-jobs.d.ts +5 -5
  272. package/src/lib/plugin-manager/plugin-jobs.js +7 -7
  273. package/src/lib/plugin-manager/plugin-jobs.js.map +1 -1
  274. package/src/lib/plugin-manager/plugin-live-paths.d.ts +70 -0
  275. package/src/lib/plugin-manager/plugin-live-paths.js +66 -0
  276. package/src/lib/plugin-manager/plugin-live-paths.js.map +1 -0
  277. package/src/lib/plugin-manager/plugin-org-erasure.d.ts +3 -2
  278. package/src/lib/plugin-manager/plugin-org-erasure.js +30 -5
  279. package/src/lib/plugin-manager/plugin-org-erasure.js.map +1 -1
  280. package/src/lib/plugin-manager/plugin-person-erasure.d.ts +68 -9
  281. package/src/lib/plugin-manager/plugin-person-erasure.js +196 -51
  282. package/src/lib/plugin-manager/plugin-person-erasure.js.map +1 -1
  283. package/src/lib/plugin-manager/plugin-person-records.d.ts +275 -0
  284. package/src/lib/plugin-manager/plugin-person-records.js +107 -0
  285. package/src/lib/plugin-manager/plugin-person-records.js.map +1 -0
  286. package/src/lib/plugin-manager/plugin-record-counts.d.ts +76 -0
  287. package/src/lib/plugin-manager/plugin-record-counts.js +49 -0
  288. package/src/lib/plugin-manager/plugin-record-counts.js.map +1 -0
  289. package/src/lib/plugin-manager/plugin-record-email-state.d.ts +26 -0
  290. package/src/lib/plugin-manager/plugin-record-email-state.js +16 -0
  291. package/src/lib/plugin-manager/plugin-record-email-state.js.map +1 -1
  292. package/src/lib/plugin-manager/plugin-record-index.d.ts +10 -0
  293. package/src/lib/plugin-manager/plugin-record-index.js.map +1 -1
  294. package/src/lib/plugin-manager/plugin-record-lists.d.ts +86 -6
  295. package/src/lib/plugin-manager/plugin-record-lists.js +42 -5
  296. package/src/lib/plugin-manager/plugin-record-lists.js.map +1 -1
  297. package/src/lib/plugin-manager/plugin-record-origin.d.ts +79 -0
  298. package/src/lib/plugin-manager/plugin-record-origin.js +46 -0
  299. package/src/lib/plugin-manager/plugin-record-origin.js.map +1 -0
  300. package/src/lib/plugin-manager/plugin-record-pages.d.ts +37 -0
  301. package/src/lib/plugin-manager/plugin-record-pages.js +52 -0
  302. package/src/lib/plugin-manager/plugin-record-pages.js.map +1 -0
  303. package/src/lib/plugin-manager/plugin-record-timeline.d.ts +60 -0
  304. package/src/lib/plugin-manager/plugin-record-timeline.js +16 -0
  305. package/src/lib/plugin-manager/plugin-record-timeline.js.map +1 -1
  306. package/src/lib/plugin-manager/plugin-resource-drafts.d.ts +5 -5
  307. package/src/lib/plugin-manager/plugin-resource-drafts.js.map +1 -1
  308. package/src/lib/plugin-manager/plugin-revocations.d.ts +64 -0
  309. package/src/lib/plugin-manager/plugin-revocations.js +47 -0
  310. package/src/lib/plugin-manager/plugin-revocations.js.map +1 -0
  311. package/src/lib/plugin-manager/plugin-send-tallies.d.ts +69 -0
  312. package/src/lib/plugin-manager/plugin-send-tallies.js +45 -0
  313. package/src/lib/plugin-manager/plugin-send-tallies.js.map +1 -0
  314. package/src/lib/plugin-manager/plugin-server-steps.d.ts +170 -0
  315. package/src/lib/plugin-manager/plugin-server-steps.js +116 -0
  316. package/src/lib/plugin-manager/plugin-server-steps.js.map +1 -0
  317. package/src/lib/plugin-manager/plugin-site-bundle.d.ts +40 -0
  318. package/src/lib/plugin-manager/plugin-site-bundle.js +4 -0
  319. package/src/lib/plugin-manager/plugin-site-bundle.js.map +1 -1
  320. package/src/lib/plugin-manager/plugin-site-export.d.ts +57 -1
  321. package/src/lib/plugin-manager/plugin-site-export.js +23 -10
  322. package/src/lib/plugin-manager/plugin-site-export.js.map +1 -1
  323. package/src/lib/plugin-manager/plugin-sitemap-readers.d.ts +146 -0
  324. package/src/lib/plugin-manager/plugin-sitemap-readers.js +110 -0
  325. package/src/lib/plugin-manager/plugin-sitemap-readers.js.map +1 -0
  326. package/src/lib/plugin-manager/plugin-transfer-resources.d.ts +714 -0
  327. package/src/lib/plugin-manager/plugin-transfer-resources.js +443 -0
  328. package/src/lib/plugin-manager/plugin-transfer-resources.js.map +1 -0
  329. package/src/lib/plugin-manager/plugin-usage-axes.d.ts +54 -5
  330. package/src/lib/plugin-manager/plugin-usage-axes.js +11 -3
  331. package/src/lib/plugin-manager/plugin-usage-axes.js.map +1 -1
  332. package/src/lib/plugin-manager/plugin-user-erasure.js +9 -1
  333. package/src/lib/plugin-manager/plugin-user-erasure.js.map +1 -1
  334. package/src/lib/plugin-manager/plugin-visitor-doors.d.ts +104 -0
  335. package/src/lib/plugin-manager/plugin-visitor-doors.js +108 -0
  336. package/src/lib/plugin-manager/plugin-visitor-doors.js.map +1 -0
  337. package/src/lib/plugin-manager/realm-host-aglyn.generated.js +2 -0
  338. package/src/lib/plugin-manager/realm-host-aglyn.generated.js.map +1 -1
  339. package/src/lib/plugin-manager/repeat-rows.d.ts +5 -6
  340. package/src/lib/plugin-manager/repeat-rows.js.map +1 -1
  341. package/src/lib/app-utils/actions.d.ts +0 -310
  342. package/src/lib/app-utils/actions.js +0 -506
  343. package/src/lib/app-utils/actions.js.map +0 -1
  344. package/src/lib/app-utils/automation-placeholders.d.ts +0 -72
  345. package/src/lib/app-utils/automation-placeholders.js +0 -207
  346. package/src/lib/app-utils/automation-placeholders.js.map +0 -1
  347. package/src/lib/app-utils/dataset-models.d.ts +0 -339
  348. package/src/lib/app-utils/dataset-models.js +0 -722
  349. package/src/lib/app-utils/dataset-models.js.map +0 -1
  350. package/src/lib/app-utils/datasets.d.ts +0 -171
  351. package/src/lib/app-utils/datasets.js +0 -227
  352. package/src/lib/app-utils/datasets.js.map +0 -1
  353. package/src/lib/app-utils/form-abuse-ceiling.d.ts +0 -146
  354. package/src/lib/app-utils/form-abuse-ceiling.js +0 -158
  355. package/src/lib/app-utils/form-abuse-ceiling.js.map +0 -1
  356. package/src/lib/plugin-manager/order-fulfilment.d.ts +0 -142
  357. package/src/lib/plugin-manager/order-fulfilment.js +0 -104
  358. package/src/lib/plugin-manager/order-fulfilment.js.map +0 -1
@@ -25,25 +25,102 @@ export declare const MEDIA_CDN_ROUTE = "/api/media/cdn";
25
25
  * literal in `libs/plugins/mui/.../image.tsx`, so a width added to the
26
26
  * generator never reached the markup.
27
27
  *
28
- * ⚠️ 1920 EXISTS SO THE LARGEST CANDIDATE IS STILL A VARIANT (2026-08-26).
28
+ * ## Why ten steps, and not four (AGL-3486)
29
+ *
30
+ * The ladder used to be 320 / 640 / 1280 / 1920. A browser picks the smallest
31
+ * candidate at least as wide as the slot times the device pixel ratio, so a
32
+ * 378px slot on a DPR 2 phone needs 756 pixels and the next step was 1280 —
33
+ * 2.9x the pixels it could use. Lighthouse measured exactly that on a customer
34
+ * home page: four images delivered at `?w=1280` into slots a third that size.
35
+ * The steps are now close enough that the overshoot is at most ~1.33x, and
36
+ * 2560 covers a full-bleed hero on a retina laptop. A source is never
37
+ * enlarged: {@link mediaCdnSrcSet} caps the list at the source's own width,
38
+ * and the generator skips every width above it.
39
+ *
40
+ * 160 serves thumbnails, avatars and logos in a card. Every step is a real
41
+ * object per asset, so a width earns its place by being the one a common slot
42
+ * would otherwise overshoot.
43
+ *
44
+ * ## The largest candidate is still a variant (2026-08-26)
29
45
  *
30
46
  * The srcSet used to top out with the BARE url labelled `1920w` — the only
31
- * candidate that is never WebP. With `sizes="100vw"` any retina desktop needs
32
- * more effective pixels than 1280w offers, so that bare candidate is the one
33
- * most desktop visitors actually download. Measured on aglyn.com's own
34
- * assets: 335 KB / 305 KB / 164 KB PNG originals against 4 KB / 4 KB / 5 KB
35
- * WebP at `?w=320` — and ~94% of a media serve is bandwidth (AGL-1442).
47
+ * candidate that is never WebP — and with `sizes="100vw"` that is the one a
48
+ * retina desktop downloads. Measured on aglyn.com's own assets: 335 KB PNG
49
+ * originals against 4 KB WebP at `?w=320`, and ~94% of a media serve is
50
+ * bandwidth (AGL-1442).
36
51
  *
37
52
  * `mediaVariantWidthsFor` names every width below the source, and for a JPEG
38
53
  * or PNG the rest as WebP at the source's own width; `serveMediaCdn` serves
39
- * the original for a width an asset does not have, so a missing variant
40
- * degrades to exactly the bytes it served before.
54
+ * the delivery copy for a width an asset does not have, so a missing variant
55
+ * degrades to exactly the bytes the bare URL serves.
56
+ *
57
+ * Existing assets reach a new ladder or a new encoder without a backfill: the
58
+ * CDN regenerates an asset whose {@link MEDIA_VARIANT_ENCODER_VERSION_FIELD}
59
+ * is older than {@link MEDIA_VARIANT_ENCODER_VERSION} after serving the
60
+ * request that found it stale.
61
+ */
62
+ export declare const MEDIA_CDN_VARIANT_WIDTHS: readonly [160, 320, 480, 640, 768, 960, 1280, 1600, 1920, 2560];
63
+ /**
64
+ * The generation of the encoder that produced an asset's delivery copies —
65
+ * its `?w=` WebP variants and its display copy (AGL-3486).
66
+ *
67
+ * Bump it whenever the encoder's output would change: its quality, effort or
68
+ * format, the ladder above, or the display copy's rules. Two things key on it:
69
+ *
70
+ * 1. **Lazy regeneration.** `serveMediaCdn` compares it with the asset's
71
+ * {@link MEDIA_VARIANT_ENCODER_VERSION_FIELD}; an older one is served as it
72
+ * is and regenerated after the response, so every existing asset converges
73
+ * on its next request and no backfill script is needed.
74
+ * 2. **Validators and versioned URLs.** The ETag of a variant or display copy
75
+ * names the generation, so a browser revalidating an old encode is sent
76
+ * the new bytes rather than a 304. It is also half of the versioned URL a
77
+ * page names (AGL-3485, {@link mediaCdnVersionToken}), so regenerated
78
+ * copies are fetched under a new URL instead of hiding behind a year-long
79
+ * copy of the old encode.
80
+ *
81
+ * Generation 1 is every variant made before the field existed: WebP quality
82
+ * 80, effort 4, not auto-oriented, on the 320 / 640 / 1280 / 1920 ladder.
83
+ * Generation 2: quality 72, effort 5, auto-oriented, metadata stripped, the
84
+ * ten-step ladder, never a variant larger than its source, and the display
85
+ * copy.
86
+ */
87
+ export declare const MEDIA_VARIANT_ENCODER_VERSION = 2;
88
+ /**
89
+ * The media document field that records which encoder generation made the
90
+ * asset's current delivery copies. Absent means generation 1: every variant
91
+ * made before the field existed.
92
+ */
93
+ export declare const MEDIA_VARIANT_ENCODER_VERSION_FIELD = "variantEncoderVersion";
94
+ /**
95
+ * The encoder generation a media document's delivery copies were made by.
96
+ * Absent, or anything that is not a positive integer, is generation 1.
97
+ */
98
+ export declare function mediaVariantEncoderVersionOf(value: unknown): number;
99
+ /**
100
+ * The longest edge the CDN delivers an image at (AGL-3486).
41
101
  *
42
- * ⛔ EXISTING ASSETS KEEP THE VARIANTS THEY WERE UPLOADED WITH until a backfill
43
- * runs — no regression, and no saving on them either. The backfill is a
44
- * `sharp` pass over the corpus, a script and not a patch (AGL-1442 S7).
102
+ * A phone photo is 4000-8000 pixels on its long edge and several megabytes,
103
+ * and no page slot paints more than a retina full-bleed hero — the 2560 that
104
+ * tops {@link MEDIA_CDN_VARIANT_WIDTHS}. Above it the bare URL serves the
105
+ * display copy instead of the original: the same format, downscaled to fit.
106
+ * The original stays exactly as uploaded, for Download file and `?download=1`.
45
107
  */
46
- export declare const MEDIA_CDN_VARIANT_WIDTHS: readonly [320, 640, 1280, 1920];
108
+ export declare const MEDIA_DELIVERY_MAX_EDGE = 2560;
109
+ /**
110
+ * Suffix of an image's DISPLAY COPY in Storage (AGL-3486):
111
+ * `{objectPath}__display`.
112
+ *
113
+ * The display copy is what the bare inline URL serves for a JPEG, PNG or WebP
114
+ * whose original should not leave as it is: one larger than
115
+ * {@link MEDIA_DELIVERY_MAX_EDGE}, one carrying EXIF, XMP or IPTC (a phone
116
+ * photo's GPS position), or one that relies on an EXIF orientation. It keeps
117
+ * the original's format, so an email client or a link preview that cannot
118
+ * read WebP still can read it. `__display` cannot collide with the
119
+ * `__w{n}`, `__poster` and `__r{key}` suffixes.
120
+ */
121
+ export declare const MEDIA_DISPLAY_OBJECT_SUFFIX = "__display";
122
+ /** Where an image's display copy lives, given the original's object path. */
123
+ export declare function mediaDisplayObjectPath(objectPath: string): string;
47
124
  /**
48
125
  * The variant width a surface asks for when it can only ask for ONE.
49
126
  *
@@ -51,10 +128,42 @@ export declare const MEDIA_CDN_VARIANT_WIDTHS: readonly [320, 640, 1280, 1920];
51
128
  * choose. A `<video poster>` attribute and a `thumbnailUrl` in structured data
52
129
  * each take a single url, so they have to name a width — and it has to be the
53
130
  * SAME width, or a crawler fetching the thumbnail gets different bytes from
54
- * the visitor looking at the poster. 1280 is the widest variant below a 1920
55
- * original's own width.
131
+ * the visitor looking at the poster. 1280 fills a 640px player at DPR 2 and
132
+ * sits below a 1920 still's own width, so it is always a real variant.
56
133
  */
57
134
  export declare const MEDIA_CDN_POSTER_WIDTH = 1280;
135
+ /**
136
+ * The query parameter that makes a CDN URL a VERSIONED one (AGL-3485).
137
+ *
138
+ * A page that knows the bytes it is naming asks for them as
139
+ * `/api/media/cdn/{scope}/{mediaId}?v={contentHash}.{encoder}`, and the CDN
140
+ * answers that request with a year-long `immutable` policy while the token
141
+ * still names the current bytes and the current variants. A replace changes
142
+ * the content hash, a variant regeneration changes the encoder generation,
143
+ * and either one changes the URL the next composition of the page renders.
144
+ *
145
+ * It is a parameter on the stable path rather than the content-hashed third
146
+ * segment, for the reason the module note gives about that segment: the
147
+ * request still reaches the same handler, and a token that no longer names
148
+ * the current bytes is served the CURRENT bytes under the stable URL's short
149
+ * policy rather than anything pinned. A stale page therefore shows the new
150
+ * picture, never a year of the old one; only a request whose token matches
151
+ * the document is ever told to keep its copy.
152
+ */
153
+ export declare const MEDIA_CDN_VERSION_PARAM = "v";
154
+ /** What a versioned URL's token says about the bytes it names. */
155
+ export interface MediaCdnVersion {
156
+ contentHash: string;
157
+ encoderVersion: number;
158
+ }
159
+ /**
160
+ * The `?v=` token for an asset whose current content hash is `contentHash`,
161
+ * or `undefined` when there is no usable hash to name: an asset with no
162
+ * recorded hash renders the unversioned URL, exactly as before.
163
+ */
164
+ export declare function mediaCdnVersionToken(contentHash: unknown): string | undefined;
165
+ /** Reads a `?v=` token apart; null for anything that is not one. */
166
+ export declare function parseMediaCdnVersionToken(value: unknown): MediaCdnVersion | null;
58
167
  /**
59
168
  * Scheme of a stored media reference. Chosen so `startsWith` is a decision:
60
169
  * no URL, path, or `{{binding}}` an author can type begins with it, and it
@@ -146,19 +255,36 @@ export interface ResolveMediaSrcOptions {
146
255
  * scope (see {@link mediaNodeSrc}).
147
256
  */
148
257
  hostId?: string | null;
258
+ /**
259
+ * The asset's current content hash, when the caller has read it off the
260
+ * media document (AGL-3485) — the composition's asset facts lay it on an
261
+ * Image node as `mediaVersion`. A reference then resolves to the VERSIONED
262
+ * URL ({@link MEDIA_CDN_VERSION_PARAM}), which the CDN lets every cache keep
263
+ * for a year. Absent, or not a hash, resolves the stable URL as before.
264
+ */
265
+ version?: string | null;
149
266
  }
150
267
  /**
151
268
  * The render-time resolver every surface shares. Precedence, in order:
152
269
  *
153
270
  * 1. a **media reference** → the CDN URL for it, host-qualified if we know
154
271
  * which site is asking;
155
- * 2. any other non-empty string → **itself, untouched**. That is the whole
156
- * back-compat story and it needs no migration to be correct: nodes
157
- * holding a raw `https://firebasestorage.googleapis.com/…` URL, nodes
158
- * holding an `/api/media/cdn/…` path written by the first pass,
159
- * and an author-typed external URL for a hotlinked image are all just
160
- * passed through;
161
- * 3. empty/absent → undefined, so the caller shows its placeholder.
272
+ * 2. a **Storage download URL for a library object** → the same CDN URL,
273
+ * exactly as if the reference had been stored (AGL-3506). See
274
+ * {@link mediaRefFromStorageUrl};
275
+ * 3. any other non-empty string → **itself, untouched**. Nodes holding an
276
+ * `/api/media/cdn/…` path written by the first pass and an author-typed
277
+ * external URL for a hotlinked image are passed through;
278
+ * 4. empty/absent → undefined, so the caller shows its placeholder.
279
+ *
280
+ * Branch 2 is what routes every library byte through the CDN. A download
281
+ * URL goes from Google's edge straight to the visitor, so no code of ours
282
+ * runs on it: the bandwidth band never counts it (AGL-3474), and a lockdown,
283
+ * a quarantine or a takedown cannot refuse it (`media-download-tokens.ts`).
284
+ * Every upload still stores one on the media document's `url`, and older
285
+ * nodes, products and popups hold it verbatim. Resolving it here covers
286
+ * every one of them with no migration, and an image keeps the stable URL's
287
+ * edge caching.
162
288
  *
163
289
  * A value that opens with `media:` but does not parse resolves to undefined
164
290
  * rather than reaching an `<img src>`. There is no correct URL to emit for
@@ -223,8 +349,12 @@ export declare function siteRelativeMediaSrc(value: string | undefined | null, o
223
349
  * relative URL — the rule the canonical and the RSS feed already follow
224
350
  * (AGL-1160/AGL-1272): never interpolate an unknown origin, and never emit a
225
351
  * URL that is well-formed but wrong. An absolute value is unaffected, so the
226
- * author-typed external URL and the raw storage URL never depend on knowing
227
- * the origin at all.
352
+ * author-typed external URL never depends on knowing the origin at all.
353
+ *
354
+ * A Storage download URL resolves to the CDN path (AGL-3506), so with an
355
+ * origin it leaves as the CDN URL. Without one it leaves as itself: it was
356
+ * already absolute and fetchable, and a reader with no origin is better
357
+ * served by the uncounted link it had than by no image at all.
228
358
  *
229
359
  * A protocol-relative `//host/x.png` only lacks a scheme; it is given `https:`
230
360
  * rather than an origin, which would corrupt it.
@@ -240,6 +370,20 @@ export declare function absoluteMediaSrc(value: string | undefined | null, optio
240
370
  * about the RESOLVED url rather than about the stored value.
241
371
  */
242
372
  export declare function isMediaCdnUrl(url: string | undefined | null): boolean;
373
+ /**
374
+ * The URL of an asset's ORIGINAL bytes (AGL-3486): the CDN url with
375
+ * `?download=1`, or the url unchanged when it is not a CDN one.
376
+ *
377
+ * Since display copies, the bare CDN url is not the upload: an oversized or
378
+ * metadata-carrying image is served as an upright, stripped copy no larger
379
+ * than the delivery edge. That is right for a page and wrong for the two
380
+ * console actions that promise the file itself — Download file, and the
381
+ * image editor's "Replace original", which would otherwise save a downscaled
382
+ * copy over the original. `?download=1` is the one form the CDN answers with
383
+ * the original byte for byte, and a `fetch` or an `<img>` ignores the
384
+ * attachment disposition it comes with.
385
+ */
386
+ export declare function mediaOriginalSrc(src: string): string;
243
387
  /**
244
388
  * One resolved URL at a chosen variant width (AGL-2741).
245
389
  *
@@ -296,7 +440,33 @@ export declare function mediaVariantSrc(value: unknown, options: ResolveMediaSrc
296
440
  * a 712px column jumped to 668px. Hand it the pair, or hand it an explicit CSS
297
441
  * width, but do not hand it this list alone.
298
442
  */
299
- export declare function mediaCdnSrcSet(src: string | undefined | null): string | undefined;
443
+ export declare function mediaCdnSrcSet(src: string | undefined | null, options?: {
444
+ /**
445
+ * The asset's own pixel width, when the caller knows it. The list then
446
+ * stops at the source (AGL-3486), see {@link mediaCdnSrcSetWidths}.
447
+ */
448
+ sourceWidth?: number | null;
449
+ }): string | undefined;
450
+ /**
451
+ * The `srcSet` candidates for a source of the given width (AGL-3486): which
452
+ * `?w=` each one asks for, and the width it truthfully describes.
453
+ *
454
+ * Every ladder width below the source, then ONE candidate at the source's own
455
+ * width — requested as the smallest ladder width at or above it, which is the
456
+ * key the CDN serves a source-width copy under, and described as the source
457
+ * width because that is how many pixels arrive. Advertising `1920w` for a
458
+ * 1000px photo told the browser it could get more detail than exists, so a
459
+ * retina desktop always chose it and was handed the same 1000 pixels.
460
+ *
461
+ * A source wider than the ladder ends at the top step: nothing above
462
+ * {@link MEDIA_DELIVERY_MAX_EDGE} is delivered. An unknown width gets the whole
463
+ * ladder, exactly as before — the CDN never enlarges, so an overstated
464
+ * candidate costs a wasted choice, never a wrong picture.
465
+ */
466
+ export declare function mediaCdnSrcSetWidths(sourceWidth?: number | null): {
467
+ request: number;
468
+ descriptor: number;
469
+ }[];
300
470
  /**
301
471
  * Every sizing attribute an image inside authored PROSE should carry, given
302
472
  * what the composition could learn about the asset (AGL-3149).
@@ -328,10 +498,14 @@ export declare function mediaBodyImageAttributes(options: {
328
498
  /** The target as the body wrote it: a `media:` reference or a plain url. */
329
499
  src: unknown;
330
500
  hostId?: string;
331
- /** The asset's pixel pair, when the composition could read one. */
501
+ /**
502
+ * The asset's pixel pair, when the composition could read one, and its
503
+ * current content hash, which makes the URL a versioned one (AGL-3485).
504
+ */
332
505
  size?: {
333
506
  width: number;
334
507
  height: number;
508
+ version?: string;
335
509
  } | undefined;
336
510
  }): {
337
511
  src: string | undefined;
@@ -375,6 +549,41 @@ export declare function isFirstPartyHost(hostname: string): boolean;
375
549
  * not to widen the apex list.
376
550
  */
377
551
  export declare function isFirstPartyMediaSrc(value: unknown): value is string;
552
+ /**
553
+ * The library asset a Storage object key belongs to, or null.
554
+ *
555
+ * Every writer keys an asset's object as `{base}/media/[folders/]{mediaId}`,
556
+ * with `base` either `hosts/{hostId}` or `orgs/{orgId}`. So a key in that
557
+ * shape whose last segment is id-shaped IS that asset, wherever a folder move
558
+ * has since put it. Derived objects are no asset's key: a variant or a
559
+ * rendition carries a dot (`…__w640.webp`, `…__r720p.mp4`), and a poster
560
+ * ends in {@link MEDIA_POSTER_OBJECT_SUFFIX}, which is id-shaped and has to
561
+ * be refused by name.
562
+ *
563
+ * This names the asset and decides nothing about access.
564
+ */
565
+ export declare function mediaAssetOfObjectKey(objectPath: string): {
566
+ scope: string;
567
+ mediaId: string;
568
+ } | null;
569
+ /**
570
+ * The `media:` reference a Storage DOWNLOAD URL names, or undefined when it
571
+ * names no library asset (AGL-3506).
572
+ *
573
+ * `https://firebasestorage.googleapis.com/v0/b/{bucket}/o/{key}?alt=media&token=…`
574
+ * is what every upload route stores on the media document's `url`, and the
575
+ * key alone says which asset it is ({@link mediaAssetOfObjectKey}). The
576
+ * bucket is not checked: this runs in the browser, where the bucket name is
577
+ * not reliably configured, and nothing is widened by skipping it — the CDN
578
+ * serves by scope and id to anyone who asks, under its own scope check, so a
579
+ * reference minted from a foreign bucket's URL reaches nothing a typed
580
+ * `media:` reference could not.
581
+ *
582
+ * The token is not needed and not kept. The CDN reads the object with the
583
+ * Admin SDK, so a token rotated by a lockdown, or a URL left stale by a
584
+ * folder move, still resolves to the asset's current bytes.
585
+ */
586
+ export declare function mediaRefFromStorageUrl(value: unknown): string | undefined;
378
587
  /**
379
588
  * Reads a reference back out of a CDN path — how the picker mints one from
380
589
  * the `cdnPath` the server already wrote on the media doc, so nothing new
@@ -420,14 +629,12 @@ export declare function mediaRefPattern(mediaId: string): RegExp;
420
629
  /**
421
630
  * What the media picker writes into a node prop.
422
631
  *
423
- * The reference is derived from `cdnPath`, and that is load-bearing rather
424
- * than convenient: `cdnPath` is only minted for orgs entitled to `mediaCdn`
425
- * and is deleted for private assets (`mediaCdnPathUpdate`). Since the CDN
426
- * handler itself checks neither, minting a reference from an id we happen to
427
- * know would hand every free-tier org paid delivery. Deriving it means the
428
- * entitlement gate keeps working with no second copy of the rule — and a
429
- * free-tier org degrades to the raw storage URL, which is exactly what it
430
- * got before the CDN-path pass.
632
+ * The reference is derived from `cdnPath`, which `mediaCdnPathUpdate`
633
+ * deletes for a private asset. An asset with no `cdnPath` that is NOT private
634
+ * — uploaded before the CDN reached every plan (AGL-1152) — has its
635
+ * reference read off the Storage download URL instead (AGL-3506), so the
636
+ * picker stops writing a URL that bypasses the CDN. A private asset keeps
637
+ * the old fallback: no reference to it would render on a page anyway.
431
638
  *
432
639
  * `media.cdnPath` is expected to be already host-qualified by the picker
433
640
  * dialog (AGL-1043). That qualification is preserved in the stored scope so
@@ -446,6 +653,7 @@ export declare function mediaNodeSrc(media: {
446
653
  url?: string | null;
447
654
  cdnPath?: string | null;
448
655
  contentHash?: string | null;
656
+ private?: boolean | null;
449
657
  }): string | undefined;
450
658
  /**
451
659
  * The derived objects a VIDEO asset carries, and how a caller asks for one