You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When listing objects in R2, a value of type R2Objects is returned.
Similarly, in KV KVNamespaceListResult is returned, which a union type where the cursor and list_complete keys are strictly combined to provide either the result of a complete list or an incomplete list - which are the only possible outcomes.
When listing R2 objects, a `cursor` is only returned when `truncated`
is `true`. This change encodes this constraint in TypeScript, similar
to `KVNamespaceListResult`.
Closes#315
Hi 👋
When listing objects in R2, a value of type
R2Objects
is returned.Similarly, in KV
KVNamespaceListResult
is returned, which a union type where thecursor
andlist_complete
keys are strictly combined to provide either the result of a complete list or an incomplete list - which are the only possible outcomes.Currently, R2Objects has this type:
Which I believe could be changed to
The text was updated successfully, but these errors were encountered: