import app from '@adonisjs/core/services/app'import { SiteClient } from '@fetchski/attract-cms-sdk'const site = await app.container.make(SiteClient)const formList = await site.forms().listForms()
{ "results": [ { "title": "Example title", "contents": { "metaType": "area", "_id": "clx8m2k4p0000a1b2c3d4e5f6", "items": [ { "type": "form-section", "_id": "clx8m2k4p0000a1b2c3d4e5f6", "metaType": "widget", "formFontOverrides": [], "formEyebrowEnabled": true, "formEyebrow": "Get in touch", "formEyebrowColor": "Example form eyebrow color", "formEyebrowColorLight": "Example form eyebrow color light", "formEyebrowWeight": "bold", "formEyebrowSize": "normal", "formHeading": "Send us a message", "formHeadingColor": "Example form heading color", "formHeadingColorLight": "Example form heading color light", "formHeadingWeight": "extrabold", "formHeadingSize": "normal", "formIntro": "Fill out the form below and we’ll get back to you shortly.", "formIntroColor": "Example form intro color", "formIntroColorLight": "Example form intro color light", "formIntroWeight": "normal", "formIntroSize": "normal", "formBand": "raised", "formAccentColor": "Example form accent color", "formAccentColorLight": "Example form accent color light", "formAlign": "center", "formWidth": "normal", "formLabelGap": "normal", "formBg": "transparent", "formBgCustom": "Example form bg custom", "formBgLight": "inherit", "formBgLightCustom": "Example form bg light custom", "formSubmitLabel": "Submit", "formSubmitVariant": "solid", "formSubmitSize": "normal", "formSubmitRadius": "slight", "formSubmitColor": "--fetchski-accent", "formSubmitColorLight": "Example form submit color light", "formSubmitTextColor": "--fetchski-ink", "formSubmitTextColorLight": "Example form submit text color light", "formSubmitHoverColor": "Example form submit hover color", "formSubmitHoverColorLight": "Example form submit hover color light", "formSubmitStyle": "sweep", "formSubmitShadowColor": "Example form submit shadow color", "formSubmitShadowColorLight": "Example form submit shadow color light", "formSubmitAnimation": "lift-scale", "formSubmitIcon": "Example form submit icon", "formSubmitIconFamily": "classic-regular", "formSubmitIconPosition": "before", "formSubmitIconNudge": false, "_form": [], "sectionCss": {}, "fields": {} } ] }, "slug": "example-slug", "visibility": "public", "scheduledPublish": "Example scheduled publish", "scheduledUnpublish": "Example scheduled unpublish", "thankYouHeading": "Example thank you heading", "thankYouBody": { "metaType": "area", "_id": "clx8m2k4p0000a1b2c3d4e5f6", "items": [ { "type": "@apostrophecms/rich-text", "_id": "clx8m2k4p0000a1b2c3d4e5f6", "metaType": "widget", "content": "<p>Hello from the API.</p>", "sectionCss": {} } ] }, "sendConfirmationEmail": true, "emailConfirmationField": "jo@acme.example", "emails": [], "email": "jo@acme.example", "googleSheetSubmissions": true, "googleSpreadsheetId": "clx8m2k4p0000a1b2c3d4e5f6", "googleSheetName": "Example google sheet name", "submitLabel": "Example submit label", "enableRecaptcha": true, "enableQueryParams": true, "queryParamList": [], "formActions": [], "archived": false, "_id": "clx8m2k4p0000a1b2c3d4e5f6", "type": "Example type", "createdAt": "2026-10-24T09:30:00.000Z", "updatedAt": "2026-10-24T09:30:00.000Z", "aposShareKey": "k3v9x2m7q1z8w4p6" } ], "pages": 1, "currentPage": 1}
import app from '@adonisjs/core/services/app'import { SiteClient } from '@fetchski/attract-cms-sdk'const site = await app.container.make(SiteClient)const formList = await site.forms().listForms()
{ "results": [ { "title": "Example title", "contents": { "metaType": "area", "_id": "clx8m2k4p0000a1b2c3d4e5f6", "items": [ { "type": "form-section", "_id": "clx8m2k4p0000a1b2c3d4e5f6", "metaType": "widget", "formFontOverrides": [], "formEyebrowEnabled": true, "formEyebrow": "Get in touch", "formEyebrowColor": "Example form eyebrow color", "formEyebrowColorLight": "Example form eyebrow color light", "formEyebrowWeight": "bold", "formEyebrowSize": "normal", "formHeading": "Send us a message", "formHeadingColor": "Example form heading color", "formHeadingColorLight": "Example form heading color light", "formHeadingWeight": "extrabold", "formHeadingSize": "normal", "formIntro": "Fill out the form below and we’ll get back to you shortly.", "formIntroColor": "Example form intro color", "formIntroColorLight": "Example form intro color light", "formIntroWeight": "normal", "formIntroSize": "normal", "formBand": "raised", "formAccentColor": "Example form accent color", "formAccentColorLight": "Example form accent color light", "formAlign": "center", "formWidth": "normal", "formLabelGap": "normal", "formBg": "transparent", "formBgCustom": "Example form bg custom", "formBgLight": "inherit", "formBgLightCustom": "Example form bg light custom", "formSubmitLabel": "Submit", "formSubmitVariant": "solid", "formSubmitSize": "normal", "formSubmitRadius": "slight", "formSubmitColor": "--fetchski-accent", "formSubmitColorLight": "Example form submit color light", "formSubmitTextColor": "--fetchski-ink", "formSubmitTextColorLight": "Example form submit text color light", "formSubmitHoverColor": "Example form submit hover color", "formSubmitHoverColorLight": "Example form submit hover color light", "formSubmitStyle": "sweep", "formSubmitShadowColor": "Example form submit shadow color", "formSubmitShadowColorLight": "Example form submit shadow color light", "formSubmitAnimation": "lift-scale", "formSubmitIcon": "Example form submit icon", "formSubmitIconFamily": "classic-regular", "formSubmitIconPosition": "before", "formSubmitIconNudge": false, "_form": [], "sectionCss": {}, "fields": {} } ] }, "slug": "example-slug", "visibility": "public", "scheduledPublish": "Example scheduled publish", "scheduledUnpublish": "Example scheduled unpublish", "thankYouHeading": "Example thank you heading", "thankYouBody": { "metaType": "area", "_id": "clx8m2k4p0000a1b2c3d4e5f6", "items": [ { "type": "@apostrophecms/rich-text", "_id": "clx8m2k4p0000a1b2c3d4e5f6", "metaType": "widget", "content": "<p>Hello from the API.</p>", "sectionCss": {} } ] }, "sendConfirmationEmail": true, "emailConfirmationField": "jo@acme.example", "emails": [], "email": "jo@acme.example", "googleSheetSubmissions": true, "googleSpreadsheetId": "clx8m2k4p0000a1b2c3d4e5f6", "googleSheetName": "Example google sheet name", "submitLabel": "Example submit label", "enableRecaptcha": true, "enableQueryParams": true, "queryParamList": [], "formActions": [], "archived": false, "_id": "clx8m2k4p0000a1b2c3d4e5f6", "type": "Example type", "createdAt": "2026-10-24T09:30:00.000Z", "updatedAt": "2026-10-24T09:30:00.000Z", "aposShareKey": "k3v9x2m7q1z8w4p6" } ], "pages": 1, "currentPage": 1}
In your app
A controller answers a route on your app: it calls listForms() and returns the answer.
Add the controller
app/controllers/list_forms_controller.ts
import { inject } from '@adonisjs/core'import { SiteClient } from '@fetchski/attract-cms-sdk'@inject()export default class ListFormsController { constructor(protected site: SiteClient) {} async handle() { return this.site.forms().listForms() }}
Add the route
start/routes.ts
import router from '@adonisjs/core/services/router'const ListFormsController = () => import('#controllers/list_forms_controller')router.get('/form', [ListFormsController])
Call it
Terminal
curl http://localhost:3333/form
With node ace serve running, it prints its answer as JSON.
Optional parameters
One object, e.g. listForms({ page }); leave out the optional fields.
number | null | undefined
Optional. Leave it out and the site uses 1. Page number for pagination (1-based)
number | null | undefined
Optional. Leave it out (or pass null) and it isn’t sent: the site’s default applies. Documents per page. Each content type has its own default (core’s is 50; a type may set another). There is no upper limit: a large value answers the whole list at once, which is slow on a big one. At least 1.
string | null | undefined
Optional. Leave it out (or pass null) and it isn’t sent: the site’s default applies. Matches documents by their text. Ignored for the public and API keys on a type whose public fields leave some out (a search would match the hidden ones).
AposMode | null | undefined
Optional. Leave it out and the site uses "published". published (the default) or draft. Drafts need a credential that may see them: an API key with the type’s write scope (content:<type>:write), or a signed-in editor. The public and a key with only the read scope get 403. One of draft, published.
string | null | undefined
Optional. Leave it out (or pass null) and it isn’t sent: the site’s default applies. The locale to read or write, e.g. en (default: the site’s default locale).
boolean | null | undefined
Optional. Leave it out and the site uses false. true: each area’s widgets come back rendered as HTML (_rendered), beside their data.
string | null | undefined
Optional. Leave it out (or pass null) and it isn’t sent: the site’s default applies. Only the document with exactly this slug: a list of one, or an empty list when none has it. Use it to find a document by the name in its URL.
Returns
A FormList. A page of Form documents. Read its properties (formList.results): each says whether the site always sends it. The example answer is the site’s wire JSON: some keys differ from the property names (_id → id, _form → form, _destination → destination).
readonly Form[]
Always sent. A list of Form. This page’s documents; empty past the last page.
Show Form
Form content type
string
Always sent. Its title: the name it goes by in every list, and the heading of its page where it has one.
string
Always sent. The URL name: lowercase words joined by hyphens (letters outside a–z, even emoji, are kept).
Visibility
Always sent. Select whether this content is public or private. One of public, loginRequired; a newer site may send others, so keep a fallback.
string
Always sent. The “from” address on this form’s emails. A new form starts with the Email in Site settings → Brand; change it here for this form.
string
Always sent. The document’s id. On a type with drafts it ends in its locale and mode (…:en:published, …:en:draft): the part before the first colon is its aposDocId, shared by both copies. The {_id} the type’s routes take.
string
Always sent. The document type’s name: always this type’s.
Date
Always sent. When it was created (ISO 8601). Format: an ISO 8601 date and time.
Date
Always sent. When it last changed (ISO 8601). Format: an ISO 8601 date and time.
FormSectionArea
Sometimes sent:undefined when the site leaves it out. A FormSectionArea. Widgets, top to bottom: send { "items": [ … ] }, one object per widget with its type. Writing it replaces the whole area. A new document starts with form-section.
Show FormSectionArea
AfterContentAreaMetaType
Sometimes sent:undefined when the site leaves it out. Always area. One of area; a newer site may send others, so keep a fallback.
string
Sometimes sent:undefined when the site leaves it out. The area’s id, set by the site: leave it out when you write one.
readonly FormSectionWidget[]
Sometimes sent:undefined when the site leaves it out. A list of FormSectionWidget. The widgets, top to bottom. Each is an object with its type and that widget’s own fields; _id and metaType may be left out (the site sets them). At most 1 items.
Show FormSectionWidget
A form-section widget: its type and its own fields. A field left out takes its default.
FormSectionWidgetType
Always sent. The widget’s type: always form-section. One of form-section; a newer site may send others, so keep a fallback.
string
Sometimes sent:undefined when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.
MetaType
Sometimes sent:undefined when the site leaves it out. Always widget. One of widget; a newer site may send others, so keep a fallback.
readonly FormSectionWidgetFormFontOverridesItem[]
Sometimes sent:undefined when the site leaves it out. A list of FormSectionWidgetFormFontOverridesItem. Optional. Set part of this form in a different typeface. Leave empty to follow the site’s fonts (Site design → Typography). At most 4 items.
Show FormSectionWidgetFormFontOverridesItem
string
Sometimes sent:undefined when the site leaves it out. The row’s id, unique in its array.
Target | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Which text this typeface replaces. Rows apply in order, so a broad row (Everything) followed by a narrow one (Headings) gives the section a base face plus an exception. One of all, heading, body, eyebrow, button, code; a newer site may send others, so keep a fallback.
Source | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Where the typeface comes from. The first option costs nothing extra — those faces are already loaded. The others load an additional font on pages that use this section. One of slot, curated, cdn, upload; a newer site may send others, so keep a fallback.
Slot | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Set in Site design → Typography. Following the site’s own faces keeps a section on-brand and adds no download. One of display, body, accent; a newer site may send others, so keep a fallback.
Curated | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Vetted families from Bunny Fonts and Fontshare, with their available weights already verified. One of archivo, bricolage-grotesque, clash-display, courier-prime, dm-mono, dm-sans, fira-code, fraunces, general-sans, ibm-plex-mono, ibm-plex-sans, inconsolata, inter, jetbrains-mono, karla, lora, manrope, nunito-sans, outfit, playfair-display, public-sans, red-hat-mono, satoshi, sentient, sora, source-code-pro, source-sans-3, source-serif-4, space-grotesk, space-mono, spline-sans-mono, supreme, switzer, syne, ubuntu-mono, unbounded, victor-mono, work-sans, zodiak; a newer site may send others, so keep a fallback.
CdnProvider | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Where to browse for the family. Pick one, then follow the link below to find the exact name. One of bunny, fontshare; a newer site may send others, so keep a fallback.
string
Sometimes sent:undefined when the site leaves it out. Exactly as the provider’s catalog spells it, e.g. “Space Grotesk” or “Clash Display”. A name the provider doesn’t have loads nothing and this row is ignored.
string
Sometimes sent:undefined when the site leaves it out. Comma-separated weights to load, e.g. 400, 700. Empty loads 400, 500, 700. Weights the family doesn’t ship are skipped by the CDN and synthesized by the browser (faux bold) — but a family that ships only ONE weight (Acme, for instance) loads nothing at all unless that weight is among these, so set it explicitly if the typeface doesn’t appear.
Sometimes sent:undefined when the site leaves it out. A list of FormSectionWidgetFormFontOverridesItemUploadsItem. One file per weight/style of the SAME typeface. woff2 strongly recommended (smallest, universally supported); woff/ttf/otf also accepted. At most 4 items.
Show FormSectionWidgetFormFontOverridesItemUploadsItem
Readonly<Record<string, unknown>>
Always sent. File attachment reference.
string
Sometimes sent:undefined when the site leaves it out. The row’s id, unique in its array.
Weight | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Weight. One of 100, 200, 300, 400, 500, 600, 700, 800, 900; a newer site may send others, so keep a fallback.
Style | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Style. One of normal, italic; a newer site may send others, so keep a fallback.
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
Fallback | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Generic system font shown while this typeface loads (and if it fails). Curated picks set this automatically. One of sans, serif, mono; a newer site may send others, so keep a fallback.
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
boolean
Sometimes sent:undefined when the site leaves it out. Show eyebrow.
string
Sometimes sent:undefined when the site leaves it out. Small label shown above the title.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Optional. Overrides the eyebrow + its dash. Leave empty to use the secondary (mint) color.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Optional light-theme override. Falls back to the dark-theme color, then the mint default.
FormEyebrowWeight | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Eyebrow weight. One of normal, medium, semibold, bold, extrabold; a newer site may send others, so keep a fallback.
FormEyebrowSize | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Eyebrow size. One of small, normal, large, xlarge; a newer site may send others, so keep a fallback.
string
Sometimes sent:undefined when the site leaves it out. Heading.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Optional — leave empty to track the theme text color.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Optional light-theme override. Falls back to the dark-theme color.
FormHeadingWeight | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Weight. One of normal, medium, semibold, bold, extrabold; a newer site may send others, so keep a fallback.
FormHeadingSize | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Size. One of small, normal, large, xlarge, xxlarge; a newer site may send others, so keep a fallback.
string
Sometimes sent:undefined when the site leaves it out. Optional short sentence under the heading.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Optional — leave empty to use the muted text color.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Optional light-theme override. Falls back to the dark-theme color.
FormIntroWeight | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Weight. One of normal, medium, semibold, bold, extrabold; a newer site may send others, so keep a fallback.
FormIntroSize | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Size. One of small, normal, large, xlarge, xxlarge; a newer site may send others, so keep a fallback.
FormBand | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Plain sits on the page; Raised is a contained card; Accent is a solid brand-color band. One of plain, raised, accent; a newer site may send others, so keep a fallback.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. The accent band color. Leave empty to use the site accent color.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Optional light-theme override. Falls back to the dark-theme color, then the accent.
FormAlign | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Alignment of the section header (the form fields stay left-aligned for legibility). One of center, left; a newer site may send others, so keep a fallback.
FormWidth | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Content width. One of narrow, normal, wide; a newer site may send others, so keep a fallback.
FormLabelGap | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Vertical space between each field’s label and its input. One of compact, normal, roomy, spacious; a newer site may send others, so keep a fallback.
FormBg | null
Sometimes sent:undefined when the site leaves it out, and it can be null. The section’s full-width background band in dark mode. Transparent lets the page background show through. The palette options track the site colors; choose “Custom color…” for a specific color. One of transparent, surface, raised, sunken, hill, accent-soft, custom; a newer site may send others, so keep a fallback.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Used when “Section background (dark theme)” is set to Custom color.
FormBgLight | null
Sometimes sent:undefined when the site leaves it out, and it can be null. “Match dark theme” reuses the dark-theme choice; otherwise set the light-mode band independently. One of inherit, transparent, surface, raised, sunken, hill, accent-soft, custom; a newer site may send others, so keep a fallback.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Used when “Section background (light theme)” is set to Custom color.
string
Sometimes sent:undefined when the site leaves it out. The visible button text. Leave empty to hide the button.
FormSubmitVariant | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Solid fills with the color; Outline / Soft / Text link use it for the border + text. One of solid, outline, soft, link; a newer site may send others, so keep a fallback.
FormSubmitSize | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Button size. One of small, normal, large; a newer site may send others, so keep a fallback.
FormSubmitRadius | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Corner radius. One of pill, rounded, slight, square; a newer site may send others, so keep a fallback.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Solid fill, or the border + text for the other styles. Defaults to the brand accent; CLEAR it for a transparent, outline-only button.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Optional light-theme override. Falls back to the dark-theme color. (Brand tokens already flip per theme.)
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. The text/icon color. Clear it to derive from the button color (readable on solid fills).
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Optional light-theme override. Falls back to the dark-theme label color.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Optional. Drives the hover treatment. Leave empty to derive it from the button color.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Optional light-theme override. Falls back to the dark-theme hover color.
FormSubmitStyle | null
Sometimes sent:undefined when the site leaves it out, and it can be null. The hover treatment: a soft shadow, a colored offset shadow, a glow, a fill sweep, or a thicker border. One of none, single, dual, glow, sweep, thicken; a newer site may send others, so keep a fallback.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Optional. The offset-shadow or glow color on hover. Leave empty to use the site secondary color.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Optional light-theme override. Falls back to the dark-theme shadow color.
FormSubmitAnimation | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Hover motion. One of lift, scale, lift-scale, none; a newer site may send others, so keep a fallback.
string
Sometimes sent:undefined when the site leaves it out. Any Font Awesome icon name, e.g. star, bolt, arrow-left-to-bracket (no “fa-” prefix). Browse at fontawesome.com/icons.
FormSubmitIconFamily | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Icon family. One of classic-regular, duotone-regular, brands, jelly, jelly-duo, whiteboard; a newer site may send others, so keep a fallback.
FormSubmitIconPosition | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Which side of the label the icon sits on (when an icon name is set). One of before, after; a newer site may send others, so keep a fallback.
boolean
Sometimes sent:undefined when the site leaves it out. The icon slides toward its side on hover (e.g. an arrow edges outward).
readonly Readonly<Record<string, unknown>>[]
Sometimes sent:undefined when the site leaves it out. The Form record that stores this form’s submissions and routes them (its Actions / integrations / Google Sheet). Create one in the Forms manager. The fields themselves are built right here on the page. The related @apostrophecms/form documents, in order (empty when none). To set it, send a list of { "_id": "…" }, one per document (one at most); a document the site can’t find is left out. At most 1 items.
CustomCSS | null
Sometimes sent:undefined when the site leaves it out, and it can be null. A CustomCSS. CSS for this one section, typed into the slot of the part it styles. It wins over Site design → Custom CSS. Nested rules like &:hover, @media (width >= 48rem) and [data-theme=“light”] & work inside a slot.
Show CustomCSS
Readonly<Record<string, string>>
Sometimes sent:undefined when the site leaves it out. The CSS typed into each part slot, by slot name.
string
Sometimes sent:undefined when the site leaves it out. The compiled CSS (read only: rebuilt from slots).
string
Sometimes sent:undefined when the site leaves it out. The site’s check mark for css (read only).
FormSectionFieldsArea
Sometimes sent:undefined when the site leaves it out. A FormSectionFieldsArea. Add and arrange the form’s fields here — edited live on the page. Widgets, top to bottom: send { "items": [ … ] }, one object per widget with its type. Writing it replaces the whole area.
Show FormSectionFieldsArea
AfterContentAreaMetaType
Sometimes sent:undefined when the site leaves it out. Always area. One of area; a newer site may send others, so keep a fallback.
string
Sometimes sent:undefined when the site leaves it out. The area’s id, set by the site: leave it out when you write one.
readonly FormSectionFieldsAreaItem[]
Sometimes sent:undefined when the site leaves it out. A list of FormSectionFieldsAreaItem. The widgets, top to bottom. Each is an object with its type and that widget’s own fields; _id and metaType may be left out (the site sets them).
Show FormSectionFieldsAreaItem
A widget in an area that takes @apostrophecms/form-text-field, @apostrophecms/form-textarea-field, @apostrophecms/form-file-field, @apostrophecms/form-boolean-field, @apostrophecms/form-select-field, @apostrophecms/form-radio-field, @apostrophecms/form-checkboxes-field, @apostrophecms/form-conditional, @apostrophecms/form-group, @apostrophecms/form-divider, @apostrophecms/rich-text: the one its type names.
Show FormTextFieldWidget
A @apostrophecms/form-text-field widget: its type and its own fields. A field left out takes its default.
FormTextFieldWidgetType
Always sent. The widget’s type: always @apostrophecms/form-text-field. One of @apostrophecms/form-text-field; a newer site may send others, so keep a fallback.
string
Always sent. Field label.
string
Sometimes sent:undefined when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.
MetaType
Sometimes sent:undefined when the site leaves it out. Always widget. One of widget; a newer site may send others, so keep a fallback.
boolean | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Is this field required?
string
Sometimes sent:undefined when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.
InputType | null
Sometimes sent:undefined when the site leaves it out, and it can be null. If you are requesting certain formatted information (e.g., email, url, phone number), select the relevant input type here. If not, use “Text”. One of text, email, tel, url, date, password; a newer site may send others, so keep a fallback.
string
Sometimes sent:undefined when the site leaves it out. Text to display in the field before someone uses it (e.g., to provide additional directions).
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
Show FormTextareaFieldWidget
A @apostrophecms/form-textarea-field widget: its type and its own fields. A field left out takes its default.
FormTextareaFieldWidgetType
Always sent. The widget’s type: always @apostrophecms/form-textarea-field. One of @apostrophecms/form-textarea-field; a newer site may send others, so keep a fallback.
string
Always sent. Field label.
string
Sometimes sent:undefined when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.
MetaType
Sometimes sent:undefined when the site leaves it out. Always widget. One of widget; a newer site may send others, so keep a fallback.
boolean | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Is this field required?
string
Sometimes sent:undefined when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.
string
Sometimes sent:undefined when the site leaves it out. Text to display in the field before someone uses it (e.g., to provide additional directions).
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
Show FormFileFieldWidget
A @apostrophecms/form-file-field widget: its type and its own fields. A field left out takes its default.
FormFileFieldWidgetType
Always sent. The widget’s type: always @apostrophecms/form-file-field. One of @apostrophecms/form-file-field; a newer site may send others, so keep a fallback.
string
Always sent. Field label.
string
Sometimes sent:undefined when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.
MetaType
Sometimes sent:undefined when the site leaves it out. Always widget. One of widget; a newer site may send others, so keep a fallback.
boolean | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Is this field required?
string
Sometimes sent:undefined when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.
boolean
Sometimes sent:undefined when the site leaves it out. Allow multiple file attachments.
boolean
Sometimes sent:undefined when the site leaves it out. Limit file size?
number | null
Sometimes sent:undefined when the site leaves it out, and it can be null. In Bytes.
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
Show FormBooleanFieldWidget
A @apostrophecms/form-boolean-field widget: its type and its own fields. A field left out takes its default.
FormBooleanFieldWidgetType
Always sent. The widget’s type: always @apostrophecms/form-boolean-field. One of @apostrophecms/form-boolean-field; a newer site may send others, so keep a fallback.
string
Always sent. Field label.
string
Sometimes sent:undefined when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.
MetaType
Sometimes sent:undefined when the site leaves it out. Always widget. One of widget; a newer site may send others, so keep a fallback.
boolean | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Is this field required?
string
Sometimes sent:undefined when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.
boolean | null
Sometimes sent:undefined when the site leaves it out, and it can be null. If “yes,” the checkbox will start in the checked state.
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
Show FormSelectFieldWidget
A @apostrophecms/form-select-field widget: its type and its own fields. A field left out takes its default.
FormSelectFieldWidgetType
Always sent. The widget’s type: always @apostrophecms/form-select-field. One of @apostrophecms/form-select-field; a newer site may send others, so keep a fallback.
string
Always sent. Field label.
readonly FormSelectFieldWidgetChoicesItem[]
Always sent. A list of FormSelectFieldWidgetChoicesItem. Select input options. Its fields are listed under the first FormSelectFieldWidgetChoicesItem above.
string
Sometimes sent:undefined when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.
MetaType
Sometimes sent:undefined when the site leaves it out. Always widget. One of widget; a newer site may send others, so keep a fallback.
boolean | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Is this field required?
string
Sometimes sent:undefined when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.
boolean
Sometimes sent:undefined when the site leaves it out. Allow multiple options to be selected.
number | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Number of options in the list that should be visible. At least 0.
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
Show FormRadioFieldWidget
A @apostrophecms/form-radio-field widget: its type and its own fields. A field left out takes its default.
FormRadioFieldWidgetType
Always sent. The widget’s type: always @apostrophecms/form-radio-field. One of @apostrophecms/form-radio-field; a newer site may send others, so keep a fallback.
string
Always sent. Field label.
readonly FormRadioFieldWidgetChoicesItem[]
Always sent. A list of FormRadioFieldWidgetChoicesItem. Radio input options. At least 1 items. Its fields are listed under the first FormRadioFieldWidgetChoicesItem above.
string
Sometimes sent:undefined when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.
MetaType
Sometimes sent:undefined when the site leaves it out. Always widget. One of widget; a newer site may send others, so keep a fallback.
boolean | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Is this field required?
string
Sometimes sent:undefined when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.
boolean
Sometimes sent:undefined when the site leaves it out. Allow multiple options to be selected.
number | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Number of options in the list that should be visible. At least 0.
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
Show FormCheckboxesFieldWidget
A @apostrophecms/form-checkboxes-field widget: its type and its own fields. A field left out takes its default.
FormCheckboxesFieldWidgetType
Always sent. The widget’s type: always @apostrophecms/form-checkboxes-field. One of @apostrophecms/form-checkboxes-field; a newer site may send others, so keep a fallback.
string
Always sent. Field label.
readonly FormCheckboxesFieldWidgetChoicesItem[]
Always sent. A list of FormCheckboxesFieldWidgetChoicesItem. Checkbox input options. At least 1 items. Its fields are listed under the first FormCheckboxesFieldWidgetChoicesItem above.
string
Sometimes sent:undefined when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.
MetaType
Sometimes sent:undefined when the site leaves it out. Always widget. One of widget; a newer site may send others, so keep a fallback.
boolean | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Is this field required?
string
Sometimes sent:undefined when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
Show FormConditionalWidget
A @apostrophecms/form-conditional widget: its type and its own fields. A field left out takes its default.
FormConditionalWidgetType
Always sent. The widget’s type: always @apostrophecms/form-conditional. One of @apostrophecms/form-conditional; a newer site may send others, so keep a fallback.
string
Always sent. Form field to check.
string
Always sent. Value that activates this group.
string
Sometimes sent:undefined when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.
MetaType
Sometimes sent:undefined when the site leaves it out. Always widget. One of widget; a newer site may send others, so keep a fallback.
FormConditionalContentsArea
Sometimes sent:undefined when the site leaves it out. A FormConditionalContentsArea. aposForm:conditionalContentsHelp Widgets, top to bottom: send { "items": [ … ] }, one object per widget with its type. Writing it replaces the whole area. Its fields are listed under the first FormConditionalContentsArea above.
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
Show FormGroupWidget
A @apostrophecms/form-group widget: its type and its own fields. A field left out takes its default.
FormGroupWidgetType
Always sent. The widget’s type: always @apostrophecms/form-group. One of @apostrophecms/form-group; a newer site may send others, so keep a fallback.
string
Always sent. Group Label.
string
Sometimes sent:undefined when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.
MetaType
Sometimes sent:undefined when the site leaves it out. Always widget. One of widget; a newer site may send others, so keep a fallback.
FormGroupContentsArea
Sometimes sent:undefined when the site leaves it out. A FormGroupContentsArea. aposForm:groupContentsHelp Widgets, top to bottom: send { "items": [ … ] }, one object per widget with its type. Writing it replaces the whole area. Its fields are listed under the first FormGroupContentsArea above.
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
Show FormDividerWidget
A @apostrophecms/form-divider widget: its type and its own fields. A field left out takes its default.
FormDividerWidgetType
Always sent. The widget’s type: always @apostrophecms/form-divider. One of @apostrophecms/form-divider; a newer site may send others, so keep a fallback.
string
Sometimes sent:undefined when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.
MetaType
Sometimes sent:undefined when the site leaves it out. Always widget. One of widget; a newer site may send others, so keep a fallback.
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
Show RichTextWidget
A @apostrophecms/rich-text widget: its type and its own fields. A field left out takes its default.
RichTextWidgetType
Always sent. The widget’s type: always @apostrophecms/rich-text. One of @apostrophecms/rich-text; a newer site may send others, so keep a fallback.
string
Sometimes sent:undefined when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.
MetaType
Sometimes sent:undefined when the site leaves it out. Always widget. One of widget; a newer site may send others, so keep a fallback.
string
Sometimes sent:undefined when the site leaves it out. The text as HTML, e.g. <h2>Our story</h2><p>It began with <strong>one</strong> idea.</p>. The site keeps the tags and styles this area’s editor offers (paragraphs, headings, bold, italic, links, lists…) and removes the rest.
CustomCSS | null
Sometimes sent:undefined when the site leaves it out, and it can be null. A CustomCSS. CSS for this one section, typed into the slot of the part it styles. It wins over Site design → Custom CSS. Nested rules like &:hover, @media (width >= 48rem) and [data-theme=“light”] & work inside a slot. Its fields are listed under the first CustomCSS above.
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. An ISO 8601 date and time, e.g. 2026-10-21T14:30:00.000Z.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. An ISO 8601 date and time, e.g. 2026-10-21T14:30:00.000Z.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Thank you message title.
RichTextArea
Sometimes sent:undefined when the site leaves it out. A RichTextArea. Widgets, top to bottom: send { "items": [ … ] }, one object per widget with its type. Writing it replaces the whole area.
Show RichTextArea
AfterContentAreaMetaType
Sometimes sent:undefined when the site leaves it out. Always area. One of area; a newer site may send others, so keep a fallback.
string
Sometimes sent:undefined when the site leaves it out. The area’s id, set by the site: leave it out when you write one.
readonly RichTextWidget[]
Sometimes sent:undefined when the site leaves it out. A list of RichTextWidget. The widgets, top to bottom. Each is an object with its type and that widget’s own fields; _id and metaType may be left out (the site sets them). Its fields are listed under the first RichTextWidget above.
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
boolean | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Enable this to send a message to the person who submits this form.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Enter the “name” value of the field where people with enter their email address. For best results, make sure this field only accepts email addresses.
readonly FormEmailsItem[] | null
Sometimes sent:undefined when the site leaves it out, and it can be null. A list of FormEmailsItem. Email Address(es) for Results.
Show FormEmailsItem
string
Always sent. Email Address for Results. Format: an email address.
string
Sometimes sent:undefined when the site leaves it out. The row’s id, unique in its array.
readonly FormEmailsItemConditionsItem[]
Sometimes sent:undefined when the site leaves it out. A list of FormEmailsItemConditionsItem. For example, if you only notify this email address if the “country” field is set to “Austria”. All conditions must be met. Add the email again with another conditional set if needed.
Show FormEmailsItemConditionsItem
string
Sometimes sent:undefined when the site leaves it out. The row’s id, unique in its array.
string
Sometimes sent:undefined when the site leaves it out. Only select (drop-down) and checkbox fields can be used for this condition.
string
Sometimes sent:undefined when the site leaves it out. Enter the value an end-user will enter to meet this conditional.
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
boolean | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Submit to Google Spreadsheets.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Google Spreadsheet ID.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. The name of the sheet tab in your Google spreadsheet where you want the submission appended. If not provided, the first sheet of the spreadsheet will be used.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Submit button label.
boolean | null
Sometimes sent:undefined when the site leaves it out, and it can be null. To use, reCAPTCHA a site ID and secret key must be configured in website code or the website global settings.
boolean | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Enable query parameter capture.
readonly FormQueryParamListItem[] | null
Sometimes sent:undefined when the site leaves it out, and it can be null. A list of FormQueryParamListItem. Create an array item for each query parameter value you wish to capture.
Show FormQueryParamListItem
string
Always sent. Key.
string
Sometimes sent:undefined when the site leaves it out. The row’s id, unique in its array.
number | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Enter a whole number to limit the length of the value saved. At least 1.
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
readonly FormFormActionsItem[] | null
Sometimes sent:undefined when the site leaves it out, and it can be null. A list of FormFormActionsItem. What happens to each submission, beyond being stored in the CMS. Add one row per destination; several can run for one form. Storage always happens regardless.
Show FormFormActionsItem
ActionType
Always sent. Action. One of webhook, emailNotify; a newer site may send others, so keep a fallback.
string
Sometimes sent:undefined when the site leaves it out. The row’s id, unique in its array.
boolean
Sometimes sent:undefined when the site leaves it out. Enabled.
readonly Readonly<Record<string, unknown>>[]
Sometimes sent:undefined when the site leaves it out. Where each submission is sent (⌘K → Webhook Destinations). It is signed with that destination’s secret, retried if the receiver is down, and listed on its Deliveries tab. The related webhook-destination documents, in order (empty when none). To set it, send a list of { "_id": "…" }, one per document (one at most); a document the site can’t find is left out. At most 1 items.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. Where a copy of each submission is emailed (sent through Connections → Email). Replying answers the visitor. When set, an email address; empty or null when not.
Readonly<Record<string, unknown>>
Always there:{} when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.
boolean | null
Sometimes sent:undefined when the site leaves it out, and it can be null. In the archive: kept, but out of every list and off the site until it is restored. false (or null) for a live document.
string | null
Sometimes sent:undefined when the site leaves it out, and it can be null. The draft’s preview share key, while its share link is on: the link is the draft’s _url with aposShareKey and aposShareId (the draft’s _id) in its query. Absent otherwise, and on published documents.
number
Always sent. Pages in the whole list (0 when it is empty).
number
Always sent. This page, from 1.
Errors
Nothing to catch: the SDK retries what is safe, and throws the rest as the classes below. Your exception handler turns them into your app’s own answers, once for every call (see Map SDK errors to responses); catch only what you want to react to here.
400
The site refused what was sent: errors lists each field’s problem, siteMessage the first.Retried first: No. Read:errors (field → messages), siteMessage.
401
The API key is missing or refused (malformed, revoked, expired), or a signature its signing mode needs is missing or stale.Retried first: No. Read:siteMessage, errorName, data.
403
The key may not do this: a scope it lacks, or an address outside its allowlist. siteMessage names it.Retried first: No. Read:siteMessage, errorName, data.
404
Nothing matches, or the caller may not see it.Retried first: No. Read:siteMessage, errorName, data.
500
The site failed. Its logs say why.Retried first: No (only a 502, 503 or 504 is retried). Read:siteMessage, errorName, data.
no answer
No answer: DNS, a refused connection, TLS, or the timeout (15 s per attempt by default).Retried first: Yes, after 0.5 s then 1 s. Read:reason, neverConnected.
not sent
The client refused to send it (e.g. a path segment of ..); the site never saw it.Retried first: No. Read:reason (what to change).
any other
Any other status, or a success whose JSON doesn’t match this SDK version’s types (update the SDK).Retried first: No. Read:reason, status.
setup
sites.forSite('acme') named a slug config/attract.ts doesn’t list (with the keys in the database: no row in attract_api_keys).Retried first: No: nothing was sent. Read:message, slug.
setup
The site’s entry is wrong: a malformed baseUrl or key, a key filed under another slug, or no default site. node ace attract:check names the fix.Retried first: No: nothing was sent. Read:message (what to fix).
Behavior
Access: an API key with content:forms:read (or a master above it: content:forms:all, content:all, admin:all) reads the published documents; drafts (aposMode=draft) need content:forms:write (or a master above it). A signed-in person may call it as far as their own permissions allow; anyone else gets 404.
Rate limit: the key’s own reads-per-minute limit, set when the key is created (default 600); over it, 429 with Retry-After. The client waits and retries for you; you see RateLimited only if that runs out.
Retries: a read is safe to repeat: the client retries it on no answer, a 502/503/504 and a 429.
Timeout: 15 s per attempt by default; raise timeout (milliseconds) in config/attract.ts for longer.
Paging: one page per call. To walk them all, use listFormsAll() (see More examples): it asks for the next page as you iterate, and stops after page pages.
More examples
listFormsAll() takes listForms()’s arguments except page. listFormsPick() takes the same arguments except page, after the fields to answer: each row is the document’s id and those fields.
import app from '@adonisjs/core/services/app'import { SiteClient } from '@fetchski/attract-cms-sdk'const site = await app.container.make(SiteClient)for await (const form of site.forms().listFormsAll()) { console.log(form) // the next page is fetched as you iterate}
import app from '@adonisjs/core/services/app'import { SiteClient } from '@fetchski/attract-cms-sdk'const site = await app.container.make(SiteClient)const rows = await site.forms().listFormsPick(['title', 'slug']) // [{ id, title, slug }, …]: every form, across every page
Test it
It calls the controller above with the SDK faked: fakeAttract() puts the fake in the container for this one test, and it answers every call with a valid example, so nothing leaves your machine and no key is read. Save it as tests/unit/forms_list_forms.spec.ts, then run your tests:
tests/unit/forms_list_forms.spec.ts
import { test } from '@japa/runner'import app from '@adonisjs/core/services/app'import { fakeAttract } from '@fetchski/attract-cms-adonis/testing'import ListFormsController from '#controllers/list_forms_controller'test('forms.listForms', async () => { const site = fakeAttract() const controller = await app.container.make(ListFormsController) await controller.handle() site.assertCalled('forms.listForms')})
Terminal
node ace test
Answer with your own values: fake forms.listForms with a sequence() of pages, each factories.FormList({...}), and walk listFormsAll().
tests/unit/forms_list_forms_answers.spec.ts
import { test } from '@japa/runner'import { factories, fakeAttract, sequence } from '@fetchski/attract-cms-adonis/testing'test('forms.listForms answers your values', async ({ assert }) => { const site = fakeAttract({ 'forms.listForms': sequence( factories.FormList({ currentPage: 1, pages: 2 }), factories.FormList({ currentPage: 2, pages: 2 }) ), }) const walked: unknown[] = [] for await (const form of site.forms().listFormsAll()) { walked.push(form) } assert.lengthOf(walked, 2)})
To fake listFormsAll(), answer forms.listForms (the walk calls it page by page): a sequence() of answers for several pages.
Related
List a form’s locales
site.forms().getFormLocales()
Create a form
site.forms().createForm()
Get a form
site.forms().getForm()
Replace a form
site.forms().replaceForm()
Delete a form
site.forms().deleteForm()
Update a form
site.forms().updateForm()
GET /@apostrophecms/form
The endpoint this calls, in the API reference: the HTTP request and answer, and every rule the site checks.
⌘I
import app from '@adonisjs/core/services/app'import { SiteClient } from '@fetchski/attract-cms-sdk'const site = await app.container.make(SiteClient)const formList = await site.forms().listForms()
{ "results": [ { "title": "Example title", "contents": { "metaType": "area", "_id": "clx8m2k4p0000a1b2c3d4e5f6", "items": [ { "type": "form-section", "_id": "clx8m2k4p0000a1b2c3d4e5f6", "metaType": "widget", "formFontOverrides": [], "formEyebrowEnabled": true, "formEyebrow": "Get in touch", "formEyebrowColor": "Example form eyebrow color", "formEyebrowColorLight": "Example form eyebrow color light", "formEyebrowWeight": "bold", "formEyebrowSize": "normal", "formHeading": "Send us a message", "formHeadingColor": "Example form heading color", "formHeadingColorLight": "Example form heading color light", "formHeadingWeight": "extrabold", "formHeadingSize": "normal", "formIntro": "Fill out the form below and we’ll get back to you shortly.", "formIntroColor": "Example form intro color", "formIntroColorLight": "Example form intro color light", "formIntroWeight": "normal", "formIntroSize": "normal", "formBand": "raised", "formAccentColor": "Example form accent color", "formAccentColorLight": "Example form accent color light", "formAlign": "center", "formWidth": "normal", "formLabelGap": "normal", "formBg": "transparent", "formBgCustom": "Example form bg custom", "formBgLight": "inherit", "formBgLightCustom": "Example form bg light custom", "formSubmitLabel": "Submit", "formSubmitVariant": "solid", "formSubmitSize": "normal", "formSubmitRadius": "slight", "formSubmitColor": "--fetchski-accent", "formSubmitColorLight": "Example form submit color light", "formSubmitTextColor": "--fetchski-ink", "formSubmitTextColorLight": "Example form submit text color light", "formSubmitHoverColor": "Example form submit hover color", "formSubmitHoverColorLight": "Example form submit hover color light", "formSubmitStyle": "sweep", "formSubmitShadowColor": "Example form submit shadow color", "formSubmitShadowColorLight": "Example form submit shadow color light", "formSubmitAnimation": "lift-scale", "formSubmitIcon": "Example form submit icon", "formSubmitIconFamily": "classic-regular", "formSubmitIconPosition": "before", "formSubmitIconNudge": false, "_form": [], "sectionCss": {}, "fields": {} } ] }, "slug": "example-slug", "visibility": "public", "scheduledPublish": "Example scheduled publish", "scheduledUnpublish": "Example scheduled unpublish", "thankYouHeading": "Example thank you heading", "thankYouBody": { "metaType": "area", "_id": "clx8m2k4p0000a1b2c3d4e5f6", "items": [ { "type": "@apostrophecms/rich-text", "_id": "clx8m2k4p0000a1b2c3d4e5f6", "metaType": "widget", "content": "<p>Hello from the API.</p>", "sectionCss": {} } ] }, "sendConfirmationEmail": true, "emailConfirmationField": "jo@acme.example", "emails": [], "email": "jo@acme.example", "googleSheetSubmissions": true, "googleSpreadsheetId": "clx8m2k4p0000a1b2c3d4e5f6", "googleSheetName": "Example google sheet name", "submitLabel": "Example submit label", "enableRecaptcha": true, "enableQueryParams": true, "queryParamList": [], "formActions": [], "archived": false, "_id": "clx8m2k4p0000a1b2c3d4e5f6", "type": "Example type", "createdAt": "2026-10-24T09:30:00.000Z", "updatedAt": "2026-10-24T09:30:00.000Z", "aposShareKey": "k3v9x2m7q1z8w4p6" } ], "pages": 1, "currentPage": 1}
{"docsConfig":{"theme":"almond","$schema":"https://mintlify.com/docs.json","name":"Fetchski Attract Docs","colors":{"primary":"#16a34a","light":"#22c55e","dark":"#15803d"},"logo":{"light":"https://mintcdn.com/fetchski-attract-api/mn9qfQRsqaASh7UE/logo/light.svg?fit=max\u0026auto=format\u0026n=mn9qfQRsqaASh7UE\u0026q=85\u0026s=66db13e248b70a44a5ff5f6990d4cb63","dark":"https://mintcdn.com/fetchski-attract-api/mn9qfQRsqaASh7UE/logo/dark.svg?fit=max\u0026auto=format\u0026n=mn9qfQRsqaASh7UE\u0026q=85\u0026s=86904ba8d47714303521b2dcd5aa2a50","href":"/"},"favicon":"https://mintcdn.com/fetchski-attract-api/mn9qfQRsqaASh7UE/favicon.svg?fit=max\u0026auto=format\u0026n=mn9qfQRsqaASh7UE\u0026q=85\u0026s=fd4f2c0615961c9e01c9762b98c8999f","api":{"playground":{"display":"interactive"},"examples":{"defaults":"required","languages":["bash","typescript","php"]}},"appearance":{"default":"dark"},"background":{"color":{"light":"#ffffff","dark":"#0b0e13"}},"search":{"prompt":"Search the docs…"},"seo":{"metatags":{"robots":"noindex, nofollow"}},"fonts":{"family":"Inter"},"icons":{"library":"fontawesome"},"styling":{"codeblocks":"dark","latex":true},"contextual":{"options":["copy","view"],"display":"header"},"navigation":{"pages":[]}},"deployment":{"deploymentMetadataValue":{"subdomain":"fetchski-attract-api","hasAudioNarration":false,"actualSubdomain":"fetchski-attract-api","customDomains":["docs.fetchski-attract.com"],"gitSource":{"type":"github","owner":"fetchski","repo":"fetchski_cms_astro_monorepo","deployBranch":"main","contentDirectory":"docs/attract","isPrivate":true,"mountPath":"","label":"","_id":"6adb9c232f0947a18a27541d"},"entitlements":{},"buildId":"6af6df04bd8b0362cdec74ff","clientVersion":"0.0.4131","searchFilterCounts":[{"language":"default","tag":"Media","count":953},{"language":"default","tag":"Content","count":863},{"language":"default","tag":"Publishing","count":720},{"language":"default","tag":"API reference","count":484},{"language":"default","tag":"Laravel","count":472},{"language":"default","tag":"TypeScript","count":470},{"language":"default","tag":"AdonisJS","count":469},{"language":"default","tag":"Batch jobs","count":364},{"language":"default","tag":"Pages \u0026 Site","count":224},{"language":"default","tag":"Forms","count":168}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableContextualStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-rbac-roles","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-onboarding","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"assistant-v5","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-sso-scim","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-signup","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workos-enabled","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"sso-setup-deadline-banner","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"googleFontsInlined":false},"customCss":[{"filePath":"style.css","content":"@media (min-width: 1280px){:root{--content-width: 52rem}}@media (min-width: 1600px){:root{--content-width: 60rem}}@media (min-width: 1920px){:root{--content-width: 68rem}}@media (min-width: 1024px) and (max-width: 1919px){#content-container{padding-left:2rem;padding-right:2rem}div:has(>#content-area){padding-left:0}#table-of-contents{width:14rem}}html[data-page-mode=\"wide\"] #content-area{max-width:84rem}@media (min-width: 1024px){#navbar .nav-tabs{position:fixed;left:15rem;top:0;height:6rem}}@media (min-width: 1024px) and (max-width: 1599px){#navbar .nav-tabs{gap:0}#navbar .nav-tabs .nav-tabs-item{gap:0.375rem;font-size:0.9375rem;padding-inline:0.5rem}#navbar .nav-tabs .nav-tabs-item svg,#navbar .nav-tabs .nav-tabs-item img{width:1.0625rem;height:1.0625rem}}@media (min-width: 1024px) and (max-width: 1199px){#navbar .nav-tabs .nav-tabs-item svg,#navbar .nav-tabs .nav-tabs-item img{display:none}}@media (min-width: 1024px) and (max-width: 1319px){div:has(>#search-bar-entry){width:3rem!important}#search-bar-entry{justify-content:center;padding:0!important}#search-bar-entry>div>:not(svg),#search-bar-entry>:not(div){display:none}}.mdx-content{font-size:1.0625rem;line-height:1.8}@media (min-width: 1024px){.mdx-content{font-size:1.25rem;line-height:1.85}#page-title{font-size:2.875rem;line-height:1.15}#page-title+*,#header .prose{font-size:1.375rem}#sidebar-content a{font-size:1.125rem}.toc-item{font-size:1rem}}.mdx-content>[data-as=\"p\"],.mdx-content>p{margin-top:0;margin-bottom:1.75rem}.mdx-content>h2{margin-top:3.5rem;margin-bottom:1.25rem;padding-top:2rem;border-top:1px solid rgb(0 0 0 / 0.08);font-size:1.875rem;letter-spacing:-0.01em}.dark .mdx-content>h2{border-top-color:rgb(255 255 255 / 0.08)}.mdx-content>h2:first-child{margin-top:0;padding-top:0;border-top:0}.mdx-content>h3{margin-top:2.75rem;margin-bottom:1.125rem;font-size:1.4375rem}.mdx-content>h4{margin-top:2rem;margin-bottom:0.75rem}.mdx-content li{margin-top:0.625rem;margin-bottom:0.625rem}.mdx-content>ul,.mdx-content>ol{margin-bottom:1.75rem}.mdx-content :not(pre)>code{font-size:0.875em;padding:0.125rem 0.375rem;overflow-wrap:anywhere}.mdx-content table{font-size:1.0625rem;line-height:1.7}.mdx-content th,.mdx-content td{padding:0.875rem 1.5rem 0.875rem 0!important;vertical-align:top}.mdx-content th{padding-top:0.25rem!important}.mdx-content th:last-child,.mdx-content td:last-child{padding-right:0!important}.mdx-content td>code:only-child{white-space:nowrap}pre{max-height:36rem;overflow:auto}.mdx-content pre code{font-size:0.9375rem;line-height:1.75}.mdx-content>.code-block,.mdx-content>.code-group{margin-top:1.5rem;margin-bottom:2rem}.mdx-content .columns{column-gap:1.25rem;row-gap:0.5rem;margin-top:1.75rem;margin-bottom:2.25rem}.mdx-content .card{border-radius:1rem}.mdx-content .card [data-component-part=\"card-content-container\"]{padding:1.5rem 1.75rem}.mdx-content [data-component-part=\"card-title\"]{font-size:1.25rem}.mdx-content [data-component-part=\"card-content\"]{font-size:1.0625rem;line-height:1.7}.mdx-content .callout{margin-top:2rem;margin-bottom:2.25rem;padding:1.25rem 1.75rem;font-size:1.125rem;line-height:1.75}.mdx-content .steps{margin-top:1.75rem;margin-bottom:2.25rem}.mdx-content .step{padding-bottom:0.75rem}.mdx-content .accordion-group,.mdx-content>.accordion{margin-top:1.75rem;margin-bottom:2.25rem}.mdx-content .tabs{margin-top:1.75rem;margin-bottom:2.25rem}.mdx-content .tabs [role=\"tabpanel\"]{padding-top:0.375rem;padding-right:0.375rem;padding-bottom:0.375rem}.mdx-content [data-component-name=\"mermaid-container\"]{--im-node-fill: #ecfdf3;--im-node-stroke: #16a34a;--im-node-text: #0b3a1f;--im-cluster-fill: rgb(22 163 74 / 0.04);--im-cluster-stroke: rgb(22 163 74 / 0.35);--im-edge: #64748b;--im-label-bg: #ffffff;margin-top:1.75rem;margin-bottom:2.25rem;padding:2rem 1.5rem;border:1px solid rgb(0 0 0 / 0.08);border-radius:1rem;background:rgb(0 0 0 / 0.015)}.dark .mdx-content [data-component-name=\"mermaid-container\"]{--im-node-fill: #0b2e1a;--im-node-stroke: #22c55e;--im-node-text: #e7fbef;--im-cluster-fill: rgb(34 197 94 / 0.05);--im-cluster-stroke: rgb(34 197 94 / 0.35);--im-edge: #94a3b8;--im-label-bg: #0f1214;border-color:rgb(255 255 255 / 0.08);background:rgb(255 255 255 / 0.02)}.mdx-content [data-component-name=\"mermaid-container\"] svg[id^=\"mermaid\"]{display:block;margin-left:auto;margin-right:auto}.mdx-content [data-component-name=\"mermaid-container\"] .node rect,.mdx-content [data-component-name=\"mermaid-container\"] .node polygon,.mdx-content [data-component-name=\"mermaid-container\"] .node circle,.mdx-content [data-component-name=\"mermaid-container\"] .node path{fill:var(--im-node-fill)!important;stroke:var(--im-node-stroke)!important;stroke-width:1.5px!important}.mdx-content [data-component-name=\"mermaid-container\"] .node rect{rx:8px;ry:8px}.mdx-content [data-component-name=\"mermaid-container\"] .nodeLabel,.mdx-content [data-component-name=\"mermaid-container\"] .node .label{color:var(--im-node-text)!important;fill:var(--im-node-text)!important}.mdx-content [data-component-name=\"mermaid-container\"] .cluster rect{fill:var(--im-cluster-fill)!important;stroke:var(--im-cluster-stroke)!important;stroke-dasharray:6 4;rx:12px;ry:12px}.mdx-content [data-component-name=\"mermaid-container\"] .cluster-label .nodeLabel,.mdx-content [data-component-name=\"mermaid-container\"] .cluster .nodeLabel{color:var(--im-node-stroke)!important}.mdx-content [data-component-name=\"mermaid-container\"] .flowchart-link,.mdx-content [data-component-name=\"mermaid-container\"] .edgePath path{stroke:var(--im-edge)!important;stroke-width:1.5px!important}.mdx-content [data-component-name=\"mermaid-container\"] marker path,.mdx-content [data-component-name=\"mermaid-container\"] .arrowheadPath{fill:var(--im-edge)!important;stroke:var(--im-edge)!important}.mdx-content [data-component-name=\"mermaid-container\"] .edgeLabel,.mdx-content [data-component-name=\"mermaid-container\"] .edgeLabel p,.mdx-content [data-component-name=\"mermaid-container\"] .labelBkg{background-color:var(--im-label-bg)!important;color:var(--im-edge)!important}.mdx-content [data-component-name=\"mermaid-container\"] rect.actor{fill:var(--im-node-fill)!important;stroke:var(--im-node-stroke)!important;stroke-width:1.5px!important;rx:8px;ry:8px}.mdx-content [data-component-name=\"mermaid-container\"] text.actor>tspan,.mdx-content [data-component-name=\"mermaid-container\"] text.actor{fill:var(--im-node-text)!important}.mdx-content [data-component-name=\"mermaid-container\"] .actor-line{stroke:var(--im-cluster-stroke)!important}.mdx-content [data-component-name=\"mermaid-container\"] .messageLine0,.mdx-content [data-component-name=\"mermaid-container\"] .messageLine1{stroke:var(--im-edge)!important;stroke-width:1.5px!important}.mdx-content [data-component-name=\"mermaid-container\"] #arrowhead path,.mdx-content [data-component-name=\"mermaid-container\"] #crosshead path{fill:var(--im-edge)!important;stroke:var(--im-edge)!important}.mdx-content [data-component-name=\"mermaid-container\"] .note{fill:var(--im-cluster-fill)!important;stroke:var(--im-cluster-stroke)!important}.mdx-content .field .prose-sm{font-size:1.0625rem;line-height:1.8}@media (min-width: 1024px){.mdx-content .field .prose-sm{font-size:1.125rem}}.mdx-content .field{padding-top:1.25rem;padding-bottom:1.25rem}:root{--fa-accent: 22 163 74;--fa-ink: 15 23 42;--fa-button: 21 128 61;--fa-button-hover: 22 101 52;--fa-on-button: 255 255 255}.dark{--fa-accent: 34 197 94;--fa-ink: 255 255 255;--fa-button: 34 197 94;--fa-button-hover: 74 222 128;--fa-on-button: 5 46 22}.mdx-content .card{transition:border-color 150ms ease,\n background-color 150ms ease}.mdx-content a.card:hover,.mdx-content .card:has(a:hover){border-color:rgb(var(--fa-accent) / 0.45);background-color:rgb(var(--fa-accent) / 0.06)}.mdx-content .card [data-component-part=\"card-icon\"]{display:flex;width:1.75rem;height:1.75rem;margin-bottom:1rem}.mdx-content .card [data-component-part=\"card-icon\"] svg{width:1.75rem;height:1.75rem;mask-size:contain;background-color:rgb(var(--fa-accent))!important}.mdx-content .card [data-component-part=\"card-content-container\"].flex [data-component-part=\"card-icon\"]{margin-bottom:0}html[data-page-mode=\"wide\"] #header{display:none}.fa-hero{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0, 1fr);gap:3rem;align-items:center;overflow:hidden;margin:-1.5rem 0 3.5rem;padding:3.5rem 3rem;border:1px solid rgb(var(--fa-accent) / 0.2);border-radius:1.5rem;background-color:rgb(var(--fa-accent) / 0.025);background-image:radial-gradient(\n 55% 75% at 82% 50%,\n rgb(var(--fa-accent) / 0.16),\n transparent 70%\n )}.fa-hero::before{content:'';position:absolute;inset:0;z-index:-1;background-image:linear-gradient(rgb(var(--fa-accent) / 0.1) 1px, transparent 1px),\n linear-gradient(90deg, rgb(var(--fa-accent) / 0.1) 1px, transparent 1px);background-size:2rem 2rem;background-position:-1px -1px;mask-image:radial-gradient(80% 90% at 85% 40%, #000 20%, transparent 75%);pointer-events:none}.fa-hero::after{content:'';position:absolute;top:0;right:10%;left:10%;height:1px;background:linear-gradient(\n 90deg,\n transparent,\n rgb(var(--fa-accent) / 0.8),\n transparent\n );pointer-events:none}@media (min-width: 1536px){.fa-hero{grid-template-columns:minmax(0, 0.85fr) minmax(0, 1.15fr);padding:4rem 3.5rem}}.fa-hero-code>.code-group,.fa-hero-code>.code-block{margin:0;border-color:rgb(var(--fa-accent) / 0.25);box-shadow:0 1px 0 rgb(255 255 255 / 0.04) inset,\n 0 30px 60px -24px rgb(0 0 0 / 0.55),\n 0 0 0 6px rgb(var(--fa-accent) / 0.06)}.mdx-content .fa-hero-code pre code{font-size:0.8125rem}.mdx-content .fa-hero .fa-hero-mark{margin:0 0 1.75rem}.mdx-content .fa-hero .fa-hero-mark img{display:block;width:auto;height:4rem;margin:0;border-radius:0}.mdx-content .fa-hero .fa-hero-mark .fa-hero-mark-dark,.dark .mdx-content .fa-hero .fa-hero-mark .fa-hero-mark-light{display:none}.dark .mdx-content .fa-hero .fa-hero-mark .fa-hero-mark-dark{display:block}.fa-hero h1{max-width:40rem;margin:0;font-size:3.25rem;font-weight:700;line-height:1.06;letter-spacing:-0.035em;text-wrap:balance}.fa-hero h1 .fa-hero-accent{color:rgb(var(--fa-accent))}.mdx-content .fa-hero-lede{max-width:34rem;margin:1.5rem 0 2.25rem;font-size:1.1875rem;line-height:1.7;opacity:0.78;text-wrap:pretty}.fa-hero-actions{display:flex;flex-wrap:wrap;gap:0.75rem}.mdx-content .fa-hero-facts{display:flex;flex-wrap:wrap;gap:0.5rem 1.5rem;margin-top:2rem;font-size:0.9375rem;opacity:0.8}.mdx-content .fa-hero-facts>span{display:inline-flex;align-items:center;gap:0.5rem}.mdx-content .fa-hero-facts>span::before{content:'';flex:none;width:1rem;height:1rem;background:rgb(var(--fa-accent));mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3.5 8.5l3 3 6-7' fill='none' stroke='%23000' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\")\n center / contain no-repeat}.fa-button{display:inline-flex;align-items:center;gap:0.5rem;height:2.75rem;padding:0 1.125rem;border:1px solid transparent;border-radius:0.625rem;font-size:0.9375rem;font-weight:600;letter-spacing:-0.005em;text-decoration:none!important;transition:background-color 150ms ease,\n border-color 150ms ease,\n box-shadow 150ms ease,\n transform 150ms ease}.fa-button-primary{border-color:rgb(var(--fa-button) / 1);background:rgb(var(--fa-button));box-shadow:inset 0 1px 0 rgb(255 255 255 / 0.25),\n 0 8px 20px -10px rgb(var(--fa-button) / 0.9);color:rgb(var(--fa-on-button))!important}.fa-button-primary::after{content:'';width:1rem;height:1rem;background:currentcolor;mask:url(\"data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M3 8h9.5M8.5 4l4 4-4 4' fill='none' stroke='%23000' stroke-width='1.75' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E\")\n center / contain no-repeat;transition:transform 150ms ease}.fa-button-primary:hover{background:rgb(var(--fa-button-hover));box-shadow:inset 0 1px 0 rgb(255 255 255 / 0.25),\n 0 10px 24px -10px rgb(var(--fa-button) / 1)}.fa-button-primary:hover::after{transform:translateX(2px)}.fa-button-secondary{border-color:rgb(var(--fa-ink) / 0.16);background:rgb(var(--fa-ink) / 0.03);color:inherit!important}.fa-button-secondary:hover{border-color:rgb(var(--fa-accent) / 0.55);background:rgb(var(--fa-accent) / 0.08)}.fa-button:active{transform:translateY(1px)}.fa-button:focus-visible{outline:2px solid rgb(var(--fa-accent));outline-offset:3px}@media (prefers-reduced-motion: reduce){.fa-button,.fa-button-primary::after{transition:none}.fa-button:active,.fa-button-primary:hover::after{transform:none}}@media (max-width: 767px){.fa-hero{padding:2.5rem 1.5rem}.fa-hero h1{font-size:2.25rem}}#sidebar-content a,#sidebar-content li>button{gap:0.875rem;padding-top:0.625rem;padding-right:0.5rem;padding-bottom:0.625rem;font-size:1.125rem;line-height:1.45}#sidebar-content li+li{margin-top:0.25rem}#sidebar-content li>button>div:nth-child(2){min-width:0}#sidebar-content li>button>div:last-child{width:1.25rem;margin-left:auto;justify-content:center}#sidebar-content li>ul{margin:0.25rem 0 0.25rem 1.25rem;padding-left:0.375rem;border-left:1px solid rgb(0 0 0 / 0.1)}.dark #sidebar-content li>ul{border-left-color:rgb(255 255 255 / 0.1)}#sidebar-content li>ul>li>:is(a,button){padding-left:0.75rem!important;font-size:1.0625rem}#sidebar-content .sidebar-group-header{margin-bottom:0.625rem;font-size:0.875rem;font-weight:700;letter-spacing:0.08em;text-transform:uppercase;color:color-mix(in srgb, rgb(var(--fa-accent)) 72%, black)}.dark #sidebar-content .sidebar-group-header{color:rgb(var(--fa-accent))}#sidebar-content div:has(>.sidebar-group-header)+div:has(>.sidebar-group-header){margin-top:2.25rem}#sidebar-content a svg,#sidebar-content a img,#sidebar-content li>button>div:first-child svg,#sidebar-content li>button>div:first-child img{width:1.375rem;height:1.375rem}#sidebar-content .sidebar-group-header svg{width:1rem;height:1rem}.nav-tabs-item{gap:0.625rem;font-size:1.0625rem}.nav-tabs-item svg,.nav-tabs-item img{width:1.3125rem;height:1.3125rem}.nav-tabs-item[href^=\"/typescript\"] svg{background-color:#d4b106}.dark .nav-tabs-item[href^=\"/typescript\"] svg{background-color:#f7df1e}.nav-tabs-item[href^=\"/laravel\"] svg{background-color:#ff2d20}.nav-tabs-item[href^=\"/adonisjs\"] svg{background-color:#5a45ff}.dark .nav-tabs-item[href^=\"/adonisjs\"] svg{background-color:#8b7dff}li[data-group-tag]>button svg[style*=\"/brands/js.svg\"]{background-color:#d4b106}.dark li[data-group-tag]>button svg[style*=\"/brands/js.svg\"]{background-color:#f7df1e}li[data-group-tag]>button svg[style*=\"/brands/laravel.svg\"]{background-color:#ff2d20}#sidebar-content img[src$=\"/n8n.png\"]{transform:scale(1.35)}@media (min-width: 1024px){:root{--mintlify-slot-header-height: 6rem;--sidebar-width: 26rem}#navbar{height:6rem}#sidebar-content{top:6rem}#navbar div:has(img.nav-logo){height:100%}img.nav-logo{height:3.5rem;margin-left:0.5rem}div:has(>#search-bar-entry){position:fixed;top:1.5rem;right:7rem;z-index:40;width:clamp(11rem, calc(100vw - var(--sidebar-width) - 45rem), 24rem)}#search-bar-entry{height:3rem;padding-left:1.125rem;border-radius:0.875rem;font-size:1.0625rem}#search-bar-entry svg{width:1.125rem;height:1.125rem}}[data-switch=\"pill\"]{width:auto!important;height:auto!important;padding:0.3125rem;gap:0.25rem}.switch-option{width:2.125rem!important;height:2.125rem!important}.switch-option svg{width:1.125rem;height:1.125rem}.mdx-content .accordion-group{display:grid;gap:0.75rem;overflow:visible;border:0;border-color:transparent;border-radius:0;background:none}.mdx-content details.accordion{margin:0 0 0.75rem;border-color:transparent;border-radius:1rem!important;outline:1px solid rgb(var(--fa-ink) / 0.1);outline-offset:-1px;overflow:hidden;transition:outline-color 150ms ease,\n box-shadow 150ms ease}.mdx-content .accordion-group>details.accordion{margin:0}.mdx-content details.accordion:hover{outline-color:rgb(var(--fa-accent) / 0.35)}.mdx-content details.accordion[open]{outline-color:rgb(var(--fa-accent) / 0.45);box-shadow:inset 3px 0 0 rgb(var(--fa-accent))}.mdx-content [data-component-part=\"accordion-button\"]{gap:1rem;padding:1rem 1.25rem 1rem 1.5rem;border-radius:0!important;transition:background-color 150ms ease}.mdx-content [data-component-part=\"accordion-button\"]:hover{background:rgb(var(--fa-accent) / 0.05)}.mdx-content [data-component-part=\"accordion-button\"]:focus-visible{outline:2px solid rgb(var(--fa-accent));outline-offset:-2px}.mdx-content [data-component-part=\"accordion-caret-right\"]{order:3;width:2rem;height:2rem;border-radius:999px;background:rgb(var(--fa-ink) / 0.06);transition:background-color 150ms ease}.mdx-content [data-component-part=\"accordion-caret-right\"] svg{width:0.875rem;height:0.875rem}.mdx-content details.accordion[open] [data-component-part=\"accordion-caret-right\"]{background:rgb(var(--fa-accent) / 0.15)}.mdx-content details.accordion[open] [data-component-part=\"accordion-caret-right\"] svg{color:rgb(var(--fa-accent))}.mdx-content [data-component-part=\"accordion-icon\"]{display:inline-flex;align-items:center;justify-content:center;width:1.25rem;height:1.25rem}.mdx-content [data-component-part=\"accordion-icon\"] svg{width:1.25rem;height:1.25rem;background-color:rgb(var(--fa-accent))!important}.mdx-content [data-component-part=\"accordion-title\"]{font-size:1.1875rem}.mdx-content [data-component-part=\"accordion-content\"]{max-width:none;padding:1.5rem 2rem 1.75rem 1.5rem;border-top:1px solid rgb(var(--fa-ink) / 0.08);font-size:1.125rem;line-height:1.95}@media (min-width: 768px){.mdx-content details.accordion:has(>summary [data-component-part=\"accordion-icon\"])>[data-component-part=\"accordion-content\"]{padding-left:3.75rem}}.mdx-content [data-component-part=\"accordion-content\"]>[data-as=\"p\"],.mdx-content [data-component-part=\"accordion-content\"]>p{display:block;max-width:46rem;margin:0 0 1.25rem}.mdx-content [data-component-part=\"accordion-content\"]>:last-child{margin-bottom:0}@media (prefers-reduced-motion: reduce){.mdx-content details.accordion,.mdx-content [data-component-part=\"accordion-button\"],.mdx-content [data-component-part=\"accordion-caret-right\"]{transition:none}}[data-badge=\"true\"]{--fa-badge: 100 116 139;padding:0.125rem 0.5rem;border-radius:0.5rem;background:rgb(var(--fa-badge) / 0.14)!important;box-shadow:inset 0 0 0 1px rgb(var(--fa-badge) / 0.32);color:rgb(var(--fa-badge))!important;font-variant-numeric:tabular-nums}[data-badge=\"true\"][data-color=\"red\"]{--fa-badge: 239 68 68}[data-badge=\"true\"][data-color=\"orange\"]{--fa-badge: 245 130 32}[data-badge=\"true\"][data-color=\"yellow\"]{--fa-badge: 214 160 20}[data-badge=\"true\"][data-color=\"green\"]{--fa-badge: 22 163 74}[data-badge=\"true\"][data-color=\"blue\"]{--fa-badge: 17 145 240}.dark [data-badge=\"true\"][data-color=\"red\"]{--fa-badge: 248 113 113}.dark [data-badge=\"true\"][data-color=\"orange\"]{--fa-badge: 251 158 75}.dark [data-badge=\"true\"][data-color=\"yellow\"]{--fa-badge: 250 204 21}.dark [data-badge=\"true\"][data-color=\"green\"]{--fa-badge: 74 222 128}.dark [data-badge=\"true\"][data-color=\"blue\"]{--fa-badge: 62 165 245}.dark [data-badge=\"true\"][data-color=\"gray\"]{--fa-badge: 161 161 170}.mdx-content td [data-badge=\"true\"]+[data-badge=\"true\"]{margin-left:0.375rem}.mdx-content :is([data-as=\"p\"],p,li,td,blockquote),#header .prose,#page-title+*{color:rgb(38 43 52)}.dark .mdx-content :is([data-as=\"p\"],p,li,td,blockquote),.dark #header .prose,.dark #page-title+*{color:rgb(222 226 232)}.mdx-content :is(th,strong){font-weight:600}#sidebar-content a,#sidebar-content li>button{color:rgb(70 76 88)}.dark #sidebar-content a,.dark #sidebar-content li>button{color:rgb(196 201 210)}.toc-item a{color:inherit}.mdx-content [data-component-part=\"callout-content\"]{font-size:1.125rem;line-height:1.75}.mdx-content [data-component-part=\"callout-icon\"]{width:1.25rem;margin-top:0.25rem}.mdx-content [data-component-part=\"step-title\"]{font-size:1.25rem}.mdx-content [data-component-part=\"step-content\"],.mdx-content [data-component-part=\"tab-content\"]{font-size:1.125rem;line-height:1.85}.mdx-content [data-component-part=\"step-number\"]{margin-left:calc(0.5px - 1.125rem)}.mdx-content [data-component-part=\"step-indicator\"]{width:2.25rem;height:2.25rem;background-color:transparent;color:rgb(var(--fa-accent));font-size:1.25rem;font-weight:600}.mdx-content [data-component-part=\"step-indicator\"] svg{width:1.5rem;height:1.5rem;background-color:rgb(var(--fa-accent))!important}.mdx-content [data-component-part=\"tab-button\"]{font-size:1rem}.mdx-content [data-component-part=\"code-block-header\"],.mdx-content [data-component-part=\"code-block-header-filename\"]{font-size:0.875rem}.mdx-content [data-component-part=\"code-group-tab-bar\"]{font-size:0.9375rem}.mdx-content [data-component-part=\"field-name\"]{font-size:1.0625rem}.mdx-content [data-component-part=\"field-meta\"],.mdx-content [data-component-part=\"field-info-pill\"],.mdx-content [data-component-part=\"field-required-pill\"]{font-size:0.875rem}.mdx-content [data-component-part=\"expandable-button\"]{font-size:1rem}[data-component-part=\"pagination-title\"]{font-size:1.125rem}[data-component-part=\"pagination-label\"]{font-size:0.9375rem}.mdx-content>.multi-view-item{max-width:none;font-size:inherit;line-height:inherit}.multi-view-item>[data-as=\"p\"],.multi-view-item>p{margin-top:0;margin-bottom:1.75rem}.multi-view-item>h2{margin-top:3.5rem;margin-bottom:1.25rem;padding-top:2rem;border-top:1px solid rgb(0 0 0 / 0.08);font-size:1.875rem;letter-spacing:-0.01em}.dark .multi-view-item>h2{border-top-color:rgb(255 255 255 / 0.08)}.multi-view-item>h2:first-child{margin-top:0;padding-top:0;border-top:0}.multi-view-item>h3{margin-top:2.75rem;margin-bottom:1.125rem;font-size:1.4375rem}.multi-view-item>ul,.multi-view-item>ol{margin-bottom:1.75rem}.multi-view-item>.code-block,.multi-view-item>.code-group{margin-top:1.5rem;margin-bottom:2rem}#content-container .prose.prose-sm{font-size:1.0625rem;line-height:1.8}#sidebar-content .method-nav-pill{width:2.75rem}#sidebar-content .method-nav-pill>*{padding:0.125rem 0.375rem;font-size:0.6875rem;line-height:1.25rem}#fa-reader-values{margin-top:1.75rem;padding:1.5rem;border:1px solid rgb(var(--fa-ink) / 0.14);border-radius:1rem;background:transparent;font-size:1.0625rem;line-height:1.6;transition:border-color 150ms ease;container:fa-reader / inline-size}#fa-reader-values:hover,#fa-reader-values:focus-within{border-color:rgb(var(--fa-accent) / 0.45)}#fa-reader-values .fa-reader-line{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:1rem 1.25rem}#fa-reader-values .fa-reader-toggle{grid-column:1 / -1;justify-self:start}@container fa-reader (min-width: 30rem){#fa-reader-values .fa-reader-line{grid-template-columns:auto 1fr auto}#fa-reader-values .fa-reader-line .fa-reader-toggle{grid-column:auto}}#fa-reader-values .fa-reader-icon{width:4rem;height:4rem;background:url('/logo/attract-glyph-color-a-green-on-light-scalable.svg') center / contain\n no-repeat}.dark #fa-reader-values .fa-reader-icon{background-image:url('/logo/attract-glyph-color-a-green-on-dark-scalable.svg')}#fa-reader-values .fa-reader-copy{min-width:0}#fa-reader-values .fa-reader-copy p{margin:0}#fa-reader-values .fa-reader-title{font-size:1.125rem;font-weight:600;color:rgb(var(--fa-ink))}#fa-reader-values .fa-reader-values{display:grid;grid-template-columns:auto 1fr;align-items:center;gap:0.625rem 0.875rem;margin:0.75rem 0 0}#fa-reader-values .fa-reader-values>div{display:contents}#fa-reader-values .fa-reader-values dt{font-weight:500;color:rgb(var(--fa-ink))}#fa-reader-values .fa-reader-values dd{justify-self:start;min-width:0;margin:0}#fa-reader-values code{display:inline-block;padding:0.375rem 0.875rem;border:1px solid rgb(var(--fa-accent) / 0.4);border-radius:0.5rem;background:rgb(var(--fa-ink) / 0.03);color:rgb(var(--fa-ink));font-size:0.95em;font-weight:700;line-height:1.4;overflow-wrap:anywhere}#fa-reader-values button{padding:0.625rem 1.25rem;border:1px solid rgb(var(--fa-ink) / 0.16);border-radius:0.625rem;background:rgb(var(--fa-ink) / 0.03);color:rgb(var(--fa-ink));font-weight:600;white-space:nowrap;cursor:pointer;transition:background-color 150ms ease,\n border-color 150ms ease}#fa-reader-values button:hover{border-color:rgb(var(--fa-accent) / 0.55);background:rgb(var(--fa-accent) / 0.08)}#fa-reader-values button:focus-visible,#fa-reader-values input:focus-visible{outline:2px solid rgb(var(--fa-accent));outline-offset:2px}#fa-reader-values .fa-reader-form{display:grid;grid-template-columns:1fr;gap:1.75rem 1.5rem;margin-top:1.5rem;padding:1.5rem 0.25rem 0.25rem;border-top:1px solid rgb(var(--fa-ink) / 0.1)}@media (min-width: 768px){#fa-reader-values .fa-reader-form{grid-template-columns:1fr 1fr}}#fa-reader-values .fa-reader-form[hidden]{display:none}#fa-reader-values label{display:grid;gap:0.625rem;align-content:start}#fa-reader-values label>span{font-weight:600;color:rgb(var(--fa-ink))}#fa-reader-values label em{font-style:normal;font-weight:400}#fa-reader-values input{width:100%;padding:0.75rem 1rem;border:1px solid rgb(128 128 128 / 0.4);border-radius:0.5rem;background:rgb(128 128 128 / 0.08);color:rgb(var(--fa-ink));font:inherit}#fa-reader-values small{display:block;margin-top:0.5rem;font-size:0.9375rem;line-height:1.6;color:rgb(var(--fa-ink))}#fa-reader-values .fa-reader-error{grid-column:1 / -1;margin:0;color:#dc2626}.dark #fa-reader-values .fa-reader-error{color:#f87171}#fa-reader-values .fa-reader-error:empty{display:none}#fa-reader-values .fa-reader-actions{display:flex;flex-wrap:wrap;grid-column:1 / -1;align-items:center;gap:1rem;padding-top:0.25rem}.mdx-content .n8n-canvas{--n8n-dot: rgb(0 0 0 / 0.12);--n8n-node-bg: #ffffff;--n8n-node-border: rgb(0 0 0 / 0.18);--n8n-line: #94a3b8;margin:1.75rem 0 2.25rem;padding:2rem 0.75rem 1.5rem;overflow-x:auto;border:1px solid rgb(0 0 0 / 0.08);border-radius:1rem;background-color:rgb(0 0 0 / 0.015);background-image:radial-gradient(var(--n8n-dot) 1px, transparent 1px);background-size:18px 18px}.dark .mdx-content .n8n-canvas{--n8n-dot: rgb(255 255 255 / 0.1);--n8n-node-bg: #1b1f24;--n8n-node-border: rgb(255 255 255 / 0.22);--n8n-line: #64748b;border-color:rgb(255 255 255 / 0.08);background-color:rgb(255 255 255 / 0.02)}.mdx-content .n8n-canvas-row{display:flex;align-items:flex-start;justify-content:center;min-width:max-content;margin:0 auto}.mdx-content .n8n-node{display:flex;flex-direction:column;align-items:center;width:7.25rem;text-align:center}.mdx-content .n8n-node-box{display:flex;align-items:center;justify-content:center;width:4.5rem;height:4.5rem;border:2px solid var(--n8n-node-border);border-radius:0.75rem;background:var(--n8n-node-bg);box-shadow:0 1px 3px rgb(0 0 0 / 0.08)}.mdx-content .n8n-node-trigger .n8n-node-box{border-radius:2.25rem 0.75rem 0.75rem 2.25rem}.mdx-content .n8n-node-accent .n8n-node-box{border-color:rgb(var(--fa-accent));box-shadow:0 0 0 4px rgb(var(--fa-accent) / 0.15)}.mdx-content .n8n-node-title{margin-top:0.6rem;font-size:0.95rem;font-weight:600;line-height:1.3}.mdx-content .n8n-node-note{margin-top:0.2rem;font-size:0.8rem;line-height:1.35;opacity:0.7}.mdx-content .n8n-node-box svg{width:1.9rem!important;height:1.9rem!important}.mdx-content .n8n-link{display:flex;flex-direction:column;align-items:center;width:4rem;margin:0 -1.125rem;padding-top:1.1rem}.mdx-content .n8n-link-items{height:1.1rem;font-size:0.75rem;font-weight:600;line-height:1.1rem;white-space:nowrap;color:rgb(var(--fa-accent))}.mdx-content .n8n-link-line{position:relative;width:100%;height:2px;margin-top:0.4rem;background:var(--n8n-line)}.mdx-content .n8n-link-line::after{position:absolute;top:-4px;right:-1px;border-top:5px solid transparent;border-bottom:5px solid transparent;border-left:7px solid var(--n8n-line);content:''}.mdx-content .n8n-canvas figcaption{margin-top:1.25rem;font-size:0.85rem;text-align:center;opacity:0.7}.mdx-content .n8n-signed{margin:1.5rem 0 2rem;padding:1.5rem 1.25rem 1.25rem;overflow-x:auto;border:1px solid rgb(0 0 0 / 0.08);border-radius:1rem}.dark .mdx-content .n8n-signed{border-color:rgb(255 255 255 / 0.08)}.mdx-content .n8n-signed-row{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:center;row-gap:1rem}.mdx-content .n8n-signed-part{display:flex;flex-direction:column;align-items:center;gap:0.5rem}.mdx-content .n8n-signed-value,.mdx-content .n8n-signed-dot{padding:0.35rem 0.55rem;border-radius:0.4rem;font-size:0.95rem;white-space:nowrap}.mdx-content .n8n-signed-dot{padding:0.35rem 0.15rem;background:none;font-weight:700}.mdx-content .n8n-signed-value{min-width:2.5rem;text-align:center;background:rgb(var(--n8n-part) / 0.14);box-shadow:inset 0 0 0 1px rgb(var(--n8n-part) / 0.45)}.mdx-content .n8n-signed-label{font-size:0.75rem;font-weight:600;letter-spacing:0.04em;text-transform:uppercase;color:rgb(var(--n8n-part))}.mdx-content .n8n-signed-0{--n8n-part: 37 99 235}.mdx-content .n8n-signed-1{--n8n-part: 22 163 74}.mdx-content .n8n-signed-2{--n8n-part: 217 119 6}.mdx-content .n8n-signed-3{--n8n-part: 219 39 119}.mdx-content .n8n-coming-soon-logos{display:flex;align-items:center;gap:1rem;margin-bottom:1.25rem}.mdx-content .n8n-coming-soon-logos img{width:auto;height:3.5rem;margin:0}.mdx-content .n8n-coming-soon-logos img[class^=\"n8n-mark-\"]{height:4.5rem;margin:-0.5rem}.mdx-content .n8n-coming-soon-logos .n8n-mark-dark,.dark .mdx-content .n8n-coming-soon-logos .n8n-mark-light{display:none}.dark .mdx-content .n8n-coming-soon-logos .n8n-mark-dark{display:block}.mdx-content .n8n-coming-soon-logos span{font-size:1.75rem;font-weight:600;opacity:0.6}.mdx-content .n8n-coming-soon-title{margin:0 0 0.35rem;font-size:1.25rem;font-weight:600;color:rgb(var(--fa-ink))}.mdx-content .n8n-coming-soon-title+*{margin-top:0}"}],"page":{"pagePath":"adonisjs/reference/forms/list-forms","slug":"/adonisjs/reference/forms/list-forms","pageMetadata":{"title":"List forms","sidebarTitle":"List","description":"Retrieve a paginated list of forms.","icon":"list","href":"/adonisjs/reference/forms/list-forms"},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Retrieve a paginated list of forms.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CodeBlock,CodeGroup,Columns,Expandable,Heading,ParamField,ResponseField,Step,Steps}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Columns)_missingMdxReference(`Columns`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);return _jsxs(_Fragment,{children:[_jsx(Heading,{level:`2`,id:`in-your-app`,children:`In your app`}),`\n`,_jsxs(_components.p,{children:[`A controller answers a route on your app: it calls `,_jsx(_components.code,{children:`listForms()`}),` and returns the answer.`]}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Add the controller`,icon:`file-code`,children:_jsx(CodeBlock,{filename:`app/controllers/list_forms_controller.ts`,numberOfLines:`11`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`inject`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@adonisjs/core'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`SiteClient`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@fetchski/attract-cms-sdk'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`@`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`inject`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`export`}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` default`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` ListFormsController`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` constructor`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`protected`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`SiteClient`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) {}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` async`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` handle`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`() {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` this`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`forms`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`listForms`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Step,{title:`Add the route`,icon:`route`,children:_jsx(CodeBlock,{filename:`start/routes.ts`,numberOfLines:`5`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` router`}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@adonisjs/core/services/router'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` ListFormsController`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = () `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'#controllers/list_forms_controller'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`router`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`get`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'/form'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, [`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`ListFormsController`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`])`})]}),`\n`]})})})}),_jsxs(Step,{title:`Call it`,icon:`play`,children:[_jsx(CodeBlock,{filename:`Terminal`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` http://localhost:3333/form`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`With `,_jsx(_components.code,{children:`node ace serve`}),` running, it prints its answer as JSON.`]})]})]}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`Optional parameters`,icon:`sliders`,id:`optional-parameters`,children:[_jsxs(_components.p,{children:[`One object, e.g. `,_jsx(_components.code,{children:`listForms({ page })`}),`; leave out the optional fields.`]}),_jsx(ParamField,{query:`page`,type:`number | null | undefined`,id:`param-page`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Optional.`}),` Leave it out and the site uses `,_jsx(_components.code,{children:`1`}),`. Page number for pagination (1-based)`]})}),_jsx(ParamField,{query:`perPage`,type:`number | null | undefined`,id:`param-per-page`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Optional.`}),` Leave it out (or pass `,_jsx(_components.code,{children:`null`}),`) and it isn’t sent: the site’s default applies. Documents per page. Each content type has its own default (core’s is 50; a type may set another). There is no upper limit: a large value answers the whole list at once, which is slow on a big one. At least 1.`]})}),_jsx(ParamField,{query:`search`,type:`string | null | undefined`,id:`param-search`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Optional.`}),` Leave it out (or pass `,_jsx(_components.code,{children:`null`}),`) and it isn’t sent: the site’s default applies. Matches documents by their text. Ignored for the public and API keys on a type whose public fields leave some out (a search would match the hidden ones).`]})}),_jsx(ParamField,{query:`aposMode`,type:`AposMode | null | undefined`,id:`param-apos-mode`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Optional.`}),` Leave it out and the site uses `,_jsx(_components.code,{children:`\"published\"`}),`. `,_jsx(_components.code,{children:`published`}),` (the default) or `,_jsx(_components.code,{children:`draft`}),`. Drafts need a credential that may see them: an API key with the type’s write scope (`,_jsx(_components.code,{children:`content:\u003ctype>:write`}),`), or a signed-in editor. The public and a key with only the read scope get 403. One of `,_jsx(_components.code,{children:`draft`}),`, `,_jsx(_components.code,{children:`published`}),`.`]})}),_jsx(ParamField,{query:`aposLocale`,type:`string | null | undefined`,id:`param-apos-locale`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Optional.`}),` Leave it out (or pass `,_jsx(_components.code,{children:`null`}),`) and it isn’t sent: the site’s default applies. The locale to read or write, e.g. `,_jsx(_components.code,{children:`en`}),` (default: the site’s default locale).`]})}),_jsx(ParamField,{query:`renderAreas`,type:`boolean | null | undefined`,id:`param-render-areas`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Optional.`}),` Leave it out and the site uses `,_jsx(_components.code,{children:`false`}),`. true: each area’s widgets come back rendered as HTML (`,_jsx(_components.code,{children:`_rendered`}),`), beside their data.`]})}),_jsx(ParamField,{query:`slug`,type:`string | null | undefined`,id:`param-slug`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Optional.`}),` Leave it out (or pass `,_jsx(_components.code,{children:`null`}),`) and it isn’t sent: the site’s default applies. Only the document with exactly this slug: a list of one, or an empty list when none has it. Use it to find a document by the name in its URL.`]})})]}),_jsxs(Accordion,{title:`Returns`,icon:`reply`,id:`returns`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`FormList`}),`. A page of Form documents. Read its properties (`,_jsx(_components.code,{children:`formList.results`}),`): each says whether the site always sends it. The example answer is the site’s wire JSON: some keys differ from the property names (`,_jsx(_components.code,{children:`_id`}),` → `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`_form`}),` → `,_jsx(_components.code,{children:`form`}),`, `,_jsx(_components.code,{children:`_destination`}),` → `,_jsx(_components.code,{children:`destination`}),`).`]}),_jsxs(ResponseField,{name:`results`,type:`readonly Form[]`,id:`param-results`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` A list of `,_jsx(_components.code,{children:`Form`}),`. This page’s documents; empty past the last page.`]}),_jsxs(Expandable,{title:`Form`,children:[_jsx(_components.p,{children:`Form content type`}),_jsx(ResponseField,{name:`title`,type:`string`,id:`param-title`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Its title: the name it goes by in every list, and the heading of its page where it has one.`]})}),_jsx(ResponseField,{name:`slug`,type:`string`,id:`param-slug-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The URL name: lowercase words joined by hyphens (letters outside a–z, even emoji, are kept).`]})}),_jsx(ResponseField,{name:`visibility`,type:`Visibility`,id:`param-visibility`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Select whether this content is public or private. One of `,_jsx(_components.code,{children:`public`}),`, `,_jsx(_components.code,{children:`loginRequired`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The “from” address on this form’s emails. A new form starts with the Email in Site settings → Brand; change it here for this form.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The document’s id. On a type with drafts it ends in its locale and mode (`,_jsx(_components.code,{children:`…:en:published`}),`, `,_jsx(_components.code,{children:`…:en:draft`}),`): the part before the first colon is its `,_jsx(_components.code,{children:`aposDocId`}),`, shared by both copies. The `,_jsx(_components.code,{children:`{_id}`}),` the type’s routes take.`]})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The document type’s name: always this type’s.`]})}),_jsx(ResponseField,{name:`createdAt`,type:`Date`,id:`param-created-at`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` When it was created (ISO 8601). Format: an ISO 8601 date and time.`]})}),_jsx(ResponseField,{name:`updatedAt`,type:`Date`,id:`param-updated-at`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` When it last changed (ISO 8601). Format: an ISO 8601 date and time.`]})}),_jsxs(ResponseField,{name:`contents`,type:`FormSectionArea`,id:`param-contents`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A `,_jsx(_components.code,{children:`FormSectionArea`}),`. Widgets, top to bottom: send `,_jsx(_components.code,{children:`{ \"items\": [ … ] }`}),`, one object per widget with its `,_jsx(_components.code,{children:`type`}),`. Writing it replaces the whole area. A new document starts with `,_jsx(_components.code,{children:`form-section`}),`.`]}),_jsxs(Expandable,{title:`FormSectionArea`,children:[_jsx(ResponseField,{name:`metaType`,type:`AfterContentAreaMetaType`,id:`param-meta-type`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`area`}),`. One of `,_jsx(_components.code,{children:`area`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The area’s id, set by the site: leave it out when you write one.`]})}),_jsxs(ResponseField,{name:`items`,type:`readonly FormSectionWidget[]`,id:`param-items`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A list of `,_jsx(_components.code,{children:`FormSectionWidget`}),`. The widgets, top to bottom. Each is an object with its `,_jsx(_components.code,{children:`type`}),` and that widget’s own fields; `,_jsx(_components.code,{children:`_id`}),` and `,_jsx(_components.code,{children:`metaType`}),` may be left out (the site sets them). At most 1 items.`]}),_jsxs(Expandable,{title:`FormSectionWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`form-section`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormSectionWidgetType`,id:`param-type-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`form-section`}),`. One of `,_jsx(_components.code,{children:`form-section`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsxs(ResponseField,{name:`formFontOverrides`,type:`readonly FormSectionWidgetFormFontOverridesItem[]`,id:`param-form-font-overrides`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A list of `,_jsx(_components.code,{children:`FormSectionWidgetFormFontOverridesItem`}),`. Optional. Set part of this form in a different typeface. Leave empty to follow the site’s fonts (Site design → Typography). At most 4 items.`]}),_jsxs(Expandable,{title:`FormSectionWidgetFormFontOverridesItem`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-3`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The row’s id, unique in its array.`]})}),_jsx(ResponseField,{name:`target`,type:`Target | null`,id:`param-target`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Which text this typeface replaces. Rows apply in order, so a broad row (Everything) followed by a narrow one (Headings) gives the section a base face plus an exception. One of `,_jsx(_components.code,{children:`all`}),`, `,_jsx(_components.code,{children:`heading`}),`, `,_jsx(_components.code,{children:`body`}),`, `,_jsx(_components.code,{children:`eyebrow`}),`, `,_jsx(_components.code,{children:`button`}),`, `,_jsx(_components.code,{children:`code`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`source`,type:`Source | null`,id:`param-source`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Where the typeface comes from. The first option costs nothing extra — those faces are already loaded. The others load an additional font on pages that use this section. One of `,_jsx(_components.code,{children:`slot`}),`, `,_jsx(_components.code,{children:`curated`}),`, `,_jsx(_components.code,{children:`cdn`}),`, `,_jsx(_components.code,{children:`upload`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`slot`,type:`Slot | null`,id:`param-slot`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Set in Site design → Typography. Following the site’s own faces keeps a section on-brand and adds no download. One of `,_jsx(_components.code,{children:`display`}),`, `,_jsx(_components.code,{children:`body`}),`, `,_jsx(_components.code,{children:`accent`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`curated`,type:`Curated | null`,id:`param-curated`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Vetted families from Bunny Fonts and Fontshare, with their available weights already verified. One of `,_jsx(_components.code,{children:`archivo`}),`, `,_jsx(_components.code,{children:`bricolage-grotesque`}),`, `,_jsx(_components.code,{children:`clash-display`}),`, `,_jsx(_components.code,{children:`courier-prime`}),`, `,_jsx(_components.code,{children:`dm-mono`}),`, `,_jsx(_components.code,{children:`dm-sans`}),`, `,_jsx(_components.code,{children:`fira-code`}),`, `,_jsx(_components.code,{children:`fraunces`}),`, `,_jsx(_components.code,{children:`general-sans`}),`, `,_jsx(_components.code,{children:`ibm-plex-mono`}),`, `,_jsx(_components.code,{children:`ibm-plex-sans`}),`, `,_jsx(_components.code,{children:`inconsolata`}),`, `,_jsx(_components.code,{children:`inter`}),`, `,_jsx(_components.code,{children:`jetbrains-mono`}),`, `,_jsx(_components.code,{children:`karla`}),`, `,_jsx(_components.code,{children:`lora`}),`, `,_jsx(_components.code,{children:`manrope`}),`, `,_jsx(_components.code,{children:`nunito-sans`}),`, `,_jsx(_components.code,{children:`outfit`}),`, `,_jsx(_components.code,{children:`playfair-display`}),`, `,_jsx(_components.code,{children:`public-sans`}),`, `,_jsx(_components.code,{children:`red-hat-mono`}),`, `,_jsx(_components.code,{children:`satoshi`}),`, `,_jsx(_components.code,{children:`sentient`}),`, `,_jsx(_components.code,{children:`sora`}),`, `,_jsx(_components.code,{children:`source-code-pro`}),`, `,_jsx(_components.code,{children:`source-sans-3`}),`, `,_jsx(_components.code,{children:`source-serif-4`}),`, `,_jsx(_components.code,{children:`space-grotesk`}),`, `,_jsx(_components.code,{children:`space-mono`}),`, `,_jsx(_components.code,{children:`spline-sans-mono`}),`, `,_jsx(_components.code,{children:`supreme`}),`, `,_jsx(_components.code,{children:`switzer`}),`, `,_jsx(_components.code,{children:`syne`}),`, `,_jsx(_components.code,{children:`ubuntu-mono`}),`, `,_jsx(_components.code,{children:`unbounded`}),`, `,_jsx(_components.code,{children:`victor-mono`}),`, `,_jsx(_components.code,{children:`work-sans`}),`, `,_jsx(_components.code,{children:`zodiak`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`cdnProvider`,type:`CdnProvider | null`,id:`param-cdn-provider`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Where to browse for the family. Pick one, then follow the link below to find the exact name. One of `,_jsx(_components.code,{children:`bunny`}),`, `,_jsx(_components.code,{children:`fontshare`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`cdnFamily`,type:`string`,id:`param-cdn-family`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Exactly as the provider’s catalog spells it, e.g. “Space Grotesk” or “Clash Display”. A name the provider doesn’t have loads nothing and this row is ignored.`]})}),_jsx(ResponseField,{name:`cdnWeights`,type:`string`,id:`param-cdn-weights`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Comma-separated weights to load, e.g. 400, 700. Empty loads 400, 500, 700. Weights the family doesn’t ship are skipped by the CDN and synthesized by the browser (faux bold) — but a family that ships only ONE weight (Acme, for instance) loads nothing at all unless that weight is among these, so set it explicitly if the typeface doesn’t appear.`]})}),_jsxs(ResponseField,{name:`uploads`,type:`readonly FormSectionWidgetFormFontOverridesItemUploadsItem[]`,id:`param-uploads`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A list of `,_jsx(_components.code,{children:`FormSectionWidgetFormFontOverridesItemUploadsItem`}),`. One file per weight/style of the SAME typeface. woff2 strongly recommended (smallest, universally supported); woff/ttf/otf also accepted. At most 4 items.`]}),_jsxs(Expandable,{title:`FormSectionWidgetFormFontOverridesItemUploadsItem`,children:[_jsx(ResponseField,{name:`file`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-file`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` File attachment reference.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-4`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The row’s id, unique in its array.`]})}),_jsx(ResponseField,{name:`weight`,type:`Weight | null`,id:`param-weight`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Weight. One of `,_jsx(_components.code,{children:`100`}),`, `,_jsx(_components.code,{children:`200`}),`, `,_jsx(_components.code,{children:`300`}),`, `,_jsx(_components.code,{children:`400`}),`, `,_jsx(_components.code,{children:`500`}),`, `,_jsx(_components.code,{children:`600`}),`, `,_jsx(_components.code,{children:`700`}),`, `,_jsx(_components.code,{children:`800`}),`, `,_jsx(_components.code,{children:`900`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`style`,type:`Style | null`,id:`param-style`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Style. One of `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`italic`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]}),_jsx(ResponseField,{name:`fallback`,type:`Fallback | null`,id:`param-fallback`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Generic system font shown while this typeface loads (and if it fails). Curated picks set this automatically. One of `,_jsx(_components.code,{children:`sans`}),`, `,_jsx(_components.code,{children:`serif`}),`, `,_jsx(_components.code,{children:`mono`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]}),_jsx(ResponseField,{name:`formEyebrowEnabled`,type:`boolean`,id:`param-form-eyebrow-enabled`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Show eyebrow.`]})}),_jsx(ResponseField,{name:`formEyebrow`,type:`string`,id:`param-form-eyebrow`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Small label shown above the title.`]})}),_jsx(ResponseField,{name:`formEyebrowColor`,type:`string | null`,id:`param-form-eyebrow-color`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional. Overrides the eyebrow + its dash. Leave empty to use the secondary (mint) color.`]})}),_jsx(ResponseField,{name:`formEyebrowColorLight`,type:`string | null`,id:`param-form-eyebrow-color-light`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional light-theme override. Falls back to the dark-theme color, then the mint default.`]})}),_jsx(ResponseField,{name:`formEyebrowWeight`,type:`FormEyebrowWeight | null`,id:`param-form-eyebrow-weight`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Eyebrow weight. One of `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`medium`}),`, `,_jsx(_components.code,{children:`semibold`}),`, `,_jsx(_components.code,{children:`bold`}),`, `,_jsx(_components.code,{children:`extrabold`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formEyebrowSize`,type:`FormEyebrowSize | null`,id:`param-form-eyebrow-size`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Eyebrow size. One of `,_jsx(_components.code,{children:`small`}),`, `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`large`}),`, `,_jsx(_components.code,{children:`xlarge`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formHeading`,type:`string`,id:`param-form-heading`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Heading.`]})}),_jsx(ResponseField,{name:`formHeadingColor`,type:`string | null`,id:`param-form-heading-color`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional — leave empty to track the theme text color.`]})}),_jsx(ResponseField,{name:`formHeadingColorLight`,type:`string | null`,id:`param-form-heading-color-light`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional light-theme override. Falls back to the dark-theme color.`]})}),_jsx(ResponseField,{name:`formHeadingWeight`,type:`FormHeadingWeight | null`,id:`param-form-heading-weight`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Weight. One of `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`medium`}),`, `,_jsx(_components.code,{children:`semibold`}),`, `,_jsx(_components.code,{children:`bold`}),`, `,_jsx(_components.code,{children:`extrabold`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formHeadingSize`,type:`FormHeadingSize | null`,id:`param-form-heading-size`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Size. One of `,_jsx(_components.code,{children:`small`}),`, `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`large`}),`, `,_jsx(_components.code,{children:`xlarge`}),`, `,_jsx(_components.code,{children:`xxlarge`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formIntro`,type:`string`,id:`param-form-intro`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Optional short sentence under the heading.`]})}),_jsx(ResponseField,{name:`formIntroColor`,type:`string | null`,id:`param-form-intro-color`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional — leave empty to use the muted text color.`]})}),_jsx(ResponseField,{name:`formIntroColorLight`,type:`string | null`,id:`param-form-intro-color-light`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional light-theme override. Falls back to the dark-theme color.`]})}),_jsx(ResponseField,{name:`formIntroWeight`,type:`FormIntroWeight | null`,id:`param-form-intro-weight`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Weight. One of `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`medium`}),`, `,_jsx(_components.code,{children:`semibold`}),`, `,_jsx(_components.code,{children:`bold`}),`, `,_jsx(_components.code,{children:`extrabold`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formIntroSize`,type:`FormIntroSize | null`,id:`param-form-intro-size`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Size. One of `,_jsx(_components.code,{children:`small`}),`, `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`large`}),`, `,_jsx(_components.code,{children:`xlarge`}),`, `,_jsx(_components.code,{children:`xxlarge`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formBand`,type:`FormBand | null`,id:`param-form-band`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Plain sits on the page; Raised is a contained card; Accent is a solid brand-color band. One of `,_jsx(_components.code,{children:`plain`}),`, `,_jsx(_components.code,{children:`raised`}),`, `,_jsx(_components.code,{children:`accent`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formAccentColor`,type:`string | null`,id:`param-form-accent-color`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. The accent band color. Leave empty to use the site accent color.`]})}),_jsx(ResponseField,{name:`formAccentColorLight`,type:`string | null`,id:`param-form-accent-color-light`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional light-theme override. Falls back to the dark-theme color, then the accent.`]})}),_jsx(ResponseField,{name:`formAlign`,type:`FormAlign | null`,id:`param-form-align`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Alignment of the section header (the form fields stay left-aligned for legibility). One of `,_jsx(_components.code,{children:`center`}),`, `,_jsx(_components.code,{children:`left`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formWidth`,type:`FormWidth | null`,id:`param-form-width`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Content width. One of `,_jsx(_components.code,{children:`narrow`}),`, `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`wide`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formLabelGap`,type:`FormLabelGap | null`,id:`param-form-label-gap`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Vertical space between each field’s label and its input. One of `,_jsx(_components.code,{children:`compact`}),`, `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`roomy`}),`, `,_jsx(_components.code,{children:`spacious`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formBg`,type:`FormBg | null`,id:`param-form-bg`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. The section’s full-width background band in dark mode. Transparent lets the page background show through. The palette options track the site colors; choose “Custom color…” for a specific color. One of `,_jsx(_components.code,{children:`transparent`}),`, `,_jsx(_components.code,{children:`surface`}),`, `,_jsx(_components.code,{children:`raised`}),`, `,_jsx(_components.code,{children:`sunken`}),`, `,_jsx(_components.code,{children:`hill`}),`, `,_jsx(_components.code,{children:`accent-soft`}),`, `,_jsx(_components.code,{children:`custom`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formBgCustom`,type:`string | null`,id:`param-form-bg-custom`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Used when “Section background (dark theme)” is set to Custom color.`]})}),_jsx(ResponseField,{name:`formBgLight`,type:`FormBgLight | null`,id:`param-form-bg-light`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. “Match dark theme” reuses the dark-theme choice; otherwise set the light-mode band independently. One of `,_jsx(_components.code,{children:`inherit`}),`, `,_jsx(_components.code,{children:`transparent`}),`, `,_jsx(_components.code,{children:`surface`}),`, `,_jsx(_components.code,{children:`raised`}),`, `,_jsx(_components.code,{children:`sunken`}),`, `,_jsx(_components.code,{children:`hill`}),`, `,_jsx(_components.code,{children:`accent-soft`}),`, `,_jsx(_components.code,{children:`custom`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formBgLightCustom`,type:`string | null`,id:`param-form-bg-light-custom`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Used when “Section background (light theme)” is set to Custom color.`]})}),_jsx(ResponseField,{name:`formSubmitLabel`,type:`string`,id:`param-form-submit-label`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The visible button text. Leave empty to hide the button.`]})}),_jsx(ResponseField,{name:`formSubmitVariant`,type:`FormSubmitVariant | null`,id:`param-form-submit-variant`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Solid fills with the color; Outline / Soft / Text link use it for the border + text. One of `,_jsx(_components.code,{children:`solid`}),`, `,_jsx(_components.code,{children:`outline`}),`, `,_jsx(_components.code,{children:`soft`}),`, `,_jsx(_components.code,{children:`link`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formSubmitSize`,type:`FormSubmitSize | null`,id:`param-form-submit-size`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Button size. One of `,_jsx(_components.code,{children:`small`}),`, `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`large`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formSubmitRadius`,type:`FormSubmitRadius | null`,id:`param-form-submit-radius`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Corner radius. One of `,_jsx(_components.code,{children:`pill`}),`, `,_jsx(_components.code,{children:`rounded`}),`, `,_jsx(_components.code,{children:`slight`}),`, `,_jsx(_components.code,{children:`square`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formSubmitColor`,type:`string | null`,id:`param-form-submit-color`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Solid fill, or the border + text for the other styles. Defaults to the brand accent; CLEAR it for a transparent, outline-only button.`]})}),_jsx(ResponseField,{name:`formSubmitColorLight`,type:`string | null`,id:`param-form-submit-color-light`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional light-theme override. Falls back to the dark-theme color. (Brand tokens already flip per theme.)`]})}),_jsx(ResponseField,{name:`formSubmitTextColor`,type:`string | null`,id:`param-form-submit-text-color`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. The text/icon color. Clear it to derive from the button color (readable on solid fills).`]})}),_jsx(ResponseField,{name:`formSubmitTextColorLight`,type:`string | null`,id:`param-form-submit-text-color-light`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional light-theme override. Falls back to the dark-theme label color.`]})}),_jsx(ResponseField,{name:`formSubmitHoverColor`,type:`string | null`,id:`param-form-submit-hover-color`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional. Drives the hover treatment. Leave empty to derive it from the button color.`]})}),_jsx(ResponseField,{name:`formSubmitHoverColorLight`,type:`string | null`,id:`param-form-submit-hover-color-light`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional light-theme override. Falls back to the dark-theme hover color.`]})}),_jsx(ResponseField,{name:`formSubmitStyle`,type:`FormSubmitStyle | null`,id:`param-form-submit-style`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. The hover treatment: a soft shadow, a colored offset shadow, a glow, a fill sweep, or a thicker border. One of `,_jsx(_components.code,{children:`none`}),`, `,_jsx(_components.code,{children:`single`}),`, `,_jsx(_components.code,{children:`dual`}),`, `,_jsx(_components.code,{children:`glow`}),`, `,_jsx(_components.code,{children:`sweep`}),`, `,_jsx(_components.code,{children:`thicken`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formSubmitShadowColor`,type:`string | null`,id:`param-form-submit-shadow-color`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional. The offset-shadow or glow color on hover. Leave empty to use the site secondary color.`]})}),_jsx(ResponseField,{name:`formSubmitShadowColorLight`,type:`string | null`,id:`param-form-submit-shadow-color-light`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional light-theme override. Falls back to the dark-theme shadow color.`]})}),_jsx(ResponseField,{name:`formSubmitAnimation`,type:`FormSubmitAnimation | null`,id:`param-form-submit-animation`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Hover motion. One of `,_jsx(_components.code,{children:`lift`}),`, `,_jsx(_components.code,{children:`scale`}),`, `,_jsx(_components.code,{children:`lift-scale`}),`, `,_jsx(_components.code,{children:`none`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formSubmitIcon`,type:`string`,id:`param-form-submit-icon`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Any Font Awesome icon name, e.g. star, bolt, arrow-left-to-bracket (no “fa-” prefix). Browse at fontawesome.com/icons.`]})}),_jsx(ResponseField,{name:`formSubmitIconFamily`,type:`FormSubmitIconFamily | null`,id:`param-form-submit-icon-family`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Icon family. One of `,_jsx(_components.code,{children:`classic-regular`}),`, `,_jsx(_components.code,{children:`duotone-regular`}),`, `,_jsx(_components.code,{children:`brands`}),`, `,_jsx(_components.code,{children:`jelly`}),`, `,_jsx(_components.code,{children:`jelly-duo`}),`, `,_jsx(_components.code,{children:`whiteboard`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formSubmitIconPosition`,type:`FormSubmitIconPosition | null`,id:`param-form-submit-icon-position`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Which side of the label the icon sits on (when an icon name is set). One of `,_jsx(_components.code,{children:`before`}),`, `,_jsx(_components.code,{children:`after`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formSubmitIconNudge`,type:`boolean`,id:`param-form-submit-icon-nudge`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The icon slides toward its side on hover (e.g. an arrow edges outward).`]})}),_jsx(ResponseField,{name:`form`,type:`readonly Readonly\u003cRecord\u003cstring, unknown>>[]`,id:`param-form`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The Form record that stores this form’s submissions and routes them (its Actions / integrations / Google Sheet). Create one in the Forms manager. The fields themselves are built right here on the page. The related `,_jsx(_components.code,{children:`@apostrophecms/form`}),` documents, in order (empty when none). To set it, send a list of `,_jsx(_components.code,{children:`{ \"_id\": \"…\" }`}),`, one per document (one at most); a document the site can’t find is left out. At most 1 items.`]})}),_jsxs(ResponseField,{name:`sectionCss`,type:`CustomCSS | null`,id:`param-section-css`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. A `,_jsx(_components.code,{children:`CustomCSS`}),`. CSS for this one section, typed into the slot of the part it styles. It wins over Site design → Custom CSS. Nested rules like \u0026:hover, @media (width >= 48rem) and [data-theme=“light”] \u0026 work inside a slot.`]}),_jsxs(Expandable,{title:`CustomCSS`,children:[_jsx(ResponseField,{name:`slots`,type:`Readonly\u003cRecord\u003cstring, string>>`,id:`param-slots`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The CSS typed into each part slot, by slot name.`]})}),_jsx(ResponseField,{name:`css`,type:`string`,id:`param-css`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The compiled CSS (read only: rebuilt from `,_jsx(_components.code,{children:`slots`}),`).`]})}),_jsx(ResponseField,{name:`mark`,type:`string`,id:`param-mark`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The site’s check mark for `,_jsx(_components.code,{children:`css`}),` (read only).`]})})]})]}),_jsxs(ResponseField,{name:`fields`,type:`FormSectionFieldsArea`,id:`param-fields-2`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A `,_jsx(_components.code,{children:`FormSectionFieldsArea`}),`. Add and arrange the form’s fields here — edited live on the page. Widgets, top to bottom: send `,_jsx(_components.code,{children:`{ \"items\": [ … ] }`}),`, one object per widget with its `,_jsx(_components.code,{children:`type`}),`. Writing it replaces the whole area.`]}),_jsxs(Expandable,{title:`FormSectionFieldsArea`,children:[_jsx(ResponseField,{name:`metaType`,type:`AfterContentAreaMetaType`,id:`param-meta-type-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`area`}),`. One of `,_jsx(_components.code,{children:`area`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-5`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The area’s id, set by the site: leave it out when you write one.`]})}),_jsxs(ResponseField,{name:`items`,type:`readonly FormSectionFieldsAreaItem[]`,id:`param-items-1`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A list of `,_jsx(_components.code,{children:`FormSectionFieldsAreaItem`}),`. The widgets, top to bottom. Each is an object with its `,_jsx(_components.code,{children:`type`}),` and that widget’s own fields; `,_jsx(_components.code,{children:`_id`}),` and `,_jsx(_components.code,{children:`metaType`}),` may be left out (the site sets them).`]}),_jsxs(Expandable,{title:`FormSectionFieldsAreaItem`,children:[_jsxs(_components.p,{children:[`A widget in an area that takes `,_jsx(_components.code,{children:`@apostrophecms/form-text-field`}),`, `,_jsx(_components.code,{children:`@apostrophecms/form-textarea-field`}),`, `,_jsx(_components.code,{children:`@apostrophecms/form-file-field`}),`, `,_jsx(_components.code,{children:`@apostrophecms/form-boolean-field`}),`, `,_jsx(_components.code,{children:`@apostrophecms/form-select-field`}),`, `,_jsx(_components.code,{children:`@apostrophecms/form-radio-field`}),`, `,_jsx(_components.code,{children:`@apostrophecms/form-checkboxes-field`}),`, `,_jsx(_components.code,{children:`@apostrophecms/form-conditional`}),`, `,_jsx(_components.code,{children:`@apostrophecms/form-group`}),`, `,_jsx(_components.code,{children:`@apostrophecms/form-divider`}),`, `,_jsx(_components.code,{children:`@apostrophecms/rich-text`}),`: the one its `,_jsx(_components.code,{children:`type`}),` names.`]}),_jsxs(Expandable,{title:`FormTextFieldWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-text-field`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormTextFieldWidgetType`,id:`param-type-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-text-field`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-text-field`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fieldLabel`,type:`string`,id:`param-field-label`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Field label.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-6`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-3`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`required`,type:`boolean | null`,id:`param-required`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Is this field required?`]})}),_jsx(ResponseField,{name:`fieldName`,type:`string`,id:`param-field-name`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.`]})}),_jsx(ResponseField,{name:`inputType`,type:`InputType | null`,id:`param-input-type`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. If you are requesting certain formatted information (e.g., email, url, phone number), select the relevant input type here. If not, use “Text”. One of `,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`email`}),`, `,_jsx(_components.code,{children:`tel`}),`, `,_jsx(_components.code,{children:`url`}),`, `,_jsx(_components.code,{children:`date`}),`, `,_jsx(_components.code,{children:`password`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`placeholder`,type:`string`,id:`param-placeholder`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Text to display in the field before someone uses it (e.g., to provide additional directions).`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-3`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`FormTextareaFieldWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-textarea-field`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormTextareaFieldWidgetType`,id:`param-type-3`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-textarea-field`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-textarea-field`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fieldLabel`,type:`string`,id:`param-field-label-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Field label.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-7`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-4`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`required`,type:`boolean | null`,id:`param-required-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Is this field required?`]})}),_jsx(ResponseField,{name:`fieldName`,type:`string`,id:`param-field-name-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.`]})}),_jsx(ResponseField,{name:`placeholder`,type:`string`,id:`param-placeholder-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Text to display in the field before someone uses it (e.g., to provide additional directions).`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-4`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`FormFileFieldWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-file-field`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormFileFieldWidgetType`,id:`param-type-4`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-file-field`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-file-field`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fieldLabel`,type:`string`,id:`param-field-label-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Field label.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-8`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-5`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`required`,type:`boolean | null`,id:`param-required-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Is this field required?`]})}),_jsx(ResponseField,{name:`fieldName`,type:`string`,id:`param-field-name-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.`]})}),_jsx(ResponseField,{name:`allowMultiple`,type:`boolean`,id:`param-allow-multiple`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Allow multiple file attachments.`]})}),_jsx(ResponseField,{name:`limitSize`,type:`boolean`,id:`param-limit-size`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Limit file size?`]})}),_jsx(ResponseField,{name:`maxSize`,type:`number | null`,id:`param-max-size`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. In Bytes.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-5`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`FormBooleanFieldWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-boolean-field`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormBooleanFieldWidgetType`,id:`param-type-5`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-boolean-field`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-boolean-field`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fieldLabel`,type:`string`,id:`param-field-label-3`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Field label.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-9`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-6`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`required`,type:`boolean | null`,id:`param-required-3`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Is this field required?`]})}),_jsx(ResponseField,{name:`fieldName`,type:`string`,id:`param-field-name-3`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.`]})}),_jsx(ResponseField,{name:`checked`,type:`boolean | null`,id:`param-checked`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. If “yes,” the checkbox will start in the checked state.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-6`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`FormSelectFieldWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-select-field`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormSelectFieldWidgetType`,id:`param-type-6`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-select-field`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-select-field`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fieldLabel`,type:`string`,id:`param-field-label-4`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Field label.`]})}),_jsx(ResponseField,{name:`choices`,type:`readonly FormSelectFieldWidgetChoicesItem[]`,id:`param-choices`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` A list of `,_jsx(_components.code,{children:`FormSelectFieldWidgetChoicesItem`}),`. Select input options. Its fields are listed under the first `,_jsx(_components.code,{children:`FormSelectFieldWidgetChoicesItem`}),` above.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-10`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-7`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`required`,type:`boolean | null`,id:`param-required-4`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Is this field required?`]})}),_jsx(ResponseField,{name:`fieldName`,type:`string`,id:`param-field-name-4`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.`]})}),_jsx(ResponseField,{name:`allowMultiple`,type:`boolean`,id:`param-allow-multiple-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Allow multiple options to be selected.`]})}),_jsx(ResponseField,{name:`size`,type:`number | null`,id:`param-size`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Number of options in the list that should be visible. At least 0.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-7`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`FormRadioFieldWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-radio-field`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormRadioFieldWidgetType`,id:`param-type-7`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-radio-field`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-radio-field`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fieldLabel`,type:`string`,id:`param-field-label-5`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Field label.`]})}),_jsx(ResponseField,{name:`choices`,type:`readonly FormRadioFieldWidgetChoicesItem[]`,id:`param-choices-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` A list of `,_jsx(_components.code,{children:`FormRadioFieldWidgetChoicesItem`}),`. Radio input options. At least 1 items. Its fields are listed under the first `,_jsx(_components.code,{children:`FormRadioFieldWidgetChoicesItem`}),` above.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-11`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-8`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`required`,type:`boolean | null`,id:`param-required-5`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Is this field required?`]})}),_jsx(ResponseField,{name:`fieldName`,type:`string`,id:`param-field-name-5`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.`]})}),_jsx(ResponseField,{name:`allowMultiple`,type:`boolean`,id:`param-allow-multiple-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Allow multiple options to be selected.`]})}),_jsx(ResponseField,{name:`size`,type:`number | null`,id:`param-size-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Number of options in the list that should be visible. At least 0.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-8`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`FormCheckboxesFieldWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-checkboxes-field`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormCheckboxesFieldWidgetType`,id:`param-type-8`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-checkboxes-field`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-checkboxes-field`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fieldLabel`,type:`string`,id:`param-field-label-6`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Field label.`]})}),_jsx(ResponseField,{name:`choices`,type:`readonly FormCheckboxesFieldWidgetChoicesItem[]`,id:`param-choices-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` A list of `,_jsx(_components.code,{children:`FormCheckboxesFieldWidgetChoicesItem`}),`. Checkbox input options. At least 1 items. Its fields are listed under the first `,_jsx(_components.code,{children:`FormCheckboxesFieldWidgetChoicesItem`}),` above.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-12`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-9`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`required`,type:`boolean | null`,id:`param-required-6`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Is this field required?`]})}),_jsx(ResponseField,{name:`fieldName`,type:`string`,id:`param-field-name-6`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-9`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`FormConditionalWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-conditional`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormConditionalWidgetType`,id:`param-type-9`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-conditional`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-conditional`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`conditionName`,type:`string`,id:`param-condition-name`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Form field to check.`]})}),_jsx(ResponseField,{name:`conditionValue`,type:`string`,id:`param-condition-value`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Value that activates this group.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-13`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-10`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`contents`,type:`FormConditionalContentsArea`,id:`param-contents-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A `,_jsx(_components.code,{children:`FormConditionalContentsArea`}),`. aposForm:conditionalContentsHelp Widgets, top to bottom: send `,_jsx(_components.code,{children:`{ \"items\": [ … ] }`}),`, one object per widget with its `,_jsx(_components.code,{children:`type`}),`. Writing it replaces the whole area. Its fields are listed under the first `,_jsx(_components.code,{children:`FormConditionalContentsArea`}),` above.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-10`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`FormGroupWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-group`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormGroupWidgetType`,id:`param-type-10`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-group`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-group`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`label`,type:`string`,id:`param-label`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Group Label.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-14`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-11`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`contents`,type:`FormGroupContentsArea`,id:`param-contents-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A `,_jsx(_components.code,{children:`FormGroupContentsArea`}),`. aposForm:groupContentsHelp Widgets, top to bottom: send `,_jsx(_components.code,{children:`{ \"items\": [ … ] }`}),`, one object per widget with its `,_jsx(_components.code,{children:`type`}),`. Writing it replaces the whole area. Its fields are listed under the first `,_jsx(_components.code,{children:`FormGroupContentsArea`}),` above.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-11`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`FormDividerWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-divider`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormDividerWidgetType`,id:`param-type-11`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-divider`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-divider`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-15`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-12`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-12`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`RichTextWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/rich-text`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`RichTextWidgetType`,id:`param-type-12`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/rich-text`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/rich-text`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-16`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-13`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`content`,type:`string`,id:`param-content`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The text as HTML, e.g. `,_jsx(_components.code,{children:`\u003ch2>Our story\u003c/h2>\u003cp>It began with \u003cstrong>one\u003c/strong> idea.\u003c/p>`}),`. The site keeps the tags and styles this area’s editor offers (paragraphs, headings, bold, italic, links, lists…) and removes the rest.`]})}),_jsx(ResponseField,{name:`sectionCss`,type:`CustomCSS | null`,id:`param-section-css-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. A `,_jsx(_components.code,{children:`CustomCSS`}),`. CSS for this one section, typed into the slot of the part it styles. It wins over Site design → Custom CSS. Nested rules like \u0026:hover, @media (width >= 48rem) and [data-theme=“light”] \u0026 work inside a slot. Its fields are listed under the first `,_jsx(_components.code,{children:`CustomCSS`}),` above.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-13`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]})]}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-14`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]})]})]}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-15`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]}),_jsx(ResponseField,{name:`scheduledPublish`,type:`string | null`,id:`param-scheduled-publish`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. An ISO 8601 date and time, e.g. `,_jsx(_components.code,{children:`2026-10-21T14:30:00.000Z`}),`.`]})}),_jsx(ResponseField,{name:`scheduledUnpublish`,type:`string | null`,id:`param-scheduled-unpublish`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. An ISO 8601 date and time, e.g. `,_jsx(_components.code,{children:`2026-10-21T14:30:00.000Z`}),`.`]})}),_jsx(ResponseField,{name:`thankYouHeading`,type:`string | null`,id:`param-thank-you-heading`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Thank you message title.`]})}),_jsxs(ResponseField,{name:`thankYouBody`,type:`RichTextArea`,id:`param-thank-you-body`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A `,_jsx(_components.code,{children:`RichTextArea`}),`. Widgets, top to bottom: send `,_jsx(_components.code,{children:`{ \"items\": [ … ] }`}),`, one object per widget with its `,_jsx(_components.code,{children:`type`}),`. Writing it replaces the whole area.`]}),_jsxs(Expandable,{title:`RichTextArea`,children:[_jsx(ResponseField,{name:`metaType`,type:`AfterContentAreaMetaType`,id:`param-meta-type-14`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`area`}),`. One of `,_jsx(_components.code,{children:`area`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-17`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The area’s id, set by the site: leave it out when you write one.`]})}),_jsx(ResponseField,{name:`items`,type:`readonly RichTextWidget[]`,id:`param-items-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A list of `,_jsx(_components.code,{children:`RichTextWidget`}),`. The widgets, top to bottom. Each is an object with its `,_jsx(_components.code,{children:`type`}),` and that widget’s own fields; `,_jsx(_components.code,{children:`_id`}),` and `,_jsx(_components.code,{children:`metaType`}),` may be left out (the site sets them). Its fields are listed under the first `,_jsx(_components.code,{children:`RichTextWidget`}),` above.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-16`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]}),_jsx(ResponseField,{name:`sendConfirmationEmail`,type:`boolean | null`,id:`param-send-confirmation-email`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Enable this to send a message to the person who submits this form.`]})}),_jsx(ResponseField,{name:`emailConfirmationField`,type:`string | null`,id:`param-email-confirmation-field`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Enter the “name” value of the field where people with enter their email address. For best results, make sure this field only accepts email addresses.`]})}),_jsxs(ResponseField,{name:`emails`,type:`readonly FormEmailsItem[] | null`,id:`param-emails`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. A list of `,_jsx(_components.code,{children:`FormEmailsItem`}),`. Email Address(es) for Results.`]}),_jsxs(Expandable,{title:`FormEmailsItem`,children:[_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Email Address for Results. Format: an email address.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-18`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The row’s id, unique in its array.`]})}),_jsxs(ResponseField,{name:`conditions`,type:`readonly FormEmailsItemConditionsItem[]`,id:`param-conditions`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A list of `,_jsx(_components.code,{children:`FormEmailsItemConditionsItem`}),`. For example, if you only notify this email address if the “country” field is set to “Austria”. All conditions must be met. Add the email again with another conditional set if needed.`]}),_jsxs(Expandable,{title:`FormEmailsItemConditionsItem`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-19`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The row’s id, unique in its array.`]})}),_jsx(ResponseField,{name:`field`,type:`string`,id:`param-field`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Only select (drop-down) and checkbox fields can be used for this condition.`]})}),_jsx(ResponseField,{name:`value`,type:`string`,id:`param-value`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Enter the value an end-user will enter to meet this conditional.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-17`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-18`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]}),_jsx(ResponseField,{name:`googleSheetSubmissions`,type:`boolean | null`,id:`param-google-sheet-submissions`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Submit to Google Spreadsheets.`]})}),_jsx(ResponseField,{name:`googleSpreadsheetId`,type:`string | null`,id:`param-google-spreadsheet-id`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Google Spreadsheet ID.`]})}),_jsx(ResponseField,{name:`googleSheetName`,type:`string | null`,id:`param-google-sheet-name`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. The name of the sheet tab in your Google spreadsheet where you want the submission appended. If not provided, the first sheet of the spreadsheet will be used.`]})}),_jsx(ResponseField,{name:`submitLabel`,type:`string | null`,id:`param-submit-label`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Submit button label.`]})}),_jsx(ResponseField,{name:`enableRecaptcha`,type:`boolean | null`,id:`param-enable-recaptcha`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. To use, reCAPTCHA a site ID and secret key must be configured in website code or the website global settings.`]})}),_jsx(ResponseField,{name:`enableQueryParams`,type:`boolean | null`,id:`param-enable-query-params`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Enable query parameter capture.`]})}),_jsxs(ResponseField,{name:`queryParamList`,type:`readonly FormQueryParamListItem[] | null`,id:`param-query-param-list`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. A list of `,_jsx(_components.code,{children:`FormQueryParamListItem`}),`. Create an array item for each query parameter value you wish to capture.`]}),_jsxs(Expandable,{title:`FormQueryParamListItem`,children:[_jsx(ResponseField,{name:`key`,type:`string`,id:`param-key`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Key.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-20`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The row’s id, unique in its array.`]})}),_jsx(ResponseField,{name:`lengthLimit`,type:`number | null`,id:`param-length-limit`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Enter a whole number to limit the length of the value saved. At least 1.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-19`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]}),_jsxs(ResponseField,{name:`formActions`,type:`readonly FormFormActionsItem[] | null`,id:`param-form-actions`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. A list of `,_jsx(_components.code,{children:`FormFormActionsItem`}),`. What happens to each submission, beyond being stored in the CMS. Add one row per destination; several can run for one form. Storage always happens regardless.`]}),_jsxs(Expandable,{title:`FormFormActionsItem`,children:[_jsx(ResponseField,{name:`actionType`,type:`ActionType`,id:`param-action-type`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Action. One of `,_jsx(_components.code,{children:`webhook`}),`, `,_jsx(_components.code,{children:`emailNotify`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-21`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The row’s id, unique in its array.`]})}),_jsx(ResponseField,{name:`enabled`,type:`boolean`,id:`param-enabled`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Enabled.`]})}),_jsx(ResponseField,{name:`destination`,type:`readonly Readonly\u003cRecord\u003cstring, unknown>>[]`,id:`param-destination`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Where each submission is sent (⌘K → Webhook Destinations). It is signed with that destination’s secret, retried if the receiver is down, and listed on its Deliveries tab. The related `,_jsx(_components.code,{children:`webhook-destination`}),` documents, in order (empty when none). To set it, send a list of `,_jsx(_components.code,{children:`{ \"_id\": \"…\" }`}),`, one per document (one at most); a document the site can’t find is left out. At most 1 items.`]})}),_jsx(ResponseField,{name:`notifyEmail`,type:`string | null`,id:`param-notify-email`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Where a copy of each submission is emailed (sent through Connections → Email). Replying answers the visitor. When set, an email address; empty or null when not.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-20`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]}),_jsx(ResponseField,{name:`archived`,type:`boolean | null`,id:`param-archived`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. In the archive: kept, but out of every list and off the site until it is restored. `,_jsx(_components.code,{children:`false`}),` (or null) for a live document.`]})}),_jsx(ResponseField,{name:`aposShareKey`,type:`string | null`,id:`param-apos-share-key`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. The draft’s preview share key, while its share link is on: the link is the draft’s `,_jsx(_components.code,{children:`_url`}),` with `,_jsx(_components.code,{children:`aposShareKey`}),` and `,_jsx(_components.code,{children:`aposShareId`}),` (the draft’s `,_jsx(_components.code,{children:`_id`}),`) in its query. Absent otherwise, and on published documents.`]})})]})]}),_jsx(ResponseField,{name:`pages`,type:`number`,id:`param-pages`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Pages in the whole list (0 when it is empty).`]})}),_jsx(ResponseField,{name:`currentPage`,type:`number`,id:`param-current-page`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` This page, from 1.`]})})]}),_jsxs(Accordion,{title:`Errors`,icon:`triangle-exclamation`,id:`errors`,children:[_jsxs(_components.p,{children:[`Nothing to catch: the SDK retries what is safe, and throws the rest as the classes below. Your exception handler turns them into your app’s own answers, once for every call (see `,_jsx(_components.a,{href:`/adonisjs/calling-the-api#map-sdk-errors-to-responses`,children:`Map SDK errors to responses`}),`); catch only what you want to react to here.`]}),_jsxs(ResponseField,{name:`ValidationFailed`,type:`400`,id:`param-validation-failed`,children:[_jsxs(_components.p,{children:[`The site refused what was sent: `,_jsx(_components.code,{children:`errors`}),` lists each field’s problem, `,_jsx(_components.code,{children:`siteMessage`}),` the first.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` No. `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`errors`}),` (field → messages), `,_jsx(_components.code,{children:`siteMessage`}),`.`]})]}),_jsxs(ResponseField,{name:`AuthenticationFailed`,type:`401`,id:`param-authentication-failed`,children:[_jsx(_components.p,{children:`The API key is missing or refused (malformed, revoked, expired), or a signature its signing mode needs is missing or stale.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` No. `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`siteMessage`}),`, `,_jsx(_components.code,{children:`errorName`}),`, `,_jsx(_components.code,{children:`data`}),`.`]})]}),_jsxs(ResponseField,{name:`Forbidden`,type:`403`,id:`param-forbidden`,children:[_jsxs(_components.p,{children:[`The key may not do this: a scope it lacks, or an address outside its allowlist. `,_jsx(_components.code,{children:`siteMessage`}),` names it.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` No. `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`siteMessage`}),`, `,_jsx(_components.code,{children:`errorName`}),`, `,_jsx(_components.code,{children:`data`}),`.`]})]}),_jsxs(ResponseField,{name:`NotFound`,type:`404`,id:`param-not-found`,children:[_jsx(_components.p,{children:`Nothing matches, or the caller may not see it.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` No. `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`siteMessage`}),`, `,_jsx(_components.code,{children:`errorName`}),`, `,_jsx(_components.code,{children:`data`}),`.`]})]}),_jsxs(ResponseField,{name:`SiteError`,type:`500`,id:`param-site-error`,children:[_jsx(_components.p,{children:`The site failed. Its logs say why.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` No (only a 502, 503 or 504 is retried). `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`siteMessage`}),`, `,_jsx(_components.code,{children:`errorName`}),`, `,_jsx(_components.code,{children:`data`}),`.`]})]}),_jsxs(ResponseField,{name:`SiteUnreachable`,type:`no answer`,id:`param-site-unreachable`,children:[_jsx(_components.p,{children:`No answer: DNS, a refused connection, TLS, or the timeout (15 s per attempt by default).`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` Yes, after 0.5 s then 1 s. `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`reason`}),`, `,_jsx(_components.code,{children:`neverConnected`}),`.`]})]}),_jsxs(ResponseField,{name:`RequestNotSent`,type:`not sent`,id:`param-request-not-sent`,children:[_jsxs(_components.p,{children:[`The client refused to send it (e.g. a path segment of `,_jsx(_components.code,{children:`..`}),`); the site never saw it.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` No. `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`reason`}),` (what to change).`]})]}),_jsxs(ResponseField,{name:`SiteRequestFailed`,type:`any other`,id:`param-site-request-failed`,children:[_jsx(_components.p,{children:`Any other status, or a success whose JSON doesn’t match this SDK version’s types (update the SDK).`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` No. `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`reason`}),`, `,_jsx(_components.code,{children:`status`}),`.`]})]}),_jsxs(ResponseField,{name:`UnknownSite`,type:`setup`,id:`param-unknown-site`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`sites.forSite('acme')`}),` named a slug `,_jsx(_components.code,{children:`config/attract.ts`}),` doesn’t list (with the keys in the database: no row in `,_jsx(_components.code,{children:`attract_api_keys`}),`).`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` No: nothing was sent. `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`message`}),`, `,_jsx(_components.code,{children:`slug`}),`.`]})]}),_jsxs(ResponseField,{name:`SiteConfigurationError`,type:`setup`,id:`param-site-configuration-error`,children:[_jsxs(_components.p,{children:[`The site’s entry is wrong: a malformed `,_jsx(_components.code,{children:`baseUrl`}),` or key, a key filed under another slug, or no default site. `,_jsx(_components.code,{children:`node ace attract:check`}),` names the fix.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` No: nothing was sent. `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`message`}),` (what to fix).`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`behavior`,children:`Behavior`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Access:`}),` an API key with `,_jsx(_components.code,{children:`content:forms:read`}),` (or a master above it: `,_jsx(_components.code,{children:`content:forms:all`}),`, `,_jsx(_components.code,{children:`content:all`}),`, `,_jsx(_components.code,{children:`admin:all`}),`) reads the published documents; drafts (`,_jsx(_components.code,{children:`aposMode=draft`}),`) need `,_jsx(_components.code,{children:`content:forms:write`}),` (or a master above it). A signed-in person may call it as far as their own permissions allow; anyone else gets 404.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Rate limit:`}),` the key’s own reads-per-minute limit, set when the key is created (default 600); over it, 429 with `,_jsx(_components.code,{children:`Retry-After`}),`. The client waits and retries for you; you see `,_jsx(_components.code,{children:`RateLimited`}),` only if that runs out.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Retries:`}),` a read is safe to repeat: the client retries it on no answer, a 502/503/504 and a 429.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Timeout:`}),` 15 s per attempt by default; raise `,_jsx(_components.code,{children:`timeout`}),` (milliseconds) in `,_jsx(_components.code,{children:`config/attract.ts`}),` for longer.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Paging:`}),` one page per call. To walk them all, use `,_jsx(_components.code,{children:`listFormsAll()`}),` (see More examples): it asks for the next page as you iterate, and stops after page `,_jsx(_components.code,{children:`pages`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`more-examples`,children:`More examples`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`listFormsAll()`}),` takes `,_jsx(_components.code,{children:`listForms()`}),`’s arguments except `,_jsx(_components.code,{children:`page`}),`. `,_jsx(_components.code,{children:`listFormsPick()`}),` takes the same arguments except `,_jsx(_components.code,{children:`page`}),`, after the fields to answer: each row is the document’s `,_jsx(_components.code,{children:`id`}),` and those fields.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Every page`,wrap:`true`,numberOfLines:`7`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` app`}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@adonisjs/core/services/app'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`SiteClient`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@fetchski/attract-cms-sdk'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` app`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`container`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`make`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`SiteClient`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` form`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` of`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`forms`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`listFormsAll`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`()) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`form`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`// the next page is fetched as you iterate`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Only some fields`,wrap:`true`,numberOfLines:`5`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` app`}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@adonisjs/core/services/app'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`SiteClient`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@fetchski/attract-cms-sdk'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` app`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`container`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`make`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`SiteClient`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` rows`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`forms`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`listFormsPick`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`([`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'title'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'slug'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`]) `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`// [{ id, title, slug }, …]: every form, across every page`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`test-it`,children:`Test it`}),`\n`,_jsxs(_components.p,{children:[`It calls the controller above with the SDK faked: `,_jsx(_components.code,{children:`fakeAttract()`}),` puts the fake in the container for this one test, and it answers every call with a valid example, so nothing leaves your machine and no key is read. Save it as `,_jsx(_components.code,{children:`tests/unit/forms_list_forms.spec.ts`}),`, then run your tests:`]}),`\n`,_jsx(CodeBlock,{filename:`tests/unit/forms_list_forms.spec.ts`,numberOfLines:`13`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`test`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@japa/runner'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` app`}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@adonisjs/core/services/app'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`fakeAttract`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@fetchski/attract-cms-adonis/testing'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` ListFormsController`}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#controllers/list_forms_controller'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`test`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'forms.listForms'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` () `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`fakeAttract`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` controller`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` app`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`container`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`make`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`ListFormsController`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` controller`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`handle`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`assertCalled`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'forms.listForms'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:`Terminal`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`node`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ace`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` test`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Answer with your own values:`}),` fake `,_jsx(_components.code,{children:`forms.listForms`}),` with a `,_jsx(_components.code,{children:`sequence()`}),` of pages, each `,_jsx(_components.code,{children:`factories.FormList({...})`}),`, and walk `,_jsx(_components.code,{children:`listFormsAll()`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:`tests/unit/forms_list_forms_answers.spec.ts`,numberOfLines:`17`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`test`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@japa/runner'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`factories`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`fakeAttract`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`sequence`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@fetchski/attract-cms-adonis/testing'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`test`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'forms.listForms answers your values'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` ({ `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`assert`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`fakeAttract`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'forms.listForms'`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` sequence`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` factories`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`FormList`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`currentPage:`}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:` 1`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`pages:`}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:` 2`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` factories`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`FormList`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`currentPage:`}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:` 2`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`pages:`}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:` 2`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` })`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` ),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` walked`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`unknown`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`[] = []`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` for`}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` form`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` of`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`forms`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`listFormsAll`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`()) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` walked`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`push`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`form`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` assert`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`lengthOf`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`walked`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`To fake `,_jsx(_components.code,{children:`listFormsAll()`}),`, answer `,_jsx(_components.code,{children:`forms.listForms`}),` (the walk calls it page by page): a `,_jsx(_components.code,{children:`sequence()`}),` of answers for several pages.`]}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(Columns,{cols:2,children:[_jsx(Card,{title:`List a form’s locales`,icon:`globe`,href:`/adonisjs/reference/forms/get-form-locales`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`site.forms().getFormLocales()`})})}),_jsx(Card,{title:`Create a form`,icon:`plus`,href:`/adonisjs/reference/forms/create-form`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`site.forms().createForm()`})})}),_jsx(Card,{title:`Get a form`,icon:`eye`,href:`/adonisjs/reference/forms/get-form`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`site.forms().getForm()`})})}),_jsx(Card,{title:`Replace a form`,icon:`arrows-rotate`,href:`/adonisjs/reference/forms/replace-form`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`site.forms().replaceForm()`})})}),_jsx(Card,{title:`Delete a form`,icon:`trash`,href:`/adonisjs/reference/forms/delete-form`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`site.forms().deleteForm()`})})}),_jsx(Card,{title:`Update a form`,icon:`pen`,href:`/adonisjs/reference/forms/update-form`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`site.forms().updateForm()`})})})]}),`\n`,_jsx(Card,{title:`GET /@apostrophecms/form`,icon:`code`,href:`/api-reference/forms/list-forms`,arrow:true,horizontal:true,children:_jsx(_components.p,{children:`The endpoint this calls, in the API reference: the HTTP request and answer, and every rule the site checks.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"List forms","sidebarTitle":"List","description":"Retrieve a paginated list of forms.","icon":"list","href":"/adonisjs/reference/forms/list-forms"}}},"mdxSourceWithNoJs":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,Card,CodeBlock,CodeGroup,Columns,Expandable,Heading,ParamField,RequestExample,ResponseExample,ResponseField,Step,Steps}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!Card)_missingMdxReference(`Card`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!CodeGroup)_missingMdxReference(`CodeGroup`,true);if(!Columns)_missingMdxReference(`Columns`,true);if(!Expandable)_missingMdxReference(`Expandable`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!ParamField)_missingMdxReference(`ParamField`,true);if(!RequestExample)_missingMdxReference(`RequestExample`,true);if(!ResponseExample)_missingMdxReference(`ResponseExample`,true);if(!ResponseField)_missingMdxReference(`ResponseField`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);return _jsxs(_Fragment,{children:[_jsx(RequestExample,{children:_jsx(CodeBlock,{filename:`AdonisJS`,wrap:`true`,numberOfLines:`5`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` app`}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@adonisjs/core/services/app'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`SiteClient`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@fetchski/attract-cms-sdk'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` app`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`container`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`make`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`SiteClient`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` formList`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`forms`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`listForms`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`]})})})}),`\n`,_jsx(ResponseExample,{children:_jsx(CodeBlock,{filename:`200`,wrap:`true`,numberOfLines:`104`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`104`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`{`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"results\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"title\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example title\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"contents\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"metaType\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"area\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"_id\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"clx8m2k4p0000a1b2c3d4e5f6\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"items\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"form-section\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"_id\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"clx8m2k4p0000a1b2c3d4e5f6\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"metaType\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"widget\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formFontOverrides\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formEyebrowEnabled\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formEyebrow\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Get in touch\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formEyebrowColor\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example form eyebrow color\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formEyebrowColorLight\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example form eyebrow color light\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formEyebrowWeight\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"bold\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formEyebrowSize\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"normal\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formHeading\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Send us a message\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formHeadingColor\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example form heading color\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formHeadingColorLight\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example form heading color light\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formHeadingWeight\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"extrabold\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formHeadingSize\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"normal\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formIntro\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Fill out the form below and we’ll get back to you shortly.\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formIntroColor\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example form intro color\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formIntroColorLight\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example form intro color light\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formIntroWeight\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"normal\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formIntroSize\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"normal\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formBand\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"raised\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formAccentColor\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example form accent color\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formAccentColorLight\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example form accent color light\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formAlign\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"center\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formWidth\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"normal\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formLabelGap\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"normal\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formBg\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"transparent\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formBgCustom\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example form bg custom\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formBgLight\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"inherit\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formBgLightCustom\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example form bg light custom\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formSubmitLabel\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Submit\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formSubmitVariant\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"solid\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formSubmitSize\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"normal\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formSubmitRadius\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"slight\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formSubmitColor\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"--fetchski-accent\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formSubmitColorLight\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example form submit color light\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formSubmitTextColor\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"--fetchski-ink\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formSubmitTextColorLight\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example form submit text color light\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formSubmitHoverColor\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example form submit hover color\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formSubmitHoverColorLight\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example form submit hover color light\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formSubmitStyle\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"sweep\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formSubmitShadowColor\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example form submit shadow color\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formSubmitShadowColorLight\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example form submit shadow color light\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formSubmitAnimation\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"lift-scale\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formSubmitIcon\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example form submit icon\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formSubmitIconFamily\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"classic-regular\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formSubmitIconPosition\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"before\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formSubmitIconNudge\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"_form\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"sectionCss\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {},`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"fields\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"slug\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"example-slug\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"visibility\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"public\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"scheduledPublish\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example scheduled publish\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"scheduledUnpublish\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example scheduled unpublish\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"thankYouHeading\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example thank you heading\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"thankYouBody\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"metaType\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"area\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"_id\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"clx8m2k4p0000a1b2c3d4e5f6\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"items\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"@apostrophecms/rich-text\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"_id\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"clx8m2k4p0000a1b2c3d4e5f6\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"metaType\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"widget\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"content\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"\u003cp>Hello from the API.\u003c/p>\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"sectionCss\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: {}`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` ]`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"sendConfirmationEmail\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"emailConfirmationField\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"jo@acme.example\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"emails\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"jo@acme.example\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"googleSheetSubmissions\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"googleSpreadsheetId\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"clx8m2k4p0000a1b2c3d4e5f6\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"googleSheetName\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example google sheet name\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"submitLabel\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example submit label\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"enableRecaptcha\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"enableQueryParams\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`true`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"queryParamList\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"formActions\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: [],`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"archived\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`false`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"_id\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"clx8m2k4p0000a1b2c3d4e5f6\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"type\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"Example type\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"createdAt\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-24T09:30:00.000Z\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"updatedAt\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"2026-10-24T09:30:00.000Z\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"aposShareKey\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`\"k3v9x2m7q1z8w4p6\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` ],`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"pages\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`1`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`,`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` \"currentPage\"`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`1`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),`\n`,_jsx(Heading,{level:`2`,id:`in-your-app`,children:`In your app`}),`\n`,_jsxs(_components.p,{children:[`A controller answers a route on your app: it calls `,_jsx(_components.code,{children:`listForms()`}),` and returns the answer.`]}),`\n`,_jsxs(Steps,{children:[_jsx(Step,{title:`Add the controller`,icon:`file-code`,children:_jsx(CodeBlock,{filename:`app/controllers/list_forms_controller.ts`,numberOfLines:`11`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`11`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`inject`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@adonisjs/core'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`SiteClient`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@fetchski/attract-cms-sdk'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`@`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`inject`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`export`}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` default`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` class`}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:` ListFormsController`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` constructor`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`protected`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`SiteClient`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) {}`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` async`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` handle`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`() {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` return`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` this`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`forms`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`listForms`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})})}),_jsx(Step,{title:`Add the route`,icon:`route`,children:_jsx(CodeBlock,{filename:`start/routes.ts`,numberOfLines:`5`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` router`}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@adonisjs/core/services/router'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` ListFormsController`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = () `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'#controllers/list_forms_controller'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`router`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`get`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'/form'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, [`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`ListFormsController`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`])`})]}),`\n`]})})})}),_jsxs(Step,{title:`Call it`,icon:`play`,children:[_jsx(CodeBlock,{filename:`Terminal`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`curl`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` http://localhost:3333/form`})]}),`\n`]})})}),_jsxs(_components.p,{children:[`With `,_jsx(_components.code,{children:`node ace serve`}),` running, it prints its answer as JSON.`]})]})]}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`Optional parameters`,icon:`sliders`,id:`optional-parameters`,children:[_jsxs(_components.p,{children:[`One object, e.g. `,_jsx(_components.code,{children:`listForms({ page })`}),`; leave out the optional fields.`]}),_jsx(ParamField,{query:`page`,type:`number | null | undefined`,id:`param-page`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Optional.`}),` Leave it out and the site uses `,_jsx(_components.code,{children:`1`}),`. Page number for pagination (1-based)`]})}),_jsx(ParamField,{query:`perPage`,type:`number | null | undefined`,id:`param-per-page`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Optional.`}),` Leave it out (or pass `,_jsx(_components.code,{children:`null`}),`) and it isn’t sent: the site’s default applies. Documents per page. Each content type has its own default (core’s is 50; a type may set another). There is no upper limit: a large value answers the whole list at once, which is slow on a big one. At least 1.`]})}),_jsx(ParamField,{query:`search`,type:`string | null | undefined`,id:`param-search`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Optional.`}),` Leave it out (or pass `,_jsx(_components.code,{children:`null`}),`) and it isn’t sent: the site’s default applies. Matches documents by their text. Ignored for the public and API keys on a type whose public fields leave some out (a search would match the hidden ones).`]})}),_jsx(ParamField,{query:`aposMode`,type:`AposMode | null | undefined`,id:`param-apos-mode`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Optional.`}),` Leave it out and the site uses `,_jsx(_components.code,{children:`\"published\"`}),`. `,_jsx(_components.code,{children:`published`}),` (the default) or `,_jsx(_components.code,{children:`draft`}),`. Drafts need a credential that may see them: an API key with the type’s write scope (`,_jsx(_components.code,{children:`content:\u003ctype>:write`}),`), or a signed-in editor. The public and a key with only the read scope get 403. One of `,_jsx(_components.code,{children:`draft`}),`, `,_jsx(_components.code,{children:`published`}),`.`]})}),_jsx(ParamField,{query:`aposLocale`,type:`string | null | undefined`,id:`param-apos-locale`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Optional.`}),` Leave it out (or pass `,_jsx(_components.code,{children:`null`}),`) and it isn’t sent: the site’s default applies. The locale to read or write, e.g. `,_jsx(_components.code,{children:`en`}),` (default: the site’s default locale).`]})}),_jsx(ParamField,{query:`renderAreas`,type:`boolean | null | undefined`,id:`param-render-areas`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Optional.`}),` Leave it out and the site uses `,_jsx(_components.code,{children:`false`}),`. true: each area’s widgets come back rendered as HTML (`,_jsx(_components.code,{children:`_rendered`}),`), beside their data.`]})}),_jsx(ParamField,{query:`slug`,type:`string | null | undefined`,id:`param-slug`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Optional.`}),` Leave it out (or pass `,_jsx(_components.code,{children:`null`}),`) and it isn’t sent: the site’s default applies. Only the document with exactly this slug: a list of one, or an empty list when none has it. Use it to find a document by the name in its URL.`]})})]}),_jsxs(Accordion,{title:`Returns`,icon:`reply`,id:`returns`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`FormList`}),`. A page of Form documents. Read its properties (`,_jsx(_components.code,{children:`formList.results`}),`): each says whether the site always sends it. The example answer is the site’s wire JSON: some keys differ from the property names (`,_jsx(_components.code,{children:`_id`}),` → `,_jsx(_components.code,{children:`id`}),`, `,_jsx(_components.code,{children:`_form`}),` → `,_jsx(_components.code,{children:`form`}),`, `,_jsx(_components.code,{children:`_destination`}),` → `,_jsx(_components.code,{children:`destination`}),`).`]}),_jsxs(ResponseField,{name:`results`,type:`readonly Form[]`,id:`param-results`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` A list of `,_jsx(_components.code,{children:`Form`}),`. This page’s documents; empty past the last page.`]}),_jsxs(Expandable,{title:`Form`,children:[_jsx(_components.p,{children:`Form content type`}),_jsx(ResponseField,{name:`title`,type:`string`,id:`param-title`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Its title: the name it goes by in every list, and the heading of its page where it has one.`]})}),_jsx(ResponseField,{name:`slug`,type:`string`,id:`param-slug-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The URL name: lowercase words joined by hyphens (letters outside a–z, even emoji, are kept).`]})}),_jsx(ResponseField,{name:`visibility`,type:`Visibility`,id:`param-visibility`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Select whether this content is public or private. One of `,_jsx(_components.code,{children:`public`}),`, `,_jsx(_components.code,{children:`loginRequired`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The “from” address on this form’s emails. A new form starts with the Email in Site settings → Brand; change it here for this form.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The document’s id. On a type with drafts it ends in its locale and mode (`,_jsx(_components.code,{children:`…:en:published`}),`, `,_jsx(_components.code,{children:`…:en:draft`}),`): the part before the first colon is its `,_jsx(_components.code,{children:`aposDocId`}),`, shared by both copies. The `,_jsx(_components.code,{children:`{_id}`}),` the type’s routes take.`]})}),_jsx(ResponseField,{name:`type`,type:`string`,id:`param-type`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The document type’s name: always this type’s.`]})}),_jsx(ResponseField,{name:`createdAt`,type:`Date`,id:`param-created-at`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` When it was created (ISO 8601). Format: an ISO 8601 date and time.`]})}),_jsx(ResponseField,{name:`updatedAt`,type:`Date`,id:`param-updated-at`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` When it last changed (ISO 8601). Format: an ISO 8601 date and time.`]})}),_jsxs(ResponseField,{name:`contents`,type:`FormSectionArea`,id:`param-contents`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A `,_jsx(_components.code,{children:`FormSectionArea`}),`. Widgets, top to bottom: send `,_jsx(_components.code,{children:`{ \"items\": [ … ] }`}),`, one object per widget with its `,_jsx(_components.code,{children:`type`}),`. Writing it replaces the whole area. A new document starts with `,_jsx(_components.code,{children:`form-section`}),`.`]}),_jsxs(Expandable,{title:`FormSectionArea`,children:[_jsx(ResponseField,{name:`metaType`,type:`AfterContentAreaMetaType`,id:`param-meta-type`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`area`}),`. One of `,_jsx(_components.code,{children:`area`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The area’s id, set by the site: leave it out when you write one.`]})}),_jsxs(ResponseField,{name:`items`,type:`readonly FormSectionWidget[]`,id:`param-items`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A list of `,_jsx(_components.code,{children:`FormSectionWidget`}),`. The widgets, top to bottom. Each is an object with its `,_jsx(_components.code,{children:`type`}),` and that widget’s own fields; `,_jsx(_components.code,{children:`_id`}),` and `,_jsx(_components.code,{children:`metaType`}),` may be left out (the site sets them). At most 1 items.`]}),_jsxs(Expandable,{title:`FormSectionWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`form-section`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormSectionWidgetType`,id:`param-type-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`form-section`}),`. One of `,_jsx(_components.code,{children:`form-section`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsxs(ResponseField,{name:`formFontOverrides`,type:`readonly FormSectionWidgetFormFontOverridesItem[]`,id:`param-form-font-overrides`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A list of `,_jsx(_components.code,{children:`FormSectionWidgetFormFontOverridesItem`}),`. Optional. Set part of this form in a different typeface. Leave empty to follow the site’s fonts (Site design → Typography). At most 4 items.`]}),_jsxs(Expandable,{title:`FormSectionWidgetFormFontOverridesItem`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-3`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The row’s id, unique in its array.`]})}),_jsx(ResponseField,{name:`target`,type:`Target | null`,id:`param-target`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Which text this typeface replaces. Rows apply in order, so a broad row (Everything) followed by a narrow one (Headings) gives the section a base face plus an exception. One of `,_jsx(_components.code,{children:`all`}),`, `,_jsx(_components.code,{children:`heading`}),`, `,_jsx(_components.code,{children:`body`}),`, `,_jsx(_components.code,{children:`eyebrow`}),`, `,_jsx(_components.code,{children:`button`}),`, `,_jsx(_components.code,{children:`code`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`source`,type:`Source | null`,id:`param-source`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Where the typeface comes from. The first option costs nothing extra — those faces are already loaded. The others load an additional font on pages that use this section. One of `,_jsx(_components.code,{children:`slot`}),`, `,_jsx(_components.code,{children:`curated`}),`, `,_jsx(_components.code,{children:`cdn`}),`, `,_jsx(_components.code,{children:`upload`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`slot`,type:`Slot | null`,id:`param-slot`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Set in Site design → Typography. Following the site’s own faces keeps a section on-brand and adds no download. One of `,_jsx(_components.code,{children:`display`}),`, `,_jsx(_components.code,{children:`body`}),`, `,_jsx(_components.code,{children:`accent`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`curated`,type:`Curated | null`,id:`param-curated`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Vetted families from Bunny Fonts and Fontshare, with their available weights already verified. One of `,_jsx(_components.code,{children:`archivo`}),`, `,_jsx(_components.code,{children:`bricolage-grotesque`}),`, `,_jsx(_components.code,{children:`clash-display`}),`, `,_jsx(_components.code,{children:`courier-prime`}),`, `,_jsx(_components.code,{children:`dm-mono`}),`, `,_jsx(_components.code,{children:`dm-sans`}),`, `,_jsx(_components.code,{children:`fira-code`}),`, `,_jsx(_components.code,{children:`fraunces`}),`, `,_jsx(_components.code,{children:`general-sans`}),`, `,_jsx(_components.code,{children:`ibm-plex-mono`}),`, `,_jsx(_components.code,{children:`ibm-plex-sans`}),`, `,_jsx(_components.code,{children:`inconsolata`}),`, `,_jsx(_components.code,{children:`inter`}),`, `,_jsx(_components.code,{children:`jetbrains-mono`}),`, `,_jsx(_components.code,{children:`karla`}),`, `,_jsx(_components.code,{children:`lora`}),`, `,_jsx(_components.code,{children:`manrope`}),`, `,_jsx(_components.code,{children:`nunito-sans`}),`, `,_jsx(_components.code,{children:`outfit`}),`, `,_jsx(_components.code,{children:`playfair-display`}),`, `,_jsx(_components.code,{children:`public-sans`}),`, `,_jsx(_components.code,{children:`red-hat-mono`}),`, `,_jsx(_components.code,{children:`satoshi`}),`, `,_jsx(_components.code,{children:`sentient`}),`, `,_jsx(_components.code,{children:`sora`}),`, `,_jsx(_components.code,{children:`source-code-pro`}),`, `,_jsx(_components.code,{children:`source-sans-3`}),`, `,_jsx(_components.code,{children:`source-serif-4`}),`, `,_jsx(_components.code,{children:`space-grotesk`}),`, `,_jsx(_components.code,{children:`space-mono`}),`, `,_jsx(_components.code,{children:`spline-sans-mono`}),`, `,_jsx(_components.code,{children:`supreme`}),`, `,_jsx(_components.code,{children:`switzer`}),`, `,_jsx(_components.code,{children:`syne`}),`, `,_jsx(_components.code,{children:`ubuntu-mono`}),`, `,_jsx(_components.code,{children:`unbounded`}),`, `,_jsx(_components.code,{children:`victor-mono`}),`, `,_jsx(_components.code,{children:`work-sans`}),`, `,_jsx(_components.code,{children:`zodiak`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`cdnProvider`,type:`CdnProvider | null`,id:`param-cdn-provider`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Where to browse for the family. Pick one, then follow the link below to find the exact name. One of `,_jsx(_components.code,{children:`bunny`}),`, `,_jsx(_components.code,{children:`fontshare`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`cdnFamily`,type:`string`,id:`param-cdn-family`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Exactly as the provider’s catalog spells it, e.g. “Space Grotesk” or “Clash Display”. A name the provider doesn’t have loads nothing and this row is ignored.`]})}),_jsx(ResponseField,{name:`cdnWeights`,type:`string`,id:`param-cdn-weights`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Comma-separated weights to load, e.g. 400, 700. Empty loads 400, 500, 700. Weights the family doesn’t ship are skipped by the CDN and synthesized by the browser (faux bold) — but a family that ships only ONE weight (Acme, for instance) loads nothing at all unless that weight is among these, so set it explicitly if the typeface doesn’t appear.`]})}),_jsxs(ResponseField,{name:`uploads`,type:`readonly FormSectionWidgetFormFontOverridesItemUploadsItem[]`,id:`param-uploads`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A list of `,_jsx(_components.code,{children:`FormSectionWidgetFormFontOverridesItemUploadsItem`}),`. One file per weight/style of the SAME typeface. woff2 strongly recommended (smallest, universally supported); woff/ttf/otf also accepted. At most 4 items.`]}),_jsxs(Expandable,{title:`FormSectionWidgetFormFontOverridesItemUploadsItem`,children:[_jsx(ResponseField,{name:`file`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-file`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` File attachment reference.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-4`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The row’s id, unique in its array.`]})}),_jsx(ResponseField,{name:`weight`,type:`Weight | null`,id:`param-weight`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Weight. One of `,_jsx(_components.code,{children:`100`}),`, `,_jsx(_components.code,{children:`200`}),`, `,_jsx(_components.code,{children:`300`}),`, `,_jsx(_components.code,{children:`400`}),`, `,_jsx(_components.code,{children:`500`}),`, `,_jsx(_components.code,{children:`600`}),`, `,_jsx(_components.code,{children:`700`}),`, `,_jsx(_components.code,{children:`800`}),`, `,_jsx(_components.code,{children:`900`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`style`,type:`Style | null`,id:`param-style`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Style. One of `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`italic`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]}),_jsx(ResponseField,{name:`fallback`,type:`Fallback | null`,id:`param-fallback`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Generic system font shown while this typeface loads (and if it fails). Curated picks set this automatically. One of `,_jsx(_components.code,{children:`sans`}),`, `,_jsx(_components.code,{children:`serif`}),`, `,_jsx(_components.code,{children:`mono`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]}),_jsx(ResponseField,{name:`formEyebrowEnabled`,type:`boolean`,id:`param-form-eyebrow-enabled`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Show eyebrow.`]})}),_jsx(ResponseField,{name:`formEyebrow`,type:`string`,id:`param-form-eyebrow`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Small label shown above the title.`]})}),_jsx(ResponseField,{name:`formEyebrowColor`,type:`string | null`,id:`param-form-eyebrow-color`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional. Overrides the eyebrow + its dash. Leave empty to use the secondary (mint) color.`]})}),_jsx(ResponseField,{name:`formEyebrowColorLight`,type:`string | null`,id:`param-form-eyebrow-color-light`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional light-theme override. Falls back to the dark-theme color, then the mint default.`]})}),_jsx(ResponseField,{name:`formEyebrowWeight`,type:`FormEyebrowWeight | null`,id:`param-form-eyebrow-weight`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Eyebrow weight. One of `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`medium`}),`, `,_jsx(_components.code,{children:`semibold`}),`, `,_jsx(_components.code,{children:`bold`}),`, `,_jsx(_components.code,{children:`extrabold`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formEyebrowSize`,type:`FormEyebrowSize | null`,id:`param-form-eyebrow-size`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Eyebrow size. One of `,_jsx(_components.code,{children:`small`}),`, `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`large`}),`, `,_jsx(_components.code,{children:`xlarge`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formHeading`,type:`string`,id:`param-form-heading`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Heading.`]})}),_jsx(ResponseField,{name:`formHeadingColor`,type:`string | null`,id:`param-form-heading-color`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional — leave empty to track the theme text color.`]})}),_jsx(ResponseField,{name:`formHeadingColorLight`,type:`string | null`,id:`param-form-heading-color-light`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional light-theme override. Falls back to the dark-theme color.`]})}),_jsx(ResponseField,{name:`formHeadingWeight`,type:`FormHeadingWeight | null`,id:`param-form-heading-weight`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Weight. One of `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`medium`}),`, `,_jsx(_components.code,{children:`semibold`}),`, `,_jsx(_components.code,{children:`bold`}),`, `,_jsx(_components.code,{children:`extrabold`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formHeadingSize`,type:`FormHeadingSize | null`,id:`param-form-heading-size`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Size. One of `,_jsx(_components.code,{children:`small`}),`, `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`large`}),`, `,_jsx(_components.code,{children:`xlarge`}),`, `,_jsx(_components.code,{children:`xxlarge`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formIntro`,type:`string`,id:`param-form-intro`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Optional short sentence under the heading.`]})}),_jsx(ResponseField,{name:`formIntroColor`,type:`string | null`,id:`param-form-intro-color`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional — leave empty to use the muted text color.`]})}),_jsx(ResponseField,{name:`formIntroColorLight`,type:`string | null`,id:`param-form-intro-color-light`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional light-theme override. Falls back to the dark-theme color.`]})}),_jsx(ResponseField,{name:`formIntroWeight`,type:`FormIntroWeight | null`,id:`param-form-intro-weight`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Weight. One of `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`medium`}),`, `,_jsx(_components.code,{children:`semibold`}),`, `,_jsx(_components.code,{children:`bold`}),`, `,_jsx(_components.code,{children:`extrabold`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formIntroSize`,type:`FormIntroSize | null`,id:`param-form-intro-size`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Size. One of `,_jsx(_components.code,{children:`small`}),`, `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`large`}),`, `,_jsx(_components.code,{children:`xlarge`}),`, `,_jsx(_components.code,{children:`xxlarge`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formBand`,type:`FormBand | null`,id:`param-form-band`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Plain sits on the page; Raised is a contained card; Accent is a solid brand-color band. One of `,_jsx(_components.code,{children:`plain`}),`, `,_jsx(_components.code,{children:`raised`}),`, `,_jsx(_components.code,{children:`accent`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formAccentColor`,type:`string | null`,id:`param-form-accent-color`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. The accent band color. Leave empty to use the site accent color.`]})}),_jsx(ResponseField,{name:`formAccentColorLight`,type:`string | null`,id:`param-form-accent-color-light`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional light-theme override. Falls back to the dark-theme color, then the accent.`]})}),_jsx(ResponseField,{name:`formAlign`,type:`FormAlign | null`,id:`param-form-align`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Alignment of the section header (the form fields stay left-aligned for legibility). One of `,_jsx(_components.code,{children:`center`}),`, `,_jsx(_components.code,{children:`left`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formWidth`,type:`FormWidth | null`,id:`param-form-width`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Content width. One of `,_jsx(_components.code,{children:`narrow`}),`, `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`wide`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formLabelGap`,type:`FormLabelGap | null`,id:`param-form-label-gap`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Vertical space between each field’s label and its input. One of `,_jsx(_components.code,{children:`compact`}),`, `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`roomy`}),`, `,_jsx(_components.code,{children:`spacious`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formBg`,type:`FormBg | null`,id:`param-form-bg`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. The section’s full-width background band in dark mode. Transparent lets the page background show through. The palette options track the site colors; choose “Custom color…” for a specific color. One of `,_jsx(_components.code,{children:`transparent`}),`, `,_jsx(_components.code,{children:`surface`}),`, `,_jsx(_components.code,{children:`raised`}),`, `,_jsx(_components.code,{children:`sunken`}),`, `,_jsx(_components.code,{children:`hill`}),`, `,_jsx(_components.code,{children:`accent-soft`}),`, `,_jsx(_components.code,{children:`custom`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formBgCustom`,type:`string | null`,id:`param-form-bg-custom`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Used when “Section background (dark theme)” is set to Custom color.`]})}),_jsx(ResponseField,{name:`formBgLight`,type:`FormBgLight | null`,id:`param-form-bg-light`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. “Match dark theme” reuses the dark-theme choice; otherwise set the light-mode band independently. One of `,_jsx(_components.code,{children:`inherit`}),`, `,_jsx(_components.code,{children:`transparent`}),`, `,_jsx(_components.code,{children:`surface`}),`, `,_jsx(_components.code,{children:`raised`}),`, `,_jsx(_components.code,{children:`sunken`}),`, `,_jsx(_components.code,{children:`hill`}),`, `,_jsx(_components.code,{children:`accent-soft`}),`, `,_jsx(_components.code,{children:`custom`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formBgLightCustom`,type:`string | null`,id:`param-form-bg-light-custom`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Used when “Section background (light theme)” is set to Custom color.`]})}),_jsx(ResponseField,{name:`formSubmitLabel`,type:`string`,id:`param-form-submit-label`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The visible button text. Leave empty to hide the button.`]})}),_jsx(ResponseField,{name:`formSubmitVariant`,type:`FormSubmitVariant | null`,id:`param-form-submit-variant`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Solid fills with the color; Outline / Soft / Text link use it for the border + text. One of `,_jsx(_components.code,{children:`solid`}),`, `,_jsx(_components.code,{children:`outline`}),`, `,_jsx(_components.code,{children:`soft`}),`, `,_jsx(_components.code,{children:`link`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formSubmitSize`,type:`FormSubmitSize | null`,id:`param-form-submit-size`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Button size. One of `,_jsx(_components.code,{children:`small`}),`, `,_jsx(_components.code,{children:`normal`}),`, `,_jsx(_components.code,{children:`large`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formSubmitRadius`,type:`FormSubmitRadius | null`,id:`param-form-submit-radius`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Corner radius. One of `,_jsx(_components.code,{children:`pill`}),`, `,_jsx(_components.code,{children:`rounded`}),`, `,_jsx(_components.code,{children:`slight`}),`, `,_jsx(_components.code,{children:`square`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formSubmitColor`,type:`string | null`,id:`param-form-submit-color`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Solid fill, or the border + text for the other styles. Defaults to the brand accent; CLEAR it for a transparent, outline-only button.`]})}),_jsx(ResponseField,{name:`formSubmitColorLight`,type:`string | null`,id:`param-form-submit-color-light`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional light-theme override. Falls back to the dark-theme color. (Brand tokens already flip per theme.)`]})}),_jsx(ResponseField,{name:`formSubmitTextColor`,type:`string | null`,id:`param-form-submit-text-color`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. The text/icon color. Clear it to derive from the button color (readable on solid fills).`]})}),_jsx(ResponseField,{name:`formSubmitTextColorLight`,type:`string | null`,id:`param-form-submit-text-color-light`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional light-theme override. Falls back to the dark-theme label color.`]})}),_jsx(ResponseField,{name:`formSubmitHoverColor`,type:`string | null`,id:`param-form-submit-hover-color`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional. Drives the hover treatment. Leave empty to derive it from the button color.`]})}),_jsx(ResponseField,{name:`formSubmitHoverColorLight`,type:`string | null`,id:`param-form-submit-hover-color-light`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional light-theme override. Falls back to the dark-theme hover color.`]})}),_jsx(ResponseField,{name:`formSubmitStyle`,type:`FormSubmitStyle | null`,id:`param-form-submit-style`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. The hover treatment: a soft shadow, a colored offset shadow, a glow, a fill sweep, or a thicker border. One of `,_jsx(_components.code,{children:`none`}),`, `,_jsx(_components.code,{children:`single`}),`, `,_jsx(_components.code,{children:`dual`}),`, `,_jsx(_components.code,{children:`glow`}),`, `,_jsx(_components.code,{children:`sweep`}),`, `,_jsx(_components.code,{children:`thicken`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formSubmitShadowColor`,type:`string | null`,id:`param-form-submit-shadow-color`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional. The offset-shadow or glow color on hover. Leave empty to use the site secondary color.`]})}),_jsx(ResponseField,{name:`formSubmitShadowColorLight`,type:`string | null`,id:`param-form-submit-shadow-color-light`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Optional light-theme override. Falls back to the dark-theme shadow color.`]})}),_jsx(ResponseField,{name:`formSubmitAnimation`,type:`FormSubmitAnimation | null`,id:`param-form-submit-animation`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Hover motion. One of `,_jsx(_components.code,{children:`lift`}),`, `,_jsx(_components.code,{children:`scale`}),`, `,_jsx(_components.code,{children:`lift-scale`}),`, `,_jsx(_components.code,{children:`none`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formSubmitIcon`,type:`string`,id:`param-form-submit-icon`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Any Font Awesome icon name, e.g. star, bolt, arrow-left-to-bracket (no “fa-” prefix). Browse at fontawesome.com/icons.`]})}),_jsx(ResponseField,{name:`formSubmitIconFamily`,type:`FormSubmitIconFamily | null`,id:`param-form-submit-icon-family`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Icon family. One of `,_jsx(_components.code,{children:`classic-regular`}),`, `,_jsx(_components.code,{children:`duotone-regular`}),`, `,_jsx(_components.code,{children:`brands`}),`, `,_jsx(_components.code,{children:`jelly`}),`, `,_jsx(_components.code,{children:`jelly-duo`}),`, `,_jsx(_components.code,{children:`whiteboard`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formSubmitIconPosition`,type:`FormSubmitIconPosition | null`,id:`param-form-submit-icon-position`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Which side of the label the icon sits on (when an icon name is set). One of `,_jsx(_components.code,{children:`before`}),`, `,_jsx(_components.code,{children:`after`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`formSubmitIconNudge`,type:`boolean`,id:`param-form-submit-icon-nudge`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The icon slides toward its side on hover (e.g. an arrow edges outward).`]})}),_jsx(ResponseField,{name:`form`,type:`readonly Readonly\u003cRecord\u003cstring, unknown>>[]`,id:`param-form`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The Form record that stores this form’s submissions and routes them (its Actions / integrations / Google Sheet). Create one in the Forms manager. The fields themselves are built right here on the page. The related `,_jsx(_components.code,{children:`@apostrophecms/form`}),` documents, in order (empty when none). To set it, send a list of `,_jsx(_components.code,{children:`{ \"_id\": \"…\" }`}),`, one per document (one at most); a document the site can’t find is left out. At most 1 items.`]})}),_jsxs(ResponseField,{name:`sectionCss`,type:`CustomCSS | null`,id:`param-section-css`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. A `,_jsx(_components.code,{children:`CustomCSS`}),`. CSS for this one section, typed into the slot of the part it styles. It wins over Site design → Custom CSS. Nested rules like \u0026:hover, @media (width >= 48rem) and [data-theme=“light”] \u0026 work inside a slot.`]}),_jsxs(Expandable,{title:`CustomCSS`,children:[_jsx(ResponseField,{name:`slots`,type:`Readonly\u003cRecord\u003cstring, string>>`,id:`param-slots`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The CSS typed into each part slot, by slot name.`]})}),_jsx(ResponseField,{name:`css`,type:`string`,id:`param-css`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The compiled CSS (read only: rebuilt from `,_jsx(_components.code,{children:`slots`}),`).`]})}),_jsx(ResponseField,{name:`mark`,type:`string`,id:`param-mark`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The site’s check mark for `,_jsx(_components.code,{children:`css`}),` (read only).`]})})]})]}),_jsxs(ResponseField,{name:`fields`,type:`FormSectionFieldsArea`,id:`param-fields-2`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A `,_jsx(_components.code,{children:`FormSectionFieldsArea`}),`. Add and arrange the form’s fields here — edited live on the page. Widgets, top to bottom: send `,_jsx(_components.code,{children:`{ \"items\": [ … ] }`}),`, one object per widget with its `,_jsx(_components.code,{children:`type`}),`. Writing it replaces the whole area.`]}),_jsxs(Expandable,{title:`FormSectionFieldsArea`,children:[_jsx(ResponseField,{name:`metaType`,type:`AfterContentAreaMetaType`,id:`param-meta-type-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`area`}),`. One of `,_jsx(_components.code,{children:`area`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-5`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The area’s id, set by the site: leave it out when you write one.`]})}),_jsxs(ResponseField,{name:`items`,type:`readonly FormSectionFieldsAreaItem[]`,id:`param-items-1`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A list of `,_jsx(_components.code,{children:`FormSectionFieldsAreaItem`}),`. The widgets, top to bottom. Each is an object with its `,_jsx(_components.code,{children:`type`}),` and that widget’s own fields; `,_jsx(_components.code,{children:`_id`}),` and `,_jsx(_components.code,{children:`metaType`}),` may be left out (the site sets them).`]}),_jsxs(Expandable,{title:`FormSectionFieldsAreaItem`,children:[_jsxs(_components.p,{children:[`A widget in an area that takes `,_jsx(_components.code,{children:`@apostrophecms/form-text-field`}),`, `,_jsx(_components.code,{children:`@apostrophecms/form-textarea-field`}),`, `,_jsx(_components.code,{children:`@apostrophecms/form-file-field`}),`, `,_jsx(_components.code,{children:`@apostrophecms/form-boolean-field`}),`, `,_jsx(_components.code,{children:`@apostrophecms/form-select-field`}),`, `,_jsx(_components.code,{children:`@apostrophecms/form-radio-field`}),`, `,_jsx(_components.code,{children:`@apostrophecms/form-checkboxes-field`}),`, `,_jsx(_components.code,{children:`@apostrophecms/form-conditional`}),`, `,_jsx(_components.code,{children:`@apostrophecms/form-group`}),`, `,_jsx(_components.code,{children:`@apostrophecms/form-divider`}),`, `,_jsx(_components.code,{children:`@apostrophecms/rich-text`}),`: the one its `,_jsx(_components.code,{children:`type`}),` names.`]}),_jsxs(Expandable,{title:`FormTextFieldWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-text-field`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormTextFieldWidgetType`,id:`param-type-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-text-field`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-text-field`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fieldLabel`,type:`string`,id:`param-field-label`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Field label.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-6`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-3`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`required`,type:`boolean | null`,id:`param-required`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Is this field required?`]})}),_jsx(ResponseField,{name:`fieldName`,type:`string`,id:`param-field-name`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.`]})}),_jsx(ResponseField,{name:`inputType`,type:`InputType | null`,id:`param-input-type`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. If you are requesting certain formatted information (e.g., email, url, phone number), select the relevant input type here. If not, use “Text”. One of `,_jsx(_components.code,{children:`text`}),`, `,_jsx(_components.code,{children:`email`}),`, `,_jsx(_components.code,{children:`tel`}),`, `,_jsx(_components.code,{children:`url`}),`, `,_jsx(_components.code,{children:`date`}),`, `,_jsx(_components.code,{children:`password`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`placeholder`,type:`string`,id:`param-placeholder`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Text to display in the field before someone uses it (e.g., to provide additional directions).`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-3`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`FormTextareaFieldWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-textarea-field`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormTextareaFieldWidgetType`,id:`param-type-3`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-textarea-field`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-textarea-field`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fieldLabel`,type:`string`,id:`param-field-label-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Field label.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-7`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-4`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`required`,type:`boolean | null`,id:`param-required-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Is this field required?`]})}),_jsx(ResponseField,{name:`fieldName`,type:`string`,id:`param-field-name-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.`]})}),_jsx(ResponseField,{name:`placeholder`,type:`string`,id:`param-placeholder-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Text to display in the field before someone uses it (e.g., to provide additional directions).`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-4`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`FormFileFieldWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-file-field`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormFileFieldWidgetType`,id:`param-type-4`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-file-field`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-file-field`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fieldLabel`,type:`string`,id:`param-field-label-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Field label.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-8`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-5`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`required`,type:`boolean | null`,id:`param-required-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Is this field required?`]})}),_jsx(ResponseField,{name:`fieldName`,type:`string`,id:`param-field-name-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.`]})}),_jsx(ResponseField,{name:`allowMultiple`,type:`boolean`,id:`param-allow-multiple`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Allow multiple file attachments.`]})}),_jsx(ResponseField,{name:`limitSize`,type:`boolean`,id:`param-limit-size`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Limit file size?`]})}),_jsx(ResponseField,{name:`maxSize`,type:`number | null`,id:`param-max-size`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. In Bytes.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-5`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`FormBooleanFieldWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-boolean-field`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormBooleanFieldWidgetType`,id:`param-type-5`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-boolean-field`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-boolean-field`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fieldLabel`,type:`string`,id:`param-field-label-3`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Field label.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-9`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-6`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`required`,type:`boolean | null`,id:`param-required-3`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Is this field required?`]})}),_jsx(ResponseField,{name:`fieldName`,type:`string`,id:`param-field-name-3`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.`]})}),_jsx(ResponseField,{name:`checked`,type:`boolean | null`,id:`param-checked`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. If “yes,” the checkbox will start in the checked state.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-6`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`FormSelectFieldWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-select-field`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormSelectFieldWidgetType`,id:`param-type-6`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-select-field`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-select-field`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fieldLabel`,type:`string`,id:`param-field-label-4`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Field label.`]})}),_jsx(ResponseField,{name:`choices`,type:`readonly FormSelectFieldWidgetChoicesItem[]`,id:`param-choices`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` A list of `,_jsx(_components.code,{children:`FormSelectFieldWidgetChoicesItem`}),`. Select input options. Its fields are listed under the first `,_jsx(_components.code,{children:`FormSelectFieldWidgetChoicesItem`}),` above.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-10`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-7`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`required`,type:`boolean | null`,id:`param-required-4`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Is this field required?`]})}),_jsx(ResponseField,{name:`fieldName`,type:`string`,id:`param-field-name-4`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.`]})}),_jsx(ResponseField,{name:`allowMultiple`,type:`boolean`,id:`param-allow-multiple-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Allow multiple options to be selected.`]})}),_jsx(ResponseField,{name:`size`,type:`number | null`,id:`param-size`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Number of options in the list that should be visible. At least 0.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-7`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`FormRadioFieldWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-radio-field`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormRadioFieldWidgetType`,id:`param-type-7`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-radio-field`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-radio-field`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fieldLabel`,type:`string`,id:`param-field-label-5`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Field label.`]})}),_jsx(ResponseField,{name:`choices`,type:`readonly FormRadioFieldWidgetChoicesItem[]`,id:`param-choices-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` A list of `,_jsx(_components.code,{children:`FormRadioFieldWidgetChoicesItem`}),`. Radio input options. At least 1 items. Its fields are listed under the first `,_jsx(_components.code,{children:`FormRadioFieldWidgetChoicesItem`}),` above.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-11`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-8`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`required`,type:`boolean | null`,id:`param-required-5`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Is this field required?`]})}),_jsx(ResponseField,{name:`fieldName`,type:`string`,id:`param-field-name-5`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.`]})}),_jsx(ResponseField,{name:`allowMultiple`,type:`boolean`,id:`param-allow-multiple-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Allow multiple options to be selected.`]})}),_jsx(ResponseField,{name:`size`,type:`number | null`,id:`param-size-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Number of options in the list that should be visible. At least 0.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-8`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`FormCheckboxesFieldWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-checkboxes-field`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormCheckboxesFieldWidgetType`,id:`param-type-8`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-checkboxes-field`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-checkboxes-field`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fieldLabel`,type:`string`,id:`param-field-label-6`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Field label.`]})}),_jsx(ResponseField,{name:`choices`,type:`readonly FormCheckboxesFieldWidgetChoicesItem[]`,id:`param-choices-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` A list of `,_jsx(_components.code,{children:`FormCheckboxesFieldWidgetChoicesItem`}),`. Checkbox input options. At least 1 items. Its fields are listed under the first `,_jsx(_components.code,{children:`FormCheckboxesFieldWidgetChoicesItem`}),` above.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-12`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-9`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`required`,type:`boolean | null`,id:`param-required-6`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Is this field required?`]})}),_jsx(ResponseField,{name:`fieldName`,type:`string`,id:`param-field-name-6`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. No spaces or punctuation other than dashes. If left blank, the form will populate this with a simplified form of the label. Changing this field after a form is in use may cause problems with any integrations.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-9`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`FormConditionalWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-conditional`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormConditionalWidgetType`,id:`param-type-9`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-conditional`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-conditional`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`conditionName`,type:`string`,id:`param-condition-name`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Form field to check.`]})}),_jsx(ResponseField,{name:`conditionValue`,type:`string`,id:`param-condition-value`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Value that activates this group.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-13`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-10`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`contents`,type:`FormConditionalContentsArea`,id:`param-contents-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A `,_jsx(_components.code,{children:`FormConditionalContentsArea`}),`. aposForm:conditionalContentsHelp Widgets, top to bottom: send `,_jsx(_components.code,{children:`{ \"items\": [ … ] }`}),`, one object per widget with its `,_jsx(_components.code,{children:`type`}),`. Writing it replaces the whole area. Its fields are listed under the first `,_jsx(_components.code,{children:`FormConditionalContentsArea`}),` above.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-10`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`FormGroupWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-group`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormGroupWidgetType`,id:`param-type-10`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-group`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-group`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`label`,type:`string`,id:`param-label`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Group Label.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-14`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-11`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`contents`,type:`FormGroupContentsArea`,id:`param-contents-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A `,_jsx(_components.code,{children:`FormGroupContentsArea`}),`. aposForm:groupContentsHelp Widgets, top to bottom: send `,_jsx(_components.code,{children:`{ \"items\": [ … ] }`}),`, one object per widget with its `,_jsx(_components.code,{children:`type`}),`. Writing it replaces the whole area. Its fields are listed under the first `,_jsx(_components.code,{children:`FormGroupContentsArea`}),` above.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-11`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`FormDividerWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/form-divider`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`FormDividerWidgetType`,id:`param-type-11`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/form-divider`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/form-divider`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-15`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-12`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-12`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]}),_jsxs(Expandable,{title:`RichTextWidget`,children:[_jsxs(_components.p,{children:[`A `,_jsx(_components.code,{children:`@apostrophecms/rich-text`}),` widget: its `,_jsx(_components.code,{children:`type`}),` and its own fields. A field left out takes its default.`]}),_jsx(ResponseField,{name:`type`,type:`RichTextWidgetType`,id:`param-type-12`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` The widget’s type: always `,_jsx(_components.code,{children:`@apostrophecms/rich-text`}),`. One of `,_jsx(_components.code,{children:`@apostrophecms/rich-text`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-16`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The widget’s id, unique on the page. Leave it out for a new widget (the site sets one); keep it to change a widget that is there.`]})}),_jsx(ResponseField,{name:`metaType`,type:`MetaType`,id:`param-meta-type-13`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`widget`}),`. One of `,_jsx(_components.code,{children:`widget`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`content`,type:`string`,id:`param-content`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The text as HTML, e.g. `,_jsx(_components.code,{children:`\u003ch2>Our story\u003c/h2>\u003cp>It began with \u003cstrong>one\u003c/strong> idea.\u003c/p>`}),`. The site keeps the tags and styles this area’s editor offers (paragraphs, headings, bold, italic, links, lists…) and removes the rest.`]})}),_jsx(ResponseField,{name:`sectionCss`,type:`CustomCSS | null`,id:`param-section-css-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. A `,_jsx(_components.code,{children:`CustomCSS`}),`. CSS for this one section, typed into the slot of the part it styles. It wins over Site design → Custom CSS. Nested rules like \u0026:hover, @media (width >= 48rem) and [data-theme=“light”] \u0026 work inside a slot. Its fields are listed under the first `,_jsx(_components.code,{children:`CustomCSS`}),` above.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-13`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]})]}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-14`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]})]})]}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-15`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]}),_jsx(ResponseField,{name:`scheduledPublish`,type:`string | null`,id:`param-scheduled-publish`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. An ISO 8601 date and time, e.g. `,_jsx(_components.code,{children:`2026-10-21T14:30:00.000Z`}),`.`]})}),_jsx(ResponseField,{name:`scheduledUnpublish`,type:`string | null`,id:`param-scheduled-unpublish`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. An ISO 8601 date and time, e.g. `,_jsx(_components.code,{children:`2026-10-21T14:30:00.000Z`}),`.`]})}),_jsx(ResponseField,{name:`thankYouHeading`,type:`string | null`,id:`param-thank-you-heading`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Thank you message title.`]})}),_jsxs(ResponseField,{name:`thankYouBody`,type:`RichTextArea`,id:`param-thank-you-body`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A `,_jsx(_components.code,{children:`RichTextArea`}),`. Widgets, top to bottom: send `,_jsx(_components.code,{children:`{ \"items\": [ … ] }`}),`, one object per widget with its `,_jsx(_components.code,{children:`type`}),`. Writing it replaces the whole area.`]}),_jsxs(Expandable,{title:`RichTextArea`,children:[_jsx(ResponseField,{name:`metaType`,type:`AfterContentAreaMetaType`,id:`param-meta-type-14`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Always `,_jsx(_components.code,{children:`area`}),`. One of `,_jsx(_components.code,{children:`area`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-17`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The area’s id, set by the site: leave it out when you write one.`]})}),_jsx(ResponseField,{name:`items`,type:`readonly RichTextWidget[]`,id:`param-items-2`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A list of `,_jsx(_components.code,{children:`RichTextWidget`}),`. The widgets, top to bottom. Each is an object with its `,_jsx(_components.code,{children:`type`}),` and that widget’s own fields; `,_jsx(_components.code,{children:`_id`}),` and `,_jsx(_components.code,{children:`metaType`}),` may be left out (the site sets them). Its fields are listed under the first `,_jsx(_components.code,{children:`RichTextWidget`}),` above.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-16`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]}),_jsx(ResponseField,{name:`sendConfirmationEmail`,type:`boolean | null`,id:`param-send-confirmation-email`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Enable this to send a message to the person who submits this form.`]})}),_jsx(ResponseField,{name:`emailConfirmationField`,type:`string | null`,id:`param-email-confirmation-field`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Enter the “name” value of the field where people with enter their email address. For best results, make sure this field only accepts email addresses.`]})}),_jsxs(ResponseField,{name:`emails`,type:`readonly FormEmailsItem[] | null`,id:`param-emails`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. A list of `,_jsx(_components.code,{children:`FormEmailsItem`}),`. Email Address(es) for Results.`]}),_jsxs(Expandable,{title:`FormEmailsItem`,children:[_jsx(ResponseField,{name:`email`,type:`string`,id:`param-email-1`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Email Address for Results. Format: an email address.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-18`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The row’s id, unique in its array.`]})}),_jsxs(ResponseField,{name:`conditions`,type:`readonly FormEmailsItemConditionsItem[]`,id:`param-conditions`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. A list of `,_jsx(_components.code,{children:`FormEmailsItemConditionsItem`}),`. For example, if you only notify this email address if the “country” field is set to “Austria”. All conditions must be met. Add the email again with another conditional set if needed.`]}),_jsxs(Expandable,{title:`FormEmailsItemConditionsItem`,children:[_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-19`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The row’s id, unique in its array.`]})}),_jsx(ResponseField,{name:`field`,type:`string`,id:`param-field`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Only select (drop-down) and checkbox fields can be used for this condition.`]})}),_jsx(ResponseField,{name:`value`,type:`string`,id:`param-value`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Enter the value an end-user will enter to meet this conditional.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-17`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-18`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]}),_jsx(ResponseField,{name:`googleSheetSubmissions`,type:`boolean | null`,id:`param-google-sheet-submissions`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Submit to Google Spreadsheets.`]})}),_jsx(ResponseField,{name:`googleSpreadsheetId`,type:`string | null`,id:`param-google-spreadsheet-id`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Google Spreadsheet ID.`]})}),_jsx(ResponseField,{name:`googleSheetName`,type:`string | null`,id:`param-google-sheet-name`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. The name of the sheet tab in your Google spreadsheet where you want the submission appended. If not provided, the first sheet of the spreadsheet will be used.`]})}),_jsx(ResponseField,{name:`submitLabel`,type:`string | null`,id:`param-submit-label`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Submit button label.`]})}),_jsx(ResponseField,{name:`enableRecaptcha`,type:`boolean | null`,id:`param-enable-recaptcha`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. To use, reCAPTCHA a site ID and secret key must be configured in website code or the website global settings.`]})}),_jsx(ResponseField,{name:`enableQueryParams`,type:`boolean | null`,id:`param-enable-query-params`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Enable query parameter capture.`]})}),_jsxs(ResponseField,{name:`queryParamList`,type:`readonly FormQueryParamListItem[] | null`,id:`param-query-param-list`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. A list of `,_jsx(_components.code,{children:`FormQueryParamListItem`}),`. Create an array item for each query parameter value you wish to capture.`]}),_jsxs(Expandable,{title:`FormQueryParamListItem`,children:[_jsx(ResponseField,{name:`key`,type:`string`,id:`param-key`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Key.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-20`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The row’s id, unique in its array.`]})}),_jsx(ResponseField,{name:`lengthLimit`,type:`number | null`,id:`param-length-limit`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Enter a whole number to limit the length of the value saved. At least 1.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-19`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]}),_jsxs(ResponseField,{name:`formActions`,type:`readonly FormFormActionsItem[] | null`,id:`param-form-actions`,children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. A list of `,_jsx(_components.code,{children:`FormFormActionsItem`}),`. What happens to each submission, beyond being stored in the CMS. Add one row per destination; several can run for one form. Storage always happens regardless.`]}),_jsxs(Expandable,{title:`FormFormActionsItem`,children:[_jsx(ResponseField,{name:`actionType`,type:`ActionType`,id:`param-action-type`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Action. One of `,_jsx(_components.code,{children:`webhook`}),`, `,_jsx(_components.code,{children:`emailNotify`}),`; a newer site may send others, so keep a fallback.`]})}),_jsx(ResponseField,{name:`id`,type:`string`,id:`param-id-21`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. The row’s id, unique in its array.`]})}),_jsx(ResponseField,{name:`enabled`,type:`boolean`,id:`param-enabled`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Enabled.`]})}),_jsx(ResponseField,{name:`destination`,type:`readonly Readonly\u003cRecord\u003cstring, unknown>>[]`,id:`param-destination`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out. Where each submission is sent (⌘K → Webhook Destinations). It is signed with that destination’s secret, retried if the receiver is down, and listed on its Deliveries tab. The related `,_jsx(_components.code,{children:`webhook-destination`}),` documents, in order (empty when none). To set it, send a list of `,_jsx(_components.code,{children:`{ \"_id\": \"…\" }`}),`, one per document (one at most); a document the site can’t find is left out. At most 1 items.`]})}),_jsx(ResponseField,{name:`notifyEmail`,type:`string | null`,id:`param-notify-email`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. Where a copy of each submission is emailed (sent through Connections → Email). Replying answers the visitor. When set, an email address; empty or null when not.`]})}),_jsx(ResponseField,{name:`fields`,type:`Readonly\u003cRecord\u003cstring, unknown>>`,id:`param-fields-20`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always there:`}),` `,_jsx(_components.code,{children:`{}`}),` when there are none. Any keys the site sent that aren’t listed above (such as one added after this SDK was built), by their wire names, as sent. Pass this model to a write and they are sent too.`]})})]})]}),_jsx(ResponseField,{name:`archived`,type:`boolean | null`,id:`param-archived`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. In the archive: kept, but out of every list and off the site until it is restored. `,_jsx(_components.code,{children:`false`}),` (or null) for a live document.`]})}),_jsx(ResponseField,{name:`aposShareKey`,type:`string | null`,id:`param-apos-share-key`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Sometimes sent:`}),` `,_jsx(_components.code,{children:`undefined`}),` when the site leaves it out, and it can be `,_jsx(_components.code,{children:`null`}),`. The draft’s preview share key, while its share link is on: the link is the draft’s `,_jsx(_components.code,{children:`_url`}),` with `,_jsx(_components.code,{children:`aposShareKey`}),` and `,_jsx(_components.code,{children:`aposShareId`}),` (the draft’s `,_jsx(_components.code,{children:`_id`}),`) in its query. Absent otherwise, and on published documents.`]})})]})]}),_jsx(ResponseField,{name:`pages`,type:`number`,id:`param-pages`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` Pages in the whole list (0 when it is empty).`]})}),_jsx(ResponseField,{name:`currentPage`,type:`number`,id:`param-current-page`,children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Always sent.`}),` This page, from 1.`]})})]}),_jsxs(Accordion,{title:`Errors`,icon:`triangle-exclamation`,id:`errors`,children:[_jsxs(_components.p,{children:[`Nothing to catch: the SDK retries what is safe, and throws the rest as the classes below. Your exception handler turns them into your app’s own answers, once for every call (see `,_jsx(_components.a,{href:`/adonisjs/calling-the-api#map-sdk-errors-to-responses`,children:`Map SDK errors to responses`}),`); catch only what you want to react to here.`]}),_jsxs(ResponseField,{name:`ValidationFailed`,type:`400`,id:`param-validation-failed`,children:[_jsxs(_components.p,{children:[`The site refused what was sent: `,_jsx(_components.code,{children:`errors`}),` lists each field’s problem, `,_jsx(_components.code,{children:`siteMessage`}),` the first.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` No. `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`errors`}),` (field → messages), `,_jsx(_components.code,{children:`siteMessage`}),`.`]})]}),_jsxs(ResponseField,{name:`AuthenticationFailed`,type:`401`,id:`param-authentication-failed`,children:[_jsx(_components.p,{children:`The API key is missing or refused (malformed, revoked, expired), or a signature its signing mode needs is missing or stale.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` No. `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`siteMessage`}),`, `,_jsx(_components.code,{children:`errorName`}),`, `,_jsx(_components.code,{children:`data`}),`.`]})]}),_jsxs(ResponseField,{name:`Forbidden`,type:`403`,id:`param-forbidden`,children:[_jsxs(_components.p,{children:[`The key may not do this: a scope it lacks, or an address outside its allowlist. `,_jsx(_components.code,{children:`siteMessage`}),` names it.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` No. `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`siteMessage`}),`, `,_jsx(_components.code,{children:`errorName`}),`, `,_jsx(_components.code,{children:`data`}),`.`]})]}),_jsxs(ResponseField,{name:`NotFound`,type:`404`,id:`param-not-found`,children:[_jsx(_components.p,{children:`Nothing matches, or the caller may not see it.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` No. `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`siteMessage`}),`, `,_jsx(_components.code,{children:`errorName`}),`, `,_jsx(_components.code,{children:`data`}),`.`]})]}),_jsxs(ResponseField,{name:`SiteError`,type:`500`,id:`param-site-error`,children:[_jsx(_components.p,{children:`The site failed. Its logs say why.`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` No (only a 502, 503 or 504 is retried). `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`siteMessage`}),`, `,_jsx(_components.code,{children:`errorName`}),`, `,_jsx(_components.code,{children:`data`}),`.`]})]}),_jsxs(ResponseField,{name:`SiteUnreachable`,type:`no answer`,id:`param-site-unreachable`,children:[_jsx(_components.p,{children:`No answer: DNS, a refused connection, TLS, or the timeout (15 s per attempt by default).`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` Yes, after 0.5 s then 1 s. `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`reason`}),`, `,_jsx(_components.code,{children:`neverConnected`}),`.`]})]}),_jsxs(ResponseField,{name:`RequestNotSent`,type:`not sent`,id:`param-request-not-sent`,children:[_jsxs(_components.p,{children:[`The client refused to send it (e.g. a path segment of `,_jsx(_components.code,{children:`..`}),`); the site never saw it.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` No. `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`reason`}),` (what to change).`]})]}),_jsxs(ResponseField,{name:`SiteRequestFailed`,type:`any other`,id:`param-site-request-failed`,children:[_jsx(_components.p,{children:`Any other status, or a success whose JSON doesn’t match this SDK version’s types (update the SDK).`}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` No. `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`reason`}),`, `,_jsx(_components.code,{children:`status`}),`.`]})]}),_jsxs(ResponseField,{name:`UnknownSite`,type:`setup`,id:`param-unknown-site`,children:[_jsxs(_components.p,{children:[_jsx(_components.code,{children:`sites.forSite('acme')`}),` named a slug `,_jsx(_components.code,{children:`config/attract.ts`}),` doesn’t list (with the keys in the database: no row in `,_jsx(_components.code,{children:`attract_api_keys`}),`).`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` No: nothing was sent. `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`message`}),`, `,_jsx(_components.code,{children:`slug`}),`.`]})]}),_jsxs(ResponseField,{name:`SiteConfigurationError`,type:`setup`,id:`param-site-configuration-error`,children:[_jsxs(_components.p,{children:[`The site’s entry is wrong: a malformed `,_jsx(_components.code,{children:`baseUrl`}),` or key, a key filed under another slug, or no default site. `,_jsx(_components.code,{children:`node ace attract:check`}),` names the fix.`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Retried first:`}),` No: nothing was sent. `,_jsx(_components.strong,{children:`Read:`}),` `,_jsx(_components.code,{children:`message`}),` (what to fix).`]})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`behavior`,children:`Behavior`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Access:`}),` an API key with `,_jsx(_components.code,{children:`content:forms:read`}),` (or a master above it: `,_jsx(_components.code,{children:`content:forms:all`}),`, `,_jsx(_components.code,{children:`content:all`}),`, `,_jsx(_components.code,{children:`admin:all`}),`) reads the published documents; drafts (`,_jsx(_components.code,{children:`aposMode=draft`}),`) need `,_jsx(_components.code,{children:`content:forms:write`}),` (or a master above it). A signed-in person may call it as far as their own permissions allow; anyone else gets 404.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Rate limit:`}),` the key’s own reads-per-minute limit, set when the key is created (default 600); over it, 429 with `,_jsx(_components.code,{children:`Retry-After`}),`. The client waits and retries for you; you see `,_jsx(_components.code,{children:`RateLimited`}),` only if that runs out.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Retries:`}),` a read is safe to repeat: the client retries it on no answer, a 502/503/504 and a 429.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Timeout:`}),` 15 s per attempt by default; raise `,_jsx(_components.code,{children:`timeout`}),` (milliseconds) in `,_jsx(_components.code,{children:`config/attract.ts`}),` for longer.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Paging:`}),` one page per call. To walk them all, use `,_jsx(_components.code,{children:`listFormsAll()`}),` (see More examples): it asks for the next page as you iterate, and stops after page `,_jsx(_components.code,{children:`pages`}),`.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`more-examples`,children:`More examples`}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.code,{children:`listFormsAll()`}),` takes `,_jsx(_components.code,{children:`listForms()`}),`’s arguments except `,_jsx(_components.code,{children:`page`}),`. `,_jsx(_components.code,{children:`listFormsPick()`}),` takes the same arguments except `,_jsx(_components.code,{children:`page`}),`, after the fields to answer: each row is the document’s `,_jsx(_components.code,{children:`id`}),` and those fields.`]}),`\n`,_jsxs(CodeGroup,{children:[_jsx(CodeBlock,{filename:`Every page`,wrap:`true`,numberOfLines:`7`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`7`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` app`}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@adonisjs/core/services/app'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`SiteClient`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@fetchski/attract-cms-sdk'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` app`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`container`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`make`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`SiteClient`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`for`}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` form`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` of`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`forms`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`listFormsAll`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`()) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` console`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`log`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`form`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`) `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`// the next page is fetched as you iterate`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`}`})}),`\n`]})})}),_jsx(CodeBlock,{filename:`Only some fields`,wrap:`true`,numberOfLines:`5`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`5`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` app`}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@adonisjs/core/services/app'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`SiteClient`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@fetchski/attract-cms-sdk'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` app`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`container`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`make`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`SiteClient`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` rows`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`forms`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`listFormsPick`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`([`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'title'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'slug'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`]) `}),_jsx(_components.span,{style:{color:`#6A9955`,\"--shiki-dark\":`#6A9955`},children:`// [{ id, title, slug }, …]: every form, across every page`})]}),`\n`]})})})]}),`\n`,_jsx(Heading,{level:`2`,id:`test-it`,children:`Test it`}),`\n`,_jsxs(_components.p,{children:[`It calls the controller above with the SDK faked: `,_jsx(_components.code,{children:`fakeAttract()`}),` puts the fake in the container for this one test, and it answers every call with a valid example, so nothing leaves your machine and no key is read. Save it as `,_jsx(_components.code,{children:`tests/unit/forms_list_forms.spec.ts`}),`, then run your tests:`]}),`\n`,_jsx(CodeBlock,{filename:`tests/unit/forms_list_forms.spec.ts`,numberOfLines:`13`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`13`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`test`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@japa/runner'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` app`}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@adonisjs/core/services/app'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`fakeAttract`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@fetchski/attract-cms-adonis/testing'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` ListFormsController`}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '#controllers/list_forms_controller'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`test`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'forms.listForms'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` () `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`fakeAttract`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` controller`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` app`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`container`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`make`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`ListFormsController`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` controller`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`handle`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`()`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`assertCalled`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'forms.listForms'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`]})})}),`\n`,_jsx(CodeBlock,{filename:`Terminal`,numberOfLines:`1`,language:`shellscript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`shellscript`,children:_jsxs(_components.code,{language:`shellscript`,numberOfLines:`1`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`node`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` ace`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` test`})]}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Answer with your own values:`}),` fake `,_jsx(_components.code,{children:`forms.listForms`}),` with a `,_jsx(_components.code,{children:`sequence()`}),` of pages, each `,_jsx(_components.code,{children:`factories.FormList({...})`}),`, and walk `,_jsx(_components.code,{children:`listFormsAll()`}),`.`]}),`\n`,_jsx(CodeBlock,{filename:`tests/unit/forms_list_forms_answers.spec.ts`,numberOfLines:`17`,language:`typescript`,children:_jsx(_components.pre,{className:`shiki shiki-themes dark-plus dark-plus`,style:{backgroundColor:`#0B0C0E`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},language:`typescript`,children:_jsxs(_components.code,{language:`typescript`,numberOfLines:`17`,children:[_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`test`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@japa/runner'`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`import`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` { `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`factories`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`fakeAttract`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`sequence`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` } `}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:`from`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` '@fetchski/attract-cms-adonis/testing'`})]}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`test`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:`'forms.listForms answers your values'`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`async`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` ({ `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`assert`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }) `}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`=>`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` = `}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`fakeAttract`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`({`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#CE9178`,\"--shiki-dark\":`#CE9178`},children:` 'forms.listForms'`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`:`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:` sequence`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` factories`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`FormList`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`currentPage:`}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:` 1`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`pages:`}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:` 2`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }),`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` factories`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`FormList`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`({ `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`currentPage:`}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:` 2`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`pages:`}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:` 2`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` })`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` ),`})}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` })`})}),`\n`,_jsx(_components.span,{className:`line`}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` walked`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#4EC9B0`,\"--shiki-dark\":`#4EC9B0`},children:`unknown`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`[] = []`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` for`}),_jsx(_components.span,{style:{color:`#C586C0`,\"--shiki-dark\":`#C586C0`},children:` await`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` (`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:`const`}),_jsx(_components.span,{style:{color:`#4FC1FF`,\"--shiki-dark\":`#4FC1FF`},children:` form`}),_jsx(_components.span,{style:{color:`#569CD6`,\"--shiki-dark\":`#569CD6`},children:` of`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` site`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`forms`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`().`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`listFormsAll`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`()) {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` walked`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`push`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`form`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:` assert`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`.`}),_jsx(_components.span,{style:{color:`#DCDCAA`,\"--shiki-dark\":`#DCDCAA`},children:`lengthOf`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`(`}),_jsx(_components.span,{style:{color:`#9CDCFE`,\"--shiki-dark\":`#9CDCFE`},children:`walked`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`, `}),_jsx(_components.span,{style:{color:`#B5CEA8`,\"--shiki-dark\":`#B5CEA8`},children:`2`}),_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`)`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#D4D4D4`,\"--shiki-dark\":`#D4D4D4`},children:`})`})}),`\n`]})})}),`\n`,_jsxs(_components.p,{children:[`To fake `,_jsx(_components.code,{children:`listFormsAll()`}),`, answer `,_jsx(_components.code,{children:`forms.listForms`}),` (the walk calls it page by page): a `,_jsx(_components.code,{children:`sequence()`}),` of answers for several pages.`]}),`\n`,_jsx(Heading,{level:`2`,id:`related`,children:`Related`}),`\n`,_jsxs(Columns,{cols:2,children:[_jsx(Card,{title:`List a form’s locales`,icon:`globe`,href:`/adonisjs/reference/forms/get-form-locales`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`site.forms().getFormLocales()`})})}),_jsx(Card,{title:`Create a form`,icon:`plus`,href:`/adonisjs/reference/forms/create-form`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`site.forms().createForm()`})})}),_jsx(Card,{title:`Get a form`,icon:`eye`,href:`/adonisjs/reference/forms/get-form`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`site.forms().getForm()`})})}),_jsx(Card,{title:`Replace a form`,icon:`arrows-rotate`,href:`/adonisjs/reference/forms/replace-form`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`site.forms().replaceForm()`})})}),_jsx(Card,{title:`Delete a form`,icon:`trash`,href:`/adonisjs/reference/forms/delete-form`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`site.forms().deleteForm()`})})}),_jsx(Card,{title:`Update a form`,icon:`pen`,href:`/adonisjs/reference/forms/update-form`,children:_jsx(_components.p,{children:_jsx(_components.code,{children:`site.forms().updateForm()`})})})]}),`\n`,_jsx(Card,{title:`GET /@apostrophecms/form`,icon:`code`,href:`/api-reference/forms/list-forms`,arrow:true,horizontal:true,children:_jsx(_components.p,{children:`The endpoint this calls, in the API reference: the HTTP request and answer, and every rule the site checks.`})})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"codeStyling":"dark","config":{},"pageMetadata":{"title":"List forms","sidebarTitle":"List","description":"Retrieve a paginated list of forms.","icon":"list","href":"/adonisjs/reference/forms/list-forms"}}}},"mdxExtracts":{"tableOfContents":[{"title":"In your app","slug":"in-your-app","depth":2,"children":[]},{"title":"Behavior","slug":"behavior","depth":2,"children":[]},{"title":"More examples","slug":"more-examples","depth":2,"children":[]},{"title":"Test it","slug":"test-it","depth":2,"children":[]},{"title":"Related","slug":"related","depth":2,"children":[]}],"codeExamples":{"request":{"type":"RequestExample","children":[{"filename":"AdonisJS","html":"\u003cpre class=\"shiki shiki-themes dark-plus dark-plus\" style=\"background-color:#0B0C0E;--shiki-dark-bg:#0B0C0E;color:#D4D4D4;--shiki-dark:#D4D4D4\" language=\"typescript\">\u003ccode language=\"typescript\" numberOfLines=\"5\">\u003cspan class=\"line\">\u003cspan style=\"color:#C586C0;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> app\u003c/span>\u003cspan style=\"color:#C586C0;--shiki-dark:#C586C0\"> from\u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\"> '@adonisjs/core/services/app'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#C586C0;--shiki-dark:#C586C0\">import\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> { \u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\">SiteClient\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> } \u003c/span>\u003cspan style=\"color:#C586C0;--shiki-dark:#C586C0\">from\u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\"> '@fetchski/attract-cms-sdk'\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#4FC1FF;--shiki-dark:#4FC1FF\"> site\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> = \u003c/span>\u003cspan style=\"color:#C586C0;--shiki-dark:#C586C0\">await\u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> app\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\">container\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#DCDCAA;--shiki-dark:#DCDCAA\">make\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">(\u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\">SiteClient\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">)\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\">const\u003c/span>\u003cspan style=\"color:#4FC1FF;--shiki-dark:#4FC1FF\"> formList\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> = \u003c/span>\u003cspan style=\"color:#C586C0;--shiki-dark:#C586C0\">await\u003c/span>\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> site\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">.\u003c/span>\u003cspan style=\"color:#DCDCAA;--shiki-dark:#DCDCAA\">forms\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">().\u003c/span>\u003cspan style=\"color:#DCDCAA;--shiki-dark:#DCDCAA\">listForms\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">()\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]},"response":{"type":"ResponseExample","children":[{"filename":"200","html":"\u003cpre class=\"shiki shiki-themes dark-plus dark-plus\" style=\"background-color:#0B0C0E;--shiki-dark-bg:#0B0C0E;color:#D4D4D4;--shiki-dark:#D4D4D4\" language=\"json\">\u003ccode language=\"json\" numberOfLines=\"104\">\u003cspan class=\"line\">\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">{\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"results\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"title\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example title\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"contents\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"metaType\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"area\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"_id\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"clx8m2k4p0000a1b2c3d4e5f6\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"items\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"form-section\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"_id\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"clx8m2k4p0000a1b2c3d4e5f6\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"metaType\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"widget\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formFontOverrides\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formEyebrowEnabled\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formEyebrow\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Get in touch\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formEyebrowColor\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example form eyebrow color\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formEyebrowColorLight\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example form eyebrow color light\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formEyebrowWeight\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"bold\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formEyebrowSize\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"normal\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formHeading\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Send us a message\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formHeadingColor\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example form heading color\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formHeadingColorLight\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example form heading color light\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formHeadingWeight\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"extrabold\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formHeadingSize\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"normal\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formIntro\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Fill out the form below and we’ll get back to you shortly.\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formIntroColor\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example form intro color\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formIntroColorLight\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example form intro color light\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formIntroWeight\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"normal\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formIntroSize\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"normal\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formBand\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"raised\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formAccentColor\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example form accent color\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formAccentColorLight\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example form accent color light\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formAlign\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"center\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formWidth\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"normal\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formLabelGap\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"normal\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formBg\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"transparent\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formBgCustom\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example form bg custom\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formBgLight\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"inherit\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formBgLightCustom\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example form bg light custom\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formSubmitLabel\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Submit\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formSubmitVariant\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"solid\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formSubmitSize\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"normal\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formSubmitRadius\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"slight\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formSubmitColor\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"--fetchski-accent\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formSubmitColorLight\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example form submit color light\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formSubmitTextColor\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"--fetchski-ink\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formSubmitTextColorLight\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example form submit text color light\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formSubmitHoverColor\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example form submit hover color\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formSubmitHoverColorLight\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example form submit hover color light\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formSubmitStyle\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"sweep\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formSubmitShadowColor\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example form submit shadow color\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formSubmitShadowColorLight\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example form submit shadow color light\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formSubmitAnimation\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"lift-scale\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formSubmitIcon\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example form submit icon\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formSubmitIconFamily\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"classic-regular\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formSubmitIconPosition\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"before\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formSubmitIconNudge\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"_form\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"sectionCss\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: {},\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"fields\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: {}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"slug\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"example-slug\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"visibility\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"public\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"scheduledPublish\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example scheduled publish\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"scheduledUnpublish\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example scheduled unpublish\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"thankYouHeading\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example thank you heading\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"thankYouBody\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"metaType\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"area\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"_id\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"clx8m2k4p0000a1b2c3d4e5f6\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"items\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: [\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> {\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"@apostrophecms/rich-text\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"_id\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"clx8m2k4p0000a1b2c3d4e5f6\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"metaType\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"widget\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"content\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"\u0026#x3C;p>Hello from the API.\u0026#x3C;/p>\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"sectionCss\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: {}\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> ]\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> },\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"sendConfirmationEmail\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"emailConfirmationField\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"jo@acme.example\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"emails\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"email\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"jo@acme.example\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"googleSheetSubmissions\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"googleSpreadsheetId\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"clx8m2k4p0000a1b2c3d4e5f6\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"googleSheetName\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example google sheet name\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"submitLabel\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example submit label\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"enableRecaptcha\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"enableQueryParams\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\">true\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"queryParamList\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"formActions\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: [],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"archived\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#569CD6;--shiki-dark:#569CD6\">false\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"_id\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"clx8m2k4p0000a1b2c3d4e5f6\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"type\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"Example type\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"createdAt\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"2026-10-24T09:30:00.000Z\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"updatedAt\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"2026-10-24T09:30:00.000Z\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"aposShareKey\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#CE9178;--shiki-dark:#CE9178\">\"k3v9x2m7q1z8w4p6\"\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> }\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\"> ],\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"pages\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#B5CEA8;--shiki-dark:#B5CEA8\">1\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">,\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#9CDCFE;--shiki-dark:#9CDCFE\"> \"currentPage\"\u003c/span>\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">: \u003c/span>\u003cspan style=\"color:#B5CEA8;--shiki-dark:#B5CEA8\">1\u003c/span>\u003c/span>\n\u003cspan class=\"line\">\u003cspan style=\"color:#D4D4D4;--shiki-dark:#D4D4D4\">}\u003c/span>\u003c/span>\n\u003c/code>\u003c/pre>"}],"attributes":[]}}},"jsLinks":["/_mintlify/custom/fetchski-attract-api/f59e82e583443cfa/reader-values.js"],"subdomain":"fetchski-attract-api","siteName":"Fetchski Attract Docs","title":"List forms - Fetchski Attract Docs","navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{}},"lastModified":"2026-11-12T10:18:41.653Z","originalFileLocation":"adonisjs/reference/forms/list-forms.mdx"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"dark\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Retrieve a paginated list of forms.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Fetchski Attract Docs\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003cmeta data-mint-head name=\"robots\" content=\"noindex, nofollow\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fetchski-attract-api/70pYtWMpcnXR0SYV/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/fetchski-attract-api/70pYtWMpcnXR0SYV/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fetchski-attract-api/70pYtWMpcnXR0SYV/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/fetchski-attract-api/70pYtWMpcnXR0SYV/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/fetchski-attract-api/70pYtWMpcnXR0SYV/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/fetchski-attract-api/70pYtWMpcnXR0SYV/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/fetchski-attract-api/70pYtWMpcnXR0SYV/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/fetchski-attract-api/70pYtWMpcnXR0SYV/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/fetchski-attract-api/70pYtWMpcnXR0SYV/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"List forms - Fetchski Attract Docs\">\u003cmeta data-mint-head property=\"og:description\" content=\"Retrieve a paginated list of forms.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Fetchski Attract Docs\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.fetchski-attract.com/adonisjs/reference/forms/list-forms\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://fetchski-attract-api.mintlify.site/_mintlify/api/og/v2?division=Forms\u0026amp;title=List+forms\u0026amp;description=Retrieve+a+paginated+list+of+forms.\u0026amp;theme=0e1cff4688ef26ca6a5fb667\u0026amp;signature=252820c6853049d34a82cf4113d546521c7b1ea361badd86b5551b3f57d6af8f\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"List forms - Fetchski Attract Docs\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Retrieve a paginated list of forms.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://fetchski-attract-api.mintlify.site/_mintlify/api/og/v2?division=Forms\u0026amp;title=List+forms\u0026amp;description=Retrieve+a+paginated+list+of+forms.\u0026amp;theme=0e1cff4688ef26ca6a5fb667\u0026amp;signature=252820c6853049d34a82cf4113d546521c7b1ea361badd86b5551b3f57d6af8f\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/fetchski-attract-api/70pYtWMpcnXR0SYV/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Fetchski Attract Docs\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#16a34a\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.fetchski-attract.com/adonisjs/reference/forms/list-forms\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/adonisjs/reference/forms/list-forms.md\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.fetchski-attract.com/#organization\",\"name\":\"Fetchski Attract Docs\",\"url\":\"https://docs.fetchski-attract.com\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/fetchski-attract-api/mn9qfQRsqaASh7UE/logo/light.svg?fit=max\u0026auto=format\u0026n=mn9qfQRsqaASh7UE\u0026q=85\u0026s=66db13e248b70a44a5ff5f6990d4cb63\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.fetchski-attract.com#website\",\"name\":\"Fetchski Attract Docs\",\"url\":\"https://docs.fetchski-attract.com\",\"publisher\":{\"@id\":\"https://docs.fetchski-attract.com/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.fetchski-attract.com/adonisjs/reference/forms/list-forms#webpage\",\"url\":\"https://docs.fetchski-attract.com/adonisjs/reference/forms/list-forms\",\"name\":\"List forms\",\"description\":\"Retrieve a paginated list of forms.\",\"dateModified\":\"2026-11-12T10:18:41.653Z\",\"isPartOf\":{\"@id\":\"https://docs.fetchski-attract.com#website\"},\"breadcrumb\":{\"@id\":\"https://docs.fetchski-attract.com/adonisjs/reference/forms/list-forms#breadcrumb\"}},{\"@type\":\"BreadcrumbList\",\"@id\":\"https://docs.fetchski-attract.com/adonisjs/reference/forms/list-forms#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Fetchski Attract Docs\",\"item\":\"https://docs.fetchski-attract.com\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"List forms\",\"item\":\"https://docs.fetchski-attract.com/adonisjs/reference/forms/list-forms\"}]},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.fetchski-attract.com/adonisjs/reference/forms/list-forms#article\",\"headline\":\"List forms\",\"name\":\"List forms\",\"description\":\"Retrieve a paginated list of forms.\",\"url\":\"https://docs.fetchski-attract.com/adonisjs/reference/forms/list-forms\",\"mainEntityOfPage\":{\"@id\":\"https://docs.fetchski-attract.com/adonisjs/reference/forms/list-forms#webpage\"},\"dateModified\":\"2026-11-12T10:18:41.653Z\",\"publisher\":{\"@id\":\"https://docs.fetchski-attract.com/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.fetchski-attract.com#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Fetchski Attract Docs\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Fetchski Attract Docs\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/adonisjs/reference/forms/list-forms.md","siteName":"Fetchski Attract Docs","nav":{"global":null,"tabs":[{"tab":"Guides","icon":"book-open","pages":[{"title":"Guides","href":""}]},{"tab":"FetchskiAI","icon":"sparkles","pages":[{"title":"FetchskiAI","href":"/fetchskiai/overview"}]},{"tab":"Recipes","icon":"book-open","pages":[{"title":"Recipes","href":"/recipes/laravel-ai-translate-your-site"}]},{"tab":"TypeScript","icon":"js","pages":[{"title":"TypeScript","href":"/typescript/overview"}]},{"tab":"Laravel","icon":"laravel","pages":[{"title":"Laravel","href":"/laravel/overview"}]},{"tab":"AdonisJS","icon":"https://mintlify.s3.us-west-1.amazonaws.com/fetchski-attract-api/logo/adonisjs.svg","groups":[{"group":"Get started","icon":"rocket","pages":[{"title":"The SDK in AdonisJS","sidebarTitle":"Overview","icon":"https://mintlify.s3.us-west-1.amazonaws.com/fetchski-attract-api/logo/adonisjs.svg","href":"/adonisjs/overview"},{"title":"Installation","icon":"download","href":"/adonisjs/installation"},{"title":"Configuration","icon":"sliders","href":"/adonisjs/configuration"},{"title":"Key in the database","icon":"database","href":"/adonisjs/key-in-database"}]},{"group":"Using the SDK","icon":"code","pages":[{"title":"Calling the API","icon":"code","href":"/adonisjs/calling-the-api"},{"title":"Testing","icon":"vial","href":"/adonisjs/testing"}]},{"group":"Going further","icon":"rocket","pages":[{"title":"Ace commands","icon":"terminal","href":"/adonisjs/ace-commands"},{"title":"Jobs, cache and health","icon":"clock-rotate-left","href":"/adonisjs/background-work"}]},{"group":"Pages \u0026 Site","icon":"sitemap","pages":[{"group":"Pages","icon":"file-lines","pages":[{"title":"List pages","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/pages/list-pages"},{"title":"Get a page","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/pages/get-page"},{"title":"Create a page","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/pages/create-page"},{"title":"Update a page","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/pages/update-page"},{"title":"Replace a page","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/pages/replace-page"},{"title":"Delete a page","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/pages/delete-page"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish a page","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/pages/publish-page"},{"title":"Unpublish a page","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/pages/unpublish-page"},{"title":"Submit a page for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/pages/submit-page"},{"title":"Dismiss a page’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/pages/dismiss-page-submission"},{"title":"Discard a page’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/pages/revert-page-draft-to-published"},{"title":"Restore a page’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/pages/revert-page-published-to-previous"},{"title":"Share a page’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/pages/share-page"},{"title":"Copy a page to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/pages/localize-page"},{"title":"List a page’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/pages/get-page-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish pages","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/pages/publish-pages"},{"title":"Archive pages","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/pages/archive-pages"},{"title":"Restore pages","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/pages/restore-pages"},{"title":"Copy pages to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/pages/localize-pages"}]}]},{"group":"Global Content","icon":"globe","pages":[{"title":"List global documents","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/global-content/list-global-content"},{"title":"Get a global document","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/global-content/get-global"},{"title":"Create a global document","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/global-content/create-global"},{"title":"Update a global document","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/global-content/update-global"},{"title":"Replace a global document","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/global-content/replace-global"},{"title":"Delete a global document","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/global-content/delete-global"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish a global document","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/global-content/publish-global"},{"title":"Unpublish a global document","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/global-content/unpublish-global"},{"title":"Submit a global document for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/global-content/submit-global"},{"title":"Dismiss a global document’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/global-content/dismiss-global-submission"},{"title":"Discard a global document’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/global-content/revert-global-draft-to-published"},{"title":"Restore a global document’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/global-content/revert-global-published-to-previous"},{"title":"Share a global document’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/global-content/share-global"},{"title":"Copy a global document to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/global-content/localize-global"},{"title":"List a global document’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/global-content/get-global-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish global documents","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/global-content/publish-globals"},{"title":"Archive global documents","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/global-content/archive-globals"},{"title":"Restore global documents","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/global-content/restore-globals"},{"title":"Copy global documents to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/global-content/localize-globals"}]}]},{"group":"Redirects","icon":"arrow-right-arrow-left","pages":[{"title":"List redirects","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/redirects/list-redirects"},{"title":"Get a redirect","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/redirects/get-redirect"},{"title":"Create a redirect","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/redirects/create-redirect"},{"title":"Update a redirect","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/redirects/update-redirect"},{"title":"Replace a redirect","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/redirects/replace-redirect"},{"title":"Delete a redirect","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/redirects/delete-redirect"},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Archive redirects","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/redirects/archive-redirects"},{"title":"Restore redirects","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/redirects/restore-redirects"}]}]},{"group":"Internationalization","icon":"language","pages":[{"title":"List the site’s languages","sidebarTitle":"List the site’s languages","icon":"magnifying-glass","href":"/adonisjs/reference/internationalization/get-locales"},{"title":"Get locale path and manage clipboard","sidebarTitle":"Get locale path and manage clipboard","icon":"bolt","href":"/adonisjs/reference/internationalization/switch-locale"},{"title":"Check document existence in locale","sidebarTitle":"Check document existence in locale","icon":"bolt","href":"/adonisjs/reference/internationalization/exist-in-locale"}]},{"group":"Languages","icon":"language","pages":[{"title":"List language lists","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/languages/list-site-languages"},{"title":"Get a language list","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/languages/get-site-languages"},{"title":"Update a language list","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/languages/update-site-languages"},{"title":"Replace a language list","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/languages/replace-site-languages"},{"title":"List the Global fields each language translates","sidebarTitle":"List the Global fields each language translates","icon":"magnifying-glass","href":"/adonisjs/reference/languages/get-global-translated-fields"}]},{"group":"Page Templates","icon":"table-columns","pages":[{"title":"Get a page template","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/page-templates/get-page-template"},{"title":"List the page templates","sidebarTitle":"List the page templates","icon":"magnifying-glass","href":"/adonisjs/reference/page-templates/list-page-templates"}]}]},{"group":"Content","icon":"newspaper","pages":[{"group":"Blog Posts","icon":"newspaper","pages":[{"title":"List blog posts","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/blog-posts/list-blogs"},{"title":"Get a blog post","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/blog-posts/get-blog"},{"title":"Create a blog post","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/blog-posts/create-blog"},{"title":"Update a blog post","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/blog-posts/update-blog"},{"title":"Replace a blog post","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/blog-posts/replace-blog"},{"title":"Delete a blog post","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/blog-posts/delete-blog"},{"title":"Get the Markdown template","sidebarTitle":"Get the Markdown template","icon":"magnifying-glass","href":"/adonisjs/reference/blog-posts/get-blog-markdown-template"},{"title":"Get the MDX template","sidebarTitle":"Get the MDX template","icon":"magnifying-glass","href":"/adonisjs/reference/blog-posts/get-blog-mdx-template"},{"title":"Check a document before importing it","sidebarTitle":"Check a document before importing it","icon":"bolt","href":"/adonisjs/reference/blog-posts/validate-blog-import"},{"title":"Import a post from Markdown or MDX","sidebarTitle":"Import a post from Markdown or MDX","icon":"bolt","href":"/adonisjs/reference/blog-posts/import-blog-post"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish a blog post","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/blog-posts/publish-blog"},{"title":"Unpublish a blog post","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/blog-posts/unpublish-blog"},{"title":"Submit a blog post for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/blog-posts/submit-blog"},{"title":"Dismiss a blog post’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/blog-posts/dismiss-blog-submission"},{"title":"Discard a blog post’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/blog-posts/revert-blog-draft-to-published"},{"title":"Restore a blog post’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/blog-posts/revert-blog-published-to-previous"},{"title":"Share a blog post’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/blog-posts/share-blog"},{"title":"Copy a blog post to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/blog-posts/localize-blog"},{"title":"List a blog post’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/blog-posts/get-blog-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish blog posts","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/blog-posts/publish-blogs"},{"title":"Archive blog posts","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/blog-posts/archive-blogs"},{"title":"Restore blog posts","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/blog-posts/restore-blogs"},{"title":"Copy blog posts to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/blog-posts/localize-blogs"}]}]},{"group":"Blog Categories","icon":"folder-tree","pages":[{"title":"List blog categories","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/blog-categories/list-blog-categories"},{"title":"Get a blog category","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/blog-categories/get-blog-category"},{"title":"Create a blog category","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/blog-categories/create-blog-category"},{"title":"Update a blog category","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/blog-categories/update-blog-category"},{"title":"Replace a blog category","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/blog-categories/replace-blog-category"},{"title":"Delete a blog category","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/blog-categories/delete-blog-category"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish a blog category","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/blog-categories/publish-blog-category"},{"title":"Unpublish a blog category","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/blog-categories/unpublish-blog-category"},{"title":"Submit a blog category for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/blog-categories/submit-blog-category"},{"title":"Dismiss a blog category’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/blog-categories/dismiss-blog-category-submission"},{"title":"Discard a blog category’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/blog-categories/revert-blog-category-draft-to-published"},{"title":"Restore a blog category’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/blog-categories/revert-blog-category-published-to-previous"},{"title":"Share a blog category’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/blog-categories/share-blog-category"},{"title":"Copy a blog category to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/blog-categories/localize-blog-category"},{"title":"List a blog category’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/blog-categories/get-blog-category-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish blog categories","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/blog-categories/publish-blog-categories"},{"title":"Archive blog categories","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/blog-categories/archive-blog-categories"},{"title":"Restore blog categories","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/blog-categories/restore-blog-categories"},{"title":"Copy blog categories to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/blog-categories/localize-blog-categories"}]}]},{"group":"Authors","icon":"pen-nib","pages":[{"title":"List authors","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/authors/list-authors"},{"title":"Get an author","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/authors/get-author"},{"title":"Create an author","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/authors/create-author"},{"title":"Update an author","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/authors/update-author"},{"title":"Replace an author","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/authors/replace-author"},{"title":"Delete an author","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/authors/delete-author"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish an author","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/authors/publish-author"},{"title":"Unpublish an author","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/authors/unpublish-author"},{"title":"Submit an author for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/authors/submit-author"},{"title":"Dismiss an author’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/authors/dismiss-author-submission"},{"title":"Discard an author’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/authors/revert-author-draft-to-published"},{"title":"Restore an author’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/authors/revert-author-published-to-previous"},{"title":"Share an author’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/authors/share-author"},{"title":"Copy an author to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/authors/localize-author"},{"title":"List an author’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/authors/get-author-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish authors","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/authors/publish-authors"},{"title":"Archive authors","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/authors/archive-authors"},{"title":"Restore authors","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/authors/restore-authors"},{"title":"Copy authors to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/authors/localize-authors"}]}]},{"group":"Team Members","icon":"user-group","pages":[{"title":"List team members","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/team-members/list-team-members"},{"title":"Get a team member","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/team-members/get-team-member"},{"title":"Create a team member","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/team-members/create-team-member"},{"title":"Update a team member","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/team-members/update-team-member"},{"title":"Replace a team member","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/team-members/replace-team-member"},{"title":"Delete a team member","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/team-members/delete-team-member"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish a team member","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/team-members/publish-team-member"},{"title":"Unpublish a team member","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/team-members/unpublish-team-member"},{"title":"Submit a team member for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/team-members/submit-team-member"},{"title":"Dismiss a team member’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/team-members/dismiss-team-member-submission"},{"title":"Discard a team member’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/team-members/revert-team-member-draft-to-published"},{"title":"Restore a team member’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/team-members/revert-team-member-published-to-previous"},{"title":"Share a team member’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/team-members/share-team-member"},{"title":"Copy a team member to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/team-members/localize-team-member"},{"title":"List a team member’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/team-members/get-team-member-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish team members","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/team-members/publish-team-members"},{"title":"Archive team members","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/team-members/archive-team-members"},{"title":"Restore team members","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/team-members/restore-team-members"},{"title":"Copy team members to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/team-members/localize-team-members"}]}]},{"group":"Testimonials","icon":"quote-left","pages":[{"title":"List testimonials","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/testimonials/list-testimonials"},{"title":"Get a testimonial","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/testimonials/get-testimonial"},{"title":"Create a testimonial","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/testimonials/create-testimonial"},{"title":"Update a testimonial","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/testimonials/update-testimonial"},{"title":"Replace a testimonial","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/testimonials/replace-testimonial"},{"title":"Delete a testimonial","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/testimonials/delete-testimonial"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish a testimonial","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/testimonials/publish-testimonial"},{"title":"Unpublish a testimonial","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/testimonials/unpublish-testimonial"},{"title":"Submit a testimonial for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/testimonials/submit-testimonial"},{"title":"Dismiss a testimonial’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/testimonials/dismiss-testimonial-submission"},{"title":"Discard a testimonial’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/testimonials/revert-testimonial-draft-to-published"},{"title":"Restore a testimonial’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/testimonials/revert-testimonial-published-to-previous"},{"title":"Share a testimonial’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/testimonials/share-testimonial"},{"title":"Copy a testimonial to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/testimonials/localize-testimonial"},{"title":"List a testimonial’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/testimonials/get-testimonial-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish testimonials","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/testimonials/publish-testimonials"},{"title":"Archive testimonials","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/testimonials/archive-testimonials"},{"title":"Restore testimonials","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/testimonials/restore-testimonials"},{"title":"Copy testimonials to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/testimonials/localize-testimonials"}]}]},{"group":"FAQ Items","icon":"circle-question","pages":[{"title":"List FAQ items","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/faq-items/list-faq-items"},{"title":"Get an FAQ item","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/faq-items/get-faq-item"},{"title":"Create an FAQ item","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/faq-items/create-faq-item"},{"title":"Update an FAQ item","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/faq-items/update-faq-item"},{"title":"Replace an FAQ item","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/faq-items/replace-faq-item"},{"title":"Delete an FAQ item","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/faq-items/delete-faq-item"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish an FAQ item","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/faq-items/publish-faq-item"},{"title":"Unpublish an FAQ item","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/faq-items/unpublish-faq-item"},{"title":"Submit an FAQ item for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/faq-items/submit-faq-item"},{"title":"Dismiss an FAQ item’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/faq-items/dismiss-faq-item-submission"},{"title":"Discard an FAQ item’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/faq-items/revert-faq-item-draft-to-published"},{"title":"Restore an FAQ item’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/faq-items/revert-faq-item-published-to-previous"},{"title":"Share an FAQ item’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/faq-items/share-faq-item"},{"title":"Copy an FAQ item to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/faq-items/localize-faq-item"},{"title":"List an FAQ item’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/faq-items/get-faq-item-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish FAQ items","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/faq-items/publish-faq-items"},{"title":"Archive FAQ items","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/faq-items/archive-faq-items"},{"title":"Restore FAQ items","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/faq-items/restore-faq-items"},{"title":"Copy FAQ items to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/faq-items/localize-faq-items"}]}]},{"group":"FAQ Categories","icon":"layer-group","pages":[{"title":"List FAQ categories","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/faq-categories/list-faq-categories"},{"title":"Get an FAQ category","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/faq-categories/get-faq-category"},{"title":"Create an FAQ category","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/faq-categories/create-faq-category"},{"title":"Update an FAQ category","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/faq-categories/update-faq-category"},{"title":"Replace an FAQ category","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/faq-categories/replace-faq-category"},{"title":"Delete an FAQ category","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/faq-categories/delete-faq-category"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish an FAQ category","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/faq-categories/publish-faq-category"},{"title":"Unpublish an FAQ category","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/faq-categories/unpublish-faq-category"},{"title":"Submit an FAQ category for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/faq-categories/submit-faq-category"},{"title":"Dismiss an FAQ category’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/faq-categories/dismiss-faq-category-submission"},{"title":"Discard an FAQ category’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/faq-categories/revert-faq-category-draft-to-published"},{"title":"Restore an FAQ category’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/faq-categories/revert-faq-category-published-to-previous"},{"title":"Share an FAQ category’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/faq-categories/share-faq-category"},{"title":"Copy an FAQ category to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/faq-categories/localize-faq-category"},{"title":"List an FAQ category’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/faq-categories/get-faq-category-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish FAQ categories","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/faq-categories/publish-faq-categories"},{"title":"Archive FAQ categories","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/faq-categories/archive-faq-categories"},{"title":"Restore FAQ categories","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/faq-categories/restore-faq-categories"},{"title":"Copy FAQ categories to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/faq-categories/localize-faq-categories"}]}]},{"group":"Google Reviews","icon":"star","pages":[{"title":"List Google reviews","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/google-reviews/list-google-reviews"},{"title":"Get a Google review","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/google-reviews/get-google-review"},{"title":"Create a Google review","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/google-reviews/create-google-review"},{"title":"Update a Google review","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/google-reviews/update-google-review"},{"title":"Replace a Google review","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/google-reviews/replace-google-review"},{"title":"Delete a Google review","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/google-reviews/delete-google-review"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish a Google review","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/google-reviews/publish-google-review"},{"title":"Unpublish a Google review","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/google-reviews/unpublish-google-review"},{"title":"Submit a Google review for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/google-reviews/submit-google-review"},{"title":"Dismiss a Google review’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/google-reviews/dismiss-google-review-submission"},{"title":"Discard a Google review’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/google-reviews/revert-google-review-draft-to-published"},{"title":"Restore a Google review’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/google-reviews/revert-google-review-published-to-previous"},{"title":"Share a Google review’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/google-reviews/share-google-review"},{"title":"Copy a Google review to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/google-reviews/localize-google-review"},{"title":"List a Google review’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/google-reviews/get-google-review-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish Google reviews","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/google-reviews/publish-google-reviews"},{"title":"Archive Google reviews","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/google-reviews/archive-google-reviews"},{"title":"Restore Google reviews","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/google-reviews/restore-google-reviews"},{"title":"Copy Google reviews to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/google-reviews/localize-google-reviews"}]}]},{"group":"Instagram Posts","icon":"instagram","pages":[{"title":"List Instagram posts","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/instagram-posts/list-instagram-posts"},{"title":"Get an Instagram post","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/instagram-posts/get-instagram-post"},{"title":"Create an Instagram post","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/instagram-posts/create-instagram-post"},{"title":"Update an Instagram post","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/instagram-posts/update-instagram-post"},{"title":"Replace an Instagram post","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/instagram-posts/replace-instagram-post"},{"title":"Delete an Instagram post","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/instagram-posts/delete-instagram-post"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish an Instagram post","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/instagram-posts/publish-instagram-post"},{"title":"Unpublish an Instagram post","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/instagram-posts/unpublish-instagram-post"},{"title":"Submit an Instagram post for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/instagram-posts/submit-instagram-post"},{"title":"Dismiss an Instagram post’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/instagram-posts/dismiss-instagram-post-submission"},{"title":"Discard an Instagram post’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/instagram-posts/revert-instagram-post-draft-to-published"},{"title":"Restore an Instagram post’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/instagram-posts/revert-instagram-post-published-to-previous"},{"title":"Share an Instagram post’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/instagram-posts/share-instagram-post"},{"title":"Copy an Instagram post to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/instagram-posts/localize-instagram-post"},{"title":"List an Instagram post’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/instagram-posts/get-instagram-post-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish Instagram posts","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/instagram-posts/publish-instagram-posts"},{"title":"Archive Instagram posts","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/instagram-posts/archive-instagram-posts"},{"title":"Restore Instagram posts","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/instagram-posts/restore-instagram-posts"},{"title":"Copy Instagram posts to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/instagram-posts/localize-instagram-posts"}]}]},{"group":"Service Areas","icon":"map-location-dot","pages":[{"title":"List service areas","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/service-areas/list-service-areas"},{"title":"Get a service area","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/service-areas/get-service-area"},{"title":"Create a service area","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/service-areas/create-service-area"},{"title":"Update a service area","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/service-areas/update-service-area"},{"title":"Replace a service area","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/service-areas/replace-service-area"},{"title":"Delete a service area","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/service-areas/delete-service-area"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish a service area","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/service-areas/publish-service-area"},{"title":"Unpublish a service area","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/service-areas/unpublish-service-area"},{"title":"Submit a service area for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/service-areas/submit-service-area"},{"title":"Dismiss a service area’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/service-areas/dismiss-service-area-submission"},{"title":"Discard a service area’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/service-areas/revert-service-area-draft-to-published"},{"title":"Restore a service area’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/service-areas/revert-service-area-published-to-previous"},{"title":"Share a service area’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/service-areas/share-service-area"},{"title":"Copy a service area to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/service-areas/localize-service-area"},{"title":"List a service area’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/service-areas/get-service-area-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish service areas","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/service-areas/publish-service-areas"},{"title":"Archive service areas","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/service-areas/archive-service-areas"},{"title":"Restore service areas","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/service-areas/restore-service-areas"},{"title":"Copy service areas to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/service-areas/localize-service-areas"}]}]},{"group":"Cookies","icon":"cookie-bite","pages":[{"title":"List cookies","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/cookies/list-cookies"},{"title":"Get a cookie","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/cookies/get-cookie"},{"title":"Create a cookie","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/cookies/create-cookie"},{"title":"Update a cookie","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/cookies/update-cookie"},{"title":"Replace a cookie","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/cookies/replace-cookie"},{"title":"Delete a cookie","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/cookies/delete-cookie"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish a cookie","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/cookies/publish-cookie"},{"title":"Unpublish a cookie","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/cookies/unpublish-cookie"},{"title":"Submit a cookie for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/cookies/submit-cookie"},{"title":"Dismiss a cookie’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/cookies/dismiss-cookie-submission"},{"title":"Discard a cookie’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/cookies/revert-cookie-draft-to-published"},{"title":"Restore a cookie’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/cookies/revert-cookie-published-to-previous"},{"title":"Share a cookie’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/cookies/share-cookie"},{"title":"Copy a cookie to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/cookies/localize-cookie"},{"title":"List a cookie’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/cookies/get-cookie-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish cookies","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/cookies/publish-cookies"},{"title":"Archive cookies","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/cookies/archive-cookies"},{"title":"Restore cookies","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/cookies/restore-cookies"},{"title":"Copy cookies to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/cookies/localize-cookies"}]}]}]},{"group":"Media","icon":"photo-film","pages":[{"group":"Media","icon":"photo-film","pages":[{"group":"Images","icon":"image","pages":[{"title":"List images","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/media/list-images"},{"title":"Get an image","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/media/get-image"},{"title":"Create an image","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/media/create-image"},{"title":"Update an image","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/media/update-image"},{"title":"Replace an image","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/media/replace-image"},{"title":"Delete an image","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/media/delete-image"},{"title":"Crop images to a widget’s aspect ratio","sidebarTitle":"Crop images to a widget’s aspect ratio","icon":"bolt","href":"/adonisjs/reference/media/autocrop-images"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish an image","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/media/publish-image"},{"title":"Unpublish an image","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/media/unpublish-image"},{"title":"Submit an image for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/media/submit-image"},{"title":"Dismiss an image’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/media/dismiss-image-submission"},{"title":"Discard an image’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/media/revert-image-draft-to-published"},{"title":"Restore an image’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/media/revert-image-published-to-previous"},{"title":"Share an image’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/media/share-image"},{"title":"Copy an image to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/media/localize-image"},{"title":"List an image’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/media/get-image-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish images","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/media/publish-images"},{"title":"Archive images","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/media/archive-images"},{"title":"Restore images","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/media/restore-images"},{"title":"Copy images to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/media/localize-images"},{"title":"Tag or untag images","sidebarTitle":"Tag many","icon":"tags","href":"/adonisjs/reference/media/tag-images"}]}]},{"group":"Files","icon":"file","pages":[{"title":"List files","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/media/list-files"},{"title":"Get a file","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/media/get-file"},{"title":"Create a file","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/media/create-file"},{"title":"Update a file","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/media/update-file"},{"title":"Replace a file","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/media/replace-file"},{"title":"Delete a file","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/media/delete-file"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish a file","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/media/publish-file"},{"title":"Unpublish a file","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/media/unpublish-file"},{"title":"Submit a file for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/media/submit-file"},{"title":"Dismiss a file’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/media/dismiss-file-submission"},{"title":"Discard a file’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/media/revert-file-draft-to-published"},{"title":"Restore a file’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/media/revert-file-published-to-previous"},{"title":"Share a file’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/media/share-file"},{"title":"Copy a file to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/media/localize-file"},{"title":"List a file’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/media/get-file-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish files","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/media/publish-files"},{"title":"Archive files","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/media/archive-files"},{"title":"Restore files","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/media/restore-files"},{"title":"Copy files to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/media/localize-files"}]}]},{"group":"Image tags","icon":"tag","pages":[{"title":"List image tags","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/media/list-image-tags"},{"title":"Get an image tag","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/media/get-image-tag"},{"title":"Create an image tag","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/media/create-image-tag"},{"title":"Update an image tag","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/media/update-image-tag"},{"title":"Replace an image tag","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/media/replace-image-tag"},{"title":"Delete an image tag","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/media/delete-image-tag"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish an image tag","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/media/publish-image-tag"},{"title":"Unpublish an image tag","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/media/unpublish-image-tag"},{"title":"Submit an image tag for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/media/submit-image-tag"},{"title":"Dismiss an image tag’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/media/dismiss-image-tag-submission"},{"title":"Discard an image tag’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/media/revert-image-tag-draft-to-published"},{"title":"Restore an image tag’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/media/revert-image-tag-published-to-previous"},{"title":"Share an image tag’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/media/share-image-tag"},{"title":"Copy an image tag to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/media/localize-image-tag"},{"title":"List an image tag’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/media/get-image-tag-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish image tags","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/media/publish-image-tags"},{"title":"Archive image tags","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/media/archive-image-tags"},{"title":"Restore image tags","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/media/restore-image-tags"},{"title":"Copy image tags to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/media/localize-image-tags"}]}]},{"group":"File tags","icon":"tags","pages":[{"title":"List file tags","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/media/list-file-tags"},{"title":"Get a file tag","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/media/get-file-tag"},{"title":"Create a file tag","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/media/create-file-tag"},{"title":"Update a file tag","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/media/update-file-tag"},{"title":"Replace a file tag","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/media/replace-file-tag"},{"title":"Delete a file tag","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/media/delete-file-tag"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish a file tag","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/media/publish-file-tag"},{"title":"Unpublish a file tag","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/media/unpublish-file-tag"},{"title":"Submit a file tag for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/media/submit-file-tag"},{"title":"Dismiss a file tag’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/media/dismiss-file-tag-submission"},{"title":"Discard a file tag’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/media/revert-file-tag-draft-to-published"},{"title":"Restore a file tag’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/media/revert-file-tag-published-to-previous"},{"title":"Share a file tag’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/media/share-file-tag"},{"title":"Copy a file tag to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/media/localize-file-tag"},{"title":"List a file tag’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/media/get-file-tag-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish file tags","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/media/publish-file-tags"},{"title":"Archive file tags","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/media/archive-file-tags"},{"title":"Restore file tags","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/media/restore-file-tags"},{"title":"Copy file tags to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/media/localize-file-tags"}]}]}]},{"group":"Videos","icon":"video","pages":[{"title":"List videos","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/videos/list-videos"},{"title":"Get a video","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/videos/get-video"},{"title":"Create a video","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/videos/create-video"},{"title":"Update a video","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/videos/update-video"},{"title":"Replace a video","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/videos/replace-video"},{"title":"Delete a video","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/videos/delete-video"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish a video","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/videos/publish-video"},{"title":"Unpublish a video","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/videos/unpublish-video"},{"title":"Submit a video for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/videos/submit-video"},{"title":"Dismiss a video’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/videos/dismiss-video-submission"},{"title":"Discard a video’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/videos/revert-video-draft-to-published"},{"title":"Restore a video’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/videos/revert-video-published-to-previous"},{"title":"Share a video’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/videos/share-video"},{"title":"Copy a video to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/videos/localize-video"},{"title":"List a video’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/videos/get-video-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish videos","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/videos/publish-videos"},{"title":"Archive videos","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/videos/archive-videos"},{"title":"Restore videos","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/videos/restore-videos"},{"title":"Copy videos to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/videos/localize-videos"}]}]},{"group":"Image Folders","icon":"folder-open","pages":[{"title":"List image folders","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/image-folders/list-image-folders"},{"title":"Get an image folder","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/image-folders/get-image-folder"},{"title":"Create an image folder","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/image-folders/create-image-folder"},{"title":"Update an image folder","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/image-folders/update-image-folder"},{"title":"Replace an image folder","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/image-folders/replace-image-folder"},{"title":"Delete an image folder","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/image-folders/delete-image-folder"},{"title":"Get the image folder tree","sidebarTitle":"Get the image folder tree","icon":"magnifying-glass","href":"/adonisjs/reference/image-folders/get-image-folder-tree"},{"title":"List a folder’s photos","sidebarTitle":"List a folder’s photos","icon":"magnifying-glass","href":"/adonisjs/reference/image-folders/list-image-folder-photos"},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Archive image folders","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/image-folders/archive-image-folders"},{"title":"Restore image folders","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/image-folders/restore-image-folders"}]}]},{"group":"File Folders","icon":"folder","pages":[{"title":"List file folders","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/file-folders/list-file-folders"},{"title":"Get a file folder","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/file-folders/get-file-folder"},{"title":"Create a file folder","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/file-folders/create-file-folder"},{"title":"Update a file folder","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/file-folders/update-file-folder"},{"title":"Replace a file folder","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/file-folders/replace-file-folder"},{"title":"Delete a file folder","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/file-folders/delete-file-folder"},{"title":"Get the file folder tree","sidebarTitle":"Get the file folder tree","icon":"magnifying-glass","href":"/adonisjs/reference/file-folders/get-file-folder-tree"},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Archive file folders","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/file-folders/archive-file-folders"},{"title":"Restore file folders","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/file-folders/restore-file-folders"}]}]},{"group":"Video Folders","icon":"folder-closed","pages":[{"title":"List video folders","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/video-folders/list-video-folders"},{"title":"Get a video folder","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/video-folders/get-video-folder"},{"title":"Create a video folder","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/video-folders/create-video-folder"},{"title":"Update a video folder","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/video-folders/update-video-folder"},{"title":"Replace a video folder","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/video-folders/replace-video-folder"},{"title":"Delete a video folder","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/video-folders/delete-video-folder"},{"title":"Get the video folder tree","sidebarTitle":"Get the video folder tree","icon":"magnifying-glass","href":"/adonisjs/reference/video-folders/get-video-folder-tree"},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Archive video folders","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/video-folders/archive-video-folders"},{"title":"Restore video folders","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/video-folders/restore-video-folders"}]}]},{"group":"Photo Albums","icon":"images","pages":[{"title":"List photo albums","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/photo-albums/list-photo-albums"},{"title":"Get a photo album","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/photo-albums/get-photo-album"},{"title":"Create a photo album","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/photo-albums/create-photo-album"},{"title":"Update a photo album","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/photo-albums/update-photo-album"},{"title":"Replace a photo album","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/photo-albums/replace-photo-album"},{"title":"Delete a photo album","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/photo-albums/delete-photo-album"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish a photo album","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/photo-albums/publish-photo-album"},{"title":"Unpublish a photo album","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/photo-albums/unpublish-photo-album"},{"title":"Submit a photo album for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/photo-albums/submit-photo-album"},{"title":"Dismiss a photo album’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/photo-albums/dismiss-photo-album-submission"},{"title":"Discard a photo album’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/photo-albums/revert-photo-album-draft-to-published"},{"title":"Restore a photo album’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/photo-albums/revert-photo-album-published-to-previous"},{"title":"Share a photo album’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/photo-albums/share-photo-album"},{"title":"Copy a photo album to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/photo-albums/localize-photo-album"},{"title":"List a photo album’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/photo-albums/get-photo-album-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish photo albums","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/photo-albums/publish-photo-albums"},{"title":"Archive photo albums","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/photo-albums/archive-photo-albums"},{"title":"Restore photo albums","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/photo-albums/restore-photo-albums"},{"title":"Copy photo albums to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/photo-albums/localize-photo-albums"}]}]},{"group":"Photo Feeds","icon":"rss","pages":[{"title":"List photo feeds","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/photo-feeds/list-photo-feeds"},{"title":"Get a photo feed","sidebarTitle":"Get","icon":"eye","href":"/adonisjs/reference/photo-feeds/get-photo-feed"},{"title":"Create a photo feed","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/photo-feeds/create-photo-feed"},{"title":"Update a photo feed","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/photo-feeds/update-photo-feed"},{"title":"Replace a photo feed","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/photo-feeds/replace-photo-feed"},{"title":"Delete a photo feed","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/photo-feeds/delete-photo-feed"},{"title":"List a feed’s photos","sidebarTitle":"List a feed’s photos","icon":"magnifying-glass","href":"/adonisjs/reference/photo-feeds/list-photo-feed-photos"},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Archive photo feeds","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/photo-feeds/archive-photo-feeds"},{"title":"Restore photo feeds","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/photo-feeds/restore-photo-feeds"}]}]},{"group":"Attachments","icon":"paperclip","pages":[{"title":"Upload media file","sidebarTitle":"Upload media file","icon":"bolt","href":"/adonisjs/reference/attachments/upload-attachment"},{"title":"Crop image attachment","sidebarTitle":"Crop image attachment","icon":"bolt","href":"/adonisjs/reference/attachments/crop-attachment"}]},{"group":"Fetchski Media","icon":"image","pages":[{"title":"List images","sidebarTitle":"List images","icon":"magnifying-glass","href":"/adonisjs/reference/fetchski-media/list-media-images"},{"title":"List videos","sidebarTitle":"List videos","icon":"magnifying-glass","href":"/adonisjs/reference/fetchski-media/list-media-videos"},{"title":"Get one image","sidebarTitle":"Get one image","icon":"magnifying-glass","href":"/adonisjs/reference/fetchski-media/get-media-image"},{"title":"Get one video","sidebarTitle":"Get one video","description":"One video by its ID, slug or exact title.","icon":"magnifying-glass","href":"/adonisjs/reference/fetchski-media/get-media-video"}]}]},{"group":"Forms","icon":"clipboard-list","pages":[{"group":"Forms","icon":"clipboard-list","pages":[{"title":"List forms","sidebarTitle":"List","icon":"list","href":"/adonisjs/reference/forms/list-forms"},{"title":"Get a form","sidebarTitle":"Get","description":"Retrieve a specific form by ID.","icon":"eye","href":"/adonisjs/reference/forms/get-form"},{"title":"Create a form","sidebarTitle":"Create","icon":"plus","href":"/adonisjs/reference/forms/create-form"},{"title":"Update a form","sidebarTitle":"Update","icon":"pen","href":"/adonisjs/reference/forms/update-form"},{"title":"Replace a form","sidebarTitle":"Replace","icon":"arrows-rotate","href":"/adonisjs/reference/forms/replace-form"},{"title":"Delete a form","sidebarTitle":"Delete","icon":"trash","href":"/adonisjs/reference/forms/delete-form"},{"group":"Publishing","icon":"paper-plane","pages":[{"title":"Publish a form","sidebarTitle":"Publish","icon":"paper-plane","href":"/adonisjs/reference/forms/publish-form"},{"title":"Unpublish a form","sidebarTitle":"Unpublish","icon":"eye-slash","href":"/adonisjs/reference/forms/unpublish-form"},{"title":"Submit a form for review","sidebarTitle":"Submit for review","icon":"clipboard-check","href":"/adonisjs/reference/forms/submit-form"},{"title":"Dismiss a form’s review submission","sidebarTitle":"Dismiss a submission","icon":"xmark","href":"/adonisjs/reference/forms/dismiss-form-submission"},{"title":"Discard a form’s draft changes","sidebarTitle":"Discard draft changes","icon":"rotate-left","href":"/adonisjs/reference/forms/revert-form-draft-to-published"},{"title":"Restore a form’s previous publish","sidebarTitle":"Restore previous publish","icon":"clock-rotate-left","href":"/adonisjs/reference/forms/revert-form-published-to-previous"},{"title":"Share a form’s draft","sidebarTitle":"Share the draft","icon":"share-nodes","href":"/adonisjs/reference/forms/share-form"},{"title":"Copy a form to another locale","sidebarTitle":"Copy to a locale","icon":"language","href":"/adonisjs/reference/forms/localize-form"},{"title":"List a form’s locales","sidebarTitle":"List locales","icon":"globe","href":"/adonisjs/reference/forms/get-form-locales"}]},{"group":"Batch jobs","icon":"layer-group","pages":[{"title":"Publish forms","sidebarTitle":"Publish many","icon":"paper-plane","href":"/adonisjs/reference/forms/publish-forms"},{"title":"Archive forms","sidebarTitle":"Archive many","icon":"box-archive","href":"/adonisjs/reference/forms/archive-forms"},{"title":"Restore forms","sidebarTitle":"Restore many","icon":"box-open","href":"/adonisjs/reference/forms/restore-forms"},{"title":"Copy forms to another locale","sidebarTitle":"Copy many to a locale","icon":"language","href":"/adonisjs/reference/forms/localize-forms"}]}]},{"group":"Form Submissions","icon":"inbox","pages":[{"title":"List forms and their submission counts","sidebarTitle":"List forms and their submission counts","icon":"magnifying-glass","href":"/adonisjs/reference/form-submissions/list-submission-forms"},{"title":"List a form’s submissions","sidebarTitle":"List a form’s submissions","icon":"magnifying-glass","href":"/adonisjs/reference/form-submissions/list-form-submissions"},{"title":"Export a form’s submissions as CSV","sidebarTitle":"Export a form’s submissions as CSV","icon":"magnifying-glass","href":"/adonisjs/reference/form-submissions/export-form-submissions"}]}]},{"group":"Ads \u0026 Conversions","icon":"chart-line","pages":[{"group":"Conversion Events","icon":"bolt","pages":[{"title":"List conversion events (incremental sync)","sidebarTitle":"List conversion events (incremental sync)","icon":"magnifying-glass","href":"/adonisjs/reference/conversion-events/list-conversion-events"},{"title":"Get one conversion event","sidebarTitle":"Get one conversion event","icon":"magnifying-glass","href":"/adonisjs/reference/conversion-events/get-conversion-event"},{"title":"Post a conversion another system saw","sidebarTitle":"Post a conversion another system saw","icon":"bolt","href":"/adonisjs/reference/conversion-events/create-external-conversion-event"},{"title":"Retract or restate a conversion event","sidebarTitle":"Retract or restate a conversion event","icon":"bolt","href":"/adonisjs/reference/conversion-events/adjust-conversion-event"}]},{"group":"Visitor Attribution","icon":"route","pages":[{"title":"Find visitors by an identifier","sidebarTitle":"Find visitors by an identifier","icon":"magnifying-glass","href":"/adonisjs/reference/visitor-attribution/find-visitor-attributions"},{"title":"Get one visitor’s attribution","sidebarTitle":"Get one visitor’s attribution","icon":"magnifying-glass","href":"/adonisjs/reference/visitor-attribution/get-visitor-attribution"}]},{"group":"Ads Metrics","icon":"chart-column","pages":[{"title":"Ad-click landings and conversions, aggregated","sidebarTitle":"Ad-click landings and conversions, aggregated","icon":"magnifying-glass","href":"/adonisjs/reference/ads-metrics/get-ads-metrics"}]},{"group":"Conversions","icon":"bullseye","pages":[{"title":"Conversions the page can fire (public)","sidebarTitle":"Conversions the page can fire (public)","icon":"magnifying-glass","href":"/adonisjs/reference/conversions/list-active-conversions"},{"title":"List the enabled Conversions","sidebarTitle":"List the enabled Conversions","icon":"magnifying-glass","href":"/adonisjs/reference/conversions/list-conversion-definitions"}]}]},{"group":"Analytics","icon":"chart-simple","pages":[{"title":"List captured page views","sidebarTitle":"List captured page views","icon":"magnifying-glass","href":"/adonisjs/reference/request-log/list-request-log-entries"},{"title":"List captured query parameters","sidebarTitle":"List captured query parameters","icon":"magnifying-glass","href":"/adonisjs/reference/request-log/list-request-log-params"}]}]},{"tab":"API reference","icon":"code","pages":[{"title":"API reference","href":"/quickstart"}]}]},"basePath":"","title":"List forms - Fetchski Attract Docs","buildId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","deploymentId":"dpl_5joLUXmnJgwqjrHAS4dxZrQTdxgh","dynamics":["2b790eda92"],"chunks":["ApiExamples-CjwVt80x.js","utils-DyjUHyLo.js","_Uint8Array-BVIqJ90l.js","isObjectLike-C8vmzPEN.js","isArray-Dcu1dQ5t.js","cloneDeep-izs3Hzxb.js","utils-BWYE1cdS.js","toString-BX-iyh8G.js","isSymbol-CSH9U2Gm.js","isEqual-BfaiBbcl.js","usePlaygroundInputsStore-ByHQMk7z.js","shallow-CaZuw1AO.js","snippetPresets-DNiD_S52.js","style-to-object-BY3JEAdk.js","v4-DIgz8zy6.js","getApiPlaygroundDisplay-DPVPOknm.js","CodeSnippet-B31CH-Mp.js","CodeSnippets-BxTYZWz6.js"]}