@marktiderman/genesis-cli 1.6.0 → 1.7.0

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.
Files changed (139) hide show
  1. package/README.md +156 -1
  2. package/dist/cli.js +2769 -567
  3. package/dist/cli.js.map +1 -1
  4. package/dist/{config-CUdwT-nY.d.ts → config-CrZbM3jD.d.ts} +45 -2
  5. package/dist/doctor.d.ts +2 -2
  6. package/dist/doctor.js +133 -5
  7. package/dist/doctor.js.map +1 -1
  8. package/dist/expo.d.ts +91 -8
  9. package/dist/expo.js +207 -14
  10. package/dist/expo.js.map +1 -1
  11. package/dist/genesis-catalog.json +502 -0
  12. package/dist/index.d.ts +1 -1
  13. package/dist/index.js +140 -9
  14. package/dist/index.js.map +1 -1
  15. package/dist/scaffolder.d.ts +1 -1
  16. package/dist/scaffolder.js +7 -4
  17. package/dist/scaffolder.js.map +1 -1
  18. package/dist/starter/.eas/scripts/rollout-health.mjs +85 -0
  19. package/dist/starter/.eas/workflows/deploy-production.yml +149 -0
  20. package/dist/starter/.eas/workflows/e2e.yml +77 -0
  21. package/dist/starter/.eas/workflows/pr-preview.yml +117 -0
  22. package/dist/starter/.eas/workflows/rollout.yml +120 -0
  23. package/dist/starter/.env.example +11 -0
  24. package/dist/starter/.fingerprintignore +7 -0
  25. package/dist/starter/.maestro/README.md +38 -0
  26. package/dist/starter/.maestro/config.yaml +5 -0
  27. package/dist/starter/.maestro/flows/deep-link.yaml +22 -0
  28. package/dist/starter/.maestro/flows/launch.yaml +17 -0
  29. package/dist/starter/.maestro/flows/settings-version.yaml +28 -0
  30. package/dist/starter/.maestro/flows/sign-in-screen.yaml +17 -0
  31. package/dist/starter/.maestro/subflows/sign-in.yaml +20 -0
  32. package/dist/starter/README.md +314 -0
  33. package/dist/starter/__tests__/app-config.test.ts +51 -0
  34. package/dist/starter/__tests__/check-in-photos.test.ts +57 -0
  35. package/dist/starter/__tests__/components/css-stub.js +2 -0
  36. package/dist/starter/__tests__/components/fake-supabase.ts +136 -0
  37. package/dist/starter/__tests__/components/links.test.ts +25 -0
  38. package/dist/starter/__tests__/components/render-app.ts +22 -0
  39. package/dist/starter/__tests__/components/reports.ts +10 -0
  40. package/dist/starter/__tests__/components/resolver.js +12 -0
  41. package/dist/starter/__tests__/components/root-layout.test.tsx +55 -0
  42. package/dist/starter/__tests__/components/session-storage.test.tsx +81 -0
  43. package/dist/starter/__tests__/components/settings.test.tsx +134 -0
  44. package/dist/starter/__tests__/components/setup.ts +69 -0
  45. package/dist/starter/__tests__/components/sign-in.test.tsx +90 -0
  46. package/dist/starter/__tests__/components/tabs-feature-off.test.tsx +19 -0
  47. package/dist/starter/__tests__/components/tabs.test.tsx +43 -0
  48. package/dist/starter/__tests__/components/tabs.ts +12 -0
  49. package/dist/starter/__tests__/entry.test.ts +28 -0
  50. package/dist/starter/__tests__/inline-copy.ts +59 -0
  51. package/dist/starter/__tests__/starter.test.ts +319 -0
  52. package/dist/starter/_gitignore +13 -0
  53. package/dist/starter/app.config.ts +44 -0
  54. package/dist/starter/babel.config.js +9 -0
  55. package/dist/starter/eas.json +47 -0
  56. package/dist/starter/eslint.config.js +5 -0
  57. package/dist/starter/genesis.config.json +12 -0
  58. package/dist/starter/global.css +3 -0
  59. package/dist/starter/index.ts +14 -0
  60. package/dist/starter/jest.config.js +36 -0
  61. package/dist/starter/metro.config.js +38 -0
  62. package/dist/starter/package.json +93 -0
  63. package/dist/starter/pnpm-workspace.yaml +73 -0
  64. package/dist/starter/src/app/(app)/(home)/_layout.tsx +6 -0
  65. package/dist/starter/src/app/(app)/(home)/check-in.tsx +41 -0
  66. package/dist/starter/src/app/(app)/(home)/index.tsx +34 -0
  67. package/dist/starter/src/app/(app)/_layout.tsx +27 -0
  68. package/dist/starter/src/app/(app)/notifications/_layout.tsx +6 -0
  69. package/dist/starter/src/app/(app)/notifications/index.tsx +36 -0
  70. package/dist/starter/src/app/(app)/settings/_layout.tsx +6 -0
  71. package/dist/starter/src/app/(app)/settings/index.tsx +96 -0
  72. package/dist/starter/src/app/(app)/settings/notifications.tsx +16 -0
  73. package/dist/starter/src/app/(app)/settings/support/[id].tsx +23 -0
  74. package/dist/starter/src/app/(app)/settings/support/ideas.tsx +20 -0
  75. package/dist/starter/src/app/(app)/settings/support/index.tsx +20 -0
  76. package/dist/starter/src/app/(app)/settings/support/new.tsx +35 -0
  77. package/dist/starter/src/app/(app)/settings/support/shipped.tsx +20 -0
  78. package/dist/starter/src/app/+native-intent.ts +11 -0
  79. package/dist/starter/src/app/_layout.tsx +20 -0
  80. package/dist/starter/src/app/sign-in.tsx +69 -0
  81. package/dist/starter/src/copy.ts +118 -0
  82. package/dist/starter/src/forms/check-in.json +121 -0
  83. package/dist/starter/src/lib/account.ts +42 -0
  84. package/dist/starter/src/lib/app.ts +52 -0
  85. package/dist/starter/src/lib/auth.ts +80 -0
  86. package/dist/starter/src/lib/check-in-photos.ts +66 -0
  87. package/dist/starter/src/lib/check-in.ts +85 -0
  88. package/dist/starter/src/lib/define-starter.ts +148 -0
  89. package/dist/starter/src/lib/devtools-overlay.ts +34 -0
  90. package/dist/starter/src/lib/devtools.ts +23 -0
  91. package/dist/starter/src/lib/env.ts +33 -0
  92. package/dist/starter/src/lib/google-signin.ts +23 -0
  93. package/dist/starter/src/lib/links.ts +40 -0
  94. package/dist/starter/src/lib/native-modules.ts +27 -0
  95. package/dist/starter/src/lib/notifications.ts +15 -0
  96. package/dist/starter/src/lib/observability.ts +45 -0
  97. package/dist/starter/src/lib/push.ts +49 -0
  98. package/dist/starter/src/lib/supabase.ts +65 -0
  99. package/dist/starter/src/lib/support.ts +44 -0
  100. package/dist/starter/src/lib/updates.ts +61 -0
  101. package/dist/starter/starter.config.ts +37 -0
  102. package/dist/starter/supabase/config.toml +26 -0
  103. package/dist/starter/supabase/functions/genesis-apple-revoke/apple.ts +237 -0
  104. package/dist/starter/supabase/functions/genesis-apple-revoke/handler.ts +227 -0
  105. package/dist/starter/supabase/functions/genesis-apple-revoke/index.ts +55 -0
  106. package/dist/starter/supabase/functions/genesis-push-send/expo.ts +117 -0
  107. package/dist/starter/supabase/functions/genesis-push-send/handler.ts +462 -0
  108. package/dist/starter/supabase/functions/genesis-push-send/index.ts +54 -0
  109. package/dist/starter/supabase/migrations/20261024000000_genesis_account_deletion.sql +133 -0
  110. package/dist/starter/supabase/migrations/20261024000100_genesis_app_release_policy.sql +82 -0
  111. package/dist/starter/supabase/migrations/20261024000200_genesis_apple_token_revocation.sql +205 -0
  112. package/dist/starter/supabase/migrations/20261024000400_genesis_push.sql +524 -0
  113. package/dist/starter/supabase/migrations/20261024000600_genesis_support.sql +846 -0
  114. package/dist/starter/supabase/tests/database/genesis_account_deletion.test.sql +138 -0
  115. package/dist/starter/supabase/tests/database/genesis_app_release_policy.test.sql +148 -0
  116. package/dist/starter/supabase/tests/database/genesis_apple_token_revocation.test.sql +230 -0
  117. package/dist/starter/supabase/tests/database/genesis_push.test.sql +407 -0
  118. package/dist/starter/supabase/tests/database/genesis_support.test.sql +552 -0
  119. package/dist/starter/tailwind.config.mjs +15 -0
  120. package/dist/starter/tsconfig.json +14 -0
  121. package/dist/starter/vitest.config.mts +7 -0
  122. package/dist/templates/ci/app-ci.yml +17 -0
  123. package/dist/templates/ci/genesis-upgrade.yml +21 -0
  124. package/dist/templates/ci/supabase-ci.yml +20 -0
  125. package/dist/templates/eas/eas.json +47 -0
  126. package/dist/templates/eas/scripts/rollout-health.mjs +85 -0
  127. package/dist/templates/eas/workflows/deploy-production.yml +149 -0
  128. package/dist/templates/eas/workflows/e2e.yml +77 -0
  129. package/dist/templates/eas/workflows/pr-preview.yml +117 -0
  130. package/dist/templates/eas/workflows/rollout.yml +120 -0
  131. package/dist/templates/maestro/config.yaml +5 -0
  132. package/dist/templates/maestro/flows/deep-link.yaml +22 -0
  133. package/dist/templates/maestro/flows/launch.yaml +17 -0
  134. package/dist/templates/maestro/flows/settings-version.yaml +28 -0
  135. package/dist/templates/maestro/flows/sign-in-screen.yaml +17 -0
  136. package/dist/templates/maestro/subflows/sign-in.yaml +20 -0
  137. package/dist/vite.js +133 -5
  138. package/dist/vite.js.map +1 -1
  139. package/package.json +4 -4
@@ -0,0 +1,502 @@
1
+ {
2
+ "packages": {
3
+ "@marktiderman/genesis-core": {
4
+ "version": "1.7.0"
5
+ },
6
+ "@marktiderman/genesis-switchboard": {
7
+ "version": "2.1.0"
8
+ },
9
+ "@marktiderman/genesis-design-system": {
10
+ "version": "1.5.0"
11
+ },
12
+ "@marktiderman/genesis-extension": {
13
+ "version": "0.1.1"
14
+ },
15
+ "@marktiderman/genesis-features": {
16
+ "version": "0.3.0"
17
+ },
18
+ "@marktiderman/genesis-forms": {
19
+ "version": "0.9.0"
20
+ },
21
+ "@marktiderman/genesis-forms-builder": {
22
+ "version": "0.6.2"
23
+ },
24
+ "@marktiderman/genesis-forms-devtools": {
25
+ "version": "0.1.2"
26
+ },
27
+ "@marktiderman/genesis-forms-native": {
28
+ "version": "0.1.1"
29
+ },
30
+ "@marktiderman/genesis-forms-react": {
31
+ "version": "0.3.0"
32
+ },
33
+ "@marktiderman/genesis-forms-studio": {
34
+ "version": "0.4.0"
35
+ },
36
+ "@marktiderman/genesis-forms-web": {
37
+ "version": "0.6.2"
38
+ },
39
+ "@marktiderman/genesis": {
40
+ "version": "0.9.2"
41
+ },
42
+ "@marktiderman/genesis-cli": {
43
+ "version": "1.7.0"
44
+ },
45
+ "@marktiderman/genesis-native": {
46
+ "version": "0.3.0",
47
+ "blocks": {
48
+ "push": {
49
+ "feature": {
50
+ "name": "Push and notification preferences",
51
+ "summary": "Registers this device's push token for whoever signs in, routes taps, and edits per-category preferences, quiet hours and previews.",
52
+ "keywords": [
53
+ "notifications",
54
+ "push token",
55
+ "quiet hours"
56
+ ],
57
+ "audience": [
58
+ "person"
59
+ ]
60
+ },
61
+ "platforms": [
62
+ "native"
63
+ ],
64
+ "packages": [
65
+ "@marktiderman/genesis-native",
66
+ "@marktiderman/genesis-supabase"
67
+ ],
68
+ "migrations": [
69
+ {
70
+ "package": "@marktiderman/genesis-supabase",
71
+ "file": "migrations/0005_genesis_push.sql",
72
+ "test": "migrations/tests/0005_genesis_push.test.sql"
73
+ }
74
+ ],
75
+ "functions": [
76
+ {
77
+ "package": "@marktiderman/genesis-supabase",
78
+ "dir": "functions/genesis-push-send",
79
+ "verifyJwt": false,
80
+ "secrets": [
81
+ "GENESIS_PUSH_SECRET",
82
+ "EXPO_ACCESS_TOKEN"
83
+ ]
84
+ }
85
+ ],
86
+ "routes": [
87
+ {
88
+ "path": "/settings/notifications",
89
+ "description": "Notification settings: categories, quiet hours, previews",
90
+ "signedIn": true
91
+ }
92
+ ],
93
+ "steps": [
94
+ "npx expo install expo-notifications, and add \"expo-notifications\" to the plugins in app.config.",
95
+ "Create the block with createPush (@marktiderman/genesis-native/push) and pass it to <GenesisNativeApp blocks>; render NotificationSettings on the /settings/notifications screen (genesis-native README, Push).",
96
+ "A push token needs an EAS project id (eas init)."
97
+ ],
98
+ "privacy": {
99
+ "collects": [
100
+ {
101
+ "type": "device ID",
102
+ "purposes": [
103
+ "app functionality"
104
+ ],
105
+ "linked": true,
106
+ "tracking": false
107
+ }
108
+ ]
109
+ }
110
+ },
111
+ "app-updates": {
112
+ "feature": {
113
+ "name": "App updates",
114
+ "summary": "Force upgrade, a maintenance screen, an update banner and a what's new sheet, from the app_release_policy row.",
115
+ "keywords": [
116
+ "force upgrade",
117
+ "maintenance",
118
+ "ota"
119
+ ],
120
+ "audience": [
121
+ "person"
122
+ ]
123
+ },
124
+ "platforms": [
125
+ "native"
126
+ ],
127
+ "packages": [
128
+ "@marktiderman/genesis-native",
129
+ "@marktiderman/genesis-supabase"
130
+ ],
131
+ "migrations": [
132
+ {
133
+ "package": "@marktiderman/genesis-supabase",
134
+ "file": "migrations/0002_genesis_app_release_policy.sql",
135
+ "test": "migrations/tests/0002_genesis_app_release_policy.test.sql"
136
+ }
137
+ ],
138
+ "steps": [
139
+ "npx expo install expo-updates expo-application.",
140
+ "Create the block with createUpdates (@marktiderman/genesis-native/updates) and pass it to <GenesisNativeApp updates> (genesis-native README, Updates)."
141
+ ]
142
+ },
143
+ "observability": {
144
+ "feature": {
145
+ "name": "Observability",
146
+ "summary": "Crash reports, breadcrumbs, timings and typed analytics events, scrubbed on the device, through vendor-neutral sinks (Sentry included).",
147
+ "keywords": [
148
+ "crash reporting",
149
+ "sentry",
150
+ "analytics",
151
+ "breadcrumbs"
152
+ ],
153
+ "audience": [
154
+ "developer"
155
+ ]
156
+ },
157
+ "platforms": [
158
+ "native"
159
+ ],
160
+ "steps": [
161
+ "npx expo install @sentry/react-native if you report to Sentry, and set the DSN in your environment (genesis-native README, Observability).",
162
+ "Create the block with createObservability (@marktiderman/genesis-native/observability) at module scope, pass it to <GenesisNativeApp blocks>, and export observability.wrap(RootLayout)."
163
+ ],
164
+ "privacy": {
165
+ "collects": [
166
+ {
167
+ "type": "crash data",
168
+ "purposes": [
169
+ "app functionality"
170
+ ],
171
+ "linked": true,
172
+ "tracking": false
173
+ },
174
+ {
175
+ "type": "performance data",
176
+ "purposes": [
177
+ "app functionality"
178
+ ],
179
+ "linked": true,
180
+ "tracking": false
181
+ },
182
+ {
183
+ "type": "other diagnostic data",
184
+ "purposes": [
185
+ "app functionality"
186
+ ],
187
+ "linked": true,
188
+ "tracking": false
189
+ },
190
+ {
191
+ "type": "user id",
192
+ "purposes": [
193
+ "app functionality"
194
+ ],
195
+ "linked": true,
196
+ "tracking": false
197
+ }
198
+ ]
199
+ }
200
+ },
201
+ "devtools-overlay": {
202
+ "feature": {
203
+ "name": "Devtools overlay",
204
+ "summary": "An on-device overlay for development, preview and internal builds: what the app knows about itself, recent activity, a crash test.",
205
+ "keywords": [
206
+ "debug menu",
207
+ "devtools",
208
+ "shake to debug"
209
+ ],
210
+ "audience": [
211
+ "developer"
212
+ ]
213
+ },
214
+ "platforms": [
215
+ "native"
216
+ ],
217
+ "steps": [
218
+ "Create the block with createDevtools (@marktiderman/genesis-native/devtools), enabled only outside production builds, and pass it to <GenesisNativeApp blocks> (genesis-native README)."
219
+ ]
220
+ }
221
+ }
222
+ },
223
+ "@marktiderman/genesis-sites": {
224
+ "version": "0.2.0",
225
+ "blocks": {
226
+ "sites": {
227
+ "feature": {
228
+ "name": "Sites and landing pages",
229
+ "summary": "Multi-page sites and one-click landing pages from the brand: drafts, preview, publish and rollback, served as cached HTML with no hydration.",
230
+ "keywords": [
231
+ "site builder",
232
+ "landing page",
233
+ "website",
234
+ "seo",
235
+ "sitemap"
236
+ ],
237
+ "audience": [
238
+ "admin",
239
+ "person"
240
+ ]
241
+ },
242
+ "platforms": [
243
+ "web",
244
+ "server"
245
+ ],
246
+ "migrations": [
247
+ {
248
+ "file": "migrations/0001_genesis_sites.sql",
249
+ "test": "migrations/tests/0001_genesis_sites.test.sql"
250
+ },
251
+ {
252
+ "file": "migrations/0002_genesis_sites_posts.sql",
253
+ "test": "migrations/tests/0002_genesis_sites_posts.test.sql"
254
+ }
255
+ ],
256
+ "install": [
257
+ "zod@^4.0.0"
258
+ ],
259
+ "steps": [
260
+ "Expose the genesis_sites schema to the API: add it to `schemas` under [api] in supabase/config.toml, and to Exposed schemas in the dashboard.",
261
+ "Decide who edits a site: replace genesis_sites.can_edit(uuid) (and, if previews should reach more people, genesis_sites.can_view(uuid)) in a migration of your own, after this one (genesis-sites README, Who may edit).",
262
+ "Mount handleSiteRequest from @marktiderman/genesis-sites/web on your server, before your app's routes: it answers the site's paths and returns null for everything else."
263
+ ]
264
+ }
265
+ }
266
+ },
267
+ "@marktiderman/genesis-studio": {
268
+ "version": "0.2.0"
269
+ },
270
+ "@marktiderman/genesis-studio-server": {
271
+ "version": "0.3.0"
272
+ },
273
+ "@marktiderman/genesis-supabase": {
274
+ "version": "0.3.0",
275
+ "blocks": {
276
+ "account": {
277
+ "feature": {
278
+ "name": "Account",
279
+ "summary": "Sign-in, profile and in-app account deletion, with Sign in with Apple token revocation.",
280
+ "keywords": [
281
+ "sign in",
282
+ "account deletion",
283
+ "apple"
284
+ ],
285
+ "audience": [
286
+ "person"
287
+ ]
288
+ },
289
+ "platforms": [
290
+ "web",
291
+ "native"
292
+ ],
293
+ "migrations": [
294
+ {
295
+ "file": "migrations/0001_genesis_account_deletion.sql",
296
+ "test": "migrations/tests/0001_genesis_account_deletion.test.sql"
297
+ },
298
+ {
299
+ "file": "migrations/0003_genesis_apple_token_revocation.sql",
300
+ "test": "migrations/tests/0003_genesis_apple_token_revocation.test.sql"
301
+ }
302
+ ],
303
+ "functions": [
304
+ {
305
+ "dir": "functions/genesis-apple-revoke",
306
+ "verifyJwt": false,
307
+ "secrets": [
308
+ "APPLE_TEAM_ID",
309
+ "APPLE_KEY_ID",
310
+ "APPLE_PRIVATE_KEY",
311
+ "APPLE_CLIENT_IDS"
312
+ ]
313
+ }
314
+ ],
315
+ "install": [
316
+ "@supabase/supabase-js@^2.118.0"
317
+ ],
318
+ "steps": [
319
+ "Enable the sign-in providers you use in Supabase Auth (email, Apple), and deploy genesis-apple-revoke if you offer Sign in with Apple."
320
+ ]
321
+ },
322
+ "tenant-features": {
323
+ "feature": {
324
+ "name": "Tenant feature switches",
325
+ "summary": "A tenant's admins turn a shipped feature off or back on for their tenant with a reason; members hide what is off.",
326
+ "keywords": [
327
+ "feature toggle",
328
+ "per tenant",
329
+ "organization settings"
330
+ ],
331
+ "audience": [
332
+ "admin"
333
+ ]
334
+ },
335
+ "migrations": [
336
+ {
337
+ "file": "migrations/0004_genesis_tenant_features.sql",
338
+ "test": "migrations/tests/0004_genesis_tenant_features.test.sql"
339
+ }
340
+ ],
341
+ "steps": [
342
+ "Give tenant_features your membership rule in a migration of your own: create private.genesis_tenant_admin(tenant uuid, person uuid) returns boolean, and revoke execute on it from public, anon, authenticated (genesis-supabase README, Tenant feature switches). Without it nobody can change a switch."
343
+ ]
344
+ }
345
+ }
346
+ },
347
+ "@marktiderman/genesis-support": {
348
+ "version": "0.2.0",
349
+ "blocks": {
350
+ "support-feedback": {
351
+ "feature": {
352
+ "name": "Support and feedback",
353
+ "summary": "Send feedback with a marked-up screenshot (shake to report on native), read staff replies, and vote on an idea board, in the app's own Supabase.",
354
+ "keywords": [
355
+ "feedback",
356
+ "bug report",
357
+ "screenshot",
358
+ "shake to report",
359
+ "idea board",
360
+ "votes",
361
+ "help"
362
+ ],
363
+ "audience": [
364
+ "person"
365
+ ]
366
+ },
367
+ "requires": [
368
+ "account"
369
+ ],
370
+ "platforms": [
371
+ "web",
372
+ "native"
373
+ ],
374
+ "packages": [
375
+ "@marktiderman/genesis-support",
376
+ "@marktiderman/genesis-supabase"
377
+ ],
378
+ "install": [
379
+ "@supabase/supabase-js@^2.118.0"
380
+ ],
381
+ "migrations": [
382
+ {
383
+ "package": "@marktiderman/genesis-supabase",
384
+ "file": "migrations/0006_genesis_support.sql",
385
+ "test": "migrations/tests/0006_genesis_support.test.sql"
386
+ }
387
+ ],
388
+ "functions": [
389
+ {
390
+ "package": "@marktiderman/genesis-supabase",
391
+ "dir": "functions/genesis-support-cleanup",
392
+ "verifyJwt": false,
393
+ "secrets": [
394
+ "GENESIS_SUPPORT_CLEANUP_SECRET"
395
+ ]
396
+ },
397
+ {
398
+ "package": "@marktiderman/genesis-supabase",
399
+ "dir": "functions/genesis-support-notify",
400
+ "verifyJwt": false,
401
+ "secrets": [
402
+ "GENESIS_SUPPORT_WEBHOOK_SECRET",
403
+ "GITHUB_TOKEN",
404
+ "GITHUB_REPO",
405
+ "SUPPORT_WEBHOOK_URL",
406
+ "SUPPORT_WEBHOOK_SIGNING_SECRET"
407
+ ]
408
+ }
409
+ ],
410
+ "routes": [
411
+ {
412
+ "path": "/settings/support",
413
+ "description": "Help: the person's reports and staff replies",
414
+ "signedIn": true
415
+ },
416
+ {
417
+ "path": "/settings/support/new",
418
+ "description": "Send feedback, with a screenshot",
419
+ "signedIn": true
420
+ },
421
+ {
422
+ "path": "/settings/support/[id]",
423
+ "description": "One report's conversation",
424
+ "signedIn": true
425
+ },
426
+ {
427
+ "path": "/settings/support/ideas",
428
+ "description": "The idea board, with votes",
429
+ "signedIn": true
430
+ },
431
+ {
432
+ "path": "/settings/support/shipped",
433
+ "description": "Ideas the person asked for that shipped",
434
+ "signedIn": true
435
+ }
436
+ ],
437
+ "steps": [
438
+ "npx expo install react-native-view-shot expo-sensors (screenshots and shake to report; both optional).",
439
+ "Create the block with createSupport (@marktiderman/genesis-support/native), pass it to <GenesisNativeApp blocks> with appFeatures [\"account\"], and add the five route files (genesis-support README, Native).",
440
+ "Make someone staff: create private.genesis_support_staff(person uuid) returns boolean in a migration of your own, and revoke execute on it from public, anon, authenticated. Without it nobody is staff.",
441
+ "Optional: deploy genesis-support-cleanup on a schedule to remove deleted screenshots, and genesis-support-notify behind a Database Webhook for a GitHub issue or webhook per report."
442
+ ],
443
+ "privacy": {
444
+ "collects": [
445
+ {
446
+ "type": "user ID",
447
+ "purposes": [
448
+ "app functionality"
449
+ ],
450
+ "linked": true,
451
+ "tracking": false
452
+ },
453
+ {
454
+ "type": "customer support",
455
+ "purposes": [
456
+ "app functionality"
457
+ ],
458
+ "linked": true,
459
+ "tracking": false
460
+ },
461
+ {
462
+ "type": "other user content",
463
+ "purposes": [
464
+ "app functionality"
465
+ ],
466
+ "linked": true,
467
+ "tracking": false
468
+ },
469
+ {
470
+ "type": "photos or videos",
471
+ "purposes": [
472
+ "app functionality"
473
+ ],
474
+ "linked": true,
475
+ "tracking": false
476
+ },
477
+ {
478
+ "type": "other diagnostic data",
479
+ "purposes": [
480
+ "app functionality"
481
+ ],
482
+ "linked": true,
483
+ "tracking": false
484
+ }
485
+ ],
486
+ "notes": [
487
+ "Feedback is sent only when the person taps Send, and a screenshot only when they include it, after they can hide parts of it.",
488
+ "Reports, screenshots and replies are visible to the person and the app's support staff only, and go when the person deletes them or their account.",
489
+ "Feedback includes the app version, the screen's path (never its query string; private-looking segments are replaced), the platform and basic device facts."
490
+ ]
491
+ }
492
+ }
493
+ }
494
+ },
495
+ "@marktiderman/genesis-ui": {
496
+ "version": "2.13.0"
497
+ },
498
+ "@marktiderman/genesis-ui-native": {
499
+ "version": "2.3.0"
500
+ }
501
+ }
502
+ }
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  export { FileSystem, ScaffoldLogger, ScaffoldOptions, ScaffoldResult, planScaffold, runScaffold, validateConsumerName } from './scaffolder.js';
2
2
  import postgres from 'postgres';
3
3
  export { RunDoctorOptions, defineDoctorPlugin, formatReport, runDoctor } from './doctor.js';
4
- export { D as DoctorConfig, b as DoctorConfigError, c as DoctorContext, d as DoctorPlugin, e as DoctorResult, F as Finding, a as GenesisConfigError, f as GenesisConfigFile, G as GenesisLinks, r as readGenesisConfig, v as validateLinks } from './config-CUdwT-nY.js';
4
+ export { D as DoctorConfig, f as DoctorConfigError, g as DoctorContext, h as DoctorPlugin, i as DoctorResult, F as Finding, c as GenesisConfigError, j as GenesisConfigFile, b as GenesisLinks, r as readGenesisConfig, v as validateLinks } from './config-CrZbM3jD.js';
5
5
 
6
6
  type StorageType = "string" | "number" | "boolean" | "datetime" | "json";
7
7
  interface IntrospectedColumn {