@groundcover/api-client 0.14.0 → 0.16.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.
@@ -2258,8 +2258,8 @@ export type DashboardFiltersRequest = {
2258
2258
  */
2259
2259
  query?: string;
2260
2260
  /**
2261
- * Optional list of facet keys (owner, tags, source) that must appear in the
2262
- * response even when the filtered set produces no values for them — each such
2261
+ * Optional list of facet keys (owner, tags, source, favorites) that must
2262
+ * appear in the response even when the filtered set produces no values for them — each such
2263
2263
  * key comes back as an empty list instead of being omitted from the map. This
2264
2264
  * only guarantees presence: every facet is computed regardless of what is listed
2265
2265
  * here. Keys outside the supported facet set are rejected with a 400 rather than
@@ -7440,6 +7440,11 @@ export type UnfurlTraceSummary = {
7440
7440
  slowestSpan?: UnfurlSlowestSpan;
7441
7441
  spanCount?: number;
7442
7442
  spanName?: string;
7443
+ /**
7444
+ * StatusCode is the root span's protocol return code ("200", "500", a gRPC
7445
+ * code, …), empty for a protocol that has none.
7446
+ */
7447
+ statusCode?: string;
7443
7448
  traceId?: string;
7444
7449
  };
7445
7450
  /**
@@ -9099,7 +9104,7 @@ export type GetDashboardsData = {
9099
9104
  */
9100
9105
  source?: 'gc-catalog' | 'terraform' | 'regular';
9101
9106
  /**
9102
- * gcQL filter query (filters only, no pipes). Supported keys: name, tags, owner, source, description, team. `status` is also accepted but intentionally not suggested by the filter-bar autocomplete — the status selector owns it via the top-level status param, and the two are ANDed, so a query status that contradicts the param yields an empty list. Unkeyed terms are free text, matched as a case-insensitive substring across name, description, owner and tags.
9107
+ * gcQL filter query (filters only, no pipes). Supported keys: name, tags, owner, source, description, team. `status` and `favorites` (e.g. favorites:true, scoped to the authenticated member) are also accepted but intentionally not suggested by the filter-bar autocomplete — the status selector owns status via the top-level status param (the two are ANDed, so a query status that contradicts the param yields an empty list), and the facet panel owns favorites. Unkeyed terms are free text, matched as a case-insensitive substring across name, description, owner and tags.
9103
9108
  */
9104
9109
  query?: string;
9105
9110
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@groundcover/api-client",
3
- "version": "0.14.0",
3
+ "version": "0.16.0",
4
4
  "description": "groundcover TypeScript API Client",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -2409,8 +2409,8 @@ export type DashboardFiltersRequest = {
2409
2409
  */
2410
2410
  query?: string;
2411
2411
  /**
2412
- * Optional list of facet keys (owner, tags, source) that must appear in the
2413
- * response even when the filtered set produces no values for them — each such
2412
+ * Optional list of facet keys (owner, tags, source, favorites) that must
2413
+ * appear in the response even when the filtered set produces no values for them — each such
2414
2414
  * key comes back as an empty list instead of being omitted from the map. This
2415
2415
  * only guarantees presence: every facet is computed regardless of what is listed
2416
2416
  * here. Keys outside the supported facet set are rejected with a 400 rather than
@@ -8020,6 +8020,11 @@ export type UnfurlTraceSummary = {
8020
8020
  slowestSpan?: UnfurlSlowestSpan;
8021
8021
  spanCount?: number;
8022
8022
  spanName?: string;
8023
+ /**
8024
+ * StatusCode is the root span's protocol return code ("200", "500", a gRPC
8025
+ * code, …), empty for a protocol that has none.
8026
+ */
8027
+ statusCode?: string;
8023
8028
  traceId?: string;
8024
8029
  };
8025
8030
 
@@ -9824,7 +9829,7 @@ export type GetDashboardsData = {
9824
9829
  */
9825
9830
  source?: 'gc-catalog' | 'terraform' | 'regular';
9826
9831
  /**
9827
- * gcQL filter query (filters only, no pipes). Supported keys: name, tags, owner, source, description, team. `status` is also accepted but intentionally not suggested by the filter-bar autocomplete — the status selector owns it via the top-level status param, and the two are ANDed, so a query status that contradicts the param yields an empty list. Unkeyed terms are free text, matched as a case-insensitive substring across name, description, owner and tags.
9832
+ * gcQL filter query (filters only, no pipes). Supported keys: name, tags, owner, source, description, team. `status` and `favorites` (e.g. favorites:true, scoped to the authenticated member) are also accepted but intentionally not suggested by the filter-bar autocomplete — the status selector owns status via the top-level status param (the two are ANDed, so a query status that contradicts the param yields an empty list), and the facet panel owns favorites. Unkeyed terms are free text, matched as a case-insensitive substring across name, description, owner and tags.
9828
9833
  */
9829
9834
  query?: string;
9830
9835
  };