@graphty/graphty-element / index / SourceRequestInit
Type Alias: SourceRequestInit ​
SourceRequestInit =
RequestInit&object
Defined in: graph-io/dist/src/sources/types.d.ts:135
What ctx.fetch accepts beside fetch's own init. Experimental.
Type Declaration ​
allowStatus? ​
readonlyoptionalallowStatus?: readonlynumber[]
Statuses outside 200 to 299 that are returned to the source instead of raised as coded issues (a query error body the source reads itself, a 304). Default none; 304 is always returned.
idempotent? ​
readonlyoptionalidempotent?:boolean
Mark a POST as safe to retry (a read-only query). GET and HEAD always are.
retry? ​
readonlyoptionalretry?:false
false: never retry this request.