microboard-temp 0.1.27 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Subject } from
|
|
2
|
-
import { HistoryRecord } from
|
|
1
|
+
import { Subject } from "Subject";
|
|
2
|
+
import type { HistoryRecord } from "./Log";
|
|
3
3
|
export interface SyncLogMsg {
|
|
4
|
-
msg:
|
|
4
|
+
msg: "addedNew" | "confirmed" | "toSend" | "revertUnconfirmed" | "applyUnconfirmed";
|
|
5
5
|
records: HistoryRecord[];
|
|
6
6
|
}
|
|
7
7
|
export type SyncLog = SyncLogMsg[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { SelectionContext } from
|
|
2
|
-
import hotkeys from
|
|
1
|
+
import type { SelectionContext } from "Selection/Selection";
|
|
2
|
+
import hotkeys from "hotkeys.json";
|
|
3
3
|
export type Hotkey = {
|
|
4
4
|
key: {
|
|
5
5
|
button: string | string[];
|
package/dist/types/Settings.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { BrowserDocumentFactory } from "./api/BrowserDocumentFactory";
|
|
|
4
4
|
import { BrowserPath2D } from "./api/BrowserPath2DFactory";
|
|
5
5
|
import { MockDocumentFactory } from "./api/MockDocumentFactory";
|
|
6
6
|
import { MockPath2D } from "api/MockPath2D";
|
|
7
|
+
import { BorderStyle } from "Items";
|
|
7
8
|
export interface Connection {
|
|
8
9
|
connectionId: number;
|
|
9
10
|
getCurrentUser: () => string;
|
|
@@ -182,7 +183,7 @@ export declare const conf: {
|
|
|
182
183
|
HIGHLIGHTER_MAX_STROKE_WIDTH: number;
|
|
183
184
|
ERASER_STROKE_WIDTH: number;
|
|
184
185
|
PEN_RENDER_POINTER_CIRCLE: boolean;
|
|
185
|
-
PEN_STROKE_STYLE:
|
|
186
|
+
PEN_STROKE_STYLE: BorderStyle;
|
|
186
187
|
PEN_POINTER_CIRCLE_COLOR: string;
|
|
187
188
|
PEN_SETTINGS_KEY: string;
|
|
188
189
|
HIGHLIGHTER_SETTINGS_KEY: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Board } from
|
|
2
|
-
import { Drawing } from
|
|
3
|
-
import { DrawingContext } from
|
|
4
|
-
import { BorderStyle } from
|
|
5
|
-
import { BoardTool } from
|
|
1
|
+
import { Board } from "Board";
|
|
2
|
+
import { Drawing } from "Items/Drawing";
|
|
3
|
+
import { DrawingContext } from "Items/DrawingContext";
|
|
4
|
+
import { BorderStyle } from "Items/Path";
|
|
5
|
+
import { BoardTool } from "Tools/BoardTool";
|
|
6
6
|
export declare class Eraser extends BoardTool {
|
|
7
7
|
itemType: string;
|
|
8
8
|
isDown: boolean;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|