@anthusai/papyrus 5.19.1 → 5.20.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 (43) hide show
  1. package/amplify/data/resource.js +1 -0
  2. package/amplify/data/resource.ts +1 -0
  3. package/amplify/data/schema.js +1 -0
  4. package/amplify/data/schema.ts +1 -0
  5. package/amplify/functions/assignment-action/data-access.js +2 -0
  6. package/amplify/functions/assignment-action/data-access.ts +2 -0
  7. package/amplify/functions/assignment-action/handler.ts +1 -1
  8. package/amplify/functions/content-actions/handler.py +3 -0
  9. package/amplify/functions/shared/editorial-context.ts +63 -4
  10. package/amplify/plugins/reader-steering/config.js +111 -0
  11. package/amplify/plugins/reader-steering/config.ts +158 -0
  12. package/amplify/plugins/reader-steering/function/handler.py +544 -0
  13. package/amplify/plugins/reader-steering/function/resource.js +27 -0
  14. package/amplify/plugins/reader-steering/function/resource.ts +35 -0
  15. package/amplify/plugins/reader-steering/papyrus.plugin.js +139 -0
  16. package/amplify/plugins/reader-steering/papyrus.plugin.ts +162 -0
  17. package/amplify/plugins/reader-steering/schema.js +40 -0
  18. package/amplify/plugins/reader-steering/schema.ts +42 -0
  19. package/amplify/plugins/registry.js +2 -0
  20. package/amplify/plugins/registry.ts +2 -0
  21. package/amplify/plugins/types.ts +3 -0
  22. package/amplify/plugins/wire.js +1 -0
  23. package/amplify/plugins/wire.ts +1 -0
  24. package/app/api/reader/handle/route.ts +9 -0
  25. package/app/api/reader/me/route.ts +9 -0
  26. package/app/api/reader/rating/route.ts +9 -0
  27. package/app/api/reader/retired/route.ts +9 -0
  28. package/app/api/reader/vote/route.ts +9 -0
  29. package/components/reference-cyclotron-priming.tsx +54 -15
  30. package/infra/amplify-app-shell.js +15 -1
  31. package/infra/amplify-app-shell.ts +17 -1
  32. package/infra/site-config.js +12 -2
  33. package/infra/site-config.ts +19 -2
  34. package/lib/editorial-checks.ts +6 -2
  35. package/lib/prospectus-session.ts +1 -0
  36. package/lib/prospectus-sign-in-routes.ts +2 -2
  37. package/lib/prospectus-site-identity.ts +24 -1
  38. package/lib/reader-api.ts +143 -0
  39. package/lib/reader-retirement-route.ts +89 -0
  40. package/lib/reader-subject.md +29 -0
  41. package/lib/reader-subject.ts +53 -0
  42. package/package.json +9 -1
  43. package/routes.manifest.json +56 -1
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "5.19.1",
2
+ "version": "5.20.0",
3
3
  "routes": [
4
4
  {
5
5
  "file": "app/%5F_preview/[[...path]]/route.ts",
@@ -203,6 +203,61 @@
203
203
  "runtime": "\"nodejs\""
204
204
  }
205
205
  },
206
+ {
207
+ "file": "app/api/reader/handle/route.ts",
208
+ "hasDefault": false,
209
+ "exports": [
210
+ "POST"
211
+ ],
212
+ "config": {
213
+ "dynamic": "\"force-dynamic\"",
214
+ "runtime": "\"nodejs\""
215
+ }
216
+ },
217
+ {
218
+ "file": "app/api/reader/me/route.ts",
219
+ "hasDefault": false,
220
+ "exports": [
221
+ "GET"
222
+ ],
223
+ "config": {
224
+ "dynamic": "\"force-dynamic\"",
225
+ "runtime": "\"nodejs\""
226
+ }
227
+ },
228
+ {
229
+ "file": "app/api/reader/rating/route.ts",
230
+ "hasDefault": false,
231
+ "exports": [
232
+ "POST"
233
+ ],
234
+ "config": {
235
+ "dynamic": "\"force-dynamic\"",
236
+ "runtime": "\"nodejs\""
237
+ }
238
+ },
239
+ {
240
+ "file": "app/api/reader/retired/route.ts",
241
+ "hasDefault": false,
242
+ "exports": [
243
+ "GET"
244
+ ],
245
+ "config": {
246
+ "dynamic": "\"force-dynamic\"",
247
+ "runtime": "\"nodejs\""
248
+ }
249
+ },
250
+ {
251
+ "file": "app/api/reader/vote/route.ts",
252
+ "hasDefault": false,
253
+ "exports": [
254
+ "POST"
255
+ ],
256
+ "config": {
257
+ "dynamic": "\"force-dynamic\"",
258
+ "runtime": "\"nodejs\""
259
+ }
260
+ },
206
261
  {
207
262
  "file": "app/api/revalidate/route.ts",
208
263
  "hasDefault": false,