Repository navigation
Document Connectors - #129
Conversation
Add the Connectors guide at /docs/connectors, marked Private Beta. It covers declaring roles in spacefast.config.ts or sf.jsonc, the team, personal and visitor roles, calling them with @spacefast/client (core, React, no-build), sf client, the response states, pinned arguments, shared reads, site-serving requests, dashboard overrides, Functions, createConnectorRun, and First. Link it from the API overview, Functions, and the sf.jsonc reference.
|
All clear! No issues remaining. 🎉 3 issues already resolved
All required CI checks passed on
Select any unchecked box below to run or rerun that agent. Full resultsIndent Review Agent
|
|
Warning Review limit reachedYour organization has reached its usage spending cap. Adjust your spending cap in the billing tab. Next included review available in 14 minutes. View limit details
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
… cachedAt Other sites' pages can't call the route with a viewer's cookies; a request without fetch metadata still passes the Space's access check. Visitor roles need a connector with OAuth sign-in. cachedAt appears only on answers served from the shared value. Tool names on the page are examples.
Adds the public guide for Connectors at
/docs/connectors, marked Private Beta. Theconnectorsfeature flag's docs entry points to this page.What's on the page
spacefast.config.tsandsf.jsonc: keys, defaults, and limits.team,personal,visitor): who reads and who writes through each, sign-in for writes, public Spaces and public serving, and share links.@spacefast/client(core, ReactuseConnector, and the no-build/__spacefast/client.js), plus plainfetch.sf client, and howsf devandsf publishregeneratespacefast.generated.ts.config.connectorsonupdateSpace).env.CONNECTORSin Functions,createConnectorRunfor callers off the Space, and First.It also links the page from the API overview's connectors paragraph, from Functions'
envsection, and from a newconnectorsrow in thesf.jsoncreference.Notes for review
spacefast@0.9.0):client,connectors bind/bindings,connectors serving create/list/approve/deny,connectors public-serving set,connectors connections connect/update,connectors create, andconnectors run. The committed CLI reference snapshot is older (0.8.1) and doesn't list some of them yet. It updates on the next generated-reference export.sidebar.badgein the frontmatter, plus a<Badge>at the top of the page. Both read exactly "Private Beta".Checks run locally
build,check,validate,audit,verify:generated,verify:commands,verify:routes,verify:prose(clean),verify:public-safety,test:docs(37/37), andtest:llms(11/11) all pass. The build usedSPACEFAST_PRICING_FIXTURE.Summary by CodeRabbit