@cookiemunch/sdk 0.24.0 → 0.25.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/CHANGELOG.md +5 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +11 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types.d.ts +11 -0
- package/package.json +1 -1
package/dist/types.d.ts
CHANGED
|
@@ -138,6 +138,17 @@ export interface HealthRow {
|
|
|
138
138
|
by: string;
|
|
139
139
|
until: number | null;
|
|
140
140
|
};
|
|
141
|
+
/** `check:subject`, unique in a report: one check run for two connections is two rows with two keys. */
|
|
142
|
+
key: string;
|
|
143
|
+
/** Failing rows: why, in one sentence (the same as `detail`). */
|
|
144
|
+
reason?: string;
|
|
145
|
+
/** Failing rows: who has to act. `you`, `cookiemunch` (send us the `ref`), or a vendor id. */
|
|
146
|
+
fixedBy?: 'you' | 'cookiemunch' | (string & {});
|
|
147
|
+
/** The record the row is about: a connection or a scan. */
|
|
148
|
+
ref?: {
|
|
149
|
+
type: 'executor' | 'scan';
|
|
150
|
+
id: string;
|
|
151
|
+
};
|
|
141
152
|
lastCheckedAt: number;
|
|
142
153
|
}
|
|
143
154
|
export interface IntegrationHealthReport {
|