@volvel/docs 0.6.0 → 0.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.
- package/THIRD_PARTY_NOTICES.md +21 -3
- package/assets/screenshots/administer/access-changes.dark.5bf247ce0f19.png +0 -0
- package/assets/screenshots/administer/access-changes.light.ed91948531ce.png +0 -0
- package/assets/screenshots/administer/access-end-users.dark.4d9a5acba896.png +0 -0
- package/assets/screenshots/administer/access-end-users.light.cef020771af1.png +0 -0
- package/assets/screenshots/administer/access-groups.dark.aaf84e089c11.png +0 -0
- package/assets/screenshots/administer/sso-audit-filters.dark.9aa82a2ac9c5.png +0 -0
- package/assets/screenshots/administer/sso-audit-filters.light.5ecfdb651ace.png +0 -0
- package/assets/screenshots/administer/{sso-branding-theme.dark.80bc3ce901a4.png → sso-branding-theme.dark.9a2c0482b3c2.png} +0 -0
- package/assets/screenshots/administer/{sso-branding-theme.light.f48bd968481c.png → sso-branding-theme.light.7be432359625.png} +0 -0
- package/assets/screenshots/administer/{sso-provider-setup.dark.8834ae797a50.png → sso-provider-setup.dark.bc7d126f135d.png} +0 -0
- package/assets/screenshots/administer/sso-provider-setup.light.0cbda9279747.png +0 -0
- package/assets/screenshots/administer/sso-workers-pools.dark.43f043620615.png +0 -0
- package/assets/screenshots/administer/sso-workers-pools.light.25b0e09b2ff0.png +0 -0
- package/assets/screenshots/console/account-sessions.dark.05dbf87d40a9.png +0 -0
- package/assets/screenshots/console/account-sessions.light.2ef44c907ee5.png +0 -0
- package/{dist/assets/screenshots/console/app-builder-list.dark.48340ac81e11.png → assets/screenshots/console/app-builder-list.dark.124cca05b904.png} +0 -0
- package/{dist/assets/screenshots/console/app-builder-list.light.85064d6742d4.png → assets/screenshots/console/app-builder-list.light.082ae0464cbe.png} +0 -0
- package/{dist/assets/screenshots/console/apps-list.dark.6580be4c6f17.png → assets/screenshots/console/apps-list.dark.b24bb8a4fe8f.png} +0 -0
- package/{dist/assets/screenshots/console/apps-list.light.35ac9711c9a0.png → assets/screenshots/console/apps-list.light.fa8996fe55ff.png} +0 -0
- package/assets/screenshots/console/{apps-share.dark.cf87c470cec4.png → apps-share.dark.0bb1a7899419.png} +0 -0
- package/{dist/assets/screenshots/console/apps-share.light.eddc9c058c37.png → assets/screenshots/console/apps-share.light.f26f075b3680.png} +0 -0
- package/assets/screenshots/console/{basics-workspace-overview.dark.75d4329d6bd9.png → basics-workspace-overview.dark.678c40fa9f2a.png} +0 -0
- package/assets/screenshots/console/{basics-workspace-overview.light.0a097241dfcb.png → basics-workspace-overview.light.86f7922860c9.png} +0 -0
- package/assets/screenshots/console/configure-alerts-default.dark.8a2c534aa415.png +0 -0
- package/{dist/assets/screenshots/console/configure-alerts.dark.3e4b58238bd2.png → assets/screenshots/console/configure-alerts.dark.314fe8d7e0c6.png} +0 -0
- package/{dist/assets/screenshots/console/configure-alerts.light.24608f63f849.png → assets/screenshots/console/configure-alerts.light.ff5022a76eca.png} +0 -0
- package/assets/screenshots/console/{configure-connection-sheet.dark.a8ae26d592fb.png → configure-connection-sheet.dark.41ba4383632c.png} +0 -0
- package/assets/screenshots/console/configure-connections.dark.52147265a170.png +0 -0
- package/assets/screenshots/console/{configure-connections.light.c3c1ec8eca52.png → configure-connections.light.8b15826634f1.png} +0 -0
- package/{dist/assets/screenshots/console/dashboard-resource.dark.532f219609cc.png → assets/screenshots/console/dashboard-resource.dark.4188f2810be1.png} +0 -0
- package/assets/screenshots/console/dashboard-resource.light.8211fe9f380e.png +0 -0
- package/{dist/assets/screenshots/console/dashboards-list.light.bb704dd75a30.png → assets/screenshots/console/dashboards-list.light.438e3d23c888.png} +0 -0
- package/assets/screenshots/console/extensions-editor.dark.4e5246f282e2.png +0 -0
- package/{dist/assets/screenshots/console/extensions-list.light.f65bb930d029.png → assets/screenshots/console/extensions-list.light.a1703d257ceb.png} +0 -0
- package/assets/screenshots/console/flow-editor.dark.00229a94001e.png +0 -0
- package/assets/screenshots/console/flow-editor.light.5eb68a339e84.png +0 -0
- package/assets/screenshots/console/operate-approvals.light.1501cede2f94.png +0 -0
- package/assets/screenshots/console/operate-cancel-by-age.dark.419042b822db.png +0 -0
- package/assets/screenshots/console/operate-cancel-by-age.light.7d48915e9922.png +0 -0
- package/assets/screenshots/console/operate-events.dark.2589975f7f46.png +0 -0
- package/assets/screenshots/console/operate-events.light.c4d8d8ae8748.png +0 -0
- package/assets/screenshots/console/operate-run-failed.dark.09addb030b58.png +0 -0
- package/assets/screenshots/console/{operate-run-failed.light.482db87101aa.png → operate-run-failed.light.6163d2f9d3b3.png} +0 -0
- package/assets/screenshots/console/operate-runs.dark.3bf1250f1f59.png +0 -0
- package/assets/screenshots/console/{operate-runs.light.bccafcd93196.png → operate-runs.light.235f6baf6f3d.png} +0 -0
- package/assets/screenshots/console/page-editor.light.3ec1f9d43475.png +0 -0
- package/assets/screenshots/console/queries-editor.dark.ee99f9050a23.png +0 -0
- package/assets/screenshots/console/queries-editor.light.67bd22086115.png +0 -0
- package/assets/screenshots/console/queries-parameters.light.c471d505bbd1.png +0 -0
- package/assets/screenshots/console/{releases-review.dark.34ec540432dc.png → releases-review.dark.091d815aa9c9.png} +0 -0
- package/{dist/assets/screenshots/console/releases-review.light.7f7eea72fc90.png → assets/screenshots/console/releases-review.light.a440c30d08b2.png} +0 -0
- package/{dist/assets/screenshots/console/script-settings-tab.dark.976df3a2aaf0.png → assets/screenshots/console/script-settings-tab.dark.5e96eedd9889.png} +0 -0
- package/assets/screenshots/console/{scripts-test-pane.dark.6112678956ed.png → scripts-test-pane.dark.63dcff509936.png} +0 -0
- package/assets/screenshots/console/{scripts-test-pane.light.2e1b637a8c7a.png → scripts-test-pane.light.bcef48f905b0.png} +0 -0
- package/assets/screenshots/console/table-definition.light.b97883e1b6e0.png +0 -0
- package/assets/screenshots/console/table-help.dark.da3a47215e6b.png +0 -0
- package/assets/screenshots/console/table-help.light.07c67e63ef2e.png +0 -0
- package/assets/screenshots/console/table-rows-filtered.dark.c61524c872a5.png +0 -0
- package/assets/screenshots/console/table-rows-filtered.light.787e71f743dd.png +0 -0
- package/assets/screenshots/console/table-rows.dark.19e2afeb688e.png +0 -0
- package/assets/screenshots/console/table-rows.light.a9249d7b9bd5.png +0 -0
- package/assets/screenshots/console/tut-visit-mix.dark.f1dd71da8937.png +0 -0
- package/{dist/assets/screenshots/console/widgets-chart-scatter.light.e57e41675d8d.png → assets/screenshots/console/widgets-chart-scatter.light.85ea38faaed8.png} +0 -0
- package/assets/screenshots/console/widgets-phone-page.dark.360a39e459c7.png +0 -0
- package/{dist/assets/screenshots/console/workspace-settings.light.3ac3bbfd9f4e.png → assets/screenshots/console/workspace-settings.light.c56e7f5d80f8.png} +0 -0
- package/assets/screenshots/docs/draft-conflict.dark.597b616abec7.png +0 -0
- package/assets/screenshots/docs/draft-conflict.light.6d326a37e8bc.png +0 -0
- package/assets/screenshots/docs/page-details-type.dark.2e382c8f131e.png +0 -0
- package/assets/screenshots/index.json +94 -94
- package/assets/screenshots/self-host/extensions-component-kit.dark.ba673f636a8f.png +0 -0
- package/assets/screenshots/self-host/extensions-component-kit.light.282da6a4c589.png +0 -0
- package/assets/screenshots/self-host/instance-audit.dark.21de79247590.png +0 -0
- package/assets/screenshots/self-host/instance-audit.light.dba4eaa712ed.png +0 -0
- package/assets/screenshots/self-host/instance-branding.dark.0ddd4c2df652.png +0 -0
- package/assets/screenshots/self-host/instance-branding.light.c3b7ffef6d4e.png +0 -0
- package/assets/screenshots/self-host/instance-databases.dark.dd2403f84456.png +0 -0
- package/assets/screenshots/self-host/instance-databases.light.3248546636cf.png +0 -0
- package/assets/screenshots/self-host/instance-health.dark.5791805f72b7.png +0 -0
- package/assets/screenshots/self-host/instance-health.light.cbfad910fc8e.png +0 -0
- package/assets/screenshots/self-host/instance-import-check.dark.11ccf001d9f8.png +0 -0
- package/assets/screenshots/self-host/instance-import-check.light.efbbef163d80.png +0 -0
- package/assets/screenshots/self-host/instance-members.dark.d9fa55d364fd.png +0 -0
- package/assets/screenshots/self-host/instance-members.light.7af6bfa48914.png +0 -0
- package/assets/screenshots/self-host/instance-operators.dark.1326e9460224.png +0 -0
- package/assets/screenshots/self-host/instance-operators.light.3f2cac001fb5.png +0 -0
- package/assets/screenshots/self-host/instance-tenants.dark.ba860dc98c90.png +0 -0
- package/assets/screenshots/self-host/instance-tenants.light.6a63877c41b3.png +0 -0
- package/assets/screenshots/self-host/instance-triggers.dark.f2bba07895f2.png +0 -0
- package/assets/screenshots/self-host/instance-triggers.light.dddb827e214a.png +0 -0
- package/assets/screenshots/start/basics-finding-your-way.dark.5cc80a2d591f.png +0 -0
- package/assets/screenshots/start/basics-finding-your-way.light.dddf72e4ad38.png +0 -0
- package/assets/screenshots/start/tut-approve-step.dark.5b773354ba35.png +0 -0
- package/assets/screenshots/start/tut-approve-step.light.b0224c9b1133.png +0 -0
- package/assets/screenshots/start/visit-notes-filtered.dark.f6fb7a707e2f.png +0 -0
- package/assets/screenshots/start/visit-notes-filtered.light.a4b4d64a7fc2.png +0 -0
- package/content/administer/explanation/sso/how-single-sign-on-works.md +2 -0
- package/content/administer/how-to/access/invite-end-users.md +8 -0
- package/content/administer/how-to/access/rule-rows-by-group-or-attribute.md +7 -0
- package/content/administer/how-to/apps/give-an-app-a-hostname.md +1 -1
- package/content/administer/how-to/sso/provision-people-with-scim.md +1 -1
- package/content/administer/reference/screens/branding.md +1 -1
- package/content/administer/reference/screens/end-users.md +3 -1
- package/content/administer/reference/screens/overview.md +21 -0
- package/content/administer/reference/screens/retention.md +3 -2
- package/content/administer/reference/screens/single-sign-on.md +1 -1
- package/content/console/how-to/app-builder/publish-an-app.md +0 -1
- package/content/console/how-to/data/row-rules.md +1 -0
- package/content/console/reference/screens/build/published-apps.md +1 -2
- package/content/console/reference/screens/data/tables.md +1 -1
- package/content/console/reference/screens/home/tenants.md +1 -1
- package/content/develop/explanation/api/how-the-api-knows-who-is-calling.md +10 -3
- package/content/develop/explanation/apps/app-access.md +29 -10
- package/content/develop/explanation/scripts/how-scripts-run.md +1 -1
- package/content/develop/how-to/apps/write-an-app.md +1 -1
- package/content/develop/how-to/cli/install-from-source.md +1 -1
- package/content/develop/how-to/cli/install-the-cli.md +1 -1
- package/content/develop/how-to/cli/test-a-script.md +1 -1
- package/content/develop/how-to/configure/set-up-from-a-script.md +1 -1
- package/content/develop/reference/access/mcp.md +11 -1
- package/content/develop/reference/apps/app-client.md +10 -8
- package/content/develop/reference/apps/content-policy.md +8 -3
- package/content/develop/reference/queries/data-as-code.md +12 -0
- package/content/develop/reference/tenant-widgets/what-a-view-is-given.md +1 -1
- package/content/develop/tutorials/cli/quickstart.md +1 -1
- package/content/self-host/explanation/access/index.md +1 -0
- package/content/self-host/explanation/access/instance-service-accounts.md +66 -0
- package/content/self-host/explanation/access/who-runs-what.md +2 -0
- package/content/self-host/explanation/running/architecture.md +1 -1
- package/content/self-host/explanation/running/egress-and-offline.md +1 -1
- package/content/self-host/explanation/running/managed-workers-and-isolation.md +35 -8
- package/content/self-host/explanation/running/security-hardening.md +9 -8
- package/content/self-host/explanation/running/sizing-and-scaling.md +29 -0
- package/content/self-host/how-to/instance/moving-a-tenant.md +12 -0
- package/content/self-host/how-to/running/back-up-an-instance.md +1 -1
- package/content/self-host/how-to/running/build-the-image.md +1 -1
- package/content/self-host/how-to/running/install-on-fly.md +27 -10
- package/content/self-host/how-to/running/install-with-compose.md +4 -4
- package/content/self-host/how-to/running/monitor-an-instance.md +2 -0
- package/content/self-host/how-to/running/put-a-proxy-in-front.md +7 -8
- package/content/self-host/how-to/running/restore-an-instance.md +34 -5
- package/content/self-host/how-to/running/run-a-standalone-worker.md +2 -2
- package/content/self-host/how-to/running/set-up-mail.md +13 -6
- package/content/self-host/reference/console/health.md +21 -1
- package/content/self-host/reference/running/configuration.md +1 -1
- package/content/self-host/reference/running/requirements.md +9 -2
- package/content/self-host/reference/running/retention.md +2 -1
- package/content/self-host/reference/running/troubleshooting.md +6 -1
- package/content/self-host/reference/running/versions-and-support.md +9 -1
- package/content/self-host/tutorials/install-on-one-machine.md +1 -1
- package/content/start/how-to/example/set-up-the-fernhill-example.md +26 -3
- package/content/start/index.md +11 -1
- package/content/start/reference/accessibility.md +35 -0
- package/content/start/reference/index.md +1 -0
- package/content/start/tutorials/index.md +6 -1
- package/content/start/tutorials/your-first-script.md +0 -1
- package/content/start/tutorials/your-first-table.md +2 -2
- package/dist/assets/screenshots/administer/access-changes.dark.5bf247ce0f19.png +0 -0
- package/dist/assets/screenshots/administer/access-changes.light.ed91948531ce.png +0 -0
- package/dist/assets/screenshots/administer/access-end-users.dark.4d9a5acba896.png +0 -0
- package/dist/assets/screenshots/administer/access-end-users.light.cef020771af1.png +0 -0
- package/dist/assets/screenshots/administer/access-groups.dark.aaf84e089c11.png +0 -0
- package/dist/assets/screenshots/administer/sso-audit-filters.dark.9aa82a2ac9c5.png +0 -0
- package/dist/assets/screenshots/administer/sso-audit-filters.light.5ecfdb651ace.png +0 -0
- package/dist/assets/screenshots/administer/{sso-branding-theme.dark.80bc3ce901a4.png → sso-branding-theme.dark.9a2c0482b3c2.png} +0 -0
- package/dist/assets/screenshots/administer/{sso-branding-theme.light.f48bd968481c.png → sso-branding-theme.light.7be432359625.png} +0 -0
- package/dist/assets/screenshots/administer/{sso-provider-setup.dark.8834ae797a50.png → sso-provider-setup.dark.bc7d126f135d.png} +0 -0
- package/dist/assets/screenshots/administer/sso-provider-setup.light.0cbda9279747.png +0 -0
- package/dist/assets/screenshots/administer/sso-workers-pools.dark.43f043620615.png +0 -0
- package/dist/assets/screenshots/administer/sso-workers-pools.light.25b0e09b2ff0.png +0 -0
- package/dist/assets/screenshots/console/account-sessions.dark.05dbf87d40a9.png +0 -0
- package/dist/assets/screenshots/console/account-sessions.light.2ef44c907ee5.png +0 -0
- package/{assets/screenshots/console/app-builder-list.dark.48340ac81e11.png → dist/assets/screenshots/console/app-builder-list.dark.124cca05b904.png} +0 -0
- package/{assets/screenshots/console/app-builder-list.light.85064d6742d4.png → dist/assets/screenshots/console/app-builder-list.light.082ae0464cbe.png} +0 -0
- package/{assets/screenshots/console/apps-list.dark.6580be4c6f17.png → dist/assets/screenshots/console/apps-list.dark.b24bb8a4fe8f.png} +0 -0
- package/{assets/screenshots/console/apps-list.light.35ac9711c9a0.png → dist/assets/screenshots/console/apps-list.light.fa8996fe55ff.png} +0 -0
- package/dist/assets/screenshots/console/{apps-share.dark.cf87c470cec4.png → apps-share.dark.0bb1a7899419.png} +0 -0
- package/{assets/screenshots/console/apps-share.light.eddc9c058c37.png → dist/assets/screenshots/console/apps-share.light.f26f075b3680.png} +0 -0
- package/dist/assets/screenshots/console/{basics-workspace-overview.dark.75d4329d6bd9.png → basics-workspace-overview.dark.678c40fa9f2a.png} +0 -0
- package/dist/assets/screenshots/console/{basics-workspace-overview.light.0a097241dfcb.png → basics-workspace-overview.light.86f7922860c9.png} +0 -0
- package/dist/assets/screenshots/console/configure-alerts-default.dark.8a2c534aa415.png +0 -0
- package/{assets/screenshots/console/configure-alerts.dark.3e4b58238bd2.png → dist/assets/screenshots/console/configure-alerts.dark.314fe8d7e0c6.png} +0 -0
- package/{assets/screenshots/console/configure-alerts.light.24608f63f849.png → dist/assets/screenshots/console/configure-alerts.light.ff5022a76eca.png} +0 -0
- package/dist/assets/screenshots/console/{configure-connection-sheet.dark.a8ae26d592fb.png → configure-connection-sheet.dark.41ba4383632c.png} +0 -0
- package/dist/assets/screenshots/console/configure-connections.dark.52147265a170.png +0 -0
- package/dist/assets/screenshots/console/{configure-connections.light.c3c1ec8eca52.png → configure-connections.light.8b15826634f1.png} +0 -0
- package/{assets/screenshots/console/dashboard-resource.dark.532f219609cc.png → dist/assets/screenshots/console/dashboard-resource.dark.4188f2810be1.png} +0 -0
- package/dist/assets/screenshots/console/dashboard-resource.light.8211fe9f380e.png +0 -0
- package/{assets/screenshots/console/dashboards-list.light.bb704dd75a30.png → dist/assets/screenshots/console/dashboards-list.light.438e3d23c888.png} +0 -0
- package/dist/assets/screenshots/console/extensions-editor.dark.4e5246f282e2.png +0 -0
- package/{assets/screenshots/console/extensions-list.light.f65bb930d029.png → dist/assets/screenshots/console/extensions-list.light.a1703d257ceb.png} +0 -0
- package/dist/assets/screenshots/console/flow-editor.dark.00229a94001e.png +0 -0
- package/dist/assets/screenshots/console/flow-editor.light.5eb68a339e84.png +0 -0
- package/dist/assets/screenshots/console/operate-approvals.light.1501cede2f94.png +0 -0
- package/dist/assets/screenshots/console/operate-cancel-by-age.dark.419042b822db.png +0 -0
- package/dist/assets/screenshots/console/operate-cancel-by-age.light.7d48915e9922.png +0 -0
- package/dist/assets/screenshots/console/operate-events.dark.2589975f7f46.png +0 -0
- package/dist/assets/screenshots/console/operate-events.light.c4d8d8ae8748.png +0 -0
- package/dist/assets/screenshots/console/operate-run-failed.dark.09addb030b58.png +0 -0
- package/dist/assets/screenshots/console/{operate-run-failed.light.482db87101aa.png → operate-run-failed.light.6163d2f9d3b3.png} +0 -0
- package/dist/assets/screenshots/console/operate-runs.dark.3bf1250f1f59.png +0 -0
- package/dist/assets/screenshots/console/{operate-runs.light.bccafcd93196.png → operate-runs.light.235f6baf6f3d.png} +0 -0
- package/dist/assets/screenshots/console/page-editor.light.3ec1f9d43475.png +0 -0
- package/dist/assets/screenshots/console/queries-editor.dark.ee99f9050a23.png +0 -0
- package/dist/assets/screenshots/console/queries-editor.light.67bd22086115.png +0 -0
- package/dist/assets/screenshots/console/queries-parameters.light.c471d505bbd1.png +0 -0
- package/dist/assets/screenshots/console/{releases-review.dark.34ec540432dc.png → releases-review.dark.091d815aa9c9.png} +0 -0
- package/{assets/screenshots/console/releases-review.light.7f7eea72fc90.png → dist/assets/screenshots/console/releases-review.light.a440c30d08b2.png} +0 -0
- package/{assets/screenshots/console/script-settings-tab.dark.976df3a2aaf0.png → dist/assets/screenshots/console/script-settings-tab.dark.5e96eedd9889.png} +0 -0
- package/dist/assets/screenshots/console/{scripts-test-pane.dark.6112678956ed.png → scripts-test-pane.dark.63dcff509936.png} +0 -0
- package/dist/assets/screenshots/console/{scripts-test-pane.light.2e1b637a8c7a.png → scripts-test-pane.light.bcef48f905b0.png} +0 -0
- package/dist/assets/screenshots/console/table-definition.light.b97883e1b6e0.png +0 -0
- package/dist/assets/screenshots/console/table-help.dark.da3a47215e6b.png +0 -0
- package/dist/assets/screenshots/console/table-help.light.07c67e63ef2e.png +0 -0
- package/dist/assets/screenshots/console/table-rows-filtered.dark.c61524c872a5.png +0 -0
- package/dist/assets/screenshots/console/table-rows-filtered.light.787e71f743dd.png +0 -0
- package/dist/assets/screenshots/console/table-rows.dark.19e2afeb688e.png +0 -0
- package/dist/assets/screenshots/console/table-rows.light.a9249d7b9bd5.png +0 -0
- package/dist/assets/screenshots/console/tut-visit-mix.dark.f1dd71da8937.png +0 -0
- package/{assets/screenshots/console/widgets-chart-scatter.light.e57e41675d8d.png → dist/assets/screenshots/console/widgets-chart-scatter.light.85ea38faaed8.png} +0 -0
- package/dist/assets/screenshots/console/widgets-phone-page.dark.360a39e459c7.png +0 -0
- package/{assets/screenshots/console/workspace-settings.light.3ac3bbfd9f4e.png → dist/assets/screenshots/console/workspace-settings.light.c56e7f5d80f8.png} +0 -0
- package/dist/assets/screenshots/docs/draft-conflict.dark.597b616abec7.png +0 -0
- package/dist/assets/screenshots/docs/draft-conflict.light.6d326a37e8bc.png +0 -0
- package/dist/assets/screenshots/docs/page-details-type.dark.2e382c8f131e.png +0 -0
- package/dist/assets/screenshots/self-host/extensions-component-kit.dark.ba673f636a8f.png +0 -0
- package/dist/assets/screenshots/self-host/extensions-component-kit.light.282da6a4c589.png +0 -0
- package/dist/assets/screenshots/self-host/instance-audit.dark.21de79247590.png +0 -0
- package/dist/assets/screenshots/self-host/instance-audit.light.dba4eaa712ed.png +0 -0
- package/dist/assets/screenshots/self-host/instance-branding.dark.0ddd4c2df652.png +0 -0
- package/dist/assets/screenshots/self-host/instance-branding.light.c3b7ffef6d4e.png +0 -0
- package/dist/assets/screenshots/self-host/instance-databases.dark.dd2403f84456.png +0 -0
- package/dist/assets/screenshots/self-host/instance-databases.light.3248546636cf.png +0 -0
- package/dist/assets/screenshots/self-host/instance-health.dark.5791805f72b7.png +0 -0
- package/dist/assets/screenshots/self-host/instance-health.light.cbfad910fc8e.png +0 -0
- package/dist/assets/screenshots/self-host/instance-import-check.dark.11ccf001d9f8.png +0 -0
- package/dist/assets/screenshots/self-host/instance-import-check.light.efbbef163d80.png +0 -0
- package/dist/assets/screenshots/self-host/instance-members.dark.d9fa55d364fd.png +0 -0
- package/dist/assets/screenshots/self-host/instance-members.light.7af6bfa48914.png +0 -0
- package/dist/assets/screenshots/self-host/instance-operators.dark.1326e9460224.png +0 -0
- package/dist/assets/screenshots/self-host/instance-operators.light.3f2cac001fb5.png +0 -0
- package/dist/assets/screenshots/self-host/instance-tenants.dark.ba860dc98c90.png +0 -0
- package/dist/assets/screenshots/self-host/instance-tenants.light.6a63877c41b3.png +0 -0
- package/dist/assets/screenshots/self-host/instance-triggers.dark.f2bba07895f2.png +0 -0
- package/dist/assets/screenshots/self-host/instance-triggers.light.dddb827e214a.png +0 -0
- package/dist/assets/screenshots/start/basics-finding-your-way.dark.5cc80a2d591f.png +0 -0
- package/dist/assets/screenshots/start/basics-finding-your-way.light.dddf72e4ad38.png +0 -0
- package/dist/assets/screenshots/start/tut-approve-step.dark.5b773354ba35.png +0 -0
- package/dist/assets/screenshots/start/tut-approve-step.light.b0224c9b1133.png +0 -0
- package/dist/assets/screenshots/start/visit-notes-filtered.dark.f6fb7a707e2f.png +0 -0
- package/dist/assets/screenshots/start/visit-notes-filtered.light.a4b4d64a7fc2.png +0 -0
- package/dist/fields.json +1 -1
- package/dist/manifest.json +1 -1
- package/dist/md/administer/explanation/sso/how-single-sign-on-works.md +2 -0
- package/dist/md/administer/how-to/access/invite-end-users.md +8 -0
- package/dist/md/administer/how-to/access/rule-rows-by-group-or-attribute.md +7 -0
- package/dist/md/administer/how-to/apps/give-an-app-a-hostname.md +1 -1
- package/dist/md/administer/how-to/sso/provision-people-with-scim.md +1 -1
- package/dist/md/administer/reference/audit-actions.md +1 -0
- package/dist/md/administer/reference/permissions.md +1 -0
- package/dist/md/administer/reference/screens/branding.md +1 -1
- package/dist/md/administer/reference/screens/end-users.md +3 -1
- package/dist/md/administer/reference/screens/overview.md +21 -0
- package/dist/md/administer/reference/screens/retention.md +3 -2
- package/dist/md/administer/reference/screens/single-sign-on.md +1 -1
- package/dist/md/console/how-to/app-builder/publish-an-app.md +0 -1
- package/dist/md/console/how-to/data/row-rules.md +1 -0
- package/dist/md/console/reference/screens/build/published-apps.md +1 -2
- package/dist/md/console/reference/screens/data/tables.md +1 -1
- package/dist/md/console/reference/screens/home/tenants.md +1 -1
- package/dist/md/develop/explanation/api/how-the-api-knows-who-is-calling.md +10 -3
- package/dist/md/develop/explanation/apps/app-access.md +29 -10
- package/dist/md/develop/explanation/scripts/how-scripts-run.md +1 -1
- package/dist/md/develop/how-to/apps/write-an-app.md +1 -1
- package/dist/md/develop/how-to/cli/install-from-source.md +1 -1
- package/dist/md/develop/how-to/cli/install-the-cli.md +1 -1
- package/dist/md/develop/how-to/cli/test-a-script.md +1 -1
- package/dist/md/develop/how-to/configure/set-up-from-a-script.md +1 -1
- package/dist/md/develop/reference/access/mcp.md +11 -1
- package/dist/md/develop/reference/api/agents.md +27 -1
- package/dist/md/develop/reference/api/apps.md +25 -1
- package/dist/md/develop/reference/api/end-users.md +71 -6
- package/dist/md/develop/reference/api/figures.md +160 -0
- package/dist/md/develop/reference/api/identity.md +318 -1
- package/dist/md/develop/reference/api/index.md +7 -6
- package/dist/md/develop/reference/api/instance.md +59 -1
- package/dist/md/develop/reference/api/permissions.md +13 -4
- package/dist/md/develop/reference/api/tenancy.md +13 -0
- package/dist/md/develop/reference/apps/app-client.md +10 -8
- package/dist/md/develop/reference/apps/content-policy.md +8 -3
- package/dist/md/develop/reference/errors.md +6 -0
- package/dist/md/develop/reference/kinds/dashboard.md +10 -0
- package/dist/md/develop/reference/kinds/interface.md +10 -0
- package/dist/md/develop/reference/kinds/widget.md +1 -1
- package/dist/md/develop/reference/queries/data-as-code.md +12 -0
- package/dist/md/develop/reference/sdk/sdk.md +1 -1
- package/dist/md/develop/reference/sdk/widgets-page.md +13 -0
- package/dist/md/develop/reference/sdk/widgets.md +2 -2
- package/dist/md/develop/reference/tenant-widgets/what-a-view-is-given.md +1 -1
- package/dist/md/develop/reference/widgets/chart.md +1 -1
- package/dist/md/develop/reference/widgets/goal.md +1 -1
- package/dist/md/develop/reference/widgets/pivot.md +1 -1
- package/dist/md/develop/reference/widgets/stat.md +1 -1
- package/dist/md/develop/tutorials/cli/quickstart.md +1 -1
- package/dist/md/self-host/explanation/access/index.md +1 -0
- package/dist/md/self-host/explanation/access/instance-service-accounts.md +66 -0
- package/dist/md/self-host/explanation/access/who-runs-what.md +2 -0
- package/dist/md/self-host/explanation/running/architecture.md +1 -1
- package/dist/md/self-host/explanation/running/egress-and-offline.md +1 -1
- package/dist/md/self-host/explanation/running/managed-workers-and-isolation.md +35 -8
- package/dist/md/self-host/explanation/running/security-hardening.md +9 -8
- package/dist/md/self-host/explanation/running/sizing-and-scaling.md +29 -0
- package/dist/md/self-host/how-to/instance/moving-a-tenant.md +12 -0
- package/dist/md/self-host/how-to/running/back-up-an-instance.md +1 -1
- package/dist/md/self-host/how-to/running/build-the-image.md +1 -1
- package/dist/md/self-host/how-to/running/install-on-fly.md +27 -10
- package/dist/md/self-host/how-to/running/install-with-compose.md +4 -4
- package/dist/md/self-host/how-to/running/monitor-an-instance.md +2 -0
- package/dist/md/self-host/how-to/running/put-a-proxy-in-front.md +7 -8
- package/dist/md/self-host/how-to/running/restore-an-instance.md +34 -5
- package/dist/md/self-host/how-to/running/run-a-standalone-worker.md +2 -2
- package/dist/md/self-host/how-to/running/set-up-mail.md +13 -6
- package/dist/md/self-host/reference/console/health.md +21 -1
- package/dist/md/self-host/reference/running/configuration.md +1 -1
- package/dist/md/self-host/reference/running/requirements.md +9 -2
- package/dist/md/self-host/reference/running/retention.md +2 -1
- package/dist/md/self-host/reference/running/troubleshooting.md +6 -1
- package/dist/md/self-host/reference/running/versions-and-support.md +9 -1
- package/dist/md/self-host/reference/settings.md +2 -2
- package/dist/md/self-host/tutorials/install-on-one-machine.md +1 -1
- package/dist/md/start/how-to/example/set-up-the-fernhill-example.md +26 -3
- package/dist/md/start/index.md +11 -1
- package/dist/md/start/reference/accessibility.md +35 -0
- package/dist/md/start/reference/changelog/0-7-0.md +208 -0
- package/dist/md/start/reference/index.md +1 -0
- package/dist/md/start/tutorials/index.md +6 -1
- package/dist/md/start/tutorials/your-first-script.md +0 -1
- package/dist/md/start/tutorials/your-first-table.md +2 -2
- package/dist/pages/administer/explanation/sso/how-single-sign-on-works.json +1 -1
- package/dist/pages/administer/how-to/access/invite-end-users.json +1 -1
- package/dist/pages/administer/how-to/access/rule-rows-by-group-or-attribute.json +1 -1
- package/dist/pages/administer/how-to/apps/give-an-app-a-hostname.json +1 -1
- package/dist/pages/administer/how-to/sso/provision-people-with-scim.json +1 -1
- package/dist/pages/administer/reference/audit-actions.json +1 -1
- package/dist/pages/administer/reference/permissions.json +1 -1
- package/dist/pages/administer/reference/screens/branding.json +1 -1
- package/dist/pages/administer/reference/screens/end-users.json +1 -1
- package/dist/pages/administer/reference/screens/overview.json +1 -1
- package/dist/pages/administer/reference/screens/retention.json +1 -1
- package/dist/pages/administer/reference/screens/single-sign-on.json +1 -1
- package/dist/pages/console/how-to/app-builder/publish-an-app.json +1 -1
- package/dist/pages/console/how-to/data/row-rules.json +1 -1
- package/dist/pages/console/reference/screens/build/published-apps.json +1 -1
- package/dist/pages/console/reference/screens/data/tables.json +1 -1
- package/dist/pages/console/reference/screens/home/tenants.json +1 -1
- package/dist/pages/develop/explanation/api/how-the-api-knows-who-is-calling.json +1 -1
- package/dist/pages/develop/explanation/apps/app-access.json +1 -1
- package/dist/pages/develop/explanation/scripts/how-scripts-run.json +1 -1
- package/dist/pages/develop/how-to/apps/write-an-app.json +1 -1
- package/dist/pages/develop/how-to/cli/install-from-source.json +1 -1
- package/dist/pages/develop/how-to/cli/install-the-cli.json +1 -1
- package/dist/pages/develop/how-to/cli/test-a-script.json +1 -1
- package/dist/pages/develop/how-to/configure/set-up-from-a-script.json +1 -1
- package/dist/pages/develop/reference/access/mcp.json +1 -1
- package/dist/pages/develop/reference/api/agents.json +1 -1
- package/dist/pages/develop/reference/api/apps.json +1 -1
- package/dist/pages/develop/reference/api/end-users.json +1 -1
- package/dist/pages/develop/reference/api/figures.json +1 -0
- package/dist/pages/develop/reference/api/identity.json +1 -1
- package/dist/pages/develop/reference/api/index.json +1 -1
- package/dist/pages/develop/reference/api/instance.json +1 -1
- package/dist/pages/develop/reference/api/permissions.json +1 -1
- package/dist/pages/develop/reference/api/tenancy.json +1 -1
- package/dist/pages/develop/reference/apps/app-client.json +1 -1
- package/dist/pages/develop/reference/apps/content-policy.json +1 -1
- package/dist/pages/develop/reference/errors.json +1 -1
- package/dist/pages/develop/reference/kinds/dashboard.json +1 -1
- package/dist/pages/develop/reference/kinds/interface.json +1 -1
- package/dist/pages/develop/reference/kinds/widget.json +1 -1
- package/dist/pages/develop/reference/queries/data-as-code.json +1 -1
- package/dist/pages/develop/reference/sdk/sdk.json +1 -1
- package/dist/pages/develop/reference/sdk/widgets-page.json +1 -1
- package/dist/pages/develop/reference/sdk/widgets.json +1 -1
- package/dist/pages/develop/reference/tenant-widgets/what-a-view-is-given.json +1 -1
- package/dist/pages/develop/reference/widgets/chart.json +1 -1
- package/dist/pages/develop/reference/widgets/goal.json +1 -1
- package/dist/pages/develop/reference/widgets/pivot.json +1 -1
- package/dist/pages/develop/reference/widgets/stat.json +1 -1
- package/dist/pages/develop/tutorials/cli/quickstart.json +1 -1
- package/dist/pages/self-host/explanation/access/index.json +1 -1
- package/dist/pages/self-host/explanation/access/instance-service-accounts.json +1 -0
- package/dist/pages/self-host/explanation/access/who-runs-what.json +1 -1
- package/dist/pages/self-host/explanation/running/architecture.json +1 -1
- package/dist/pages/self-host/explanation/running/egress-and-offline.json +1 -1
- package/dist/pages/self-host/explanation/running/managed-workers-and-isolation.json +1 -1
- package/dist/pages/self-host/explanation/running/security-hardening.json +1 -1
- package/dist/pages/self-host/explanation/running/sizing-and-scaling.json +1 -1
- package/dist/pages/self-host/how-to/instance/moving-a-tenant.json +1 -1
- package/dist/pages/self-host/how-to/running/back-up-an-instance.json +1 -1
- package/dist/pages/self-host/how-to/running/build-the-image.json +1 -1
- package/dist/pages/self-host/how-to/running/install-on-fly.json +1 -1
- package/dist/pages/self-host/how-to/running/install-with-compose.json +1 -1
- package/dist/pages/self-host/how-to/running/monitor-an-instance.json +1 -1
- package/dist/pages/self-host/how-to/running/put-a-proxy-in-front.json +1 -1
- package/dist/pages/self-host/how-to/running/restore-an-instance.json +1 -1
- package/dist/pages/self-host/how-to/running/run-a-standalone-worker.json +1 -1
- package/dist/pages/self-host/how-to/running/set-up-mail.json +1 -1
- package/dist/pages/self-host/reference/console/health.json +1 -1
- package/dist/pages/self-host/reference/running/configuration.json +1 -1
- package/dist/pages/self-host/reference/running/requirements.json +1 -1
- package/dist/pages/self-host/reference/running/retention.json +1 -1
- package/dist/pages/self-host/reference/running/troubleshooting.json +1 -1
- package/dist/pages/self-host/reference/running/versions-and-support.json +1 -1
- package/dist/pages/self-host/reference/settings.json +1 -1
- package/dist/pages/self-host/tutorials/install-on-one-machine.json +1 -1
- package/dist/pages/start/how-to/example/set-up-the-fernhill-example.json +1 -1
- package/dist/pages/start/index.json +1 -1
- package/dist/pages/start/reference/accessibility.json +1 -0
- package/dist/pages/start/reference/changelog/0-7-0.json +1 -0
- package/dist/pages/start/reference/index.json +1 -1
- package/dist/pages/start/tutorials/index.json +1 -1
- package/dist/pages/start/tutorials/your-first-script.json +1 -1
- package/dist/pages/start/tutorials/your-first-table.json +1 -1
- package/dist/redirects.json +1 -1
- package/dist/search.json +1 -1
- package/generated/administer/reference/audit-actions.md +1 -0
- package/generated/administer/reference/permissions.md +1 -0
- package/generated/develop/reference/api/agents.md +27 -1
- package/generated/develop/reference/api/apps.md +25 -1
- package/generated/develop/reference/api/end-users.md +71 -6
- package/generated/develop/reference/api/figures.md +160 -0
- package/generated/develop/reference/api/identity.md +318 -1
- package/generated/develop/reference/api/index.md +7 -6
- package/generated/develop/reference/api/instance.md +59 -1
- package/generated/develop/reference/api/permissions.md +13 -4
- package/generated/develop/reference/api/tenancy.md +13 -0
- package/generated/develop/reference/errors.md +6 -0
- package/generated/develop/reference/kinds/dashboard.md +10 -0
- package/generated/develop/reference/kinds/interface.md +10 -0
- package/generated/develop/reference/kinds/widget.md +1 -1
- package/generated/develop/reference/sdk/sdk.md +1 -1
- package/generated/develop/reference/sdk/widgets-page.md +13 -0
- package/generated/develop/reference/sdk/widgets.md +2 -2
- package/generated/develop/reference/widgets/chart.md +1 -1
- package/generated/develop/reference/widgets/goal.md +1 -1
- package/generated/develop/reference/widgets/pivot.md +1 -1
- package/generated/develop/reference/widgets/stat.md +1 -1
- package/generated/openapi.json +4899 -1734
- package/generated/self-host/reference/settings.md +2 -2
- package/generated/start/reference/changelog/0-7-0.md +208 -0
- package/package.json +11 -6
- package/assets/screenshots/administer/access-changes.dark.5b3255fafe5c.png +0 -0
- package/assets/screenshots/administer/access-changes.light.cff6913107a3.png +0 -0
- package/assets/screenshots/administer/access-end-users.dark.c0d4e526952b.png +0 -0
- package/assets/screenshots/administer/access-end-users.light.b3368747a4d3.png +0 -0
- package/assets/screenshots/administer/access-groups.dark.bff155b79a2c.png +0 -0
- package/assets/screenshots/administer/sso-audit-filters.dark.b6a4dc01aa2c.png +0 -0
- package/assets/screenshots/administer/sso-audit-filters.light.1a295f8a94ff.png +0 -0
- package/assets/screenshots/administer/sso-provider-setup.light.b7e337ee30fb.png +0 -0
- package/assets/screenshots/administer/sso-workers-pools.dark.2270cb13aaab.png +0 -0
- package/assets/screenshots/administer/sso-workers-pools.light.1efebb29f50c.png +0 -0
- package/assets/screenshots/console/account-sessions.dark.678e11711e06.png +0 -0
- package/assets/screenshots/console/account-sessions.light.d742e8f3d3d1.png +0 -0
- package/assets/screenshots/console/configure-alerts-default.dark.425955f71c50.png +0 -0
- package/assets/screenshots/console/configure-connections.dark.7b64ffab4c8c.png +0 -0
- package/assets/screenshots/console/dashboard-resource.light.55b36abe8e0e.png +0 -0
- package/assets/screenshots/console/extensions-editor.dark.ebb816369d53.png +0 -0
- package/assets/screenshots/console/flow-editor.dark.caab11f209cb.png +0 -0
- package/assets/screenshots/console/flow-editor.light.bfc7e6b366dc.png +0 -0
- package/assets/screenshots/console/operate-approvals.light.36987d0a4c62.png +0 -0
- package/assets/screenshots/console/operate-cancel-by-age.dark.2786b42ecfbe.png +0 -0
- package/assets/screenshots/console/operate-cancel-by-age.light.8ef6601ebbe7.png +0 -0
- package/assets/screenshots/console/operate-events.dark.7067e88d771e.png +0 -0
- package/assets/screenshots/console/operate-events.light.b58a8c7f0b04.png +0 -0
- package/assets/screenshots/console/operate-run-failed.dark.eb8c52a9fcf7.png +0 -0
- package/assets/screenshots/console/operate-runs.dark.ae45d93820b3.png +0 -0
- package/assets/screenshots/console/page-editor.light.2023b176d1a0.png +0 -0
- package/assets/screenshots/console/queries-editor.dark.b0ef383c3b90.png +0 -0
- package/assets/screenshots/console/queries-editor.light.8e413390ad34.png +0 -0
- package/assets/screenshots/console/queries-parameters.light.9bca851e025c.png +0 -0
- package/assets/screenshots/console/table-definition.light.ff11cce13c18.png +0 -0
- package/assets/screenshots/console/table-help.dark.bc35e748426c.png +0 -0
- package/assets/screenshots/console/table-help.light.fb1b109ee396.png +0 -0
- package/assets/screenshots/console/table-rows-filtered.dark.6fab42faa122.png +0 -0
- package/assets/screenshots/console/table-rows-filtered.light.aa9881d95f4d.png +0 -0
- package/assets/screenshots/console/table-rows.dark.4ce02d5478c9.png +0 -0
- package/assets/screenshots/console/table-rows.light.a1f7d91a9e77.png +0 -0
- package/assets/screenshots/console/tut-visit-mix.dark.724c62999f95.png +0 -0
- package/assets/screenshots/console/widgets-phone-page.dark.386738c3e5fb.png +0 -0
- package/assets/screenshots/docs/draft-conflict.dark.894a4f116020.png +0 -0
- package/assets/screenshots/docs/draft-conflict.light.c5187649da9a.png +0 -0
- package/assets/screenshots/docs/page-details-type.dark.26fda0943a41.png +0 -0
- package/assets/screenshots/self-host/extensions-component-kit.dark.95cf642b62b6.png +0 -0
- package/assets/screenshots/self-host/extensions-component-kit.light.d4d7ae43474d.png +0 -0
- package/assets/screenshots/self-host/instance-audit.dark.eabb7e1545a2.png +0 -0
- package/assets/screenshots/self-host/instance-audit.light.e0704c3e2f3c.png +0 -0
- package/assets/screenshots/self-host/instance-branding.dark.65706ba2f266.png +0 -0
- package/assets/screenshots/self-host/instance-branding.light.53ef9943efc1.png +0 -0
- package/assets/screenshots/self-host/instance-databases.dark.17e36475132c.png +0 -0
- package/assets/screenshots/self-host/instance-databases.light.6bd31df9f812.png +0 -0
- package/assets/screenshots/self-host/instance-health.dark.7ddc9725c6e5.png +0 -0
- package/assets/screenshots/self-host/instance-health.light.5d8697f0135a.png +0 -0
- package/assets/screenshots/self-host/instance-import-check.dark.b54f53b17e5e.png +0 -0
- package/assets/screenshots/self-host/instance-import-check.light.b33217f8efdf.png +0 -0
- package/assets/screenshots/self-host/instance-members.dark.3f319a2912d7.png +0 -0
- package/assets/screenshots/self-host/instance-members.light.3f90be8b0556.png +0 -0
- package/assets/screenshots/self-host/instance-operators.dark.fb0fcc88cc66.png +0 -0
- package/assets/screenshots/self-host/instance-operators.light.038f3f725bec.png +0 -0
- package/assets/screenshots/self-host/instance-tenants.dark.1f2501ef99c1.png +0 -0
- package/assets/screenshots/self-host/instance-tenants.light.9c1b997a9f5b.png +0 -0
- package/assets/screenshots/self-host/instance-triggers.dark.2c3cffed2649.png +0 -0
- package/assets/screenshots/self-host/instance-triggers.light.b0a06ee78d65.png +0 -0
- package/assets/screenshots/start/basics-finding-your-way.dark.05cc7d67b47c.png +0 -0
- package/assets/screenshots/start/basics-finding-your-way.light.45790efbcb57.png +0 -0
- package/assets/screenshots/start/tut-approve-step.dark.dc691e002e9e.png +0 -0
- package/assets/screenshots/start/tut-approve-step.light.9c219b4d2d1a.png +0 -0
- package/assets/screenshots/start/visit-notes-filtered.dark.f26ec0b4168c.png +0 -0
- package/assets/screenshots/start/visit-notes-filtered.light.841ac7004f1c.png +0 -0
- package/dist/assets/screenshots/administer/access-changes.dark.5b3255fafe5c.png +0 -0
- package/dist/assets/screenshots/administer/access-changes.light.cff6913107a3.png +0 -0
- package/dist/assets/screenshots/administer/access-end-users.dark.c0d4e526952b.png +0 -0
- package/dist/assets/screenshots/administer/access-end-users.light.b3368747a4d3.png +0 -0
- package/dist/assets/screenshots/administer/access-groups.dark.bff155b79a2c.png +0 -0
- package/dist/assets/screenshots/administer/sso-audit-filters.dark.b6a4dc01aa2c.png +0 -0
- package/dist/assets/screenshots/administer/sso-audit-filters.light.1a295f8a94ff.png +0 -0
- package/dist/assets/screenshots/administer/sso-provider-setup.light.b7e337ee30fb.png +0 -0
- package/dist/assets/screenshots/administer/sso-workers-pools.dark.2270cb13aaab.png +0 -0
- package/dist/assets/screenshots/administer/sso-workers-pools.light.1efebb29f50c.png +0 -0
- package/dist/assets/screenshots/console/account-sessions.dark.678e11711e06.png +0 -0
- package/dist/assets/screenshots/console/account-sessions.light.d742e8f3d3d1.png +0 -0
- package/dist/assets/screenshots/console/configure-alerts-default.dark.425955f71c50.png +0 -0
- package/dist/assets/screenshots/console/configure-connections.dark.7b64ffab4c8c.png +0 -0
- package/dist/assets/screenshots/console/dashboard-resource.light.55b36abe8e0e.png +0 -0
- package/dist/assets/screenshots/console/extensions-editor.dark.ebb816369d53.png +0 -0
- package/dist/assets/screenshots/console/flow-editor.dark.caab11f209cb.png +0 -0
- package/dist/assets/screenshots/console/flow-editor.light.bfc7e6b366dc.png +0 -0
- package/dist/assets/screenshots/console/operate-approvals.light.36987d0a4c62.png +0 -0
- package/dist/assets/screenshots/console/operate-cancel-by-age.dark.2786b42ecfbe.png +0 -0
- package/dist/assets/screenshots/console/operate-cancel-by-age.light.8ef6601ebbe7.png +0 -0
- package/dist/assets/screenshots/console/operate-events.dark.7067e88d771e.png +0 -0
- package/dist/assets/screenshots/console/operate-events.light.b58a8c7f0b04.png +0 -0
- package/dist/assets/screenshots/console/operate-run-failed.dark.eb8c52a9fcf7.png +0 -0
- package/dist/assets/screenshots/console/operate-runs.dark.ae45d93820b3.png +0 -0
- package/dist/assets/screenshots/console/page-editor.light.2023b176d1a0.png +0 -0
- package/dist/assets/screenshots/console/queries-editor.dark.b0ef383c3b90.png +0 -0
- package/dist/assets/screenshots/console/queries-editor.light.8e413390ad34.png +0 -0
- package/dist/assets/screenshots/console/queries-parameters.light.9bca851e025c.png +0 -0
- package/dist/assets/screenshots/console/table-definition.light.ff11cce13c18.png +0 -0
- package/dist/assets/screenshots/console/table-help.dark.bc35e748426c.png +0 -0
- package/dist/assets/screenshots/console/table-help.light.fb1b109ee396.png +0 -0
- package/dist/assets/screenshots/console/table-rows-filtered.dark.6fab42faa122.png +0 -0
- package/dist/assets/screenshots/console/table-rows-filtered.light.aa9881d95f4d.png +0 -0
- package/dist/assets/screenshots/console/table-rows.dark.4ce02d5478c9.png +0 -0
- package/dist/assets/screenshots/console/table-rows.light.a1f7d91a9e77.png +0 -0
- package/dist/assets/screenshots/console/tut-visit-mix.dark.724c62999f95.png +0 -0
- package/dist/assets/screenshots/console/widgets-phone-page.dark.386738c3e5fb.png +0 -0
- package/dist/assets/screenshots/docs/draft-conflict.dark.894a4f116020.png +0 -0
- package/dist/assets/screenshots/docs/draft-conflict.light.c5187649da9a.png +0 -0
- package/dist/assets/screenshots/docs/page-details-type.dark.26fda0943a41.png +0 -0
- package/dist/assets/screenshots/self-host/extensions-component-kit.dark.95cf642b62b6.png +0 -0
- package/dist/assets/screenshots/self-host/extensions-component-kit.light.d4d7ae43474d.png +0 -0
- package/dist/assets/screenshots/self-host/instance-audit.dark.eabb7e1545a2.png +0 -0
- package/dist/assets/screenshots/self-host/instance-audit.light.e0704c3e2f3c.png +0 -0
- package/dist/assets/screenshots/self-host/instance-branding.dark.65706ba2f266.png +0 -0
- package/dist/assets/screenshots/self-host/instance-branding.light.53ef9943efc1.png +0 -0
- package/dist/assets/screenshots/self-host/instance-databases.dark.17e36475132c.png +0 -0
- package/dist/assets/screenshots/self-host/instance-databases.light.6bd31df9f812.png +0 -0
- package/dist/assets/screenshots/self-host/instance-health.dark.7ddc9725c6e5.png +0 -0
- package/dist/assets/screenshots/self-host/instance-health.light.5d8697f0135a.png +0 -0
- package/dist/assets/screenshots/self-host/instance-import-check.dark.b54f53b17e5e.png +0 -0
- package/dist/assets/screenshots/self-host/instance-import-check.light.b33217f8efdf.png +0 -0
- package/dist/assets/screenshots/self-host/instance-members.dark.3f319a2912d7.png +0 -0
- package/dist/assets/screenshots/self-host/instance-members.light.3f90be8b0556.png +0 -0
- package/dist/assets/screenshots/self-host/instance-operators.dark.fb0fcc88cc66.png +0 -0
- package/dist/assets/screenshots/self-host/instance-operators.light.038f3f725bec.png +0 -0
- package/dist/assets/screenshots/self-host/instance-tenants.dark.1f2501ef99c1.png +0 -0
- package/dist/assets/screenshots/self-host/instance-tenants.light.9c1b997a9f5b.png +0 -0
- package/dist/assets/screenshots/self-host/instance-triggers.dark.2c3cffed2649.png +0 -0
- package/dist/assets/screenshots/self-host/instance-triggers.light.b0a06ee78d65.png +0 -0
- package/dist/assets/screenshots/start/basics-finding-your-way.dark.05cc7d67b47c.png +0 -0
- package/dist/assets/screenshots/start/basics-finding-your-way.light.45790efbcb57.png +0 -0
- package/dist/assets/screenshots/start/tut-approve-step.dark.dc691e002e9e.png +0 -0
- package/dist/assets/screenshots/start/tut-approve-step.light.9c219b4d2d1a.png +0 -0
- package/dist/assets/screenshots/start/visit-notes-filtered.dark.f26ec0b4168c.png +0 -0
- package/dist/assets/screenshots/start/visit-notes-filtered.light.841ac7004f1c.png +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"path":"develop/reference/widgets/stat","title":"Stat","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"The widget ","line":8},{"type":"inlineCode","value":"core/stat","line":8},{"type":"text","value":", version 1.0.0. One number: total, count, average. It is in the category Understand data, and may be put on an app's page and a dashboard.","line":8}],"line":8},{"type":"heading","depth":2,"id":"what-it-reads","children":[{"type":"text","value":"What it reads","line":12}],"line":12},{"type":"table","align":[null,null,null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Input","line":14}]},{"type":"tableCell","children":[{"type":"text","value":"Shape","line":14}]},{"type":"tableCell","children":[{"type":"text","value":"Needed","line":14}]},{"type":"tableCell","children":[{"type":"text","value":"Comes from","line":14}]},{"type":"tableCell","children":[{"type":"text","value":"Notes","line":14}]}],"line":14},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"value","line":16}]},{"type":"tableCell","children":[{"type":"text","value":"summary: rows gathered into groups with values worked out for each, or one line of values","line":16}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":16}]},{"type":"tableCell","children":[{"type":"text","value":"A table or a query; on a dashboard, SQL too.","line":16}]},{"type":"tableCell","children":[{"type":"text","value":"Works out 1 to 1 values. Broken down 0 to 0 ways.","line":16}]}],"line":16}],"line":14},{"type":"heading","depth":2,"id":"what-it-does-when-used","children":[{"type":"text","value":"What it does when used","line":18}],"line":18},{"type":"paragraph","children":[{"type":"text","value":"Each event may have an ","line":20},{"type":"link","href":"action-steps","children":[{"type":"text","value":"action","line":20}],"line":20},{"type":"text","value":" attached.","line":20}],"line":20},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Event","line":22}]},{"type":"tableCell","children":[{"type":"text","value":"When","line":22}]},{"type":"tableCell","children":[{"type":"text","value":"What it gives the action","line":22}]}],"line":22},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"click","line":24}]},{"type":"tableCell","children":[{"type":"text","value":"When it is clicked","line":24}]},{"type":"tableCell","children":[{"type":"text","value":"Nothing.","line":24}]}],"line":24}],"line":22},{"type":"heading","depth":2,"id":"size","children":[{"type":"text","value":"Size","line":26}],"line":26},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"Columns by rows","line":28}]}],"line":28},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Smallest","line":30}]},{"type":"tableCell","children":[{"type":"text","value":"2 by 2","line":30}]}],"line":30},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"When added","line":31}]},{"type":"tableCell","children":[{"type":"text","value":"3 by 3","line":31}]}],"line":31}],"line":28},{"type":"paragraph","children":[{"type":"text","value":"The grid has twelve columns, and a row is 40 pixels high. On a phone: it takes the full width, in reading order.","line":33}],"line":33},{"type":"heading","depth":2,"id":"settings","children":[{"type":"text","value":"Settings","line":35}],"line":35},{"type":"paragraph","children":[{"type":"text","value":"A field with ","line":37},{"type":"inlineCode","value":"*","line":37},{"type":"text","value":" in its path is inside a list, or under a name of the author's choosing. A setting left out takes its default.","line":37}],"line":37},{"type":"table","align":[null,null,null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Setting","line":39}]},{"type":"tableCell","children":[{"type":"text","value":"Holds","line":39}]},{"type":"tableCell","children":[{"type":"text","value":"Default","line":39}]},{"type":"tableCell","children":[{"type":"text","value":"Where in the editor","line":39}]},{"type":"tableCell","children":[{"type":"text","value":"What it does","line":39}]}],"line":39},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"caption","line":41}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":41}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"“Caption”, Display, Heading","line":41}]},{"type":"tableCell","children":[{"type":"text","value":"Such as “Not yet paid”. {previous} is the number for the period before. At most 200 characters.","line":41}]}],"line":41},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"format","line":42}]},{"type":"tableCell","children":[{"type":"text","value":"object","line":42}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"“Numbers”, Display, Look","line":42}]},{"type":"tableCell","children":[{"type":"text","value":"How the number is written.","line":42}]}],"line":42},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"format.style","line":43}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"number","line":43},{"type":"text","value":", ","line":43},{"type":"inlineCode","value":"currency","line":43},{"type":"text","value":", ","line":43},{"type":"inlineCode","value":"percent","line":43}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"How the number is written: as a plain number, as money or as a percentage.","line":43}]}],"line":43},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"format.currency","line":44}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":44}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"The currency of money, as its three-letter code, such as ","line":44},{"type":"inlineCode","value":"USD","line":44},{"type":"text","value":". Money without one is in US dollars. Pattern ","line":44},{"type":"inlineCode","value":"^[A-Z]{3}$","line":44},{"type":"text","value":".","line":44}]}],"line":44},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"format.minorUnits","line":45}]},{"type":"tableCell","children":[{"type":"text","value":"boolean","line":45}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"The value is kept in the smallest unit, such as cents, and is shown in the whole unit.","line":45}]}],"line":45},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"format.decimals","line":46}]},{"type":"tableCell","children":[{"type":"text","value":"integer","line":46}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"How many digits follow the point. Minimum 0. Maximum 6.","line":46}]}],"line":46},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"format.notation","line":47}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"compact","line":47}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"inlineCode","value":"compact","line":47},{"type":"text","value":" writes 43,120 as 43.1K.","line":47}]}],"line":47},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"format.grouping","line":48}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"false","line":48}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"inlineCode","value":"false","line":48},{"type":"text","value":" writes 43120, not 43,120.","line":48}]}],"line":48},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"trendBy","line":49}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":49}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"“A line of how it went, by”, Display, Look, More options","line":49}]},{"type":"tableCell","children":[{"type":"text","value":"A column of dates or times: a small line under the number shows how it went, by it. Pattern ","line":49},{"type":"inlineCode","value":"^[a-z][a-z0-9_]{0,62}(\\.[a-z][a-z0-9_]{0,62})?$","line":49},{"type":"text","value":".","line":49}]}],"line":49},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"compare","line":50}]},{"type":"tableCell","children":[{"type":"text","value":"boolean","line":50}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"“Compare with the period before”, Display, Compare","line":50}]},{"type":"tableCell","children":[{"type":"text","value":"Compare with the period before. The drawer stores it with ","line":50},{"type":"inlineCode","value":"compareTo","line":50},{"type":"text","value":", the page's date filter it uses (","line":50},{"type":"inlineCode","value":"withCompare","line":50},{"type":"text","value":"); the server reads ","line":50},{"type":"inlineCode","value":"compareTo","line":50},{"type":"text","value":".","line":50}]}],"line":50},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"compareTo","line":51}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":51}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"“The range it is compared across”, Display, Compare, More options","line":51}]},{"type":"tableCell","children":[{"type":"text","value":"A page filter of dates. Set for you when you switch the comparison on. Pattern ","line":51},{"type":"inlineCode","value":"^[a-z][a-z0-9_]{0,54}$","line":51},{"type":"text","value":".","line":51}]}],"line":51},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"delta","line":52}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"percent","line":52},{"type":"text","value":", ","line":52},{"type":"inlineCode","value":"absolute","line":52},{"type":"text","value":", ","line":52},{"type":"inlineCode","value":"points","line":52}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"“Show change as”, Display, Compare","line":52}]},{"type":"tableCell","children":[{"type":"text","value":"When it is compared with the period before: whether the change is shown as a percentage, as an absolute difference or in percentage points. ","line":52},{"type":"inlineCode","value":"percent","line":52},{"type":"text","value":" is %, ","line":52},{"type":"inlineCode","value":"absolute","line":52},{"type":"text","value":" is $, ","line":52},{"type":"inlineCode","value":"points","line":52},{"type":"text","value":" is “Points”.","line":52}]}],"line":52},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"goodWhen","line":53}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"up","line":53},{"type":"text","value":", ","line":53},{"type":"inlineCode","value":"down","line":53}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"“Going up is”, Display, Compare","line":53}]},{"type":"tableCell","children":[{"type":"text","value":"When it is compared with the period before: whether going up is good news or bad news, which decides the color of the change. ","line":53},{"type":"inlineCode","value":"up","line":53},{"type":"text","value":" is “Good”, ","line":53},{"type":"inlineCode","value":"down","line":53},{"type":"text","value":" is “Bad”.","line":53}]}],"line":53}],"line":39}]},"description":"One number: total, count, average."}
|
|
1
|
+
{"path":"develop/reference/widgets/stat","title":"Stat","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"The widget ","line":8},{"type":"inlineCode","value":"core/stat","line":8},{"type":"text","value":", version 1.0.0. One number: total, count, average. It is in the category Understand data, and may be put on an app's page and a dashboard.","line":8}],"line":8},{"type":"heading","depth":2,"id":"what-it-reads","children":[{"type":"text","value":"What it reads","line":12}],"line":12},{"type":"table","align":[null,null,null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Input","line":14}]},{"type":"tableCell","children":[{"type":"text","value":"Shape","line":14}]},{"type":"tableCell","children":[{"type":"text","value":"Needed","line":14}]},{"type":"tableCell","children":[{"type":"text","value":"Comes from","line":14}]},{"type":"tableCell","children":[{"type":"text","value":"Notes","line":14}]}],"line":14},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"value","line":16}]},{"type":"tableCell","children":[{"type":"text","value":"summary: rows gathered into groups with values worked out for each, or one line of values","line":16}]},{"type":"tableCell","children":[{"type":"text","value":"Yes","line":16}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"table","line":16},{"type":"text","value":", ","line":16},{"type":"inlineCode","value":"query","line":16},{"type":"text","value":", ","line":16},{"type":"inlineCode","value":"sql","line":16},{"type":"text","value":", ","line":16},{"type":"inlineCode","value":"figures","line":16}]},{"type":"tableCell","children":[{"type":"text","value":"Works out 1 to 1 values. Broken down 0 to 0 ways.","line":16}]}],"line":16}],"line":14},{"type":"heading","depth":2,"id":"what-it-does-when-used","children":[{"type":"text","value":"What it does when used","line":18}],"line":18},{"type":"paragraph","children":[{"type":"text","value":"Each event may have an ","line":20},{"type":"link","href":"action-steps","children":[{"type":"text","value":"action","line":20}],"line":20},{"type":"text","value":" attached.","line":20}],"line":20},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Event","line":22}]},{"type":"tableCell","children":[{"type":"text","value":"When","line":22}]},{"type":"tableCell","children":[{"type":"text","value":"What it gives the action","line":22}]}],"line":22},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"click","line":24}]},{"type":"tableCell","children":[{"type":"text","value":"When it is clicked","line":24}]},{"type":"tableCell","children":[{"type":"text","value":"Nothing.","line":24}]}],"line":24}],"line":22},{"type":"heading","depth":2,"id":"size","children":[{"type":"text","value":"Size","line":26}],"line":26},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"Columns by rows","line":28}]}],"line":28},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Smallest","line":30}]},{"type":"tableCell","children":[{"type":"text","value":"2 by 2","line":30}]}],"line":30},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"When added","line":31}]},{"type":"tableCell","children":[{"type":"text","value":"3 by 3","line":31}]}],"line":31}],"line":28},{"type":"paragraph","children":[{"type":"text","value":"The grid has twelve columns, and a row is 40 pixels high. On a phone: it takes the full width, in reading order.","line":33}],"line":33},{"type":"heading","depth":2,"id":"settings","children":[{"type":"text","value":"Settings","line":35}],"line":35},{"type":"paragraph","children":[{"type":"text","value":"A field with ","line":37},{"type":"inlineCode","value":"*","line":37},{"type":"text","value":" in its path is inside a list, or under a name of the author's choosing. A setting left out takes its default.","line":37}],"line":37},{"type":"table","align":[null,null,null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Setting","line":39}]},{"type":"tableCell","children":[{"type":"text","value":"Holds","line":39}]},{"type":"tableCell","children":[{"type":"text","value":"Default","line":39}]},{"type":"tableCell","children":[{"type":"text","value":"Where in the editor","line":39}]},{"type":"tableCell","children":[{"type":"text","value":"What it does","line":39}]}],"line":39},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"caption","line":41}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":41}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"“Caption”, Display, Heading","line":41}]},{"type":"tableCell","children":[{"type":"text","value":"Such as “Not yet paid”. {previous} is the number for the period before. At most 200 characters.","line":41}]}],"line":41},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"format","line":42}]},{"type":"tableCell","children":[{"type":"text","value":"object","line":42}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"“Numbers”, Display, Look","line":42}]},{"type":"tableCell","children":[{"type":"text","value":"How the number is written.","line":42}]}],"line":42},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"format.style","line":43}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"number","line":43},{"type":"text","value":", ","line":43},{"type":"inlineCode","value":"currency","line":43},{"type":"text","value":", ","line":43},{"type":"inlineCode","value":"percent","line":43}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"How the number is written: as a plain number, as money or as a percentage.","line":43}]}],"line":43},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"format.currency","line":44}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":44}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"The currency of money, as its three-letter code, such as ","line":44},{"type":"inlineCode","value":"USD","line":44},{"type":"text","value":". Money without one is in US dollars. Pattern ","line":44},{"type":"inlineCode","value":"^[A-Z]{3}$","line":44},{"type":"text","value":".","line":44}]}],"line":44},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"format.minorUnits","line":45}]},{"type":"tableCell","children":[{"type":"text","value":"boolean","line":45}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"The value is kept in the smallest unit, such as cents, and is shown in the whole unit.","line":45}]}],"line":45},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"format.decimals","line":46}]},{"type":"tableCell","children":[{"type":"text","value":"integer","line":46}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"How many digits follow the point. Minimum 0. Maximum 6.","line":46}]}],"line":46},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"format.notation","line":47}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"compact","line":47}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"inlineCode","value":"compact","line":47},{"type":"text","value":" writes 43,120 as 43.1K.","line":47}]}],"line":47},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"format.grouping","line":48}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"false","line":48}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"inlineCode","value":"false","line":48},{"type":"text","value":" writes 43120, not 43,120.","line":48}]}],"line":48},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"trendBy","line":49}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":49}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"“A line of how it went, by”, Display, Look, More options","line":49}]},{"type":"tableCell","children":[{"type":"text","value":"A column of dates or times: a small line under the number shows how it went, by it. Pattern ","line":49},{"type":"inlineCode","value":"^[a-z][a-z0-9_]{0,62}(\\.[a-z][a-z0-9_]{0,62})?$","line":49},{"type":"text","value":".","line":49}]}],"line":49},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"compare","line":50}]},{"type":"tableCell","children":[{"type":"text","value":"boolean","line":50}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"“Compare with the period before”, Display, Compare","line":50}]},{"type":"tableCell","children":[{"type":"text","value":"Compare with the period before. The drawer stores it with ","line":50},{"type":"inlineCode","value":"compareTo","line":50},{"type":"text","value":", the page's date filter it uses (","line":50},{"type":"inlineCode","value":"withCompare","line":50},{"type":"text","value":"); the server reads ","line":50},{"type":"inlineCode","value":"compareTo","line":50},{"type":"text","value":".","line":50}]}],"line":50},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"compareTo","line":51}]},{"type":"tableCell","children":[{"type":"text","value":"string","line":51}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"“The range it is compared across”, Display, Compare, More options","line":51}]},{"type":"tableCell","children":[{"type":"text","value":"A page filter of dates. Set for you when you switch the comparison on. Pattern ","line":51},{"type":"inlineCode","value":"^[a-z][a-z0-9_]{0,54}$","line":51},{"type":"text","value":".","line":51}]}],"line":51},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"delta","line":52}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"percent","line":52},{"type":"text","value":", ","line":52},{"type":"inlineCode","value":"absolute","line":52},{"type":"text","value":", ","line":52},{"type":"inlineCode","value":"points","line":52}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"“Show change as”, Display, Compare","line":52}]},{"type":"tableCell","children":[{"type":"text","value":"When it is compared with the period before: whether the change is shown as a percentage, as an absolute difference or in percentage points. ","line":52},{"type":"inlineCode","value":"percent","line":52},{"type":"text","value":" is %, ","line":52},{"type":"inlineCode","value":"absolute","line":52},{"type":"text","value":" is $, ","line":52},{"type":"inlineCode","value":"points","line":52},{"type":"text","value":" is “Points”.","line":52}]}],"line":52},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"goodWhen","line":53}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"up","line":53},{"type":"text","value":", ","line":53},{"type":"inlineCode","value":"down","line":53}]},{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"“Going up is”, Display, Compare","line":53}]},{"type":"tableCell","children":[{"type":"text","value":"When it is compared with the period before: whether going up is good news or bad news, which decides the color of the change. ","line":53},{"type":"inlineCode","value":"up","line":53},{"type":"text","value":" is “Good”, ","line":53},{"type":"inlineCode","value":"down","line":53},{"type":"text","value":" is “Bad”.","line":53}]}],"line":53}],"line":39}]},"description":"One number: total, count, average."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"path":"develop/tutorials/cli/quickstart","title":"Deploy your first script from a repository","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"You will have a repository on your machine with one script, one table, one schedule and one variable in it, the same script running in a dev workspace and in the production workspace it promotes to, and two runs you started from the command line. It takes about 20 minutes.","line":7}],"line":7},{"type":"heading","depth":2,"id":"before-you-start","children":[{"type":"text","value":"Before you start","line":9}],"line":9},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"The ","line":11},{"type":"inlineCode","value":"volvel","line":11},{"type":"text","value":" command is installed. See ","line":11},{"type":"link","href":"../../how-to/cli/install-the-cli","children":[{"type":"text","value":"Install the command line","line":11}],"line":11},{"type":"text","value":". From 0.6.0 it is ","line":11},{"type":"inlineCode","value":"npm install --global @volvel/cli","line":11},{"type":"text","value":".","line":11}],"line":11},{"type":"listItem","children":[{"type":"text","value":"Node 24 or later.","line":12}],"line":12},{"type":"listItem","children":[{"type":"text","value":"You can sign in to the console as Maya Brooks, ","line":13},{"type":"inlineCode","value":"maya.brooks@fernhill.example","line":13},{"type":"text","value":", the tenant admin of Fernhill, on an instance where Fernhill is set up. The instance's address is written ","line":13},{"type":"inlineCode","value":"<instance>","line":13},{"type":"text","value":" below; the examples use ","line":13},{"type":"inlineCode","value":"http://localhost:8091","line":13},{"type":"text","value":". A tenant admin may do everything in this tutorial. See the ","line":13},{"type":"link","href":"../../../administer/reference/permissions","children":[{"type":"text","value":"permissions reference","line":13}],"line":13},{"type":"text","value":" for what each step needs. See ","line":13},{"type":"link","href":"../../../start/how-to/example/set-up-the-fernhill-example","children":[{"type":"text","value":"Set up the Fernhill example","line":13}],"line":13},{"type":"text","value":".","line":13}],"line":13},{"type":"listItem","children":[{"type":"text","value":"The instance has a worker that runs scripts. If it has none, a run waits and never starts.","line":14}],"line":14},{"type":"listItem","children":[{"type":"text","value":"A terminal and a browser.","line":15}],"line":15}],"line":11},{"type":"component","name":"steps","form":"container","props":{},"children":[{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Make a production workspace and a dev workspace that promotes to it.","line":18}],"line":18},{"type":"text","value":" In the console, open the tenant's ","line":18},{"type":"strong","children":[{"type":"text","value":"Workspaces","line":18}],"line":18},{"type":"text","value":" and press ","line":18},{"type":"strong","children":[{"type":"text","value":"Create workspace","line":18}],"line":18},{"type":"text","value":". Make the production one first: ","line":18},{"type":"strong","children":[{"type":"text","value":"Name","line":18}],"line":18},{"type":"text","value":" ","line":18},{"type":"inlineCode","value":"CLI start live","line":18},{"type":"text","value":", ","line":18},{"type":"strong","children":[{"type":"text","value":"Slug","line":18}],"line":18},{"type":"text","value":" ","line":18},{"type":"inlineCode","value":"cli-start-live","line":18},{"type":"text","value":", ","line":18},{"type":"strong","children":[{"type":"text","value":"Type","line":18}],"line":18},{"type":"text","value":" ","line":18},{"type":"strong","children":[{"type":"text","value":"Production","line":18}],"line":18},{"type":"text","value":", ","line":18},{"type":"strong","children":[{"type":"text","value":"Promotes to","line":18}],"line":18},{"type":"text","value":" ","line":18},{"type":"strong","children":[{"type":"text","value":"Nothing","line":18}],"line":18},{"type":"text","value":". Press ","line":18},{"type":"strong","children":[{"type":"text","value":"Create workspace","line":18}],"line":18},{"type":"text","value":" again for the dev one: ","line":18},{"type":"strong","children":[{"type":"text","value":"Name","line":18}],"line":18},{"type":"text","value":" ","line":18},{"type":"inlineCode","value":"CLI start dev","line":18},{"type":"text","value":", ","line":18},{"type":"strong","children":[{"type":"text","value":"Slug","line":18}],"line":18},{"type":"text","value":" ","line":18},{"type":"inlineCode","value":"cli-start-dev","line":18},{"type":"text","value":", ","line":18},{"type":"strong","children":[{"type":"text","value":"Type","line":18}],"line":18},{"type":"text","value":" ","line":18},{"type":"strong","children":[{"type":"text","value":"Dev","line":18}],"line":18},{"type":"text","value":", ","line":18},{"type":"strong","children":[{"type":"text","value":"Promotes to","line":18}],"line":18},{"type":"text","value":" ","line":18},{"type":"strong","children":[{"type":"text","value":"CLI start live (production)","line":18}],"line":18},{"type":"text","value":". Both are listed, and the dev one shows ","line":18},{"type":"inlineCode","value":"CLI start live","line":18},{"type":"text","value":" under ","line":18},{"type":"strong","children":[{"type":"text","value":"Promotes to","line":18}],"line":18},{"type":"text","value":".","line":18}],"line":18}],"line":18},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Make an API key.","line":20}],"line":20},{"type":"text","value":" Open ","line":20},{"type":"strong","children":[{"type":"text","value":"Account","line":20}],"line":20},{"type":"text","value":". Under ","line":20},{"type":"strong","children":[{"type":"text","value":"API keys","line":20}],"line":20},{"type":"text","value":", press ","line":20},{"type":"strong","children":[{"type":"text","value":"Create API key","line":20}],"line":20},{"type":"text","value":", type ","line":20},{"type":"inlineCode","value":"My laptop","line":20},{"type":"text","value":" in ","line":20},{"type":"strong","children":[{"type":"text","value":"Name","line":20}],"line":20},{"type":"text","value":", leave ","line":20},{"type":"strong","children":[{"type":"text","value":"Expires","line":20}],"line":20},{"type":"text","value":" at ","line":20},{"type":"strong","children":[{"type":"text","value":"Never","line":20}],"line":20},{"type":"text","value":" or choose a time, and press ","line":20},{"type":"strong","children":[{"type":"text","value":"Create API key","line":20}],"line":20},{"type":"text","value":". The console shows the key once. Copy it: it begins ","line":20},{"type":"inlineCode","value":"vxk_","line":20},{"type":"text","value":". The key acts as you, with your permissions.","line":20}],"line":20}],"line":20},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Start a repository.","line":22}],"line":22},{"type":"text","value":" In a terminal, in a folder you keep code in:","line":22}],"line":22},{"type":"code","value":"volvel init fernhill-cli","lang":"bash","line":24},{"type":"code","value":"Created a tenant repository in /home/you/code/fernhill-cli\nNext:\n 1. In that folder, install the repository's dependencies: npm install\n 2. If the volvel command is not on this machine yet, install the CLI: npm install --global @volvel/cli\n 3. Sign in: volvel login --url <your instance> --token <api key>. Create the key in the console under your account menu.\n 4. Try the script on this machine: volvel run hello. Check the build: volvel build.\n 5. Send it to a dev workspace: volvel deploy --tenant <slug> --workspace <slug>","lang":"text","line":28},{"type":"paragraph","children":[{"type":"text","value":"The folder holds ","line":38},{"type":"inlineCode","value":"package.json","line":38},{"type":"text","value":", ","line":38},{"type":"inlineCode","value":"tsconfig.json","line":38},{"type":"text","value":", ","line":38},{"type":"inlineCode","value":".gitignore","line":38},{"type":"text","value":", ","line":38},{"type":"inlineCode","value":"volvel.yaml","line":38},{"type":"text","value":", ","line":38},{"type":"inlineCode","value":"scripts/hello.ts","line":38},{"type":"text","value":", and two YAML files in ","line":38},{"type":"inlineCode","value":"resources/","line":38},{"type":"text","value":": ","line":38},{"type":"inlineCode","value":"greetings.table.yaml","line":38},{"type":"text","value":" and ","line":38},{"type":"inlineCode","value":"hello-every-morning.schedule.yaml","line":38},{"type":"text","value":". It also holds ","line":38},{"type":"inlineCode","value":".vscode/settings.json","line":38},{"type":"text","value":" and ","line":38},{"type":"inlineCode","value":".platform/schemas/","line":38},{"type":"text","value":", which make a YAML-aware editor complete and check the files as you type. The table and the schedule are files because they are only data. The script is TypeScript because it is code. It must be empty, or hold only ","line":38},{"type":"inlineCode","value":".git","line":38},{"type":"text","value":"; the command refuses any other folder.","line":38}],"line":38},{"type":"code","value":"schemaVersion: 1\nbody:\n description: Who the starter script has said hello to.\n columns:\n name: { type: text, required: true }","lang":"yaml","meta":"title=resources/greetings.table.yaml","line":40},{"type":"code","value":"schemaVersion: 1\nbody:\n script: hello\n cron: \"0 8 * * 1-5\"","lang":"yaml","meta":"title=resources/hello-every-morning.schedule.yaml","line":48}],"line":22},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Install its dependencies.","line":55}],"line":55},{"type":"text","value":" The repository asks for ","line":55},{"type":"inlineCode","value":"@volvel/sdk","line":55},{"type":"text","value":":","line":55}],"line":55},{"type":"code","value":"cd fernhill-cli\nnpm install","lang":"bash","line":57},{"type":"paragraph","children":[{"type":"text","value":"Before a release exists, the registry has no ","line":62},{"type":"inlineCode","value":"@volvel/sdk","line":62},{"type":"text","value":". Install the two tarballs instead, as ","line":62},{"type":"link","href":"../../how-to/cli/install-the-cli","children":[{"type":"text","value":"Install the command line","line":62}],"line":62},{"type":"text","value":" shows: ","line":62},{"type":"inlineCode","value":"npm install <folder>/volvel-sdk-0.5.0.tgz <folder>/volvel-widgets-0.5.0.tgz","line":62},{"type":"text","value":".","line":62}],"line":62}],"line":55},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Sign in.","line":64}],"line":64}],"line":64},{"type":"code","value":"volvel login --url <instance> --token <the key from step 2>","lang":"bash","line":66},{"type":"code","value":"Signed in to http://localhost:8091 as maya.brooks@fernhill.example.","lang":"text","line":70},{"type":"paragraph","children":[{"type":"text","value":"The command asks the instance who the key is before it saves anything, so a wrong key is refused here. It saves the address and the key in ","line":74},{"type":"inlineCode","value":"~/.config/volvel/config.json","line":74},{"type":"text","value":", readable by you only.","line":74}],"line":74}],"line":64},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Run the script on your machine.","line":76}],"line":76}],"line":76},{"type":"code","value":"volvel run hello --input '{\"name\":\"Ada\"}'","lang":"bash","line":78},{"type":"code","value":"info Saying hello {\"name\":\"Ada\"}\nOutput: {\"greeting\":\"Hello, Ada\"}","lang":"text","line":82},{"type":"paragraph","children":[{"type":"text","value":"Nothing was sent to the instance. Leave ","line":87},{"type":"inlineCode","value":"--input","line":87},{"type":"text","value":" out and the name is ","line":87},{"type":"inlineCode","value":"world","line":87},{"type":"text","value":".","line":87}],"line":87}],"line":76},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Check the build.","line":89}],"line":89}],"line":89},{"type":"code","value":"volvel build","lang":"bash","line":91},{"type":"code","value":"Bundle d8c3979af93a, 757 KB of code, SDK 0.5.0\n table greetings\n script hello\n schedule hello-every-morning\nWritten to /home/you/code/fernhill-cli/.platform/bundle.json","lang":"text","line":95},{"type":"paragraph","children":[{"type":"text","value":"The build lists every resource of the repository: the table and the schedule from the files in ","line":103},{"type":"inlineCode","value":"resources/","line":103},{"type":"text","value":", and the script that ","line":103},{"type":"inlineCode","value":"scripts/hello.ts","line":103},{"type":"text","value":" exports. It also writes ","line":103},{"type":"inlineCode","value":".platform/volvel-env.d.ts","line":103},{"type":"text","value":", which types ","line":103},{"type":"inlineCode","value":"ctx.table(\"greetings\")","line":103},{"type":"text","value":" in the script: see ","line":103},{"type":"link","href":"../../reference/command-line/generated-types","children":[{"type":"text","value":"Generated types","line":103}],"line":103},{"type":"text","value":". The digest and the size are the build's own and may differ on your machine.","line":103}],"line":103}],"line":89},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"See what a deploy would do.","line":105}],"line":105}],"line":105},{"type":"code","value":"volvel deploy --tenant fernhill --workspace cli-start-dev --preview","lang":"bash","line":107},{"type":"code","value":"Deploying would leave cli-start-dev (dev) with: 3 created, 0 updated, 0 deleted, 0 unchanged.\n created table greetings\n created script hello\n created schedule hello-every-morning\n Table greetings created.\nNothing was changed. Run it again without --preview to deploy.","lang":"text","line":111},{"type":"paragraph","children":[{"type":"text","value":"The first lines are the same list as step 7. ","line":120},{"type":"inlineCode","value":"--preview","line":120},{"type":"text","value":" changes nothing in the workspace.","line":120}],"line":120}],"line":105},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Deploy.","line":122}],"line":122}],"line":122},{"type":"code","value":"volvel deploy --tenant fernhill --workspace cli-start-dev","lang":"bash","line":124},{"type":"paragraph","children":[{"type":"text","value":"The last lines say ","line":128},{"type":"inlineCode","value":"Deployed version 1 to cli-start-dev (dev): 3 created, 0 updated, 0 deleted, 0 unchanged.","line":128},{"type":"text","value":" The schedule is paused: a new dev workspace starts with its triggers paused, so ","line":128},{"type":"inlineCode","value":"hello-every-morning","line":128},{"type":"text","value":" does not fire there.","line":128}],"line":128}],"line":122},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Run it in the dev workspace.","line":130}],"line":130}],"line":130},{"type":"code","value":"volvel run hello --remote --tenant fernhill --workspace cli-start-dev --input '{\"name\":\"Ada\"}'","lang":"bash","line":132},{"type":"code","value":"Test run 01a20fd2-4a49-7104-981d-6cdc8e2bcb38 of hello in cli-start-dev, from this build (preview, version 1). Nothing was deployed.\n2026-11-24 23:09:30 info Saying hello {\"name\":\"Ada\"}\nSucceeded in 254 ms.\nOutput: {\n \"greeting\": \"Hello, Ada\"\n}","lang":"text","line":136},{"type":"paragraph","children":[{"type":"text","value":"The command uploaded your build as a bundle made only to try, started one run on the worker, and followed it to its end. The script kept a row ","line":145},{"type":"inlineCode","value":"Ada","line":145},{"type":"text","value":" in the workspace's table ","line":145},{"type":"inlineCode","value":"greetings","line":145},{"type":"text","value":": a run on your machine has no workspace, so it keeps none. Your run ID and times differ.","line":145}],"line":145}],"line":130},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Add a variable, and let the script read it.","line":147}],"line":147},{"type":"text","value":" A variable is only data, so it is a file. Make ","line":147},{"type":"inlineCode","value":"resources/greeting.variable.yaml","line":147},{"type":"text","value":":","line":147}],"line":147},{"type":"code","value":"schemaVersion: 1\nbody:\n description: The word that opens the greeting.\n default: Hello","lang":"yaml","meta":"title=resources/greeting.variable.yaml","line":149},{"type":"paragraph","children":[{"type":"text","value":"Then open ","line":156},{"type":"inlineCode","value":"scripts/hello.ts","line":156},{"type":"text","value":" and let the script read it:","line":156}],"line":156},{"type":"code","value":" tables: [\"greetings\"],\n+ variables: [\"greeting\"],\n async run(input, ctx) {\n+ const opening = await ctx.variable(\"greeting\");\n ctx.log.info(\"Saying hello\", { name: input.name });\n // A run on your machine has no workspace, so no tables; a run in one keeps the note.\n if (ctx.run.trigger.type !== \"local\") await ctx.table(\"greetings\").insert({ name: input.name });\n- return { greeting: `Hello, ${input.name}` };\n+ return { greeting: `${opening}, ${input.name}` };\n },","lang":"diff-ts","line":158},{"type":"paragraph","children":[{"type":"text","value":"Run it on your machine first. A local run has no workspace to read the variable from, so it falls back to the default ","line":171},{"type":"inlineCode","value":"Hello","line":171},{"type":"text","value":". To give it another value, make ","line":171},{"type":"inlineCode","value":".platform/local.json","line":171},{"type":"text","value":" with ","line":171},{"type":"inlineCode","value":"{\"variables\": {\"greeting\": \"Good morning\"}}","line":171},{"type":"text","value":" and run it again: the output reads ","line":171},{"type":"inlineCode","value":"Good morning, Ada","line":171},{"type":"text","value":". Remove the file before the next step.","line":171}],"line":171}],"line":147},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Deploy the change, with a note.","line":173}],"line":173}],"line":173},{"type":"code","value":"volvel deploy --tenant fernhill --workspace cli-start-dev --message \"Open with a variable\"","lang":"bash","line":175},{"type":"paragraph","children":[{"type":"text","value":"The last lines say ","line":179},{"type":"inlineCode","value":"Deployed version 2 to cli-start-dev (dev): 1 created, 1 updated, 0 deleted, 2 unchanged.","line":179},{"type":"text","value":", then ","line":179},{"type":"inlineCode","value":"created variable greeting","line":179},{"type":"text","value":" and ","line":179},{"type":"inlineCode","value":"updated script hello","line":179},{"type":"text","value":". Run the script there again with step 10's command: the output is ","line":179},{"type":"inlineCode","value":"Hello, Ada","line":179},{"type":"text","value":", the variable's default, because the workspace has no value for it.","line":179}],"line":179}],"line":173},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"See what promoting would do.","line":181}],"line":181}],"line":181},{"type":"code","value":"volvel promote --tenant fernhill --workspace cli-start-dev --preview","lang":"bash","line":183},{"type":"code","value":"Bundle 3960951524fe, version 2 here, to cli-start-live (production).\nPromoting would leave cli-start-live (production) with: 4 created, 0 updated, 0 deleted, 0 unchanged.\n created variable greeting\n created table greetings\n created script hello\n created schedule hello-every-morning\n Table greetings created.\nNothing was changed. Run it again without --preview to promote.","lang":"text","line":187},{"type":"paragraph","children":[{"type":"text","value":"Production holds nothing yet, so all four are new there.","line":198}],"line":198}],"line":181},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Promote.","line":200}],"line":200}],"line":200},{"type":"code","value":"volvel promote --tenant fernhill --workspace cli-start-dev --message \"Greeting to live\"","lang":"bash","line":202},{"type":"code","value":"Promoted to cli-start-live (production) as version 1: 4 created, 0 updated, 0 deleted, 0 unchanged.\n created variable greeting\n created table greetings\n created script hello\n created schedule hello-every-morning\n Table greetings created.","lang":"text","line":206},{"type":"paragraph","children":[{"type":"text","value":"The same bundle that runs in dev is now active in production. Nothing was built again. In production the schedule is not paused: ","line":215},{"type":"inlineCode","value":"hello-every-morning","line":215},{"type":"text","value":" fires each weekday at 08:00 UTC, the time zone a schedule has unless its definition says another.","line":215}],"line":215}],"line":200},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Look at the runs.","line":217}],"line":217}],"line":217},{"type":"code","value":"volvel runs --tenant fernhill --workspace cli-start-dev","lang":"bash","line":219},{"type":"code","value":"2026-11-24 23:09:38 succeeded manual hello 01a20fd2-6ef7-7713-9a06-fec68b1529cc\n2026-11-24 23:09:30 succeeded manual hello 01a20fd2-4a49-7104-981d-6cdc8e2bcb38","lang":"text","line":223},{"type":"paragraph","children":[{"type":"text","value":"Each line holds the start time, the status, what started it, the script and the run's ID. ","line":228},{"type":"inlineCode","value":"volvel runs <run id> --tenant fernhill --workspace cli-start-dev","line":228},{"type":"text","value":" shows one run with its input, output and log lines.","line":228}],"line":228}],"line":217}],"line":18}],"line":17,"endLine":229},{"type":"heading","depth":2,"id":"what-you-built","children":[{"type":"text","value":"What you built","line":231}],"line":231},{"type":"paragraph","children":[{"type":"text","value":"A repository with a script in ","line":233},{"type":"inlineCode","value":"scripts/hello.ts","line":233},{"type":"text","value":", and a table, a schedule and a variable as files in ","line":233},{"type":"inlineCode","value":"resources/","line":233},{"type":"text","value":". Version 2 of it runs in the dev workspace and version 1 of the production workspace, and the two runs you started are in the dev workspace's runs. Nothing in the repository says which workspace it goes to: each command named one.","line":233}],"line":233},{"type":"paragraph","children":[{"type":"text","value":"Go on with:","line":235}],"line":235},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"link","href":"../../how-to/cli/deploy-a-repository","children":[{"type":"text","value":"Deploy a repository","line":237}],"line":237},{"type":"text","value":", for what a deploy refuses and how it treats resources made in the console.","line":237}],"line":237},{"type":"listItem","children":[{"type":"link","href":"../../how-to/cli/roll-back-a-version","children":[{"type":"text","value":"Roll back a version","line":238}],"line":238},{"type":"text","value":", to put an earlier version back.","line":238}],"line":238},{"type":"listItem","children":[{"type":"link","href":"../../explanation/cli/code-or-files","children":[{"type":"text","value":"Why code or files","line":239}],"line":239},{"type":"text","value":" and ","line":239},{"type":"link","href":"../../explanation/cli/definitions-in-code","children":[{"type":"text","value":"Definitions in code","line":239}],"line":239},{"type":"text","value":", for when a resource is worth writing in TypeScript.","line":239}],"line":239}],"line":237}]},"description":"Start a repository with volvel init, run its script on your machine, deploy it to a dev workspace, run it there, and promote it to production."}
|
|
1
|
+
{"path":"develop/tutorials/cli/quickstart","title":"Deploy your first script from a repository","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"You will have a repository on your machine with one script, one table, one schedule and one variable in it, the same script running in a dev workspace and in the production workspace it promotes to, and two runs you started from the command line. It takes about 20 minutes.","line":7}],"line":7},{"type":"heading","depth":2,"id":"before-you-start","children":[{"type":"text","value":"Before you start","line":9}],"line":9},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"The ","line":11},{"type":"inlineCode","value":"volvel","line":11},{"type":"text","value":" command is installed. See ","line":11},{"type":"link","href":"../../how-to/cli/install-the-cli","children":[{"type":"text","value":"Install the command line","line":11}],"line":11},{"type":"text","value":". From 0.6.0 it is ","line":11},{"type":"inlineCode","value":"npm install --global @volvel/cli","line":11},{"type":"text","value":".","line":11}],"line":11},{"type":"listItem","children":[{"type":"text","value":"Node 26 or later.","line":12}],"line":12},{"type":"listItem","children":[{"type":"text","value":"You can sign in to the console as Maya Brooks, ","line":13},{"type":"inlineCode","value":"maya.brooks@fernhill.example","line":13},{"type":"text","value":", the tenant admin of Fernhill, on an instance where Fernhill is set up. The instance's address is written ","line":13},{"type":"inlineCode","value":"<instance>","line":13},{"type":"text","value":" below; the examples use ","line":13},{"type":"inlineCode","value":"http://localhost:8091","line":13},{"type":"text","value":". A tenant admin may do everything in this tutorial. See the ","line":13},{"type":"link","href":"../../../administer/reference/permissions","children":[{"type":"text","value":"permissions reference","line":13}],"line":13},{"type":"text","value":" for what each step needs. See ","line":13},{"type":"link","href":"../../../start/how-to/example/set-up-the-fernhill-example","children":[{"type":"text","value":"Set up the Fernhill example","line":13}],"line":13},{"type":"text","value":".","line":13}],"line":13},{"type":"listItem","children":[{"type":"text","value":"The instance has a worker that runs scripts. If it has none, a run waits and never starts.","line":14}],"line":14},{"type":"listItem","children":[{"type":"text","value":"A terminal and a browser.","line":15}],"line":15}],"line":11},{"type":"component","name":"steps","form":"container","props":{},"children":[{"type":"list","ordered":true,"children":[{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Make a production workspace and a dev workspace that promotes to it.","line":18}],"line":18},{"type":"text","value":" In the console, open the tenant's ","line":18},{"type":"strong","children":[{"type":"text","value":"Workspaces","line":18}],"line":18},{"type":"text","value":" and press ","line":18},{"type":"strong","children":[{"type":"text","value":"Create workspace","line":18}],"line":18},{"type":"text","value":". Make the production one first: ","line":18},{"type":"strong","children":[{"type":"text","value":"Name","line":18}],"line":18},{"type":"text","value":" ","line":18},{"type":"inlineCode","value":"CLI start live","line":18},{"type":"text","value":", ","line":18},{"type":"strong","children":[{"type":"text","value":"Slug","line":18}],"line":18},{"type":"text","value":" ","line":18},{"type":"inlineCode","value":"cli-start-live","line":18},{"type":"text","value":", ","line":18},{"type":"strong","children":[{"type":"text","value":"Type","line":18}],"line":18},{"type":"text","value":" ","line":18},{"type":"strong","children":[{"type":"text","value":"Production","line":18}],"line":18},{"type":"text","value":", ","line":18},{"type":"strong","children":[{"type":"text","value":"Promotes to","line":18}],"line":18},{"type":"text","value":" ","line":18},{"type":"strong","children":[{"type":"text","value":"Nothing","line":18}],"line":18},{"type":"text","value":". Press ","line":18},{"type":"strong","children":[{"type":"text","value":"Create workspace","line":18}],"line":18},{"type":"text","value":" again for the dev one: ","line":18},{"type":"strong","children":[{"type":"text","value":"Name","line":18}],"line":18},{"type":"text","value":" ","line":18},{"type":"inlineCode","value":"CLI start dev","line":18},{"type":"text","value":", ","line":18},{"type":"strong","children":[{"type":"text","value":"Slug","line":18}],"line":18},{"type":"text","value":" ","line":18},{"type":"inlineCode","value":"cli-start-dev","line":18},{"type":"text","value":", ","line":18},{"type":"strong","children":[{"type":"text","value":"Type","line":18}],"line":18},{"type":"text","value":" ","line":18},{"type":"strong","children":[{"type":"text","value":"Dev","line":18}],"line":18},{"type":"text","value":", ","line":18},{"type":"strong","children":[{"type":"text","value":"Promotes to","line":18}],"line":18},{"type":"text","value":" ","line":18},{"type":"strong","children":[{"type":"text","value":"CLI start live (production)","line":18}],"line":18},{"type":"text","value":". Both are listed, and the dev one shows ","line":18},{"type":"inlineCode","value":"CLI start live","line":18},{"type":"text","value":" under ","line":18},{"type":"strong","children":[{"type":"text","value":"Promotes to","line":18}],"line":18},{"type":"text","value":".","line":18}],"line":18}],"line":18},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Make an API key.","line":20}],"line":20},{"type":"text","value":" Open ","line":20},{"type":"strong","children":[{"type":"text","value":"Account","line":20}],"line":20},{"type":"text","value":". Under ","line":20},{"type":"strong","children":[{"type":"text","value":"API keys","line":20}],"line":20},{"type":"text","value":", press ","line":20},{"type":"strong","children":[{"type":"text","value":"Create API key","line":20}],"line":20},{"type":"text","value":", type ","line":20},{"type":"inlineCode","value":"My laptop","line":20},{"type":"text","value":" in ","line":20},{"type":"strong","children":[{"type":"text","value":"Name","line":20}],"line":20},{"type":"text","value":", leave ","line":20},{"type":"strong","children":[{"type":"text","value":"Expires","line":20}],"line":20},{"type":"text","value":" at ","line":20},{"type":"strong","children":[{"type":"text","value":"Never","line":20}],"line":20},{"type":"text","value":" or choose a time, and press ","line":20},{"type":"strong","children":[{"type":"text","value":"Create API key","line":20}],"line":20},{"type":"text","value":". The console shows the key once. Copy it: it begins ","line":20},{"type":"inlineCode","value":"vxk_","line":20},{"type":"text","value":". The key acts as you, with your permissions.","line":20}],"line":20}],"line":20},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Start a repository.","line":22}],"line":22},{"type":"text","value":" In a terminal, in a folder you keep code in:","line":22}],"line":22},{"type":"code","value":"volvel init fernhill-cli","lang":"bash","line":24},{"type":"code","value":"Created a tenant repository in /home/you/code/fernhill-cli\nNext:\n 1. In that folder, install the repository's dependencies: npm install\n 2. If the volvel command is not on this machine yet, install the CLI: npm install --global @volvel/cli\n 3. Sign in: volvel login --url <your instance> --token <api key>. Create the key in the console under your account menu.\n 4. Try the script on this machine: volvel run hello. Check the build: volvel build.\n 5. Send it to a dev workspace: volvel deploy --tenant <slug> --workspace <slug>","lang":"text","line":28},{"type":"paragraph","children":[{"type":"text","value":"The folder holds ","line":38},{"type":"inlineCode","value":"package.json","line":38},{"type":"text","value":", ","line":38},{"type":"inlineCode","value":"tsconfig.json","line":38},{"type":"text","value":", ","line":38},{"type":"inlineCode","value":".gitignore","line":38},{"type":"text","value":", ","line":38},{"type":"inlineCode","value":"volvel.yaml","line":38},{"type":"text","value":", ","line":38},{"type":"inlineCode","value":"scripts/hello.ts","line":38},{"type":"text","value":", and two YAML files in ","line":38},{"type":"inlineCode","value":"resources/","line":38},{"type":"text","value":": ","line":38},{"type":"inlineCode","value":"greetings.table.yaml","line":38},{"type":"text","value":" and ","line":38},{"type":"inlineCode","value":"hello-every-morning.schedule.yaml","line":38},{"type":"text","value":". It also holds ","line":38},{"type":"inlineCode","value":".vscode/settings.json","line":38},{"type":"text","value":" and ","line":38},{"type":"inlineCode","value":".platform/schemas/","line":38},{"type":"text","value":", which make a YAML-aware editor complete and check the files as you type. The table and the schedule are files because they are only data. The script is TypeScript because it is code. It must be empty, or hold only ","line":38},{"type":"inlineCode","value":".git","line":38},{"type":"text","value":"; the command refuses any other folder.","line":38}],"line":38},{"type":"code","value":"schemaVersion: 1\nbody:\n description: Who the starter script has said hello to.\n columns:\n name: { type: text, required: true }","lang":"yaml","meta":"title=resources/greetings.table.yaml","line":40},{"type":"code","value":"schemaVersion: 1\nbody:\n script: hello\n cron: \"0 8 * * 1-5\"","lang":"yaml","meta":"title=resources/hello-every-morning.schedule.yaml","line":48}],"line":22},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Install its dependencies.","line":55}],"line":55},{"type":"text","value":" The repository asks for ","line":55},{"type":"inlineCode","value":"@volvel/sdk","line":55},{"type":"text","value":":","line":55}],"line":55},{"type":"code","value":"cd fernhill-cli\nnpm install","lang":"bash","line":57},{"type":"paragraph","children":[{"type":"text","value":"Before a release exists, the registry has no ","line":62},{"type":"inlineCode","value":"@volvel/sdk","line":62},{"type":"text","value":". Install the two tarballs instead, as ","line":62},{"type":"link","href":"../../how-to/cli/install-the-cli","children":[{"type":"text","value":"Install the command line","line":62}],"line":62},{"type":"text","value":" shows: ","line":62},{"type":"inlineCode","value":"npm install <folder>/volvel-sdk-0.5.0.tgz <folder>/volvel-widgets-0.5.0.tgz","line":62},{"type":"text","value":".","line":62}],"line":62}],"line":55},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Sign in.","line":64}],"line":64}],"line":64},{"type":"code","value":"volvel login --url <instance> --token <the key from step 2>","lang":"bash","line":66},{"type":"code","value":"Signed in to http://localhost:8091 as maya.brooks@fernhill.example.","lang":"text","line":70},{"type":"paragraph","children":[{"type":"text","value":"The command asks the instance who the key is before it saves anything, so a wrong key is refused here. It saves the address and the key in ","line":74},{"type":"inlineCode","value":"~/.config/volvel/config.json","line":74},{"type":"text","value":", readable by you only.","line":74}],"line":74}],"line":64},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Run the script on your machine.","line":76}],"line":76}],"line":76},{"type":"code","value":"volvel run hello --input '{\"name\":\"Ada\"}'","lang":"bash","line":78},{"type":"code","value":"info Saying hello {\"name\":\"Ada\"}\nOutput: {\"greeting\":\"Hello, Ada\"}","lang":"text","line":82},{"type":"paragraph","children":[{"type":"text","value":"Nothing was sent to the instance. Leave ","line":87},{"type":"inlineCode","value":"--input","line":87},{"type":"text","value":" out and the name is ","line":87},{"type":"inlineCode","value":"world","line":87},{"type":"text","value":".","line":87}],"line":87}],"line":76},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Check the build.","line":89}],"line":89}],"line":89},{"type":"code","value":"volvel build","lang":"bash","line":91},{"type":"code","value":"Bundle d8c3979af93a, 757 KB of code, SDK 0.5.0\n table greetings\n script hello\n schedule hello-every-morning\nWritten to /home/you/code/fernhill-cli/.platform/bundle.json","lang":"text","line":95},{"type":"paragraph","children":[{"type":"text","value":"The build lists every resource of the repository: the table and the schedule from the files in ","line":103},{"type":"inlineCode","value":"resources/","line":103},{"type":"text","value":", and the script that ","line":103},{"type":"inlineCode","value":"scripts/hello.ts","line":103},{"type":"text","value":" exports. It also writes ","line":103},{"type":"inlineCode","value":".platform/volvel-env.d.ts","line":103},{"type":"text","value":", which types ","line":103},{"type":"inlineCode","value":"ctx.table(\"greetings\")","line":103},{"type":"text","value":" in the script: see ","line":103},{"type":"link","href":"../../reference/command-line/generated-types","children":[{"type":"text","value":"Generated types","line":103}],"line":103},{"type":"text","value":". The digest and the size are the build's own and may differ on your machine.","line":103}],"line":103}],"line":89},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"See what a deploy would do.","line":105}],"line":105}],"line":105},{"type":"code","value":"volvel deploy --tenant fernhill --workspace cli-start-dev --preview","lang":"bash","line":107},{"type":"code","value":"Deploying would leave cli-start-dev (dev) with: 3 created, 0 updated, 0 deleted, 0 unchanged.\n created table greetings\n created script hello\n created schedule hello-every-morning\n Table greetings created.\nNothing was changed. Run it again without --preview to deploy.","lang":"text","line":111},{"type":"paragraph","children":[{"type":"text","value":"The first lines are the same list as step 7. ","line":120},{"type":"inlineCode","value":"--preview","line":120},{"type":"text","value":" changes nothing in the workspace.","line":120}],"line":120}],"line":105},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Deploy.","line":122}],"line":122}],"line":122},{"type":"code","value":"volvel deploy --tenant fernhill --workspace cli-start-dev","lang":"bash","line":124},{"type":"paragraph","children":[{"type":"text","value":"The last lines say ","line":128},{"type":"inlineCode","value":"Deployed version 1 to cli-start-dev (dev): 3 created, 0 updated, 0 deleted, 0 unchanged.","line":128},{"type":"text","value":" The schedule is paused: a new dev workspace starts with its triggers paused, so ","line":128},{"type":"inlineCode","value":"hello-every-morning","line":128},{"type":"text","value":" does not fire there.","line":128}],"line":128}],"line":122},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Run it in the dev workspace.","line":130}],"line":130}],"line":130},{"type":"code","value":"volvel run hello --remote --tenant fernhill --workspace cli-start-dev --input '{\"name\":\"Ada\"}'","lang":"bash","line":132},{"type":"code","value":"Test run 01a20fd2-4a49-7104-981d-6cdc8e2bcb38 of hello in cli-start-dev, from this build (preview, version 1). Nothing was deployed.\n2026-11-24 23:09:30 info Saying hello {\"name\":\"Ada\"}\nSucceeded in 254 ms.\nOutput: {\n \"greeting\": \"Hello, Ada\"\n}","lang":"text","line":136},{"type":"paragraph","children":[{"type":"text","value":"The command uploaded your build as a bundle made only to try, started one run on the worker, and followed it to its end. The script kept a row ","line":145},{"type":"inlineCode","value":"Ada","line":145},{"type":"text","value":" in the workspace's table ","line":145},{"type":"inlineCode","value":"greetings","line":145},{"type":"text","value":": a run on your machine has no workspace, so it keeps none. Your run ID and times differ.","line":145}],"line":145}],"line":130},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Add a variable, and let the script read it.","line":147}],"line":147},{"type":"text","value":" A variable is only data, so it is a file. Make ","line":147},{"type":"inlineCode","value":"resources/greeting.variable.yaml","line":147},{"type":"text","value":":","line":147}],"line":147},{"type":"code","value":"schemaVersion: 1\nbody:\n description: The word that opens the greeting.\n default: Hello","lang":"yaml","meta":"title=resources/greeting.variable.yaml","line":149},{"type":"paragraph","children":[{"type":"text","value":"Then open ","line":156},{"type":"inlineCode","value":"scripts/hello.ts","line":156},{"type":"text","value":" and let the script read it:","line":156}],"line":156},{"type":"code","value":" tables: [\"greetings\"],\n+ variables: [\"greeting\"],\n async run(input, ctx) {\n+ const opening = await ctx.variable(\"greeting\");\n ctx.log.info(\"Saying hello\", { name: input.name });\n // A run on your machine has no workspace, so no tables; a run in one keeps the note.\n if (ctx.run.trigger.type !== \"local\") await ctx.table(\"greetings\").insert({ name: input.name });\n- return { greeting: `Hello, ${input.name}` };\n+ return { greeting: `${opening}, ${input.name}` };\n },","lang":"diff-ts","line":158},{"type":"paragraph","children":[{"type":"text","value":"Run it on your machine first. A local run has no workspace to read the variable from, so it falls back to the default ","line":171},{"type":"inlineCode","value":"Hello","line":171},{"type":"text","value":". To give it another value, make ","line":171},{"type":"inlineCode","value":".platform/local.json","line":171},{"type":"text","value":" with ","line":171},{"type":"inlineCode","value":"{\"variables\": {\"greeting\": \"Good morning\"}}","line":171},{"type":"text","value":" and run it again: the output reads ","line":171},{"type":"inlineCode","value":"Good morning, Ada","line":171},{"type":"text","value":". Remove the file before the next step.","line":171}],"line":171}],"line":147},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Deploy the change, with a note.","line":173}],"line":173}],"line":173},{"type":"code","value":"volvel deploy --tenant fernhill --workspace cli-start-dev --message \"Open with a variable\"","lang":"bash","line":175},{"type":"paragraph","children":[{"type":"text","value":"The last lines say ","line":179},{"type":"inlineCode","value":"Deployed version 2 to cli-start-dev (dev): 1 created, 1 updated, 0 deleted, 2 unchanged.","line":179},{"type":"text","value":", then ","line":179},{"type":"inlineCode","value":"created variable greeting","line":179},{"type":"text","value":" and ","line":179},{"type":"inlineCode","value":"updated script hello","line":179},{"type":"text","value":". Run the script there again with step 10's command: the output is ","line":179},{"type":"inlineCode","value":"Hello, Ada","line":179},{"type":"text","value":", the variable's default, because the workspace has no value for it.","line":179}],"line":179}],"line":173},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"See what promoting would do.","line":181}],"line":181}],"line":181},{"type":"code","value":"volvel promote --tenant fernhill --workspace cli-start-dev --preview","lang":"bash","line":183},{"type":"code","value":"Bundle 3960951524fe, version 2 here, to cli-start-live (production).\nPromoting would leave cli-start-live (production) with: 4 created, 0 updated, 0 deleted, 0 unchanged.\n created variable greeting\n created table greetings\n created script hello\n created schedule hello-every-morning\n Table greetings created.\nNothing was changed. Run it again without --preview to promote.","lang":"text","line":187},{"type":"paragraph","children":[{"type":"text","value":"Production holds nothing yet, so all four are new there.","line":198}],"line":198}],"line":181},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Promote.","line":200}],"line":200}],"line":200},{"type":"code","value":"volvel promote --tenant fernhill --workspace cli-start-dev --message \"Greeting to live\"","lang":"bash","line":202},{"type":"code","value":"Promoted to cli-start-live (production) as version 1: 4 created, 0 updated, 0 deleted, 0 unchanged.\n created variable greeting\n created table greetings\n created script hello\n created schedule hello-every-morning\n Table greetings created.","lang":"text","line":206},{"type":"paragraph","children":[{"type":"text","value":"The same bundle that runs in dev is now active in production. Nothing was built again. In production the schedule is not paused: ","line":215},{"type":"inlineCode","value":"hello-every-morning","line":215},{"type":"text","value":" fires each weekday at 08:00 UTC, the time zone a schedule has unless its definition says another.","line":215}],"line":215}],"line":200},{"type":"listItem","children":[{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"Look at the runs.","line":217}],"line":217}],"line":217},{"type":"code","value":"volvel runs --tenant fernhill --workspace cli-start-dev","lang":"bash","line":219},{"type":"code","value":"2026-11-24 23:09:38 succeeded manual hello 01a20fd2-6ef7-7713-9a06-fec68b1529cc\n2026-11-24 23:09:30 succeeded manual hello 01a20fd2-4a49-7104-981d-6cdc8e2bcb38","lang":"text","line":223},{"type":"paragraph","children":[{"type":"text","value":"Each line holds the start time, the status, what started it, the script and the run's ID. ","line":228},{"type":"inlineCode","value":"volvel runs <run id> --tenant fernhill --workspace cli-start-dev","line":228},{"type":"text","value":" shows one run with its input, output and log lines.","line":228}],"line":228}],"line":217}],"line":18}],"line":17,"endLine":229},{"type":"heading","depth":2,"id":"what-you-built","children":[{"type":"text","value":"What you built","line":231}],"line":231},{"type":"paragraph","children":[{"type":"text","value":"A repository with a script in ","line":233},{"type":"inlineCode","value":"scripts/hello.ts","line":233},{"type":"text","value":", and a table, a schedule and a variable as files in ","line":233},{"type":"inlineCode","value":"resources/","line":233},{"type":"text","value":". Version 2 of it runs in the dev workspace and version 1 of the production workspace, and the two runs you started are in the dev workspace's runs. Nothing in the repository says which workspace it goes to: each command named one.","line":233}],"line":233},{"type":"paragraph","children":[{"type":"text","value":"Go on with:","line":235}],"line":235},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"link","href":"../../how-to/cli/deploy-a-repository","children":[{"type":"text","value":"Deploy a repository","line":237}],"line":237},{"type":"text","value":", for what a deploy refuses and how it treats resources made in the console.","line":237}],"line":237},{"type":"listItem","children":[{"type":"link","href":"../../how-to/cli/roll-back-a-version","children":[{"type":"text","value":"Roll back a version","line":238}],"line":238},{"type":"text","value":", to put an earlier version back.","line":238}],"line":238},{"type":"listItem","children":[{"type":"link","href":"../../explanation/cli/code-or-files","children":[{"type":"text","value":"Why code or files","line":239}],"line":239},{"type":"text","value":" and ","line":239},{"type":"link","href":"../../explanation/cli/definitions-in-code","children":[{"type":"text","value":"Definitions in code","line":239}],"line":239},{"type":"text","value":", for when a resource is worth writing in TypeScript.","line":239}],"line":239}],"line":237}]},"description":"Start a repository with volvel init, run its script on your machine, deploy it to a dev workspace, run it there, and promote it to production."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"path":"self-host/explanation/access/index","title":"Access","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"Who runs what on an instance.","line":
|
|
1
|
+
{"path":"self-host/explanation/access/index","title":"Access","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"Who runs what on an instance.","line":10}],"line":10}]},"description":"Operators and tenant admins: who runs what."}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"path":"self-host/explanation/access/instance-service-accounts","title":"Service accounts of the instance","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"A ","line":8},{"type":"strong","children":[{"type":"text","value":"service account of the instance","line":8}],"line":8},{"type":"text","value":" is an identity for a program, not a person, that belongs to the instance and to no tenant. Use one when something must watch or run routine work across the instance without an operator's own API key: a monitor that reads every tenant's health, or an agent that answers \"why are runs waiting?\".","line":8}],"line":8},{"type":"paragraph","children":[{"type":"text","value":"Only operators make them, in ","line":10},{"type":"strong","children":[{"type":"text","value":"Instance","line":10}],"line":10},{"type":"text","value":" under ","line":10},{"type":"strong","children":[{"type":"text","value":"Service accounts","line":10}],"line":10},{"type":"text","value":". An instance account never signs in to the console. It acts through API keys, and everything it does is audited under its own name.","line":10}],"line":10},{"type":"heading","depth":2,"id":"two-roles-at-the-instance","children":[{"type":"text","value":"Two roles at the instance","line":12}],"line":12},{"type":"paragraph","children":[{"type":"text","value":"An instance account holds a role bound at the instance, as an operator does. Two built-in roles are for it:","line":14}],"line":14},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Role","line":16}]},{"type":"tableCell","children":[{"type":"text","value":"What it holds","line":16}]}],"line":16},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"instance_reader","line":18}]},{"type":"tableCell","children":[{"type":"text","value":"Reads the instance's settings and health, and every tenant's figures. Changes nothing.","line":18}]}],"line":18},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"instance_operator","line":19}]},{"type":"tableCell","children":[{"type":"text","value":"The routine work of an operator, such as pausing triggers.","line":19}]}],"line":19}],"line":16},{"type":"paragraph","children":[{"type":"text","value":"An operator gives an instance account only roles the operator holds.","line":21}],"line":21},{"type":"heading","depth":2,"id":"what-it-can-never-do","children":[{"type":"text","value":"What it can never do","line":23}],"line":23},{"type":"paragraph","children":[{"type":"text","value":"Whatever role it holds, an instance account is refused at the instance anything that would let a key make keys or power: writing bindings, access grants, members, roles or service accounts. A leaked key therefore cannot make more keys or widen itself. Reading these is allowed where the role reads them.","line":25}],"line":25},{"type":"paragraph","children":[{"type":"text","value":"Its instance roles also never reach inside a tenant. To a tenant it has no standing: the tenant is not there to it, and the answer is 404.","line":27}],"line":27},{"type":"heading","depth":2,"id":"keys","children":[{"type":"text","value":"Keys","line":29}],"line":29},{"type":"paragraph","children":[{"type":"text","value":"An account has API keys, each shown once when made. An instance key always ends: when no date is given it ends 90 days from now, and it may end at most 365 days from now. The list shows each key's expiry and last use, and a key can be revoked. Turning the account off stops it and every key it has at once. Deleting the account removes it.","line":31}],"line":31},{"type":"paragraph","children":[{"type":"text","value":"The routes are ","line":33},{"type":"inlineCode","value":"GET","line":33},{"type":"text","value":" and ","line":33},{"type":"inlineCode","value":"POST /instance/service-accounts","line":33},{"type":"text","value":", ","line":33},{"type":"inlineCode","value":"GET","line":33},{"type":"text","value":", ","line":33},{"type":"inlineCode","value":"PATCH","line":33},{"type":"text","value":" and ","line":33},{"type":"inlineCode","value":"DELETE /instance/service-accounts/{id}","line":33},{"type":"text","value":", ","line":33},{"type":"inlineCode","value":"GET","line":33},{"type":"text","value":" and ","line":33},{"type":"inlineCode","value":"POST /instance/service-accounts/{id}/api-keys","line":33},{"type":"text","value":", and ","line":33},{"type":"inlineCode","value":"DELETE /instance/service-accounts/{id}/api-keys/{keyId}","line":33},{"type":"text","value":". Reading needs ","line":33},{"type":"inlineCode","value":"instance:read","line":33},{"type":"text","value":"; changing needs ","line":33},{"type":"inlineCode","value":"binding:write","line":33},{"type":"text","value":", which operators hold.","line":33}],"line":33},{"type":"heading","depth":2,"id":"how-it-gets-into-a-tenant","children":[{"type":"text","value":"How it gets into a tenant","line":35}],"line":35},{"type":"paragraph","children":[{"type":"text","value":"There are two ways, and neither uses its instance roles.","line":37}],"line":37},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"An operator's access grant.","line":39}],"line":39},{"type":"text","value":" The operator opens a grant for the account: ","line":39},{"type":"inlineCode","value":"POST /tenants/{t}/access-grants","line":39},{"type":"text","value":" with ","line":39},{"type":"inlineCode","value":"serviceAccountId","line":39},{"type":"text","value":", a reason and a duration, as for the operator's own grant. It is time-limited, the tenant's admins see it and every request made under it, and each request is audited as operator access, under the account's name. It ends when it expires, when it is deleted, or when the account is turned off. A grant cannot be opened for an account that is turned off.","line":39}],"line":39},{"type":"listItem","children":[{"type":"strong","children":[{"type":"text","value":"The tenant's own binding.","line":40}],"line":40},{"type":"text","value":" A tenant admin binds the instance account to a role in the tenant, as for a member. It is standing, it shows on the tenant's access screen, and the tenant can revoke it. The tenant's pickers offer instance accounts marked as belonging to the instance.","line":40}],"line":40}],"line":39},{"type":"paragraph","children":[{"type":"text","value":"Where it holds a role in a tenant, the ","line":42},{"type":"link","href":"../../../develop/reference/access/mcp","children":[{"type":"text","value":"workspace's MCP endpoint","line":42}],"line":42},{"type":"text","value":" works for it there, with the tools that role allows.","line":42}],"line":42},{"type":"heading","depth":2,"id":"the-instances-mcp-endpoint","children":[{"type":"text","value":"The instance's MCP endpoint","line":44}],"line":44},{"type":"code","value":"POST /api/v1/mcp","lang":"text","line":46},{"type":"paragraph","children":[{"type":"text","value":"An MCP server named ","line":50},{"type":"inlineCode","value":"volvel:instance","line":50},{"type":"text","value":", for a key holding ","line":50},{"type":"inlineCode","value":"instance:read","line":50},{"type":"text","value":": an instance account's, or an operator's own. With no key the answer is 401; a key without ","line":50},{"type":"inlineCode","value":"instance:read","line":50},{"type":"text","value":", such as a tenant's own service account, gets 403. Streamable HTTP, with no session.","line":50}],"line":50},{"type":"table","align":[null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Tool","line":52}]},{"type":"tableCell","children":[{"type":"text","value":"What it does","line":52}]}],"line":52},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"get_instance_health","line":54}]},{"type":"tableCell","children":[{"type":"text","value":"The instance's health: database, object store, migrations, workers, waiting runs, late background steps and the tenants that are not well, with what to do.","line":54}]}],"line":54},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"list_tenants","line":55}]},{"type":"tableCell","children":[{"type":"text","value":"Tenants by slug with each one's status (","line":55},{"type":"inlineCode","value":"ok","line":55},{"type":"text","value":", ","line":55},{"type":"inlineCode","value":"waiting","line":55},{"type":"text","value":", ","line":55},{"type":"inlineCode","value":"failing","line":55},{"type":"text","value":"). Takes ","line":55},{"type":"inlineCode","value":"search","line":55},{"type":"text","value":" and ","line":55},{"type":"inlineCode","value":"limit","line":55},{"type":"text","value":" (up to 200).","line":55}]}],"line":55},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"get_tenant_health","line":56}]},{"type":"tableCell","children":[{"type":"text","value":"One tenant's health now. Takes ","line":56},{"type":"inlineCode","value":"tenant","line":56},{"type":"text","value":", a slug or an ID.","line":56}]}],"line":56},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"get_tenant_figures","line":57}]},{"type":"tableCell","children":[{"type":"text","value":"One tenant's figures. Takes ","line":57},{"type":"inlineCode","value":"tenant","line":57},{"type":"text","value":", ","line":57},{"type":"inlineCode","value":"names","line":57},{"type":"text","value":", ","line":57},{"type":"inlineCode","value":"every","line":57},{"type":"text","value":", ","line":57},{"type":"inlineCode","value":"hours","line":57},{"type":"text","value":" (1 to 720) and ","line":57},{"type":"inlineCode","value":"by","line":57},{"type":"text","value":" (","line":57},{"type":"inlineCode","value":"workspace","line":57},{"type":"text","value":").","line":57}]}],"line":57},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"get_instance_figures","line":58}]},{"type":"tableCell","children":[{"type":"text","value":"Every tenant's figures together. Takes ","line":58},{"type":"inlineCode","value":"names","line":58},{"type":"text","value":", ","line":58},{"type":"inlineCode","value":"every","line":58},{"type":"text","value":", ","line":58},{"type":"inlineCode","value":"hours","line":58},{"type":"text","value":" and ","line":58},{"type":"inlineCode","value":"by","line":58},{"type":"text","value":" (","line":58},{"type":"inlineCode","value":"tenant","line":58},{"type":"text","value":").","line":58}]}],"line":58},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"inlineCode","value":"why_runs_wait","line":59}]},{"type":"tableCell","children":[{"type":"text","value":"One tenant's waiting runs: what its health says to do, how many are due and for how long, and the last hour's waits for no slot, fair share, memory and the workspace limit. Takes ","line":59},{"type":"inlineCode","value":"tenant","line":59},{"type":"text","value":".","line":59}]}],"line":59}],"line":52},{"type":"paragraph","children":[{"type":"text","value":"Figures and health are the instance's data: counts and times, never a row, an input or an output. ","line":61},{"type":"inlineCode","value":"instance:read","line":61},{"type":"text","value":" is enough to read them in every tenant, with no access grant. The tools offer nothing inside a tenant.","line":61}],"line":61},{"type":"heading","depth":2,"id":"related","children":[{"type":"text","value":"Related","line":63}],"line":63},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"link","href":"who-runs-what","children":[{"type":"text","value":"Who runs what","line":65}],"line":65},{"type":"text","value":".","line":65}],"line":65},{"type":"listItem","children":[{"type":"link","href":"../../../develop/reference/access/mcp","children":[{"type":"text","value":"The MCP endpoint","line":66}],"line":66},{"type":"text","value":".","line":66}],"line":66}],"line":65}]},"description":"A key that is not a person and belongs to no tenant: its two roles, what it can never do, its keys, how it gets into a tenant, and the instance's MCP endpoint."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"path":"self-host/explanation/access/who-runs-what","title":"Who runs what","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"An instance has two kinds of people with power. Operators run the instance. Tenant admins run a tenant. This page says where one stops and the other starts.","line":7}],"line":7},{"type":"heading","depth":2,"id":"the-idea","children":[{"type":"text","value":"The idea","line":9}],"line":9},{"type":"paragraph","children":[{"type":"text","value":"An ","line":11},{"type":"strong","children":[{"type":"text","value":"operator","line":11}],"line":11},{"type":"text","value":" is a member bound to the role ","line":11},{"type":"inlineCode","value":"operator_admin","line":11},{"type":"text","value":" at the instance. That role holds ","line":11},{"type":"inlineCode","value":"tenant:*","line":11},{"type":"text","value":", ","line":11},{"type":"inlineCode","value":"member:*","line":11},{"type":"text","value":", ","line":11},{"type":"inlineCode","value":"binding:*","line":11},{"type":"text","value":", ","line":11},{"type":"inlineCode","value":"access_grant:*","line":11},{"type":"text","value":", ","line":11},{"type":"inlineCode","value":"instance:*","line":11},{"type":"text","value":", ","line":11},{"type":"inlineCode","value":"audit:read","line":11},{"type":"text","value":" and ","line":11},{"type":"inlineCode","value":"export:write","line":11},{"type":"text","value":". Only ","line":11},{"type":"inlineCode","value":"operator_admin","line":11},{"type":"text","value":" may be bound at the instance: no other role is accepted there.","line":11}],"line":11},{"type":"paragraph","children":[{"type":"text","value":"A ","line":13},{"type":"strong","children":[{"type":"text","value":"tenant admin","line":13}],"line":13},{"type":"text","value":" holds ","line":13},{"type":"inlineCode","value":"tenant_admin","line":13},{"type":"text","value":" (","line":13},{"type":"inlineCode","value":"*:*","line":13},{"type":"text","value":" and ","line":13},{"type":"inlineCode","value":"sql:read","line":13},{"type":"text","value":") in one tenant. They run its workspaces, people, groups, roles, keys and apps.","line":13}],"line":13},{"type":"paragraph","children":[{"type":"text","value":"An operator makes tenants and members, and sees the instance's health, tenants and operators in the ","line":15},{"type":"strong","children":[{"type":"text","value":"Instance","line":15}],"line":15},{"type":"text","value":" area, which opens only for operators.","line":15}],"line":15},{"type":"heading","depth":3,"id":"why-an-operator-cannot-see-inside-a-tenant","children":[{"type":"text","value":"Why an operator cannot see inside a tenant","line":17}],"line":17},{"type":"paragraph","children":[{"type":"text","value":"A binding at the instance never reaches inside a tenant. An operator gets into a tenant by opening an access grant: a built-in tenant role, for a time of 1 to 1440 minutes, with a reason of 3 to 500 characters. The tenant's admins see the grant, the reason and every request made under it, reads included. They can end it at any time. It ends by itself, and also when the operator is removed or disabled.","line":19}],"line":19},{"type":"paragraph","children":[{"type":"text","value":"This is a decision about who is trusted with what: the operator runs the machine but is not given the tenant's data by being an operator. One exception is the operator's own choice: the dialog that makes a tenant has the box ","line":21},{"type":"strong","children":[{"type":"text","value":"Make me a member, as tenant admin","line":21}],"line":21},{"type":"text","value":", on by default. With it, the operator is a member of the new tenant like any other and holds ","line":21},{"type":"inlineCode","value":"tenant_admin","line":21},{"type":"text","value":" there, with no grant. Without it, the grant is the only way in.","line":21}],"line":21},{"type":"heading","depth":2,"id":"how-it-fits","children":[{"type":"text","value":"How it fits","line":
|
|
1
|
+
{"path":"self-host/explanation/access/who-runs-what","title":"Who runs what","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"An instance has two kinds of people with power. Operators run the instance. Tenant admins run a tenant. This page says where one stops and the other starts.","line":7}],"line":7},{"type":"heading","depth":2,"id":"the-idea","children":[{"type":"text","value":"The idea","line":9}],"line":9},{"type":"paragraph","children":[{"type":"text","value":"An ","line":11},{"type":"strong","children":[{"type":"text","value":"operator","line":11}],"line":11},{"type":"text","value":" is a member bound to the role ","line":11},{"type":"inlineCode","value":"operator_admin","line":11},{"type":"text","value":" at the instance. That role holds ","line":11},{"type":"inlineCode","value":"tenant:*","line":11},{"type":"text","value":", ","line":11},{"type":"inlineCode","value":"member:*","line":11},{"type":"text","value":", ","line":11},{"type":"inlineCode","value":"binding:*","line":11},{"type":"text","value":", ","line":11},{"type":"inlineCode","value":"access_grant:*","line":11},{"type":"text","value":", ","line":11},{"type":"inlineCode","value":"instance:*","line":11},{"type":"text","value":", ","line":11},{"type":"inlineCode","value":"audit:read","line":11},{"type":"text","value":" and ","line":11},{"type":"inlineCode","value":"export:write","line":11},{"type":"text","value":". Only ","line":11},{"type":"inlineCode","value":"operator_admin","line":11},{"type":"text","value":" may be bound at the instance: no other role is accepted there.","line":11}],"line":11},{"type":"paragraph","children":[{"type":"text","value":"A ","line":13},{"type":"strong","children":[{"type":"text","value":"tenant admin","line":13}],"line":13},{"type":"text","value":" holds ","line":13},{"type":"inlineCode","value":"tenant_admin","line":13},{"type":"text","value":" (","line":13},{"type":"inlineCode","value":"*:*","line":13},{"type":"text","value":" and ","line":13},{"type":"inlineCode","value":"sql:read","line":13},{"type":"text","value":") in one tenant. They run its workspaces, people, groups, roles, keys and apps.","line":13}],"line":13},{"type":"paragraph","children":[{"type":"text","value":"An operator makes tenants and members, and sees the instance's health, tenants and operators in the ","line":15},{"type":"strong","children":[{"type":"text","value":"Instance","line":15}],"line":15},{"type":"text","value":" area, which opens only for operators.","line":15}],"line":15},{"type":"heading","depth":3,"id":"why-an-operator-cannot-see-inside-a-tenant","children":[{"type":"text","value":"Why an operator cannot see inside a tenant","line":17}],"line":17},{"type":"paragraph","children":[{"type":"text","value":"A binding at the instance never reaches inside a tenant. An operator gets into a tenant by opening an access grant: a built-in tenant role, for a time of 1 to 1440 minutes, with a reason of 3 to 500 characters. The tenant's admins see the grant, the reason and every request made under it, reads included. They can end it at any time. It ends by itself, and also when the operator is removed or disabled.","line":19}],"line":19},{"type":"paragraph","children":[{"type":"text","value":"This is a decision about who is trusted with what: the operator runs the machine but is not given the tenant's data by being an operator. One exception is the operator's own choice: the dialog that makes a tenant has the box ","line":21},{"type":"strong","children":[{"type":"text","value":"Make me a member, as tenant admin","line":21}],"line":21},{"type":"text","value":", on by default. With it, the operator is a member of the new tenant like any other and holds ","line":21},{"type":"inlineCode","value":"tenant_admin","line":21},{"type":"text","value":" there, with no grant. Without it, the grant is the only way in.","line":21}],"line":21},{"type":"paragraph","children":[{"type":"text","value":"An access grant may also be for a ","line":23},{"type":"link","href":"instance-service-accounts","children":[{"type":"text","value":"service account of the instance","line":23}],"line":23},{"type":"text","value":", opened with ","line":23},{"type":"inlineCode","value":"serviceAccountId","line":23},{"type":"text","value":" in place of a member. It is audited as operator access under the account's name.","line":23}],"line":23},{"type":"heading","depth":2,"id":"how-it-fits","children":[{"type":"text","value":"How it fits","line":25}],"line":25},{"type":"heading","depth":3,"id":"accounts-and-sign-in","children":[{"type":"text","value":"Accounts and sign-in","line":27}],"line":27},{"type":"paragraph","children":[{"type":"text","value":"A member's account is one account on the instance, whatever the number of tenants they belong to. A tenant's identity provider does not sign in a member who holds an instance binding, and the instance's own provider gives no role.","line":29}],"line":29},{"type":"heading","depth":3,"id":"disabling-and-the-last-operator","children":[{"type":"text","value":"Disabling and the last operator","line":31}],"line":31},{"type":"paragraph","children":[{"type":"text","value":"An operator can disable any account at the instance. Disabling is never refused for a tenant's sake: the answer and the audit entry name the tenants left with no admin. It is refused only for the last operator who can sign in. Removing the last operator is refused too. Disabling ends sessions, grants, open streams and sign-ins not finished, and enabling does not bring them back.","line":33}],"line":33},{"type":"heading","depth":3,"id":"passwords","children":[{"type":"text","value":"Passwords","line":35}],"line":35},{"type":"paragraph","children":[{"type":"text","value":"A tenant admin can make a password reset link for a member who belongs to their tenant and no other and holds nothing at the instance. For anyone else, only an operator makes it. If no operator can sign in, ","line":37},{"type":"link","href":"../../how-to/access/recover-an-operator","children":[{"type":"text","value":"recover an operator","line":37}],"line":37},{"type":"text","value":" from the machine.","line":37}],"line":37},{"type":"heading","depth":2,"id":"related","children":[{"type":"text","value":"Related","line":39}],"line":39},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"link","href":"../../../administer/how-to/access/support-access-for-operators","children":[{"type":"text","value":"Support access for operators","line":41}],"line":41},{"type":"text","value":".","line":41}],"line":41},{"type":"listItem","children":[{"type":"link","href":"../../reference/console/members","children":[{"type":"text","value":"Members and operators","line":42}],"line":42},{"type":"text","value":".","line":42}],"line":42}],"line":41}]},"description":"Operators and tenant admins: what each runs, why an operator sees inside a tenant only through a grant, and what an operator's account does not do."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"path":"self-host/explanation/running/architecture","title":"How an instance is put together","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"An instance is one image run as up to three programs, plus a Postgres database and an S3-compatible object store. The same image runs a shared instance, a dedicated one and an on-premises site. What differs is the settings you give it.","line":7}],"line":7},{"type":"heading","depth":2,"id":"the-idea","children":[{"type":"text","value":"The idea","line":9}],"line":9},{"type":"paragraph","children":[{"type":"text","value":"You keep four things, and only these hold state:","line":11}],"line":11},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Part","line":13}]},{"type":"tableCell","children":[{"type":"text","value":"What it does","line":13}]},{"type":"tableCell","children":[{"type":"text","value":"State it keeps","line":13}]}],"line":13},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Control plane","line":15}]},{"type":"tableCell","children":[{"type":"text","value":"The API, the console, the scheduler, the queue and the flow engine.","line":15}]},{"type":"tableCell","children":[{"type":"text","value":"None on disk. It needs no persistent volume.","line":15}]}],"line":15},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Postgres","line":16}]},{"type":"tableCell","children":[{"type":"text","value":"The instance's records, the queue and every tenant's tables.","line":16}]},{"type":"tableCell","children":[{"type":"text","value":"Everything except files.","line":16}]}],"line":16},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"An S3-compatible object store","line":17}]},{"type":"tableCell","children":[{"type":"text","value":"Bundles, uploaded files, large payloads and archived audit months.","line":17}]},{"type":"tableCell","children":[{"type":"text","value":"The files.","line":17}]}],"line":17},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Workers","line":18}]},{"type":"tableCell","children":[{"type":"text","value":"Run a tenant's scripts. The instance starts them, or you run your own.","line":18}]},{"type":"tableCell","children":[{"type":"text","value":"None. A worker fetches what it needs again after a restart.","line":18}]}],"line":18}],"line":13},{"type":"paragraph","children":[{"type":"text","value":"To back up an instance, back up Postgres and the object store, and keep every master key a backup was sealed with. See ","line":20},{"type":"link","href":"../../how-to/running/back-up-an-instance","children":[{"type":"text","value":"Back up an instance","line":20}],"line":20},{"type":"text","value":".","line":20}],"line":20},{"type":"paragraph","children":[{"type":"text","value":"The control plane never runs a tenant's code. A script runs on a worker, in a process of its own. See ","line":22},{"type":"link","href":"managed-workers-and-isolation","children":[{"type":"text","value":"Workers, users and what a script can reach","line":22}],"line":22},{"type":"text","value":".","line":22}],"line":22},{"type":"heading","depth":2,"id":"one-image-three-programs","children":[{"type":"text","value":"One image, three programs","line":24}],"line":24},{"type":"paragraph","children":[{"type":"text","value":"The image ","line":26},{"type":"inlineCode","value":"volvel/volvel","line":26},{"type":"text","value":" holds three entry points. They differ only in what they start.","line":26}],"line":26},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Program","line":28}]},{"type":"tableCell","children":[{"type":"text","value":"Started as","line":28}]},{"type":"tableCell","children":[{"type":"text","value":"Used for","line":28}]}],"line":28},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"The control plane","line":30}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"volvel-start dist/main.js","line":30},{"type":"text","value":" (the image's default command), port 8080, user ","line":30},{"type":"inlineCode","value":"node","line":30}]},{"type":"tableCell","children":[{"type":"text","value":"Every instance.","line":30}]}],"line":30},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"The worker host","line":31}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"volvel-worker-host","line":31}]},{"type":"tableCell","children":[{"type":"text","value":"An instance that starts workers for tenants (","line":31},{"type":"inlineCode","value":"MANAGED_WORKERS=host","line":31},{"type":"text","value":", the Compose default).","line":31}]}],"line":31},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"A standalone worker","line":32}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"node node_modules/@volvel/worker/dist/bin.js","line":32}]},{"type":"tableCell","children":[{"type":"text","value":"A worker you run in another network.","line":32}]}],"line":32}],"line":28},{"type":"paragraph","children":[{"type":"inlineCode","value":"volvel-start","line":34},{"type":"text","value":" runs the control plane on ","line":34},{"type":"inlineCode","value":"node-cp","line":34},{"type":"text","value":", a copy of Node that holds ","line":34},{"type":"inlineCode","value":"CAP_SETUID","line":34},{"type":"text","value":" and ","line":34},{"type":"inlineCode","value":"CAP_SETGID","line":34},{"type":"text","value":". Where the container may not switch users, it runs it on plain Node instead.","line":34}],"line":34},{"type":"paragraph","children":[{"type":"text","value":"The image sets ","line":36},{"type":"inlineCode","value":"CONSOLE_DIR=/app/console","line":36},{"type":"text","value":" and ","line":36},{"type":"inlineCode","value":"SCREENS_DIR=/app/screens","line":36},{"type":"text","value":", the folders of the console and of the app that draws interfaces. An instance run from source finds them after ","line":36},{"type":"inlineCode","value":"pnpm build","line":36},{"type":"text","value":".","line":36}],"line":36},{"type":"heading","depth":2,"id":"two-networks","children":[{"type":"text","value":"Two networks","line":38}],"line":38},{"type":"paragraph","children":[{"type":"text","value":"The Compose file puts the parts on two networks:","line":40}],"line":40},{"type":"code","value":"flowchart LR\n subgraph data [network: data]\n PG[(Postgres)]\n OS[(Object store)]\n end\n subgraph execution [network: execution]\n WH[Worker host]\n W1[Worker, tenant A]\n W2[Worker, tenant B]\n end\n CP[Control plane]\n CP --- PG\n CP --- OS\n CP --- WH\n WH --> W1\n WH --> W2\n U[People and proxy] --> CP\n RW[Standalone worker in another network] -->|outbound HTTPS| CP","lang":"mermaid","line":42},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"inlineCode","value":"data","line":63},{"type":"text","value":" holds the database and the object store. Only the control plane joins it.","line":63}],"line":63},{"type":"listItem","children":[{"type":"inlineCode","value":"execution","line":64},{"type":"text","value":" holds the control plane and the worker host.","line":64}],"line":64}],"line":63},{"type":"paragraph","children":[{"type":"text","value":"A tenant's script can reach the control plane and the internet. It cannot reach the database or the object store, because the worker host is not on ","line":66},{"type":"inlineCode","value":"data","line":66},{"type":"text","value":". See ","line":66},{"type":"link","href":"egress-and-offline","children":[{"type":"text","value":"What an instance reaches","line":66}],"line":66},{"type":"text","value":" for what the host's firewall refuses on top of that.","line":66}],"line":66},{"type":"paragraph","children":[{"type":"text","value":"A standalone worker makes outbound HTTPS requests to the instance and nothing needs to reach it. See ","line":68},{"type":"link","href":"../../how-to/running/run-a-standalone-worker","children":[{"type":"text","value":"Run a standalone worker","line":68}],"line":68},{"type":"text","value":".","line":68}],"line":68},{"type":"heading","depth":2,"id":"what-the-control-plane-does-while-it-runs","children":[{"type":"text","value":"What the control plane does while it runs","line":70}],"line":70},{"type":"paragraph","children":[{"type":"text","value":"Besides answering requests, each replica runs a background loop. Each step has its own timer and its own \"still going\" flag, ticking every 2 seconds, so a step that waits (a data source that does not answer) delays only itself and is never started twice at once. A step that has run for more than 60 seconds is logged as late.","line":72}],"line":72},{"type":"paragraph","children":[{"type":"text","value":"The steps: schedules, lost runs, dead runs, tasks, flows, expired sign-ins, health of data sources, retention, the master key and managed workers.","line":74}],"line":74},{"type":"paragraph","children":[{"type":"text","value":"Every replica runs the loop. Work that must happen once, such as a retention pass, is taken by one replica at a time.","line":76}],"line":76},{"type":"heading","depth":2,"id":"how-it-starts","children":[{"type":"text","value":"How it starts","line":78}],"line":78},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"The command word is read first. ","line":80},{"type":"inlineCode","value":"--help","line":80},{"type":"text","value":" and a word that is not a command stop here, before anything is read.","line":80}],"line":80},{"type":"listItem","children":[{"type":"text","value":"The settings are read. Every problem is listed together, and the process exits with 1. ","line":81},{"type":"inlineCode","value":"check-config","line":81},{"type":"text","value":" stops here.","line":81}],"line":81},{"type":"listItem","children":[{"type":"text","value":"The database is migrated. ","line":82},{"type":"inlineCode","value":"migrate","line":82},{"type":"text","value":" stops here. It then checks whether the database takes writes.","line":82}],"line":82},{"type":"listItem","children":[{"type":"text","value":"The app is built. ","line":83},{"type":"inlineCode","value":"rekey","line":83},{"type":"text","value":" and ","line":83},{"type":"inlineCode","value":"recover-operator","line":83},{"type":"text","value":" run here and exit.","line":83}],"line":83},{"type":"listItem","children":[{"type":"text","value":"The bucket is checked, and made if the store says it is not there. Then, when the database takes writes, the first operator is created if the instance has no members, a rotation is finished, and the instance starts listening.","line":84}],"line":84},{"type":"listItem","children":[{"type":"text","value":"Only then does the loop start, and the control plane starts rechecking, every 10 seconds, whether the database takes writes.","line":85}],"line":85}],"line":80},{"type":"paragraph","children":[{"type":"text","value":"A database that takes no writes does not stop the instance. It listens and serves what reads can. See ","line":87},{"type":"link","href":"../../how-to/running/run-on-a-read-only-database","children":[{"type":"text","value":"Run on a read-only database","line":87}],"line":87},{"type":"text","value":".","line":87}],"line":87},{"type":"paragraph","children":[{"type":"text","value":"Related: ","line":89},{"type":"link","href":"../../reference/running/commands","children":[{"type":"text","value":"the commands","line":89}],"line":89},{"type":"text","value":", ","line":89},{"type":"link","href":"../../reference/settings","children":[{"type":"text","value":"settings","line":89}],"line":89},{"type":"text","value":", ","line":89},{"type":"link","href":"../../reference/running/requirements","children":[{"type":"text","value":"requirements","line":89}],"line":89},{"type":"text","value":".","line":89}],"line":89}]},"description":"What an instance is made of, which program does what, which networks they sit on and what each part keeps."}
|
|
1
|
+
{"path":"self-host/explanation/running/architecture","title":"How an instance is put together","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"An instance is one image run as up to three programs, plus a Postgres database and an S3-compatible object store. The same image runs a shared instance, a dedicated one and an on-premises site. What differs is the settings you give it.","line":7}],"line":7},{"type":"heading","depth":2,"id":"the-idea","children":[{"type":"text","value":"The idea","line":9}],"line":9},{"type":"paragraph","children":[{"type":"text","value":"You keep four things, and only these hold state:","line":11}],"line":11},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Part","line":13}]},{"type":"tableCell","children":[{"type":"text","value":"What it does","line":13}]},{"type":"tableCell","children":[{"type":"text","value":"State it keeps","line":13}]}],"line":13},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Control plane","line":15}]},{"type":"tableCell","children":[{"type":"text","value":"The API, the console, the scheduler, the queue and the flow engine.","line":15}]},{"type":"tableCell","children":[{"type":"text","value":"None on disk. It needs no persistent volume.","line":15}]}],"line":15},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Postgres","line":16}]},{"type":"tableCell","children":[{"type":"text","value":"The instance's records, the queue and every tenant's tables.","line":16}]},{"type":"tableCell","children":[{"type":"text","value":"Everything except files.","line":16}]}],"line":16},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"An S3-compatible object store","line":17}]},{"type":"tableCell","children":[{"type":"text","value":"Bundles, uploaded files, large payloads and archived audit months.","line":17}]},{"type":"tableCell","children":[{"type":"text","value":"The files.","line":17}]}],"line":17},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"Workers","line":18}]},{"type":"tableCell","children":[{"type":"text","value":"Run a tenant's scripts. The instance starts them, or you run your own.","line":18}]},{"type":"tableCell","children":[{"type":"text","value":"None. A worker fetches what it needs again after a restart.","line":18}]}],"line":18}],"line":13},{"type":"paragraph","children":[{"type":"text","value":"To back up an instance, back up Postgres and the object store, and keep every master key a backup was sealed with. See ","line":20},{"type":"link","href":"../../how-to/running/back-up-an-instance","children":[{"type":"text","value":"Back up an instance","line":20}],"line":20},{"type":"text","value":".","line":20}],"line":20},{"type":"paragraph","children":[{"type":"text","value":"The control plane never runs a tenant's code. A script runs on a worker, in a process of its own. See ","line":22},{"type":"link","href":"managed-workers-and-isolation","children":[{"type":"text","value":"Workers, users and what a script can reach","line":22}],"line":22},{"type":"text","value":".","line":22}],"line":22},{"type":"heading","depth":2,"id":"one-image-three-programs","children":[{"type":"text","value":"One image, three programs","line":24}],"line":24},{"type":"paragraph","children":[{"type":"text","value":"The image ","line":26},{"type":"inlineCode","value":"volvel/volvel","line":26},{"type":"text","value":" holds three entry points. They differ only in what they start.","line":26}],"line":26},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[{"type":"text","value":"Program","line":28}]},{"type":"tableCell","children":[{"type":"text","value":"Started as","line":28}]},{"type":"tableCell","children":[{"type":"text","value":"Used for","line":28}]}],"line":28},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"The control plane","line":30}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"volvel-start dist/main.js","line":30},{"type":"text","value":" (the image's default command), port 8080, user ","line":30},{"type":"inlineCode","value":"node","line":30}]},{"type":"tableCell","children":[{"type":"text","value":"Every instance.","line":30}]}],"line":30},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"The worker host","line":31}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"volvel-worker-host","line":31}]},{"type":"tableCell","children":[{"type":"text","value":"An instance that starts workers for tenants (","line":31},{"type":"inlineCode","value":"MANAGED_WORKERS=host","line":31},{"type":"text","value":", the Compose default).","line":31}]}],"line":31},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"A standalone worker","line":32}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"node node_modules/@volvel/worker/dist/bin.js","line":32}]},{"type":"tableCell","children":[{"type":"text","value":"A worker you run in another network.","line":32}]}],"line":32}],"line":28},{"type":"paragraph","children":[{"type":"inlineCode","value":"volvel-start","line":34},{"type":"text","value":" runs the control plane on ","line":34},{"type":"inlineCode","value":"node-cp","line":34},{"type":"text","value":", a copy of Node that holds ","line":34},{"type":"inlineCode","value":"CAP_SETUID","line":34},{"type":"text","value":" and ","line":34},{"type":"inlineCode","value":"CAP_SETGID","line":34},{"type":"text","value":". Where the container may not switch users, it runs it on plain Node instead.","line":34}],"line":34},{"type":"paragraph","children":[{"type":"text","value":"The image sets ","line":36},{"type":"inlineCode","value":"CONSOLE_DIR=/app/console","line":36},{"type":"text","value":" and ","line":36},{"type":"inlineCode","value":"SCREENS_DIR=/app/screens","line":36},{"type":"text","value":", the folders of the console and of the app that draws interfaces. An instance run from source finds them after ","line":36},{"type":"inlineCode","value":"pnpm build","line":36},{"type":"text","value":".","line":36}],"line":36},{"type":"heading","depth":2,"id":"two-networks","children":[{"type":"text","value":"Two networks","line":38}],"line":38},{"type":"paragraph","children":[{"type":"text","value":"The Compose file puts the parts on two networks:","line":40}],"line":40},{"type":"code","value":"flowchart LR\n subgraph data [network: data]\n PG[(Postgres)]\n OS[(Object store)]\n end\n subgraph execution [network: execution]\n WH[Worker host]\n W1[Worker, tenant A]\n W2[Worker, tenant B]\n end\n CP[Control plane]\n CP --- PG\n CP --- OS\n CP --- WH\n WH --> W1\n WH --> W2\n U[People and proxy] --> CP\n RW[Standalone worker in another network] -->|outbound HTTPS| CP","lang":"mermaid","line":42},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"inlineCode","value":"data","line":63},{"type":"text","value":" holds the database and the object store. Only the control plane joins it.","line":63}],"line":63},{"type":"listItem","children":[{"type":"inlineCode","value":"execution","line":64},{"type":"text","value":" holds the control plane and the worker host.","line":64}],"line":64}],"line":63},{"type":"paragraph","children":[{"type":"text","value":"A tenant's script can reach the control plane and the internet. It cannot reach the database or the object store, because the worker host is not on ","line":66},{"type":"inlineCode","value":"data","line":66},{"type":"text","value":". The worker host is the one program of the image that stays root. The control plane becomes ","line":66},{"type":"inlineCode","value":"node","line":66},{"type":"text","value":" before it starts. See ","line":66},{"type":"link","href":"egress-and-offline","children":[{"type":"text","value":"What an instance reaches","line":66}],"line":66},{"type":"text","value":" for what the host's firewall refuses on top of that.","line":66}],"line":66},{"type":"paragraph","children":[{"type":"text","value":"A standalone worker makes outbound HTTPS requests to the instance and nothing needs to reach it. See ","line":68},{"type":"link","href":"../../how-to/running/run-a-standalone-worker","children":[{"type":"text","value":"Run a standalone worker","line":68}],"line":68},{"type":"text","value":".","line":68}],"line":68},{"type":"heading","depth":2,"id":"what-the-control-plane-does-while-it-runs","children":[{"type":"text","value":"What the control plane does while it runs","line":70}],"line":70},{"type":"paragraph","children":[{"type":"text","value":"Besides answering requests, each replica runs a background loop. Each step has its own timer and its own \"still going\" flag, ticking every 2 seconds, so a step that waits (a data source that does not answer) delays only itself and is never started twice at once. A step that has run for more than 60 seconds is logged as late.","line":72}],"line":72},{"type":"paragraph","children":[{"type":"text","value":"The steps: schedules, lost runs, dead runs, tasks, flows, expired sign-ins, health of data sources, retention, the master key and managed workers.","line":74}],"line":74},{"type":"paragraph","children":[{"type":"text","value":"Every replica runs the loop. Work that must happen once, such as a retention pass, is taken by one replica at a time.","line":76}],"line":76},{"type":"heading","depth":2,"id":"how-it-starts","children":[{"type":"text","value":"How it starts","line":78}],"line":78},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"The command word is read first. ","line":80},{"type":"inlineCode","value":"--help","line":80},{"type":"text","value":" and a word that is not a command stop here, before anything is read.","line":80}],"line":80},{"type":"listItem","children":[{"type":"text","value":"The settings are read. Every problem is listed together, and the process exits with 1. ","line":81},{"type":"inlineCode","value":"check-config","line":81},{"type":"text","value":" stops here.","line":81}],"line":81},{"type":"listItem","children":[{"type":"text","value":"The database is migrated. ","line":82},{"type":"inlineCode","value":"migrate","line":82},{"type":"text","value":" stops here. It then checks whether the database takes writes.","line":82}],"line":82},{"type":"listItem","children":[{"type":"text","value":"The app is built. ","line":83},{"type":"inlineCode","value":"rekey","line":83},{"type":"text","value":" and ","line":83},{"type":"inlineCode","value":"recover-operator","line":83},{"type":"text","value":" run here and exit.","line":83}],"line":83},{"type":"listItem","children":[{"type":"text","value":"The bucket is checked, and made if the store says it is not there. Then, when the database takes writes, the first operator is created if the instance has no members, a rotation is finished, and the instance starts listening.","line":84}],"line":84},{"type":"listItem","children":[{"type":"text","value":"Only then does the loop start, and the control plane starts rechecking, every 10 seconds, whether the database takes writes.","line":85}],"line":85}],"line":80},{"type":"paragraph","children":[{"type":"text","value":"A database that takes no writes does not stop the instance. It listens and serves what reads can. See ","line":87},{"type":"link","href":"../../how-to/running/run-on-a-read-only-database","children":[{"type":"text","value":"Run on a read-only database","line":87}],"line":87},{"type":"text","value":".","line":87}],"line":87},{"type":"paragraph","children":[{"type":"text","value":"Related: ","line":89},{"type":"link","href":"../../reference/running/commands","children":[{"type":"text","value":"the commands","line":89}],"line":89},{"type":"text","value":", ","line":89},{"type":"link","href":"../../reference/settings","children":[{"type":"text","value":"settings","line":89}],"line":89},{"type":"text","value":", ","line":89},{"type":"link","href":"../../reference/running/requirements","children":[{"type":"text","value":"requirements","line":89}],"line":89},{"type":"text","value":".","line":89}],"line":89}]},"description":"What an instance is made of, which program does what, which networks they sit on and what each part keeps."}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"path":"self-host/explanation/running/egress-and-offline","title":"What an instance reaches","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"An instance opens no connection you did not configure. It runs with no route to the internet.","line":7}],"line":7},{"type":"heading","depth":2,"id":"the-idea","children":[{"type":"text","value":"The idea","line":9}],"line":9},{"type":"paragraph","children":[{"type":"text","value":"The connections an instance makes are to your Postgres, your object store, and the systems a tenant has chosen: connections, data sources, an identity provider, a Git remote. It sends no telemetry, makes no update check and no license check. It sends mail only when ","line":11},{"type":"inlineCode","value":"SMTP_URL","line":11},{"type":"text","value":" is set, and OpenTelemetry only when an endpoint is named.","line":11}],"line":11},{"type":"paragraph","children":[{"type":"text","value":"Installing is different: images are pulled or built, and a build fetches packages. See ","line":13},{"type":"link","href":"../../how-to/running/install-offline","children":[{"type":"text","value":"Install where there is no internet","line":13}],"line":13},{"type":"text","value":".","line":13}],"line":13},{"type":"heading","depth":2,"id":"two-lists-for-two-things","children":[{"type":"text","value":"Two lists, for two things","line":15}],"line":15},{"type":"paragraph","children":[{"type":"text","value":"An address that a tenant chooses can be reached by the instance, or by a worker. Each has its own guard, and its own list.","line":17}],"line":17},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"What it holds","line":19}]},{"type":"tableCell","children":[{"type":"text","value":"Opened by","line":19}]}],"line":19},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"The control plane, for a tenant","line":21}]},{"type":"tableCell","children":[{"type":"text","value":"An identity provider's settings and endpoints, a Git remote, a data source, an OAuth connection's token address, and a hostname a tenant registers, to check it.","line":21}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"EGRESS_ALLOW","line":21}]}],"line":21},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"A script on a worker","line":22}]},{"type":"tableCell","children":[{"type":"text","value":"Anything a script calls.","line":22}]},{"type":"tableCell","children":[{"type":"text","value":"The worker host's firewall, opened by ","line":22},{"type":"inlineCode","value":"WORKER_EGRESS_ALLOW","line":22}]}],"line":22}],"line":19},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"The instance's guard.","line":24}],"line":24},{"type":"text","value":" It refuses an address that is loopback, private, link-local (cloud metadata included), shared or reserved, and says so. It checks the address actually connected to and every redirect (10 seconds to answer, 5 redirects). To let it reach an internal Git server, an identity provider or a database on your network, list it in ","line":24},{"type":"inlineCode","value":"EGRESS_ALLOW","line":24},{"type":"text","value":", comma separated, as networks or host names:","line":24}],"line":24},{"type":"code","value":"EGRESS_ALLOW=10.20.0.0/16,git.internal,192.168.1.40","lang":"bash","line":26},{"type":"paragraph","children":[{"type":"text","value":"A name in the list is allowed whatever it resolves to. A network is allowed for any name that resolves into it.","line":30}],"line":30},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"The worker host's firewall.","line":32}],"line":32},{"type":"text","value":" It refuses a script every private, loopback
|
|
1
|
+
{"path":"self-host/explanation/running/egress-and-offline","title":"What an instance reaches","tree":{"type":"root","v":1,"children":[{"type":"paragraph","children":[{"type":"text","value":"An instance opens no connection you did not configure. It runs with no route to the internet.","line":7}],"line":7},{"type":"heading","depth":2,"id":"the-idea","children":[{"type":"text","value":"The idea","line":9}],"line":9},{"type":"paragraph","children":[{"type":"text","value":"The connections an instance makes are to your Postgres, your object store, and the systems a tenant has chosen: connections, data sources, an identity provider, a Git remote. It sends no telemetry, makes no update check and no license check. It sends mail only when ","line":11},{"type":"inlineCode","value":"SMTP_URL","line":11},{"type":"text","value":" is set, and OpenTelemetry only when an endpoint is named.","line":11}],"line":11},{"type":"paragraph","children":[{"type":"text","value":"Installing is different: images are pulled or built, and a build fetches packages. See ","line":13},{"type":"link","href":"../../how-to/running/install-offline","children":[{"type":"text","value":"Install where there is no internet","line":13}],"line":13},{"type":"text","value":".","line":13}],"line":13},{"type":"heading","depth":2,"id":"two-lists-for-two-things","children":[{"type":"text","value":"Two lists, for two things","line":15}],"line":15},{"type":"paragraph","children":[{"type":"text","value":"An address that a tenant chooses can be reached by the instance, or by a worker. Each has its own guard, and its own list.","line":17}],"line":17},{"type":"table","align":[null,null,null],"children":[{"type":"tableRow","header":true,"children":[{"type":"tableCell","children":[]},{"type":"tableCell","children":[{"type":"text","value":"What it holds","line":19}]},{"type":"tableCell","children":[{"type":"text","value":"Opened by","line":19}]}],"line":19},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"The control plane, for a tenant","line":21}]},{"type":"tableCell","children":[{"type":"text","value":"An identity provider's settings and endpoints, a Git remote, a data source, an OAuth connection's token address, and a hostname a tenant registers, to check it.","line":21}]},{"type":"tableCell","children":[{"type":"inlineCode","value":"EGRESS_ALLOW","line":21}]}],"line":21},{"type":"tableRow","header":false,"children":[{"type":"tableCell","children":[{"type":"text","value":"A script on a worker","line":22}]},{"type":"tableCell","children":[{"type":"text","value":"Anything a script calls.","line":22}]},{"type":"tableCell","children":[{"type":"text","value":"The worker host's firewall, opened by ","line":22},{"type":"inlineCode","value":"WORKER_EGRESS_ALLOW","line":22}]}],"line":22}],"line":19},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"The instance's guard.","line":24}],"line":24},{"type":"text","value":" It refuses an address that is loopback, private, link-local (cloud metadata included), shared or reserved, and says so. It checks the address actually connected to and every redirect (10 seconds to answer, 5 redirects). To let it reach an internal Git server, an identity provider or a database on your network, list it in ","line":24},{"type":"inlineCode","value":"EGRESS_ALLOW","line":24},{"type":"text","value":", comma separated, as networks or host names:","line":24}],"line":24},{"type":"code","value":"EGRESS_ALLOW=10.20.0.0/16,git.internal,192.168.1.40","lang":"bash","line":26},{"type":"paragraph","children":[{"type":"text","value":"A name in the list is allowed whatever it resolves to. A network is allowed for any name that resolves into it.","line":30}],"line":30},{"type":"paragraph","children":[{"type":"strong","children":[{"type":"text","value":"The worker host's firewall.","line":32}],"line":32},{"type":"text","value":" It refuses a script every private, loopback, link-local and special address, and the worker host's own, except the control plane's port and the name servers' port 53. To let scripts reach an API inside your network, list it on the worker host in ","line":32},{"type":"inlineCode","value":"WORKER_EGRESS_ALLOW","line":32},{"type":"text","value":", in the same form. It is empty unless you set it, and it needs the ","line":32},{"type":"inlineCode","value":"NET_ADMIN","line":32},{"type":"text","value":" capability. See ","line":32},{"type":"link","href":"managed-workers-and-isolation","children":[{"type":"text","value":"Workers, users and what a script can reach","line":32}],"line":32},{"type":"text","value":".","line":32}],"line":32},{"type":"paragraph","children":[{"type":"text","value":"Everything else a tenant's systems are asked, such as posting a failure alert or trying a connection, is done by a worker, not the control plane.","line":34}],"line":34},{"type":"heading","depth":2,"id":"oauth-connections","children":[{"type":"text","value":"OAuth connections","line":36}],"line":36},{"type":"paragraph","children":[{"type":"text","value":"A member authorizes an OAuth 2.0 connection once in the console, and the instance keeps its tokens and refreshes them. Two things follow for you:","line":38}],"line":38},{"type":"list","ordered":false,"children":[{"type":"listItem","children":[{"type":"text","value":"The provider sends members back to one address, ","line":40},{"type":"inlineCode","value":"<PUBLIC_URL>/api/v1/oauth/connections/callback","line":40},{"type":"text","value":". Each app a tenant registers with a provider must list it, so ","line":40},{"type":"inlineCode","value":"PUBLIC_URL","line":40},{"type":"text","value":" must be the address members' browsers use.","line":40}],"line":40},{"type":"listItem","children":[{"type":"text","value":"The control plane calls the provider's token address, to exchange the code and to refresh. That goes through the guard: a provider inside your network must be in ","line":41},{"type":"inlineCode","value":"EGRESS_ALLOW","line":41},{"type":"text","value":".","line":41}],"line":41}],"line":40},{"type":"paragraph","children":[{"type":"text","value":"Workers are handed the current access token, never the refresh token or the client's secret.","line":43}],"line":43},{"type":"heading","depth":2,"id":"what-is-not-guarded","children":[{"type":"text","value":"What is not guarded","line":45}],"line":45},{"type":"paragraph","children":[{"type":"text","value":"For a data source, the guard checks the host before each pool connects. A name that answers differently a moment later is not checked again.","line":47}],"line":47},{"type":"paragraph","children":[{"type":"text","value":"Related: ","line":49},{"type":"link","href":"security-hardening","children":[{"type":"text","value":"Hardening","line":49}],"line":49},{"type":"text","value":", ","line":49},{"type":"link","href":"../../reference/settings","children":[{"type":"text","value":"Settings","line":49}],"line":49},{"type":"text","value":".","line":49}],"line":49}]},"description":"What an instance and its workers connect to, which setting opens an internal address for which of them, and why it needs no internet to run."}
|