ObjectStoragePluginOptionsType
Это содержимое пока не доступно на вашем языке.
ObjectStoragePluginOptionsType =
object
Defined in: src/persistence/object-storage/ObjectStoragePluginOptions.ts:11
Properties
Section titled “Properties”backend
Section titled “backend”
readonlybackend:ObjectStorageBackendSpec
Defined in: src/persistence/object-storage/ObjectStoragePluginOptions.ts:15
Backend definition — filesystem, S3, or custom.
compression?
Section titled “compression?”
readonlyoptionalcompression?:CompressionConfig|CompressionResolver
Defined in: src/persistence/object-storage/ObjectStoragePluginOptions.ts:21
Compression config or per-pid resolver. Default: gzip.
encryption?
Section titled “encryption?”
readonlyoptionalencryption?:EncryptionConfig|EncryptionResolver
Defined in: src/persistence/object-storage/ObjectStoragePluginOptions.ts:23
Encryption config or per-pid resolver. Default: none.
keepN?
Section titled “keepN?”
readonlyoptionalkeepN?:number
Defined in: src/persistence/object-storage/ObjectStoragePluginOptions.ts:19
Snapshot history retention; 0 disables pruning. Default: 3.
maxDecompressedBytes?
Section titled “maxDecompressedBytes?”
readonlyoptionalmaxDecompressedBytes?:number
Defined in: src/persistence/object-storage/ObjectStoragePluginOptions.ts:32
Cap on the decompressed size of a stored body in bytes — the
decompression-bomb guard on read (security audit #3), applied to both the
snapshot and durable-state stores this plugin registers. Default 512 MiB
(DEFAULT_MAX_DECOMPRESSED_BYTES); Infinity opts out.
prefix?
Section titled “prefix?”
readonlyoptionalprefix?:string
Defined in: src/persistence/object-storage/ObjectStoragePluginOptions.ts:17
Key prefix prepended to every object — e.g. 'env-prod/'.
serializer?
Section titled “serializer?”
readonlyoptionalserializer?:Serializer
Defined in: src/persistence/object-storage/ObjectStoragePluginOptions.ts:25
Payload serializer applied to both stores this plugin registers.
snapshotPluginId?
Section titled “snapshotPluginId?”
readonlyoptionalsnapshotPluginId?:string
Defined in: src/persistence/object-storage/ObjectStoragePluginOptions.ts:13
Plugin ID under which the snapshot store is registered.
