Skip to content

Commit

Permalink
fixed imports
Browse files Browse the repository at this point in the history
  • Loading branch information
abhishiv committed Aug 29, 2024
1 parent d3bc118 commit 62b1b23
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 11 deletions.
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,6 @@
},
"dependencies": {
"emittery": "^1.0.3",
"json-schema": "*",
"@gratico/fs": "*",
"y-protocols": "^1.0.6"
"@types/json-schema": "*"
}
}
9 changes: 2 additions & 7 deletions src/types/objects/index.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,5 @@
import { ObjPathProxy, StoreCursor } from "alfama";

import { IBus } from "../bus";
import { IFs, IRuntime } from "../runtime";

import { Awareness } from "y-protocols/awareness";

export enum MessageType {
QUERY_STATE,
APPLY_UPDATE,
Expand All @@ -21,7 +16,7 @@ export type IRealtimeMessage<T = any> = {
createdAt: number;
};

export interface IRealtimeProvider<Doc = any, Message = any> {
export interface IRealtimeProvider<Doc = any, Message = any, Awareness = any> {
id: string;
docId: string;
type: string;
Expand Down Expand Up @@ -156,7 +151,7 @@ export type IRepoRef = {
value: string;
};

export interface ICheckout {
export interface ICheckout<IFs = any> {
id: string;
fs: IFs;
ref: IRepoRef;
Expand Down
2 changes: 1 addition & 1 deletion src/types/runtime.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export type { IFs } from "@gratico/fs";
export type IFs = any;

export interface ImportShim {
addImportMap: Function;
Expand Down

0 comments on commit 62b1b23

Please sign in to comment.