needle-cloud 2.3.5 → 2.3.6

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/cli.esm.js CHANGED
@@ -1 +1 @@
1
- import"node-fetch";import"@web-std/file";import"node:crypto";import"@caporal/core";import"fs";export{p as program}from"./cli-b88099d3.js";import"dotenv";import"ora";import"open";import"crypto";import"buffer";import"path";import"node:fs";import"node:fs/promises";import"node:os";import"node:path";import"util";import"stream";import"http";import"https";import"url";import"assert";import"tty";import"os";import"zlib";import"events";import"node:readline/promises";import"@logto/node";import"node:readline";import"node:stream";import"node:zlib";import"express";import"ws";import"child_process";import"minimatch";import"body-parser";import"node:child_process";
1
+ import"node-fetch";import"@web-std/file";import"node:crypto";import"@caporal/core";import"fs";export{p as program}from"./cli-b51adc78.js";import"dotenv";import"ora";import"open";import"crypto";import"buffer";import"path";import"node:fs";import"node:fs/promises";import"node:os";import"node:path";import"util";import"stream";import"http";import"https";import"url";import"assert";import"tty";import"os";import"zlib";import"events";import"node:readline/promises";import"@logto/node";import"node:readline";import"node:stream";import"node:zlib";import"express";import"ws";import"child_process";import"minimatch";import"body-parser";import"node:child_process";
@@ -1 +1 @@
1
- import{existsSync as o,readdirSync as t,statSync as r}from"node:fs";import{dirname as i,join as e}from"node:path";import{g as n}from"./cli-b88099d3.js";import"node-fetch";import"@web-std/file";import"node:crypto";import"@caporal/core";import"fs";import"open";import"crypto";import"buffer";import"path";import"ora";import"node:fs/promises";import"node:os";import"util";import"stream";import"http";import"https";import"url";import"assert";import"tty";import"os";import"zlib";import"events";import"node:readline/promises";import"dotenv";import"@logto/node";import"node:readline";import"node:stream";import"node:zlib";import"express";import"ws";import"child_process";import"minimatch";import"body-parser";import"node:child_process";function p(){var p;let m;try{m=n()}catch{return null}const l=null==(p=m)||null==(p=p.entries)?void 0:p[0];if(!l)return null;if(!l.log_location)return null;if("unity"!==l.editor&&"blender"!==l.editor)return null;if(!o(l.log_location))return null;const s=l.log_location,c=function(o,i){const n=new Set([i]);try{for(const i of t(o)){if(!i.toLowerCase().endsWith(".log"))continue;const t=e(o,i);try{if(!r(t).isFile())continue}catch{continue}n.add(t)}}catch{}return[...n]}(i(s),s);return{editor:l.editor,path:s,paths:c}}export{p as findActiveEditorLog};
1
+ import{existsSync as o,readdirSync as t,statSync as r}from"node:fs";import{dirname as i,join as e}from"node:path";import{g as n}from"./cli-b51adc78.js";import"node-fetch";import"@web-std/file";import"node:crypto";import"@caporal/core";import"fs";import"open";import"crypto";import"buffer";import"path";import"ora";import"node:fs/promises";import"node:os";import"util";import"stream";import"http";import"https";import"url";import"assert";import"tty";import"os";import"zlib";import"events";import"node:readline/promises";import"dotenv";import"@logto/node";import"node:readline";import"node:stream";import"node:zlib";import"express";import"ws";import"child_process";import"minimatch";import"body-parser";import"node:child_process";function p(){var p;let m;try{m=n()}catch{return null}const l=null==(p=m)||null==(p=p.entries)?void 0:p[0];if(!l)return null;if(!l.log_location)return null;if("unity"!==l.editor&&"blender"!==l.editor)return null;if(!o(l.log_location))return null;const s=l.log_location,c=function(o,i){const n=new Set([i]);try{for(const i of t(o)){if(!i.toLowerCase().endsWith(".log"))continue;const t=e(o,i);try{if(!r(t).isFile())continue}catch{continue}n.add(t)}}catch{}return[...n]}(i(s),s);return{editor:l.editor,path:s,paths:c}}export{p as findActiveEditorLog};
package/dist/index.d.ts CHANGED
@@ -726,9 +726,11 @@ type ListPublicContentQuery = {
726
726
  content_type?: ContentType;
727
727
  /** Filter by content format */
728
728
  content_format?: ContentFormat;
729
- /** Filter to content owned by a single Needle Cloud team. The team id
730
- * is shown on the team's details page at `https://cloud.needle.tools/team/<id>`. */
731
- org_id?: string;
729
+ /** Filter to content owned by one or more Needle Cloud teams. Pass a single
730
+ * team id, or an array of ids to include items from any of the listed teams.
731
+ * Team ids are shown on the team's details page at
732
+ * `https://cloud.needle.tools/team/<id>`. */
733
+ org_id?: string | string[];
732
734
  /** Substring match against identifier, title, description, and tags. */
733
735
  search?: string;
734
736
  /** Page size (default 20, max 100) */