Skip to main content

Module types

Module types 

Source
Expand description

Portable leaf types used by the graph model and persistence schema.

These types are shared between kernel modules and must be WASM-clean: no platform I/O, no UI framework dependencies.

Structs§

ArchivedImageRef
An archived ImageRef
ArchivedImportRecord
An archived ImportRecord
ArchivedImportRecordMembership
An archived ImportRecordMembership
ArchivedNodeClassification
An archived NodeClassification
ArchivedNodeDerivation
An archived NodeDerivation
ArchivedNodeImportProvenance
An archived NodeImportProvenance
ArchivedNodeProperty
An archived NodeProperty
ArchivedNodeTagPresentationState
An archived NodeTagPresentationState
ImageRef
A content-addressed reference to a preview image held in the durable blob store (node image externalization plan): the BLAKE3-256 digest of the stored PNG bytes plus the decoded dimensions. ~40 bytes and no pixels, so a graph of 50k nodes carries references, not image data. The kernel only carries the handle; pandect::image_store computes the digest and owns the blob under content/image/<hex>, which is why the digest is a plain [u8; 32] here (no eidetic dependency in the kernel).
ImageRefResolver
The resolver for an archived ImageRef
ImportRecord
ImportRecordMembership
ImportRecordMembershipResolver
The resolver for an archived ImportRecordMembership
ImportRecordResolver
The resolver for an archived ImportRecord
NodeClassification
A single provenance-bearing classification record on a node.
NodeClassificationResolver
The resolver for an archived NodeClassification
NodeDerivation
Cross-graph derivation provenance: a record that this node was derived from a node in another graph (the tear-out “fork” / cross-graph copy).
NodeDerivationResolver
The resolver for an archived NodeDerivation
NodeImportProvenance
NodeImportProvenanceResolver
The resolver for an archived NodeImportProvenance
NodeImportRecordSummary
NodeProperty
A literal property on a node: an open predicate IRI and its value. Holds the non-curated literals an ingest preserves — the kernel has no other general key→value bag (title / tags stay the curated fast-paths).
NodePropertyResolver
The resolver for an archived NodeProperty
NodeTagPresentationState
NodeTagPresentationStateResolver
The resolver for an archived NodeTagPresentationState

Enums§

ArchivedBadgeIcon
An archived BadgeIcon
ArchivedClassificationProvenance
An archived ClassificationProvenance
ArchivedClassificationScheme
An archived ClassificationScheme
ArchivedClassificationStatus
An archived ClassificationStatus
ArchivedDominantEdge
An archived DominantEdge
ArchivedFrameLayoutHint
An archived FrameLayoutHint
ArchivedGraphScope
An archived GraphScope
ArchivedImageRole
An archived ImageRole
ArchivedSplitOrientation
An archived SplitOrientation
BadgeIcon
BadgeIconResolver
The resolver for an archived BadgeIcon
ClassificationProvenance
Origin of a classification or tag.
ClassificationProvenanceResolver
The resolver for an archived ClassificationProvenance
ClassificationScheme
Classification scheme identifier.
ClassificationSchemeResolver
The resolver for an archived ClassificationScheme
ClassificationStatus
Lifecycle status of a classification record.
ClassificationStatusResolver
The resolver for an archived ClassificationStatus
DominantEdge
DominantEdgeResolver
The resolver for an archived DominantEdge
FrameLayoutHint
FrameLayoutHintResolver
The resolver for an archived FrameLayoutHint
GraphScope
GraphScopeResolver
The resolver for an archived GraphScope
ImageRole
Which preview-image role a reference fills. A node holds at most one image per role. Favicon is the site icon on the node face; Preview the default thumbnail; Snapshot the last-rendered peek the preview card shows. The set is extensible (per-lane snapshots) by adding variants, which is why the node keys images by role rather than holding fixed fields. Ord so it can key a BTreeMap with a deterministic iteration order.
ImageRoleResolver
The resolver for an archived ImageRole
SplitOrientation
SplitOrientationResolver
The resolver for an archived SplitOrientation

Functions§

format_imported_at_secs
seed_statement_minter
Seed the statement-id minter’s per-process salt. The kernel’s identity doctrine: OS randomness is native-only, wasm hosts supply theirs — a wasm host should call this once at boot with 64 host-random bits (unseeded wasm falls back to 0, i.e. the pre-salt time+nonce behaviour, and loses the cross-device guarantee). Native self-seeds from Uuid::new_v4() on first mint; a later seed call is a no-op.

Type Aliases§

FrameLayoutNodeId
Durable member reference used by frame layout hints.