fix: harden workspace diagnostic protocols
This commit is contained in:
@@ -10,7 +10,7 @@ export type VectorTransport = (typeof VECTOR_TRANSPORTS)[number];
|
||||
export const REST_DIAGNOSTIC_METHODS = ["GET", "POST"] as const;
|
||||
export type RestDiagnosticMethod = (typeof REST_DIAGNOSTIC_METHODS)[number];
|
||||
|
||||
export const DIAGNOSTIC_AUTH_MODES = ["none", "bearer"] as const;
|
||||
export const DIAGNOSTIC_AUTH_MODES = ["none", "bearer", "x-api-key"] as const;
|
||||
export type DiagnosticAuthMode = (typeof DIAGNOSTIC_AUTH_MODES)[number];
|
||||
|
||||
export interface RestDiagnosticRequest {
|
||||
|
||||
Reference in New Issue
Block a user