Skip to main content

Interface: RspSupports

Defined in: packages/testing/src/rsp-conformance.ts:70

Optional server surfaces. A server is conformant without any of them.

Properties

attachments?

optional attachments?: boolean;

Defined in: packages/testing/src/rsp-conformance.ts:76

Resumable attachment uploads (tus).


datasetImport?

optional datasetImport?: boolean;

Defined in: packages/testing/src/rsp-conformance.ts:74

POST /v1/datasets/:name/import accepts rows from this caller.


definitionSignature?

optional definitionSignature?: boolean;

Defined in: packages/testing/src/rsp-conformance.ts:78

X-Rasd-Definition-Signature + JWKS (docs/10 §2.4).


publish?

optional publish?: boolean;

Defined in: packages/testing/src/rsp-conformance.ts:72

POST /v1/forms accepts a definition from this caller.


quarantine?

optional quarantine?: boolean;

Defined in: packages/testing/src/rsp-conformance.ts:94

Submissions for an unpublished (formId, formVersion) are accepted with quarantined: true rather than rejected.

docs/10 §2.6 allows both branches and the choice is a deployment policy, so the suite asserts whichever one the server declares — but it always asserts one of them, because the third possibility (a 500, or a silent accept that loses the row) is what this is really guarding against.


records?

optional records?: boolean;

Defined in: packages/testing/src/rsp-conformance.ts:80

Records / entities (docs/10 §6) — experimental.


remoteWipe?

optional remoteWipe?: boolean;

Defined in: packages/testing/src/rsp-conformance.ts:84

X-Rasd-Wipe (docs/10 §7.4).


sse?

optional sse?: boolean;

Defined in: packages/testing/src/rsp-conformance.ts:82

Server-sent events (docs/10 §2.9).