@adventurelabs/scout-core 1.0.89 → 1.0.90
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.
|
@@ -1,3 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IWebResponseCompatible } from "../types/requests";
|
|
2
|
+
import { IConnectivityWithCoordinates } from "../types/db";
|
|
2
3
|
export declare function server_get_connectivity_by_session_id(sessionId: number): Promise<IWebResponseCompatible<IConnectivityWithCoordinates[]>>;
|
|
3
4
|
export declare function server_get_connectivity_by_device_id(deviceId: number, timestamp: string): Promise<IWebResponseCompatible<IConnectivityWithCoordinates[]>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { newServerClient } from "
|
|
2
|
-
import { EnumWebResponse, IWebResponse, } from "
|
|
1
|
+
import { newServerClient } from "../supabase/server";
|
|
2
|
+
import { EnumWebResponse, IWebResponse, } from "../types/requests";
|
|
3
3
|
// Get connectivity by session id using RPC function with coordinates
|
|
4
4
|
export async function server_get_connectivity_by_session_id(sessionId) {
|
|
5
5
|
const supabase = await newServerClient();
|
package/dist/store/scout.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { IUser } from "../types/db";
|
|
2
2
|
import { IHerdModule, EnumHerdModulesLoadingState } from "../types/herd_module";
|
|
3
3
|
import { EnumDataSource, IDataSourceInfo } from "../types/data_source";
|
|
4
|
-
import { MapDeviceIdToConnectivity } from "
|
|
4
|
+
import { MapDeviceIdToConnectivity } from "../types/connectivity";
|
|
5
5
|
export declare enum EnumScoutStateStatus {
|
|
6
6
|
LOADING = "LOADING",
|
|
7
7
|
DONE_LOADING = "DONE_LOADING"
|