Data model

    Maintain app and backend loop

    The native app captures maintenance context locally, syncs authenticated changes through Worker routes, and uses staging/TestFlight gates before broader release decisions.

    Data model diagram

    Relationships

    A readable index of the 10 connections shown in the visual model above.

    1

    Maintenance user

    Connects to SwiftUI app

    2

    SwiftUI app

    Connects to SwiftData local store

    3

    SwiftUI app

    Connects to AppModel

    4

    AppModel

    Connects to HealthKit import

    5

    AppModel

    Connects to Cloudflare Worker API

    6

    Cloudflare Worker API

    Connects to Neon repository

    7

    Cloudflare Worker API

    Connects to R2 export/share workflow

    8

    Neon repository

    Connects to Server sync cursor

    9

    Server sync cursor

    Connects to AppModel

    10

    Cloudflare Worker API

    Connects to Staging smoke and TestFlight gates

    Model details

    Dates

    Created
    Not recorded
    Last updated
    Jun 2, 2026

    Entities

    userSwiftUI appSwiftData storeAppModelWorker APINeon repositorystaging smokeTestFlight gate