contracts 1.20.0: devotionals, Bible passages, messaging.get, WhatsApp opt-out, App export
The contracts for Church App 1.0.0 (docs/APP-1.0-PLAN.md §12). Additive. - crosscode.devotional/1, the Hub's devotionals reply, and the devotionals CSV import (parseCsv, checkDevotionalCsv, template), shared by the Hub and the App - Bible books (USFM, English and Afrikaans), seven translations with YouVersion ids and copyright lines, parseBibleReference, youVersionUrl - messaging.get and the messaging.changed hint; whatsapp.optout and whatsapp_opted_out on the profile - APP_MODULES, hub.DEVOTIONALS_PATH, agent.APP_DEMO_PROFILES, app in DEMO_PRODUCTS - the app section of the church export, people[].roles - Accounts refuses the two new requests until 1.9.0 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -20,6 +20,7 @@ import {
|
||||
peopleRemoveDemoReplySchema, peopleCheckReplySchema, churchUpdateReplySchema,
|
||||
userDeletedReplySchema,
|
||||
userExportReplySchema,
|
||||
messagingGetReplySchema, messagingChangedSchema, whatsappOptOutReplySchema, devotionalsReplySchema,
|
||||
} from "../src";
|
||||
import { SAMPLES, sample } from "./helpers";
|
||||
|
||||
@@ -66,6 +67,13 @@ const SCHEMAS: Record<string, z.ZodType> = {
|
||||
"people-check-reply.json": peopleCheckReplySchema,
|
||||
"church-update.json": identityRequestSchema,
|
||||
"church-update-reply.json": churchUpdateReplySchema,
|
||||
"church-export-app.json": churchExportSchema,
|
||||
"messaging-get.json": identityRequestSchema,
|
||||
"messaging-get-reply.json": messagingGetReplySchema,
|
||||
"messaging-changed.json": messagingChangedSchema,
|
||||
"whatsapp-optout.json": identityRequestSchema,
|
||||
"whatsapp-optout-reply.json": whatsappOptOutReplySchema,
|
||||
"devotionals-reply.json": devotionalsReplySchema,
|
||||
};
|
||||
|
||||
describe("samples", () => {
|
||||
|
||||
Reference in New Issue
Block a user