windmill-client 1.725.1 → 1.726.1

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.
@@ -29,7 +29,7 @@ const OpenAPI = {
29
29
  PASSWORD: void 0,
30
30
  TOKEN: getEnv("WM_TOKEN"),
31
31
  USERNAME: void 0,
32
- VERSION: "1.725.1",
32
+ VERSION: "1.726.1",
33
33
  WITH_CREDENTIALS: true,
34
34
  interceptors: {
35
35
  request: new Interceptors(),
package/dist/index.js CHANGED
@@ -126,7 +126,7 @@ const OpenAPI = {
126
126
  PASSWORD: void 0,
127
127
  TOKEN: getEnv$1("WM_TOKEN"),
128
128
  USERNAME: void 0,
129
- VERSION: "1.725.1",
129
+ VERSION: "1.726.1",
130
130
  WITH_CREDENTIALS: true,
131
131
  interceptors: {
132
132
  request: new Interceptors(),
@@ -9385,10 +9385,18 @@ export type ListDraftsResponse = Array<{
9385
9385
  * Best-effort, read from the draft JSON's `summary` field when the editor shape carries one.
9386
9386
  */
9387
9387
  summary?: string;
9388
+ /**
9389
+ * User-typed friendly path from the draft JSON's `draft_path`, when set and different from the storage path (e.g. a never-deployed item parked at `u/{user}/draft_{uuid}`).
9390
+ */
9391
+ draft_path?: string;
9388
9392
  /**
9389
9393
  * No deployed counterpart exists at this path — the draft is the whole item.
9390
9394
  */
9391
9395
  draft_only: boolean;
9396
+ /**
9397
+ * The listed draft is a legacy workspace-level row (email NULL) predating the per-user drafts migration. Only true when no per-user draft exists at this path.
9398
+ */
9399
+ legacy_draft: boolean;
9392
9400
  created_at: string;
9393
9401
  }>;
9394
9402
  export type GetDraftForUserData = {
@@ -9420,6 +9428,10 @@ export type UpdateDraftData = {
9420
9428
  * Skip the conflict check and overwrite the server copy.
9421
9429
  */
9422
9430
  force?: boolean;
9431
+ /**
9432
+ * Delete-only. Target the legacy workspace-level row (email NULL) instead of the current user's row. Used to discard a legacy draft from the review page.
9433
+ */
9434
+ legacy?: boolean;
9423
9435
  };
9424
9436
  workspace: string;
9425
9437
  };
@@ -21284,10 +21296,18 @@ export type $OpenApiTs = {
21284
21296
  * Best-effort, read from the draft JSON's `summary` field when the editor shape carries one.
21285
21297
  */
21286
21298
  summary?: string;
21299
+ /**
21300
+ * User-typed friendly path from the draft JSON's `draft_path`, when set and different from the storage path (e.g. a never-deployed item parked at `u/{user}/draft_{uuid}`).
21301
+ */
21302
+ draft_path?: string;
21287
21303
  /**
21288
21304
  * No deployed counterpart exists at this path — the draft is the whole item.
21289
21305
  */
21290
21306
  draft_only: boolean;
21307
+ /**
21308
+ * The listed draft is a legacy workspace-level row (email NULL) predating the per-user drafts migration. Only true when no per-user draft exists at this path.
21309
+ */
21310
+ legacy_draft: boolean;
21291
21311
  created_at: string;
21292
21312
  }>;
21293
21313
  };
@@ -21337,6 +21357,10 @@ export type $OpenApiTs = {
21337
21357
  * Skip the conflict check and overwrite the server copy.
21338
21358
  */
21339
21359
  force?: boolean;
21360
+ /**
21361
+ * Delete-only. Target the legacy workspace-level row (email NULL) instead of the current user's row. Used to discard a legacy draft from the review page.
21362
+ */
21363
+ legacy?: boolean;
21340
21364
  };
21341
21365
  workspace: string;
21342
21366
  };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "windmill-client",
3
3
  "description": "Windmill SDK client for browsers and Node.js",
4
- "version": "1.725.1",
4
+ "version": "1.726.1",
5
5
  "author": "Ruben Fiszel",
6
6
  "license": "Apache 2.0",
7
7
  "homepage": "https://github.com/windmill-labs/windmill/tree/main/typescript-client#readme",