google / google/ground-platform
[Import GeoJSON] Update import function to always include auditInfo
Open
type: fr
web
- Dominant language
- TypeScript
- Stars
- 249
- Forks
- 112
- Avg merge
- 10h 7m
- Merged PRs (30d)
- 4
Description
This should be added to `created` and `lastModified` fields in:
- [ ] Surveys
- [ ] LOIs
- [ ] Submissions
No changes are needed to the current structure of auditInfo:
```
class AuditInfo {
user: User,
clientTime: Date,
serverTime: Date | FieldValue
}
```
On updates, `serverTime` should always be set to `serverTimestamp()` `FieldValue`.
Contributor guide
Assessment
This issue has not been assessed yet.