Skip to content

Commit

Permalink
Dependency management
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewkaney committed May 8, 2024
1 parent 5c58c6a commit c19c201
Show file tree
Hide file tree
Showing 8 changed files with 1,787 additions and 1,556 deletions.
4 changes: 2 additions & 2 deletions app/desktop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -61,11 +61,11 @@
},
"devDependencies": {
"electron": "^30.0.2",
"electron-builder": "^24.6.4",
"electron-builder": "^24.13.3",
"electronmon": "^2.0.3"
},
"dependencies": {
"electron-updater": "^6.1.4",
"electron-updater": "^6.1.8",
"fix-path": "^4.0.0"
}
}
21 changes: 0 additions & 21 deletions core/api.ts
Original file line number Diff line number Diff line change
@@ -1,31 +1,10 @@
import { BehaviorSubject, Observable } from "rxjs";

import { Text } from "@codemirror/state";

export interface DocumentUpdate {
version: number;
clientID: string;
changes: any;
evaluations?: ([number, number] | [string])[];
}

export interface Document {
initialVersion: number;
initialText: Text;
updates$: Observable<DocumentUpdate>;
pushUpdate(update: DocumentUpdate): Promise<boolean>;
}

export interface FileDocument extends Document {
saveState$: Observable<boolean>;
path: string | null;
}

export interface Tab {
name$: BehaviorSubject<string>;
content: Promise<Document>;
}

export interface Evaluation {
input: string;
success: boolean;
Expand Down
Loading

0 comments on commit c19c201

Please sign in to comment.