PMMModuleEntry class
One module the provider offers.
Constructors
-
PMMModuleEntry(List<
int> bytes) -
factory
Properties
- ACCESS_POLICY → pmmAccessPolicy
-
What the client must hold to fetch and run it.
no setter
- accessPolicy → pmmAccessPolicy
-
no setter
- ARTIFACT_CID → String?
-
IPFS CID of the artifact, for content-addressed retrieval.
no setter
- ARTIFACT_PATH → String?
-
Path, relative to the provider origin, from which the artifact is
fetched. Relative on purpose: the bytes must come from the same origin
whose domain the DNS proof binds.
no setter
-
ARTIFACT_SIGNATURE
→ List<
int> ? -
Detached signature by the key in
PMMTrustAnchor.SIGNING_PUBLIC_KEYover the 32 raw bytes ofCONTENT_HASH. Lets a client reject an entry before spending a byte of bandwidth. The artifact's own publication trailer remains authoritative after download.no setter - ARTIFACT_SIZE_BYTES → int
-
Size of those portable WASM bytes.
no setter
- artifactCid → String?
-
no setter
- artifactPath → String?
-
no setter
-
artifactSignature
→ List<
int> ? -
no setter
- artifactSizeBytes → int
-
no setter
-
CATEGORIES
→ List<
capabilityClass> ? -
Every ratified
$CCTcategory this module belongs to, for browse, filter and per-category counting. Mirrors$PLG.CATEGORIES. If nonempty it MUST include PRIMARY_CATEGORY. Carries the same unsigned-claim caveat as PRIMARY_CATEGORY.no setter - CONTENT_HASH → String?
-
64 lowercase hexadecimal characters encoding SHA-256 of the module's
portable (pre-AOT, publication-trailer-stripped) WASM bytes. Identical
in meaning to
$APP.APPModuleRef.CONTENT_HASH: this is the identity capability and signature policies key on.no setter - contentHash → String?
-
no setter
- DEFAULT_ENABLED → bool
-
True when the provider ships this module enabled by default. A recorded
user choice overrides it permanently.
no setter
- defaultEnabled → bool
-
no setter
- DESCRIPTION → String?
-
Human-readable summary.
no setter
- DOCUMENTATION_URL → String?
-
URL to the module's documentation.
no setter
- documentationUrl → String?
-
no setter
- ENTRY_STATE → pmmEntryState
-
Entry lifecycle.
no setter
- entryState → pmmEntryState
-
no setter
- EPOCH → int
-
Monotonic publication counter for this MODULE_ID. Increases on every
re-publication, including a rebuild at the same VERSION.
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- ICON_URL → String?
-
URL to the module's icon.
no setter
- iconUrl → String?
-
no setter
- LICENSE → String?
-
SPDX license identifier of the module.
no setter
-
MIN_PERMISSIONS
→ List<
String> ? -
Minimum host permissions the module needs, same vocabulary as
$PLG.MIN_PERMISSIONS. Surfaced so a client can show what an anonymously-loaded CORE module is allowed to do.no setter -
minPermissions
→ List<
String> ? -
no setter
- MODULE_ID → String?
-
Reverse-DNS module identity, e.g. "com.orbpro.sgp4-propagator". Stable
across versions. Required and unique within the manifest.
no setter
- moduleId → String?
-
no setter
- NAME → String?
-
Display name.
no setter
- PLG_CID → String?
-
IPFS CID of that
$PLGrecord.no setter - plgCid → String?
-
no setter
- PLUGIN_ID → String?
-
$PLG.PLUGIN_IDof the full listing for this module, when one is published.no setter - PLUGIN_TYPE → pluginCategory
-
Family this module belongs to. Mirrors
$PLG.PLUGIN_TYPEverbatim and is the ONLY sanctioned way to group an offering: a client grouping a catalogue MUST read this field and MUST NOT infer family from the shape ofMODULE_ID, which carries no normative structure. Defaults toUnspecified, which a client MUST render as ungrouped — never silently asSensor. Present here, rather than only on the linked$PLG, so an anonymous client can section the catalogue at boot without fetching one$PLGper module.no setter - pluginId → String?
-
no setter
- pluginType → pluginCategory
-
no setter
- PRIMARY_CATEGORY → capabilityClass
-
The one ratified
$CCTcategory this module is shelved under. Mirrors$PLG.PRIMARY_CATEGORYverbatim and SUPERSEDESPLUGIN_TYPEas the sanctioned way to group an offering:pluginCategoryis single-valued, holds a real family at ordinal 0, mixes capability families with node-internal plumbing, and carries a deprecated vendor-derived member. Present here, rather than only on the linked$PLG, so an anonymous client can section the catalogue at boot without fetching one$PLGper module.UNSPECIFIEDMUST render as ungrouped, never as a real category.no setter - primaryCategory → capabilityClass
-
no setter
-
REQUIRED_SCHEMAS
→ List<
String> ? -
SDS schema codes at this module's invoke surface, e.g. "OMM", "OEM".
no setter
-
requiredSchemas
→ List<
String> ? -
no setter
-
RUNTIME_TARGETS
→ List<
String> ? -
Opaque runtime-target tags this artifact is built for, e.g. "browser",
"wasmedge". Same vocabulary as
$PLG.RUNTIME_TARGETS.no setter -
runtimeTargets
→ List<
String> ? -
no setter
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- SUPERSEDES_CONTENT_HASH → String?
-
CONTENT_HASHthis entry replaces, when it supersedes an earlier build.no setter - supersedesContentHash → String?
-
no setter
- TRUST_TIER → pmmTrustTier
-
Provider-declared standing. Gates anonymous loading.
no setter
- trustTier → pmmTrustTier
-
no setter
- UPDATED_AT → String?
-
RFC 3339 UTC fixed-millisecond timestamp (YYYY-MM-DDTHH:mm:ss.sssZ) of
the last change to this entry.
no setter
- updatedAt → String?
-
no setter
- VERSION → String?
-
SemVer 2.0.0 version of the offered artifact.
no setter
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
reader
→ const Reader<
PMMModuleEntry>