20260718 Explorer 接入 VRP 检索查询
This commit is contained in:
@@ -209,6 +209,15 @@ export const searchResultSchema = z
|
||||
})
|
||||
.passthrough();
|
||||
|
||||
export const vrpRecordSchema = z
|
||||
.object({
|
||||
runId: z.string(),
|
||||
asn: z.number(),
|
||||
prefix: z.string(),
|
||||
maxLength: z.number(),
|
||||
})
|
||||
.passthrough();
|
||||
|
||||
export const healthSchema = z
|
||||
.object({
|
||||
status: z.string(),
|
||||
@@ -295,6 +304,7 @@ export type ValidationStage = z.infer<typeof validationStageSchema>;
|
||||
export type ValidationSummary = z.infer<typeof validationSummarySchema>;
|
||||
export type ExplainRecord = z.infer<typeof explainRecordSchema>;
|
||||
export type SearchResult = z.infer<typeof searchResultSchema>;
|
||||
export type VrpRecord = z.infer<typeof vrpRecordSchema>;
|
||||
export type HealthStatus = z.infer<typeof healthSchema>;
|
||||
export type ServiceInfo = z.infer<typeof serviceInfoSchema>;
|
||||
export type ManifestFileEntry = z.infer<typeof manifestFileEntrySchema>;
|
||||
|
||||
Reference in New Issue
Block a user