Skip to content

cupertino-files / StructuralProbe

Interface: StructuralProbe ​

Defined in: src/tsp/version.ts:139

Structural facts probed from a document — the inputs behavioral decisions are actually made from. Every field here is observed, never inferred from a version number.

Properties ​

cellStorage ​

cellStorage: "none" | "v5" | "preBNC" | "mixed"

Defined in: src/tsp/version.ts:162

Table cell storage generation, when the document has tables.


containerLayout ​

containerLayout: "flat" | "nested-index-zip" | "wrapper-directory"

Defined in: src/tsp/version.ts:141

Container shape: how the package was zipped.


hasCollaborationState ​

hasCollaborationState: boolean

Defined in: src/tsp/version.ts:160

Collaboration session/command-history objects are present.


hasVersionedStyleSnapshots ​

hasVersionedStyleSnapshots: boolean

Defined in: src/tsp/version.ts:158

Stylesheets carrying styles_for_* per-version snapshots.


multiPayloadArchiveCount ​

multiPayloadArchiveCount: number

Defined in: src/tsp/version.ts:156

Archives holding several complete messages (each with its own type). Normal in modern documents — all payloads are preserved; only the first is exposed through the typed model.


opaqueComponents ​

opaqueComponents: object[]

Defined in: src/tsp/version.ts:169

Components that could not be decoded at all, with the framing detected. Their bytes round-trip verbatim; their objects are unavailable.

framing ​

framing: string

name ​

name: string

reason ​

reason: string


patchArchiveCount ​

patchArchiveCount: number

Defined in: src/tsp/version.ts:150

Archives using the merge/patch encoding (should_merge, or a type-0 diff payload). Their payloads are preserved but not interpreted.


unknownTypeIds ​

unknownTypeIds: number[]

Defined in: src/tsp/version.ts:143

Object types present that this library's registry does not know.


unknownTypeObjectCount ​

unknownTypeObjectCount: number

Defined in: src/tsp/version.ts:145

Count of objects carrying those unknown types.


unparseableObjectCount ​

unparseableObjectCount: number

Defined in: src/tsp/version.ts:164

Objects whose payload could not be parsed as protobuf at all.

MIT licensed. Independently made — not by Apple in California. Not affiliated with or endorsed by Apple Inc.