add duration (#420)

This commit is contained in:
Fine0830 2024-10-16 10:26:45 +08:00 committed by GitHub
parent 61449f4b17
commit bddbe40974
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -73,9 +73,9 @@ export const Processes = {
}; };
export const Endpoints = { export const Endpoints = {
variable: "$serviceId: ID!, $keyword: String!", variable: "$serviceId: ID!, $keyword: String!, $duration: Duration",
query: ` query: `
pods: findEndpoint(serviceId: $serviceId, keyword: $keyword, limit: 20) { pods: findEndpoint(serviceId: $serviceId, keyword: $keyword, limit: 20, duration: $duration) {
id id
value: name value: name
label: name label: name