@industry-theme/file-city-panel 0.5.53 → 0.5.54
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.
- package/dist/components/ContextContainer.d.ts +40 -0
- package/dist/components/ContextContainer.d.ts.map +1 -0
- package/dist/components/TourPlayer.d.ts +49 -0
- package/dist/components/TourPlayer.d.ts.map +1 -0
- package/dist/components/TourPlayerIntegration.d.ts +26 -0
- package/dist/components/TourPlayerIntegration.d.ts.map +1 -0
- package/dist/components/index.d.ts +7 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/useFuzzyFileSearch.d.ts +24 -0
- package/dist/hooks/useFuzzyFileSearch.d.ts.map +1 -0
- package/dist/hooks/useTourPlayer.d.ts +55 -0
- package/dist/hooks/useTourPlayer.d.ts.map +1 -0
- package/dist/index.d.ts +74 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/mocks/MockTTSAdapter.d.ts +85 -0
- package/dist/mocks/MockTTSAdapter.d.ts.map +1 -0
- package/dist/mocks/mockAudioActions.d.ts +27 -0
- package/dist/mocks/mockAudioActions.d.ts.map +1 -0
- package/dist/mocks/panelContext.d.ts +36 -0
- package/dist/mocks/panelContext.d.ts.map +1 -0
- package/dist/panels/CodeCityPanel.d.ts +108 -0
- package/dist/panels/CodeCityPanel.d.ts.map +1 -0
- package/dist/panels/FeedCodeCityPanel.d.ts +19 -0
- package/dist/panels/FeedCodeCityPanel.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/AddToAreaModal.d.ts +14 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/AddToAreaModal.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/AddToScopeModal.d.ts +14 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/AddToScopeModal.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/CommitFileOverlay.d.ts +18 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/CommitFileOverlay.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/FileCityExplorer.d.ts +87 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/FileCityExplorer.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/RecentCommitCard.d.ts +37 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/RecentCommitCard.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/ScopeInfoOverlay.d.ts +10 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/ScopeInfoOverlay.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/WorkingTreeCard.d.ts +32 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/WorkingTreeCard.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/WorkingTreeFileOverlay.d.ts +21 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/WorkingTreeFileOverlay.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/index.d.ts +2 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/index.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/layers.d.ts +22 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/layers.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/pathConversion.d.ts +19 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/pathConversion.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/scopeTreePaths.d.ts +21 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/scopeTreePaths.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/styles.d.ts +9 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorer/styles.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorerPanel.d.ts +4 -0
- package/dist/panels/FileCityExplorerPanel/FileCityExplorerPanel.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/buildCityDataFromContext.d.ts +34 -0
- package/dist/panels/FileCityExplorerPanel/buildCityDataFromContext.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/index.d.ts +4 -0
- package/dist/panels/FileCityExplorerPanel/index.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/overlays/FileOverlay.d.ts +11 -0
- package/dist/panels/FileCityExplorerPanel/overlays/FileOverlay.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/overlays/MarkdownNotes.d.ts +58 -0
- package/dist/panels/FileCityExplorerPanel/overlays/MarkdownNotes.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/overlays/PierreFileView.d.ts +11 -0
- package/dist/panels/FileCityExplorerPanel/overlays/PierreFileView.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/overlays/PierreSnippetDiffView.d.ts +28 -0
- package/dist/panels/FileCityExplorerPanel/overlays/PierreSnippetDiffView.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/overlays/PierreSnippetView.d.ts +42 -0
- package/dist/panels/FileCityExplorerPanel/overlays/PierreSnippetView.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/overlays/SequenceDiagramOverlay.d.ts +15 -0
- package/dist/panels/FileCityExplorerPanel/overlays/SequenceDiagramOverlay.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/overlays/SequenceEventDetailOverlay.d.ts +22 -0
- package/dist/panels/FileCityExplorerPanel/overlays/SequenceEventDetailOverlay.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/overlays/SequenceFilesOverlay.d.ts +28 -0
- package/dist/panels/FileCityExplorerPanel/overlays/SequenceFilesOverlay.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/overlays/SequenceLeaderLine.d.ts +42 -0
- package/dist/panels/FileCityExplorerPanel/overlays/SequenceLeaderLine.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/overlays/SequenceMarkdownOverlay.d.ts +44 -0
- package/dist/panels/FileCityExplorerPanel/overlays/SequenceMarkdownOverlay.d.ts.map +1 -0
- package/dist/panels/FileCityExplorerPanel/overlays/SnippetNotes.d.ts +67 -0
- package/dist/panels/FileCityExplorerPanel/overlays/SnippetNotes.d.ts.map +1 -0
- package/dist/panels/components/ActivityHeatmapView.d.ts +25 -0
- package/dist/panels/components/ActivityHeatmapView.d.ts.map +1 -0
- package/dist/panels/components/AgentActivityView.d.ts +29 -0
- package/dist/panels/components/AgentActivityView.d.ts.map +1 -0
- package/dist/panels/components/BuildingCityLoader.d.ts +11 -0
- package/dist/panels/components/BuildingCityLoader.d.ts.map +1 -0
- package/dist/panels/components/CommitChangesTree.d.ts +29 -0
- package/dist/panels/components/CommitChangesTree.d.ts.map +1 -0
- package/dist/panels/components/CoverEditor.d.ts +22 -0
- package/dist/panels/components/CoverEditor.d.ts.map +1 -0
- package/dist/panels/components/EmptyState.d.ts +12 -0
- package/dist/panels/components/EmptyState.d.ts.map +1 -0
- package/dist/panels/components/FeedProjectHeader.d.ts +86 -0
- package/dist/panels/components/FeedProjectHeader.d.ts.map +1 -0
- package/dist/panels/components/FileCardList.d.ts +44 -0
- package/dist/panels/components/FileCardList.d.ts.map +1 -0
- package/dist/panels/components/FileCityTips.d.ts +7 -0
- package/dist/panels/components/FileCityTips.d.ts.map +1 -0
- package/dist/panels/components/FileTypesView.d.ts +23 -0
- package/dist/panels/components/FileTypesView.d.ts.map +1 -0
- package/dist/panels/components/GitChangesCardList.d.ts +29 -0
- package/dist/panels/components/GitChangesCardList.d.ts.map +1 -0
- package/dist/panels/components/GitChangesTree.d.ts +26 -0
- package/dist/panels/components/GitChangesTree.d.ts.map +1 -0
- package/dist/panels/components/GitChangesView.d.ts +27 -0
- package/dist/panels/components/GitChangesView.d.ts.map +1 -0
- package/dist/panels/components/HoverInfoBar.d.ts +29 -0
- package/dist/panels/components/HoverInfoBar.d.ts.map +1 -0
- package/dist/panels/components/Legend.d.ts +145 -0
- package/dist/panels/components/Legend.d.ts.map +1 -0
- package/dist/panels/components/LegendTabs.d.ts +35 -0
- package/dist/panels/components/LegendTabs.d.ts.map +1 -0
- package/dist/panels/components/PackageInfo.d.ts +26 -0
- package/dist/panels/components/PackageInfo.d.ts.map +1 -0
- package/dist/panels/components/PackageManagerIcon.d.ts +10 -0
- package/dist/panels/components/PackageManagerIcon.d.ts.map +1 -0
- package/dist/panels/components/PrChangesCardList.d.ts +38 -0
- package/dist/panels/components/PrChangesCardList.d.ts.map +1 -0
- package/dist/panels/components/PrChangesTree.d.ts +32 -0
- package/dist/panels/components/PrChangesTree.d.ts.map +1 -0
- package/dist/panels/components/ProjectHeader.d.ts +36 -0
- package/dist/panels/components/ProjectHeader.d.ts.map +1 -0
- package/dist/panels/components/ProjectInfoHeader.d.ts +47 -0
- package/dist/panels/components/ProjectInfoHeader.d.ts.map +1 -0
- package/dist/panels/components/ProjectInfoView.d.ts +17 -0
- package/dist/panels/components/ProjectInfoView.d.ts.map +1 -0
- package/dist/panels/components/QualityMetricsView.d.ts +22 -0
- package/dist/panels/components/QualityMetricsView.d.ts.map +1 -0
- package/dist/panels/components/ScopesCanvasView.d.ts +17 -0
- package/dist/panels/components/ScopesCanvasView.d.ts.map +1 -0
- package/dist/panels/components/SearchResultsView.d.ts +19 -0
- package/dist/panels/components/SearchResultsView.d.ts.map +1 -0
- package/dist/panels/components/StoryboardFilesCardList.d.ts +28 -0
- package/dist/panels/components/StoryboardFilesCardList.d.ts.map +1 -0
- package/dist/panels/components/StoryboardFilesTree.d.ts +26 -0
- package/dist/panels/components/StoryboardFilesTree.d.ts.map +1 -0
- package/dist/panels/components/StoryboardView.d.ts +38 -0
- package/dist/panels/components/StoryboardView.d.ts.map +1 -0
- package/dist/panels/index.d.ts +4 -0
- package/dist/panels/index.d.ts.map +1 -0
- package/dist/panels/stress-test-data.d.ts +40 -0
- package/dist/panels/stress-test-data.d.ts.map +1 -0
- package/dist/panels/utils/cityData.d.ts +5 -0
- package/dist/panels/utils/cityData.d.ts.map +1 -0
- package/dist/panels/utils/qualityLayers.d.ts +119 -0
- package/dist/panels/utils/qualityLayers.d.ts.map +1 -0
- package/dist/tools/index.d.ts +32 -0
- package/dist/tools/index.d.ts.map +1 -0
- package/dist/tools.bundle.js +103 -0
- package/dist/types/FileCityExplorerPanel.d.ts +132 -0
- package/dist/types/FileCityExplorerPanel.d.ts.map +1 -0
- package/dist/types/Scope.d.ts +94 -0
- package/dist/types/Scope.d.ts.map +1 -0
- package/dist/types/SequenceDiagram.d.ts +306 -0
- package/dist/types/SequenceDiagram.d.ts.map +1 -0
- package/dist/types/TextToSpeech.d.ts +118 -0
- package/dist/types/TextToSpeech.d.ts.map +1 -0
- package/dist/types/TourExtensions.d.ts +28 -0
- package/dist/types/TourExtensions.d.ts.map +1 -0
- package/dist/types/index.d.ts +204 -0
- package/dist/types/index.d.ts.map +1 -0
- package/dist/utils/index.d.ts +3 -0
- package/dist/utils/index.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -0,0 +1,204 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Panel Extension Type Definitions
|
|
3
|
+
*
|
|
4
|
+
* Re-exports core types from @principal-ade/panel-framework-core
|
|
5
|
+
*/
|
|
6
|
+
export type { DataSlice, WorkspaceMetadata, RepositoryMetadata, FileTreeSource, ActiveFileSlice, PanelEventType, PanelEvent, PanelEventEmitter, PanelContextValue, PanelComponentProps, PanelMetadata, PanelLifecycleHooks, PanelDefinition, PanelModule, PanelRegistryEntry, PanelLoader, PanelRegistryConfig, } from '@principal-ade/panel-framework-core';
|
|
7
|
+
import type { PanelActions as CorePanelActions, PanelComponentProps as CorePanelComponentProps, DataSlice } from '@principal-ade/panel-framework-core';
|
|
8
|
+
import type { TourAudioContext } from './TextToSpeech';
|
|
9
|
+
import type { FileTree, GitStatusWithFiles } from '@principal-ai/repository-abstraction';
|
|
10
|
+
import type { AlexandriaEntry } from '@principal-ai/alexandria-core-library';
|
|
11
|
+
import type { StoryboardContextSliceData } from '@principal-ai/principal-view-core';
|
|
12
|
+
import type { FileCityColorModesSliceData } from '../panels/utils/qualityLayers';
|
|
13
|
+
import type { HighlightLayer } from '@principal-ai/file-city-react';
|
|
14
|
+
import type { GitHubRepoInfo, RootPackageInfo } from '../panels/components/FeedProjectHeader';
|
|
15
|
+
/**
|
|
16
|
+
* Extended PanelActions with File City specific actions
|
|
17
|
+
* Extends the base PanelActions from panel-framework-core
|
|
18
|
+
*/
|
|
19
|
+
export interface PanelActions extends CorePanelActions {
|
|
20
|
+
/**
|
|
21
|
+
* Fetch audio URLs for a tour
|
|
22
|
+
*
|
|
23
|
+
* The host application implements this to fetch audio from its TTS backend.
|
|
24
|
+
* Returns a Map of stepId -> audioUrl for all steps in the tour.
|
|
25
|
+
*
|
|
26
|
+
* @param context - Tour source context (owner, repo, path, commitSha)
|
|
27
|
+
* @returns Map of stepId to audio URL
|
|
28
|
+
*/
|
|
29
|
+
fetchAudioUrls?: (context: TourAudioContext) => Promise<Map<string, string>>;
|
|
30
|
+
/**
|
|
31
|
+
* Stage a file for git commit
|
|
32
|
+
*
|
|
33
|
+
* The host application implements this to stage a file in git.
|
|
34
|
+
*
|
|
35
|
+
* @param filePath - Path to the file to stage
|
|
36
|
+
*/
|
|
37
|
+
stageFile?: (filePath: string) => void;
|
|
38
|
+
/**
|
|
39
|
+
* Unstage a file from git staging area
|
|
40
|
+
*
|
|
41
|
+
* The host application implements this to unstage a file in git.
|
|
42
|
+
*
|
|
43
|
+
* @param filePath - Path to the file to unstage
|
|
44
|
+
*/
|
|
45
|
+
unstageFile?: (filePath: string) => void;
|
|
46
|
+
/**
|
|
47
|
+
* Open a file in the active editor
|
|
48
|
+
*
|
|
49
|
+
* @param filePath - Path to the file to open
|
|
50
|
+
* @param line - Optional line number to navigate to
|
|
51
|
+
*/
|
|
52
|
+
openFile?: (filePath: string, line?: number) => void;
|
|
53
|
+
/**
|
|
54
|
+
* Learn more action - typically opens documentation or help
|
|
55
|
+
*
|
|
56
|
+
* When provided, a "Learn More" button will appear in the panel header.
|
|
57
|
+
*/
|
|
58
|
+
learnMore?: () => void;
|
|
59
|
+
}
|
|
60
|
+
import type { PackagesSliceData } from '@principal-ai/codebase-composition';
|
|
61
|
+
export type { PackagesSliceData };
|
|
62
|
+
/**
|
|
63
|
+
* PR files data - files changed in a selected pull request
|
|
64
|
+
*/
|
|
65
|
+
export interface PrFilesSliceData {
|
|
66
|
+
files: Array<{
|
|
67
|
+
sha: string;
|
|
68
|
+
filename: string;
|
|
69
|
+
status: 'added' | 'removed' | 'modified' | 'renamed' | 'copied' | 'changed' | 'unchanged';
|
|
70
|
+
additions: number;
|
|
71
|
+
deletions: number;
|
|
72
|
+
changes: number;
|
|
73
|
+
}>;
|
|
74
|
+
filesByStatus: {
|
|
75
|
+
added: string[];
|
|
76
|
+
modified: string[];
|
|
77
|
+
removed: string[];
|
|
78
|
+
renamed: {
|
|
79
|
+
filename: string;
|
|
80
|
+
previous_filename?: string;
|
|
81
|
+
}[];
|
|
82
|
+
};
|
|
83
|
+
pullNumber: number | null;
|
|
84
|
+
owner?: string;
|
|
85
|
+
repo?: string;
|
|
86
|
+
}
|
|
87
|
+
/**
|
|
88
|
+
* Commit files data - files changed in a selected commit
|
|
89
|
+
*/
|
|
90
|
+
export interface CommitFilesSliceData {
|
|
91
|
+
filesByStatus: {
|
|
92
|
+
added: string[];
|
|
93
|
+
modified: string[];
|
|
94
|
+
removed: string[];
|
|
95
|
+
renamed: string[];
|
|
96
|
+
};
|
|
97
|
+
commitHash: string | null;
|
|
98
|
+
stats?: {
|
|
99
|
+
total: number;
|
|
100
|
+
additions: number;
|
|
101
|
+
deletions: number;
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* Activity data for a single day
|
|
106
|
+
*/
|
|
107
|
+
export interface ActivityDay {
|
|
108
|
+
date: string;
|
|
109
|
+
count: number;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* Activity heatmap slice data - commit activity over time
|
|
113
|
+
*/
|
|
114
|
+
export interface ActivityHeatmapSliceData {
|
|
115
|
+
/** Activity data points */
|
|
116
|
+
days: ActivityDay[];
|
|
117
|
+
}
|
|
118
|
+
/**
|
|
119
|
+
* Fork tour availability slice data
|
|
120
|
+
* When viewing a parent repo that has a tour available in a fork
|
|
121
|
+
*/
|
|
122
|
+
export interface ForkTourSliceData {
|
|
123
|
+
/** Raw tour file content (JSON string) - consumer parses with parseTour */
|
|
124
|
+
tourContent: string;
|
|
125
|
+
/** Fork owner where the tour exists */
|
|
126
|
+
forkOwner: string;
|
|
127
|
+
/** Fork repo name */
|
|
128
|
+
forkRepo: string;
|
|
129
|
+
/** Path to the tour file in the fork */
|
|
130
|
+
tourPath: string;
|
|
131
|
+
}
|
|
132
|
+
/**
|
|
133
|
+
* Feed project slice data - GitHub repo and package info for feed view
|
|
134
|
+
*/
|
|
135
|
+
export interface FeedProjectSliceData {
|
|
136
|
+
/** GitHub repository information */
|
|
137
|
+
repo: GitHubRepoInfo;
|
|
138
|
+
/** Root package information (optional) */
|
|
139
|
+
rootPackage?: RootPackageInfo;
|
|
140
|
+
}
|
|
141
|
+
export type { AlexandriaEntry } from '@principal-ai/alexandria-core-library';
|
|
142
|
+
/**
|
|
143
|
+
* Line counts data - maps file paths to line counts
|
|
144
|
+
* Used to set building heights in File City 3D visualization
|
|
145
|
+
*/
|
|
146
|
+
export interface LineCountsSliceData {
|
|
147
|
+
/** Map of file path to line count */
|
|
148
|
+
lineCounts: Record<string, number>;
|
|
149
|
+
/** Status of line counts availability */
|
|
150
|
+
status: 'available' | 'too-large' | 'auth-required' | 'loading' | null;
|
|
151
|
+
/** Message to display when line counts are unavailable */
|
|
152
|
+
message?: string;
|
|
153
|
+
}
|
|
154
|
+
/**
|
|
155
|
+
* Typed context for CodeCityPanel
|
|
156
|
+
*
|
|
157
|
+
* Note: Optional slices use `DataSlice<T | null>` to distinguish between:
|
|
158
|
+
* - `null` = "not fetched yet" or "not available"
|
|
159
|
+
* - Empty data = "fetched successfully, no items"
|
|
160
|
+
*/
|
|
161
|
+
export interface CodeCityPanelContext {
|
|
162
|
+
fileTree: DataSlice<FileTree>;
|
|
163
|
+
fileCityColorModes: DataSlice<FileCityColorModesSliceData>;
|
|
164
|
+
gitStatusWithFiles?: DataSlice<GitStatusWithFiles | null>;
|
|
165
|
+
prFiles?: DataSlice<PrFilesSliceData | null>;
|
|
166
|
+
commitFiles?: DataSlice<CommitFilesSliceData | null>;
|
|
167
|
+
storyboardContext?: DataSlice<StoryboardContextSliceData | null>;
|
|
168
|
+
agentHighlightLayers?: DataSlice<HighlightLayer[]>;
|
|
169
|
+
packages?: DataSlice<PackagesSliceData | null>;
|
|
170
|
+
/** Repository entry with GitHub metadata */
|
|
171
|
+
repositoryEntry?: DataSlice<AlexandriaEntry | null>;
|
|
172
|
+
/** Activity heatmap data (commits per day) */
|
|
173
|
+
activityHeatmap?: DataSlice<ActivityHeatmapSliceData | null>;
|
|
174
|
+
/** Tour from a fork repo (when parent repo has tour available in fork) */
|
|
175
|
+
forkTour?: DataSlice<ForkTourSliceData | null>;
|
|
176
|
+
/** Line counts for building heights (from cache or computed) */
|
|
177
|
+
lineCounts?: DataSlice<LineCountsSliceData | null>;
|
|
178
|
+
/** Whether to show the architecture scopes canvas tab (default: false) */
|
|
179
|
+
showScopesCanvas?: boolean;
|
|
180
|
+
}
|
|
181
|
+
/**
|
|
182
|
+
* Typed panel props for CodeCityPanel
|
|
183
|
+
*/
|
|
184
|
+
export type CodeCityPanelPropsTyped = CorePanelComponentProps<PanelActions, CodeCityPanelContext>;
|
|
185
|
+
/**
|
|
186
|
+
* Typed context for FeedCodeCityPanel
|
|
187
|
+
*/
|
|
188
|
+
export interface FeedCodeCityPanelContext {
|
|
189
|
+
fileTree: DataSlice<FileTree>;
|
|
190
|
+
feedProject: DataSlice<FeedProjectSliceData>;
|
|
191
|
+
}
|
|
192
|
+
/**
|
|
193
|
+
* Typed panel props for FeedCodeCityPanel
|
|
194
|
+
*/
|
|
195
|
+
export type FeedCodeCityPanelPropsTyped = CorePanelComponentProps<PanelActions, FeedCodeCityPanelContext>;
|
|
196
|
+
export type { FileCityColorModesSliceData, QualitySliceData, ColorMode, ColorModeConfig, FileMetricData, HighlightLayer, } from '../panels/utils/qualityLayers';
|
|
197
|
+
export type { IntroductionTour, IntroductionTourStep, HighlightLayerConfig, InteractiveAction, TourResource, TourMetadata, ColorMode as TourColorMode, } from '@principal-ai/file-city-builder';
|
|
198
|
+
export type { TextToSpeechAdapter, TTSState, TTSOptions, TTSEvent, TourAudioContext, } from './TextToSpeech';
|
|
199
|
+
export type { ImageResolutionContext, } from './TourExtensions';
|
|
200
|
+
export { resolveImageUrl } from './TourExtensions';
|
|
201
|
+
export type { SequenceEvent, SequenceEdge, SliceSnippet, DiffSnippet, SequenceEventSnippet, FileCitySequenceEventDef, SequenceLayoutOptions, SliceRange, SnippetSliceAnchor, SnippetDiffAnchor, SequenceSnippetNote, MarkdownTextQuoteAnchor, MarkdownNoteScope, SequenceMarkdownNote, SequenceNote, SequenceNoteDraft, SequenceDiagramPayload, BaseSequenceDiagramIndexEntry, } from './SequenceDiagram';
|
|
202
|
+
export type { NodePosition, EventAttributeSchema, EventRecord, NamespaceRecord, ScopeRecord, ScopeWorkspace, AddScopeInput, AddNamespaceInput, AddPathToNamespaceInput, AddEventInput, } from './Scope';
|
|
203
|
+
export type { LatestCommitFileEntry, LatestCommitSliceData, AreaWorkspace, FileCityExplorerRepository, FileCityExplorerPanelContext, AddToScopeActionInput, AddAreaActionInput, AddPathToAreaActionInput, FileCityExplorerPanelActions, FileCityExplorerPanelPropsTyped, } from './FileCityExplorerPanel';
|
|
204
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
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EAChB,oBAAoB,EACpB,oBAAoB,EACpB,iBAAiB,EACjB,YAAY,EACZ,YAAY,EACZ,SAAS,IAAI,aAAa,GAC3B,MAAM,iCAAiC,CAAC;AAGzC,YAAY,EACV,mBAAmB,EACnB,QAAQ,EACR,UAAU,EACV,QAAQ,EACR,gBAAgB,GACjB,MAAM,gBAAgB,CAAC;AAGxB,YAAY,EACV,sBAAsB,GACvB,MAAM,kBAAkB,CAAC;AAC1B,OAAO,EAAE,eAAe,EAAE,MAAM,kBAAkB,CAAC;AAInD,YAAY,EACV,aAAa,EACb,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,oBAAoB,EACpB,wBAAwB,EACxB,qBAAqB,EACrB,UAAU,EACV,kBAAkB,EAClB,iBAAiB,EACjB,mBAAmB,EACnB,uBAAuB,EACvB,iBAAiB,EACjB,oBAAoB,EACpB,YAAY,EACZ,iBAAiB,EACjB,sBAAsB,EACtB,6BAA6B,GAC9B,MAAM,mBAAmB,CAAC;AAI3B,YAAY,EACV,YAAY,EACZ,oBAAoB,EACpB,WAAW,EACX,eAAe,EACf,WAAW,EACX,cAAc,EACd,aAAa,EACb,iBAAiB,EACjB,uBAAuB,EACvB,aAAa,GACd,MAAM,SAAS,CAAC;AAGjB,YAAY,EACV,qBAAqB,EACrB,qBAAqB,EACrB,aAAa,EACb,0BAA0B,EAC1B,4BAA4B,EAC5B,qBAAqB,EACrB,kBAAkB,EAClB,wBAAwB,EACxB,4BAA4B,EAC5B,+BAA+B,GAChC,MAAM,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { parseTour, parseTourOrThrow, loadTourFromFileTree, TourValidationError, findTourFilePathInFileTree, findAllTourFilesInFileTree, } from '@principal-ai/file-city-builder';
|
|
2
|
+
export type { TourParseResult } from '@principal-ai/file-city-builder';
|
|
3
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/utils/index.ts"],"names":[],"mappings":"AACA,OAAO,EACL,SAAS,EACT,gBAAgB,EAChB,oBAAoB,EACpB,mBAAmB,EACnB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,iCAAiC,CAAC;AACzC,YAAY,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC"}
|
package/package.json
CHANGED