weapp-vite 7.3.0 → 7.5.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.
- package/README.md +154 -6
- package/bin/bootstrap.js +14 -1
- package/dist/adapters-CcHrsYaj.mjs +1 -0
- package/dist/analyze-ZJUvEdaY.mjs +248 -0
- package/dist/auto-import-components/resolvers.mjs +1 -2
- package/dist/auto-import-presets/wevu-router.mjs +1 -2
- package/dist/auto-import-presets/wevu.mjs +1 -2
- package/dist/auto-routes.mjs +2 -1
- package/dist/budget-BD7VqLCl.d.mts +178 -0
- package/dist/chunkStrategy-DRA5WpB-.mjs +1436 -0
- package/dist/cli-acceptance.d.mts +1 -0
- package/dist/cli-acceptance.mjs +21 -0
- package/dist/cli.mjs +1918 -2089
- package/dist/compatibility.mjs +1 -2
- package/dist/{config-1J4rToMR.d.mts → config-V0L-IAJf.d.mts} +419 -39
- package/dist/config.d.mts +2 -2
- package/dist/config.mjs +1 -1
- package/dist/constants-DEZdcsMn.mjs +85 -0
- package/dist/{createContext-cqr9Y4EV.mjs → createCompilerContextInstance-DJH_P_nZ.mjs} +17602 -15886
- package/dist/createContext-BqYzHhY9.mjs +12 -0
- package/dist/dashboard/analyze.d.mts +48 -0
- package/dist/dashboard/analyze.mjs +1 -0
- package/dist/dashboard/vite.d.mts +9 -0
- package/dist/dashboard/vite.mjs +44 -0
- package/dist/dashboard-DvqF3Key.mjs +1842 -0
- package/dist/dashboard.d.mts +3 -0
- package/dist/dashboard.mjs +1 -0
- package/dist/dashboardViteBridge-Dy3nAD4m.mjs +299 -0
- package/dist/dev-fR5GiJRO.mjs +63 -0
- package/dist/devProvider-BGBkw28J.mjs +1050 -0
- package/dist/docs/README.md +154 -6
- package/dist/docs/ai-workflows.md +4 -0
- package/dist/docs/doctor.md +38 -0
- package/dist/docs/getting-started.md +52 -1
- package/dist/docs/index.md +6 -2
- package/dist/docs/mcp.md +94 -1
- package/dist/docs/testing.md +29 -2
- package/dist/docs/troubleshooting.md +8 -0
- package/dist/docs/uni-app-component-libraries.md +8 -7
- package/dist/docs/upload.md +226 -0
- package/dist/docs/vite-plugin.md +171 -0
- package/dist/docs/vue-sfc.md +19 -0
- package/dist/docs/weapp-config.md +374 -2
- package/dist/docs/wevu-authoring.md +10 -0
- package/dist/doctor-worker.d.mts +1 -0
- package/dist/doctor-worker.mjs +59 -0
- package/dist/doctor.d.mts +144 -0
- package/dist/doctor.mjs +848 -0
- package/dist/eslint.mjs +1 -2
- package/dist/file-DRb4eWqw.mjs +1 -0
- package/dist/{file-CKB0Tn8Z.mjs → file-sC3jD7Fh.mjs} +16 -93
- package/dist/files-BqxFIPRp.mjs +45 -0
- package/dist/getInstance-DiGSzBNI.mjs +28 -0
- package/dist/getInstance-SiE6WZRh.mjs +1 -0
- package/dist/index-C9HjUX5c.d.mts +741 -0
- package/dist/index.d.mts +10 -8
- package/dist/index.mjs +3 -2
- package/dist/json.d.mts +1 -1
- package/dist/json.mjs +1 -2
- package/dist/lifecycle-BROTlwSL.mjs +320 -0
- package/dist/loadConfig-C3BQhz7F.mjs +59 -0
- package/dist/loadConfig-VGtBF4qm.mjs +1 -0
- package/dist/logger-DGn5iEVN.mjs +1 -0
- package/dist/{mcp-BG6TliEg.mjs → mcp-Cj8Maqo6.mjs} +16 -7
- package/dist/mcp-D3Yh24Cj.mjs +529 -0
- package/dist/mcp.d.mts +6 -3
- package/dist/mcp.mjs +1 -2
- package/dist/package-7swhyLmf.mjs +91 -0
- package/dist/path-doV773b7.mjs +103 -0
- package/dist/platform-CnkySBKz.mjs +175 -0
- package/dist/processCleanup-B6KA30Zc.mjs +77 -0
- package/dist/protocol-vg8HGJ4n.mjs +138 -0
- package/dist/{resolvers-icNxkpcy.mjs → resolvers-Dod-euqX.mjs} +4 -1
- package/dist/resolvers.mjs +1 -2
- package/dist/runtime.mjs +1 -2
- package/dist/session-PskhD-nZ.mjs +390 -0
- package/dist/test.d.mts +1 -0
- package/dist/test.mjs +201 -44
- package/dist/types.d.mts +2 -2
- package/dist/upload-D4msblBf.mjs +562 -0
- package/dist/upload-worker.d.mts +1 -0
- package/dist/upload-worker.mjs +161 -0
- package/dist/utils-CJSCgEj6.mjs +1094 -0
- package/dist/vite.d.mts +9 -0
- package/dist/vite.mjs +270 -0
- package/dist/volar.d.mts +2 -2
- package/dist/web-apis.mjs +1 -2
- package/package.json +85 -37
- package/dist/file-CvgkbGIx.mjs +0 -2
- package/dist/getInstance-CZ1s63zd.mjs +0 -2
- package/dist/logger-mt4mSTqV.mjs +0 -2
|
@@ -0,0 +1,741 @@
|
|
|
1
|
+
import "./config-V0L-IAJf.mjs";
|
|
2
|
+
import { a as AnalyzeSubpackagesResult } from "./budget-BD7VqLCl.mjs";
|
|
3
|
+
import { DevframeDefinition } from "devframe";
|
|
4
|
+
import { z } from "zod";
|
|
5
|
+
//#region src/dashboard/artifacts.d.ts
|
|
6
|
+
interface DashboardArtifactFile {
|
|
7
|
+
readonly size: number;
|
|
8
|
+
readonly content?: string;
|
|
9
|
+
readonly error?: string;
|
|
10
|
+
}
|
|
11
|
+
type DashboardArtifactFiles = ReadonlyMap<string, DashboardArtifactFile>;
|
|
12
|
+
/** 保留同一次分析的产物内容,不读取或改写开发构建目录。 */
|
|
13
|
+
declare function createDashboardArtifactSnapshot(): {
|
|
14
|
+
files: DashboardArtifactFiles;
|
|
15
|
+
capture(fileName: string, source: string | Uint8Array): void;
|
|
16
|
+
};
|
|
17
|
+
//#endregion
|
|
18
|
+
//#region src/dashboard/paths.d.ts
|
|
19
|
+
type DashboardFileKind = 'artifact' | 'source';
|
|
20
|
+
interface DashboardContentRoots {
|
|
21
|
+
pluginRoot?: string;
|
|
22
|
+
projectRoot?: string;
|
|
23
|
+
srcRoot?: string;
|
|
24
|
+
}
|
|
25
|
+
//#endregion
|
|
26
|
+
//#region src/dashboard/schema.d.ts
|
|
27
|
+
declare const dashboardFileRangeSchema: z.ZodObject<{
|
|
28
|
+
offset: z.ZodNumber;
|
|
29
|
+
totalCharacters: z.ZodNumber;
|
|
30
|
+
nextOffset: z.ZodNullable<z.ZodNumber>;
|
|
31
|
+
}, z.core.$strip>;
|
|
32
|
+
type DashboardFileRange = z.infer<typeof dashboardFileRangeSchema>;
|
|
33
|
+
declare const dashboardFileReadRequestSchema: z.ZodObject<{
|
|
34
|
+
kind: z.ZodEnum<{
|
|
35
|
+
source: "source";
|
|
36
|
+
artifact: "artifact";
|
|
37
|
+
}>;
|
|
38
|
+
path: z.ZodString;
|
|
39
|
+
range: z.ZodOptional<z.ZodObject<{
|
|
40
|
+
offset: z.ZodNumber;
|
|
41
|
+
limit: z.ZodNumber;
|
|
42
|
+
}, z.core.$strip>>;
|
|
43
|
+
revision: z.ZodNumber;
|
|
44
|
+
}, z.core.$strip>;
|
|
45
|
+
type DashboardFileReadRequest = z.infer<typeof dashboardFileReadRequestSchema>;
|
|
46
|
+
//#endregion
|
|
47
|
+
//#region src/dashboard/content.d.ts
|
|
48
|
+
interface DashboardFileContent {
|
|
49
|
+
content: string;
|
|
50
|
+
kind: DashboardFileKind;
|
|
51
|
+
language: string;
|
|
52
|
+
path: string;
|
|
53
|
+
size: number;
|
|
54
|
+
range?: DashboardFileRange;
|
|
55
|
+
}
|
|
56
|
+
//#endregion
|
|
57
|
+
//#region src/dashboard/eventsQuery.d.ts
|
|
58
|
+
declare const dashboardRuntimeEventsQueryRequestSchema: z.ZodObject<{
|
|
59
|
+
kind: z.ZodOptional<z.ZodEnum<{
|
|
60
|
+
command: "command";
|
|
61
|
+
build: "build";
|
|
62
|
+
diagnostic: "diagnostic";
|
|
63
|
+
hmr: "hmr";
|
|
64
|
+
system: "system";
|
|
65
|
+
}>>;
|
|
66
|
+
level: z.ZodOptional<z.ZodEnum<{
|
|
67
|
+
error: "error";
|
|
68
|
+
info: "info";
|
|
69
|
+
success: "success";
|
|
70
|
+
warning: "warning";
|
|
71
|
+
}>>;
|
|
72
|
+
source: z.ZodOptional<z.ZodString>;
|
|
73
|
+
query: z.ZodOptional<z.ZodString>;
|
|
74
|
+
since: z.ZodOptional<z.ZodString>;
|
|
75
|
+
until: z.ZodOptional<z.ZodString>;
|
|
76
|
+
limit: z.ZodOptional<z.ZodNumber>;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
declare const dashboardRuntimeEventsPageSchema: z.ZodObject<{
|
|
79
|
+
items: z.ZodArray<z.ZodObject<{
|
|
80
|
+
id: z.ZodString;
|
|
81
|
+
timestamp: z.ZodString;
|
|
82
|
+
occurredAt: z.ZodString;
|
|
83
|
+
source: z.ZodString;
|
|
84
|
+
kind: z.ZodEnum<{
|
|
85
|
+
command: "command";
|
|
86
|
+
build: "build";
|
|
87
|
+
diagnostic: "diagnostic";
|
|
88
|
+
hmr: "hmr";
|
|
89
|
+
system: "system";
|
|
90
|
+
}>;
|
|
91
|
+
level: z.ZodEnum<{
|
|
92
|
+
error: "error";
|
|
93
|
+
info: "info";
|
|
94
|
+
success: "success";
|
|
95
|
+
warning: "warning";
|
|
96
|
+
}>;
|
|
97
|
+
title: z.ZodString;
|
|
98
|
+
detail: z.ZodString;
|
|
99
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
100
|
+
tags: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
101
|
+
profile: z.ZodOptional<z.ZodObject<{
|
|
102
|
+
timestamp: z.ZodOptional<z.ZodString>;
|
|
103
|
+
totalMs: z.ZodOptional<z.ZodNumber>;
|
|
104
|
+
eventId: z.ZodOptional<z.ZodString>;
|
|
105
|
+
event: z.ZodOptional<z.ZodString>;
|
|
106
|
+
file: z.ZodOptional<z.ZodString>;
|
|
107
|
+
relativeFile: z.ZodOptional<z.ZodString>;
|
|
108
|
+
sourceRootFile: z.ZodOptional<z.ZodString>;
|
|
109
|
+
buildCoreMs: z.ZodOptional<z.ZodNumber>;
|
|
110
|
+
buildStartMs: z.ZodOptional<z.ZodNumber>;
|
|
111
|
+
pluginResolveMs: z.ZodOptional<z.ZodNumber>;
|
|
112
|
+
transformMs: z.ZodOptional<z.ZodNumber>;
|
|
113
|
+
snapshotResolveMs: z.ZodOptional<z.ZodNumber>;
|
|
114
|
+
snapshotBuildMs: z.ZodOptional<z.ZodNumber>;
|
|
115
|
+
writeMs: z.ZodOptional<z.ZodNumber>;
|
|
116
|
+
watchToDirtyMs: z.ZodOptional<z.ZodNumber>;
|
|
117
|
+
emitMs: z.ZodOptional<z.ZodNumber>;
|
|
118
|
+
sharedChunkResolveMs: z.ZodOptional<z.ZodNumber>;
|
|
119
|
+
resolveCount: z.ZodOptional<z.ZodNumber>;
|
|
120
|
+
dirtyCount: z.ZodOptional<z.ZodNumber>;
|
|
121
|
+
pendingCount: z.ZodOptional<z.ZodNumber>;
|
|
122
|
+
emittedCount: z.ZodOptional<z.ZodNumber>;
|
|
123
|
+
dirtyReasonSummary: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
124
|
+
pendingReasonSummary: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
125
|
+
}, z.core.$strip>>;
|
|
126
|
+
}, z.core.$strip>>;
|
|
127
|
+
total: z.ZodNumber;
|
|
128
|
+
retention: z.ZodObject<{
|
|
129
|
+
capacity: z.ZodLiteral<24>;
|
|
130
|
+
retained: z.ZodNumber;
|
|
131
|
+
dropped: z.ZodNumber;
|
|
132
|
+
oldestOccurredAt: z.ZodNullable<z.ZodString>;
|
|
133
|
+
}, z.core.$strip>;
|
|
134
|
+
}, z.core.$strip>;
|
|
135
|
+
type DashboardRuntimeEventsQueryRequest = z.infer<typeof dashboardRuntimeEventsQueryRequestSchema>;
|
|
136
|
+
type DashboardRuntimeEventsPage = z.infer<typeof dashboardRuntimeEventsPageSchema>;
|
|
137
|
+
//#endregion
|
|
138
|
+
//#region src/dashboard/events.d.ts
|
|
139
|
+
type DashboardRuntimeEventKind = 'command' | 'build' | 'diagnostic' | 'hmr' | 'system';
|
|
140
|
+
type DashboardRuntimeEventLevel = 'info' | 'success' | 'warning' | 'error';
|
|
141
|
+
interface DashboardRuntimeEvent extends DashboardRuntimeEventInput {
|
|
142
|
+
id: string;
|
|
143
|
+
timestamp: string;
|
|
144
|
+
occurredAt: string;
|
|
145
|
+
source: string;
|
|
146
|
+
}
|
|
147
|
+
interface DashboardRuntimeEventProfile {
|
|
148
|
+
timestamp?: string;
|
|
149
|
+
totalMs?: number;
|
|
150
|
+
eventId?: string;
|
|
151
|
+
event?: string;
|
|
152
|
+
file?: string;
|
|
153
|
+
relativeFile?: string;
|
|
154
|
+
sourceRootFile?: string;
|
|
155
|
+
buildCoreMs?: number;
|
|
156
|
+
buildStartMs?: number;
|
|
157
|
+
pluginResolveMs?: number;
|
|
158
|
+
transformMs?: number;
|
|
159
|
+
snapshotResolveMs?: number;
|
|
160
|
+
snapshotBuildMs?: number;
|
|
161
|
+
writeMs?: number;
|
|
162
|
+
watchToDirtyMs?: number;
|
|
163
|
+
emitMs?: number;
|
|
164
|
+
sharedChunkResolveMs?: number;
|
|
165
|
+
resolveCount?: number;
|
|
166
|
+
dirtyCount?: number;
|
|
167
|
+
pendingCount?: number;
|
|
168
|
+
emittedCount?: number;
|
|
169
|
+
dirtyReasonSummary?: string[];
|
|
170
|
+
pendingReasonSummary?: string[];
|
|
171
|
+
}
|
|
172
|
+
interface DashboardRuntimeEventInput {
|
|
173
|
+
kind: DashboardRuntimeEventKind;
|
|
174
|
+
level: DashboardRuntimeEventLevel;
|
|
175
|
+
title: string;
|
|
176
|
+
detail: string;
|
|
177
|
+
source?: string;
|
|
178
|
+
durationMs?: number;
|
|
179
|
+
tags?: string[];
|
|
180
|
+
profile?: DashboardRuntimeEventProfile;
|
|
181
|
+
}
|
|
182
|
+
//#endregion
|
|
183
|
+
//#region src/dashboard/investigations/types.d.ts
|
|
184
|
+
type DashboardInvestigationTarget = {
|
|
185
|
+
kind: 'package';
|
|
186
|
+
packageId: string;
|
|
187
|
+
} | {
|
|
188
|
+
kind: 'artifact';
|
|
189
|
+
packageId: string;
|
|
190
|
+
file: string;
|
|
191
|
+
} | {
|
|
192
|
+
kind: 'module';
|
|
193
|
+
packageId: string;
|
|
194
|
+
file: string;
|
|
195
|
+
moduleId: string;
|
|
196
|
+
};
|
|
197
|
+
interface DashboardReportIdentity {
|
|
198
|
+
sessionId: string;
|
|
199
|
+
revision: number;
|
|
200
|
+
reportHash: string;
|
|
201
|
+
}
|
|
202
|
+
interface DashboardObjectMeasurements {
|
|
203
|
+
label: string;
|
|
204
|
+
rawBytes: number | null;
|
|
205
|
+
gzipBytes: number | null;
|
|
206
|
+
brotliBytes: number | null;
|
|
207
|
+
attributedBytes: number | null;
|
|
208
|
+
sourceBytes: number | null;
|
|
209
|
+
}
|
|
210
|
+
type DashboardInvestigationStatus = 'submitted' | 'claimed' | 'proposed' | 'authorized' | 'executing' | 'completed' | 'failed' | 'cancelled' | 'stale' | 'verified';
|
|
211
|
+
interface DashboardInvestigationProposalInput {
|
|
212
|
+
summary: string;
|
|
213
|
+
changes: Array<{
|
|
214
|
+
path: string;
|
|
215
|
+
description: string;
|
|
216
|
+
}>;
|
|
217
|
+
checks: string[];
|
|
218
|
+
risks: string[];
|
|
219
|
+
}
|
|
220
|
+
interface DashboardInvestigationProposal extends DashboardInvestigationProposalInput {
|
|
221
|
+
id: string;
|
|
222
|
+
}
|
|
223
|
+
interface DashboardInvestigationReceiptInput {
|
|
224
|
+
outcome: 'completed' | 'failed';
|
|
225
|
+
summary: string;
|
|
226
|
+
changedFiles: string[];
|
|
227
|
+
checks: Array<{
|
|
228
|
+
command: string;
|
|
229
|
+
outcome: 'passed' | 'failed' | 'not-run';
|
|
230
|
+
summary: string;
|
|
231
|
+
}>;
|
|
232
|
+
}
|
|
233
|
+
interface DashboardInvestigation {
|
|
234
|
+
id: string;
|
|
235
|
+
version: number;
|
|
236
|
+
createdAt: string;
|
|
237
|
+
updatedAt: string;
|
|
238
|
+
report: DashboardReportIdentity;
|
|
239
|
+
target: DashboardInvestigationTarget;
|
|
240
|
+
question: string;
|
|
241
|
+
evidence: DashboardObjectMeasurements;
|
|
242
|
+
status: DashboardInvestigationStatus;
|
|
243
|
+
agent: {
|
|
244
|
+
name: string;
|
|
245
|
+
claimedAt: string;
|
|
246
|
+
} | null;
|
|
247
|
+
proposal: DashboardInvestigationProposal | null;
|
|
248
|
+
authorization: {
|
|
249
|
+
proposalId: string;
|
|
250
|
+
authorizedAt: string;
|
|
251
|
+
} | null;
|
|
252
|
+
receipt: (DashboardInvestigationReceiptInput & {
|
|
253
|
+
reportedAt: string;
|
|
254
|
+
}) | null;
|
|
255
|
+
verification: {
|
|
256
|
+
report: DashboardReportIdentity;
|
|
257
|
+
summary: string;
|
|
258
|
+
after: DashboardObjectMeasurements | null;
|
|
259
|
+
verifiedAt: string;
|
|
260
|
+
} | null;
|
|
261
|
+
}
|
|
262
|
+
interface DashboardInvestigationsState {
|
|
263
|
+
version: number;
|
|
264
|
+
items: DashboardInvestigation[];
|
|
265
|
+
}
|
|
266
|
+
interface DashboardCreateInvestigationRequest {
|
|
267
|
+
report: DashboardReportIdentity;
|
|
268
|
+
target: DashboardInvestigationTarget;
|
|
269
|
+
question: string;
|
|
270
|
+
}
|
|
271
|
+
interface DashboardInvestigationRequest {
|
|
272
|
+
id: string;
|
|
273
|
+
version: number;
|
|
274
|
+
}
|
|
275
|
+
interface DashboardClaimInvestigationRequest extends DashboardInvestigationRequest {
|
|
276
|
+
agentName: string;
|
|
277
|
+
}
|
|
278
|
+
interface DashboardInvestigationClaim {
|
|
279
|
+
investigation: DashboardInvestigation;
|
|
280
|
+
claimToken: string;
|
|
281
|
+
}
|
|
282
|
+
interface DashboardAgentInvestigationRequest extends DashboardInvestigationRequest {
|
|
283
|
+
claimToken: string;
|
|
284
|
+
}
|
|
285
|
+
interface DashboardProposeInvestigationRequest extends DashboardAgentInvestigationRequest {
|
|
286
|
+
proposal: DashboardInvestigationProposalInput;
|
|
287
|
+
}
|
|
288
|
+
interface DashboardAuthorizeInvestigationRequest extends DashboardInvestigationRequest {
|
|
289
|
+
proposalId: string;
|
|
290
|
+
}
|
|
291
|
+
interface DashboardCompleteInvestigationRequest extends DashboardAgentInvestigationRequest {
|
|
292
|
+
receipt: DashboardInvestigationReceiptInput;
|
|
293
|
+
}
|
|
294
|
+
interface DashboardVerifyInvestigationRequest extends DashboardInvestigationRequest {
|
|
295
|
+
report: DashboardReportIdentity;
|
|
296
|
+
summary: string;
|
|
297
|
+
}
|
|
298
|
+
//#endregion
|
|
299
|
+
//#region src/dashboard/payload.d.ts
|
|
300
|
+
interface DashboardAnalyzePayloadDescriptor {
|
|
301
|
+
characters: number;
|
|
302
|
+
hash: string;
|
|
303
|
+
pages: number;
|
|
304
|
+
}
|
|
305
|
+
interface DashboardAnalyzePayloadsDescriptor {
|
|
306
|
+
current: DashboardAnalyzePayloadDescriptor;
|
|
307
|
+
previous: DashboardAnalyzePayloadDescriptor | null;
|
|
308
|
+
}
|
|
309
|
+
interface DashboardAnalyzePageRequest {
|
|
310
|
+
index: number;
|
|
311
|
+
revision: number;
|
|
312
|
+
target: 'current' | 'previous';
|
|
313
|
+
}
|
|
314
|
+
interface DashboardAnalyzePage {
|
|
315
|
+
content: string;
|
|
316
|
+
descriptor: DashboardAnalyzePayloadDescriptor;
|
|
317
|
+
index: number;
|
|
318
|
+
revision: number;
|
|
319
|
+
target: DashboardAnalyzePageRequest['target'];
|
|
320
|
+
}
|
|
321
|
+
//#endregion
|
|
322
|
+
//#region src/dashboard/queries/schema.d.ts
|
|
323
|
+
declare const analyzeQuerySchema: z.ZodObject<{
|
|
324
|
+
revision: z.ZodNumber;
|
|
325
|
+
target: z.ZodDefault<z.ZodEnum<{
|
|
326
|
+
current: "current";
|
|
327
|
+
previous: "previous";
|
|
328
|
+
}>>;
|
|
329
|
+
}, z.core.$strip>;
|
|
330
|
+
declare const analyzeSummarySchema: z.ZodObject<{
|
|
331
|
+
previousAvailable: z.ZodBoolean;
|
|
332
|
+
totals: z.ZodObject<{
|
|
333
|
+
packages: z.ZodNumber;
|
|
334
|
+
files: z.ZodNumber;
|
|
335
|
+
modules: z.ZodNumber;
|
|
336
|
+
bytes: z.ZodNumber;
|
|
337
|
+
unmeasuredFiles: z.ZodNumber;
|
|
338
|
+
}, z.core.$strip>;
|
|
339
|
+
totalBudget: z.ZodNullable<z.ZodObject<{
|
|
340
|
+
id: z.ZodString;
|
|
341
|
+
label: z.ZodString;
|
|
342
|
+
scope: z.ZodEnum<{
|
|
343
|
+
total: "total";
|
|
344
|
+
runtime: "runtime";
|
|
345
|
+
main: "main";
|
|
346
|
+
subPackage: "subPackage";
|
|
347
|
+
independent: "independent";
|
|
348
|
+
virtual: "virtual";
|
|
349
|
+
}>;
|
|
350
|
+
currentBytes: z.ZodNumber;
|
|
351
|
+
limitBytes: z.ZodNumber;
|
|
352
|
+
ratio: z.ZodNumber;
|
|
353
|
+
status: z.ZodEnum<{
|
|
354
|
+
unknown: "unknown";
|
|
355
|
+
warning: "warning";
|
|
356
|
+
ok: "ok";
|
|
357
|
+
exceeded: "exceeded";
|
|
358
|
+
}>;
|
|
359
|
+
measurement: z.ZodEnum<{
|
|
360
|
+
"file-bytes": "file-bytes";
|
|
361
|
+
"upper-bound": "upper-bound";
|
|
362
|
+
unavailable: "unavailable";
|
|
363
|
+
}>;
|
|
364
|
+
}, z.core.$strip>>;
|
|
365
|
+
runtimeBudget: z.ZodNullable<z.ZodObject<{
|
|
366
|
+
id: z.ZodString;
|
|
367
|
+
label: z.ZodString;
|
|
368
|
+
scope: z.ZodEnum<{
|
|
369
|
+
total: "total";
|
|
370
|
+
runtime: "runtime";
|
|
371
|
+
main: "main";
|
|
372
|
+
subPackage: "subPackage";
|
|
373
|
+
independent: "independent";
|
|
374
|
+
virtual: "virtual";
|
|
375
|
+
}>;
|
|
376
|
+
currentBytes: z.ZodNumber;
|
|
377
|
+
limitBytes: z.ZodNumber;
|
|
378
|
+
ratio: z.ZodNumber;
|
|
379
|
+
status: z.ZodEnum<{
|
|
380
|
+
unknown: "unknown";
|
|
381
|
+
warning: "warning";
|
|
382
|
+
ok: "ok";
|
|
383
|
+
exceeded: "exceeded";
|
|
384
|
+
}>;
|
|
385
|
+
measurement: z.ZodEnum<{
|
|
386
|
+
"file-bytes": "file-bytes";
|
|
387
|
+
"upper-bound": "upper-bound";
|
|
388
|
+
unavailable: "unavailable";
|
|
389
|
+
}>;
|
|
390
|
+
}, z.core.$strip>>;
|
|
391
|
+
packageBudgets: z.ZodObject<{
|
|
392
|
+
ok: z.ZodNumber;
|
|
393
|
+
warning: z.ZodNumber;
|
|
394
|
+
exceeded: z.ZodNumber;
|
|
395
|
+
unknown: z.ZodNumber;
|
|
396
|
+
}, z.core.$strip>;
|
|
397
|
+
revision: z.ZodNumber;
|
|
398
|
+
target: z.ZodEnum<{
|
|
399
|
+
current: "current";
|
|
400
|
+
previous: "previous";
|
|
401
|
+
}>;
|
|
402
|
+
reportHash: z.ZodString;
|
|
403
|
+
}, z.core.$strip>;
|
|
404
|
+
declare const packagesQuerySchema: z.ZodObject<{
|
|
405
|
+
revision: z.ZodNumber;
|
|
406
|
+
target: z.ZodDefault<z.ZodEnum<{
|
|
407
|
+
current: "current";
|
|
408
|
+
previous: "previous";
|
|
409
|
+
}>>;
|
|
410
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
411
|
+
main: "main";
|
|
412
|
+
subPackage: "subPackage";
|
|
413
|
+
independent: "independent";
|
|
414
|
+
virtual: "virtual";
|
|
415
|
+
}>>;
|
|
416
|
+
query: z.ZodOptional<z.ZodString>;
|
|
417
|
+
budgetStatus: z.ZodOptional<z.ZodEnum<{
|
|
418
|
+
unknown: "unknown";
|
|
419
|
+
warning: "warning";
|
|
420
|
+
ok: "ok";
|
|
421
|
+
exceeded: "exceeded";
|
|
422
|
+
}>>;
|
|
423
|
+
sortBy: z.ZodDefault<z.ZodEnum<{
|
|
424
|
+
bytes: "bytes";
|
|
425
|
+
name: "name";
|
|
426
|
+
budgetRatio: "budgetRatio";
|
|
427
|
+
}>>;
|
|
428
|
+
order: z.ZodDefault<z.ZodEnum<{
|
|
429
|
+
asc: "asc";
|
|
430
|
+
desc: "desc";
|
|
431
|
+
}>>;
|
|
432
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
433
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
434
|
+
}, z.core.$strip>;
|
|
435
|
+
declare const packagesPageSchema: z.ZodObject<{
|
|
436
|
+
items: z.ZodArray<z.ZodObject<{
|
|
437
|
+
id: z.ZodString;
|
|
438
|
+
label: z.ZodString;
|
|
439
|
+
type: z.ZodEnum<{
|
|
440
|
+
main: "main";
|
|
441
|
+
subPackage: "subPackage";
|
|
442
|
+
independent: "independent";
|
|
443
|
+
virtual: "virtual";
|
|
444
|
+
}>;
|
|
445
|
+
bytes: z.ZodNumber;
|
|
446
|
+
fileCount: z.ZodNumber;
|
|
447
|
+
moduleCount: z.ZodNumber;
|
|
448
|
+
unmeasuredFiles: z.ZodNumber;
|
|
449
|
+
budget: z.ZodNullable<z.ZodObject<{
|
|
450
|
+
id: z.ZodString;
|
|
451
|
+
label: z.ZodString;
|
|
452
|
+
scope: z.ZodEnum<{
|
|
453
|
+
total: "total";
|
|
454
|
+
runtime: "runtime";
|
|
455
|
+
main: "main";
|
|
456
|
+
subPackage: "subPackage";
|
|
457
|
+
independent: "independent";
|
|
458
|
+
virtual: "virtual";
|
|
459
|
+
}>;
|
|
460
|
+
currentBytes: z.ZodNumber;
|
|
461
|
+
limitBytes: z.ZodNumber;
|
|
462
|
+
ratio: z.ZodNumber;
|
|
463
|
+
status: z.ZodEnum<{
|
|
464
|
+
unknown: "unknown";
|
|
465
|
+
warning: "warning";
|
|
466
|
+
ok: "ok";
|
|
467
|
+
exceeded: "exceeded";
|
|
468
|
+
}>;
|
|
469
|
+
measurement: z.ZodEnum<{
|
|
470
|
+
"file-bytes": "file-bytes";
|
|
471
|
+
"upper-bound": "upper-bound";
|
|
472
|
+
unavailable: "unavailable";
|
|
473
|
+
}>;
|
|
474
|
+
}, z.core.$strip>>;
|
|
475
|
+
}, z.core.$strip>>;
|
|
476
|
+
total: z.ZodNumber;
|
|
477
|
+
offset: z.ZodNumber;
|
|
478
|
+
nextOffset: z.ZodNullable<z.ZodNumber>;
|
|
479
|
+
revision: z.ZodNumber;
|
|
480
|
+
target: z.ZodEnum<{
|
|
481
|
+
current: "current";
|
|
482
|
+
previous: "previous";
|
|
483
|
+
}>;
|
|
484
|
+
reportHash: z.ZodString;
|
|
485
|
+
}, z.core.$strip>;
|
|
486
|
+
declare const artifactsQuerySchema: z.ZodObject<{
|
|
487
|
+
revision: z.ZodNumber;
|
|
488
|
+
target: z.ZodDefault<z.ZodEnum<{
|
|
489
|
+
current: "current";
|
|
490
|
+
previous: "previous";
|
|
491
|
+
}>>;
|
|
492
|
+
packageId: z.ZodOptional<z.ZodString>;
|
|
493
|
+
moduleId: z.ZodOptional<z.ZodString>;
|
|
494
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
495
|
+
chunk: "chunk";
|
|
496
|
+
asset: "asset";
|
|
497
|
+
}>>;
|
|
498
|
+
query: z.ZodOptional<z.ZodString>;
|
|
499
|
+
sortBy: z.ZodDefault<z.ZodEnum<{
|
|
500
|
+
path: "path";
|
|
501
|
+
size: "size";
|
|
502
|
+
}>>;
|
|
503
|
+
order: z.ZodDefault<z.ZodEnum<{
|
|
504
|
+
asc: "asc";
|
|
505
|
+
desc: "desc";
|
|
506
|
+
}>>;
|
|
507
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
508
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
509
|
+
}, z.core.$strip>;
|
|
510
|
+
declare const artifactsPageSchema: z.ZodObject<{
|
|
511
|
+
items: z.ZodArray<z.ZodObject<{
|
|
512
|
+
packageId: z.ZodString;
|
|
513
|
+
packageType: z.ZodEnum<{
|
|
514
|
+
main: "main";
|
|
515
|
+
subPackage: "subPackage";
|
|
516
|
+
independent: "independent";
|
|
517
|
+
virtual: "virtual";
|
|
518
|
+
}>;
|
|
519
|
+
file: z.ZodString;
|
|
520
|
+
type: z.ZodEnum<{
|
|
521
|
+
chunk: "chunk";
|
|
522
|
+
asset: "asset";
|
|
523
|
+
}>;
|
|
524
|
+
from: z.ZodEnum<{
|
|
525
|
+
main: "main";
|
|
526
|
+
independent: "independent";
|
|
527
|
+
}>;
|
|
528
|
+
size: z.ZodNullable<z.ZodNumber>;
|
|
529
|
+
gzipSize: z.ZodOptional<z.ZodNumber>;
|
|
530
|
+
brotliSize: z.ZodOptional<z.ZodNumber>;
|
|
531
|
+
isEntry: z.ZodOptional<z.ZodBoolean>;
|
|
532
|
+
moduleCount: z.ZodNumber;
|
|
533
|
+
source: z.ZodOptional<z.ZodString>;
|
|
534
|
+
sourceType: z.ZodOptional<z.ZodEnum<{
|
|
535
|
+
src: "src";
|
|
536
|
+
plugin: "plugin";
|
|
537
|
+
node_modules: "node_modules";
|
|
538
|
+
workspace: "workspace";
|
|
539
|
+
}>>;
|
|
540
|
+
}, z.core.$strip>>;
|
|
541
|
+
total: z.ZodNumber;
|
|
542
|
+
offset: z.ZodNumber;
|
|
543
|
+
nextOffset: z.ZodNullable<z.ZodNumber>;
|
|
544
|
+
revision: z.ZodNumber;
|
|
545
|
+
target: z.ZodEnum<{
|
|
546
|
+
current: "current";
|
|
547
|
+
previous: "previous";
|
|
548
|
+
}>;
|
|
549
|
+
reportHash: z.ZodString;
|
|
550
|
+
}, z.core.$strip>;
|
|
551
|
+
declare const modulesQuerySchema: z.ZodObject<{
|
|
552
|
+
revision: z.ZodNumber;
|
|
553
|
+
target: z.ZodDefault<z.ZodEnum<{
|
|
554
|
+
current: "current";
|
|
555
|
+
previous: "previous";
|
|
556
|
+
}>>;
|
|
557
|
+
packageId: z.ZodOptional<z.ZodString>;
|
|
558
|
+
artifact: z.ZodOptional<z.ZodString>;
|
|
559
|
+
sourceType: z.ZodOptional<z.ZodEnum<{
|
|
560
|
+
src: "src";
|
|
561
|
+
plugin: "plugin";
|
|
562
|
+
node_modules: "node_modules";
|
|
563
|
+
workspace: "workspace";
|
|
564
|
+
}>>;
|
|
565
|
+
query: z.ZodOptional<z.ZodString>;
|
|
566
|
+
duplicateOnly: z.ZodDefault<z.ZodBoolean>;
|
|
567
|
+
sortBy: z.ZodDefault<z.ZodEnum<{
|
|
568
|
+
source: "source";
|
|
569
|
+
bytes: "bytes";
|
|
570
|
+
estimatedSavingBytes: "estimatedSavingBytes";
|
|
571
|
+
}>>;
|
|
572
|
+
order: z.ZodDefault<z.ZodEnum<{
|
|
573
|
+
asc: "asc";
|
|
574
|
+
desc: "desc";
|
|
575
|
+
}>>;
|
|
576
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
577
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
578
|
+
}, z.core.$strip>;
|
|
579
|
+
declare const modulesPageSchema: z.ZodObject<{
|
|
580
|
+
items: z.ZodArray<z.ZodObject<{
|
|
581
|
+
id: z.ZodString;
|
|
582
|
+
source: z.ZodString;
|
|
583
|
+
sourceType: z.ZodEnum<{
|
|
584
|
+
src: "src";
|
|
585
|
+
plugin: "plugin";
|
|
586
|
+
node_modules: "node_modules";
|
|
587
|
+
workspace: "workspace";
|
|
588
|
+
}>;
|
|
589
|
+
bytes: z.ZodNumber;
|
|
590
|
+
packageCount: z.ZodNumber;
|
|
591
|
+
fileCount: z.ZodNumber;
|
|
592
|
+
estimatedSavingBytes: z.ZodNumber;
|
|
593
|
+
hasIndependentPackage: z.ZodBoolean;
|
|
594
|
+
advice: z.ZodOptional<z.ZodString>;
|
|
595
|
+
}, z.core.$strip>>;
|
|
596
|
+
total: z.ZodNumber;
|
|
597
|
+
offset: z.ZodNumber;
|
|
598
|
+
nextOffset: z.ZodNullable<z.ZodNumber>;
|
|
599
|
+
revision: z.ZodNumber;
|
|
600
|
+
target: z.ZodEnum<{
|
|
601
|
+
current: "current";
|
|
602
|
+
previous: "previous";
|
|
603
|
+
}>;
|
|
604
|
+
reportHash: z.ZodString;
|
|
605
|
+
}, z.core.$strip>;
|
|
606
|
+
declare const comparisonQuerySchema: z.ZodObject<{
|
|
607
|
+
scope: z.ZodEnum<{
|
|
608
|
+
file: "file";
|
|
609
|
+
package: "package";
|
|
610
|
+
module: "module";
|
|
611
|
+
}>;
|
|
612
|
+
packageId: z.ZodOptional<z.ZodString>;
|
|
613
|
+
change: z.ZodOptional<z.ZodEnum<{
|
|
614
|
+
added: "added";
|
|
615
|
+
removed: "removed";
|
|
616
|
+
increased: "increased";
|
|
617
|
+
decreased: "decreased";
|
|
618
|
+
unmeasured: "unmeasured";
|
|
619
|
+
}>>;
|
|
620
|
+
query: z.ZodOptional<z.ZodString>;
|
|
621
|
+
offset: z.ZodDefault<z.ZodNumber>;
|
|
622
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
623
|
+
revision: z.ZodNumber;
|
|
624
|
+
}, z.core.$strip>;
|
|
625
|
+
declare const comparisonPageSchema: z.ZodObject<{
|
|
626
|
+
items: z.ZodArray<z.ZodObject<{
|
|
627
|
+
key: z.ZodString;
|
|
628
|
+
label: z.ZodString;
|
|
629
|
+
change: z.ZodEnum<{
|
|
630
|
+
added: "added";
|
|
631
|
+
removed: "removed";
|
|
632
|
+
increased: "increased";
|
|
633
|
+
decreased: "decreased";
|
|
634
|
+
unmeasured: "unmeasured";
|
|
635
|
+
}>;
|
|
636
|
+
currentBytes: z.ZodNullable<z.ZodNumber>;
|
|
637
|
+
previousBytes: z.ZodNullable<z.ZodNumber>;
|
|
638
|
+
deltaBytes: z.ZodNullable<z.ZodNumber>;
|
|
639
|
+
packageId: z.ZodOptional<z.ZodString>;
|
|
640
|
+
packageLabel: z.ZodOptional<z.ZodString>;
|
|
641
|
+
file: z.ZodOptional<z.ZodString>;
|
|
642
|
+
moduleId: z.ZodOptional<z.ZodString>;
|
|
643
|
+
sourceType: z.ZodOptional<z.ZodEnum<{
|
|
644
|
+
src: "src";
|
|
645
|
+
plugin: "plugin";
|
|
646
|
+
node_modules: "node_modules";
|
|
647
|
+
workspace: "workspace";
|
|
648
|
+
}>>;
|
|
649
|
+
category: z.ZodOptional<z.ZodString>;
|
|
650
|
+
advice: z.ZodOptional<z.ZodString>;
|
|
651
|
+
}, z.core.$strip>>;
|
|
652
|
+
total: z.ZodNumber;
|
|
653
|
+
offset: z.ZodNumber;
|
|
654
|
+
nextOffset: z.ZodNullable<z.ZodNumber>;
|
|
655
|
+
revision: z.ZodNumber;
|
|
656
|
+
currentHash: z.ZodString;
|
|
657
|
+
previousHash: z.ZodNullable<z.ZodString>;
|
|
658
|
+
available: z.ZodBoolean;
|
|
659
|
+
totals: z.ZodNullable<z.ZodObject<{
|
|
660
|
+
currentBytes: z.ZodNullable<z.ZodNumber>;
|
|
661
|
+
previousBytes: z.ZodNullable<z.ZodNumber>;
|
|
662
|
+
deltaBytes: z.ZodNullable<z.ZodNumber>;
|
|
663
|
+
currentUnmeasuredFiles: z.ZodNumber;
|
|
664
|
+
previousUnmeasuredFiles: z.ZodNumber;
|
|
665
|
+
}, z.core.$strip>>;
|
|
666
|
+
}, z.core.$strip>;
|
|
667
|
+
type DashboardAnalyzeQuery = z.input<typeof analyzeQuerySchema>;
|
|
668
|
+
type DashboardAnalyzeSummary = z.output<typeof analyzeSummarySchema>;
|
|
669
|
+
type DashboardPackagesQuery = z.input<typeof packagesQuerySchema>;
|
|
670
|
+
type DashboardPackagesPage = z.output<typeof packagesPageSchema>;
|
|
671
|
+
type DashboardArtifactsQuery = z.input<typeof artifactsQuerySchema>;
|
|
672
|
+
type DashboardArtifactsPage = z.output<typeof artifactsPageSchema>;
|
|
673
|
+
type DashboardModulesQuery = z.input<typeof modulesQuerySchema>;
|
|
674
|
+
type DashboardModulesPage = z.output<typeof modulesPageSchema>;
|
|
675
|
+
type DashboardComparisonQuery = z.input<typeof comparisonQuerySchema>;
|
|
676
|
+
type DashboardComparisonPage = z.output<typeof comparisonPageSchema>;
|
|
677
|
+
//#endregion
|
|
678
|
+
//#region src/dashboard/assets.d.ts
|
|
679
|
+
/** 定位可选仪表盘包的原生构建 SPA;未安装或尚未构建时返回 undefined。 */
|
|
680
|
+
declare function resolveDashboardClientAssets(cwd?: string): string | undefined;
|
|
681
|
+
//#endregion
|
|
682
|
+
//#region src/dashboard/index.d.ts
|
|
683
|
+
/** 报告与产物在发布后不可再修改;控制器只保留引用,不复制或清空调用方的 Map。 */
|
|
684
|
+
interface DashboardAnalyzeSnapshot {
|
|
685
|
+
current: AnalyzeSubpackagesResult;
|
|
686
|
+
previous: AnalyzeSubpackagesResult | null;
|
|
687
|
+
artifacts: DashboardArtifactFiles;
|
|
688
|
+
}
|
|
689
|
+
interface DashboardDevframeState {
|
|
690
|
+
sessionId: string;
|
|
691
|
+
investigations: DashboardInvestigationsState;
|
|
692
|
+
analyze: DashboardAnalyzePayloadsDescriptor;
|
|
693
|
+
revision: number;
|
|
694
|
+
runtimeEvents: DashboardRuntimeEvent[];
|
|
695
|
+
}
|
|
696
|
+
interface CreateAnalyzeDashboardDevframeOptions {
|
|
697
|
+
snapshot: DashboardAnalyzeSnapshot;
|
|
698
|
+
roots: DashboardContentRoots;
|
|
699
|
+
initialEvents?: DashboardRuntimeEventInput[];
|
|
700
|
+
/** 已构建面板的绝对目录;源码独立宿主可不提供。 */
|
|
701
|
+
clientAssets?: string;
|
|
702
|
+
}
|
|
703
|
+
/** 每个控制器对应一个宿主生命周期,宿主负责在关闭或启动失败时释放。 */
|
|
704
|
+
interface AnalyzeDashboardDevframeController {
|
|
705
|
+
readonly definition: DevframeDefinition;
|
|
706
|
+
update: (result: AnalyzeSubpackagesResult, artifacts: DashboardArtifactFiles, previousResult?: AnalyzeSubpackagesResult | null) => Promise<void>;
|
|
707
|
+
emitRuntimeEvents: (events: DashboardRuntimeEventInput[]) => void;
|
|
708
|
+
dispose: () => void;
|
|
709
|
+
}
|
|
710
|
+
declare module 'devframe' {
|
|
711
|
+
interface DevframeRpcClientFunctions {
|
|
712
|
+
'weapp-vite:dashboard-state-updated': (state: DashboardDevframeState) => void;
|
|
713
|
+
}
|
|
714
|
+
interface DevframeRpcServerFunctions {
|
|
715
|
+
'weapp-vite:get-dashboard-state': () => DashboardDevframeState;
|
|
716
|
+
'weapp-vite:get-analyze-page': (input: DashboardAnalyzePageRequest) => DashboardAnalyzePage;
|
|
717
|
+
'weapp-vite:read-dashboard-file': (input: DashboardFileReadRequest) => Promise<DashboardFileContent>;
|
|
718
|
+
'weapp-vite:query-runtime-events': (input: DashboardRuntimeEventsQueryRequest) => DashboardRuntimeEventsPage;
|
|
719
|
+
'weapp-vite:get-analyze-summary': (input: DashboardAnalyzeQuery) => DashboardAnalyzeSummary;
|
|
720
|
+
'weapp-vite:query-analyze-packages': (input: DashboardPackagesQuery) => DashboardPackagesPage;
|
|
721
|
+
'weapp-vite:query-analyze-artifacts': (input: DashboardArtifactsQuery) => DashboardArtifactsPage;
|
|
722
|
+
'weapp-vite:query-analyze-modules': (input: DashboardModulesQuery) => DashboardModulesPage;
|
|
723
|
+
'weapp-vite:compare-analyze-builds': (input: DashboardComparisonQuery) => DashboardComparisonPage;
|
|
724
|
+
'weapp-vite:list-investigations': () => DashboardInvestigationsState;
|
|
725
|
+
'weapp-vite:get-investigation': (input: {
|
|
726
|
+
id: string;
|
|
727
|
+
}) => DashboardInvestigation;
|
|
728
|
+
'weapp-vite:create-investigation': (input: DashboardCreateInvestigationRequest) => DashboardInvestigation;
|
|
729
|
+
'weapp-vite:cancel-investigation': (input: DashboardInvestigationRequest) => DashboardInvestigation;
|
|
730
|
+
'weapp-vite:authorize-investigation': (input: DashboardAuthorizeInvestigationRequest) => DashboardInvestigation;
|
|
731
|
+
'weapp-vite:verify-investigation': (input: DashboardVerifyInvestigationRequest) => DashboardInvestigation;
|
|
732
|
+
'weapp-vite:claim-investigation': (input: DashboardClaimInvestigationRequest) => DashboardInvestigationClaim;
|
|
733
|
+
'weapp-vite:propose-investigation': (input: DashboardProposeInvestigationRequest) => DashboardInvestigation;
|
|
734
|
+
'weapp-vite:start-investigation': (input: DashboardAgentInvestigationRequest) => DashboardInvestigation;
|
|
735
|
+
'weapp-vite:complete-investigation': (input: DashboardCompleteInvestigationRequest) => DashboardInvestigation;
|
|
736
|
+
}
|
|
737
|
+
}
|
|
738
|
+
/** 创建只读分析与任务元数据能力,不执行外部工作,也不修改宿主认证策略。 */
|
|
739
|
+
declare function createAnalyzeDashboardDevframe({ snapshot: initialSnapshot, roots, initialEvents, clientAssets }: CreateAnalyzeDashboardDevframeOptions): AnalyzeDashboardDevframeController;
|
|
740
|
+
//#endregion
|
|
741
|
+
export { DashboardInvestigationReceiptInput as A, DashboardRuntimeEventInput as B, DashboardClaimInvestigationRequest as C, DashboardInvestigationClaim as D, DashboardInvestigation as E, DashboardObjectMeasurements as F, DashboardFileReadRequest as G, DashboardRuntimeEventsPage as H, DashboardProposeInvestigationRequest as I, DashboardArtifactFiles as J, DashboardContentRoots as K, DashboardReportIdentity as L, DashboardInvestigationStatus as M, DashboardInvestigationTarget as N, DashboardInvestigationProposal as O, DashboardInvestigationsState as P, DashboardVerifyInvestigationRequest as R, DashboardAuthorizeInvestigationRequest as S, DashboardCreateInvestigationRequest as T, DashboardRuntimeEventsQueryRequest as U, DashboardRuntimeEventProfile as V, DashboardFileContent as W, createDashboardArtifactSnapshot as Y, DashboardAnalyzePage as _, createAnalyzeDashboardDevframe as a, DashboardAnalyzePayloadsDescriptor as b, DashboardAnalyzeSummary as c, DashboardComparisonPage as d, DashboardComparisonQuery as f, DashboardPackagesQuery as g, DashboardPackagesPage as h, DashboardDevframeState as i, DashboardInvestigationRequest as j, DashboardInvestigationProposalInput as k, DashboardArtifactsPage as l, DashboardModulesQuery as m, CreateAnalyzeDashboardDevframeOptions as n, resolveDashboardClientAssets as o, DashboardModulesPage as p, DashboardArtifactFile as q, DashboardAnalyzeSnapshot as r, DashboardAnalyzeQuery as s, AnalyzeDashboardDevframeController as t, DashboardArtifactsQuery as u, DashboardAnalyzePageRequest as v, DashboardCompleteInvestigationRequest as w, DashboardAgentInvestigationRequest as x, DashboardAnalyzePayloadDescriptor as y, DashboardRuntimeEvent as z };
|