Skip to main content

flutterflow_cloud_core 0.2.0 copy "flutterflow_cloud_core: ^0.2.0" to clipboard
flutterflow_cloud_core: ^0.2.0 copied to clipboard

Pure Dart Cloud values, errors and strict function contract codecs.

Changelog #

0.2.0 #

For flutterflow_cloud 0.8.0 and flutterflow_cloud_emulator 0.3.0. It carries everything in 0.1.1 and 0.2.0-dev.1.

  • Add the Dynamic Links values, as in 0.2.0-dev.1 (below).
  • Validate scheduled Functions: kind: scheduled with its schedule and delivery is a delivery kind beside callable and HTTP, and parseFunctionCron (exported by function_contracts.dart) parses its five-field cron expression. A callable or HTTP function that declares schedule or delivery fails at that key; event triggers stay unsupported. The generator emits no client for a scheduled function.
  • Sign-in problem codes (providerNotEnabled, redirectUriNotAllowed, grantCodeInvalid, credentialAlreadyLinked, providerAlreadyLinked, linkingBlocked, userDisabled, invalidCredentials, emailAlreadyExists, weakPassword, accountLocked, challengeRequired) have end-user copy of their own in userMessage, with the code in parentheses. providerAlreadyLinked maps to FFXConflictError and linkingBlocked to FFXPermissionDeniedError.
  • Map connectorRefused, a connected service turning the request down, to FFXValidationError with end-user copy of its own.
  • The generator keeps the log name for cloud.log: a model whose plural is log gets the getter <model>Collection (logCollection for a log model) instead of log.

0.2.0-dev.1 #

A prerelease for flutterflow_cloud 0.8.0-dev.1. It builds on 0.1.0 and does not carry 0.1.1's changes.

  • Add the Dynamic Links values (package:flutterflow_cloud_core/dynamic_links.dart, also exported by the main library): FFXDynamicLink, FFXLinkCampaign, the short-code, location and "Open in app" URL rules, and the build define names.
  • Add FFXDynamicLinksNotConfiguredError and map the dynamicLinks* problem codes, with end-user copy.
  • The generator reserves the Dynamic Links FFX… type names; a dynamicLink model keeps its dynamicLinks getter.

0.1.1 #

  • Accept a Function's capabilities.connectors, so a project whose Functions call a connector generates.
  • A Function that fails validation now reports its path and fix, instead of "Could not read project.json or options.json".

0.1.0 #

  • Initial release of shared pure Dart record, query, auth, file and batch values.
  • Strict Functions JSON codecs and contract validation.
  • Project generation, including typed callable Functions clients.
1
likes
150
points
26.3k
downloads

Documentation

API reference

Publisher

verified publisherflutterflow.io

Weekly Downloads

Pure Dart Cloud values, errors and strict function contract codecs.

Repository (GitHub)

License

MIT (license)

More

Packages that depend on flutterflow_cloud_core