@adventurelabs/scout-core 1.4.17 → 1.4.19

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.
@@ -33,6 +33,9 @@ export type IHealthMetricSummaryRow = Database["public"]["Functions"]["get_healt
33
33
  export type IArtifactWithMediaUrl = IArtifact & {
34
34
  media_url?: string | null;
35
35
  };
36
+ export type IEventWithMediaUrl = IEvent & {
37
+ media_url?: string | null;
38
+ };
36
39
  export type IVersionsSoftwareWithBuildUrl = IVersionsSoftware & {
37
40
  build_artifact_url?: string | null;
38
41
  };
@@ -66,6 +69,7 @@ export type ConnectivityInsert = Database["public"]["Tables"]["connectivity"]["I
66
69
  export type ConnectivityUpdate = Database["public"]["Tables"]["connectivity"]["Update"];
67
70
  export type EventInsert = Database["public"]["Tables"]["events"]["Insert"];
68
71
  export type EventUpdate = Database["public"]["Tables"]["events"]["Update"];
72
+ export type TagInsert = Database["public"]["Tables"]["tags"]["Insert"];
69
73
  export type IEventWithTags = Database["public"]["CompositeTypes"]["event_with_tags"] & {
70
74
  earthranger_url: string | null;
71
75
  file_path: string | null;
@@ -74,6 +78,16 @@ export type IDevicePrettyLocation = Database["public"]["CompositeTypes"]["device
74
78
  export type IEventAndTagsPrettyLocation = Database["public"]["CompositeTypes"]["event_and_tags_pretty_location"];
75
79
  export type IZonesAndActionsPrettyLocation = Database["public"]["CompositeTypes"]["zones_and_actions_pretty_location"];
76
80
  export type IHerdPrettyLocation = Database["public"]["CompositeTypes"]["herds_pretty_location"];
81
+ export type IFeedItemRow = Database["public"]["CompositeTypes"]["feed_item"];
82
+ export type IFeedItem = {
83
+ feed_type: string | null;
84
+ sort_ts: string | null;
85
+ sort_id: number | null;
86
+ event_data: (IEventAndTagsPrettyLocation & {
87
+ media_url?: string | null;
88
+ }) | null;
89
+ artifact_data: IArtifactWithMediaUrl | null;
90
+ };
77
91
  export type ISessionWithCoordinates = Database["public"]["CompositeTypes"]["session_with_coordinates"];
78
92
  export type IConnectivityWithCoordinates = Database["public"]["CompositeTypes"]["connectivity_with_coordinates"];
79
93
  export type IDeviceHeartbeatAnalysis = Database["public"]["CompositeTypes"]["device_heartbeat_analysis"];
@@ -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,119 @@ 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
- class_name: string;
972
+ artifact_id: number | null;
973
+ class: string;
825
974
  conf: number;
826
- event_id: number;
975
+ detector: string;
976
+ event_id: number | null;
977
+ frame_index: number | null;
827
978
  height: number;
828
979
  id: number;
829
980
  inserted_at: string;
830
981
  location: unknown;
831
982
  observation_type: Database["public"]["Enums"]["tag_observation_type"];
983
+ origin_heading: number | null;
984
+ origin_height: number | null;
985
+ origin_location: unknown;
986
+ origin_pitch: number | null;
987
+ origin_roll: number | null;
988
+ sensor_pitch: number | null;
989
+ sensor_roll: number | null;
990
+ sensor_yaw: number | null;
991
+ subject_height: number | null;
992
+ subject_location: unknown;
993
+ timestamp_observation: string | null;
832
994
  width: number;
833
995
  x: number;
834
996
  y: number;
835
997
  };
836
998
  Insert: {
837
- class_name: string;
999
+ artifact_id?: number | null;
1000
+ class: string;
838
1001
  conf: number;
839
- event_id: number;
1002
+ detector?: string;
1003
+ event_id?: number | null;
1004
+ frame_index?: number | null;
840
1005
  height?: number;
841
1006
  id?: number;
842
1007
  inserted_at?: string;
843
1008
  location?: unknown;
844
1009
  observation_type: Database["public"]["Enums"]["tag_observation_type"];
1010
+ origin_heading?: number | null;
1011
+ origin_height?: number | null;
1012
+ origin_location?: unknown;
1013
+ origin_pitch?: number | null;
1014
+ origin_roll?: number | null;
1015
+ sensor_pitch?: number | null;
1016
+ sensor_roll?: number | null;
1017
+ sensor_yaw?: number | null;
1018
+ subject_height?: number | null;
1019
+ subject_location?: unknown;
1020
+ timestamp_observation?: string | null;
845
1021
  width: number;
846
1022
  x: number;
847
1023
  y: number;
848
1024
  };
849
1025
  Update: {
850
- class_name?: string;
1026
+ artifact_id?: number | null;
1027
+ class?: string;
851
1028
  conf?: number;
852
- event_id?: number;
1029
+ detector?: string;
1030
+ event_id?: number | null;
1031
+ frame_index?: number | null;
853
1032
  height?: number;
854
1033
  id?: number;
855
1034
  inserted_at?: string;
856
1035
  location?: unknown;
857
1036
  observation_type?: Database["public"]["Enums"]["tag_observation_type"];
1037
+ origin_heading?: number | null;
1038
+ origin_height?: number | null;
1039
+ origin_location?: unknown;
1040
+ origin_pitch?: number | null;
1041
+ origin_roll?: number | null;
1042
+ sensor_pitch?: number | null;
1043
+ sensor_roll?: number | null;
1044
+ sensor_yaw?: number | null;
1045
+ subject_height?: number | null;
1046
+ subject_location?: unknown;
1047
+ timestamp_observation?: string | null;
858
1048
  width?: number;
859
1049
  x?: number;
860
1050
  y?: number;
861
1051
  };
862
1052
  Relationships: [
1053
+ {
1054
+ foreignKeyName: "tags_artifact_id_fkey";
1055
+ columns: ["artifact_id"];
1056
+ isOneToOne: false;
1057
+ referencedRelation: "artifacts";
1058
+ referencedColumns: ["id"];
1059
+ },
863
1060
  {
864
1061
  foreignKeyName: "tags_event_id_fkey";
865
1062
  columns: ["event_id"];
@@ -1223,6 +1420,7 @@ export type Database = {
1223
1420
  embedding_qwen_vl_2b: string | null;
1224
1421
  embedding_vertex_mm_01: string | null;
1225
1422
  file_path: string;
1423
+ file_size_bytes: number | null;
1226
1424
  id: number;
1227
1425
  modality: string | null;
1228
1426
  session_id: number | null;
@@ -1248,6 +1446,34 @@ export type Database = {
1248
1446
  embedding_qwen_vl_2b: string | null;
1249
1447
  embedding_vertex_mm_01: string | null;
1250
1448
  file_path: string;
1449
+ file_size_bytes: number | null;
1450
+ id: number;
1451
+ modality: string | null;
1452
+ session_id: number | null;
1453
+ timestamp_observation: string | null;
1454
+ timestamp_observation_end: string;
1455
+ updated_at: string | null;
1456
+ }[];
1457
+ SetofOptions: {
1458
+ from: "*";
1459
+ to: "artifacts";
1460
+ isOneToOne: false;
1461
+ isSetofReturn: true;
1462
+ };
1463
+ } | {
1464
+ Args: {
1465
+ device_ids: number[];
1466
+ end_timestamp?: string;
1467
+ limit_per_device?: number;
1468
+ start_timestamp?: string;
1469
+ };
1470
+ Returns: {
1471
+ created_at: string;
1472
+ device_id: number;
1473
+ embedding_qwen_vl_2b: string | null;
1474
+ embedding_vertex_mm_01: string | null;
1475
+ file_path: string;
1476
+ file_size_bytes: number | null;
1251
1477
  id: number;
1252
1478
  modality: string | null;
1253
1479
  session_id: number | null;
@@ -1274,6 +1500,35 @@ export type Database = {
1274
1500
  embedding_qwen_vl_2b: string | null;
1275
1501
  embedding_vertex_mm_01: string | null;
1276
1502
  file_path: string;
1503
+ file_size_bytes: number | null;
1504
+ id: number;
1505
+ modality: string | null;
1506
+ session_id: number | null;
1507
+ timestamp_observation: string | null;
1508
+ timestamp_observation_end: string;
1509
+ updated_at: string | null;
1510
+ }[];
1511
+ SetofOptions: {
1512
+ from: "*";
1513
+ to: "artifacts";
1514
+ isOneToOne: false;
1515
+ isSetofReturn: true;
1516
+ };
1517
+ } | {
1518
+ Args: {
1519
+ end_timestamp?: string;
1520
+ herd_id_caller: number;
1521
+ limit_caller?: number;
1522
+ offset_caller?: number;
1523
+ start_timestamp?: string;
1524
+ };
1525
+ Returns: {
1526
+ created_at: string;
1527
+ device_id: number;
1528
+ embedding_qwen_vl_2b: string | null;
1529
+ embedding_vertex_mm_01: string | null;
1530
+ file_path: string;
1531
+ file_size_bytes: number | null;
1277
1532
  id: number;
1278
1533
  modality: string | null;
1279
1534
  session_id: number | null;
@@ -1301,6 +1556,7 @@ export type Database = {
1301
1556
  embedding_qwen_vl_2b: string | null;
1302
1557
  embedding_vertex_mm_01: string | null;
1303
1558
  file_path: string;
1559
+ file_size_bytes: number | null;
1304
1560
  id: number;
1305
1561
  modality: string | null;
1306
1562
  session_id: number | null;
@@ -1328,6 +1584,7 @@ export type Database = {
1328
1584
  embedding_qwen_vl_2b: string | null;
1329
1585
  embedding_vertex_mm_01: string | null;
1330
1586
  file_path: string;
1587
+ file_size_bytes: number | null;
1331
1588
  id: number;
1332
1589
  modality: string | null;
1333
1590
  session_id: number | null;
@@ -1507,6 +1764,38 @@ export type Database = {
1507
1764
  isSetofReturn: true;
1508
1765
  };
1509
1766
  };
1767
+ get_feed_infinite_by_device: {
1768
+ Args: {
1769
+ cursor_feed_type?: string;
1770
+ cursor_id?: number;
1771
+ cursor_timestamp?: string;
1772
+ device_id_caller: number;
1773
+ limit_caller?: number;
1774
+ };
1775
+ Returns: Database["public"]["CompositeTypes"]["feed_item"][];
1776
+ SetofOptions: {
1777
+ from: "*";
1778
+ to: "feed_item";
1779
+ isOneToOne: false;
1780
+ isSetofReturn: true;
1781
+ };
1782
+ };
1783
+ get_feed_infinite_by_herd: {
1784
+ Args: {
1785
+ cursor_feed_type?: string;
1786
+ cursor_id?: number;
1787
+ cursor_timestamp?: string;
1788
+ herd_id_caller: number;
1789
+ limit_caller?: number;
1790
+ };
1791
+ Returns: Database["public"]["CompositeTypes"]["feed_item"][];
1792
+ SetofOptions: {
1793
+ from: "*";
1794
+ to: "feed_item";
1795
+ isOneToOne: false;
1796
+ isSetofReturn: true;
1797
+ };
1798
+ };
1510
1799
  get_health_metrics_summary: {
1511
1800
  Args: {
1512
1801
  p_device_id: number;
@@ -1713,22 +2002,10 @@ export type Database = {
1713
2002
  match_threshold: number;
1714
2003
  query_embedding: string;
1715
2004
  };
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
- }[];
2005
+ Returns: Database["public"]["CompositeTypes"]["embedding_match"][];
1729
2006
  SetofOptions: {
1730
2007
  from: "*";
1731
- to: "artifacts";
2008
+ to: "embedding_match";
1732
2009
  isOneToOne: false;
1733
2010
  isSetofReturn: true;
1734
2011
  };
@@ -1740,27 +2017,10 @@ export type Database = {
1740
2017
  match_threshold: number;
1741
2018
  query_embedding: string;
1742
2019
  };
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
- }[];
2020
+ Returns: Database["public"]["CompositeTypes"]["embedding_match"][];
1761
2021
  SetofOptions: {
1762
2022
  from: "*";
1763
- to: "events";
2023
+ to: "embedding_match";
1764
2024
  isOneToOne: false;
1765
2025
  isSetofReturn: true;
1766
2026
  };
@@ -1839,6 +2099,10 @@ export type Database = {
1839
2099
  latitude: number | null;
1840
2100
  longitude: number | null;
1841
2101
  };
2102
+ embedding_match: {
2103
+ id: number | null;
2104
+ confidence: number | null;
2105
+ };
1842
2106
  event_and_tags: {
1843
2107
  id: number | null;
1844
2108
  inserted_at: string | null;
@@ -1904,6 +2168,13 @@ export type Database = {
1904
2168
  is_public: boolean | null;
1905
2169
  tags: Database["public"]["Tables"]["tags"]["Row"][] | null;
1906
2170
  };
2171
+ feed_item: {
2172
+ feed_type: string | null;
2173
+ sort_ts: string | null;
2174
+ sort_id: number | null;
2175
+ event_data: Database["public"]["CompositeTypes"]["event_and_tags_pretty_location"] | null;
2176
+ artifact_data: Database["public"]["Tables"]["artifacts"]["Row"] | null;
2177
+ };
1907
2178
  herds_pretty_location: {
1908
2179
  id: number | null;
1909
2180
  inserted_at: string | null;
@@ -1953,17 +2224,31 @@ export type Database = {
1953
2224
  tags_pretty_location: {
1954
2225
  id: number | null;
1955
2226
  inserted_at: string | null;
1956
- x: number | null;
1957
- y: number | null;
1958
- width: number | null;
1959
- conf: number | null;
1960
- observation_type: Database["public"]["Enums"]["tag_observation_type"] | null;
2227
+ artifact_id: number | null;
1961
2228
  event_id: number | null;
1962
- class_name: string | null;
2229
+ detector: string | null;
2230
+ width: number | null;
1963
2231
  height: number | null;
1964
- location: unknown;
1965
- latitude: number | null;
1966
- longitude: number | null;
2232
+ conf: number | null;
2233
+ x: number | null;
2234
+ y: number | null;
2235
+ class: string | null;
2236
+ timestamp_observation: string | null;
2237
+ frame_index: number | null;
2238
+ origin_location: unknown;
2239
+ origin_pitch: number | null;
2240
+ origin_heading: number | null;
2241
+ origin_roll: number | null;
2242
+ sensor_pitch: number | null;
2243
+ sensor_yaw: number | null;
2244
+ sensor_roll: number | null;
2245
+ origin_height: number | null;
2246
+ subject_location: unknown;
2247
+ subject_height: number | null;
2248
+ origin_latitude: number | null;
2249
+ origin_longitude: number | null;
2250
+ subject_latitude: number | null;
2251
+ subject_longitude: number | null;
1967
2252
  };
1968
2253
  zones_and_actions_pretty_location: {
1969
2254
  id: number | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adventurelabs/scout-core",
3
- "version": "1.4.17",
3
+ "version": "1.4.19",
4
4
  "description": "Core utilities and helpers for Adventure Labs Scout applications",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",