@anthusai/papyrus 1.10.0 → 1.11.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 (61) hide show
  1. package/amplify/data/resource.js +3 -3
  2. package/amplify/data/resource.ts +3 -3
  3. package/amplify/functions/category-action/handler.ts +18 -18
  4. package/amplify/functions/console-chat-responder/src/main.rs +1 -1
  5. package/amplify/functions/content-actions/handler.py +23 -0
  6. package/amplify/functions/content-actions/requirements.txt +1 -1
  7. package/amplify/functions/content-actions/resource.js +1 -1
  8. package/amplify/functions/content-actions/resource.ts +1 -1
  9. package/amplify/functions/renditions/requirements.txt +1 -1
  10. package/amplify/functions/shared/slack-events.ts +2 -2
  11. package/amplify/publication/renditions-function.js +1 -1
  12. package/amplify/publication/renditions-function.ts +1 -1
  13. package/app/api/local-preview/derive/route.ts +28 -0
  14. package/app/api/local-preview/media/route.ts +25 -0
  15. package/app/globals.css +28 -28
  16. package/app/layout.tsx +8 -5
  17. package/app/newsroom/[section]/[...selection]/page.tsx +0 -1
  18. package/app/newsroom/[section]/page.tsx +0 -1
  19. package/app/newsroom/insights/[threadId]/page.tsx +5 -16
  20. package/app/newsroom/insights/page.tsx +4 -12
  21. package/components/board-card-excerpts.tsx +45 -0
  22. package/components/markus-ir-preview.tsx +47 -2
  23. package/components/news-desk-page.tsx +0 -1
  24. package/components/news-desk-taxonomy-client.ts +25 -220
  25. package/components/newsroom-article-editor.tsx +135 -39
  26. package/components/newsroom-assignment-detail.tsx +35 -1
  27. package/components/newsroom-board-view.tsx +29 -7
  28. package/components/newsroom-newsprint-board.css +9 -2
  29. package/components/newsroom-ops-overview.tsx +27 -5
  30. package/components/newsroom-organizer-shell.tsx +25 -7
  31. package/components/newsroom-organizer.css +196 -4
  32. package/components/priming-proof-page.tsx +17 -8
  33. package/components/prospectus-account-chooser.tsx +103 -0
  34. package/components/story-reporting-trail-client.ts +91 -0
  35. package/components/story-reporting-trail.tsx +115 -0
  36. package/components/topic-steering-workspace.tsx +154 -671
  37. package/components/ui/sheet.tsx +1 -0
  38. package/components/wiki-concepts-view.tsx +153 -0
  39. package/components/wiki-index-client.ts +51 -0
  40. package/lib/content-actions-client.ts +3 -0
  41. package/lib/content-actions-demo.ts +55 -3
  42. package/lib/content-item-lifecycle.ts +4 -2
  43. package/lib/front-matter-fields.ts +42 -0
  44. package/lib/local-preview-seed.ts +33 -0
  45. package/lib/newsroom-articles.ts +2 -0
  46. package/lib/newsroom-board.ts +4 -0
  47. package/lib/newsroom-forum-routes.ts +2 -43
  48. package/lib/newsroom-index-filters.ts +3 -40
  49. package/lib/newsroom-media-backend.ts +5 -0
  50. package/lib/newsroom-nav.ts +1 -3
  51. package/lib/newsroom-organizer-nav.ts +5 -12
  52. package/lib/newsroom-section-routing.ts +1 -1
  53. package/lib/newsroom-sections.ts +12 -0
  54. package/lib/papyrus-web-locations.ts +3 -24
  55. package/lib/priming-proof-report.ts +1 -0
  56. package/lib/semantic-graph.ts +5 -5
  57. package/lib/site-brand.ts +9 -0
  58. package/lib/story-reporting-trail.ts +106 -0
  59. package/lib/wiki.ts +56 -0
  60. package/package.json +12 -1
  61. package/routes.manifest.json +23 -7
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "1.10.0",
2
+ "version": "1.11.0",
3
3
  "routes": [
4
4
  {
5
5
  "file": "app/%5F_preview/[[...path]]/route.ts",
@@ -129,6 +129,26 @@
129
129
  ],
130
130
  "config": {}
131
131
  },
132
+ {
133
+ "file": "app/api/local-preview/derive/route.ts",
134
+ "hasDefault": false,
135
+ "exports": [
136
+ "POST"
137
+ ],
138
+ "config": {
139
+ "dynamic": "\"force-dynamic\""
140
+ }
141
+ },
142
+ {
143
+ "file": "app/api/local-preview/media/route.ts",
144
+ "hasDefault": false,
145
+ "exports": [
146
+ "GET"
147
+ ],
148
+ "config": {
149
+ "dynamic": "\"force-dynamic\""
150
+ }
151
+ },
132
152
  {
133
153
  "file": "app/api/media/[...path]/route.ts",
134
154
  "hasDefault": false,
@@ -230,17 +250,13 @@
230
250
  "file": "app/newsroom/insights/[threadId]/page.tsx",
231
251
  "hasDefault": true,
232
252
  "exports": [],
233
- "config": {
234
- "dynamic": "\"force-dynamic\""
235
- }
253
+ "config": {}
236
254
  },
237
255
  {
238
256
  "file": "app/newsroom/insights/page.tsx",
239
257
  "hasDefault": true,
240
258
  "exports": [],
241
- "config": {
242
- "dynamic": "\"force-dynamic\""
243
- }
259
+ "config": {}
244
260
  },
245
261
  {
246
262
  "file": "app/newsroom/layout.tsx",