@anthusai/papyrus 5.131.0-next.1 → 5.131.0-next.3
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/functions/automation-view/wire.js +4 -1
- package/amplify/functions/automation-view/wire.ts +4 -1
- package/amplify/functions/image-service/schema.js +10 -0
- package/amplify/functions/image-service/schema.ts +10 -0
- package/amplify/functions/image-service/wire.js +9 -0
- package/amplify/functions/image-service/wire.ts +9 -0
- package/components/announcement-lines.css +26 -0
- package/components/announcement-lines.tsx +157 -0
- package/components/announcement-marks.tsx +36 -0
- package/components/announcements-panel.tsx +10 -34
- package/components/newsroom-article-editor.tsx +4 -0
- package/components/newsroom-organizer.css +1 -1
- package/components/today-view.tsx +45 -0
- package/components/writing-guidelines-admin-panel.tsx +272 -126
- package/lib/announcement-lines.ts +95 -0
- package/lib/announcements-demo.ts +96 -0
- package/lib/announcements-door-client.ts +21 -0
- package/lib/announcements-fixture.ts +1 -19
- package/lib/announcements-model.ts +0 -21
- package/lib/content-actions-demo.ts +2 -0
- package/lib/guidelines/guideline-files.ts +257 -0
- package/lib/guidelines/writing-guidelines-admin.ts +3 -67
- package/lib/images/operations.generated.ts +357 -2
- package/lib/newsroom-articles.ts +5 -0
- package/lib/today-fixture.ts +7 -0
- package/lib/today-overview.ts +40 -0
- package/package.json +7 -2
- package/routes.manifest.json +1 -1
- package/lib/announcements-data.ts +0 -21
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import type { AnnouncementRow } from "./announcements-model";
|
|
2
|
-
|
|
3
|
-
/** The announcement backend (PPY-9f4d66) is not in this repository's data API yet. */
|
|
4
|
-
export class AnnouncementsBackendNotDeployed extends Error {
|
|
5
|
-
constructor() {
|
|
6
|
-
super("The announcement list needs the announcement backend (PPY-9f4d66), which is not deployed on this site yet.");
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
export type AnnouncementsSource = { list: () => Promise<AnnouncementRow[]> };
|
|
11
|
-
|
|
12
|
-
/**
|
|
13
|
-
* STUB, named on purpose: the data layer for the dry-run preview and the audit list. When PPY-9f4d66 lands, replace this
|
|
14
|
-
* with the operation behind `papyrus announcements list` (rows carry the Story, state, exact text, link, post id, cost
|
|
15
|
-
* and error, per the plan's audit trail). Until then it fails clearly and the page says so; it never invents rows.
|
|
16
|
-
*/
|
|
17
|
-
export const announcementsSource: AnnouncementsSource = {
|
|
18
|
-
async list() {
|
|
19
|
-
throw new AnnouncementsBackendNotDeployed();
|
|
20
|
-
},
|
|
21
|
-
};
|