PutArtifactInput
Interface: PutArtifactInput
Defined in: src/artifacts/types.ts:120
What put takes — everything on ArtifactMeta the CALLER owns.
ref, bytes, digest and createdAt are the store's to stamp.
Properties
data
readonlydata:unknown
Defined in: src/artifacts/types.ts:129
The payload. Strings and Uint8Array are stored byte-for-byte; any other
value must be JSON-serializable (it is measured, digested and — in the
durable adapters — persisted via JSON). A value JSON cannot carry is
refused at put by name, never stored as an approximation.
digest?
readonlyoptionaldigest?:"sha-256"
Defined in: src/artifacts/types.ts:132
Ask for an integrity digest, computed by the store at put.
expiresAt?
readonlyoptionalexpiresAt?:number
Defined in: src/artifacts/types.ts:134
Caller-stated expiry (unix ms). The store's own ttl may only TIGHTEN it.
kind
readonlykind:string
Defined in: src/artifacts/types.ts:121
label?
readonlyoptionallabel?:string
Defined in: src/artifacts/types.ts:130
mediaType
readonlymediaType:string
Defined in: src/artifacts/types.ts:122
origin?
readonlyoptionalorigin?:ArtifactOrigin
Defined in: src/artifacts/types.ts:135
parentRefs?
readonlyoptionalparentRefs?: readonlystring[]
Defined in: src/artifacts/types.ts:136
timeAxis?
readonlyoptionaltimeAxis?:DatasetTimeAxis
Defined in: src/artifacts/types.ts:138
Declare the rows' time axis (see ArtifactMeta.timeAxis).
