Interface: ContentExportOptions
Defined in: packages/client/src/core/content-transfer.ts:128
Controls what ClientStack.exportContent collects.
Properties
| Property | Type | Description | Defined in |
|---|---|---|---|
allowLossyWhenLocked? | boolean | Export encrypted attributes as null instead of refusing when the stack is locked. Defaults to false. A locked stack cannot decrypt, so those attributes read back as null and an export taken that way is lossy in a way nothing downstream can detect. Refusing is the safe default; this is the escape hatch for a caller that genuinely wants the rest. | packages/client/src/core/content-transfer.ts:148 |
classes? | string[] | Restrict to these class names. Defaults to every content class in the stack. | packages/client/src/core/content-transfer.ts:130 |
domains? | string[] | Restrict to these domain names. Defaults to every content domain. | packages/client/src/core/content-transfer.ts:132 |
includeInactive? | boolean | Include soft-deleted documents (active: false). Defaults to false - an export is the live content, not the tombstones. | packages/client/src/core/content-transfer.ts:139 |
includeRelations? | boolean | Include relation documents. Defaults to true. | packages/client/src/core/content-transfer.ts:134 |