@comapeo/core-react 6.4.0 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -39,7 +39,7 @@ export declare function documentsQueryOptions<D extends WriteableDocumentType>({
39
39
  lang?: string;
40
40
  }): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<({
41
41
  schemaName: "track";
42
- locations: import("@comapeo/schema/dist/schema/track.js").Position[];
42
+ locations: [import("@comapeo/schema/dist/schema/track.js").Position, import("@comapeo/schema/dist/schema/track.js").Position, ...import("@comapeo/schema/dist/schema/track.js").Position[]];
43
43
  observationRefs: {
44
44
  docId: string;
45
45
  versionId: string;
@@ -59,28 +59,14 @@ export declare function documentsQueryOptions<D extends WriteableDocumentType>({
59
59
  links: string[];
60
60
  deleted: boolean;
61
61
  } & DerivedDocFields)[] | ({
62
- schemaName: "observation";
63
- lat?: number | undefined;
64
- lon?: number | undefined;
65
- attachments: import("@comapeo/schema/dist/schema/observation.js").Attachment[];
66
- tags: {
62
+ schemaName: "remoteDetectionAlert";
63
+ detectionDateStart: string;
64
+ detectionDateEnd: string;
65
+ sourceId: string;
66
+ metadata: {
67
67
  [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
68
68
  };
69
- metadata?: {
70
- manualLocation?: boolean;
71
- position?: import("@comapeo/schema/dist/schema/observation.js").Position;
72
- lastSavedPosition?: import("@comapeo/schema/dist/schema/observation.js").Position;
73
- positionProvider?: {
74
- gpsAvailable?: boolean;
75
- passiveAvailable?: boolean;
76
- locationServicesEnabled: boolean;
77
- networkAvailable?: boolean;
78
- };
79
- } | undefined;
80
- presetRef?: {
81
- docId: string;
82
- versionId: string;
83
- } | undefined;
69
+ geometry: import("@comapeo/schema/dist/schema/remoteDetectionAlert.js").Geometry;
84
70
  docId: string;
85
71
  versionId: string;
86
72
  originalVersionId: string;
@@ -112,6 +98,36 @@ export declare function documentsQueryOptions<D extends WriteableDocumentType>({
112
98
  updatedAt: string;
113
99
  links: string[];
114
100
  deleted: boolean;
101
+ } & DerivedDocFields)[] | ({
102
+ schemaName: "observation";
103
+ lat?: number | undefined;
104
+ lon?: number | undefined;
105
+ attachments: import("@comapeo/schema/dist/schema/observation.js").Attachment[];
106
+ tags: {
107
+ [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
108
+ };
109
+ metadata?: {
110
+ manualLocation?: boolean;
111
+ position?: import("@comapeo/schema/dist/schema/observation.js").Position;
112
+ lastSavedPosition?: import("@comapeo/schema/dist/schema/observation.js").Position;
113
+ positionProvider?: {
114
+ gpsAvailable?: boolean;
115
+ passiveAvailable?: boolean;
116
+ locationServicesEnabled: boolean;
117
+ networkAvailable?: boolean;
118
+ };
119
+ } | undefined;
120
+ presetRef?: {
121
+ docId: string;
122
+ versionId: string;
123
+ } | undefined;
124
+ docId: string;
125
+ versionId: string;
126
+ originalVersionId: string;
127
+ createdAt: string;
128
+ updatedAt: string;
129
+ links: string[];
130
+ deleted: boolean;
115
131
  } & DerivedDocFields)[] | ({
116
132
  schemaName: "field";
117
133
  tagKey: string;
@@ -133,6 +149,27 @@ export declare function documentsQueryOptions<D extends WriteableDocumentType>({
133
149
  updatedAt: string;
134
150
  links: string[];
135
151
  deleted: boolean;
152
+ } & DerivedDocFields)[], Error, ({
153
+ schemaName: "track";
154
+ locations: [import("@comapeo/schema/dist/schema/track.js").Position, import("@comapeo/schema/dist/schema/track.js").Position, ...import("@comapeo/schema/dist/schema/track.js").Position[]];
155
+ observationRefs: {
156
+ docId: string;
157
+ versionId: string;
158
+ }[];
159
+ tags: {
160
+ [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
161
+ };
162
+ presetRef?: {
163
+ docId: string;
164
+ versionId: string;
165
+ } | undefined;
166
+ docId: string;
167
+ versionId: string;
168
+ originalVersionId: string;
169
+ createdAt: string;
170
+ updatedAt: string;
171
+ links: string[];
172
+ deleted: boolean;
136
173
  } & DerivedDocFields)[] | ({
137
174
  schemaName: "remoteDetectionAlert";
138
175
  detectionDateStart: string;
@@ -149,20 +186,23 @@ export declare function documentsQueryOptions<D extends WriteableDocumentType>({
149
186
  updatedAt: string;
150
187
  links: string[];
151
188
  deleted: boolean;
152
- } & DerivedDocFields)[], Error, ({
153
- schemaName: "track";
154
- locations: import("@comapeo/schema/dist/schema/track.js").Position[];
155
- observationRefs: {
189
+ } & DerivedDocFields)[] | ({
190
+ schemaName: "preset";
191
+ name: string;
192
+ geometry: ("point" | "vertex" | "line" | "area" | "relation")[];
193
+ tags: import("@comapeo/schema/dist/schema/preset.js").Tags;
194
+ addTags: import("@comapeo/schema/dist/schema/preset.js").Tags1;
195
+ removeTags: import("@comapeo/schema/dist/schema/preset.js").Tags2;
196
+ fieldRefs: {
156
197
  docId: string;
157
198
  versionId: string;
158
199
  }[];
159
- tags: {
160
- [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
161
- };
162
- presetRef?: {
200
+ iconRef?: {
163
201
  docId: string;
164
202
  versionId: string;
165
203
  } | undefined;
204
+ terms: string[];
205
+ color?: string | undefined;
166
206
  docId: string;
167
207
  versionId: string;
168
208
  originalVersionId: string;
@@ -200,30 +240,6 @@ export declare function documentsQueryOptions<D extends WriteableDocumentType>({
200
240
  updatedAt: string;
201
241
  links: string[];
202
242
  deleted: boolean;
203
- } & DerivedDocFields)[] | ({
204
- schemaName: "preset";
205
- name: string;
206
- geometry: ("point" | "vertex" | "line" | "area" | "relation")[];
207
- tags: import("@comapeo/schema/dist/schema/preset.js").Tags;
208
- addTags: import("@comapeo/schema/dist/schema/preset.js").Tags1;
209
- removeTags: import("@comapeo/schema/dist/schema/preset.js").Tags2;
210
- fieldRefs: {
211
- docId: string;
212
- versionId: string;
213
- }[];
214
- iconRef?: {
215
- docId: string;
216
- versionId: string;
217
- } | undefined;
218
- terms: string[];
219
- color?: string | undefined;
220
- docId: string;
221
- versionId: string;
222
- originalVersionId: string;
223
- createdAt: string;
224
- updatedAt: string;
225
- links: string[];
226
- deleted: boolean;
227
243
  } & DerivedDocFields)[] | ({
228
244
  schemaName: "field";
229
245
  tagKey: string;
@@ -245,29 +261,13 @@ export declare function documentsQueryOptions<D extends WriteableDocumentType>({
245
261
  updatedAt: string;
246
262
  links: string[];
247
263
  deleted: boolean;
248
- } & DerivedDocFields)[] | ({
249
- schemaName: "remoteDetectionAlert";
250
- detectionDateStart: string;
251
- detectionDateEnd: string;
252
- sourceId: string;
253
- metadata: {
254
- [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
255
- };
256
- geometry: import("@comapeo/schema/dist/schema/remoteDetectionAlert.js").Geometry;
257
- docId: string;
258
- versionId: string;
259
- originalVersionId: string;
260
- createdAt: string;
261
- updatedAt: string;
262
- links: string[];
263
- deleted: boolean;
264
264
  } & DerivedDocFields)[], readonly ["@comapeo/core-react", "projects", string, D, {
265
265
  readonly includeDeleted: boolean | undefined;
266
266
  readonly lang: string | undefined;
267
267
  }]>, "queryFn"> & {
268
268
  queryFn?: import("@tanstack/react-query").QueryFunction<({
269
269
  schemaName: "track";
270
- locations: import("@comapeo/schema/dist/schema/track.js").Position[];
270
+ locations: [import("@comapeo/schema/dist/schema/track.js").Position, import("@comapeo/schema/dist/schema/track.js").Position, ...import("@comapeo/schema/dist/schema/track.js").Position[]];
271
271
  observationRefs: {
272
272
  docId: string;
273
273
  versionId: string;
@@ -287,28 +287,14 @@ export declare function documentsQueryOptions<D extends WriteableDocumentType>({
287
287
  links: string[];
288
288
  deleted: boolean;
289
289
  } & DerivedDocFields)[] | ({
290
- schemaName: "observation";
291
- lat?: number | undefined;
292
- lon?: number | undefined;
293
- attachments: import("@comapeo/schema/dist/schema/observation.js").Attachment[];
294
- tags: {
290
+ schemaName: "remoteDetectionAlert";
291
+ detectionDateStart: string;
292
+ detectionDateEnd: string;
293
+ sourceId: string;
294
+ metadata: {
295
295
  [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
296
296
  };
297
- metadata?: {
298
- manualLocation?: boolean;
299
- position?: import("@comapeo/schema/dist/schema/observation.js").Position;
300
- lastSavedPosition?: import("@comapeo/schema/dist/schema/observation.js").Position;
301
- positionProvider?: {
302
- gpsAvailable?: boolean;
303
- passiveAvailable?: boolean;
304
- locationServicesEnabled: boolean;
305
- networkAvailable?: boolean;
306
- };
307
- } | undefined;
308
- presetRef?: {
309
- docId: string;
310
- versionId: string;
311
- } | undefined;
297
+ geometry: import("@comapeo/schema/dist/schema/remoteDetectionAlert.js").Geometry;
312
298
  docId: string;
313
299
  versionId: string;
314
300
  originalVersionId: string;
@@ -340,6 +326,36 @@ export declare function documentsQueryOptions<D extends WriteableDocumentType>({
340
326
  updatedAt: string;
341
327
  links: string[];
342
328
  deleted: boolean;
329
+ } & DerivedDocFields)[] | ({
330
+ schemaName: "observation";
331
+ lat?: number | undefined;
332
+ lon?: number | undefined;
333
+ attachments: import("@comapeo/schema/dist/schema/observation.js").Attachment[];
334
+ tags: {
335
+ [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
336
+ };
337
+ metadata?: {
338
+ manualLocation?: boolean;
339
+ position?: import("@comapeo/schema/dist/schema/observation.js").Position;
340
+ lastSavedPosition?: import("@comapeo/schema/dist/schema/observation.js").Position;
341
+ positionProvider?: {
342
+ gpsAvailable?: boolean;
343
+ passiveAvailable?: boolean;
344
+ locationServicesEnabled: boolean;
345
+ networkAvailable?: boolean;
346
+ };
347
+ } | undefined;
348
+ presetRef?: {
349
+ docId: string;
350
+ versionId: string;
351
+ } | undefined;
352
+ docId: string;
353
+ versionId: string;
354
+ originalVersionId: string;
355
+ createdAt: string;
356
+ updatedAt: string;
357
+ links: string[];
358
+ deleted: boolean;
343
359
  } & DerivedDocFields)[] | ({
344
360
  schemaName: "field";
345
361
  tagKey: string;
@@ -361,22 +377,6 @@ export declare function documentsQueryOptions<D extends WriteableDocumentType>({
361
377
  updatedAt: string;
362
378
  links: string[];
363
379
  deleted: boolean;
364
- } & DerivedDocFields)[] | ({
365
- schemaName: "remoteDetectionAlert";
366
- detectionDateStart: string;
367
- detectionDateEnd: string;
368
- sourceId: string;
369
- metadata: {
370
- [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
371
- };
372
- geometry: import("@comapeo/schema/dist/schema/remoteDetectionAlert.js").Geometry;
373
- docId: string;
374
- versionId: string;
375
- originalVersionId: string;
376
- createdAt: string;
377
- updatedAt: string;
378
- links: string[];
379
- deleted: boolean;
380
380
  } & DerivedDocFields)[], readonly ["@comapeo/core-react", "projects", string, D, {
381
381
  readonly includeDeleted: boolean | undefined;
382
382
  readonly lang: string | undefined;
@@ -388,7 +388,7 @@ export declare function documentsQueryOptions<D extends WriteableDocumentType>({
388
388
  }] & {
389
389
  [dataTagSymbol]: ({
390
390
  schemaName: "track";
391
- locations: import("@comapeo/schema/dist/schema/track.js").Position[];
391
+ locations: [import("@comapeo/schema/dist/schema/track.js").Position, import("@comapeo/schema/dist/schema/track.js").Position, ...import("@comapeo/schema/dist/schema/track.js").Position[]];
392
392
  observationRefs: {
393
393
  docId: string;
394
394
  versionId: string;
@@ -408,28 +408,14 @@ export declare function documentsQueryOptions<D extends WriteableDocumentType>({
408
408
  links: string[];
409
409
  deleted: boolean;
410
410
  } & DerivedDocFields)[] | ({
411
- schemaName: "observation";
412
- lat?: number | undefined;
413
- lon?: number | undefined;
414
- attachments: import("@comapeo/schema/dist/schema/observation.js").Attachment[];
415
- tags: {
411
+ schemaName: "remoteDetectionAlert";
412
+ detectionDateStart: string;
413
+ detectionDateEnd: string;
414
+ sourceId: string;
415
+ metadata: {
416
416
  [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
417
417
  };
418
- metadata?: {
419
- manualLocation?: boolean;
420
- position?: import("@comapeo/schema/dist/schema/observation.js").Position;
421
- lastSavedPosition?: import("@comapeo/schema/dist/schema/observation.js").Position;
422
- positionProvider?: {
423
- gpsAvailable?: boolean;
424
- passiveAvailable?: boolean;
425
- locationServicesEnabled: boolean;
426
- networkAvailable?: boolean;
427
- };
428
- } | undefined;
429
- presetRef?: {
430
- docId: string;
431
- versionId: string;
432
- } | undefined;
418
+ geometry: import("@comapeo/schema/dist/schema/remoteDetectionAlert.js").Geometry;
433
419
  docId: string;
434
420
  versionId: string;
435
421
  originalVersionId: string;
@@ -462,35 +448,49 @@ export declare function documentsQueryOptions<D extends WriteableDocumentType>({
462
448
  links: string[];
463
449
  deleted: boolean;
464
450
  } & DerivedDocFields)[] | ({
465
- schemaName: "field";
466
- tagKey: string;
467
- type: "type_unspecified" | "text" | "number" | "selectOne" | "selectMultiple" | "UNRECOGNIZED";
468
- label: string;
469
- appearance?: ("appearance_unspecified" | "singleline" | "multiline" | "UNRECOGNIZED") | undefined;
470
- snakeCase?: boolean | undefined;
471
- options?: {
472
- label: string;
473
- value: string | boolean | number | null;
474
- }[] | undefined;
475
- universal?: boolean | undefined;
476
- placeholder?: string | undefined;
477
- helperText?: string | undefined;
478
- docId: string;
479
- versionId: string;
480
- originalVersionId: string;
481
- createdAt: string;
482
- updatedAt: string;
483
- links: string[];
484
- deleted: boolean;
485
- } & DerivedDocFields)[] | ({
486
- schemaName: "remoteDetectionAlert";
487
- detectionDateStart: string;
488
- detectionDateEnd: string;
489
- sourceId: string;
490
- metadata: {
451
+ schemaName: "observation";
452
+ lat?: number | undefined;
453
+ lon?: number | undefined;
454
+ attachments: import("@comapeo/schema/dist/schema/observation.js").Attachment[];
455
+ tags: {
491
456
  [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
492
457
  };
493
- geometry: import("@comapeo/schema/dist/schema/remoteDetectionAlert.js").Geometry;
458
+ metadata?: {
459
+ manualLocation?: boolean;
460
+ position?: import("@comapeo/schema/dist/schema/observation.js").Position;
461
+ lastSavedPosition?: import("@comapeo/schema/dist/schema/observation.js").Position;
462
+ positionProvider?: {
463
+ gpsAvailable?: boolean;
464
+ passiveAvailable?: boolean;
465
+ locationServicesEnabled: boolean;
466
+ networkAvailable?: boolean;
467
+ };
468
+ } | undefined;
469
+ presetRef?: {
470
+ docId: string;
471
+ versionId: string;
472
+ } | undefined;
473
+ docId: string;
474
+ versionId: string;
475
+ originalVersionId: string;
476
+ createdAt: string;
477
+ updatedAt: string;
478
+ links: string[];
479
+ deleted: boolean;
480
+ } & DerivedDocFields)[] | ({
481
+ schemaName: "field";
482
+ tagKey: string;
483
+ type: "type_unspecified" | "text" | "number" | "selectOne" | "selectMultiple" | "UNRECOGNIZED";
484
+ label: string;
485
+ appearance?: ("appearance_unspecified" | "singleline" | "multiline" | "UNRECOGNIZED") | undefined;
486
+ snakeCase?: boolean | undefined;
487
+ options?: {
488
+ label: string;
489
+ value: string | boolean | number | null;
490
+ }[] | undefined;
491
+ universal?: boolean | undefined;
492
+ placeholder?: string | undefined;
493
+ helperText?: string | undefined;
494
494
  docId: string;
495
495
  versionId: string;
496
496
  originalVersionId: string;
@@ -510,7 +510,7 @@ export declare function documentByDocumentIdQueryOptions<D extends WriteableDocu
510
510
  lang?: string;
511
511
  }): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<({
512
512
  schemaName: "track";
513
- locations: import("@comapeo/schema/dist/schema/track.js").Position[];
513
+ locations: [import("@comapeo/schema/dist/schema/track.js").Position, import("@comapeo/schema/dist/schema/track.js").Position, ...import("@comapeo/schema/dist/schema/track.js").Position[]];
514
514
  observationRefs: {
515
515
  docId: string;
516
516
  versionId: string;
@@ -530,28 +530,14 @@ export declare function documentByDocumentIdQueryOptions<D extends WriteableDocu
530
530
  links: string[];
531
531
  deleted: boolean;
532
532
  } & DerivedDocFields) | ({
533
- schemaName: "observation";
534
- lat?: number | undefined;
535
- lon?: number | undefined;
536
- attachments: import("@comapeo/schema/dist/schema/observation.js").Attachment[];
537
- tags: {
533
+ schemaName: "remoteDetectionAlert";
534
+ detectionDateStart: string;
535
+ detectionDateEnd: string;
536
+ sourceId: string;
537
+ metadata: {
538
538
  [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
539
539
  };
540
- metadata?: {
541
- manualLocation?: boolean;
542
- position?: import("@comapeo/schema/dist/schema/observation.js").Position;
543
- lastSavedPosition?: import("@comapeo/schema/dist/schema/observation.js").Position;
544
- positionProvider?: {
545
- gpsAvailable?: boolean;
546
- passiveAvailable?: boolean;
547
- locationServicesEnabled: boolean;
548
- networkAvailable?: boolean;
549
- };
550
- } | undefined;
551
- presetRef?: {
552
- docId: string;
553
- versionId: string;
554
- } | undefined;
540
+ geometry: import("@comapeo/schema/dist/schema/remoteDetectionAlert.js").Geometry;
555
541
  docId: string;
556
542
  versionId: string;
557
543
  originalVersionId: string;
@@ -583,6 +569,36 @@ export declare function documentByDocumentIdQueryOptions<D extends WriteableDocu
583
569
  updatedAt: string;
584
570
  links: string[];
585
571
  deleted: boolean;
572
+ } & DerivedDocFields) | ({
573
+ schemaName: "observation";
574
+ lat?: number | undefined;
575
+ lon?: number | undefined;
576
+ attachments: import("@comapeo/schema/dist/schema/observation.js").Attachment[];
577
+ tags: {
578
+ [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
579
+ };
580
+ metadata?: {
581
+ manualLocation?: boolean;
582
+ position?: import("@comapeo/schema/dist/schema/observation.js").Position;
583
+ lastSavedPosition?: import("@comapeo/schema/dist/schema/observation.js").Position;
584
+ positionProvider?: {
585
+ gpsAvailable?: boolean;
586
+ passiveAvailable?: boolean;
587
+ locationServicesEnabled: boolean;
588
+ networkAvailable?: boolean;
589
+ };
590
+ } | undefined;
591
+ presetRef?: {
592
+ docId: string;
593
+ versionId: string;
594
+ } | undefined;
595
+ docId: string;
596
+ versionId: string;
597
+ originalVersionId: string;
598
+ createdAt: string;
599
+ updatedAt: string;
600
+ links: string[];
601
+ deleted: boolean;
586
602
  } & DerivedDocFields) | ({
587
603
  schemaName: "field";
588
604
  tagKey: string;
@@ -604,6 +620,27 @@ export declare function documentByDocumentIdQueryOptions<D extends WriteableDocu
604
620
  updatedAt: string;
605
621
  links: string[];
606
622
  deleted: boolean;
623
+ } & DerivedDocFields), Error, ({
624
+ schemaName: "track";
625
+ locations: [import("@comapeo/schema/dist/schema/track.js").Position, import("@comapeo/schema/dist/schema/track.js").Position, ...import("@comapeo/schema/dist/schema/track.js").Position[]];
626
+ observationRefs: {
627
+ docId: string;
628
+ versionId: string;
629
+ }[];
630
+ tags: {
631
+ [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
632
+ };
633
+ presetRef?: {
634
+ docId: string;
635
+ versionId: string;
636
+ } | undefined;
637
+ docId: string;
638
+ versionId: string;
639
+ originalVersionId: string;
640
+ createdAt: string;
641
+ updatedAt: string;
642
+ links: string[];
643
+ deleted: boolean;
607
644
  } & DerivedDocFields) | ({
608
645
  schemaName: "remoteDetectionAlert";
609
646
  detectionDateStart: string;
@@ -620,20 +657,23 @@ export declare function documentByDocumentIdQueryOptions<D extends WriteableDocu
620
657
  updatedAt: string;
621
658
  links: string[];
622
659
  deleted: boolean;
623
- } & DerivedDocFields), Error, ({
624
- schemaName: "track";
625
- locations: import("@comapeo/schema/dist/schema/track.js").Position[];
626
- observationRefs: {
660
+ } & DerivedDocFields) | ({
661
+ schemaName: "preset";
662
+ name: string;
663
+ geometry: ("point" | "vertex" | "line" | "area" | "relation")[];
664
+ tags: import("@comapeo/schema/dist/schema/preset.js").Tags;
665
+ addTags: import("@comapeo/schema/dist/schema/preset.js").Tags1;
666
+ removeTags: import("@comapeo/schema/dist/schema/preset.js").Tags2;
667
+ fieldRefs: {
627
668
  docId: string;
628
669
  versionId: string;
629
670
  }[];
630
- tags: {
631
- [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
632
- };
633
- presetRef?: {
671
+ iconRef?: {
634
672
  docId: string;
635
673
  versionId: string;
636
674
  } | undefined;
675
+ terms: string[];
676
+ color?: string | undefined;
637
677
  docId: string;
638
678
  versionId: string;
639
679
  originalVersionId: string;
@@ -671,30 +711,6 @@ export declare function documentByDocumentIdQueryOptions<D extends WriteableDocu
671
711
  updatedAt: string;
672
712
  links: string[];
673
713
  deleted: boolean;
674
- } & DerivedDocFields) | ({
675
- schemaName: "preset";
676
- name: string;
677
- geometry: ("point" | "vertex" | "line" | "area" | "relation")[];
678
- tags: import("@comapeo/schema/dist/schema/preset.js").Tags;
679
- addTags: import("@comapeo/schema/dist/schema/preset.js").Tags1;
680
- removeTags: import("@comapeo/schema/dist/schema/preset.js").Tags2;
681
- fieldRefs: {
682
- docId: string;
683
- versionId: string;
684
- }[];
685
- iconRef?: {
686
- docId: string;
687
- versionId: string;
688
- } | undefined;
689
- terms: string[];
690
- color?: string | undefined;
691
- docId: string;
692
- versionId: string;
693
- originalVersionId: string;
694
- createdAt: string;
695
- updatedAt: string;
696
- links: string[];
697
- deleted: boolean;
698
714
  } & DerivedDocFields) | ({
699
715
  schemaName: "field";
700
716
  tagKey: string;
@@ -716,28 +732,12 @@ export declare function documentByDocumentIdQueryOptions<D extends WriteableDocu
716
732
  updatedAt: string;
717
733
  links: string[];
718
734
  deleted: boolean;
719
- } & DerivedDocFields) | ({
720
- schemaName: "remoteDetectionAlert";
721
- detectionDateStart: string;
722
- detectionDateEnd: string;
723
- sourceId: string;
724
- metadata: {
725
- [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
726
- };
727
- geometry: import("@comapeo/schema/dist/schema/remoteDetectionAlert.js").Geometry;
728
- docId: string;
729
- versionId: string;
730
- originalVersionId: string;
731
- createdAt: string;
732
- updatedAt: string;
733
- links: string[];
734
- deleted: boolean;
735
735
  } & DerivedDocFields), readonly ["@comapeo/core-react", "projects", string, D, string, {
736
736
  readonly lang: string | undefined;
737
737
  }]>, "queryFn"> & {
738
738
  queryFn?: import("@tanstack/react-query").QueryFunction<({
739
739
  schemaName: "track";
740
- locations: import("@comapeo/schema/dist/schema/track.js").Position[];
740
+ locations: [import("@comapeo/schema/dist/schema/track.js").Position, import("@comapeo/schema/dist/schema/track.js").Position, ...import("@comapeo/schema/dist/schema/track.js").Position[]];
741
741
  observationRefs: {
742
742
  docId: string;
743
743
  versionId: string;
@@ -757,28 +757,14 @@ export declare function documentByDocumentIdQueryOptions<D extends WriteableDocu
757
757
  links: string[];
758
758
  deleted: boolean;
759
759
  } & DerivedDocFields) | ({
760
- schemaName: "observation";
761
- lat?: number | undefined;
762
- lon?: number | undefined;
763
- attachments: import("@comapeo/schema/dist/schema/observation.js").Attachment[];
764
- tags: {
760
+ schemaName: "remoteDetectionAlert";
761
+ detectionDateStart: string;
762
+ detectionDateEnd: string;
763
+ sourceId: string;
764
+ metadata: {
765
765
  [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
766
766
  };
767
- metadata?: {
768
- manualLocation?: boolean;
769
- position?: import("@comapeo/schema/dist/schema/observation.js").Position;
770
- lastSavedPosition?: import("@comapeo/schema/dist/schema/observation.js").Position;
771
- positionProvider?: {
772
- gpsAvailable?: boolean;
773
- passiveAvailable?: boolean;
774
- locationServicesEnabled: boolean;
775
- networkAvailable?: boolean;
776
- };
777
- } | undefined;
778
- presetRef?: {
779
- docId: string;
780
- versionId: string;
781
- } | undefined;
767
+ geometry: import("@comapeo/schema/dist/schema/remoteDetectionAlert.js").Geometry;
782
768
  docId: string;
783
769
  versionId: string;
784
770
  originalVersionId: string;
@@ -810,6 +796,36 @@ export declare function documentByDocumentIdQueryOptions<D extends WriteableDocu
810
796
  updatedAt: string;
811
797
  links: string[];
812
798
  deleted: boolean;
799
+ } & DerivedDocFields) | ({
800
+ schemaName: "observation";
801
+ lat?: number | undefined;
802
+ lon?: number | undefined;
803
+ attachments: import("@comapeo/schema/dist/schema/observation.js").Attachment[];
804
+ tags: {
805
+ [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
806
+ };
807
+ metadata?: {
808
+ manualLocation?: boolean;
809
+ position?: import("@comapeo/schema/dist/schema/observation.js").Position;
810
+ lastSavedPosition?: import("@comapeo/schema/dist/schema/observation.js").Position;
811
+ positionProvider?: {
812
+ gpsAvailable?: boolean;
813
+ passiveAvailable?: boolean;
814
+ locationServicesEnabled: boolean;
815
+ networkAvailable?: boolean;
816
+ };
817
+ } | undefined;
818
+ presetRef?: {
819
+ docId: string;
820
+ versionId: string;
821
+ } | undefined;
822
+ docId: string;
823
+ versionId: string;
824
+ originalVersionId: string;
825
+ createdAt: string;
826
+ updatedAt: string;
827
+ links: string[];
828
+ deleted: boolean;
813
829
  } & DerivedDocFields) | ({
814
830
  schemaName: "field";
815
831
  tagKey: string;
@@ -831,22 +847,6 @@ export declare function documentByDocumentIdQueryOptions<D extends WriteableDocu
831
847
  updatedAt: string;
832
848
  links: string[];
833
849
  deleted: boolean;
834
- } & DerivedDocFields) | ({
835
- schemaName: "remoteDetectionAlert";
836
- detectionDateStart: string;
837
- detectionDateEnd: string;
838
- sourceId: string;
839
- metadata: {
840
- [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
841
- };
842
- geometry: import("@comapeo/schema/dist/schema/remoteDetectionAlert.js").Geometry;
843
- docId: string;
844
- versionId: string;
845
- originalVersionId: string;
846
- createdAt: string;
847
- updatedAt: string;
848
- links: string[];
849
- deleted: boolean;
850
850
  } & DerivedDocFields), readonly ["@comapeo/core-react", "projects", string, D, string, {
851
851
  readonly lang: string | undefined;
852
852
  }], never> | undefined;
@@ -856,7 +856,7 @@ export declare function documentByDocumentIdQueryOptions<D extends WriteableDocu
856
856
  }] & {
857
857
  [dataTagSymbol]: ({
858
858
  schemaName: "track";
859
- locations: import("@comapeo/schema/dist/schema/track.js").Position[];
859
+ locations: [import("@comapeo/schema/dist/schema/track.js").Position, import("@comapeo/schema/dist/schema/track.js").Position, ...import("@comapeo/schema/dist/schema/track.js").Position[]];
860
860
  observationRefs: {
861
861
  docId: string;
862
862
  versionId: string;
@@ -876,28 +876,14 @@ export declare function documentByDocumentIdQueryOptions<D extends WriteableDocu
876
876
  links: string[];
877
877
  deleted: boolean;
878
878
  } & DerivedDocFields) | ({
879
- schemaName: "observation";
880
- lat?: number | undefined;
881
- lon?: number | undefined;
882
- attachments: import("@comapeo/schema/dist/schema/observation.js").Attachment[];
883
- tags: {
879
+ schemaName: "remoteDetectionAlert";
880
+ detectionDateStart: string;
881
+ detectionDateEnd: string;
882
+ sourceId: string;
883
+ metadata: {
884
884
  [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
885
885
  };
886
- metadata?: {
887
- manualLocation?: boolean;
888
- position?: import("@comapeo/schema/dist/schema/observation.js").Position;
889
- lastSavedPosition?: import("@comapeo/schema/dist/schema/observation.js").Position;
890
- positionProvider?: {
891
- gpsAvailable?: boolean;
892
- passiveAvailable?: boolean;
893
- locationServicesEnabled: boolean;
894
- networkAvailable?: boolean;
895
- };
896
- } | undefined;
897
- presetRef?: {
898
- docId: string;
899
- versionId: string;
900
- } | undefined;
886
+ geometry: import("@comapeo/schema/dist/schema/remoteDetectionAlert.js").Geometry;
901
887
  docId: string;
902
888
  versionId: string;
903
889
  originalVersionId: string;
@@ -929,6 +915,36 @@ export declare function documentByDocumentIdQueryOptions<D extends WriteableDocu
929
915
  updatedAt: string;
930
916
  links: string[];
931
917
  deleted: boolean;
918
+ } & DerivedDocFields) | ({
919
+ schemaName: "observation";
920
+ lat?: number | undefined;
921
+ lon?: number | undefined;
922
+ attachments: import("@comapeo/schema/dist/schema/observation.js").Attachment[];
923
+ tags: {
924
+ [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
925
+ };
926
+ metadata?: {
927
+ manualLocation?: boolean;
928
+ position?: import("@comapeo/schema/dist/schema/observation.js").Position;
929
+ lastSavedPosition?: import("@comapeo/schema/dist/schema/observation.js").Position;
930
+ positionProvider?: {
931
+ gpsAvailable?: boolean;
932
+ passiveAvailable?: boolean;
933
+ locationServicesEnabled: boolean;
934
+ networkAvailable?: boolean;
935
+ };
936
+ } | undefined;
937
+ presetRef?: {
938
+ docId: string;
939
+ versionId: string;
940
+ } | undefined;
941
+ docId: string;
942
+ versionId: string;
943
+ originalVersionId: string;
944
+ createdAt: string;
945
+ updatedAt: string;
946
+ links: string[];
947
+ deleted: boolean;
932
948
  } & DerivedDocFields) | ({
933
949
  schemaName: "field";
934
950
  tagKey: string;
@@ -950,22 +966,6 @@ export declare function documentByDocumentIdQueryOptions<D extends WriteableDocu
950
966
  updatedAt: string;
951
967
  links: string[];
952
968
  deleted: boolean;
953
- } & DerivedDocFields) | ({
954
- schemaName: "remoteDetectionAlert";
955
- detectionDateStart: string;
956
- detectionDateEnd: string;
957
- sourceId: string;
958
- metadata: {
959
- [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
960
- };
961
- geometry: import("@comapeo/schema/dist/schema/remoteDetectionAlert.js").Geometry;
962
- docId: string;
963
- versionId: string;
964
- originalVersionId: string;
965
- createdAt: string;
966
- updatedAt: string;
967
- links: string[];
968
- deleted: boolean;
969
969
  } & DerivedDocFields);
970
970
  [dataTagErrorSymbol]: Error;
971
971
  };
@@ -978,18 +978,58 @@ export declare function documentByVersionIdQueryOptions<D extends WriteableDocum
978
978
  lang?: string;
979
979
  }): import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<({
980
980
  schemaName: "track";
981
- locations: import("@comapeo/schema/dist/schema/track.js").Position[];
981
+ locations: [import("@comapeo/schema/dist/schema/track.js").Position, import("@comapeo/schema/dist/schema/track.js").Position, ...import("@comapeo/schema/dist/schema/track.js").Position[]];
982
982
  observationRefs: {
983
983
  docId: string;
984
984
  versionId: string;
985
985
  }[];
986
- tags: {
987
- [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
988
- };
989
- presetRef?: {
986
+ tags: {
987
+ [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
988
+ };
989
+ presetRef?: {
990
+ docId: string;
991
+ versionId: string;
992
+ } | undefined;
993
+ docId: string;
994
+ versionId: string;
995
+ originalVersionId: string;
996
+ createdAt: string;
997
+ updatedAt: string;
998
+ links: string[];
999
+ deleted: boolean;
1000
+ } & DerivedDocFields) | ({
1001
+ schemaName: "remoteDetectionAlert";
1002
+ detectionDateStart: string;
1003
+ detectionDateEnd: string;
1004
+ sourceId: string;
1005
+ metadata: {
1006
+ [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
1007
+ };
1008
+ geometry: import("@comapeo/schema/dist/schema/remoteDetectionAlert.js").Geometry;
1009
+ docId: string;
1010
+ versionId: string;
1011
+ originalVersionId: string;
1012
+ createdAt: string;
1013
+ updatedAt: string;
1014
+ links: string[];
1015
+ deleted: boolean;
1016
+ } & DerivedDocFields) | ({
1017
+ schemaName: "preset";
1018
+ name: string;
1019
+ geometry: ("point" | "vertex" | "line" | "area" | "relation")[];
1020
+ tags: import("@comapeo/schema/dist/schema/preset.js").Tags;
1021
+ addTags: import("@comapeo/schema/dist/schema/preset.js").Tags1;
1022
+ removeTags: import("@comapeo/schema/dist/schema/preset.js").Tags2;
1023
+ fieldRefs: {
1024
+ docId: string;
1025
+ versionId: string;
1026
+ }[];
1027
+ iconRef?: {
990
1028
  docId: string;
991
1029
  versionId: string;
992
1030
  } | undefined;
1031
+ terms: string[];
1032
+ color?: string | undefined;
993
1033
  docId: string;
994
1034
  versionId: string;
995
1035
  originalVersionId: string;
@@ -1027,30 +1067,6 @@ export declare function documentByVersionIdQueryOptions<D extends WriteableDocum
1027
1067
  updatedAt: string;
1028
1068
  links: string[];
1029
1069
  deleted: boolean;
1030
- } & DerivedDocFields) | ({
1031
- schemaName: "preset";
1032
- name: string;
1033
- geometry: ("point" | "vertex" | "line" | "area" | "relation")[];
1034
- tags: import("@comapeo/schema/dist/schema/preset.js").Tags;
1035
- addTags: import("@comapeo/schema/dist/schema/preset.js").Tags1;
1036
- removeTags: import("@comapeo/schema/dist/schema/preset.js").Tags2;
1037
- fieldRefs: {
1038
- docId: string;
1039
- versionId: string;
1040
- }[];
1041
- iconRef?: {
1042
- docId: string;
1043
- versionId: string;
1044
- } | undefined;
1045
- terms: string[];
1046
- color?: string | undefined;
1047
- docId: string;
1048
- versionId: string;
1049
- originalVersionId: string;
1050
- createdAt: string;
1051
- updatedAt: string;
1052
- links: string[];
1053
- deleted: boolean;
1054
1070
  } & DerivedDocFields) | ({
1055
1071
  schemaName: "field";
1056
1072
  tagKey: string;
@@ -1072,6 +1088,27 @@ export declare function documentByVersionIdQueryOptions<D extends WriteableDocum
1072
1088
  updatedAt: string;
1073
1089
  links: string[];
1074
1090
  deleted: boolean;
1091
+ } & DerivedDocFields), Error, ({
1092
+ schemaName: "track";
1093
+ locations: [import("@comapeo/schema/dist/schema/track.js").Position, import("@comapeo/schema/dist/schema/track.js").Position, ...import("@comapeo/schema/dist/schema/track.js").Position[]];
1094
+ observationRefs: {
1095
+ docId: string;
1096
+ versionId: string;
1097
+ }[];
1098
+ tags: {
1099
+ [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
1100
+ };
1101
+ presetRef?: {
1102
+ docId: string;
1103
+ versionId: string;
1104
+ } | undefined;
1105
+ docId: string;
1106
+ versionId: string;
1107
+ originalVersionId: string;
1108
+ createdAt: string;
1109
+ updatedAt: string;
1110
+ links: string[];
1111
+ deleted: boolean;
1075
1112
  } & DerivedDocFields) | ({
1076
1113
  schemaName: "remoteDetectionAlert";
1077
1114
  detectionDateStart: string;
@@ -1088,20 +1125,23 @@ export declare function documentByVersionIdQueryOptions<D extends WriteableDocum
1088
1125
  updatedAt: string;
1089
1126
  links: string[];
1090
1127
  deleted: boolean;
1091
- } & DerivedDocFields), Error, ({
1092
- schemaName: "track";
1093
- locations: import("@comapeo/schema/dist/schema/track.js").Position[];
1094
- observationRefs: {
1128
+ } & DerivedDocFields) | ({
1129
+ schemaName: "preset";
1130
+ name: string;
1131
+ geometry: ("point" | "vertex" | "line" | "area" | "relation")[];
1132
+ tags: import("@comapeo/schema/dist/schema/preset.js").Tags;
1133
+ addTags: import("@comapeo/schema/dist/schema/preset.js").Tags1;
1134
+ removeTags: import("@comapeo/schema/dist/schema/preset.js").Tags2;
1135
+ fieldRefs: {
1095
1136
  docId: string;
1096
1137
  versionId: string;
1097
1138
  }[];
1098
- tags: {
1099
- [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
1100
- };
1101
- presetRef?: {
1139
+ iconRef?: {
1102
1140
  docId: string;
1103
1141
  versionId: string;
1104
1142
  } | undefined;
1143
+ terms: string[];
1144
+ color?: string | undefined;
1105
1145
  docId: string;
1106
1146
  versionId: string;
1107
1147
  originalVersionId: string;
@@ -1139,30 +1179,6 @@ export declare function documentByVersionIdQueryOptions<D extends WriteableDocum
1139
1179
  updatedAt: string;
1140
1180
  links: string[];
1141
1181
  deleted: boolean;
1142
- } & DerivedDocFields) | ({
1143
- schemaName: "preset";
1144
- name: string;
1145
- geometry: ("point" | "vertex" | "line" | "area" | "relation")[];
1146
- tags: import("@comapeo/schema/dist/schema/preset.js").Tags;
1147
- addTags: import("@comapeo/schema/dist/schema/preset.js").Tags1;
1148
- removeTags: import("@comapeo/schema/dist/schema/preset.js").Tags2;
1149
- fieldRefs: {
1150
- docId: string;
1151
- versionId: string;
1152
- }[];
1153
- iconRef?: {
1154
- docId: string;
1155
- versionId: string;
1156
- } | undefined;
1157
- terms: string[];
1158
- color?: string | undefined;
1159
- docId: string;
1160
- versionId: string;
1161
- originalVersionId: string;
1162
- createdAt: string;
1163
- updatedAt: string;
1164
- links: string[];
1165
- deleted: boolean;
1166
1182
  } & DerivedDocFields) | ({
1167
1183
  schemaName: "field";
1168
1184
  tagKey: string;
@@ -1184,28 +1200,12 @@ export declare function documentByVersionIdQueryOptions<D extends WriteableDocum
1184
1200
  updatedAt: string;
1185
1201
  links: string[];
1186
1202
  deleted: boolean;
1187
- } & DerivedDocFields) | ({
1188
- schemaName: "remoteDetectionAlert";
1189
- detectionDateStart: string;
1190
- detectionDateEnd: string;
1191
- sourceId: string;
1192
- metadata: {
1193
- [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
1194
- };
1195
- geometry: import("@comapeo/schema/dist/schema/remoteDetectionAlert.js").Geometry;
1196
- docId: string;
1197
- versionId: string;
1198
- originalVersionId: string;
1199
- createdAt: string;
1200
- updatedAt: string;
1201
- links: string[];
1202
- deleted: boolean;
1203
1203
  } & DerivedDocFields), readonly ["@comapeo/core-react", "projects", string, D, string, {
1204
1204
  readonly lang: string | undefined;
1205
1205
  }]>, "queryFn"> & {
1206
1206
  queryFn?: import("@tanstack/react-query").QueryFunction<({
1207
1207
  schemaName: "track";
1208
- locations: import("@comapeo/schema/dist/schema/track.js").Position[];
1208
+ locations: [import("@comapeo/schema/dist/schema/track.js").Position, import("@comapeo/schema/dist/schema/track.js").Position, ...import("@comapeo/schema/dist/schema/track.js").Position[]];
1209
1209
  observationRefs: {
1210
1210
  docId: string;
1211
1211
  versionId: string;
@@ -1225,28 +1225,14 @@ export declare function documentByVersionIdQueryOptions<D extends WriteableDocum
1225
1225
  links: string[];
1226
1226
  deleted: boolean;
1227
1227
  } & DerivedDocFields) | ({
1228
- schemaName: "observation";
1229
- lat?: number | undefined;
1230
- lon?: number | undefined;
1231
- attachments: import("@comapeo/schema/dist/schema/observation.js").Attachment[];
1232
- tags: {
1228
+ schemaName: "remoteDetectionAlert";
1229
+ detectionDateStart: string;
1230
+ detectionDateEnd: string;
1231
+ sourceId: string;
1232
+ metadata: {
1233
1233
  [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
1234
1234
  };
1235
- metadata?: {
1236
- manualLocation?: boolean;
1237
- position?: import("@comapeo/schema/dist/schema/observation.js").Position;
1238
- lastSavedPosition?: import("@comapeo/schema/dist/schema/observation.js").Position;
1239
- positionProvider?: {
1240
- gpsAvailable?: boolean;
1241
- passiveAvailable?: boolean;
1242
- locationServicesEnabled: boolean;
1243
- networkAvailable?: boolean;
1244
- };
1245
- } | undefined;
1246
- presetRef?: {
1247
- docId: string;
1248
- versionId: string;
1249
- } | undefined;
1235
+ geometry: import("@comapeo/schema/dist/schema/remoteDetectionAlert.js").Geometry;
1250
1236
  docId: string;
1251
1237
  versionId: string;
1252
1238
  originalVersionId: string;
@@ -1278,6 +1264,36 @@ export declare function documentByVersionIdQueryOptions<D extends WriteableDocum
1278
1264
  updatedAt: string;
1279
1265
  links: string[];
1280
1266
  deleted: boolean;
1267
+ } & DerivedDocFields) | ({
1268
+ schemaName: "observation";
1269
+ lat?: number | undefined;
1270
+ lon?: number | undefined;
1271
+ attachments: import("@comapeo/schema/dist/schema/observation.js").Attachment[];
1272
+ tags: {
1273
+ [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
1274
+ };
1275
+ metadata?: {
1276
+ manualLocation?: boolean;
1277
+ position?: import("@comapeo/schema/dist/schema/observation.js").Position;
1278
+ lastSavedPosition?: import("@comapeo/schema/dist/schema/observation.js").Position;
1279
+ positionProvider?: {
1280
+ gpsAvailable?: boolean;
1281
+ passiveAvailable?: boolean;
1282
+ locationServicesEnabled: boolean;
1283
+ networkAvailable?: boolean;
1284
+ };
1285
+ } | undefined;
1286
+ presetRef?: {
1287
+ docId: string;
1288
+ versionId: string;
1289
+ } | undefined;
1290
+ docId: string;
1291
+ versionId: string;
1292
+ originalVersionId: string;
1293
+ createdAt: string;
1294
+ updatedAt: string;
1295
+ links: string[];
1296
+ deleted: boolean;
1281
1297
  } & DerivedDocFields) | ({
1282
1298
  schemaName: "field";
1283
1299
  tagKey: string;
@@ -1299,22 +1315,6 @@ export declare function documentByVersionIdQueryOptions<D extends WriteableDocum
1299
1315
  updatedAt: string;
1300
1316
  links: string[];
1301
1317
  deleted: boolean;
1302
- } & DerivedDocFields) | ({
1303
- schemaName: "remoteDetectionAlert";
1304
- detectionDateStart: string;
1305
- detectionDateEnd: string;
1306
- sourceId: string;
1307
- metadata: {
1308
- [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
1309
- };
1310
- geometry: import("@comapeo/schema/dist/schema/remoteDetectionAlert.js").Geometry;
1311
- docId: string;
1312
- versionId: string;
1313
- originalVersionId: string;
1314
- createdAt: string;
1315
- updatedAt: string;
1316
- links: string[];
1317
- deleted: boolean;
1318
1318
  } & DerivedDocFields), readonly ["@comapeo/core-react", "projects", string, D, string, {
1319
1319
  readonly lang: string | undefined;
1320
1320
  }], never> | undefined;
@@ -1324,7 +1324,7 @@ export declare function documentByVersionIdQueryOptions<D extends WriteableDocum
1324
1324
  }] & {
1325
1325
  [dataTagSymbol]: ({
1326
1326
  schemaName: "track";
1327
- locations: import("@comapeo/schema/dist/schema/track.js").Position[];
1327
+ locations: [import("@comapeo/schema/dist/schema/track.js").Position, import("@comapeo/schema/dist/schema/track.js").Position, ...import("@comapeo/schema/dist/schema/track.js").Position[]];
1328
1328
  observationRefs: {
1329
1329
  docId: string;
1330
1330
  versionId: string;
@@ -1344,28 +1344,14 @@ export declare function documentByVersionIdQueryOptions<D extends WriteableDocum
1344
1344
  links: string[];
1345
1345
  deleted: boolean;
1346
1346
  } & DerivedDocFields) | ({
1347
- schemaName: "observation";
1348
- lat?: number | undefined;
1349
- lon?: number | undefined;
1350
- attachments: import("@comapeo/schema/dist/schema/observation.js").Attachment[];
1351
- tags: {
1347
+ schemaName: "remoteDetectionAlert";
1348
+ detectionDateStart: string;
1349
+ detectionDateEnd: string;
1350
+ sourceId: string;
1351
+ metadata: {
1352
1352
  [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
1353
1353
  };
1354
- metadata?: {
1355
- manualLocation?: boolean;
1356
- position?: import("@comapeo/schema/dist/schema/observation.js").Position;
1357
- lastSavedPosition?: import("@comapeo/schema/dist/schema/observation.js").Position;
1358
- positionProvider?: {
1359
- gpsAvailable?: boolean;
1360
- passiveAvailable?: boolean;
1361
- locationServicesEnabled: boolean;
1362
- networkAvailable?: boolean;
1363
- };
1364
- } | undefined;
1365
- presetRef?: {
1366
- docId: string;
1367
- versionId: string;
1368
- } | undefined;
1354
+ geometry: import("@comapeo/schema/dist/schema/remoteDetectionAlert.js").Geometry;
1369
1355
  docId: string;
1370
1356
  versionId: string;
1371
1357
  originalVersionId: string;
@@ -1397,6 +1383,36 @@ export declare function documentByVersionIdQueryOptions<D extends WriteableDocum
1397
1383
  updatedAt: string;
1398
1384
  links: string[];
1399
1385
  deleted: boolean;
1386
+ } & DerivedDocFields) | ({
1387
+ schemaName: "observation";
1388
+ lat?: number | undefined;
1389
+ lon?: number | undefined;
1390
+ attachments: import("@comapeo/schema/dist/schema/observation.js").Attachment[];
1391
+ tags: {
1392
+ [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
1393
+ };
1394
+ metadata?: {
1395
+ manualLocation?: boolean;
1396
+ position?: import("@comapeo/schema/dist/schema/observation.js").Position;
1397
+ lastSavedPosition?: import("@comapeo/schema/dist/schema/observation.js").Position;
1398
+ positionProvider?: {
1399
+ gpsAvailable?: boolean;
1400
+ passiveAvailable?: boolean;
1401
+ locationServicesEnabled: boolean;
1402
+ networkAvailable?: boolean;
1403
+ };
1404
+ } | undefined;
1405
+ presetRef?: {
1406
+ docId: string;
1407
+ versionId: string;
1408
+ } | undefined;
1409
+ docId: string;
1410
+ versionId: string;
1411
+ originalVersionId: string;
1412
+ createdAt: string;
1413
+ updatedAt: string;
1414
+ links: string[];
1415
+ deleted: boolean;
1400
1416
  } & DerivedDocFields) | ({
1401
1417
  schemaName: "field";
1402
1418
  tagKey: string;
@@ -1418,22 +1434,6 @@ export declare function documentByVersionIdQueryOptions<D extends WriteableDocum
1418
1434
  updatedAt: string;
1419
1435
  links: string[];
1420
1436
  deleted: boolean;
1421
- } & DerivedDocFields) | ({
1422
- schemaName: "remoteDetectionAlert";
1423
- detectionDateStart: string;
1424
- detectionDateEnd: string;
1425
- sourceId: string;
1426
- metadata: {
1427
- [k: string]: boolean | number | string | null | (boolean | number | string | null)[];
1428
- };
1429
- geometry: import("@comapeo/schema/dist/schema/remoteDetectionAlert.js").Geometry;
1430
- docId: string;
1431
- versionId: string;
1432
- originalVersionId: string;
1433
- createdAt: string;
1434
- updatedAt: string;
1435
- links: string[];
1436
- deleted: boolean;
1437
1437
  } & DerivedDocFields);
1438
1438
  [dataTagErrorSymbol]: Error;
1439
1439
  };