refactor: rename package scope from @caldav to @calchat
Rename all workspace packages to reflect the actual project name: - @caldav/client -> @calchat/client - @caldav/server -> @calchat/server - @caldav/shared -> @calchat/shared - Root package: caldav-mono -> calchat-mono Update all import statements across client and server to use the new package names. Update default MongoDB database name and logging service identifier accordingly.
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { User, CreateUserDTO, LoginDTO, AuthResponse } from "@caldav/shared";
|
||||
import { User, CreateUserDTO, LoginDTO, AuthResponse } from "@calchat/shared";
|
||||
import { UserRepository } from "./interfaces";
|
||||
import * as jwt from "../utils/jwt";
|
||||
import * as password from "../utils/password";
|
||||
|
||||
@@ -10,7 +10,7 @@ import {
|
||||
UpdateEventDTO,
|
||||
EventAction,
|
||||
CreateMessageDTO,
|
||||
} from "@caldav/shared";
|
||||
} from "@calchat/shared";
|
||||
import { ChatRepository, EventRepository, AIProvider } from "./interfaces";
|
||||
import { getWeeksOverview, getMonthOverview } from "../utils/eventFormatters";
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@ import {
|
||||
CreateEventDTO,
|
||||
UpdateEventDTO,
|
||||
ExpandedEvent,
|
||||
} from "@caldav/shared";
|
||||
} from "@calchat/shared";
|
||||
import { EventRepository } from "./interfaces";
|
||||
import { expandRecurringEvents } from "../utils/recurrenceExpander";
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@ import {
|
||||
CalendarEvent,
|
||||
ChatMessage,
|
||||
ProposedEventChange,
|
||||
} from "@caldav/shared";
|
||||
} from "@calchat/shared";
|
||||
|
||||
export interface AIContext {
|
||||
userId: string;
|
||||
|
||||
@@ -4,7 +4,7 @@ import {
|
||||
CreateMessageDTO,
|
||||
GetMessagesOptions,
|
||||
UpdateMessageDTO,
|
||||
} from "@caldav/shared";
|
||||
} from "@calchat/shared";
|
||||
|
||||
export interface ChatRepository {
|
||||
// Conversations
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { CalendarEvent, CreateEventDTO, UpdateEventDTO } from "@caldav/shared";
|
||||
import { CalendarEvent, CreateEventDTO, UpdateEventDTO } from "@calchat/shared";
|
||||
|
||||
export interface EventRepository {
|
||||
findById(id: string): Promise<CalendarEvent | null>;
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import { User } from "@caldav/shared";
|
||||
import { User } from "@calchat/shared";
|
||||
|
||||
export interface CreateUserData {
|
||||
email: string;
|
||||
|
||||
Reference in New Issue
Block a user