@roxybrowser/openapi 1.0.13-beta.3 → 1.0.13-beta.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/lib/cli.cjs +9 -5
- package/lib/cli.cjs.map +1 -1
- package/lib/cli.js +9 -5
- package/lib/cli.js.map +1 -1
- package/lib/index.cjs +9 -5
- package/lib/index.cjs.map +1 -1
- package/lib/index.d.cts +8 -0
- package/lib/index.d.ts +8 -0
- package/lib/index.js +9 -5
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
package/lib/index.d.cts
CHANGED
|
@@ -2635,6 +2635,10 @@ declare class ListBrowsers {
|
|
|
2635
2635
|
type: string;
|
|
2636
2636
|
description: string;
|
|
2637
2637
|
};
|
|
2638
|
+
windowSortNum: {
|
|
2639
|
+
type: string;
|
|
2640
|
+
description: string;
|
|
2641
|
+
};
|
|
2638
2642
|
windowName: {
|
|
2639
2643
|
type: string;
|
|
2640
2644
|
description: string;
|
|
@@ -2666,6 +2670,10 @@ declare class ListBrowsers {
|
|
|
2666
2670
|
type: string;
|
|
2667
2671
|
description: string;
|
|
2668
2672
|
};
|
|
2673
|
+
windowSortNum: {
|
|
2674
|
+
type: string;
|
|
2675
|
+
description: string;
|
|
2676
|
+
};
|
|
2669
2677
|
windowName: {
|
|
2670
2678
|
type: string;
|
|
2671
2679
|
description: string;
|
package/lib/index.d.ts
CHANGED
|
@@ -2635,6 +2635,10 @@ declare class ListBrowsers {
|
|
|
2635
2635
|
type: string;
|
|
2636
2636
|
description: string;
|
|
2637
2637
|
};
|
|
2638
|
+
windowSortNum: {
|
|
2639
|
+
type: string;
|
|
2640
|
+
description: string;
|
|
2641
|
+
};
|
|
2638
2642
|
windowName: {
|
|
2639
2643
|
type: string;
|
|
2640
2644
|
description: string;
|
|
@@ -2666,6 +2670,10 @@ declare class ListBrowsers {
|
|
|
2666
2670
|
type: string;
|
|
2667
2671
|
description: string;
|
|
2668
2672
|
};
|
|
2673
|
+
windowSortNum: {
|
|
2674
|
+
type: string;
|
|
2675
|
+
description: string;
|
|
2676
|
+
};
|
|
2669
2677
|
windowName: {
|
|
2670
2678
|
type: string;
|
|
2671
2679
|
description: string;
|
package/lib/index.js
CHANGED
|
@@ -2081,6 +2081,10 @@ var ListBrowsers = class {
|
|
|
2081
2081
|
type: "string",
|
|
2082
2082
|
description: "Comma-separated project IDs"
|
|
2083
2083
|
},
|
|
2084
|
+
windowSortNum: {
|
|
2085
|
+
type: "string",
|
|
2086
|
+
description: "Filter by window `Serial No` (e.g. 1, 102)"
|
|
2087
|
+
},
|
|
2084
2088
|
windowName: {
|
|
2085
2089
|
type: "string",
|
|
2086
2090
|
description: "Filter by browser window name"
|
|
@@ -2130,16 +2134,16 @@ var ListBrowsers = class {
|
|
|
2130
2134
|
const pageSize = params.pageSize ?? 15;
|
|
2131
2135
|
const totalPages = Math.max(1, Math.ceil((data.total || 0) / pageSize));
|
|
2132
2136
|
const hasNextPage = currentPage < totalPages;
|
|
2133
|
-
const serialNo = `${data.workspaceName?.slice(0, 3).toLocaleUpperCase()}-${data.windowSortNum}`;
|
|
2134
2137
|
text = `Found ${data.total} browsers in workspace ${params.workspaceId}:
|
|
2135
2138
|
|
|
2136
|
-
${data.rows.map(
|
|
2137
|
-
|
|
2139
|
+
${data.rows.map((browser) => {
|
|
2140
|
+
const serialNo = `${browser.workspaceName?.slice(0, 3).toLocaleUpperCase()}-${browser.windowSortNum}`;
|
|
2141
|
+
return `**${browser.windowName || "Unnamed"}** (Serial No: ${serialNo})
|
|
2138
2142
|
- CoreVersion: ${browser.coreVersion} - DirId: ${browser.dirId}
|
|
2139
2143
|
- OSVersion: ${browser.osVersion}
|
|
2140
2144
|
- OS: ${browser.os}
|
|
2141
|
-
- Remark: ${browser.windowRemark}
|
|
2142
|
-
).join("\n\n")}
|
|
2145
|
+
- Remark: ${browser.windowRemark}`;
|
|
2146
|
+
}).join("\n\n")}
|
|
2143
2147
|
|
|
2144
2148
|
Pagination:
|
|
2145
2149
|
- currentPage: ${currentPage}
|