mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-06-18 20:50:54 -04:00
* Obs detail screen skeleton; move safe area view to wrapper component * Progress on obs detail * Get ids and photos from api v2 * Fetch data needed for data tab in obs detail * Create basic map for data tab, centered on lat/long * Create linked realms for photos and identifications; access these on obs detail screen * User Profile and more setup for test suite * Delete coverage directory * Add Jest coverage folder to gitignore * Keep trying to mock out fetch for inatjs in ObsList.test.js * Rename ObsList.test to match component name
29 lines
702 B
JavaScript
29 lines
702 B
JavaScript
class Identification {
|
|
static schema = {
|
|
name: "Identification",
|
|
primaryKey: "uuid",
|
|
properties: {
|
|
uuid: "string",
|
|
body: "string?",
|
|
category: "string",
|
|
commonName: "string?",
|
|
createdAt: "string",
|
|
name: "string",
|
|
rank: "string",
|
|
taxonPhoto: "string",
|
|
userIcon: "string?",
|
|
userLogin: "string",
|
|
vision: "bool",
|
|
// this creates an inverse relationship so identifications
|
|
// automatically keep track of which Observation they are assigned to
|
|
assignee: {
|
|
type: "linkingObjects",
|
|
objectType: "Observation",
|
|
property: "identifications"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
export default Identification;
|