You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 088613b
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: content/docs/references/api/index.mdx
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: API Protocol — complete schema reference
3
3
navTitle: API Protocol
4
-
description: "The ObjectStack API Protocol in 34 reference pages: every schema in @objectstack/spec with its properties, types, defaults and a TypeScript example."
4
+
description: "The ObjectStack API Protocol in 35 reference pages: every schema in @objectstack/spec with its properties, types, defaults and a TypeScript example."
5
5
---
6
6
7
7
{/* ⚠️ AUTO-GENERATED — DO NOT EDIT. Run build-docs.ts to regenerate. Hand-written docs live in the module folders under content/docs/. */}
@@ -33,6 +33,7 @@ This section contains all protocol schemas for the api layer of ObjectStack.
|**deviceId**|`string`| optional |Client-held device id, stable per app install. Re-registering the same deviceId refreshes that device; absent, the server mints one and answers it, and the client keeps it for later registrations and unregister|
2771
2771
|**name**|`string`| optional | Device friendly name |
2772
+
|**vendor**|`Enum<'apns' \| 'fcm'>`| optional | Push vendor the token belongs to: apns or fcm. Absent, the server derives it from platform: ios means apns, android means fcm (web has no core vendor) |
2773
+
|**appId**|`string`| optional | App the token was issued to: the iOS bundle ID or the Android application ID |
2774
+
|**locale**|`string`| optional | Device locale (BCP 47, for example zh-CN) that pushes to this device are rendered in |
title: Push Delivery schema — API Protocol reference
3
+
navTitle: Push Delivery
4
+
description: "Push delivery data — what a push carries to the shell. Reference for PushDeliveryData, PushRoute: every property with its type and default."
5
+
---
6
+
7
+
{/* ⚠️ AUTO-GENERATED — DO NOT EDIT. Run build-docs.ts to regenerate. Hand-written docs live in the module folders under content/docs/. */}
8
+
9
+
Push delivery data — what a push carries to the shell (ADR-0012 §8: the
10
+
`data` member of the push channel's rendered body).
11
+
12
+
The shell reads it when the user taps the push: `notificationId` names the
13
+
notification (the same id the inbox lists and `markRead` takes), and
14
+
`route` is the Console path the shell opens.
15
+
16
+
**Where `route` comes from — derived, never authored.** There is no
17
+
`notify` key for it. It is the notification's existing `actionUrl`, the
18
+
value the inbox already serves: an explicit `url` / `actionUrl` in the
19
+
notification's payload, else `/OBJECT/ID` built from the notification's
20
+
source record, else none. When that value passes `PushRouteSchema`
21
+
the push carries it as `route`; when it does not (an absolute URL to
22
+
another site, say) or there is none, the push carries no `route` and the
23
+
tap opens the shell's default screen. The delivery is never failed for it.
24
+
25
+
Not to be confused with the `PushNotificationSchema` that `system/` once
26
+
declared and then removed (ADR-0049): that was an authoring template shape;
27
+
this is the wire data of a delivery, produced by the platform.
|[Automation Protocol](/docs/references/automation)| 15 | 78 | Flows and their nodes, approvals, ETL pipelines, webhooks, state machines, execution records. |
26
26
|[Data Protocol](/docs/references/data)| 31 | 174 | Objects, fields, queries, filters, datasources and drivers — the ObjectQL layer. |
Copy file name to clipboardExpand all lines: content/docs/references/system/index.mdx
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
---
2
2
title: System Protocol — complete schema reference
3
3
navTitle: System Protocol
4
-
description: "The ObjectStack System Protocol in 37 reference pages: every schema in @objectstack/spec with its properties, types, defaults and a TypeScript example."
4
+
description: "The ObjectStack System Protocol in 38 reference pages: every schema in @objectstack/spec with its properties, types, defaults and a TypeScript example."
5
5
---
6
6
7
7
{/* ⚠️ AUTO-GENERATED — DO NOT EDIT. Run build-docs.ts to regenerate. Hand-written docs live in the module folders under content/docs/. */}
@@ -34,6 +34,7 @@ This section contains all protocol schemas for the system layer of ObjectStack.
0 commit comments