windmill-cli 1.594.0 → 1.596.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.
@@ -32,7 +32,7 @@ export const OpenAPI = {
32
32
  PASSWORD: undefined,
33
33
  TOKEN: getEnv("WM_TOKEN"),
34
34
  USERNAME: undefined,
35
- VERSION: '1.594.0',
35
+ VERSION: '1.596.0',
36
36
  WITH_CREDENTIALS: true,
37
37
  interceptors: {
38
38
  request: new Interceptors(),
@@ -1560,7 +1560,7 @@ parseS3Object(s3Object: S3Object): S3ObjectRecord
1560
1560
  * WHERE name = \${name} AND age = \${age}::int
1561
1561
  * \`.fetch()
1562
1562
  */
1563
- datatable(name: string = "main"): SqlTemplateFunction
1563
+ datatable(name: string = "main"): DatatableSqlTemplateFunction
1564
1564
 
1565
1565
  /**
1566
1566
  * Create a SQL template function for DuckDB/ducklake queries
package/esm/src/main.js CHANGED
@@ -40,7 +40,7 @@ export { flow, app, script, workspace, resource, resourceType, user, variable, h
40
40
  // console.error(JSON.stringify(event.error, null, 4));
41
41
  // }
42
42
  // });
43
- export const VERSION = "1.594.0";
43
+ export const VERSION = "1.596.0";
44
44
  export const WM_FORK_PREFIX = "wm-fork";
45
45
  const command = new Command()
46
46
  .name("wmill")
@@ -45,14 +45,17 @@ function passStringToWasm0(arg, malloc, realloc) {
45
45
  function isLikeNone(x) {
46
46
  return x === undefined || x === null;
47
47
  }
48
- const cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available'); } });
48
+ let cachedTextDecoder = (typeof TextDecoder !== 'undefined' ? new TextDecoder('utf-8', { ignoreBOM: true, fatal: true }) : { decode: () => { throw Error('TextDecoder not available'); } });
49
49
  if (typeof TextDecoder !== 'undefined') {
50
50
  cachedTextDecoder.decode();
51
51
  }
52
52
  ;
53
+ function decodeText(ptr, len) {
54
+ return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
55
+ }
53
56
  function getStringFromWasm0(ptr, len) {
54
57
  ptr = ptr >>> 0;
55
- return cachedTextDecoder.decode(getUint8ArrayMemory0().subarray(ptr, ptr + len));
58
+ return decodeText(ptr, len);
56
59
  }
57
60
  /**
58
61
  * @param {string} code
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "windmill-cli",
3
- "version": "1.594.0",
3
+ "version": "1.596.0",
4
4
  "description": "CLI for Windmill",
5
5
  "repository": {
6
6
  "type": "git",
@@ -613,6 +613,7 @@ export type FlowStatusModule = {
613
613
  iterator?: {
614
614
  index?: number;
615
615
  itered?: Array<unknown>;
616
+ itered_len?: number;
616
617
  args?: unknown;
617
618
  };
618
619
  flow_jobs?: Array<(string)>;
@@ -3915,6 +3916,7 @@ export type GetSettingsResponse = ({
3915
3916
  teams_team_id?: string;
3916
3917
  teams_command_script?: string;
3917
3918
  teams_team_name?: string;
3919
+ teams_team_guid?: string;
3918
3920
  auto_invite_domain?: string;
3919
3921
  auto_invite_operator?: boolean;
3920
3922
  auto_add?: boolean;