tree: fd80c12a97cb731bda2d4440c6e093818993a0ae [path history] [tgz]
  1. hook/
  2. sdk/
  3. shared/
  4. README.md
pkgs/code_assets/doc/schema/README.md

These schemas document the protocol for build and link hooks with code assets.

  • If you are a hook author, you should likely be using a hook-helper-package Dart API (such as package:native_toolchain_c) instead of directly consuming and producing JSON.
  • If you are a hook-helper-package author, you should likely be using a hook-helper-package's Dart API (such as package:native_assets_cli) which abstracts away from syntactic changes. If you do want to directly interact with the JSON, you can find the relevant schemas in hook/.
  • If you are an SDK author, you should likely be using the SDK helper package (package:native_assets_builder) which abstracts away from syntactic changes. If you do want to directly interact with the JSON, you can find the relevant schemas in sdk/.

These schemas are an extension of the base protocol: