Title: feat(accounts): multi-tenancy support (accounts module + dynamic active-account header) by felixkob · Pull Request #178 · base44/javascript-sdk · GitHub
Open Graph Title: feat(accounts): multi-tenancy support (accounts module + dynamic active-account header) by felixkob · Pull Request #178 · base44/javascript-sdk
X Title: feat(accounts): multi-tenancy support (accounts module + dynamic active-account header) by felixkob · Pull Request #178 · base44/javascript-sdk
Description: Summary
Adds first-class multi-tenancy ("Accounts") support to the SDK, paired with the platform's per-app Accounts feature.
base44.accounts module — manage accounts from inside an app:
getActiveAccountId(), switchAccount(accountId, subPath?)
listMine(), create({ name, data? }), update(accountId, { name?, data? })
Members: listMembers, invite, acceptInvite, changeMemberRole, removeMember, transferOwnership
billing.listPlans(accountId), billing.startCheckout(accountId, { plan_id, success_url, cancel_url })
Maps to the backend /api/apps/{appId}/accounts/... runtime routes.
Dynamic X-Active-Account-Id header — set per request from the URL path (/
Open Graph Description: Summary Adds first-class multi-tenancy ("Accounts") support to the SDK, paired with the platform's per-app Accounts feature. base44.accounts module — manage accounts from inside an a...
X Description: Summary Adds first-class multi-tenancy ("Accounts") support to the SDK, paired with the platform's per-app Accounts feature. base44.accounts module — manage accounts from...
Opengraph URL: https://github.com/base44/javascript-sdk/pull/178
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:eb3a61d9-a49a-d66c-67d1-97d6932d6b38 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A3EE:2C345B:9D01F6:D19E64:6A4C4A11 |
| html-safe-nonce | ac0d971006e11bc303da71fb9eb8d4995400f489c3769258584d352b93f2adb8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBM0VFOjJDMzQ1Qjo5RDAxRjY6RDE5RTY0OjZBNEM0QTExIiwidmlzaXRvcl9pZCI6IjYxNTYzNzI5NTM4MzczNTc1ODYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6836aa054f4d317265f10c2c1e3d4f88210235706b75498019aa0ccde66c9c41 |
| hovercard-subject-tag | pull_request:3798350731 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/base44/javascript-sdk/pull/178/files |
| twitter:image | https://avatars.githubusercontent.com/u/65158729?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/65158729?s=400&v=4 |
| og:image:alt | Summary Adds first-class multi-tenancy ("Accounts") support to the SDK, paired with the platform's per-app Accounts feature. base44.accounts module — manage accounts from inside an a... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 3d11bb817438277de2a940854450e83a7d32b6aeb5014e9e6b00a6423900251c |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/base44/javascript-sdk git https://github.com/base44/javascript-sdk.git |
| octolytics-dimension-user_id | 234699998 |
| octolytics-dimension-user_login | base44 |
| octolytics-dimension-repository_id | 939374418 |
| octolytics-dimension-repository_nwo | base44/javascript-sdk |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 939374418 |
| octolytics-dimension-repository_network_root_nwo | base44/javascript-sdk |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 65d78903193f110d7a9d1f8587c6dc3cb911aae0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width