Skip to main content

flutterflow_cloud_admin 0.4.0 copy "flutterflow_cloud_admin: ^0.4.0" to clipboard
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_admin to flutterflow_cloud_admin; import package:flutterflow_cloud_admin/flutterflow_cloud_admin.dart (class names such as FFXAdmin are unchanged).
  • Membership and invitations: listProjectMembers, setProjectMemberRole, removeProjectMember, createInvite, listInvites (with the InviteStateFilter), revokeInvite, and acceptInvite (customer sessions only).
  • Audit: auditLog(projectId, startTime:, endTime:, limit:, pageToken:) — the time-bounded audit query (its page-size parameter is limit on the wire).
  • Config: updateConfigDraftSection replaces a single section.
  • Auth: top-level registerAdminAccount(...) (registration precedes client construction), FFXAdmin.jwks() (unauthenticated), and FFXAdmin.exchangeAdminToken(...) for admin-key clients.
  • Breaking return-type upgrades: replaceConfigDraft → ConfigDraftUpdated, publishConfigVersion → ConfigVersion, promoteEnvironment → EnvironmentPromotion, deleteRepositoryBranch → RepositoryBranchDeleted, revokeRepositoryToken → RepositoryTokenRevoked.
  • Breaking: listApiKeys now returns an FFXAdminApiKeyPage (keys + nextPageToken) and accepts pageSize/pageToken; listRepositoryTokens's state is a typed RepositoryTokenStateFilter?.
  • listProjects gained pageSize; runDataQuery's params is 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 typed ConfigValidationReport (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 underlying http.Client (including a caller-supplied httpClient:), so CLIs exit promptly instead of idling ~15 seconds on keep-alive sockets.

0.1.0 #

  • Initial proof-of-concept release.
  • FFXAdmin.initialize with an sk_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.
0
likes
110
points
535
downloads

Documentation

API reference

Publisher

verified publisherflutterflow.io

Weekly Downloads

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.

Repository (GitHub)

License

MIT (license)

Dependencies

http

More

Packages that depend on flutterflow_cloud_admin