@proofline/sdk 3.0.0 → 3.1.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/dist/schema.d.ts CHANGED
@@ -1399,8 +1399,9 @@ export interface components {
1399
1399
  is_deep_review?: boolean;
1400
1400
  /**
1401
1401
  * @description `PULL_REQUEST`, `DEPLOYMENT`, `PATCH`, a review of local changes
1402
- * sent as a patch, `COMMIT`, a review of pushed commits, or `FILES`,
1403
- * complete selected files at one pushed commit.
1402
+ * sent as a patch, `COMMIT`, a review of pushed commits, `FILES`,
1403
+ * complete selected files at one pushed commit, or `MERGE_GROUP`, the
1404
+ * commit GitHub's merge queue built for a group of pull requests.
1404
1405
  */
1405
1406
  kind: string;
1406
1407
  /**
@@ -1415,6 +1416,12 @@ export interface components {
1415
1416
  * Its captured review owner and GitHub bypass remain separate history.
1416
1417
  */
1417
1418
  merge_gate?: components["schemas"]["PullRequestMergeGate"] | null;
1419
+ /**
1420
+ * @description For a `MERGE_GROUP` review, the pull requests GitHub queued in the
1421
+ * group, in number order. Absent for every other kind, and until
1422
+ * Proofline has read the group's members.
1423
+ */
1424
+ merge_group_pull_request_numbers?: number[];
1418
1425
  /**
1419
1426
  * @description What Proofline still has open for the reviewed head, counted from the
1420
1427
  * current finding decisions. Absent while the review is `PENDING` or
@@ -2794,10 +2801,17 @@ export interface components {
2794
2801
  id: string;
2795
2802
  /**
2796
2803
  * @description `PULL_REQUEST`, `DEPLOYMENT`, `PATCH`, a review of local changes
2797
- * sent as a patch, `COMMIT`, a review of pushed commits, or `FILES`,
2798
- * complete selected files at one pushed commit.
2804
+ * sent as a patch, `COMMIT`, a review of pushed commits, `FILES`,
2805
+ * complete selected files at one pushed commit, or `MERGE_GROUP`, the
2806
+ * commit GitHub's merge queue built for a group of pull requests.
2799
2807
  */
2800
2808
  kind: string;
2809
+ /**
2810
+ * @description For a `MERGE_GROUP` review, the pull requests GitHub queued in the
2811
+ * group, in number order. Absent for every other kind, and until
2812
+ * Proofline has read the group's members.
2813
+ */
2814
+ merge_group_pull_request_numbers?: number[];
2801
2815
  /** @description The review's stable public address: `rev_` followed by its identifier without hyphens. */
2802
2816
  public_key: string;
2803
2817
  /**
package/dist/transport.js CHANGED
@@ -1,4 +1,4 @@
1
- const VERSION = "3.0.0";
1
+ const VERSION = "3.1.0";
2
2
  const MAX_RESPONSE_BYTES = 8 * 1024 * 1024;
3
3
  const MAX_RETRIES = 3;
4
4
  const MAX_RETRY_SECONDS = 60;
@@ -1755,7 +1755,7 @@
1755
1755
  "type": "boolean"
1756
1756
  },
1757
1757
  "kind": {
1758
- "description": "`PULL_REQUEST`, `DEPLOYMENT`, `PATCH`, a review of local changes\n sent as a patch, `COMMIT`, a review of pushed commits, or `FILES`,\n complete selected files at one pushed commit.",
1758
+ "description": "`PULL_REQUEST`, `DEPLOYMENT`, `PATCH`, a review of local changes\n sent as a patch, `COMMIT`, a review of pushed commits, `FILES`,\n complete selected files at one pushed commit, or `MERGE_GROUP`, the\n commit GitHub's merge queue built for a group of pull requests.",
1759
1759
  "type": "string"
1760
1760
  },
1761
1761
  "local_reverifications": {
@@ -1776,6 +1776,14 @@
1776
1776
  ],
1777
1777
  "description": "The deterministic policy for this exact repository/head, when opted in.\n Its captured review owner and GitHub bypass remain separate history."
1778
1778
  },
1779
+ "merge_group_pull_request_numbers": {
1780
+ "description": "For a `MERGE_GROUP` review, the pull requests GitHub queued in the\n group, in number order. Absent for every other kind, and until\n Proofline has read the group's members.",
1781
+ "items": {
1782
+ "format": "int64",
1783
+ "type": "integer"
1784
+ },
1785
+ "type": "array"
1786
+ },
1779
1787
  "open_items": {
1780
1788
  "anyOf": [
1781
1789
  {
@@ -4562,9 +4570,17 @@
4562
4570
  "type": "string"
4563
4571
  },
4564
4572
  "kind": {
4565
- "description": "`PULL_REQUEST`, `DEPLOYMENT`, `PATCH`, a review of local changes\n sent as a patch, `COMMIT`, a review of pushed commits, or `FILES`,\n complete selected files at one pushed commit.",
4573
+ "description": "`PULL_REQUEST`, `DEPLOYMENT`, `PATCH`, a review of local changes\n sent as a patch, `COMMIT`, a review of pushed commits, `FILES`,\n complete selected files at one pushed commit, or `MERGE_GROUP`, the\n commit GitHub's merge queue built for a group of pull requests.",
4566
4574
  "type": "string"
4567
4575
  },
4576
+ "merge_group_pull_request_numbers": {
4577
+ "description": "For a `MERGE_GROUP` review, the pull requests GitHub queued in the\n group, in number order. Absent for every other kind, and until\n Proofline has read the group's members.",
4578
+ "items": {
4579
+ "format": "int64",
4580
+ "type": "integer"
4581
+ },
4582
+ "type": "array"
4583
+ },
4568
4584
  "public_key": {
4569
4585
  "description": "The review's stable public address: `rev_` followed by its identifier without hyphens.",
4570
4586
  "type": "string"
@@ -5753,7 +5769,7 @@
5753
5769
  },
5754
5770
  "info": {
5755
5771
  "title": "Proofline Review API",
5756
- "version": "3.0.0"
5772
+ "version": "3.1.0"
5757
5773
  },
5758
5774
  "openapi": "3.1.0",
5759
5775
  "paths": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proofline/sdk",
3
- "version": "3.0.0",
3
+ "version": "3.1.0",
4
4
  "description": "Typed clients for the token-scoped Proofline review API",
5
5
  "type": "module",
6
6
  "license": "Apache-2.0",