mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-04-19 06:23:12 -04:00
* Updated faker; fixed bug w/ DisplayTaxonName trying to modify a Realm object * Fixed crash going from ObsDetail to ObsEdit * Fixed bug fetching observation dates (not clear how this didn't instantly crash_ * Bugfix: MyObs observation fetch was failing on taxa w/ float rank_level
21 lines
613 B
JavaScript
21 lines
613 B
JavaScript
import { define } from "factoria";
|
|
|
|
export default define( "RemoteUser", faker => ( {
|
|
name: faker.person.fullName(),
|
|
login: faker.internet.userName(),
|
|
email: faker.internet.email(),
|
|
id: faker.number.int(),
|
|
icon_url: faker.image.url(),
|
|
roles: [faker.string.sample()],
|
|
created_at: "2000-05-09T01:17:05-01:00",
|
|
updated_at: "2000-05-09T01:17:05-01:00",
|
|
site: {
|
|
name: faker.string.sample()
|
|
},
|
|
observations_count: faker.number.int(),
|
|
species_count: faker.number.int(),
|
|
identifications_count: faker.number.int(),
|
|
journal_posts_count: faker.number.int(),
|
|
monthly_supporter: false
|
|
} ) );
|