Business Dash SDK
The SDK has a very robust set of features that it supports 1 (read) and 2 way data sync (crud - RBAC permissions base)
Here's the current set of features it supports:
SDK Feature Map
Core
- Client init — createBiabClient(), createBiabDevClient(), introspect()
- Site-scoped client — client.site(siteId) → collections, rows, assets, actions, followers, marketing, parallel pages, branding Marketing & Content
- Schema-driven marketing (0.8) — defineSiteMarketingSchema(), section(), getPageBundle(), CLI sync-schema/sync-content
- Marketing pages (legacy 0.7) — site.marketingPages.get(), .list(), .prefetch()
- React marketing hooks — useMarketingPageBundle(), useMarketingSection(), useMarketingPageSeo(), useMarketingLocales(), usePublishedMarketingSchema(), useMarketingBundlePreloader()
SEO & Structured Data
- JSON-LD builders — biabSchemas.localBusiness(), .organization(), .website(), .service(), .faq(), .breadcrumb(), .article(), .review(), .productOffer()
- Render helpers — renderJsonLdNodes(), renderJsonLdToHtml()
- Social profiles — resolveSocialProfiles(),
<SocialLinks> - Parallel pages (programmatic SEO) — defineParallelPage(), client.site().parallelPages.listVariants(), .render(), sitemapUrl
Storefront / E-commerce
- Products — client.storefront.listProducts(), .listProductsWithMeta(), .listCategories(), .getProduct(), .getProductReviews(), .getRelatedProducts(), .getProductAddons()
- Cart — client.cart.get(), .addItem(), .updateItem(), .removeItem(), .applyCoupon(), .removeCoupon(), .clear()
- Checkout — client.checkout.createSession(), .start(), .getStatus()
- Coupons — client.coupons.validate()
- Subscriptions — client.subscriptions.list(), .get(), .startCheckout()
- Shipping — client.shipping.getRates(), .track(), .settings()
- Address autocomplete — client.address.search(), .getDetails(), .verify()
- React embed components —
<Storefront>,<Cart>,<Checkout>,<CheckoutResult>
Blog
- Blog API — client.blog.listPosts(), .getPost(), .listCategories(), .listTags(), .listComments(), .postComment(), .likeStatus(), .toggleLike()
Reviews
- Reviews wall — client.reviews.list()
Chatbot
- Chatbot API — client.chatbot.chat(), .getConfig(), .getAvailability(), .getForm(), .submitForm(), .requestHuman(), .createPersistedSession(), .pollMessages()
- Chatbot React —
<ChatbotInline>,<Chatbot>, useChatbot(), file uploads, email capture
Forms
- Forms API — biab.forms.schema(), .submit(), .uploadFile(), .scheduleSlots(), validateFormSubmission()
- Form components —
<BiabForm>,<BiabFormProvider>, useBiabFormsClient()
Tenant Auth
- Auth handler — createAuthHandler() (Next, Astro, Remix, SvelteKit, etc.)
- Session — getTenantSession(), useUser(),
<SignIn>,<SignUp>,<SignOut> - Programmatic auth — signIn(), signUp(), signOut(), requestPasswordReset()
Customer Portal
- Portal client — client.customerPortal().context(), .getProfile(), .updateProfile(), .getWork(), .getJob(), .getQuote(), .acceptQuote(), .rejectQuote()
- Portal contracts/invoices — .getContract(), .signContract(), .listInvoices(), .payInvoice()
- Portal jobs — .getJobComments(), .postJobComment(), .getJobActivity(), .getJobEta(), .contactCompany()
Collections / Data Layer
- Collections — site.collections.list(), .create(), .get()
- Rows — site.rows.list(), .upsert(), .query()
- Assets — site.assets.create()
- Actions — site.actions.run()
Followers / Subscribers
- Followers API — site.followers.join(), .me(), .edit(), .leave()
- React followers — useFollowers() (publishable token, browser-safe)
Analytics
- Analytics — @biab-dev/sdk/react-analytics, @biab-dev/sdk/analytics-core
Revalidation
- Revalidation webhook — @biab-dev/sdk/next/revalidate, @biab-dev/sdk/adapters/revalidate
Notifications & Verification
- Notification preferences — client.notifications.getPreferences(), .updatePreferences(), .startVerification(), .confirmVerification()
- Verification React components —
<VerifyEmailFlow>,<VerifyEmailConfirm>,<VerifyPhoneFlow>
Embed Dashboard
- Dashboard embed —
<Dashboard>,<DashboardProvider>, useDashboardSession()
Email Templates
- Email templates — client.emailTemplates.list(), .get(), .create(), .createVersion()
Framework Bindings
Vanilla JS — @biab-dev/sdk/vanilla (mountBiabForm) Web component — @biab-dev/sdk/element Vue — @biab-dev/sdk/vue Svelte — @biab-dev/sdk/svelte Solid — @biab-dev/sdk/solid Qwik — @biab-dev/sdk/qwik Angular — @biab-dev/sdk/angular React — @biab-dev/sdk/react (all hooks + components)
CLI & Config
CLI — biab-dev sync-schema, sync-content, print-schema Reserved paths — isReservedPagePath(), RESERVED_PAGE_PATHS