PublishEnvConfig class

One environment's publish config, read from publish.<env> in dialect.yaml. Drives dialect publish / dialect pull (v1.2) — see dialect/spec/bundle.md. Credentials are NEVER read from here; the s3 target uses the standard AWS env vars / profile.

Constructors

PublishEnvConfig({required String name, required String target, String? path, String? bucket, String prefix = '', String format = 'icu-json', List<String> namespaces = const [], String? manifestUrl, String? output})

Properties

bucket String?
Bucket name for target: s3.
final
format String
Bundle format: icu-json (default) or flat-json.
final
hashCode int
The hash code for this object.
no setterinherited
manifestUrl String?
Public URL of the channel head, used by dialect pull and by backends reading at startup.
final
name String
Env key from the YAML map, e.g. production, staging.
final
namespaces List<String>
Namespace filter — empty means every key. Same semantics as platforms.<p>.namespaces.
final
output String?
Directory dialect pull writes the fetched locale files into.
final
path String?
Filesystem prefix for target: local.
final
prefix String
Key prefix within the bucket / under path. Defaults to ''.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target String
local (filesystem) or s3 (S3-compatible: AWS, R2, MinIO).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited