Traditional Projects: API types and wrappers #3752
Centralize fields params used in fetchProject calls
e80e9163
Update types.d.ts
824b4222
Fold Observation.PROJECT_FIELDS into new export from fields
547472c3
Add project_observation_fields to fields declaration and types
482590ff
Sort
707f5268
Some fields are nullable: true according to API V2 docs
dd397f10
Also query for other fields required for project_observations later
b7bd09f2
We are not querying for more keys for non_traditional_projects
b861642b
OFV delete API endpoint wrapper
8de3cfba
jtklein
marked this pull request as draft 3 days ago
OFV create wrapper
c9fee238
OFV update wrapper
7c337fd2
Merge pull request #3753 from inaturalist/mob-1491-tpod-a1-api-wrappe…
29a4fdfa
value can be number
559306f6
Restrict the return results of OFV create and update to certain fields
241a058f
PO delete wrapper
d629b8fa
PO create wrapper
d4c6b77c
PO update wrapper
e60d020f
Update fields.ts
79a46156
Move PROJECT_OBSERVATION_FIELDS to fields
e7946675
Restrict fields of returned objects from create and update
1b667ed9
Mock new endpoints
1c56e0da
Basic unit tests that the correct structure of params is passed in
28206379
observation_id must be a uuid
772470d4
Real values that should work
60a0bbcd
id to update or delete must be the uuid
afd33771
The only value you can update for a PO is prefers_curator_coordinate_…
0101f33f
jtklein
marked this pull request as ready for review 3 days ago
jtklein
changed the title Project API typescript types Traditional Projects API types and wrappers 3 days ago
jtklein
changed the title Traditional Projects API types and wrappers Traditional Projects: API types and wrappers 3 days ago
Splitting into three flavors of project query fields: details, summar…
ff4d0da1
Login to write a write a comment.
Login via GitHub