Skip to content

Commit 8d2e686

Browse files
committed
docs(spec): regenerate the ui/sharing and ui/view references for the publicLink describe
pnpm --filter @objectstack/spec gen:docs, after check:generated named content/docs/references/** as the one stale artifact. Claude-Session: https://claude.ai/code/session_01RPo7FUd6bSnAfkWMAKi848 Co-authored-by: Claude <noreply@anthropic.com>
1 parent 8479c9a commit 8d2e686

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

‎content/docs/references/ui/sharing.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const result = SharingConfigSchema.parse(data);
5555
| Property | Type | Required | Description |
5656
| :--- | :--- | :--- | :--- |
5757
| **enabled** | `boolean` | optional (default: `false`) | Enable public sharing |
58-
| **publicLink** | `string` | optional | Generated public share URL |
58+
| **publicLink** | `string` | optional | Public slug of the form, chosen by the author: not a URL, and never generated. `/forms/x`, `forms/x` and `x` name one slug, `x`. It is served to anonymous visitors only while `enabled` and `allowAnonymous` are both true: the REST form door answers `GET /api/v1/forms/:slug` (default API base), and a host that serves the console shows the form at `/_console/f/:slug` and redirects `/forms/:slug` there, query string carried. |
5959
| **password** | `string` | optional | Password required to access shared link |
6060
| **allowedDomains** | `string[]` | optional | Restrict access to specific email domains (e.g. ["example.com"]) |
6161
| **expiresAt** | `string` | optional | Expiration date/time in ISO 8601 format |

‎content/docs/references/ui/view.mdx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ Form-view select option — the object-field option shape minus the per-option `
486486
| Property | Type | Required | Description |
487487
| :--- | :--- | :--- | :--- |
488488
| **enabled** | `boolean` | optional (default: `false`) | Enable public sharing |
489-
| **publicLink** | `string` | optional | Generated public share URL |
489+
| **publicLink** | `string` | optional | Public slug of the form, chosen by the author: not a URL, and never generated. `/forms/x`, `forms/x` and `x` name one slug, `x`. It is served to anonymous visitors only while `enabled` and `allowAnonymous` are both true: the REST form door answers `GET /api/v1/forms/:slug` (default API base), and a host that serves the console shows the form at `/_console/f/:slug` and redirects `/forms/:slug` there, query string carried. |
490490
| **password** | `string` | optional | Password required to access shared link |
491491
| **allowedDomains** | `string[]` | optional | Restrict access to specific email domains (e.g. ["example.com"]) |
492492
| **expiresAt** | `string` | optional | Expiration date/time in ISO 8601 format |

0 commit comments

Comments
 (0)