authoring library

Public authoring surface for package-contributed protocol vocabularies.

The underlying schema engine remains private to mix_protocol.

Classes

MixProtocolBranchContext
Shared construction context supplied to every contributed branch.
MixProtocolCodecs
Public protocol value codecs without exposing the private Ack engine.
MixProtocolField
Builders for declarative contributed-styler fields.
MixProtocolFieldCodec<Owner extends Object, Value extends Object>
One typed declarative field in a contributed styler branch.
MixProtocolStylerBranch<T extends Object>
A package-contributed styler branch.
MixProtocolStylerBranchBase
Type-erased branch contract stored by MixProtocolVocabulary.
MixProtocolStylerCodec<Owner extends Object>
Declarative codec for one contributed styler object.
MixProtocolStylerMetadata<Owner extends Object, S extends Spec<S>>
Standard variants, modifiers, and animation fields for a Mix styler.
MixProtocolStylerMetadataBase<Owner extends Object>
Type-erased metadata contract accepted by MixProtocolStylerCodec.
MixProtocolValueCodec<T extends Object>
Opaque value codec used by the public protocol-authoring API.
MixProtocolVocabulary
An immutable set of styler branches that share a wire namespace.

Typedefs

JsonMap = Map<String, Object?>
JSON object shape used by the public mix_protocol API.