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