flutterflow_cloud_admin 0.4.0
flutterflow_cloud_admin: ^0.4.0 copied to clipboard
The FlutterFlow Cloud admin SDK for Dart — project provisioning, membership and invitations, config draft/publish/promote, audit reads, and usage reads against the FlutterFlow Cloud control plane.
Changelog #
0.4.0 #
- Add the generated Functions control plane: builds, releases, rollouts, workspace and deployed diagnostics, and server secret metadata and grants.
- Update generated operations and wire models to the current platform contract, including typed project overviews, thread operations and agent delegations.
0.3.0 #
Full admin-plane coverage. Breaking release: several PoC return shapes were upgraded to the typed wire records.
- Breaking: the package was renamed from
ffx_admintoflutterflow_cloud_admin; importpackage:flutterflow_cloud_admin/flutterflow_cloud_admin.dart(class names such asFFXAdminare unchanged). - Membership and invitations:
listProjectMembers,setProjectMemberRole,removeProjectMember,createInvite,listInvites(with theInviteStateFilter),revokeInvite, andacceptInvite(customer sessions only). - Audit:
auditLog(projectId, startTime:, endTime:, limit:, pageToken:)— the time-bounded audit query (its page-size parameter islimiton the wire). - Config:
updateConfigDraftSectionreplaces a single section. - Auth: top-level
registerAdminAccount(...)(registration precedes client construction),FFXAdmin.jwks()(unauthenticated), andFFXAdmin.exchangeAdminToken(...)for admin-key clients. - Breaking return-type upgrades:
replaceConfigDraft→ConfigDraftUpdated,publishConfigVersion→ConfigVersion,promoteEnvironment→EnvironmentPromotion,deleteRepositoryBranch→RepositoryBranchDeleted,revokeRepositoryToken→RepositoryTokenRevoked. - Breaking:
listApiKeysnow returns anFFXAdminApiKeyPage(keys+nextPageToken) and acceptspageSize/pageToken;listRepositoryTokens'sstateis a typedRepositoryTokenStateFilter?. listProjectsgainedpageSize;runDataQuery'sparamsis optional.- Every interpolated path id is now percent-encoded.
0.2.0 #
FFXAdmin.validateConfigDraft(projectId)— runs the server-side validator against the current draft without publishing and returns the typedConfigValidationReport(verdict plus per-field errors and warnings). The config lifecycle helpers now cover the whole documented flow: draft → validate → publish → promote.FFXAdmin.close()— closes the underlyinghttp.Client(including a caller-suppliedhttpClient:), so CLIs exit promptly instead of idling ~15 seconds on keep-alive sockets.
0.1.0 #
- Initial proof-of-concept release.
FFXAdmin.initializewith ansk_admin_…control-plane key (server-side only — never embed admin keys in apps).- Projects: create, get, delete; default
pk_dev_…API key retrieval. - Config: replace draft, publish, promote.
- Usage: current-window consumption per metric with limits and enforcement.