@anthusai/papyrus 1.0.0-next.3 → 1.0.0-next.30
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/auth/resource.js +17 -4
- package/amplify/auth/resource.ts +21 -4
- package/amplify/data/resource.js +26 -70
- package/amplify/data/resource.ts +27 -70
- package/amplify/data/schema.js +26 -58
- package/amplify/data/schema.ts +27 -58
- package/amplify/functions/console-chat-responder/py/execute_tactus_runner.py +0 -10
- package/amplify/functions/console-chat-responder/resource.js +0 -7
- package/amplify/functions/console-chat-responder/resource.ts +0 -8
- package/amplify/functions/console-chat-responder/src/main.rs +0 -9
- package/amplify/functions/content-actions/handler.py +45 -3
- package/amplify/rebuild-trigger-settings.js +22 -0
- package/amplify/rebuild-trigger-settings.ts +42 -0
- package/amplify/site-backend-config.ts +12 -1
- package/amplify/site-backend.js +41 -27
- package/amplify/site-backend.ts +51 -34
- package/amplify/storage/resource.js +3 -0
- package/amplify/storage/resource.ts +3 -0
- package/app/%5F_preview/[[...path]]/route.ts +8 -0
- package/app/[year]/[month]/[day]/[articleSlug]/page.tsx +2 -0
- package/app/[year]/[month]/[day]/edition-route-page.tsx +2 -0
- package/app/api/media/[...path]/route.ts +5 -16
- package/app/api/revalidate/route.ts +8 -7
- package/app/articles/[slug]/page.tsx +6 -4
- package/app/blog-rhythm.css +278 -0
- package/app/globals.css +21 -0
- package/app/layout.tsx +20 -0
- package/app/newsroom/[section]/[...selection]/page.tsx +6 -5
- package/app/newsroom/[section]/page.tsx +4 -3
- package/app/newsroom/articles/[id]/page.tsx +15 -0
- package/app/newsroom/articles/page.tsx +13 -0
- package/app/newsroom/layout.tsx +2 -9
- package/app/page.tsx +18 -5
- package/app/robots.ts +11 -0
- package/bin/papyrus-app.mjs +12 -2
- package/bin/papyrus-infra.mjs +74 -18
- package/components/archive-shell.tsx +2 -22
- package/components/article-video.tsx +247 -3
- package/components/blog-page-background.tsx +23 -6
- package/components/markus-ir-preview.tsx +300 -0
- package/components/newspaper.tsx +6 -2
- package/components/newsroom-access-gate.tsx +67 -0
- package/components/newsroom-article-editor.tsx +741 -0
- package/components/newsroom-articles-view.tsx +129 -0
- package/components/newsroom-client-shell.tsx +12 -0
- package/components/newsroom-ops-overview.tsx +28 -11
- package/components/newsroom-ops-shell.tsx +3 -1
- package/components/papyrus-console-shell.tsx +4 -2
- package/components/pictogram-figure.tsx +9 -2
- package/components/presentation-header.tsx +135 -0
- package/components/presentation-rhythm-hrule.tsx +17 -0
- package/components/settings-page.tsx +2 -1
- package/components/staging-banner.tsx +11 -0
- package/components/topic-steering-workspace.tsx +6 -63
- package/components/use-blog-header-obstacles.ts +81 -0
- package/components/use-brand-fonts-ready.ts +28 -0
- package/components/use-rhythm-overlay.ts +29 -0
- package/infra/amplify-app-shell.js +285 -80
- package/infra/amplify-app-shell.ts +326 -113
- package/infra/build-specs.js +95 -0
- package/infra/build-specs.ts +142 -0
- package/infra/github-oidc-provider.js +24 -0
- package/infra/github-oidc-provider.ts +30 -0
- package/infra/index.js +3 -0
- package/infra/site-config.js +273 -0
- package/infra/site-config.ts +336 -0
- package/lib/amplify-outputs-path.ts +5 -1
- package/lib/blog-feature-solver.ts +459 -0
- package/lib/blog-rhythm.ts +134 -0
- package/lib/brand-fonts-watch.ts +43 -0
- package/lib/brand-fonts.ts +112 -0
- package/lib/cached-content-repository.ts +14 -1
- package/lib/category-repository.ts +1 -93
- package/lib/content-actions-demo.ts +190 -0
- package/lib/content-repository.ts +6 -0
- package/lib/content-source-context.ts +26 -0
- package/lib/content-types.ts +4 -0
- package/lib/edition-routes.ts +31 -29
- package/lib/graphql-content-repository.ts +239 -43
- package/lib/media-route-response.ts +45 -0
- package/lib/newspaper-layout.ts +3 -2
- package/lib/newsroom-articles.ts +325 -0
- package/lib/newsroom-base-path.ts +12 -3
- package/lib/newsroom-category-drilldown.ts +3 -2
- package/lib/newsroom-demo-articles.ts +90 -0
- package/lib/newsroom-forum-routes.ts +6 -4
- package/lib/newsroom-index-filters.ts +14 -10
- package/lib/newsroom-media-backend.ts +142 -0
- package/lib/newsroom-media.ts +182 -0
- package/lib/newsroom-nav.ts +3 -0
- package/lib/papyrus-web-locations.ts +7 -6
- package/lib/presentation-footer.ts +3 -2
- package/lib/pretext-layout.ts +12 -3
- package/lib/reader-base-path.ts +24 -0
- package/lib/reader-static-params.ts +8 -0
- package/lib/renderer.ts +7 -0
- package/lib/revalidate-secret.ts +59 -0
- package/lib/root-route-redirect.ts +16 -0
- package/lib/semantic-graph.ts +5 -0
- package/lib/site-brand.ts +51 -0
- package/lib/site-env.ts +52 -0
- package/lib/staging-gate.ts +37 -0
- package/lib/staging-gated-path.ts +23 -0
- package/lib/staging-preview-object.ts +114 -0
- package/lib/video-mode.ts +42 -0
- package/lib/video-script.ts +77 -0
- package/middleware.ts +52 -10
- package/package.json +41 -1
- package/renderers/pretext/article-page.tsx +39 -3
- package/renderers/pretext/presentation-shared.tsx +113 -0
- package/renderers/pretext/presentation-shell.tsx +15 -102
- package/renderers/pretext/rhythm-article-page.tsx +165 -0
- package/renderers/pretext/rhythm-blog-presentation.tsx +279 -0
- package/renderers/pretext/rhythm-shell-style.ts +35 -0
- package/routes.manifest.json +37 -2
- package/scripts/videoml/build-browser-bundle.mjs +22 -0
- package/scripts/videoml/build-preview-bundle.mjs +50 -0
- package/scripts/videoml/bundle-common.mjs +129 -0
- package/scripts/videoml/preview/preview-entry.tsx +381 -0
- package/scripts/videoml/preview/preview-stage-fit.ts +28 -0
- package/scripts/videoml/preview/preview-timing.ts +42 -0
- package/scripts/videoml/preview.html +77 -0
- package/scripts/videoml/standard-entry.tsx +46 -0
- package/src/sync.mjs +30 -6
- package/amplify/functions/graphql-jwt-authorizer/handler.ts +0 -193
- package/amplify/functions/graphql-jwt-authorizer/resource.js +0 -14
- package/amplify/functions/graphql-jwt-authorizer/resource.ts +0 -15
package/amplify/data/schema.js
CHANGED
|
@@ -249,7 +249,6 @@ export const schema = a.schema({
|
|
|
249
249
|
.returns(a.ref("ReferenceCurationActionResult"))
|
|
250
250
|
.authorization((allow) => [
|
|
251
251
|
allow.groups(categoryWriteGroups),
|
|
252
|
-
allow.custom(),
|
|
253
252
|
])
|
|
254
253
|
.handler(a.handler.function(categoryAction)),
|
|
255
254
|
setReferenceQualityRating: a
|
|
@@ -264,7 +263,6 @@ export const schema = a.schema({
|
|
|
264
263
|
.returns(a.ref("ReferenceQualityActionResult"))
|
|
265
264
|
.authorization((allow) => [
|
|
266
265
|
allow.groups(categoryWriteGroups),
|
|
267
|
-
allow.custom(),
|
|
268
266
|
])
|
|
269
267
|
.handler(a.handler.function(categoryAction)),
|
|
270
268
|
createCategorySetDraft: a
|
|
@@ -367,7 +365,7 @@ export const schema = a.schema({
|
|
|
367
365
|
getNewsroomSummary: a
|
|
368
366
|
.query()
|
|
369
367
|
.returns(a.ref("NewsroomSummary"))
|
|
370
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
368
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
371
369
|
.handler(a.handler.function(newsroomSummary)),
|
|
372
370
|
deriveMarkus: a
|
|
373
371
|
.query()
|
|
@@ -393,13 +391,19 @@ export const schema = a.schema({
|
|
|
393
391
|
.returns(a.json())
|
|
394
392
|
.authorization((allow) => [allow.groups(contentWriteGroups)])
|
|
395
393
|
.handler(a.handler.function(contentActions)),
|
|
394
|
+
requestStagingBuild: a
|
|
395
|
+
.mutation()
|
|
396
|
+
.arguments({ input: a.json().required() })
|
|
397
|
+
.returns(a.json())
|
|
398
|
+
.authorization((allow) => [allow.groups(contentWriteGroups)])
|
|
399
|
+
.handler(a.handler.function(contentActions)),
|
|
396
400
|
knowledgeQuery: a
|
|
397
401
|
.query()
|
|
398
402
|
.arguments({
|
|
399
403
|
input: a.json().required(),
|
|
400
404
|
})
|
|
401
405
|
.returns(a.json())
|
|
402
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
406
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
403
407
|
.handler(a.handler.function(knowledgeQuery)),
|
|
404
408
|
updateNewsroomSummary: a
|
|
405
409
|
.mutation()
|
|
@@ -409,7 +413,7 @@ export const schema = a.schema({
|
|
|
409
413
|
reason: a.string(),
|
|
410
414
|
})
|
|
411
415
|
.returns(a.ref("NewsroomSummary"))
|
|
412
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
416
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
413
417
|
.handler(a.handler.function(newsroomSummary)),
|
|
414
418
|
ModelAttachmentUploadSlot: a.customType({
|
|
415
419
|
ok: a.boolean().required(),
|
|
@@ -465,7 +469,7 @@ export const schema = a.schema({
|
|
|
465
469
|
status: a.string(),
|
|
466
470
|
})
|
|
467
471
|
.returns(a.ref("ModelAttachmentUploadSlot"))
|
|
468
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
472
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
469
473
|
.handler(a.handler.function(modelAttachmentUpload)),
|
|
470
474
|
completeModelAttachmentUpload: a
|
|
471
475
|
.mutation()
|
|
@@ -486,7 +490,7 @@ export const schema = a.schema({
|
|
|
486
490
|
status: a.string(),
|
|
487
491
|
})
|
|
488
492
|
.returns(a.ref("ModelAttachment"))
|
|
489
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
493
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
490
494
|
.handler(a.handler.function(modelAttachmentUpload)),
|
|
491
495
|
abortModelAttachmentUpload: a
|
|
492
496
|
.mutation()
|
|
@@ -507,7 +511,7 @@ export const schema = a.schema({
|
|
|
507
511
|
status: a.string(),
|
|
508
512
|
})
|
|
509
513
|
.returns(a.ref("ModelAttachmentUploadAbortResult"))
|
|
510
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
514
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
511
515
|
.handler(a.handler.function(modelAttachmentUpload)),
|
|
512
516
|
createModelAttachmentDownload: a
|
|
513
517
|
.mutation()
|
|
@@ -515,7 +519,7 @@ export const schema = a.schema({
|
|
|
515
519
|
attachmentId: a.id().required(),
|
|
516
520
|
})
|
|
517
521
|
.returns(a.ref("ModelAttachmentDownloadSlot"))
|
|
518
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
522
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
519
523
|
.handler(a.handler.function(modelAttachmentUpload)),
|
|
520
524
|
AssignmentActionResult: a.customType({
|
|
521
525
|
ok: a.boolean().required(),
|
|
@@ -602,7 +606,7 @@ export const schema = a.schema({
|
|
|
602
606
|
limit: a.integer(),
|
|
603
607
|
})
|
|
604
608
|
.returns(a.ref("AssignmentContext").array().required())
|
|
605
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
609
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
606
610
|
.handler(a.handler.function(assignmentAction)),
|
|
607
611
|
listAssignmentQueue: a
|
|
608
612
|
.query()
|
|
@@ -612,7 +616,7 @@ export const schema = a.schema({
|
|
|
612
616
|
limit: a.integer(),
|
|
613
617
|
})
|
|
614
618
|
.returns(a.ref("AssignmentContext").array().required())
|
|
615
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
619
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
616
620
|
.handler(a.handler.function(assignmentAction)),
|
|
617
621
|
getAssignmentContext: a
|
|
618
622
|
.query()
|
|
@@ -620,7 +624,7 @@ export const schema = a.schema({
|
|
|
620
624
|
assignmentId: a.id().required(),
|
|
621
625
|
})
|
|
622
626
|
.returns(a.ref("AssignmentContext"))
|
|
623
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
627
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
624
628
|
.handler(a.handler.function(assignmentAction)),
|
|
625
629
|
claimAssignment: a
|
|
626
630
|
.mutation()
|
|
@@ -636,7 +640,7 @@ export const schema = a.schema({
|
|
|
636
640
|
note: a.string(),
|
|
637
641
|
})
|
|
638
642
|
.returns(a.ref("AssignmentActionResult"))
|
|
639
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
643
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
640
644
|
.handler(a.handler.function(assignmentAction)),
|
|
641
645
|
releaseAssignment: a
|
|
642
646
|
.mutation()
|
|
@@ -647,7 +651,7 @@ export const schema = a.schema({
|
|
|
647
651
|
note: a.string(),
|
|
648
652
|
})
|
|
649
653
|
.returns(a.ref("AssignmentActionResult"))
|
|
650
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
654
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
651
655
|
.handler(a.handler.function(assignmentAction)),
|
|
652
656
|
completeAssignment: a
|
|
653
657
|
.mutation()
|
|
@@ -658,7 +662,7 @@ export const schema = a.schema({
|
|
|
658
662
|
note: a.string(),
|
|
659
663
|
})
|
|
660
664
|
.returns(a.ref("AssignmentActionResult"))
|
|
661
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
665
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
662
666
|
.handler(a.handler.function(assignmentAction)),
|
|
663
667
|
cancelAssignment: a
|
|
664
668
|
.mutation()
|
|
@@ -669,7 +673,7 @@ export const schema = a.schema({
|
|
|
669
673
|
note: a.string(),
|
|
670
674
|
})
|
|
671
675
|
.returns(a.ref("AssignmentActionResult"))
|
|
672
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
676
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
673
677
|
.handler(a.handler.function(assignmentAction)),
|
|
674
678
|
reopenAssignment: a
|
|
675
679
|
.mutation()
|
|
@@ -680,7 +684,7 @@ export const schema = a.schema({
|
|
|
680
684
|
note: a.string(),
|
|
681
685
|
})
|
|
682
686
|
.returns(a.ref("AssignmentActionResult"))
|
|
683
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
687
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
684
688
|
.handler(a.handler.function(assignmentAction)),
|
|
685
689
|
retryImmediateAssignment: a
|
|
686
690
|
.mutation()
|
|
@@ -691,7 +695,7 @@ export const schema = a.schema({
|
|
|
691
695
|
note: a.string(),
|
|
692
696
|
})
|
|
693
697
|
.returns(a.ref("AssignmentActionResult"))
|
|
694
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
698
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
695
699
|
.handler(a.handler.function(assignmentAction)),
|
|
696
700
|
listNewsroomProcedureDefinitions: a
|
|
697
701
|
.query()
|
|
@@ -705,7 +709,7 @@ export const schema = a.schema({
|
|
|
705
709
|
procedureKey: a.string(),
|
|
706
710
|
})
|
|
707
711
|
.returns(a.json())
|
|
708
|
-
.authorization((allow) => [allow.group(adminGroup)
|
|
712
|
+
.authorization((allow) => [allow.group(adminGroup)])
|
|
709
713
|
.handler(a.handler.function(procedureAction)),
|
|
710
714
|
saveNewsroomProcedureDefinition: a
|
|
711
715
|
.mutation()
|
|
@@ -743,7 +747,7 @@ export const schema = a.schema({
|
|
|
743
747
|
actorLabel: a.string(),
|
|
744
748
|
})
|
|
745
749
|
.returns(a.json())
|
|
746
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
750
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
747
751
|
.handler(a.handler.function(procedureAction)),
|
|
748
752
|
getNewsroomProcedureRun: a
|
|
749
753
|
.query()
|
|
@@ -751,7 +755,7 @@ export const schema = a.schema({
|
|
|
751
755
|
id: a.id().required(),
|
|
752
756
|
})
|
|
753
757
|
.returns(a.json())
|
|
754
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
758
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
755
759
|
.handler(a.handler.function(procedureAction)),
|
|
756
760
|
listNewsroomProcedureRunsByProcedure: a
|
|
757
761
|
.query()
|
|
@@ -759,7 +763,7 @@ export const schema = a.schema({
|
|
|
759
763
|
procedureId: a.id().required(),
|
|
760
764
|
})
|
|
761
765
|
.returns(a.json())
|
|
762
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
766
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
763
767
|
.handler(a.handler.function(procedureAction)),
|
|
764
768
|
Assignment: modelWithoutSubscriptions({
|
|
765
769
|
id: a.id().required(),
|
|
@@ -808,7 +812,6 @@ export const schema = a.schema({
|
|
|
808
812
|
.authorization((allow) => [
|
|
809
813
|
allow.groups(categoryWriteGroups).to(categoryAppendOnlyOperations),
|
|
810
814
|
allow.authenticated("identityPool").to(authoringOperations),
|
|
811
|
-
allow.custom().to(authoringOperations),
|
|
812
815
|
]),
|
|
813
816
|
AssignmentEvent: modelWithoutSubscriptions({
|
|
814
817
|
id: a.id().required(),
|
|
@@ -830,7 +833,6 @@ export const schema = a.schema({
|
|
|
830
833
|
])
|
|
831
834
|
.authorization((allow) => [
|
|
832
835
|
allow.groups(categoryWriteGroups).to(categoryAppendOnlyOperations),
|
|
833
|
-
allow.custom().to(authoringOperations),
|
|
834
836
|
]),
|
|
835
837
|
ProcedureDefinition: modelWithoutSubscriptions({
|
|
836
838
|
id: a.id().required(),
|
|
@@ -854,7 +856,6 @@ export const schema = a.schema({
|
|
|
854
856
|
])
|
|
855
857
|
.authorization((allow) => [
|
|
856
858
|
allow.group(adminGroup),
|
|
857
|
-
allow.custom().to(authoringOperations),
|
|
858
859
|
]),
|
|
859
860
|
ProcedureVersion: modelWithoutSubscriptions({
|
|
860
861
|
id: a.id().required(),
|
|
@@ -880,7 +881,6 @@ export const schema = a.schema({
|
|
|
880
881
|
])
|
|
881
882
|
.authorization((allow) => [
|
|
882
883
|
allow.group(adminGroup),
|
|
883
|
-
allow.custom().to(authoringOperations),
|
|
884
884
|
]),
|
|
885
885
|
ProcedureRun: modelWithoutSubscriptions({
|
|
886
886
|
id: a.id().required(),
|
|
@@ -912,7 +912,6 @@ export const schema = a.schema({
|
|
|
912
912
|
.authorization((allow) => [
|
|
913
913
|
allow.group("editor").to(["read"]),
|
|
914
914
|
allow.group(adminGroup).to(authoringOperations),
|
|
915
|
-
allow.custom().to(authoringOperations),
|
|
916
915
|
]),
|
|
917
916
|
NewsroomSection: modelWithoutSubscriptions({
|
|
918
917
|
id: a.id().required(),
|
|
@@ -939,7 +938,6 @@ export const schema = a.schema({
|
|
|
939
938
|
])
|
|
940
939
|
.authorization((allow) => [
|
|
941
940
|
allow.groups(categoryWriteGroups),
|
|
942
|
-
allow.custom().to(authoringOperations),
|
|
943
941
|
]),
|
|
944
942
|
KnowledgeCorpus: modelWithoutSubscriptions({
|
|
945
943
|
id: a.id().required(),
|
|
@@ -956,7 +954,6 @@ export const schema = a.schema({
|
|
|
956
954
|
])
|
|
957
955
|
.authorization((allow) => [
|
|
958
956
|
allow.groups(categoryWriteGroups).to(["read"]),
|
|
959
|
-
allow.custom().to(authoringOperations),
|
|
960
957
|
]),
|
|
961
958
|
KnowledgeImportRun: modelWithoutSubscriptions({
|
|
962
959
|
id: a.id().required(),
|
|
@@ -983,7 +980,6 @@ export const schema = a.schema({
|
|
|
983
980
|
])
|
|
984
981
|
.authorization((allow) => [
|
|
985
982
|
allow.groups(categoryWriteGroups).to(["read"]),
|
|
986
|
-
allow.custom().to(authoringOperations),
|
|
987
983
|
]),
|
|
988
984
|
KnowledgeRawPayload: modelWithoutSubscriptions({
|
|
989
985
|
id: a.id().required(),
|
|
@@ -1000,7 +996,6 @@ export const schema = a.schema({
|
|
|
1000
996
|
])
|
|
1001
997
|
.authorization((allow) => [
|
|
1002
998
|
allow.groups(categoryWriteGroups),
|
|
1003
|
-
allow.custom().to(authoringOperations),
|
|
1004
999
|
]),
|
|
1005
1000
|
KnowledgeArtifact: modelWithoutSubscriptions({
|
|
1006
1001
|
id: a.id().required(),
|
|
@@ -1019,7 +1014,6 @@ export const schema = a.schema({
|
|
|
1019
1014
|
])
|
|
1020
1015
|
.authorization((allow) => [
|
|
1021
1016
|
allow.groups(categoryWriteGroups).to(["read"]),
|
|
1022
|
-
allow.custom().to(authoringOperations),
|
|
1023
1017
|
]),
|
|
1024
1018
|
CategorySet: modelWithoutSubscriptions({
|
|
1025
1019
|
id: a.id().required(),
|
|
@@ -1048,7 +1042,6 @@ export const schema = a.schema({
|
|
|
1048
1042
|
])
|
|
1049
1043
|
.authorization((allow) => [
|
|
1050
1044
|
allow.groups(categoryWriteGroups),
|
|
1051
|
-
allow.custom().to(authoringOperations),
|
|
1052
1045
|
]),
|
|
1053
1046
|
Category: modelWithoutSubscriptions({
|
|
1054
1047
|
id: a.id().required(),
|
|
@@ -1089,7 +1082,6 @@ export const schema = a.schema({
|
|
|
1089
1082
|
])
|
|
1090
1083
|
.authorization((allow) => [
|
|
1091
1084
|
allow.groups(categoryWriteGroups),
|
|
1092
|
-
allow.custom().to(authoringOperations),
|
|
1093
1085
|
]),
|
|
1094
1086
|
CategoryKeyword: modelWithoutSubscriptions({
|
|
1095
1087
|
id: a.id().required(),
|
|
@@ -1117,7 +1109,6 @@ export const schema = a.schema({
|
|
|
1117
1109
|
])
|
|
1118
1110
|
.authorization((allow) => [
|
|
1119
1111
|
allow.groups(categoryWriteGroups),
|
|
1120
|
-
allow.custom().to(authoringOperations),
|
|
1121
1112
|
]),
|
|
1122
1113
|
LexicalSteeringRule: modelWithoutSubscriptions({
|
|
1123
1114
|
id: a.id().required(),
|
|
@@ -1145,7 +1136,6 @@ export const schema = a.schema({
|
|
|
1145
1136
|
])
|
|
1146
1137
|
.authorization((allow) => [
|
|
1147
1138
|
allow.groups(categoryWriteGroups),
|
|
1148
|
-
allow.custom().to(authoringOperations),
|
|
1149
1139
|
]),
|
|
1150
1140
|
SteeringProposal: modelWithoutSubscriptions({
|
|
1151
1141
|
id: a.id().required(),
|
|
@@ -1182,7 +1172,6 @@ export const schema = a.schema({
|
|
|
1182
1172
|
])
|
|
1183
1173
|
.authorization((allow) => [
|
|
1184
1174
|
allow.groups(categoryWriteGroups).to(["read"]),
|
|
1185
|
-
allow.custom().to(authoringOperations),
|
|
1186
1175
|
]),
|
|
1187
1176
|
SteeringDecision: modelWithoutSubscriptions({
|
|
1188
1177
|
id: a.id().required(),
|
|
@@ -1201,7 +1190,6 @@ export const schema = a.schema({
|
|
|
1201
1190
|
])
|
|
1202
1191
|
.authorization((allow) => [
|
|
1203
1192
|
allow.groups(categoryWriteGroups).to(categoryAppendOnlyOperations),
|
|
1204
|
-
allow.custom().to(authoringOperations),
|
|
1205
1193
|
]),
|
|
1206
1194
|
Reference: realtimeModel({
|
|
1207
1195
|
id: a.id().required(),
|
|
@@ -1252,7 +1240,6 @@ export const schema = a.schema({
|
|
|
1252
1240
|
])
|
|
1253
1241
|
.authorization((allow) => [
|
|
1254
1242
|
allow.groups(categoryWriteGroups).to(["read"]),
|
|
1255
|
-
allow.custom().to(authoringOperations),
|
|
1256
1243
|
]),
|
|
1257
1244
|
ReferenceAttachment: modelWithoutSubscriptions({
|
|
1258
1245
|
id: a.id().required(),
|
|
@@ -1281,7 +1268,6 @@ export const schema = a.schema({
|
|
|
1281
1268
|
])
|
|
1282
1269
|
.authorization((allow) => [
|
|
1283
1270
|
allow.groups(categoryWriteGroups).to(["read"]),
|
|
1284
|
-
allow.custom().to(authoringOperations),
|
|
1285
1271
|
]),
|
|
1286
1272
|
SemanticNode: modelWithoutSubscriptions({
|
|
1287
1273
|
id: a.id().required(),
|
|
@@ -1318,7 +1304,6 @@ export const schema = a.schema({
|
|
|
1318
1304
|
])
|
|
1319
1305
|
.authorization((allow) => [
|
|
1320
1306
|
allow.groups(categoryWriteGroups).to(["read"]),
|
|
1321
|
-
allow.custom().to(authoringOperations),
|
|
1322
1307
|
]),
|
|
1323
1308
|
Message: realtimeModel({
|
|
1324
1309
|
id: a.id().required(),
|
|
@@ -1366,7 +1351,6 @@ export const schema = a.schema({
|
|
|
1366
1351
|
])
|
|
1367
1352
|
.authorization((allow) => [
|
|
1368
1353
|
allow.groups(categoryWriteGroups).to(categoryAppendOnlyOperations),
|
|
1369
|
-
allow.custom().to(authoringOperations),
|
|
1370
1354
|
]),
|
|
1371
1355
|
MessageThread: realtimeModel({
|
|
1372
1356
|
id: a.id().required(),
|
|
@@ -1403,7 +1387,6 @@ export const schema = a.schema({
|
|
|
1403
1387
|
.authorization((allow) => [
|
|
1404
1388
|
allow.groups(categoryWriteGroups).to(["read", "create", "update"]),
|
|
1405
1389
|
allow.authenticated("identityPool").to(authoringOperations),
|
|
1406
|
-
allow.custom().to(authoringOperations),
|
|
1407
1390
|
]),
|
|
1408
1391
|
ModelAttachment: modelWithoutSubscriptions({
|
|
1409
1392
|
id: a.id().required(),
|
|
@@ -1434,7 +1417,6 @@ export const schema = a.schema({
|
|
|
1434
1417
|
])
|
|
1435
1418
|
.authorization((allow) => [
|
|
1436
1419
|
allow.groups(categoryWriteGroups).to(["read"]),
|
|
1437
|
-
allow.custom().to(authoringOperations),
|
|
1438
1420
|
]),
|
|
1439
1421
|
SemanticRelationType: modelWithoutSubscriptions({
|
|
1440
1422
|
id: a.id().required(),
|
|
@@ -1461,7 +1443,6 @@ export const schema = a.schema({
|
|
|
1461
1443
|
])
|
|
1462
1444
|
.authorization((allow) => [
|
|
1463
1445
|
allow.groups(categoryWriteGroups),
|
|
1464
|
-
allow.custom().to(authoringOperations),
|
|
1465
1446
|
]),
|
|
1466
1447
|
SemanticRelation: modelWithoutSubscriptions({
|
|
1467
1448
|
id: a.id().required(),
|
|
@@ -1511,7 +1492,6 @@ export const schema = a.schema({
|
|
|
1511
1492
|
])
|
|
1512
1493
|
.authorization((allow) => [
|
|
1513
1494
|
allow.groups(categoryWriteGroups).to(categoryAppendOnlyOperations),
|
|
1514
|
-
allow.custom().to(authoringOperations),
|
|
1515
1495
|
]),
|
|
1516
1496
|
Item: modelWithoutSubscriptions({
|
|
1517
1497
|
id: a.id().required(),
|
|
@@ -1560,7 +1540,6 @@ export const schema = a.schema({
|
|
|
1560
1540
|
])
|
|
1561
1541
|
.authorization((allow) => [
|
|
1562
1542
|
allow.groups(contentWriteGroups),
|
|
1563
|
-
allow.custom().to(authoringOperations),
|
|
1564
1543
|
]),
|
|
1565
1544
|
Tag: modelWithoutSubscriptions({
|
|
1566
1545
|
id: a.id().required(),
|
|
@@ -1576,7 +1555,6 @@ export const schema = a.schema({
|
|
|
1576
1555
|
])
|
|
1577
1556
|
.authorization((allow) => [
|
|
1578
1557
|
allow.groups(contentWriteGroups),
|
|
1579
|
-
allow.custom().to(authoringOperations),
|
|
1580
1558
|
]),
|
|
1581
1559
|
ItemTag: modelWithoutSubscriptions({
|
|
1582
1560
|
id: a.id().required(),
|
|
@@ -1595,7 +1573,6 @@ export const schema = a.schema({
|
|
|
1595
1573
|
])
|
|
1596
1574
|
.authorization((allow) => [
|
|
1597
1575
|
allow.groups(contentWriteGroups),
|
|
1598
|
-
allow.custom().to(authoringOperations),
|
|
1599
1576
|
]),
|
|
1600
1577
|
MediaAsset: modelWithoutSubscriptions({
|
|
1601
1578
|
id: a.id().required(),
|
|
@@ -1627,7 +1604,6 @@ export const schema = a.schema({
|
|
|
1627
1604
|
])
|
|
1628
1605
|
.authorization((allow) => [
|
|
1629
1606
|
allow.groups(contentWriteGroups),
|
|
1630
|
-
allow.custom().to(authoringOperations),
|
|
1631
1607
|
]),
|
|
1632
1608
|
Edition: modelWithoutSubscriptions({
|
|
1633
1609
|
id: a.id().required(),
|
|
@@ -1658,7 +1634,6 @@ export const schema = a.schema({
|
|
|
1658
1634
|
])
|
|
1659
1635
|
.authorization((allow) => [
|
|
1660
1636
|
allow.groups(contentWriteGroups),
|
|
1661
|
-
allow.custom().to(authoringOperations),
|
|
1662
1637
|
]),
|
|
1663
1638
|
EditionItem: modelWithoutSubscriptions({
|
|
1664
1639
|
id: a.id().required(),
|
|
@@ -1680,7 +1655,6 @@ export const schema = a.schema({
|
|
|
1680
1655
|
])
|
|
1681
1656
|
.authorization((allow) => [
|
|
1682
1657
|
allow.groups(contentWriteGroups),
|
|
1683
|
-
allow.custom().to(authoringOperations),
|
|
1684
1658
|
]),
|
|
1685
1659
|
PublishedItem: modelWithoutSubscriptions({
|
|
1686
1660
|
id: a.id().required(),
|
|
@@ -1720,7 +1694,6 @@ export const schema = a.schema({
|
|
|
1720
1694
|
.authorization((allow) => [
|
|
1721
1695
|
allow.guest().to(["read"]),
|
|
1722
1696
|
allow.groups(contentWriteGroups),
|
|
1723
|
-
allow.custom().to(authoringOperations),
|
|
1724
1697
|
]),
|
|
1725
1698
|
PublishedMediaAsset: modelWithoutSubscriptions({
|
|
1726
1699
|
id: a.id().required(),
|
|
@@ -1755,7 +1728,6 @@ export const schema = a.schema({
|
|
|
1755
1728
|
.authorization((allow) => [
|
|
1756
1729
|
allow.guest().to(["read"]),
|
|
1757
1730
|
allow.groups(contentWriteGroups),
|
|
1758
|
-
allow.custom().to(authoringOperations),
|
|
1759
1731
|
]),
|
|
1760
1732
|
PublishedEdition: modelWithoutSubscriptions({
|
|
1761
1733
|
id: a.id().required(),
|
|
@@ -1780,7 +1752,6 @@ export const schema = a.schema({
|
|
|
1780
1752
|
.authorization((allow) => [
|
|
1781
1753
|
allow.guest().to(["read"]),
|
|
1782
1754
|
allow.groups(contentWriteGroups),
|
|
1783
|
-
allow.custom().to(authoringOperations),
|
|
1784
1755
|
]),
|
|
1785
1756
|
PublishedEditionItem: modelWithoutSubscriptions({
|
|
1786
1757
|
id: a.id().required(),
|
|
@@ -1804,7 +1775,6 @@ export const schema = a.schema({
|
|
|
1804
1775
|
.authorization((allow) => [
|
|
1805
1776
|
allow.guest().to(["read"]),
|
|
1806
1777
|
allow.groups(contentWriteGroups),
|
|
1807
|
-
allow.custom().to(authoringOperations),
|
|
1808
1778
|
]),
|
|
1809
1779
|
PublishedCategorySet: modelWithoutSubscriptions({
|
|
1810
1780
|
id: a.id().required(),
|
|
@@ -1829,7 +1799,6 @@ export const schema = a.schema({
|
|
|
1829
1799
|
.authorization((allow) => [
|
|
1830
1800
|
allow.guest().to(["read"]),
|
|
1831
1801
|
allow.groups(contentWriteGroups),
|
|
1832
|
-
allow.custom().to(authoringOperations),
|
|
1833
1802
|
]),
|
|
1834
1803
|
PublishedCategory: modelWithoutSubscriptions({
|
|
1835
1804
|
id: a.id().required(),
|
|
@@ -1864,7 +1833,6 @@ export const schema = a.schema({
|
|
|
1864
1833
|
.authorization((allow) => [
|
|
1865
1834
|
allow.guest().to(["read"]),
|
|
1866
1835
|
allow.groups(contentWriteGroups),
|
|
1867
|
-
allow.custom().to(authoringOperations),
|
|
1868
1836
|
]),
|
|
1869
1837
|
}).authorization((allow) => [
|
|
1870
1838
|
allow.resource(categoryAction),
|