forked from trent_larson/crowd-funder-for-time-pwa
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
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
"name": "Time Safari Team"
|
"name": "Time Safari Team"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"dev": "vite --config vite.config.dev.mts",
|
"dev": "vite --config vite.config.dev.mts --host",
|
||||||
"serve": "vite preview",
|
"serve": "vite preview",
|
||||||
"build": "VITE_GIT_HASH=`git log -1 --pretty=format:%h` vite build --config vite.config.mts",
|
"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",
|
"lint": "eslint --ext .js,.ts,.vue --ignore-path .gitignore src",
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { GiveSummaryRecord, GiveVerifiableCredential } from "interfaces";
|
import { GiveSummaryRecord, GiveVerifiableCredential } from "../interfaces";
|
||||||
|
|
||||||
export interface GiveRecordWithContactInfo extends GiveSummaryRecord {
|
export interface GiveRecordWithContactInfo extends GiveSummaryRecord {
|
||||||
jwtId: string;
|
jwtId: string;
|
||||||
|
|||||||
@@ -348,7 +348,7 @@ import {
|
|||||||
import { GiveSummaryRecord } from "../interfaces";
|
import { GiveSummaryRecord } from "../interfaces";
|
||||||
import * as serverUtil from "../libs/endorserServer";
|
import * as serverUtil from "../libs/endorserServer";
|
||||||
import { logger } from "../utils/logger";
|
import { logger } from "../utils/logger";
|
||||||
import { GiveRecordWithContactInfo } from "types";
|
import { GiveRecordWithContactInfo } from "../types";
|
||||||
|
|
||||||
interface Claim {
|
interface Claim {
|
||||||
claim?: Claim; // For nested claims in Verifiable Credentials
|
claim?: Claim; // For nested claims in Verifiable Credentials
|
||||||
|
|||||||
Reference in New Issue
Block a user