@adventurelabs/scout-core 2.0.5 → 2.0.6

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.
@@ -131,7 +131,7 @@ export type OperatingContextEquipmentCategoryCreateInput = Pick<OperatingContext
131
131
  export type OperatingContextEquipmentCategoryUpdateInput = Partial<OperatingContextEquipmentCategoryCreateInput> & LifecyclePatch;
132
132
  export type OperatingContextEquipmentItemCreateInput = Pick<OperatingContextEquipmentItemInsert, "equipment_category_id" | "name">;
133
133
  export type OperatingContextEquipmentItemUpdateInput = Partial<OperatingContextEquipmentItemCreateInput> & LifecyclePatch;
134
- export type OperatingContextCreateInput = Pick<OperatingContextInsert, "herd_id" | "operating_context_type_id" | "name" | "description" | "local_notes" | "valid_from" | "valid_to" | "time_of_day_start" | "time_of_day_end" | "distance_max_from_home" | "altitude_agl_max" | "involves_third_party_land">;
134
+ export type OperatingContextCreateInput = Pick<OperatingContextInsert, "herd_id" | "operating_context_type_id" | "name" | "description" | "local_notes" | "valid_from" | "valid_to" | "operation_period" | "distance_max_from_home" | "altitude_agl_max" | "involves_third_party_land">;
135
135
  export type OperatingContextUpdateInput = Partial<Omit<OperatingContextCreateInput, "herd_id">> & LifecyclePatch;
136
136
  export type OperatingContextPayloadCreateInput = Pick<OperatingContextPayloadInsert, "operating_context_id" | "payload_type" | "weight_kg" | "description">;
137
137
  export type OperatingContextPayloadUpdateInput = Partial<Omit<OperatingContextPayloadCreateInput, "operating_context_id">> & LifecyclePatch;
@@ -3307,8 +3307,7 @@ export type Database = {
3307
3307
  local_notes: string | null;
3308
3308
  name: string;
3309
3309
  operating_context_type_id: number;
3310
- time_of_day_end: string | null;
3311
- time_of_day_start: string | null;
3310
+ operation_period: Database["public"]["Enums"]["operating_context_operation_period"];
3312
3311
  updated_at: string;
3313
3312
  updated_by: string | null;
3314
3313
  valid_from: string;
@@ -3330,8 +3329,7 @@ export type Database = {
3330
3329
  local_notes?: string | null;
3331
3330
  name: string;
3332
3331
  operating_context_type_id: number;
3333
- time_of_day_end?: string | null;
3334
- time_of_day_start?: string | null;
3332
+ operation_period: Database["public"]["Enums"]["operating_context_operation_period"];
3335
3333
  updated_at?: string;
3336
3334
  updated_by?: string | null;
3337
3335
  valid_from: string;
@@ -3353,8 +3351,7 @@ export type Database = {
3353
3351
  local_notes?: string | null;
3354
3352
  name?: string;
3355
3353
  operating_context_type_id?: number;
3356
- time_of_day_end?: string | null;
3357
- time_of_day_start?: string | null;
3354
+ operation_period?: Database["public"]["Enums"]["operating_context_operation_period"];
3358
3355
  updated_at?: string;
3359
3356
  updated_by?: string | null;
3360
3357
  valid_from?: string;
@@ -6733,6 +6730,7 @@ export type Database = {
6733
6730
  herd_invitation_status: "pending" | "accepted" | "revoked" | "expired";
6734
6731
  link_type: "wifi" | "ocusync" | "lte" | "satellite" | "mesh" | "lora" | "unknown";
6735
6732
  media_type: "image" | "video" | "audio" | "text";
6733
+ operating_context_operation_period: "day_only" | "night_only" | "day_and_night";
6736
6734
  operating_context_payload_type: "drop_supply" | "drop_firestarter" | "other";
6737
6735
  operating_context_risk_probability: "extremely_improbable" | "improbable" | "unlikely" | "occasional" | "frequent";
6738
6736
  operating_context_risk_severity: "negligible" | "minor" | "major" | "hazardous" | "catastrophic";
@@ -7068,6 +7066,7 @@ export declare const Constants: {
7068
7066
  readonly herd_invitation_status: readonly ["pending", "accepted", "revoked", "expired"];
7069
7067
  readonly link_type: readonly ["wifi", "ocusync", "lte", "satellite", "mesh", "lora", "unknown"];
7070
7068
  readonly media_type: readonly ["image", "video", "audio", "text"];
7069
+ readonly operating_context_operation_period: readonly ["day_only", "night_only", "day_and_night"];
7071
7070
  readonly operating_context_payload_type: readonly ["drop_supply", "drop_firestarter", "other"];
7072
7071
  readonly operating_context_risk_probability: readonly ["extremely_improbable", "improbable", "unlikely", "occasional", "frequent"];
7073
7072
  readonly operating_context_risk_severity: readonly ["negligible", "minor", "major", "hazardous", "catastrophic"];
@@ -47,6 +47,11 @@ export const Constants = {
47
47
  "unknown",
48
48
  ],
49
49
  media_type: ["image", "video", "audio", "text"],
50
+ operating_context_operation_period: [
51
+ "day_only",
52
+ "night_only",
53
+ "day_and_night",
54
+ ],
50
55
  operating_context_payload_type: [
51
56
  "drop_supply",
52
57
  "drop_firestarter",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@adventurelabs/scout-core",
3
- "version": "2.0.5",
3
+ "version": "2.0.6",
4
4
  "description": "Core utilities and helpers for Adventure Labs Scout applications",
5
5
  "exports": {
6
6
  "./client": {