From 61e079014451b48f3a5dea451ac8c890e6277c42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristijan=20Ribari=C4=87?= <96492763+kristijanribaric@users.noreply.github.com> Date: Thu, 9 Jul 2026 01:37:00 +0200 Subject: [PATCH] gh-14470: Rename all occurances of Workspaces to Spaces in sync (gh-14528) --- src/zen/sync/ZenWorkspacesSync.sys.mjs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/zen/sync/ZenWorkspacesSync.sys.mjs b/src/zen/sync/ZenWorkspacesSync.sys.mjs index 175319169..0b0946ed4 100644 --- a/src/zen/sync/ZenWorkspacesSync.sys.mjs +++ b/src/zen/sync/ZenWorkspacesSync.sys.mjs @@ -33,10 +33,10 @@ const RECORD_TYPE_BY_PREFIX = Object.freeze({ * Workspaces engine collection. */ export class ZenWorkspacesRecord extends CryptoWrapper { - _logName = "Sync.Record.ZenWorkspaces"; + _logName = "Sync.Record.ZenSpaces"; } -ZenWorkspacesRecord.prototype.type = "workspaces"; +ZenWorkspacesRecord.prototype.type = "spaces"; function parseRecordId(id) { const sep = id.indexOf("~"); @@ -51,7 +51,7 @@ function parseRecordId(id) { function createRecordId(type, id) { const prefix = RECORD_ID_PREFIX_BY_TYPE[type]; if (!prefix) { - throw new Error(`Unknown Workspaces Sync record type: ${type}`); + throw new Error(`Unknown Spaces Sync record type: ${type}`); } return `${prefix}~${id}`; } @@ -371,11 +371,11 @@ class ZenWorkspacesTracker extends Tracker { */ export class ZenWorkspacesEngine extends SyncEngine { static get name() { - return "Workspaces"; + return "Spaces"; } constructor(service) { - super("Workspaces", service); + super("Spaces", service); } get _storeObj() {