@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.
- package/amplify/data/resource.js +1 -0
- package/amplify/data/resource.ts +1 -0
- package/amplify/data/schema.js +1 -0
- package/amplify/data/schema.ts +1 -0
- package/amplify/functions/assignment-action/data-access.js +2 -0
- package/amplify/functions/assignment-action/data-access.ts +2 -0
- package/amplify/functions/assignment-action/handler.ts +1 -1
- package/amplify/functions/content-actions/handler.py +3 -0
- package/amplify/functions/shared/editorial-context.ts +63 -4
- package/amplify/plugins/reader-steering/config.js +111 -0
- package/amplify/plugins/reader-steering/config.ts +158 -0
- package/amplify/plugins/reader-steering/function/handler.py +544 -0
- package/amplify/plugins/reader-steering/function/resource.js +27 -0
- package/amplify/plugins/reader-steering/function/resource.ts +35 -0
- package/amplify/plugins/reader-steering/papyrus.plugin.js +139 -0
- package/amplify/plugins/reader-steering/papyrus.plugin.ts +162 -0
- package/amplify/plugins/reader-steering/schema.js +40 -0
- package/amplify/plugins/reader-steering/schema.ts +42 -0
- package/amplify/plugins/registry.js +2 -0
- package/amplify/plugins/registry.ts +2 -0
- package/amplify/plugins/types.ts +3 -0
- package/amplify/plugins/wire.js +1 -0
- package/amplify/plugins/wire.ts +1 -0
- package/app/api/reader/handle/route.ts +9 -0
- package/app/api/reader/me/route.ts +9 -0
- package/app/api/reader/rating/route.ts +9 -0
- package/app/api/reader/retired/route.ts +9 -0
- package/app/api/reader/vote/route.ts +9 -0
- package/components/reference-cyclotron-priming.tsx +54 -15
- package/infra/amplify-app-shell.js +15 -1
- package/infra/amplify-app-shell.ts +17 -1
- package/infra/site-config.js +12 -2
- package/infra/site-config.ts +19 -2
- package/lib/editorial-checks.ts +6 -2
- package/lib/prospectus-session.ts +1 -0
- package/lib/prospectus-sign-in-routes.ts +2 -2
- package/lib/prospectus-site-identity.ts +24 -1
- package/lib/reader-api.ts +143 -0
- package/lib/reader-retirement-route.ts +89 -0
- package/lib/reader-subject.md +29 -0
- package/lib/reader-subject.ts +53 -0
- package/package.json +9 -1
- package/routes.manifest.json +56 -1
package/routes.manifest.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "5.
|
|
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,
|