diff --git a/web-app/app/lib/actions/billActions.ts b/web-app/app/lib/actions/billActions.ts index 26e4660..fd405bc 100644 --- a/web-app/app/lib/actions/billActions.ts +++ b/web-app/app/lib/actions/billActions.ts @@ -2,7 +2,7 @@ import { z } from 'zod'; import { getDbClient } from '../dbClient'; -import { Bill, BilledTo, FileAttachment, BillingLocation } from '../db-types'; +import { Bill, BilledTo, FileAttachment, BillingLocation } from '@evidencija-rezija/shared-code'; import { ObjectId } from 'mongodb'; import { withUser } from '@/app/lib/auth'; import { AuthenticatedUser } from '../types/next-auth'; diff --git a/web-app/app/lib/actions/emailActions.ts b/web-app/app/lib/actions/emailActions.ts index 4e08a4c..af64546 100644 --- a/web-app/app/lib/actions/emailActions.ts +++ b/web-app/app/lib/actions/emailActions.ts @@ -1,7 +1,7 @@ 'use server'; import { getDbClient } from '../dbClient'; -import { BillingLocation, EmailStatus } from '../db-types'; +import { BillingLocation, EmailStatus } from '@evidencija-rezija/shared-code'; import { extractShareId, validateShareChecksum } from '@evidencija-rezija/shared-code'; import { revalidatePath } from 'next/cache'; diff --git a/web-app/app/lib/actions/locationActions.ts b/web-app/app/lib/actions/locationActions.ts index 690f475..569a10d 100644 --- a/web-app/app/lib/actions/locationActions.ts +++ b/web-app/app/lib/actions/locationActions.ts @@ -2,7 +2,7 @@ import { z } from 'zod'; import { getDbClient } from '../dbClient'; -import { BillingLocation, FileAttachment, YearMonth, EmailStatus } from '../db-types'; +import { BillingLocation, FileAttachment, YearMonth, EmailStatus } from '@evidencija-rezija/shared-code'; import { ObjectId } from 'mongodb'; import { withUser } from '@/app/lib/auth'; import { AuthenticatedUser } from '../types/next-auth'; diff --git a/web-app/app/lib/actions/monthActions.ts b/web-app/app/lib/actions/monthActions.ts index d71def5..dd9b70d 100644 --- a/web-app/app/lib/actions/monthActions.ts +++ b/web-app/app/lib/actions/monthActions.ts @@ -2,7 +2,7 @@ import { getDbClient } from '../dbClient'; import { ObjectId } from 'mongodb'; -import { Bill, BillingLocation, YearMonth } from '../db-types'; +import { Bill, BillingLocation, YearMonth } from '@evidencija-rezija/shared-code'; import { AuthenticatedUser } from '../types/next-auth'; import { withUser } from '../auth'; import { unstable_noStore as noStore, unstable_noStore, revalidatePath } from 'next/cache'; diff --git a/web-app/app/lib/actions/navigationActions.ts b/web-app/app/lib/actions/navigationActions.ts index ae7615c..7d447eb 100644 --- a/web-app/app/lib/actions/navigationActions.ts +++ b/web-app/app/lib/actions/navigationActions.ts @@ -2,7 +2,7 @@ import { revalidatePath } from "next/cache"; import { redirect } from 'next/navigation'; -import { YearMonth } from "../db-types"; +import { YearMonth } from "@evidencija-rezija/shared-code"; export async function gotoHome({year, month}: YearMonth) { const path = `/home?year=${year}&month=${month}`; diff --git a/web-app/app/lib/actions/printActions.ts b/web-app/app/lib/actions/printActions.ts index 300043e..39de922 100644 --- a/web-app/app/lib/actions/printActions.ts +++ b/web-app/app/lib/actions/printActions.ts @@ -1,7 +1,7 @@ 'use server'; import { getDbClient } from '../dbClient'; -import { BillingLocation } from '../db-types'; +import { BillingLocation } from '@evidencija-rezija/shared-code'; import { AuthenticatedUser } from '../types/next-auth'; import { withUser } from '../auth'; import { unstable_noStore as noStore } from 'next/cache'; diff --git a/web-app/app/lib/actions/userSettingsActions.ts b/web-app/app/lib/actions/userSettingsActions.ts index 96560b8..b64ec3a 100644 --- a/web-app/app/lib/actions/userSettingsActions.ts +++ b/web-app/app/lib/actions/userSettingsActions.ts @@ -2,7 +2,7 @@ import { z } from 'zod'; import { getDbClient } from '../dbClient'; -import { UserSettings } from '../db-types'; +import { UserSettings } from '@evidencija-rezija/shared-code'; import { withUser } from '@/app/lib/auth'; import { AuthenticatedUser } from '../types/next-auth'; import { unstable_noStore as noStore } from 'next/cache';