@argos-ci/api-client 0.26.0 → 0.27.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.
Files changed (2) hide show
  1. package/dist/index.d.mts +9 -1
  2. package/package.json +2 -2
package/dist/index.d.mts CHANGED
@@ -629,7 +629,15 @@ interface components {
629
629
  ScreenshotInput: {
630
630
  key: string;
631
631
  name: string;
632
- baseName?: string | null;
632
+ /**
633
+ * @description Name(s) to compare this screenshot against, instead of its own name. An array is tried in order: the first name that exists in the baseline wins, which lets a new screenshot fall back to an existing one.
634
+ * @example home.png
635
+ * @example [
636
+ * "home-variant-b.png",
637
+ * "home.png"
638
+ * ]
639
+ */
640
+ baseName?: (string | string[]) | null;
633
641
  parentName?: string | null;
634
642
  metadata?: {
635
643
  /**
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@argos-ci/api-client",
3
3
  "description": "Argos API Client library.",
4
- "version": "0.26.0",
4
+ "version": "0.27.0",
5
5
  "author": "Smooth Code",
6
6
  "license": "MIT",
7
7
  "repository": {
@@ -54,5 +54,5 @@
54
54
  "openapi-fetch": "^0.17.0",
55
55
  "p-retry": "^8.0.0"
56
56
  },
57
- "gitHead": "e6b1b39775bc210c6b8fec81c59165c5a4aa4dc9"
57
+ "gitHead": "a3083087b11004e0b315e2d14f1e9179cbd56da2"
58
58
  }