@anthusai/papyrus 1.0.0-next.9 → 1.1.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/auth/prospectus-google-client.js +66 -0
- package/amplify/auth/prospectus-google-client.ts +71 -0
- package/amplify/auth/redirect-urls.js +54 -0
- package/amplify/auth/redirect-urls.ts +66 -0
- package/amplify/auth/resource.js +23 -5
- package/amplify/auth/resource.ts +31 -5
- package/amplify/data/resource.js +42 -80
- package/amplify/data/resource.ts +42 -80
- package/amplify/data/schema.js +45 -62
- package/amplify/data/schema.ts +47 -62
- package/amplify/functions/category-action/handler.ts +5 -3
- 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 +143 -1
- package/amplify/functions/content-actions/requirements.txt +2 -1
- package/amplify/functions/content-actions/resource.js +6 -1
- package/amplify/functions/content-actions/resource.ts +9 -2
- package/amplify/functions/email-submission-processor/handler.py +3 -1
- package/amplify/functions/renditions/handler.py +120 -0
- package/amplify/functions/renditions/requirements.txt +4 -0
- package/amplify/functions/ses-inbound-receive/handler.ts +32 -4
- package/amplify/functions/shared/email-submission.ts +109 -1
- package/amplify/functions/shared/python-bundle.js +42 -2
- package/amplify/functions/shared/python-bundle.ts +47 -2
- package/amplify/functions/shared/reference-curation-metadata.ts +29 -0
- package/amplify/inbound-email/ses-intake.js +86 -0
- package/amplify/inbound-email/ses-intake.ts +110 -0
- package/amplify/plugins/registry.js +19 -0
- package/amplify/plugins/registry.ts +23 -0
- package/amplify/plugins/signup/function/handler.py +200 -0
- package/amplify/plugins/signup/function/resource.js +27 -0
- package/amplify/plugins/signup/function/resource.ts +35 -0
- package/amplify/plugins/signup/papyrus.plugin.js +59 -0
- package/amplify/plugins/signup/papyrus.plugin.ts +74 -0
- package/amplify/plugins/signup/schema.js +40 -0
- package/amplify/plugins/signup/schema.ts +41 -0
- package/amplify/plugins/signup/waf.js +48 -0
- package/amplify/plugins/signup/waf.ts +51 -0
- package/amplify/plugins/types.js +1 -0
- package/amplify/plugins/types.ts +39 -0
- package/amplify/plugins/wire.js +24 -0
- package/amplify/plugins/wire.ts +26 -0
- package/amplify/publication/default-publication.js +18 -0
- package/amplify/publication/default-publication.ts +20 -0
- package/amplify/publication/invalidation-alarm.js +26 -0
- package/amplify/publication/invalidation-alarm.ts +30 -0
- package/amplify/publication/redirect-and-index.js +37 -0
- package/amplify/publication/renditions-function.js +74 -0
- package/amplify/publication/renditions-function.ts +112 -0
- package/amplify/publication/renditions-settings.js +51 -0
- package/amplify/publication/renditions-settings.ts +58 -0
- package/amplify/publication/reproject-on-deploy.js +73 -0
- package/amplify/publication/reproject-on-deploy.ts +78 -0
- package/amplify/publication/s3-projection-settings.js +67 -0
- package/amplify/publication/s3-projection-settings.ts +101 -0
- package/amplify/publication/s3-projection.js +151 -0
- package/amplify/publication/s3-projection.ts +201 -0
- package/amplify/resolver-waves.js +26 -0
- package/amplify/resolver-waves.ts +34 -0
- package/amplify/revalidate-invalidation-settings.js +30 -0
- package/amplify/revalidate-invalidation-settings.ts +35 -0
- package/amplify/revalidate-secret-policy.js +13 -0
- package/amplify/revalidate-secret-policy.ts +19 -0
- package/amplify/site-backend-config.js +65 -1
- package/amplify/site-backend-config.ts +153 -2
- package/amplify/site-backend-names.js +103 -0
- package/amplify/site-backend-names.ts +166 -0
- package/amplify/site-backend.js +150 -176
- package/amplify/site-backend.ts +189 -201
- package/amplify/storage-backups/construct.js +31 -0
- package/amplify/storage-backups/construct.ts +47 -0
- package/app/[year]/[month]/[day]/[articleSlug]/page.tsx +8 -1
- package/app/[year]/[month]/[day]/edition-route-page.tsx +2 -0
- package/app/[year]/[month]/[day]/page/[pageNumber]/page.tsx +6 -1
- package/app/[year]/[month]/[day]/page.tsx +1 -1
- package/app/[year]/[month]/[day]/section/[sectionKey]/page.tsx +6 -1
- package/app/api/archive/editions/route.ts +1 -1
- package/app/api/auth/prospectus/callback/route.ts +9 -0
- package/app/api/auth/prospectus/selection/route.ts +9 -0
- package/app/api/auth/prospectus/session/route.ts +9 -0
- package/app/api/auth/prospectus/sign-in/route.ts +9 -0
- package/app/api/auth/prospectus/sign-out/route.ts +9 -0
- package/app/api/cyclotron/priming-proof/route.ts +11 -0
- package/app/api/media/[...path]/route.ts +5 -16
- package/app/api/revalidate/route.ts +15 -7
- package/app/archive/page.tsx +1 -1
- package/app/articles/[slug]/page.tsx +7 -5
- package/app/blog-rhythm.css +278 -0
- package/app/cyclotron/page.tsx +13 -0
- package/app/globals.css +2 -0
- package/app/layout.tsx +16 -0
- package/app/newsroom/[section]/[...selection]/page.tsx +9 -6
- package/app/newsroom/[section]/page.tsx +6 -3
- package/app/newsroom/layout.tsx +4 -9
- package/app/newsroom/settings/page.tsx +6 -0
- package/app/newsroom/work/page.tsx +10 -0
- package/app/page.tsx +22 -8
- package/app/robots.ts +2 -5
- package/app/tailwind.css +1 -6
- package/components/amplify-client-provider.tsx +5 -22
- package/components/archive-shell.tsx +2 -22
- package/components/article-video.tsx +152 -5
- package/components/blog-page-background.tsx +23 -6
- package/components/news-desk-page.tsx +4 -15
- package/components/news-desk-taxonomy-client.ts +90 -3
- package/components/newspaper.tsx +6 -2
- package/components/newsroom-access-gate.tsx +2 -1
- package/components/newsroom-board-view.tsx +99 -0
- package/components/newsroom-client-shell.tsx +12 -0
- package/components/newsroom-curation-provider.tsx +17 -0
- package/components/newsroom-fonts/playfair-display-700.ttf +0 -0
- package/components/newsroom-fonts/playfair-display-900.ttf +0 -0
- package/components/newsroom-fonts/playfair-display-OFL.txt +93 -0
- package/components/newsroom-fonts/plus-jakarta-sans-400.ttf +0 -0
- package/components/newsroom-fonts/plus-jakarta-sans-600.ttf +0 -0
- package/components/newsroom-fonts/plus-jakarta-sans-OFL.txt +93 -0
- package/components/newsroom-newsprint-board.css +48 -0
- package/components/newsroom-ops-overview.tsx +28 -11
- package/components/newsroom-ops-shell.tsx +7 -1
- package/components/newsroom-organizer-shell.tsx +130 -0
- package/components/newsroom-organizer.css +63 -0
- package/components/newsroom-references-view.tsx +92 -8
- 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/priming-proof-page.tsx +94 -0
- package/components/publication-cyclotron-panel.tsx +57 -0
- package/components/reader-auth-control.tsx +8 -5
- package/components/reference-curation-controls.tsx +77 -0
- package/components/reference-cyclotron-status.tsx +109 -0
- package/components/reference-priming.tsx +18 -0
- package/components/reference-relevance-review.tsx +75 -0
- package/components/settings-page.tsx +2 -1
- package/components/signup-entries-panel.tsx +94 -0
- package/components/topic-steering-workspace.tsx +78 -8
- package/components/use-blog-header-obstacles.ts +81 -0
- package/components/use-brand-fonts-ready.ts +28 -0
- package/components/use-near-viewport.ts +30 -0
- package/components/use-rhythm-overlay.ts +29 -0
- package/infra/amplify-app-shell.js +166 -27
- package/infra/amplify-app-shell.ts +180 -31
- package/infra/build-specs.js +23 -7
- package/infra/build-specs.ts +27 -10
- package/infra/site-config.js +248 -36
- package/infra/site-config.ts +313 -51
- package/lib/amplify-outputs-path.ts +5 -1
- package/lib/amplify-server-runtime.ts +36 -1
- package/lib/approved-priming-proof-reports.ts +6 -0
- 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 +12 -0
- package/lib/category-repository.ts +43 -93
- package/lib/content-item-lifecycle.ts +55 -0
- package/lib/content-repository.ts +3 -0
- package/lib/content-types.ts +4 -0
- package/lib/curation-client.ts +61 -0
- package/lib/edition-routes.ts +31 -29
- package/lib/graphql-content-repository.ts +56 -22
- package/lib/media-route-response.ts +45 -0
- package/lib/newspaper-layout.ts +3 -2
- package/lib/newsroom-base-path.ts +12 -3
- package/lib/newsroom-board.ts +99 -0
- package/lib/newsroom-category-drilldown.ts +3 -2
- package/lib/newsroom-forum-routes.ts +6 -4
- package/lib/newsroom-index-filters.ts +14 -10
- package/lib/newsroom-nav.ts +3 -1
- package/lib/newsroom-organizer-nav.ts +37 -0
- package/lib/newsroom-section-routing.ts +20 -0
- package/lib/oauth-redirect-priority.ts +40 -0
- package/lib/papyrus-web-locations.ts +7 -6
- package/lib/plugin-settings.ts +11 -0
- package/lib/presentation-footer.ts +3 -2
- package/lib/pretext-layout.ts +12 -3
- package/lib/priming-proof-report.ts +90 -0
- package/lib/prospectus-publication-access.ts +53 -0
- package/lib/prospectus-session.ts +196 -0
- package/lib/prospectus-sign-in-routes.ts +284 -0
- package/lib/prospectus-site-identity.ts +303 -0
- package/lib/publication-cyclotron.ts +74 -0
- package/lib/rate-limit-retry.ts +55 -0
- package/lib/reader-base-path.ts +24 -0
- package/lib/reader-cache-lifetime.ts +5 -0
- package/lib/reader-static-params.ts +85 -4
- package/lib/reader-storage-url.ts +9 -12
- package/lib/reference-policy.ts +5 -0
- package/lib/relevance-decisions.ts +103 -0
- package/lib/relevance-status.ts +63 -0
- package/lib/renderer.ts +7 -0
- package/lib/revalidate-prewarm.ts +53 -0
- package/lib/revalidate-secret.ts +59 -0
- package/lib/robots-policy.ts +14 -0
- package/lib/root-route-redirect.ts +16 -0
- package/lib/semantic-graph.ts +7 -0
- package/lib/shared-credentials-provider.ts +61 -0
- package/lib/signup-csv.ts +24 -0
- package/lib/site-brand.ts +59 -0
- package/lib/staging-gated-path.ts +23 -0
- package/lib/staging-preview-object.ts +21 -5
- package/lib/test-editor-override.ts +4 -0
- package/lib/video-loading.ts +22 -0
- package/lib/video-script.ts +14 -0
- package/middleware.ts +11 -19
- package/package.json +73 -8
- 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 +123 -12
- package/src/sync.mjs +30 -6
- package/src/with-papyrus.d.mts +9 -0
- package/src/with-papyrus.mjs +48 -3
- 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/components/ai-elements/message.tsx +0 -360
package/amplify/data/resource.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { type ClientSchema, a, defineData } from "@aws-amplify/backend";
|
|
2
2
|
import { assignmentAction } from "../functions/assignment-action/resource";
|
|
3
3
|
import { categoryAction } from "../functions/category-action/resource";
|
|
4
|
-
import { graphqlJwtAuthorizer } from "../functions/graphql-jwt-authorizer/resource";
|
|
5
4
|
import { contentActions } from "../functions/content-actions/resource";
|
|
6
5
|
import { knowledgeQuery } from "../functions/knowledge-query/resource";
|
|
7
6
|
import { manageUserRole } from "../functions/manage-user-role/resource";
|
|
@@ -13,7 +12,7 @@ import { emailSubmissionProcessor } from "../functions/email-submission-processo
|
|
|
13
12
|
import { sesInboundReceive } from "../functions/ses-inbound-receive/resource";
|
|
14
13
|
import { slackDelivery } from "../functions/slack-delivery/resource";
|
|
15
14
|
import { slackEvents } from "../functions/slack-events/resource";
|
|
16
|
-
import { schema as leanSchema } from "./schema";
|
|
15
|
+
import { schema as leanSchema, schemaWithPlugins } from "./schema";
|
|
17
16
|
const authoringOperations: ("read" | "create" | "update" | "delete")[] = [
|
|
18
17
|
"read",
|
|
19
18
|
"create",
|
|
@@ -45,7 +44,6 @@ const schema = a.schema({
|
|
|
45
44
|
.authorization((allow) => [
|
|
46
45
|
allow.owner(),
|
|
47
46
|
allow.group(adminGroup),
|
|
48
|
-
allow.custom().to(["read"]),
|
|
49
47
|
]),
|
|
50
48
|
|
|
51
49
|
UserIdentity: a
|
|
@@ -66,7 +64,6 @@ const schema = a.schema({
|
|
|
66
64
|
])
|
|
67
65
|
.authorization((allow) => [
|
|
68
66
|
allow.group(adminGroup),
|
|
69
|
-
allow.custom().to(["read"]),
|
|
70
67
|
]),
|
|
71
68
|
|
|
72
69
|
UserRoleAssignment: a
|
|
@@ -315,11 +312,12 @@ const schema = a.schema({
|
|
|
315
312
|
actorLabel: a.string(),
|
|
316
313
|
note: a.string(),
|
|
317
314
|
reasonCode: a.string(),
|
|
315
|
+
decisionRelationId: a.id(),
|
|
316
|
+
shareable: a.boolean(),
|
|
318
317
|
})
|
|
319
318
|
.returns(a.ref("ReferenceCurationActionResult"))
|
|
320
319
|
.authorization((allow) => [
|
|
321
320
|
allow.groups(categoryWriteGroups),
|
|
322
|
-
allow.custom(),
|
|
323
321
|
])
|
|
324
322
|
.handler(a.handler.function(categoryAction)),
|
|
325
323
|
|
|
@@ -335,7 +333,6 @@ const schema = a.schema({
|
|
|
335
333
|
.returns(a.ref("ReferenceQualityActionResult"))
|
|
336
334
|
.authorization((allow) => [
|
|
337
335
|
allow.groups(categoryWriteGroups),
|
|
338
|
-
allow.custom(),
|
|
339
336
|
])
|
|
340
337
|
.handler(a.handler.function(categoryAction)),
|
|
341
338
|
|
|
@@ -351,7 +348,6 @@ const schema = a.schema({
|
|
|
351
348
|
.returns(a.ref("ReferenceInsightActionResult"))
|
|
352
349
|
.authorization((allow) => [
|
|
353
350
|
allow.groups(categoryWriteGroups),
|
|
354
|
-
allow.custom(),
|
|
355
351
|
])
|
|
356
352
|
.handler(a.handler.function(categoryAction)),
|
|
357
353
|
|
|
@@ -367,7 +363,6 @@ const schema = a.schema({
|
|
|
367
363
|
.returns(a.ref("ReferenceCorpusMoveActionResult"))
|
|
368
364
|
.authorization((allow) => [
|
|
369
365
|
allow.groups(categoryWriteGroups),
|
|
370
|
-
allow.custom(),
|
|
371
366
|
])
|
|
372
367
|
.handler(a.handler.function(categoryAction)),
|
|
373
368
|
|
|
@@ -382,7 +377,6 @@ const schema = a.schema({
|
|
|
382
377
|
.returns(a.ref("ReferenceCurationStartResult"))
|
|
383
378
|
.authorization((allow) => [
|
|
384
379
|
allow.groups(categoryWriteGroups),
|
|
385
|
-
allow.custom(),
|
|
386
380
|
])
|
|
387
381
|
.handler(a.handler.function(categoryAction)),
|
|
388
382
|
|
|
@@ -394,7 +388,6 @@ const schema = a.schema({
|
|
|
394
388
|
.returns(a.ref("ReferenceCurationStatusResult"))
|
|
395
389
|
.authorization((allow) => [
|
|
396
390
|
allow.groups(categoryWriteGroups),
|
|
397
|
-
allow.custom(),
|
|
398
391
|
])
|
|
399
392
|
.handler(a.handler.function(categoryAction)),
|
|
400
393
|
|
|
@@ -506,7 +499,7 @@ const schema = a.schema({
|
|
|
506
499
|
getNewsroomSummary: a
|
|
507
500
|
.query()
|
|
508
501
|
.returns(a.ref("NewsroomSummary"))
|
|
509
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
502
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
510
503
|
.handler(a.handler.function(newsroomSummary)),
|
|
511
504
|
|
|
512
505
|
deriveMarkus: a
|
|
@@ -550,7 +543,7 @@ const schema = a.schema({
|
|
|
550
543
|
input: a.json().required(),
|
|
551
544
|
})
|
|
552
545
|
.returns(a.json())
|
|
553
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
546
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
554
547
|
.handler(a.handler.function(knowledgeQuery)),
|
|
555
548
|
|
|
556
549
|
updateNewsroomSummary: a
|
|
@@ -561,7 +554,7 @@ const schema = a.schema({
|
|
|
561
554
|
reason: a.string(),
|
|
562
555
|
})
|
|
563
556
|
.returns(a.ref("NewsroomSummary"))
|
|
564
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
557
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
565
558
|
.handler(a.handler.function(newsroomSummary)),
|
|
566
559
|
|
|
567
560
|
ModelAttachmentUploadSlot: a.customType({
|
|
@@ -621,7 +614,7 @@ const schema = a.schema({
|
|
|
621
614
|
status: a.string(),
|
|
622
615
|
})
|
|
623
616
|
.returns(a.ref("ModelAttachmentUploadSlot"))
|
|
624
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
617
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
625
618
|
.handler(a.handler.function(modelAttachmentUpload)),
|
|
626
619
|
|
|
627
620
|
completeModelAttachmentUpload: a
|
|
@@ -643,7 +636,7 @@ const schema = a.schema({
|
|
|
643
636
|
status: a.string(),
|
|
644
637
|
})
|
|
645
638
|
.returns(a.ref("ModelAttachment"))
|
|
646
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
639
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
647
640
|
.handler(a.handler.function(modelAttachmentUpload)),
|
|
648
641
|
|
|
649
642
|
abortModelAttachmentUpload: a
|
|
@@ -665,7 +658,7 @@ const schema = a.schema({
|
|
|
665
658
|
status: a.string(),
|
|
666
659
|
})
|
|
667
660
|
.returns(a.ref("ModelAttachmentUploadAbortResult"))
|
|
668
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
661
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
669
662
|
.handler(a.handler.function(modelAttachmentUpload)),
|
|
670
663
|
|
|
671
664
|
createModelAttachmentDownload: a
|
|
@@ -674,7 +667,7 @@ const schema = a.schema({
|
|
|
674
667
|
attachmentId: a.id().required(),
|
|
675
668
|
})
|
|
676
669
|
.returns(a.ref("ModelAttachmentDownloadSlot"))
|
|
677
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
670
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
678
671
|
.handler(a.handler.function(modelAttachmentUpload)),
|
|
679
672
|
|
|
680
673
|
AssignmentActionResult: a.customType({
|
|
@@ -768,7 +761,7 @@ const schema = a.schema({
|
|
|
768
761
|
limit: a.integer(),
|
|
769
762
|
})
|
|
770
763
|
.returns(a.ref("AssignmentContext").array().required())
|
|
771
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
764
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
772
765
|
.handler(a.handler.function(assignmentAction)),
|
|
773
766
|
|
|
774
767
|
listAssignmentQueue: a
|
|
@@ -779,7 +772,7 @@ const schema = a.schema({
|
|
|
779
772
|
limit: a.integer(),
|
|
780
773
|
})
|
|
781
774
|
.returns(a.ref("AssignmentContext").array().required())
|
|
782
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
775
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
783
776
|
.handler(a.handler.function(assignmentAction)),
|
|
784
777
|
|
|
785
778
|
getAssignmentContext: a
|
|
@@ -788,7 +781,7 @@ const schema = a.schema({
|
|
|
788
781
|
assignmentId: a.id().required(),
|
|
789
782
|
})
|
|
790
783
|
.returns(a.ref("AssignmentContext"))
|
|
791
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
784
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
792
785
|
.handler(a.handler.function(assignmentAction)),
|
|
793
786
|
|
|
794
787
|
claimAssignment: a
|
|
@@ -805,7 +798,7 @@ const schema = a.schema({
|
|
|
805
798
|
note: a.string(),
|
|
806
799
|
})
|
|
807
800
|
.returns(a.ref("AssignmentActionResult"))
|
|
808
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
801
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
809
802
|
.handler(a.handler.function(assignmentAction)),
|
|
810
803
|
|
|
811
804
|
releaseAssignment: a
|
|
@@ -817,7 +810,7 @@ const schema = a.schema({
|
|
|
817
810
|
note: a.string(),
|
|
818
811
|
})
|
|
819
812
|
.returns(a.ref("AssignmentActionResult"))
|
|
820
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
813
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
821
814
|
.handler(a.handler.function(assignmentAction)),
|
|
822
815
|
|
|
823
816
|
completeAssignment: a
|
|
@@ -829,7 +822,7 @@ const schema = a.schema({
|
|
|
829
822
|
note: a.string(),
|
|
830
823
|
})
|
|
831
824
|
.returns(a.ref("AssignmentActionResult"))
|
|
832
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
825
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
833
826
|
.handler(a.handler.function(assignmentAction)),
|
|
834
827
|
|
|
835
828
|
cancelAssignment: a
|
|
@@ -841,7 +834,7 @@ const schema = a.schema({
|
|
|
841
834
|
note: a.string(),
|
|
842
835
|
})
|
|
843
836
|
.returns(a.ref("AssignmentActionResult"))
|
|
844
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
837
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
845
838
|
.handler(a.handler.function(assignmentAction)),
|
|
846
839
|
|
|
847
840
|
reopenAssignment: a
|
|
@@ -853,7 +846,7 @@ const schema = a.schema({
|
|
|
853
846
|
note: a.string(),
|
|
854
847
|
})
|
|
855
848
|
.returns(a.ref("AssignmentActionResult"))
|
|
856
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
849
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
857
850
|
.handler(a.handler.function(assignmentAction)),
|
|
858
851
|
|
|
859
852
|
retryImmediateAssignment: a
|
|
@@ -865,7 +858,7 @@ const schema = a.schema({
|
|
|
865
858
|
note: a.string(),
|
|
866
859
|
})
|
|
867
860
|
.returns(a.ref("AssignmentActionResult"))
|
|
868
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
861
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
869
862
|
.handler(a.handler.function(assignmentAction)),
|
|
870
863
|
|
|
871
864
|
listNewsroomProcedureDefinitions: a
|
|
@@ -881,7 +874,7 @@ const schema = a.schema({
|
|
|
881
874
|
procedureKey: a.string(),
|
|
882
875
|
})
|
|
883
876
|
.returns(a.json())
|
|
884
|
-
.authorization((allow) => [allow.group(adminGroup)
|
|
877
|
+
.authorization((allow) => [allow.group(adminGroup)])
|
|
885
878
|
.handler(a.handler.function(procedureAction)),
|
|
886
879
|
|
|
887
880
|
saveNewsroomProcedureDefinition: a
|
|
@@ -923,7 +916,7 @@ const schema = a.schema({
|
|
|
923
916
|
actorLabel: a.string(),
|
|
924
917
|
})
|
|
925
918
|
.returns(a.json())
|
|
926
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
919
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
927
920
|
.handler(a.handler.function(procedureAction)),
|
|
928
921
|
|
|
929
922
|
getNewsroomProcedureRun: a
|
|
@@ -932,7 +925,7 @@ const schema = a.schema({
|
|
|
932
925
|
id: a.id().required(),
|
|
933
926
|
})
|
|
934
927
|
.returns(a.json())
|
|
935
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
928
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
936
929
|
.handler(a.handler.function(procedureAction)),
|
|
937
930
|
|
|
938
931
|
listNewsroomProcedureRunsByProcedure: a
|
|
@@ -941,7 +934,7 @@ const schema = a.schema({
|
|
|
941
934
|
procedureId: a.id().required(),
|
|
942
935
|
})
|
|
943
936
|
.returns(a.json())
|
|
944
|
-
.authorization((allow) => [allow.groups(categoryWriteGroups)
|
|
937
|
+
.authorization((allow) => [allow.groups(categoryWriteGroups)])
|
|
945
938
|
.handler(a.handler.function(procedureAction)),
|
|
946
939
|
|
|
947
940
|
Assignment: a
|
|
@@ -977,9 +970,11 @@ const schema = a.schema({
|
|
|
977
970
|
createdAt: a.datetime().required(),
|
|
978
971
|
updatedAt: a.datetime().required(),
|
|
979
972
|
newsroomFeedKey: a.string(),
|
|
973
|
+
itemLineageId: a.id(),
|
|
980
974
|
})
|
|
981
975
|
.secondaryIndexes((index) => [
|
|
982
976
|
index("newsroomFeedKey").sortKeys(["createdAt"]).queryField("listAssignmentsByNewsroomFeedAndCreatedAt"),
|
|
977
|
+
index("itemLineageId").sortKeys(["createdAt"]).queryField("listAssignmentsByItemLineageAndCreatedAt"),
|
|
983
978
|
index("queueStatusKey").sortKeys(["priority", "createdAt"]).queryField("listAssignmentsByQueueStatusAndPriority"),
|
|
984
979
|
index("assignmentTypeKey").sortKeys(["status", "createdAt"]).queryField("listAssignmentsByTypeStatusAndCreatedAt"),
|
|
985
980
|
index("status").sortKeys(["updatedAt"]).queryField("listAssignmentsByStatusAndUpdatedAt"),
|
|
@@ -992,7 +987,6 @@ const schema = a.schema({
|
|
|
992
987
|
.authorization((allow) => [
|
|
993
988
|
allow.groups(categoryWriteGroups).to(categoryAppendOnlyOperations),
|
|
994
989
|
allow.authenticated("identityPool").to(authoringOperations),
|
|
995
|
-
allow.custom().to(authoringOperations),
|
|
996
990
|
]),
|
|
997
991
|
|
|
998
992
|
AssignmentEvent: a
|
|
@@ -1016,7 +1010,6 @@ const schema = a.schema({
|
|
|
1016
1010
|
])
|
|
1017
1011
|
.authorization((allow) => [
|
|
1018
1012
|
allow.groups(categoryWriteGroups).to(categoryAppendOnlyOperations),
|
|
1019
|
-
allow.custom().to(authoringOperations),
|
|
1020
1013
|
]),
|
|
1021
1014
|
|
|
1022
1015
|
ProcedureDefinition: a
|
|
@@ -1042,7 +1035,6 @@ const schema = a.schema({
|
|
|
1042
1035
|
])
|
|
1043
1036
|
.authorization((allow) => [
|
|
1044
1037
|
allow.group(adminGroup),
|
|
1045
|
-
allow.custom().to(authoringOperations),
|
|
1046
1038
|
]),
|
|
1047
1039
|
|
|
1048
1040
|
ProcedureVersion: a
|
|
@@ -1070,7 +1062,6 @@ const schema = a.schema({
|
|
|
1070
1062
|
])
|
|
1071
1063
|
.authorization((allow) => [
|
|
1072
1064
|
allow.group(adminGroup),
|
|
1073
|
-
allow.custom().to(authoringOperations),
|
|
1074
1065
|
]),
|
|
1075
1066
|
|
|
1076
1067
|
ProcedureRun: a
|
|
@@ -1104,7 +1095,6 @@ const schema = a.schema({
|
|
|
1104
1095
|
.authorization((allow) => [
|
|
1105
1096
|
allow.group("editor").to(["read"]),
|
|
1106
1097
|
allow.group(adminGroup).to(authoringOperations),
|
|
1107
|
-
allow.custom().to(authoringOperations),
|
|
1108
1098
|
]),
|
|
1109
1099
|
|
|
1110
1100
|
NewsroomSection: a
|
|
@@ -1133,7 +1123,6 @@ const schema = a.schema({
|
|
|
1133
1123
|
])
|
|
1134
1124
|
.authorization((allow) => [
|
|
1135
1125
|
allow.groups(categoryWriteGroups),
|
|
1136
|
-
allow.custom().to(authoringOperations),
|
|
1137
1126
|
]),
|
|
1138
1127
|
|
|
1139
1128
|
KnowledgeCorpus: a
|
|
@@ -1152,7 +1141,6 @@ const schema = a.schema({
|
|
|
1152
1141
|
])
|
|
1153
1142
|
.authorization((allow) => [
|
|
1154
1143
|
allow.groups(categoryWriteGroups).to(["read"]),
|
|
1155
|
-
allow.custom().to(authoringOperations),
|
|
1156
1144
|
]),
|
|
1157
1145
|
|
|
1158
1146
|
KnowledgeImportRun: a
|
|
@@ -1181,7 +1169,6 @@ const schema = a.schema({
|
|
|
1181
1169
|
])
|
|
1182
1170
|
.authorization((allow) => [
|
|
1183
1171
|
allow.groups(categoryWriteGroups).to(["read"]),
|
|
1184
|
-
allow.custom().to(authoringOperations),
|
|
1185
1172
|
]),
|
|
1186
1173
|
|
|
1187
1174
|
KnowledgeRawPayload: a
|
|
@@ -1200,7 +1187,6 @@ const schema = a.schema({
|
|
|
1200
1187
|
])
|
|
1201
1188
|
.authorization((allow) => [
|
|
1202
1189
|
allow.groups(categoryWriteGroups),
|
|
1203
|
-
allow.custom().to(authoringOperations),
|
|
1204
1190
|
]),
|
|
1205
1191
|
|
|
1206
1192
|
KnowledgeArtifact: a
|
|
@@ -1221,7 +1207,6 @@ const schema = a.schema({
|
|
|
1221
1207
|
])
|
|
1222
1208
|
.authorization((allow) => [
|
|
1223
1209
|
allow.groups(categoryWriteGroups).to(["read"]),
|
|
1224
|
-
allow.custom().to(authoringOperations),
|
|
1225
1210
|
]),
|
|
1226
1211
|
|
|
1227
1212
|
CategorySet: a
|
|
@@ -1252,7 +1237,6 @@ const schema = a.schema({
|
|
|
1252
1237
|
])
|
|
1253
1238
|
.authorization((allow) => [
|
|
1254
1239
|
allow.groups(categoryWriteGroups),
|
|
1255
|
-
allow.custom().to(authoringOperations),
|
|
1256
1240
|
]),
|
|
1257
1241
|
|
|
1258
1242
|
Category: a
|
|
@@ -1295,7 +1279,6 @@ const schema = a.schema({
|
|
|
1295
1279
|
])
|
|
1296
1280
|
.authorization((allow) => [
|
|
1297
1281
|
allow.groups(categoryWriteGroups),
|
|
1298
|
-
allow.custom().to(authoringOperations),
|
|
1299
1282
|
]),
|
|
1300
1283
|
|
|
1301
1284
|
CategoryKeyword: a
|
|
@@ -1325,7 +1308,6 @@ const schema = a.schema({
|
|
|
1325
1308
|
])
|
|
1326
1309
|
.authorization((allow) => [
|
|
1327
1310
|
allow.groups(categoryWriteGroups),
|
|
1328
|
-
allow.custom().to(authoringOperations),
|
|
1329
1311
|
]),
|
|
1330
1312
|
|
|
1331
1313
|
LexicalSteeringRule: a
|
|
@@ -1355,7 +1337,6 @@ const schema = a.schema({
|
|
|
1355
1337
|
])
|
|
1356
1338
|
.authorization((allow) => [
|
|
1357
1339
|
allow.groups(categoryWriteGroups),
|
|
1358
|
-
allow.custom().to(authoringOperations),
|
|
1359
1340
|
]),
|
|
1360
1341
|
|
|
1361
1342
|
SteeringProposal: a
|
|
@@ -1394,7 +1375,6 @@ const schema = a.schema({
|
|
|
1394
1375
|
])
|
|
1395
1376
|
.authorization((allow) => [
|
|
1396
1377
|
allow.groups(categoryWriteGroups).to(["read"]),
|
|
1397
|
-
allow.custom().to(authoringOperations),
|
|
1398
1378
|
]),
|
|
1399
1379
|
|
|
1400
1380
|
SteeringDecision: a
|
|
@@ -1415,7 +1395,6 @@ const schema = a.schema({
|
|
|
1415
1395
|
])
|
|
1416
1396
|
.authorization((allow) => [
|
|
1417
1397
|
allow.groups(categoryWriteGroups).to(categoryAppendOnlyOperations),
|
|
1418
|
-
allow.custom().to(authoringOperations),
|
|
1419
1398
|
]),
|
|
1420
1399
|
|
|
1421
1400
|
Reference: a
|
|
@@ -1468,7 +1447,6 @@ const schema = a.schema({
|
|
|
1468
1447
|
])
|
|
1469
1448
|
.authorization((allow) => [
|
|
1470
1449
|
allow.groups(categoryWriteGroups).to(["read"]),
|
|
1471
|
-
allow.custom().to(authoringOperations),
|
|
1472
1450
|
]),
|
|
1473
1451
|
|
|
1474
1452
|
ReferenceAttachment: a
|
|
@@ -1499,7 +1477,6 @@ const schema = a.schema({
|
|
|
1499
1477
|
])
|
|
1500
1478
|
.authorization((allow) => [
|
|
1501
1479
|
allow.groups(categoryWriteGroups).to(["read"]),
|
|
1502
|
-
allow.custom().to(authoringOperations),
|
|
1503
1480
|
]),
|
|
1504
1481
|
|
|
1505
1482
|
SemanticNode: a
|
|
@@ -1543,7 +1520,6 @@ const schema = a.schema({
|
|
|
1543
1520
|
])
|
|
1544
1521
|
.authorization((allow) => [
|
|
1545
1522
|
allow.groups(categoryWriteGroups).to(["read"]),
|
|
1546
|
-
allow.custom().to(authoringOperations),
|
|
1547
1523
|
]),
|
|
1548
1524
|
|
|
1549
1525
|
Message: a
|
|
@@ -1593,7 +1569,6 @@ const schema = a.schema({
|
|
|
1593
1569
|
])
|
|
1594
1570
|
.authorization((allow) => [
|
|
1595
1571
|
allow.groups(categoryWriteGroups).to(categoryAppendOnlyOperations),
|
|
1596
|
-
allow.custom().to(authoringOperations),
|
|
1597
1572
|
allow.authenticated("identityPool").to(["read", "create", "update"]),
|
|
1598
1573
|
]),
|
|
1599
1574
|
|
|
@@ -1633,7 +1608,6 @@ const schema = a.schema({
|
|
|
1633
1608
|
.authorization((allow) => [
|
|
1634
1609
|
allow.groups(categoryWriteGroups).to(["read", "create", "update"]),
|
|
1635
1610
|
allow.authenticated("identityPool").to(authoringOperations),
|
|
1636
|
-
allow.custom().to(authoringOperations),
|
|
1637
1611
|
]),
|
|
1638
1612
|
|
|
1639
1613
|
ModelAttachment: a
|
|
@@ -1666,7 +1640,6 @@ const schema = a.schema({
|
|
|
1666
1640
|
])
|
|
1667
1641
|
.authorization((allow) => [
|
|
1668
1642
|
allow.groups(categoryWriteGroups).to(["read"]),
|
|
1669
|
-
allow.custom().to(authoringOperations),
|
|
1670
1643
|
]),
|
|
1671
1644
|
|
|
1672
1645
|
SemanticRelationType: a
|
|
@@ -1695,7 +1668,6 @@ const schema = a.schema({
|
|
|
1695
1668
|
])
|
|
1696
1669
|
.authorization((allow) => [
|
|
1697
1670
|
allow.groups(categoryWriteGroups),
|
|
1698
|
-
allow.custom().to(authoringOperations),
|
|
1699
1671
|
]),
|
|
1700
1672
|
|
|
1701
1673
|
SemanticRelation: a
|
|
@@ -1747,7 +1719,6 @@ const schema = a.schema({
|
|
|
1747
1719
|
])
|
|
1748
1720
|
.authorization((allow) => [
|
|
1749
1721
|
allow.groups(categoryWriteGroups).to(categoryAppendOnlyOperations),
|
|
1750
|
-
allow.custom().to(authoringOperations),
|
|
1751
1722
|
]),
|
|
1752
1723
|
|
|
1753
1724
|
Item: a
|
|
@@ -1764,6 +1735,7 @@ const schema = a.schema({
|
|
|
1764
1735
|
type: a.string().required(),
|
|
1765
1736
|
status: a.string().required(),
|
|
1766
1737
|
typeStatus: a.string().required(),
|
|
1738
|
+
stage: a.string(),
|
|
1767
1739
|
slug: a.string().required(),
|
|
1768
1740
|
shortSlug: a.string(),
|
|
1769
1741
|
section: a.string(),
|
|
@@ -1795,10 +1767,10 @@ const schema = a.schema({
|
|
|
1795
1767
|
index("typeStatus").sortKeys(["publishedAt"]).queryField("listItemsByTypeStatusAndPublishedAt"),
|
|
1796
1768
|
index("sectionStatus").sortKeys(["publishedAt"]).queryField("listItemsBySectionStatusAndPublishedAt"),
|
|
1797
1769
|
index("versionState").sortKeys(["updatedAt"]).queryField("listItemsByVersionStateAndUpdatedAt"),
|
|
1770
|
+
index("stage").sortKeys(["updatedAt"]).queryField("listItemsByStageAndUpdatedAt"),
|
|
1798
1771
|
])
|
|
1799
1772
|
.authorization((allow) => [
|
|
1800
1773
|
allow.groups(contentWriteGroups),
|
|
1801
|
-
allow.custom().to(authoringOperations),
|
|
1802
1774
|
]),
|
|
1803
1775
|
|
|
1804
1776
|
Tag: a
|
|
@@ -1816,7 +1788,6 @@ const schema = a.schema({
|
|
|
1816
1788
|
])
|
|
1817
1789
|
.authorization((allow) => [
|
|
1818
1790
|
allow.groups(contentWriteGroups),
|
|
1819
|
-
allow.custom().to(authoringOperations),
|
|
1820
1791
|
]),
|
|
1821
1792
|
|
|
1822
1793
|
ItemTag: a
|
|
@@ -1837,7 +1808,6 @@ const schema = a.schema({
|
|
|
1837
1808
|
])
|
|
1838
1809
|
.authorization((allow) => [
|
|
1839
1810
|
allow.groups(contentWriteGroups),
|
|
1840
|
-
allow.custom().to(authoringOperations),
|
|
1841
1811
|
]),
|
|
1842
1812
|
|
|
1843
1813
|
MediaAsset: a
|
|
@@ -1871,7 +1841,6 @@ const schema = a.schema({
|
|
|
1871
1841
|
])
|
|
1872
1842
|
.authorization((allow) => [
|
|
1873
1843
|
allow.groups(contentWriteGroups),
|
|
1874
|
-
allow.custom().to(authoringOperations),
|
|
1875
1844
|
]),
|
|
1876
1845
|
|
|
1877
1846
|
Edition: a
|
|
@@ -1905,7 +1874,6 @@ const schema = a.schema({
|
|
|
1905
1874
|
])
|
|
1906
1875
|
.authorization((allow) => [
|
|
1907
1876
|
allow.groups(contentWriteGroups),
|
|
1908
|
-
allow.custom().to(authoringOperations),
|
|
1909
1877
|
]),
|
|
1910
1878
|
|
|
1911
1879
|
EditionSlot: a
|
|
@@ -1932,7 +1900,6 @@ const schema = a.schema({
|
|
|
1932
1900
|
])
|
|
1933
1901
|
.authorization((allow) => [
|
|
1934
1902
|
allow.groups(categoryWriteGroups).to(categoryAppendOnlyOperations),
|
|
1935
|
-
allow.custom().to(authoringOperations),
|
|
1936
1903
|
]),
|
|
1937
1904
|
|
|
1938
1905
|
EditionItem: a
|
|
@@ -1956,7 +1923,6 @@ const schema = a.schema({
|
|
|
1956
1923
|
])
|
|
1957
1924
|
.authorization((allow) => [
|
|
1958
1925
|
allow.groups(contentWriteGroups),
|
|
1959
|
-
allow.custom().to(authoringOperations),
|
|
1960
1926
|
]),
|
|
1961
1927
|
|
|
1962
1928
|
PublishedItem: a
|
|
@@ -1998,7 +1964,6 @@ const schema = a.schema({
|
|
|
1998
1964
|
.authorization((allow) => [
|
|
1999
1965
|
allow.guest().to(["read"]),
|
|
2000
1966
|
allow.groups(contentWriteGroups),
|
|
2001
|
-
allow.custom().to(authoringOperations),
|
|
2002
1967
|
]),
|
|
2003
1968
|
|
|
2004
1969
|
PublishedMediaAsset: a
|
|
@@ -2035,7 +2000,6 @@ const schema = a.schema({
|
|
|
2035
2000
|
.authorization((allow) => [
|
|
2036
2001
|
allow.guest().to(["read"]),
|
|
2037
2002
|
allow.groups(contentWriteGroups),
|
|
2038
|
-
allow.custom().to(authoringOperations),
|
|
2039
2003
|
]),
|
|
2040
2004
|
|
|
2041
2005
|
PublishedEdition: a
|
|
@@ -2062,7 +2026,6 @@ const schema = a.schema({
|
|
|
2062
2026
|
.authorization((allow) => [
|
|
2063
2027
|
allow.guest().to(["read"]),
|
|
2064
2028
|
allow.groups(contentWriteGroups),
|
|
2065
|
-
allow.custom().to(authoringOperations),
|
|
2066
2029
|
]),
|
|
2067
2030
|
|
|
2068
2031
|
PublishedEditionItem: a
|
|
@@ -2088,7 +2051,6 @@ const schema = a.schema({
|
|
|
2088
2051
|
.authorization((allow) => [
|
|
2089
2052
|
allow.guest().to(["read"]),
|
|
2090
2053
|
allow.groups(contentWriteGroups),
|
|
2091
|
-
allow.custom().to(authoringOperations),
|
|
2092
2054
|
]),
|
|
2093
2055
|
|
|
2094
2056
|
PublishedCategorySet: a
|
|
@@ -2115,7 +2077,6 @@ const schema = a.schema({
|
|
|
2115
2077
|
.authorization((allow) => [
|
|
2116
2078
|
allow.guest().to(["read"]),
|
|
2117
2079
|
allow.groups(contentWriteGroups),
|
|
2118
|
-
allow.custom().to(authoringOperations),
|
|
2119
2080
|
]),
|
|
2120
2081
|
|
|
2121
2082
|
PublishedCategory: a
|
|
@@ -2152,7 +2113,6 @@ const schema = a.schema({
|
|
|
2152
2113
|
.authorization((allow) => [
|
|
2153
2114
|
allow.guest().to(["read"]),
|
|
2154
2115
|
allow.groups(contentWriteGroups),
|
|
2155
|
-
allow.custom().to(authoringOperations),
|
|
2156
2116
|
]),
|
|
2157
2117
|
}).authorization((allow) => [
|
|
2158
2118
|
allow.resource(categoryAction),
|
|
@@ -2169,17 +2129,19 @@ const schema = a.schema({
|
|
|
2169
2129
|
|
|
2170
2130
|
export type Schema = ClientSchema<typeof schema>;
|
|
2171
2131
|
|
|
2172
|
-
|
|
2173
|
-
|
|
2174
|
-
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2178
|
-
|
|
2179
|
-
|
|
2180
|
-
|
|
2181
|
-
|
|
2182
|
-
|
|
2132
|
+
/**
|
|
2133
|
+
* The site's data API. Amplify allows one `defineData` per backend and registers it when called, so this is
|
|
2134
|
+
* a function: a site without plugins passes none and gets exactly the base schema.
|
|
2135
|
+
*/
|
|
2136
|
+
export function defineSiteData(pluginDefinitions: Record<string, unknown> = {}) {
|
|
2137
|
+
return defineData({
|
|
2138
|
+
name: "PapyrusCmsApi",
|
|
2139
|
+
schema: Object.keys(pluginDefinitions).length === 0 ? leanSchema : schemaWithPlugins(pluginDefinitions),
|
|
2140
|
+
authorizationModes: {
|
|
2141
|
+
defaultAuthorizationMode: "userPool",
|
|
2142
|
+
apiKeyAuthorizationMode: {
|
|
2143
|
+
expiresInDays: 365,
|
|
2144
|
+
},
|
|
2183
2145
|
},
|
|
2184
|
-
}
|
|
2185
|
-
}
|
|
2146
|
+
});
|
|
2147
|
+
}
|