@myapihq/sdk 1.3.2 → 1.3.5
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/package.json +1 -1
- package/src/hq.ts +8 -1
package/package.json
CHANGED
package/src/hq.ts
CHANGED
|
@@ -285,7 +285,14 @@ export interface DoctorIssue {
|
|
|
285
285
|
severity: DoctorSeverity;
|
|
286
286
|
scope: string; // logical scope, e.g. 'funnel/<slug>'
|
|
287
287
|
entity?: DoctorEntityRef;
|
|
288
|
-
|
|
288
|
+
// Open string — do not exhaustively switch on it. Backend categories,
|
|
289
|
+
// per the OpenAPI schema: 'reference_integrity' | 'orphan' | 'activity' |
|
|
290
|
+
// 'security' | 'billing' | 'internal'. The backend may also emit
|
|
291
|
+
// slash-namespaced subcategories (e.g. 'security/spf', 'security/dmarc');
|
|
292
|
+
// if you branch on category, match the parent by splitting on the first
|
|
293
|
+
// '/'. The CLI's local augmentation adds one more category not in the
|
|
294
|
+
// schema: 'network' (the DNS + HTTP reachability probes).
|
|
295
|
+
category?: string;
|
|
289
296
|
message: string;
|
|
290
297
|
hint?: string;
|
|
291
298
|
}
|