picked 0.0.104-next.2 → 0.0.104-next.3

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.
@@ -110,7 +110,7 @@ enum WorkflowTaskSortKeys {
110
110
  ```graphql
111
111
  """
112
112
  One execution of a workflow, started by an event. A run executes the published workflow, or the
113
- draft for a run started in a preview.
113
+ draft for a preview run.
114
114
  """
115
115
  type WorkflowRun {
116
116
  """The ID of the run."""
@@ -138,8 +138,8 @@ type WorkflowRun {
138
138
  """
139
139
  failureReason: String
140
140
  """
141
- Whether a visitor started the run in a preview. A preview run executes the draft as it stood
142
- when the run started, and its writes are real.
141
+ Whether the run executes the draft: a visitor started it in a preview, or it reruns a preview
142
+ run. A preview run executes the draft as it stood when the run started, and its writes are real.
143
143
  """
144
144
  preview: Boolean!
145
145
  """
@@ -180,7 +180,9 @@ type WorkflowRun {
180
180
  ### `WorkflowRunRerunVersion`
181
181
 
182
182
  ```graphql
183
- """The version a rerun runs on."""
183
+ """
184
+ The version a rerun runs on: `DRAFT` for a preview run, `ORIGINAL` or `LIVE` for any other run.
185
+ """
184
186
  enum WorkflowRunRerunVersion {
185
187
  """
186
188
  The version the action submission of the run was recorded on, `WorkflowRun.workspaceVersion`.
@@ -188,6 +190,10 @@ enum WorkflowRunRerunVersion {
188
190
  ORIGINAL
189
191
  """The live version of the project."""
190
192
  LIVE
193
+ """
194
+ The workflow of the run as the draft of its workspace now holds it, for a preview run.
195
+ """
196
+ DRAFT
191
197
  }
192
198
  ```
193
199
 
@@ -211,9 +217,9 @@ type WorkflowRunRerunPayload {
211
217
  """The rerun. Null when `userErrors` is not empty."""
212
218
  workflowRun: WorkflowRun
213
219
  """
214
- The reasons the run cannot be rerun, with codes `RUN_NOT_RERUNNABLE` (the run is running, is a
215
- preview run, or no action submission that still exists started it), `VERSION_UNAVAILABLE` (the
216
- chosen version cannot run it) or `RERUN_IN_PROGRESS` (a rerun of the same chain is running).
220
+ The reasons the run cannot be rerun, with codes `RUN_NOT_RERUNNABLE` (the run is running, or no
221
+ action submission that still exists started it), `VERSION_UNAVAILABLE` (the chosen version
222
+ cannot run it) or `RERUN_IN_PROGRESS` (a rerun of the same chain is running).
217
223
  """
218
224
  userErrors: [UserError!]!
219
225
  }
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "picked",
3
3
  "description": "The Picked SDK front door: the client, the picked.config helpers, and the picked CLI in one install",
4
- "version": "0.0.104-next.2",
4
+ "version": "0.0.104-next.3",
5
5
  "bin": {
6
6
  "picked": "dist/esm/bin.js"
7
7
  },
8
8
  "dependencies": {
9
- "@picked/cli": "0.0.104-next.2",
10
- "@picked/config": "0.0.104-next.2"
9
+ "@picked/cli": "0.0.104-next.3",
10
+ "@picked/config": "0.0.104-next.3"
11
11
  },
12
12
  "devDependencies": {
13
13
  "@picked/client": "workspace:*",
@@ -64,7 +64,7 @@
64
64
  "main": "./dist/cjs/index.js",
65
65
  "module": "./dist/esm/index.js",
66
66
  "peerDependencies": {
67
- "@picked/client": "0.0.104-next.2"
67
+ "@picked/client": "0.0.104-next.3"
68
68
  },
69
69
  "private": false,
70
70
  "publishConfig": {