Skip to content

Commit

Permalink
refactor: move file-repo to client
Browse files Browse the repository at this point in the history
  • Loading branch information
maany committed Aug 6, 2024
1 parent 7300bf0 commit 55d266d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/lib/core/entity/file.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ export type RemoteFile = z.infer<typeof RemoteFileSchema>;

export const FileSchema = z.discriminatedUnion("type", [LocalFileSchema, RemoteFileSchema]);

export type File = z.infer<typeof FileSchema>;

Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import "reflect-metadata";
import { Container } from "inversify";
import { REPOSITORY, TRPC } from "./client-ioc-symbols";
import { api } from "~/lib/infrastructure/client/trpc/react-api";
import BrowserFileRepository from "~/lib/infrastructure/repository/browser-file-repository";
import BrowserFileRepository from "~/lib/infrastructure/client/repository/browser-file-repository";

const clientContainer = new Container();

Expand Down

0 comments on commit 55d266d

Please sign in to comment.