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
api: Create PUT /stream/pull API for idempotent pull stream (#2024)
* api/schema: Make lat/lon required fields
* api: Create separate PUT /stream/pull endpoint
* api: Filter by userId and non-deleted on queries
scary
* api: Update stream fields on PUT /pull API
* api: Wait until stream is active after trigger
* api: Return 200 when the stream already existed
* api: Allow querying by creatorId/pull.source
* api: Allow deduping streams by creatorId
* api/test: Fix asset indexes test
* api/test: Add tests for new API
* api: Fix response not to omit default fields
We had an object with a couple of undefined fields
which then didn't get the default added by addDefaultFields
Fix it by re-reading the obj from the DB, which will not only
get the actually serialized version (undefined is omited) but
get the actual final state in the db (maybe someone wrote at
the same time 🤷)
* api: Fix indexes
Remove 'name' from /pull potential keys. It doesn't
have an index and we won't need it anyway for now, so
let's KISS.
Also moved index: directive to db-schema
---------
Co-authored-by: Thom Shutt <[email protected]>
0 commit comments