Skip to main content

Crate super_types

Crate super_types 

Source
Expand description

Types for Super API requests, results, source uploads, and events.

Modules§

api
credential
Environment routing carried by a Schematic API key. Decoding is not authentication.
login
Browser sign-in contracts for the Schematic CLI.
presentation
Display compatibility for saved results and clients connected to older servers.
usage
Account usage reports shared by the platform and CLI.

Structs§

ApiError
ApiErrorEnvelope
Check
CheckEvent
CheckHistoryPage
CheckPresentation
CheckResult
Semantic result data; terminality and operational failures remain independent.
CheckRevision
CheckSubmission
CheckSubmissionResponse
CommitRef
CreateChecksRequest
CreateWorkspace
CreateWorkspaceRevision
FixFile
FixProposal
HistoryPresentation
Identity
MissingContent
PresentationLine
RevisionFile
SourceFile
SourceLinkIssue
A source link and the reason it cannot be resolved.
SourceManifest
StatusPresentation
Supertest
UploadPlan
UploadRequest
VerifyUploadRequest
Workspace
WorkspaceDiff
WorkspaceRevision
WorkspaceRevisionAdmission

Enums§

CheckOperationalError
CheckOutcome
FixFileChange
FixProposalState
PresentationTone
SourceLanguage
WorkspaceRevisionState

Constants§

MAX_SOURCE_FILES
MAX_SOURCE_FILE_BYTES
MAX_SUPERTESTS_PER_SUBMISSION

Functions§

resolve_source_path
Resolve a selector in the immutable source tree. Cycles have no resolved selector.
source_link_issues
Report each link causing a validation failure once, without listing dependent aliases.
source_link_warnings
Find unresolved links in a validated source manifest, including missing targets and cycles. Uses only submitted paths; excluded and locally generated files do not count as targets.
source_sha256
source_tree_sha256
Computes the canonical pup-workspace-tree-v1 source identity accepted by Super API.
validate_source_links
Validate portable Git link targets against a complete, filtered tree without accessing the host. Missing targets and cycles are retained, as they are in Git. A manifest entry may never be another entry’s parent: materialization must not write through a symlink.