From 8e6ba685608f61f8634f48ce60a68606a95f58ce Mon Sep 17 00:00:00 2001
From: Matthew Raymer <matthew.raymer@anomalistdesign.com>
Date: Thu, 24 Apr 2025 09:03:04 +0000
Subject: [PATCH] fix: correct import paths and add host flag for dev server

- Update import path for GiveRecordWithContactInfo to use relative path
- Add --host flag to dev script for network access during development
---
 package.json           | 2 +-
 src/types/index.ts     | 2 +-
 src/views/HomeView.vue | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/package.json b/package.json
index a43aa208..3ca41c86 100644
--- a/package.json
+++ b/package.json
@@ -6,7 +6,7 @@
     "name": "Time Safari Team"
   },
   "scripts": {
-    "dev": "vite --config vite.config.dev.mts",
+    "dev": "vite --config vite.config.dev.mts --host",
     "serve": "vite preview",
     "build": "VITE_GIT_HASH=`git log -1 --pretty=format:%h` vite build --config vite.config.mts",
     "lint": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src",
diff --git a/src/types/index.ts b/src/types/index.ts
index c6757cdf..4aaeaa12 100644
--- a/src/types/index.ts
+++ b/src/types/index.ts
@@ -1,4 +1,4 @@
-import { GiveSummaryRecord, GiveVerifiableCredential } from "interfaces";
+import { GiveSummaryRecord, GiveVerifiableCredential } from "../interfaces";
 
 export interface GiveRecordWithContactInfo extends GiveSummaryRecord {
   jwtId: string;
diff --git a/src/views/HomeView.vue b/src/views/HomeView.vue
index d12c7a41..e604d7f6 100644
--- a/src/views/HomeView.vue
+++ b/src/views/HomeView.vue
@@ -348,7 +348,7 @@ import {
 import { GiveSummaryRecord } from "../interfaces";
 import * as serverUtil from "../libs/endorserServer";
 import { logger } from "../utils/logger";
-import { GiveRecordWithContactInfo } from "types";
+import { GiveRecordWithContactInfo } from "../types";
 
 interface Claim {
   claim?: Claim; // For nested claims in Verifiable Credentials