@exponential_app/engine 0.0.0-stage → 0.1.1
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/LICENSE +201 -0
- package/NOTICE +54 -0
- package/README.md +35 -2
- package/dist/capabilities.js +29 -0
- package/dist/capabilities.js.map +9 -0
- package/dist/chunks/index-3nf9f7pv.js +315 -0
- package/dist/chunks/index-3nf9f7pv.js.map +10 -0
- package/dist/chunks/index-3rgr16n2.js +443 -0
- package/dist/chunks/index-3rgr16n2.js.map +9 -0
- package/dist/chunks/index-79swfbsm.js +366 -0
- package/dist/chunks/index-79swfbsm.js.map +10 -0
- package/dist/chunks/index-knntt4cb.js +259 -0
- package/dist/chunks/index-knntt4cb.js.map +10 -0
- package/dist/chunks/index-m2845dn6.js +72 -0
- package/dist/chunks/index-m2845dn6.js.map +10 -0
- package/dist/chunks/index-pqpnz4ns.js +2213 -0
- package/dist/chunks/index-pqpnz4ns.js.map +9 -0
- package/dist/chunks/index-q4zws02e.js +2301 -0
- package/dist/chunks/index-q4zws02e.js.map +10 -0
- package/dist/chunks/index-s3xjr701.js +170 -0
- package/dist/chunks/index-s3xjr701.js.map +10 -0
- package/dist/chunks/index-sk8b0dh4.js +126 -0
- package/dist/chunks/index-sk8b0dh4.js.map +10 -0
- package/dist/chunks/index-tvsykgcv.js +3015 -0
- package/dist/chunks/index-tvsykgcv.js.map +19 -0
- package/dist/chunks/index-v0m7r4y3.js +6869 -0
- package/dist/chunks/index-v0m7r4y3.js.map +13 -0
- package/dist/consent.js +24 -0
- package/dist/consent.js.map +9 -0
- package/dist/index.js +654 -0
- package/dist/index.js.map +12 -0
- package/dist/lifecycle.js +11 -0
- package/dist/lifecycle.js.map +9 -0
- package/dist/outbox.js +27 -0
- package/dist/outbox.js.map +9 -0
- package/dist/pdf.js +15 -0
- package/dist/pdf.js.map +9 -0
- package/dist/providers.js +26 -0
- package/dist/providers.js.map +9 -0
- package/dist/runner.js +24 -0
- package/dist/runner.js.map +9 -0
- package/dist/tools.js +38 -0
- package/dist/tools.js.map +9 -0
- package/dist/types/domain-contract/src/app-records.d.ts +3148 -0
- package/dist/types/domain-contract/src/app-share.d.ts +222 -0
- package/dist/types/domain-contract/src/apps.d.ts +612 -0
- package/dist/types/eengine/fixtures/providers.json +55 -0
- package/dist/types/eengine/src/broker.d.ts +80 -0
- package/dist/types/eengine/src/capabilities.d.ts +88 -0
- package/dist/types/eengine/src/consent.d.ts +50 -0
- package/dist/types/eengine/src/index.d.ts +12 -0
- package/dist/types/eengine/src/instance.d.ts +131 -0
- package/dist/types/eengine/src/lifecycle.d.ts +64 -0
- package/dist/types/eengine/src/outbox.d.ts +3 -0
- package/dist/types/eengine/src/pdf.d.ts +36 -0
- package/dist/types/eengine/src/providers.d.ts +38 -0
- package/dist/types/eengine/src/runner.d.ts +82 -0
- package/dist/types/eengine/src/stores.d.ts +125 -0
- package/dist/types/eengine/src/synced.d.ts +59 -0
- package/dist/types/eengine/src/tools.d.ts +79 -0
- package/dist/types/eengine/src/web/index.d.ts +20 -0
- package/dist/types/eengine/src/web/mcp.d.ts +27 -0
- package/dist/types/eengine/src/web/platform.d.ts +91 -0
- package/dist/types/eengine/src/web/stores.d.ts +125 -0
- package/dist/types/emcp/fixtures/automations.json +521 -0
- package/dist/types/emcp/fixtures/hub.json +498 -0
- package/dist/types/emcp/src/access.d.ts +55 -0
- package/dist/types/emcp/src/audit.d.ts +22 -0
- package/dist/types/emcp/src/automations.d.ts +111 -0
- package/dist/types/emcp/src/exposes.d.ts +242 -0
- package/dist/types/emcp/src/hub.d.ts +63 -0
- package/dist/types/emcp/src/index.d.ts +7 -0
- package/dist/types/emcp/src/pure.d.ts +11 -0
- package/dist/types/emcp/src/upstream.d.ts +288 -0
- package/dist/types/emcp/src/vault.d.ts +34 -0
- package/dist/web/index.js +791 -0
- package/dist/web/index.js.map +13 -0
- package/fixtures/bundle.json +1165 -0
- package/fixtures/capabilities.json +434 -0
- package/fixtures/consent.json +146 -0
- package/fixtures/lifecycle.json +125 -0
- package/fixtures/outbox.json +22 -0
- package/fixtures/providers.json +55 -0
- package/fixtures/runner.json +2167 -0
- package/package.json +92 -4
|
@@ -0,0 +1,2167 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "E6 (epic VAPP-259; #VAPP-266 desktop, #VAPP-267 Android, #VAPP-268 iOS, #VAPP-269 web; docs/spec/apps.md §13.3): THE RUNNER, the prebuilt shell an exported app runs in, one per platform (macOS, Windows, Linux: gpui + eui-gpui + eengine; Android: Compose + eui-compose + eengine-ffi; iOS: SwiftUI + ExponentialUI + eengine-ffi; web: a static PWA on the TS twin + the React renderer). No app code is compiled per app (iOS links only the declared capability modules). A runner has NO CHROME OF ITS OWN: everything it paints is a genUI surface made of existing components, built here once (TS reference `runner.ts`, Rust `eengine::runner`, Swift/Kotlin over `eengine-ffi`), so the look is the same on every platform. NO OTA, NO UPDATE CHANNEL, NO TELEMETRY, NO ACCOUNT: a new package version is a rebundle; diagnostics are compiled out; the identity is `local` (providers.json). THE BUNDLE (`bundle`, the prebuilt-shell contract E7's `exponential bundle` fills): one directory `bundle.dir` holding `bundle.files.package` (the package FILE, signed: `{package, author, signature}`; a bare package runs unsigned) and `bundle.files.config` (`runner.json`), at `bundle.locations[<platform>]`; E7 copies the prebuilt runner, writes that directory, the icons and the platform manifest (Info.plist purpose strings, AndroidManifest permissions, macOS entitlements, the web manifest) from the package's capability manifest, then signs. The runner never reads the network for its package. CONFIG (`configCases`, `runnerConfig(json)` -> `{config, issues}`): `config.keys` in order, each a string; `required` ones missing = `missing`; a value failing its `pattern`, `values` or `maxLength` (non-blank) = `invalid`; an absent optional key = its `default` (`network` defaults to `off`: nothing leaves the device unless the bundle says so); extra keys sorted: one of `config.forbidden` = `forbidden` (no update feed, telemetry, crash reports or account can be configured into a runner), else `unknown`; a non-object = `[{key: \"\", code: notAnObject}]`; `config` is null whenever there is an issue. The runner refuses to start on any issue (the `config` failure). STORAGE (`storage`): per app id under the platform's app-data directory: the records in `SqliteRecordStore` (`storage.records`), files in `FsBlobStore` (`storage.files`), the Vault in the platform keystore (Keychain, Android Keystore-sealed preferences, libsecret / Credential Manager, the web: an IndexedDB store), the device uuid of the `local` identity under the Vault key `storage.deviceKey` (created once). The web keeps records in SQLite-WASM on OPFS and falls back to IndexedDB, files in OPFS. THE SHELL (`shellCases`, `runnerPackage(pkg, formFactor)` -> the package the runner's PAINTER installs; the Engine keeps the original package, its signature and grants): a package without `screens` gets one: its first template, titled with the package name. Every screen's template is wrapped in the shell when the package has two or more NAVIGATION screens (no `nav: false`) or declares an `ask` capability scope (`permissions`); otherwise its root sits alone in a full-height Box that scrolls (`overflowY: auto`), so a long single screen scrolls too. The template's `root` becomes `runner_page`; the shell owns every component id starting `runner_` and the data key `runner`. `wide` (desktop, the web at `md` and up, tablets) = a full-height horizontal Stack (align `stretch`) holding a `Sidebar` (`shell.sidebarWidth`, `collapseBelow: never`) whose `sidebar` slot is a Stack (padded `$spacing.sm`) of the package name as a `Heading` (`shell.titleLevel`), the navigation as a List of compact Rows (title, icon, `selected` on the open screen, a press = the event `runner.navigate {screen}`) and, when `permissions`, a Row `copy.permissions` with `shell.permissionsIcon` (event `runner.permissions`); the page sits in a growing Box that scrolls (`overflowY: auto`). `compact` (phones, the web below `md`) = a full-height Stack: the page in a growing Box that scrolls (`overflowY: auto`), a Separator, then a horizontal bar (padded `$spacing.sm`, end-justified) of `Tabs` in a growing column Box (`fill`, value bound to `/runner/screen`, change = `runner.navigate` with the bound value; the template's data gains `runner: {screen}`) and, when `permissions`, an icon-only ghost Button (event `runner.permissions`). The form factor follows the window: a host re-installs and re-applies when it crosses `md`. SURFACES: `app` (the open screen: genUI's `templateMessages` of the wrapped template with `{params}`; the host lays it out at the window's height, so the shell fills the window and the page scrolls inside it, never the window), `consent` (consent.json's ask sheet), `permissions` (consent.json's manage sheet), `toast` (`runnerToast(message)` = one `Toast` of type error: the refused call's reason, a broker reason code read as `copy.refusals[code]` (`toastCases`), any other message as it is, lifecycle.json's `copy.refused` for a refused link; it dismisses itself), and in place of `app` when the bundle cannot load `runnerFailure(kind)` (`failureCases`) = one `EmptyState` (`shell.failureIcon`, `copy.failed.title`, `copy.failed[kind]`; no action): `missing` (no package file), `config` (runner.json has issues), `signature` (the signature does not verify), `invalid` (genUI refuses the package), `busy` (the web only: another tab of the same origin runs the app; one tab holds the instance and its stores at a time, a Web Lock, and a second tab waits on that lock and opens the app when it frees, never on a second store). EVENTS the runner handles itself: `runner.navigate {screen}` = the Engine's `app.navigate`; `runner.permissions` = paint `permissions`; `consent.toggle {scope}` = the grant write through the ConsentUi with the gesture (granted -> revoke, else granted), then repaint `permissions`; `consent.answer {answer}` = the pending call's `answer_consent`, then close `consent`. Every other function call of the app goes to the Engine instance (`records.*`, `app.navigate`, capabilities through the broker); a refused one paints `toast`. VAPP-271: app UI reads a capability call's answer as the result's `structuredContent` (what a package action's `results.<name>` binds); an `isError` result is the call's refusal (`{code: failed, message: <its text>}`, the toast). LIFECYCLE: the platform's window or activity events drive lifecycle.json (launch, foreground, background, terminate, deep links `<config id>://<screen>?<params>`, notification taps); the WindowHost `open` applies the screen to `app`; when a plain launch opens nothing (a package without screens) the runner opens the derived package's first screen.",
|
|
3
|
+
"bundle": {
|
|
4
|
+
"dir": "app",
|
|
5
|
+
"files": {
|
|
6
|
+
"package": "package.app.json",
|
|
7
|
+
"config": "runner.json"
|
|
8
|
+
},
|
|
9
|
+
"locations": {
|
|
10
|
+
"macos": "<name>.app/Contents/Resources/app",
|
|
11
|
+
"windows": "<install dir>/app (beside the .exe)",
|
|
12
|
+
"linux": "<exe dir>/app, else <exe dir>/../share/<config id>/app (AppImage, .deb)",
|
|
13
|
+
"android": "assets/app (the APK's assets)",
|
|
14
|
+
"ios": "<name>.app/app (the bundle's resources)",
|
|
15
|
+
"web": "<origin>/app/ (precached by the service worker)"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"config": {
|
|
19
|
+
"keys": {
|
|
20
|
+
"id": {
|
|
21
|
+
"required": true,
|
|
22
|
+
"pattern": "^[a-zA-Z][a-zA-Z0-9_]*(\\.[a-zA-Z][a-zA-Z0-9_]*)+$"
|
|
23
|
+
},
|
|
24
|
+
"name": {
|
|
25
|
+
"required": true,
|
|
26
|
+
"maxLength": 64
|
|
27
|
+
},
|
|
28
|
+
"version": {
|
|
29
|
+
"required": true,
|
|
30
|
+
"pattern": "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$"
|
|
31
|
+
},
|
|
32
|
+
"network": {
|
|
33
|
+
"values": [
|
|
34
|
+
"off",
|
|
35
|
+
"upstreamsOnly",
|
|
36
|
+
"any"
|
|
37
|
+
],
|
|
38
|
+
"default": "off"
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
"forbidden": [
|
|
42
|
+
"account",
|
|
43
|
+
"analytics",
|
|
44
|
+
"crashReports",
|
|
45
|
+
"diagnostics",
|
|
46
|
+
"feed",
|
|
47
|
+
"server",
|
|
48
|
+
"telemetry",
|
|
49
|
+
"update",
|
|
50
|
+
"updateUrl",
|
|
51
|
+
"updates"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"storage": {
|
|
55
|
+
"records": "records.sqlite",
|
|
56
|
+
"files": "files",
|
|
57
|
+
"deviceKey": "eengine/runner/device"
|
|
58
|
+
},
|
|
59
|
+
"shell": {
|
|
60
|
+
"sidebarWidth": 240,
|
|
61
|
+
"titleLevel": "h3",
|
|
62
|
+
"permissionsIcon": "ui-permission",
|
|
63
|
+
"failureIcon": "ui-error"
|
|
64
|
+
},
|
|
65
|
+
"copy": {
|
|
66
|
+
"permissions": "Permissions",
|
|
67
|
+
"failed": {
|
|
68
|
+
"title": "This app can't open",
|
|
69
|
+
"missing": "Its package is missing from the bundle.",
|
|
70
|
+
"config": "Its runner.json has a problem.",
|
|
71
|
+
"signature": "Its signature doesn't match its author.",
|
|
72
|
+
"invalid": "Its package isn't a valid app.",
|
|
73
|
+
"busy": "It's already open in another tab."
|
|
74
|
+
},
|
|
75
|
+
"refusals": {
|
|
76
|
+
"consentDenied": "You didn't allow that.",
|
|
77
|
+
"consentDismissed": "You didn't allow that.",
|
|
78
|
+
"consentNeeded": "Open the app to allow that.",
|
|
79
|
+
"notDeclared": "This app didn't ask for that.",
|
|
80
|
+
"originNotDeclared": "This app didn't ask to reach that address.",
|
|
81
|
+
"unavailable": "That isn't available on this device.",
|
|
82
|
+
"offline": "This app is offline.",
|
|
83
|
+
"network": "This app can't reach the network."
|
|
84
|
+
}
|
|
85
|
+
},
|
|
86
|
+
"configCases": [
|
|
87
|
+
{
|
|
88
|
+
"name": "the minimal config: network defaults to off",
|
|
89
|
+
"input": {
|
|
90
|
+
"id": "at.acme.album",
|
|
91
|
+
"name": "Album",
|
|
92
|
+
"version": "1.0.0"
|
|
93
|
+
},
|
|
94
|
+
"expected": {
|
|
95
|
+
"config": {
|
|
96
|
+
"id": "at.acme.album",
|
|
97
|
+
"name": "Album",
|
|
98
|
+
"version": "1.0.0",
|
|
99
|
+
"network": "off"
|
|
100
|
+
},
|
|
101
|
+
"issues": []
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "every key",
|
|
106
|
+
"input": {
|
|
107
|
+
"id": "at.acme.album",
|
|
108
|
+
"name": "Album",
|
|
109
|
+
"version": "2.10.3",
|
|
110
|
+
"network": "upstreamsOnly"
|
|
111
|
+
},
|
|
112
|
+
"expected": {
|
|
113
|
+
"config": {
|
|
114
|
+
"id": "at.acme.album",
|
|
115
|
+
"name": "Album",
|
|
116
|
+
"version": "2.10.3",
|
|
117
|
+
"network": "upstreamsOnly"
|
|
118
|
+
},
|
|
119
|
+
"issues": []
|
|
120
|
+
}
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
"name": "missing keys in key order",
|
|
124
|
+
"input": {
|
|
125
|
+
"network": "any"
|
|
126
|
+
},
|
|
127
|
+
"expected": {
|
|
128
|
+
"config": null,
|
|
129
|
+
"issues": [
|
|
130
|
+
{
|
|
131
|
+
"key": "id",
|
|
132
|
+
"code": "missing"
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"key": "name",
|
|
136
|
+
"code": "missing"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"key": "version",
|
|
140
|
+
"code": "missing"
|
|
141
|
+
}
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"name": "invalid values",
|
|
147
|
+
"input": {
|
|
148
|
+
"id": "album",
|
|
149
|
+
"name": " ",
|
|
150
|
+
"version": "1.0",
|
|
151
|
+
"network": "everything"
|
|
152
|
+
},
|
|
153
|
+
"expected": {
|
|
154
|
+
"config": null,
|
|
155
|
+
"issues": [
|
|
156
|
+
{
|
|
157
|
+
"key": "id",
|
|
158
|
+
"code": "invalid"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"key": "name",
|
|
162
|
+
"code": "invalid"
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"key": "version",
|
|
166
|
+
"code": "invalid"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
"key": "network",
|
|
170
|
+
"code": "invalid"
|
|
171
|
+
}
|
|
172
|
+
]
|
|
173
|
+
}
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
"name": "an id segment starting with a digit",
|
|
177
|
+
"input": {
|
|
178
|
+
"id": "at.1acme",
|
|
179
|
+
"name": "Album",
|
|
180
|
+
"version": "1.0.0"
|
|
181
|
+
},
|
|
182
|
+
"expected": {
|
|
183
|
+
"config": null,
|
|
184
|
+
"issues": [
|
|
185
|
+
{
|
|
186
|
+
"key": "id",
|
|
187
|
+
"code": "invalid"
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"name": "a name past 64 characters",
|
|
194
|
+
"input": {
|
|
195
|
+
"id": "at.acme.album",
|
|
196
|
+
"name": "AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA",
|
|
197
|
+
"version": "1.0.0"
|
|
198
|
+
},
|
|
199
|
+
"expected": {
|
|
200
|
+
"config": null,
|
|
201
|
+
"issues": [
|
|
202
|
+
{
|
|
203
|
+
"key": "name",
|
|
204
|
+
"code": "invalid"
|
|
205
|
+
}
|
|
206
|
+
]
|
|
207
|
+
}
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
"name": "no update feed, telemetry or account; other keys unknown (sorted)",
|
|
211
|
+
"input": {
|
|
212
|
+
"id": "at.acme.album",
|
|
213
|
+
"name": "Album",
|
|
214
|
+
"version": "1.0.0",
|
|
215
|
+
"updates": "https://x",
|
|
216
|
+
"telemetry": true,
|
|
217
|
+
"theme": "dark",
|
|
218
|
+
"account": "a@b"
|
|
219
|
+
},
|
|
220
|
+
"expected": {
|
|
221
|
+
"config": null,
|
|
222
|
+
"issues": [
|
|
223
|
+
{
|
|
224
|
+
"key": "account",
|
|
225
|
+
"code": "forbidden"
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
"key": "telemetry",
|
|
229
|
+
"code": "forbidden"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"key": "theme",
|
|
233
|
+
"code": "unknown"
|
|
234
|
+
},
|
|
235
|
+
{
|
|
236
|
+
"key": "updates",
|
|
237
|
+
"code": "forbidden"
|
|
238
|
+
}
|
|
239
|
+
]
|
|
240
|
+
}
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "a version with a leading zero",
|
|
244
|
+
"input": {
|
|
245
|
+
"id": "at.acme.album",
|
|
246
|
+
"name": "Album",
|
|
247
|
+
"version": "01.0.0"
|
|
248
|
+
},
|
|
249
|
+
"expected": {
|
|
250
|
+
"config": null,
|
|
251
|
+
"issues": [
|
|
252
|
+
{
|
|
253
|
+
"key": "version",
|
|
254
|
+
"code": "invalid"
|
|
255
|
+
}
|
|
256
|
+
]
|
|
257
|
+
}
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
"name": "not an object",
|
|
261
|
+
"input": [
|
|
262
|
+
"at.acme.album"
|
|
263
|
+
],
|
|
264
|
+
"expected": {
|
|
265
|
+
"config": null,
|
|
266
|
+
"issues": [
|
|
267
|
+
{
|
|
268
|
+
"key": "",
|
|
269
|
+
"code": "notAnObject"
|
|
270
|
+
}
|
|
271
|
+
]
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
],
|
|
275
|
+
"shellCases": [
|
|
276
|
+
{
|
|
277
|
+
"name": "two navigation screens, wide: the Sidebar",
|
|
278
|
+
"package": {
|
|
279
|
+
"formatVersion": 6,
|
|
280
|
+
"catalogId": "https://ui.exponential.at/catalogs/core/v1",
|
|
281
|
+
"functions": [
|
|
282
|
+
"records_*"
|
|
283
|
+
],
|
|
284
|
+
"records": {
|
|
285
|
+
"entry": {
|
|
286
|
+
"schema": {
|
|
287
|
+
"type": "object",
|
|
288
|
+
"properties": {
|
|
289
|
+
"text": {
|
|
290
|
+
"type": "string"
|
|
291
|
+
}
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
},
|
|
296
|
+
"id": "acme.album",
|
|
297
|
+
"name": "Album",
|
|
298
|
+
"version": "1.0.0",
|
|
299
|
+
"templates": {
|
|
300
|
+
"albums": {
|
|
301
|
+
"data": {
|
|
302
|
+
"note": ""
|
|
303
|
+
},
|
|
304
|
+
"bindings": [
|
|
305
|
+
{
|
|
306
|
+
"path": "/rows",
|
|
307
|
+
"source": "records:entry?limit=50"
|
|
308
|
+
}
|
|
309
|
+
],
|
|
310
|
+
"components": [
|
|
311
|
+
{
|
|
312
|
+
"id": "root",
|
|
313
|
+
"component": "Page",
|
|
314
|
+
"title": "Albums",
|
|
315
|
+
"children": [
|
|
316
|
+
"body"
|
|
317
|
+
]
|
|
318
|
+
},
|
|
319
|
+
{
|
|
320
|
+
"id": "body",
|
|
321
|
+
"component": "Text",
|
|
322
|
+
"text": "Albums"
|
|
323
|
+
}
|
|
324
|
+
]
|
|
325
|
+
},
|
|
326
|
+
"pages": {
|
|
327
|
+
"data": {
|
|
328
|
+
"note": ""
|
|
329
|
+
},
|
|
330
|
+
"bindings": [
|
|
331
|
+
{
|
|
332
|
+
"path": "/rows",
|
|
333
|
+
"source": "records:entry?limit=50"
|
|
334
|
+
}
|
|
335
|
+
],
|
|
336
|
+
"components": [
|
|
337
|
+
{
|
|
338
|
+
"id": "root",
|
|
339
|
+
"component": "Page",
|
|
340
|
+
"title": "Pages",
|
|
341
|
+
"children": [
|
|
342
|
+
"body"
|
|
343
|
+
]
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
"id": "body",
|
|
347
|
+
"component": "Text",
|
|
348
|
+
"text": "Pages"
|
|
349
|
+
}
|
|
350
|
+
]
|
|
351
|
+
},
|
|
352
|
+
"page": {
|
|
353
|
+
"data": {
|
|
354
|
+
"note": ""
|
|
355
|
+
},
|
|
356
|
+
"bindings": [
|
|
357
|
+
{
|
|
358
|
+
"path": "/rows",
|
|
359
|
+
"source": "records:entry?limit=50"
|
|
360
|
+
}
|
|
361
|
+
],
|
|
362
|
+
"components": [
|
|
363
|
+
{
|
|
364
|
+
"id": "root",
|
|
365
|
+
"component": "Page",
|
|
366
|
+
"title": "Page",
|
|
367
|
+
"children": [
|
|
368
|
+
"body"
|
|
369
|
+
]
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"id": "body",
|
|
373
|
+
"component": "Text",
|
|
374
|
+
"text": "Page"
|
|
375
|
+
}
|
|
376
|
+
]
|
|
377
|
+
}
|
|
378
|
+
},
|
|
379
|
+
"screens": [
|
|
380
|
+
{
|
|
381
|
+
"template": "albums",
|
|
382
|
+
"title": "Albums",
|
|
383
|
+
"icon": "image"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"template": "pages",
|
|
387
|
+
"title": "Pages"
|
|
388
|
+
},
|
|
389
|
+
{
|
|
390
|
+
"template": "page",
|
|
391
|
+
"title": "Page",
|
|
392
|
+
"nav": false
|
|
393
|
+
}
|
|
394
|
+
]
|
|
395
|
+
},
|
|
396
|
+
"formFactor": "wide",
|
|
397
|
+
"expected": {
|
|
398
|
+
"formatVersion": 6,
|
|
399
|
+
"catalogId": "https://ui.exponential.at/catalogs/core/v1",
|
|
400
|
+
"functions": [
|
|
401
|
+
"records_*"
|
|
402
|
+
],
|
|
403
|
+
"records": {
|
|
404
|
+
"entry": {
|
|
405
|
+
"schema": {
|
|
406
|
+
"type": "object",
|
|
407
|
+
"properties": {
|
|
408
|
+
"text": {
|
|
409
|
+
"type": "string"
|
|
410
|
+
}
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
},
|
|
415
|
+
"id": "acme.album",
|
|
416
|
+
"name": "Album",
|
|
417
|
+
"version": "1.0.0",
|
|
418
|
+
"templates": {
|
|
419
|
+
"albums": {
|
|
420
|
+
"data": {
|
|
421
|
+
"note": ""
|
|
422
|
+
},
|
|
423
|
+
"bindings": [
|
|
424
|
+
{
|
|
425
|
+
"path": "/rows",
|
|
426
|
+
"source": "records:entry?limit=50"
|
|
427
|
+
}
|
|
428
|
+
],
|
|
429
|
+
"components": [
|
|
430
|
+
{
|
|
431
|
+
"id": "root",
|
|
432
|
+
"component": "Stack",
|
|
433
|
+
"direction": "horizontal",
|
|
434
|
+
"gap": "none",
|
|
435
|
+
"align": "stretch",
|
|
436
|
+
"style": {
|
|
437
|
+
"height": "100%"
|
|
438
|
+
},
|
|
439
|
+
"children": [
|
|
440
|
+
"runner_sidebar"
|
|
441
|
+
]
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"id": "runner_sidebar",
|
|
445
|
+
"component": "Sidebar",
|
|
446
|
+
"width": 240,
|
|
447
|
+
"collapseBelow": "never",
|
|
448
|
+
"children": [
|
|
449
|
+
"runner_scroll"
|
|
450
|
+
],
|
|
451
|
+
"slots": {
|
|
452
|
+
"sidebar": "runner_nav"
|
|
453
|
+
}
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
"id": "runner_scroll",
|
|
457
|
+
"component": "Box",
|
|
458
|
+
"style": {
|
|
459
|
+
"display": "flex",
|
|
460
|
+
"flexDirection": "column",
|
|
461
|
+
"flexGrow": 1,
|
|
462
|
+
"minHeight": 0,
|
|
463
|
+
"overflowY": "auto"
|
|
464
|
+
},
|
|
465
|
+
"children": [
|
|
466
|
+
"runner_page"
|
|
467
|
+
]
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"id": "runner_nav",
|
|
471
|
+
"component": "Stack",
|
|
472
|
+
"gap": "sm",
|
|
473
|
+
"style": {
|
|
474
|
+
"padding": "$spacing.sm"
|
|
475
|
+
},
|
|
476
|
+
"children": [
|
|
477
|
+
"runner_title",
|
|
478
|
+
"runner_screens"
|
|
479
|
+
]
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"id": "runner_title",
|
|
483
|
+
"component": "Heading",
|
|
484
|
+
"text": "Album",
|
|
485
|
+
"level": "h3"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"id": "runner_screens",
|
|
489
|
+
"component": "List",
|
|
490
|
+
"children": [
|
|
491
|
+
"runner_screen_0",
|
|
492
|
+
"runner_screen_1"
|
|
493
|
+
]
|
|
494
|
+
},
|
|
495
|
+
{
|
|
496
|
+
"id": "runner_screen_0",
|
|
497
|
+
"component": "Row",
|
|
498
|
+
"title": "Albums",
|
|
499
|
+
"icon": "image",
|
|
500
|
+
"selected": true,
|
|
501
|
+
"density": "compact",
|
|
502
|
+
"pressable": true,
|
|
503
|
+
"on": {
|
|
504
|
+
"press": {
|
|
505
|
+
"event": {
|
|
506
|
+
"name": "runner.navigate",
|
|
507
|
+
"context": {
|
|
508
|
+
"screen": "albums"
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
{
|
|
515
|
+
"id": "runner_screen_1",
|
|
516
|
+
"component": "Row",
|
|
517
|
+
"title": "Pages",
|
|
518
|
+
"selected": false,
|
|
519
|
+
"density": "compact",
|
|
520
|
+
"pressable": true,
|
|
521
|
+
"on": {
|
|
522
|
+
"press": {
|
|
523
|
+
"event": {
|
|
524
|
+
"name": "runner.navigate",
|
|
525
|
+
"context": {
|
|
526
|
+
"screen": "pages"
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
}
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
"id": "runner_page",
|
|
534
|
+
"component": "Page",
|
|
535
|
+
"title": "Albums",
|
|
536
|
+
"children": [
|
|
537
|
+
"body"
|
|
538
|
+
]
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
"id": "body",
|
|
542
|
+
"component": "Text",
|
|
543
|
+
"text": "Albums"
|
|
544
|
+
}
|
|
545
|
+
]
|
|
546
|
+
},
|
|
547
|
+
"pages": {
|
|
548
|
+
"data": {
|
|
549
|
+
"note": ""
|
|
550
|
+
},
|
|
551
|
+
"bindings": [
|
|
552
|
+
{
|
|
553
|
+
"path": "/rows",
|
|
554
|
+
"source": "records:entry?limit=50"
|
|
555
|
+
}
|
|
556
|
+
],
|
|
557
|
+
"components": [
|
|
558
|
+
{
|
|
559
|
+
"id": "root",
|
|
560
|
+
"component": "Stack",
|
|
561
|
+
"direction": "horizontal",
|
|
562
|
+
"gap": "none",
|
|
563
|
+
"align": "stretch",
|
|
564
|
+
"style": {
|
|
565
|
+
"height": "100%"
|
|
566
|
+
},
|
|
567
|
+
"children": [
|
|
568
|
+
"runner_sidebar"
|
|
569
|
+
]
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"id": "runner_sidebar",
|
|
573
|
+
"component": "Sidebar",
|
|
574
|
+
"width": 240,
|
|
575
|
+
"collapseBelow": "never",
|
|
576
|
+
"children": [
|
|
577
|
+
"runner_scroll"
|
|
578
|
+
],
|
|
579
|
+
"slots": {
|
|
580
|
+
"sidebar": "runner_nav"
|
|
581
|
+
}
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"id": "runner_scroll",
|
|
585
|
+
"component": "Box",
|
|
586
|
+
"style": {
|
|
587
|
+
"display": "flex",
|
|
588
|
+
"flexDirection": "column",
|
|
589
|
+
"flexGrow": 1,
|
|
590
|
+
"minHeight": 0,
|
|
591
|
+
"overflowY": "auto"
|
|
592
|
+
},
|
|
593
|
+
"children": [
|
|
594
|
+
"runner_page"
|
|
595
|
+
]
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
"id": "runner_nav",
|
|
599
|
+
"component": "Stack",
|
|
600
|
+
"gap": "sm",
|
|
601
|
+
"style": {
|
|
602
|
+
"padding": "$spacing.sm"
|
|
603
|
+
},
|
|
604
|
+
"children": [
|
|
605
|
+
"runner_title",
|
|
606
|
+
"runner_screens"
|
|
607
|
+
]
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"id": "runner_title",
|
|
611
|
+
"component": "Heading",
|
|
612
|
+
"text": "Album",
|
|
613
|
+
"level": "h3"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"id": "runner_screens",
|
|
617
|
+
"component": "List",
|
|
618
|
+
"children": [
|
|
619
|
+
"runner_screen_0",
|
|
620
|
+
"runner_screen_1"
|
|
621
|
+
]
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
"id": "runner_screen_0",
|
|
625
|
+
"component": "Row",
|
|
626
|
+
"title": "Albums",
|
|
627
|
+
"icon": "image",
|
|
628
|
+
"selected": false,
|
|
629
|
+
"density": "compact",
|
|
630
|
+
"pressable": true,
|
|
631
|
+
"on": {
|
|
632
|
+
"press": {
|
|
633
|
+
"event": {
|
|
634
|
+
"name": "runner.navigate",
|
|
635
|
+
"context": {
|
|
636
|
+
"screen": "albums"
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
}
|
|
641
|
+
},
|
|
642
|
+
{
|
|
643
|
+
"id": "runner_screen_1",
|
|
644
|
+
"component": "Row",
|
|
645
|
+
"title": "Pages",
|
|
646
|
+
"selected": true,
|
|
647
|
+
"density": "compact",
|
|
648
|
+
"pressable": true,
|
|
649
|
+
"on": {
|
|
650
|
+
"press": {
|
|
651
|
+
"event": {
|
|
652
|
+
"name": "runner.navigate",
|
|
653
|
+
"context": {
|
|
654
|
+
"screen": "pages"
|
|
655
|
+
}
|
|
656
|
+
}
|
|
657
|
+
}
|
|
658
|
+
}
|
|
659
|
+
},
|
|
660
|
+
{
|
|
661
|
+
"id": "runner_page",
|
|
662
|
+
"component": "Page",
|
|
663
|
+
"title": "Pages",
|
|
664
|
+
"children": [
|
|
665
|
+
"body"
|
|
666
|
+
]
|
|
667
|
+
},
|
|
668
|
+
{
|
|
669
|
+
"id": "body",
|
|
670
|
+
"component": "Text",
|
|
671
|
+
"text": "Pages"
|
|
672
|
+
}
|
|
673
|
+
]
|
|
674
|
+
},
|
|
675
|
+
"page": {
|
|
676
|
+
"data": {
|
|
677
|
+
"note": ""
|
|
678
|
+
},
|
|
679
|
+
"bindings": [
|
|
680
|
+
{
|
|
681
|
+
"path": "/rows",
|
|
682
|
+
"source": "records:entry?limit=50"
|
|
683
|
+
}
|
|
684
|
+
],
|
|
685
|
+
"components": [
|
|
686
|
+
{
|
|
687
|
+
"id": "root",
|
|
688
|
+
"component": "Stack",
|
|
689
|
+
"direction": "horizontal",
|
|
690
|
+
"gap": "none",
|
|
691
|
+
"align": "stretch",
|
|
692
|
+
"style": {
|
|
693
|
+
"height": "100%"
|
|
694
|
+
},
|
|
695
|
+
"children": [
|
|
696
|
+
"runner_sidebar"
|
|
697
|
+
]
|
|
698
|
+
},
|
|
699
|
+
{
|
|
700
|
+
"id": "runner_sidebar",
|
|
701
|
+
"component": "Sidebar",
|
|
702
|
+
"width": 240,
|
|
703
|
+
"collapseBelow": "never",
|
|
704
|
+
"children": [
|
|
705
|
+
"runner_scroll"
|
|
706
|
+
],
|
|
707
|
+
"slots": {
|
|
708
|
+
"sidebar": "runner_nav"
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"id": "runner_scroll",
|
|
713
|
+
"component": "Box",
|
|
714
|
+
"style": {
|
|
715
|
+
"display": "flex",
|
|
716
|
+
"flexDirection": "column",
|
|
717
|
+
"flexGrow": 1,
|
|
718
|
+
"minHeight": 0,
|
|
719
|
+
"overflowY": "auto"
|
|
720
|
+
},
|
|
721
|
+
"children": [
|
|
722
|
+
"runner_page"
|
|
723
|
+
]
|
|
724
|
+
},
|
|
725
|
+
{
|
|
726
|
+
"id": "runner_nav",
|
|
727
|
+
"component": "Stack",
|
|
728
|
+
"gap": "sm",
|
|
729
|
+
"style": {
|
|
730
|
+
"padding": "$spacing.sm"
|
|
731
|
+
},
|
|
732
|
+
"children": [
|
|
733
|
+
"runner_title",
|
|
734
|
+
"runner_screens"
|
|
735
|
+
]
|
|
736
|
+
},
|
|
737
|
+
{
|
|
738
|
+
"id": "runner_title",
|
|
739
|
+
"component": "Heading",
|
|
740
|
+
"text": "Album",
|
|
741
|
+
"level": "h3"
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
"id": "runner_screens",
|
|
745
|
+
"component": "List",
|
|
746
|
+
"children": [
|
|
747
|
+
"runner_screen_0",
|
|
748
|
+
"runner_screen_1"
|
|
749
|
+
]
|
|
750
|
+
},
|
|
751
|
+
{
|
|
752
|
+
"id": "runner_screen_0",
|
|
753
|
+
"component": "Row",
|
|
754
|
+
"title": "Albums",
|
|
755
|
+
"icon": "image",
|
|
756
|
+
"selected": false,
|
|
757
|
+
"density": "compact",
|
|
758
|
+
"pressable": true,
|
|
759
|
+
"on": {
|
|
760
|
+
"press": {
|
|
761
|
+
"event": {
|
|
762
|
+
"name": "runner.navigate",
|
|
763
|
+
"context": {
|
|
764
|
+
"screen": "albums"
|
|
765
|
+
}
|
|
766
|
+
}
|
|
767
|
+
}
|
|
768
|
+
}
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
"id": "runner_screen_1",
|
|
772
|
+
"component": "Row",
|
|
773
|
+
"title": "Pages",
|
|
774
|
+
"selected": false,
|
|
775
|
+
"density": "compact",
|
|
776
|
+
"pressable": true,
|
|
777
|
+
"on": {
|
|
778
|
+
"press": {
|
|
779
|
+
"event": {
|
|
780
|
+
"name": "runner.navigate",
|
|
781
|
+
"context": {
|
|
782
|
+
"screen": "pages"
|
|
783
|
+
}
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
}
|
|
787
|
+
},
|
|
788
|
+
{
|
|
789
|
+
"id": "runner_page",
|
|
790
|
+
"component": "Page",
|
|
791
|
+
"title": "Page",
|
|
792
|
+
"children": [
|
|
793
|
+
"body"
|
|
794
|
+
]
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
"id": "body",
|
|
798
|
+
"component": "Text",
|
|
799
|
+
"text": "Page"
|
|
800
|
+
}
|
|
801
|
+
]
|
|
802
|
+
}
|
|
803
|
+
},
|
|
804
|
+
"screens": [
|
|
805
|
+
{
|
|
806
|
+
"template": "albums",
|
|
807
|
+
"title": "Albums",
|
|
808
|
+
"icon": "image"
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
"template": "pages",
|
|
812
|
+
"title": "Pages"
|
|
813
|
+
},
|
|
814
|
+
{
|
|
815
|
+
"template": "page",
|
|
816
|
+
"title": "Page",
|
|
817
|
+
"nav": false
|
|
818
|
+
}
|
|
819
|
+
]
|
|
820
|
+
}
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
"name": "two navigation screens, compact: the Tabs bar",
|
|
824
|
+
"package": {
|
|
825
|
+
"formatVersion": 6,
|
|
826
|
+
"catalogId": "https://ui.exponential.at/catalogs/core/v1",
|
|
827
|
+
"functions": [
|
|
828
|
+
"records_*"
|
|
829
|
+
],
|
|
830
|
+
"records": {
|
|
831
|
+
"entry": {
|
|
832
|
+
"schema": {
|
|
833
|
+
"type": "object",
|
|
834
|
+
"properties": {
|
|
835
|
+
"text": {
|
|
836
|
+
"type": "string"
|
|
837
|
+
}
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
}
|
|
841
|
+
},
|
|
842
|
+
"id": "acme.album",
|
|
843
|
+
"name": "Album",
|
|
844
|
+
"version": "1.0.0",
|
|
845
|
+
"templates": {
|
|
846
|
+
"albums": {
|
|
847
|
+
"data": {
|
|
848
|
+
"note": ""
|
|
849
|
+
},
|
|
850
|
+
"bindings": [
|
|
851
|
+
{
|
|
852
|
+
"path": "/rows",
|
|
853
|
+
"source": "records:entry?limit=50"
|
|
854
|
+
}
|
|
855
|
+
],
|
|
856
|
+
"components": [
|
|
857
|
+
{
|
|
858
|
+
"id": "root",
|
|
859
|
+
"component": "Page",
|
|
860
|
+
"title": "Albums",
|
|
861
|
+
"children": [
|
|
862
|
+
"body"
|
|
863
|
+
]
|
|
864
|
+
},
|
|
865
|
+
{
|
|
866
|
+
"id": "body",
|
|
867
|
+
"component": "Text",
|
|
868
|
+
"text": "Albums"
|
|
869
|
+
}
|
|
870
|
+
]
|
|
871
|
+
},
|
|
872
|
+
"pages": {
|
|
873
|
+
"data": {
|
|
874
|
+
"note": ""
|
|
875
|
+
},
|
|
876
|
+
"bindings": [
|
|
877
|
+
{
|
|
878
|
+
"path": "/rows",
|
|
879
|
+
"source": "records:entry?limit=50"
|
|
880
|
+
}
|
|
881
|
+
],
|
|
882
|
+
"components": [
|
|
883
|
+
{
|
|
884
|
+
"id": "root",
|
|
885
|
+
"component": "Page",
|
|
886
|
+
"title": "Pages",
|
|
887
|
+
"children": [
|
|
888
|
+
"body"
|
|
889
|
+
]
|
|
890
|
+
},
|
|
891
|
+
{
|
|
892
|
+
"id": "body",
|
|
893
|
+
"component": "Text",
|
|
894
|
+
"text": "Pages"
|
|
895
|
+
}
|
|
896
|
+
]
|
|
897
|
+
},
|
|
898
|
+
"page": {
|
|
899
|
+
"data": {
|
|
900
|
+
"note": ""
|
|
901
|
+
},
|
|
902
|
+
"bindings": [
|
|
903
|
+
{
|
|
904
|
+
"path": "/rows",
|
|
905
|
+
"source": "records:entry?limit=50"
|
|
906
|
+
}
|
|
907
|
+
],
|
|
908
|
+
"components": [
|
|
909
|
+
{
|
|
910
|
+
"id": "root",
|
|
911
|
+
"component": "Page",
|
|
912
|
+
"title": "Page",
|
|
913
|
+
"children": [
|
|
914
|
+
"body"
|
|
915
|
+
]
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
"id": "body",
|
|
919
|
+
"component": "Text",
|
|
920
|
+
"text": "Page"
|
|
921
|
+
}
|
|
922
|
+
]
|
|
923
|
+
}
|
|
924
|
+
},
|
|
925
|
+
"screens": [
|
|
926
|
+
{
|
|
927
|
+
"template": "albums",
|
|
928
|
+
"title": "Albums",
|
|
929
|
+
"icon": "image"
|
|
930
|
+
},
|
|
931
|
+
{
|
|
932
|
+
"template": "pages",
|
|
933
|
+
"title": "Pages"
|
|
934
|
+
},
|
|
935
|
+
{
|
|
936
|
+
"template": "page",
|
|
937
|
+
"title": "Page",
|
|
938
|
+
"nav": false
|
|
939
|
+
}
|
|
940
|
+
]
|
|
941
|
+
},
|
|
942
|
+
"formFactor": "compact",
|
|
943
|
+
"expected": {
|
|
944
|
+
"formatVersion": 6,
|
|
945
|
+
"catalogId": "https://ui.exponential.at/catalogs/core/v1",
|
|
946
|
+
"functions": [
|
|
947
|
+
"records_*"
|
|
948
|
+
],
|
|
949
|
+
"records": {
|
|
950
|
+
"entry": {
|
|
951
|
+
"schema": {
|
|
952
|
+
"type": "object",
|
|
953
|
+
"properties": {
|
|
954
|
+
"text": {
|
|
955
|
+
"type": "string"
|
|
956
|
+
}
|
|
957
|
+
}
|
|
958
|
+
}
|
|
959
|
+
}
|
|
960
|
+
},
|
|
961
|
+
"id": "acme.album",
|
|
962
|
+
"name": "Album",
|
|
963
|
+
"version": "1.0.0",
|
|
964
|
+
"templates": {
|
|
965
|
+
"albums": {
|
|
966
|
+
"data": {
|
|
967
|
+
"note": "",
|
|
968
|
+
"runner": {
|
|
969
|
+
"screen": "albums"
|
|
970
|
+
}
|
|
971
|
+
},
|
|
972
|
+
"bindings": [
|
|
973
|
+
{
|
|
974
|
+
"path": "/rows",
|
|
975
|
+
"source": "records:entry?limit=50"
|
|
976
|
+
}
|
|
977
|
+
],
|
|
978
|
+
"components": [
|
|
979
|
+
{
|
|
980
|
+
"id": "root",
|
|
981
|
+
"component": "Stack",
|
|
982
|
+
"gap": "none",
|
|
983
|
+
"style": {
|
|
984
|
+
"height": "100%"
|
|
985
|
+
},
|
|
986
|
+
"children": [
|
|
987
|
+
"runner_main",
|
|
988
|
+
"runner_separator",
|
|
989
|
+
"runner_bar"
|
|
990
|
+
]
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
"id": "runner_main",
|
|
994
|
+
"component": "Box",
|
|
995
|
+
"style": {
|
|
996
|
+
"display": "flex",
|
|
997
|
+
"flexDirection": "column",
|
|
998
|
+
"flexGrow": 1,
|
|
999
|
+
"minHeight": 0,
|
|
1000
|
+
"overflowY": "auto"
|
|
1001
|
+
},
|
|
1002
|
+
"children": [
|
|
1003
|
+
"runner_page"
|
|
1004
|
+
]
|
|
1005
|
+
},
|
|
1006
|
+
{
|
|
1007
|
+
"id": "runner_separator",
|
|
1008
|
+
"component": "Separator"
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
"id": "runner_bar",
|
|
1012
|
+
"component": "Stack",
|
|
1013
|
+
"direction": "horizontal",
|
|
1014
|
+
"gap": "sm",
|
|
1015
|
+
"align": "center",
|
|
1016
|
+
"justify": "end",
|
|
1017
|
+
"style": {
|
|
1018
|
+
"padding": "$spacing.sm"
|
|
1019
|
+
},
|
|
1020
|
+
"children": [
|
|
1021
|
+
"runner_tabs_box"
|
|
1022
|
+
]
|
|
1023
|
+
},
|
|
1024
|
+
{
|
|
1025
|
+
"id": "runner_tabs_box",
|
|
1026
|
+
"component": "Box",
|
|
1027
|
+
"style": {
|
|
1028
|
+
"display": "flex",
|
|
1029
|
+
"flexDirection": "column",
|
|
1030
|
+
"flexGrow": 1,
|
|
1031
|
+
"minWidth": 0
|
|
1032
|
+
},
|
|
1033
|
+
"children": [
|
|
1034
|
+
"runner_tabs"
|
|
1035
|
+
]
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
"id": "runner_tabs",
|
|
1039
|
+
"component": "Tabs",
|
|
1040
|
+
"tabs": [
|
|
1041
|
+
{
|
|
1042
|
+
"label": "Albums",
|
|
1043
|
+
"value": "albums",
|
|
1044
|
+
"icon": "image"
|
|
1045
|
+
},
|
|
1046
|
+
{
|
|
1047
|
+
"label": "Pages",
|
|
1048
|
+
"value": "pages"
|
|
1049
|
+
}
|
|
1050
|
+
],
|
|
1051
|
+
"value": {
|
|
1052
|
+
"@path": "/runner/screen"
|
|
1053
|
+
},
|
|
1054
|
+
"fill": true,
|
|
1055
|
+
"on": {
|
|
1056
|
+
"change": {
|
|
1057
|
+
"event": {
|
|
1058
|
+
"name": "runner.navigate",
|
|
1059
|
+
"context": {
|
|
1060
|
+
"screen": {
|
|
1061
|
+
"@path": "/runner/screen"
|
|
1062
|
+
}
|
|
1063
|
+
}
|
|
1064
|
+
}
|
|
1065
|
+
}
|
|
1066
|
+
}
|
|
1067
|
+
},
|
|
1068
|
+
{
|
|
1069
|
+
"id": "runner_page",
|
|
1070
|
+
"component": "Page",
|
|
1071
|
+
"title": "Albums",
|
|
1072
|
+
"children": [
|
|
1073
|
+
"body"
|
|
1074
|
+
]
|
|
1075
|
+
},
|
|
1076
|
+
{
|
|
1077
|
+
"id": "body",
|
|
1078
|
+
"component": "Text",
|
|
1079
|
+
"text": "Albums"
|
|
1080
|
+
}
|
|
1081
|
+
]
|
|
1082
|
+
},
|
|
1083
|
+
"pages": {
|
|
1084
|
+
"data": {
|
|
1085
|
+
"note": "",
|
|
1086
|
+
"runner": {
|
|
1087
|
+
"screen": "pages"
|
|
1088
|
+
}
|
|
1089
|
+
},
|
|
1090
|
+
"bindings": [
|
|
1091
|
+
{
|
|
1092
|
+
"path": "/rows",
|
|
1093
|
+
"source": "records:entry?limit=50"
|
|
1094
|
+
}
|
|
1095
|
+
],
|
|
1096
|
+
"components": [
|
|
1097
|
+
{
|
|
1098
|
+
"id": "root",
|
|
1099
|
+
"component": "Stack",
|
|
1100
|
+
"gap": "none",
|
|
1101
|
+
"style": {
|
|
1102
|
+
"height": "100%"
|
|
1103
|
+
},
|
|
1104
|
+
"children": [
|
|
1105
|
+
"runner_main",
|
|
1106
|
+
"runner_separator",
|
|
1107
|
+
"runner_bar"
|
|
1108
|
+
]
|
|
1109
|
+
},
|
|
1110
|
+
{
|
|
1111
|
+
"id": "runner_main",
|
|
1112
|
+
"component": "Box",
|
|
1113
|
+
"style": {
|
|
1114
|
+
"display": "flex",
|
|
1115
|
+
"flexDirection": "column",
|
|
1116
|
+
"flexGrow": 1,
|
|
1117
|
+
"minHeight": 0,
|
|
1118
|
+
"overflowY": "auto"
|
|
1119
|
+
},
|
|
1120
|
+
"children": [
|
|
1121
|
+
"runner_page"
|
|
1122
|
+
]
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
"id": "runner_separator",
|
|
1126
|
+
"component": "Separator"
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
"id": "runner_bar",
|
|
1130
|
+
"component": "Stack",
|
|
1131
|
+
"direction": "horizontal",
|
|
1132
|
+
"gap": "sm",
|
|
1133
|
+
"align": "center",
|
|
1134
|
+
"justify": "end",
|
|
1135
|
+
"style": {
|
|
1136
|
+
"padding": "$spacing.sm"
|
|
1137
|
+
},
|
|
1138
|
+
"children": [
|
|
1139
|
+
"runner_tabs_box"
|
|
1140
|
+
]
|
|
1141
|
+
},
|
|
1142
|
+
{
|
|
1143
|
+
"id": "runner_tabs_box",
|
|
1144
|
+
"component": "Box",
|
|
1145
|
+
"style": {
|
|
1146
|
+
"display": "flex",
|
|
1147
|
+
"flexDirection": "column",
|
|
1148
|
+
"flexGrow": 1,
|
|
1149
|
+
"minWidth": 0
|
|
1150
|
+
},
|
|
1151
|
+
"children": [
|
|
1152
|
+
"runner_tabs"
|
|
1153
|
+
]
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
"id": "runner_tabs",
|
|
1157
|
+
"component": "Tabs",
|
|
1158
|
+
"tabs": [
|
|
1159
|
+
{
|
|
1160
|
+
"label": "Albums",
|
|
1161
|
+
"value": "albums",
|
|
1162
|
+
"icon": "image"
|
|
1163
|
+
},
|
|
1164
|
+
{
|
|
1165
|
+
"label": "Pages",
|
|
1166
|
+
"value": "pages"
|
|
1167
|
+
}
|
|
1168
|
+
],
|
|
1169
|
+
"value": {
|
|
1170
|
+
"@path": "/runner/screen"
|
|
1171
|
+
},
|
|
1172
|
+
"fill": true,
|
|
1173
|
+
"on": {
|
|
1174
|
+
"change": {
|
|
1175
|
+
"event": {
|
|
1176
|
+
"name": "runner.navigate",
|
|
1177
|
+
"context": {
|
|
1178
|
+
"screen": {
|
|
1179
|
+
"@path": "/runner/screen"
|
|
1180
|
+
}
|
|
1181
|
+
}
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
"id": "runner_page",
|
|
1188
|
+
"component": "Page",
|
|
1189
|
+
"title": "Pages",
|
|
1190
|
+
"children": [
|
|
1191
|
+
"body"
|
|
1192
|
+
]
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
"id": "body",
|
|
1196
|
+
"component": "Text",
|
|
1197
|
+
"text": "Pages"
|
|
1198
|
+
}
|
|
1199
|
+
]
|
|
1200
|
+
},
|
|
1201
|
+
"page": {
|
|
1202
|
+
"data": {
|
|
1203
|
+
"note": "",
|
|
1204
|
+
"runner": {
|
|
1205
|
+
"screen": "page"
|
|
1206
|
+
}
|
|
1207
|
+
},
|
|
1208
|
+
"bindings": [
|
|
1209
|
+
{
|
|
1210
|
+
"path": "/rows",
|
|
1211
|
+
"source": "records:entry?limit=50"
|
|
1212
|
+
}
|
|
1213
|
+
],
|
|
1214
|
+
"components": [
|
|
1215
|
+
{
|
|
1216
|
+
"id": "root",
|
|
1217
|
+
"component": "Stack",
|
|
1218
|
+
"gap": "none",
|
|
1219
|
+
"style": {
|
|
1220
|
+
"height": "100%"
|
|
1221
|
+
},
|
|
1222
|
+
"children": [
|
|
1223
|
+
"runner_main",
|
|
1224
|
+
"runner_separator",
|
|
1225
|
+
"runner_bar"
|
|
1226
|
+
]
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
"id": "runner_main",
|
|
1230
|
+
"component": "Box",
|
|
1231
|
+
"style": {
|
|
1232
|
+
"display": "flex",
|
|
1233
|
+
"flexDirection": "column",
|
|
1234
|
+
"flexGrow": 1,
|
|
1235
|
+
"minHeight": 0,
|
|
1236
|
+
"overflowY": "auto"
|
|
1237
|
+
},
|
|
1238
|
+
"children": [
|
|
1239
|
+
"runner_page"
|
|
1240
|
+
]
|
|
1241
|
+
},
|
|
1242
|
+
{
|
|
1243
|
+
"id": "runner_separator",
|
|
1244
|
+
"component": "Separator"
|
|
1245
|
+
},
|
|
1246
|
+
{
|
|
1247
|
+
"id": "runner_bar",
|
|
1248
|
+
"component": "Stack",
|
|
1249
|
+
"direction": "horizontal",
|
|
1250
|
+
"gap": "sm",
|
|
1251
|
+
"align": "center",
|
|
1252
|
+
"justify": "end",
|
|
1253
|
+
"style": {
|
|
1254
|
+
"padding": "$spacing.sm"
|
|
1255
|
+
},
|
|
1256
|
+
"children": [
|
|
1257
|
+
"runner_tabs_box"
|
|
1258
|
+
]
|
|
1259
|
+
},
|
|
1260
|
+
{
|
|
1261
|
+
"id": "runner_tabs_box",
|
|
1262
|
+
"component": "Box",
|
|
1263
|
+
"style": {
|
|
1264
|
+
"display": "flex",
|
|
1265
|
+
"flexDirection": "column",
|
|
1266
|
+
"flexGrow": 1,
|
|
1267
|
+
"minWidth": 0
|
|
1268
|
+
},
|
|
1269
|
+
"children": [
|
|
1270
|
+
"runner_tabs"
|
|
1271
|
+
]
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
"id": "runner_tabs",
|
|
1275
|
+
"component": "Tabs",
|
|
1276
|
+
"tabs": [
|
|
1277
|
+
{
|
|
1278
|
+
"label": "Albums",
|
|
1279
|
+
"value": "albums",
|
|
1280
|
+
"icon": "image"
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
"label": "Pages",
|
|
1284
|
+
"value": "pages"
|
|
1285
|
+
}
|
|
1286
|
+
],
|
|
1287
|
+
"value": {
|
|
1288
|
+
"@path": "/runner/screen"
|
|
1289
|
+
},
|
|
1290
|
+
"fill": true,
|
|
1291
|
+
"on": {
|
|
1292
|
+
"change": {
|
|
1293
|
+
"event": {
|
|
1294
|
+
"name": "runner.navigate",
|
|
1295
|
+
"context": {
|
|
1296
|
+
"screen": {
|
|
1297
|
+
"@path": "/runner/screen"
|
|
1298
|
+
}
|
|
1299
|
+
}
|
|
1300
|
+
}
|
|
1301
|
+
}
|
|
1302
|
+
}
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
"id": "runner_page",
|
|
1306
|
+
"component": "Page",
|
|
1307
|
+
"title": "Page",
|
|
1308
|
+
"children": [
|
|
1309
|
+
"body"
|
|
1310
|
+
]
|
|
1311
|
+
},
|
|
1312
|
+
{
|
|
1313
|
+
"id": "body",
|
|
1314
|
+
"component": "Text",
|
|
1315
|
+
"text": "Page"
|
|
1316
|
+
}
|
|
1317
|
+
]
|
|
1318
|
+
}
|
|
1319
|
+
},
|
|
1320
|
+
"screens": [
|
|
1321
|
+
{
|
|
1322
|
+
"template": "albums",
|
|
1323
|
+
"title": "Albums",
|
|
1324
|
+
"icon": "image"
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
"template": "pages",
|
|
1328
|
+
"title": "Pages"
|
|
1329
|
+
},
|
|
1330
|
+
{
|
|
1331
|
+
"template": "page",
|
|
1332
|
+
"title": "Page",
|
|
1333
|
+
"nav": false
|
|
1334
|
+
}
|
|
1335
|
+
]
|
|
1336
|
+
}
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
"name": "one screen with an ask scope, wide: the title and Permissions",
|
|
1340
|
+
"package": {
|
|
1341
|
+
"formatVersion": 6,
|
|
1342
|
+
"catalogId": "https://ui.exponential.at/catalogs/core/v1",
|
|
1343
|
+
"functions": [
|
|
1344
|
+
"records_*"
|
|
1345
|
+
],
|
|
1346
|
+
"records": {
|
|
1347
|
+
"entry": {
|
|
1348
|
+
"schema": {
|
|
1349
|
+
"type": "object",
|
|
1350
|
+
"properties": {
|
|
1351
|
+
"text": {
|
|
1352
|
+
"type": "string"
|
|
1353
|
+
}
|
|
1354
|
+
}
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1357
|
+
},
|
|
1358
|
+
"id": "acme.notes",
|
|
1359
|
+
"name": "Notes",
|
|
1360
|
+
"version": "1.0.0",
|
|
1361
|
+
"templates": {
|
|
1362
|
+
"main": {
|
|
1363
|
+
"data": {
|
|
1364
|
+
"note": ""
|
|
1365
|
+
},
|
|
1366
|
+
"bindings": [
|
|
1367
|
+
{
|
|
1368
|
+
"path": "/rows",
|
|
1369
|
+
"source": "records:entry?limit=50"
|
|
1370
|
+
}
|
|
1371
|
+
],
|
|
1372
|
+
"components": [
|
|
1373
|
+
{
|
|
1374
|
+
"id": "root",
|
|
1375
|
+
"component": "Page",
|
|
1376
|
+
"title": "Notes",
|
|
1377
|
+
"children": [
|
|
1378
|
+
"body"
|
|
1379
|
+
]
|
|
1380
|
+
},
|
|
1381
|
+
{
|
|
1382
|
+
"id": "body",
|
|
1383
|
+
"component": "Text",
|
|
1384
|
+
"text": "Notes"
|
|
1385
|
+
}
|
|
1386
|
+
]
|
|
1387
|
+
}
|
|
1388
|
+
},
|
|
1389
|
+
"screens": [
|
|
1390
|
+
{
|
|
1391
|
+
"template": "main",
|
|
1392
|
+
"title": "Notes"
|
|
1393
|
+
}
|
|
1394
|
+
],
|
|
1395
|
+
"capabilities": [
|
|
1396
|
+
{
|
|
1397
|
+
"id": "photos.read",
|
|
1398
|
+
"why": "To put photos on a page."
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
"id": "share.send",
|
|
1402
|
+
"why": "To share a page."
|
|
1403
|
+
}
|
|
1404
|
+
]
|
|
1405
|
+
},
|
|
1406
|
+
"formFactor": "wide",
|
|
1407
|
+
"expected": {
|
|
1408
|
+
"formatVersion": 6,
|
|
1409
|
+
"catalogId": "https://ui.exponential.at/catalogs/core/v1",
|
|
1410
|
+
"functions": [
|
|
1411
|
+
"records_*"
|
|
1412
|
+
],
|
|
1413
|
+
"records": {
|
|
1414
|
+
"entry": {
|
|
1415
|
+
"schema": {
|
|
1416
|
+
"type": "object",
|
|
1417
|
+
"properties": {
|
|
1418
|
+
"text": {
|
|
1419
|
+
"type": "string"
|
|
1420
|
+
}
|
|
1421
|
+
}
|
|
1422
|
+
}
|
|
1423
|
+
}
|
|
1424
|
+
},
|
|
1425
|
+
"id": "acme.notes",
|
|
1426
|
+
"name": "Notes",
|
|
1427
|
+
"version": "1.0.0",
|
|
1428
|
+
"templates": {
|
|
1429
|
+
"main": {
|
|
1430
|
+
"data": {
|
|
1431
|
+
"note": ""
|
|
1432
|
+
},
|
|
1433
|
+
"bindings": [
|
|
1434
|
+
{
|
|
1435
|
+
"path": "/rows",
|
|
1436
|
+
"source": "records:entry?limit=50"
|
|
1437
|
+
}
|
|
1438
|
+
],
|
|
1439
|
+
"components": [
|
|
1440
|
+
{
|
|
1441
|
+
"id": "root",
|
|
1442
|
+
"component": "Stack",
|
|
1443
|
+
"direction": "horizontal",
|
|
1444
|
+
"gap": "none",
|
|
1445
|
+
"align": "stretch",
|
|
1446
|
+
"style": {
|
|
1447
|
+
"height": "100%"
|
|
1448
|
+
},
|
|
1449
|
+
"children": [
|
|
1450
|
+
"runner_sidebar"
|
|
1451
|
+
]
|
|
1452
|
+
},
|
|
1453
|
+
{
|
|
1454
|
+
"id": "runner_sidebar",
|
|
1455
|
+
"component": "Sidebar",
|
|
1456
|
+
"width": 240,
|
|
1457
|
+
"collapseBelow": "never",
|
|
1458
|
+
"children": [
|
|
1459
|
+
"runner_scroll"
|
|
1460
|
+
],
|
|
1461
|
+
"slots": {
|
|
1462
|
+
"sidebar": "runner_nav"
|
|
1463
|
+
}
|
|
1464
|
+
},
|
|
1465
|
+
{
|
|
1466
|
+
"id": "runner_scroll",
|
|
1467
|
+
"component": "Box",
|
|
1468
|
+
"style": {
|
|
1469
|
+
"display": "flex",
|
|
1470
|
+
"flexDirection": "column",
|
|
1471
|
+
"flexGrow": 1,
|
|
1472
|
+
"minHeight": 0,
|
|
1473
|
+
"overflowY": "auto"
|
|
1474
|
+
},
|
|
1475
|
+
"children": [
|
|
1476
|
+
"runner_page"
|
|
1477
|
+
]
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
"id": "runner_nav",
|
|
1481
|
+
"component": "Stack",
|
|
1482
|
+
"gap": "sm",
|
|
1483
|
+
"style": {
|
|
1484
|
+
"padding": "$spacing.sm"
|
|
1485
|
+
},
|
|
1486
|
+
"children": [
|
|
1487
|
+
"runner_title",
|
|
1488
|
+
"runner_permissions"
|
|
1489
|
+
]
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
"id": "runner_title",
|
|
1493
|
+
"component": "Heading",
|
|
1494
|
+
"text": "Notes",
|
|
1495
|
+
"level": "h3"
|
|
1496
|
+
},
|
|
1497
|
+
{
|
|
1498
|
+
"id": "runner_permissions",
|
|
1499
|
+
"component": "Row",
|
|
1500
|
+
"title": "Permissions",
|
|
1501
|
+
"icon": "ui-permission",
|
|
1502
|
+
"density": "compact",
|
|
1503
|
+
"pressable": true,
|
|
1504
|
+
"on": {
|
|
1505
|
+
"press": {
|
|
1506
|
+
"event": {
|
|
1507
|
+
"name": "runner.permissions"
|
|
1508
|
+
}
|
|
1509
|
+
}
|
|
1510
|
+
}
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
"id": "runner_page",
|
|
1514
|
+
"component": "Page",
|
|
1515
|
+
"title": "Notes",
|
|
1516
|
+
"children": [
|
|
1517
|
+
"body"
|
|
1518
|
+
]
|
|
1519
|
+
},
|
|
1520
|
+
{
|
|
1521
|
+
"id": "body",
|
|
1522
|
+
"component": "Text",
|
|
1523
|
+
"text": "Notes"
|
|
1524
|
+
}
|
|
1525
|
+
]
|
|
1526
|
+
}
|
|
1527
|
+
},
|
|
1528
|
+
"screens": [
|
|
1529
|
+
{
|
|
1530
|
+
"template": "main",
|
|
1531
|
+
"title": "Notes"
|
|
1532
|
+
}
|
|
1533
|
+
],
|
|
1534
|
+
"capabilities": [
|
|
1535
|
+
{
|
|
1536
|
+
"id": "photos.read",
|
|
1537
|
+
"why": "To put photos on a page."
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
"id": "share.send",
|
|
1541
|
+
"why": "To share a page."
|
|
1542
|
+
}
|
|
1543
|
+
]
|
|
1544
|
+
}
|
|
1545
|
+
},
|
|
1546
|
+
{
|
|
1547
|
+
"name": "one screen with an ask scope, compact: the Permissions button only",
|
|
1548
|
+
"package": {
|
|
1549
|
+
"formatVersion": 6,
|
|
1550
|
+
"catalogId": "https://ui.exponential.at/catalogs/core/v1",
|
|
1551
|
+
"functions": [
|
|
1552
|
+
"records_*"
|
|
1553
|
+
],
|
|
1554
|
+
"records": {
|
|
1555
|
+
"entry": {
|
|
1556
|
+
"schema": {
|
|
1557
|
+
"type": "object",
|
|
1558
|
+
"properties": {
|
|
1559
|
+
"text": {
|
|
1560
|
+
"type": "string"
|
|
1561
|
+
}
|
|
1562
|
+
}
|
|
1563
|
+
}
|
|
1564
|
+
}
|
|
1565
|
+
},
|
|
1566
|
+
"id": "acme.notes",
|
|
1567
|
+
"name": "Notes",
|
|
1568
|
+
"version": "1.0.0",
|
|
1569
|
+
"templates": {
|
|
1570
|
+
"main": {
|
|
1571
|
+
"data": {
|
|
1572
|
+
"note": ""
|
|
1573
|
+
},
|
|
1574
|
+
"bindings": [
|
|
1575
|
+
{
|
|
1576
|
+
"path": "/rows",
|
|
1577
|
+
"source": "records:entry?limit=50"
|
|
1578
|
+
}
|
|
1579
|
+
],
|
|
1580
|
+
"components": [
|
|
1581
|
+
{
|
|
1582
|
+
"id": "root",
|
|
1583
|
+
"component": "Page",
|
|
1584
|
+
"title": "Notes",
|
|
1585
|
+
"children": [
|
|
1586
|
+
"body"
|
|
1587
|
+
]
|
|
1588
|
+
},
|
|
1589
|
+
{
|
|
1590
|
+
"id": "body",
|
|
1591
|
+
"component": "Text",
|
|
1592
|
+
"text": "Notes"
|
|
1593
|
+
}
|
|
1594
|
+
]
|
|
1595
|
+
}
|
|
1596
|
+
},
|
|
1597
|
+
"screens": [
|
|
1598
|
+
{
|
|
1599
|
+
"template": "main",
|
|
1600
|
+
"title": "Notes"
|
|
1601
|
+
}
|
|
1602
|
+
],
|
|
1603
|
+
"capabilities": [
|
|
1604
|
+
{
|
|
1605
|
+
"id": "photos.read",
|
|
1606
|
+
"why": "To put photos on a page."
|
|
1607
|
+
},
|
|
1608
|
+
{
|
|
1609
|
+
"id": "share.send",
|
|
1610
|
+
"why": "To share a page."
|
|
1611
|
+
}
|
|
1612
|
+
]
|
|
1613
|
+
},
|
|
1614
|
+
"formFactor": "compact",
|
|
1615
|
+
"expected": {
|
|
1616
|
+
"formatVersion": 6,
|
|
1617
|
+
"catalogId": "https://ui.exponential.at/catalogs/core/v1",
|
|
1618
|
+
"functions": [
|
|
1619
|
+
"records_*"
|
|
1620
|
+
],
|
|
1621
|
+
"records": {
|
|
1622
|
+
"entry": {
|
|
1623
|
+
"schema": {
|
|
1624
|
+
"type": "object",
|
|
1625
|
+
"properties": {
|
|
1626
|
+
"text": {
|
|
1627
|
+
"type": "string"
|
|
1628
|
+
}
|
|
1629
|
+
}
|
|
1630
|
+
}
|
|
1631
|
+
}
|
|
1632
|
+
},
|
|
1633
|
+
"id": "acme.notes",
|
|
1634
|
+
"name": "Notes",
|
|
1635
|
+
"version": "1.0.0",
|
|
1636
|
+
"templates": {
|
|
1637
|
+
"main": {
|
|
1638
|
+
"data": {
|
|
1639
|
+
"note": ""
|
|
1640
|
+
},
|
|
1641
|
+
"bindings": [
|
|
1642
|
+
{
|
|
1643
|
+
"path": "/rows",
|
|
1644
|
+
"source": "records:entry?limit=50"
|
|
1645
|
+
}
|
|
1646
|
+
],
|
|
1647
|
+
"components": [
|
|
1648
|
+
{
|
|
1649
|
+
"id": "root",
|
|
1650
|
+
"component": "Stack",
|
|
1651
|
+
"gap": "none",
|
|
1652
|
+
"style": {
|
|
1653
|
+
"height": "100%"
|
|
1654
|
+
},
|
|
1655
|
+
"children": [
|
|
1656
|
+
"runner_main",
|
|
1657
|
+
"runner_separator",
|
|
1658
|
+
"runner_bar"
|
|
1659
|
+
]
|
|
1660
|
+
},
|
|
1661
|
+
{
|
|
1662
|
+
"id": "runner_main",
|
|
1663
|
+
"component": "Box",
|
|
1664
|
+
"style": {
|
|
1665
|
+
"display": "flex",
|
|
1666
|
+
"flexDirection": "column",
|
|
1667
|
+
"flexGrow": 1,
|
|
1668
|
+
"minHeight": 0,
|
|
1669
|
+
"overflowY": "auto"
|
|
1670
|
+
},
|
|
1671
|
+
"children": [
|
|
1672
|
+
"runner_page"
|
|
1673
|
+
]
|
|
1674
|
+
},
|
|
1675
|
+
{
|
|
1676
|
+
"id": "runner_separator",
|
|
1677
|
+
"component": "Separator"
|
|
1678
|
+
},
|
|
1679
|
+
{
|
|
1680
|
+
"id": "runner_bar",
|
|
1681
|
+
"component": "Stack",
|
|
1682
|
+
"direction": "horizontal",
|
|
1683
|
+
"gap": "sm",
|
|
1684
|
+
"align": "center",
|
|
1685
|
+
"justify": "end",
|
|
1686
|
+
"style": {
|
|
1687
|
+
"padding": "$spacing.sm"
|
|
1688
|
+
},
|
|
1689
|
+
"children": [
|
|
1690
|
+
"runner_permissions"
|
|
1691
|
+
]
|
|
1692
|
+
},
|
|
1693
|
+
{
|
|
1694
|
+
"id": "runner_permissions",
|
|
1695
|
+
"component": "Button",
|
|
1696
|
+
"label": "Permissions",
|
|
1697
|
+
"icon": "ui-permission",
|
|
1698
|
+
"size": "icon",
|
|
1699
|
+
"variant": "ghost",
|
|
1700
|
+
"on": {
|
|
1701
|
+
"press": {
|
|
1702
|
+
"event": {
|
|
1703
|
+
"name": "runner.permissions"
|
|
1704
|
+
}
|
|
1705
|
+
}
|
|
1706
|
+
}
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
"id": "runner_page",
|
|
1710
|
+
"component": "Page",
|
|
1711
|
+
"title": "Notes",
|
|
1712
|
+
"children": [
|
|
1713
|
+
"body"
|
|
1714
|
+
]
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
"id": "body",
|
|
1718
|
+
"component": "Text",
|
|
1719
|
+
"text": "Notes"
|
|
1720
|
+
}
|
|
1721
|
+
]
|
|
1722
|
+
}
|
|
1723
|
+
},
|
|
1724
|
+
"screens": [
|
|
1725
|
+
{
|
|
1726
|
+
"template": "main",
|
|
1727
|
+
"title": "Notes"
|
|
1728
|
+
}
|
|
1729
|
+
],
|
|
1730
|
+
"capabilities": [
|
|
1731
|
+
{
|
|
1732
|
+
"id": "photos.read",
|
|
1733
|
+
"why": "To put photos on a page."
|
|
1734
|
+
},
|
|
1735
|
+
{
|
|
1736
|
+
"id": "share.send",
|
|
1737
|
+
"why": "To share a page."
|
|
1738
|
+
}
|
|
1739
|
+
]
|
|
1740
|
+
}
|
|
1741
|
+
},
|
|
1742
|
+
{
|
|
1743
|
+
"name": "one screen, picker scopes only: no shell",
|
|
1744
|
+
"package": {
|
|
1745
|
+
"formatVersion": 6,
|
|
1746
|
+
"catalogId": "https://ui.exponential.at/catalogs/core/v1",
|
|
1747
|
+
"functions": [
|
|
1748
|
+
"records_*"
|
|
1749
|
+
],
|
|
1750
|
+
"records": {
|
|
1751
|
+
"entry": {
|
|
1752
|
+
"schema": {
|
|
1753
|
+
"type": "object",
|
|
1754
|
+
"properties": {
|
|
1755
|
+
"text": {
|
|
1756
|
+
"type": "string"
|
|
1757
|
+
}
|
|
1758
|
+
}
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
},
|
|
1762
|
+
"id": "acme.pickers",
|
|
1763
|
+
"name": "Pickers",
|
|
1764
|
+
"version": "1.0.0",
|
|
1765
|
+
"templates": {
|
|
1766
|
+
"main": {
|
|
1767
|
+
"data": {
|
|
1768
|
+
"note": ""
|
|
1769
|
+
},
|
|
1770
|
+
"bindings": [
|
|
1771
|
+
{
|
|
1772
|
+
"path": "/rows",
|
|
1773
|
+
"source": "records:entry?limit=50"
|
|
1774
|
+
}
|
|
1775
|
+
],
|
|
1776
|
+
"components": [
|
|
1777
|
+
{
|
|
1778
|
+
"id": "root",
|
|
1779
|
+
"component": "Page",
|
|
1780
|
+
"title": "Main",
|
|
1781
|
+
"children": [
|
|
1782
|
+
"body"
|
|
1783
|
+
]
|
|
1784
|
+
},
|
|
1785
|
+
{
|
|
1786
|
+
"id": "body",
|
|
1787
|
+
"component": "Text",
|
|
1788
|
+
"text": "Main"
|
|
1789
|
+
}
|
|
1790
|
+
]
|
|
1791
|
+
}
|
|
1792
|
+
},
|
|
1793
|
+
"screens": [
|
|
1794
|
+
{
|
|
1795
|
+
"template": "main",
|
|
1796
|
+
"title": "Main"
|
|
1797
|
+
}
|
|
1798
|
+
],
|
|
1799
|
+
"capabilities": [
|
|
1800
|
+
{
|
|
1801
|
+
"id": "files.read",
|
|
1802
|
+
"why": "To open a file."
|
|
1803
|
+
}
|
|
1804
|
+
]
|
|
1805
|
+
},
|
|
1806
|
+
"formFactor": "wide",
|
|
1807
|
+
"expected": {
|
|
1808
|
+
"formatVersion": 6,
|
|
1809
|
+
"catalogId": "https://ui.exponential.at/catalogs/core/v1",
|
|
1810
|
+
"functions": [
|
|
1811
|
+
"records_*"
|
|
1812
|
+
],
|
|
1813
|
+
"records": {
|
|
1814
|
+
"entry": {
|
|
1815
|
+
"schema": {
|
|
1816
|
+
"type": "object",
|
|
1817
|
+
"properties": {
|
|
1818
|
+
"text": {
|
|
1819
|
+
"type": "string"
|
|
1820
|
+
}
|
|
1821
|
+
}
|
|
1822
|
+
}
|
|
1823
|
+
}
|
|
1824
|
+
},
|
|
1825
|
+
"id": "acme.pickers",
|
|
1826
|
+
"name": "Pickers",
|
|
1827
|
+
"version": "1.0.0",
|
|
1828
|
+
"templates": {
|
|
1829
|
+
"main": {
|
|
1830
|
+
"data": {
|
|
1831
|
+
"note": ""
|
|
1832
|
+
},
|
|
1833
|
+
"bindings": [
|
|
1834
|
+
{
|
|
1835
|
+
"path": "/rows",
|
|
1836
|
+
"source": "records:entry?limit=50"
|
|
1837
|
+
}
|
|
1838
|
+
],
|
|
1839
|
+
"components": [
|
|
1840
|
+
{
|
|
1841
|
+
"id": "root",
|
|
1842
|
+
"component": "Box",
|
|
1843
|
+
"style": {
|
|
1844
|
+
"display": "flex",
|
|
1845
|
+
"flexDirection": "column",
|
|
1846
|
+
"height": "100%",
|
|
1847
|
+
"overflowY": "auto"
|
|
1848
|
+
},
|
|
1849
|
+
"children": [
|
|
1850
|
+
"runner_page"
|
|
1851
|
+
]
|
|
1852
|
+
},
|
|
1853
|
+
{
|
|
1854
|
+
"id": "runner_page",
|
|
1855
|
+
"component": "Page",
|
|
1856
|
+
"title": "Main",
|
|
1857
|
+
"children": [
|
|
1858
|
+
"body"
|
|
1859
|
+
]
|
|
1860
|
+
},
|
|
1861
|
+
{
|
|
1862
|
+
"id": "body",
|
|
1863
|
+
"component": "Text",
|
|
1864
|
+
"text": "Main"
|
|
1865
|
+
}
|
|
1866
|
+
]
|
|
1867
|
+
}
|
|
1868
|
+
},
|
|
1869
|
+
"screens": [
|
|
1870
|
+
{
|
|
1871
|
+
"template": "main",
|
|
1872
|
+
"title": "Main"
|
|
1873
|
+
}
|
|
1874
|
+
],
|
|
1875
|
+
"capabilities": [
|
|
1876
|
+
{
|
|
1877
|
+
"id": "files.read",
|
|
1878
|
+
"why": "To open a file."
|
|
1879
|
+
}
|
|
1880
|
+
]
|
|
1881
|
+
}
|
|
1882
|
+
},
|
|
1883
|
+
{
|
|
1884
|
+
"name": "no screens: the first template becomes the one screen, no shell",
|
|
1885
|
+
"package": {
|
|
1886
|
+
"formatVersion": 6,
|
|
1887
|
+
"catalogId": "https://ui.exponential.at/catalogs/core/v1",
|
|
1888
|
+
"functions": [
|
|
1889
|
+
"records_*"
|
|
1890
|
+
],
|
|
1891
|
+
"records": {
|
|
1892
|
+
"entry": {
|
|
1893
|
+
"schema": {
|
|
1894
|
+
"type": "object",
|
|
1895
|
+
"properties": {
|
|
1896
|
+
"text": {
|
|
1897
|
+
"type": "string"
|
|
1898
|
+
}
|
|
1899
|
+
}
|
|
1900
|
+
}
|
|
1901
|
+
}
|
|
1902
|
+
},
|
|
1903
|
+
"id": "acme.bare",
|
|
1904
|
+
"name": "Bare",
|
|
1905
|
+
"version": "1.0.0",
|
|
1906
|
+
"templates": {
|
|
1907
|
+
"start": {
|
|
1908
|
+
"data": {
|
|
1909
|
+
"note": ""
|
|
1910
|
+
},
|
|
1911
|
+
"bindings": [
|
|
1912
|
+
{
|
|
1913
|
+
"path": "/rows",
|
|
1914
|
+
"source": "records:entry?limit=50"
|
|
1915
|
+
}
|
|
1916
|
+
],
|
|
1917
|
+
"components": [
|
|
1918
|
+
{
|
|
1919
|
+
"id": "root",
|
|
1920
|
+
"component": "Page",
|
|
1921
|
+
"title": "Start",
|
|
1922
|
+
"children": [
|
|
1923
|
+
"body"
|
|
1924
|
+
]
|
|
1925
|
+
},
|
|
1926
|
+
{
|
|
1927
|
+
"id": "body",
|
|
1928
|
+
"component": "Text",
|
|
1929
|
+
"text": "Start"
|
|
1930
|
+
}
|
|
1931
|
+
]
|
|
1932
|
+
},
|
|
1933
|
+
"other": {
|
|
1934
|
+
"data": {
|
|
1935
|
+
"note": ""
|
|
1936
|
+
},
|
|
1937
|
+
"bindings": [
|
|
1938
|
+
{
|
|
1939
|
+
"path": "/rows",
|
|
1940
|
+
"source": "records:entry?limit=50"
|
|
1941
|
+
}
|
|
1942
|
+
],
|
|
1943
|
+
"components": [
|
|
1944
|
+
{
|
|
1945
|
+
"id": "root",
|
|
1946
|
+
"component": "Page",
|
|
1947
|
+
"title": "Other",
|
|
1948
|
+
"children": [
|
|
1949
|
+
"body"
|
|
1950
|
+
]
|
|
1951
|
+
},
|
|
1952
|
+
{
|
|
1953
|
+
"id": "body",
|
|
1954
|
+
"component": "Text",
|
|
1955
|
+
"text": "Other"
|
|
1956
|
+
}
|
|
1957
|
+
]
|
|
1958
|
+
}
|
|
1959
|
+
}
|
|
1960
|
+
},
|
|
1961
|
+
"formFactor": "compact",
|
|
1962
|
+
"expected": {
|
|
1963
|
+
"formatVersion": 6,
|
|
1964
|
+
"catalogId": "https://ui.exponential.at/catalogs/core/v1",
|
|
1965
|
+
"functions": [
|
|
1966
|
+
"records_*"
|
|
1967
|
+
],
|
|
1968
|
+
"records": {
|
|
1969
|
+
"entry": {
|
|
1970
|
+
"schema": {
|
|
1971
|
+
"type": "object",
|
|
1972
|
+
"properties": {
|
|
1973
|
+
"text": {
|
|
1974
|
+
"type": "string"
|
|
1975
|
+
}
|
|
1976
|
+
}
|
|
1977
|
+
}
|
|
1978
|
+
}
|
|
1979
|
+
},
|
|
1980
|
+
"id": "acme.bare",
|
|
1981
|
+
"name": "Bare",
|
|
1982
|
+
"version": "1.0.0",
|
|
1983
|
+
"templates": {
|
|
1984
|
+
"start": {
|
|
1985
|
+
"data": {
|
|
1986
|
+
"note": ""
|
|
1987
|
+
},
|
|
1988
|
+
"bindings": [
|
|
1989
|
+
{
|
|
1990
|
+
"path": "/rows",
|
|
1991
|
+
"source": "records:entry?limit=50"
|
|
1992
|
+
}
|
|
1993
|
+
],
|
|
1994
|
+
"components": [
|
|
1995
|
+
{
|
|
1996
|
+
"id": "root",
|
|
1997
|
+
"component": "Box",
|
|
1998
|
+
"style": {
|
|
1999
|
+
"display": "flex",
|
|
2000
|
+
"flexDirection": "column",
|
|
2001
|
+
"height": "100%",
|
|
2002
|
+
"overflowY": "auto"
|
|
2003
|
+
},
|
|
2004
|
+
"children": [
|
|
2005
|
+
"runner_page"
|
|
2006
|
+
]
|
|
2007
|
+
},
|
|
2008
|
+
{
|
|
2009
|
+
"id": "runner_page",
|
|
2010
|
+
"component": "Page",
|
|
2011
|
+
"title": "Start",
|
|
2012
|
+
"children": [
|
|
2013
|
+
"body"
|
|
2014
|
+
]
|
|
2015
|
+
},
|
|
2016
|
+
{
|
|
2017
|
+
"id": "body",
|
|
2018
|
+
"component": "Text",
|
|
2019
|
+
"text": "Start"
|
|
2020
|
+
}
|
|
2021
|
+
]
|
|
2022
|
+
},
|
|
2023
|
+
"other": {
|
|
2024
|
+
"data": {
|
|
2025
|
+
"note": ""
|
|
2026
|
+
},
|
|
2027
|
+
"bindings": [
|
|
2028
|
+
{
|
|
2029
|
+
"path": "/rows",
|
|
2030
|
+
"source": "records:entry?limit=50"
|
|
2031
|
+
}
|
|
2032
|
+
],
|
|
2033
|
+
"components": [
|
|
2034
|
+
{
|
|
2035
|
+
"id": "root",
|
|
2036
|
+
"component": "Page",
|
|
2037
|
+
"title": "Other",
|
|
2038
|
+
"children": [
|
|
2039
|
+
"body"
|
|
2040
|
+
]
|
|
2041
|
+
},
|
|
2042
|
+
{
|
|
2043
|
+
"id": "body",
|
|
2044
|
+
"component": "Text",
|
|
2045
|
+
"text": "Other"
|
|
2046
|
+
}
|
|
2047
|
+
]
|
|
2048
|
+
}
|
|
2049
|
+
},
|
|
2050
|
+
"screens": [
|
|
2051
|
+
{
|
|
2052
|
+
"template": "start",
|
|
2053
|
+
"title": "Bare"
|
|
2054
|
+
}
|
|
2055
|
+
]
|
|
2056
|
+
}
|
|
2057
|
+
}
|
|
2058
|
+
],
|
|
2059
|
+
"failureCases": [
|
|
2060
|
+
{
|
|
2061
|
+
"kind": "missing",
|
|
2062
|
+
"expected": [
|
|
2063
|
+
{
|
|
2064
|
+
"id": "root",
|
|
2065
|
+
"component": "EmptyState",
|
|
2066
|
+
"icon": "ui-error",
|
|
2067
|
+
"title": "This app can't open",
|
|
2068
|
+
"description": "Its package is missing from the bundle."
|
|
2069
|
+
}
|
|
2070
|
+
]
|
|
2071
|
+
},
|
|
2072
|
+
{
|
|
2073
|
+
"kind": "config",
|
|
2074
|
+
"expected": [
|
|
2075
|
+
{
|
|
2076
|
+
"id": "root",
|
|
2077
|
+
"component": "EmptyState",
|
|
2078
|
+
"icon": "ui-error",
|
|
2079
|
+
"title": "This app can't open",
|
|
2080
|
+
"description": "Its runner.json has a problem."
|
|
2081
|
+
}
|
|
2082
|
+
]
|
|
2083
|
+
},
|
|
2084
|
+
{
|
|
2085
|
+
"kind": "signature",
|
|
2086
|
+
"expected": [
|
|
2087
|
+
{
|
|
2088
|
+
"id": "root",
|
|
2089
|
+
"component": "EmptyState",
|
|
2090
|
+
"icon": "ui-error",
|
|
2091
|
+
"title": "This app can't open",
|
|
2092
|
+
"description": "Its signature doesn't match its author."
|
|
2093
|
+
}
|
|
2094
|
+
]
|
|
2095
|
+
},
|
|
2096
|
+
{
|
|
2097
|
+
"kind": "invalid",
|
|
2098
|
+
"expected": [
|
|
2099
|
+
{
|
|
2100
|
+
"id": "root",
|
|
2101
|
+
"component": "EmptyState",
|
|
2102
|
+
"icon": "ui-error",
|
|
2103
|
+
"title": "This app can't open",
|
|
2104
|
+
"description": "Its package isn't a valid app."
|
|
2105
|
+
}
|
|
2106
|
+
]
|
|
2107
|
+
},
|
|
2108
|
+
{
|
|
2109
|
+
"kind": "busy",
|
|
2110
|
+
"expected": [
|
|
2111
|
+
{
|
|
2112
|
+
"id": "root",
|
|
2113
|
+
"component": "EmptyState",
|
|
2114
|
+
"icon": "ui-error",
|
|
2115
|
+
"title": "This app can't open",
|
|
2116
|
+
"description": "It's already open in another tab."
|
|
2117
|
+
}
|
|
2118
|
+
]
|
|
2119
|
+
}
|
|
2120
|
+
],
|
|
2121
|
+
"toastCases": [
|
|
2122
|
+
{
|
|
2123
|
+
"message": "Couldn't open the link",
|
|
2124
|
+
"expected": [
|
|
2125
|
+
{
|
|
2126
|
+
"id": "root",
|
|
2127
|
+
"component": "Toast",
|
|
2128
|
+
"title": "Couldn't open the link",
|
|
2129
|
+
"type": "error"
|
|
2130
|
+
}
|
|
2131
|
+
]
|
|
2132
|
+
},
|
|
2133
|
+
{
|
|
2134
|
+
"message": "consentDenied",
|
|
2135
|
+
"expected": [
|
|
2136
|
+
{
|
|
2137
|
+
"id": "root",
|
|
2138
|
+
"component": "Toast",
|
|
2139
|
+
"title": "You didn't allow that.",
|
|
2140
|
+
"type": "error"
|
|
2141
|
+
}
|
|
2142
|
+
]
|
|
2143
|
+
},
|
|
2144
|
+
{
|
|
2145
|
+
"message": "originNotDeclared",
|
|
2146
|
+
"expected": [
|
|
2147
|
+
{
|
|
2148
|
+
"id": "root",
|
|
2149
|
+
"component": "Toast",
|
|
2150
|
+
"title": "This app didn't ask to reach that address.",
|
|
2151
|
+
"type": "error"
|
|
2152
|
+
}
|
|
2153
|
+
]
|
|
2154
|
+
},
|
|
2155
|
+
{
|
|
2156
|
+
"message": "FORBIDDEN",
|
|
2157
|
+
"expected": [
|
|
2158
|
+
{
|
|
2159
|
+
"id": "root",
|
|
2160
|
+
"component": "Toast",
|
|
2161
|
+
"title": "FORBIDDEN",
|
|
2162
|
+
"type": "error"
|
|
2163
|
+
}
|
|
2164
|
+
]
|
|
2165
|
+
}
|
|
2166
|
+
]
|
|
2167
|
+
}
|