@adventurelabs/scout-core 1.4.16 → 1.4.18
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.
- package/dist/helpers/artifacts.d.ts +10 -2
- package/dist/helpers/artifacts.js +10 -6
- package/dist/helpers/bounding_boxes.d.ts +2 -2
- package/dist/helpers/bounding_boxes.js +3 -5
- package/dist/helpers/tags.js +34 -16
- package/dist/providers/ScoutRefreshProvider.d.ts +283 -52
- package/dist/store/api.js +50 -2
- package/dist/types/db.d.ts +1 -0
- package/dist/types/supabase.d.ts +294 -52
- package/package.json +1 -1
package/dist/types/supabase.d.ts
CHANGED
|
@@ -53,6 +53,7 @@ export type Database = {
|
|
|
53
53
|
embedding_qwen_vl_2b: string | null;
|
|
54
54
|
embedding_vertex_mm_01: string | null;
|
|
55
55
|
file_path: string;
|
|
56
|
+
file_size_bytes: number | null;
|
|
56
57
|
id: number;
|
|
57
58
|
modality: string | null;
|
|
58
59
|
session_id: number | null;
|
|
@@ -66,6 +67,7 @@ export type Database = {
|
|
|
66
67
|
embedding_qwen_vl_2b?: string | null;
|
|
67
68
|
embedding_vertex_mm_01?: string | null;
|
|
68
69
|
file_path: string;
|
|
70
|
+
file_size_bytes?: number | null;
|
|
69
71
|
id?: number;
|
|
70
72
|
modality?: string | null;
|
|
71
73
|
session_id?: number | null;
|
|
@@ -79,6 +81,7 @@ export type Database = {
|
|
|
79
81
|
embedding_qwen_vl_2b?: string | null;
|
|
80
82
|
embedding_vertex_mm_01?: string | null;
|
|
81
83
|
file_path?: string;
|
|
84
|
+
file_size_bytes?: number | null;
|
|
82
85
|
id?: number;
|
|
83
86
|
modality?: string | null;
|
|
84
87
|
session_id?: number | null;
|
|
@@ -109,6 +112,7 @@ export type Database = {
|
|
|
109
112
|
expiration: string | null;
|
|
110
113
|
id: number;
|
|
111
114
|
issuer: string;
|
|
115
|
+
part_id: number | null;
|
|
112
116
|
tracking_number: string | null;
|
|
113
117
|
type: string;
|
|
114
118
|
updated_at: string | null;
|
|
@@ -118,6 +122,7 @@ export type Database = {
|
|
|
118
122
|
expiration?: string | null;
|
|
119
123
|
id?: number;
|
|
120
124
|
issuer: string;
|
|
125
|
+
part_id?: number | null;
|
|
121
126
|
tracking_number?: string | null;
|
|
122
127
|
type: string;
|
|
123
128
|
updated_at?: string | null;
|
|
@@ -127,11 +132,20 @@ export type Database = {
|
|
|
127
132
|
expiration?: string | null;
|
|
128
133
|
id?: number;
|
|
129
134
|
issuer?: string;
|
|
135
|
+
part_id?: number | null;
|
|
130
136
|
tracking_number?: string | null;
|
|
131
137
|
type?: string;
|
|
132
138
|
updated_at?: string | null;
|
|
133
139
|
};
|
|
134
|
-
Relationships: [
|
|
140
|
+
Relationships: [
|
|
141
|
+
{
|
|
142
|
+
foreignKeyName: "certificates_part_id_fkey";
|
|
143
|
+
columns: ["part_id"];
|
|
144
|
+
isOneToOne: false;
|
|
145
|
+
referencedRelation: "parts";
|
|
146
|
+
referencedColumns: ["id"];
|
|
147
|
+
}
|
|
148
|
+
];
|
|
135
149
|
};
|
|
136
150
|
chat: {
|
|
137
151
|
Row: {
|
|
@@ -253,6 +267,47 @@ export type Database = {
|
|
|
253
267
|
}
|
|
254
268
|
];
|
|
255
269
|
};
|
|
270
|
+
credentials: {
|
|
271
|
+
Row: {
|
|
272
|
+
created_at: string;
|
|
273
|
+
expiration: string | null;
|
|
274
|
+
id: number;
|
|
275
|
+
issuer: string;
|
|
276
|
+
tracking_number: string | null;
|
|
277
|
+
type: string;
|
|
278
|
+
updated_at: string | null;
|
|
279
|
+
user_id: string;
|
|
280
|
+
};
|
|
281
|
+
Insert: {
|
|
282
|
+
created_at?: string;
|
|
283
|
+
expiration?: string | null;
|
|
284
|
+
id?: number;
|
|
285
|
+
issuer: string;
|
|
286
|
+
tracking_number?: string | null;
|
|
287
|
+
type: string;
|
|
288
|
+
updated_at?: string | null;
|
|
289
|
+
user_id: string;
|
|
290
|
+
};
|
|
291
|
+
Update: {
|
|
292
|
+
created_at?: string;
|
|
293
|
+
expiration?: string | null;
|
|
294
|
+
id?: number;
|
|
295
|
+
issuer?: string;
|
|
296
|
+
tracking_number?: string | null;
|
|
297
|
+
type?: string;
|
|
298
|
+
updated_at?: string | null;
|
|
299
|
+
user_id?: string;
|
|
300
|
+
};
|
|
301
|
+
Relationships: [
|
|
302
|
+
{
|
|
303
|
+
foreignKeyName: "credentials_user_id_fkey";
|
|
304
|
+
columns: ["user_id"];
|
|
305
|
+
isOneToOne: false;
|
|
306
|
+
referencedRelation: "users";
|
|
307
|
+
referencedColumns: ["id"];
|
|
308
|
+
}
|
|
309
|
+
];
|
|
310
|
+
};
|
|
256
311
|
devices: {
|
|
257
312
|
Row: {
|
|
258
313
|
altitude: number | null;
|
|
@@ -540,6 +595,82 @@ export type Database = {
|
|
|
540
595
|
}
|
|
541
596
|
];
|
|
542
597
|
};
|
|
598
|
+
maintenance: {
|
|
599
|
+
Row: {
|
|
600
|
+
created_at: string;
|
|
601
|
+
description: string | null;
|
|
602
|
+
id: number;
|
|
603
|
+
part_id: number;
|
|
604
|
+
timestamp_completion: string;
|
|
605
|
+
type: string | null;
|
|
606
|
+
updated_at: string | null;
|
|
607
|
+
};
|
|
608
|
+
Insert: {
|
|
609
|
+
created_at?: string;
|
|
610
|
+
description?: string | null;
|
|
611
|
+
id?: number;
|
|
612
|
+
part_id: number;
|
|
613
|
+
timestamp_completion: string;
|
|
614
|
+
type?: string | null;
|
|
615
|
+
updated_at?: string | null;
|
|
616
|
+
};
|
|
617
|
+
Update: {
|
|
618
|
+
created_at?: string;
|
|
619
|
+
description?: string | null;
|
|
620
|
+
id?: number;
|
|
621
|
+
part_id?: number;
|
|
622
|
+
timestamp_completion?: string;
|
|
623
|
+
type?: string | null;
|
|
624
|
+
updated_at?: string | null;
|
|
625
|
+
};
|
|
626
|
+
Relationships: [
|
|
627
|
+
{
|
|
628
|
+
foreignKeyName: "maintenance_part_id_fkey";
|
|
629
|
+
columns: ["part_id"];
|
|
630
|
+
isOneToOne: false;
|
|
631
|
+
referencedRelation: "parts";
|
|
632
|
+
referencedColumns: ["id"];
|
|
633
|
+
}
|
|
634
|
+
];
|
|
635
|
+
};
|
|
636
|
+
observations: {
|
|
637
|
+
Row: {
|
|
638
|
+
action_complete: boolean;
|
|
639
|
+
action_required: string | null;
|
|
640
|
+
description: string;
|
|
641
|
+
id: number;
|
|
642
|
+
inserted_at: string;
|
|
643
|
+
session_id: number;
|
|
644
|
+
updated_at: string | null;
|
|
645
|
+
};
|
|
646
|
+
Insert: {
|
|
647
|
+
action_complete?: boolean;
|
|
648
|
+
action_required?: string | null;
|
|
649
|
+
description: string;
|
|
650
|
+
id?: number;
|
|
651
|
+
inserted_at?: string;
|
|
652
|
+
session_id: number;
|
|
653
|
+
updated_at?: string | null;
|
|
654
|
+
};
|
|
655
|
+
Update: {
|
|
656
|
+
action_complete?: boolean;
|
|
657
|
+
action_required?: string | null;
|
|
658
|
+
description?: string;
|
|
659
|
+
id?: number;
|
|
660
|
+
inserted_at?: string;
|
|
661
|
+
session_id?: number;
|
|
662
|
+
updated_at?: string | null;
|
|
663
|
+
};
|
|
664
|
+
Relationships: [
|
|
665
|
+
{
|
|
666
|
+
foreignKeyName: "observations_session_id_fkey";
|
|
667
|
+
columns: ["session_id"];
|
|
668
|
+
isOneToOne: false;
|
|
669
|
+
referencedRelation: "sessions";
|
|
670
|
+
referencedColumns: ["id"];
|
|
671
|
+
}
|
|
672
|
+
];
|
|
673
|
+
};
|
|
543
674
|
operators: {
|
|
544
675
|
Row: {
|
|
545
676
|
action: string | null;
|
|
@@ -759,13 +890,14 @@ export type Database = {
|
|
|
759
890
|
altitude_average: number;
|
|
760
891
|
altitude_max: number;
|
|
761
892
|
altitude_min: number;
|
|
893
|
+
battery_id: number | null;
|
|
762
894
|
device_id: number;
|
|
763
895
|
distance_max_from_start: number;
|
|
764
896
|
distance_total: number;
|
|
765
|
-
earthranger_url: string | null;
|
|
766
897
|
id: number;
|
|
767
898
|
inserted_at: string;
|
|
768
899
|
locations: unknown;
|
|
900
|
+
post_approver: string | null;
|
|
769
901
|
software_version: string;
|
|
770
902
|
timestamp_end: string | null;
|
|
771
903
|
timestamp_start: string;
|
|
@@ -777,13 +909,14 @@ export type Database = {
|
|
|
777
909
|
altitude_average: number;
|
|
778
910
|
altitude_max: number;
|
|
779
911
|
altitude_min: number;
|
|
912
|
+
battery_id?: number | null;
|
|
780
913
|
device_id: number;
|
|
781
914
|
distance_max_from_start: number;
|
|
782
915
|
distance_total: number;
|
|
783
|
-
earthranger_url?: string | null;
|
|
784
916
|
id?: number;
|
|
785
917
|
inserted_at?: string;
|
|
786
918
|
locations?: unknown;
|
|
919
|
+
post_approver?: string | null;
|
|
787
920
|
software_version: string;
|
|
788
921
|
timestamp_end?: string | null;
|
|
789
922
|
timestamp_start: string;
|
|
@@ -795,13 +928,14 @@ export type Database = {
|
|
|
795
928
|
altitude_average?: number;
|
|
796
929
|
altitude_max?: number;
|
|
797
930
|
altitude_min?: number;
|
|
931
|
+
battery_id?: number | null;
|
|
798
932
|
device_id?: number;
|
|
799
933
|
distance_max_from_start?: number;
|
|
800
934
|
distance_total?: number;
|
|
801
|
-
earthranger_url?: string | null;
|
|
802
935
|
id?: number;
|
|
803
936
|
inserted_at?: string;
|
|
804
937
|
locations?: unknown;
|
|
938
|
+
post_approver?: string | null;
|
|
805
939
|
software_version?: string;
|
|
806
940
|
timestamp_end?: string | null;
|
|
807
941
|
timestamp_start?: string;
|
|
@@ -810,56 +944,116 @@ export type Database = {
|
|
|
810
944
|
velocity_min?: number;
|
|
811
945
|
};
|
|
812
946
|
Relationships: [
|
|
947
|
+
{
|
|
948
|
+
foreignKeyName: "sessions_battery_id_fkey";
|
|
949
|
+
columns: ["battery_id"];
|
|
950
|
+
isOneToOne: false;
|
|
951
|
+
referencedRelation: "parts";
|
|
952
|
+
referencedColumns: ["id"];
|
|
953
|
+
},
|
|
813
954
|
{
|
|
814
955
|
foreignKeyName: "sessions_device_id_fkey";
|
|
815
956
|
columns: ["device_id"];
|
|
816
957
|
isOneToOne: false;
|
|
817
958
|
referencedRelation: "devices";
|
|
818
959
|
referencedColumns: ["id"];
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
foreignKeyName: "sessions_post_approver_fkey";
|
|
963
|
+
columns: ["post_approver"];
|
|
964
|
+
isOneToOne: false;
|
|
965
|
+
referencedRelation: "users";
|
|
966
|
+
referencedColumns: ["id"];
|
|
819
967
|
}
|
|
820
968
|
];
|
|
821
969
|
};
|
|
822
970
|
tags: {
|
|
823
971
|
Row: {
|
|
824
|
-
|
|
972
|
+
artifact_id: number | null;
|
|
973
|
+
class: string;
|
|
825
974
|
conf: number;
|
|
826
|
-
|
|
975
|
+
detector: string;
|
|
976
|
+
event_id: number | null;
|
|
827
977
|
height: number;
|
|
828
978
|
id: number;
|
|
829
979
|
inserted_at: string;
|
|
830
980
|
location: unknown;
|
|
831
981
|
observation_type: Database["public"]["Enums"]["tag_observation_type"];
|
|
982
|
+
origin_heading: number | null;
|
|
983
|
+
origin_height: number | null;
|
|
984
|
+
origin_location: unknown;
|
|
985
|
+
origin_pitch: number | null;
|
|
986
|
+
origin_roll: number | null;
|
|
987
|
+
sensor_pitch: number | null;
|
|
988
|
+
sensor_roll: number | null;
|
|
989
|
+
sensor_yaw: number | null;
|
|
990
|
+
subject_height: number | null;
|
|
991
|
+
subject_location: unknown;
|
|
992
|
+
timestamp_observation: string | null;
|
|
832
993
|
width: number;
|
|
833
994
|
x: number;
|
|
834
995
|
y: number;
|
|
835
996
|
};
|
|
836
997
|
Insert: {
|
|
837
|
-
|
|
998
|
+
artifact_id?: number | null;
|
|
999
|
+
class: string;
|
|
838
1000
|
conf: number;
|
|
839
|
-
|
|
1001
|
+
detector?: string;
|
|
1002
|
+
event_id?: number | null;
|
|
840
1003
|
height?: number;
|
|
841
1004
|
id?: number;
|
|
842
1005
|
inserted_at?: string;
|
|
843
1006
|
location?: unknown;
|
|
844
1007
|
observation_type: Database["public"]["Enums"]["tag_observation_type"];
|
|
1008
|
+
origin_heading?: number | null;
|
|
1009
|
+
origin_height?: number | null;
|
|
1010
|
+
origin_location?: unknown;
|
|
1011
|
+
origin_pitch?: number | null;
|
|
1012
|
+
origin_roll?: number | null;
|
|
1013
|
+
sensor_pitch?: number | null;
|
|
1014
|
+
sensor_roll?: number | null;
|
|
1015
|
+
sensor_yaw?: number | null;
|
|
1016
|
+
subject_height?: number | null;
|
|
1017
|
+
subject_location?: unknown;
|
|
1018
|
+
timestamp_observation?: string | null;
|
|
845
1019
|
width: number;
|
|
846
1020
|
x: number;
|
|
847
1021
|
y: number;
|
|
848
1022
|
};
|
|
849
1023
|
Update: {
|
|
850
|
-
|
|
1024
|
+
artifact_id?: number | null;
|
|
1025
|
+
class?: string;
|
|
851
1026
|
conf?: number;
|
|
852
|
-
|
|
1027
|
+
detector?: string;
|
|
1028
|
+
event_id?: number | null;
|
|
853
1029
|
height?: number;
|
|
854
1030
|
id?: number;
|
|
855
1031
|
inserted_at?: string;
|
|
856
1032
|
location?: unknown;
|
|
857
1033
|
observation_type?: Database["public"]["Enums"]["tag_observation_type"];
|
|
1034
|
+
origin_heading?: number | null;
|
|
1035
|
+
origin_height?: number | null;
|
|
1036
|
+
origin_location?: unknown;
|
|
1037
|
+
origin_pitch?: number | null;
|
|
1038
|
+
origin_roll?: number | null;
|
|
1039
|
+
sensor_pitch?: number | null;
|
|
1040
|
+
sensor_roll?: number | null;
|
|
1041
|
+
sensor_yaw?: number | null;
|
|
1042
|
+
subject_height?: number | null;
|
|
1043
|
+
subject_location?: unknown;
|
|
1044
|
+
timestamp_observation?: string | null;
|
|
858
1045
|
width?: number;
|
|
859
1046
|
x?: number;
|
|
860
1047
|
y?: number;
|
|
861
1048
|
};
|
|
862
1049
|
Relationships: [
|
|
1050
|
+
{
|
|
1051
|
+
foreignKeyName: "tags_artifact_id_fkey";
|
|
1052
|
+
columns: ["artifact_id"];
|
|
1053
|
+
isOneToOne: false;
|
|
1054
|
+
referencedRelation: "artifacts";
|
|
1055
|
+
referencedColumns: ["id"];
|
|
1056
|
+
},
|
|
863
1057
|
{
|
|
864
1058
|
foreignKeyName: "tags_event_id_fkey";
|
|
865
1059
|
columns: ["event_id"];
|
|
@@ -1223,6 +1417,7 @@ export type Database = {
|
|
|
1223
1417
|
embedding_qwen_vl_2b: string | null;
|
|
1224
1418
|
embedding_vertex_mm_01: string | null;
|
|
1225
1419
|
file_path: string;
|
|
1420
|
+
file_size_bytes: number | null;
|
|
1226
1421
|
id: number;
|
|
1227
1422
|
modality: string | null;
|
|
1228
1423
|
session_id: number | null;
|
|
@@ -1248,6 +1443,34 @@ export type Database = {
|
|
|
1248
1443
|
embedding_qwen_vl_2b: string | null;
|
|
1249
1444
|
embedding_vertex_mm_01: string | null;
|
|
1250
1445
|
file_path: string;
|
|
1446
|
+
file_size_bytes: number | null;
|
|
1447
|
+
id: number;
|
|
1448
|
+
modality: string | null;
|
|
1449
|
+
session_id: number | null;
|
|
1450
|
+
timestamp_observation: string | null;
|
|
1451
|
+
timestamp_observation_end: string;
|
|
1452
|
+
updated_at: string | null;
|
|
1453
|
+
}[];
|
|
1454
|
+
SetofOptions: {
|
|
1455
|
+
from: "*";
|
|
1456
|
+
to: "artifacts";
|
|
1457
|
+
isOneToOne: false;
|
|
1458
|
+
isSetofReturn: true;
|
|
1459
|
+
};
|
|
1460
|
+
} | {
|
|
1461
|
+
Args: {
|
|
1462
|
+
device_ids: number[];
|
|
1463
|
+
end_timestamp?: string;
|
|
1464
|
+
limit_per_device?: number;
|
|
1465
|
+
start_timestamp?: string;
|
|
1466
|
+
};
|
|
1467
|
+
Returns: {
|
|
1468
|
+
created_at: string;
|
|
1469
|
+
device_id: number;
|
|
1470
|
+
embedding_qwen_vl_2b: string | null;
|
|
1471
|
+
embedding_vertex_mm_01: string | null;
|
|
1472
|
+
file_path: string;
|
|
1473
|
+
file_size_bytes: number | null;
|
|
1251
1474
|
id: number;
|
|
1252
1475
|
modality: string | null;
|
|
1253
1476
|
session_id: number | null;
|
|
@@ -1274,6 +1497,35 @@ export type Database = {
|
|
|
1274
1497
|
embedding_qwen_vl_2b: string | null;
|
|
1275
1498
|
embedding_vertex_mm_01: string | null;
|
|
1276
1499
|
file_path: string;
|
|
1500
|
+
file_size_bytes: number | null;
|
|
1501
|
+
id: number;
|
|
1502
|
+
modality: string | null;
|
|
1503
|
+
session_id: number | null;
|
|
1504
|
+
timestamp_observation: string | null;
|
|
1505
|
+
timestamp_observation_end: string;
|
|
1506
|
+
updated_at: string | null;
|
|
1507
|
+
}[];
|
|
1508
|
+
SetofOptions: {
|
|
1509
|
+
from: "*";
|
|
1510
|
+
to: "artifacts";
|
|
1511
|
+
isOneToOne: false;
|
|
1512
|
+
isSetofReturn: true;
|
|
1513
|
+
};
|
|
1514
|
+
} | {
|
|
1515
|
+
Args: {
|
|
1516
|
+
end_timestamp?: string;
|
|
1517
|
+
herd_id_caller: number;
|
|
1518
|
+
limit_caller?: number;
|
|
1519
|
+
offset_caller?: number;
|
|
1520
|
+
start_timestamp?: string;
|
|
1521
|
+
};
|
|
1522
|
+
Returns: {
|
|
1523
|
+
created_at: string;
|
|
1524
|
+
device_id: number;
|
|
1525
|
+
embedding_qwen_vl_2b: string | null;
|
|
1526
|
+
embedding_vertex_mm_01: string | null;
|
|
1527
|
+
file_path: string;
|
|
1528
|
+
file_size_bytes: number | null;
|
|
1277
1529
|
id: number;
|
|
1278
1530
|
modality: string | null;
|
|
1279
1531
|
session_id: number | null;
|
|
@@ -1301,6 +1553,7 @@ export type Database = {
|
|
|
1301
1553
|
embedding_qwen_vl_2b: string | null;
|
|
1302
1554
|
embedding_vertex_mm_01: string | null;
|
|
1303
1555
|
file_path: string;
|
|
1556
|
+
file_size_bytes: number | null;
|
|
1304
1557
|
id: number;
|
|
1305
1558
|
modality: string | null;
|
|
1306
1559
|
session_id: number | null;
|
|
@@ -1328,6 +1581,7 @@ export type Database = {
|
|
|
1328
1581
|
embedding_qwen_vl_2b: string | null;
|
|
1329
1582
|
embedding_vertex_mm_01: string | null;
|
|
1330
1583
|
file_path: string;
|
|
1584
|
+
file_size_bytes: number | null;
|
|
1331
1585
|
id: number;
|
|
1332
1586
|
modality: string | null;
|
|
1333
1587
|
session_id: number | null;
|
|
@@ -1713,22 +1967,10 @@ export type Database = {
|
|
|
1713
1967
|
match_threshold: number;
|
|
1714
1968
|
query_embedding: string;
|
|
1715
1969
|
};
|
|
1716
|
-
Returns:
|
|
1717
|
-
created_at: string;
|
|
1718
|
-
device_id: number;
|
|
1719
|
-
embedding_qwen_vl_2b: string | null;
|
|
1720
|
-
embedding_vertex_mm_01: string | null;
|
|
1721
|
-
file_path: string;
|
|
1722
|
-
id: number;
|
|
1723
|
-
modality: string | null;
|
|
1724
|
-
session_id: number | null;
|
|
1725
|
-
timestamp_observation: string | null;
|
|
1726
|
-
timestamp_observation_end: string;
|
|
1727
|
-
updated_at: string | null;
|
|
1728
|
-
}[];
|
|
1970
|
+
Returns: Database["public"]["CompositeTypes"]["embedding_match"][];
|
|
1729
1971
|
SetofOptions: {
|
|
1730
1972
|
from: "*";
|
|
1731
|
-
to: "
|
|
1973
|
+
to: "embedding_match";
|
|
1732
1974
|
isOneToOne: false;
|
|
1733
1975
|
isSetofReturn: true;
|
|
1734
1976
|
};
|
|
@@ -1740,27 +1982,10 @@ export type Database = {
|
|
|
1740
1982
|
match_threshold: number;
|
|
1741
1983
|
query_embedding: string;
|
|
1742
1984
|
};
|
|
1743
|
-
Returns:
|
|
1744
|
-
altitude: number;
|
|
1745
|
-
device_id: number;
|
|
1746
|
-
earthranger_url: string | null;
|
|
1747
|
-
embedding_qwen_vl_2b: string | null;
|
|
1748
|
-
embedding_vertex_mm_01: string | null;
|
|
1749
|
-
file_path: string | null;
|
|
1750
|
-
heading: number;
|
|
1751
|
-
id: number;
|
|
1752
|
-
inserted_at: string;
|
|
1753
|
-
is_public: boolean;
|
|
1754
|
-
location: unknown;
|
|
1755
|
-
media_type: Database["public"]["Enums"]["media_type"];
|
|
1756
|
-
media_url: string | null;
|
|
1757
|
-
message: string | null;
|
|
1758
|
-
session_id: number | null;
|
|
1759
|
-
timestamp_observation: string;
|
|
1760
|
-
}[];
|
|
1985
|
+
Returns: Database["public"]["CompositeTypes"]["embedding_match"][];
|
|
1761
1986
|
SetofOptions: {
|
|
1762
1987
|
from: "*";
|
|
1763
|
-
to: "
|
|
1988
|
+
to: "embedding_match";
|
|
1764
1989
|
isOneToOne: false;
|
|
1765
1990
|
isSetofReturn: true;
|
|
1766
1991
|
};
|
|
@@ -1839,6 +2064,10 @@ export type Database = {
|
|
|
1839
2064
|
latitude: number | null;
|
|
1840
2065
|
longitude: number | null;
|
|
1841
2066
|
};
|
|
2067
|
+
embedding_match: {
|
|
2068
|
+
id: number | null;
|
|
2069
|
+
confidence: number | null;
|
|
2070
|
+
};
|
|
1842
2071
|
event_and_tags: {
|
|
1843
2072
|
id: number | null;
|
|
1844
2073
|
inserted_at: string | null;
|
|
@@ -1953,17 +2182,30 @@ export type Database = {
|
|
|
1953
2182
|
tags_pretty_location: {
|
|
1954
2183
|
id: number | null;
|
|
1955
2184
|
inserted_at: string | null;
|
|
1956
|
-
|
|
1957
|
-
y: number | null;
|
|
1958
|
-
width: number | null;
|
|
1959
|
-
conf: number | null;
|
|
1960
|
-
observation_type: Database["public"]["Enums"]["tag_observation_type"] | null;
|
|
2185
|
+
artifact_id: number | null;
|
|
1961
2186
|
event_id: number | null;
|
|
1962
|
-
|
|
2187
|
+
detector: string | null;
|
|
2188
|
+
width: number | null;
|
|
1963
2189
|
height: number | null;
|
|
1964
|
-
|
|
1965
|
-
|
|
1966
|
-
|
|
2190
|
+
conf: number | null;
|
|
2191
|
+
x: number | null;
|
|
2192
|
+
y: number | null;
|
|
2193
|
+
class: string | null;
|
|
2194
|
+
timestamp_observation: string | null;
|
|
2195
|
+
origin_location: unknown;
|
|
2196
|
+
origin_pitch: number | null;
|
|
2197
|
+
origin_heading: number | null;
|
|
2198
|
+
origin_roll: number | null;
|
|
2199
|
+
sensor_pitch: number | null;
|
|
2200
|
+
sensor_yaw: number | null;
|
|
2201
|
+
sensor_roll: number | null;
|
|
2202
|
+
origin_height: number | null;
|
|
2203
|
+
subject_location: unknown;
|
|
2204
|
+
subject_height: number | null;
|
|
2205
|
+
origin_latitude: number | null;
|
|
2206
|
+
origin_longitude: number | null;
|
|
2207
|
+
subject_latitude: number | null;
|
|
2208
|
+
subject_longitude: number | null;
|
|
1967
2209
|
};
|
|
1968
2210
|
zones_and_actions_pretty_location: {
|
|
1969
2211
|
id: number | null;
|