replicas-cli 0.2.661 → 0.2.662
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/index.cjs +3 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -7401,13 +7401,13 @@ var LEGACY_WEB_APP_PATHS = {
|
|
|
7401
7401
|
dashboardWorkspaces: `${DASHBOARD_PATH}/workspaces`
|
|
7402
7402
|
};
|
|
7403
7403
|
function getWorkspaceDashboardUrl(workspaceId, options = {}) {
|
|
7404
|
-
const { encodeWorkspaceId = true, mode, mediaId } = options;
|
|
7404
|
+
const { encodeWorkspaceId = true, mode, mediaId, webAppUrl = DEFAULT_WEB_APP_URL } = options;
|
|
7405
7405
|
const workspaceIdValue = encodeWorkspaceId ? encodeURIComponent(workspaceId) : workspaceId;
|
|
7406
7406
|
const params = [];
|
|
7407
7407
|
if (mode) params.push(`mode=${encodeURIComponent(mode)}`);
|
|
7408
7408
|
if (mediaId) params.push(`media=${encodeURIComponent(mediaId)}`);
|
|
7409
7409
|
const query = params.length > 0 ? `?${params.join("&")}` : "";
|
|
7410
|
-
return `${
|
|
7410
|
+
return `${webAppUrl}${WEB_APP_PATHS.fullscreenWorkspaces}/${workspaceIdValue}${query}`;
|
|
7411
7411
|
}
|
|
7412
7412
|
function getOrganizationMediaPath(organizationId, mediaId) {
|
|
7413
7413
|
return `/organizations/${encodeURIComponent(organizationId)}/media/${encodeURIComponent(mediaId)}`;
|
|
@@ -27269,7 +27269,7 @@ var headlessFilesystemAgentResultSchema = external_exports.object({
|
|
|
27269
27269
|
});
|
|
27270
27270
|
|
|
27271
27271
|
// ../shared/src/cli-version.ts
|
|
27272
|
-
var CLI_VERSION = "0.2.
|
|
27272
|
+
var CLI_VERSION = "0.2.662";
|
|
27273
27273
|
|
|
27274
27274
|
// ../shared/src/version.ts
|
|
27275
27275
|
function compareVersions(v1, v2) {
|