@roxybrowser/openapi 1.0.13-beta.3 → 1.0.13-beta.5
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/lib/cli.cjs +5 -5
- package/lib/cli.cjs.map +1 -1
- package/lib/cli.js +5 -5
- package/lib/cli.js.map +1 -1
- package/lib/index.cjs +5 -5
- package/lib/index.cjs.map +1 -1
- package/lib/index.js +5 -5
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/cli.cjs
CHANGED
|
@@ -2133,16 +2133,16 @@ var ListBrowsers = class {
|
|
|
2133
2133
|
const pageSize = params.pageSize ?? 15;
|
|
2134
2134
|
const totalPages = Math.max(1, Math.ceil((data.total || 0) / pageSize));
|
|
2135
2135
|
const hasNextPage = currentPage < totalPages;
|
|
2136
|
-
const serialNo = `${data.workspaceName?.slice(0, 3).toLocaleUpperCase()}-${data.windowSortNum}`;
|
|
2137
2136
|
text = `Found ${data.total} browsers in workspace ${params.workspaceId}:
|
|
2138
2137
|
|
|
2139
|
-
${data.rows.map(
|
|
2140
|
-
|
|
2138
|
+
${data.rows.map((browser) => {
|
|
2139
|
+
const serialNo = `${browser.workspaceName?.slice(0, 3).toLocaleUpperCase()}-${browser.windowSortNum}`;
|
|
2140
|
+
return `**${browser.windowName || "Unnamed"}** (Serial No: ${serialNo})
|
|
2141
2141
|
- CoreVersion: ${browser.coreVersion} - DirId: ${browser.dirId}
|
|
2142
2142
|
- OSVersion: ${browser.osVersion}
|
|
2143
2143
|
- OS: ${browser.os}
|
|
2144
|
-
- Remark: ${browser.windowRemark}
|
|
2145
|
-
).join("\n\n")}
|
|
2144
|
+
- Remark: ${browser.windowRemark}`;
|
|
2145
|
+
}).join("\n\n")}
|
|
2146
2146
|
|
|
2147
2147
|
Pagination:
|
|
2148
2148
|
- currentPage: ${currentPage}
|