Skip to content

Commit 13f5ee3

Browse files
Copilotmikebarkmin
andcommitted
Add type and source fields to roadmap data for tracking
Co-authored-by: mikebarkmin <2592379+mikebarkmin@users.noreply.github.com>
1 parent 9663d75 commit 13f5ee3

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

packages/learningmap/src/editorStore.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -420,6 +420,8 @@ export const useEditorStore = create<EditorState>()(
420420
})),
421421
settings: state.settings,
422422
version: 1,
423+
type: "learningmap",
424+
source: "https://learningmap.app",
423425
};
424426
},
425427

packages/learningmap/src/types.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,8 @@ export interface RoadmapData {
6969
edges: Edge[];
7070
settings: Settings;
7171
version: number;
72+
type?: string;
73+
source?: string;
7274
}
7375

7476
export interface RoadmapState {

0 commit comments

Comments
 (0)