From 773c5c09b94bbdbe6c60277e971d443458b5e49c Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 20 Oct 2025 14:38:39 +0100 Subject: [PATCH 001/228] IOS-5317 bump version --- Anytype.xcodeproj/project.pbxproj | 60 +++++++++++++++---------------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/Anytype.xcodeproj/project.pbxproj b/Anytype.xcodeproj/project.pbxproj index 503240b560..c94a056d30 100644 --- a/Anytype.xcodeproj/project.pbxproj +++ b/Anytype.xcodeproj/project.pbxproj @@ -1052,7 +1052,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; OTHER_LDFLAGS = "-ObjC"; PRODUCT_BUNDLE_IDENTIFIER = io.anytype.app.dev; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -1095,7 +1095,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; OTHER_LDFLAGS = "-ObjC"; PRODUCT_BUNDLE_IDENTIFIER = io.anytype.app; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -1122,7 +1122,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = com.AnytypeTests; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -1147,7 +1147,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = com.AnytypeTests; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -1263,7 +1263,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; OTHER_LDFLAGS = "-ObjC"; PRODUCT_BUNDLE_IDENTIFIER = io.anytype.app.dev; PRODUCT_NAME = "$(TARGET_NAME) Dev"; @@ -1290,7 +1290,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = com.AnytypeTests; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -1329,7 +1329,7 @@ "@executable_path/../../Frameworks", ); LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = io.anytype.app.dev.AnytypeNotificationExtension; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -1403,7 +1403,7 @@ "@executable_path/../../Frameworks", ); LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = io.anytype.app.AnytypeNotificationExtension; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -1479,7 +1479,7 @@ "@executable_path/../../Frameworks", ); LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = org.any.app.AnytypeNotificationExtension; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -1555,7 +1555,7 @@ "@executable_path/../../Frameworks", ); LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = io.anytype.app.dev.AnytypeNotificationExtension; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -1675,7 +1675,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; OTHER_LDFLAGS = "-ObjC"; PRODUCT_BUNDLE_IDENTIFIER = io.anytype.app; PRODUCT_NAME = "$(TARGET_NAME)"; @@ -1701,7 +1701,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = com.AnytypeTests; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -1733,7 +1733,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = io.anytype.app.homewidget; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = "match Development io.anytype.app.homewidget"; @@ -1764,7 +1764,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = io.anytype.app.AnytypeShareExtension; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -1838,7 +1838,7 @@ "@executable_path/../../Frameworks", ); LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = io.anytype.app.AnytypeNotificationExtension; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -1958,7 +1958,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; OTHER_LDFLAGS = "-ObjC"; PRODUCT_BUNDLE_IDENTIFIER = org.any.app; PRODUCT_NAME = Any; @@ -1984,7 +1984,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = com.AnytypeTests; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -2016,7 +2016,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = org.any.app.homewidget; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = "match Development org.any.app.homewidget"; @@ -2047,7 +2047,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = org.any.app.AnytypeShareExtension; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -2121,7 +2121,7 @@ "@executable_path/../../Frameworks", ); LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = org.any.app.AnytypeNotificationExtension; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -2239,7 +2239,7 @@ "$(inherited)", "@executable_path/Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; OTHER_LDFLAGS = "-ObjC"; PRODUCT_BUNDLE_IDENTIFIER = org.any.app; PRODUCT_NAME = Any; @@ -2266,7 +2266,7 @@ "@executable_path/Frameworks", "@loader_path/Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = com.AnytypeTests; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -2298,7 +2298,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = org.any.app.homewidget; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = "match AppStore org.any.app.homewidget"; @@ -2328,7 +2328,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = org.any.app.AnytypeShareExtension; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -2358,7 +2358,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = io.anytype.app.dev.AnytypeShareExtension; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = "match Development io.anytype.app.dev.AnytypeShareExtension"; @@ -2387,7 +2387,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = io.anytype.app.AnytypeShareExtension; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -2417,7 +2417,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = io.anytype.app.dev.AnytypeShareExtension; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; @@ -2448,7 +2448,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = io.anytype.app.dev.homewidget; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = "match Development io.anytype.app.dev.homewidget"; @@ -2479,7 +2479,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = io.anytype.app.homewidget; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = "match AppStore io.anytype.app.homewidget"; @@ -2510,7 +2510,7 @@ "@executable_path/Frameworks", "@executable_path/../../Frameworks", ); - MARKETING_VERSION = 0.41.0; + MARKETING_VERSION = 0.42.0; PRODUCT_BUNDLE_IDENTIFIER = io.anytype.app.dev.homewidget; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = "match AppStore io.anytype.app.dev.homewidget"; From 95f3f4764af0af35055b257ec42e639ff731af8d Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 20 Oct 2025 16:05:02 +0100 Subject: [PATCH 002/228] IOS-5373 update impact analysis --- .claude/commands/continue.md | 2 +- .claude/commands/impact_linear.md | 16 +++++++---- .claude/commands/impact_report.md | 46 +++++++++++++++++-------------- 3 files changed, 37 insertions(+), 27 deletions(-) diff --git a/.claude/commands/continue.md b/.claude/commands/continue.md index c72469796d..38fb6f66ce 100644 --- a/.claude/commands/continue.md +++ b/.claude/commands/continue.md @@ -1 +1 @@ -Continue \ No newline at end of file +--continue \ No newline at end of file diff --git a/.claude/commands/impact_linear.md b/.claude/commands/impact_linear.md index 5d45e48070..4247e540a8 100644 --- a/.claude/commands/impact_linear.md +++ b/.claude/commands/impact_linear.md @@ -5,6 +5,8 @@ USE EXTENDED THINKING ## Purpose This document guides the process of gathering comprehensive context from Linear for iOS release impact analysis and changelog generation, using a pre-configured Linear view to simplify project discovery. +**CRITICAL: Use ONLY Linear MCP tools (`mcp__linear__*`). DO NOT use git, bash, or GitHub CLI commands. All information comes from Linear API.** + ## Process ### Step 1: Get Release Information @@ -85,15 +87,17 @@ For each project/epic, find and analyze ALL sub-tasks: 2. **Issue IDs** (format like `IOS-4913`, `IOS-5149`): - Human-readable task/story identifiers - - Found in git commit messages - - Found in sub-tasks of projects + - Found in Linear sub-tasks of projects + - Found in Linear issue attachments (PR references) - **USE THESE in changelogs and impact reports** -### How to Extract Issue IDs +### How to Extract Issue IDs (Using ONLY Linear MCP Tools) +**CRITICAL: DO NOT use git commands. All data comes from Linear MCP tools.** + For each project in the view: -1. **Check sub-tasks** - Each sub-task has an issue ID (IOS-XXXX) -2. **Look at project description** - Often lists related issue IDs -3. **Review linked PRs** - GitHub PRs reference issue IDs +1. **Check sub-tasks** - Use `mcp__linear__list_issues` with project filter to find all issues. Each sub-task has an issue ID (IOS-XXXX) +2. **Look at project description** - Project descriptions from `mcp__linear__get_project` often list related issue IDs +3. **Review attachments field** - Linear issues include PR attachments with GitHub URLs 4. **Note implementation issues** - Main work is done in issue tasks, not project containers ### Issue ID Mapping Example diff --git a/.claude/commands/impact_report.md b/.claude/commands/impact_report.md index c9b47b090b..36c76cf2fb 100644 --- a/.claude/commands/impact_report.md +++ b/.claude/commands/impact_report.md @@ -284,34 +284,40 @@ When creating the changelog from Linear and Git data: - API details - Performance metrics (unless dramatic and user-facing) -## Output 3: Team Celebration Slack Message +## Output 3: Team Message -Generate a concise, morale-boosting message for team communication (Slack, etc.) +Generate a concise, realistic message for team communication (Slack, etc.) **Requirements:** -- Keep under 15 lines total -- Use emojis for visual appeal -- No markdown (plain text for Slack compatibility) -- Focus on wow-factor numbers and achievements -- Celebratory tone +- Keep under 12 lines total (medium Slack message size) +- No emojis or excessive hype +- Plain text, professional tone +- Balance user-facing and technical work +- Humble and honest about the release scope **Template Structure:** ``` -Insane Numbers of Release [NUMBER] :exploding_head: -[X] files changed - We basically rewrote half the iOS app -[X] commits merged - That's more than 1 commit every day for a YEAR -[Key achievement 1] from ZERO to HERO in one release -[Key achievement 2] - [Impressive user-facing description] +Release [NUMBER] - [Descriptive Theme] -*P.S. - [X] Linear projects delivered simultaneously. We're basically wizards now.* +What users see: [2-3 sentence summary of user-visible features] + +What we actually did: [2-3 sentence summary of technical work - refactoring, cleanup, infrastructure] + +[Key stats]: [X] files, [X] commits, net [+/-X] lines. + +Linear said [X] projects. Git says [X+] initiatives. The gap is [explanation of additional work]. + +[Honest assessment]. [Simple close]. ``` **Content Guidelines:** -- Lead with biggest numbers (files changed, commits, etc.) -- Include 2-3 most impressive achievements -- Use transformation language ("ZERO to HERO", "basically rewrote") -- End with team pride line about coordination/wizardry -- Keep technical jargon minimal +- Lead with honest characterization (e.g., "The Cleanup Release", "The Stability Release") +- **What users see** vs **What we actually did** contrast +- Include raw numbers without hyperbole +- Acknowledge gap between planned scope and actual work +- End with realistic assessment (not sexy but necessary, codebase healthier, etc.) +- Simple close: "Onward." or "Shipping it." - no forced enthusiasm +- Avoid: "basically rewrote", "wizards", "HERO", excessive emojis, marketing speak ## Usage Instructions 1. Load both context files from Parts 1 & 2 @@ -319,11 +325,11 @@ Insane Numbers of Release [NUMBER] :exploding_head: 3. Calculate impact scores for each change 4. Generate comprehensive testing recommendations 5. Create clean changelog focused on user value (not technical details) -6. Create team celebration message +6. Create team message 7. Save outputs: - `impact_analysis_release_[NUMBER].md` - `clean_changelog_release_[NUMBER].md` - - `team_celebration_release_[NUMBER].txt` + - `team_message_release_[NUMBER].txt` ## Tips for Creating Clean Changelog - Focus on WHAT users can do, not HOW it was built From feab7cdfcac904a01701603ee94663202fec24cf Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 20 Oct 2025 17:04:28 +0100 Subject: [PATCH 003/228] IOS-5373 Updated claude settings --- .claude/settings.json | 1 - 1 file changed, 1 deletion(-) diff --git a/.claude/settings.json b/.claude/settings.json index c492e3e2fc..29f63045e8 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -2,7 +2,6 @@ "permissions": { "allow": [ "Read(*)", - "read file", "Bash(git checkout:*)", "Bash(git worktree:*)", From 30a0004a15e30886c967ed95b122e125f540f1e4 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 21 Oct 2025 11:47:54 +0100 Subject: [PATCH 004/228] IOS-5372 Fix python dependencies --- .github/actions/prepare-deps/action.yml | 2 +- .github/workflows/dev_build.yaml | 2 +- .github/workflows/release_build.yaml | 2 +- fastlane/FastlaneComment | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/actions/prepare-deps/action.yml b/.github/actions/prepare-deps/action.yml index b6b4a1763a..ee34acf583 100644 --- a/.github/actions/prepare-deps/action.yml +++ b/.github/actions/prepare-deps/action.yml @@ -10,4 +10,4 @@ runs: run: bundle install - uses: tecolicom/actions-use-homebrew-tools@v1 with: - tools: imagemagick \ No newline at end of file + tools: imagemagick libgit2 diff --git a/.github/workflows/dev_build.yaml b/.github/workflows/dev_build.yaml index 85e26549c7..170fa3ac42 100644 --- a/.github/workflows/dev_build.yaml +++ b/.github/workflows/dev_build.yaml @@ -15,7 +15,7 @@ concurrency: jobs: main: - runs-on: macos-15 + runs-on: macos-26 steps: - name: Checkout diff --git a/.github/workflows/release_build.yaml b/.github/workflows/release_build.yaml index 53d830cbb5..d9565a5574 100644 --- a/.github/workflows/release_build.yaml +++ b/.github/workflows/release_build.yaml @@ -24,7 +24,7 @@ concurrency: jobs: main: - runs-on: macos-15 + runs-on: macos-26 steps: - name: Checkout diff --git a/fastlane/FastlaneComment b/fastlane/FastlaneComment index a4f6c31630..c09718d16c 100644 --- a/fastlane/FastlaneComment +++ b/fastlane/FastlaneComment @@ -42,7 +42,7 @@ platform :ios do Dir.chdir("#{working_dir}/release-utils") do sh("python3 -m venv venv") - sh("source venv/bin/activate && pip3 install -r requirements.txt && python3 release.py") + sh("export PKG_CONFIG_PATH=/opt/homebrew/lib/pkgconfig:/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH && export CFLAGS=\"-I/opt/homebrew/include -I/usr/local/include\" && export LDFLAGS=\"-L/opt/homebrew/lib -L/usr/local/lib\" && source venv/bin/activate && pip3 install -r requirements.txt && python3 release.py") end FileUtils.rm_rf(working_dir) From ea834a4898434eb254ac1a1c5614bdfaea3e3159 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 21 Oct 2025 12:31:27 +0100 Subject: [PATCH 005/228] IOS-5364 Updated on PR workflow --- .github/workflows/claude-code-review.yml | 45 ++++++++++++++++-------- 1 file changed, 30 insertions(+), 15 deletions(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 457ec4d1c2..a8f2ca4fa4 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -41,6 +41,8 @@ jobs: PR NUMBER: ${{ github.event.pull_request.number }} COMMIT SHA: ${{ github.event.pull_request.head.sha }} + REFERENCE - Valid GitHub Actions Runners: https://github.com/actions/runner-images/tree/main/images/macos + Review this PR using CLAUDE.md for project conventions. Be LEAN and ACTIONABLE - only provide value, avoid noise. RULES: @@ -64,31 +66,44 @@ jobs: - 🚨 **Major Issues** - [critical problems] IMPORTANT - Review Comment Strategy: - 1. Post inline comments for EACH specific code issue using the GitHub API directly. - 2. Post a final summary comment at the end. - - For inline comments, use this exact format: - - COMMIT_SHA="${{ github.event.pull_request.head.sha }}" + 1. For small, localized issues affecting a single chunk of code: + - Use GitHub's suggestion mechanism to propose the fix inline + - Include the fixed code in a suggestion block + - Add brief explanation above the suggestion + 2. For broader issues or multiple locations: + - Post inline comments using the GitHub API + 3. Post a final summary comment at the end + + For INLINE CODE SUGGESTIONS (preferred for small, localized fixes): + Use this format in your comment body: + ```suggestion + fixed code here + ``` + + Example for single-line fix: gh api repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/reviews \ --method POST \ - --field body="Your summary here (can be empty if you have inline comments)" \ + --field body="" \ --field event="COMMENT" \ - --field comments[][path]="Anytype/Sources/PresentationLayer/SpaceSettings/SpaceSettings/SpaceSettingsViewModel.swift" \ - --field comments[][line]=274 \ - --field comments[][body]="Your inline comment here" - - You can add multiple --field comments[][...] entries in a single command for multiple inline comments. - - Example: + --field comments[][path]="fastlane/FastlaneComment" \ + --field comments[][line]=45 \ + --field comments[][body]="**Code Quality**: This single-line command is fragile. Consider breaking into multiple lines: + \`\`\`suggestion + sh(\"export PKG_CONFIG_PATH=/opt/homebrew/lib/pkgconfig:/usr/local/lib/pkgconfig:\$PKG_CONFIG_PATH\") + sh(\"source venv/bin/activate && pip3 install -r requirements.txt && python3 release-utils/main.py\") + \`\`\`" + + For INLINE COMMENTS (broader issues, no immediate fix): gh api repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/reviews \ --method POST \ - --field body="Found potential race condition" \ + --field body="Your summary here (can be empty if you have inline comments)" \ --field event="COMMENT" \ --field comments[][path]="Anytype/Sources/PresentationLayer/SpaceSettings/SpaceSettings/SpaceSettingsViewModel.swift" \ --field comments[][line]=274 \ --field comments[][body]="**Potential Race Condition**: canAddWriters is computed using participants array (line 274), but participants is updated asynchronously in startJoiningTask() which runs in parallel with startParticipantTask()." + You can add multiple --field comments[][...] entries in a single command for multiple inline comments. + Then post a final summary comment: gh pr comment ${{ github.event.pull_request.number }} --body "Review complete - see inline comments for details" From 4efcddcceb94df68ce16743b232a217d3d052ff8 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 21 Oct 2025 12:50:27 +0100 Subject: [PATCH 006/228] IOS-5211 Updated buttons design --- .../StandardButton/StandardButtonConfig.swift | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift b/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift index 43714e2f47..d61db4fe5d 100644 --- a/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift +++ b/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift @@ -47,7 +47,7 @@ public extension StandardButtonStyle { return StandardButtonConfig( normal: StandardButtonConfig.Style( textColor: .Text.inversion, - backgroundColor: .Control.primary + backgroundColor: .Control.accent100 ), higlighted: StandardButtonConfig.Style( overlayBackgroundColor: Color(light: .white.opacity(0.15), dark: .black.opacity(0.15)) @@ -58,9 +58,9 @@ public extension StandardButtonStyle { ), textFont: .button1Medium, infoTextFont: .caption1Medium, - height: 48, + height: 52, stretchSize: true, - radius: 12, + radius: 26, loadingIndicatorSize: .ButtonLoadingIndicator.large ) case .secondaryLarge: @@ -77,9 +77,9 @@ public extension StandardButtonStyle { borderColor: .Shape.primary ), textFont: .button1Regular, - height: 48, + height: 52, stretchSize: true, - radius: 12, + radius: 26, loadingIndicatorSize: .ButtonLoadingIndicator.large ) case .warningLarge: @@ -96,9 +96,9 @@ public extension StandardButtonStyle { borderColor: .Shape.secondary ), textFont: .button1Medium, - height: 48, + height: 52, stretchSize: true, - radius: 12, + radius: 26, loadingIndicatorSize: .ButtonLoadingIndicator.large ) case .borderlessLarge: @@ -304,7 +304,7 @@ public extension StandardButtonStyle { ), textFont: .button1Medium, infoTextFont: .caption1Medium, - height: 48, + height: 52, stretchSize: true, radius: 100, loadingIndicatorSize: .ButtonLoadingIndicator.large @@ -324,7 +324,7 @@ public extension StandardButtonStyle { backgroundColor: .Shape.tertiary ), textFont: .button1Regular, - height: 48, + height: 52, stretchSize: true, radius: 100, loadingIndicatorSize: .ButtonLoadingIndicator.large @@ -341,7 +341,7 @@ public extension StandardButtonStyle { textColor: .Text.tertiary ), textFont: .button1Regular, - height: 48, + height: 52, stretchSize: true, radius: 0, loadingIndicatorSize: .ButtonLoadingIndicator.large From 384db07287c39576498a969f51ccbaa9a2502878 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 21 Oct 2025 13:04:10 +0100 Subject: [PATCH 007/228] IOS-5211 Removed redundant oval buttons --- .../KeyPhraseView/KeyPhraseView.swift | 2 +- .../EmailCollectionView.swift | 2 +- .../JoinSelectionView/JoinSelectionView.swift | 2 +- .../AuthNew/Login/LoginView/LoginView.swift | 2 +- .../PrimaryAuthView/PrimaryAuthView.swift | 4 +- .../Common/SwiftUI/Alerts/AlertView.swift | 2 +- .../Debug/Examples/ControlsExample.swift | 8 +--- .../Migration/MigrationView.swift | 6 +-- .../ServerConfigurationView.swift | 2 +- .../StandardButton/StandardButtonConfig.swift | 41 ------------------- .../StandardButton/StandardButtonStyle.swift | 4 +- 11 files changed, 13 insertions(+), 62 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/KeyPhraseView/KeyPhraseView.swift b/Anytype/Sources/PresentationLayer/Auth/JoinFlow/KeyPhraseView/KeyPhraseView.swift index 3a1102e7e1..e3f195a4a8 100644 --- a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/KeyPhraseView/KeyPhraseView.swift +++ b/Anytype/Sources/PresentationLayer/Auth/JoinFlow/KeyPhraseView/KeyPhraseView.swift @@ -87,7 +87,7 @@ struct KeyPhraseView: View { private var buttons: some View { VStack(spacing: 0) { StandardButton(model.keyShown ? Loc.Auth.JoinFlow.Key.Button.Saved.title : Loc.Auth.JoinFlow.Key.Button.Show.title, - style: .primaryOvalLarge, + style: .primaryLarge, action: { model.onPrimaryButtonTap() } diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/EmailCollectionView/EmailCollectionView.swift b/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/EmailCollectionView/EmailCollectionView.swift index c95fedf70e..082e1defd7 100644 --- a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/EmailCollectionView/EmailCollectionView.swift +++ b/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/EmailCollectionView/EmailCollectionView.swift @@ -81,7 +81,7 @@ struct EmailCollectionView: View { StandardButton( Loc.continue, inProgress: model.inProgress, - style: FeatureFlags.brandNewAuthFlow ? .primaryOvalLarge : .primaryLarge, + style: .primaryLarge, action: { model.onNextAction() } diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinSelectionView/JoinSelectionView.swift b/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinSelectionView/JoinSelectionView.swift index bb248cdf03..94e61d2e62 100644 --- a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinSelectionView/JoinSelectionView.swift +++ b/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinSelectionView/JoinSelectionView.swift @@ -34,7 +34,7 @@ struct JoinSelectionView: View { VStack(spacing: 8) { StandardButton( Loc.continue, - style: .primaryOvalLarge, + style: .primaryLarge, action: { model.onNextAction() } diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Login/LoginView/LoginView.swift b/Anytype/Sources/PresentationLayer/AuthNew/Login/LoginView/LoginView.swift index 4cb257ee67..a0536ce3db 100644 --- a/Anytype/Sources/PresentationLayer/AuthNew/Login/LoginView/LoginView.swift +++ b/Anytype/Sources/PresentationLayer/AuthNew/Login/LoginView/LoginView.swift @@ -92,7 +92,7 @@ struct LoginView: View { StandardButton( Loc.enter, inProgress: model.loadingInProgress, - style: .primaryOvalLarge, + style: .primaryLarge, action: { model.onEnterButtonAction() } diff --git a/Anytype/Sources/PresentationLayer/AuthNew/PrimaryAuthView/PrimaryAuthView.swift b/Anytype/Sources/PresentationLayer/AuthNew/PrimaryAuthView/PrimaryAuthView.swift index 69636614ec..8d6a9deb7f 100644 --- a/Anytype/Sources/PresentationLayer/AuthNew/PrimaryAuthView/PrimaryAuthView.swift +++ b/Anytype/Sources/PresentationLayer/AuthNew/PrimaryAuthView/PrimaryAuthView.swift @@ -89,7 +89,7 @@ struct PrimaryAuthView: View { StandardButton( Loc.Auth.Button.join, inProgress: model.inProgress, - style: .primaryOvalLarge, + style: .primaryLarge, action: { model.onJoinButtonTap() } @@ -97,7 +97,7 @@ struct PrimaryAuthView: View { StandardButton( Loc.Auth.logIn, - style: .secondaryOvalLarge, + style: .secondaryLarge, action: { model.onLoginButtonTap() } diff --git a/Anytype/Sources/PresentationLayer/Common/SwiftUI/Alerts/AlertView.swift b/Anytype/Sources/PresentationLayer/Common/SwiftUI/Alerts/AlertView.swift index 80817d3038..34be88d0cd 100644 --- a/Anytype/Sources/PresentationLayer/Common/SwiftUI/Alerts/AlertView.swift +++ b/Anytype/Sources/PresentationLayer/Common/SwiftUI/Alerts/AlertView.swift @@ -26,7 +26,7 @@ struct AlertView: View where Presenting: View { StandardButton( Loc.ok, - style: .secondaryOvalLarge, + style: .secondaryLarge, action: { isShowing.toggle() onButtonTap() diff --git a/Anytype/Sources/PresentationLayer/Debug/Examples/ControlsExample.swift b/Anytype/Sources/PresentationLayer/Debug/Examples/ControlsExample.swift index 42ccbaa588..1eb2de5fc2 100644 --- a/Anytype/Sources/PresentationLayer/Debug/Examples/ControlsExample.swift +++ b/Anytype/Sources/PresentationLayer/Debug/Examples/ControlsExample.swift @@ -16,13 +16,7 @@ struct ControlsExample: View { makeLargeButtonVariants(title: "Destructive Large - Light", style: .warningLarge).colorScheme(.light) makeLargeButtonVariants(title: "Destructive Large - Dark", style: .warningLarge).colorScheme(.dark) - - makeLargeButtonVariants(title: "Primary Oval Large - Light", style: .primaryOvalLarge).colorScheme(.light) - makeLargeButtonVariants(title: "Primary Oval Large - Dark", style: .primaryOvalLarge).colorScheme(.dark) - - makeLargeButtonVariants(title: "Secondary Oval Large - Light", style: .secondaryOvalLarge).colorScheme(.light) - makeLargeButtonVariants(title: "Secondary Oval Large - Dark", style: .secondaryOvalLarge).colorScheme(.dark) - + makeLargeButtonVariants(title: "Link Large - Light", style: .linkLarge).colorScheme(.light) makeLargeButtonVariants(title: "Link Large - Dark", style: .linkLarge).colorScheme(.dark) } diff --git a/Anytype/Sources/PresentationLayer/Migration/MigrationView.swift b/Anytype/Sources/PresentationLayer/Migration/MigrationView.swift index dc45927972..e62a035faa 100644 --- a/Anytype/Sources/PresentationLayer/Migration/MigrationView.swift +++ b/Anytype/Sources/PresentationLayer/Migration/MigrationView.swift @@ -53,7 +53,7 @@ struct MigrationView: View { StandardButton( Loc.Migration.Initial.startUpdate, - style: .primaryOvalLarge, + style: .primaryLarge, action: { model.startUpdate() } @@ -61,7 +61,7 @@ struct MigrationView: View { Spacer.fixedHeight(8) StandardButton( Loc.Migration.Initial.readMore, - style: .secondaryOvalLarge, + style: .secondaryLarge, action: { model.readMore() } @@ -108,7 +108,7 @@ struct MigrationView: View { Spacer() StandardButton( Loc.tryAgain, - style: .primaryOvalLarge, + style: .primaryLarge, action: { model.tryAgainTapped() } diff --git a/Anytype/Sources/PresentationLayer/Modules/ServerConfiguration/ServerConfigurationView.swift b/Anytype/Sources/PresentationLayer/Modules/ServerConfiguration/ServerConfigurationView.swift index ea27d4dd47..22bdd65042 100644 --- a/Anytype/Sources/PresentationLayer/Modules/ServerConfiguration/ServerConfigurationView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/ServerConfiguration/ServerConfigurationView.swift @@ -37,7 +37,7 @@ struct ServerConfigurationView: View { StandardButton( Loc.Server.addButton, - style: FeatureFlags.brandNewAuthFlow ? .secondaryOvalLarge : .secondaryMedium) + style: FeatureFlags.brandNewAuthFlow ? .secondaryLarge : .secondaryMedium) { model.onTapAddServer() } diff --git a/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift b/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift index d61db4fe5d..7ff26784f7 100644 --- a/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift +++ b/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift @@ -288,47 +288,6 @@ public extension StandardButtonStyle { radius: 18, loadingIndicatorSize: .ButtonLoadingIndicator.large ) - case .primaryOvalLarge: - return StandardButtonConfig( - normal: StandardButtonConfig.Style( - textColor: .Text.white, - backgroundColor: .Control.accent100 - ), - higlighted: StandardButtonConfig.Style( - textColor: .Text.white, - backgroundColor: .Control.accent125 - ), - disabled: StandardButtonConfig.Style( - textColor: .Text.tertiary, - backgroundColor: .Control.tertiary - ), - textFont: .button1Medium, - infoTextFont: .caption1Medium, - height: 52, - stretchSize: true, - radius: 100, - loadingIndicatorSize: .ButtonLoadingIndicator.large - ) - case .secondaryOvalLarge: - return StandardButtonConfig( - normal: StandardButtonConfig.Style( - textColor: .Text.primary, - backgroundColor: .Shape.primary - ), - higlighted: StandardButtonConfig.Style( - textColor: .Text.primary, - backgroundColor: .Control.tertiary - ), - disabled: StandardButtonConfig.Style( - textColor: .Text.tertiary, - backgroundColor: .Shape.tertiary - ), - textFont: .button1Regular, - height: 52, - stretchSize: true, - radius: 100, - loadingIndicatorSize: .ButtonLoadingIndicator.large - ) case .linkLarge: return StandardButtonConfig( normal: StandardButtonConfig.Style( diff --git a/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonStyle.swift b/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonStyle.swift index d152c5b4d6..d76b729473 100644 --- a/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonStyle.swift +++ b/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonStyle.swift @@ -23,8 +23,6 @@ public enum StandardButtonStyle { case primaryXSmallStretched case upgradeBadge - - case primaryOvalLarge - case secondaryOvalLarge + case linkLarge } From 1f189f78f2127a79f6c45382a495ad4a57eab8e7 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 21 Oct 2025 13:07:28 +0100 Subject: [PATCH 008/228] IOS-5211 Updated design --- .../StandardButton/StandardButtonConfig.swift | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift b/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift index 7ff26784f7..be4987c308 100644 --- a/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift +++ b/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift @@ -127,7 +127,7 @@ public extension StandardButtonStyle { textFont: .button1Medium, height: 44, stretchSize: true, - radius: 10, + radius: 22, loadingIndicatorSize: .ButtonLoadingIndicator.large ) case .secondaryMedium: @@ -138,7 +138,7 @@ public extension StandardButtonStyle { textFont: .uxBodyRegular, height: 44, stretchSize: true, - radius: 10, + radius: 22, loadingIndicatorSize: .ButtonLoadingIndicator.large, horizontalPadding: 12 ) @@ -150,7 +150,7 @@ public extension StandardButtonStyle { textFont: .button1Medium, height: 44, stretchSize: true, - radius: 10, + radius: 22, loadingIndicatorSize: .ButtonLoadingIndicator.large ) case .primarySmall: @@ -161,7 +161,7 @@ public extension StandardButtonStyle { textFont: .uxCalloutMedium, height: 36, stretchSize: false, - radius: 8, + radius: 18, loadingIndicatorSize: .ButtonLoadingIndicator.small ) case .secondarySmall: @@ -172,7 +172,7 @@ public extension StandardButtonStyle { textFont: .uxCalloutRegular, height: 36, stretchSize: false, - radius: 8, + radius: 18, loadingIndicatorSize: .ButtonLoadingIndicator.small ) case .warningSmall: @@ -183,7 +183,7 @@ public extension StandardButtonStyle { textFont: .uxCalloutMedium, height: 36, stretchSize: false, - radius: 8, + radius: 18, loadingIndicatorSize: .ButtonLoadingIndicator.small ) case .borderlessSmall: @@ -213,7 +213,7 @@ public extension StandardButtonStyle { textFont: .caption1Medium, height: 28, stretchSize: false, - radius: 6, + radius: 14, loadingIndicatorSize: .ButtonLoadingIndicator.xsmall, horizontalPadding: 10 ) @@ -225,7 +225,7 @@ public extension StandardButtonStyle { textFont: .caption1Medium, height: 28, stretchSize: true, - radius: 6, + radius: 14, loadingIndicatorSize: .ButtonLoadingIndicator.xsmall, horizontalPadding: 10 ) @@ -237,7 +237,7 @@ public extension StandardButtonStyle { textFont: .caption1Regular, height: 28, stretchSize: false, - radius: 6, + radius: 14, loadingIndicatorSize: .ButtonLoadingIndicator.xsmall ) case .warningXSmall: @@ -248,7 +248,7 @@ public extension StandardButtonStyle { textFont: .caption1Medium, height: 28, stretchSize: false, - radius: 6, + radius: 14, loadingIndicatorSize: .ButtonLoadingIndicator.xsmall ) case .transparentXSmall: @@ -266,7 +266,7 @@ public extension StandardButtonStyle { textFont: .caption1Medium, height: 28, stretchSize: false, - radius: 6, + radius: 14, loadingIndicatorSize: .ButtonLoadingIndicator.xsmall ) case .upgradeBadge: @@ -285,7 +285,7 @@ public extension StandardButtonStyle { textFont: .calloutRegular, height: 32, stretchSize: true, - radius: 18, + radius: 16, loadingIndicatorSize: .ButtonLoadingIndicator.large ) case .linkLarge: From 518e09f21fa1f6e0c0dc5051fdf93d301f32f936 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 21 Oct 2025 13:09:54 +0100 Subject: [PATCH 009/228] IOS-5211 updated design examples --- .../Debug/Examples/ControlsExample.swift | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Debug/Examples/ControlsExample.swift b/Anytype/Sources/PresentationLayer/Debug/Examples/ControlsExample.swift index 1eb2de5fc2..3c530f4439 100644 --- a/Anytype/Sources/PresentationLayer/Debug/Examples/ControlsExample.swift +++ b/Anytype/Sources/PresentationLayer/Debug/Examples/ControlsExample.swift @@ -19,8 +19,11 @@ struct ControlsExample: View { makeLargeButtonVariants(title: "Link Large - Light", style: .linkLarge).colorScheme(.light) makeLargeButtonVariants(title: "Link Large - Dark", style: .linkLarge).colorScheme(.dark) + + makeLargeButtonVariants(title: "Borderless Large - Light", style: .borderlessLarge).colorScheme(.light) + makeLargeButtonVariants(title: "Borderless Large - Dark", style: .borderlessLarge).colorScheme(.dark) } - + Group { makeTwoByLineButtonVariants(title: "Primary Medium - Light", style: .primaryMedium).colorScheme(.light) makeTwoByLineButtonVariants(title: "Primary Medium - Dark", style: .primaryMedium).colorScheme(.dark) @@ -41,8 +44,11 @@ struct ControlsExample: View { makeTwoByLineButtonVariants(title: "Destructive Small - Light", style: .warningSmall).colorScheme(.light) makeTwoByLineButtonVariants(title: "Destructive Small - Dark", style: .warningSmall).colorScheme(.dark) + + makeTwoByLineButtonVariants(title: "Borderless Small - Light", style: .borderlessSmall).colorScheme(.light) + makeTwoByLineButtonVariants(title: "Borderless Small - Dark", style: .borderlessSmall).colorScheme(.dark) } - + Group { makeTwoByLineButtonVariants(title: "Primary XSmall - Light", style: .primaryXSmall).colorScheme(.light) makeTwoByLineButtonVariants(title: "Primary XSmall - Dark", style: .primaryXSmall).colorScheme(.dark) @@ -55,8 +61,14 @@ struct ControlsExample: View { makeTwoByLineButtonVariants(title: "Transparent XSmall - Light", style: .transparentXSmall).colorScheme(.light) makeTwoByLineButtonVariants(title: "Transparent XSmall - Dark", style: .transparentXSmall).colorScheme(.dark) + + makeLargeButtonVariants(title: "Primary XSmall Stretched - Light", style: .primaryXSmallStretched).colorScheme(.light) + makeLargeButtonVariants(title: "Primary XSmall Stretched - Dark", style: .primaryXSmallStretched).colorScheme(.dark) + + makeLargeButtonVariants(title: "Upgrade Badge - Light", style: .upgradeBadge).colorScheme(.light) + makeLargeButtonVariants(title: "Upgrade Badge - Dark", style: .upgradeBadge).colorScheme(.dark) } - + Group { makeComposeButtons(title: "Composite buttons") .colorScheme(.light) From a2c748921638544a87a718d89adc3ae2ebf05241 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 21 Oct 2025 13:29:27 +0100 Subject: [PATCH 010/228] IOS-5373 Update test flight release notes --- .claude/commands/impact_report.md | 63 ++++++++++++++++++++++++++++++- 1 file changed, 62 insertions(+), 1 deletion(-) diff --git a/.claude/commands/impact_report.md b/.claude/commands/impact_report.md index 36c76cf2fb..77c3a3ad8b 100644 --- a/.claude/commands/impact_report.md +++ b/.claude/commands/impact_report.md @@ -319,6 +319,65 @@ Linear said [X] projects. Git says [X+] initiatives. The gap is [explanation of - Simple close: "Onward." or "Shipping it." - no forced enthusiasm - Avoid: "basically rewrote", "wizards", "HERO", excessive emojis, marketing speak +## Output 4: TestFlight Release Notes + +Generate concise release notes specifically for TestFlight testers. + +**Requirements:** +- Plain text, no markdown formatting +- Very concise - bullet points only +- Focus on what testers need to know +- Critical information first (breaking changes, compatibility) +- No emojis, no Linear IDs +- Keep under 15-20 lines total + +**Template Structure:** +``` +!!! [CRITICAL ALERTS IF ANY - Breaking changes, iOS version drops, etc.] !!! + +- [Feature 1 - one line] +- [Feature 2 - one line] +- [Feature 3 - one line] +- [Feature 4 - one line] +- [Feature 5 - one line] + +Misc: +- [Bug fix 1 - one line] +- [Bug fix 2 - one line] +- [Bug fix 3 - one line] + +Questions? Reach out in the community or support channels. +``` + +**Content Guidelines:** +- **Critical alerts at top**: iOS version drops, breaking changes, data migrations + - Format: `!!! [Alert text] !!!` + - Example: `!!! Since this release we dropping Support of iOS 16 and now only support iOS 17.0 and later !!!` +- **Features section**: + - 5-7 key features maximum + - One line each, no descriptions + - Lead with feature name, add brief context if needed + - Example: `New Persistent Invite Button: The "Add members" button now stays visible in your chats, even after you've sent messages.` +- **Misc section**: + - Important bug fixes only (3-5 maximum) + - One line each + - Format: `[Area]: [What was fixed]` + - Example: `Sync Stability: Fixed rare issue where data streams could stop early` +- **Exclude**: + - Minor improvements + - Internal refactoring (unless it affects testers) + - Technical details + - Developer-only changes + - Code statistics +- **Standard closing**: Always end with "Questions? Reach out in the community or support channels." + +**What to Prioritize for Testers:** +- New visible features they should test +- Bug fixes they might have reported +- Compatibility changes that affect them +- Anything that changes existing behavior +- Known issues to watch for + ## Usage Instructions 1. Load both context files from Parts 1 & 2 2. Cross-reference Linear stories with Git changes @@ -326,10 +385,12 @@ Linear said [X] projects. Git says [X+] initiatives. The gap is [explanation of 4. Generate comprehensive testing recommendations 5. Create clean changelog focused on user value (not technical details) 6. Create team message -7. Save outputs: +7. Create TestFlight release notes +8. Save outputs: - `impact_analysis_release_[NUMBER].md` - `clean_changelog_release_[NUMBER].md` - `team_message_release_[NUMBER].txt` + - `testflight_notes_release_[NUMBER].txt` ## Tips for Creating Clean Changelog - Focus on WHAT users can do, not HOW it was built From 4b107034c4e9af23bc818004bb85c2f09d5ddbe2 Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Tue, 21 Oct 2025 14:33:50 +0200 Subject: [PATCH 011/228] New Crowdin updates (#4133) * Multilingual [skip ci] * Multilingual [skip ci] * Multilingual [skip ci] --- Modules/Loc/Sources/Loc/Resources/Auth.xcstrings | 4 ++-- Modules/Loc/Sources/Loc/Resources/UI.xcstrings | 2 +- .../Loc/Sources/Loc/Resources/Workspace.xcstrings | 14 +++++++------- 3 files changed, 10 insertions(+), 10 deletions(-) diff --git a/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings b/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings index fce9830c00..e2f623a3e0 100644 --- a/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings @@ -3448,7 +3448,7 @@ "de" : { "stringUnit" : { "state" : "new", - "value" : "Select one role or background that best fits you" + "value" : "Wähle eine Rolle oder einen Hintergrund aus, der am besten zu dir passt" } }, "en" : { @@ -6726,7 +6726,7 @@ "de" : { "stringUnit" : { "state" : "new", - "value" : "Pick one use case that fits you best" + "value" : "Wähle einen Anwendungsfall aus, der am besten zu dir passt" } }, "en" : { diff --git a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings index be26caa239..045284a699 100644 --- a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings @@ -76852,7 +76852,7 @@ "nl" : { "stringUnit" : { "state" : "new", - "value" : "See all" + "value" : "Bekijk alle" } }, "or" : { diff --git a/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings b/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings index 0bfb810971..7a310bcf9d 100644 --- a/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings @@ -1899,7 +1899,7 @@ "nl" : { "stringUnit" : { "state" : "new", - "value" : "Add members" + "value" : "Voeg leden toe" } }, "or" : { @@ -2048,7 +2048,7 @@ "nl" : { "stringUnit" : { "state" : "new", - "value" : "Messages, docs & files available offline" + "value" : "Berichten, documenten & bestanden die offline beschikbaar zijn" } }, "or" : { @@ -2197,7 +2197,7 @@ "nl" : { "stringUnit" : { "state" : "new", - "value" : "Fully private and encrypted" + "value" : "Volledig privé en versleuteld" } }, "or" : { @@ -2346,7 +2346,7 @@ "nl" : { "stringUnit" : { "state" : "new", - "value" : "Yours forever" + "value" : "Voor altijd van jou" } }, "or" : { @@ -2441,7 +2441,7 @@ "es" : { "stringUnit" : { "state" : "new", - "value" : "Aún no hay mensajes" + "value" : "Chat fuera de la nube" } }, "fa" : { @@ -53191,7 +53191,7 @@ "nl" : { "stringUnit" : { "state" : "new", - "value" : "You've reached the limit of %lld editors." + "value" : "Je hebt de limiet bereikt van %lld bewerkers." } }, "or" : { @@ -53489,7 +53489,7 @@ "nl" : { "stringUnit" : { "state" : "new", - "value" : "You've reached the limit of %lld shared spaces." + "value" : "Je hebt de limiet bereikt van %lld gedeelde ruimten." } }, "or" : { From 71c18ad94936bb02964480f9d9bc0fcf7765efb1 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 21 Oct 2025 14:12:54 +0100 Subject: [PATCH 012/228] IOS-5140 Add auto-merge and Linear issue closing to middleware update workflow --- .github/workflows/update_middleware.yaml | 131 ++++++++++++++++++++--- 1 file changed, 118 insertions(+), 13 deletions(-) diff --git a/.github/workflows/update_middleware.yaml b/.github/workflows/update_middleware.yaml index 39e6490f44..41ecedf097 100644 --- a/.github/workflows/update_middleware.yaml +++ b/.github/workflows/update_middleware.yaml @@ -1,5 +1,19 @@ name: Update middleware version +# This workflow automates the process of updating the middleware version: +# 1. Checks if the version is already up-to-date +# 2. Updates the version in Libraryfile +# 3. Downloads new middleware binaries and regenerates files +# 4. Runs unit tests to ensure compatibility +# 5. Creates a PR with the changes +# 6. Auto-merges the PR when all checks pass +# 7. Closes the associated Linear issue (if task_name is provided) +# +# Required secrets: +# - SERVICE_USER_GITHUB_TOKEN: GitHub token for creating PRs and pushing changes +# - MIDDLEWARE_TOKEN: Token for accessing middleware repository +# - LINEAR_TOKEN: Linear API token for closing issues (required when task_name is provided) + on: workflow_dispatch: inputs: @@ -25,6 +39,8 @@ permissions: pull-requests: write jobs: + # First job: Check if the middleware version is already up-to-date + # This prevents unnecessary work if the version hasn't changed check-version: name: Check current middleware version runs-on: macos-15 @@ -38,12 +54,15 @@ jobs: id: chk shell: bash run: | + # Read the MIDDLE_VERSION from Libraryfile (contains current middleware version) set -a source Libraryfile || true set +a CURR="${MIDDLE_VERSION:-}" echo "Current version: ${CURR}" echo "Target version: ${{ inputs.middle_version }}" + + # Compare current version with target version if [ "$CURR" = "${{ inputs.middle_version }}" ]; then echo "same=true" >> "$GITHUB_OUTPUT" echo "Version already up-to-date. Workflow will finish successfully without updates." @@ -52,6 +71,8 @@ jobs: echo "Version differs. Proceeding with update…" fi + # Second job: Perform the actual middleware update + # Only runs if the version check shows the version needs updating update: name: Update middleware version runs-on: macos-15 @@ -61,6 +82,7 @@ jobs: - name: Checkout uses: actions/checkout@v3 + # Restore cached build artifacts to speed up the process - name: Restore cache for local build folder uses: actions/cache/restore@v4 with: @@ -68,10 +90,11 @@ jobs: key: build-local-tools-${{ github.sha }} restore-keys: | build-local-tools- - + - name: Prepare deps uses: ./.github/actions/prepare-deps + # Restore Xcode derived data cache to speed up builds - name: Xcode Cache uses: irgaly/xcode-cache@v1 with: @@ -86,54 +109,136 @@ jobs: with: xcode-version: '26.0' + # Install required development tools (e.g., SwiftGen, Sourcery) - name: Setup tools run: make setup-env env: GITHUB_TOKEN: ${{ secrets.SERVICE_USER_GITHUB_TOKEN }} - + + # Update the MIDDLE_VERSION value in Libraryfile - name: Update Middleware Version run: make set-middle-version v=${{ inputs.middle_version }} + # Download the new middleware binaries and regenerate protobuf files - name: Download Middleware and Generate Files run: make setup-middle env: MIDDLEWARE_TOKEN: ${{ secrets.MIDDLEWARE_TOKEN }} + # Configure git user for commits - name: Update git config uses: ./.github/actions/update-git-config - + + # Create a new branch and commit the changes + # Branch name format: IOS-123-update-middleware-1.2.3 or update-middleware-1.2.3 - name: Create Commit id: commit run: | BRANCH_NAME="${{ inputs.task_name != '' && format('{0}-update-middleware-{1}', inputs.task_name, inputs.middle_version) || format('update-middleware-{0}', inputs.middle_version) }}" COMMIT_MESSAGE="${{ inputs.task_name != '' && format('{0} Automation: Update middleware to {1}', inputs.task_name, inputs.middle_version) || format('Automation: Update middleware to {0}', inputs.middle_version) }}" - - # Delete local branch if exists + + # Clean up any existing branch with the same name git branch -D $BRANCH_NAME || true - # Delete remote branch if exists git push origin --delete $BRANCH_NAME || true - # Create new branch + + # Create new branch and commit all changes git checkout -b $BRANCH_NAME git add . git commit -m "$COMMIT_MESSAGE" --no-verify - + + # Export branch name and commit message for later steps echo "branch_name=$BRANCH_NAME" >> $GITHUB_OUTPUT echo "commit_message=$COMMIT_MESSAGE" >> $GITHUB_OUTPUT env: GITHUB_TOKEN: ${{ secrets.SERVICE_USER_GITHUB_TOKEN }} + # Verify that the middleware update doesn't break existing tests - name: Run unit tests run: bundle exec fastlane tests skip_notify:true env: FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 900 FASTLANE_XCODE_LIST_TIMEOUT: 900 - - - name: Create and Merge PR + + # Push the branch and create a PR + - name: Create PR + id: create_pr run: | git push origin ${{ steps.commit.outputs.branch_name }} --no-verify - + PR_BODY="This PR updates middleware to version ${{ inputs.middle_version }}" - gh pr create --title "${{ steps.commit.outputs.commit_message }}" --body "$PR_BODY" --base ${{ github.ref_name }} + PR_URL=$(gh pr create --title "${{ steps.commit.outputs.commit_message }}" --body "$PR_BODY" --base ${{ github.ref_name }}) + + # Save PR URL for the auto-merge step + echo "pr_url=$PR_URL" >> $GITHUB_OUTPUT env: GITHUB_TOKEN: ${{ secrets.SERVICE_USER_GITHUB_TOKEN }} - \ No newline at end of file + + # Enable auto-merge: the PR will be merged when all required checks pass + # Uses --squash to keep the commit history clean + - name: Auto-merge PR + run: | + gh pr merge "${{ steps.create_pr.outputs.pr_url }}" --auto --squash + env: + GITHUB_TOKEN: ${{ secrets.SERVICE_USER_GITHUB_TOKEN }} + + # Close the Linear issue by moving it to "Done" state + # Only runs if a task_name was provided (e.g., IOS-123) + - name: Close Linear Issue + if: ${{ inputs.task_name != '' }} + run: | + ISSUE_ID="${{ inputs.task_name }}" + + # Step 1: Query Linear API to get the issue and its team's workflow states + # We need to find the "Done" state ID for this team + ISSUE_QUERY='query($issueId: String!) { + issue(id: $issueId) { + id + team { + states { + nodes { + id + name + type + } + } + } + } + }' + + # Make GraphQL request to get issue data + ISSUE_DATA=$(curl -s -X POST https://api.linear.app/graphql \ + -H "Authorization: ${{ secrets.LINEAR_TOKEN }}" \ + -H "Content-Type: application/json" \ + -d "{\"query\":\"$ISSUE_QUERY\",\"variables\":{\"issueId\":\"$ISSUE_ID\"}}") + + # Step 2: Extract the state ID for "Done" (type="completed") + # Different teams may have different names for the Done state, but they all have type="completed" + DONE_STATE_ID=$(echo "$ISSUE_DATA" | jq -r '.data.issue.team.states.nodes[] | select(.type == "completed") | .id' | head -1) + + # Step 3: Verify we found a Done state + if [ -z "$DONE_STATE_ID" ]; then + echo "Warning: Could not find 'Done' state for issue $ISSUE_ID" + exit 0 + fi + + # Step 4: Update the issue to move it to Done state + UPDATE_MUTATION='mutation($issueId: String!, $stateId: String!) { + issueUpdate(id: $issueId, input: { stateId: $stateId }) { + success + issue { + id + state { + name + } + } + } + }' + + # Make GraphQL mutation request to update the issue + UPDATE_RESULT=$(curl -s -X POST https://api.linear.app/graphql \ + -H "Authorization: ${{ secrets.LINEAR_TOKEN }}" \ + -H "Content-Type: application/json" \ + -d "{\"query\":\"$UPDATE_MUTATION\",\"variables\":{\"issueId\":\"$ISSUE_ID\",\"stateId\":\"$DONE_STATE_ID\"}}") + + echo "Linear issue $ISSUE_ID closed successfully" + echo "$UPDATE_RESULT" \ No newline at end of file From 692e84d7f58baf7e556c62012698575817501497 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 21 Oct 2025 14:15:42 +0100 Subject: [PATCH 013/228] IOS-5368 Update secondary and warning button border colors to transparent primary --- .../Components/StandardButton/StandardButtonConfig.swift | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift b/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift index 43714e2f47..a8cc9457d9 100644 --- a/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift +++ b/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift @@ -67,14 +67,14 @@ public extension StandardButtonStyle { return StandardButtonConfig( normal: StandardButtonConfig.Style( textColor: .Text.primary, - borderColor: .Shape.primary + borderColor: .Shape.transperentPrimary ), higlighted: StandardButtonConfig.Style( backgroundColor: .Shape.transperentSecondary ), disabled: StandardButtonConfig.Style( textColor: .Text.tertiary, - borderColor: .Shape.primary + borderColor: .Shape.transperentPrimary ), textFont: .button1Regular, height: 48, @@ -86,14 +86,14 @@ public extension StandardButtonStyle { return StandardButtonConfig( normal: StandardButtonConfig.Style( textColor: .Pure.red, - borderColor: .Shape.primary + borderColor: .Shape.transperentPrimary ), higlighted: StandardButtonConfig.Style( textColor: .Light.red ), disabled: StandardButtonConfig.Style( textColor: .Light.red, - borderColor: .Shape.secondary + borderColor: .Shape.transperentPrimary ), textFont: .button1Medium, height: 48, From a4bf8decdb09248a2e668d4e15a06391f8e322cf Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Wed, 22 Oct 2025 05:48:05 +0200 Subject: [PATCH 014/228] Automation: Update middleware to v0.44.0-nightly.20251022.1 (#4136) Co-authored-by: William Blake --- Libraryfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraryfile b/Libraryfile index 8a2c34dcc5..554509c2bf 100644 --- a/Libraryfile +++ b/Libraryfile @@ -1 +1 @@ -MIDDLE_VERSION=v0.44.0-nightly.20251018.1 +MIDDLE_VERSION=v0.44.0-nightly.20251022.1 From e28b6133e35865ddca5e73814914b693a66d1083 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 22 Oct 2025 12:43:28 +0100 Subject: [PATCH 015/228] IOS-5317 Merged release to dev --- .../Extensions/ObjectDetailsExtensions.swift | 2 +- .../Models/AttachmentsTextInfoBuilder.swift | 2 +- .../Icon/Object/ObjectIconPicker.swift | 2 +- .../Layout/DetailsLayout+Metadata.swift | 6 +- .../Anytype_Rpc.App.SetDeviceState.swift | 4 ++ ...Anytype_Event.Membership.TiersUpdate.swift | 71 +++++++++++++++++++ .../Anytype_Event.Message.OneOf_Value.swift | 1 + .../Events/Anytype_Event.Message.swift | 26 +++++++ .../Anytype_Model_ObjectType.Layout.swift | 10 +-- .../Anytype_Model_Relation.Option.swift | 9 +++ .../Models/Anytype_Model_SmartBlockType.swift | 12 ++-- .../BundledPropertiesValueProvider.swift | 5 ++ .../Generated/BundledPropertyKey.swift | 3 + .../Models/Details/ObjectIconBuilder.swift | 2 +- 14 files changed, 137 insertions(+), 18 deletions(-) create mode 100644 Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.TiersUpdate.swift diff --git a/Anytype/Sources/Models/Extensions/ObjectDetailsExtensions.swift b/Anytype/Sources/Models/Extensions/ObjectDetailsExtensions.swift index a32fdf37d6..7f37be723f 100644 --- a/Anytype/Sources/Models/Extensions/ObjectDetailsExtensions.swift +++ b/Anytype/Sources/Models/Extensions/ObjectDetailsExtensions.swift @@ -76,7 +76,7 @@ extension BundledPropertiesValueProvider { return .mediaFile case .bookmark: return .bookmark - case .chat, .chatDerived: + case .chatDeprecated, .chatDerived: return .chat } } diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/Services/Models/AttachmentsTextInfoBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/Services/Models/AttachmentsTextInfoBuilder.swift index 55ac5f387f..c1c05b6638 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/Services/Models/AttachmentsTextInfoBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/Services/Models/AttachmentsTextInfoBuilder.swift @@ -43,7 +43,7 @@ final class AttachmentsTextInfoBuilder { case .tag: return Loc.tag(count) case .UNRECOGNIZED, .dashboard, .space, .relationOptionsList, .relationOption, .spaceView, - .participant, .chat, .chatDerived, .notification, .missingObject, .devices: + .participant, .chatDeprecated, .chatDerived, .notification, .missingObject, .devices: return Loc.attachment(count) } } diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Icon/Object/ObjectIconPicker.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Icon/Object/ObjectIconPicker.swift index ca2d5fe68e..d56061e72a 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Icon/Object/ObjectIconPicker.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Icon/Object/ObjectIconPicker.swift @@ -49,7 +49,7 @@ struct ObjectIconPicker: View { EmptyView() case .todo, .note, .bookmark, .UNRECOGNIZED, .relation, .relationOption, .dashboard, .relationOptionsList, .audio, .video, .pdf, .date, .space, - .spaceView, .tag, .chat, .notification, .missingObject, .devices: + .spaceView, .tag, .chatDeprecated, .notification, .missingObject, .devices: EmptyView() .onAppear { anytypeAssertionFailure("Not supported layout") diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Layout/DetailsLayout+Metadata.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Layout/DetailsLayout+Metadata.swift index 04af824f22..fffb99bc1d 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Layout/DetailsLayout+Metadata.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Layout/DetailsLayout+Metadata.swift @@ -15,7 +15,7 @@ extension DetailsLayout { return .Layout.note case .set, .collection, .bookmark, .space, .file, .image, .objectType, .UNRECOGNIZED, .relation, .relationOption, .dashboard, .relationOptionsList, .pdf, .audio, - .video, .date, .spaceView, .tag, .chat, .chatDerived, .notification, + .video, .date, .spaceView, .tag, .chatDeprecated, .chatDerived, .notification, .missingObject, .devices: return .noImage } @@ -37,7 +37,7 @@ extension DetailsLayout { return Loc.collection case .bookmark, .space, .file, .image, .objectType, .UNRECOGNIZED, .relation, .relationOption, .dashboard, .relationOptionsList, .pdf, .audio, - .video, .date, .spaceView, .tag, .chat, .chatDerived, .notification, + .video, .date, .spaceView, .tag, .chatDeprecated, .chatDerived, .notification, .missingObject, .devices: return "" } @@ -57,7 +57,7 @@ extension DetailsLayout { return Loc.collectionOfObjects case .bookmark, .space, .file, .image, .objectType, .UNRECOGNIZED, .relation, .relationOption, .dashboard, .relationOptionsList, .pdf, .audio, - .video, .date, .spaceView, .tag, .chat, .chatDerived, .notification, + .video, .date, .spaceView, .tag, .chatDeprecated, .chatDerived, .notification, .missingObject, .devices: return "" } diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.SetDeviceState.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.SetDeviceState.swift index 9d44fea3b2..a42542ab79 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.SetDeviceState.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.SetDeviceState.swift @@ -30,7 +30,11 @@ extension Anytype_Rpc.App { public enum DeviceState: SwiftProtobuf.Enum, Swift.CaseIterable { public typealias RawValue = Int + + /// went to background on mobile, hibernated on desktop case background // = 0 + + /// went to foreground on mobile, woke from hibernation on desktop case foreground // = 1 case UNRECOGNIZED(Int) diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.TiersUpdate.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.TiersUpdate.swift new file mode 100644 index 0000000000..9f7430e93a --- /dev/null +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.TiersUpdate.swift @@ -0,0 +1,71 @@ +// DO NOT EDIT. +// swift-format-ignore-file +// swiftlint:disable all +// +// Generated by the Swift generator plugin for the protocol buffer compiler. +// Source: pb/protos/events.proto +// +// For information on using the generated types, please see the documentation: +// https://github.com/apple/swift-protobuf/ + +import SwiftProtobuf + +extension Anytype_Event.Membership { + public struct TiersUpdate: Sendable { + // SwiftProtobuf.Message conformance is added in an extension below. See the + // `Message` and `Message+*Additions` files in the SwiftProtobuf library for + // methods supported on all messages. + + public var tiers: [Anytype_Model_MembershipTierData] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } +} + +extension Anytype_Event.Membership.TiersUpdate: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Event.Membership.protoMessageName + ".TiersUpdate" + public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ + 1: .same(proto: "tiers"), + ] + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeRepeatedMessageField(value: &self.tiers) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.tiers.isEmpty { + try visitor.visitRepeatedMessageField(value: self.tiers, fieldNumber: 1) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Anytype_Event.Membership.TiersUpdate, rhs: Anytype_Event.Membership.TiersUpdate) -> Bool { + if lhs.tiers != rhs.tiers {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +// If the compiler emits an error on this type, it is because this file +// was generated by a version of the `protoc` Swift plug-in that is +// incompatible with the version of SwiftProtobuf to which you are linking. +// Please ensure that you are building against the same version of the API +// that was used to generate this file. +fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck { + struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {} + typealias Version = _2 +} + +// MARK: - Code below here is support for the SwiftProtobuf runtime. + +fileprivate let _protobuf_package = "anytype" diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.OneOf_Value.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.OneOf_Value.swift index d472c852d8..b34b1af086 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.OneOf_Value.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.OneOf_Value.swift @@ -84,6 +84,7 @@ extension Anytype_Event.Message { case notificationUpdate(Anytype_Event.Notification.Update) case payloadBroadcast(Anytype_Event.Payload.Broadcast) case membershipUpdate(Anytype_Event.Membership.Update) + case membershipTiersUpdate(Anytype_Event.Membership.TiersUpdate) case spaceSyncStatusUpdate(Anytype_Event.Space.SyncStatus.Update) case p2PStatusUpdate(Anytype_Event.P2PStatus.Update) case importFinish(Anytype_Event.Import.Finish) diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.swift index c94a16ccaa..35df469eb5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.swift @@ -567,6 +567,14 @@ extension Anytype_Event { set {value = .membershipUpdate(newValue)} } + public var membershipTiersUpdate: Anytype_Event.Membership.TiersUpdate { + get { + if case .membershipTiersUpdate(let v)? = value {return v} + return Anytype_Event.Membership.TiersUpdate() + } + set {value = .membershipTiersUpdate(newValue)} + } + public var spaceSyncStatusUpdate: Anytype_Event.Space.SyncStatus.Update { get { if case .spaceSyncStatusUpdate(let v)? = value {return v} @@ -737,6 +745,7 @@ extension Anytype_Event.Message: SwiftProtobuf.Message, SwiftProtobuf._MessageIm 115: .same(proto: "notificationUpdate"), 116: .same(proto: "payloadBroadcast"), 117: .same(proto: "membershipUpdate"), + 137: .same(proto: "membershipTiersUpdate"), 119: .same(proto: "spaceSyncStatusUpdate"), 120: .same(proto: "p2pStatusUpdate"), 121: .same(proto: "importFinish"), @@ -1719,6 +1728,19 @@ extension Anytype_Event.Message: SwiftProtobuf.Message, SwiftProtobuf._MessageIm self.value = .chatUpdateMessageSyncStatus(v) } }() + case 137: try { + var v: Anytype_Event.Membership.TiersUpdate? + var hadOneofValue = false + if let current = self.value { + hadOneofValue = true + if case .membershipTiersUpdate(let m) = current {v = m} + } + try decoder.decodeSingularMessageField(value: &v) + if let v = v { + if hadOneofValue {try decoder.handleConflictingOneOf()} + self.value = .membershipTiersUpdate(v) + } + }() case 201: try { var v: Anytype_Event.Account.Details? var hadOneofValue = false @@ -2097,6 +2119,10 @@ extension Anytype_Event.Message: SwiftProtobuf.Message, SwiftProtobuf._MessageIm guard case .chatUpdateMessageSyncStatus(let v)? = self.value else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 136) }() + case .membershipTiersUpdate?: try { + guard case .membershipTiersUpdate(let v)? = self.value else { preconditionFailure() } + try visitor.visitSingularMessageField(value: v, fieldNumber: 137) + }() case .accountDetails?: try { guard case .accountDetails(let v)? = self.value else { preconditionFailure() } try visitor.visitSingularMessageField(value: v, fieldNumber: 201) diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.Layout.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.Layout.swift index 4ab61f5870..7820f4847a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.Layout.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.Layout.swift @@ -38,7 +38,7 @@ extension Anytype_Model_ObjectType { case pdf // = 20 /// deprecated - case chat // = 21 + case chatDeprecated // = 21 case chatDerived // = 22 case tag // = 23 case notification // = 24 @@ -73,7 +73,7 @@ extension Anytype_Model_ObjectType { case 18: self = .spaceView case 19: self = .participant case 20: self = .pdf - case 21: self = .chat + case 21: self = .chatDeprecated case 22: self = .chatDerived case 23: self = .tag case 24: self = .notification @@ -106,7 +106,7 @@ extension Anytype_Model_ObjectType { case .spaceView: return 18 case .participant: return 19 case .pdf: return 20 - case .chat: return 21 + case .chatDeprecated: return 21 case .chatDerived: return 22 case .tag: return 23 case .notification: return 24 @@ -139,7 +139,7 @@ extension Anytype_Model_ObjectType { .spaceView, .participant, .pdf, - .chat, + .chatDeprecated, .chatDerived, .tag, .notification, @@ -172,7 +172,7 @@ extension Anytype_Model_ObjectType.Layout: SwiftProtobuf._ProtoNameProviding { 18: .same(proto: "spaceView"), 19: .same(proto: "participant"), 20: .same(proto: "pdf"), - 21: .same(proto: "chat"), + 21: .same(proto: "chatDeprecated"), 22: .same(proto: "chatDerived"), 23: .same(proto: "tag"), 24: .same(proto: "notification"), diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Option.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Option.swift index 18e62367a7..66f77d3dd9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Option.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Option.swift @@ -28,6 +28,9 @@ extension Anytype_Model_Relation { /// 4 is reserved for old relation format public var relationKey: String = String() + /// lexicographic id of relation option for ordering + public var orderID: String = String() + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} @@ -41,6 +44,7 @@ extension Anytype_Model_Relation.Option: SwiftProtobuf.Message, SwiftProtobuf._M 2: .same(proto: "text"), 3: .same(proto: "color"), 5: .same(proto: "relationKey"), + 6: .same(proto: "orderId"), ] public mutating func decodeMessage(decoder: inout D) throws { @@ -53,6 +57,7 @@ extension Anytype_Model_Relation.Option: SwiftProtobuf.Message, SwiftProtobuf._M case 2: try { try decoder.decodeSingularStringField(value: &self.text) }() case 3: try { try decoder.decodeSingularStringField(value: &self.color) }() case 5: try { try decoder.decodeSingularStringField(value: &self.relationKey) }() + case 6: try { try decoder.decodeSingularStringField(value: &self.orderID) }() default: break } } @@ -71,6 +76,9 @@ extension Anytype_Model_Relation.Option: SwiftProtobuf.Message, SwiftProtobuf._M if !self.relationKey.isEmpty { try visitor.visitSingularStringField(value: self.relationKey, fieldNumber: 5) } + if !self.orderID.isEmpty { + try visitor.visitSingularStringField(value: self.orderID, fieldNumber: 6) + } try unknownFields.traverse(visitor: &visitor) } @@ -79,6 +87,7 @@ extension Anytype_Model_Relation.Option: SwiftProtobuf.Message, SwiftProtobuf._M if lhs.text != rhs.text {return false} if lhs.color != rhs.color {return false} if lhs.relationKey != rhs.relationKey {return false} + if lhs.orderID != rhs.orderID {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockType.swift index f49f197335..a93ad7b351 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockType.swift @@ -45,8 +45,8 @@ public enum Anytype_Model_SmartBlockType: SwiftProtobuf.Enum, Swift.CaseIterable case notificationObject // = 535 case devicesObject // = 536 - /// Container for any-store based chats - case chatObject // = 537 + /// DEPRECATED Container for any-store based chats + case chatObjectDeprecated // = 537 /// Any-store based object for chat case chatDerivedObject // = 544 @@ -86,7 +86,7 @@ public enum Anytype_Model_SmartBlockType: SwiftProtobuf.Enum, Swift.CaseIterable case 534: self = .participant case 535: self = .notificationObject case 536: self = .devicesObject - case 537: self = .chatObject + case 537: self = .chatObjectDeprecated case 544: self = .chatDerivedObject case 545: self = .accountObject default: self = .UNRECOGNIZED(rawValue) @@ -120,7 +120,7 @@ public enum Anytype_Model_SmartBlockType: SwiftProtobuf.Enum, Swift.CaseIterable case .participant: return 534 case .notificationObject: return 535 case .devicesObject: return 536 - case .chatObject: return 537 + case .chatObjectDeprecated: return 537 case .chatDerivedObject: return 544 case .accountObject: return 545 case .UNRECOGNIZED(let i): return i @@ -154,7 +154,7 @@ public enum Anytype_Model_SmartBlockType: SwiftProtobuf.Enum, Swift.CaseIterable .fileObject, .notificationObject, .devicesObject, - .chatObject, + .chatObjectDeprecated, .chatDerivedObject, .accountObject, ] @@ -188,7 +188,7 @@ extension Anytype_Model_SmartBlockType: SwiftProtobuf._ProtoNameProviding { 534: .same(proto: "Participant"), 535: .same(proto: "NotificationObject"), 536: .same(proto: "DevicesObject"), - 537: .same(proto: "ChatObject"), + 537: .same(proto: "ChatObjectDeprecated"), 544: .same(proto: "ChatDerivedObject"), 545: .same(proto: "AccountObject"), ] diff --git a/Modules/Services/Sources/Generated/BundledPropertiesValueProvider.swift b/Modules/Services/Sources/Generated/BundledPropertiesValueProvider.swift index 8cea9fb32c..7192c574ca 100644 --- a/Modules/Services/Sources/Generated/BundledPropertiesValueProvider.swift +++ b/Modules/Services/Sources/Generated/BundledPropertiesValueProvider.swift @@ -176,6 +176,7 @@ public protocol BundledPropertiesValueProvider { var widgetLayout: Int? { get } var widgetLimit: Int? { get } var widgetViewId: String { get } + var isMainChat: Bool { get } } public extension BundledPropertiesValueProvider where Self: PropertyValueProvider { @@ -819,4 +820,8 @@ public extension BundledPropertiesValueProvider where Self: PropertyValueProvide var widgetViewId: String { return value(for: BundledPropertyKey.widgetViewId.rawValue) } + /// Is this the main chat + var isMainChat: Bool { + return value(for: BundledPropertyKey.isMainChat.rawValue) + } } diff --git a/Modules/Services/Sources/Generated/BundledPropertyKey.swift b/Modules/Services/Sources/Generated/BundledPropertyKey.swift index 4c70ded6a3..740bec54db 100644 --- a/Modules/Services/Sources/Generated/BundledPropertyKey.swift +++ b/Modules/Services/Sources/Generated/BundledPropertyKey.swift @@ -477,4 +477,7 @@ public enum BundledPropertyKey: String, Sendable { /// Widget view ID case widgetViewId = "widgetViewId" + + /// Is this the main chat + case isMainChat = "isMainChat" } diff --git a/Modules/Services/Sources/Models/Details/ObjectIconBuilder.swift b/Modules/Services/Sources/Models/Details/ObjectIconBuilder.swift index 075bc868ca..14e5a2d4cc 100644 --- a/Modules/Services/Sources/Models/Details/ObjectIconBuilder.swift +++ b/Modules/Services/Sources/Models/Details/ObjectIconBuilder.swift @@ -54,7 +54,7 @@ public final class ObjectIconBuilder: ObjectIconBuilderProtocol { case .objectType: return objectTypeIcon(customIcon: relations.customIcon, customIconColor: relations.customIconColor, iconImage: relations.iconImage, iconEmoji: relations.iconEmoji) case .todo, .note, .file, .UNRECOGNIZED, .relation, .relationOption, .dashboard, .relationOptionsList, - .audio, .video, .pdf, .date, .tag, .chat, .notification, .missingObject, .devices: + .audio, .video, .pdf, .date, .tag, .chatDeprecated, .notification, .missingObject, .devices: return nil } } From f580808d0fb0212b8d507fd7b1be48b594cd7018 Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Wed, 22 Oct 2025 14:16:44 +0200 Subject: [PATCH 016/228] IOS-5375 Automation: Update middleware to v0.44.0-nightly.20251018.1 (#4140) Co-authored-by: William Blake --- Libraryfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraryfile b/Libraryfile index 554509c2bf..8a2c34dcc5 100644 --- a/Libraryfile +++ b/Libraryfile @@ -1 +1 @@ -MIDDLE_VERSION=v0.44.0-nightly.20251022.1 +MIDDLE_VERSION=v0.44.0-nightly.20251018.1 From c8299aed4cf814c159bcce5b32ea44d6734b0994 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 22 Oct 2025 15:31:40 +0100 Subject: [PATCH 017/228] IOS-5140 Fix Linear issue closing to use identifier filter and UUID --- .github/workflows/update_middleware.yaml | 41 +++++++++++++++--------- 1 file changed, 26 insertions(+), 15 deletions(-) diff --git a/.github/workflows/update_middleware.yaml b/.github/workflows/update_middleware.yaml index 41ecedf097..40c8073465 100644 --- a/.github/workflows/update_middleware.yaml +++ b/.github/workflows/update_middleware.yaml @@ -190,15 +190,18 @@ jobs: # Step 1: Query Linear API to get the issue and its team's workflow states # We need to find the "Done" state ID for this team - ISSUE_QUERY='query($issueId: String!) { - issue(id: $issueId) { - id - team { - states { - nodes { - id - name - type + # Note: Using 'issues' query with identifier filter to handle human-readable IDs like "IOS-5375" + ISSUE_QUERY='query($identifier: String!) { + issues(filter: { identifier: { eq: $identifier } }) { + nodes { + id + team { + states { + nodes { + id + name + type + } } } } @@ -209,13 +212,21 @@ jobs: ISSUE_DATA=$(curl -s -X POST https://api.linear.app/graphql \ -H "Authorization: ${{ secrets.LINEAR_TOKEN }}" \ -H "Content-Type: application/json" \ - -d "{\"query\":\"$ISSUE_QUERY\",\"variables\":{\"issueId\":\"$ISSUE_ID\"}}") + -d "{\"query\":\"$ISSUE_QUERY\",\"variables\":{\"identifier\":\"$ISSUE_ID\"}}") + + # Step 2: Extract the issue UUID and the state ID for "Done" (type="completed") + # We need the UUID for the mutation, not the identifier + ISSUE_UUID=$(echo "$ISSUE_DATA" | jq -r '.data.issues.nodes[0].id') - # Step 2: Extract the state ID for "Done" (type="completed") # Different teams may have different names for the Done state, but they all have type="completed" - DONE_STATE_ID=$(echo "$ISSUE_DATA" | jq -r '.data.issue.team.states.nodes[] | select(.type == "completed") | .id' | head -1) + DONE_STATE_ID=$(echo "$ISSUE_DATA" | jq -r '.data.issues.nodes[0].team.states.nodes[] | select(.type == "completed") | .id' | head -1) + + # Step 3: Verify we found the issue and Done state + if [ -z "$ISSUE_UUID" ] || [ "$ISSUE_UUID" = "null" ]; then + echo "Warning: Could not find issue $ISSUE_ID" + exit 0 + fi - # Step 3: Verify we found a Done state if [ -z "$DONE_STATE_ID" ]; then echo "Warning: Could not find 'Done' state for issue $ISSUE_ID" exit 0 @@ -234,11 +245,11 @@ jobs: } }' - # Make GraphQL mutation request to update the issue + # Make GraphQL mutation request to update the issue using the UUID UPDATE_RESULT=$(curl -s -X POST https://api.linear.app/graphql \ -H "Authorization: ${{ secrets.LINEAR_TOKEN }}" \ -H "Content-Type: application/json" \ - -d "{\"query\":\"$UPDATE_MUTATION\",\"variables\":{\"issueId\":\"$ISSUE_ID\",\"stateId\":\"$DONE_STATE_ID\"}}") + -d "{\"query\":\"$UPDATE_MUTATION\",\"variables\":{\"issueId\":\"$ISSUE_UUID\",\"stateId\":\"$DONE_STATE_ID\"}}") echo "Linear issue $ISSUE_ID closed successfully" echo "$UPDATE_RESULT" \ No newline at end of file From 64d3681629e0468491eaa05682fc4e97a9295e9b Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 23 Oct 2025 09:22:04 +0100 Subject: [PATCH 018/228] IOS-5379 Update GitHub Actions runners to macos-26 --- .github/workflows/branch_build.yaml | 2 +- .github/workflows/generator_checks.yaml | 2 +- .github/workflows/ipa.yaml | 2 +- .github/workflows/license-checks.yml | 2 +- .github/workflows/test_fastlane_build.yaml | 2 +- .github/workflows/update_cache.yaml | 2 +- .github/workflows/update_middleware.yaml | 4 ++-- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/branch_build.yaml b/.github/workflows/branch_build.yaml index 61b4de492f..a262b2c074 100644 --- a/.github/workflows/branch_build.yaml +++ b/.github/workflows/branch_build.yaml @@ -14,7 +14,7 @@ concurrency: jobs: main: - runs-on: macos-15 + runs-on: macos-26 steps: - name: Checkout diff --git a/.github/workflows/generator_checks.yaml b/.github/workflows/generator_checks.yaml index b0bbbbb835..a1d63cb6fa 100644 --- a/.github/workflows/generator_checks.yaml +++ b/.github/workflows/generator_checks.yaml @@ -11,7 +11,7 @@ on: jobs: unit-tests: name: Check - runs-on: macos-15 + runs-on: macos-26 steps: - name: Checkout diff --git a/.github/workflows/ipa.yaml b/.github/workflows/ipa.yaml index a9e4d19490..f45b635719 100644 --- a/.github/workflows/ipa.yaml +++ b/.github/workflows/ipa.yaml @@ -16,7 +16,7 @@ on: jobs: main: - runs-on: macos-15 + runs-on: macos-26 steps: - name: Checkout diff --git a/.github/workflows/license-checks.yml b/.github/workflows/license-checks.yml index c2a9fb4f47..dc45d980f5 100644 --- a/.github/workflows/license-checks.yml +++ b/.github/workflows/license-checks.yml @@ -7,7 +7,7 @@ on: jobs: license-checks: name: License Checks - runs-on: macos-15 + runs-on: macos-26 steps: - name: Checkout diff --git a/.github/workflows/test_fastlane_build.yaml b/.github/workflows/test_fastlane_build.yaml index cd7d1ac8af..6e5cce8130 100644 --- a/.github/workflows/test_fastlane_build.yaml +++ b/.github/workflows/test_fastlane_build.yaml @@ -8,7 +8,7 @@ on: jobs: main: - runs-on: macos-15 + runs-on: macos-26 steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/update_cache.yaml b/.github/workflows/update_cache.yaml index 5c449cd1ef..fd9522fb27 100644 --- a/.github/workflows/update_cache.yaml +++ b/.github/workflows/update_cache.yaml @@ -8,7 +8,7 @@ on: jobs: main: name: Update build cache - runs-on: macos-15 + runs-on: macos-26 steps: - name: Checkout diff --git a/.github/workflows/update_middleware.yaml b/.github/workflows/update_middleware.yaml index 40c8073465..777de5678f 100644 --- a/.github/workflows/update_middleware.yaml +++ b/.github/workflows/update_middleware.yaml @@ -43,7 +43,7 @@ jobs: # This prevents unnecessary work if the version hasn't changed check-version: name: Check current middleware version - runs-on: macos-15 + runs-on: macos-26 outputs: same: ${{ steps.chk.outputs.same }} steps: @@ -75,7 +75,7 @@ jobs: # Only runs if the version check shows the version needs updating update: name: Update middleware version - runs-on: macos-15 + runs-on: macos-26 needs: check-version if: ${{ needs.check-version.outputs.same != 'true' }} steps: From 17d0f3539be6288f0e2deca6fc583d474d9ab6e9 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 23 Oct 2025 10:37:40 +0100 Subject: [PATCH 019/228] IOS-5379 Update runners info for pr review --- .github/workflows/claude-code-review.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index a8f2ca4fa4..37e886bf3f 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -42,6 +42,12 @@ jobs: COMMIT SHA: ${{ github.event.pull_request.head.sha }} REFERENCE - Valid GitHub Actions Runners: https://github.com/actions/runner-images/tree/main/images/macos + + REFERENCE - macOS Runner to Xcode Version Mapping: + - macos-15: Xcode 15.x (e.g., '15.4') - See https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md + - macos-26: Xcode 26.0 (at /Applications/Xcode_26.0.app) - See https://github.com/actions/runner-images/blob/main/images/macos/macos-26-arm64-Readme.md + + VALIDATION RULE: When reviewing xcode-version in workflows, verify it matches the runs-on runner version using the mapping above. Review this PR using CLAUDE.md for project conventions. Be LEAN and ACTIONABLE - only provide value, avoid noise. From c2e2389edbea03f496c8504e2531a62bbb383673 Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Thu, 23 Oct 2025 16:13:29 +0200 Subject: [PATCH 020/228] New Crowdin updates (#4145) * Multilingual [skip ci] * Multilingual [skip ci] --- Modules/Loc/Sources/Loc/Resources/UI.xcstrings | 2 +- Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings index 7430f45952..b4249f7c57 100644 --- a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings @@ -106009,7 +106009,7 @@ "nb" : { "stringUnit" : { "state" : "new", - "value" : "Kompakt liste" + "value" : "Compact list" } }, "nl" : { diff --git a/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings b/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings index d7439db84d..e34b8070f9 100644 --- a/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings @@ -17896,7 +17896,7 @@ "nb" : { "stringUnit" : { "state" : "new", - "value" : "Сhoose a property to sort" + "value" : "Choose a property to sort" } }, "nl" : { From aca1fb6bb9fba39442848c78c7aa8209c0576f79 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 23 Oct 2025 17:27:14 +0100 Subject: [PATCH 021/228] IOS-5381 Add toast notifications for lock/unlock actions --- .../ObjectActionsViewModel.swift | 7 ++++-- .../Loc/Sources/Loc/Generated/Strings.swift | 2 ++ .../Loc/Sources/Loc/Resources/UI.xcstrings | 22 +++++++++++++++++++ 3 files changed, 29 insertions(+), 2 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift index 963c8c4535..8b9b5b5fa5 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift @@ -114,8 +114,11 @@ final class ObjectActionsViewModel: ObservableObject { } func changeLockState() async throws { - AnytypeAnalytics.instance().logLockPage(!document.isLocked) - try await service.setLocked(!document.isLocked, objectId: objectId) + let isCurrentlyLocked = document.isLocked + AnytypeAnalytics.instance().logLockPage(!isCurrentlyLocked) + try await service.setLocked(!isCurrentlyLocked, objectId: objectId) + toastData = ToastBarData(isCurrentlyLocked ? Loc.unlocked : Loc.locked) + dismiss.toggle() } func duplicateAction() async throws { diff --git a/Modules/Loc/Sources/Loc/Generated/Strings.swift b/Modules/Loc/Sources/Loc/Generated/Strings.swift index fe780e0150..8b54fc8869 100644 --- a/Modules/Loc/Sources/Loc/Generated/Strings.swift +++ b/Modules/Loc/Sources/Loc/Generated/Strings.swift @@ -425,6 +425,7 @@ public enum Loc { public static let loadingPleaseWait = Loc.tr("UI", "Loading, please wait", fallback: "Loading, please wait") public static let localOnly = Loc.tr("UI", "Local Only", fallback: "Local Only") public static let lock = Loc.tr("UI", "Lock", fallback: "Lock") + public static let locked = Loc.tr("UI", "Locked", fallback: "Locked") public static let logOut = Loc.tr("UI", "Log out", fallback: "Log Out") public static let logoutAndClearData = Loc.tr("UI", "Logout and clear data", fallback: "Logout and clear data") public static let managePayment = Loc.tr("UI", "Manage payment", fallback: "Manage payment") @@ -648,6 +649,7 @@ public enum Loc { public static let unknownError = Loc.tr("UI", "Unknown error", fallback: "Unknown error") public static let unlimited = Loc.tr("UI", "unlimited", fallback: "Unlimited") public static let unlock = Loc.tr("UI", "Unlock", fallback: "Unlock") + public static let unlocked = Loc.tr("UI", "Unlocked", fallback: "Unlocked") public static let unmute = Loc.tr("UI", "Unmute", fallback: "Unmute") public static let unpin = Loc.tr("UI", "Unpin", fallback: "Unpin") public static let unpublish = Loc.tr("UI", "Unpublish", fallback: "Unpublish") diff --git a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings index b4249f7c57..18781c901a 100644 --- a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings @@ -52023,6 +52023,17 @@ } } }, + "Locked" : { + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Locked" + } + } + } + }, "Log out" : { "extractionState" : "manual", "localizations" : { @@ -98288,6 +98299,17 @@ } } }, + "Unlocked" : { + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unlocked" + } + } + } + }, "Unmute" : { "extractionState" : "manual", "localizations" : { From af52cc5b456d6d0a681177e3d330328ac1805795 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 23 Oct 2025 17:27:30 +0100 Subject: [PATCH 022/228] IOS-5382 Updated Claude.md --- CLAUDE.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/CLAUDE.md b/CLAUDE.md index b44d6613a6..dfe1a9c766 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -23,14 +23,8 @@ Anytype is a privacy-focused, local-first workspace application for iOS. Built w - Swift Package Manager (built-in) - If Dependencies/Middleware/Lib.xcframework is missing binaries, try `make generate` -### Build & Test -```bash -# Normal build -xcodebuild -scheme Anytype -configuration Debug -destination 'platform=iOS Simulator,name=iPhone 15' build - -# Compilation check -xcodebuild -scheme Anytype -configuration Debug -destination 'platform=iOS Simulator,name=iPhone 15' build-for-testing -``` +### Compilation Verification +After making code changes, report them to the user who will verify compilation in Xcode (faster with caches). ### Essential Commands ```bash @@ -410,4 +404,4 @@ git commit -m "IOS-4852 Add limit check for pinned spaces" **Incomplete Mock Updates (2025-01-16):** Refactored `spaceViewStorage` → `spaceViewsStorage` and `participantSpaceStorage` → `participantSpacesStorage` in production code, but forgot to update `MockView.swift` causing test failures. When renaming dependencies: 1. Search for old names across entire codebase: `rg "oldName" --type swift` 2. Update all references in tests, mocks, and DI registrations -3. Run unit tests to verify: `xcodebuild -scheme Anytype -destination 'platform=iOS Simulator,name=iPhone 15' build-for-testing` \ No newline at end of file +3. Report changes to user for compilation verification \ No newline at end of file From 345df0fa513581396d25800e6585e0f43c418baf Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 24 Oct 2025 10:20:43 +0100 Subject: [PATCH 023/228] IOS-5382 Add design review command --- .claude/commands/designReview.md | 616 ++++++++++++++++++ .../Common/DESIGN_SYSTEM_MAPPING.md | 467 +++++++++++++ .../Common/TYPOGRAPHY_MAPPING.md | 233 +++++++ CLAUDE.md | 1 + 4 files changed, 1317 insertions(+) create mode 100644 .claude/commands/designReview.md create mode 100644 Anytype/Sources/PresentationLayer/Common/TYPOGRAPHY_MAPPING.md diff --git a/.claude/commands/designReview.md b/.claude/commands/designReview.md new file mode 100644 index 0000000000..a590140651 --- /dev/null +++ b/.claude/commands/designReview.md @@ -0,0 +1,616 @@ +USE EXTENDED THINKING + +# Design Review Command + +## Purpose +This command performs a two-way validation between SwiftUI implementation and Figma designs: +1. **Implementation → Design**: Verify code matches design specs (colors, fonts, spacing, components) +2. **Design → Implementation**: Validate design provides complete specifications for implementation + +This helps developers ensure accuracy AND helps designers improve their handoff quality. + +## Required Inputs +When running `/designReview`, provide: +1. **Linear issue ID or URL** - To fetch design context and Figma references +2. **SwiftUI view file paths** - Files to review (e.g., `Anytype/Sources/PresentationLayer/.../*.swift`) +3. **[Optional] Screenshot paths** - Rendered design screenshots for visual comparison + +Example usage: +``` +/designReview +Linear: IOS-5123 +Files: Anytype/Sources/PresentationLayer/Spaces/SpaceHub/*.swift +Screenshots: /Users/.../Desktop/space_hub_design.png +``` + +## What Gets Validated + +### Implementation Checks (Code → Design) +Verify the following elements match the Figma design: + +#### Colors +- Text colors match design tokens +- Background colors match design tokens +- Border colors match design tokens +- Gradient definitions (if any) +- Color usage in all states (normal, hover, pressed, disabled) + +#### Typography +- Font family (SF Pro, custom fonts) +- Font size (in points) +- Font weight (ultraLight, thin, light, regular, medium, semibold, bold, heavy, black) +- Line height / line spacing +- Letter spacing (if specified) +- Text alignment + +#### Spacing +- Margins (leading, trailing, top, bottom) +- Padding (internal spacing within components) +- Gaps between elements (VStack/HStack spacing) +- Component sizes (height, width) +- Values should be in points (pt) + +#### Components & Styles +- Button styles: primary, secondary, tertiary, warning, etc. +- Input field styles +- Card styles +- List item styles +- Component variants match design system + +#### Icons & Images +- SF Symbol names match Figma asset names +- Icon sizes match design specs +- Icon colors match design tokens +- Custom image assets named correctly + +#### Layout & Hierarchy +- Component arrangement matches design +- Z-index / layer ordering +- Alignment (leading, center, trailing) +- Fixed vs flexible sizing + +#### States & Interactions +- Hover states (if applicable) +- Pressed/active states +- Disabled states +- Loading states +- Error states +- Empty states +- Animations/transitions (if specified) + +### Design Completeness Checks (Design → Code) +Identify missing or unclear specifications in the design: + +#### Missing Color Specifications +- Colors not defined in design tokens +- Inconsistent color usage +- Colors shown visually but no token name provided + +#### Missing Typography Specifications +- Font weight not specified (just says "medium" without numeric value) +- Line height not provided +- Unclear font hierarchy + +#### Missing Spacing Specifications +- Spacing shown visually but no numeric values +- Inconsistent spacing patterns +- No specification for responsive behavior + +#### Missing Component Specifications +- Button states not designed (hover, pressed, disabled) +- Input field states incomplete +- No error state designs +- No empty state designs +- No loading state designs + +#### Missing Icon/Asset Information +- SF Symbol names not provided (just icon screenshots) +- Icon sizes unclear +- Custom asset naming not specified + +#### Missing Interaction Specifications +- Animation timing/easing not specified +- Transition behavior unclear +- No specification for edge cases + +## Review Workflow + +### Step 0: Load Design System Documentation +**FIRST STEP: Load project design documentation before starting the review** + +1. Reference the **Quick Reference** section in `CLAUDE.md` which lists all design system documentation paths +2. Read all design documentation files listed there (Typography Mapping, Design System Mapping, etc.) +3. Use this documentation throughout the review as the source of truth for: + - Figma text style names → Swift typography constants + - Figma color names → Swift color tokens + - Icon naming conventions + - Spacing calculation formulas + - Component style guidelines + +**Why this matters:** The project maintains comprehensive mappings between Figma design system and Swift code. Using these documented mappings ensures accurate validation and provides educational references in the report. + +**Future-proof:** When new documentation is added to CLAUDE.md Quick Reference, this command automatically uses it without needing updates. + +### Step 1: Fetch Linear Context +- Use `mcp__linear__get_issue` to fetch issue details +- Extract Figma URLs from issue description or attachments +- Capture acceptance criteria and design requirements +- Note any design-specific comments + +### Step 2: Read Implementation Files +- Use `Read` tool to load SwiftUI files +- Parse and extract: + - Color usage (`.anytypeColor`, design system colors) + - Font usage (`.uxTitle`, `.uxBody`, custom fonts) + - Spacing values (padding, spacing, frame sizes) + - Component styles (ButtonStyle, ViewModifier) + - SF Symbol names + - Layout structure (VStack, HStack, ZStack) +- Identify design system pattern usage +- **Cross-reference with design documentation** loaded in Step 0 to understand what each constant means + +### Step 3: Fetch Figma Design Context +- Use `mcp__figma__get_design_context` to fetch design structure +- Use `mcp__figma__get_screenshot` to get visual reference +- Use `mcp__figma__get_code` (if available) for design specs +- Extract: + - Color tokens and values + - Typography specs + - Spacing measurements + - Component definitions + - Asset names + +### Step 4: Side-by-Side Comparison +Compare implementation against design systematically: +- Match each SwiftUI element to corresponding Figma element +- **Use design documentation from Step 0** to validate mappings (e.g., "Content/Body/Semibold" in Figma should map to `.bodySemibold` in Swift) +- Flag mismatches (wrong color, incorrect font, spacing off) +- Flag assumptions made in code (where design was unclear) +- Flag missing specifications in design +- Calculate match score based on critical elements +- **Reference specific documentation** when identifying issues (e.g., "per TYPOGRAPHY_MAPPING.md") + +### Step 5: Generate Structured Report & Save to File +**CRITICAL: Save the complete report to a file FIRST before presenting to user** + +Create comprehensive markdown report with: +- Executive summary with match score +- Implementation issues (for developers to fix) +- Design gaps (for designers to address) +- Action items for both teams +- Specific file paths and line numbers + +**Save to:** `design_review_[feature_name].md` + +### Step 6: Present Report in Stages (Interactive Workflow) +**DO NOT dump the entire report at once.** Present sections incrementally: + +**Stage 1: Overview** +- Show Summary + Quick Assessment +- Let user understand the scope +- Ask: "Ready to review implementation mismatches?" + +**Stage 2: Critical Implementation Fixes** +- Show only HIGH priority mismatches from "Action Items for Developers" +- User fixes these issues +- Verify fixes before moving on +- Ask: "Critical issues fixed? Ready for medium/low priority items?" + +**Stage 3: Other Implementation Fixes** +- Show MEDIUM and LOW priority mismatches +- User fixes these issues +- Verify fixes before moving on +- Ask: "Implementation fixes complete? Ready to review design gaps?" + +**Stage 4: Design Gaps Documentation** +- Show "Design Gaps" and "Action Items for Designers" +- Discuss what feedback to give designers +- Ask: "Design feedback documented? Ready for workflow improvements?" + +**Stage 5: Workflow Improvements** +- Show "Workflow & Process Improvements" section +- Discuss how to improve the design review process +- Capture suggestions for command improvements + +**Between each stage:** Pause and wait for user confirmation before proceeding. + +### Step 7: Workflow Improvement Reflection +After completing the staged review, reflect on: +- What made this review difficult? +- What information was hard to find? +- What's missing from the design handoff? +- What tools/process could improve efficiency? +- How can we make this command better? + +## Output Report Format + +**NOTE:** This comprehensive format is for the file that gets saved (`design_review_[feature_name].md`). +DO NOT present this entire report to the user at once. Use the Staged Workflow (Step 6) to present sections incrementally. + +Generate a markdown report with the following structure: + +```markdown +# Design Review: [Feature Name] ([LINEAR_ID]) + +## Summary +- **Match Score**: [X/10] ([Explanation of scoring]) +- **Critical Issues**: [Count] issues blocking accurate implementation +- **Design Gaps**: [Count] missing specifications +- **Reviewed Files**: [Number] files + - [File path 1] + - [File path 2] +- **Figma References**: + - [Figma URL 1] + - [Figma URL 2] +- **Review Date**: [Date] + +## Quick Assessment +**Overall**: [Brief 1-2 sentence assessment] +**Priority Actions**: +1. [Most critical issue to address] +2. [Second most critical] + +--- + +## Implementation vs Design Analysis + +### ✅ Correct Implementations +Elements that correctly match the design: +- **[Element name]**: Correctly implements [spec detail] + - Location: `[file path]:[line number]` + - Value: [actual implementation] + +### ❌ Implementation Mismatches +Elements that don't match the design: +- **[Element name]**: Mismatch found + - **Found**: [actual value in code] + - **Expected**: [value from design] + - **Location**: `[file path]:[line number]` + - **Reference**: According to [TYPOGRAPHY_MAPPING.md or DESIGN_SYSTEM_MAPPING.md], "[Figma style]" maps to `[correct Swift constant]` + - **Impact**: [user-visible impact] + - **Fix**: [specific correction needed] + +### ⚠️ Design Gaps (Unclear/Missing Specifications) +Elements where design doesn't provide enough information: +- **[Element name]**: Missing specification + - **What's missing**: [specific detail needed] + - **Current implementation**: [what we did as best guess] + - **Question for designer**: [what we need clarified] + - **Location**: `[file path]:[line number]` + +--- + +## Detailed Element Analysis + +### Colors +#### Implementation +- Primary text: `[token name]` ([hex value]) +- Background: `[token name]` ([hex value]) +- Accent: `[token name]` ([hex value]) +- [Other colors...] + +#### Design +- Primary text: `[design token]` ([hex value]) +- Background: `[design token]` ([hex value]) +- Accent: `[design token]` ([hex value]) +- [Other colors...] + +#### Issues +- [ ] [Color issue 1] +- [ ] [Color issue 2] + +### Typography +#### Implementation +- Title: `[style name]` (SF Pro [weight] [size]pt) +- Body: `[style name]` (SF Pro [weight] [size]pt) +- Caption: `[style name]` (SF Pro [weight] [size]pt) +- [Other typography...] + +#### Design +- Title: [Figma spec] +- Body: [Figma spec] +- Caption: [Figma spec] +- [Other typography...] + +#### Issues +- [ ] [Typography issue 1] +- [ ] [Typography issue 2] + +### Spacing +#### Implementation +- Top margin: [value]pt +- Side padding: [value]pt +- Element gaps: [value]pt +- [Other spacing...] + +#### Design +- Top margin: [value]pt +- Side padding: [value]pt +- Element gaps: [value]pt +- [Other spacing...] + +#### Issues +- [ ] [Spacing issue 1] +- [ ] [Spacing issue 2] + +### Components +#### Buttons +- **Implementation**: [button styles used] +- **Design**: [button styles specified] +- **Issues**: [list any mismatches] + +#### Icons & Images +- **Implementation**: [SF Symbols/assets used] +- **Design**: [icons specified in Figma] +- **Issues**: [naming mismatches, size issues, etc.] + +#### Other Components +- [Component type]: [findings] + +### States & Edge Cases +#### Implemented States +- Normal: ✅/❌ +- Hover: ✅/❌ +- Pressed: ✅/❌ +- Disabled: ✅/❌ +- Loading: ✅/❌ +- Error: ✅/❌ +- Empty: ✅/❌ + +#### Design Provided States +- Normal: ✅/❌ +- Hover: ✅/❌ +- Pressed: ✅/❌ +- Disabled: ✅/❌ +- Loading: ✅/❌ +- Error: ✅/❌ +- Empty: ✅/❌ + +#### Issues +- [ ] [State/edge case issue 1] +- [ ] [State/edge case issue 2] + +--- + +## Action Items + +### For Developers (Implementation Fixes) +Priority order: +1. **[High Priority]** [Specific fix needed] + - File: `[path]:[line]` + - Change: [old value] → [new value] + - Reason: [why this matters] + +2. **[Medium Priority]** [Specific fix needed] + - File: `[path]:[line]` + - Change: [description] + +3. **[Low Priority]** [Specific fix needed] + - File: `[path]:[line]` + - Change: [description] + +### For Designers (Specification Improvements) +Priority order: +1. **[High Priority]** [Specific spec needed] + - Element: [which element] + - Missing: [what information] + - Impact: [why this blocks accurate implementation] + +2. **[Medium Priority]** [Specific spec needed] + - Element: [which element] + - Missing: [what information] + +3. **[Low Priority]** [Nice to have improvement] + - Element: [which element] + - Suggestion: [how to improve clarity] + +--- + +## Workflow & Process Improvements + +### What Made This Review Difficult? +- [Challenge 1] +- [Challenge 2] + +### What Information Was Hard to Find? +- [Issue 1] +- [Issue 2] + +### Design Handoff Recommendations +- [Recommendation 1: e.g., "Include design token names in Figma layers"] +- [Recommendation 2: e.g., "Provide SF Symbol names in icon documentation"] +- [Recommendation 3: e.g., "Design all button states in a single frame"] + +### Command Improvement Suggestions +How can we make `/designReview` better? +- [Suggestion 1] +- [Suggestion 2] +- [Suggestion 3] + +--- + +## Appendix + +### Files Reviewed +``` +[Full path 1] +[Full path 2] +[Full path 3] +``` + +### Figma References +- [Figma link 1 with description] +- [Figma link 2 with description] + +### Linear References +- Issue: [LINEAR_ID] - [URL] +- Related issues: [if any] + +--- + +*This command is iterative. Please share feedback to improve the review process.* +``` + +## Implementation Guidelines + +### Staged Workflow (Critical) +**MOST IMPORTANT**: +1. Generate the complete report FIRST +2. Save it to `design_review_[feature_name].md` +3. Present only Stage 1 (Summary) to the user +4. Wait for confirmation before showing Stage 2 +5. Continue stage-by-stage, waiting for user to fix issues between stages +6. NEVER dump the entire report at once + +### Tone & Approach +- **Constructive, not critical**: Frame as collaborative improvement +- **Specific, not vague**: Always include file paths, line numbers, exact values +- **Actionable**: Every issue should have a clear fix or question +- **Balanced**: Acknowledge both good matches and mismatches +- **Blame-free**: Don't blame developer or designer - focus on process improvement + +### Technical Notes +- Use ONLY read-only tools during review (Read, Grep, Glob, Figma MCP, Linear MCP) +- No file modifications during the review process +- **Always load design documentation from CLAUDE.md Quick Reference first** (Step 0) +- Use typography/color mappings as source of truth for Figma → Swift validation +- When identifying mismatches, cite specific documentation (e.g., "According to TYPOGRAPHY_MAPPING.md, 'UX/Body/Regular' maps to `.uxBodyRegular`") +- Parse SwiftUI files carefully (look for design system usage patterns) +- Include context from Linear acceptance criteria + +### Scoring Guidance +Match score (X/10) based on: +- **10**: Perfect match, all elements correct, design fully specified +- **8-9**: Minor issues, mostly correct with small adjustments needed +- **6-7**: Several mismatches or significant design gaps +- **4-5**: Major mismatches or many missing specs +- **1-3**: Significant rework needed, design unclear or implementation way off +- **0**: Implementation doesn't resemble design at all + +### Prioritization +Focus on essential visual elements first: +1. **Critical**: Colors, fonts, spacing (users notice immediately) +2. **Important**: Components, icons, states (affects functionality) +3. **Nice-to-have**: Subtle animations, micro-interactions (polish) + +Start lean, expand over time based on what's most valuable. + +## Staged Presentation Guide + +When presenting the review in stages, keep each section concise and actionable: + +### Stage 1: Overview (Present First) +```markdown +# Design Review: [Feature Name] ([LINEAR_ID]) +Saved to: design_review_[feature_name].md + +## Summary +- Match Score: [X/10] +- Critical Issues: [Count] +- Design Gaps: [Count] + +## Quick Assessment +[1-2 sentence overview] + +Priority Actions: +1. [Most critical] +2. [Second most critical] + +--- +Ready to review critical implementation issues? +``` + +### Stage 2: Critical Fixes (Present After User Confirms) +```markdown +## Critical Implementation Issues (High Priority) + +Fix these first: + +1. [Issue name] + - File: [path:line] + - Found: [actual] + - Expected: [design spec] (per [doc name]) + - Fix: [specific action] + +2. [Issue name] + - File: [path:line] + - Found: [actual] + - Expected: [design spec] (per [doc name]) + - Fix: [specific action] + +--- +Once fixed, let me know and we'll move to medium/low priority items. +``` + +### Stage 3: Other Fixes (Present After Critical Fixed) +```markdown +## Other Implementation Issues (Medium/Low Priority) + +When you're ready, address these: + +[List medium and low priority items in same format] + +--- +Implementation fixes complete? Ready to document design gaps? +``` + +### Stage 4: Design Gaps (Present After Implementation Fixed) +```markdown +## Design Gaps to Report + +Questions for designers: + +1. [Element]: [What's missing] + - Current implementation: [what we did] + - Need: [specific spec needed] + +2. [Element]: [What's missing] + - Current implementation: [what we did] + - Need: [specific spec needed] + +Summary for designer feedback: +[Bullet list of all missing specs] + +--- +Design feedback ready? Let's discuss workflow improvements. +``` + +### Stage 5: Workflow (Present Last) +```markdown +## Workflow Improvements + +What made this review difficult: +- [Challenge 1] +- [Challenge 2] + +Design handoff recommendations: +- [Recommendation 1] +- [Recommendation 2] + +Command improvements: +- [Suggestion 1] +- [Suggestion 2] + +--- +Review complete! Full report saved in design_review_[feature_name].md +``` + +### Key Principles for Staged Presentation +- **Concise**: Show only what's needed for current stage +- **Actionable**: Each stage has clear next steps +- **Interactive**: Always end with a question/prompt +- **Progressive**: Don't move forward until current stage is complete +- **Reference**: Always mention the full report file for details + +## Iterative Improvement + +This command will evolve based on usage. After each review: +1. Note what was difficult or time-consuming +2. Identify repetitive checks that could be automated +3. Suggest additional validation criteria if needed +4. Propose better report formatting if current format isn't helpful +5. Share any discoveries about effective design review practices + +--- + +**Remember**: The goal is to make both implementation AND design better. This is a two-way conversation, not a one-way audit. diff --git a/Anytype/Sources/PresentationLayer/Common/DESIGN_SYSTEM_MAPPING.md b/Anytype/Sources/PresentationLayer/Common/DESIGN_SYSTEM_MAPPING.md index 705973dc0e..ea77472417 100644 --- a/Anytype/Sources/PresentationLayer/Common/DESIGN_SYSTEM_MAPPING.md +++ b/Anytype/Sources/PresentationLayer/Common/DESIGN_SYSTEM_MAPPING.md @@ -208,6 +208,473 @@ Image(asset: .X32.plus) - `20pt` - Large spacing - `24pt` - Extra large spacing +### How to Extract Spacing from Figma + +Spacing is the **gap between elements**, not the distance between their starting positions. This is a critical distinction that's easy to get wrong. + +#### The Correct Method + +**Formula:** +``` +Spacing = NextElement.Y - (CurrentElement.Y + CurrentElement.Height) +``` + +**Step-by-Step Process:** + +1. **Select the first element** in Figma + - Note the **Y position** (top edge) + - Note the **Height** + - Calculate **bottom edge**: Y + Height + +2. **Select the second element** in Figma + - Note the **Y position** (top edge) + +3. **Calculate the spacing**: + - Spacing = Second.Y - First.BottomEdge + +#### ❌ Common Mistake: Top-to-Top Calculation + +**WRONG APPROACH:** +``` +Spacing = SecondElement.Y - FirstElement.Y // This is WRONG! +``` + +**Why this is wrong:** This calculates the distance between the *starting positions* of both elements, not the actual gap between them. You're including the height of the first element in your spacing value, which doubles the spacing. + +**Example of the mistake:** +- Title Y: 326px, Height: 24px +- Feature Y: 374px +- Wrong calculation: 374 - 326 = 48px ❌ +- This includes the title's 24px height in the "spacing"! + +#### ✅ Correct Example: Chat Empty State Spacing + +Let's extract the spacing between the title and first feature in the Chat Empty State: + +**Title Element:** "You just created a chat" +- Y position: 326px +- Height: 24px (visible in Figma inspector or annotation) +- **Bottom edge: 326 + 24 = 350px** + +**First Feature:** "Yours forever" +- Y position: 374px + +**Correct Spacing Calculation:** +``` +Spacing = 374 - 350 = 24px ✅ +``` + +This 24px is the actual gap between the bottom of the title and the top of the feature text. + +**In SwiftUI:** +```swift +Text(title) + .anytypeStyle(.bodySemibold) +Spacer.fixedHeight(24) // ✅ Correct spacing +Text(featureText) + .anytypeStyle(.previewTitle2Regular) +``` + +#### Reading Figma Spacing Annotations + +When designers add spacing annotations in Figma (e.g., the orange "24" badge in the screenshot), these show the actual gap between elements. Always trust these annotations over manual calculations. + +**If annotations are present:** +- Look for orange/red badges showing spacing values +- These are already calculated correctly +- Use the annotated value directly + +**If annotations are missing:** +- Use the formula: `NextElement.Y - (CurrentElement.Y + CurrentElement.Height)` +- Double-check your math +- Consider asking the designer to add spacing annotations + +#### Common Pitfalls to Avoid + +1. **Forgetting element height** + - Always account for the first element's height + - Height information is in Figma's inspector panel (right side) + +2. **Confusing line-height with element height** + - Text elements have both font size and line height + - Use the actual bounding box height, not just font size + +3. **Ignoring padding** + - Some elements have internal padding + - The Y position is the outer edge, but visible content may be inset + +4. **Mixing units** + - Figma shows pixels (px) + - SwiftUI uses points (pt) + - On @1x screens: 1px = 1pt (but verify for your target device) + +5. **Not verifying with annotations** + - If your calculation differs significantly from a designer's annotation, you're probably wrong + - Ask for clarification rather than assuming + +#### Quick Reference Checklist + +When extracting spacing from Figma: + +- [ ] Note the **Y position** of the first element +- [ ] Note the **Height** of the first element +- [ ] Calculate **bottom edge**: Y + Height +- [ ] Note the **Y position** of the second element +- [ ] Calculate spacing: Second.Y - First.BottomEdge +- [ ] Verify against any spacing annotations in Figma +- [ ] Convert units if necessary (px → pt) + +#### Visual Debugging + +If spacing looks wrong after implementation: + +1. **Check if text is clipping** - Your spacing may be too small +2. **Check if gap is too large** - You may have calculated top-to-top +3. **Compare side-by-side** - Take a Figma screenshot and compare with simulator +4. **Measure in simulator** - Use Xcode's View Hierarchy Debugger to measure actual spacing + +### Dimension Standards + +All dimensions in Figma designs should be **whole numbers (integers)**, not decimals. + +#### ✅ Correct Dimensions +- Y: 326px, Height: 24px +- Y: 374px, Width: 179px +- Spacing: 12px, 24px + +#### ❌ Incorrect Dimensions (Report to Design) +- Y: 484.5px ← Decimal position +- Width: 123.7px ← Fractional width +- Spacing: 18.3px ← Non-integer spacing + +#### When You Encounter Decimal Dimensions + +**What to do:** +1. **Round to the nearest integer** + - 26.5px → 27px + - 18.3px → 18px + - 484.5px → 485px + +2. **Document in implementation** + ```swift + Spacer.fixedHeight(27) // Rounded from 26.5px in Figma + ``` + +3. **Report to design team** (see section below) + +**Why this matters:** +- iOS renders on pixel-aligned boundaries +- Decimal positions can cause blurry rendering +- Indicates design inconsistency or misalignment in Figma +- Makes implementation ambiguous (should 26.5 be 26 or 27?) + +**Common causes of decimal dimensions:** +- Elements not snapped to pixel grid in Figma +- Manual positioning without grid constraints +- Rotated or transformed elements +- Copy-paste from other designs without alignment + +### Report to Design Team + +When you encounter issues during implementation, report them to the design team for improvement. This creates a feedback loop that improves design quality over time. + +#### Issues That Should Be Reported + +##### 1. Decimal/Fractional Dimensions ⚠️ +**Issue:** Element positioned at Y: 484.5px or width: 123.7px + +**Why report:** Non-integer dimensions cause ambiguity in implementation and can result in blurry rendering on iOS. + +**Example:** +> "The button group (node 8858:18734) is positioned at Y: 484.5px. Could this be aligned to Y: 485px (or 484px) for cleaner implementation?" + +##### 2. Missing Spacing Annotations +**Issue:** No spacing annotations between elements + +**Why report:** Forces developers to manually calculate spacing, which is error-prone. + +**Example:** +> "The Chat Empty State (node 8918:18622) is missing spacing annotations between the title and features. Could you add spacing badges to clarify the intended gaps?" + +##### 3. Outdated Text Content +**Issue:** Figma shows "You just created a chat" but localization file has "Chat without the cloud" + +**Why report:** Indicates design and implementation are out of sync. + +**Example:** +> "The title text in Figma shows 'You just created a chat' but our localization key `Chat.Empty.Title` contains 'Chat without the cloud'. Which is the intended final text? Should Figma or localization be updated?" + +##### 4. Missing Typography Specifications +**Issue:** Text element doesn't have a named style (e.g., "Content/Body/Semibold") + +**Why report:** Developer must guess which font style to use. + +**Example:** +> "The feature description text (nodes 8858:18739-18741) doesn't show a typography style name in the inspector. Could you apply the 'Content/Preview Title 2/Regular' style to make this explicit?" + +##### 5. Missing Color Token Names +**Issue:** Colors shown visually but no design token specified + +**Why report:** Developer must guess which color constant to use. + +**Example:** +> "The icon color appears to be light gray but doesn't specify a color token. Should this use `Color.Control.transparentSecondary` or a different token?" + +##### 6. Incomplete State Designs +**Issue:** Only normal state designed, missing hover/pressed/disabled states + +**Why report:** Implementation may not handle all states correctly. + +**Example:** +> "The 'Add members' button only shows the normal state. Could you provide designs for pressed and disabled states, or confirm that the standard button states should be used?" + +##### 7. Elements Not Following Design System +**Issue:** Custom values instead of design system tokens + +**Why report:** Maintains design system consistency. + +**Example:** +> "The button uses a 14pt radius instead of the standard 14pt or 16pt from our corner radius system. Is this intentional or should it use a standard value?" + +#### How to Report Design Issues + +**Format:** +``` +Design Feedback: [Feature Name] + +Issue: [Brief description] +Location: [Figma file/frame/node ID] +Current State: [What's in Figma now] +Impact: [How this affects implementation] +Suggestion: [Proposed fix] + +Screenshots: [If applicable] +``` + +**Example Report:** +``` +Design Feedback: Chat Empty State + +Issue: Decimal dimensions causing implementation ambiguity +Location: Figma node 8858:18734 (Button group) +Current State: Positioned at Y: 484.5px, spacing 26.5px +Impact: Must round to nearest integers, causing potential misalignment +Suggestion: Align to Y: 485px and spacing to 27px for pixel-perfect implementation +``` + +#### When NOT to Report + +Don't report issues that are: +- **Subjective preferences** - "I think the button should be blue" +- **Implementation challenges** - "This is hard to code" (that's our job!) +- **Already discussed** - Check with team first to avoid duplicate reports +- **Within tolerances** - 0.5px differences that are unavoidable due to math + +#### Best Practices for Design Feedback + +1. **Be specific** - Include exact node IDs, dimensions, and locations +2. **Be constructive** - Suggest fixes, don't just complain +3. **Be collaborative** - Frame as questions, not demands +4. **Batch similar issues** - One report with multiple related items vs. many small reports +5. **Include context** - Explain *why* it matters for implementation +6. **Respect design decisions** - If designer confirms it's intentional, accept it + +### Common Verification Mistakes to Avoid + +When reviewing designs against implementation, avoid these lazy verification patterns that lead to incorrect assessments. + +#### 1. ❌ Assuming Data is Missing Instead of Checking + +**The Mistake:** + +Claiming that specifications are "missing" or "not provided" without actually verifying the Figma data first. + +**Real Examples from Design Reviews:** + +**Example 1: Button Spacing** +- ❌ **WRONG**: "Button spacing seems reasonable. Without explicit Figma annotations, this is acceptable." +- ✅ **CORRECT**: + - Check Figma data: Button 1 at X: 80, Width: 111 → Right edge: 191 + - Button 2 at X: 199 → Left edge: 199 + - Calculate: 199 - 191 = **8px** ✅ + - Verify implementation uses `spacing: 8` ✅ + +**Example 2: Icon Color** +- ❌ **WRONG**: "Icon color seems appropriate. Without explicit color tokens in design, this is acceptable choice." +- ✅ **CORRECT**: + - Check Figma inspector panel + - See "Control/Transparent Secondary" explicitly specified + - Verify implementation: `Color.Control.transparentSecondary` ✅ + +**Why This is a Problem:** + +- You're making assumptions instead of doing verification +- "Acceptable given missing specs" is often an excuse for laziness +- The data usually EXISTS in Figma - you just didn't look for it +- This leads to incorrect "verified" claims + +**Correct Verification Process:** + +1. **Check Figma inspector panel first** + - Look at the right sidebar when element is selected + - Colors, typography, dimensions are all listed there + +2. **Check Figma data structure** + - Review the design context data you fetched + - Look for X/Y positions, widths, heights + - Check for color variable names + +3. **Calculate from positions if needed** + - Horizontal spacing: `NextElement.X - (CurrentElement.X + CurrentElement.Width)` + - Vertical spacing: `NextElement.Y - (CurrentElement.Y + CurrentElement.Height)` + +4. **Only say "missing" if truly absent** + - After checking inspector + - After checking design context data + - After asking designer if still unclear + +5. **NEVER use "acceptable given missing specs"** + - This is a red flag for lazy verification + - Either verify it's correct OR mark it as needing investigation + - Don't mark unverified items as "acceptable" + +#### 2. ❌ Not Applying Your Own Spacing Formula + +**The Mistake:** + +You know the correct spacing formula but don't consistently apply it to verify every spacing value. + +**Real Example:** + +In the same review where I documented the spacing formula, I later: +- Correctly calculated title → feature spacing (24px) ✅ +- But then said button spacing was "reasonable without annotations" ❌ +- Instead of applying the same X-axis formula to verify it + +**Why This is a Problem:** + +- Inconsistent methodology +- Some spacing values get verified, others get hand-waved +- Undermines the value of the formula you just documented + +**Correct Process:** + +For EVERY spacing value in the design review: + +1. **Identify the two elements** +2. **Get positions and dimensions** from Figma data +3. **Apply the formula**: + - Vertical: `NextElement.Y - (CurrentElement.Y + CurrentElement.Height)` + - Horizontal: `NextElement.X - (CurrentElement.X + CurrentElement.Width)` +4. **Compare to implementation** +5. **Mark as ✅ correct or ❌ mismatch** + +Never skip the calculation just because it "looks about right." + +#### 3. ❌ Confusing Dimensions vs Spacing + +**The Mistake:** + +Misinterpreting what Figma annotations are measuring - width/height vs spacing. + +**Real Example:** + +Figma screenshot shows: +- Orange badge "26" - This is WIDTH (X dimension) +- Orange badge "24" - This is HEIGHT (Y dimension) + +Initial confusion: +- ❌ "I calculate 24px but screenshot shows 26" +- Reality: 26 is width, 24 is height - different measurements! +- ✅ Spacing is 24px, title height is 24px, title width is 179px (the "26" was misleading) + +**Why This Happens:** + +- Multiple orange/red badges in Figma can be confusing +- Some show dimensions (width/height) +- Some show spacing (gaps) +- Some show positions (X/Y coordinates) + +**How to Avoid:** + +1. **Look at annotation placement** + - Horizontal badge on element = width + - Vertical badge on element = height + - Badge between elements = spacing + +2. **Check annotation lines** + - Solid line to element edges = dimension + - Dashed line between elements = spacing + +3. **Verify with calculation** + - If annotation doesn't match your calculation, figure out what it's measuring + - Don't assume it's spacing without checking + +4. **When in doubt, ask designer** + - "The '26' annotation - is this width or spacing?" + +#### 4. ❌ Marking Items as "Low Priority" to Avoid Verification + +**The Mistake:** + +Labeling something "low priority" or "acceptable" to skip proper verification. + +**Why This is Wrong:** + +- Priority should be based on USER IMPACT, not verification difficulty +- Icon color being wrong is NOT low priority - users see it immediately +- Button spacing being wrong is NOT low priority - affects the entire layout + +**Correct Prioritization:** + +- **High Priority**: User-facing elements (text, colors, spacing users notice) +- **Medium Priority**: Edge cases, states, less visible elements +- **Low Priority**: Internal implementation details with no visual impact + +Don't use priority as an excuse to skip verification work. + +#### 5. ❌ Not Using Available Figma Data + +**The Mistake:** + +Saying "can't verify" when the data is right there in the Figma response. + +**What You Have Access To:** + +From `get_design_context` and `get_screenshot`: +- Element positions (X, Y) +- Element dimensions (Width, Height) +- Color variables (in inspector) +- Typography styles (in inspector) +- Element hierarchy +- Layer names +- Node IDs + +**If You Don't Have It:** + +- Call `get_design_context` with specific node ID +- Check the screenshot for inspector panel +- Look at the exported code for color/font details + +**Only say "missing" if:** +- You've checked all available Figma data +- You've looked at inspector panels +- You've checked annotations in screenshots +- It's genuinely not specified anywhere + +#### Quick Self-Check Before Claiming "Missing" or "Acceptable" + +Ask yourself: + +- [ ] Did I check the Figma inspector panel? +- [ ] Did I check the design context data? +- [ ] Did I look at annotations in screenshots? +- [ ] Did I calculate using the position/dimension data? +- [ ] Did I apply the spacing formula? +- [ ] Am I being lazy and assuming instead of verifying? + +If you answered "no" to any of these, **go back and verify properly** instead of marking it "acceptable." + ### Corner Radius Standards - `10pt` - Standard corner radius (search bars, cards) - `20pt` - Large corner radius (buttons, major UI elements) diff --git a/Anytype/Sources/PresentationLayer/Common/TYPOGRAPHY_MAPPING.md b/Anytype/Sources/PresentationLayer/Common/TYPOGRAPHY_MAPPING.md new file mode 100644 index 0000000000..f9b9505722 --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Common/TYPOGRAPHY_MAPPING.md @@ -0,0 +1,233 @@ +# Figma to Swift Typography Mapping + +This document maps Figma text style names to Swift `AnytypeFont` enum cases. + +## Mapping Rules + +### Content Styles (ALWAYS remove "Content/" prefix) +- "Content/Body/Semibold" → `.bodySemibold` +- "Content/Preview Title 2/Regular" → `.previewTitle2Regular` +- "Content/Relation 3/Regular" → `.relation3Regular` + +### UX Styles - Title, Body, Callout (KEEP "ux" prefix as lowercase) +- "UX/Title 1/Semibold" → `.uxTitle1Semibold` +- "UX/Title 2/Medium" → `.uxTitle2Medium` +- "UX/Body/Regular" → `.uxBodyRegular` +- "UX/Callout/Medium" → `.uxCalloutMedium` + +### UX Styles - Captions (DROP "ux" prefix - EXCEPTION!) +- "UX/Caption 1/Medium" → `.caption1Medium` (no "ux") +- "UX/Caption 2/Regular" → `.caption2Regular` (no "ux") + +## Complete Mapping Table + +| Figma Style Name | Swift Constant | Size | Weight | Line Height | Letter Spacing | +|------------------|----------------|------|--------|-------------|----------------| +| **Content Styles** | +| Content/Title | `.title` | 28pt | Bold | 34pt | -0.36px | +| Content/Heading | `.heading` | 22pt | Semibold | 28pt | -0.26px | +| Content/Subheading | `.subheading` | 20pt | Semibold | 26pt | -0.45px | +| Content/Preview Title 1/Medium | `.previewTitle1Medium` | 17pt | Medium | 22pt | -0.41px | +| Content/Preview Title 1/Regular | `.previewTitle1Regular` | 17pt | Regular | 22pt | -0.41px | +| **Content/Preview Title 2/Regular** | **`.previewTitle2Regular`** | **15pt** | **Regular (400)** | **20pt** | **-0.24px** | +| **Content/Preview Title 2/Medium** | **`.previewTitle2Medium`** | **15pt** | **Medium (500)** | **20pt** | **-0.24px** | +| Content/Body/Regular | `.bodyRegular` | 17pt | Regular | 24pt | -0.41px | +| **Content/Body/Semibold** | **`.bodySemibold`** | **17pt** | **Semibold (600)** | **24pt** | **-0.41px** | +| Content/Callout/Regular | `.calloutRegular` | 16pt | Regular | 21pt | -0.32px | +| Content/Relation 1/Regular | `.relation1Regular` | 13pt | Regular | 18pt | -0.08px | +| Content/Relation 2/Regular | `.relation2Regular` | 13pt | Regular | 16pt | 0px | +| Content/Relation 3/Regular | `.relation3Regular` | 12pt | Regular | 15pt | 0px | +| **UX Styles (with "ux" prefix)** | +| UX/Title 1/Semibold | `.uxTitle1Semibold` | 28pt | Semibold | 34pt | -0.36px | +| UX/Title 2/Semibold | `.uxTitle2Semibold` | 17pt | Semibold | 22pt | -0.43px | +| UX/Title 2/Regular | `.uxTitle2Regular` | 17pt | Regular | 22pt | -0.43px | +| UX/Title 2/Medium | `.uxTitle2Medium` | 17pt | Medium | 22pt | -0.43px | +| UX/Body/Regular | `.uxBodyRegular` | 17pt | Regular | 22pt | -0.43px | +| UX/Callout/Regular | `.uxCalloutRegular` | 16pt | Regular | 21pt | -0.32px | +| UX/Callout/Medium | `.uxCalloutMedium` | 16pt | Medium | 21pt | -0.32px | +| **UX Styles (Captions - NO "ux" prefix)** | +| **UX/Caption 1/Medium** | **`.caption1Medium`** | **13pt** | **Medium (500)** | **18pt** | **-0.08px** | +| UX/Caption 1/Regular | `.caption1Regular` | 13pt | Regular | 18pt | -0.08px | +| UX/Caption 1/Semibold | `.caption1Semibold` | 13pt | Semibold | 18pt | -0.08px | +| UX/Caption 2/Medium | `.caption2Medium` | 11pt | Medium | 13pt | 0.06px | +| UX/Caption 2/Regular | `.caption2Regular` | 11pt | Regular | 13pt | 0.06px | +| UX/Caption 2/Semibold | `.caption2Semibold` | 11pt | Semibold | 13pt | 0.06px | +| **Special Styles** | +| Chat/Text | `.chatText` | 17pt | Regular | 24pt | -0.41px | +| Chat/Preview/Medium | `.chatPreviewMedium` | 15pt | Medium | 20pt | -0.24px | +| Chat/Preview/Regular | `.chatPreviewRegular` | 15pt | Regular | 20pt | -0.24px | +| Content/Code Block | `.codeBlock` | 16pt | Regular | 21pt | -0.32px | + +## How to Use This Mapping + +### Step 1: Get Figma Typography Info +In Figma, select the text element and check the "Typography" panel on the right. Look for the "Name" field, which shows the style name (e.g., "Content/Body/Semibold"). + +### Step 2: Map to Swift Constant +Use the table above to find the corresponding Swift constant: +- "Content/Body/Semibold" → `.bodySemibold` +- "Content/Preview Title 2/Regular" → `.previewTitle2Regular` +- "UX/Caption 1/Medium" → `.caption1Medium` (note: drops "ux") + +### Step 3: Apply in SwiftUI +```swift +// Using Text with .anytypeStyle() +Text("Hello World") + .anytypeStyle(.bodySemibold) + +// Using AnytypeText +AnytypeText("Hello World", style: .previewTitle2Regular) +``` + +## Common Mistakes to Avoid + +### ❌ WRONG: Using relation styles for 15pt text +```swift +// Feature descriptions should be 15pt +Text("Yours forever") + .anytypeStyle(.relation3Regular) // 12pt - TOO SMALL! +``` + +### ✅ CORRECT: Using preview title styles for 15pt text +```swift +// Feature descriptions at 15pt +Text("Yours forever") + .anytypeStyle(.previewTitle2Regular) // 15pt - CORRECT! +``` + +### ❌ WRONG: Guessing style names +```swift +// Don't guess or make up style names +.anytypeStyle(.bodyMedium) // Doesn't exist! +.anytypeStyle(.preview2) // Incomplete name! +.anytypeStyle(.uxCaption1Medium) // Caption styles don't have "ux" prefix! +``` + +### ✅ CORRECT: Use exact enum case names +```swift +// Use complete, exact enum case names +.anytypeStyle(.previewTitle2Medium) // Correct! +.anytypeStyle(.bodySemibold) // Correct! +.anytypeStyle(.caption1Medium) // Correct! (no "ux" prefix) +``` + +### ❌ WRONG: Confusing UX prefix rules +```swift +// Caption styles don't use "ux" prefix +.anytypeStyle(.uxCaption1Medium) // Doesn't exist! + +// But Title/Body/Callout DO use "ux" prefix +.anytypeStyle(.title2Medium) // Wrong! Should be .uxTitle2Medium +``` + +### ✅ CORRECT: Understanding UX prefix rules +```swift +// Caption styles: NO "ux" prefix +.anytypeStyle(.caption1Medium) // Correct! + +// Title/Body/Callout: YES "ux" prefix +.anytypeStyle(.uxTitle2Medium) // Correct! +.anytypeStyle(.uxBodyRegular) // Correct! +.anytypeStyle(.uxCalloutMedium) // Correct! +``` + +## Quick Reference: Most Common Styles + +### Content Text +- **Title/Heading**: `.title` (28pt), `.heading` (22pt), `.subheading` (20pt) +- **Body Text**: `.bodyRegular` (17pt), `.bodySemibold` (17pt) +- **Preview/Object Titles**: + - 17pt: `.previewTitle1Regular`, `.previewTitle1Medium` + - 15pt: `.previewTitle2Regular`, `.previewTitle2Medium` ⭐ +- **Descriptions**: + - 13pt: `.relation1Regular`, `.relation2Regular` + - 12pt: `.relation3Regular` + +### UI Elements +- **Titles**: `.uxTitle1Semibold` (28pt), `.uxTitle2Medium` (17pt) +- **Body**: `.uxBodyRegular` (17pt) +- **Captions/Labels**: `.caption1Medium` (13pt), `.caption2Regular` (11pt) ⭐ + +### Chat-Specific +- **Messages**: `.chatText` (17pt) +- **Previews**: `.chatPreviewMedium` (15pt) + +⭐ = Commonly confused or misused + +## Size Quick Reference + +Need to find the right style by size? + +| Size | Available Styles | +|------|------------------| +| 28pt | `.title`, `.uxTitle1Semibold` | +| 22pt | `.heading`, `.uxTitle2Semibold/Regular/Medium` | +| 20pt | `.subheading` | +| 17pt | `.previewTitle1*`, `.bodyRegular/Semibold`, `.uxTitle2*`, `.uxBodyRegular`, `.chatText` | +| 16pt | `.calloutRegular`, `.uxCalloutRegular/Medium`, `.codeBlock` | +| **15pt** | **`.previewTitle2Regular/Medium`**, `.chatPreviewMedium/Regular` | +| 13pt | `.relation1Regular`, `.relation2Regular`, `.caption1Semibold/Regular/Medium` | +| 12pt | `.relation3Regular` | +| 11pt | `.caption2Semibold/Regular/Medium` | + +## Design Review Checklist + +When reviewing Figma designs against implementation: + +1. ✅ Check Typography panel for each text element in Figma +2. ✅ Verify the "Name" field shows a style (e.g., "Content/Body/Semibold") +3. ✅ Map Figma style name to Swift constant using this document +4. ✅ Verify size, weight, and line height match between Figma and Swift definition +5. ✅ Watch for caption styles - they drop the "ux" prefix +6. ✅ Update implementation if mismatch found + +## Real-World Example: Chat Empty State + +### Design Specifications (from Figma) +- **Title**: "You just created a chat" - `Content/Body/Semibold` (17pt, 600, 24pt) +- **Features**: "Yours forever", etc. - `Content/Preview Title 2/Regular` (15pt, 400, 20pt) +- **Buttons**: "Add members" - `UX/Caption 1/Medium` (13pt, 500, 18pt) + +### Correct Implementation +```swift +// Title +Text(Loc.Chat.Empty.title) + .anytypeStyle(.bodySemibold) // ✅ Correct: 17pt/600/24 + +// Feature descriptions +Text(Loc.Chat.Empty.Feature.yoursForever) + .anytypeStyle(.previewTitle2Regular) // ✅ Correct: 15pt/400/20 + +// Button text (handled by StandardButton component) +StandardButton(Loc.Chat.Empty.Button.addMembers, style: .primaryXSmall) +// .primaryXSmall uses .caption1Medium internally ✅ +``` + +### Common Mistakes in This Example +```swift +// ❌ WRONG: Using relation style for 15pt text +Text(Loc.Chat.Empty.Feature.yoursForever) + .anytypeStyle(.relation3Regular) // 12pt instead of 15pt! + +// ❌ WRONG: Adding "ux" to caption style +StandardButton("Add", style: .uxCaption1Medium) // Doesn't exist! +``` + +## Source Files + +- **Enum definition**: `Modules/DesignKit/Sources/DesignKit/Fonts/Config/AnytypeFont.swift` +- **Font configurations**: `Modules/DesignKit/Sources/DesignKit/Fonts/Config/AnytypeFontConfig.swift` +- **Figma source**: [Typography-Mobile](https://www.figma.com/file/vgXV7x2v20vJajc7clYJ7a/Typography-Mobile?node-id=0%3A12) + +## Contributing + +Found a missing mapping or incorrect information? Update this document and: +1. Verify against `AnytypeFont.swift` enum +2. Verify specs in `AnytypeFontConfig.swift` +3. Test with actual Figma designs +4. Update examples if needed + +--- + +*Last updated: 2025-10-23* +*This mapping is based on `AnytypeFont` enum and `AnytypeFontConfig` as of this date.* diff --git a/CLAUDE.md b/CLAUDE.md index b44d6613a6..804244eb87 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -158,6 +158,7 @@ When removing code that uses localization keys, **always check if the key is sti ### Quick Reference - **Search Patterns**: `/PresentationLayer/Common/SwiftUI/Search/SEARCH_PATTERNS.md` - **Design System Mapping**: `/PresentationLayer/Common/DESIGN_SYSTEM_MAPPING.md` +- **Typography Mapping**: `/PresentationLayer/Common/TYPOGRAPHY_MAPPING.md` - Maps Figma text styles to Swift constants - **Analytics Patterns**: `/PresentationLayer/Common/Analytics/ANALYTICS_PATTERNS.md` ### Icons From f5a23729e62ca773c2abcfa5066cf337add6d9b0 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 24 Oct 2025 10:23:49 +0100 Subject: [PATCH 024/228] IOS-5184 Fix design --- .../ConversationEmptyStateView.swift | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/ConversationEmptyStateView/ConversationEmptyStateView.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/ConversationEmptyStateView/ConversationEmptyStateView.swift index 24c78e5595..1f1ef67a37 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/ConversationEmptyStateView/ConversationEmptyStateView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/ConversationEmptyStateView/ConversationEmptyStateView.swift @@ -64,13 +64,13 @@ struct ConversationEmptyStateView: View { Text(title) .anytypeStyle(.bodySemibold) .foregroundStyle(Color.Text.primary) - Spacer.fixedHeight(20) + Spacer.fixedHeight(24) featureRow(icon: "infinity", text: Loc.Chat.Empty.Feature.yoursForever) Spacer.fixedHeight(12) featureRow(icon: "wifi.slash", text: Loc.Chat.Empty.Feature.availableOffline) Spacer.fixedHeight(12) featureRow(icon: "key.fill", text: Loc.Chat.Empty.Feature.privateEncrypted) - Spacer.fixedHeight(25) + Spacer.fixedHeight(27) HStack(alignment: .center, spacing: 8) { Spacer() if let addMembersAction { @@ -99,7 +99,7 @@ struct ConversationEmptyStateView: View { .frame(width: 24, height: 24) .foregroundStyle(Color.Control.transparentSecondary) Text(text) - .anytypeStyle(.relation3Regular) + .anytypeStyle(.previewTitle2Regular) Spacer() } .padding(.horizontal, 45) From 84eeb7c49f6964640ad07fef9bc5b96e0ead0d5d Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 24 Oct 2025 10:55:16 +0100 Subject: [PATCH 025/228] IOS-5383 update mw to v0.44.0-nightly.20251024.1 --- Libraryfile | 2 +- .../invocation-adoption.generated.swift | 15 + .../Generated/service+invocation.swift | 30 ++ .../Loc/Generated/Error+Localization.swift | 69 +++++ .../Commands/Anytype_Rpc.AI.Autofill.swift | 35 +-- .../Commands/Anytype_Rpc.AI.ListSummary.swift | 27 +- .../Anytype_Rpc.AI.ObjectCreateFromUrl.swift | 28 +- .../Commands/Anytype_Rpc.AI.Provider.swift | 7 +- .../Anytype_Rpc.AI.ProviderConfig.swift | 8 +- .../Anytype_Rpc.AI.WritingTools.swift | 55 +--- ...nytype_Rpc.Account.ChangeJsonApiAddr.swift | 20 +- ...ccount.ChangeNetworkConfigAndRestart.swift | 25 +- .../Commands/Anytype_Rpc.Account.Config.swift | 8 +- .../Anytype_Rpc.Account.ConfigUpdate.swift | 52 +--- .../Commands/Anytype_Rpc.Account.Create.swift | 39 +-- .../Commands/Anytype_Rpc.Account.Delete.swift | 18 +- ...e_Rpc.Account.EnableLocalNetworkSync.swift | 16 +- .../Anytype_Rpc.Account.LocalLink.swift | 108 ++----- .../Anytype_Rpc.Account.Migrate.swift | 25 +- .../Anytype_Rpc.Account.MigrateCancel.swift | 19 +- .../Commands/Anytype_Rpc.Account.Move.swift | 25 +- .../Anytype_Rpc.Account.NetworkMode.swift | 6 +- .../Anytype_Rpc.Account.Recover.swift | 16 +- ..._Rpc.Account.RecoverFromLegacyExport.swift | 25 +- .../Anytype_Rpc.Account.RevertDeletion.swift | 18 +- .../Commands/Anytype_Rpc.Account.Select.swift | 43 +-- .../Commands/Anytype_Rpc.Account.Stop.swift | 22 +- .../Commands/Anytype_Rpc.App.GetVersion.swift | 17 +- .../Anytype_Rpc.App.SetDeviceState.swift | 24 +- .../Commands/Anytype_Rpc.App.Shutdown.swift | 15 +- .../Commands/Anytype_Rpc.Block.Copy.swift | 24 +- .../Commands/Anytype_Rpc.Block.Create.swift | 24 +- .../Anytype_Rpc.Block.CreateWidget.swift | 27 +- .../Commands/Anytype_Rpc.Block.Cut.swift | 25 +- .../Commands/Anytype_Rpc.Block.Download.swift | 21 +- .../Commands/Anytype_Rpc.Block.Export.swift | 22 +- ...ytype_Rpc.Block.ListConvertToObjects.swift | 25 +- .../Anytype_Rpc.Block.ListDelete.swift | 21 +- .../Anytype_Rpc.Block.ListDuplicate.swift | 25 +- ...e_Rpc.Block.ListMoveToExistingObject.swift | 24 +- ...nytype_Rpc.Block.ListMoveToNewObject.swift | 25 +- .../Anytype_Rpc.Block.ListSetAlign.swift | 22 +- ...ype_Rpc.Block.ListSetBackgroundColor.swift | 22 +- .../Anytype_Rpc.Block.ListSetFields.swift | 26 +- ...ytype_Rpc.Block.ListSetVerticalAlign.swift | 22 +- .../Anytype_Rpc.Block.ListTurnInto.swift | 22 +- .../Anytype_Rpc.Block.ListUpdate.swift | 17 +- .../Commands/Anytype_Rpc.Block.Merge.swift | 22 +- .../Commands/Anytype_Rpc.Block.Paste.swift | 40 +-- .../Commands/Anytype_Rpc.Block.Preview.swift | 21 +- .../Commands/Anytype_Rpc.Block.Replace.swift | 23 +- .../Anytype_Rpc.Block.SetCarriage.swift | 21 +- .../Anytype_Rpc.Block.SetFields.swift | 22 +- .../Commands/Anytype_Rpc.Block.Split.swift | 32 +-- .../Commands/Anytype_Rpc.Block.Upload.swift | 26 +- ...ype_Rpc.BlockBookmark.CreateAndFetch.swift | 25 +- .../Anytype_Rpc.BlockBookmark.Fetch.swift | 23 +- ...ockDataview.CreateFromExistingObject.swift | 25 +- .../Anytype_Rpc.BlockDataview.Filter.swift | 93 ++---- ...Anytype_Rpc.BlockDataview.GroupOrder.swift | 22 +- ...nytype_Rpc.BlockDataview.ObjectOrder.swift | 47 +-- .../Anytype_Rpc.BlockDataview.Relation.swift | 66 +---- .../Anytype_Rpc.BlockDataview.SetSource.swift | 22 +- .../Anytype_Rpc.BlockDataview.Sort.swift | 93 ++---- .../Anytype_Rpc.BlockDataview.View.swift | 122 ++------ ...ytype_Rpc.BlockDataview.ViewRelation.swift | 93 ++---- .../Anytype_Rpc.BlockDiv.ListSetStyle.swift | 22 +- ...nytype_Rpc.BlockFile.CreateAndUpload.swift | 27 +- .../Anytype_Rpc.BlockFile.ListSetStyle.swift | 22 +- .../Anytype_Rpc.BlockFile.SetName.swift | 22 +- ...type_Rpc.BlockFile.SetTargetObjectId.swift | 22 +- .../Anytype_Rpc.BlockImage.SetName.swift | 21 +- .../Anytype_Rpc.BlockImage.SetWidth.swift | 21 +- .../Anytype_Rpc.BlockLatex.SetProcessor.swift | 22 +- .../Anytype_Rpc.BlockLatex.SetText.swift | 23 +- ...ytype_Rpc.BlockLink.CreateWithObject.swift | 32 +-- ...type_Rpc.BlockLink.ListSetAppearance.swift | 25 +- .../Anytype_Rpc.BlockRelation.Add.swift | 22 +- .../Anytype_Rpc.BlockRelation.SetKey.swift | 22 +- .../Anytype_Rpc.BlockTable.ColumnCreate.swift | 22 +- .../Anytype_Rpc.BlockTable.ColumnDelete.swift | 21 +- ...ytype_Rpc.BlockTable.ColumnDuplicate.swift | 24 +- ...nytype_Rpc.BlockTable.ColumnListFill.swift | 21 +- .../Anytype_Rpc.BlockTable.ColumnMove.swift | 23 +- .../Anytype_Rpc.BlockTable.Create.swift | 26 +- .../Anytype_Rpc.BlockTable.Expand.swift | 23 +- .../Anytype_Rpc.BlockTable.RowCreate.swift | 22 +- .../Anytype_Rpc.BlockTable.RowDelete.swift | 21 +- .../Anytype_Rpc.BlockTable.RowDuplicate.swift | 23 +- .../Anytype_Rpc.BlockTable.RowListClean.swift | 21 +- .../Anytype_Rpc.BlockTable.RowListFill.swift | 21 +- .../Anytype_Rpc.BlockTable.RowSetHeader.swift | 22 +- .../Anytype_Rpc.BlockTable.Sort.swift | 22 +- ...ytype_Rpc.BlockText.ListClearContent.swift | 21 +- ...Anytype_Rpc.BlockText.ListClearStyle.swift | 21 +- .../Anytype_Rpc.BlockText.ListSetColor.swift | 22 +- .../Anytype_Rpc.BlockText.ListSetMark.swift | 22 +- .../Anytype_Rpc.BlockText.ListSetStyle.swift | 22 +- .../Anytype_Rpc.BlockText.SetChecked.swift | 22 +- .../Anytype_Rpc.BlockText.SetColor.swift | 22 +- .../Anytype_Rpc.BlockText.SetIcon.swift | 23 +- .../Anytype_Rpc.BlockText.SetMarks.swift | 22 +- .../Anytype_Rpc.BlockText.SetStyle.swift | 22 +- .../Anytype_Rpc.BlockText.SetText.swift | 24 +- .../Anytype_Rpc.BlockVideo.SetName.swift | 21 +- .../Anytype_Rpc.BlockVideo.SetWidth.swift | 21 +- .../Anytype_Rpc.BlockWidget.SetLayout.swift | 22 +- .../Anytype_Rpc.BlockWidget.SetLimit.swift | 22 +- .../Anytype_Rpc.BlockWidget.SetTargetId.swift | 22 +- .../Anytype_Rpc.BlockWidget.SetViewId.swift | 22 +- .../Anytype_Rpc.Broadcast.PayloadEvent.swift | 21 +- .../Anytype_Rpc.Chat.AddMessage.swift | 26 +- .../Anytype_Rpc.Chat.DeleteMessage.swift | 20 +- .../Anytype_Rpc.Chat.EditMessageContent.swift | 25 +- .../Anytype_Rpc.Chat.GetMessages.swift | 25 +- .../Anytype_Rpc.Chat.GetMessagesByIds.swift | 21 +- .../Commands/Anytype_Rpc.Chat.ReadAll.swift | 15 +- .../Anytype_Rpc.Chat.ReadMessages.swift | 30 +- ...ytype_Rpc.Chat.SubscribeLastMessages.swift | 24 +- ..._Rpc.Chat.SubscribeToMessagePreviews.swift | 32 +-- ...ytype_Rpc.Chat.ToggleMessageReaction.swift | 22 +- .../Commands/Anytype_Rpc.Chat.Unread.swift | 27 +- .../Anytype_Rpc.Chat.Unsubscribe.swift | 20 +- ....Chat.UnsubscribeFromMessagePreviews.swift | 19 +- ...Anytype_Rpc.Debug.AccountSelectTrace.swift | 20 +- ...type_Rpc.Debug.AnystoreObjectChanges.swift | 34 +-- .../Anytype_Rpc.Debug.ExportLocalstore.swift | 23 +- .../Anytype_Rpc.Debug.ExportLog.swift | 21 +- .../Commands/Anytype_Rpc.Debug.NetCheck.swift | 20 +- .../Anytype_Rpc.Debug.OpenedObjects.swift | 16 +- .../Commands/Anytype_Rpc.Debug.Ping.swift | 21 +- .../Anytype_Rpc.Debug.RunProfiler.swift | 20 +- .../Anytype_Rpc.Debug.SpaceSummary.swift | 21 +- .../Anytype_Rpc.Debug.StackGoroutines.swift | 19 +- .../Commands/Anytype_Rpc.Debug.Stat.swift | 16 +- .../Anytype_Rpc.Debug.Subscriptions.swift | 16 +- .../Commands/Anytype_Rpc.Debug.Tree.swift | 23 +- .../Anytype_Rpc.Debug.TreeHeads.swift | 21 +- .../Commands/Anytype_Rpc.Debug.TreeInfo.swift | 5 +- .../Commands/Anytype_Rpc.Device.List.swift | 16 +- .../Anytype_Rpc.Device.NetworkState.swift | 20 +- .../Commands/Anytype_Rpc.Device.SetName.swift | 20 +- .../Anytype_Rpc.File.DiscardPreload.swift | 20 +- .../Commands/Anytype_Rpc.File.Download.swift | 21 +- .../Commands/Anytype_Rpc.File.Drop.swift | 23 +- .../Anytype_Rpc.File.ListOffload.swift | 23 +- .../Commands/Anytype_Rpc.File.NodeUsage.swift | 33 +-- .../Commands/Anytype_Rpc.File.Offload.swift | 22 +- .../Commands/Anytype_Rpc.File.Reconcile.swift | 15 +- .../Anytype_Rpc.File.SetAutoDownload.swift | 252 +++++++++++++++++ .../Anytype_Rpc.File.SpaceOffload.swift | 22 +- .../Anytype_Rpc.File.SpaceUsage.swift | 29 +- .../Commands/Anytype_Rpc.File.Upload.swift | 32 +-- .../Anytype_Rpc.Gallery.DownloadIndex.swift | 25 +- ...Anytype_Rpc.Gallery.DownloadManifest.swift | 20 +- ...ytype_Rpc.GenericErrorResponse.Error.swift | 11 +- .../Anytype_Rpc.GenericErrorResponse.swift | 4 +- .../Anytype_Rpc.History.DiffVersions.swift | 24 +- .../Anytype_Rpc.History.GetVersions.swift | 23 +- .../Anytype_Rpc.History.SetVersion.swift | 20 +- .../Anytype_Rpc.History.ShowVersion.swift | 28 +- .../Anytype_Rpc.History.Version.swift | 9 +- .../Anytype_Rpc.Initial.SetParameters.swift | 25 +- .../Anytype_Rpc.LinkPreview.Request.swift | 4 +- .../Anytype_Rpc.LinkPreview.Response.swift | 17 +- .../Commands/Anytype_Rpc.Log.Send.swift | 29 +- .../Anytype_Rpc.Membership.CodeGetInfo.swift | 24 +- .../Anytype_Rpc.Membership.CodeRedeem.swift | 27 +- .../Anytype_Rpc.Membership.Finalize.swift | 27 +- ...type_Rpc.Membership.GetPortalLinkUrl.swift | 20 +- .../Anytype_Rpc.Membership.GetStatus.swift | 26 +- .../Anytype_Rpc.Membership.GetTiers.swift | 25 +- ..._Rpc.Membership.GetVerificationEmail.swift | 31 +- ...embership.GetVerificationEmailStatus.swift | 19 +- .../Anytype_Rpc.Membership.IsNameValid.swift | 32 +-- ...pc.Membership.RegisterPaymentRequest.swift | 35 +-- ...Rpc.Membership.VerifyAppStoreReceipt.swift | 25 +- ...ytype_Rpc.Membership.VerifyEmailCode.swift | 28 +- ...Anytype_Rpc.NameService.ResolveAnyId.swift | 23 +- .../Anytype_Rpc.NameService.ResolveName.swift | 27 +- ...ytype_Rpc.NameService.ResolveSpaceId.swift | 23 +- .../Anytype_Rpc.NameService.UserAccount.swift | 22 +- .../Anytype_Rpc.Navigation.Context.swift | 6 +- ...pc.Navigation.GetObjectInfoWithLinks.swift | 21 +- .../Anytype_Rpc.Navigation.ListObjects.swift | 23 +- .../Anytype_Rpc.Notification.List.swift | 22 +- .../Anytype_Rpc.Notification.Reply.swift | 21 +- .../Anytype_Rpc.Notification.Test.swift | 17 +- .../Anytype_Rpc.Object.ApplyTemplate.swift | 20 +- .../Anytype_Rpc.Object.BookmarkFetch.swift | 20 +- .../Commands/Anytype_Rpc.Object.ChatAdd.swift | 20 +- .../Commands/Anytype_Rpc.Object.Close.swift | 21 +- .../Commands/Anytype_Rpc.Object.Create.swift | 27 +- .../Anytype_Rpc.Object.CreateBookmark.swift | 24 +- .../Anytype_Rpc.Object.CreateFromUrl.swift | 28 +- .../Anytype_Rpc.Object.CreateObjectType.swift | 23 +- .../Anytype_Rpc.Object.CreateRelation.swift | 23 +- ...type_Rpc.Object.CreateRelationOption.swift | 22 +- .../Anytype_Rpc.Object.CreateSet.swift | 28 +- ...Rpc.Object.CrossSpaceSearchSubscribe.swift | 29 +- ...c.Object.CrossSpaceSearchUnsubscribe.swift | 19 +- .../Anytype_Rpc.Object.DateByTimestamp.swift | 21 +- .../Anytype_Rpc.Object.Duplicate.swift | 20 +- .../Commands/Anytype_Rpc.Object.Export.swift | 23 +- .../Commands/Anytype_Rpc.Object.Graph.swift | 44 +-- .../Anytype_Rpc.Object.GroupsSubscribe.swift | 26 +- .../Commands/Anytype_Rpc.Object.Import.swift | 123 ++------ .../Anytype_Rpc.Object.ImportExperience.swift | 25 +- .../Anytype_Rpc.Object.ImportList.swift | 28 +- .../Anytype_Rpc.Object.ImportUseCase.swift | 32 +-- .../Anytype_Rpc.Object.ListDelete.swift | 20 +- .../Anytype_Rpc.Object.ListDuplicate.swift | 20 +- .../Anytype_Rpc.Object.ListExport.swift | 45 +-- ...pe_Rpc.Object.ListModifyDetailValues.swift | 27 +- .../Anytype_Rpc.Object.ListSetDetails.swift | 21 +- ...Anytype_Rpc.Object.ListSetIsArchived.swift | 20 +- ...Anytype_Rpc.Object.ListSetIsFavorite.swift | 20 +- ...Anytype_Rpc.Object.ListSetObjectType.swift | 21 +- .../Commands/Anytype_Rpc.Object.Open.swift | 27 +- .../Anytype_Rpc.Object.OpenBreadcrumbs.swift | 27 +- .../Commands/Anytype_Rpc.Object.Redo.swift | 24 +- .../Commands/Anytype_Rpc.Object.Refresh.swift | 21 +- .../Commands/Anytype_Rpc.Object.Search.swift | 27 +- .../Anytype_Rpc.Object.SearchSubscribe.swift | 34 +-- ...Anytype_Rpc.Object.SearchUnsubscribe.swift | 19 +- .../Anytype_Rpc.Object.SearchWithMeta.swift | 30 +- .../Anytype_Rpc.Object.SetBreadcrumbs.swift | 21 +- .../Anytype_Rpc.Object.SetDetails.swift | 21 +- .../Anytype_Rpc.Object.SetInternalFlags.swift | 21 +- .../Anytype_Rpc.Object.SetIsArchived.swift | 20 +- .../Anytype_Rpc.Object.SetIsFavorite.swift | 21 +- .../Anytype_Rpc.Object.SetLayout.swift | 21 +- .../Anytype_Rpc.Object.SetObjectType.swift | 21 +- .../Anytype_Rpc.Object.SetSource.swift | 21 +- .../Anytype_Rpc.Object.ShareByLink.swift | 20 +- .../Commands/Anytype_Rpc.Object.Show.swift | 27 +- .../Anytype_Rpc.Object.SubscribeIds.swift | 26 +- .../Anytype_Rpc.Object.ToCollection.swift | 19 +- .../Commands/Anytype_Rpc.Object.ToSet.swift | 20 +- .../Commands/Anytype_Rpc.Object.Undo.swift | 24 +- .../Anytype_Rpc.Object.UndoRedoCounter.swift | 5 +- ...ype_Rpc.Object.WorkspaceSetDashboard.swift | 22 +- .../Anytype_Rpc.ObjectCollection.Add.swift | 22 +- .../Anytype_Rpc.ObjectCollection.Remove.swift | 21 +- .../Anytype_Rpc.ObjectCollection.Sort.swift | 21 +- .../Anytype_Rpc.ObjectRelation.Add.swift | 21 +- ...ytype_Rpc.ObjectRelation.AddFeatured.swift | 21 +- .../Anytype_Rpc.ObjectRelation.Delete.swift | 21 +- ...ype_Rpc.ObjectRelation.ListAvailable.swift | 20 +- ...pe_Rpc.ObjectRelation.RemoveFeatured.swift | 21 +- ....ObjectType.ListConflictingRelations.swift | 22 +- .../Anytype_Rpc.ObjectType.Recommended.swift | 42 +-- .../Anytype_Rpc.ObjectType.Relation.swift | 43 +-- ...pc.ObjectType.ResolveLayoutConflicts.swift | 19 +- .../Anytype_Rpc.ObjectType.SetOrder.swift | 21 +- .../Commands/Anytype_Rpc.Process.Cancel.swift | 19 +- .../Anytype_Rpc.Process.Subscribe.swift | 15 +- .../Anytype_Rpc.Process.Unsubscribe.swift | 15 +- .../Anytype_Rpc.Publishing.Create.swift | 27 +- .../Anytype_Rpc.Publishing.GetStatus.swift | 23 +- .../Anytype_Rpc.Publishing.List.swift | 21 +- .../Anytype_Rpc.Publishing.PublishState.swift | 12 +- ...Anytype_Rpc.Publishing.PublishStatus.swift | 5 +- .../Anytype_Rpc.Publishing.Remove.swift | 22 +- .../Anytype_Rpc.Publishing.ResolveUri.swift | 21 +- ...e_Rpc.PushNotification.AddMentionIds.swift | 267 ++++++++++++++++++ ...type_Rpc.PushNotification.AddMuteIds.swift | 267 ++++++++++++++++++ ...e_Rpc.PushNotification.RegisterToken.swift | 25 +- ...pe_Rpc.PushNotification.SetSpaceMode.swift | 45 +-- ...nytype_Rpc.Relation.ListRemoveOption.swift | 21 +- .../Anytype_Rpc.Relation.ListWithValue.swift | 26 +- .../Anytype_Rpc.Relation.Option.swift | 22 +- .../Anytype_Rpc.Relation.Options.swift | 20 +- .../Commands/Anytype_Rpc.Space.Delete.swift | 25 +- .../Anytype_Rpc.Space.InviteChange.swift | 24 +- .../Anytype_Rpc.Space.InviteGenerate.swift | 30 +- .../Anytype_Rpc.Space.InviteGetCurrent.swift | 24 +- .../Anytype_Rpc.Space.InviteGetGuest.swift | 22 +- .../Anytype_Rpc.Space.InviteRevoke.swift | 24 +- .../Anytype_Rpc.Space.InviteView.swift | 29 +- .../Commands/Anytype_Rpc.Space.Join.swift | 30 +- .../Anytype_Rpc.Space.JoinCancel.swift | 25 +- .../Anytype_Rpc.Space.LeaveApprove.swift | 26 +- .../Anytype_Rpc.Space.MakeShareable.swift | 23 +- ...c.Space.ParticipantPermissionsChange.swift | 27 +- .../Anytype_Rpc.Space.ParticipantRemove.swift | 26 +- .../Anytype_Rpc.Space.RequestApprove.swift | 28 +- .../Anytype_Rpc.Space.RequestDecline.swift | 26 +- .../Commands/Anytype_Rpc.Space.SetOrder.swift | 21 +- .../Anytype_Rpc.Space.StopSharing.swift | 23 +- .../Anytype_Rpc.Space.UnsetOrder.swift | 19 +- .../Commands/Anytype_Rpc.Template.Clone.swift | 21 +- ...nytype_Rpc.Template.CreateFromObject.swift | 20 +- .../Anytype_Rpc.Template.ExportAll.swift | 21 +- .../Anytype_Rpc.Unsplash.Download.swift | 23 +- .../Anytype_Rpc.Unsplash.Search.swift | 29 +- .../Anytype_Rpc.Wallet.CloseSession.swift | 19 +- .../Commands/Anytype_Rpc.Wallet.Convert.swift | 22 +- .../Commands/Anytype_Rpc.Wallet.Create.swift | 22 +- .../Anytype_Rpc.Wallet.CreateSession.swift | 25 +- .../Commands/Anytype_Rpc.Wallet.Recover.swift | 22 +- .../Anytype_Rpc.Workspace.Create.swift | 23 +- .../Anytype_Rpc.Workspace.Export.swift | 22 +- .../Anytype_Rpc.Workspace.GetAll.swift | 16 +- .../Anytype_Rpc.Workspace.GetCurrent.swift | 16 +- .../Anytype_Rpc.Workspace.Object.swift | 63 +---- .../Commands/Anytype_Rpc.Workspace.Open.swift | 22 +- .../Anytype_Rpc.Workspace.Select.swift | 19 +- .../Anytype_Rpc.Workspace.SetInfo.swift | 20 +- .../Commands/Anytype_StreamRequest.swift | 4 +- .../Events/Anytype_Event.Account.Config.swift | 5 +- .../Anytype_Event.Account.Details.swift | 5 +- .../Anytype_Event.Account.LinkChallenge.swift | 13 +- ...type_Event.Account.LinkChallengeHide.swift | 4 +- .../Events/Anytype_Event.Account.Show.swift | 5 +- .../Events/Anytype_Event.Account.Update.swift | 5 +- .../Events/Anytype_Event.Block.Add.swift | 4 +- .../Events/Anytype_Event.Block.Dataview.swift | 188 ++---------- .../Events/Anytype_Event.Block.Delete.swift | 4 +- .../Anytype_Event.Block.FilesUpload.swift | 5 +- .../Events/Anytype_Event.Block.Fill.swift | 174 +++--------- .../Anytype_Event.Block.MarksInfo.swift | 4 +- .../Events/Anytype_Event.Block.Set.swift | 260 ++++------------- .../Events/Anytype_Event.Chat.Add.swift | 13 +- .../Events/Anytype_Event.Chat.Delete.swift | 5 +- .../Events/Anytype_Event.Chat.Update.swift | 10 +- ...e_Event.Chat.UpdateMentionReadStatus.swift | 6 +- ...e_Event.Chat.UpdateMessageReadStatus.swift | 6 +- ...e_Event.Chat.UpdateMessageSyncStatus.swift | 6 +- .../Anytype_Event.Chat.UpdateReactions.swift | 6 +- .../Anytype_Event.Chat.UpdateState.swift | 5 +- .../Anytype_Event.File.LimitReached.swift | 5 +- .../Anytype_Event.File.LimitUpdated.swift | 4 +- .../Anytype_Event.File.LocalUsage.swift | 4 +- .../Anytype_Event.File.SpaceUsage.swift | 5 +- .../Events/Anytype_Event.Import.Finish.swift | 6 +- ...Anytype_Event.Membership.TiersUpdate.swift | 4 +- .../Anytype_Event.Membership.Update.swift | 4 +- .../Events/Anytype_Event.Message.swift | 84 +----- .../Anytype_Event.Notification.Send.swift | 4 +- .../Anytype_Event.Notification.Update.swift | 4 +- .../Events/Anytype_Event.Object.Close.swift | 4 +- .../Events/Anytype_Event.Object.Details.swift | 23 +- .../Anytype_Event.Object.Relations.swift | 10 +- .../Events/Anytype_Event.Object.Remove.swift | 4 +- .../Anytype_Event.Object.Restrictions.swift | 5 +- .../Anytype_Event.Object.Subscription.swift | 30 +- .../Anytype_Event.P2PStatus.Status.swift | 7 +- .../Anytype_Event.P2PStatus.Update.swift | 6 +- .../Anytype_Event.Payload.Broadcast.swift | 4 +- .../Protocol/Events/Anytype_Event.Ping.swift | 4 +- .../Events/Anytype_Event.Process.Done.swift | 4 +- .../Events/Anytype_Event.Process.New.swift | 4 +- .../Events/Anytype_Event.Process.Update.swift | 4 +- .../Events/Anytype_Event.Space.Network.swift | 6 +- .../Events/Anytype_Event.Space.Status.swift | 8 +- .../Anytype_Event.Space.SyncError.swift | 7 +- .../Anytype_Event.Space.SyncStatus.swift | 9 +- .../Events/Anytype_Event.Status.Thread.swift | 51 +--- .../Events/Anytype_Event.User.Block.swift | 19 +- .../Protocol/Events/Anytype_Event.swift | 7 +- .../Anytype_Model.Process.Progress.swift | 6 +- .../Events/Anytype_Model.Process.State.swift | 8 +- .../Events/Anytype_Model.Process.swift | 14 +- .../Events/Anytype_ResponseEvent.swift | 6 +- .../Anytype_Model_Account.Auth.AppInfo.swift | 10 +- ...ype_Model_Account.Auth.LocalApiScope.swift | 6 +- .../Models/Anytype_Model_Account.Config.swift | 8 +- .../Models/Anytype_Model_Account.Info.swift | 24 +- .../Models/Anytype_Model_Account.Status.swift | 5 +- .../Anytype_Model_Account.StatusType.swift | 7 +- .../Models/Anytype_Model_Account.swift | 7 +- .../Models/Anytype_Model_Block.Align.swift | 7 +- ...e_Model_Block.Content.Bookmark.State.swift | 7 +- ...Anytype_Model_Block.Content.Bookmark.swift | 11 +- ...odel_Block.Content.Dataview.Checkbox.swift | 4 +- ..._Model_Block.Content.Dataview.Filter.swift | 58 +--- ...e_Model_Block.Content.Dataview.Group.swift | 8 +- ...el_Block.Content.Dataview.GroupOrder.swift | 5 +- ...l_Block.Content.Dataview.ObjectOrder.swift | 6 +- ...odel_Block.Content.Dataview.Relation.swift | 41 +-- ...pe_Model_Block.Content.Dataview.Sort.swift | 23 +- ..._Model_Block.Content.Dataview.Status.swift | 4 +- ...ype_Model_Block.Content.Dataview.Tag.swift | 4 +- ...pe_Model_Block.Content.Dataview.View.swift | 34 +-- ...del_Block.Content.Dataview.ViewGroup.swift | 7 +- ...Anytype_Model_Block.Content.Dataview.swift | 12 +- ...nytype_Model_Block.Content.Div.Style.swift | 5 +- .../Anytype_Model_Block.Content.Div.swift | 4 +- ...ytype_Model_Block.Content.File.State.swift | 7 +- ...ytype_Model_Block.Content.File.Style.swift | 6 +- ...pe_Model_Block.Content.File.TypeEnum.swift | 9 +- .../Anytype_Model_Block.Content.File.swift | 12 +- .../Anytype_Model_Block.Content.Icon.swift | 4 +- ..._Model_Block.Content.Latex.Processor.swift | 28 +- .../Anytype_Model_Block.Content.Latex.swift | 5 +- ...ype_Model_Block.Content.Layout.Style.swift | 9 +- .../Anytype_Model_Block.Content.Layout.swift | 4 +- ...e_Model_Block.Content.Link.CardStyle.swift | 6 +- ...Model_Block.Content.Link.Description.swift | 6 +- ...pe_Model_Block.Content.Link.IconSize.swift | 6 +- ...ytype_Model_Block.Content.Link.Style.swift | 7 +- .../Anytype_Model_Block.Content.Link.swift | 10 +- ...Anytype_Model_Block.Content.Relation.swift | 4 +- ...Anytype_Model_Block.Content.TableRow.swift | 4 +- ...nytype_Model_Block.Content.Text.Mark.swift | 20 +- ...ytype_Model_Block.Content.Text.Marks.swift | 4 +- ...ytype_Model_Block.Content.Text.Style.swift | 17 +- .../Anytype_Model_Block.Content.Text.swift | 10 +- ...pe_Model_Block.Content.Widget.Layout.swift | 8 +- .../Anytype_Model_Block.Content.Widget.swift | 7 +- .../Models/Anytype_Model_Block.Position.swift | 11 +- .../Anytype_Model_Block.Restrictions.swift | 8 +- .../Anytype_Model_Block.VerticalAlign.swift | 6 +- .../Protocol/Models/Anytype_Model_Block.swift | 32 +-- .../Models/Anytype_Model_BlockMetaOnly.swift | 5 +- ...hatMessage.Attachment.AttachmentType.swift | 6 +- ...Anytype_Model_ChatMessage.Attachment.swift | 5 +- ...ype_Model_ChatMessage.MessageContent.swift | 6 +- ...l_ChatMessage.Reactions.IdentityList.swift | 4 +- .../Anytype_Model_ChatMessage.Reactions.swift | 4 +- .../Models/Anytype_Model_ChatMessage.swift | 17 +- .../Anytype_Model_ChatState.UnreadState.swift | 5 +- .../Models/Anytype_Model_ChatState.swift | 7 +- .../Models/Anytype_Model_Detail.swift | 5 +- .../Models/Anytype_Model_DeviceInfo.swift | 8 +- .../Anytype_Model_DeviceNetworkType.swift | 6 +- .../Models/Anytype_Model_Export.Format.swift | 9 +- .../Anytype_Model_FileEncryptionKey.swift | 5 +- .../Anytype_Model_FileIndexingStatus.swift | 6 +- .../Models/Anytype_Model_FileInfo.swift | 5 +- .../Anytype_Model_IdentityProfile.swift | 9 +- .../Models/Anytype_Model_ImageKind.swift | 7 +- .../Anytype_Model_Import.ErrorCode.swift | 18 +- .../Anytype_Model_Import.TypeEnum.swift | 11 +- .../Anytype_Model_InternalFlag.Value.swift | 7 +- .../Models/Anytype_Model_InternalFlag.swift | 4 +- .../Models/Anytype_Model_Invite.swift | 7 +- .../Models/Anytype_Model_InvitePayload.swift | 14 +- .../Models/Anytype_Model_InviteType.swift | 6 +- .../Models/Anytype_Model_Layout.swift | 6 +- .../Anytype_Model_LinkPreview.TypeEnum.swift | 7 +- .../Models/Anytype_Model_LinkPreview.swift | 9 +- .../Models/Anytype_Model_ManifestInfo.swift | 15 +- ...l_Membership.EmailVerificationStatus.swift | 6 +- ...ytype_Model_Membership.PaymentMethod.swift | 8 +- .../Anytype_Model_Membership.Status.swift | 7 +- .../Models/Anytype_Model_Membership.swift | 13 +- ..._Model_MembershipTierData.PeriodType.swift | 9 +- .../Anytype_Model_MembershipTierData.swift | 25 +- ...del_Metadata.Payload.IdentityPayload.swift | 6 +- .../Models/Anytype_Model_Metadata.swift | 4 +- .../Anytype_Model_NameserviceNameType.swift | 4 +- ...nytype_Model_Notification.ActionType.swift | 4 +- ...ytype_Model_Notification.Export.Code.swift | 6 +- .../Anytype_Model_Notification.Export.swift | 5 +- ...ype_Model_Notification.GalleryImport.swift | 8 +- .../Anytype_Model_Notification.Import.swift | 9 +- ...ication.ParticipantPermissionsChange.swift | 6 +- ...Model_Notification.ParticipantRemove.swift | 8 +- ...ification.ParticipantRequestApproved.swift | 6 +- ...tification.ParticipantRequestDecline.swift | 5 +- ...ype_Model_Notification.RequestToJoin.swift | 8 +- ...pe_Model_Notification.RequestToLeave.swift | 8 +- .../Anytype_Model_Notification.Status.swift | 7 +- .../Models/Anytype_Model_Notification.swift | 19 +- .../Anytype_Model_Object.ChangePayload.swift | 8 +- .../Models/Anytype_Model_ObjectOrigin.swift | 13 +- .../Anytype_Model_ObjectType.Layout.swift | 30 +- .../Models/Anytype_Model_ObjectType.swift | 24 +- ...pe_Model_ObjectView.BlockParticipant.swift | 5 +- .../Anytype_Model_ObjectView.DetailsSet.swift | 6 +- ...Anytype_Model_ObjectView.HistorySize.swift | 5 +- ...bjectView.RelationWithValuePerObject.swift | 5 +- .../Models/Anytype_Model_ObjectView.swift | 12 +- ...pe_Model_ParticipantPermissionChange.swift | 5 +- ...Anytype_Model_ParticipantPermissions.swift | 7 +- .../Anytype_Model_ParticipantStatus.swift | 9 +- .../Protocol/Models/Anytype_Model_Range.swift | 5 +- .../Anytype_Model_Relation.DataSource.swift | 7 +- .../Anytype_Model_Relation.Option.swift | 8 +- .../Models/Anytype_Model_Relation.Scope.swift | 8 +- .../Models/Anytype_Model_Relation.swift | 25 +- .../Models/Anytype_Model_RelationFormat.swift | 17 +- .../Models/Anytype_Model_RelationLink.swift | 5 +- .../Anytype_Model_RelationOptions.swift | 4 +- .../Anytype_Model_RelationWithValue.swift | 5 +- .../Models/Anytype_Model_Relations.swift | 4 +- ...del_Restrictions.DataviewRestriction.swift | 7 +- ...el_Restrictions.DataviewRestrictions.swift | 5 +- ...Model_Restrictions.ObjectRestriction.swift | 14 +- .../Models/Anytype_Model_Restrictions.swift | 5 +- .../Models/Anytype_Model_Search.Meta.swift | 8 +- .../Models/Anytype_Model_Search.Result.swift | 6 +- ...Anytype_Model_SmartBlockSnapshotBase.swift | 14 +- .../Models/Anytype_Model_SmartBlockType.swift | 31 +- .../Anytype_Model_SpaceAccessType.swift | 6 +- .../Anytype_Model_SpaceObjectHeader.swift | 4 +- .../Anytype_Model_SpaceShareableStatus.swift | 6 +- .../Models/Anytype_Model_SpaceStatus.swift | 14 +- .../Models/Anytype_Model_SpaceUxType.swift | 7 +- .../Models/Anytype_Model_SyncError.swift | 7 +- .../Models/Anytype_Model_SyncStatus.swift | 7 +- .../Sources/Protocol/localstore.pb.swift | 66 +---- .../BundledPropertiesValueProvider.swift | 22 +- .../BundledPropertyKey+SystemKeys.swift | 1 + .../Generated/BundledPropertyKey.swift | 14 +- 507 files changed, 2594 insertions(+), 8354 deletions(-) create mode 100644 Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SetAutoDownload.swift create mode 100644 Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMentionIds.swift create mode 100644 Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMuteIds.swift diff --git a/Libraryfile b/Libraryfile index 8a2c34dcc5..6fba3e9875 100644 --- a/Libraryfile +++ b/Libraryfile @@ -1 +1 @@ -MIDDLE_VERSION=v0.44.0-nightly.20251018.1 +MIDDLE_VERSION=v0.44.0-nightly.20251024.1 diff --git a/Modules/ProtobufMessages/Sources/Generated/CommandsInvocation/invocation-adoption.generated.swift b/Modules/ProtobufMessages/Sources/Generated/CommandsInvocation/invocation-adoption.generated.swift index fc5af56913..9569c200d4 100644 --- a/Modules/ProtobufMessages/Sources/Generated/CommandsInvocation/invocation-adoption.generated.swift +++ b/Modules/ProtobufMessages/Sources/Generated/CommandsInvocation/invocation-adoption.generated.swift @@ -796,6 +796,11 @@ extension Anytype_Rpc.File.Reconcile.Response.Error: ResponseError { public var isNull: Bool { code == .null && description_p.isEmpty } } +extension Anytype_Rpc.File.SetAutoDownload.Response: ResultWithError {} +extension Anytype_Rpc.File.SetAutoDownload.Response.Error: ResponseError { + public var isNull: Bool { code == .null && description_p.isEmpty } +} + extension Anytype_Rpc.File.SpaceOffload.Response: ResultWithError {} extension Anytype_Rpc.File.SpaceOffload.Response.Error: ResponseError { public var isNull: Bool { code == .null && description_p.isEmpty } @@ -1350,6 +1355,16 @@ extension Anytype_Rpc.Publishing.ResolveUri.Response.Error: ResponseError { public var isNull: Bool { code == .null && description_p.isEmpty } } +extension Anytype_Rpc.PushNotification.AddMentionIds.Response: ResultWithError {} +extension Anytype_Rpc.PushNotification.AddMentionIds.Response.Error: ResponseError { + public var isNull: Bool { code == .null && description_p.isEmpty } +} + +extension Anytype_Rpc.PushNotification.AddMuteIds.Response: ResultWithError {} +extension Anytype_Rpc.PushNotification.AddMuteIds.Response.Error: ResponseError { + public var isNull: Bool { code == .null && description_p.isEmpty } +} + extension Anytype_Rpc.PushNotification.RegisterToken.Response: ResultWithError {} extension Anytype_Rpc.PushNotification.RegisterToken.Response.Error: ResponseError { public var isNull: Bool { code == .null && description_p.isEmpty } diff --git a/Modules/ProtobufMessages/Sources/Generated/service+invocation.swift b/Modules/ProtobufMessages/Sources/Generated/service+invocation.swift index 51e4c0f5e5..d41aaa032c 100644 --- a/Modules/ProtobufMessages/Sources/Generated/service+invocation.swift +++ b/Modules/ProtobufMessages/Sources/Generated/service+invocation.swift @@ -1434,6 +1434,16 @@ public struct ClientCommands { } } + public static func fileSetAutoDownload( + _ request: Anytype_Rpc.File.SetAutoDownload.Request = .init() + ) -> Invocation { + return Invocation(messageName: "FileSetAutoDownload", request: request) { request in + let requestData = try request.serializedData() + let responseData = Lib.ServiceFileSetAutoDownload(requestData) ?? Data() + return try Anytype_Rpc.File.SetAutoDownload.Response(serializedBytes: responseData) + } + } + public static func navigationListObjects( _ request: Anytype_Rpc.Navigation.ListObjects.Request = .init() ) -> Invocation { @@ -3044,4 +3054,24 @@ public struct ClientCommands { } } + public static func pushNotificationAddMuteIds( + _ request: Anytype_Rpc.PushNotification.AddMuteIds.Request = .init() + ) -> Invocation { + return Invocation(messageName: "PushNotificationAddMuteIds", request: request) { request in + let requestData = try request.serializedData() + let responseData = Lib.ServicePushNotificationAddMuteIds(requestData) ?? Data() + return try Anytype_Rpc.PushNotification.AddMuteIds.Response(serializedBytes: responseData) + } + } + + public static func pushNotificationAddMentionIds( + _ request: Anytype_Rpc.PushNotification.AddMentionIds.Request = .init() + ) -> Invocation { + return Invocation(messageName: "PushNotificationAddMentionIds", request: request) { request in + let requestData = try request.serializedData() + let responseData = Lib.ServicePushNotificationAddMentionIds(requestData) ?? Data() + return try Anytype_Rpc.PushNotification.AddMentionIds.Response(serializedBytes: responseData) + } + } + } diff --git a/Modules/ProtobufMessages/Sources/Loc/Generated/Error+Localization.swift b/Modules/ProtobufMessages/Sources/Loc/Generated/Error+Localization.swift index 961c76737b..7912ab312d 100644 --- a/Modules/ProtobufMessages/Sources/Loc/Generated/Error+Localization.swift +++ b/Modules/ProtobufMessages/Sources/Loc/Generated/Error+Localization.swift @@ -3826,6 +3826,29 @@ extension Anytype_Rpc.File.Reconcile.Response.Error: LocalizedError { } } +extension Anytype_Rpc.File.SetAutoDownload.Response.Error: LocalizedError { + public var errorDescription: String? { + let localizeError = localizeError() + if !localizeError.isEmpty { + return localizeError + } + return "Error: \(description_p) (\(code))" + } + + private func localizeError() -> String { + switch code { + case .null: + return "" + case .unknownError: + return "" + case .badInput: + return LocHelper.tr(table: "LocalizableError", key: "File.SetAutoDownload.badInput") + case .UNRECOGNIZED: + return "" + } + } +} + extension Anytype_Rpc.File.SpaceOffload.Response.Error: LocalizedError { public var errorDescription: String? { let localizeError = localizeError() @@ -6637,6 +6660,52 @@ extension Anytype_Rpc.Publishing.ResolveUri.Response.Error: LocalizedError { } } +extension Anytype_Rpc.PushNotification.AddMentionIds.Response.Error: LocalizedError { + public var errorDescription: String? { + let localizeError = localizeError() + if !localizeError.isEmpty { + return localizeError + } + return "Error: \(description_p) (\(code))" + } + + private func localizeError() -> String { + switch code { + case .null: + return "" + case .unknownError: + return "" + case .badInput: + return LocHelper.tr(table: "LocalizableError", key: "PushNotification.AddMentionIds.badInput") + case .UNRECOGNIZED: + return "" + } + } +} + +extension Anytype_Rpc.PushNotification.AddMuteIds.Response.Error: LocalizedError { + public var errorDescription: String? { + let localizeError = localizeError() + if !localizeError.isEmpty { + return localizeError + } + return "Error: \(description_p) (\(code))" + } + + private func localizeError() -> String { + switch code { + case .null: + return "" + case .unknownError: + return "" + case .badInput: + return LocHelper.tr(table: "LocalizableError", key: "PushNotification.AddMuteIds.badInput") + case .UNRECOGNIZED: + return "" + } + } +} + extension Anytype_Rpc.PushNotification.RegisterToken.Response.Error: LocalizedError { public var errorDescription: String? { let localizeError = localizeError() diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.Autofill.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.Autofill.swift index 6dfc002eed..f56cfbb8c4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.Autofill.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.Autofill.swift @@ -212,12 +212,7 @@ extension Anytype_Rpc.AI.Autofill: SwiftProtobuf.Message, SwiftProtobuf._Message extension Anytype_Rpc.AI.Autofill.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.AI.Autofill.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "config"), - 2: .same(proto: "mode"), - 3: .same(proto: "options"), - 4: .same(proto: "context"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}config\0\u{1}mode\0\u{1}options\0\u{1}context\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -265,21 +260,12 @@ extension Anytype_Rpc.AI.Autofill.Request: SwiftProtobuf.Message, SwiftProtobuf. } extension Anytype_Rpc.AI.Autofill.Request.AutofillMode: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "TAG"), - 1: .same(proto: "RELATION"), - 2: .same(proto: "TYPE"), - 3: .same(proto: "TITLE"), - 4: .same(proto: "DESCRIPTION"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0TAG\0\u{1}RELATION\0\u{1}TYPE\0\u{1}TITLE\0\u{1}DESCRIPTION\0") } extension Anytype_Rpc.AI.Autofill.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.AI.Autofill.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "text"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}text\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -318,10 +304,7 @@ extension Anytype_Rpc.AI.Autofill.Response: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.AI.Autofill.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.AI.Autofill.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -355,15 +338,7 @@ extension Anytype_Rpc.AI.Autofill.Response.Error: SwiftProtobuf.Message, SwiftPr } extension Anytype_Rpc.AI.Autofill.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 100: .same(proto: "RATE_LIMIT_EXCEEDED"), - 101: .same(proto: "ENDPOINT_NOT_REACHABLE"), - 102: .same(proto: "MODEL_NOT_FOUND"), - 103: .same(proto: "AUTH_REQUIRED"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}b\u{1}RATE_LIMIT_EXCEEDED\0\u{1}ENDPOINT_NOT_REACHABLE\0\u{1}MODEL_NOT_FOUND\0\u{1}AUTH_REQUIRED\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ListSummary.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ListSummary.swift index 9943745c32..70c3c58449 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ListSummary.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ListSummary.swift @@ -164,12 +164,7 @@ extension Anytype_Rpc.AI.ListSummary: SwiftProtobuf.Message, SwiftProtobuf._Mess extension Anytype_Rpc.AI.ListSummary.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.AI.ListSummary.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "config"), - 2: .same(proto: "spaceId"), - 3: .same(proto: "objectIds"), - 4: .same(proto: "prompt"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}config\0\u{1}spaceId\0\u{1}objectIds\0\u{1}prompt\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -218,10 +213,7 @@ extension Anytype_Rpc.AI.ListSummary.Request: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.AI.ListSummary.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.AI.ListSummary.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "objectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}objectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -260,10 +252,7 @@ extension Anytype_Rpc.AI.ListSummary.Response: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.AI.ListSummary.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.AI.ListSummary.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -297,15 +286,7 @@ extension Anytype_Rpc.AI.ListSummary.Response.Error: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.AI.ListSummary.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 100: .same(proto: "RATE_LIMIT_EXCEEDED"), - 101: .same(proto: "ENDPOINT_NOT_REACHABLE"), - 102: .same(proto: "MODEL_NOT_FOUND"), - 103: .same(proto: "AUTH_REQUIRED"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}b\u{1}RATE_LIMIT_EXCEEDED\0\u{1}ENDPOINT_NOT_REACHABLE\0\u{1}MODEL_NOT_FOUND\0\u{1}AUTH_REQUIRED\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ObjectCreateFromUrl.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ObjectCreateFromUrl.swift index 44d0bbb10b..9870e055b1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ObjectCreateFromUrl.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ObjectCreateFromUrl.swift @@ -182,12 +182,7 @@ extension Anytype_Rpc.AI.ObjectCreateFromUrl: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.AI.ObjectCreateFromUrl.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.AI.ObjectCreateFromUrl.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "config"), - 2: .same(proto: "spaceId"), - 3: .same(proto: "url"), - 4: .same(proto: "details"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}config\0\u{1}spaceId\0\u{1}url\0\u{1}details\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -236,11 +231,7 @@ extension Anytype_Rpc.AI.ObjectCreateFromUrl.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.AI.ObjectCreateFromUrl.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.AI.ObjectCreateFromUrl.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "objectId"), - 3: .same(proto: "details"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}objectId\0\u{1}details\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -284,10 +275,7 @@ extension Anytype_Rpc.AI.ObjectCreateFromUrl.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.AI.ObjectCreateFromUrl.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.AI.ObjectCreateFromUrl.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -321,15 +309,7 @@ extension Anytype_Rpc.AI.ObjectCreateFromUrl.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.AI.ObjectCreateFromUrl.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 100: .same(proto: "RATE_LIMIT_EXCEEDED"), - 101: .same(proto: "ENDPOINT_NOT_REACHABLE"), - 102: .same(proto: "MODEL_NOT_FOUND"), - 103: .same(proto: "AUTH_REQUIRED"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}b\u{1}RATE_LIMIT_EXCEEDED\0\u{1}ENDPOINT_NOT_REACHABLE\0\u{1}MODEL_NOT_FOUND\0\u{1}AUTH_REQUIRED\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.Provider.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.Provider.swift index 05f516d107..cb6298bd2d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.Provider.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.Provider.swift @@ -58,12 +58,7 @@ extension Anytype_Rpc.AI { }} extension Anytype_Rpc.AI.Provider: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "OLLAMA"), - 1: .same(proto: "OPENAI"), - 2: .same(proto: "LMSTUDIO"), - 3: .same(proto: "LLAMACPP"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0OLLAMA\0\u{1}OPENAI\0\u{1}LMSTUDIO\0\u{1}LLAMACPP\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ProviderConfig.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ProviderConfig.swift index b87ea39303..6d6c5638d0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ProviderConfig.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ProviderConfig.swift @@ -35,13 +35,7 @@ extension Anytype_Rpc.AI { extension Anytype_Rpc.AI.ProviderConfig: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.AI.protoMessageName + ".ProviderConfig" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "provider"), - 2: .same(proto: "endpoint"), - 3: .same(proto: "model"), - 4: .same(proto: "token"), - 5: .same(proto: "temperature"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}provider\0\u{1}endpoint\0\u{1}model\0\u{1}token\0\u{1}temperature\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.WritingTools.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.WritingTools.swift index cd45ff406f..173a173f7d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.WritingTools.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.WritingTools.swift @@ -308,12 +308,7 @@ extension Anytype_Rpc.AI.WritingTools: SwiftProtobuf.Message, SwiftProtobuf._Mes extension Anytype_Rpc.AI.WritingTools.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.AI.WritingTools.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "config"), - 2: .same(proto: "mode"), - 3: .same(proto: "language"), - 4: .same(proto: "text"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}config\0\u{1}mode\0\u{1}language\0\u{1}text\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -361,42 +356,16 @@ extension Anytype_Rpc.AI.WritingTools.Request: SwiftProtobuf.Message, SwiftProto } extension Anytype_Rpc.AI.WritingTools.Request.WritingMode: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "DEFAULT"), - 1: .same(proto: "SUMMARIZE"), - 2: .same(proto: "GRAMMAR"), - 3: .same(proto: "SHORTEN"), - 4: .same(proto: "EXPAND"), - 5: .same(proto: "BULLET"), - 6: .same(proto: "TABLE"), - 7: .same(proto: "CASUAL"), - 8: .same(proto: "FUNNY"), - 9: .same(proto: "CONFIDENT"), - 10: .same(proto: "STRAIGHTFORWARD"), - 11: .same(proto: "PROFESSIONAL"), - 12: .same(proto: "TRANSLATE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0DEFAULT\0\u{1}SUMMARIZE\0\u{1}GRAMMAR\0\u{1}SHORTEN\0\u{1}EXPAND\0\u{1}BULLET\0\u{1}TABLE\0\u{1}CASUAL\0\u{1}FUNNY\0\u{1}CONFIDENT\0\u{1}STRAIGHTFORWARD\0\u{1}PROFESSIONAL\0\u{1}TRANSLATE\0") } extension Anytype_Rpc.AI.WritingTools.Request.Language: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "EN"), - 1: .same(proto: "ES"), - 2: .same(proto: "FR"), - 3: .same(proto: "DE"), - 4: .same(proto: "IT"), - 5: .same(proto: "PT"), - 6: .same(proto: "HI"), - 7: .same(proto: "TH"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0EN\0\u{1}ES\0\u{1}FR\0\u{1}DE\0\u{1}IT\0\u{1}PT\0\u{1}HI\0\u{1}TH\0") } extension Anytype_Rpc.AI.WritingTools.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.AI.WritingTools.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "text"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}text\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -435,10 +404,7 @@ extension Anytype_Rpc.AI.WritingTools.Response: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.AI.WritingTools.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.AI.WritingTools.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -472,16 +438,7 @@ extension Anytype_Rpc.AI.WritingTools.Response.Error: SwiftProtobuf.Message, Swi } extension Anytype_Rpc.AI.WritingTools.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 100: .same(proto: "RATE_LIMIT_EXCEEDED"), - 101: .same(proto: "ENDPOINT_NOT_REACHABLE"), - 102: .same(proto: "MODEL_NOT_FOUND"), - 103: .same(proto: "AUTH_REQUIRED"), - 104: .same(proto: "LANGUAGE_NOT_SUPPORTED"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}b\u{1}RATE_LIMIT_EXCEEDED\0\u{1}ENDPOINT_NOT_REACHABLE\0\u{1}MODEL_NOT_FOUND\0\u{1}AUTH_REQUIRED\0\u{1}LANGUAGE_NOT_SUPPORTED\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ChangeJsonApiAddr.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ChangeJsonApiAddr.swift index adfb1b695d..51baadb9ee 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ChangeJsonApiAddr.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ChangeJsonApiAddr.swift @@ -134,9 +134,7 @@ extension Anytype_Rpc.Account.ChangeJsonApiAddr: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Account.ChangeJsonApiAddr.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.ChangeJsonApiAddr.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "listenAddr"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}listenAddr\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -166,9 +164,7 @@ extension Anytype_Rpc.Account.ChangeJsonApiAddr.Request: SwiftProtobuf.Message, extension Anytype_Rpc.Account.ChangeJsonApiAddr.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.ChangeJsonApiAddr.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\u{2}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -202,10 +198,7 @@ extension Anytype_Rpc.Account.ChangeJsonApiAddr.Response: SwiftProtobuf.Message, extension Anytype_Rpc.Account.ChangeJsonApiAddr.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.ChangeJsonApiAddr.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -239,12 +232,7 @@ extension Anytype_Rpc.Account.ChangeJsonApiAddr.Response.Error: SwiftProtobuf.Me } extension Anytype_Rpc.Account.ChangeJsonApiAddr.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 4: .same(proto: "ACCOUNT_IS_NOT_RUNNING"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}\u{2}ACCOUNT_IS_NOT_RUNNING\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.swift index 26b1357517..295d5056d3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.swift @@ -151,10 +151,7 @@ extension Anytype_Rpc.Account.ChangeNetworkConfigAndRestart: SwiftProtobuf.Messa extension Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "networkMode"), - 2: .same(proto: "networkCustomConfigFilePath"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}networkMode\0\u{1}networkCustomConfigFilePath\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -189,9 +186,7 @@ extension Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.Request: SwiftProtob extension Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\u{2}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -225,10 +220,7 @@ extension Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.Response: SwiftProto extension Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -262,16 +254,7 @@ extension Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.Response.Error: Swif } extension Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 4: .same(proto: "ACCOUNT_IS_NOT_RUNNING"), - 100: .same(proto: "ACCOUNT_FAILED_TO_STOP"), - 200: .same(proto: "CONFIG_FILE_NOT_FOUND"), - 201: .same(proto: "CONFIG_FILE_INVALID"), - 202: .same(proto: "CONFIG_FILE_NETWORK_ID_MISMATCH"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}\u{2}ACCOUNT_IS_NOT_RUNNING\0\u{2}`\u{1}ACCOUNT_FAILED_TO_STOP\0\u{2}d\u{1}CONFIG_FILE_NOT_FOUND\0\u{1}CONFIG_FILE_INVALID\0\u{1}CONFIG_FILE_NETWORK_ID_MISMATCH\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Config.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Config.swift index d24c26a2e9..c5e988c114 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Config.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Config.swift @@ -44,13 +44,7 @@ extension Anytype_Rpc.Account { extension Anytype_Rpc.Account.Config: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.protoMessageName + ".Config" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enableDataview"), - 2: .same(proto: "enableDebug"), - 3: .same(proto: "enablePrereleaseChannel"), - 4: .same(proto: "enableSpaces"), - 100: .same(proto: "extra"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}enableDataview\0\u{1}enableDebug\0\u{1}enablePrereleaseChannel\0\u{1}enableSpaces\0\u{2}`\u{1}extra\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ConfigUpdate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ConfigUpdate.swift index 1e57803e38..87647b310a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ConfigUpdate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ConfigUpdate.swift @@ -274,43 +274,12 @@ extension Anytype_Rpc.Account.ConfigUpdate: SwiftProtobuf.Message, SwiftProtobuf } extension Anytype_Rpc.Account.ConfigUpdate.Timezones: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "GMT"), - 1: .same(proto: "ECT"), - 2: .same(proto: "EET"), - 3: .same(proto: "EAT"), - 4: .same(proto: "MET"), - 5: .same(proto: "NET"), - 6: .same(proto: "PLT"), - 7: .same(proto: "IST"), - 8: .same(proto: "BST"), - 9: .same(proto: "VST"), - 10: .same(proto: "CTT"), - 11: .same(proto: "JST"), - 12: .same(proto: "ACT"), - 13: .same(proto: "AET"), - 14: .same(proto: "SST"), - 15: .same(proto: "NST"), - 16: .same(proto: "MIT"), - 17: .same(proto: "HST"), - 18: .same(proto: "AST"), - 19: .same(proto: "PST"), - 20: .same(proto: "MST"), - 21: .same(proto: "CST"), - 22: .same(proto: "IET"), - 23: .same(proto: "PRT"), - 24: .same(proto: "CNT"), - 25: .same(proto: "BET"), - 26: .same(proto: "BRT"), - 27: .same(proto: "CAT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0GMT\0\u{1}ECT\0\u{1}EET\0\u{1}EAT\0\u{1}MET\0\u{1}NET\0\u{1}PLT\0\u{1}IST\0\u{1}BST\0\u{1}VST\0\u{1}CTT\0\u{1}JST\0\u{1}ACT\0\u{1}AET\0\u{1}SST\0\u{1}NST\0\u{1}MIT\0\u{1}HST\0\u{1}AST\0\u{1}PST\0\u{1}MST\0\u{1}CST\0\u{1}IET\0\u{1}PRT\0\u{1}CNT\0\u{1}BET\0\u{1}BRT\0\u{1}CAT\0") } extension Anytype_Rpc.Account.ConfigUpdate.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.ConfigUpdate.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .same(proto: "IPFSStorageAddr"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\u{2}IPFSStorageAddr\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -340,9 +309,7 @@ extension Anytype_Rpc.Account.ConfigUpdate.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Account.ConfigUpdate.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.ConfigUpdate.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -376,10 +343,7 @@ extension Anytype_Rpc.Account.ConfigUpdate.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Account.ConfigUpdate.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.ConfigUpdate.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -413,13 +377,7 @@ extension Anytype_Rpc.Account.ConfigUpdate.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.Account.ConfigUpdate.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "ACCOUNT_IS_NOT_RUNNING"), - 102: .same(proto: "FAILED_TO_WRITE_CONFIG"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}ACCOUNT_IS_NOT_RUNNING\0\u{1}FAILED_TO_WRITE_CONFIG\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Create.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Create.swift index e577d4bda9..617f5b4e0d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Create.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Create.swift @@ -242,18 +242,7 @@ extension Anytype_Rpc.Account.Create: SwiftProtobuf.Message, SwiftProtobuf._Mess extension Anytype_Rpc.Account.Create.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Create.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "avatarLocalPath"), - 3: .same(proto: "storePath"), - 4: .same(proto: "icon"), - 5: .same(proto: "disableLocalNetworkSync"), - 6: .same(proto: "networkMode"), - 7: .same(proto: "networkCustomConfigFilePath"), - 8: .same(proto: "preferYamuxTransport"), - 9: .same(proto: "jsonApiListenAddr"), - 10: .same(proto: "joinStreamUrl"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}name\0\u{1}avatarLocalPath\0\u{1}storePath\0\u{1}icon\0\u{1}disableLocalNetworkSync\0\u{1}networkMode\0\u{1}networkCustomConfigFilePath\0\u{1}preferYamuxTransport\0\u{1}jsonApiListenAddr\0\u{1}joinStreamUrl\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -339,11 +328,7 @@ extension Anytype_Rpc.Account.Create.Request: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Account.Create.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Create.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "account"), - 3: .same(proto: "config"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}account\0\u{1}config\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -387,10 +372,7 @@ extension Anytype_Rpc.Account.Create.Response: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Account.Create.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Create.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -424,20 +406,7 @@ extension Anytype_Rpc.Account.Create.Response.Error: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.Account.Create.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "ACCOUNT_CREATED_BUT_FAILED_TO_START_NODE"), - 102: .same(proto: "ACCOUNT_CREATED_BUT_FAILED_TO_SET_NAME"), - 104: .same(proto: "FAILED_TO_STOP_RUNNING_NODE"), - 105: .same(proto: "FAILED_TO_WRITE_CONFIG"), - 106: .same(proto: "FAILED_TO_CREATE_LOCAL_REPO"), - 107: .same(proto: "ACCOUNT_CREATION_IS_CANCELED"), - 200: .same(proto: "CONFIG_FILE_NOT_FOUND"), - 201: .same(proto: "CONFIG_FILE_INVALID"), - 202: .same(proto: "CONFIG_FILE_NETWORK_ID_MISMATCH"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}ACCOUNT_CREATED_BUT_FAILED_TO_START_NODE\0\u{1}ACCOUNT_CREATED_BUT_FAILED_TO_SET_NAME\0\u{2}\u{2}FAILED_TO_STOP_RUNNING_NODE\0\u{1}FAILED_TO_WRITE_CONFIG\0\u{1}FAILED_TO_CREATE_LOCAL_REPO\0\u{1}ACCOUNT_CREATION_IS_CANCELED\0\u{2}]\u{1}CONFIG_FILE_NOT_FOUND\0\u{1}CONFIG_FILE_INVALID\0\u{1}CONFIG_FILE_NETWORK_ID_MISMATCH\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Delete.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Delete.swift index ced554d66c..92e45f0fca 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Delete.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Delete.swift @@ -169,10 +169,7 @@ extension Anytype_Rpc.Account.Delete.Request: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Account.Delete.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Delete.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "status"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}status\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -211,10 +208,7 @@ extension Anytype_Rpc.Account.Delete.Response: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Account.Delete.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Delete.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -248,13 +242,7 @@ extension Anytype_Rpc.Account.Delete.Response.Error: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.Account.Delete.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "ACCOUNT_IS_ALREADY_DELETED"), - 102: .same(proto: "UNABLE_TO_CONNECT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}ACCOUNT_IS_ALREADY_DELETED\0\u{1}UNABLE_TO_CONNECT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.EnableLocalNetworkSync.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.EnableLocalNetworkSync.swift index 5b2c4e67ce..def33a6dfc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.EnableLocalNetworkSync.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.EnableLocalNetworkSync.swift @@ -150,9 +150,7 @@ extension Anytype_Rpc.Account.EnableLocalNetworkSync.Request: SwiftProtobuf.Mess extension Anytype_Rpc.Account.EnableLocalNetworkSync.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.EnableLocalNetworkSync.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\u{2}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -186,10 +184,7 @@ extension Anytype_Rpc.Account.EnableLocalNetworkSync.Response: SwiftProtobuf.Mes extension Anytype_Rpc.Account.EnableLocalNetworkSync.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.EnableLocalNetworkSync.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -223,12 +218,7 @@ extension Anytype_Rpc.Account.EnableLocalNetworkSync.Response.Error: SwiftProtob } extension Anytype_Rpc.Account.EnableLocalNetworkSync.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 4: .same(proto: "ACCOUNT_IS_NOT_RUNNING"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}\u{2}ACCOUNT_IS_NOT_RUNNING\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.LocalLink.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.LocalLink.swift index 98dd1b46dc..9b6d742601 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.LocalLink.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.LocalLink.swift @@ -605,10 +605,7 @@ extension Anytype_Rpc.Account.LocalLink.NewChallenge: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Account.LocalLink.NewChallenge.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.LocalLink.NewChallenge.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "appName"), - 2: .same(proto: "scope"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}appName\0\u{1}scope\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -643,10 +640,7 @@ extension Anytype_Rpc.Account.LocalLink.NewChallenge.Request: SwiftProtobuf.Mess extension Anytype_Rpc.Account.LocalLink.NewChallenge.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.LocalLink.NewChallenge.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "challengeId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}challengeId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -685,10 +679,7 @@ extension Anytype_Rpc.Account.LocalLink.NewChallenge.Response: SwiftProtobuf.Mes extension Anytype_Rpc.Account.LocalLink.NewChallenge.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.LocalLink.NewChallenge.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -722,13 +713,7 @@ extension Anytype_Rpc.Account.LocalLink.NewChallenge.Response.Error: SwiftProtob } extension Anytype_Rpc.Account.LocalLink.NewChallenge.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "ACCOUNT_IS_NOT_RUNNING"), - 102: .same(proto: "TOO_MANY_REQUESTS"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}ACCOUNT_IS_NOT_RUNNING\0\u{1}TOO_MANY_REQUESTS\0") } extension Anytype_Rpc.Account.LocalLink.SolveChallenge: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -752,10 +737,7 @@ extension Anytype_Rpc.Account.LocalLink.SolveChallenge: SwiftProtobuf.Message, S extension Anytype_Rpc.Account.LocalLink.SolveChallenge.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.LocalLink.SolveChallenge.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "challengeId"), - 2: .same(proto: "answer"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}challengeId\0\u{1}answer\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -790,11 +772,7 @@ extension Anytype_Rpc.Account.LocalLink.SolveChallenge.Request: SwiftProtobuf.Me extension Anytype_Rpc.Account.LocalLink.SolveChallenge.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.LocalLink.SolveChallenge.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "sessionToken"), - 3: .same(proto: "appKey"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}sessionToken\0\u{1}appKey\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -838,10 +816,7 @@ extension Anytype_Rpc.Account.LocalLink.SolveChallenge.Response: SwiftProtobuf.M extension Anytype_Rpc.Account.LocalLink.SolveChallenge.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.LocalLink.SolveChallenge.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -875,15 +850,7 @@ extension Anytype_Rpc.Account.LocalLink.SolveChallenge.Response.Error: SwiftProt } extension Anytype_Rpc.Account.LocalLink.SolveChallenge.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "ACCOUNT_IS_NOT_RUNNING"), - 102: .same(proto: "INVALID_CHALLENGE_ID"), - 103: .same(proto: "CHALLENGE_ATTEMPTS_EXCEEDED"), - 104: .same(proto: "INCORRECT_ANSWER"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}ACCOUNT_IS_NOT_RUNNING\0\u{1}INVALID_CHALLENGE_ID\0\u{1}CHALLENGE_ATTEMPTS_EXCEEDED\0\u{1}INCORRECT_ANSWER\0") } extension Anytype_Rpc.Account.LocalLink.ListApps: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -926,10 +893,7 @@ extension Anytype_Rpc.Account.LocalLink.ListApps.Request: SwiftProtobuf.Message, extension Anytype_Rpc.Account.LocalLink.ListApps.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.LocalLink.ListApps.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "app"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}app\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -968,10 +932,7 @@ extension Anytype_Rpc.Account.LocalLink.ListApps.Response: SwiftProtobuf.Message extension Anytype_Rpc.Account.LocalLink.ListApps.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.LocalLink.ListApps.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1005,12 +966,7 @@ extension Anytype_Rpc.Account.LocalLink.ListApps.Response.Error: SwiftProtobuf.M } extension Anytype_Rpc.Account.LocalLink.ListApps.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "ACCOUNT_IS_NOT_RUNNING"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}ACCOUNT_IS_NOT_RUNNING\0") } extension Anytype_Rpc.Account.LocalLink.CreateApp: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -1034,9 +990,7 @@ extension Anytype_Rpc.Account.LocalLink.CreateApp: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Account.LocalLink.CreateApp.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.LocalLink.CreateApp.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "app"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}app\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1070,10 +1024,7 @@ extension Anytype_Rpc.Account.LocalLink.CreateApp.Request: SwiftProtobuf.Message extension Anytype_Rpc.Account.LocalLink.CreateApp.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.LocalLink.CreateApp.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "appKey"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}appKey\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1112,10 +1063,7 @@ extension Anytype_Rpc.Account.LocalLink.CreateApp.Response: SwiftProtobuf.Messag extension Anytype_Rpc.Account.LocalLink.CreateApp.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.LocalLink.CreateApp.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1149,12 +1097,7 @@ extension Anytype_Rpc.Account.LocalLink.CreateApp.Response.Error: SwiftProtobuf. } extension Anytype_Rpc.Account.LocalLink.CreateApp.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "ACCOUNT_IS_NOT_RUNNING"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}ACCOUNT_IS_NOT_RUNNING\0") } extension Anytype_Rpc.Account.LocalLink.RevokeApp: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -1178,9 +1121,7 @@ extension Anytype_Rpc.Account.LocalLink.RevokeApp: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Account.LocalLink.RevokeApp.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.LocalLink.RevokeApp.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "appHash"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}appHash\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1210,9 +1151,7 @@ extension Anytype_Rpc.Account.LocalLink.RevokeApp.Request: SwiftProtobuf.Message extension Anytype_Rpc.Account.LocalLink.RevokeApp.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.LocalLink.RevokeApp.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1246,10 +1185,7 @@ extension Anytype_Rpc.Account.LocalLink.RevokeApp.Response: SwiftProtobuf.Messag extension Anytype_Rpc.Account.LocalLink.RevokeApp.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.LocalLink.RevokeApp.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1283,13 +1219,7 @@ extension Anytype_Rpc.Account.LocalLink.RevokeApp.Response.Error: SwiftProtobuf. } extension Anytype_Rpc.Account.LocalLink.RevokeApp.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "NOT_FOUND"), - 101: .same(proto: "ACCOUNT_IS_NOT_RUNNING"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}NOT_FOUND\0\u{2}b\u{1}ACCOUNT_IS_NOT_RUNNING\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Migrate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Migrate.swift index 8a96488ef5..f76ac49579 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Migrate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Migrate.swift @@ -157,11 +157,7 @@ extension Anytype_Rpc.Account.Migrate: SwiftProtobuf.Message, SwiftProtobuf._Mes extension Anytype_Rpc.Account.Migrate.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Migrate.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "rootPath"), - 3: .same(proto: "fulltextPrimaryLanguage"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}rootPath\0\u{1}fulltextPrimaryLanguage\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -201,9 +197,7 @@ extension Anytype_Rpc.Account.Migrate.Request: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Account.Migrate.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Migrate.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -237,11 +231,7 @@ extension Anytype_Rpc.Account.Migrate.Response: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Account.Migrate.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Migrate.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - 3: .same(proto: "requiredSpace"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0\u{1}requiredSpace\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -280,14 +270,7 @@ extension Anytype_Rpc.Account.Migrate.Response.Error: SwiftProtobuf.Message, Swi } extension Anytype_Rpc.Account.Migrate.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "ACCOUNT_NOT_FOUND"), - 102: .same(proto: "CANCELED"), - 103: .same(proto: "NOT_ENOUGH_FREE_SPACE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}ACCOUNT_NOT_FOUND\0\u{1}CANCELED\0\u{1}NOT_ENOUGH_FREE_SPACE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.MigrateCancel.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.MigrateCancel.swift index 736e426444..71a44976e9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.MigrateCancel.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.MigrateCancel.swift @@ -136,9 +136,7 @@ extension Anytype_Rpc.Account.MigrateCancel: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Account.MigrateCancel.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.MigrateCancel.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -168,9 +166,7 @@ extension Anytype_Rpc.Account.MigrateCancel.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Account.MigrateCancel.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.MigrateCancel.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -204,10 +200,7 @@ extension Anytype_Rpc.Account.MigrateCancel.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Account.MigrateCancel.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.MigrateCancel.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -241,11 +234,7 @@ extension Anytype_Rpc.Account.MigrateCancel.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.Account.MigrateCancel.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Move.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Move.swift index 4c8915baa7..153aed94f3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Move.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Move.swift @@ -155,9 +155,7 @@ extension Anytype_Rpc.Account.Move: SwiftProtobuf.Message, SwiftProtobuf._Messag extension Anytype_Rpc.Account.Move.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Move.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "newPath"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}newPath\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -187,9 +185,7 @@ extension Anytype_Rpc.Account.Move.Request: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Account.Move.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Move.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -223,10 +219,7 @@ extension Anytype_Rpc.Account.Move.Response: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Account.Move.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Move.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -260,17 +253,7 @@ extension Anytype_Rpc.Account.Move.Response.Error: SwiftProtobuf.Message, SwiftP } extension Anytype_Rpc.Account.Move.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "FAILED_TO_STOP_NODE"), - 102: .same(proto: "FAILED_TO_IDENTIFY_ACCOUNT_DIR"), - 103: .same(proto: "FAILED_TO_REMOVE_ACCOUNT_DATA"), - 104: .same(proto: "FAILED_TO_CREATE_LOCAL_REPO"), - 105: .same(proto: "FAILED_TO_WRITE_CONFIG"), - 106: .same(proto: "FAILED_TO_GET_CONFIG"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}FAILED_TO_STOP_NODE\0\u{1}FAILED_TO_IDENTIFY_ACCOUNT_DIR\0\u{1}FAILED_TO_REMOVE_ACCOUNT_DATA\0\u{1}FAILED_TO_CREATE_LOCAL_REPO\0\u{1}FAILED_TO_WRITE_CONFIG\0\u{1}FAILED_TO_GET_CONFIG\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.NetworkMode.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.NetworkMode.swift index e669c731ea..c430291916 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.NetworkMode.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.NetworkMode.swift @@ -58,11 +58,7 @@ extension Anytype_Rpc.Account { }} extension Anytype_Rpc.Account.NetworkMode: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "DefaultConfig"), - 1: .same(proto: "LocalOnly"), - 2: .same(proto: "CustomConfig"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0DefaultConfig\0\u{1}LocalOnly\0\u{1}CustomConfig\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Recover.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Recover.swift index 10ceb56962..8d030f45f9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Recover.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Recover.swift @@ -160,9 +160,7 @@ extension Anytype_Rpc.Account.Recover.Request: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Account.Recover.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Recover.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -196,10 +194,7 @@ extension Anytype_Rpc.Account.Recover.Response: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Account.Recover.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Recover.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -233,12 +228,7 @@ extension Anytype_Rpc.Account.Recover.Response.Error: SwiftProtobuf.Message, Swi } extension Anytype_Rpc.Account.Recover.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 102: .same(proto: "NEED_TO_RECOVER_WALLET_FIRST"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}d\u{1}NEED_TO_RECOVER_WALLET_FIRST\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.RecoverFromLegacyExport.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.RecoverFromLegacyExport.swift index f8bf51208e..905e020c43 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.RecoverFromLegacyExport.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.RecoverFromLegacyExport.swift @@ -144,12 +144,7 @@ extension Anytype_Rpc.Account.RecoverFromLegacyExport: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Account.RecoverFromLegacyExport.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.RecoverFromLegacyExport.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "path"), - 2: .same(proto: "rootPath"), - 3: .same(proto: "icon"), - 4: .same(proto: "fulltextPrimaryLanguage"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}path\0\u{1}rootPath\0\u{1}icon\0\u{1}fulltextPrimaryLanguage\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -194,11 +189,7 @@ extension Anytype_Rpc.Account.RecoverFromLegacyExport.Request: SwiftProtobuf.Mes extension Anytype_Rpc.Account.RecoverFromLegacyExport.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.RecoverFromLegacyExport.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "accountId"), - 3: .same(proto: "personalSpaceId"), - 2: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}accountId\0\u{1}error\0\u{1}personalSpaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -242,10 +233,7 @@ extension Anytype_Rpc.Account.RecoverFromLegacyExport.Response: SwiftProtobuf.Me extension Anytype_Rpc.Account.RecoverFromLegacyExport.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.RecoverFromLegacyExport.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -279,12 +267,7 @@ extension Anytype_Rpc.Account.RecoverFromLegacyExport.Response.Error: SwiftProto } extension Anytype_Rpc.Account.RecoverFromLegacyExport.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "DIFFERENT_ACCOUNT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}DIFFERENT_ACCOUNT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.RevertDeletion.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.RevertDeletion.swift index 2a7e853e17..f7b64fdd12 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.RevertDeletion.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.RevertDeletion.swift @@ -169,10 +169,7 @@ extension Anytype_Rpc.Account.RevertDeletion.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Account.RevertDeletion.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.RevertDeletion.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "status"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}status\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -211,10 +208,7 @@ extension Anytype_Rpc.Account.RevertDeletion.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Account.RevertDeletion.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.RevertDeletion.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -248,13 +242,7 @@ extension Anytype_Rpc.Account.RevertDeletion.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.Account.RevertDeletion.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "ACCOUNT_IS_ACTIVE"), - 102: .same(proto: "UNABLE_TO_CONNECT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}ACCOUNT_IS_ACTIVE\0\u{1}UNABLE_TO_CONNECT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Select.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Select.swift index b8b56c91b5..4808f2c220 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Select.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Select.swift @@ -244,17 +244,7 @@ extension Anytype_Rpc.Account.Select: SwiftProtobuf.Message, SwiftProtobuf._Mess extension Anytype_Rpc.Account.Select.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Select.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "rootPath"), - 3: .same(proto: "disableLocalNetworkSync"), - 4: .same(proto: "networkMode"), - 5: .same(proto: "networkCustomConfigFilePath"), - 6: .same(proto: "preferYamuxTransport"), - 7: .same(proto: "jsonApiListenAddr"), - 8: .same(proto: "fulltextPrimaryLanguage"), - 9: .same(proto: "joinStreamURL"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}rootPath\0\u{1}disableLocalNetworkSync\0\u{1}networkMode\0\u{1}networkCustomConfigFilePath\0\u{1}preferYamuxTransport\0\u{1}jsonApiListenAddr\0\u{1}fulltextPrimaryLanguage\0\u{1}joinStreamURL\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -324,11 +314,7 @@ extension Anytype_Rpc.Account.Select.Request: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Account.Select.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Select.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "account"), - 3: .same(proto: "config"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}account\0\u{1}config\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -372,10 +358,7 @@ extension Anytype_Rpc.Account.Select.Response: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Account.Select.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Select.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -409,25 +392,7 @@ extension Anytype_Rpc.Account.Select.Response.Error: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.Account.Select.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "FAILED_TO_CREATE_LOCAL_REPO"), - 102: .same(proto: "LOCAL_REPO_EXISTS_BUT_CORRUPTED"), - 103: .same(proto: "FAILED_TO_RUN_NODE"), - 104: .same(proto: "FAILED_TO_FIND_ACCOUNT_INFO"), - 105: .same(proto: "LOCAL_REPO_NOT_EXISTS_AND_MNEMONIC_NOT_SET"), - 106: .same(proto: "FAILED_TO_STOP_SEARCHER_NODE"), - 108: .same(proto: "ANOTHER_ANYTYPE_PROCESS_IS_RUNNING"), - 110: .same(proto: "FAILED_TO_FETCH_REMOTE_NODE_HAS_INCOMPATIBLE_PROTO_VERSION"), - 111: .same(proto: "ACCOUNT_IS_DELETED"), - 112: .same(proto: "ACCOUNT_LOAD_IS_CANCELED"), - 113: .same(proto: "ACCOUNT_STORE_NOT_MIGRATED"), - 200: .same(proto: "CONFIG_FILE_NOT_FOUND"), - 201: .same(proto: "CONFIG_FILE_INVALID"), - 202: .same(proto: "CONFIG_FILE_NETWORK_ID_MISMATCH"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}FAILED_TO_CREATE_LOCAL_REPO\0\u{1}LOCAL_REPO_EXISTS_BUT_CORRUPTED\0\u{1}FAILED_TO_RUN_NODE\0\u{1}FAILED_TO_FIND_ACCOUNT_INFO\0\u{1}LOCAL_REPO_NOT_EXISTS_AND_MNEMONIC_NOT_SET\0\u{1}FAILED_TO_STOP_SEARCHER_NODE\0\u{2}\u{2}ANOTHER_ANYTYPE_PROCESS_IS_RUNNING\0\u{2}\u{2}FAILED_TO_FETCH_REMOTE_NODE_HAS_INCOMPATIBLE_PROTO_VERSION\0\u{1}ACCOUNT_IS_DELETED\0\u{1}ACCOUNT_LOAD_IS_CANCELED\0\u{1}ACCOUNT_STORE_NOT_MIGRATED\0\u{2}W\u{1}CONFIG_FILE_NOT_FOUND\0\u{1}CONFIG_FILE_INVALID\0\u{1}CONFIG_FILE_NETWORK_ID_MISMATCH\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Stop.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Stop.swift index 5c35918717..aedb942e5f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Stop.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Stop.swift @@ -152,9 +152,7 @@ extension Anytype_Rpc.Account.Stop: SwiftProtobuf.Message, SwiftProtobuf._Messag extension Anytype_Rpc.Account.Stop.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Stop.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "removeData"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}removeData\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -184,9 +182,7 @@ extension Anytype_Rpc.Account.Stop.Request: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Account.Stop.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Stop.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -220,10 +216,7 @@ extension Anytype_Rpc.Account.Stop.Response: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Account.Stop.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Account.Stop.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -257,14 +250,7 @@ extension Anytype_Rpc.Account.Stop.Response.Error: SwiftProtobuf.Message, SwiftP } extension Anytype_Rpc.Account.Stop.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "ACCOUNT_IS_NOT_RUNNING"), - 102: .same(proto: "FAILED_TO_STOP_NODE"), - 103: .same(proto: "FAILED_TO_REMOVE_ACCOUNT_DATA"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}ACCOUNT_IS_NOT_RUNNING\0\u{1}FAILED_TO_STOP_NODE\0\u{1}FAILED_TO_REMOVE_ACCOUNT_DATA\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.GetVersion.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.GetVersion.swift index ef680e3742..efc51fa1e4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.GetVersion.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.GetVersion.swift @@ -151,11 +151,7 @@ extension Anytype_Rpc.App.GetVersion.Request: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.App.GetVersion.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.App.GetVersion.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "version"), - 3: .same(proto: "details"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}version\0\u{1}details\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -199,10 +195,7 @@ extension Anytype_Rpc.App.GetVersion.Response: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.App.GetVersion.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.App.GetVersion.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -236,11 +229,7 @@ extension Anytype_Rpc.App.GetVersion.Response.Error: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.App.GetVersion.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.SetDeviceState.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.SetDeviceState.swift index a42542ab79..42dcadcfb3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.SetDeviceState.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.SetDeviceState.swift @@ -167,9 +167,7 @@ extension Anytype_Rpc.App.SetDeviceState: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.App.SetDeviceState.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.App.SetDeviceState.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "deviceState"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}deviceState\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -198,17 +196,12 @@ extension Anytype_Rpc.App.SetDeviceState.Request: SwiftProtobuf.Message, SwiftPr } extension Anytype_Rpc.App.SetDeviceState.Request.DeviceState: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "BACKGROUND"), - 1: .same(proto: "FOREGROUND"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0BACKGROUND\0\u{1}FOREGROUND\0") } extension Anytype_Rpc.App.SetDeviceState.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.App.SetDeviceState.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -242,10 +235,7 @@ extension Anytype_Rpc.App.SetDeviceState.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.App.SetDeviceState.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.App.SetDeviceState.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -279,11 +269,7 @@ extension Anytype_Rpc.App.SetDeviceState.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.App.SetDeviceState.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.Shutdown.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.Shutdown.swift index 12eecdf10d..c6b272a54d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.Shutdown.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.Shutdown.swift @@ -146,9 +146,7 @@ extension Anytype_Rpc.App.Shutdown.Request: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.App.Shutdown.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.App.Shutdown.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -182,10 +180,7 @@ extension Anytype_Rpc.App.Shutdown.Response: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.App.Shutdown.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.App.Shutdown.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -219,11 +214,7 @@ extension Anytype_Rpc.App.Shutdown.Response.Error: SwiftProtobuf.Message, SwiftP } extension Anytype_Rpc.App.Shutdown.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Copy.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Copy.swift index ec387035fa..1a697bb5fa 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Copy.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Copy.swift @@ -150,11 +150,7 @@ extension Anytype_Rpc.Block.Copy: SwiftProtobuf.Message, SwiftProtobuf._MessageI extension Anytype_Rpc.Block.Copy.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Copy.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blocks"), - 3: .same(proto: "selectedTextRange"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blocks\0\u{1}selectedTextRange\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -198,12 +194,7 @@ extension Anytype_Rpc.Block.Copy.Request: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.Block.Copy.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Copy.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "textSlot"), - 3: .same(proto: "htmlSlot"), - 4: .same(proto: "anySlot"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}textSlot\0\u{1}htmlSlot\0\u{1}anySlot\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -252,10 +243,7 @@ extension Anytype_Rpc.Block.Copy.Response: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Block.Copy.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Copy.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -289,11 +277,7 @@ extension Anytype_Rpc.Block.Copy.Response.Error: SwiftProtobuf.Message, SwiftPro } extension Anytype_Rpc.Block.Copy.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Create.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Create.swift index 2eaef44089..ee942c1d47 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Create.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Create.swift @@ -161,12 +161,7 @@ extension Anytype_Rpc.Block.Create: SwiftProtobuf.Message, SwiftProtobuf._Messag extension Anytype_Rpc.Block.Create.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Create.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "targetId"), - 3: .same(proto: "block"), - 4: .same(proto: "position"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}targetId\0\u{1}block\0\u{1}position\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -215,11 +210,7 @@ extension Anytype_Rpc.Block.Create.Request: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Block.Create.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Create.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "blockId"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}blockId\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -263,10 +254,7 @@ extension Anytype_Rpc.Block.Create.Response: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Block.Create.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Create.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -300,11 +288,7 @@ extension Anytype_Rpc.Block.Create.Response.Error: SwiftProtobuf.Message, SwiftP } extension Anytype_Rpc.Block.Create.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.CreateWidget.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.CreateWidget.swift index 7ee5be7e71..9a65864bb2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.CreateWidget.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.CreateWidget.swift @@ -166,15 +166,7 @@ extension Anytype_Rpc.Block.CreateWidget: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.Block.CreateWidget.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.CreateWidget.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "targetId"), - 3: .same(proto: "block"), - 4: .same(proto: "position"), - 5: .same(proto: "widgetLayout"), - 6: .same(proto: "objectLimit"), - 7: .same(proto: "viewId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}targetId\0\u{1}block\0\u{1}position\0\u{1}widgetLayout\0\u{1}objectLimit\0\u{1}viewId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -238,11 +230,7 @@ extension Anytype_Rpc.Block.CreateWidget.Request: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Block.CreateWidget.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.CreateWidget.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "blockId"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}blockId\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -286,10 +274,7 @@ extension Anytype_Rpc.Block.CreateWidget.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Block.CreateWidget.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.CreateWidget.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -323,11 +308,7 @@ extension Anytype_Rpc.Block.CreateWidget.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Block.CreateWidget.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Cut.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Cut.swift index b2385aca3a..0d407eed38 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Cut.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Cut.swift @@ -160,11 +160,7 @@ extension Anytype_Rpc.Block.Cut: SwiftProtobuf.Message, SwiftProtobuf._MessageIm extension Anytype_Rpc.Block.Cut.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Cut.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blocks"), - 3: .same(proto: "selectedTextRange"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blocks\0\u{1}selectedTextRange\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -208,13 +204,7 @@ extension Anytype_Rpc.Block.Cut.Request: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.Block.Cut.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Cut.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "textSlot"), - 3: .same(proto: "htmlSlot"), - 4: .same(proto: "anySlot"), - 5: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}textSlot\0\u{1}htmlSlot\0\u{1}anySlot\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,10 +258,7 @@ extension Anytype_Rpc.Block.Cut.Response: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.Block.Cut.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Cut.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -305,11 +292,7 @@ extension Anytype_Rpc.Block.Cut.Response.Error: SwiftProtobuf.Message, SwiftProt } extension Anytype_Rpc.Block.Cut.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Download.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Download.swift index 2256964844..f20eed3a2a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Download.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Download.swift @@ -143,10 +143,7 @@ extension Anytype_Rpc.Block.Download: SwiftProtobuf.Message, SwiftProtobuf._Mess extension Anytype_Rpc.Block.Download.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Download.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -181,10 +178,7 @@ extension Anytype_Rpc.Block.Download.Request: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Block.Download.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Download.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -223,10 +217,7 @@ extension Anytype_Rpc.Block.Download.Response: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Block.Download.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Download.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -260,11 +251,7 @@ extension Anytype_Rpc.Block.Download.Response.Error: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.Block.Download.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Export.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Export.swift index db4a4591e0..a34917caf9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Export.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Export.swift @@ -145,10 +145,7 @@ extension Anytype_Rpc.Block.Export: SwiftProtobuf.Message, SwiftProtobuf._Messag extension Anytype_Rpc.Block.Export.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Export.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blocks"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blocks\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -183,11 +180,7 @@ extension Anytype_Rpc.Block.Export.Request: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Block.Export.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Export.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "path"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}path\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -231,10 +224,7 @@ extension Anytype_Rpc.Block.Export.Response: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Block.Export.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Export.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,11 +258,7 @@ extension Anytype_Rpc.Block.Export.Response.Error: SwiftProtobuf.Message, SwiftP } extension Anytype_Rpc.Block.Export.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListConvertToObjects.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListConvertToObjects.swift index db3d336f62..b86621f916 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListConvertToObjects.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListConvertToObjects.swift @@ -160,13 +160,7 @@ extension Anytype_Rpc.Block.ListConvertToObjects: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Block.ListConvertToObjects.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListConvertToObjects.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - 3: .same(proto: "objectTypeUniqueKey"), - 4: .same(proto: "templateId"), - 5: .same(proto: "block"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0\u{1}objectTypeUniqueKey\0\u{1}templateId\0\u{1}block\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -220,11 +214,7 @@ extension Anytype_Rpc.Block.ListConvertToObjects.Request: SwiftProtobuf.Message, extension Anytype_Rpc.Block.ListConvertToObjects.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListConvertToObjects.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "linkIds"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}linkIds\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,10 +258,7 @@ extension Anytype_Rpc.Block.ListConvertToObjects.Response: SwiftProtobuf.Message extension Anytype_Rpc.Block.ListConvertToObjects.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListConvertToObjects.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -305,11 +292,7 @@ extension Anytype_Rpc.Block.ListConvertToObjects.Response.Error: SwiftProtobuf.M } extension Anytype_Rpc.Block.ListConvertToObjects.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListDelete.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListDelete.swift index 0ebc124f4e..c5336ee722 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListDelete.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListDelete.swift @@ -145,10 +145,7 @@ extension Anytype_Rpc.Block.ListDelete: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Rpc.Block.ListDelete.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListDelete.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -183,10 +180,7 @@ extension Anytype_Rpc.Block.ListDelete.Request: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Block.ListDelete.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListDelete.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -225,10 +219,7 @@ extension Anytype_Rpc.Block.ListDelete.Response: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Block.ListDelete.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListDelete.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -262,11 +253,7 @@ extension Anytype_Rpc.Block.ListDelete.Response.Error: SwiftProtobuf.Message, Sw } extension Anytype_Rpc.Block.ListDelete.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListDuplicate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListDuplicate.swift index c7ec7aa4e9..b0102e20d2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListDuplicate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListDuplicate.swift @@ -154,13 +154,7 @@ extension Anytype_Rpc.Block.ListDuplicate: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Block.ListDuplicate.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListDuplicate.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "targetId"), - 3: .same(proto: "blockIds"), - 4: .same(proto: "position"), - 5: .same(proto: "targetContextId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}targetId\0\u{1}blockIds\0\u{1}position\0\u{1}targetContextId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -210,11 +204,7 @@ extension Anytype_Rpc.Block.ListDuplicate.Request: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Block.ListDuplicate.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListDuplicate.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "blockIds"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}blockIds\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -258,10 +248,7 @@ extension Anytype_Rpc.Block.ListDuplicate.Response: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Block.ListDuplicate.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListDuplicate.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -295,11 +282,7 @@ extension Anytype_Rpc.Block.ListDuplicate.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Block.ListDuplicate.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListMoveToExistingObject.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListMoveToExistingObject.swift index 9c956b7173..1af516badc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListMoveToExistingObject.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListMoveToExistingObject.swift @@ -151,13 +151,7 @@ extension Anytype_Rpc.Block.ListMoveToExistingObject: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Block.ListMoveToExistingObject.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListMoveToExistingObject.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - 3: .same(proto: "targetContextId"), - 4: .same(proto: "dropTargetId"), - 5: .same(proto: "position"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0\u{1}targetContextId\0\u{1}dropTargetId\0\u{1}position\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -207,10 +201,7 @@ extension Anytype_Rpc.Block.ListMoveToExistingObject.Request: SwiftProtobuf.Mess extension Anytype_Rpc.Block.ListMoveToExistingObject.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListMoveToExistingObject.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -249,10 +240,7 @@ extension Anytype_Rpc.Block.ListMoveToExistingObject.Response: SwiftProtobuf.Mes extension Anytype_Rpc.Block.ListMoveToExistingObject.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListMoveToExistingObject.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -286,11 +274,7 @@ extension Anytype_Rpc.Block.ListMoveToExistingObject.Response.Error: SwiftProtob } extension Anytype_Rpc.Block.ListMoveToExistingObject.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListMoveToNewObject.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListMoveToNewObject.swift index 03cc593e4b..30a5aa2439 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListMoveToNewObject.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListMoveToNewObject.swift @@ -163,13 +163,7 @@ extension Anytype_Rpc.Block.ListMoveToNewObject: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Block.ListMoveToNewObject.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListMoveToNewObject.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - 3: .same(proto: "details"), - 4: .same(proto: "dropTargetId"), - 5: .same(proto: "position"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0\u{1}details\0\u{1}dropTargetId\0\u{1}position\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -223,11 +217,7 @@ extension Anytype_Rpc.Block.ListMoveToNewObject.Request: SwiftProtobuf.Message, extension Anytype_Rpc.Block.ListMoveToNewObject.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListMoveToNewObject.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "linkId"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}linkId\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -271,10 +261,7 @@ extension Anytype_Rpc.Block.ListMoveToNewObject.Response: SwiftProtobuf.Message, extension Anytype_Rpc.Block.ListMoveToNewObject.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListMoveToNewObject.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -308,11 +295,7 @@ extension Anytype_Rpc.Block.ListMoveToNewObject.Response.Error: SwiftProtobuf.Me } extension Anytype_Rpc.Block.ListMoveToNewObject.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetAlign.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetAlign.swift index b2ba4f8899..da4efe2981 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetAlign.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetAlign.swift @@ -146,11 +146,7 @@ extension Anytype_Rpc.Block.ListSetAlign: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.Block.ListSetAlign.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListSetAlign.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - 3: .same(proto: "align"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0\u{1}align\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -190,10 +186,7 @@ extension Anytype_Rpc.Block.ListSetAlign.Request: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Block.ListSetAlign.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListSetAlign.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -232,10 +225,7 @@ extension Anytype_Rpc.Block.ListSetAlign.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Block.ListSetAlign.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListSetAlign.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -269,11 +259,7 @@ extension Anytype_Rpc.Block.ListSetAlign.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Block.ListSetAlign.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetBackgroundColor.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetBackgroundColor.swift index 93aa338b99..38e4a24f9a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetBackgroundColor.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetBackgroundColor.swift @@ -145,11 +145,7 @@ extension Anytype_Rpc.Block.ListSetBackgroundColor: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Block.ListSetBackgroundColor.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListSetBackgroundColor.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - 3: .same(proto: "color"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0\u{1}color\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -189,10 +185,7 @@ extension Anytype_Rpc.Block.ListSetBackgroundColor.Request: SwiftProtobuf.Messag extension Anytype_Rpc.Block.ListSetBackgroundColor.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListSetBackgroundColor.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -231,10 +224,7 @@ extension Anytype_Rpc.Block.ListSetBackgroundColor.Response: SwiftProtobuf.Messa extension Anytype_Rpc.Block.ListSetBackgroundColor.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListSetBackgroundColor.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,11 +258,7 @@ extension Anytype_Rpc.Block.ListSetBackgroundColor.Response.Error: SwiftProtobuf } extension Anytype_Rpc.Block.ListSetBackgroundColor.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetFields.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetFields.swift index 9676c5a15e..23c69f224f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetFields.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetFields.swift @@ -166,10 +166,7 @@ extension Anytype_Rpc.Block.ListSetFields: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Block.ListSetFields.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListSetFields.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockFields"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockFields\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -204,10 +201,7 @@ extension Anytype_Rpc.Block.ListSetFields.Request: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Block.ListSetFields.Request.BlockField: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListSetFields.Request.protoMessageName + ".BlockField" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "blockId"), - 2: .same(proto: "fields"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}blockId\0\u{1}fields\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -246,10 +240,7 @@ extension Anytype_Rpc.Block.ListSetFields.Request.BlockField: SwiftProtobuf.Mess extension Anytype_Rpc.Block.ListSetFields.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListSetFields.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -288,10 +279,7 @@ extension Anytype_Rpc.Block.ListSetFields.Response: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Block.ListSetFields.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListSetFields.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -325,11 +313,7 @@ extension Anytype_Rpc.Block.ListSetFields.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Block.ListSetFields.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetVerticalAlign.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetVerticalAlign.swift index a1d680a7dc..9a905cf9dd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetVerticalAlign.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetVerticalAlign.swift @@ -146,11 +146,7 @@ extension Anytype_Rpc.Block.ListSetVerticalAlign: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Block.ListSetVerticalAlign.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListSetVerticalAlign.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - 3: .same(proto: "verticalAlign"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0\u{1}verticalAlign\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -190,10 +186,7 @@ extension Anytype_Rpc.Block.ListSetVerticalAlign.Request: SwiftProtobuf.Message, extension Anytype_Rpc.Block.ListSetVerticalAlign.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListSetVerticalAlign.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -232,10 +225,7 @@ extension Anytype_Rpc.Block.ListSetVerticalAlign.Response: SwiftProtobuf.Message extension Anytype_Rpc.Block.ListSetVerticalAlign.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListSetVerticalAlign.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -269,11 +259,7 @@ extension Anytype_Rpc.Block.ListSetVerticalAlign.Response.Error: SwiftProtobuf.M } extension Anytype_Rpc.Block.ListSetVerticalAlign.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListTurnInto.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListTurnInto.swift index 0fcc65f973..448038d68b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListTurnInto.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListTurnInto.swift @@ -145,11 +145,7 @@ extension Anytype_Rpc.Block.ListTurnInto: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.Block.ListTurnInto.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListTurnInto.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - 3: .same(proto: "style"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0\u{1}style\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -189,10 +185,7 @@ extension Anytype_Rpc.Block.ListTurnInto.Request: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Block.ListTurnInto.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListTurnInto.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -231,10 +224,7 @@ extension Anytype_Rpc.Block.ListTurnInto.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Block.ListTurnInto.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListTurnInto.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,11 +258,7 @@ extension Anytype_Rpc.Block.ListTurnInto.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Block.ListTurnInto.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListUpdate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListUpdate.swift index 20b552bf75..dbafa89d87 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListUpdate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListUpdate.swift @@ -161,16 +161,7 @@ extension Anytype_Rpc.Block.ListUpdate: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Rpc.Block.ListUpdate.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListUpdate.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - 3: .same(proto: "text"), - 4: .same(proto: "backgroundColor"), - 5: .same(proto: "align"), - 6: .same(proto: "fields"), - 7: .same(proto: "divStyle"), - 8: .same(proto: "fileStyle"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0\u{1}text\0\u{1}backgroundColor\0\u{1}align\0\u{1}fields\0\u{1}divStyle\0\u{1}fileStyle\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -295,11 +286,7 @@ extension Anytype_Rpc.Block.ListUpdate.Request: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Block.ListUpdate.Request.Text: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.ListUpdate.Request.protoMessageName + ".Text" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "style"), - 2: .same(proto: "color"), - 3: .same(proto: "mark"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}style\0\u{1}color\0\u{1}mark\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Merge.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Merge.swift index af81f421f5..0738bc62cc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Merge.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Merge.swift @@ -145,11 +145,7 @@ extension Anytype_Rpc.Block.Merge: SwiftProtobuf.Message, SwiftProtobuf._Message extension Anytype_Rpc.Block.Merge.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Merge.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "firstBlockId"), - 3: .same(proto: "secondBlockId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}firstBlockId\0\u{1}secondBlockId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -189,10 +185,7 @@ extension Anytype_Rpc.Block.Merge.Request: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Block.Merge.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Merge.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -231,10 +224,7 @@ extension Anytype_Rpc.Block.Merge.Response: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Block.Merge.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Merge.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,11 +258,7 @@ extension Anytype_Rpc.Block.Merge.Response.Error: SwiftProtobuf.Message, SwiftPr } extension Anytype_Rpc.Block.Merge.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Paste.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Paste.swift index 773c9b99cf..88f1f5c57e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Paste.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Paste.swift @@ -53,7 +53,7 @@ extension Anytype_Rpc.Block { public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct File: @unchecked Sendable { + public struct File: Sendable { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. @@ -190,18 +190,7 @@ extension Anytype_Rpc.Block.Paste: SwiftProtobuf.Message, SwiftProtobuf._Message extension Anytype_Rpc.Block.Paste.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Paste.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "focusedBlockId"), - 3: .same(proto: "selectedTextRange"), - 4: .same(proto: "selectedBlockIds"), - 5: .same(proto: "isPartOfBlock"), - 6: .same(proto: "textSlot"), - 7: .same(proto: "htmlSlot"), - 8: .same(proto: "anySlot"), - 9: .same(proto: "fileSlot"), - 10: .same(proto: "url"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}focusedBlockId\0\u{1}selectedTextRange\0\u{1}selectedBlockIds\0\u{1}isPartOfBlock\0\u{1}textSlot\0\u{1}htmlSlot\0\u{1}anySlot\0\u{1}fileSlot\0\u{1}url\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -280,11 +269,7 @@ extension Anytype_Rpc.Block.Paste.Request: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Block.Paste.Request.File: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Paste.Request.protoMessageName + ".File" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "data"), - 3: .same(proto: "localPath"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}name\0\u{1}data\0\u{1}localPath\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -324,13 +309,7 @@ extension Anytype_Rpc.Block.Paste.Request.File: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Block.Paste.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Paste.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "blockIds"), - 3: .same(proto: "caretPosition"), - 4: .same(proto: "isSameBlockCaret"), - 5: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}blockIds\0\u{1}caretPosition\0\u{1}isSameBlockCaret\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -384,10 +363,7 @@ extension Anytype_Rpc.Block.Paste.Response: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Block.Paste.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Paste.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -421,11 +397,7 @@ extension Anytype_Rpc.Block.Paste.Response.Error: SwiftProtobuf.Message, SwiftPr } extension Anytype_Rpc.Block.Paste.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Preview.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Preview.swift index 005057069d..c885999b3b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Preview.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Preview.swift @@ -133,10 +133,7 @@ extension Anytype_Rpc.Block.Preview: SwiftProtobuf.Message, SwiftProtobuf._Messa extension Anytype_Rpc.Block.Preview.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Preview.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "html"), - 2: .same(proto: "url"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}html\0\u{1}url\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -171,10 +168,7 @@ extension Anytype_Rpc.Block.Preview.Request: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Block.Preview.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Preview.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "blocks"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}blocks\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -213,10 +207,7 @@ extension Anytype_Rpc.Block.Preview.Response: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Block.Preview.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Preview.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -250,11 +241,7 @@ extension Anytype_Rpc.Block.Preview.Response.Error: SwiftProtobuf.Message, Swift } extension Anytype_Rpc.Block.Preview.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Replace.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Replace.swift index 3820cb709e..68a4616661 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Replace.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Replace.swift @@ -156,11 +156,7 @@ extension Anytype_Rpc.Block.Replace: SwiftProtobuf.Message, SwiftProtobuf._Messa extension Anytype_Rpc.Block.Replace.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Replace.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "block"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}block\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -204,11 +200,7 @@ extension Anytype_Rpc.Block.Replace.Request: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Block.Replace.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Replace.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "blockId"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}blockId\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -252,10 +244,7 @@ extension Anytype_Rpc.Block.Replace.Response: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Block.Replace.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Replace.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -289,11 +278,7 @@ extension Anytype_Rpc.Block.Replace.Response.Error: SwiftProtobuf.Message, Swift } extension Anytype_Rpc.Block.Replace.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.SetCarriage.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.SetCarriage.swift index de48795435..ecaca05ed8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.SetCarriage.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.SetCarriage.swift @@ -142,11 +142,7 @@ extension Anytype_Rpc.Block.SetCarriage: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.Block.SetCarriage.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.SetCarriage.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "range"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}range\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -190,9 +186,7 @@ extension Anytype_Rpc.Block.SetCarriage.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Block.SetCarriage.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.SetCarriage.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -226,10 +220,7 @@ extension Anytype_Rpc.Block.SetCarriage.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Block.SetCarriage.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.SetCarriage.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -263,11 +254,7 @@ extension Anytype_Rpc.Block.SetCarriage.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.Block.SetCarriage.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.SetFields.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.SetFields.swift index de17e65985..29ba07bdde 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.SetFields.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.SetFields.swift @@ -154,11 +154,7 @@ extension Anytype_Rpc.Block.SetFields: SwiftProtobuf.Message, SwiftProtobuf._Mes extension Anytype_Rpc.Block.SetFields.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.SetFields.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "fields"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}fields\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -202,10 +198,7 @@ extension Anytype_Rpc.Block.SetFields.Request: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Block.SetFields.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.SetFields.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -244,10 +237,7 @@ extension Anytype_Rpc.Block.SetFields.Response: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Block.SetFields.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.SetFields.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -281,11 +271,7 @@ extension Anytype_Rpc.Block.SetFields.Response.Error: SwiftProtobuf.Message, Swi } extension Anytype_Rpc.Block.SetFields.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Split.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Split.swift index 240f1ecb00..5232416ab1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Split.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Split.swift @@ -210,13 +210,7 @@ extension Anytype_Rpc.Block.Split: SwiftProtobuf.Message, SwiftProtobuf._Message extension Anytype_Rpc.Block.Split.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Split.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "range"), - 4: .same(proto: "style"), - 5: .same(proto: "mode"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}range\0\u{1}style\0\u{1}mode\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -269,21 +263,12 @@ extension Anytype_Rpc.Block.Split.Request: SwiftProtobuf.Message, SwiftProtobuf. } extension Anytype_Rpc.Block.Split.Request.Mode: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "BOTTOM"), - 1: .same(proto: "TOP"), - 2: .same(proto: "INNER"), - 3: .same(proto: "TITLE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0BOTTOM\0\u{1}TOP\0\u{1}INNER\0\u{1}TITLE\0") } extension Anytype_Rpc.Block.Split.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Split.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "blockId"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}blockId\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -327,10 +312,7 @@ extension Anytype_Rpc.Block.Split.Response: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Block.Split.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Split.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -364,11 +346,7 @@ extension Anytype_Rpc.Block.Split.Response.Error: SwiftProtobuf.Message, SwiftPr } extension Anytype_Rpc.Block.Split.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Upload.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Upload.swift index a5face9eac..21cbbc9fa0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Upload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Upload.swift @@ -19,7 +19,7 @@ extension Anytype_Rpc.Block { public var unknownFields = SwiftProtobuf.UnknownStorage() - public struct Request: @unchecked Sendable { + public struct Request: Sendable { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. @@ -149,13 +149,7 @@ extension Anytype_Rpc.Block.Upload: SwiftProtobuf.Message, SwiftProtobuf._Messag extension Anytype_Rpc.Block.Upload.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Upload.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "filePath"), - 4: .same(proto: "url"), - 5: .same(proto: "bytes"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}filePath\0\u{1}url\0\u{1}bytes\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -205,10 +199,7 @@ extension Anytype_Rpc.Block.Upload.Request: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Block.Upload.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Upload.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -247,10 +238,7 @@ extension Anytype_Rpc.Block.Upload.Response: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Block.Upload.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Block.Upload.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -284,11 +272,7 @@ extension Anytype_Rpc.Block.Upload.Response.Error: SwiftProtobuf.Message, SwiftP } extension Anytype_Rpc.Block.Upload.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.CreateAndFetch.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.CreateAndFetch.swift index bbe4318306..bc28f22d0c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.CreateAndFetch.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.CreateAndFetch.swift @@ -149,13 +149,7 @@ extension Anytype_Rpc.BlockBookmark.CreateAndFetch: SwiftProtobuf.Message, Swift extension Anytype_Rpc.BlockBookmark.CreateAndFetch.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockBookmark.CreateAndFetch.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "targetId"), - 3: .same(proto: "position"), - 4: .same(proto: "url"), - 5: .same(proto: "templateId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}targetId\0\u{1}position\0\u{1}url\0\u{1}templateId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -205,11 +199,7 @@ extension Anytype_Rpc.BlockBookmark.CreateAndFetch.Request: SwiftProtobuf.Messag extension Anytype_Rpc.BlockBookmark.CreateAndFetch.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockBookmark.CreateAndFetch.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "blockId"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}blockId\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -253,10 +243,7 @@ extension Anytype_Rpc.BlockBookmark.CreateAndFetch.Response: SwiftProtobuf.Messa extension Anytype_Rpc.BlockBookmark.CreateAndFetch.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockBookmark.CreateAndFetch.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -290,11 +277,7 @@ extension Anytype_Rpc.BlockBookmark.CreateAndFetch.Response.Error: SwiftProtobuf } extension Anytype_Rpc.BlockBookmark.CreateAndFetch.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.Fetch.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.Fetch.swift index f2a4327c82..51abc5a605 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.Fetch.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.Fetch.swift @@ -145,12 +145,7 @@ extension Anytype_Rpc.BlockBookmark.Fetch: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.BlockBookmark.Fetch.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockBookmark.Fetch.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "url"), - 4: .same(proto: "templateId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}url\0\u{1}templateId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -195,10 +190,7 @@ extension Anytype_Rpc.BlockBookmark.Fetch.Request: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.BlockBookmark.Fetch.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockBookmark.Fetch.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -237,10 +229,7 @@ extension Anytype_Rpc.BlockBookmark.Fetch.Response: SwiftProtobuf.Message, Swift extension Anytype_Rpc.BlockBookmark.Fetch.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockBookmark.Fetch.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -274,11 +263,7 @@ extension Anytype_Rpc.BlockBookmark.Fetch.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.BlockBookmark.Fetch.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.CreateFromExistingObject.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.CreateFromExistingObject.swift index 0f44e34bc9..40a74a4eaf 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.CreateFromExistingObject.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.CreateFromExistingObject.swift @@ -151,11 +151,7 @@ extension Anytype_Rpc.BlockDataview.CreateFromExistingObject: SwiftProtobuf.Mess extension Anytype_Rpc.BlockDataview.CreateFromExistingObject.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.CreateFromExistingObject.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "targetObjectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}targetObjectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -195,13 +191,7 @@ extension Anytype_Rpc.BlockDataview.CreateFromExistingObject.Request: SwiftProto extension Anytype_Rpc.BlockDataview.CreateFromExistingObject.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.CreateFromExistingObject.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "blockId"), - 3: .same(proto: "targetObjectId"), - 4: .same(proto: "view"), - 5: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}blockId\0\u{1}targetObjectId\0\u{1}view\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -255,10 +245,7 @@ extension Anytype_Rpc.BlockDataview.CreateFromExistingObject.Response: SwiftProt extension Anytype_Rpc.BlockDataview.CreateFromExistingObject.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.CreateFromExistingObject.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -292,11 +279,7 @@ extension Anytype_Rpc.BlockDataview.CreateFromExistingObject.Response.Error: Swi } extension Anytype_Rpc.BlockDataview.CreateFromExistingObject.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Filter.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Filter.swift index e3bc2ee933..2cabc7e246 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Filter.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Filter.swift @@ -536,12 +536,7 @@ extension Anytype_Rpc.BlockDataview.Filter.Add: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.BlockDataview.Filter.Add.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Filter.Add.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "viewId"), - 4: .same(proto: "filter"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}viewId\0\u{1}filter\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -590,10 +585,7 @@ extension Anytype_Rpc.BlockDataview.Filter.Add.Request: SwiftProtobuf.Message, S extension Anytype_Rpc.BlockDataview.Filter.Add.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Filter.Add.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -632,10 +624,7 @@ extension Anytype_Rpc.BlockDataview.Filter.Add.Response: SwiftProtobuf.Message, extension Anytype_Rpc.BlockDataview.Filter.Add.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Filter.Add.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -669,11 +658,7 @@ extension Anytype_Rpc.BlockDataview.Filter.Add.Response.Error: SwiftProtobuf.Mes } extension Anytype_Rpc.BlockDataview.Filter.Add.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } extension Anytype_Rpc.BlockDataview.Filter.Remove: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -697,12 +682,7 @@ extension Anytype_Rpc.BlockDataview.Filter.Remove: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.BlockDataview.Filter.Remove.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Filter.Remove.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "viewId"), - 4: .same(proto: "ids"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}viewId\0\u{1}ids\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -747,10 +727,7 @@ extension Anytype_Rpc.BlockDataview.Filter.Remove.Request: SwiftProtobuf.Message extension Anytype_Rpc.BlockDataview.Filter.Remove.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Filter.Remove.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -789,10 +766,7 @@ extension Anytype_Rpc.BlockDataview.Filter.Remove.Response: SwiftProtobuf.Messag extension Anytype_Rpc.BlockDataview.Filter.Remove.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Filter.Remove.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -826,11 +800,7 @@ extension Anytype_Rpc.BlockDataview.Filter.Remove.Response.Error: SwiftProtobuf. } extension Anytype_Rpc.BlockDataview.Filter.Remove.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } extension Anytype_Rpc.BlockDataview.Filter.Replace: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -854,13 +824,7 @@ extension Anytype_Rpc.BlockDataview.Filter.Replace: SwiftProtobuf.Message, Swift extension Anytype_Rpc.BlockDataview.Filter.Replace.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Filter.Replace.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "viewId"), - 4: .same(proto: "id"), - 5: .same(proto: "filter"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}viewId\0\u{1}id\0\u{1}filter\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -914,10 +878,7 @@ extension Anytype_Rpc.BlockDataview.Filter.Replace.Request: SwiftProtobuf.Messag extension Anytype_Rpc.BlockDataview.Filter.Replace.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Filter.Replace.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -956,10 +917,7 @@ extension Anytype_Rpc.BlockDataview.Filter.Replace.Response: SwiftProtobuf.Messa extension Anytype_Rpc.BlockDataview.Filter.Replace.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Filter.Replace.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -993,11 +951,7 @@ extension Anytype_Rpc.BlockDataview.Filter.Replace.Response.Error: SwiftProtobuf } extension Anytype_Rpc.BlockDataview.Filter.Replace.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } extension Anytype_Rpc.BlockDataview.Filter.Sort: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -1021,12 +975,7 @@ extension Anytype_Rpc.BlockDataview.Filter.Sort: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.BlockDataview.Filter.Sort.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Filter.Sort.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "viewId"), - 4: .same(proto: "ids"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}viewId\0\u{1}ids\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1071,10 +1020,7 @@ extension Anytype_Rpc.BlockDataview.Filter.Sort.Request: SwiftProtobuf.Message, extension Anytype_Rpc.BlockDataview.Filter.Sort.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Filter.Sort.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1113,10 +1059,7 @@ extension Anytype_Rpc.BlockDataview.Filter.Sort.Response: SwiftProtobuf.Message, extension Anytype_Rpc.BlockDataview.Filter.Sort.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Filter.Sort.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1150,11 +1093,7 @@ extension Anytype_Rpc.BlockDataview.Filter.Sort.Response.Error: SwiftProtobuf.Me } extension Anytype_Rpc.BlockDataview.Filter.Sort.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.GroupOrder.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.GroupOrder.swift index 1ed9211436..f8bf7b6a16 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.GroupOrder.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.GroupOrder.swift @@ -181,11 +181,7 @@ extension Anytype_Rpc.BlockDataview.GroupOrder.Update: SwiftProtobuf.Message, Sw extension Anytype_Rpc.BlockDataview.GroupOrder.Update.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.GroupOrder.Update.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "groupOrder"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}groupOrder\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,10 +225,7 @@ extension Anytype_Rpc.BlockDataview.GroupOrder.Update.Request: SwiftProtobuf.Mes extension Anytype_Rpc.BlockDataview.GroupOrder.Update.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.GroupOrder.Update.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -271,10 +264,7 @@ extension Anytype_Rpc.BlockDataview.GroupOrder.Update.Response: SwiftProtobuf.Me extension Anytype_Rpc.BlockDataview.GroupOrder.Update.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.GroupOrder.Update.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -308,11 +298,7 @@ extension Anytype_Rpc.BlockDataview.GroupOrder.Update.Response.Error: SwiftProto } extension Anytype_Rpc.BlockDataview.GroupOrder.Update.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.ObjectOrder.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.ObjectOrder.swift index c40dfa9af6..74b4af49bd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.ObjectOrder.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.ObjectOrder.swift @@ -287,11 +287,7 @@ extension Anytype_Rpc.BlockDataview.ObjectOrder.Update: SwiftProtobuf.Message, S extension Anytype_Rpc.BlockDataview.ObjectOrder.Update.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.ObjectOrder.Update.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "objectOrders"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}objectOrders\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -331,10 +327,7 @@ extension Anytype_Rpc.BlockDataview.ObjectOrder.Update.Request: SwiftProtobuf.Me extension Anytype_Rpc.BlockDataview.ObjectOrder.Update.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.ObjectOrder.Update.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -373,10 +366,7 @@ extension Anytype_Rpc.BlockDataview.ObjectOrder.Update.Response: SwiftProtobuf.M extension Anytype_Rpc.BlockDataview.ObjectOrder.Update.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.ObjectOrder.Update.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -410,11 +400,7 @@ extension Anytype_Rpc.BlockDataview.ObjectOrder.Update.Response.Error: SwiftProt } extension Anytype_Rpc.BlockDataview.ObjectOrder.Update.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } extension Anytype_Rpc.BlockDataview.ObjectOrder.Move: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -438,14 +424,7 @@ extension Anytype_Rpc.BlockDataview.ObjectOrder.Move: SwiftProtobuf.Message, Swi extension Anytype_Rpc.BlockDataview.ObjectOrder.Move.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.ObjectOrder.Move.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "viewId"), - 4: .same(proto: "groupId"), - 5: .same(proto: "afterId"), - 6: .same(proto: "objectIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}viewId\0\u{1}groupId\0\u{1}afterId\0\u{1}objectIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -500,10 +479,7 @@ extension Anytype_Rpc.BlockDataview.ObjectOrder.Move.Request: SwiftProtobuf.Mess extension Anytype_Rpc.BlockDataview.ObjectOrder.Move.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.ObjectOrder.Move.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -542,10 +518,7 @@ extension Anytype_Rpc.BlockDataview.ObjectOrder.Move.Response: SwiftProtobuf.Mes extension Anytype_Rpc.BlockDataview.ObjectOrder.Move.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.ObjectOrder.Move.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -579,11 +552,7 @@ extension Anytype_Rpc.BlockDataview.ObjectOrder.Move.Response.Error: SwiftProtob } extension Anytype_Rpc.BlockDataview.ObjectOrder.Move.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Relation.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Relation.swift index 4db13552b3..b219ca5eb1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Relation.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Relation.swift @@ -393,11 +393,7 @@ extension Anytype_Rpc.BlockDataview.Relation.Set: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.BlockDataview.Relation.Set.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Relation.Set.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "relationKeys"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}relationKeys\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -437,10 +433,7 @@ extension Anytype_Rpc.BlockDataview.Relation.Set.Request: SwiftProtobuf.Message, extension Anytype_Rpc.BlockDataview.Relation.Set.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Relation.Set.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -479,10 +472,7 @@ extension Anytype_Rpc.BlockDataview.Relation.Set.Response: SwiftProtobuf.Message extension Anytype_Rpc.BlockDataview.Relation.Set.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Relation.Set.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -516,11 +506,7 @@ extension Anytype_Rpc.BlockDataview.Relation.Set.Response.Error: SwiftProtobuf.M } extension Anytype_Rpc.BlockDataview.Relation.Set.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } extension Anytype_Rpc.BlockDataview.Relation.Add: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -544,11 +530,7 @@ extension Anytype_Rpc.BlockDataview.Relation.Add: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.BlockDataview.Relation.Add.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Relation.Add.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "relationKeys"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}relationKeys\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -588,10 +570,7 @@ extension Anytype_Rpc.BlockDataview.Relation.Add.Request: SwiftProtobuf.Message, extension Anytype_Rpc.BlockDataview.Relation.Add.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Relation.Add.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -630,10 +609,7 @@ extension Anytype_Rpc.BlockDataview.Relation.Add.Response: SwiftProtobuf.Message extension Anytype_Rpc.BlockDataview.Relation.Add.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Relation.Add.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -667,11 +643,7 @@ extension Anytype_Rpc.BlockDataview.Relation.Add.Response.Error: SwiftProtobuf.M } extension Anytype_Rpc.BlockDataview.Relation.Add.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } extension Anytype_Rpc.BlockDataview.Relation.Delete: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -695,11 +667,7 @@ extension Anytype_Rpc.BlockDataview.Relation.Delete: SwiftProtobuf.Message, Swif extension Anytype_Rpc.BlockDataview.Relation.Delete.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Relation.Delete.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "relationKeys"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}relationKeys\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -739,10 +707,7 @@ extension Anytype_Rpc.BlockDataview.Relation.Delete.Request: SwiftProtobuf.Messa extension Anytype_Rpc.BlockDataview.Relation.Delete.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Relation.Delete.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{2}\u{2}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -781,10 +746,7 @@ extension Anytype_Rpc.BlockDataview.Relation.Delete.Response: SwiftProtobuf.Mess extension Anytype_Rpc.BlockDataview.Relation.Delete.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Relation.Delete.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -818,11 +780,7 @@ extension Anytype_Rpc.BlockDataview.Relation.Delete.Response.Error: SwiftProtobu } extension Anytype_Rpc.BlockDataview.Relation.Delete.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.SetSource.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.SetSource.swift index 7a8e99fac5..1fb633f492 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.SetSource.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.SetSource.swift @@ -143,11 +143,7 @@ extension Anytype_Rpc.BlockDataview.SetSource: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.BlockDataview.SetSource.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.SetSource.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "source"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}source\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -187,10 +183,7 @@ extension Anytype_Rpc.BlockDataview.SetSource.Request: SwiftProtobuf.Message, Sw extension Anytype_Rpc.BlockDataview.SetSource.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.SetSource.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 4: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{2}\u{3}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,10 +222,7 @@ extension Anytype_Rpc.BlockDataview.SetSource.Response: SwiftProtobuf.Message, S extension Anytype_Rpc.BlockDataview.SetSource.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.SetSource.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -266,11 +256,7 @@ extension Anytype_Rpc.BlockDataview.SetSource.Response.Error: SwiftProtobuf.Mess } extension Anytype_Rpc.BlockDataview.SetSource.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Sort.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Sort.swift index 6c94c8ce53..26a2d1a1a5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Sort.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Sort.swift @@ -536,12 +536,7 @@ extension Anytype_Rpc.BlockDataview.Sort.Add: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.BlockDataview.Sort.Add.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Sort.Add.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "viewId"), - 4: .same(proto: "sort"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}viewId\0\u{1}sort\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -590,10 +585,7 @@ extension Anytype_Rpc.BlockDataview.Sort.Add.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.BlockDataview.Sort.Add.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Sort.Add.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -632,10 +624,7 @@ extension Anytype_Rpc.BlockDataview.Sort.Add.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.BlockDataview.Sort.Add.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Sort.Add.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -669,11 +658,7 @@ extension Anytype_Rpc.BlockDataview.Sort.Add.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.BlockDataview.Sort.Add.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } extension Anytype_Rpc.BlockDataview.Sort.Remove: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -697,12 +682,7 @@ extension Anytype_Rpc.BlockDataview.Sort.Remove: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.BlockDataview.Sort.Remove.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Sort.Remove.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "viewId"), - 4: .same(proto: "ids"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}viewId\0\u{1}ids\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -747,10 +727,7 @@ extension Anytype_Rpc.BlockDataview.Sort.Remove.Request: SwiftProtobuf.Message, extension Anytype_Rpc.BlockDataview.Sort.Remove.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Sort.Remove.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -789,10 +766,7 @@ extension Anytype_Rpc.BlockDataview.Sort.Remove.Response: SwiftProtobuf.Message, extension Anytype_Rpc.BlockDataview.Sort.Remove.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Sort.Remove.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -826,11 +800,7 @@ extension Anytype_Rpc.BlockDataview.Sort.Remove.Response.Error: SwiftProtobuf.Me } extension Anytype_Rpc.BlockDataview.Sort.Remove.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } extension Anytype_Rpc.BlockDataview.Sort.Replace: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -854,13 +824,7 @@ extension Anytype_Rpc.BlockDataview.Sort.Replace: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.BlockDataview.Sort.Replace.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Sort.Replace.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "viewId"), - 4: .same(proto: "id"), - 5: .same(proto: "sort"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}viewId\0\u{1}id\0\u{1}sort\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -914,10 +878,7 @@ extension Anytype_Rpc.BlockDataview.Sort.Replace.Request: SwiftProtobuf.Message, extension Anytype_Rpc.BlockDataview.Sort.Replace.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Sort.Replace.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -956,10 +917,7 @@ extension Anytype_Rpc.BlockDataview.Sort.Replace.Response: SwiftProtobuf.Message extension Anytype_Rpc.BlockDataview.Sort.Replace.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Sort.Replace.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -993,11 +951,7 @@ extension Anytype_Rpc.BlockDataview.Sort.Replace.Response.Error: SwiftProtobuf.M } extension Anytype_Rpc.BlockDataview.Sort.Replace.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } extension Anytype_Rpc.BlockDataview.Sort.SSort: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -1021,12 +975,7 @@ extension Anytype_Rpc.BlockDataview.Sort.SSort: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.BlockDataview.Sort.SSort.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Sort.SSort.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "viewId"), - 4: .same(proto: "ids"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}viewId\0\u{1}ids\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1071,10 +1020,7 @@ extension Anytype_Rpc.BlockDataview.Sort.SSort.Request: SwiftProtobuf.Message, S extension Anytype_Rpc.BlockDataview.Sort.SSort.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Sort.SSort.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1113,10 +1059,7 @@ extension Anytype_Rpc.BlockDataview.Sort.SSort.Response: SwiftProtobuf.Message, extension Anytype_Rpc.BlockDataview.Sort.SSort.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.Sort.SSort.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1150,11 +1093,7 @@ extension Anytype_Rpc.BlockDataview.Sort.SSort.Response.Error: SwiftProtobuf.Mes } extension Anytype_Rpc.BlockDataview.Sort.SSort.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.View.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.View.swift index 5eab1949b4..42051572f4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.View.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.View.swift @@ -673,12 +673,7 @@ extension Anytype_Rpc.BlockDataview.View.Create: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.BlockDataview.View.Create.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.View.Create.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 4: .same(proto: "view"), - 5: .same(proto: "source"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{2}\u{2}view\0\u{1}source\0") fileprivate class _StorageClass { var _contextID: String = String() @@ -686,15 +681,11 @@ extension Anytype_Rpc.BlockDataview.View.Create.Request: SwiftProtobuf.Message, var _view: Anytype_Model_Block.Content.Dataview.View? = nil var _source: [String] = [] - #if swift(>=5.10) // This property is used as the initial default value for new instances of the type. // The type itself is protecting the reference to its storage via CoW semantics. // This will force a copy to be made of this reference when the first mutation occurs; // hence, it is safe to mark this as `nonisolated(unsafe)`. static nonisolated(unsafe) let defaultInstance = _StorageClass() - #else - static let defaultInstance = _StorageClass() - #endif private init() {} @@ -773,11 +764,7 @@ extension Anytype_Rpc.BlockDataview.View.Create.Request: SwiftProtobuf.Message, extension Anytype_Rpc.BlockDataview.View.Create.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.View.Create.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - 3: .same(proto: "viewId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0\u{1}viewId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -821,10 +808,7 @@ extension Anytype_Rpc.BlockDataview.View.Create.Response: SwiftProtobuf.Message, extension Anytype_Rpc.BlockDataview.View.Create.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.View.Create.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -858,11 +842,7 @@ extension Anytype_Rpc.BlockDataview.View.Create.Response.Error: SwiftProtobuf.Me } extension Anytype_Rpc.BlockDataview.View.Create.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } extension Anytype_Rpc.BlockDataview.View.Update: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -886,12 +866,7 @@ extension Anytype_Rpc.BlockDataview.View.Update: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.BlockDataview.View.Update.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.View.Update.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "viewId"), - 4: .same(proto: "view"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}viewId\0\u{1}view\0") fileprivate class _StorageClass { var _contextID: String = String() @@ -899,15 +874,11 @@ extension Anytype_Rpc.BlockDataview.View.Update.Request: SwiftProtobuf.Message, var _viewID: String = String() var _view: Anytype_Model_Block.Content.Dataview.View? = nil - #if swift(>=5.10) // This property is used as the initial default value for new instances of the type. // The type itself is protecting the reference to its storage via CoW semantics. // This will force a copy to be made of this reference when the first mutation occurs; // hence, it is safe to mark this as `nonisolated(unsafe)`. static nonisolated(unsafe) let defaultInstance = _StorageClass() - #else - static let defaultInstance = _StorageClass() - #endif private init() {} @@ -986,10 +957,7 @@ extension Anytype_Rpc.BlockDataview.View.Update.Request: SwiftProtobuf.Message, extension Anytype_Rpc.BlockDataview.View.Update.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.View.Update.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1028,10 +996,7 @@ extension Anytype_Rpc.BlockDataview.View.Update.Response: SwiftProtobuf.Message, extension Anytype_Rpc.BlockDataview.View.Update.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.View.Update.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1065,11 +1030,7 @@ extension Anytype_Rpc.BlockDataview.View.Update.Response.Error: SwiftProtobuf.Me } extension Anytype_Rpc.BlockDataview.View.Update.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } extension Anytype_Rpc.BlockDataview.View.Delete: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -1093,11 +1054,7 @@ extension Anytype_Rpc.BlockDataview.View.Delete: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.BlockDataview.View.Delete.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.View.Delete.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 4: .same(proto: "viewId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{2}\u{2}viewId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1137,10 +1094,7 @@ extension Anytype_Rpc.BlockDataview.View.Delete.Request: SwiftProtobuf.Message, extension Anytype_Rpc.BlockDataview.View.Delete.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.View.Delete.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1179,10 +1133,7 @@ extension Anytype_Rpc.BlockDataview.View.Delete.Response: SwiftProtobuf.Message, extension Anytype_Rpc.BlockDataview.View.Delete.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.View.Delete.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1216,11 +1167,7 @@ extension Anytype_Rpc.BlockDataview.View.Delete.Response.Error: SwiftProtobuf.Me } extension Anytype_Rpc.BlockDataview.View.Delete.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } extension Anytype_Rpc.BlockDataview.View.SetPosition: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -1244,12 +1191,7 @@ extension Anytype_Rpc.BlockDataview.View.SetPosition: SwiftProtobuf.Message, Swi extension Anytype_Rpc.BlockDataview.View.SetPosition.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.View.SetPosition.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 4: .same(proto: "viewId"), - 5: .same(proto: "position"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{2}\u{2}viewId\0\u{1}position\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1294,10 +1236,7 @@ extension Anytype_Rpc.BlockDataview.View.SetPosition.Request: SwiftProtobuf.Mess extension Anytype_Rpc.BlockDataview.View.SetPosition.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.View.SetPosition.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1336,10 +1275,7 @@ extension Anytype_Rpc.BlockDataview.View.SetPosition.Response: SwiftProtobuf.Mes extension Anytype_Rpc.BlockDataview.View.SetPosition.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.View.SetPosition.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1373,11 +1309,7 @@ extension Anytype_Rpc.BlockDataview.View.SetPosition.Response.Error: SwiftProtob } extension Anytype_Rpc.BlockDataview.View.SetPosition.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } extension Anytype_Rpc.BlockDataview.View.SetActive: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -1401,11 +1333,7 @@ extension Anytype_Rpc.BlockDataview.View.SetActive: SwiftProtobuf.Message, Swift extension Anytype_Rpc.BlockDataview.View.SetActive.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.View.SetActive.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "viewId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}viewId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1445,10 +1373,7 @@ extension Anytype_Rpc.BlockDataview.View.SetActive.Request: SwiftProtobuf.Messag extension Anytype_Rpc.BlockDataview.View.SetActive.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.View.SetActive.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1487,10 +1412,7 @@ extension Anytype_Rpc.BlockDataview.View.SetActive.Response: SwiftProtobuf.Messa extension Anytype_Rpc.BlockDataview.View.SetActive.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.View.SetActive.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1524,11 +1446,7 @@ extension Anytype_Rpc.BlockDataview.View.SetActive.Response.Error: SwiftProtobuf } extension Anytype_Rpc.BlockDataview.View.SetActive.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.ViewRelation.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.ViewRelation.swift index 5952d538b0..b5b452e9a6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.ViewRelation.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.ViewRelation.swift @@ -536,12 +536,7 @@ extension Anytype_Rpc.BlockDataview.ViewRelation.Add: SwiftProtobuf.Message, Swi extension Anytype_Rpc.BlockDataview.ViewRelation.Add.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.ViewRelation.Add.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "viewId"), - 4: .same(proto: "relation"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}viewId\0\u{1}relation\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -590,10 +585,7 @@ extension Anytype_Rpc.BlockDataview.ViewRelation.Add.Request: SwiftProtobuf.Mess extension Anytype_Rpc.BlockDataview.ViewRelation.Add.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.ViewRelation.Add.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -632,10 +624,7 @@ extension Anytype_Rpc.BlockDataview.ViewRelation.Add.Response: SwiftProtobuf.Mes extension Anytype_Rpc.BlockDataview.ViewRelation.Add.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.ViewRelation.Add.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -669,11 +658,7 @@ extension Anytype_Rpc.BlockDataview.ViewRelation.Add.Response.Error: SwiftProtob } extension Anytype_Rpc.BlockDataview.ViewRelation.Add.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } extension Anytype_Rpc.BlockDataview.ViewRelation.Remove: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -697,12 +682,7 @@ extension Anytype_Rpc.BlockDataview.ViewRelation.Remove: SwiftProtobuf.Message, extension Anytype_Rpc.BlockDataview.ViewRelation.Remove.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.ViewRelation.Remove.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "viewId"), - 4: .same(proto: "relationKeys"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}viewId\0\u{1}relationKeys\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -747,10 +727,7 @@ extension Anytype_Rpc.BlockDataview.ViewRelation.Remove.Request: SwiftProtobuf.M extension Anytype_Rpc.BlockDataview.ViewRelation.Remove.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.ViewRelation.Remove.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -789,10 +766,7 @@ extension Anytype_Rpc.BlockDataview.ViewRelation.Remove.Response: SwiftProtobuf. extension Anytype_Rpc.BlockDataview.ViewRelation.Remove.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.ViewRelation.Remove.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -826,11 +800,7 @@ extension Anytype_Rpc.BlockDataview.ViewRelation.Remove.Response.Error: SwiftPro } extension Anytype_Rpc.BlockDataview.ViewRelation.Remove.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } extension Anytype_Rpc.BlockDataview.ViewRelation.Replace: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -854,13 +824,7 @@ extension Anytype_Rpc.BlockDataview.ViewRelation.Replace: SwiftProtobuf.Message, extension Anytype_Rpc.BlockDataview.ViewRelation.Replace.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.ViewRelation.Replace.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "viewId"), - 4: .same(proto: "relationKey"), - 5: .same(proto: "relation"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}viewId\0\u{1}relationKey\0\u{1}relation\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -914,10 +878,7 @@ extension Anytype_Rpc.BlockDataview.ViewRelation.Replace.Request: SwiftProtobuf. extension Anytype_Rpc.BlockDataview.ViewRelation.Replace.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.ViewRelation.Replace.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -956,10 +917,7 @@ extension Anytype_Rpc.BlockDataview.ViewRelation.Replace.Response: SwiftProtobuf extension Anytype_Rpc.BlockDataview.ViewRelation.Replace.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.ViewRelation.Replace.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -993,11 +951,7 @@ extension Anytype_Rpc.BlockDataview.ViewRelation.Replace.Response.Error: SwiftPr } extension Anytype_Rpc.BlockDataview.ViewRelation.Replace.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } extension Anytype_Rpc.BlockDataview.ViewRelation.Sort: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -1021,12 +975,7 @@ extension Anytype_Rpc.BlockDataview.ViewRelation.Sort: SwiftProtobuf.Message, Sw extension Anytype_Rpc.BlockDataview.ViewRelation.Sort.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.ViewRelation.Sort.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "viewId"), - 4: .same(proto: "relationKeys"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}viewId\0\u{1}relationKeys\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1071,10 +1020,7 @@ extension Anytype_Rpc.BlockDataview.ViewRelation.Sort.Request: SwiftProtobuf.Mes extension Anytype_Rpc.BlockDataview.ViewRelation.Sort.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.ViewRelation.Sort.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1113,10 +1059,7 @@ extension Anytype_Rpc.BlockDataview.ViewRelation.Sort.Response: SwiftProtobuf.Me extension Anytype_Rpc.BlockDataview.ViewRelation.Sort.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDataview.ViewRelation.Sort.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1150,11 +1093,7 @@ extension Anytype_Rpc.BlockDataview.ViewRelation.Sort.Response.Error: SwiftProto } extension Anytype_Rpc.BlockDataview.ViewRelation.Sort.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDiv.ListSetStyle.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDiv.ListSetStyle.swift index f303cad93c..5133958cd7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDiv.ListSetStyle.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDiv.ListSetStyle.swift @@ -145,11 +145,7 @@ extension Anytype_Rpc.BlockDiv.ListSetStyle: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.BlockDiv.ListSetStyle.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDiv.ListSetStyle.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - 3: .same(proto: "style"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0\u{1}style\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -189,10 +185,7 @@ extension Anytype_Rpc.BlockDiv.ListSetStyle.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.BlockDiv.ListSetStyle.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDiv.ListSetStyle.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -231,10 +224,7 @@ extension Anytype_Rpc.BlockDiv.ListSetStyle.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.BlockDiv.ListSetStyle.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockDiv.ListSetStyle.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,11 +258,7 @@ extension Anytype_Rpc.BlockDiv.ListSetStyle.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.BlockDiv.ListSetStyle.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.CreateAndUpload.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.CreateAndUpload.swift index 2d4a9f2cd3..3ca968ec3d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.CreateAndUpload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.CreateAndUpload.swift @@ -153,15 +153,7 @@ extension Anytype_Rpc.BlockFile.CreateAndUpload: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.BlockFile.CreateAndUpload.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockFile.CreateAndUpload.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "targetId"), - 3: .same(proto: "position"), - 4: .same(proto: "url"), - 5: .same(proto: "localPath"), - 6: .same(proto: "fileType"), - 7: .same(proto: "imageKind"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}targetId\0\u{1}position\0\u{1}url\0\u{1}localPath\0\u{1}fileType\0\u{1}imageKind\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -221,11 +213,7 @@ extension Anytype_Rpc.BlockFile.CreateAndUpload.Request: SwiftProtobuf.Message, extension Anytype_Rpc.BlockFile.CreateAndUpload.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockFile.CreateAndUpload.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "blockId"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}blockId\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -269,10 +257,7 @@ extension Anytype_Rpc.BlockFile.CreateAndUpload.Response: SwiftProtobuf.Message, extension Anytype_Rpc.BlockFile.CreateAndUpload.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockFile.CreateAndUpload.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -306,11 +291,7 @@ extension Anytype_Rpc.BlockFile.CreateAndUpload.Response.Error: SwiftProtobuf.Me } extension Anytype_Rpc.BlockFile.CreateAndUpload.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.ListSetStyle.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.ListSetStyle.swift index 5779e342e3..34da600ab7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.ListSetStyle.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.ListSetStyle.swift @@ -145,11 +145,7 @@ extension Anytype_Rpc.BlockFile.ListSetStyle: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.BlockFile.ListSetStyle.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockFile.ListSetStyle.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - 3: .same(proto: "style"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0\u{1}style\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -189,10 +185,7 @@ extension Anytype_Rpc.BlockFile.ListSetStyle.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.BlockFile.ListSetStyle.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockFile.ListSetStyle.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -231,10 +224,7 @@ extension Anytype_Rpc.BlockFile.ListSetStyle.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.BlockFile.ListSetStyle.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockFile.ListSetStyle.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,11 +258,7 @@ extension Anytype_Rpc.BlockFile.ListSetStyle.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.BlockFile.ListSetStyle.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.SetName.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.SetName.swift index 25c459c09d..7f51c001ad 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.SetName.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.SetName.swift @@ -145,11 +145,7 @@ extension Anytype_Rpc.BlockFile.SetName: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.BlockFile.SetName.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockFile.SetName.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "name"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}name\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -189,10 +185,7 @@ extension Anytype_Rpc.BlockFile.SetName.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.BlockFile.SetName.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockFile.SetName.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -231,10 +224,7 @@ extension Anytype_Rpc.BlockFile.SetName.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.BlockFile.SetName.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockFile.SetName.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,11 +258,7 @@ extension Anytype_Rpc.BlockFile.SetName.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.BlockFile.SetName.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.SetTargetObjectId.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.SetTargetObjectId.swift index 4bf3463a62..d5cb90d00d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.SetTargetObjectId.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.SetTargetObjectId.swift @@ -145,11 +145,7 @@ extension Anytype_Rpc.BlockFile.SetTargetObjectId: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.BlockFile.SetTargetObjectId.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockFile.SetTargetObjectId.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "objectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}objectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -189,10 +185,7 @@ extension Anytype_Rpc.BlockFile.SetTargetObjectId.Request: SwiftProtobuf.Message extension Anytype_Rpc.BlockFile.SetTargetObjectId.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockFile.SetTargetObjectId.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -231,10 +224,7 @@ extension Anytype_Rpc.BlockFile.SetTargetObjectId.Response: SwiftProtobuf.Messag extension Anytype_Rpc.BlockFile.SetTargetObjectId.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockFile.SetTargetObjectId.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,11 +258,7 @@ extension Anytype_Rpc.BlockFile.SetTargetObjectId.Response.Error: SwiftProtobuf. } extension Anytype_Rpc.BlockFile.SetTargetObjectId.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.SetName.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.SetName.swift index 5891476cde..c404944c63 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.SetName.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.SetName.swift @@ -135,11 +135,7 @@ extension Anytype_Rpc.BlockImage.SetName: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.BlockImage.SetName.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockImage.SetName.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "name"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}name\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -179,9 +175,7 @@ extension Anytype_Rpc.BlockImage.SetName.Request: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.BlockImage.SetName.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockImage.SetName.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -215,10 +209,7 @@ extension Anytype_Rpc.BlockImage.SetName.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.BlockImage.SetName.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockImage.SetName.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -252,11 +243,7 @@ extension Anytype_Rpc.BlockImage.SetName.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.BlockImage.SetName.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.SetWidth.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.SetWidth.swift index df7e8f3634..0d5a9e8b30 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.SetWidth.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.SetWidth.swift @@ -135,11 +135,7 @@ extension Anytype_Rpc.BlockImage.SetWidth: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.BlockImage.SetWidth.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockImage.SetWidth.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "width"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}width\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -179,9 +175,7 @@ extension Anytype_Rpc.BlockImage.SetWidth.Request: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.BlockImage.SetWidth.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockImage.SetWidth.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -215,10 +209,7 @@ extension Anytype_Rpc.BlockImage.SetWidth.Response: SwiftProtobuf.Message, Swift extension Anytype_Rpc.BlockImage.SetWidth.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockImage.SetWidth.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -252,11 +243,7 @@ extension Anytype_Rpc.BlockImage.SetWidth.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.BlockImage.SetWidth.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.SetProcessor.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.SetProcessor.swift index 1f2fdc7b5c..0c4531e868 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.SetProcessor.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.SetProcessor.swift @@ -145,11 +145,7 @@ extension Anytype_Rpc.BlockLatex.SetProcessor: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.BlockLatex.SetProcessor.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockLatex.SetProcessor.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "processor"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}processor\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -189,10 +185,7 @@ extension Anytype_Rpc.BlockLatex.SetProcessor.Request: SwiftProtobuf.Message, Sw extension Anytype_Rpc.BlockLatex.SetProcessor.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockLatex.SetProcessor.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -231,10 +224,7 @@ extension Anytype_Rpc.BlockLatex.SetProcessor.Response: SwiftProtobuf.Message, S extension Anytype_Rpc.BlockLatex.SetProcessor.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockLatex.SetProcessor.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,11 +258,7 @@ extension Anytype_Rpc.BlockLatex.SetProcessor.Response.Error: SwiftProtobuf.Mess } extension Anytype_Rpc.BlockLatex.SetProcessor.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.SetText.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.SetText.swift index 47a7c594c1..0db737f91d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.SetText.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.SetText.swift @@ -147,12 +147,7 @@ extension Anytype_Rpc.BlockLatex.SetText: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.BlockLatex.SetText.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockLatex.SetText.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "text"), - 4: .same(proto: "processor"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}text\0\u{1}processor\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -197,10 +192,7 @@ extension Anytype_Rpc.BlockLatex.SetText.Request: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.BlockLatex.SetText.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockLatex.SetText.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -239,10 +231,7 @@ extension Anytype_Rpc.BlockLatex.SetText.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.BlockLatex.SetText.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockLatex.SetText.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -276,11 +265,7 @@ extension Anytype_Rpc.BlockLatex.SetText.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.BlockLatex.SetText.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.CreateWithObject.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.CreateWithObject.swift index 8720c488fb..a2bf1c3265 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.CreateWithObject.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.CreateWithObject.swift @@ -203,18 +203,7 @@ extension Anytype_Rpc.BlockLink.CreateWithObject: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.BlockLink.CreateWithObject.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockLink.CreateWithObject.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 3: .same(proto: "details"), - 5: .same(proto: "templateId"), - 7: .same(proto: "internalFlags"), - 8: .same(proto: "spaceId"), - 9: .same(proto: "objectTypeUniqueKey"), - 10: .same(proto: "block"), - 2: .same(proto: "targetId"), - 4: .same(proto: "position"), - 6: .same(proto: "fields"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}targetId\0\u{1}details\0\u{1}position\0\u{1}templateId\0\u{1}fields\0\u{1}internalFlags\0\u{1}spaceId\0\u{1}objectTypeUniqueKey\0\u{1}block\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -293,13 +282,7 @@ extension Anytype_Rpc.BlockLink.CreateWithObject.Request: SwiftProtobuf.Message, extension Anytype_Rpc.BlockLink.CreateWithObject.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockLink.CreateWithObject.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "blockId"), - 3: .same(proto: "targetId"), - 4: .same(proto: "event"), - 5: .same(proto: "details"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}blockId\0\u{1}targetId\0\u{1}event\0\u{1}details\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -353,10 +336,7 @@ extension Anytype_Rpc.BlockLink.CreateWithObject.Response: SwiftProtobuf.Message extension Anytype_Rpc.BlockLink.CreateWithObject.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockLink.CreateWithObject.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -390,11 +370,7 @@ extension Anytype_Rpc.BlockLink.CreateWithObject.Response.Error: SwiftProtobuf.M } extension Anytype_Rpc.BlockLink.CreateWithObject.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.ListSetAppearance.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.ListSetAppearance.swift index 7f8045a547..25a74aa0da 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.ListSetAppearance.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.ListSetAppearance.swift @@ -151,14 +151,7 @@ extension Anytype_Rpc.BlockLink.ListSetAppearance: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.BlockLink.ListSetAppearance.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockLink.ListSetAppearance.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - 4: .same(proto: "iconSize"), - 5: .same(proto: "cardStyle"), - 6: .same(proto: "description"), - 7: .same(proto: "relations"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0\u{2}\u{2}iconSize\0\u{1}cardStyle\0\u{1}description\0\u{1}relations\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -213,10 +206,7 @@ extension Anytype_Rpc.BlockLink.ListSetAppearance.Request: SwiftProtobuf.Message extension Anytype_Rpc.BlockLink.ListSetAppearance.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockLink.ListSetAppearance.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -255,10 +245,7 @@ extension Anytype_Rpc.BlockLink.ListSetAppearance.Response: SwiftProtobuf.Messag extension Anytype_Rpc.BlockLink.ListSetAppearance.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockLink.ListSetAppearance.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -292,11 +279,7 @@ extension Anytype_Rpc.BlockLink.ListSetAppearance.Response.Error: SwiftProtobuf. } extension Anytype_Rpc.BlockLink.ListSetAppearance.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.Add.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.Add.swift index a8ce4b75c7..aab0539ebd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.Add.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.Add.swift @@ -143,11 +143,7 @@ extension Anytype_Rpc.BlockRelation.Add: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.BlockRelation.Add.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockRelation.Add.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "relationKey"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}relationKey\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -187,10 +183,7 @@ extension Anytype_Rpc.BlockRelation.Add.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.BlockRelation.Add.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockRelation.Add.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,10 +222,7 @@ extension Anytype_Rpc.BlockRelation.Add.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.BlockRelation.Add.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockRelation.Add.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -266,11 +256,7 @@ extension Anytype_Rpc.BlockRelation.Add.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.BlockRelation.Add.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.SetKey.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.SetKey.swift index 915cf5566d..d5055c0d88 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.SetKey.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.SetKey.swift @@ -143,11 +143,7 @@ extension Anytype_Rpc.BlockRelation.SetKey: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.BlockRelation.SetKey.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockRelation.SetKey.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "key"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}key\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -187,10 +183,7 @@ extension Anytype_Rpc.BlockRelation.SetKey.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.BlockRelation.SetKey.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockRelation.SetKey.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,10 +222,7 @@ extension Anytype_Rpc.BlockRelation.SetKey.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.BlockRelation.SetKey.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockRelation.SetKey.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -266,11 +256,7 @@ extension Anytype_Rpc.BlockRelation.SetKey.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.BlockRelation.SetKey.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnCreate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnCreate.swift index d25b4beb21..51e91631bd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnCreate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnCreate.swift @@ -147,11 +147,7 @@ extension Anytype_Rpc.BlockTable.ColumnCreate: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.BlockTable.ColumnCreate.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.ColumnCreate.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "targetId"), - 3: .same(proto: "position"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}targetId\0\u{1}position\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -191,10 +187,7 @@ extension Anytype_Rpc.BlockTable.ColumnCreate.Request: SwiftProtobuf.Message, Sw extension Anytype_Rpc.BlockTable.ColumnCreate.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.ColumnCreate.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -233,10 +226,7 @@ extension Anytype_Rpc.BlockTable.ColumnCreate.Response: SwiftProtobuf.Message, S extension Anytype_Rpc.BlockTable.ColumnCreate.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.ColumnCreate.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -270,11 +260,7 @@ extension Anytype_Rpc.BlockTable.ColumnCreate.Response.Error: SwiftProtobuf.Mess } extension Anytype_Rpc.BlockTable.ColumnCreate.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnDelete.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnDelete.swift index b5d81ebdc7..cd7461bf68 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnDelete.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnDelete.swift @@ -145,10 +145,7 @@ extension Anytype_Rpc.BlockTable.ColumnDelete: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.BlockTable.ColumnDelete.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.ColumnDelete.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "targetId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}targetId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -183,10 +180,7 @@ extension Anytype_Rpc.BlockTable.ColumnDelete.Request: SwiftProtobuf.Message, Sw extension Anytype_Rpc.BlockTable.ColumnDelete.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.ColumnDelete.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -225,10 +219,7 @@ extension Anytype_Rpc.BlockTable.ColumnDelete.Response: SwiftProtobuf.Message, S extension Anytype_Rpc.BlockTable.ColumnDelete.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.ColumnDelete.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -262,11 +253,7 @@ extension Anytype_Rpc.BlockTable.ColumnDelete.Response.Error: SwiftProtobuf.Mess } extension Anytype_Rpc.BlockTable.ColumnDelete.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnDuplicate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnDuplicate.swift index f563fa25e7..e246d1f5dd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnDuplicate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnDuplicate.swift @@ -151,12 +151,7 @@ extension Anytype_Rpc.BlockTable.ColumnDuplicate: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.BlockTable.ColumnDuplicate.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.ColumnDuplicate.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "targetId"), - 3: .same(proto: "blockId"), - 4: .same(proto: "position"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}targetId\0\u{1}blockId\0\u{1}position\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -201,11 +196,7 @@ extension Anytype_Rpc.BlockTable.ColumnDuplicate.Request: SwiftProtobuf.Message, extension Anytype_Rpc.BlockTable.ColumnDuplicate.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.ColumnDuplicate.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "blockId"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}blockId\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -249,10 +240,7 @@ extension Anytype_Rpc.BlockTable.ColumnDuplicate.Response: SwiftProtobuf.Message extension Anytype_Rpc.BlockTable.ColumnDuplicate.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.ColumnDuplicate.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -286,11 +274,7 @@ extension Anytype_Rpc.BlockTable.ColumnDuplicate.Response.Error: SwiftProtobuf.M } extension Anytype_Rpc.BlockTable.ColumnDuplicate.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnListFill.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnListFill.swift index 1ba5fc6046..b25c2b57f9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnListFill.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnListFill.swift @@ -144,10 +144,7 @@ extension Anytype_Rpc.BlockTable.ColumnListFill: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.BlockTable.ColumnListFill.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.ColumnListFill.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -182,10 +179,7 @@ extension Anytype_Rpc.BlockTable.ColumnListFill.Request: SwiftProtobuf.Message, extension Anytype_Rpc.BlockTable.ColumnListFill.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.ColumnListFill.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -224,10 +218,7 @@ extension Anytype_Rpc.BlockTable.ColumnListFill.Response: SwiftProtobuf.Message, extension Anytype_Rpc.BlockTable.ColumnListFill.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.ColumnListFill.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -261,11 +252,7 @@ extension Anytype_Rpc.BlockTable.ColumnListFill.Response.Error: SwiftProtobuf.Me } extension Anytype_Rpc.BlockTable.ColumnListFill.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnMove.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnMove.swift index ce42bacedf..e4d5bbd7b5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnMove.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnMove.swift @@ -147,12 +147,7 @@ extension Anytype_Rpc.BlockTable.ColumnMove: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.BlockTable.ColumnMove.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.ColumnMove.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "targetId"), - 3: .same(proto: "dropTargetId"), - 4: .same(proto: "position"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}targetId\0\u{1}dropTargetId\0\u{1}position\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -197,10 +192,7 @@ extension Anytype_Rpc.BlockTable.ColumnMove.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.BlockTable.ColumnMove.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.ColumnMove.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -239,10 +231,7 @@ extension Anytype_Rpc.BlockTable.ColumnMove.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.BlockTable.ColumnMove.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.ColumnMove.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -276,11 +265,7 @@ extension Anytype_Rpc.BlockTable.ColumnMove.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.BlockTable.ColumnMove.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Create.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Create.swift index 831b2ca4e8..f2d563ff22 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Create.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Create.swift @@ -155,14 +155,7 @@ extension Anytype_Rpc.BlockTable.Create: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.BlockTable.Create.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.Create.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "targetId"), - 3: .same(proto: "position"), - 4: .same(proto: "rows"), - 5: .same(proto: "columns"), - 6: .same(proto: "withHeaderRow"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}targetId\0\u{1}position\0\u{1}rows\0\u{1}columns\0\u{1}withHeaderRow\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -217,11 +210,7 @@ extension Anytype_Rpc.BlockTable.Create.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.BlockTable.Create.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.Create.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "blockId"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}blockId\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -265,10 +254,7 @@ extension Anytype_Rpc.BlockTable.Create.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.BlockTable.Create.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.Create.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -302,11 +288,7 @@ extension Anytype_Rpc.BlockTable.Create.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.BlockTable.Create.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Expand.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Expand.swift index d8122dfa0e..a8f6101427 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Expand.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Expand.swift @@ -150,12 +150,7 @@ extension Anytype_Rpc.BlockTable.Expand: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.BlockTable.Expand.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.Expand.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "targetId"), - 3: .same(proto: "columns"), - 4: .same(proto: "rows"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}targetId\0\u{1}columns\0\u{1}rows\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -200,10 +195,7 @@ extension Anytype_Rpc.BlockTable.Expand.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.BlockTable.Expand.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.Expand.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -242,10 +234,7 @@ extension Anytype_Rpc.BlockTable.Expand.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.BlockTable.Expand.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.Expand.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -279,11 +268,7 @@ extension Anytype_Rpc.BlockTable.Expand.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.BlockTable.Expand.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowCreate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowCreate.swift index f28b492a09..63467b1e53 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowCreate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowCreate.swift @@ -147,11 +147,7 @@ extension Anytype_Rpc.BlockTable.RowCreate: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.BlockTable.RowCreate.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.RowCreate.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "targetId"), - 3: .same(proto: "position"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}targetId\0\u{1}position\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -191,10 +187,7 @@ extension Anytype_Rpc.BlockTable.RowCreate.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.BlockTable.RowCreate.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.RowCreate.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -233,10 +226,7 @@ extension Anytype_Rpc.BlockTable.RowCreate.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.BlockTable.RowCreate.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.RowCreate.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -270,11 +260,7 @@ extension Anytype_Rpc.BlockTable.RowCreate.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.BlockTable.RowCreate.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowDelete.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowDelete.swift index b6bfb3d261..18e19c999a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowDelete.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowDelete.swift @@ -145,10 +145,7 @@ extension Anytype_Rpc.BlockTable.RowDelete: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.BlockTable.RowDelete.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.RowDelete.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "targetId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}targetId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -183,10 +180,7 @@ extension Anytype_Rpc.BlockTable.RowDelete.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.BlockTable.RowDelete.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.RowDelete.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -225,10 +219,7 @@ extension Anytype_Rpc.BlockTable.RowDelete.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.BlockTable.RowDelete.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.RowDelete.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -262,11 +253,7 @@ extension Anytype_Rpc.BlockTable.RowDelete.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.BlockTable.RowDelete.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowDuplicate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowDuplicate.swift index 24d92867e4..397bcb31a9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowDuplicate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowDuplicate.swift @@ -149,12 +149,7 @@ extension Anytype_Rpc.BlockTable.RowDuplicate: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.BlockTable.RowDuplicate.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.RowDuplicate.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "targetId"), - 3: .same(proto: "blockId"), - 4: .same(proto: "position"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}targetId\0\u{1}blockId\0\u{1}position\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -199,10 +194,7 @@ extension Anytype_Rpc.BlockTable.RowDuplicate.Request: SwiftProtobuf.Message, Sw extension Anytype_Rpc.BlockTable.RowDuplicate.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.RowDuplicate.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -241,10 +233,7 @@ extension Anytype_Rpc.BlockTable.RowDuplicate.Response: SwiftProtobuf.Message, S extension Anytype_Rpc.BlockTable.RowDuplicate.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.RowDuplicate.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -278,11 +267,7 @@ extension Anytype_Rpc.BlockTable.RowDuplicate.Response.Error: SwiftProtobuf.Mess } extension Anytype_Rpc.BlockTable.RowDuplicate.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowListClean.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowListClean.swift index 51979e512d..839b27c4a3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowListClean.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowListClean.swift @@ -144,10 +144,7 @@ extension Anytype_Rpc.BlockTable.RowListClean: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.BlockTable.RowListClean.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.RowListClean.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -182,10 +179,7 @@ extension Anytype_Rpc.BlockTable.RowListClean.Request: SwiftProtobuf.Message, Sw extension Anytype_Rpc.BlockTable.RowListClean.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.RowListClean.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -224,10 +218,7 @@ extension Anytype_Rpc.BlockTable.RowListClean.Response: SwiftProtobuf.Message, S extension Anytype_Rpc.BlockTable.RowListClean.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.RowListClean.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -261,11 +252,7 @@ extension Anytype_Rpc.BlockTable.RowListClean.Response.Error: SwiftProtobuf.Mess } extension Anytype_Rpc.BlockTable.RowListClean.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowListFill.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowListFill.swift index b216e76665..a3d9268571 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowListFill.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowListFill.swift @@ -144,10 +144,7 @@ extension Anytype_Rpc.BlockTable.RowListFill: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.BlockTable.RowListFill.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.RowListFill.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -182,10 +179,7 @@ extension Anytype_Rpc.BlockTable.RowListFill.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.BlockTable.RowListFill.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.RowListFill.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -224,10 +218,7 @@ extension Anytype_Rpc.BlockTable.RowListFill.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.BlockTable.RowListFill.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.RowListFill.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -261,11 +252,7 @@ extension Anytype_Rpc.BlockTable.RowListFill.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.BlockTable.RowListFill.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowSetHeader.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowSetHeader.swift index 2e70b3b1c0..50217f2cd8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowSetHeader.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowSetHeader.swift @@ -146,11 +146,7 @@ extension Anytype_Rpc.BlockTable.RowSetHeader: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.BlockTable.RowSetHeader.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.RowSetHeader.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "targetId"), - 3: .same(proto: "isHeader"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}targetId\0\u{1}isHeader\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -190,10 +186,7 @@ extension Anytype_Rpc.BlockTable.RowSetHeader.Request: SwiftProtobuf.Message, Sw extension Anytype_Rpc.BlockTable.RowSetHeader.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.RowSetHeader.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -232,10 +225,7 @@ extension Anytype_Rpc.BlockTable.RowSetHeader.Response: SwiftProtobuf.Message, S extension Anytype_Rpc.BlockTable.RowSetHeader.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.RowSetHeader.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -269,11 +259,7 @@ extension Anytype_Rpc.BlockTable.RowSetHeader.Response.Error: SwiftProtobuf.Mess } extension Anytype_Rpc.BlockTable.RowSetHeader.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Sort.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Sort.swift index 5260854ac7..f0302f50e7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Sort.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Sort.swift @@ -146,11 +146,7 @@ extension Anytype_Rpc.BlockTable.Sort: SwiftProtobuf.Message, SwiftProtobuf._Mes extension Anytype_Rpc.BlockTable.Sort.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.Sort.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "columnId"), - 3: .same(proto: "type"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}columnId\0\u{1}type\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -190,10 +186,7 @@ extension Anytype_Rpc.BlockTable.Sort.Request: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.BlockTable.Sort.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.Sort.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -232,10 +225,7 @@ extension Anytype_Rpc.BlockTable.Sort.Response: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.BlockTable.Sort.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockTable.Sort.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -269,11 +259,7 @@ extension Anytype_Rpc.BlockTable.Sort.Response.Error: SwiftProtobuf.Message, Swi } extension Anytype_Rpc.BlockTable.Sort.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListClearContent.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListClearContent.swift index 219673933e..f146801715 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListClearContent.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListClearContent.swift @@ -143,10 +143,7 @@ extension Anytype_Rpc.BlockText.ListClearContent: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.BlockText.ListClearContent.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.ListClearContent.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -181,10 +178,7 @@ extension Anytype_Rpc.BlockText.ListClearContent.Request: SwiftProtobuf.Message, extension Anytype_Rpc.BlockText.ListClearContent.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.ListClearContent.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -223,10 +217,7 @@ extension Anytype_Rpc.BlockText.ListClearContent.Response: SwiftProtobuf.Message extension Anytype_Rpc.BlockText.ListClearContent.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.ListClearContent.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -260,11 +251,7 @@ extension Anytype_Rpc.BlockText.ListClearContent.Response.Error: SwiftProtobuf.M } extension Anytype_Rpc.BlockText.ListClearContent.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListClearStyle.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListClearStyle.swift index 7b09f61d71..08be36c610 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListClearStyle.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListClearStyle.swift @@ -143,10 +143,7 @@ extension Anytype_Rpc.BlockText.ListClearStyle: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.BlockText.ListClearStyle.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.ListClearStyle.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -181,10 +178,7 @@ extension Anytype_Rpc.BlockText.ListClearStyle.Request: SwiftProtobuf.Message, S extension Anytype_Rpc.BlockText.ListClearStyle.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.ListClearStyle.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -223,10 +217,7 @@ extension Anytype_Rpc.BlockText.ListClearStyle.Response: SwiftProtobuf.Message, extension Anytype_Rpc.BlockText.ListClearStyle.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.ListClearStyle.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -260,11 +251,7 @@ extension Anytype_Rpc.BlockText.ListClearStyle.Response.Error: SwiftProtobuf.Mes } extension Anytype_Rpc.BlockText.ListClearStyle.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetColor.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetColor.swift index a839774a4a..c2b70fb1e9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetColor.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetColor.swift @@ -145,11 +145,7 @@ extension Anytype_Rpc.BlockText.ListSetColor: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.BlockText.ListSetColor.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.ListSetColor.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - 3: .same(proto: "color"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0\u{1}color\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -189,10 +185,7 @@ extension Anytype_Rpc.BlockText.ListSetColor.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.BlockText.ListSetColor.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.ListSetColor.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -231,10 +224,7 @@ extension Anytype_Rpc.BlockText.ListSetColor.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.BlockText.ListSetColor.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.ListSetColor.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,11 +258,7 @@ extension Anytype_Rpc.BlockText.ListSetColor.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.BlockText.ListSetColor.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetMark.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetMark.swift index 89fe5b7d0f..1c47756f45 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetMark.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetMark.swift @@ -154,11 +154,7 @@ extension Anytype_Rpc.BlockText.ListSetMark: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.BlockText.ListSetMark.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.ListSetMark.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - 3: .same(proto: "mark"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0\u{1}mark\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -202,10 +198,7 @@ extension Anytype_Rpc.BlockText.ListSetMark.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.BlockText.ListSetMark.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.ListSetMark.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -244,10 +237,7 @@ extension Anytype_Rpc.BlockText.ListSetMark.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.BlockText.ListSetMark.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.ListSetMark.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -281,11 +271,7 @@ extension Anytype_Rpc.BlockText.ListSetMark.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.BlockText.ListSetMark.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetStyle.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetStyle.swift index 60ab51f01b..382a500eb3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetStyle.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetStyle.swift @@ -145,11 +145,7 @@ extension Anytype_Rpc.BlockText.ListSetStyle: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.BlockText.ListSetStyle.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.ListSetStyle.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockIds"), - 3: .same(proto: "style"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockIds\0\u{1}style\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -189,10 +185,7 @@ extension Anytype_Rpc.BlockText.ListSetStyle.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.BlockText.ListSetStyle.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.ListSetStyle.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -231,10 +224,7 @@ extension Anytype_Rpc.BlockText.ListSetStyle.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.BlockText.ListSetStyle.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.ListSetStyle.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,11 +258,7 @@ extension Anytype_Rpc.BlockText.ListSetStyle.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.BlockText.ListSetStyle.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetChecked.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetChecked.swift index bd6f7e8431..ebc1b12722 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetChecked.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetChecked.swift @@ -145,11 +145,7 @@ extension Anytype_Rpc.BlockText.SetChecked: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.BlockText.SetChecked.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.SetChecked.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "checked"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}checked\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -189,10 +185,7 @@ extension Anytype_Rpc.BlockText.SetChecked.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.BlockText.SetChecked.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.SetChecked.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -231,10 +224,7 @@ extension Anytype_Rpc.BlockText.SetChecked.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.BlockText.SetChecked.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.SetChecked.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,11 +258,7 @@ extension Anytype_Rpc.BlockText.SetChecked.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.BlockText.SetChecked.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetColor.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetColor.swift index 1c7931616f..659cfea505 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetColor.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetColor.swift @@ -145,11 +145,7 @@ extension Anytype_Rpc.BlockText.SetColor: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.BlockText.SetColor.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.SetColor.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "color"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}color\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -189,10 +185,7 @@ extension Anytype_Rpc.BlockText.SetColor.Request: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.BlockText.SetColor.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.SetColor.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -231,10 +224,7 @@ extension Anytype_Rpc.BlockText.SetColor.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.BlockText.SetColor.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.SetColor.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,11 +258,7 @@ extension Anytype_Rpc.BlockText.SetColor.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.BlockText.SetColor.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetIcon.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetIcon.swift index 7250c7d668..cd888988d9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetIcon.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetIcon.swift @@ -148,12 +148,7 @@ extension Anytype_Rpc.BlockText.SetIcon: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.BlockText.SetIcon.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.SetIcon.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "iconImage"), - 5: .same(proto: "iconEmoji"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}iconImage\0\u{2}\u{2}iconEmoji\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -198,10 +193,7 @@ extension Anytype_Rpc.BlockText.SetIcon.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.BlockText.SetIcon.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.SetIcon.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -240,10 +232,7 @@ extension Anytype_Rpc.BlockText.SetIcon.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.BlockText.SetIcon.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.SetIcon.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -277,11 +266,7 @@ extension Anytype_Rpc.BlockText.SetIcon.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.BlockText.SetIcon.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetMarks.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetMarks.swift index c3b106e619..3d9c00ce7e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetMarks.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetMarks.swift @@ -185,11 +185,7 @@ extension Anytype_Rpc.BlockText.SetMarks.Get: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.BlockText.SetMarks.Get.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.SetMarks.Get.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "range"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}range\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -233,10 +229,7 @@ extension Anytype_Rpc.BlockText.SetMarks.Get.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.BlockText.SetMarks.Get.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.SetMarks.Get.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -275,10 +268,7 @@ extension Anytype_Rpc.BlockText.SetMarks.Get.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.BlockText.SetMarks.Get.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.SetMarks.Get.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -312,11 +302,7 @@ extension Anytype_Rpc.BlockText.SetMarks.Get.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.BlockText.SetMarks.Get.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetStyle.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetStyle.swift index f9efea1d6f..c40b5689ad 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetStyle.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetStyle.swift @@ -145,11 +145,7 @@ extension Anytype_Rpc.BlockText.SetStyle: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.BlockText.SetStyle.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.SetStyle.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "style"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}style\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -189,10 +185,7 @@ extension Anytype_Rpc.BlockText.SetStyle.Request: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.BlockText.SetStyle.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.SetStyle.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -231,10 +224,7 @@ extension Anytype_Rpc.BlockText.SetStyle.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.BlockText.SetStyle.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.SetStyle.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,11 +258,7 @@ extension Anytype_Rpc.BlockText.SetStyle.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.BlockText.SetStyle.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetText.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetText.swift index 6746235c40..b428bf5fb1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetText.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetText.swift @@ -166,13 +166,7 @@ extension Anytype_Rpc.BlockText.SetText: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.BlockText.SetText.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.SetText.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "text"), - 4: .same(proto: "marks"), - 5: .same(proto: "selectedTextRange"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}text\0\u{1}marks\0\u{1}selectedTextRange\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -226,10 +220,7 @@ extension Anytype_Rpc.BlockText.SetText.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.BlockText.SetText.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.SetText.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,10 +259,7 @@ extension Anytype_Rpc.BlockText.SetText.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.BlockText.SetText.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockText.SetText.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -305,11 +293,7 @@ extension Anytype_Rpc.BlockText.SetText.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.BlockText.SetText.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.SetName.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.SetName.swift index c5ebd4b1b7..e01f76c167 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.SetName.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.SetName.swift @@ -135,11 +135,7 @@ extension Anytype_Rpc.BlockVideo.SetName: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.BlockVideo.SetName.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockVideo.SetName.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "name"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}name\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -179,9 +175,7 @@ extension Anytype_Rpc.BlockVideo.SetName.Request: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.BlockVideo.SetName.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockVideo.SetName.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -215,10 +209,7 @@ extension Anytype_Rpc.BlockVideo.SetName.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.BlockVideo.SetName.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockVideo.SetName.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -252,11 +243,7 @@ extension Anytype_Rpc.BlockVideo.SetName.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.BlockVideo.SetName.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.SetWidth.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.SetWidth.swift index a659be7a96..154687de56 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.SetWidth.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.SetWidth.swift @@ -135,11 +135,7 @@ extension Anytype_Rpc.BlockVideo.SetWidth: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.BlockVideo.SetWidth.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockVideo.SetWidth.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "width"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}width\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -179,9 +175,7 @@ extension Anytype_Rpc.BlockVideo.SetWidth.Request: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.BlockVideo.SetWidth.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockVideo.SetWidth.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -215,10 +209,7 @@ extension Anytype_Rpc.BlockVideo.SetWidth.Response: SwiftProtobuf.Message, Swift extension Anytype_Rpc.BlockVideo.SetWidth.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockVideo.SetWidth.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -252,11 +243,7 @@ extension Anytype_Rpc.BlockVideo.SetWidth.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.BlockVideo.SetWidth.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetLayout.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetLayout.swift index 9d3f1669e7..c333d1d66c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetLayout.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetLayout.swift @@ -143,11 +143,7 @@ extension Anytype_Rpc.BlockWidget.SetLayout: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.BlockWidget.SetLayout.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockWidget.SetLayout.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "layout"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}layout\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -187,10 +183,7 @@ extension Anytype_Rpc.BlockWidget.SetLayout.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.BlockWidget.SetLayout.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockWidget.SetLayout.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,10 +222,7 @@ extension Anytype_Rpc.BlockWidget.SetLayout.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.BlockWidget.SetLayout.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockWidget.SetLayout.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -266,11 +256,7 @@ extension Anytype_Rpc.BlockWidget.SetLayout.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.BlockWidget.SetLayout.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetLimit.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetLimit.swift index 5ac2913beb..b3d9c0b785 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetLimit.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetLimit.swift @@ -143,11 +143,7 @@ extension Anytype_Rpc.BlockWidget.SetLimit: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.BlockWidget.SetLimit.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockWidget.SetLimit.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "limit"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}limit\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -187,10 +183,7 @@ extension Anytype_Rpc.BlockWidget.SetLimit.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.BlockWidget.SetLimit.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockWidget.SetLimit.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,10 +222,7 @@ extension Anytype_Rpc.BlockWidget.SetLimit.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.BlockWidget.SetLimit.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockWidget.SetLimit.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -266,11 +256,7 @@ extension Anytype_Rpc.BlockWidget.SetLimit.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.BlockWidget.SetLimit.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetTargetId.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetTargetId.swift index 7f671d3646..027ed464ef 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetTargetId.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetTargetId.swift @@ -143,11 +143,7 @@ extension Anytype_Rpc.BlockWidget.SetTargetId: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.BlockWidget.SetTargetId.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockWidget.SetTargetId.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "targetId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}targetId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -187,10 +183,7 @@ extension Anytype_Rpc.BlockWidget.SetTargetId.Request: SwiftProtobuf.Message, Sw extension Anytype_Rpc.BlockWidget.SetTargetId.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockWidget.SetTargetId.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,10 +222,7 @@ extension Anytype_Rpc.BlockWidget.SetTargetId.Response: SwiftProtobuf.Message, S extension Anytype_Rpc.BlockWidget.SetTargetId.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockWidget.SetTargetId.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -266,11 +256,7 @@ extension Anytype_Rpc.BlockWidget.SetTargetId.Response.Error: SwiftProtobuf.Mess } extension Anytype_Rpc.BlockWidget.SetTargetId.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetViewId.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetViewId.swift index c4c0d05d3b..0206b77c31 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetViewId.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetViewId.swift @@ -143,11 +143,7 @@ extension Anytype_Rpc.BlockWidget.SetViewId: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.BlockWidget.SetViewId.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockWidget.SetViewId.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "blockId"), - 3: .same(proto: "viewId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}blockId\0\u{1}viewId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -187,10 +183,7 @@ extension Anytype_Rpc.BlockWidget.SetViewId.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.BlockWidget.SetViewId.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockWidget.SetViewId.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,10 +222,7 @@ extension Anytype_Rpc.BlockWidget.SetViewId.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.BlockWidget.SetViewId.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.BlockWidget.SetViewId.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -266,11 +256,7 @@ extension Anytype_Rpc.BlockWidget.SetViewId.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.BlockWidget.SetViewId.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Broadcast.PayloadEvent.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Broadcast.PayloadEvent.swift index ec86717da4..c5ede8d05f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Broadcast.PayloadEvent.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Broadcast.PayloadEvent.swift @@ -143,9 +143,7 @@ extension Anytype_Rpc.Broadcast.PayloadEvent: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Broadcast.PayloadEvent.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Broadcast.PayloadEvent.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "payload"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}payload\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -175,10 +173,7 @@ extension Anytype_Rpc.Broadcast.PayloadEvent.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Broadcast.PayloadEvent.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Broadcast.PayloadEvent.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "event"), - 2: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}event\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -217,10 +212,7 @@ extension Anytype_Rpc.Broadcast.PayloadEvent.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Broadcast.PayloadEvent.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Broadcast.PayloadEvent.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -254,12 +246,7 @@ extension Anytype_Rpc.Broadcast.PayloadEvent.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.Broadcast.PayloadEvent.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "INTERNAL_ERROR"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}INTERNAL_ERROR\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.AddMessage.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.AddMessage.swift index 25188965f2..e89ca52961 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.AddMessage.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.AddMessage.swift @@ -157,24 +157,17 @@ extension Anytype_Rpc.Chat.AddMessage: SwiftProtobuf.Message, SwiftProtobuf._Mes extension Anytype_Rpc.Chat.AddMessage.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.AddMessage.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "chatObjectId"), - 2: .same(proto: "message"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}chatObjectId\0\u{1}message\0") fileprivate class _StorageClass { var _chatObjectID: String = String() var _message: Anytype_Model_ChatMessage? = nil - #if swift(>=5.10) // This property is used as the initial default value for new instances of the type. // The type itself is protecting the reference to its storage via CoW semantics. // This will force a copy to be made of this reference when the first mutation occurs; // hence, it is safe to mark this as `nonisolated(unsafe)`. static nonisolated(unsafe) let defaultInstance = _StorageClass() - #else - static let defaultInstance = _StorageClass() - #endif private init() {} @@ -241,11 +234,7 @@ extension Anytype_Rpc.Chat.AddMessage.Request: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Chat.AddMessage.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.AddMessage.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "messageId"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}messageId\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -289,10 +278,7 @@ extension Anytype_Rpc.Chat.AddMessage.Response: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Chat.AddMessage.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.AddMessage.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -326,11 +312,7 @@ extension Anytype_Rpc.Chat.AddMessage.Response.Error: SwiftProtobuf.Message, Swi } extension Anytype_Rpc.Chat.AddMessage.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.DeleteMessage.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.DeleteMessage.swift index c71b935ec8..2975ba2f9f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.DeleteMessage.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.DeleteMessage.swift @@ -133,10 +133,7 @@ extension Anytype_Rpc.Chat.DeleteMessage: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.Chat.DeleteMessage.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.DeleteMessage.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "chatObjectId"), - 2: .same(proto: "messageId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}chatObjectId\0\u{1}messageId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -171,9 +168,7 @@ extension Anytype_Rpc.Chat.DeleteMessage.Request: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Chat.DeleteMessage.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.DeleteMessage.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -207,10 +202,7 @@ extension Anytype_Rpc.Chat.DeleteMessage.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Chat.DeleteMessage.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.DeleteMessage.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -244,11 +236,7 @@ extension Anytype_Rpc.Chat.DeleteMessage.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Chat.DeleteMessage.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.EditMessageContent.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.EditMessageContent.swift index ae25256739..7be47e5681 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.EditMessageContent.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.EditMessageContent.swift @@ -150,26 +150,18 @@ extension Anytype_Rpc.Chat.EditMessageContent: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Chat.EditMessageContent.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.EditMessageContent.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "chatObjectId"), - 2: .same(proto: "messageId"), - 3: .same(proto: "editedMessage"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}chatObjectId\0\u{1}messageId\0\u{1}editedMessage\0") fileprivate class _StorageClass { var _chatObjectID: String = String() var _messageID: String = String() var _editedMessage: Anytype_Model_ChatMessage? = nil - #if swift(>=5.10) // This property is used as the initial default value for new instances of the type. // The type itself is protecting the reference to its storage via CoW semantics. // This will force a copy to be made of this reference when the first mutation occurs; // hence, it is safe to mark this as `nonisolated(unsafe)`. static nonisolated(unsafe) let defaultInstance = _StorageClass() - #else - static let defaultInstance = _StorageClass() - #endif private init() {} @@ -242,9 +234,7 @@ extension Anytype_Rpc.Chat.EditMessageContent.Request: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Chat.EditMessageContent.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.EditMessageContent.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -278,10 +268,7 @@ extension Anytype_Rpc.Chat.EditMessageContent.Response: SwiftProtobuf.Message, S extension Anytype_Rpc.Chat.EditMessageContent.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.EditMessageContent.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -315,11 +302,7 @@ extension Anytype_Rpc.Chat.EditMessageContent.Response.Error: SwiftProtobuf.Mess } extension Anytype_Rpc.Chat.EditMessageContent.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.GetMessages.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.GetMessages.swift index 376b113252..64bc0a5d25 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.GetMessages.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.GetMessages.swift @@ -154,13 +154,7 @@ extension Anytype_Rpc.Chat.GetMessages: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Rpc.Chat.GetMessages.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.GetMessages.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "chatObjectId"), - 4: .same(proto: "afterOrderId"), - 2: .same(proto: "beforeOrderId"), - 3: .same(proto: "limit"), - 5: .same(proto: "includeBoundary"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}chatObjectId\0\u{1}beforeOrderId\0\u{1}limit\0\u{1}afterOrderId\0\u{1}includeBoundary\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -210,11 +204,7 @@ extension Anytype_Rpc.Chat.GetMessages.Request: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Chat.GetMessages.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.GetMessages.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "messages"), - 3: .same(proto: "chatState"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}messages\0\u{1}chatState\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -258,10 +248,7 @@ extension Anytype_Rpc.Chat.GetMessages.Response: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Chat.GetMessages.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.GetMessages.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -295,11 +282,7 @@ extension Anytype_Rpc.Chat.GetMessages.Response.Error: SwiftProtobuf.Message, Sw } extension Anytype_Rpc.Chat.GetMessages.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.GetMessagesByIds.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.GetMessagesByIds.swift index 5b60282e05..176d62e012 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.GetMessagesByIds.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.GetMessagesByIds.swift @@ -135,10 +135,7 @@ extension Anytype_Rpc.Chat.GetMessagesByIds: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Chat.GetMessagesByIds.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.GetMessagesByIds.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "chatObjectId"), - 2: .same(proto: "messageIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}chatObjectId\0\u{1}messageIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -173,10 +170,7 @@ extension Anytype_Rpc.Chat.GetMessagesByIds.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Chat.GetMessagesByIds.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.GetMessagesByIds.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "messages"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}messages\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -215,10 +209,7 @@ extension Anytype_Rpc.Chat.GetMessagesByIds.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Chat.GetMessagesByIds.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.GetMessagesByIds.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -252,11 +243,7 @@ extension Anytype_Rpc.Chat.GetMessagesByIds.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.Chat.GetMessagesByIds.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ReadAll.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ReadAll.swift index 2f9f4e4013..64511cbe9e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ReadAll.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ReadAll.swift @@ -148,9 +148,7 @@ extension Anytype_Rpc.Chat.ReadAll.Request: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Chat.ReadAll.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.ReadAll.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -184,10 +182,7 @@ extension Anytype_Rpc.Chat.ReadAll.Response: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Chat.ReadAll.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.ReadAll.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -221,11 +216,7 @@ extension Anytype_Rpc.Chat.ReadAll.Response.Error: SwiftProtobuf.Message, SwiftP } extension Anytype_Rpc.Chat.ReadAll.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ReadMessages.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ReadMessages.swift index 63e1fd954c..0b81ede692 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ReadMessages.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ReadMessages.swift @@ -190,21 +190,12 @@ extension Anytype_Rpc.Chat.ReadMessages: SwiftProtobuf.Message, SwiftProtobuf._M } extension Anytype_Rpc.Chat.ReadMessages.ReadType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Messages"), - 1: .same(proto: "Mentions"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Messages\0\u{1}Mentions\0") } extension Anytype_Rpc.Chat.ReadMessages.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.ReadMessages.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), - 2: .same(proto: "chatObjectId"), - 3: .same(proto: "afterOrderId"), - 4: .same(proto: "beforeOrderId"), - 5: .same(proto: "lastStateId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}type\0\u{1}chatObjectId\0\u{1}afterOrderId\0\u{1}beforeOrderId\0\u{1}lastStateId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -254,10 +245,7 @@ extension Anytype_Rpc.Chat.ReadMessages.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Chat.ReadMessages.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.ReadMessages.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -296,10 +284,7 @@ extension Anytype_Rpc.Chat.ReadMessages.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Chat.ReadMessages.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.ReadMessages.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -333,12 +318,7 @@ extension Anytype_Rpc.Chat.ReadMessages.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.Chat.ReadMessages.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 100: .same(proto: "MESSAGES_NOT_FOUND"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}b\u{1}MESSAGES_NOT_FOUND\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.SubscribeLastMessages.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.SubscribeLastMessages.swift index 5279e05bad..fdf38108f3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.SubscribeLastMessages.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.SubscribeLastMessages.swift @@ -154,11 +154,7 @@ extension Anytype_Rpc.Chat.SubscribeLastMessages: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Chat.SubscribeLastMessages.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.SubscribeLastMessages.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "chatObjectId"), - 2: .same(proto: "limit"), - 3: .same(proto: "subId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}chatObjectId\0\u{1}limit\0\u{1}subId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -198,12 +194,7 @@ extension Anytype_Rpc.Chat.SubscribeLastMessages.Request: SwiftProtobuf.Message, extension Anytype_Rpc.Chat.SubscribeLastMessages.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.SubscribeLastMessages.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "messages"), - 3: .same(proto: "numMessagesBefore"), - 4: .same(proto: "chatState"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}messages\0\u{1}numMessagesBefore\0\u{1}chatState\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -252,10 +243,7 @@ extension Anytype_Rpc.Chat.SubscribeLastMessages.Response: SwiftProtobuf.Message extension Anytype_Rpc.Chat.SubscribeLastMessages.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.SubscribeLastMessages.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -289,11 +277,7 @@ extension Anytype_Rpc.Chat.SubscribeLastMessages.Response.Error: SwiftProtobuf.M } extension Anytype_Rpc.Chat.SubscribeLastMessages.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.SubscribeToMessagePreviews.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.SubscribeToMessagePreviews.swift index 4a5e6e93d4..3e79cdf4ad 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.SubscribeToMessagePreviews.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.SubscribeToMessagePreviews.swift @@ -178,9 +178,7 @@ extension Anytype_Rpc.Chat.SubscribeToMessagePreviews: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Chat.SubscribeToMessagePreviews.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.SubscribeToMessagePreviews.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "subId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}subId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -210,10 +208,7 @@ extension Anytype_Rpc.Chat.SubscribeToMessagePreviews.Request: SwiftProtobuf.Mes extension Anytype_Rpc.Chat.SubscribeToMessagePreviews.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.SubscribeToMessagePreviews.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "previews"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}previews\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -252,13 +247,7 @@ extension Anytype_Rpc.Chat.SubscribeToMessagePreviews.Response: SwiftProtobuf.Me extension Anytype_Rpc.Chat.SubscribeToMessagePreviews.Response.ChatPreview: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.SubscribeToMessagePreviews.Response.protoMessageName + ".ChatPreview" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "chatObjectId"), - 3: .same(proto: "message"), - 4: .same(proto: "state"), - 5: .same(proto: "dependencies"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}chatObjectId\0\u{1}message\0\u{1}state\0\u{1}dependencies\0") fileprivate class _StorageClass { var _spaceID: String = String() @@ -267,15 +256,11 @@ extension Anytype_Rpc.Chat.SubscribeToMessagePreviews.Response.ChatPreview: Swif var _state: Anytype_Model_ChatState? = nil var _dependencies: [SwiftProtobuf.Google_Protobuf_Struct] = [] - #if swift(>=5.10) // This property is used as the initial default value for new instances of the type. // The type itself is protecting the reference to its storage via CoW semantics. // This will force a copy to be made of this reference when the first mutation occurs; // hence, it is safe to mark this as `nonisolated(unsafe)`. static nonisolated(unsafe) let defaultInstance = _StorageClass() - #else - static let defaultInstance = _StorageClass() - #endif private init() {} @@ -360,10 +345,7 @@ extension Anytype_Rpc.Chat.SubscribeToMessagePreviews.Response.ChatPreview: Swif extension Anytype_Rpc.Chat.SubscribeToMessagePreviews.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.SubscribeToMessagePreviews.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -397,11 +379,7 @@ extension Anytype_Rpc.Chat.SubscribeToMessagePreviews.Response.Error: SwiftProto } extension Anytype_Rpc.Chat.SubscribeToMessagePreviews.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ToggleMessageReaction.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ToggleMessageReaction.swift index 7aaafa4f99..a95c16790b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ToggleMessageReaction.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ToggleMessageReaction.swift @@ -138,11 +138,7 @@ extension Anytype_Rpc.Chat.ToggleMessageReaction: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Chat.ToggleMessageReaction.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.ToggleMessageReaction.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "chatObjectId"), - 2: .same(proto: "messageId"), - 3: .same(proto: "emoji"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}chatObjectId\0\u{1}messageId\0\u{1}emoji\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -182,10 +178,7 @@ extension Anytype_Rpc.Chat.ToggleMessageReaction.Request: SwiftProtobuf.Message, extension Anytype_Rpc.Chat.ToggleMessageReaction.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.ToggleMessageReaction.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "added"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}added\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -224,10 +217,7 @@ extension Anytype_Rpc.Chat.ToggleMessageReaction.Response: SwiftProtobuf.Message extension Anytype_Rpc.Chat.ToggleMessageReaction.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.ToggleMessageReaction.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -261,11 +251,7 @@ extension Anytype_Rpc.Chat.ToggleMessageReaction.Response.Error: SwiftProtobuf.M } extension Anytype_Rpc.Chat.ToggleMessageReaction.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.Unread.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.Unread.swift index e8c4643496..fd04e44e5e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.Unread.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.Unread.swift @@ -176,19 +176,12 @@ extension Anytype_Rpc.Chat.Unread: SwiftProtobuf.Message, SwiftProtobuf._Message } extension Anytype_Rpc.Chat.Unread.ReadType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Messages"), - 1: .same(proto: "Mentions"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Messages\0\u{1}Mentions\0") } extension Anytype_Rpc.Chat.Unread.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.Unread.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), - 2: .same(proto: "chatObjectId"), - 3: .same(proto: "afterOrderId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}type\0\u{1}chatObjectId\0\u{1}afterOrderId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -228,10 +221,7 @@ extension Anytype_Rpc.Chat.Unread.Request: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Chat.Unread.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.Unread.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -270,10 +260,7 @@ extension Anytype_Rpc.Chat.Unread.Response: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Chat.Unread.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.Unread.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -307,11 +294,7 @@ extension Anytype_Rpc.Chat.Unread.Response.Error: SwiftProtobuf.Message, SwiftPr } extension Anytype_Rpc.Chat.Unread.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.Unsubscribe.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.Unsubscribe.swift index 8436465d91..b09ade1f2a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.Unsubscribe.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.Unsubscribe.swift @@ -134,10 +134,7 @@ extension Anytype_Rpc.Chat.Unsubscribe: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Rpc.Chat.Unsubscribe.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.Unsubscribe.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "chatObjectId"), - 2: .same(proto: "subId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}chatObjectId\0\u{1}subId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -172,9 +169,7 @@ extension Anytype_Rpc.Chat.Unsubscribe.Request: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Chat.Unsubscribe.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.Unsubscribe.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -208,10 +203,7 @@ extension Anytype_Rpc.Chat.Unsubscribe.Response: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Chat.Unsubscribe.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.Unsubscribe.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -245,11 +237,7 @@ extension Anytype_Rpc.Chat.Unsubscribe.Response.Error: SwiftProtobuf.Message, Sw } extension Anytype_Rpc.Chat.Unsubscribe.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.swift index 86612488f7..3cc9661dd7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.swift @@ -131,9 +131,7 @@ extension Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews: SwiftProtobuf.Message extension Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "subId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}subId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -163,9 +161,7 @@ extension Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.Request: SwiftProtobuf extension Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -199,10 +195,7 @@ extension Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.Response: SwiftProtobu extension Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -236,11 +229,7 @@ extension Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.Response.Error: SwiftP } extension Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.AccountSelectTrace.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.AccountSelectTrace.swift index efc7e8f953..bc94c565c9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.AccountSelectTrace.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.AccountSelectTrace.swift @@ -132,9 +132,7 @@ extension Anytype_Rpc.Debug.AccountSelectTrace: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Debug.AccountSelectTrace.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.AccountSelectTrace.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "dir"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}dir\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -164,10 +162,7 @@ extension Anytype_Rpc.Debug.AccountSelectTrace.Request: SwiftProtobuf.Message, S extension Anytype_Rpc.Debug.AccountSelectTrace.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.AccountSelectTrace.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "path"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}path\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -206,10 +201,7 @@ extension Anytype_Rpc.Debug.AccountSelectTrace.Response: SwiftProtobuf.Message, extension Anytype_Rpc.Debug.AccountSelectTrace.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.AccountSelectTrace.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -243,11 +235,7 @@ extension Anytype_Rpc.Debug.AccountSelectTrace.Response.Error: SwiftProtobuf.Mes } extension Anytype_Rpc.Debug.AccountSelectTrace.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.AnystoreObjectChanges.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.AnystoreObjectChanges.swift index 974448daa7..7e3b2f3421 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.AnystoreObjectChanges.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.AnystoreObjectChanges.swift @@ -196,10 +196,7 @@ extension Anytype_Rpc.Debug.AnystoreObjectChanges: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Debug.AnystoreObjectChanges.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.AnystoreObjectChanges.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectId"), - 2: .same(proto: "orderBy"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectId\0\u{1}orderBy\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -233,19 +230,12 @@ extension Anytype_Rpc.Debug.AnystoreObjectChanges.Request: SwiftProtobuf.Message } extension Anytype_Rpc.Debug.AnystoreObjectChanges.Request.OrderBy: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ORDER_ID"), - 1: .same(proto: "ITERATION_ORDER"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0ORDER_ID\0\u{1}ITERATION_ORDER\0") } extension Anytype_Rpc.Debug.AnystoreObjectChanges.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.AnystoreObjectChanges.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "changes"), - 3: .same(proto: "wrongOrder"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}changes\0\u{1}wrongOrder\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -289,12 +279,7 @@ extension Anytype_Rpc.Debug.AnystoreObjectChanges.Response: SwiftProtobuf.Messag extension Anytype_Rpc.Debug.AnystoreObjectChanges.Response.Change: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.AnystoreObjectChanges.Response.protoMessageName + ".Change" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "changeId"), - 2: .same(proto: "orderId"), - 3: .same(proto: "error"), - 4: .same(proto: "change"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}changeId\0\u{1}orderId\0\u{1}error\0\u{1}change\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -343,10 +328,7 @@ extension Anytype_Rpc.Debug.AnystoreObjectChanges.Response.Change: SwiftProtobuf extension Anytype_Rpc.Debug.AnystoreObjectChanges.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.AnystoreObjectChanges.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -380,11 +362,7 @@ extension Anytype_Rpc.Debug.AnystoreObjectChanges.Response.Error: SwiftProtobuf. } extension Anytype_Rpc.Debug.AnystoreObjectChanges.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.ExportLocalstore.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.ExportLocalstore.swift index db422eafde..1b125c0091 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.ExportLocalstore.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.ExportLocalstore.swift @@ -149,11 +149,7 @@ extension Anytype_Rpc.Debug.ExportLocalstore: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Debug.ExportLocalstore.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.ExportLocalstore.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "path"), - 2: .same(proto: "docIds"), - 3: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}path\0\u{1}docIds\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -193,11 +189,7 @@ extension Anytype_Rpc.Debug.ExportLocalstore.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Debug.ExportLocalstore.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.ExportLocalstore.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "path"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}path\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -241,10 +233,7 @@ extension Anytype_Rpc.Debug.ExportLocalstore.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Debug.ExportLocalstore.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.ExportLocalstore.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -278,11 +267,7 @@ extension Anytype_Rpc.Debug.ExportLocalstore.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.Debug.ExportLocalstore.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.ExportLog.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.ExportLog.swift index 048c8b1cd3..c56ff8227f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.ExportLog.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.ExportLog.swift @@ -136,9 +136,7 @@ extension Anytype_Rpc.Debug.ExportLog: SwiftProtobuf.Message, SwiftProtobuf._Mes extension Anytype_Rpc.Debug.ExportLog.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.ExportLog.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "dir"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}dir\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -168,10 +166,7 @@ extension Anytype_Rpc.Debug.ExportLog.Request: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Debug.ExportLog.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.ExportLog.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "path"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}path\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -210,10 +205,7 @@ extension Anytype_Rpc.Debug.ExportLog.Response: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Debug.ExportLog.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.ExportLog.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -247,12 +239,7 @@ extension Anytype_Rpc.Debug.ExportLog.Response.Error: SwiftProtobuf.Message, Swi } extension Anytype_Rpc.Debug.ExportLog.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "NO_FOLDER"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}NO_FOLDER\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.NetCheck.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.NetCheck.swift index 0effb0c1bf..657fe3f49d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.NetCheck.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.NetCheck.swift @@ -131,9 +131,7 @@ extension Anytype_Rpc.Debug.NetCheck: SwiftProtobuf.Message, SwiftProtobuf._Mess extension Anytype_Rpc.Debug.NetCheck.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.NetCheck.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "clientYml"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}clientYml\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -163,10 +161,7 @@ extension Anytype_Rpc.Debug.NetCheck.Request: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Debug.NetCheck.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.NetCheck.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "result"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}result\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -205,10 +200,7 @@ extension Anytype_Rpc.Debug.NetCheck.Response: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Debug.NetCheck.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.NetCheck.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -242,11 +234,7 @@ extension Anytype_Rpc.Debug.NetCheck.Response.Error: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.Debug.NetCheck.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.OpenedObjects.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.OpenedObjects.swift index 1db0a5987b..efc9a8364c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.OpenedObjects.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.OpenedObjects.swift @@ -148,10 +148,7 @@ extension Anytype_Rpc.Debug.OpenedObjects.Request: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Debug.OpenedObjects.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.OpenedObjects.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "objectIDs"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}objectIDs\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -190,10 +187,7 @@ extension Anytype_Rpc.Debug.OpenedObjects.Response: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Debug.OpenedObjects.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.OpenedObjects.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -227,11 +221,7 @@ extension Anytype_Rpc.Debug.OpenedObjects.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Debug.OpenedObjects.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Ping.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Ping.swift index d6e497f9eb..794feaae20 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Ping.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Ping.swift @@ -133,10 +133,7 @@ extension Anytype_Rpc.Debug.Ping: SwiftProtobuf.Message, SwiftProtobuf._MessageI extension Anytype_Rpc.Debug.Ping.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.Ping.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "index"), - 2: .same(proto: "numberOfEventsToSend"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}index\0\u{1}numberOfEventsToSend\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -171,10 +168,7 @@ extension Anytype_Rpc.Debug.Ping.Request: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.Debug.Ping.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.Ping.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "index"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}index\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -213,10 +207,7 @@ extension Anytype_Rpc.Debug.Ping.Response: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Debug.Ping.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.Ping.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -250,11 +241,7 @@ extension Anytype_Rpc.Debug.Ping.Response.Error: SwiftProtobuf.Message, SwiftPro } extension Anytype_Rpc.Debug.Ping.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.RunProfiler.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.RunProfiler.swift index a6d503eee2..47800ef19a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.RunProfiler.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.RunProfiler.swift @@ -131,9 +131,7 @@ extension Anytype_Rpc.Debug.RunProfiler: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.Debug.RunProfiler.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.RunProfiler.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "durationInSeconds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}durationInSeconds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -163,10 +161,7 @@ extension Anytype_Rpc.Debug.RunProfiler.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Debug.RunProfiler.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.RunProfiler.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "path"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}path\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -205,10 +200,7 @@ extension Anytype_Rpc.Debug.RunProfiler.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Debug.RunProfiler.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.RunProfiler.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -242,11 +234,7 @@ extension Anytype_Rpc.Debug.RunProfiler.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.Debug.RunProfiler.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.SpaceSummary.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.SpaceSummary.swift index 5763af39cf..a458859e90 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.SpaceSummary.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.SpaceSummary.swift @@ -135,9 +135,7 @@ extension Anytype_Rpc.Debug.SpaceSummary: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.Debug.SpaceSummary.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.SpaceSummary.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -167,11 +165,7 @@ extension Anytype_Rpc.Debug.SpaceSummary.Request: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Debug.SpaceSummary.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.SpaceSummary.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "spaceId"), - 3: .same(proto: "infos"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}spaceId\0\u{1}infos\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -215,10 +209,7 @@ extension Anytype_Rpc.Debug.SpaceSummary.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Debug.SpaceSummary.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.SpaceSummary.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -252,11 +243,7 @@ extension Anytype_Rpc.Debug.SpaceSummary.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Debug.SpaceSummary.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.StackGoroutines.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.StackGoroutines.swift index 7a8da5a4ab..a9ddd0360a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.StackGoroutines.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.StackGoroutines.swift @@ -131,9 +131,7 @@ extension Anytype_Rpc.Debug.StackGoroutines: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Debug.StackGoroutines.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.StackGoroutines.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "path"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}path\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -163,9 +161,7 @@ extension Anytype_Rpc.Debug.StackGoroutines.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Debug.StackGoroutines.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.StackGoroutines.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -199,10 +195,7 @@ extension Anytype_Rpc.Debug.StackGoroutines.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Debug.StackGoroutines.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.StackGoroutines.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -236,11 +229,7 @@ extension Anytype_Rpc.Debug.StackGoroutines.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.Debug.StackGoroutines.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Stat.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Stat.swift index 09129a493e..5cb6bb8cde 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Stat.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Stat.swift @@ -150,10 +150,7 @@ extension Anytype_Rpc.Debug.Stat.Request: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.Debug.Stat.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.Stat.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "jsonStat"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}jsonStat\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -192,10 +189,7 @@ extension Anytype_Rpc.Debug.Stat.Response: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Debug.Stat.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.Stat.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,11 +223,7 @@ extension Anytype_Rpc.Debug.Stat.Response.Error: SwiftProtobuf.Message, SwiftPro } extension Anytype_Rpc.Debug.Stat.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Subscriptions.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Subscriptions.swift index fcf5f871d9..fc1d615222 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Subscriptions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Subscriptions.swift @@ -148,10 +148,7 @@ extension Anytype_Rpc.Debug.Subscriptions.Request: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Debug.Subscriptions.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.Subscriptions.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "subscriptions"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}subscriptions\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -190,10 +187,7 @@ extension Anytype_Rpc.Debug.Subscriptions.Response: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Debug.Subscriptions.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.Subscriptions.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -227,11 +221,7 @@ extension Anytype_Rpc.Debug.Subscriptions.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Debug.Subscriptions.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Tree.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Tree.swift index 5e71128753..72b91e6766 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Tree.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Tree.swift @@ -141,12 +141,7 @@ extension Anytype_Rpc.Debug.Tree: SwiftProtobuf.Message, SwiftProtobuf._MessageI extension Anytype_Rpc.Debug.Tree.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.Tree.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "treeId"), - 2: .same(proto: "path"), - 3: .same(proto: "unanonymized"), - 4: .same(proto: "generateSvg"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}treeId\0\u{1}path\0\u{1}unanonymized\0\u{1}generateSvg\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -191,10 +186,7 @@ extension Anytype_Rpc.Debug.Tree.Request: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.Debug.Tree.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.Tree.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "filename"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}filename\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -233,10 +225,7 @@ extension Anytype_Rpc.Debug.Tree.Response: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Debug.Tree.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.Tree.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -270,11 +259,7 @@ extension Anytype_Rpc.Debug.Tree.Response.Error: SwiftProtobuf.Message, SwiftPro } extension Anytype_Rpc.Debug.Tree.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.TreeHeads.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.TreeHeads.swift index 9a62668548..055681f926 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.TreeHeads.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.TreeHeads.swift @@ -143,9 +143,7 @@ extension Anytype_Rpc.Debug.TreeHeads: SwiftProtobuf.Message, SwiftProtobuf._Mes extension Anytype_Rpc.Debug.TreeHeads.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.TreeHeads.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "treeId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}treeId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -175,11 +173,7 @@ extension Anytype_Rpc.Debug.TreeHeads.Request: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Debug.TreeHeads.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.TreeHeads.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "spaceId"), - 3: .same(proto: "info"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}spaceId\0\u{1}info\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -223,10 +217,7 @@ extension Anytype_Rpc.Debug.TreeHeads.Response: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Debug.TreeHeads.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.TreeHeads.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -260,11 +251,7 @@ extension Anytype_Rpc.Debug.TreeHeads.Response.Error: SwiftProtobuf.Message, Swi } extension Anytype_Rpc.Debug.TreeHeads.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.TreeInfo.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.TreeInfo.swift index 1a2e3fef35..122edde5ac 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.TreeInfo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.TreeInfo.swift @@ -29,10 +29,7 @@ extension Anytype_Rpc.Debug { extension Anytype_Rpc.Debug.TreeInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Debug.protoMessageName + ".TreeInfo" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "treeId"), - 2: .same(proto: "headIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}treeId\0\u{1}headIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.List.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.List.swift index e9ffea6e8a..5b4515f987 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.List.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.List.swift @@ -148,10 +148,7 @@ extension Anytype_Rpc.Device.List.Request: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Device.List.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Device.List.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "devices"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}devices\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -190,10 +187,7 @@ extension Anytype_Rpc.Device.List.Response: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Device.List.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Device.List.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -227,11 +221,7 @@ extension Anytype_Rpc.Device.List.Response.Error: SwiftProtobuf.Message, SwiftPr } extension Anytype_Rpc.Device.List.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.NetworkState.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.NetworkState.swift index 1af6900ec0..4a297295a5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.NetworkState.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.NetworkState.swift @@ -162,9 +162,7 @@ extension Anytype_Rpc.Device.NetworkState.Set: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Device.NetworkState.Set.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Device.NetworkState.Set.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "deviceNetworkType"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}deviceNetworkType\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -194,9 +192,7 @@ extension Anytype_Rpc.Device.NetworkState.Set.Request: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Device.NetworkState.Set.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Device.NetworkState.Set.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\u{2}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -230,10 +226,7 @@ extension Anytype_Rpc.Device.NetworkState.Set.Response: SwiftProtobuf.Message, S extension Anytype_Rpc.Device.NetworkState.Set.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Device.NetworkState.Set.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -267,12 +260,7 @@ extension Anytype_Rpc.Device.NetworkState.Set.Response.Error: SwiftProtobuf.Mess } extension Anytype_Rpc.Device.NetworkState.Set.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "INTERNAL_ERROR"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}INTERNAL_ERROR\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.SetName.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.SetName.swift index 66f2ea7d98..5324eb7d91 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.SetName.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.SetName.swift @@ -131,10 +131,7 @@ extension Anytype_Rpc.Device.SetName: SwiftProtobuf.Message, SwiftProtobuf._Mess extension Anytype_Rpc.Device.SetName.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Device.SetName.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "deviceId"), - 2: .same(proto: "name"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}deviceId\0\u{1}name\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -169,9 +166,7 @@ extension Anytype_Rpc.Device.SetName.Request: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Device.SetName.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Device.SetName.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -205,10 +200,7 @@ extension Anytype_Rpc.Device.SetName.Response: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Device.SetName.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Device.SetName.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -242,11 +234,7 @@ extension Anytype_Rpc.Device.SetName.Response.Error: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.Device.SetName.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.DiscardPreload.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.DiscardPreload.swift index 0c98d3db1e..35499ad8a1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.DiscardPreload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.DiscardPreload.swift @@ -131,10 +131,7 @@ extension Anytype_Rpc.File.DiscardPreload: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.File.DiscardPreload.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.DiscardPreload.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "fileId"), - 2: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}fileId\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -169,9 +166,7 @@ extension Anytype_Rpc.File.DiscardPreload.Request: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.File.DiscardPreload.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.DiscardPreload.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -205,10 +200,7 @@ extension Anytype_Rpc.File.DiscardPreload.Response: SwiftProtobuf.Message, Swift extension Anytype_Rpc.File.DiscardPreload.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.DiscardPreload.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -242,11 +234,7 @@ extension Anytype_Rpc.File.DiscardPreload.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.File.DiscardPreload.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Download.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Download.swift index e5e3c057e7..4fbf420b6b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Download.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Download.swift @@ -134,10 +134,7 @@ extension Anytype_Rpc.File.Download: SwiftProtobuf.Message, SwiftProtobuf._Messa extension Anytype_Rpc.File.Download.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.Download.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectId"), - 2: .same(proto: "path"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectId\0\u{1}path\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -172,10 +169,7 @@ extension Anytype_Rpc.File.Download.Request: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.File.Download.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.Download.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "localPath"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}localPath\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -214,10 +208,7 @@ extension Anytype_Rpc.File.Download.Response: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.File.Download.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.Download.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -251,11 +242,7 @@ extension Anytype_Rpc.File.Download.Response.Error: SwiftProtobuf.Message, Swift } extension Anytype_Rpc.File.Download.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Drop.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Drop.swift index c27bdc2b47..a7c1cb7fa3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Drop.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Drop.swift @@ -149,12 +149,7 @@ extension Anytype_Rpc.File.Drop: SwiftProtobuf.Message, SwiftProtobuf._MessageIm extension Anytype_Rpc.File.Drop.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.Drop.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "dropTargetId"), - 3: .same(proto: "position"), - 4: .same(proto: "localFilePaths"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}dropTargetId\0\u{1}position\0\u{1}localFilePaths\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -199,10 +194,7 @@ extension Anytype_Rpc.File.Drop.Request: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.File.Drop.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.Drop.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -241,10 +233,7 @@ extension Anytype_Rpc.File.Drop.Response: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.File.Drop.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.Drop.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -278,11 +267,7 @@ extension Anytype_Rpc.File.Drop.Response.Error: SwiftProtobuf.Message, SwiftProt } extension Anytype_Rpc.File.Drop.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.ListOffload.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.ListOffload.swift index 6b2bae9e6a..9a64893fba 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.ListOffload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.ListOffload.swift @@ -143,10 +143,7 @@ extension Anytype_Rpc.File.ListOffload: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Rpc.File.ListOffload.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.ListOffload.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "onlyIds"), - 2: .same(proto: "includeNotPinned"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}onlyIds\0\u{1}includeNotPinned\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -181,11 +178,7 @@ extension Anytype_Rpc.File.ListOffload.Request: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.File.ListOffload.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.ListOffload.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "filesOffloaded"), - 3: .same(proto: "bytesOffloaded"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}filesOffloaded\0\u{1}bytesOffloaded\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,10 +222,7 @@ extension Anytype_Rpc.File.ListOffload.Response: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.File.ListOffload.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.ListOffload.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -266,12 +256,7 @@ extension Anytype_Rpc.File.ListOffload.Response.Error: SwiftProtobuf.Message, Sw } extension Anytype_Rpc.File.ListOffload.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 103: .same(proto: "NODE_NOT_STARTED"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}e\u{1}NODE_NOT_STARTED\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.NodeUsage.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.NodeUsage.swift index cc002254b6..5931f71270 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.NodeUsage.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.NodeUsage.swift @@ -200,11 +200,7 @@ extension Anytype_Rpc.File.NodeUsage.Request: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.File.NodeUsage.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.NodeUsage.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "usage"), - 3: .same(proto: "spaces"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}usage\0\u{1}spaces\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -248,14 +244,7 @@ extension Anytype_Rpc.File.NodeUsage.Response: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.File.NodeUsage.Response.Usage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.NodeUsage.Response.protoMessageName + ".Usage" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "filesCount"), - 2: .same(proto: "cidsCount"), - 3: .same(proto: "bytesUsage"), - 4: .same(proto: "bytesLeft"), - 5: .same(proto: "bytesLimit"), - 6: .same(proto: "localBytesUsage"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}filesCount\0\u{1}cidsCount\0\u{1}bytesUsage\0\u{1}bytesLeft\0\u{1}bytesLimit\0\u{1}localBytesUsage\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -310,12 +299,7 @@ extension Anytype_Rpc.File.NodeUsage.Response.Usage: SwiftProtobuf.Message, Swif extension Anytype_Rpc.File.NodeUsage.Response.Space: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.NodeUsage.Response.protoMessageName + ".Space" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "filesCount"), - 3: .same(proto: "cidsCount"), - 4: .same(proto: "bytesUsage"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}filesCount\0\u{1}cidsCount\0\u{1}bytesUsage\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -360,10 +344,7 @@ extension Anytype_Rpc.File.NodeUsage.Response.Space: SwiftProtobuf.Message, Swif extension Anytype_Rpc.File.NodeUsage.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.NodeUsage.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -397,11 +378,7 @@ extension Anytype_Rpc.File.NodeUsage.Response.Error: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.File.NodeUsage.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Offload.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Offload.swift index a690d3bffa..97be2ad0e6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Offload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Offload.swift @@ -139,10 +139,7 @@ extension Anytype_Rpc.File.Offload: SwiftProtobuf.Message, SwiftProtobuf._Messag extension Anytype_Rpc.File.Offload.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.Offload.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "includeNotPinned"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}includeNotPinned\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -177,10 +174,7 @@ extension Anytype_Rpc.File.Offload.Request: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.File.Offload.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.Offload.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "bytesOffloaded"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}bytesOffloaded\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -219,10 +213,7 @@ extension Anytype_Rpc.File.Offload.Response: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.File.Offload.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.Offload.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -256,12 +247,7 @@ extension Anytype_Rpc.File.Offload.Response.Error: SwiftProtobuf.Message, SwiftP } extension Anytype_Rpc.File.Offload.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 103: .same(proto: "NODE_NOT_STARTED"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}e\u{1}NODE_NOT_STARTED\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Reconcile.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Reconcile.swift index 8d72730dc6..7f6e7500cc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Reconcile.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Reconcile.swift @@ -146,9 +146,7 @@ extension Anytype_Rpc.File.Reconcile.Request: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.File.Reconcile.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.Reconcile.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -182,10 +180,7 @@ extension Anytype_Rpc.File.Reconcile.Response: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.File.Reconcile.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.Reconcile.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -219,11 +214,7 @@ extension Anytype_Rpc.File.Reconcile.Response.Error: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.File.Reconcile.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SetAutoDownload.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SetAutoDownload.swift new file mode 100644 index 0000000000..2b3a6b9c48 --- /dev/null +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SetAutoDownload.swift @@ -0,0 +1,252 @@ +// DO NOT EDIT. +// swift-format-ignore-file +// swiftlint:disable all +// +// Generated by the Swift generator plugin for the protocol buffer compiler. +// Source: pb/protos/commands.proto +// +// For information on using the generated types, please see the documentation: +// https://github.com/apple/swift-protobuf/ + +import Foundation +import SwiftProtobuf + +extension Anytype_Rpc.File { + public struct SetAutoDownload: Sendable { + // SwiftProtobuf.Message conformance is added in an extension below. See the + // `Message` and `Message+*Additions` files in the SwiftProtobuf library for + // methods supported on all messages. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct Request: Sendable { + // SwiftProtobuf.Message conformance is added in an extension below. See the + // `Message` and `Message+*Additions` files in the SwiftProtobuf library for + // methods supported on all messages. + + public var enabled: Bool = false + + public var wifiOnly: Bool = false + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct Response: Sendable { + // SwiftProtobuf.Message conformance is added in an extension below. See the + // `Message` and `Message+*Additions` files in the SwiftProtobuf library for + // methods supported on all messages. + + public var error: Anytype_Rpc.File.SetAutoDownload.Response.Error { + get {return _error ?? Anytype_Rpc.File.SetAutoDownload.Response.Error()} + set {_error = newValue} + } + /// Returns true if `error` has been explicitly set. + public var hasError: Bool {return self._error != nil} + /// Clears the value of `error`. Subsequent reads from it will return its default value. + public mutating func clearError() {self._error = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct Error: Sendable { + // SwiftProtobuf.Message conformance is added in an extension below. See the + // `Message` and `Message+*Additions` files in the SwiftProtobuf library for + // methods supported on all messages. + + public var code: Anytype_Rpc.File.SetAutoDownload.Response.Error.Code = .null + + public var description_p: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Code: SwiftProtobuf.Enum, Swift.CaseIterable { + public typealias RawValue = Int + case null // = 0 + case unknownError // = 1 + case badInput // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .null + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .null + case 1: self = .unknownError + case 2: self = .badInput + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .null: return 0 + case .unknownError: return 1 + case .badInput: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static let allCases: [Anytype_Rpc.File.SetAutoDownload.Response.Error.Code] = [ + .null, + .unknownError, + .badInput, + ] + + } + + public init() {} + } + + public init() {} + + fileprivate var _error: Anytype_Rpc.File.SetAutoDownload.Response.Error? = nil + } + + public init() {} + } +} + +extension Anytype_Rpc.File.SetAutoDownload: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.File.protoMessageName + ".SetAutoDownload" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + // Load everything into unknown fields + while try decoder.nextFieldNumber() != nil {} + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Anytype_Rpc.File.SetAutoDownload, rhs: Anytype_Rpc.File.SetAutoDownload) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension Anytype_Rpc.File.SetAutoDownload.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.File.SetAutoDownload.protoMessageName + ".Request" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}enabled\0\u{3}wifi_only\0") + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularBoolField(value: &self.enabled) }() + case 2: try { try decoder.decodeSingularBoolField(value: &self.wifiOnly) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.enabled != false { + try visitor.visitSingularBoolField(value: self.enabled, fieldNumber: 1) + } + if self.wifiOnly != false { + try visitor.visitSingularBoolField(value: self.wifiOnly, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Anytype_Rpc.File.SetAutoDownload.Request, rhs: Anytype_Rpc.File.SetAutoDownload.Request) -> Bool { + if lhs.enabled != rhs.enabled {return false} + if lhs.wifiOnly != rhs.wifiOnly {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension Anytype_Rpc.File.SetAutoDownload.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.File.SetAutoDownload.protoMessageName + ".Response" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._error) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._error { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Anytype_Rpc.File.SetAutoDownload.Response, rhs: Anytype_Rpc.File.SetAutoDownload.Response) -> Bool { + if lhs._error != rhs._error {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension Anytype_Rpc.File.SetAutoDownload.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.File.SetAutoDownload.Response.protoMessageName + ".Error" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.code) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.description_p) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.code != .null { + try visitor.visitSingularEnumField(value: self.code, fieldNumber: 1) + } + if !self.description_p.isEmpty { + try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Anytype_Rpc.File.SetAutoDownload.Response.Error, rhs: Anytype_Rpc.File.SetAutoDownload.Response.Error) -> Bool { + if lhs.code != rhs.code {return false} + if lhs.description_p != rhs.description_p {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension Anytype_Rpc.File.SetAutoDownload.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") +} + +// If the compiler emits an error on this type, it is because this file +// was generated by a version of the `protoc` Swift plug-in that is +// incompatible with the version of SwiftProtobuf to which you are linking. +// Please ensure that you are building against the same version of the API +// that was used to generate this file. +fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck { + struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {} + typealias Version = _2 +} + +// MARK: - Code below here is support for the SwiftProtobuf runtime. + +fileprivate let _protobuf_package = "anytype" diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SpaceOffload.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SpaceOffload.swift index 8d0a28518b..d4145c6a08 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SpaceOffload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SpaceOffload.swift @@ -139,9 +139,7 @@ extension Anytype_Rpc.File.SpaceOffload: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.File.SpaceOffload.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.SpaceOffload.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -171,11 +169,7 @@ extension Anytype_Rpc.File.SpaceOffload.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.File.SpaceOffload.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.SpaceOffload.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "filesOffloaded"), - 3: .same(proto: "bytesOffloaded"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}filesOffloaded\0\u{1}bytesOffloaded\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -219,10 +213,7 @@ extension Anytype_Rpc.File.SpaceOffload.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.File.SpaceOffload.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.SpaceOffload.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -256,12 +247,7 @@ extension Anytype_Rpc.File.SpaceOffload.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.File.SpaceOffload.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 103: .same(proto: "NODE_NOT_STARTED"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}e\u{1}NODE_NOT_STARTED\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SpaceUsage.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SpaceUsage.swift index 38e07b9414..887ead2df7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SpaceUsage.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SpaceUsage.swift @@ -163,9 +163,7 @@ extension Anytype_Rpc.File.SpaceUsage: SwiftProtobuf.Message, SwiftProtobuf._Mes extension Anytype_Rpc.File.SpaceUsage.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.SpaceUsage.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -195,10 +193,7 @@ extension Anytype_Rpc.File.SpaceUsage.Request: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.File.SpaceUsage.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.SpaceUsage.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "usage"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}usage\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -237,14 +232,7 @@ extension Anytype_Rpc.File.SpaceUsage.Response: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.File.SpaceUsage.Response.Usage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.SpaceUsage.Response.protoMessageName + ".Usage" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "filesCount"), - 2: .same(proto: "cidsCount"), - 3: .same(proto: "bytesUsage"), - 4: .same(proto: "bytesLeft"), - 5: .same(proto: "bytesLimit"), - 6: .same(proto: "localBytesUsage"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}filesCount\0\u{1}cidsCount\0\u{1}bytesUsage\0\u{1}bytesLeft\0\u{1}bytesLimit\0\u{1}localBytesUsage\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -299,10 +287,7 @@ extension Anytype_Rpc.File.SpaceUsage.Response.Usage: SwiftProtobuf.Message, Swi extension Anytype_Rpc.File.SpaceUsage.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.SpaceUsage.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -336,11 +321,7 @@ extension Anytype_Rpc.File.SpaceUsage.Response.Error: SwiftProtobuf.Message, Swi } extension Anytype_Rpc.File.SpaceUsage.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Upload.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Upload.swift index 28ce7e0a78..f1246a962e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Upload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Upload.swift @@ -177,19 +177,7 @@ extension Anytype_Rpc.File.Upload: SwiftProtobuf.Message, SwiftProtobuf._Message extension Anytype_Rpc.File.Upload.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.Upload.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 6: .same(proto: "spaceId"), - 1: .same(proto: "url"), - 2: .same(proto: "localPath"), - 3: .same(proto: "type"), - 4: .same(proto: "disableEncryption"), - 5: .same(proto: "style"), - 7: .same(proto: "details"), - 8: .same(proto: "origin"), - 9: .same(proto: "imageKind"), - 10: .same(proto: "preloadOnly"), - 11: .same(proto: "preloadFileId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}url\0\u{1}localPath\0\u{1}type\0\u{1}disableEncryption\0\u{1}style\0\u{1}spaceId\0\u{1}details\0\u{1}origin\0\u{1}imageKind\0\u{1}preloadOnly\0\u{1}preloadFileId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -273,12 +261,7 @@ extension Anytype_Rpc.File.Upload.Request: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.File.Upload.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.Upload.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "objectId"), - 3: .same(proto: "details"), - 4: .same(proto: "preloadFileId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}objectId\0\u{1}details\0\u{1}preloadFileId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -327,10 +310,7 @@ extension Anytype_Rpc.File.Upload.Response: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.File.Upload.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.File.Upload.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -364,11 +344,7 @@ extension Anytype_Rpc.File.Upload.Response.Error: SwiftProtobuf.Message, SwiftPr } extension Anytype_Rpc.File.Upload.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.DownloadIndex.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.DownloadIndex.swift index 69ebac5f6d..9e2c7757ef 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.DownloadIndex.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.DownloadIndex.swift @@ -174,11 +174,7 @@ extension Anytype_Rpc.Gallery.DownloadIndex.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Gallery.DownloadIndex.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Gallery.DownloadIndex.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "categories"), - 3: .same(proto: "experiences"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}categories\0\u{1}experiences\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -222,10 +218,7 @@ extension Anytype_Rpc.Gallery.DownloadIndex.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Gallery.DownloadIndex.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Gallery.DownloadIndex.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -259,22 +252,12 @@ extension Anytype_Rpc.Gallery.DownloadIndex.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.Gallery.DownloadIndex.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "UNMARSHALLING_ERROR"), - 4: .same(proto: "DOWNLOAD_ERROR"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}UNMARSHALLING_ERROR\0\u{1}DOWNLOAD_ERROR\0") } extension Anytype_Rpc.Gallery.DownloadIndex.Response.Category: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Gallery.DownloadIndex.Response.protoMessageName + ".Category" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "experiences"), - 3: .same(proto: "icon"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}experiences\0\u{1}icon\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.DownloadManifest.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.DownloadManifest.swift index b8c0459c5c..a93701a38d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.DownloadManifest.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.DownloadManifest.swift @@ -139,9 +139,7 @@ extension Anytype_Rpc.Gallery.DownloadManifest: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Gallery.DownloadManifest.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Gallery.DownloadManifest.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "url"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}url\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -171,10 +169,7 @@ extension Anytype_Rpc.Gallery.DownloadManifest.Request: SwiftProtobuf.Message, S extension Anytype_Rpc.Gallery.DownloadManifest.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Gallery.DownloadManifest.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "info"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}info\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -213,10 +208,7 @@ extension Anytype_Rpc.Gallery.DownloadManifest.Response: SwiftProtobuf.Message, extension Anytype_Rpc.Gallery.DownloadManifest.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Gallery.DownloadManifest.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -250,11 +242,7 @@ extension Anytype_Rpc.Gallery.DownloadManifest.Response.Error: SwiftProtobuf.Mes } extension Anytype_Rpc.Gallery.DownloadManifest.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.GenericErrorResponse.Error.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.GenericErrorResponse.Error.swift index 2a116cced3..432060e1c6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.GenericErrorResponse.Error.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.GenericErrorResponse.Error.swift @@ -69,10 +69,7 @@ extension Anytype_Rpc.GenericErrorResponse { extension Anytype_Rpc.GenericErrorResponse.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.GenericErrorResponse.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -106,11 +103,7 @@ extension Anytype_Rpc.GenericErrorResponse.Error: SwiftProtobuf.Message, SwiftPr } extension Anytype_Rpc.GenericErrorResponse.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.GenericErrorResponse.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.GenericErrorResponse.swift index c32059ed43..625230949e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.GenericErrorResponse.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.GenericErrorResponse.swift @@ -36,9 +36,7 @@ extension Anytype_Rpc { extension Anytype_Rpc.GenericErrorResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.protoMessageName + ".GenericErrorResponse" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.DiffVersions.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.DiffVersions.swift index d509aeb029..56219a90fe 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.DiffVersions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.DiffVersions.swift @@ -149,12 +149,7 @@ extension Anytype_Rpc.History.DiffVersions: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.History.DiffVersions.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.History.DiffVersions.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectId"), - 2: .same(proto: "spaceId"), - 3: .same(proto: "currentVersion"), - 4: .same(proto: "previousVersion"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectId\0\u{1}spaceId\0\u{1}currentVersion\0\u{1}previousVersion\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -199,11 +194,7 @@ extension Anytype_Rpc.History.DiffVersions.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.History.DiffVersions.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.History.DiffVersions.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "historyEvents"), - 3: .same(proto: "objectView"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}historyEvents\0\u{1}objectView\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -247,10 +238,7 @@ extension Anytype_Rpc.History.DiffVersions.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.History.DiffVersions.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.History.DiffVersions.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -284,11 +272,7 @@ extension Anytype_Rpc.History.DiffVersions.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.History.DiffVersions.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.GetVersions.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.GetVersions.swift index eb5dcb9d96..1dcafd4b0d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.GetVersions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.GetVersions.swift @@ -141,12 +141,7 @@ extension Anytype_Rpc.History.GetVersions: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.History.GetVersions.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.History.GetVersions.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectId"), - 2: .same(proto: "lastVersionId"), - 3: .same(proto: "limit"), - 4: .same(proto: "notIncludeVersion"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectId\0\u{1}lastVersionId\0\u{1}limit\0\u{1}notIncludeVersion\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -191,10 +186,7 @@ extension Anytype_Rpc.History.GetVersions.Request: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.History.GetVersions.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.History.GetVersions.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "versions"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}versions\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -233,10 +225,7 @@ extension Anytype_Rpc.History.GetVersions.Response: SwiftProtobuf.Message, Swift extension Anytype_Rpc.History.GetVersions.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.History.GetVersions.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -270,11 +259,7 @@ extension Anytype_Rpc.History.GetVersions.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.History.GetVersions.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.SetVersion.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.SetVersion.swift index 9f3a2672bd..be3feeea88 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.SetVersion.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.SetVersion.swift @@ -133,10 +133,7 @@ extension Anytype_Rpc.History.SetVersion: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.History.SetVersion.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.History.SetVersion.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectId"), - 2: .same(proto: "versionId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectId\0\u{1}versionId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -171,9 +168,7 @@ extension Anytype_Rpc.History.SetVersion.Request: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.History.SetVersion.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.History.SetVersion.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -207,10 +202,7 @@ extension Anytype_Rpc.History.SetVersion.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.History.SetVersion.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.History.SetVersion.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -244,11 +236,7 @@ extension Anytype_Rpc.History.SetVersion.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.History.SetVersion.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.ShowVersion.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.ShowVersion.swift index 7cab17e21f..009e4c553c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.ShowVersion.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.ShowVersion.swift @@ -158,11 +158,7 @@ extension Anytype_Rpc.History.ShowVersion: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.History.ShowVersion.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.History.ShowVersion.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectId"), - 2: .same(proto: "versionId"), - 3: .same(proto: "traceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectId\0\u{1}versionId\0\u{1}traceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -202,12 +198,7 @@ extension Anytype_Rpc.History.ShowVersion.Request: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.History.ShowVersion.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.History.ShowVersion.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "objectView"), - 3: .same(proto: "version"), - 4: .same(proto: "traceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}objectView\0\u{1}version\0\u{1}traceId\0") fileprivate class _StorageClass { var _error: Anytype_Rpc.History.ShowVersion.Response.Error? = nil @@ -215,15 +206,11 @@ extension Anytype_Rpc.History.ShowVersion.Response: SwiftProtobuf.Message, Swift var _version: Anytype_Rpc.History.Version? = nil var _traceID: String = String() - #if swift(>=5.10) // This property is used as the initial default value for new instances of the type. // The type itself is protecting the reference to its storage via CoW semantics. // This will force a copy to be made of this reference when the first mutation occurs; // hence, it is safe to mark this as `nonisolated(unsafe)`. static nonisolated(unsafe) let defaultInstance = _StorageClass() - #else - static let defaultInstance = _StorageClass() - #endif private init() {} @@ -302,10 +289,7 @@ extension Anytype_Rpc.History.ShowVersion.Response: SwiftProtobuf.Message, Swift extension Anytype_Rpc.History.ShowVersion.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.History.ShowVersion.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -339,11 +323,7 @@ extension Anytype_Rpc.History.ShowVersion.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.History.ShowVersion.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.Version.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.Version.swift index c4980bfe78..36c6f561a0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.Version.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.Version.swift @@ -37,14 +37,7 @@ extension Anytype_Rpc.History { extension Anytype_Rpc.History.Version: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.History.protoMessageName + ".Version" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "previousIds"), - 3: .same(proto: "authorId"), - 4: .same(proto: "authorName"), - 5: .same(proto: "time"), - 6: .same(proto: "groupId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}previousIds\0\u{1}authorId\0\u{1}authorName\0\u{1}time\0\u{1}groupId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Initial.SetParameters.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Initial.SetParameters.swift index 6becfbc8a6..a329c632ef 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Initial.SetParameters.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Initial.SetParameters.swift @@ -143,15 +143,7 @@ extension Anytype_Rpc.Initial.SetParameters: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Initial.SetParameters.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Initial.SetParameters.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "platform"), - 2: .same(proto: "version"), - 3: .same(proto: "workdir"), - 4: .same(proto: "logLevel"), - 5: .same(proto: "doNotSendLogs"), - 6: .same(proto: "doNotSaveLogs"), - 7: .same(proto: "doNotSendTelemetry"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}platform\0\u{1}version\0\u{1}workdir\0\u{1}logLevel\0\u{1}doNotSendLogs\0\u{1}doNotSaveLogs\0\u{1}doNotSendTelemetry\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -211,9 +203,7 @@ extension Anytype_Rpc.Initial.SetParameters.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Initial.SetParameters.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Initial.SetParameters.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -247,10 +237,7 @@ extension Anytype_Rpc.Initial.SetParameters.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Initial.SetParameters.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Initial.SetParameters.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -284,11 +271,7 @@ extension Anytype_Rpc.Initial.SetParameters.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.Initial.SetParameters.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.Request.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.Request.swift index 75b0784a27..d623160aaa 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.Request.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.Request.swift @@ -27,9 +27,7 @@ extension Anytype_Rpc.LinkPreview { extension Anytype_Rpc.LinkPreview.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.LinkPreview.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "url"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}url\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.Response.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.Response.swift index 50a176dc54..ab6ed2a5e6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.Response.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.Response.swift @@ -102,10 +102,7 @@ extension Anytype_Rpc.LinkPreview { extension Anytype_Rpc.LinkPreview.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.LinkPreview.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "linkPreview"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}linkPreview\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -144,10 +141,7 @@ extension Anytype_Rpc.LinkPreview.Response: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.LinkPreview.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.LinkPreview.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -181,12 +175,7 @@ extension Anytype_Rpc.LinkPreview.Response.Error: SwiftProtobuf.Message, SwiftPr } extension Anytype_Rpc.LinkPreview.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "PRIVATE_LINK"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}PRIVATE_LINK\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Log.Send.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Log.Send.swift index 590db0a252..f08bba95b2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Log.Send.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Log.Send.swift @@ -181,10 +181,7 @@ extension Anytype_Rpc.Log.Send: SwiftProtobuf.Message, SwiftProtobuf._MessageImp extension Anytype_Rpc.Log.Send.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Log.Send.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "message"), - 2: .same(proto: "level"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}message\0\u{1}level\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -218,21 +215,12 @@ extension Anytype_Rpc.Log.Send.Request: SwiftProtobuf.Message, SwiftProtobuf._Me } extension Anytype_Rpc.Log.Send.Request.Level: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "DEBUG"), - 1: .same(proto: "ERROR"), - 2: .same(proto: "FATAL"), - 3: .same(proto: "INFO"), - 4: .same(proto: "PANIC"), - 5: .same(proto: "WARNING"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0DEBUG\0\u{1}ERROR\0\u{1}FATAL\0\u{1}INFO\0\u{1}PANIC\0\u{1}WARNING\0") } extension Anytype_Rpc.Log.Send.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Log.Send.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -266,10 +254,7 @@ extension Anytype_Rpc.Log.Send.Response: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.Log.Send.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Log.Send.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -303,11 +288,7 @@ extension Anytype_Rpc.Log.Send.Response.Error: SwiftProtobuf.Message, SwiftProto } extension Anytype_Rpc.Log.Send.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.CodeGetInfo.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.CodeGetInfo.swift index 3ee8680410..d0b21f73ac 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.CodeGetInfo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.CodeGetInfo.swift @@ -148,9 +148,7 @@ extension Anytype_Rpc.Membership.CodeGetInfo: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Membership.CodeGetInfo.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.CodeGetInfo.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -180,10 +178,7 @@ extension Anytype_Rpc.Membership.CodeGetInfo.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Membership.CodeGetInfo.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.CodeGetInfo.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "requestedTier"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}requestedTier\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -222,10 +217,7 @@ extension Anytype_Rpc.Membership.CodeGetInfo.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Membership.CodeGetInfo.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.CodeGetInfo.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -259,15 +251,7 @@ extension Anytype_Rpc.Membership.CodeGetInfo.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.Membership.CodeGetInfo.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "NOT_LOGGED_IN"), - 4: .same(proto: "PAYMENT_NODE_ERROR"), - 5: .same(proto: "CODE_NOT_FOUND"), - 6: .same(proto: "CODE_ALREADY_USED"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}NOT_LOGGED_IN\0\u{1}PAYMENT_NODE_ERROR\0\u{1}CODE_NOT_FOUND\0\u{1}CODE_ALREADY_USED\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.CodeRedeem.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.CodeRedeem.swift index 8c2ae833ad..b66af764f2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.CodeRedeem.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.CodeRedeem.swift @@ -156,11 +156,7 @@ extension Anytype_Rpc.Membership.CodeRedeem: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Membership.CodeRedeem.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.CodeRedeem.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "nsName"), - 3: .same(proto: "nsNameType"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}nsName\0\u{1}nsNameType\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -200,10 +196,7 @@ extension Anytype_Rpc.Membership.CodeRedeem.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Membership.CodeRedeem.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.CodeRedeem.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "requestedTier"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}requestedTier\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -242,10 +235,7 @@ extension Anytype_Rpc.Membership.CodeRedeem.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Membership.CodeRedeem.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.CodeRedeem.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -279,16 +269,7 @@ extension Anytype_Rpc.Membership.CodeRedeem.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.Membership.CodeRedeem.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "NOT_LOGGED_IN"), - 4: .same(proto: "PAYMENT_NODE_ERROR"), - 5: .same(proto: "CODE_NOT_FOUND"), - 6: .same(proto: "CODE_ALREADY_USED"), - 7: .same(proto: "BAD_ANYNAME"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}NOT_LOGGED_IN\0\u{1}PAYMENT_NODE_ERROR\0\u{1}CODE_NOT_FOUND\0\u{1}CODE_ALREADY_USED\0\u{1}BAD_ANYNAME\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.Finalize.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.Finalize.swift index 94ce72bc67..242bc020d2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.Finalize.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.Finalize.swift @@ -161,10 +161,7 @@ extension Anytype_Rpc.Membership.Finalize: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Membership.Finalize.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.Finalize.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "nsName"), - 2: .same(proto: "nsNameType"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}nsName\0\u{1}nsNameType\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -199,9 +196,7 @@ extension Anytype_Rpc.Membership.Finalize.Request: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Membership.Finalize.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.Finalize.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -235,10 +230,7 @@ extension Anytype_Rpc.Membership.Finalize.Response: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Membership.Finalize.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.Finalize.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -272,18 +264,7 @@ extension Anytype_Rpc.Membership.Finalize.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Membership.Finalize.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "NOT_LOGGED_IN"), - 4: .same(proto: "PAYMENT_NODE_ERROR"), - 5: .same(proto: "CACHE_ERROR"), - 6: .same(proto: "MEMBERSHIP_NOT_FOUND"), - 7: .same(proto: "MEMBERSHIP_WRONG_STATE"), - 8: .same(proto: "BAD_ANYNAME"), - 9: .same(proto: "CAN_NOT_CONNECT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}NOT_LOGGED_IN\0\u{1}PAYMENT_NODE_ERROR\0\u{1}CACHE_ERROR\0\u{1}MEMBERSHIP_NOT_FOUND\0\u{1}MEMBERSHIP_WRONG_STATE\0\u{1}BAD_ANYNAME\0\u{1}CAN_NOT_CONNECT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetPortalLinkUrl.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetPortalLinkUrl.swift index b01e0c5fa1..276b8ed951 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetPortalLinkUrl.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetPortalLinkUrl.swift @@ -164,10 +164,7 @@ extension Anytype_Rpc.Membership.GetPortalLinkUrl.Request: SwiftProtobuf.Message extension Anytype_Rpc.Membership.GetPortalLinkUrl.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.GetPortalLinkUrl.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "portalUrl"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}portalUrl\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -206,10 +203,7 @@ extension Anytype_Rpc.Membership.GetPortalLinkUrl.Response: SwiftProtobuf.Messag extension Anytype_Rpc.Membership.GetPortalLinkUrl.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.GetPortalLinkUrl.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -243,15 +237,7 @@ extension Anytype_Rpc.Membership.GetPortalLinkUrl.Response.Error: SwiftProtobuf. } extension Anytype_Rpc.Membership.GetPortalLinkUrl.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "NOT_LOGGED_IN"), - 4: .same(proto: "PAYMENT_NODE_ERROR"), - 5: .same(proto: "CACHE_ERROR"), - 6: .same(proto: "CAN_NOT_CONNECT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}NOT_LOGGED_IN\0\u{1}PAYMENT_NODE_ERROR\0\u{1}CACHE_ERROR\0\u{1}CAN_NOT_CONNECT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetStatus.swift index 64dc384c15..8fee2323f6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetStatus.swift @@ -165,9 +165,7 @@ extension Anytype_Rpc.Membership.GetStatus: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Membership.GetStatus.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.GetStatus.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "noCache"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}noCache\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -197,10 +195,7 @@ extension Anytype_Rpc.Membership.GetStatus.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Membership.GetStatus.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.GetStatus.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "data"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}data\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -239,10 +234,7 @@ extension Anytype_Rpc.Membership.GetStatus.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Membership.GetStatus.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.GetStatus.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -276,17 +268,7 @@ extension Anytype_Rpc.Membership.GetStatus.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.Membership.GetStatus.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "NOT_LOGGED_IN"), - 4: .same(proto: "PAYMENT_NODE_ERROR"), - 5: .same(proto: "CACHE_ERROR"), - 6: .same(proto: "MEMBERSHIP_NOT_FOUND"), - 7: .same(proto: "MEMBERSHIP_WRONG_STATE"), - 8: .same(proto: "CAN_NOT_CONNECT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}NOT_LOGGED_IN\0\u{1}PAYMENT_NODE_ERROR\0\u{1}CACHE_ERROR\0\u{1}MEMBERSHIP_NOT_FOUND\0\u{1}MEMBERSHIP_WRONG_STATE\0\u{1}CAN_NOT_CONNECT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetTiers.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetTiers.swift index 08a3d8a83f..da9bda3210 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetTiers.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetTiers.swift @@ -151,10 +151,7 @@ extension Anytype_Rpc.Membership.GetTiers: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Membership.GetTiers.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.GetTiers.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "noCache"), - 2: .same(proto: "locale"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}noCache\0\u{1}locale\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -189,10 +186,7 @@ extension Anytype_Rpc.Membership.GetTiers.Request: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Membership.GetTiers.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.GetTiers.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "tiers"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}tiers\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -231,10 +225,7 @@ extension Anytype_Rpc.Membership.GetTiers.Response: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Membership.GetTiers.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.GetTiers.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,15 +259,7 @@ extension Anytype_Rpc.Membership.GetTiers.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Membership.GetTiers.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "NOT_LOGGED_IN"), - 4: .same(proto: "PAYMENT_NODE_ERROR"), - 5: .same(proto: "CACHE_ERROR"), - 6: .same(proto: "CAN_NOT_CONNECT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}NOT_LOGGED_IN\0\u{1}PAYMENT_NODE_ERROR\0\u{1}CACHE_ERROR\0\u{1}CAN_NOT_CONNECT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetVerificationEmail.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetVerificationEmail.swift index 67986bdbef..0f7bdcc608 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetVerificationEmail.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetVerificationEmail.swift @@ -172,12 +172,7 @@ extension Anytype_Rpc.Membership.GetVerificationEmail: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Membership.GetVerificationEmail.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.GetVerificationEmail.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "email"), - 2: .same(proto: "subscribeToNewsletter"), - 3: .same(proto: "insiderTipsAndTutorials"), - 4: .same(proto: "isOnboardingList"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}email\0\u{1}subscribeToNewsletter\0\u{1}insiderTipsAndTutorials\0\u{1}isOnboardingList\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -222,9 +217,7 @@ extension Anytype_Rpc.Membership.GetVerificationEmail.Request: SwiftProtobuf.Mes extension Anytype_Rpc.Membership.GetVerificationEmail.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.GetVerificationEmail.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -258,10 +251,7 @@ extension Anytype_Rpc.Membership.GetVerificationEmail.Response: SwiftProtobuf.Me extension Anytype_Rpc.Membership.GetVerificationEmail.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.GetVerificationEmail.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -295,20 +285,7 @@ extension Anytype_Rpc.Membership.GetVerificationEmail.Response.Error: SwiftProto } extension Anytype_Rpc.Membership.GetVerificationEmail.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "NOT_LOGGED_IN"), - 4: .same(proto: "PAYMENT_NODE_ERROR"), - 5: .same(proto: "CACHE_ERROR"), - 6: .same(proto: "EMAIL_WRONG_FORMAT"), - 7: .same(proto: "EMAIL_ALREADY_VERIFIED"), - 8: .same(proto: "EMAIL_ALREDY_SENT"), - 9: .same(proto: "EMAIL_FAILED_TO_SEND"), - 10: .same(proto: "MEMBERSHIP_ALREADY_EXISTS"), - 11: .same(proto: "CAN_NOT_CONNECT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}NOT_LOGGED_IN\0\u{1}PAYMENT_NODE_ERROR\0\u{1}CACHE_ERROR\0\u{1}EMAIL_WRONG_FORMAT\0\u{1}EMAIL_ALREADY_VERIFIED\0\u{1}EMAIL_ALREDY_SENT\0\u{1}EMAIL_FAILED_TO_SEND\0\u{1}MEMBERSHIP_ALREADY_EXISTS\0\u{1}CAN_NOT_CONNECT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetVerificationEmailStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetVerificationEmailStatus.swift index 65d147e825..b3696c8a04 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetVerificationEmailStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetVerificationEmailStatus.swift @@ -160,10 +160,7 @@ extension Anytype_Rpc.Membership.GetVerificationEmailStatus.Request: SwiftProtob extension Anytype_Rpc.Membership.GetVerificationEmailStatus.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.GetVerificationEmailStatus.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "status"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}status\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -202,10 +199,7 @@ extension Anytype_Rpc.Membership.GetVerificationEmailStatus.Response: SwiftProto extension Anytype_Rpc.Membership.GetVerificationEmailStatus.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.GetVerificationEmailStatus.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -239,14 +233,7 @@ extension Anytype_Rpc.Membership.GetVerificationEmailStatus.Response.Error: Swif } extension Anytype_Rpc.Membership.GetVerificationEmailStatus.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "NOT_LOGGED_IN"), - 4: .same(proto: "PAYMENT_NODE_ERROR"), - 12: .same(proto: "CAN_NOT_CONNECT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}NOT_LOGGED_IN\0\u{1}PAYMENT_NODE_ERROR\0\u{2}\u{8}CAN_NOT_CONNECT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.IsNameValid.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.IsNameValid.swift index a30e93e797..57a8d4e2ec 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.IsNameValid.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.IsNameValid.swift @@ -185,11 +185,7 @@ extension Anytype_Rpc.Membership.IsNameValid: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Membership.IsNameValid.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.IsNameValid.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "requestedTier"), - 2: .same(proto: "nsName"), - 3: .same(proto: "nsNameType"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}requestedTier\0\u{1}nsName\0\u{1}nsNameType\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,9 +225,7 @@ extension Anytype_Rpc.Membership.IsNameValid.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Membership.IsNameValid.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.IsNameValid.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -265,10 +259,7 @@ extension Anytype_Rpc.Membership.IsNameValid.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Membership.IsNameValid.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.IsNameValid.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -302,22 +293,7 @@ extension Anytype_Rpc.Membership.IsNameValid.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.Membership.IsNameValid.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "TOO_SHORT"), - 4: .same(proto: "TOO_LONG"), - 5: .same(proto: "HAS_INVALID_CHARS"), - 6: .same(proto: "TIER_FEATURES_NO_NAME"), - 7: .same(proto: "TIER_NOT_FOUND"), - 8: .same(proto: "NOT_LOGGED_IN"), - 9: .same(proto: "PAYMENT_NODE_ERROR"), - 10: .same(proto: "CACHE_ERROR"), - 11: .same(proto: "CAN_NOT_RESERVE"), - 12: .same(proto: "CAN_NOT_CONNECT"), - 13: .same(proto: "NAME_IS_RESERVED"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}TOO_SHORT\0\u{1}TOO_LONG\0\u{1}HAS_INVALID_CHARS\0\u{1}TIER_FEATURES_NO_NAME\0\u{1}TIER_NOT_FOUND\0\u{1}NOT_LOGGED_IN\0\u{1}PAYMENT_NODE_ERROR\0\u{1}CACHE_ERROR\0\u{1}CAN_NOT_RESERVE\0\u{1}CAN_NOT_CONNECT\0\u{1}NAME_IS_RESERVED\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.RegisterPaymentRequest.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.RegisterPaymentRequest.swift index 65ad229d2f..d141ce1d82 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.RegisterPaymentRequest.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.RegisterPaymentRequest.swift @@ -192,13 +192,7 @@ extension Anytype_Rpc.Membership.RegisterPaymentRequest: SwiftProtobuf.Message, extension Anytype_Rpc.Membership.RegisterPaymentRequest.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.RegisterPaymentRequest.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "requestedTier"), - 2: .same(proto: "paymentMethod"), - 3: .same(proto: "nsName"), - 4: .same(proto: "nsNameType"), - 5: .same(proto: "userEmail"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}requestedTier\0\u{1}paymentMethod\0\u{1}nsName\0\u{1}nsNameType\0\u{1}userEmail\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -248,11 +242,7 @@ extension Anytype_Rpc.Membership.RegisterPaymentRequest.Request: SwiftProtobuf.M extension Anytype_Rpc.Membership.RegisterPaymentRequest.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.RegisterPaymentRequest.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "paymentUrl"), - 3: .same(proto: "billingId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}paymentUrl\0\u{1}billingId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -296,10 +286,7 @@ extension Anytype_Rpc.Membership.RegisterPaymentRequest.Response: SwiftProtobuf. extension Anytype_Rpc.Membership.RegisterPaymentRequest.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.RegisterPaymentRequest.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -333,21 +320,7 @@ extension Anytype_Rpc.Membership.RegisterPaymentRequest.Response.Error: SwiftPro } extension Anytype_Rpc.Membership.RegisterPaymentRequest.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "NOT_LOGGED_IN"), - 4: .same(proto: "PAYMENT_NODE_ERROR"), - 5: .same(proto: "CACHE_ERROR"), - 6: .same(proto: "TIER_NOT_FOUND"), - 7: .same(proto: "TIER_INVALID"), - 8: .same(proto: "PAYMENT_METHOD_INVALID"), - 9: .same(proto: "BAD_ANYNAME"), - 10: .same(proto: "MEMBERSHIP_ALREADY_EXISTS"), - 11: .same(proto: "CAN_NOT_CONNECT"), - 12: .same(proto: "EMAIL_WRONG_FORMAT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}NOT_LOGGED_IN\0\u{1}PAYMENT_NODE_ERROR\0\u{1}CACHE_ERROR\0\u{1}TIER_NOT_FOUND\0\u{1}TIER_INVALID\0\u{1}PAYMENT_METHOD_INVALID\0\u{1}BAD_ANYNAME\0\u{1}MEMBERSHIP_ALREADY_EXISTS\0\u{1}CAN_NOT_CONNECT\0\u{1}EMAIL_WRONG_FORMAT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.VerifyAppStoreReceipt.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.VerifyAppStoreReceipt.swift index 4a1d07e05e..5d1d80f3fe 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.VerifyAppStoreReceipt.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.VerifyAppStoreReceipt.swift @@ -154,9 +154,7 @@ extension Anytype_Rpc.Membership.VerifyAppStoreReceipt: SwiftProtobuf.Message, S extension Anytype_Rpc.Membership.VerifyAppStoreReceipt.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.VerifyAppStoreReceipt.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "receipt"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}receipt\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -186,9 +184,7 @@ extension Anytype_Rpc.Membership.VerifyAppStoreReceipt.Request: SwiftProtobuf.Me extension Anytype_Rpc.Membership.VerifyAppStoreReceipt.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.VerifyAppStoreReceipt.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -222,10 +218,7 @@ extension Anytype_Rpc.Membership.VerifyAppStoreReceipt.Response: SwiftProtobuf.M extension Anytype_Rpc.Membership.VerifyAppStoreReceipt.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.VerifyAppStoreReceipt.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -259,17 +252,7 @@ extension Anytype_Rpc.Membership.VerifyAppStoreReceipt.Response.Error: SwiftProt } extension Anytype_Rpc.Membership.VerifyAppStoreReceipt.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "NOT_LOGGED_IN"), - 4: .same(proto: "PAYMENT_NODE_ERROR"), - 5: .same(proto: "CACHE_ERROR"), - 6: .same(proto: "INVALID_RECEIPT"), - 7: .same(proto: "PURCHASE_REGISTRATION_ERROR"), - 8: .same(proto: "SUBSCRIPTION_RENEW_ERROR"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}NOT_LOGGED_IN\0\u{1}PAYMENT_NODE_ERROR\0\u{1}CACHE_ERROR\0\u{1}INVALID_RECEIPT\0\u{1}PURCHASE_REGISTRATION_ERROR\0\u{1}SUBSCRIPTION_RENEW_ERROR\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.VerifyEmailCode.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.VerifyEmailCode.swift index ba1f5ab760..1994f51172 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.VerifyEmailCode.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.VerifyEmailCode.swift @@ -165,9 +165,7 @@ extension Anytype_Rpc.Membership.VerifyEmailCode: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Membership.VerifyEmailCode.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.VerifyEmailCode.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -197,9 +195,7 @@ extension Anytype_Rpc.Membership.VerifyEmailCode.Request: SwiftProtobuf.Message, extension Anytype_Rpc.Membership.VerifyEmailCode.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.VerifyEmailCode.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -233,10 +229,7 @@ extension Anytype_Rpc.Membership.VerifyEmailCode.Response: SwiftProtobuf.Message extension Anytype_Rpc.Membership.VerifyEmailCode.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Membership.VerifyEmailCode.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -270,20 +263,7 @@ extension Anytype_Rpc.Membership.VerifyEmailCode.Response.Error: SwiftProtobuf.M } extension Anytype_Rpc.Membership.VerifyEmailCode.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "NOT_LOGGED_IN"), - 4: .same(proto: "PAYMENT_NODE_ERROR"), - 5: .same(proto: "CACHE_ERROR"), - 6: .same(proto: "EMAIL_ALREADY_VERIFIED"), - 7: .same(proto: "CODE_EXPIRED"), - 8: .same(proto: "CODE_WRONG"), - 9: .same(proto: "MEMBERSHIP_NOT_FOUND"), - 10: .same(proto: "MEMBERSHIP_ALREADY_ACTIVE"), - 11: .same(proto: "CAN_NOT_CONNECT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}NOT_LOGGED_IN\0\u{1}PAYMENT_NODE_ERROR\0\u{1}CACHE_ERROR\0\u{1}EMAIL_ALREADY_VERIFIED\0\u{1}CODE_EXPIRED\0\u{1}CODE_WRONG\0\u{1}MEMBERSHIP_NOT_FOUND\0\u{1}MEMBERSHIP_ALREADY_ACTIVE\0\u{1}CAN_NOT_CONNECT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveAnyId.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveAnyId.swift index b5106709f1..07196dbe84 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveAnyId.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveAnyId.swift @@ -140,9 +140,7 @@ extension Anytype_Rpc.NameService.ResolveAnyId: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.NameService.ResolveAnyId.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.NameService.ResolveAnyId.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "anyId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}anyId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -172,12 +170,7 @@ extension Anytype_Rpc.NameService.ResolveAnyId.Request: SwiftProtobuf.Message, S extension Anytype_Rpc.NameService.ResolveAnyId.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.NameService.ResolveAnyId.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "found"), - 3: .same(proto: "nsName"), - 4: .same(proto: "nsNameType"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}found\0\u{1}nsName\0\u{1}nsNameType\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -226,10 +219,7 @@ extension Anytype_Rpc.NameService.ResolveAnyId.Response: SwiftProtobuf.Message, extension Anytype_Rpc.NameService.ResolveAnyId.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.NameService.ResolveAnyId.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -263,12 +253,7 @@ extension Anytype_Rpc.NameService.ResolveAnyId.Response.Error: SwiftProtobuf.Mes } extension Anytype_Rpc.NameService.ResolveAnyId.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "CAN_NOT_CONNECT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}CAN_NOT_CONNECT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveName.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveName.swift index 593c821713..4c27a8b54f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveName.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveName.swift @@ -155,10 +155,7 @@ extension Anytype_Rpc.NameService.ResolveName: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.NameService.ResolveName.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.NameService.ResolveName.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "nsName"), - 2: .same(proto: "nsNameType"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}nsName\0\u{1}nsNameType\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -193,15 +190,7 @@ extension Anytype_Rpc.NameService.ResolveName.Request: SwiftProtobuf.Message, Sw extension Anytype_Rpc.NameService.ResolveName.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.NameService.ResolveName.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "available"), - 3: .same(proto: "ownerScwEthAddress"), - 4: .same(proto: "ownerEthAddress"), - 5: .same(proto: "ownerAnyAddress"), - 6: .same(proto: "spaceId"), - 7: .same(proto: "nameExpires"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}available\0\u{1}ownerScwEthAddress\0\u{1}ownerEthAddress\0\u{1}ownerAnyAddress\0\u{1}spaceId\0\u{1}nameExpires\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -265,10 +254,7 @@ extension Anytype_Rpc.NameService.ResolveName.Response: SwiftProtobuf.Message, S extension Anytype_Rpc.NameService.ResolveName.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.NameService.ResolveName.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -302,12 +288,7 @@ extension Anytype_Rpc.NameService.ResolveName.Response.Error: SwiftProtobuf.Mess } extension Anytype_Rpc.NameService.ResolveName.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "CAN_NOT_CONNECT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}CAN_NOT_CONNECT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveSpaceId.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveSpaceId.swift index b4003e8c22..d47e1f8765 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveSpaceId.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveSpaceId.swift @@ -140,9 +140,7 @@ extension Anytype_Rpc.NameService.ResolveSpaceId: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.NameService.ResolveSpaceId.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.NameService.ResolveSpaceId.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -172,12 +170,7 @@ extension Anytype_Rpc.NameService.ResolveSpaceId.Request: SwiftProtobuf.Message, extension Anytype_Rpc.NameService.ResolveSpaceId.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.NameService.ResolveSpaceId.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "found"), - 3: .same(proto: "nsName"), - 4: .same(proto: "nsNameType"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}found\0\u{1}nsName\0\u{1}nsNameType\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -226,10 +219,7 @@ extension Anytype_Rpc.NameService.ResolveSpaceId.Response: SwiftProtobuf.Message extension Anytype_Rpc.NameService.ResolveSpaceId.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.NameService.ResolveSpaceId.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -263,12 +253,7 @@ extension Anytype_Rpc.NameService.ResolveSpaceId.Response.Error: SwiftProtobuf.M } extension Anytype_Rpc.NameService.ResolveSpaceId.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "CAN_NOT_CONNECT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}CAN_NOT_CONNECT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.UserAccount.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.UserAccount.swift index 707b6d9d8e..7e7e74dc80 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.UserAccount.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.UserAccount.swift @@ -200,13 +200,7 @@ extension Anytype_Rpc.NameService.UserAccount.Get.Request: SwiftProtobuf.Message extension Anytype_Rpc.NameService.UserAccount.Get.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.NameService.UserAccount.Get.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "nsNameAttached"), - 3: .same(proto: "nsNameType"), - 4: .same(proto: "namesCountLeft"), - 5: .same(proto: "operationsCountLeft"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}nsNameAttached\0\u{1}nsNameType\0\u{1}namesCountLeft\0\u{1}operationsCountLeft\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -260,10 +254,7 @@ extension Anytype_Rpc.NameService.UserAccount.Get.Response: SwiftProtobuf.Messag extension Anytype_Rpc.NameService.UserAccount.Get.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.NameService.UserAccount.Get.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -297,14 +288,7 @@ extension Anytype_Rpc.NameService.UserAccount.Get.Response.Error: SwiftProtobuf. } extension Anytype_Rpc.NameService.UserAccount.Get.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "NOT_LOGGED_IN"), - 4: .same(proto: "BAD_NAME_RESOLVE"), - 5: .same(proto: "CAN_NOT_CONNECT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}NOT_LOGGED_IN\0\u{1}BAD_NAME_RESOLVE\0\u{1}CAN_NOT_CONNECT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.Context.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.Context.swift index b6390d744f..9e741d4ac3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.Context.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.Context.swift @@ -56,11 +56,7 @@ extension Anytype_Rpc.Navigation { }} extension Anytype_Rpc.Navigation.Context: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Navigation"), - 1: .same(proto: "MoveTo"), - 2: .same(proto: "LinkTo"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Navigation\0\u{1}MoveTo\0\u{1}LinkTo\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.GetObjectInfoWithLinks.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.GetObjectInfoWithLinks.swift index 591474bea4..2d493efbbb 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.GetObjectInfoWithLinks.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.GetObjectInfoWithLinks.swift @@ -143,10 +143,7 @@ extension Anytype_Rpc.Navigation.GetObjectInfoWithLinks: SwiftProtobuf.Message, extension Anytype_Rpc.Navigation.GetObjectInfoWithLinks.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Navigation.GetObjectInfoWithLinks.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectId"), - 2: .same(proto: "context"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectId\0\u{1}context\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -181,10 +178,7 @@ extension Anytype_Rpc.Navigation.GetObjectInfoWithLinks.Request: SwiftProtobuf.M extension Anytype_Rpc.Navigation.GetObjectInfoWithLinks.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Navigation.GetObjectInfoWithLinks.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "object"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}object\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -223,10 +217,7 @@ extension Anytype_Rpc.Navigation.GetObjectInfoWithLinks.Response: SwiftProtobuf. extension Anytype_Rpc.Navigation.GetObjectInfoWithLinks.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Navigation.GetObjectInfoWithLinks.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -260,11 +251,7 @@ extension Anytype_Rpc.Navigation.GetObjectInfoWithLinks.Response.Error: SwiftPro } extension Anytype_Rpc.Navigation.GetObjectInfoWithLinks.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.ListObjects.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.ListObjects.swift index ef58071064..a798168e03 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.ListObjects.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.ListObjects.swift @@ -139,12 +139,7 @@ extension Anytype_Rpc.Navigation.ListObjects: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Navigation.ListObjects.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Navigation.ListObjects.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "context"), - 2: .same(proto: "fullText"), - 3: .same(proto: "limit"), - 4: .same(proto: "offset"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}context\0\u{1}fullText\0\u{1}limit\0\u{1}offset\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -189,10 +184,7 @@ extension Anytype_Rpc.Navigation.ListObjects.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Navigation.ListObjects.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Navigation.ListObjects.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "objects"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}objects\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -231,10 +223,7 @@ extension Anytype_Rpc.Navigation.ListObjects.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Navigation.ListObjects.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Navigation.ListObjects.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,11 +257,7 @@ extension Anytype_Rpc.Navigation.ListObjects.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.Navigation.ListObjects.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.List.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.List.swift index 561b827173..4180b8559d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.List.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.List.swift @@ -137,10 +137,7 @@ extension Anytype_Rpc.Notification.List: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.Notification.List.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Notification.List.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "includeRead"), - 2: .same(proto: "limit"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}includeRead\0\u{1}limit\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -175,10 +172,7 @@ extension Anytype_Rpc.Notification.List.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Notification.List.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Notification.List.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "notifications"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}notifications\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -217,10 +211,7 @@ extension Anytype_Rpc.Notification.List.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Notification.List.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Notification.List.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -254,12 +245,7 @@ extension Anytype_Rpc.Notification.List.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.Notification.List.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "INTERNAL_ERROR"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}INTERNAL_ERROR\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.Reply.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.Reply.swift index e6a029f684..65aa79cc47 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.Reply.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.Reply.swift @@ -135,10 +135,7 @@ extension Anytype_Rpc.Notification.Reply: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.Notification.Reply.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Notification.Reply.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "ids"), - 2: .same(proto: "actionType"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}ids\0\u{1}actionType\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -173,9 +170,7 @@ extension Anytype_Rpc.Notification.Reply.Request: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Notification.Reply.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Notification.Reply.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -209,10 +204,7 @@ extension Anytype_Rpc.Notification.Reply.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Notification.Reply.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Notification.Reply.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -246,12 +238,7 @@ extension Anytype_Rpc.Notification.Reply.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Notification.Reply.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "INTERNAL_ERROR"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}INTERNAL_ERROR\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.Test.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.Test.swift index 37b642bb11..f092d361db 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.Test.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.Test.swift @@ -160,10 +160,7 @@ extension Anytype_Rpc.Notification.Test.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Notification.Test.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Notification.Test.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "notification"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}notification\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -202,10 +199,7 @@ extension Anytype_Rpc.Notification.Test.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Notification.Test.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Notification.Test.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -239,12 +233,7 @@ extension Anytype_Rpc.Notification.Test.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.Notification.Test.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "INTERNAL_ERROR"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}INTERNAL_ERROR\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ApplyTemplate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ApplyTemplate.swift index 38b9cd1422..77404d81d1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ApplyTemplate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ApplyTemplate.swift @@ -134,10 +134,7 @@ extension Anytype_Rpc.Object.ApplyTemplate: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Object.ApplyTemplate.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ApplyTemplate.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "templateId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}templateId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -172,9 +169,7 @@ extension Anytype_Rpc.Object.ApplyTemplate.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Object.ApplyTemplate.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ApplyTemplate.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -208,10 +203,7 @@ extension Anytype_Rpc.Object.ApplyTemplate.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Object.ApplyTemplate.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ApplyTemplate.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -245,11 +237,7 @@ extension Anytype_Rpc.Object.ApplyTemplate.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.Object.ApplyTemplate.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.BookmarkFetch.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.BookmarkFetch.swift index b4a86f9676..fbda6c7b24 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.BookmarkFetch.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.BookmarkFetch.swift @@ -133,10 +133,7 @@ extension Anytype_Rpc.Object.BookmarkFetch: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Object.BookmarkFetch.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.BookmarkFetch.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "url"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}url\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -171,9 +168,7 @@ extension Anytype_Rpc.Object.BookmarkFetch.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Object.BookmarkFetch.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.BookmarkFetch.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -207,10 +202,7 @@ extension Anytype_Rpc.Object.BookmarkFetch.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Object.BookmarkFetch.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.BookmarkFetch.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -244,11 +236,7 @@ extension Anytype_Rpc.Object.BookmarkFetch.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.Object.BookmarkFetch.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ChatAdd.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ChatAdd.swift index 779ede9d81..a2d81f3472 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ChatAdd.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ChatAdd.swift @@ -133,9 +133,7 @@ extension Anytype_Rpc.Object.ChatAdd: SwiftProtobuf.Message, SwiftProtobuf._Mess extension Anytype_Rpc.Object.ChatAdd.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ChatAdd.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -165,10 +163,7 @@ extension Anytype_Rpc.Object.ChatAdd.Request: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Object.ChatAdd.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ChatAdd.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "chatId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}chatId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -207,10 +202,7 @@ extension Anytype_Rpc.Object.ChatAdd.Response: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Object.ChatAdd.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ChatAdd.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -244,11 +236,7 @@ extension Anytype_Rpc.Object.ChatAdd.Response.Error: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.Object.ChatAdd.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Close.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Close.swift index 82c315d285..ca501f91f2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Close.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Close.swift @@ -137,11 +137,7 @@ extension Anytype_Rpc.Object.Close: SwiftProtobuf.Message, SwiftProtobuf._Messag extension Anytype_Rpc.Object.Close.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Close.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "objectId"), - 3: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}objectId\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -181,9 +177,7 @@ extension Anytype_Rpc.Object.Close.Request: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Object.Close.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Close.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -217,10 +211,7 @@ extension Anytype_Rpc.Object.Close.Response: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Object.Close.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Close.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -254,11 +245,7 @@ extension Anytype_Rpc.Object.Close.Response.Error: SwiftProtobuf.Message, SwiftP } extension Anytype_Rpc.Object.Close.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Create.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Create.swift index 680d87ed8d..be379b995a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Create.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Create.swift @@ -173,14 +173,7 @@ extension Anytype_Rpc.Object.Create: SwiftProtobuf.Message, SwiftProtobuf._Messa extension Anytype_Rpc.Object.Create.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Create.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "details"), - 2: .same(proto: "internalFlags"), - 3: .same(proto: "templateId"), - 4: .same(proto: "spaceId"), - 5: .same(proto: "objectTypeUniqueKey"), - 6: .same(proto: "withChat"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}details\0\u{1}internalFlags\0\u{1}templateId\0\u{1}spaceId\0\u{1}objectTypeUniqueKey\0\u{1}withChat\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -239,12 +232,7 @@ extension Anytype_Rpc.Object.Create.Request: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Object.Create.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Create.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 3: .same(proto: "objectId"), - 4: .same(proto: "event"), - 5: .same(proto: "details"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{2}\u{2}objectId\0\u{1}event\0\u{1}details\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -293,10 +281,7 @@ extension Anytype_Rpc.Object.Create.Response: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Object.Create.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Create.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -330,11 +315,7 @@ extension Anytype_Rpc.Object.Create.Response.Error: SwiftProtobuf.Message, Swift } extension Anytype_Rpc.Object.Create.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateBookmark.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateBookmark.swift index 4ea4855181..072014003e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateBookmark.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateBookmark.swift @@ -158,12 +158,7 @@ extension Anytype_Rpc.Object.CreateBookmark: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Object.CreateBookmark.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CreateBookmark.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "details"), - 2: .same(proto: "spaceId"), - 3: .same(proto: "withChat"), - 4: .same(proto: "templateId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}details\0\u{1}spaceId\0\u{1}withChat\0\u{1}templateId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -212,11 +207,7 @@ extension Anytype_Rpc.Object.CreateBookmark.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Object.CreateBookmark.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CreateBookmark.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "objectId"), - 3: .same(proto: "details"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}objectId\0\u{1}details\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -260,10 +251,7 @@ extension Anytype_Rpc.Object.CreateBookmark.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Object.CreateBookmark.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CreateBookmark.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -297,11 +285,7 @@ extension Anytype_Rpc.Object.CreateBookmark.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.Object.CreateBookmark.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateFromUrl.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateFromUrl.swift index caa5a42a2e..a84f27725d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateFromUrl.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateFromUrl.swift @@ -166,15 +166,7 @@ extension Anytype_Rpc.Object.CreateFromUrl: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Object.CreateFromUrl.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CreateFromUrl.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "objectTypeUniqueKey"), - 3: .same(proto: "url"), - 4: .same(proto: "details"), - 5: .same(proto: "addPageContent"), - 6: .same(proto: "withChat"), - 7: .same(proto: "templateId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}objectTypeUniqueKey\0\u{1}url\0\u{1}details\0\u{1}addPageContent\0\u{1}withChat\0\u{1}templateId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -238,12 +230,7 @@ extension Anytype_Rpc.Object.CreateFromUrl.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Object.CreateFromUrl.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CreateFromUrl.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "objectId"), - 3: .same(proto: "details"), - 4: .same(proto: "chatId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}objectId\0\u{1}details\0\u{1}chatId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -292,10 +279,7 @@ extension Anytype_Rpc.Object.CreateFromUrl.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Object.CreateFromUrl.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CreateFromUrl.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -329,11 +313,7 @@ extension Anytype_Rpc.Object.CreateFromUrl.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.Object.CreateFromUrl.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateObjectType.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateObjectType.swift index 26dde68a50..5ddf45221f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateObjectType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateObjectType.swift @@ -156,11 +156,7 @@ extension Anytype_Rpc.Object.CreateObjectType: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Object.CreateObjectType.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CreateObjectType.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "details"), - 2: .same(proto: "internalFlags"), - 3: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}details\0\u{1}internalFlags\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -204,11 +200,7 @@ extension Anytype_Rpc.Object.CreateObjectType.Request: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Object.CreateObjectType.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CreateObjectType.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "details"), - 3: .same(proto: "objectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}details\0\u{1}objectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -252,10 +244,7 @@ extension Anytype_Rpc.Object.CreateObjectType.Response: SwiftProtobuf.Message, S extension Anytype_Rpc.Object.CreateObjectType.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CreateObjectType.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -289,11 +278,7 @@ extension Anytype_Rpc.Object.CreateObjectType.Response.Error: SwiftProtobuf.Mess } extension Anytype_Rpc.Object.CreateObjectType.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateRelation.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateRelation.swift index 57c288f194..a8f333e0a0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateRelation.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateRelation.swift @@ -154,10 +154,7 @@ extension Anytype_Rpc.Object.CreateRelation: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Object.CreateRelation.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CreateRelation.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "details"), - 2: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}details\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -196,12 +193,7 @@ extension Anytype_Rpc.Object.CreateRelation.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Object.CreateRelation.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CreateRelation.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "objectId"), - 3: .same(proto: "key"), - 4: .same(proto: "details"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}objectId\0\u{1}key\0\u{1}details\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -250,10 +242,7 @@ extension Anytype_Rpc.Object.CreateRelation.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Object.CreateRelation.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CreateRelation.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -287,11 +276,7 @@ extension Anytype_Rpc.Object.CreateRelation.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.Object.CreateRelation.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateRelationOption.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateRelationOption.swift index 7041749f59..ecbf1f62e8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateRelationOption.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateRelationOption.swift @@ -152,10 +152,7 @@ extension Anytype_Rpc.Object.CreateRelationOption: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Object.CreateRelationOption.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CreateRelationOption.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "details"), - 2: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}details\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -194,11 +191,7 @@ extension Anytype_Rpc.Object.CreateRelationOption.Request: SwiftProtobuf.Message extension Anytype_Rpc.Object.CreateRelationOption.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CreateRelationOption.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "objectId"), - 3: .same(proto: "details"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}objectId\0\u{1}details\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -242,10 +235,7 @@ extension Anytype_Rpc.Object.CreateRelationOption.Response: SwiftProtobuf.Messag extension Anytype_Rpc.Object.CreateRelationOption.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CreateRelationOption.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -279,11 +269,7 @@ extension Anytype_Rpc.Object.CreateRelationOption.Response.Error: SwiftProtobuf. } extension Anytype_Rpc.Object.CreateRelationOption.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateSet.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateSet.swift index 092b34c6da..2bee1bced9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateSet.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateSet.swift @@ -176,14 +176,7 @@ extension Anytype_Rpc.Object.CreateSet: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Rpc.Object.CreateSet.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CreateSet.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "source"), - 2: .same(proto: "details"), - 3: .same(proto: "templateId"), - 4: .same(proto: "internalFlags"), - 5: .same(proto: "spaceId"), - 6: .same(proto: "withChat"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}source\0\u{1}details\0\u{1}templateId\0\u{1}internalFlags\0\u{1}spaceId\0\u{1}withChat\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -242,12 +235,7 @@ extension Anytype_Rpc.Object.CreateSet.Request: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Object.CreateSet.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CreateSet.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 3: .same(proto: "objectId"), - 4: .same(proto: "event"), - 5: .same(proto: "details"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{2}\u{2}objectId\0\u{1}event\0\u{1}details\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -296,10 +284,7 @@ extension Anytype_Rpc.Object.CreateSet.Response: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Object.CreateSet.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CreateSet.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -333,12 +318,7 @@ extension Anytype_Rpc.Object.CreateSet.Response.Error: SwiftProtobuf.Message, Sw } extension Anytype_Rpc.Object.CreateSet.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "UNKNOWN_OBJECT_TYPE_URL"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}UNKNOWN_OBJECT_TYPE_URL\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CrossSpaceSearchSubscribe.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CrossSpaceSearchSubscribe.swift index 3402368a74..77edfae14c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CrossSpaceSearchSubscribe.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CrossSpaceSearchSubscribe.swift @@ -166,15 +166,7 @@ extension Anytype_Rpc.Object.CrossSpaceSearchSubscribe: SwiftProtobuf.Message, S extension Anytype_Rpc.Object.CrossSpaceSearchSubscribe.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CrossSpaceSearchSubscribe.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "subId"), - 2: .same(proto: "filters"), - 3: .same(proto: "sorts"), - 7: .same(proto: "keys"), - 10: .same(proto: "source"), - 13: .same(proto: "noDepSubscription"), - 14: .same(proto: "collectionId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}subId\0\u{1}filters\0\u{1}sorts\0\u{2}\u{4}keys\0\u{2}\u{3}source\0\u{2}\u{3}noDepSubscription\0\u{1}collectionId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -234,13 +226,7 @@ extension Anytype_Rpc.Object.CrossSpaceSearchSubscribe.Request: SwiftProtobuf.Me extension Anytype_Rpc.Object.CrossSpaceSearchSubscribe.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CrossSpaceSearchSubscribe.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "records"), - 3: .same(proto: "dependencies"), - 4: .same(proto: "subId"), - 5: .same(proto: "counters"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}records\0\u{1}dependencies\0\u{1}subId\0\u{1}counters\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -294,10 +280,7 @@ extension Anytype_Rpc.Object.CrossSpaceSearchSubscribe.Response: SwiftProtobuf.M extension Anytype_Rpc.Object.CrossSpaceSearchSubscribe.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CrossSpaceSearchSubscribe.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -331,11 +314,7 @@ extension Anytype_Rpc.Object.CrossSpaceSearchSubscribe.Response.Error: SwiftProt } extension Anytype_Rpc.Object.CrossSpaceSearchSubscribe.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.swift index a399f7896f..013398102a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.swift @@ -131,9 +131,7 @@ extension Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe: SwiftProtobuf.Message, extension Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "subId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}subId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -163,9 +161,7 @@ extension Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.Request: SwiftProtobuf. extension Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -199,10 +195,7 @@ extension Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.Response: SwiftProtobuf extension Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -236,11 +229,7 @@ extension Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.Response.Error: SwiftPr } extension Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.DateByTimestamp.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.DateByTimestamp.swift index c5d2a0a446..acd0eb2dda 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.DateByTimestamp.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.DateByTimestamp.swift @@ -141,10 +141,7 @@ extension Anytype_Rpc.Object.DateByTimestamp: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Object.DateByTimestamp.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.DateByTimestamp.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "timestamp"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}timestamp\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -179,10 +176,7 @@ extension Anytype_Rpc.Object.DateByTimestamp.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Object.DateByTimestamp.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.DateByTimestamp.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "details"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}details\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -221,10 +215,7 @@ extension Anytype_Rpc.Object.DateByTimestamp.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Object.DateByTimestamp.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.DateByTimestamp.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -258,11 +249,7 @@ extension Anytype_Rpc.Object.DateByTimestamp.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.Object.DateByTimestamp.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Duplicate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Duplicate.swift index adc0395383..2e23d871ed 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Duplicate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Duplicate.swift @@ -134,9 +134,7 @@ extension Anytype_Rpc.Object.Duplicate: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Rpc.Object.Duplicate.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Duplicate.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -166,10 +164,7 @@ extension Anytype_Rpc.Object.Duplicate.Request: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Object.Duplicate.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Duplicate.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "id"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}id\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -208,10 +203,7 @@ extension Anytype_Rpc.Object.Duplicate.Response: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Object.Duplicate.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Duplicate.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -245,11 +237,7 @@ extension Anytype_Rpc.Object.Duplicate.Response.Error: SwiftProtobuf.Message, Sw } extension Anytype_Rpc.Object.Duplicate.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Export.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Export.swift index 35a4cc8b87..caf61e65af 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Export.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Export.swift @@ -149,11 +149,7 @@ extension Anytype_Rpc.Object.Export: SwiftProtobuf.Message, SwiftProtobuf._Messa extension Anytype_Rpc.Object.Export.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Export.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 10: .same(proto: "spaceId"), - 2: .same(proto: "objectId"), - 3: .same(proto: "format"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\u{2}objectId\0\u{1}format\0\u{2}\u{7}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -193,11 +189,7 @@ extension Anytype_Rpc.Object.Export.Request: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Object.Export.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Export.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "result"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}result\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -241,10 +233,7 @@ extension Anytype_Rpc.Object.Export.Response: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Object.Export.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Export.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -278,11 +267,7 @@ extension Anytype_Rpc.Object.Export.Response.Error: SwiftProtobuf.Message, Swift } extension Anytype_Rpc.Object.Export.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Graph.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Graph.swift index 17fe537e4e..0dfb87708d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Graph.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Graph.swift @@ -210,16 +210,7 @@ extension Anytype_Rpc.Object.Graph: SwiftProtobuf.Message, SwiftProtobuf._Messag extension Anytype_Rpc.Object.Graph.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Graph.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "filters"), - 2: .same(proto: "limit"), - 3: .same(proto: "objectTypeFilter"), - 4: .same(proto: "keys"), - 5: .same(proto: "spaceId"), - 6: .same(proto: "collectionId"), - 7: .same(proto: "setSource"), - 8: .same(proto: "includeTypeEdges"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}filters\0\u{1}limit\0\u{1}objectTypeFilter\0\u{1}keys\0\u{1}spaceId\0\u{1}collectionId\0\u{1}setSource\0\u{1}includeTypeEdges\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -284,16 +275,7 @@ extension Anytype_Rpc.Object.Graph.Request: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Object.Graph.Edge: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Graph.protoMessageName + ".Edge" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "source"), - 2: .same(proto: "target"), - 3: .same(proto: "name"), - 4: .same(proto: "type"), - 5: .same(proto: "description"), - 6: .same(proto: "iconImage"), - 7: .same(proto: "iconEmoji"), - 8: .same(proto: "hidden"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}source\0\u{1}target\0\u{1}name\0\u{1}type\0\u{1}description\0\u{1}iconImage\0\u{1}iconEmoji\0\u{1}hidden\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -357,19 +339,12 @@ extension Anytype_Rpc.Object.Graph.Edge: SwiftProtobuf.Message, SwiftProtobuf._M } extension Anytype_Rpc.Object.Graph.Edge.TypeEnum: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Link"), - 1: .same(proto: "Relation"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Link\0\u{1}Relation\0") } extension Anytype_Rpc.Object.Graph.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Graph.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "nodes"), - 3: .same(proto: "edges"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}nodes\0\u{1}edges\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -413,10 +388,7 @@ extension Anytype_Rpc.Object.Graph.Response: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Object.Graph.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Graph.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -450,11 +422,7 @@ extension Anytype_Rpc.Object.Graph.Response.Error: SwiftProtobuf.Message, SwiftP } extension Anytype_Rpc.Object.Graph.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.GroupsSubscribe.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.GroupsSubscribe.swift index f9565cf002..b7adedf40e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.GroupsSubscribe.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.GroupsSubscribe.swift @@ -143,14 +143,7 @@ extension Anytype_Rpc.Object.GroupsSubscribe: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Object.GroupsSubscribe.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.GroupsSubscribe.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 6: .same(proto: "spaceId"), - 1: .same(proto: "subId"), - 2: .same(proto: "relationKey"), - 3: .same(proto: "filters"), - 4: .same(proto: "source"), - 5: .same(proto: "collectionId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}subId\0\u{1}relationKey\0\u{1}filters\0\u{1}source\0\u{1}collectionId\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -205,11 +198,7 @@ extension Anytype_Rpc.Object.GroupsSubscribe.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Object.GroupsSubscribe.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.GroupsSubscribe.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "groups"), - 3: .same(proto: "subId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}groups\0\u{1}subId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -253,10 +242,7 @@ extension Anytype_Rpc.Object.GroupsSubscribe.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Object.GroupsSubscribe.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.GroupsSubscribe.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -290,11 +276,7 @@ extension Anytype_Rpc.Object.GroupsSubscribe.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.Object.GroupsSubscribe.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Import.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Import.swift index 886d717ae0..388502a42e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Import.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Import.swift @@ -600,23 +600,7 @@ extension Anytype_Rpc.Object.Import: SwiftProtobuf.Message, SwiftProtobuf._Messa extension Anytype_Rpc.Object.Import.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Import.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 14: .same(proto: "spaceId"), - 1: .same(proto: "notionParams"), - 2: .same(proto: "bookmarksParams"), - 3: .same(proto: "markdownParams"), - 4: .same(proto: "htmlParams"), - 5: .same(proto: "txtParams"), - 6: .same(proto: "pbParams"), - 7: .same(proto: "csvParams"), - 8: .same(proto: "snapshots"), - 9: .same(proto: "updateExistingObjects"), - 10: .same(proto: "type"), - 11: .same(proto: "mode"), - 12: .same(proto: "noProgress"), - 13: .same(proto: "isMigration"), - 15: .same(proto: "isNewSpace"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}notionParams\0\u{1}bookmarksParams\0\u{1}markdownParams\0\u{1}htmlParams\0\u{1}txtParams\0\u{1}pbParams\0\u{1}csvParams\0\u{1}snapshots\0\u{1}updateExistingObjects\0\u{1}type\0\u{1}mode\0\u{1}noProgress\0\u{1}isMigration\0\u{1}spaceId\0\u{1}isNewSpace\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -807,17 +791,12 @@ extension Anytype_Rpc.Object.Import.Request: SwiftProtobuf.Message, SwiftProtobu } extension Anytype_Rpc.Object.Import.Request.Mode: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ALL_OR_NOTHING"), - 1: .same(proto: "IGNORE_ERRORS"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0ALL_OR_NOTHING\0\u{1}IGNORE_ERRORS\0") } extension Anytype_Rpc.Object.Import.Request.NotionParams: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Import.Request.protoMessageName + ".NotionParams" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "apiKey"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}apiKey\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -847,12 +826,7 @@ extension Anytype_Rpc.Object.Import.Request.NotionParams: SwiftProtobuf.Message, extension Anytype_Rpc.Object.Import.Request.MarkdownParams: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Import.Request.protoMessageName + ".MarkdownParams" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "path"), - 2: .same(proto: "createDirectoryPages"), - 3: .same(proto: "includePropertiesAsBlock"), - 4: .same(proto: "noCollection"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}path\0\u{1}createDirectoryPages\0\u{1}includePropertiesAsBlock\0\u{1}noCollection\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -897,9 +871,7 @@ extension Anytype_Rpc.Object.Import.Request.MarkdownParams: SwiftProtobuf.Messag extension Anytype_Rpc.Object.Import.Request.BookmarksParams: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Import.Request.protoMessageName + ".BookmarksParams" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "url"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}url\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -929,9 +901,7 @@ extension Anytype_Rpc.Object.Import.Request.BookmarksParams: SwiftProtobuf.Messa extension Anytype_Rpc.Object.Import.Request.HtmlParams: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Import.Request.protoMessageName + ".HtmlParams" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "path"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}path\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -961,9 +931,7 @@ extension Anytype_Rpc.Object.Import.Request.HtmlParams: SwiftProtobuf.Message, S extension Anytype_Rpc.Object.Import.Request.TxtParams: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Import.Request.protoMessageName + ".TxtParams" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "path"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}path\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -993,12 +961,7 @@ extension Anytype_Rpc.Object.Import.Request.TxtParams: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Object.Import.Request.PbParams: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Import.Request.protoMessageName + ".PbParams" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "path"), - 2: .same(proto: "noCollection"), - 3: .same(proto: "collectionTitle"), - 4: .same(proto: "importType"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}path\0\u{1}noCollection\0\u{1}collectionTitle\0\u{1}importType\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1042,21 +1005,12 @@ extension Anytype_Rpc.Object.Import.Request.PbParams: SwiftProtobuf.Message, Swi } extension Anytype_Rpc.Object.Import.Request.PbParams.TypeEnum: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SPACE"), - 1: .same(proto: "EXPERIENCE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0SPACE\0\u{1}EXPERIENCE\0") } extension Anytype_Rpc.Object.Import.Request.CsvParams: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Import.Request.protoMessageName + ".CsvParams" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "path"), - 2: .same(proto: "mode"), - 3: .same(proto: "useFirstRowForRelations"), - 4: .same(proto: "delimiter"), - 5: .same(proto: "transposeRowsAndColumns"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}path\0\u{1}mode\0\u{1}useFirstRowForRelations\0\u{1}delimiter\0\u{1}transposeRowsAndColumns\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1105,18 +1059,12 @@ extension Anytype_Rpc.Object.Import.Request.CsvParams: SwiftProtobuf.Message, Sw } extension Anytype_Rpc.Object.Import.Request.CsvParams.Mode: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "COLLECTION"), - 1: .same(proto: "TABLE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0COLLECTION\0\u{1}TABLE\0") } extension Anytype_Rpc.Object.Import.Request.Snapshot: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Import.Request.protoMessageName + ".Snapshot" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "snapshot"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}snapshot\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1155,11 +1103,7 @@ extension Anytype_Rpc.Object.Import.Request.Snapshot: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Object.Import.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Import.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "collectionId"), - 3: .same(proto: "objectsCount"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}collectionId\0\u{1}objectsCount\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1203,10 +1147,7 @@ extension Anytype_Rpc.Object.Import.Response: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Object.Import.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Import.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1240,17 +1181,7 @@ extension Anytype_Rpc.Object.Import.Response.Error: SwiftProtobuf.Message, Swift } extension Anytype_Rpc.Object.Import.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "INTERNAL_ERROR"), - 5: .same(proto: "NO_OBJECTS_TO_IMPORT"), - 6: .same(proto: "IMPORT_IS_CANCELED"), - 7: .same(proto: "LIMIT_OF_ROWS_OR_RELATIONS_EXCEEDED"), - 8: .same(proto: "FILE_LOAD_ERROR"), - 9: .same(proto: "INSUFFICIENT_PERMISSIONS"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}INTERNAL_ERROR\0\u{2}\u{2}NO_OBJECTS_TO_IMPORT\0\u{1}IMPORT_IS_CANCELED\0\u{1}LIMIT_OF_ROWS_OR_RELATIONS_EXCEEDED\0\u{1}FILE_LOAD_ERROR\0\u{1}INSUFFICIENT_PERMISSIONS\0") } extension Anytype_Rpc.Object.Import.Notion: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -1293,9 +1224,7 @@ extension Anytype_Rpc.Object.Import.Notion.ValidateToken: SwiftProtobuf.Message, extension Anytype_Rpc.Object.Import.Notion.ValidateToken.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Import.Notion.ValidateToken.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "token"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}token\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1325,9 +1254,7 @@ extension Anytype_Rpc.Object.Import.Notion.ValidateToken.Request: SwiftProtobuf. extension Anytype_Rpc.Object.Import.Notion.ValidateToken.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Import.Notion.ValidateToken.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1361,10 +1288,7 @@ extension Anytype_Rpc.Object.Import.Notion.ValidateToken.Response: SwiftProtobuf extension Anytype_Rpc.Object.Import.Notion.ValidateToken.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Import.Notion.ValidateToken.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1398,16 +1322,7 @@ extension Anytype_Rpc.Object.Import.Notion.ValidateToken.Response.Error: SwiftPr } extension Anytype_Rpc.Object.Import.Notion.ValidateToken.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "INTERNAL_ERROR"), - 4: .same(proto: "UNAUTHORIZED"), - 5: .same(proto: "FORBIDDEN"), - 6: .same(proto: "SERVICE_UNAVAILABLE"), - 7: .same(proto: "ACCOUNT_IS_NOT_RUNNING"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}INTERNAL_ERROR\0\u{1}UNAUTHORIZED\0\u{1}FORBIDDEN\0\u{1}SERVICE_UNAVAILABLE\0\u{1}ACCOUNT_IS_NOT_RUNNING\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportExperience.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportExperience.swift index 247b477af6..e7f292d0a1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportExperience.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportExperience.swift @@ -151,13 +151,7 @@ extension Anytype_Rpc.Object.ImportExperience: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Object.ImportExperience.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ImportExperience.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "url"), - 3: .same(proto: "title"), - 4: .same(proto: "isNewSpace"), - 5: .same(proto: "isAi"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}url\0\u{1}title\0\u{1}isNewSpace\0\u{1}isAi\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -207,10 +201,7 @@ extension Anytype_Rpc.Object.ImportExperience.Request: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Object.ImportExperience.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ImportExperience.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -249,10 +240,7 @@ extension Anytype_Rpc.Object.ImportExperience.Response: SwiftProtobuf.Message, S extension Anytype_Rpc.Object.ImportExperience.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ImportExperience.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -286,12 +274,7 @@ extension Anytype_Rpc.Object.ImportExperience.Response.Error: SwiftProtobuf.Mess } extension Anytype_Rpc.Object.ImportExperience.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "INSUFFICIENT_PERMISSION"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}INSUFFICIENT_PERMISSION\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportList.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportList.swift index 56bc2d9f95..43f394a59f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportList.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportList.swift @@ -206,10 +206,7 @@ extension Anytype_Rpc.Object.ImportList.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Object.ImportList.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ImportList.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "response"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}response\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -248,10 +245,7 @@ extension Anytype_Rpc.Object.ImportList.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Object.ImportList.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ImportList.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -285,19 +279,12 @@ extension Anytype_Rpc.Object.ImportList.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.Object.ImportList.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "INTERNAL_ERROR"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}INTERNAL_ERROR\0") } extension Anytype_Rpc.Object.ImportList.ImportResponse: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ImportList.protoMessageName + ".ImportResponse" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}type\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -326,12 +313,7 @@ extension Anytype_Rpc.Object.ImportList.ImportResponse: SwiftProtobuf.Message, S } extension Anytype_Rpc.Object.ImportList.ImportResponse.TypeEnum: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Notion"), - 1: .same(proto: "Markdown"), - 2: .same(proto: "Html"), - 3: .same(proto: "Txt"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Notion\0\u{1}Markdown\0\u{1}Html\0\u{1}Txt\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportUseCase.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportUseCase.swift index 9a017272b4..2ab0650af4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportUseCase.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportUseCase.swift @@ -199,10 +199,7 @@ extension Anytype_Rpc.Object.ImportUseCase: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Object.ImportUseCase.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ImportUseCase.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .same(proto: "spaceId"), - 1: .same(proto: "useCase"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}useCase\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -236,24 +233,12 @@ extension Anytype_Rpc.Object.ImportUseCase.Request: SwiftProtobuf.Message, Swift } extension Anytype_Rpc.Object.ImportUseCase.Request.UseCase: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NONE"), - 1: .same(proto: "GET_STARTED"), - 2: .same(proto: "DATA_SPACE"), - 3: .same(proto: "GUIDE_ONLY"), - 4: .same(proto: "GET_STARTED_MOBILE"), - 5: .same(proto: "CHAT_SPACE"), - 6: .same(proto: "DATA_SPACE_MOBILE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NONE\0\u{1}GET_STARTED\0\u{1}DATA_SPACE\0\u{1}GUIDE_ONLY\0\u{1}GET_STARTED_MOBILE\0\u{1}CHAT_SPACE\0\u{1}DATA_SPACE_MOBILE\0") } extension Anytype_Rpc.Object.ImportUseCase.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ImportUseCase.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - 3: .same(proto: "startingObjectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0\u{1}startingObjectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -297,10 +282,7 @@ extension Anytype_Rpc.Object.ImportUseCase.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Object.ImportUseCase.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ImportUseCase.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -334,11 +316,7 @@ extension Anytype_Rpc.Object.ImportUseCase.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.Object.ImportUseCase.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListDelete.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListDelete.swift index de3cbf1b0c..9d1f9c46ea 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListDelete.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListDelete.swift @@ -143,9 +143,7 @@ extension Anytype_Rpc.Object.ListDelete: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.Object.ListDelete.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListDelete.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -175,10 +173,7 @@ extension Anytype_Rpc.Object.ListDelete.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Object.ListDelete.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListDelete.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -217,10 +212,7 @@ extension Anytype_Rpc.Object.ListDelete.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Object.ListDelete.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListDelete.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -254,11 +246,7 @@ extension Anytype_Rpc.Object.ListDelete.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.Object.ListDelete.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListDuplicate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListDuplicate.swift index 35fa930dc0..f298ed0ef7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListDuplicate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListDuplicate.swift @@ -133,9 +133,7 @@ extension Anytype_Rpc.Object.ListDuplicate: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Object.ListDuplicate.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListDuplicate.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -165,10 +163,7 @@ extension Anytype_Rpc.Object.ListDuplicate.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Object.ListDuplicate.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListDuplicate.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "ids"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}ids\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -207,10 +202,7 @@ extension Anytype_Rpc.Object.ListDuplicate.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Object.ListDuplicate.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListDuplicate.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -244,11 +236,7 @@ extension Anytype_Rpc.Object.ListDuplicate.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.Object.ListDuplicate.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListExport.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListExport.swift index 0b40eb8ab6..d74dd55202 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListExport.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListExport.swift @@ -218,22 +218,7 @@ extension Anytype_Rpc.Object.ListExport: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.Object.ListExport.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListExport.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 10: .same(proto: "spaceId"), - 1: .same(proto: "path"), - 2: .same(proto: "objectIds"), - 3: .same(proto: "format"), - 4: .same(proto: "zip"), - 5: .same(proto: "includeNested"), - 6: .same(proto: "includeFiles"), - 7: .same(proto: "isJson"), - 9: .same(proto: "includeArchived"), - 11: .same(proto: "noProgress"), - 12: .same(proto: "linksStateFilters"), - 13: .same(proto: "includeBacklinks"), - 14: .same(proto: "includeSpace"), - 15: .same(proto: "mdIncludePropertiesAndSchema"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}path\0\u{1}objectIds\0\u{1}format\0\u{1}zip\0\u{1}includeNested\0\u{1}includeFiles\0\u{1}isJson\0\u{2}\u{2}includeArchived\0\u{1}spaceId\0\u{1}noProgress\0\u{1}linksStateFilters\0\u{1}includeBacklinks\0\u{1}includeSpace\0\u{1}mdIncludePropertiesAndSchema\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -332,10 +317,7 @@ extension Anytype_Rpc.Object.ListExport.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Object.ListExport.StateFilters: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListExport.protoMessageName + ".StateFilters" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "relationsWhiteList"), - 2: .same(proto: "removeBlocks"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}relationsWhiteList\0\u{1}removeBlocks\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -370,10 +352,7 @@ extension Anytype_Rpc.Object.ListExport.StateFilters: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Object.ListExport.RelationsWhiteList: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListExport.protoMessageName + ".RelationsWhiteList" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "layout"), - 2: .same(proto: "allowedRelations"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}layout\0\u{1}allowedRelations\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -408,12 +387,7 @@ extension Anytype_Rpc.Object.ListExport.RelationsWhiteList: SwiftProtobuf.Messag extension Anytype_Rpc.Object.ListExport.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListExport.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "path"), - 4: .same(proto: "succeed"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}path\0\u{1}event\0\u{1}succeed\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -462,10 +436,7 @@ extension Anytype_Rpc.Object.ListExport.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Object.ListExport.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListExport.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -499,11 +470,7 @@ extension Anytype_Rpc.Object.ListExport.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.Object.ListExport.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListModifyDetailValues.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListModifyDetailValues.swift index 068c59fe26..677ab548c8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListModifyDetailValues.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListModifyDetailValues.swift @@ -174,10 +174,7 @@ extension Anytype_Rpc.Object.ListModifyDetailValues: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Object.ListModifyDetailValues.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListModifyDetailValues.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectIds"), - 2: .same(proto: "operations"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectIds\0\u{1}operations\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -212,12 +209,7 @@ extension Anytype_Rpc.Object.ListModifyDetailValues.Request: SwiftProtobuf.Messa extension Anytype_Rpc.Object.ListModifyDetailValues.Request.Operation: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListModifyDetailValues.Request.protoMessageName + ".Operation" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "relationKey"), - 2: .same(proto: "add"), - 3: .same(proto: "set"), - 4: .same(proto: "remove"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}relationKey\0\u{1}add\0\u{1}set\0\u{1}remove\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -266,9 +258,7 @@ extension Anytype_Rpc.Object.ListModifyDetailValues.Request.Operation: SwiftProt extension Anytype_Rpc.Object.ListModifyDetailValues.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListModifyDetailValues.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -302,10 +292,7 @@ extension Anytype_Rpc.Object.ListModifyDetailValues.Response: SwiftProtobuf.Mess extension Anytype_Rpc.Object.ListModifyDetailValues.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListModifyDetailValues.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -339,11 +326,7 @@ extension Anytype_Rpc.Object.ListModifyDetailValues.Response.Error: SwiftProtobu } extension Anytype_Rpc.Object.ListModifyDetailValues.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetDetails.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetDetails.swift index 16f3d10301..7950952288 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetDetails.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetDetails.swift @@ -143,10 +143,7 @@ extension Anytype_Rpc.Object.ListSetDetails: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Object.ListSetDetails.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListSetDetails.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectIds"), - 2: .same(proto: "details"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectIds\0\u{1}details\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -181,10 +178,7 @@ extension Anytype_Rpc.Object.ListSetDetails.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Object.ListSetDetails.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListSetDetails.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -223,10 +217,7 @@ extension Anytype_Rpc.Object.ListSetDetails.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Object.ListSetDetails.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListSetDetails.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -260,11 +251,7 @@ extension Anytype_Rpc.Object.ListSetDetails.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.Object.ListSetDetails.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetIsArchived.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetIsArchived.swift index 37b6afc3d7..7b426dc94a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetIsArchived.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetIsArchived.swift @@ -133,10 +133,7 @@ extension Anytype_Rpc.Object.ListSetIsArchived: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Object.ListSetIsArchived.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListSetIsArchived.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectIds"), - 2: .same(proto: "isArchived"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectIds\0\u{1}isArchived\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -171,9 +168,7 @@ extension Anytype_Rpc.Object.ListSetIsArchived.Request: SwiftProtobuf.Message, S extension Anytype_Rpc.Object.ListSetIsArchived.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListSetIsArchived.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -207,10 +202,7 @@ extension Anytype_Rpc.Object.ListSetIsArchived.Response: SwiftProtobuf.Message, extension Anytype_Rpc.Object.ListSetIsArchived.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListSetIsArchived.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -244,11 +236,7 @@ extension Anytype_Rpc.Object.ListSetIsArchived.Response.Error: SwiftProtobuf.Mes } extension Anytype_Rpc.Object.ListSetIsArchived.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetIsFavorite.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetIsFavorite.swift index bddec220e5..63724386e4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetIsFavorite.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetIsFavorite.swift @@ -133,10 +133,7 @@ extension Anytype_Rpc.Object.ListSetIsFavorite: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Object.ListSetIsFavorite.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListSetIsFavorite.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectIds"), - 2: .same(proto: "isFavorite"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectIds\0\u{1}isFavorite\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -171,9 +168,7 @@ extension Anytype_Rpc.Object.ListSetIsFavorite.Request: SwiftProtobuf.Message, S extension Anytype_Rpc.Object.ListSetIsFavorite.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListSetIsFavorite.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -207,10 +202,7 @@ extension Anytype_Rpc.Object.ListSetIsFavorite.Response: SwiftProtobuf.Message, extension Anytype_Rpc.Object.ListSetIsFavorite.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListSetIsFavorite.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -244,11 +236,7 @@ extension Anytype_Rpc.Object.ListSetIsFavorite.Response.Error: SwiftProtobuf.Mes } extension Anytype_Rpc.Object.ListSetIsFavorite.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetObjectType.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetObjectType.swift index a8db3dcebd..0cb0db2653 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetObjectType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetObjectType.swift @@ -141,10 +141,7 @@ extension Anytype_Rpc.Object.ListSetObjectType: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Object.ListSetObjectType.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListSetObjectType.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectIds"), - 2: .same(proto: "objectTypeUniqueKey"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectIds\0\u{1}objectTypeUniqueKey\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -179,10 +176,7 @@ extension Anytype_Rpc.Object.ListSetObjectType.Request: SwiftProtobuf.Message, S extension Anytype_Rpc.Object.ListSetObjectType.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListSetObjectType.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -221,10 +215,7 @@ extension Anytype_Rpc.Object.ListSetObjectType.Response: SwiftProtobuf.Message, extension Anytype_Rpc.Object.ListSetObjectType.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ListSetObjectType.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -258,11 +249,7 @@ extension Anytype_Rpc.Object.ListSetObjectType.Response.Error: SwiftProtobuf.Mes } extension Anytype_Rpc.Object.ListSetObjectType.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Open.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Open.swift index 172e574556..a43b4b382e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Open.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Open.swift @@ -166,13 +166,7 @@ extension Anytype_Rpc.Object.Open: SwiftProtobuf.Message, SwiftProtobuf._Message extension Anytype_Rpc.Object.Open.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Open.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "objectId"), - 3: .same(proto: "traceId"), - 5: .same(proto: "spaceId"), - 4: .same(proto: "includeRelationsAsDependentObjects"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}objectId\0\u{1}traceId\0\u{1}includeRelationsAsDependentObjects\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -222,10 +216,7 @@ extension Anytype_Rpc.Object.Open.Request: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Object.Open.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Open.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "objectView"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}objectView\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -264,10 +255,7 @@ extension Anytype_Rpc.Object.Open.Response: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Object.Open.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Open.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -301,14 +289,7 @@ extension Anytype_Rpc.Object.Open.Response.Error: SwiftProtobuf.Message, SwiftPr } extension Anytype_Rpc.Object.Open.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "NOT_FOUND"), - 4: .same(proto: "OBJECT_DELETED"), - 10: .same(proto: "ANYTYPE_NEEDS_UPGRADE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}NOT_FOUND\0\u{1}OBJECT_DELETED\0\u{2}\u{6}ANYTYPE_NEEDS_UPGRADE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.OpenBreadcrumbs.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.OpenBreadcrumbs.swift index 0ba0ee6f3d..f32864b6b4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.OpenBreadcrumbs.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.OpenBreadcrumbs.swift @@ -157,10 +157,7 @@ extension Anytype_Rpc.Object.OpenBreadcrumbs: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Object.OpenBreadcrumbs.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.OpenBreadcrumbs.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "traceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}traceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -195,12 +192,7 @@ extension Anytype_Rpc.Object.OpenBreadcrumbs.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Object.OpenBreadcrumbs.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.OpenBreadcrumbs.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "objectId"), - 3: .same(proto: "event"), - 4: .same(proto: "objectView"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}objectId\0\u{1}event\0\u{1}objectView\0") fileprivate class _StorageClass { var _error: Anytype_Rpc.Object.OpenBreadcrumbs.Response.Error? = nil @@ -208,15 +200,11 @@ extension Anytype_Rpc.Object.OpenBreadcrumbs.Response: SwiftProtobuf.Message, Sw var _event: Anytype_ResponseEvent? = nil var _objectView: Anytype_Model_ObjectView? = nil - #if swift(>=5.10) // This property is used as the initial default value for new instances of the type. // The type itself is protecting the reference to its storage via CoW semantics. // This will force a copy to be made of this reference when the first mutation occurs; // hence, it is safe to mark this as `nonisolated(unsafe)`. static nonisolated(unsafe) let defaultInstance = _StorageClass() - #else - static let defaultInstance = _StorageClass() - #endif private init() {} @@ -295,10 +283,7 @@ extension Anytype_Rpc.Object.OpenBreadcrumbs.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Object.OpenBreadcrumbs.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.OpenBreadcrumbs.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -332,11 +317,7 @@ extension Anytype_Rpc.Object.OpenBreadcrumbs.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.Object.OpenBreadcrumbs.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Redo.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Redo.swift index da86d82b58..28a57ec7db 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Redo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Redo.swift @@ -168,9 +168,7 @@ extension Anytype_Rpc.Object.Redo: SwiftProtobuf.Message, SwiftProtobuf._Message extension Anytype_Rpc.Object.Redo.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Redo.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -200,13 +198,7 @@ extension Anytype_Rpc.Object.Redo.Request: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Object.Redo.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Redo.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - 3: .same(proto: "counters"), - 4: .same(proto: "blockId"), - 5: .same(proto: "range"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0\u{1}counters\0\u{1}blockId\0\u{1}range\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -260,10 +252,7 @@ extension Anytype_Rpc.Object.Redo.Response: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Object.Redo.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Redo.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -297,12 +286,7 @@ extension Anytype_Rpc.Object.Redo.Response.Error: SwiftProtobuf.Message, SwiftPr } extension Anytype_Rpc.Object.Redo.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "CAN_NOT_MOVE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}CAN_NOT_MOVE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Refresh.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Refresh.swift index ab1981357a..710758fc07 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Refresh.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Refresh.swift @@ -135,10 +135,7 @@ extension Anytype_Rpc.Object.Refresh: SwiftProtobuf.Message, SwiftProtobuf._Mess extension Anytype_Rpc.Object.Refresh.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Refresh.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectId"), - 2: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectId\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -173,9 +170,7 @@ extension Anytype_Rpc.Object.Refresh.Request: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Object.Refresh.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Refresh.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -209,10 +204,7 @@ extension Anytype_Rpc.Object.Refresh.Response: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Object.Refresh.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Refresh.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -246,12 +238,7 @@ extension Anytype_Rpc.Object.Refresh.Response.Error: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.Object.Refresh.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 4: .same(proto: "OBJECT_DELETED"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}\u{2}OBJECT_DELETED\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Search.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Search.swift index f71e4124fe..77f92713ff 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Search.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Search.swift @@ -149,16 +149,7 @@ extension Anytype_Rpc.Object.Search: SwiftProtobuf.Message, SwiftProtobuf._Messa extension Anytype_Rpc.Object.Search.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Search.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 8: .same(proto: "spaceId"), - 1: .same(proto: "filters"), - 2: .same(proto: "sorts"), - 3: .same(proto: "fullText"), - 4: .same(proto: "offset"), - 5: .same(proto: "limit"), - 6: .same(proto: "objectTypeFilter"), - 7: .same(proto: "keys"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}filters\0\u{1}sorts\0\u{1}fullText\0\u{1}offset\0\u{1}limit\0\u{1}objectTypeFilter\0\u{1}keys\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -223,10 +214,7 @@ extension Anytype_Rpc.Object.Search.Request: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Object.Search.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Search.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "records"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}records\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -265,10 +253,7 @@ extension Anytype_Rpc.Object.Search.Response: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Object.Search.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Search.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -302,11 +287,7 @@ extension Anytype_Rpc.Object.Search.Response.Error: SwiftProtobuf.Message, Swift } extension Anytype_Rpc.Object.Search.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchSubscribe.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchSubscribe.swift index c8598ce737..9de18cc84c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchSubscribe.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchSubscribe.swift @@ -180,20 +180,7 @@ extension Anytype_Rpc.Object.SearchSubscribe: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Object.SearchSubscribe.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SearchSubscribe.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 15: .same(proto: "spaceId"), - 1: .same(proto: "subId"), - 2: .same(proto: "filters"), - 3: .same(proto: "sorts"), - 5: .same(proto: "limit"), - 6: .same(proto: "offset"), - 7: .same(proto: "keys"), - 8: .same(proto: "afterId"), - 9: .same(proto: "beforeId"), - 10: .same(proto: "source"), - 13: .same(proto: "noDepSubscription"), - 14: .same(proto: "collectionId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}subId\0\u{1}filters\0\u{1}sorts\0\u{2}\u{2}limit\0\u{1}offset\0\u{1}keys\0\u{1}afterId\0\u{1}beforeId\0\u{1}source\0\u{2}\u{3}noDepSubscription\0\u{1}collectionId\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -278,13 +265,7 @@ extension Anytype_Rpc.Object.SearchSubscribe.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Object.SearchSubscribe.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SearchSubscribe.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "records"), - 3: .same(proto: "dependencies"), - 4: .same(proto: "subId"), - 5: .same(proto: "counters"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}records\0\u{1}dependencies\0\u{1}subId\0\u{1}counters\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -338,10 +319,7 @@ extension Anytype_Rpc.Object.SearchSubscribe.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Object.SearchSubscribe.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SearchSubscribe.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -375,11 +353,7 @@ extension Anytype_Rpc.Object.SearchSubscribe.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.Object.SearchSubscribe.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchUnsubscribe.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchUnsubscribe.swift index 3145f2bf0c..3343b7b004 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchUnsubscribe.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchUnsubscribe.swift @@ -129,9 +129,7 @@ extension Anytype_Rpc.Object.SearchUnsubscribe: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Object.SearchUnsubscribe.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SearchUnsubscribe.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "subIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}subIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -161,9 +159,7 @@ extension Anytype_Rpc.Object.SearchUnsubscribe.Request: SwiftProtobuf.Message, S extension Anytype_Rpc.Object.SearchUnsubscribe.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SearchUnsubscribe.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -197,10 +193,7 @@ extension Anytype_Rpc.Object.SearchUnsubscribe.Response: SwiftProtobuf.Message, extension Anytype_Rpc.Object.SearchUnsubscribe.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SearchUnsubscribe.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -234,11 +227,7 @@ extension Anytype_Rpc.Object.SearchUnsubscribe.Response.Error: SwiftProtobuf.Mes } extension Anytype_Rpc.Object.SearchUnsubscribe.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchWithMeta.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchWithMeta.swift index 883f1891ed..7f5c1b3598 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchWithMeta.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchWithMeta.swift @@ -158,19 +158,7 @@ extension Anytype_Rpc.Object.SearchWithMeta: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Object.SearchWithMeta.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SearchWithMeta.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 11: .same(proto: "spaceId"), - 1: .same(proto: "filters"), - 2: .same(proto: "sorts"), - 3: .same(proto: "fullText"), - 4: .same(proto: "offset"), - 5: .same(proto: "limit"), - 6: .same(proto: "objectTypeFilter"), - 7: .same(proto: "keys"), - 8: .same(proto: "returnMeta"), - 9: .same(proto: "returnMetaRelationDetails"), - 10: .same(proto: "returnHTMLHighlightsInsteadOfRanges"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}filters\0\u{1}sorts\0\u{1}fullText\0\u{1}offset\0\u{1}limit\0\u{1}objectTypeFilter\0\u{1}keys\0\u{1}returnMeta\0\u{1}returnMetaRelationDetails\0\u{1}returnHTMLHighlightsInsteadOfRanges\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -250,10 +238,7 @@ extension Anytype_Rpc.Object.SearchWithMeta.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Object.SearchWithMeta.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SearchWithMeta.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "results"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}results\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -292,10 +277,7 @@ extension Anytype_Rpc.Object.SearchWithMeta.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Object.SearchWithMeta.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SearchWithMeta.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -329,11 +311,7 @@ extension Anytype_Rpc.Object.SearchWithMeta.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.Object.SearchWithMeta.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetBreadcrumbs.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetBreadcrumbs.swift index 12d5003548..050a630e73 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetBreadcrumbs.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetBreadcrumbs.swift @@ -144,10 +144,7 @@ extension Anytype_Rpc.Object.SetBreadcrumbs: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Object.SetBreadcrumbs.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetBreadcrumbs.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "breadcrumbsId"), - 2: .same(proto: "ids"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}breadcrumbsId\0\u{1}ids\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -182,10 +179,7 @@ extension Anytype_Rpc.Object.SetBreadcrumbs.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Object.SetBreadcrumbs.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetBreadcrumbs.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -224,10 +218,7 @@ extension Anytype_Rpc.Object.SetBreadcrumbs.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Object.SetBreadcrumbs.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetBreadcrumbs.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -261,11 +252,7 @@ extension Anytype_Rpc.Object.SetBreadcrumbs.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.Object.SetBreadcrumbs.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetDetails.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetDetails.swift index 404a617dfe..8ec2538415 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetDetails.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetDetails.swift @@ -143,10 +143,7 @@ extension Anytype_Rpc.Object.SetDetails: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.Object.SetDetails.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetDetails.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "details"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}details\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -181,10 +178,7 @@ extension Anytype_Rpc.Object.SetDetails.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Object.SetDetails.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetDetails.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -223,10 +217,7 @@ extension Anytype_Rpc.Object.SetDetails.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Object.SetDetails.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetDetails.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -260,11 +251,7 @@ extension Anytype_Rpc.Object.SetDetails.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.Object.SetDetails.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetInternalFlags.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetInternalFlags.swift index 1c429414c6..bab83b17c2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetInternalFlags.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetInternalFlags.swift @@ -141,10 +141,7 @@ extension Anytype_Rpc.Object.SetInternalFlags: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Object.SetInternalFlags.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetInternalFlags.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 7: .same(proto: "internalFlags"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{2}\u{6}internalFlags\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -179,10 +176,7 @@ extension Anytype_Rpc.Object.SetInternalFlags.Request: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Object.SetInternalFlags.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetInternalFlags.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -221,10 +215,7 @@ extension Anytype_Rpc.Object.SetInternalFlags.Response: SwiftProtobuf.Message, S extension Anytype_Rpc.Object.SetInternalFlags.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetInternalFlags.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -258,11 +249,7 @@ extension Anytype_Rpc.Object.SetInternalFlags.Response.Error: SwiftProtobuf.Mess } extension Anytype_Rpc.Object.SetInternalFlags.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetIsArchived.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetIsArchived.swift index f4df6da268..6bd74f0489 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetIsArchived.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetIsArchived.swift @@ -133,10 +133,7 @@ extension Anytype_Rpc.Object.SetIsArchived: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Object.SetIsArchived.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetIsArchived.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "isArchived"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}isArchived\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -171,9 +168,7 @@ extension Anytype_Rpc.Object.SetIsArchived.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Object.SetIsArchived.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetIsArchived.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -207,10 +202,7 @@ extension Anytype_Rpc.Object.SetIsArchived.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Object.SetIsArchived.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetIsArchived.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -244,11 +236,7 @@ extension Anytype_Rpc.Object.SetIsArchived.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.Object.SetIsArchived.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetIsFavorite.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetIsFavorite.swift index 26048a4661..3c9b02fc79 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetIsFavorite.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetIsFavorite.swift @@ -143,10 +143,7 @@ extension Anytype_Rpc.Object.SetIsFavorite: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Object.SetIsFavorite.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetIsFavorite.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "isFavorite"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}isFavorite\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -181,10 +178,7 @@ extension Anytype_Rpc.Object.SetIsFavorite.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Object.SetIsFavorite.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetIsFavorite.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -223,10 +217,7 @@ extension Anytype_Rpc.Object.SetIsFavorite.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Object.SetIsFavorite.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetIsFavorite.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -260,11 +251,7 @@ extension Anytype_Rpc.Object.SetIsFavorite.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.Object.SetIsFavorite.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetLayout.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetLayout.swift index 5978be2468..c3eb69ac3a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetLayout.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetLayout.swift @@ -143,10 +143,7 @@ extension Anytype_Rpc.Object.SetLayout: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Rpc.Object.SetLayout.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetLayout.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 3: .same(proto: "layout"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{2}\u{2}layout\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -181,10 +178,7 @@ extension Anytype_Rpc.Object.SetLayout.Request: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Object.SetLayout.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetLayout.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -223,10 +217,7 @@ extension Anytype_Rpc.Object.SetLayout.Response: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Object.SetLayout.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetLayout.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -260,11 +251,7 @@ extension Anytype_Rpc.Object.SetLayout.Response.Error: SwiftProtobuf.Message, Sw } extension Anytype_Rpc.Object.SetLayout.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetObjectType.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetObjectType.swift index 446397781e..bc028a5639 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetObjectType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetObjectType.swift @@ -141,10 +141,7 @@ extension Anytype_Rpc.Object.SetObjectType: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Object.SetObjectType.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetObjectType.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 3: .same(proto: "objectTypeUniqueKey"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{2}\u{2}objectTypeUniqueKey\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -179,10 +176,7 @@ extension Anytype_Rpc.Object.SetObjectType.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Object.SetObjectType.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetObjectType.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -221,10 +215,7 @@ extension Anytype_Rpc.Object.SetObjectType.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Object.SetObjectType.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetObjectType.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -258,11 +249,7 @@ extension Anytype_Rpc.Object.SetObjectType.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.Object.SetObjectType.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetSource.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetSource.swift index 35c389e438..4e999c3ba8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetSource.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetSource.swift @@ -141,10 +141,7 @@ extension Anytype_Rpc.Object.SetSource: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Rpc.Object.SetSource.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetSource.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "source"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}source\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -179,10 +176,7 @@ extension Anytype_Rpc.Object.SetSource.Request: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Object.SetSource.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetSource.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 4: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{2}\u{3}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -221,10 +215,7 @@ extension Anytype_Rpc.Object.SetSource.Response: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Object.SetSource.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SetSource.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -258,11 +249,7 @@ extension Anytype_Rpc.Object.SetSource.Response.Error: SwiftProtobuf.Message, Sw } extension Anytype_Rpc.Object.SetSource.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ShareByLink.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ShareByLink.swift index 61f2f22c0d..148e6ccecd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ShareByLink.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ShareByLink.swift @@ -133,9 +133,7 @@ extension Anytype_Rpc.Object.ShareByLink: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.Object.ShareByLink.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ShareByLink.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -165,10 +163,7 @@ extension Anytype_Rpc.Object.ShareByLink.Request: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Object.ShareByLink.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ShareByLink.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "link"), - 2: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}link\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -207,10 +202,7 @@ extension Anytype_Rpc.Object.ShareByLink.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Object.ShareByLink.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ShareByLink.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -244,11 +236,7 @@ extension Anytype_Rpc.Object.ShareByLink.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Object.ShareByLink.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Show.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Show.swift index 0e66b45890..06f37579f3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Show.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Show.swift @@ -164,13 +164,7 @@ extension Anytype_Rpc.Object.Show: SwiftProtobuf.Message, SwiftProtobuf._Message extension Anytype_Rpc.Object.Show.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Show.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "objectId"), - 3: .same(proto: "traceId"), - 5: .same(proto: "spaceId"), - 4: .same(proto: "includeRelationsAsDependentObjects"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}objectId\0\u{1}traceId\0\u{1}includeRelationsAsDependentObjects\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -220,10 +214,7 @@ extension Anytype_Rpc.Object.Show.Request: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Object.Show.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Show.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "objectView"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}objectView\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -262,10 +253,7 @@ extension Anytype_Rpc.Object.Show.Response: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Object.Show.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Show.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -299,14 +287,7 @@ extension Anytype_Rpc.Object.Show.Response.Error: SwiftProtobuf.Message, SwiftPr } extension Anytype_Rpc.Object.Show.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "NOT_FOUND"), - 4: .same(proto: "OBJECT_DELETED"), - 10: .same(proto: "ANYTYPE_NEEDS_UPGRADE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}NOT_FOUND\0\u{1}OBJECT_DELETED\0\u{2}\u{6}ANYTYPE_NEEDS_UPGRADE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SubscribeIds.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SubscribeIds.swift index 67e3e2684e..a4856ecba8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SubscribeIds.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SubscribeIds.swift @@ -152,13 +152,7 @@ extension Anytype_Rpc.Object.SubscribeIds: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Object.SubscribeIds.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SubscribeIds.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 13: .same(proto: "spaceId"), - 1: .same(proto: "subId"), - 2: .same(proto: "ids"), - 3: .same(proto: "keys"), - 12: .same(proto: "noDepSubscription"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}subId\0\u{1}ids\0\u{1}keys\0\u{2}\u{9}noDepSubscription\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -208,12 +202,7 @@ extension Anytype_Rpc.Object.SubscribeIds.Request: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Object.SubscribeIds.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SubscribeIds.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "records"), - 3: .same(proto: "dependencies"), - 4: .same(proto: "subId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}records\0\u{1}dependencies\0\u{1}subId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -262,10 +251,7 @@ extension Anytype_Rpc.Object.SubscribeIds.Response: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Object.SubscribeIds.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.SubscribeIds.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -299,11 +285,7 @@ extension Anytype_Rpc.Object.SubscribeIds.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Object.SubscribeIds.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ToCollection.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ToCollection.swift index bb3d29883c..c8cef6e5a9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ToCollection.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ToCollection.swift @@ -131,9 +131,7 @@ extension Anytype_Rpc.Object.ToCollection: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Object.ToCollection.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ToCollection.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -163,9 +161,7 @@ extension Anytype_Rpc.Object.ToCollection.Request: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Object.ToCollection.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ToCollection.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -199,10 +195,7 @@ extension Anytype_Rpc.Object.ToCollection.Response: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Object.ToCollection.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ToCollection.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -236,11 +229,7 @@ extension Anytype_Rpc.Object.ToCollection.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Object.ToCollection.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ToSet.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ToSet.swift index dea33392ea..462f40391d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ToSet.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ToSet.swift @@ -133,10 +133,7 @@ extension Anytype_Rpc.Object.ToSet: SwiftProtobuf.Message, SwiftProtobuf._Messag extension Anytype_Rpc.Object.ToSet.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ToSet.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "source"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}source\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -171,9 +168,7 @@ extension Anytype_Rpc.Object.ToSet.Request: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Object.ToSet.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ToSet.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -207,10 +202,7 @@ extension Anytype_Rpc.Object.ToSet.Response: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Object.ToSet.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.ToSet.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -244,11 +236,7 @@ extension Anytype_Rpc.Object.ToSet.Response.Error: SwiftProtobuf.Message, SwiftP } extension Anytype_Rpc.Object.ToSet.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Undo.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Undo.swift index eef147f9ec..1d105e6c19 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Undo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Undo.swift @@ -168,9 +168,7 @@ extension Anytype_Rpc.Object.Undo: SwiftProtobuf.Message, SwiftProtobuf._Message extension Anytype_Rpc.Object.Undo.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Undo.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -200,13 +198,7 @@ extension Anytype_Rpc.Object.Undo.Request: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Object.Undo.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Undo.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - 3: .same(proto: "counters"), - 4: .same(proto: "blockId"), - 5: .same(proto: "range"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0\u{1}counters\0\u{1}blockId\0\u{1}range\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -260,10 +252,7 @@ extension Anytype_Rpc.Object.Undo.Response: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Object.Undo.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.Undo.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -297,12 +286,7 @@ extension Anytype_Rpc.Object.Undo.Response.Error: SwiftProtobuf.Message, SwiftPr } extension Anytype_Rpc.Object.Undo.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "CAN_NOT_MOVE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}CAN_NOT_MOVE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.UndoRedoCounter.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.UndoRedoCounter.swift index dd0e886c34..e542c075fa 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.UndoRedoCounter.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.UndoRedoCounter.swift @@ -29,10 +29,7 @@ extension Anytype_Rpc.Object { extension Anytype_Rpc.Object.UndoRedoCounter: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.protoMessageName + ".UndoRedoCounter" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "undo"), - 2: .same(proto: "redo"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}undo\0\u{1}redo\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.WorkspaceSetDashboard.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.WorkspaceSetDashboard.swift index e97b311456..cba117334e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.WorkspaceSetDashboard.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.WorkspaceSetDashboard.swift @@ -143,10 +143,7 @@ extension Anytype_Rpc.Object.WorkspaceSetDashboard: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Object.WorkspaceSetDashboard.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.WorkspaceSetDashboard.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "objectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}objectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -181,11 +178,7 @@ extension Anytype_Rpc.Object.WorkspaceSetDashboard.Request: SwiftProtobuf.Messag extension Anytype_Rpc.Object.WorkspaceSetDashboard.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.WorkspaceSetDashboard.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - 3: .same(proto: "objectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0\u{1}objectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,10 +222,7 @@ extension Anytype_Rpc.Object.WorkspaceSetDashboard.Response: SwiftProtobuf.Messa extension Anytype_Rpc.Object.WorkspaceSetDashboard.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Object.WorkspaceSetDashboard.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -266,11 +256,7 @@ extension Anytype_Rpc.Object.WorkspaceSetDashboard.Response.Error: SwiftProtobuf } extension Anytype_Rpc.Object.WorkspaceSetDashboard.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Add.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Add.swift index 78db95bade..261ebf6a0c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Add.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Add.swift @@ -143,11 +143,7 @@ extension Anytype_Rpc.ObjectCollection.Add: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.ObjectCollection.Add.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectCollection.Add.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "afterId"), - 3: .same(proto: "objectIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}afterId\0\u{1}objectIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -187,10 +183,7 @@ extension Anytype_Rpc.ObjectCollection.Add.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.ObjectCollection.Add.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectCollection.Add.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,10 +222,7 @@ extension Anytype_Rpc.ObjectCollection.Add.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.ObjectCollection.Add.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectCollection.Add.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -266,11 +256,7 @@ extension Anytype_Rpc.ObjectCollection.Add.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.ObjectCollection.Add.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Remove.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Remove.swift index 9c1d6aa834..eb89108b49 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Remove.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Remove.swift @@ -141,10 +141,7 @@ extension Anytype_Rpc.ObjectCollection.Remove: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.ObjectCollection.Remove.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectCollection.Remove.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "objectIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}objectIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -179,10 +176,7 @@ extension Anytype_Rpc.ObjectCollection.Remove.Request: SwiftProtobuf.Message, Sw extension Anytype_Rpc.ObjectCollection.Remove.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectCollection.Remove.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -221,10 +215,7 @@ extension Anytype_Rpc.ObjectCollection.Remove.Response: SwiftProtobuf.Message, S extension Anytype_Rpc.ObjectCollection.Remove.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectCollection.Remove.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -258,11 +249,7 @@ extension Anytype_Rpc.ObjectCollection.Remove.Response.Error: SwiftProtobuf.Mess } extension Anytype_Rpc.ObjectCollection.Remove.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Sort.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Sort.swift index b8c3c301a5..aa07b2757a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Sort.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Sort.swift @@ -141,10 +141,7 @@ extension Anytype_Rpc.ObjectCollection.Sort: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.ObjectCollection.Sort.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectCollection.Sort.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "objectIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}objectIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -179,10 +176,7 @@ extension Anytype_Rpc.ObjectCollection.Sort.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.ObjectCollection.Sort.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectCollection.Sort.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -221,10 +215,7 @@ extension Anytype_Rpc.ObjectCollection.Sort.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.ObjectCollection.Sort.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectCollection.Sort.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -258,11 +249,7 @@ extension Anytype_Rpc.ObjectCollection.Sort.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.ObjectCollection.Sort.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.Add.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.Add.swift index 2d615fdfba..635e8837a6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.Add.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.Add.swift @@ -141,10 +141,7 @@ extension Anytype_Rpc.ObjectRelation.Add: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.ObjectRelation.Add.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectRelation.Add.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "relationKeys"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}relationKeys\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -179,10 +176,7 @@ extension Anytype_Rpc.ObjectRelation.Add.Request: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.ObjectRelation.Add.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectRelation.Add.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -221,10 +215,7 @@ extension Anytype_Rpc.ObjectRelation.Add.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.ObjectRelation.Add.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectRelation.Add.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -258,11 +249,7 @@ extension Anytype_Rpc.ObjectRelation.Add.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.ObjectRelation.Add.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.AddFeatured.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.AddFeatured.swift index f19e660427..00a314bfbd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.AddFeatured.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.AddFeatured.swift @@ -143,10 +143,7 @@ extension Anytype_Rpc.ObjectRelation.AddFeatured: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.ObjectRelation.AddFeatured.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectRelation.AddFeatured.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "relations"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}relations\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -181,10 +178,7 @@ extension Anytype_Rpc.ObjectRelation.AddFeatured.Request: SwiftProtobuf.Message, extension Anytype_Rpc.ObjectRelation.AddFeatured.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectRelation.AddFeatured.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -223,10 +217,7 @@ extension Anytype_Rpc.ObjectRelation.AddFeatured.Response: SwiftProtobuf.Message extension Anytype_Rpc.ObjectRelation.AddFeatured.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectRelation.AddFeatured.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -260,11 +251,7 @@ extension Anytype_Rpc.ObjectRelation.AddFeatured.Response.Error: SwiftProtobuf.M } extension Anytype_Rpc.ObjectRelation.AddFeatured.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.Delete.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.Delete.swift index 315dbfe271..3ba8d32b94 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.Delete.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.Delete.swift @@ -141,10 +141,7 @@ extension Anytype_Rpc.ObjectRelation.Delete: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.ObjectRelation.Delete.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectRelation.Delete.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "relationKeys"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}relationKeys\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -179,10 +176,7 @@ extension Anytype_Rpc.ObjectRelation.Delete.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.ObjectRelation.Delete.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectRelation.Delete.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{2}\u{2}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -221,10 +215,7 @@ extension Anytype_Rpc.ObjectRelation.Delete.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.ObjectRelation.Delete.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectRelation.Delete.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -258,11 +249,7 @@ extension Anytype_Rpc.ObjectRelation.Delete.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.ObjectRelation.Delete.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.ListAvailable.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.ListAvailable.swift index 707beed546..6f7db654b8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.ListAvailable.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.ListAvailable.swift @@ -133,9 +133,7 @@ extension Anytype_Rpc.ObjectRelation.ListAvailable: SwiftProtobuf.Message, Swift extension Anytype_Rpc.ObjectRelation.ListAvailable.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectRelation.ListAvailable.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -165,10 +163,7 @@ extension Anytype_Rpc.ObjectRelation.ListAvailable.Request: SwiftProtobuf.Messag extension Anytype_Rpc.ObjectRelation.ListAvailable.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectRelation.ListAvailable.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "relations"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}relations\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -207,10 +202,7 @@ extension Anytype_Rpc.ObjectRelation.ListAvailable.Response: SwiftProtobuf.Messa extension Anytype_Rpc.ObjectRelation.ListAvailable.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectRelation.ListAvailable.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -244,11 +236,7 @@ extension Anytype_Rpc.ObjectRelation.ListAvailable.Response.Error: SwiftProtobuf } extension Anytype_Rpc.ObjectRelation.ListAvailable.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.RemoveFeatured.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.RemoveFeatured.swift index fbceb23435..d0273c63be 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.RemoveFeatured.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.RemoveFeatured.swift @@ -143,10 +143,7 @@ extension Anytype_Rpc.ObjectRelation.RemoveFeatured: SwiftProtobuf.Message, Swif extension Anytype_Rpc.ObjectRelation.RemoveFeatured.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectRelation.RemoveFeatured.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "relations"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}relations\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -181,10 +178,7 @@ extension Anytype_Rpc.ObjectRelation.RemoveFeatured.Request: SwiftProtobuf.Messa extension Anytype_Rpc.ObjectRelation.RemoveFeatured.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectRelation.RemoveFeatured.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -223,10 +217,7 @@ extension Anytype_Rpc.ObjectRelation.RemoveFeatured.Response: SwiftProtobuf.Mess extension Anytype_Rpc.ObjectRelation.RemoveFeatured.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectRelation.RemoveFeatured.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -260,11 +251,7 @@ extension Anytype_Rpc.ObjectRelation.RemoveFeatured.Response.Error: SwiftProtobu } extension Anytype_Rpc.ObjectRelation.RemoveFeatured.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.ListConflictingRelations.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.ListConflictingRelations.swift index 7ddbdfe261..8339b93db4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.ListConflictingRelations.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.ListConflictingRelations.swift @@ -137,10 +137,7 @@ extension Anytype_Rpc.ObjectType.ListConflictingRelations: SwiftProtobuf.Message extension Anytype_Rpc.ObjectType.ListConflictingRelations.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.ListConflictingRelations.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "typeObjectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}typeObjectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -175,10 +172,7 @@ extension Anytype_Rpc.ObjectType.ListConflictingRelations.Request: SwiftProtobuf extension Anytype_Rpc.ObjectType.ListConflictingRelations.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.ListConflictingRelations.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "relationIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}relationIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -217,10 +211,7 @@ extension Anytype_Rpc.ObjectType.ListConflictingRelations.Response: SwiftProtobu extension Anytype_Rpc.ObjectType.ListConflictingRelations.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.ListConflictingRelations.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -254,12 +245,7 @@ extension Anytype_Rpc.ObjectType.ListConflictingRelations.Response.Error: SwiftP } extension Anytype_Rpc.ObjectType.ListConflictingRelations.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "READONLY_OBJECT_TYPE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}READONLY_OBJECT_TYPE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.Recommended.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.Recommended.swift index 60998d4cd2..5207b72248 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.Recommended.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.Recommended.swift @@ -269,10 +269,7 @@ extension Anytype_Rpc.ObjectType.Recommended.RelationsSet: SwiftProtobuf.Message extension Anytype_Rpc.ObjectType.Recommended.RelationsSet.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.Recommended.RelationsSet.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "typeObjectId"), - 2: .same(proto: "relationObjectIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}typeObjectId\0\u{1}relationObjectIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -307,9 +304,7 @@ extension Anytype_Rpc.ObjectType.Recommended.RelationsSet.Request: SwiftProtobuf extension Anytype_Rpc.ObjectType.Recommended.RelationsSet.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.Recommended.RelationsSet.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -343,10 +338,7 @@ extension Anytype_Rpc.ObjectType.Recommended.RelationsSet.Response: SwiftProtobu extension Anytype_Rpc.ObjectType.Recommended.RelationsSet.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.Recommended.RelationsSet.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -380,12 +372,7 @@ extension Anytype_Rpc.ObjectType.Recommended.RelationsSet.Response.Error: SwiftP } extension Anytype_Rpc.ObjectType.Recommended.RelationsSet.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "READONLY_OBJECT_TYPE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}READONLY_OBJECT_TYPE\0") } extension Anytype_Rpc.ObjectType.Recommended.FeaturedRelationsSet: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -409,10 +396,7 @@ extension Anytype_Rpc.ObjectType.Recommended.FeaturedRelationsSet: SwiftProtobuf extension Anytype_Rpc.ObjectType.Recommended.FeaturedRelationsSet.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.Recommended.FeaturedRelationsSet.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "typeObjectId"), - 2: .same(proto: "relationObjectIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}typeObjectId\0\u{1}relationObjectIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -447,9 +431,7 @@ extension Anytype_Rpc.ObjectType.Recommended.FeaturedRelationsSet.Request: Swift extension Anytype_Rpc.ObjectType.Recommended.FeaturedRelationsSet.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.Recommended.FeaturedRelationsSet.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -483,10 +465,7 @@ extension Anytype_Rpc.ObjectType.Recommended.FeaturedRelationsSet.Response: Swif extension Anytype_Rpc.ObjectType.Recommended.FeaturedRelationsSet.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.Recommended.FeaturedRelationsSet.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -520,12 +499,7 @@ extension Anytype_Rpc.ObjectType.Recommended.FeaturedRelationsSet.Response.Error } extension Anytype_Rpc.ObjectType.Recommended.FeaturedRelationsSet.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "READONLY_OBJECT_TYPE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}READONLY_OBJECT_TYPE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.Relation.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.Relation.swift index 8f1efcdfa2..923c573d54 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.Relation.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.Relation.swift @@ -271,10 +271,7 @@ extension Anytype_Rpc.ObjectType.Relation.Add: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.ObjectType.Relation.Add.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.Relation.Add.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectTypeUrl"), - 2: .same(proto: "relationKeys"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectTypeUrl\0\u{1}relationKeys\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -309,10 +306,7 @@ extension Anytype_Rpc.ObjectType.Relation.Add.Request: SwiftProtobuf.Message, Sw extension Anytype_Rpc.ObjectType.Relation.Add.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.Relation.Add.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "relations"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}relations\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -351,10 +345,7 @@ extension Anytype_Rpc.ObjectType.Relation.Add.Response: SwiftProtobuf.Message, S extension Anytype_Rpc.ObjectType.Relation.Add.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.Relation.Add.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -388,12 +379,7 @@ extension Anytype_Rpc.ObjectType.Relation.Add.Response.Error: SwiftProtobuf.Mess } extension Anytype_Rpc.ObjectType.Relation.Add.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "READONLY_OBJECT_TYPE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}READONLY_OBJECT_TYPE\0") } extension Anytype_Rpc.ObjectType.Relation.Remove: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -417,10 +403,7 @@ extension Anytype_Rpc.ObjectType.Relation.Remove: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.ObjectType.Relation.Remove.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.Relation.Remove.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectTypeUrl"), - 2: .same(proto: "relationKeys"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectTypeUrl\0\u{1}relationKeys\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -455,9 +438,7 @@ extension Anytype_Rpc.ObjectType.Relation.Remove.Request: SwiftProtobuf.Message, extension Anytype_Rpc.ObjectType.Relation.Remove.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.Relation.Remove.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -491,10 +472,7 @@ extension Anytype_Rpc.ObjectType.Relation.Remove.Response: SwiftProtobuf.Message extension Anytype_Rpc.ObjectType.Relation.Remove.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.Relation.Remove.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -528,12 +506,7 @@ extension Anytype_Rpc.ObjectType.Relation.Remove.Response.Error: SwiftProtobuf.M } extension Anytype_Rpc.ObjectType.Relation.Remove.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "READONLY_OBJECT_TYPE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}READONLY_OBJECT_TYPE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.ResolveLayoutConflicts.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.ResolveLayoutConflicts.swift index 752fa84b77..0dc0dbca92 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.ResolveLayoutConflicts.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.ResolveLayoutConflicts.swift @@ -129,9 +129,7 @@ extension Anytype_Rpc.ObjectType.ResolveLayoutConflicts: SwiftProtobuf.Message, extension Anytype_Rpc.ObjectType.ResolveLayoutConflicts.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.ResolveLayoutConflicts.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "typeObjectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}typeObjectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -161,9 +159,7 @@ extension Anytype_Rpc.ObjectType.ResolveLayoutConflicts.Request: SwiftProtobuf.M extension Anytype_Rpc.ObjectType.ResolveLayoutConflicts.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.ResolveLayoutConflicts.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -197,10 +193,7 @@ extension Anytype_Rpc.ObjectType.ResolveLayoutConflicts.Response: SwiftProtobuf. extension Anytype_Rpc.ObjectType.ResolveLayoutConflicts.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.ResolveLayoutConflicts.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -234,11 +227,7 @@ extension Anytype_Rpc.ObjectType.ResolveLayoutConflicts.Response.Error: SwiftPro } extension Anytype_Rpc.ObjectType.ResolveLayoutConflicts.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.SetOrder.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.SetOrder.swift index 34ecda420b..f762b528a9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.SetOrder.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.SetOrder.swift @@ -134,10 +134,7 @@ extension Anytype_Rpc.ObjectType.SetOrder: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.ObjectType.SetOrder.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.SetOrder.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "typeIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}typeIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -172,10 +169,7 @@ extension Anytype_Rpc.ObjectType.SetOrder.Request: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.ObjectType.SetOrder.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.SetOrder.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "orderIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}orderIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -214,10 +208,7 @@ extension Anytype_Rpc.ObjectType.SetOrder.Response: SwiftProtobuf.Message, Swift extension Anytype_Rpc.ObjectType.SetOrder.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.ObjectType.SetOrder.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -251,11 +242,7 @@ extension Anytype_Rpc.ObjectType.SetOrder.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.ObjectType.SetOrder.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Cancel.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Cancel.swift index e674f564a7..a0c82c3cb8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Cancel.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Cancel.swift @@ -129,9 +129,7 @@ extension Anytype_Rpc.Process.Cancel: SwiftProtobuf.Message, SwiftProtobuf._Mess extension Anytype_Rpc.Process.Cancel.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Process.Cancel.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -161,9 +159,7 @@ extension Anytype_Rpc.Process.Cancel.Request: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Process.Cancel.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Process.Cancel.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -197,10 +193,7 @@ extension Anytype_Rpc.Process.Cancel.Response: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Process.Cancel.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Process.Cancel.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -234,11 +227,7 @@ extension Anytype_Rpc.Process.Cancel.Response.Error: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.Process.Cancel.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Subscribe.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Subscribe.swift index f6a1f1901a..331f8c330f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Subscribe.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Subscribe.swift @@ -146,9 +146,7 @@ extension Anytype_Rpc.Process.Subscribe.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Process.Subscribe.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Process.Subscribe.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -182,10 +180,7 @@ extension Anytype_Rpc.Process.Subscribe.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Process.Subscribe.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Process.Subscribe.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -219,11 +214,7 @@ extension Anytype_Rpc.Process.Subscribe.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.Process.Subscribe.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Unsubscribe.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Unsubscribe.swift index f889936186..2682b2de50 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Unsubscribe.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Unsubscribe.swift @@ -146,9 +146,7 @@ extension Anytype_Rpc.Process.Unsubscribe.Request: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Process.Unsubscribe.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Process.Unsubscribe.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -182,10 +180,7 @@ extension Anytype_Rpc.Process.Unsubscribe.Response: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Process.Unsubscribe.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Process.Unsubscribe.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -219,11 +214,7 @@ extension Anytype_Rpc.Process.Unsubscribe.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Process.Unsubscribe.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.Create.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.Create.swift index 41556b9415..64698ebd12 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.Create.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.Create.swift @@ -153,12 +153,7 @@ extension Anytype_Rpc.Publishing.Create: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.Publishing.Create.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Publishing.Create.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "objectId"), - 3: .same(proto: "uri"), - 4: .same(proto: "joinSpace"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}objectId\0\u{1}uri\0\u{1}joinSpace\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -203,10 +198,7 @@ extension Anytype_Rpc.Publishing.Create.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Publishing.Create.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Publishing.Create.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "uri"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}uri\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -245,10 +237,7 @@ extension Anytype_Rpc.Publishing.Create.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Publishing.Create.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Publishing.Create.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -282,15 +271,7 @@ extension Anytype_Rpc.Publishing.Create.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.Publishing.Create.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "NO_SUCH_OBJECT"), - 102: .same(proto: "NO_SUCH_SPACE"), - 103: .same(proto: "LIMIT_EXCEEDED"), - 409: .same(proto: "URL_ALREADY_TAKEN"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}NO_SUCH_OBJECT\0\u{1}NO_SUCH_SPACE\0\u{1}LIMIT_EXCEEDED\0\u{2}r\u{4}URL_ALREADY_TAKEN\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.GetStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.GetStatus.swift index e9dbfce0ed..4a1898b1f4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.GetStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.GetStatus.swift @@ -149,10 +149,7 @@ extension Anytype_Rpc.Publishing.GetStatus: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Publishing.GetStatus.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Publishing.GetStatus.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "objectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}objectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -187,10 +184,7 @@ extension Anytype_Rpc.Publishing.GetStatus.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Publishing.GetStatus.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Publishing.GetStatus.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "publish"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}publish\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,10 +223,7 @@ extension Anytype_Rpc.Publishing.GetStatus.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Publishing.GetStatus.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Publishing.GetStatus.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -266,13 +257,7 @@ extension Anytype_Rpc.Publishing.GetStatus.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.Publishing.GetStatus.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "NO_SUCH_OBJECT"), - 102: .same(proto: "NO_SUCH_SPACE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}NO_SUCH_OBJECT\0\u{1}NO_SUCH_SPACE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.List.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.List.swift index 65367bdc1e..756be33005 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.List.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.List.swift @@ -135,9 +135,7 @@ extension Anytype_Rpc.Publishing.List: SwiftProtobuf.Message, SwiftProtobuf._Mes extension Anytype_Rpc.Publishing.List.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Publishing.List.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -167,10 +165,7 @@ extension Anytype_Rpc.Publishing.List.Request: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Publishing.List.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Publishing.List.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "publishes"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}publishes\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -209,10 +204,7 @@ extension Anytype_Rpc.Publishing.List.Response: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Publishing.List.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Publishing.List.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -246,12 +238,7 @@ extension Anytype_Rpc.Publishing.List.Response.Error: SwiftProtobuf.Message, Swi } extension Anytype_Rpc.Publishing.List.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 102: .same(proto: "NO_SUCH_SPACE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}d\u{1}NO_SUCH_SPACE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.PublishState.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.PublishState.swift index a4645bdd02..d534fce257 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.PublishState.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.PublishState.swift @@ -52,17 +52,7 @@ extension Anytype_Rpc.Publishing { extension Anytype_Rpc.Publishing.PublishState: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Publishing.protoMessageName + ".PublishState" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "objectId"), - 3: .same(proto: "uri"), - 4: .same(proto: "status"), - 5: .same(proto: "version"), - 6: .same(proto: "timestamp"), - 7: .same(proto: "size"), - 8: .same(proto: "joinSpace"), - 9: .same(proto: "details"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}objectId\0\u{1}uri\0\u{1}status\0\u{1}version\0\u{1}timestamp\0\u{1}size\0\u{1}joinSpace\0\u{1}details\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.PublishStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.PublishStatus.swift index 981ef96379..30dab29d65 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.PublishStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.PublishStatus.swift @@ -52,10 +52,7 @@ extension Anytype_Rpc.Publishing { }} extension Anytype_Rpc.Publishing.PublishStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PublishStatusCreated"), - 1: .same(proto: "PublishStatusPublished"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0PublishStatusCreated\0\u{1}PublishStatusPublished\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.Remove.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.Remove.swift index 089e570dea..d7490fcf2e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.Remove.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.Remove.swift @@ -139,10 +139,7 @@ extension Anytype_Rpc.Publishing.Remove: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.Publishing.Remove.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Publishing.Remove.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "objectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}objectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -177,9 +174,7 @@ extension Anytype_Rpc.Publishing.Remove.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Publishing.Remove.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Publishing.Remove.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -213,10 +208,7 @@ extension Anytype_Rpc.Publishing.Remove.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Publishing.Remove.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Publishing.Remove.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -250,13 +242,7 @@ extension Anytype_Rpc.Publishing.Remove.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.Publishing.Remove.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "NO_SUCH_OBJECT"), - 102: .same(proto: "NO_SUCH_SPACE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}NO_SUCH_OBJECT\0\u{1}NO_SUCH_SPACE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.ResolveUri.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.ResolveUri.swift index a175b4d3b0..c09dbcc5f2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.ResolveUri.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.ResolveUri.swift @@ -143,9 +143,7 @@ extension Anytype_Rpc.Publishing.ResolveUri: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Publishing.ResolveUri.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Publishing.ResolveUri.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "uri"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}uri\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -175,10 +173,7 @@ extension Anytype_Rpc.Publishing.ResolveUri.Request: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Publishing.ResolveUri.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Publishing.ResolveUri.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "publish"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}publish\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -217,10 +212,7 @@ extension Anytype_Rpc.Publishing.ResolveUri.Response: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Publishing.ResolveUri.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Publishing.ResolveUri.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -254,12 +246,7 @@ extension Anytype_Rpc.Publishing.ResolveUri.Response.Error: SwiftProtobuf.Messag } extension Anytype_Rpc.Publishing.ResolveUri.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "NO_SUCH_URI"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}NO_SUCH_URI\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMentionIds.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMentionIds.swift new file mode 100644 index 0000000000..2a12af5930 --- /dev/null +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMentionIds.swift @@ -0,0 +1,267 @@ +// DO NOT EDIT. +// swift-format-ignore-file +// swiftlint:disable all +// +// Generated by the Swift generator plugin for the protocol buffer compiler. +// Source: pb/protos/commands.proto +// +// For information on using the generated types, please see the documentation: +// https://github.com/apple/swift-protobuf/ + +import Foundation +import SwiftProtobuf + +extension Anytype_Rpc.PushNotification { + public struct AddMentionIds: Sendable { + // SwiftProtobuf.Message conformance is added in an extension below. See the + // `Message` and `Message+*Additions` files in the SwiftProtobuf library for + // methods supported on all messages. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct Request: Sendable { + // SwiftProtobuf.Message conformance is added in an extension below. See the + // `Message` and `Message+*Additions` files in the SwiftProtobuf library for + // methods supported on all messages. + + public var spaceID: String = String() + + public var chatIds: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct Response: Sendable { + // SwiftProtobuf.Message conformance is added in an extension below. See the + // `Message` and `Message+*Additions` files in the SwiftProtobuf library for + // methods supported on all messages. + + public var error: Anytype_Rpc.PushNotification.AddMentionIds.Response.Error { + get {return _error ?? Anytype_Rpc.PushNotification.AddMentionIds.Response.Error()} + set {_error = newValue} + } + /// Returns true if `error` has been explicitly set. + public var hasError: Bool {return self._error != nil} + /// Clears the value of `error`. Subsequent reads from it will return its default value. + public mutating func clearError() {self._error = nil} + + public var event: Anytype_ResponseEvent { + get {return _event ?? Anytype_ResponseEvent()} + set {_event = newValue} + } + /// Returns true if `event` has been explicitly set. + public var hasEvent: Bool {return self._event != nil} + /// Clears the value of `event`. Subsequent reads from it will return its default value. + public mutating func clearEvent() {self._event = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct Error: Sendable { + // SwiftProtobuf.Message conformance is added in an extension below. See the + // `Message` and `Message+*Additions` files in the SwiftProtobuf library for + // methods supported on all messages. + + public var code: Anytype_Rpc.PushNotification.AddMentionIds.Response.Error.Code = .null + + public var description_p: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Code: SwiftProtobuf.Enum, Swift.CaseIterable { + public typealias RawValue = Int + case null // = 0 + case unknownError // = 1 + case badInput // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .null + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .null + case 1: self = .unknownError + case 2: self = .badInput + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .null: return 0 + case .unknownError: return 1 + case .badInput: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static let allCases: [Anytype_Rpc.PushNotification.AddMentionIds.Response.Error.Code] = [ + .null, + .unknownError, + .badInput, + ] + + } + + public init() {} + } + + public init() {} + + fileprivate var _error: Anytype_Rpc.PushNotification.AddMentionIds.Response.Error? = nil + fileprivate var _event: Anytype_ResponseEvent? = nil + } + + public init() {} + } +} + +extension Anytype_Rpc.PushNotification.AddMentionIds: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.protoMessageName + ".AddMentionIds" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + // Load everything into unknown fields + while try decoder.nextFieldNumber() != nil {} + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Anytype_Rpc.PushNotification.AddMentionIds, rhs: Anytype_Rpc.PushNotification.AddMentionIds) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension Anytype_Rpc.PushNotification.AddMentionIds.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.AddMentionIds.protoMessageName + ".Request" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}chatIds\0") + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.spaceID) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.chatIds) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.spaceID.isEmpty { + try visitor.visitSingularStringField(value: self.spaceID, fieldNumber: 1) + } + if !self.chatIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.chatIds, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Anytype_Rpc.PushNotification.AddMentionIds.Request, rhs: Anytype_Rpc.PushNotification.AddMentionIds.Request) -> Bool { + if lhs.spaceID != rhs.spaceID {return false} + if lhs.chatIds != rhs.chatIds {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension Anytype_Rpc.PushNotification.AddMentionIds.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.AddMentionIds.protoMessageName + ".Response" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._error) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._event) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._error { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = self._event { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Anytype_Rpc.PushNotification.AddMentionIds.Response, rhs: Anytype_Rpc.PushNotification.AddMentionIds.Response) -> Bool { + if lhs._error != rhs._error {return false} + if lhs._event != rhs._event {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension Anytype_Rpc.PushNotification.AddMentionIds.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.AddMentionIds.Response.protoMessageName + ".Error" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.code) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.description_p) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.code != .null { + try visitor.visitSingularEnumField(value: self.code, fieldNumber: 1) + } + if !self.description_p.isEmpty { + try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Anytype_Rpc.PushNotification.AddMentionIds.Response.Error, rhs: Anytype_Rpc.PushNotification.AddMentionIds.Response.Error) -> Bool { + if lhs.code != rhs.code {return false} + if lhs.description_p != rhs.description_p {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension Anytype_Rpc.PushNotification.AddMentionIds.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") +} + +// If the compiler emits an error on this type, it is because this file +// was generated by a version of the `protoc` Swift plug-in that is +// incompatible with the version of SwiftProtobuf to which you are linking. +// Please ensure that you are building against the same version of the API +// that was used to generate this file. +fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck { + struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {} + typealias Version = _2 +} + +// MARK: - Code below here is support for the SwiftProtobuf runtime. + +fileprivate let _protobuf_package = "anytype" diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMuteIds.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMuteIds.swift new file mode 100644 index 0000000000..e86795d74c --- /dev/null +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMuteIds.swift @@ -0,0 +1,267 @@ +// DO NOT EDIT. +// swift-format-ignore-file +// swiftlint:disable all +// +// Generated by the Swift generator plugin for the protocol buffer compiler. +// Source: pb/protos/commands.proto +// +// For information on using the generated types, please see the documentation: +// https://github.com/apple/swift-protobuf/ + +import Foundation +import SwiftProtobuf + +extension Anytype_Rpc.PushNotification { + public struct AddMuteIds: Sendable { + // SwiftProtobuf.Message conformance is added in an extension below. See the + // `Message` and `Message+*Additions` files in the SwiftProtobuf library for + // methods supported on all messages. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct Request: Sendable { + // SwiftProtobuf.Message conformance is added in an extension below. See the + // `Message` and `Message+*Additions` files in the SwiftProtobuf library for + // methods supported on all messages. + + public var spaceID: String = String() + + public var chatIds: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct Response: Sendable { + // SwiftProtobuf.Message conformance is added in an extension below. See the + // `Message` and `Message+*Additions` files in the SwiftProtobuf library for + // methods supported on all messages. + + public var error: Anytype_Rpc.PushNotification.AddMuteIds.Response.Error { + get {return _error ?? Anytype_Rpc.PushNotification.AddMuteIds.Response.Error()} + set {_error = newValue} + } + /// Returns true if `error` has been explicitly set. + public var hasError: Bool {return self._error != nil} + /// Clears the value of `error`. Subsequent reads from it will return its default value. + public mutating func clearError() {self._error = nil} + + public var event: Anytype_ResponseEvent { + get {return _event ?? Anytype_ResponseEvent()} + set {_event = newValue} + } + /// Returns true if `event` has been explicitly set. + public var hasEvent: Bool {return self._event != nil} + /// Clears the value of `event`. Subsequent reads from it will return its default value. + public mutating func clearEvent() {self._event = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct Error: Sendable { + // SwiftProtobuf.Message conformance is added in an extension below. See the + // `Message` and `Message+*Additions` files in the SwiftProtobuf library for + // methods supported on all messages. + + public var code: Anytype_Rpc.PushNotification.AddMuteIds.Response.Error.Code = .null + + public var description_p: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Code: SwiftProtobuf.Enum, Swift.CaseIterable { + public typealias RawValue = Int + case null // = 0 + case unknownError // = 1 + case badInput // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .null + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .null + case 1: self = .unknownError + case 2: self = .badInput + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .null: return 0 + case .unknownError: return 1 + case .badInput: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static let allCases: [Anytype_Rpc.PushNotification.AddMuteIds.Response.Error.Code] = [ + .null, + .unknownError, + .badInput, + ] + + } + + public init() {} + } + + public init() {} + + fileprivate var _error: Anytype_Rpc.PushNotification.AddMuteIds.Response.Error? = nil + fileprivate var _event: Anytype_ResponseEvent? = nil + } + + public init() {} + } +} + +extension Anytype_Rpc.PushNotification.AddMuteIds: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.protoMessageName + ".AddMuteIds" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + // Load everything into unknown fields + while try decoder.nextFieldNumber() != nil {} + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Anytype_Rpc.PushNotification.AddMuteIds, rhs: Anytype_Rpc.PushNotification.AddMuteIds) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension Anytype_Rpc.PushNotification.AddMuteIds.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.AddMuteIds.protoMessageName + ".Request" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}chatIds\0") + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.spaceID) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.chatIds) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.spaceID.isEmpty { + try visitor.visitSingularStringField(value: self.spaceID, fieldNumber: 1) + } + if !self.chatIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.chatIds, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Anytype_Rpc.PushNotification.AddMuteIds.Request, rhs: Anytype_Rpc.PushNotification.AddMuteIds.Request) -> Bool { + if lhs.spaceID != rhs.spaceID {return false} + if lhs.chatIds != rhs.chatIds {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension Anytype_Rpc.PushNotification.AddMuteIds.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.AddMuteIds.protoMessageName + ".Response" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._error) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._event) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._error { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = self._event { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Anytype_Rpc.PushNotification.AddMuteIds.Response, rhs: Anytype_Rpc.PushNotification.AddMuteIds.Response) -> Bool { + if lhs._error != rhs._error {return false} + if lhs._event != rhs._event {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension Anytype_Rpc.PushNotification.AddMuteIds.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.AddMuteIds.Response.protoMessageName + ".Error" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.code) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.description_p) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.code != .null { + try visitor.visitSingularEnumField(value: self.code, fieldNumber: 1) + } + if !self.description_p.isEmpty { + try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Anytype_Rpc.PushNotification.AddMuteIds.Response.Error, rhs: Anytype_Rpc.PushNotification.AddMuteIds.Response.Error) -> Bool { + if lhs.code != rhs.code {return false} + if lhs.description_p != rhs.description_p {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension Anytype_Rpc.PushNotification.AddMuteIds.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") +} + +// If the compiler emits an error on this type, it is because this file +// was generated by a version of the `protoc` Swift plug-in that is +// incompatible with the version of SwiftProtobuf to which you are linking. +// Please ensure that you are building against the same version of the API +// that was used to generate this file. +fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck { + struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {} + typealias Version = _2 +} + +// MARK: - Code below here is support for the SwiftProtobuf runtime. + +fileprivate let _protobuf_package = "anytype" diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.RegisterToken.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.RegisterToken.swift index 4dd1fcafd3..8fa287694e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.RegisterToken.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.RegisterToken.swift @@ -164,18 +164,12 @@ extension Anytype_Rpc.PushNotification.RegisterToken: SwiftProtobuf.Message, Swi } extension Anytype_Rpc.PushNotification.RegisterToken.Platform: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "IOS"), - 1: .same(proto: "Android"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0IOS\0\u{1}Android\0") } extension Anytype_Rpc.PushNotification.RegisterToken.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.PushNotification.RegisterToken.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "token"), - 2: .same(proto: "platform"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}token\0\u{1}platform\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -210,9 +204,7 @@ extension Anytype_Rpc.PushNotification.RegisterToken.Request: SwiftProtobuf.Mess extension Anytype_Rpc.PushNotification.RegisterToken.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.PushNotification.RegisterToken.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -246,10 +238,7 @@ extension Anytype_Rpc.PushNotification.RegisterToken.Response: SwiftProtobuf.Mes extension Anytype_Rpc.PushNotification.RegisterToken.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.PushNotification.RegisterToken.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -283,11 +272,7 @@ extension Anytype_Rpc.PushNotification.RegisterToken.Response.Error: SwiftProtob } extension Anytype_Rpc.PushNotification.RegisterToken.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.SetSpaceMode.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.SetSpaceMode.swift index 913d6c421f..bf142ee2f8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.SetSpaceMode.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.SetSpaceMode.swift @@ -24,6 +24,7 @@ extension Anytype_Rpc.PushNotification { case all // = 0 case mentions // = 1 case nothing // = 2 + case custom // = 3 case UNRECOGNIZED(Int) public init() { @@ -35,6 +36,7 @@ extension Anytype_Rpc.PushNotification { case 0: self = .all case 1: self = .mentions case 2: self = .nothing + case 3: self = .custom default: self = .UNRECOGNIZED(rawValue) } } @@ -44,6 +46,7 @@ extension Anytype_Rpc.PushNotification { case .all: return 0 case .mentions: return 1 case .nothing: return 2 + case .custom: return 3 case .UNRECOGNIZED(let i): return i } } @@ -53,6 +56,7 @@ extension Anytype_Rpc.PushNotification { .all, .mentions, .nothing, + .custom, ] } @@ -85,6 +89,15 @@ extension Anytype_Rpc.PushNotification { /// Clears the value of `error`. Subsequent reads from it will return its default value. public mutating func clearError() {self._error = nil} + public var event: Anytype_ResponseEvent { + get {return _event ?? Anytype_ResponseEvent()} + set {_event = newValue} + } + /// Returns true if `event` has been explicitly set. + public var hasEvent: Bool {return self._event != nil} + /// Clears the value of `event`. Subsequent reads from it will return its default value. + public mutating func clearEvent() {self._event = nil} + public var unknownFields = SwiftProtobuf.UnknownStorage() public struct Error: Sendable { @@ -142,6 +155,7 @@ extension Anytype_Rpc.PushNotification { public init() {} fileprivate var _error: Anytype_Rpc.PushNotification.SetSpaceMode.Response.Error? = nil + fileprivate var _event: Anytype_ResponseEvent? = nil } public init() {} @@ -168,19 +182,12 @@ extension Anytype_Rpc.PushNotification.SetSpaceMode: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.PushNotification.SetSpaceMode.Mode: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "All"), - 1: .same(proto: "Mentions"), - 2: .same(proto: "Nothing"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0All\0\u{1}Mentions\0\u{1}Nothing\0\u{1}Custom\0") } extension Anytype_Rpc.PushNotification.SetSpaceMode.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.PushNotification.SetSpaceMode.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "mode"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}mode\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -215,9 +222,7 @@ extension Anytype_Rpc.PushNotification.SetSpaceMode.Request: SwiftProtobuf.Messa extension Anytype_Rpc.PushNotification.SetSpaceMode.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.PushNotification.SetSpaceMode.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -226,6 +231,7 @@ extension Anytype_Rpc.PushNotification.SetSpaceMode.Response: SwiftProtobuf.Mess // enabled. https://github.com/apple/swift-protobuf/issues/1034 switch fieldNumber { case 1: try { try decoder.decodeSingularMessageField(value: &self._error) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._event) }() default: break } } @@ -239,11 +245,15 @@ extension Anytype_Rpc.PushNotification.SetSpaceMode.Response: SwiftProtobuf.Mess try { if let v = self._error { try visitor.visitSingularMessageField(value: v, fieldNumber: 1) } }() + try { if let v = self._event { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: Anytype_Rpc.PushNotification.SetSpaceMode.Response, rhs: Anytype_Rpc.PushNotification.SetSpaceMode.Response) -> Bool { if lhs._error != rhs._error {return false} + if lhs._event != rhs._event {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } @@ -251,10 +261,7 @@ extension Anytype_Rpc.PushNotification.SetSpaceMode.Response: SwiftProtobuf.Mess extension Anytype_Rpc.PushNotification.SetSpaceMode.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.PushNotification.SetSpaceMode.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -288,11 +295,7 @@ extension Anytype_Rpc.PushNotification.SetSpaceMode.Response.Error: SwiftProtobu } extension Anytype_Rpc.PushNotification.SetSpaceMode.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.ListRemoveOption.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.ListRemoveOption.swift index c31d09fead..01e299bec7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.ListRemoveOption.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.ListRemoveOption.swift @@ -135,10 +135,7 @@ extension Anytype_Rpc.Relation.ListRemoveOption: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Relation.ListRemoveOption.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Relation.ListRemoveOption.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "optionIds"), - 2: .same(proto: "checkInObjects"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}optionIds\0\u{1}checkInObjects\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -173,9 +170,7 @@ extension Anytype_Rpc.Relation.ListRemoveOption.Request: SwiftProtobuf.Message, extension Anytype_Rpc.Relation.ListRemoveOption.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Relation.ListRemoveOption.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -209,10 +204,7 @@ extension Anytype_Rpc.Relation.ListRemoveOption.Response: SwiftProtobuf.Message, extension Anytype_Rpc.Relation.ListRemoveOption.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Relation.ListRemoveOption.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -246,12 +238,7 @@ extension Anytype_Rpc.Relation.ListRemoveOption.Response.Error: SwiftProtobuf.Me } extension Anytype_Rpc.Relation.ListRemoveOption.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "OPTION_USED_BY_OBJECTS"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}OPTION_USED_BY_OBJECTS\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.ListWithValue.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.ListWithValue.swift index df5837635e..2f00389efd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.ListWithValue.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.ListWithValue.swift @@ -156,10 +156,7 @@ extension Anytype_Rpc.Relation.ListWithValue: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Relation.ListWithValue.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Relation.ListWithValue.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -198,10 +195,7 @@ extension Anytype_Rpc.Relation.ListWithValue.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Relation.ListWithValue.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Relation.ListWithValue.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "list"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}list\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -240,10 +234,7 @@ extension Anytype_Rpc.Relation.ListWithValue.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Relation.ListWithValue.Response.ResponseItem: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Relation.ListWithValue.Response.protoMessageName + ".ResponseItem" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "relationKey"), - 2: .same(proto: "counter"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}relationKey\0\u{1}counter\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -278,10 +269,7 @@ extension Anytype_Rpc.Relation.ListWithValue.Response.ResponseItem: SwiftProtobu extension Anytype_Rpc.Relation.ListWithValue.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Relation.ListWithValue.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -315,11 +303,7 @@ extension Anytype_Rpc.Relation.ListWithValue.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.Relation.ListWithValue.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.Option.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.Option.swift index 7e4c56b545..733a3c76e2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.Option.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.Option.swift @@ -166,11 +166,7 @@ extension Anytype_Rpc.Relation.Option.SetOrder: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Relation.Option.SetOrder.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Relation.Option.SetOrder.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "relationKey"), - 3: .same(proto: "relationOptionOrder"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}relationKey\0\u{1}relationOptionOrder\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -210,10 +206,7 @@ extension Anytype_Rpc.Relation.Option.SetOrder.Request: SwiftProtobuf.Message, S extension Anytype_Rpc.Relation.Option.SetOrder.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Relation.Option.SetOrder.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "relationOptionOrder"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}relationOptionOrder\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -252,10 +245,7 @@ extension Anytype_Rpc.Relation.Option.SetOrder.Response: SwiftProtobuf.Message, extension Anytype_Rpc.Relation.Option.SetOrder.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Relation.Option.SetOrder.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -289,11 +279,7 @@ extension Anytype_Rpc.Relation.Option.SetOrder.Response.Error: SwiftProtobuf.Mes } extension Anytype_Rpc.Relation.Option.SetOrder.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.Options.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.Options.swift index 9aeb158196..206e62c4e9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.Options.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.Options.swift @@ -139,9 +139,7 @@ extension Anytype_Rpc.Relation.Options: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Rpc.Relation.Options.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Relation.Options.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "relationKey"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}relationKey\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -171,10 +169,7 @@ extension Anytype_Rpc.Relation.Options.Request: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Relation.Options.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Relation.Options.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "options"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}options\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -213,10 +208,7 @@ extension Anytype_Rpc.Relation.Options.Response: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Relation.Options.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Relation.Options.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -250,11 +242,7 @@ extension Anytype_Rpc.Relation.Options.Response.Error: SwiftProtobuf.Message, Sw } extension Anytype_Rpc.Relation.Options.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.Delete.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.Delete.swift index 2c024a7e6b..3eaee36fd6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.Delete.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.Delete.swift @@ -151,9 +151,7 @@ extension Anytype_Rpc.Space.Delete: SwiftProtobuf.Message, SwiftProtobuf._Messag extension Anytype_Rpc.Space.Delete.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.Delete.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -183,10 +181,7 @@ extension Anytype_Rpc.Space.Delete.Request: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Space.Delete.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.Delete.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "timestamp"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}timestamp\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -225,10 +220,7 @@ extension Anytype_Rpc.Space.Delete.Response: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Space.Delete.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.Delete.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -262,16 +254,7 @@ extension Anytype_Rpc.Space.Delete.Response.Error: SwiftProtobuf.Message, SwiftP } extension Anytype_Rpc.Space.Delete.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "NO_SUCH_SPACE"), - 102: .same(proto: "SPACE_IS_DELETED"), - 103: .same(proto: "REQUEST_FAILED"), - 104: .same(proto: "LIMIT_REACHED"), - 105: .same(proto: "NOT_SHAREABLE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}NO_SUCH_SPACE\0\u{1}SPACE_IS_DELETED\0\u{1}REQUEST_FAILED\0\u{1}LIMIT_REACHED\0\u{1}NOT_SHAREABLE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteChange.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteChange.swift index 4f5c384b55..ec7cad1600 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteChange.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteChange.swift @@ -147,10 +147,7 @@ extension Anytype_Rpc.Space.InviteChange: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.Space.InviteChange.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteChange.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "permissions"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}permissions\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -185,9 +182,7 @@ extension Anytype_Rpc.Space.InviteChange.Request: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Space.InviteChange.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteChange.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -221,10 +216,7 @@ extension Anytype_Rpc.Space.InviteChange.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Space.InviteChange.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteChange.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -258,15 +250,7 @@ extension Anytype_Rpc.Space.InviteChange.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Space.InviteChange.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "NO_SUCH_SPACE"), - 102: .same(proto: "SPACE_IS_DELETED"), - 103: .same(proto: "REQUEST_FAILED"), - 105: .same(proto: "INCORRECT_PERMISSIONS"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}NO_SUCH_SPACE\0\u{1}SPACE_IS_DELETED\0\u{1}REQUEST_FAILED\0\u{2}\u{2}INCORRECT_PERMISSIONS\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGenerate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGenerate.swift index 835004ae74..f754f78a8a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGenerate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGenerate.swift @@ -161,11 +161,7 @@ extension Anytype_Rpc.Space.InviteGenerate: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Space.InviteGenerate.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteGenerate.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "inviteType"), - 3: .same(proto: "permissions"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}inviteType\0\u{1}permissions\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -205,13 +201,7 @@ extension Anytype_Rpc.Space.InviteGenerate.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Space.InviteGenerate.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteGenerate.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "inviteCid"), - 3: .same(proto: "inviteFileKey"), - 4: .same(proto: "inviteType"), - 5: .same(proto: "permissions"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}inviteCid\0\u{1}inviteFileKey\0\u{1}inviteType\0\u{1}permissions\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -265,10 +255,7 @@ extension Anytype_Rpc.Space.InviteGenerate.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Space.InviteGenerate.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteGenerate.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -302,16 +289,7 @@ extension Anytype_Rpc.Space.InviteGenerate.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.Space.InviteGenerate.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "NO_SUCH_SPACE"), - 102: .same(proto: "SPACE_IS_DELETED"), - 103: .same(proto: "REQUEST_FAILED"), - 104: .same(proto: "LIMIT_REACHED"), - 105: .same(proto: "NOT_SHAREABLE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}NO_SUCH_SPACE\0\u{1}SPACE_IS_DELETED\0\u{1}REQUEST_FAILED\0\u{1}LIMIT_REACHED\0\u{1}NOT_SHAREABLE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGetCurrent.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGetCurrent.swift index 9a76e49a11..2a60a559b5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGetCurrent.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGetCurrent.swift @@ -141,9 +141,7 @@ extension Anytype_Rpc.Space.InviteGetCurrent: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Space.InviteGetCurrent.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteGetCurrent.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -173,13 +171,7 @@ extension Anytype_Rpc.Space.InviteGetCurrent.Request: SwiftProtobuf.Message, Swi extension Anytype_Rpc.Space.InviteGetCurrent.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteGetCurrent.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "inviteCid"), - 3: .same(proto: "inviteFileKey"), - 4: .same(proto: "inviteType"), - 5: .same(proto: "permissions"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}inviteCid\0\u{1}inviteFileKey\0\u{1}inviteType\0\u{1}permissions\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -233,10 +225,7 @@ extension Anytype_Rpc.Space.InviteGetCurrent.Response: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Space.InviteGetCurrent.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteGetCurrent.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -270,12 +259,7 @@ extension Anytype_Rpc.Space.InviteGetCurrent.Response.Error: SwiftProtobuf.Messa } extension Anytype_Rpc.Space.InviteGetCurrent.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "NO_ACTIVE_INVITE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}NO_ACTIVE_INVITE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGetGuest.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGetGuest.swift index 5632b40ee5..9279a6acea 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGetGuest.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGetGuest.swift @@ -137,9 +137,7 @@ extension Anytype_Rpc.Space.InviteGetGuest: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Space.InviteGetGuest.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteGetGuest.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -169,11 +167,7 @@ extension Anytype_Rpc.Space.InviteGetGuest.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Space.InviteGetGuest.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteGetGuest.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "inviteCid"), - 3: .same(proto: "inviteFileKey"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}inviteCid\0\u{1}inviteFileKey\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -217,10 +211,7 @@ extension Anytype_Rpc.Space.InviteGetGuest.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Space.InviteGetGuest.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteGetGuest.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -254,12 +245,7 @@ extension Anytype_Rpc.Space.InviteGetGuest.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.Space.InviteGetGuest.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "INVALID_SPACE_TYPE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}INVALID_SPACE_TYPE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteRevoke.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteRevoke.swift index 0674079324..ff3956c386 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteRevoke.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteRevoke.swift @@ -149,9 +149,7 @@ extension Anytype_Rpc.Space.InviteRevoke: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.Space.InviteRevoke.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteRevoke.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -181,9 +179,7 @@ extension Anytype_Rpc.Space.InviteRevoke.Request: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Space.InviteRevoke.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteRevoke.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -217,10 +213,7 @@ extension Anytype_Rpc.Space.InviteRevoke.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Space.InviteRevoke.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteRevoke.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -254,16 +247,7 @@ extension Anytype_Rpc.Space.InviteRevoke.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Space.InviteRevoke.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "NO_SUCH_SPACE"), - 102: .same(proto: "SPACE_IS_DELETED"), - 103: .same(proto: "LIMIT_REACHED"), - 104: .same(proto: "REQUEST_FAILED"), - 105: .same(proto: "NOT_SHAREABLE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}NO_SUCH_SPACE\0\u{1}SPACE_IS_DELETED\0\u{1}LIMIT_REACHED\0\u{1}REQUEST_FAILED\0\u{1}NOT_SHAREABLE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteView.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteView.swift index 6797462acd..23184f85ba 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteView.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteView.swift @@ -156,10 +156,7 @@ extension Anytype_Rpc.Space.InviteView: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Rpc.Space.InviteView.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteView.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "inviteCid"), - 2: .same(proto: "inviteFileKey"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}inviteCid\0\u{1}inviteFileKey\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -194,15 +191,7 @@ extension Anytype_Rpc.Space.InviteView.Request: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Space.InviteView.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteView.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "spaceId"), - 3: .same(proto: "spaceName"), - 4: .same(proto: "spaceIconCid"), - 5: .same(proto: "creatorName"), - 6: .same(proto: "isGuestUserInvite"), - 7: .same(proto: "inviteType"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}spaceId\0\u{1}spaceName\0\u{1}spaceIconCid\0\u{1}creatorName\0\u{1}isGuestUserInvite\0\u{1}inviteType\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -266,10 +255,7 @@ extension Anytype_Rpc.Space.InviteView.Response: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Space.InviteView.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteView.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -303,14 +289,7 @@ extension Anytype_Rpc.Space.InviteView.Response.Error: SwiftProtobuf.Message, Sw } extension Anytype_Rpc.Space.InviteView.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "INVITE_NOT_FOUND"), - 102: .same(proto: "INVITE_BAD_CONTENT"), - 103: .same(proto: "SPACE_IS_DELETED"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}INVITE_NOT_FOUND\0\u{1}INVITE_BAD_CONTENT\0\u{1}SPACE_IS_DELETED\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.Join.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.Join.swift index bfe41a960e..f9591b3665 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.Join.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.Join.swift @@ -168,12 +168,7 @@ extension Anytype_Rpc.Space.Join: SwiftProtobuf.Message, SwiftProtobuf._MessageI extension Anytype_Rpc.Space.Join.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.Join.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "networkId"), - 2: .same(proto: "spaceId"), - 3: .same(proto: "inviteCid"), - 4: .same(proto: "inviteFileKey"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}networkId\0\u{1}spaceId\0\u{1}inviteCid\0\u{1}inviteFileKey\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -218,9 +213,7 @@ extension Anytype_Rpc.Space.Join.Request: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.Space.Join.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.Join.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -254,10 +247,7 @@ extension Anytype_Rpc.Space.Join.Response: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Space.Join.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.Join.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -291,19 +281,7 @@ extension Anytype_Rpc.Space.Join.Response.Error: SwiftProtobuf.Message, SwiftPro } extension Anytype_Rpc.Space.Join.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "NO_SUCH_SPACE"), - 102: .same(proto: "SPACE_IS_DELETED"), - 103: .same(proto: "INVITE_NOT_FOUND"), - 104: .same(proto: "INVITE_BAD_CONTENT"), - 105: .same(proto: "REQUEST_FAILED"), - 106: .same(proto: "LIMIT_REACHED"), - 107: .same(proto: "NOT_SHAREABLE"), - 108: .same(proto: "DIFFERENT_NETWORK"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}NO_SUCH_SPACE\0\u{1}SPACE_IS_DELETED\0\u{1}INVITE_NOT_FOUND\0\u{1}INVITE_BAD_CONTENT\0\u{1}REQUEST_FAILED\0\u{1}LIMIT_REACHED\0\u{1}NOT_SHAREABLE\0\u{1}DIFFERENT_NETWORK\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.JoinCancel.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.JoinCancel.swift index bc1f4c927f..c46171838d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.JoinCancel.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.JoinCancel.swift @@ -153,9 +153,7 @@ extension Anytype_Rpc.Space.JoinCancel: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Rpc.Space.JoinCancel.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.JoinCancel.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -185,9 +183,7 @@ extension Anytype_Rpc.Space.JoinCancel.Request: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Space.JoinCancel.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.JoinCancel.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -221,10 +217,7 @@ extension Anytype_Rpc.Space.JoinCancel.Response: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Space.JoinCancel.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.JoinCancel.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -258,17 +251,7 @@ extension Anytype_Rpc.Space.JoinCancel.Response.Error: SwiftProtobuf.Message, Sw } extension Anytype_Rpc.Space.JoinCancel.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "NO_SUCH_SPACE"), - 102: .same(proto: "SPACE_IS_DELETED"), - 103: .same(proto: "REQUEST_FAILED"), - 104: .same(proto: "LIMIT_REACHED"), - 105: .same(proto: "NO_SUCH_REQUEST"), - 106: .same(proto: "NOT_SHAREABLE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}NO_SUCH_SPACE\0\u{1}SPACE_IS_DELETED\0\u{1}REQUEST_FAILED\0\u{1}LIMIT_REACHED\0\u{1}NO_SUCH_REQUEST\0\u{1}NOT_SHAREABLE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.LeaveApprove.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.LeaveApprove.swift index 237b29e6d3..1c9a8e7b1a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.LeaveApprove.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.LeaveApprove.swift @@ -155,10 +155,7 @@ extension Anytype_Rpc.Space.LeaveApprove: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.Space.LeaveApprove.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.LeaveApprove.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "identities"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}identities\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -193,9 +190,7 @@ extension Anytype_Rpc.Space.LeaveApprove.Request: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Space.LeaveApprove.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.LeaveApprove.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,10 +224,7 @@ extension Anytype_Rpc.Space.LeaveApprove.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Space.LeaveApprove.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.LeaveApprove.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -266,17 +258,7 @@ extension Anytype_Rpc.Space.LeaveApprove.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Space.LeaveApprove.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "NO_SUCH_SPACE"), - 102: .same(proto: "SPACE_IS_DELETED"), - 103: .same(proto: "REQUEST_FAILED"), - 104: .same(proto: "LIMIT_REACHED"), - 105: .same(proto: "NO_APPROVE_REQUESTS"), - 106: .same(proto: "NOT_SHAREABLE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}NO_SUCH_SPACE\0\u{1}SPACE_IS_DELETED\0\u{1}REQUEST_FAILED\0\u{1}LIMIT_REACHED\0\u{1}NO_APPROVE_REQUESTS\0\u{1}NOT_SHAREABLE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.MakeShareable.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.MakeShareable.swift index 6155db8a8c..0742ef7006 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.MakeShareable.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.MakeShareable.swift @@ -145,9 +145,7 @@ extension Anytype_Rpc.Space.MakeShareable: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Space.MakeShareable.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.MakeShareable.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -177,9 +175,7 @@ extension Anytype_Rpc.Space.MakeShareable.Request: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Space.MakeShareable.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.MakeShareable.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -213,10 +209,7 @@ extension Anytype_Rpc.Space.MakeShareable.Response: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Space.MakeShareable.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.MakeShareable.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -250,15 +243,7 @@ extension Anytype_Rpc.Space.MakeShareable.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Space.MakeShareable.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "NO_SUCH_SPACE"), - 102: .same(proto: "SPACE_IS_DELETED"), - 103: .same(proto: "REQUEST_FAILED"), - 104: .same(proto: "LIMIT_REACHED"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}NO_SUCH_SPACE\0\u{1}SPACE_IS_DELETED\0\u{1}REQUEST_FAILED\0\u{1}LIMIT_REACHED\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.ParticipantPermissionsChange.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.ParticipantPermissionsChange.swift index e92e9059e3..deaf6345af 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.ParticipantPermissionsChange.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.ParticipantPermissionsChange.swift @@ -159,10 +159,7 @@ extension Anytype_Rpc.Space.ParticipantPermissionsChange: SwiftProtobuf.Message, extension Anytype_Rpc.Space.ParticipantPermissionsChange.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.ParticipantPermissionsChange.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "changes"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}changes\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -197,9 +194,7 @@ extension Anytype_Rpc.Space.ParticipantPermissionsChange.Request: SwiftProtobuf. extension Anytype_Rpc.Space.ParticipantPermissionsChange.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.ParticipantPermissionsChange.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -233,10 +228,7 @@ extension Anytype_Rpc.Space.ParticipantPermissionsChange.Response: SwiftProtobuf extension Anytype_Rpc.Space.ParticipantPermissionsChange.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.ParticipantPermissionsChange.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -270,18 +262,7 @@ extension Anytype_Rpc.Space.ParticipantPermissionsChange.Response.Error: SwiftPr } extension Anytype_Rpc.Space.ParticipantPermissionsChange.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "NO_SUCH_SPACE"), - 102: .same(proto: "SPACE_IS_DELETED"), - 103: .same(proto: "REQUEST_FAILED"), - 104: .same(proto: "LIMIT_REACHED"), - 105: .same(proto: "PARTICIPANT_NOT_FOUND"), - 106: .same(proto: "INCORRECT_PERMISSIONS"), - 107: .same(proto: "NOT_SHAREABLE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}NO_SUCH_SPACE\0\u{1}SPACE_IS_DELETED\0\u{1}REQUEST_FAILED\0\u{1}LIMIT_REACHED\0\u{1}PARTICIPANT_NOT_FOUND\0\u{1}INCORRECT_PERMISSIONS\0\u{1}NOT_SHAREABLE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.ParticipantRemove.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.ParticipantRemove.swift index 9f6669e32b..133caaa0d2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.ParticipantRemove.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.ParticipantRemove.swift @@ -155,10 +155,7 @@ extension Anytype_Rpc.Space.ParticipantRemove: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Space.ParticipantRemove.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.ParticipantRemove.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "identities"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}identities\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -193,9 +190,7 @@ extension Anytype_Rpc.Space.ParticipantRemove.Request: SwiftProtobuf.Message, Sw extension Anytype_Rpc.Space.ParticipantRemove.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.ParticipantRemove.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,10 +224,7 @@ extension Anytype_Rpc.Space.ParticipantRemove.Response: SwiftProtobuf.Message, S extension Anytype_Rpc.Space.ParticipantRemove.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.ParticipantRemove.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -266,17 +258,7 @@ extension Anytype_Rpc.Space.ParticipantRemove.Response.Error: SwiftProtobuf.Mess } extension Anytype_Rpc.Space.ParticipantRemove.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "NO_SUCH_SPACE"), - 102: .same(proto: "SPACE_IS_DELETED"), - 103: .same(proto: "PARTICIPANT_NOT_FOUND"), - 104: .same(proto: "REQUEST_FAILED"), - 105: .same(proto: "LIMIT_REACHED"), - 106: .same(proto: "NOT_SHAREABLE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}NO_SUCH_SPACE\0\u{1}SPACE_IS_DELETED\0\u{1}PARTICIPANT_NOT_FOUND\0\u{1}REQUEST_FAILED\0\u{1}LIMIT_REACHED\0\u{1}NOT_SHAREABLE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.RequestApprove.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.RequestApprove.swift index 215ea21c58..cdd55007cc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.RequestApprove.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.RequestApprove.swift @@ -161,11 +161,7 @@ extension Anytype_Rpc.Space.RequestApprove: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Space.RequestApprove.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.RequestApprove.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "identity"), - 3: .same(proto: "permissions"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}identity\0\u{1}permissions\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -205,9 +201,7 @@ extension Anytype_Rpc.Space.RequestApprove.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Space.RequestApprove.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.RequestApprove.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -241,10 +235,7 @@ extension Anytype_Rpc.Space.RequestApprove.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Space.RequestApprove.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.RequestApprove.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -278,18 +269,7 @@ extension Anytype_Rpc.Space.RequestApprove.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.Space.RequestApprove.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "NO_SUCH_SPACE"), - 102: .same(proto: "SPACE_IS_DELETED"), - 103: .same(proto: "NO_SUCH_REQUEST"), - 104: .same(proto: "INCORRECT_PERMISSIONS"), - 105: .same(proto: "REQUEST_FAILED"), - 106: .same(proto: "LIMIT_REACHED"), - 107: .same(proto: "NOT_SHAREABLE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}NO_SUCH_SPACE\0\u{1}SPACE_IS_DELETED\0\u{1}NO_SUCH_REQUEST\0\u{1}INCORRECT_PERMISSIONS\0\u{1}REQUEST_FAILED\0\u{1}LIMIT_REACHED\0\u{1}NOT_SHAREABLE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.RequestDecline.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.RequestDecline.swift index 5491097ddd..986af65f09 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.RequestDecline.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.RequestDecline.swift @@ -155,10 +155,7 @@ extension Anytype_Rpc.Space.RequestDecline: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Space.RequestDecline.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.RequestDecline.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "identity"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}identity\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -193,9 +190,7 @@ extension Anytype_Rpc.Space.RequestDecline.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Space.RequestDecline.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.RequestDecline.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,10 +224,7 @@ extension Anytype_Rpc.Space.RequestDecline.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Space.RequestDecline.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.RequestDecline.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -266,17 +258,7 @@ extension Anytype_Rpc.Space.RequestDecline.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.Space.RequestDecline.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "NO_SUCH_SPACE"), - 102: .same(proto: "SPACE_IS_DELETED"), - 103: .same(proto: "REQUEST_FAILED"), - 104: .same(proto: "LIMIT_REACHED"), - 105: .same(proto: "NO_SUCH_REQUEST"), - 106: .same(proto: "NOT_SHAREABLE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}NO_SUCH_SPACE\0\u{1}SPACE_IS_DELETED\0\u{1}REQUEST_FAILED\0\u{1}LIMIT_REACHED\0\u{1}NO_SUCH_REQUEST\0\u{1}NOT_SHAREABLE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.SetOrder.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.SetOrder.swift index 40c15ec0aa..451134da05 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.SetOrder.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.SetOrder.swift @@ -135,10 +135,7 @@ extension Anytype_Rpc.Space.SetOrder: SwiftProtobuf.Message, SwiftProtobuf._Mess extension Anytype_Rpc.Space.SetOrder.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.SetOrder.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceViewId"), - 2: .same(proto: "spaceViewOrder"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceViewId\0\u{1}spaceViewOrder\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -173,10 +170,7 @@ extension Anytype_Rpc.Space.SetOrder.Request: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Space.SetOrder.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.SetOrder.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "spaceViewOrder"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}spaceViewOrder\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -215,10 +209,7 @@ extension Anytype_Rpc.Space.SetOrder.Response: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Space.SetOrder.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.SetOrder.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -252,11 +243,7 @@ extension Anytype_Rpc.Space.SetOrder.Response.Error: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.Space.SetOrder.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.StopSharing.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.StopSharing.swift index 643841746e..d764e63c32 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.StopSharing.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.StopSharing.swift @@ -145,9 +145,7 @@ extension Anytype_Rpc.Space.StopSharing: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.Space.StopSharing.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.StopSharing.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -177,9 +175,7 @@ extension Anytype_Rpc.Space.StopSharing.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Space.StopSharing.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.StopSharing.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -213,10 +209,7 @@ extension Anytype_Rpc.Space.StopSharing.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Space.StopSharing.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.StopSharing.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -250,15 +243,7 @@ extension Anytype_Rpc.Space.StopSharing.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.Space.StopSharing.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "NO_SUCH_SPACE"), - 102: .same(proto: "SPACE_IS_DELETED"), - 103: .same(proto: "REQUEST_FAILED"), - 104: .same(proto: "LIMIT_REACHED"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}NO_SUCH_SPACE\0\u{1}SPACE_IS_DELETED\0\u{1}REQUEST_FAILED\0\u{1}LIMIT_REACHED\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.UnsetOrder.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.UnsetOrder.swift index e6c6ed59d5..7109369382 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.UnsetOrder.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.UnsetOrder.swift @@ -129,9 +129,7 @@ extension Anytype_Rpc.Space.UnsetOrder: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Rpc.Space.UnsetOrder.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.UnsetOrder.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceViewId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceViewId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -161,9 +159,7 @@ extension Anytype_Rpc.Space.UnsetOrder.Request: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Space.UnsetOrder.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.UnsetOrder.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -197,10 +193,7 @@ extension Anytype_Rpc.Space.UnsetOrder.Response: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Space.UnsetOrder.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.UnsetOrder.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -234,11 +227,7 @@ extension Anytype_Rpc.Space.UnsetOrder.Response.Error: SwiftProtobuf.Message, Sw } extension Anytype_Rpc.Space.UnsetOrder.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.Clone.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.Clone.swift index 16ce0afc0a..a68ea4cb3c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.Clone.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.Clone.swift @@ -137,10 +137,7 @@ extension Anytype_Rpc.Template.Clone: SwiftProtobuf.Message, SwiftProtobuf._Mess extension Anytype_Rpc.Template.Clone.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Template.Clone.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - 2: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -175,10 +172,7 @@ extension Anytype_Rpc.Template.Clone.Request: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Template.Clone.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Template.Clone.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "id"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}id\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -217,10 +211,7 @@ extension Anytype_Rpc.Template.Clone.Response: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Template.Clone.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Template.Clone.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -254,11 +245,7 @@ extension Anytype_Rpc.Template.Clone.Response.Error: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.Template.Clone.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.CreateFromObject.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.CreateFromObject.swift index d5733cd90d..cdac6d1b46 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.CreateFromObject.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.CreateFromObject.swift @@ -135,9 +135,7 @@ extension Anytype_Rpc.Template.CreateFromObject: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Template.CreateFromObject.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Template.CreateFromObject.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "contextId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}contextId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -167,10 +165,7 @@ extension Anytype_Rpc.Template.CreateFromObject.Request: SwiftProtobuf.Message, extension Anytype_Rpc.Template.CreateFromObject.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Template.CreateFromObject.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "id"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}id\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -209,10 +204,7 @@ extension Anytype_Rpc.Template.CreateFromObject.Response: SwiftProtobuf.Message, extension Anytype_Rpc.Template.CreateFromObject.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Template.CreateFromObject.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -246,11 +238,7 @@ extension Anytype_Rpc.Template.CreateFromObject.Response.Error: SwiftProtobuf.Me } extension Anytype_Rpc.Template.CreateFromObject.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.ExportAll.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.ExportAll.swift index 9e8c73dfe1..f7ac1132d3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.ExportAll.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.ExportAll.swift @@ -144,9 +144,7 @@ extension Anytype_Rpc.Template.ExportAll: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Rpc.Template.ExportAll.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Template.ExportAll.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "path"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}path\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -176,11 +174,7 @@ extension Anytype_Rpc.Template.ExportAll.Request: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Template.ExportAll.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Template.ExportAll.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "path"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}path\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -224,10 +218,7 @@ extension Anytype_Rpc.Template.ExportAll.Response: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Template.ExportAll.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Template.ExportAll.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -261,11 +252,7 @@ extension Anytype_Rpc.Template.ExportAll.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Template.ExportAll.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.Download.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.Download.swift index a794ba370f..b3daf5d44c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.Download.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.Download.swift @@ -141,11 +141,7 @@ extension Anytype_Rpc.Unsplash.Download: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.Unsplash.Download.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Unsplash.Download.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "pictureId"), - 2: .same(proto: "spaceId"), - 3: .same(proto: "imageKind"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}pictureId\0\u{1}spaceId\0\u{1}imageKind\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -185,10 +181,7 @@ extension Anytype_Rpc.Unsplash.Download.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Unsplash.Download.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Unsplash.Download.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "objectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}objectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -227,10 +220,7 @@ extension Anytype_Rpc.Unsplash.Download.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Unsplash.Download.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Unsplash.Download.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -264,12 +254,7 @@ extension Anytype_Rpc.Unsplash.Download.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.Unsplash.Download.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 100: .same(proto: "RATE_LIMIT_EXCEEDED"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}b\u{1}RATE_LIMIT_EXCEEDED\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.Search.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.Search.swift index fc41558990..3690c9310c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.Search.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.Search.swift @@ -159,10 +159,7 @@ extension Anytype_Rpc.Unsplash.Search: SwiftProtobuf.Message, SwiftProtobuf._Mes extension Anytype_Rpc.Unsplash.Search.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Unsplash.Search.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "query"), - 2: .same(proto: "limit"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}query\0\u{1}limit\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -197,10 +194,7 @@ extension Anytype_Rpc.Unsplash.Search.Request: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Unsplash.Search.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Unsplash.Search.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "pictures"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}pictures\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -239,12 +233,7 @@ extension Anytype_Rpc.Unsplash.Search.Response: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Unsplash.Search.Response.Picture: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Unsplash.Search.Response.protoMessageName + ".Picture" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "url"), - 3: .same(proto: "artist"), - 4: .same(proto: "artistUrl"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}url\0\u{1}artist\0\u{1}artistUrl\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -289,10 +278,7 @@ extension Anytype_Rpc.Unsplash.Search.Response.Picture: SwiftProtobuf.Message, S extension Anytype_Rpc.Unsplash.Search.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Unsplash.Search.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -326,12 +312,7 @@ extension Anytype_Rpc.Unsplash.Search.Response.Error: SwiftProtobuf.Message, Swi } extension Anytype_Rpc.Unsplash.Search.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 100: .same(proto: "RATE_LIMIT_EXCEEDED"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}b\u{1}RATE_LIMIT_EXCEEDED\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.CloseSession.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.CloseSession.swift index 023cc07389..589442b0ff 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.CloseSession.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.CloseSession.swift @@ -129,9 +129,7 @@ extension Anytype_Rpc.Wallet.CloseSession: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Rpc.Wallet.CloseSession.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Wallet.CloseSession.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "token"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}token\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -161,9 +159,7 @@ extension Anytype_Rpc.Wallet.CloseSession.Request: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Wallet.CloseSession.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Wallet.CloseSession.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -197,10 +193,7 @@ extension Anytype_Rpc.Wallet.CloseSession.Response: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Wallet.CloseSession.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Wallet.CloseSession.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -234,11 +227,7 @@ extension Anytype_Rpc.Wallet.CloseSession.Response.Error: SwiftProtobuf.Message, } extension Anytype_Rpc.Wallet.CloseSession.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Convert.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Convert.swift index 40117fff64..9b41b38a44 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Convert.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Convert.swift @@ -144,10 +144,7 @@ extension Anytype_Rpc.Wallet.Convert: SwiftProtobuf.Message, SwiftProtobuf._Mess extension Anytype_Rpc.Wallet.Convert.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Wallet.Convert.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "mnemonic"), - 2: .same(proto: "entropy"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}mnemonic\0\u{1}entropy\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -182,11 +179,7 @@ extension Anytype_Rpc.Wallet.Convert.Request: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Wallet.Convert.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Wallet.Convert.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "entropy"), - 3: .same(proto: "mnemonic"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}entropy\0\u{1}mnemonic\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -230,10 +223,7 @@ extension Anytype_Rpc.Wallet.Convert.Response: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Wallet.Convert.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Wallet.Convert.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -267,11 +257,7 @@ extension Anytype_Rpc.Wallet.Convert.Response.Error: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.Wallet.Convert.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Create.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Create.swift index d06a425e0e..20276258d8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Create.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Create.swift @@ -152,10 +152,7 @@ extension Anytype_Rpc.Wallet.Create: SwiftProtobuf.Message, SwiftProtobuf._Messa extension Anytype_Rpc.Wallet.Create.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Wallet.Create.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "rootPath"), - 2: .same(proto: "fulltextPrimaryLanguage"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}rootPath\0\u{1}fulltextPrimaryLanguage\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -190,10 +187,7 @@ extension Anytype_Rpc.Wallet.Create.Request: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Rpc.Wallet.Create.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Wallet.Create.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "mnemonic"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}mnemonic\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -232,10 +226,7 @@ extension Anytype_Rpc.Wallet.Create.Response: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Wallet.Create.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Wallet.Create.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -269,12 +260,7 @@ extension Anytype_Rpc.Wallet.Create.Response.Error: SwiftProtobuf.Message, Swift } extension Anytype_Rpc.Wallet.Create.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "FAILED_TO_CREATE_LOCAL_REPO"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}FAILED_TO_CREATE_LOCAL_REPO\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.CreateSession.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.CreateSession.swift index 35e4a6db1b..649f106aa7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.CreateSession.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.CreateSession.swift @@ -180,11 +180,7 @@ extension Anytype_Rpc.Wallet.CreateSession: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Wallet.CreateSession.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Wallet.CreateSession.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "mnemonic"), - 2: .same(proto: "appKey"), - 3: .same(proto: "token"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}mnemonic\0\u{1}appKey\0\u{1}token\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -253,12 +249,7 @@ extension Anytype_Rpc.Wallet.CreateSession.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Wallet.CreateSession.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Wallet.CreateSession.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "token"), - 3: .same(proto: "appToken"), - 4: .same(proto: "accountId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}token\0\u{1}appToken\0\u{1}accountId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -307,10 +298,7 @@ extension Anytype_Rpc.Wallet.CreateSession.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Wallet.CreateSession.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Wallet.CreateSession.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -344,12 +332,7 @@ extension Anytype_Rpc.Wallet.CreateSession.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.Wallet.CreateSession.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "APP_TOKEN_NOT_FOUND_IN_THE_CURRENT_ACCOUNT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}APP_TOKEN_NOT_FOUND_IN_THE_CURRENT_ACCOUNT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Recover.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Recover.swift index 48caefc14b..62a8792181 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Recover.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Recover.swift @@ -151,11 +151,7 @@ extension Anytype_Rpc.Wallet.Recover: SwiftProtobuf.Message, SwiftProtobuf._Mess extension Anytype_Rpc.Wallet.Recover.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Wallet.Recover.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "rootPath"), - 2: .same(proto: "mnemonic"), - 3: .same(proto: "fulltextPrimaryLanguage"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}rootPath\0\u{1}mnemonic\0\u{1}fulltextPrimaryLanguage\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -195,9 +191,7 @@ extension Anytype_Rpc.Wallet.Recover.Request: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Wallet.Recover.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Wallet.Recover.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -231,10 +225,7 @@ extension Anytype_Rpc.Wallet.Recover.Response: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Wallet.Recover.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Wallet.Recover.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,12 +259,7 @@ extension Anytype_Rpc.Wallet.Recover.Response.Error: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.Wallet.Recover.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 101: .same(proto: "FAILED_TO_CREATE_LOCAL_REPO"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}c\u{1}FAILED_TO_CREATE_LOCAL_REPO\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Create.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Create.swift index 097576d01d..05922f1a93 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Create.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Create.swift @@ -151,11 +151,7 @@ extension Anytype_Rpc.Workspace.Create: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Rpc.Workspace.Create.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Create.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "details"), - 2: .same(proto: "useCase"), - 3: .same(proto: "withChat"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}details\0\u{1}useCase\0\u{1}withChat\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -199,11 +195,7 @@ extension Anytype_Rpc.Workspace.Create.Request: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Workspace.Create.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Create.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "spaceId"), - 3: .same(proto: "startingObjectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}spaceId\0\u{1}startingObjectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -247,10 +239,7 @@ extension Anytype_Rpc.Workspace.Create.Response: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Workspace.Create.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Create.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -284,11 +273,7 @@ extension Anytype_Rpc.Workspace.Create.Response.Error: SwiftProtobuf.Message, Sw } extension Anytype_Rpc.Workspace.Create.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Export.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Export.swift index 2c64bf1fca..bb429d6704 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Export.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Export.swift @@ -146,10 +146,7 @@ extension Anytype_Rpc.Workspace.Export: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Rpc.Workspace.Export.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Export.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "path"), - 2: .same(proto: "workspaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}path\0\u{1}workspaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -184,11 +181,7 @@ extension Anytype_Rpc.Workspace.Export.Request: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Workspace.Export.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Export.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "path"), - 3: .same(proto: "event"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}path\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -232,10 +225,7 @@ extension Anytype_Rpc.Workspace.Export.Response: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Workspace.Export.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Export.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -269,11 +259,7 @@ extension Anytype_Rpc.Workspace.Export.Response.Error: SwiftProtobuf.Message, Sw } extension Anytype_Rpc.Workspace.Export.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.GetAll.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.GetAll.swift index 1f46b3e3d5..ae39c7fa23 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.GetAll.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.GetAll.swift @@ -150,10 +150,7 @@ extension Anytype_Rpc.Workspace.GetAll.Request: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Workspace.GetAll.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.GetAll.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "workspaceIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}workspaceIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -192,10 +189,7 @@ extension Anytype_Rpc.Workspace.GetAll.Response: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Workspace.GetAll.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.GetAll.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,11 +223,7 @@ extension Anytype_Rpc.Workspace.GetAll.Response.Error: SwiftProtobuf.Message, Sw } extension Anytype_Rpc.Workspace.GetAll.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.GetCurrent.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.GetCurrent.swift index a81edd3a50..53b603799c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.GetCurrent.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.GetCurrent.swift @@ -150,10 +150,7 @@ extension Anytype_Rpc.Workspace.GetCurrent.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Workspace.GetCurrent.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.GetCurrent.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "workspaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}workspaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -192,10 +189,7 @@ extension Anytype_Rpc.Workspace.GetCurrent.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Workspace.GetCurrent.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.GetCurrent.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,11 +223,7 @@ extension Anytype_Rpc.Workspace.GetCurrent.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.Workspace.GetCurrent.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Object.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Object.swift index f850cd75c4..aa5cc95c1f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Object.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Object.swift @@ -374,10 +374,7 @@ extension Anytype_Rpc.Workspace.Object.Add: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Rpc.Workspace.Object.Add.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Object.Add.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .same(proto: "spaceId"), - 1: .same(proto: "objectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectId\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -412,11 +409,7 @@ extension Anytype_Rpc.Workspace.Object.Add.Request: SwiftProtobuf.Message, Swift extension Anytype_Rpc.Workspace.Object.Add.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Object.Add.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "objectId"), - 3: .same(proto: "details"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}objectId\0\u{1}details\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -460,10 +453,7 @@ extension Anytype_Rpc.Workspace.Object.Add.Response: SwiftProtobuf.Message, Swif extension Anytype_Rpc.Workspace.Object.Add.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Object.Add.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -497,11 +487,7 @@ extension Anytype_Rpc.Workspace.Object.Add.Response.Error: SwiftProtobuf.Message } extension Anytype_Rpc.Workspace.Object.Add.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } extension Anytype_Rpc.Workspace.Object.ListAdd: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -525,10 +511,7 @@ extension Anytype_Rpc.Workspace.Object.ListAdd: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Workspace.Object.ListAdd.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Object.ListAdd.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .same(proto: "spaceId"), - 1: .same(proto: "objectIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectIds\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -563,10 +546,7 @@ extension Anytype_Rpc.Workspace.Object.ListAdd.Request: SwiftProtobuf.Message, S extension Anytype_Rpc.Workspace.Object.ListAdd.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Object.ListAdd.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "objectIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}objectIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -605,10 +585,7 @@ extension Anytype_Rpc.Workspace.Object.ListAdd.Response: SwiftProtobuf.Message, extension Anytype_Rpc.Workspace.Object.ListAdd.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Object.ListAdd.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -642,11 +619,7 @@ extension Anytype_Rpc.Workspace.Object.ListAdd.Response.Error: SwiftProtobuf.Mes } extension Anytype_Rpc.Workspace.Object.ListAdd.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } extension Anytype_Rpc.Workspace.Object.ListRemove: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { @@ -670,9 +643,7 @@ extension Anytype_Rpc.Workspace.Object.ListRemove: SwiftProtobuf.Message, SwiftP extension Anytype_Rpc.Workspace.Object.ListRemove.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Object.ListRemove.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -702,10 +673,7 @@ extension Anytype_Rpc.Workspace.Object.ListRemove.Request: SwiftProtobuf.Message extension Anytype_Rpc.Workspace.Object.ListRemove.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Object.ListRemove.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "ids"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}ids\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -744,10 +712,7 @@ extension Anytype_Rpc.Workspace.Object.ListRemove.Response: SwiftProtobuf.Messag extension Anytype_Rpc.Workspace.Object.ListRemove.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Object.ListRemove.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -781,11 +746,7 @@ extension Anytype_Rpc.Workspace.Object.ListRemove.Response.Error: SwiftProtobuf. } extension Anytype_Rpc.Workspace.Object.ListRemove.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Open.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Open.swift index 616e11bda0..bafed4a4a6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Open.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Open.swift @@ -146,10 +146,7 @@ extension Anytype_Rpc.Workspace.Open: SwiftProtobuf.Message, SwiftProtobuf._Mess extension Anytype_Rpc.Workspace.Open.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Open.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "withChat"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}withChat\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -184,10 +181,7 @@ extension Anytype_Rpc.Workspace.Open.Request: SwiftProtobuf.Message, SwiftProtob extension Anytype_Rpc.Workspace.Open.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Open.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - 2: .same(proto: "info"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}info\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -226,10 +220,7 @@ extension Anytype_Rpc.Workspace.Open.Response: SwiftProtobuf.Message, SwiftProto extension Anytype_Rpc.Workspace.Open.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Open.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -263,12 +254,7 @@ extension Anytype_Rpc.Workspace.Open.Response.Error: SwiftProtobuf.Message, Swif } extension Anytype_Rpc.Workspace.Open.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 100: .same(proto: "FAILED_TO_LOAD"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{2}b\u{1}FAILED_TO_LOAD\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Select.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Select.swift index e94494577a..0987408231 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Select.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Select.swift @@ -131,9 +131,7 @@ extension Anytype_Rpc.Workspace.Select: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Rpc.Workspace.Select.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Select.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "workspaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}workspaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -163,9 +161,7 @@ extension Anytype_Rpc.Workspace.Select.Request: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Workspace.Select.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Select.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -199,10 +195,7 @@ extension Anytype_Rpc.Workspace.Select.Response: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Workspace.Select.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.Select.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -236,11 +229,7 @@ extension Anytype_Rpc.Workspace.Select.Response.Error: SwiftProtobuf.Message, Sw } extension Anytype_Rpc.Workspace.Select.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.SetInfo.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.SetInfo.swift index 0b81537fce..f5b8bec84e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.SetInfo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.SetInfo.swift @@ -142,10 +142,7 @@ extension Anytype_Rpc.Workspace.SetInfo: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Rpc.Workspace.SetInfo.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.SetInfo.protoMessageName + ".Request" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "details"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}details\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -184,9 +181,7 @@ extension Anytype_Rpc.Workspace.SetInfo.Request: SwiftProtobuf.Message, SwiftPro extension Anytype_Rpc.Workspace.SetInfo.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.SetInfo.protoMessageName + ".Response" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -220,10 +215,7 @@ extension Anytype_Rpc.Workspace.SetInfo.Response: SwiftProtobuf.Message, SwiftPr extension Anytype_Rpc.Workspace.SetInfo.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Workspace.SetInfo.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "code"), - 2: .same(proto: "description"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -257,11 +249,7 @@ extension Anytype_Rpc.Workspace.SetInfo.Response.Error: SwiftProtobuf.Message, S } extension Anytype_Rpc.Workspace.SetInfo.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_StreamRequest.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_StreamRequest.swift index 9e5cfe34b9..b875b2d5ae 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_StreamRequest.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_StreamRequest.swift @@ -24,9 +24,7 @@ public struct Anytype_StreamRequest: Sendable { extension Anytype_StreamRequest: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".StreamRequest" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "token"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}token\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Config.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Config.swift index e8a220af6c..b2202476b3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Config.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Config.swift @@ -74,10 +74,7 @@ extension Anytype_Event.Account.Config: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Event.Account.Config.Update: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Account.Config.protoMessageName + ".Update" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "config"), - 2: .same(proto: "status"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}config\0\u{1}status\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Details.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Details.swift index 7035caa439..1bbdb24ac8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Details.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Details.swift @@ -37,10 +37,7 @@ extension Anytype_Event.Account { extension Anytype_Event.Account.Details: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Account.protoMessageName + ".Details" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "profileId"), - 2: .same(proto: "details"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}profileId\0\u{1}details\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.LinkChallenge.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.LinkChallenge.swift index 1e64b9f8d9..9a6dbcfdd1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.LinkChallenge.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.LinkChallenge.swift @@ -57,11 +57,7 @@ extension Anytype_Event.Account { extension Anytype_Event.Account.LinkChallenge: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Account.protoMessageName + ".LinkChallenge" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "challenge"), - 2: .same(proto: "clientInfo"), - 3: .same(proto: "scope"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}challenge\0\u{1}clientInfo\0\u{1}scope\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -105,12 +101,7 @@ extension Anytype_Event.Account.LinkChallenge: SwiftProtobuf.Message, SwiftProto extension Anytype_Event.Account.LinkChallenge.ClientInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Account.LinkChallenge.protoMessageName + ".ClientInfo" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "processName"), - 2: .same(proto: "processPath"), - 4: .same(proto: "name"), - 3: .same(proto: "signatureVerified"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}processName\0\u{1}processPath\0\u{1}signatureVerified\0\u{1}name\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.LinkChallengeHide.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.LinkChallengeHide.swift index 9d1e412678..46ad7f3338 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.LinkChallengeHide.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.LinkChallengeHide.swift @@ -27,9 +27,7 @@ extension Anytype_Event.Account { extension Anytype_Event.Account.LinkChallengeHide: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Account.protoMessageName + ".LinkChallengeHide" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "challenge"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}challenge\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Show.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Show.swift index 4496ae4c06..80e758ee7a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Show.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Show.swift @@ -39,10 +39,7 @@ extension Anytype_Event.Account { extension Anytype_Event.Account.Show: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Account.protoMessageName + ".Show" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "index"), - 2: .same(proto: "account"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}index\0\u{1}account\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Update.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Update.swift index ff1eeaaf6f..0606975357 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Update.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Update.swift @@ -45,10 +45,7 @@ extension Anytype_Event.Account { extension Anytype_Event.Account.Update: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Account.protoMessageName + ".Update" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "config"), - 2: .same(proto: "status"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}config\0\u{1}status\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Add.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Add.swift index 6f858db5df..02b7c69b60 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Add.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Add.swift @@ -27,9 +27,7 @@ extension Anytype_Event.Block { extension Anytype_Event.Block.Add: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.protoMessageName + ".Add" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "blocks"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}blocks\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Dataview.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Dataview.swift index 084ec31716..a4567d6d45 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Dataview.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Dataview.swift @@ -772,37 +772,23 @@ extension Anytype_Event.Block.Dataview: SwiftProtobuf.Message, SwiftProtobuf._Me } extension Anytype_Event.Block.Dataview.SliceOperation: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SliceOperationNone"), - 1: .same(proto: "SliceOperationAdd"), - 2: .same(proto: "SliceOperationMove"), - 3: .same(proto: "SliceOperationRemove"), - 4: .same(proto: "SliceOperationReplace"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0SliceOperationNone\0\u{1}SliceOperationAdd\0\u{1}SliceOperationMove\0\u{1}SliceOperationRemove\0\u{1}SliceOperationReplace\0") } extension Anytype_Event.Block.Dataview.ViewSet: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.protoMessageName + ".ViewSet" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "viewId"), - 3: .same(proto: "view"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}viewId\0\u{1}view\0") fileprivate class _StorageClass { var _id: String = String() var _viewID: String = String() var _view: Anytype_Model_Block.Content.Dataview.View? = nil - #if swift(>=5.10) // This property is used as the initial default value for new instances of the type. // The type itself is protecting the reference to its storage via CoW semantics. // This will force a copy to be made of this reference when the first mutation occurs; // hence, it is safe to mark this as `nonisolated(unsafe)`. static nonisolated(unsafe) let defaultInstance = _StorageClass() - #else - static let defaultInstance = _StorageClass() - #endif private init() {} @@ -875,14 +861,7 @@ extension Anytype_Event.Block.Dataview.ViewSet: SwiftProtobuf.Message, SwiftProt extension Anytype_Event.Block.Dataview.ViewUpdate: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.protoMessageName + ".ViewUpdate" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "viewId"), - 3: .same(proto: "filter"), - 4: .same(proto: "relation"), - 5: .same(proto: "sort"), - 6: .same(proto: "fields"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}viewId\0\u{1}filter\0\u{1}relation\0\u{1}sort\0\u{1}fields\0") fileprivate class _StorageClass { var _id: String = String() @@ -892,15 +871,11 @@ extension Anytype_Event.Block.Dataview.ViewUpdate: SwiftProtobuf.Message, SwiftP var _sort: [Anytype_Event.Block.Dataview.ViewUpdate.Sort] = [] var _fields: Anytype_Event.Block.Dataview.ViewUpdate.Fields? = nil - #if swift(>=5.10) // This property is used as the initial default value for new instances of the type. // The type itself is protecting the reference to its storage via CoW semantics. // This will force a copy to be made of this reference when the first mutation occurs; // hence, it is safe to mark this as `nonisolated(unsafe)`. static nonisolated(unsafe) let defaultInstance = _StorageClass() - #else - static let defaultInstance = _StorageClass() - #endif private init() {} @@ -991,20 +966,7 @@ extension Anytype_Event.Block.Dataview.ViewUpdate: SwiftProtobuf.Message, SwiftP extension Anytype_Event.Block.Dataview.ViewUpdate.Fields: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.ViewUpdate.protoMessageName + ".Fields" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "type"), - 2: .same(proto: "name"), - 3: .same(proto: "coverRelationKey"), - 4: .same(proto: "hideIcon"), - 5: .same(proto: "cardSize"), - 6: .same(proto: "coverFit"), - 7: .same(proto: "groupRelationKey"), - 16: .same(proto: "endRelationKey"), - 8: .same(proto: "groupBackgroundColors"), - 9: .same(proto: "pageLimit"), - 10: .same(proto: "defaultTemplateId"), - 15: .same(proto: "defaultObjectTypeId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}type\0\u{1}name\0\u{1}coverRelationKey\0\u{1}hideIcon\0\u{1}cardSize\0\u{1}coverFit\0\u{1}groupRelationKey\0\u{1}groupBackgroundColors\0\u{1}pageLimit\0\u{1}defaultTemplateId\0\u{2}\u{5}defaultObjectTypeId\0\u{1}endRelationKey\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1089,12 +1051,7 @@ extension Anytype_Event.Block.Dataview.ViewUpdate.Fields: SwiftProtobuf.Message, extension Anytype_Event.Block.Dataview.ViewUpdate.Filter: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.ViewUpdate.protoMessageName + ".Filter" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "add"), - 2: .same(proto: "remove"), - 3: .same(proto: "update"), - 4: .same(proto: "move"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}add\0\u{1}remove\0\u{1}update\0\u{1}move\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1195,10 +1152,7 @@ extension Anytype_Event.Block.Dataview.ViewUpdate.Filter: SwiftProtobuf.Message, extension Anytype_Event.Block.Dataview.ViewUpdate.Filter.Add: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.ViewUpdate.Filter.protoMessageName + ".Add" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "afterId"), - 2: .same(proto: "items"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}afterId\0\u{1}items\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1233,9 +1187,7 @@ extension Anytype_Event.Block.Dataview.ViewUpdate.Filter.Add: SwiftProtobuf.Mess extension Anytype_Event.Block.Dataview.ViewUpdate.Filter.Remove: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.ViewUpdate.Filter.protoMessageName + ".Remove" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "ids"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}ids\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1265,10 +1217,7 @@ extension Anytype_Event.Block.Dataview.ViewUpdate.Filter.Remove: SwiftProtobuf.M extension Anytype_Event.Block.Dataview.ViewUpdate.Filter.Update: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.ViewUpdate.Filter.protoMessageName + ".Update" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "item"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}item\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1307,10 +1256,7 @@ extension Anytype_Event.Block.Dataview.ViewUpdate.Filter.Update: SwiftProtobuf.M extension Anytype_Event.Block.Dataview.ViewUpdate.Filter.Move: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.ViewUpdate.Filter.protoMessageName + ".Move" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "afterId"), - 2: .same(proto: "ids"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}afterId\0\u{1}ids\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1345,12 +1291,7 @@ extension Anytype_Event.Block.Dataview.ViewUpdate.Filter.Move: SwiftProtobuf.Mes extension Anytype_Event.Block.Dataview.ViewUpdate.Relation: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.ViewUpdate.protoMessageName + ".Relation" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "add"), - 2: .same(proto: "remove"), - 3: .same(proto: "update"), - 4: .same(proto: "move"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}add\0\u{1}remove\0\u{1}update\0\u{1}move\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1451,10 +1392,7 @@ extension Anytype_Event.Block.Dataview.ViewUpdate.Relation: SwiftProtobuf.Messag extension Anytype_Event.Block.Dataview.ViewUpdate.Relation.Add: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.ViewUpdate.Relation.protoMessageName + ".Add" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "afterId"), - 2: .same(proto: "items"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}afterId\0\u{1}items\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1489,9 +1427,7 @@ extension Anytype_Event.Block.Dataview.ViewUpdate.Relation.Add: SwiftProtobuf.Me extension Anytype_Event.Block.Dataview.ViewUpdate.Relation.Remove: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.ViewUpdate.Relation.protoMessageName + ".Remove" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "ids"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}ids\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1521,10 +1457,7 @@ extension Anytype_Event.Block.Dataview.ViewUpdate.Relation.Remove: SwiftProtobuf extension Anytype_Event.Block.Dataview.ViewUpdate.Relation.Update: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.ViewUpdate.Relation.protoMessageName + ".Update" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "item"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}item\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1563,10 +1496,7 @@ extension Anytype_Event.Block.Dataview.ViewUpdate.Relation.Update: SwiftProtobuf extension Anytype_Event.Block.Dataview.ViewUpdate.Relation.Move: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.ViewUpdate.Relation.protoMessageName + ".Move" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "afterId"), - 2: .same(proto: "ids"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}afterId\0\u{1}ids\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1601,12 +1531,7 @@ extension Anytype_Event.Block.Dataview.ViewUpdate.Relation.Move: SwiftProtobuf.M extension Anytype_Event.Block.Dataview.ViewUpdate.Sort: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.ViewUpdate.protoMessageName + ".Sort" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "add"), - 2: .same(proto: "remove"), - 3: .same(proto: "update"), - 4: .same(proto: "move"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}add\0\u{1}remove\0\u{1}update\0\u{1}move\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1707,10 +1632,7 @@ extension Anytype_Event.Block.Dataview.ViewUpdate.Sort: SwiftProtobuf.Message, S extension Anytype_Event.Block.Dataview.ViewUpdate.Sort.Add: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.ViewUpdate.Sort.protoMessageName + ".Add" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "afterId"), - 2: .same(proto: "items"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}afterId\0\u{1}items\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1745,9 +1667,7 @@ extension Anytype_Event.Block.Dataview.ViewUpdate.Sort.Add: SwiftProtobuf.Messag extension Anytype_Event.Block.Dataview.ViewUpdate.Sort.Remove: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.ViewUpdate.Sort.protoMessageName + ".Remove" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "ids"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}ids\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1777,10 +1697,7 @@ extension Anytype_Event.Block.Dataview.ViewUpdate.Sort.Remove: SwiftProtobuf.Mes extension Anytype_Event.Block.Dataview.ViewUpdate.Sort.Update: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.ViewUpdate.Sort.protoMessageName + ".Update" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "item"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}item\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1819,10 +1736,7 @@ extension Anytype_Event.Block.Dataview.ViewUpdate.Sort.Update: SwiftProtobuf.Mes extension Anytype_Event.Block.Dataview.ViewUpdate.Sort.Move: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.ViewUpdate.Sort.protoMessageName + ".Move" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "afterId"), - 2: .same(proto: "ids"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}afterId\0\u{1}ids\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1857,10 +1771,7 @@ extension Anytype_Event.Block.Dataview.ViewUpdate.Sort.Move: SwiftProtobuf.Messa extension Anytype_Event.Block.Dataview.ViewDelete: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.protoMessageName + ".ViewDelete" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "viewId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}viewId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1895,10 +1806,7 @@ extension Anytype_Event.Block.Dataview.ViewDelete: SwiftProtobuf.Message, SwiftP extension Anytype_Event.Block.Dataview.ViewOrder: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.protoMessageName + ".ViewOrder" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "viewIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}viewIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1933,10 +1841,7 @@ extension Anytype_Event.Block.Dataview.ViewOrder: SwiftProtobuf.Message, SwiftPr extension Anytype_Event.Block.Dataview.SourceSet: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.protoMessageName + ".SourceSet" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "source"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}source\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1971,10 +1876,7 @@ extension Anytype_Event.Block.Dataview.SourceSet: SwiftProtobuf.Message, SwiftPr extension Anytype_Event.Block.Dataview.OldRelationDelete: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.protoMessageName + ".OldRelationDelete" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "relationKey"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}relationKey\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2009,11 +1911,7 @@ extension Anytype_Event.Block.Dataview.OldRelationDelete: SwiftProtobuf.Message, extension Anytype_Event.Block.Dataview.OldRelationSet: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.protoMessageName + ".OldRelationSet" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "relationKey"), - 3: .same(proto: "relation"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}relationKey\0\u{1}relation\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2057,10 +1955,7 @@ extension Anytype_Event.Block.Dataview.OldRelationSet: SwiftProtobuf.Message, Sw extension Anytype_Event.Block.Dataview.RelationDelete: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.protoMessageName + ".RelationDelete" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "relationKeys"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}relationKeys\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2095,10 +1990,7 @@ extension Anytype_Event.Block.Dataview.RelationDelete: SwiftProtobuf.Message, Sw extension Anytype_Event.Block.Dataview.RelationSet: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.protoMessageName + ".RelationSet" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "relationLinks"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}relationLinks\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2133,10 +2025,7 @@ extension Anytype_Event.Block.Dataview.RelationSet: SwiftProtobuf.Message, Swift extension Anytype_Event.Block.Dataview.GroupOrderUpdate: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.protoMessageName + ".GroupOrderUpdate" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "groupOrder"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}groupOrder\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2175,12 +2064,7 @@ extension Anytype_Event.Block.Dataview.GroupOrderUpdate: SwiftProtobuf.Message, extension Anytype_Event.Block.Dataview.ObjectOrderUpdate: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.protoMessageName + ".ObjectOrderUpdate" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "viewId"), - 3: .same(proto: "groupId"), - 4: .same(proto: "sliceChanges"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}viewId\0\u{1}groupId\0\u{1}sliceChanges\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2225,11 +2109,7 @@ extension Anytype_Event.Block.Dataview.ObjectOrderUpdate: SwiftProtobuf.Message, extension Anytype_Event.Block.Dataview.SliceChange: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.protoMessageName + ".SliceChange" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "op"), - 2: .same(proto: "ids"), - 3: .same(proto: "afterId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}op\0\u{1}ids\0\u{1}afterId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2269,10 +2149,7 @@ extension Anytype_Event.Block.Dataview.SliceChange: SwiftProtobuf.Message, Swift extension Anytype_Event.Block.Dataview.TargetObjectIdSet: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.protoMessageName + ".TargetObjectIdSet" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "targetObjectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}targetObjectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2307,10 +2184,7 @@ extension Anytype_Event.Block.Dataview.TargetObjectIdSet: SwiftProtobuf.Message, extension Anytype_Event.Block.Dataview.IsCollectionSet: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Dataview.protoMessageName + ".IsCollectionSet" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Delete.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Delete.swift index 2d71fcebfc..1f53ebf8f7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Delete.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Delete.swift @@ -26,9 +26,7 @@ extension Anytype_Event.Block { extension Anytype_Event.Block.Delete: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.protoMessageName + ".Delete" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "blockIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}blockIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.FilesUpload.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.FilesUpload.swift index f732f3074d..5134f8ffc6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.FilesUpload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.FilesUpload.swift @@ -30,10 +30,7 @@ extension Anytype_Event.Block { extension Anytype_Event.Block.FilesUpload: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.protoMessageName + ".FilesUpload" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "blockId"), - 2: .same(proto: "filePath"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}blockId\0\u{1}filePath\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Fill.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Fill.swift index 9b204a2e6e..20ffa8402b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Fill.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Fill.swift @@ -769,10 +769,7 @@ extension Anytype_Event.Block.Fill: SwiftProtobuf.Message, SwiftProtobuf._Messag extension Anytype_Event.Block.Fill.Details: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.protoMessageName + ".Details" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "details"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}details\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -811,10 +808,7 @@ extension Anytype_Event.Block.Fill.Details: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Event.Block.Fill.DatabaseRecords: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.protoMessageName + ".DatabaseRecords" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "records"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}records\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -849,10 +843,7 @@ extension Anytype_Event.Block.Fill.DatabaseRecords: SwiftProtobuf.Message, Swift extension Anytype_Event.Block.Fill.Fields: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.protoMessageName + ".Fields" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "fields"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}fields\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -891,10 +882,7 @@ extension Anytype_Event.Block.Fill.Fields: SwiftProtobuf.Message, SwiftProtobuf. extension Anytype_Event.Block.Fill.ChildrenIds: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.protoMessageName + ".ChildrenIds" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "childrenIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}childrenIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -929,10 +917,7 @@ extension Anytype_Event.Block.Fill.ChildrenIds: SwiftProtobuf.Message, SwiftProt extension Anytype_Event.Block.Fill.Restrictions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.protoMessageName + ".Restrictions" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "restrictions"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}restrictions\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -971,10 +956,7 @@ extension Anytype_Event.Block.Fill.Restrictions: SwiftProtobuf.Message, SwiftPro extension Anytype_Event.Block.Fill.BackgroundColor: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.protoMessageName + ".BackgroundColor" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "backgroundColor"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}backgroundColor\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1009,10 +991,7 @@ extension Anytype_Event.Block.Fill.BackgroundColor: SwiftProtobuf.Message, Swift extension Anytype_Event.Block.Fill.Align: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.protoMessageName + ".Align" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "align"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}align\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1047,14 +1026,7 @@ extension Anytype_Event.Block.Fill.Align: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Event.Block.Fill.Text: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.protoMessageName + ".Text" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "text"), - 3: .same(proto: "style"), - 4: .same(proto: "marks"), - 5: .same(proto: "checked"), - 6: .same(proto: "color"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}text\0\u{1}style\0\u{1}marks\0\u{1}checked\0\u{1}color\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1113,9 +1085,7 @@ extension Anytype_Event.Block.Fill.Text: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Event.Block.Fill.Text.Text: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.Text.protoMessageName + ".Text" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1145,9 +1115,7 @@ extension Anytype_Event.Block.Fill.Text.Text: SwiftProtobuf.Message, SwiftProtob extension Anytype_Event.Block.Fill.Text.Style: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.Text.protoMessageName + ".Style" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1177,9 +1145,7 @@ extension Anytype_Event.Block.Fill.Text.Style: SwiftProtobuf.Message, SwiftProto extension Anytype_Event.Block.Fill.Text.Marks: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.Text.protoMessageName + ".Marks" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1213,9 +1179,7 @@ extension Anytype_Event.Block.Fill.Text.Marks: SwiftProtobuf.Message, SwiftProto extension Anytype_Event.Block.Fill.Text.Checked: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.Text.protoMessageName + ".Checked" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1245,9 +1209,7 @@ extension Anytype_Event.Block.Fill.Text.Checked: SwiftProtobuf.Message, SwiftPro extension Anytype_Event.Block.Fill.Text.Color: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.Text.protoMessageName + ".Color" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1277,10 +1239,7 @@ extension Anytype_Event.Block.Fill.Text.Color: SwiftProtobuf.Message, SwiftProto extension Anytype_Event.Block.Fill.Div: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.protoMessageName + ".Div" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "style"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}style\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1319,9 +1278,7 @@ extension Anytype_Event.Block.Fill.Div: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Event.Block.Fill.Div.Style: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.Div.protoMessageName + ".Style" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1351,16 +1308,7 @@ extension Anytype_Event.Block.Fill.Div.Style: SwiftProtobuf.Message, SwiftProtob extension Anytype_Event.Block.Fill.File: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.protoMessageName + ".File" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "type"), - 3: .same(proto: "state"), - 4: .same(proto: "mime"), - 5: .same(proto: "hash"), - 6: .same(proto: "name"), - 7: .same(proto: "size"), - 8: .same(proto: "style"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}type\0\u{1}state\0\u{1}mime\0\u{1}hash\0\u{1}name\0\u{1}size\0\u{1}style\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1429,9 +1377,7 @@ extension Anytype_Event.Block.Fill.File: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Event.Block.Fill.File.Name: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.File.protoMessageName + ".Name" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1461,9 +1407,7 @@ extension Anytype_Event.Block.Fill.File.Name: SwiftProtobuf.Message, SwiftProtob extension Anytype_Event.Block.Fill.File.Width: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.File.protoMessageName + ".Width" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1493,9 +1437,7 @@ extension Anytype_Event.Block.Fill.File.Width: SwiftProtobuf.Message, SwiftProto extension Anytype_Event.Block.Fill.File.State: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.File.protoMessageName + ".State" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1525,9 +1467,7 @@ extension Anytype_Event.Block.Fill.File.State: SwiftProtobuf.Message, SwiftProto extension Anytype_Event.Block.Fill.File.TypeMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.File.protoMessageName + ".Type" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1557,9 +1497,7 @@ extension Anytype_Event.Block.Fill.File.TypeMessage: SwiftProtobuf.Message, Swif extension Anytype_Event.Block.Fill.File.Style: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.File.protoMessageName + ".Style" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1589,9 +1527,7 @@ extension Anytype_Event.Block.Fill.File.Style: SwiftProtobuf.Message, SwiftProto extension Anytype_Event.Block.Fill.File.Hash: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.File.protoMessageName + ".Hash" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1621,9 +1557,7 @@ extension Anytype_Event.Block.Fill.File.Hash: SwiftProtobuf.Message, SwiftProtob extension Anytype_Event.Block.Fill.File.Mime: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.File.protoMessageName + ".Mime" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1653,9 +1587,7 @@ extension Anytype_Event.Block.Fill.File.Mime: SwiftProtobuf.Message, SwiftProtob extension Anytype_Event.Block.Fill.File.Size: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.File.protoMessageName + ".Size" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1685,12 +1617,7 @@ extension Anytype_Event.Block.Fill.File.Size: SwiftProtobuf.Message, SwiftProtob extension Anytype_Event.Block.Fill.Link: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.protoMessageName + ".Link" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "targetBlockId"), - 3: .same(proto: "style"), - 4: .same(proto: "fields"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}targetBlockId\0\u{1}style\0\u{1}fields\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1739,9 +1666,7 @@ extension Anytype_Event.Block.Fill.Link: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Event.Block.Fill.Link.TargetBlockId: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.Link.protoMessageName + ".TargetBlockId" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1771,9 +1696,7 @@ extension Anytype_Event.Block.Fill.Link.TargetBlockId: SwiftProtobuf.Message, Sw extension Anytype_Event.Block.Fill.Link.Style: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.Link.protoMessageName + ".Style" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1803,9 +1726,7 @@ extension Anytype_Event.Block.Fill.Link.Style: SwiftProtobuf.Message, SwiftProto extension Anytype_Event.Block.Fill.Link.Fields: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.Link.protoMessageName + ".Fields" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1839,16 +1760,7 @@ extension Anytype_Event.Block.Fill.Link.Fields: SwiftProtobuf.Message, SwiftProt extension Anytype_Event.Block.Fill.Bookmark: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.protoMessageName + ".Bookmark" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "url"), - 3: .same(proto: "title"), - 4: .same(proto: "description"), - 5: .same(proto: "imageHash"), - 6: .same(proto: "faviconHash"), - 7: .same(proto: "type"), - 8: .same(proto: "targetObjectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}url\0\u{1}title\0\u{1}description\0\u{1}imageHash\0\u{1}faviconHash\0\u{1}type\0\u{1}targetObjectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1917,9 +1829,7 @@ extension Anytype_Event.Block.Fill.Bookmark: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Event.Block.Fill.Bookmark.Url: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.Bookmark.protoMessageName + ".Url" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1949,9 +1859,7 @@ extension Anytype_Event.Block.Fill.Bookmark.Url: SwiftProtobuf.Message, SwiftPro extension Anytype_Event.Block.Fill.Bookmark.Title: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.Bookmark.protoMessageName + ".Title" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1981,9 +1889,7 @@ extension Anytype_Event.Block.Fill.Bookmark.Title: SwiftProtobuf.Message, SwiftP extension Anytype_Event.Block.Fill.Bookmark.Description: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.Bookmark.protoMessageName + ".Description" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2013,9 +1919,7 @@ extension Anytype_Event.Block.Fill.Bookmark.Description: SwiftProtobuf.Message, extension Anytype_Event.Block.Fill.Bookmark.ImageHash: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.Bookmark.protoMessageName + ".ImageHash" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2045,9 +1949,7 @@ extension Anytype_Event.Block.Fill.Bookmark.ImageHash: SwiftProtobuf.Message, Sw extension Anytype_Event.Block.Fill.Bookmark.FaviconHash: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.Bookmark.protoMessageName + ".FaviconHash" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2077,9 +1979,7 @@ extension Anytype_Event.Block.Fill.Bookmark.FaviconHash: SwiftProtobuf.Message, extension Anytype_Event.Block.Fill.Bookmark.TypeMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.Bookmark.protoMessageName + ".Type" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2109,9 +2009,7 @@ extension Anytype_Event.Block.Fill.Bookmark.TypeMessage: SwiftProtobuf.Message, extension Anytype_Event.Block.Fill.Bookmark.TargetObjectId: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Fill.Bookmark.protoMessageName + ".TargetObjectId" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.MarksInfo.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.MarksInfo.swift index 05c19e81bd..2ace502b24 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.MarksInfo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.MarksInfo.swift @@ -26,9 +26,7 @@ extension Anytype_Event.Block { extension Anytype_Event.Block.MarksInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.protoMessageName + ".MarksInfo" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "marksInRange"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}marksInRange\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Set.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Set.swift index d5556f77f1..ac1e6711da 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Set.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Set.swift @@ -1128,10 +1128,7 @@ extension Anytype_Event.Block.Set: SwiftProtobuf.Message, SwiftProtobuf._Message extension Anytype_Event.Block.Set.Relation: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.protoMessageName + ".Relation" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "key"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}key\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1170,9 +1167,7 @@ extension Anytype_Event.Block.Set.Relation: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Event.Block.Set.Relation.Key: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Relation.protoMessageName + ".Key" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1202,10 +1197,7 @@ extension Anytype_Event.Block.Set.Relation.Key: SwiftProtobuf.Message, SwiftProt extension Anytype_Event.Block.Set.Fields: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.protoMessageName + ".Fields" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "fields"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}fields\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1244,10 +1236,7 @@ extension Anytype_Event.Block.Set.Fields: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Event.Block.Set.ChildrenIds: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.protoMessageName + ".ChildrenIds" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "childrenIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}childrenIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1282,10 +1271,7 @@ extension Anytype_Event.Block.Set.ChildrenIds: SwiftProtobuf.Message, SwiftProto extension Anytype_Event.Block.Set.Restrictions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.protoMessageName + ".Restrictions" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "restrictions"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}restrictions\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1324,10 +1310,7 @@ extension Anytype_Event.Block.Set.Restrictions: SwiftProtobuf.Message, SwiftProt extension Anytype_Event.Block.Set.BackgroundColor: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.protoMessageName + ".BackgroundColor" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "backgroundColor"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}backgroundColor\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1362,10 +1345,7 @@ extension Anytype_Event.Block.Set.BackgroundColor: SwiftProtobuf.Message, SwiftP extension Anytype_Event.Block.Set.Align: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.protoMessageName + ".Align" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "align"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}align\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1400,10 +1380,7 @@ extension Anytype_Event.Block.Set.Align: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Event.Block.Set.VerticalAlign: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.protoMessageName + ".VerticalAlign" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "verticalAlign"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}verticalAlign\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1438,16 +1415,7 @@ extension Anytype_Event.Block.Set.VerticalAlign: SwiftProtobuf.Message, SwiftPro extension Anytype_Event.Block.Set.Text: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.protoMessageName + ".Text" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "text"), - 3: .same(proto: "style"), - 4: .same(proto: "marks"), - 5: .same(proto: "checked"), - 6: .same(proto: "color"), - 7: .same(proto: "iconEmoji"), - 8: .same(proto: "iconImage"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}text\0\u{1}style\0\u{1}marks\0\u{1}checked\0\u{1}color\0\u{1}iconEmoji\0\u{1}iconImage\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1516,9 +1484,7 @@ extension Anytype_Event.Block.Set.Text: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Event.Block.Set.Text.Text: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Text.protoMessageName + ".Text" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1548,9 +1514,7 @@ extension Anytype_Event.Block.Set.Text.Text: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Event.Block.Set.Text.Style: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Text.protoMessageName + ".Style" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1580,9 +1544,7 @@ extension Anytype_Event.Block.Set.Text.Style: SwiftProtobuf.Message, SwiftProtob extension Anytype_Event.Block.Set.Text.Marks: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Text.protoMessageName + ".Marks" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1616,9 +1578,7 @@ extension Anytype_Event.Block.Set.Text.Marks: SwiftProtobuf.Message, SwiftProtob extension Anytype_Event.Block.Set.Text.Checked: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Text.protoMessageName + ".Checked" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1648,9 +1608,7 @@ extension Anytype_Event.Block.Set.Text.Checked: SwiftProtobuf.Message, SwiftProt extension Anytype_Event.Block.Set.Text.Color: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Text.protoMessageName + ".Color" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1680,9 +1638,7 @@ extension Anytype_Event.Block.Set.Text.Color: SwiftProtobuf.Message, SwiftProtob extension Anytype_Event.Block.Set.Text.IconEmoji: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Text.protoMessageName + ".IconEmoji" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1712,9 +1668,7 @@ extension Anytype_Event.Block.Set.Text.IconEmoji: SwiftProtobuf.Message, SwiftPr extension Anytype_Event.Block.Set.Text.IconImage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Text.protoMessageName + ".IconImage" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1744,11 +1698,7 @@ extension Anytype_Event.Block.Set.Text.IconImage: SwiftProtobuf.Message, SwiftPr extension Anytype_Event.Block.Set.Latex: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.protoMessageName + ".Latex" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "text"), - 3: .same(proto: "processor"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}text\0\u{1}processor\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1792,9 +1742,7 @@ extension Anytype_Event.Block.Set.Latex: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Event.Block.Set.Latex.Text: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Latex.protoMessageName + ".Text" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1824,9 +1772,7 @@ extension Anytype_Event.Block.Set.Latex.Text: SwiftProtobuf.Message, SwiftProtob extension Anytype_Event.Block.Set.Latex.Processor: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Latex.protoMessageName + ".Processor" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1856,10 +1802,7 @@ extension Anytype_Event.Block.Set.Latex.Processor: SwiftProtobuf.Message, SwiftP extension Anytype_Event.Block.Set.Div: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.protoMessageName + ".Div" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "style"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}style\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1898,9 +1841,7 @@ extension Anytype_Event.Block.Set.Div: SwiftProtobuf.Message, SwiftProtobuf._Mes extension Anytype_Event.Block.Set.Div.Style: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Div.protoMessageName + ".Style" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -1930,17 +1871,7 @@ extension Anytype_Event.Block.Set.Div.Style: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Event.Block.Set.File: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.protoMessageName + ".File" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "type"), - 3: .same(proto: "state"), - 4: .same(proto: "mime"), - 5: .same(proto: "hash"), - 6: .same(proto: "name"), - 7: .same(proto: "size"), - 8: .same(proto: "style"), - 9: .same(proto: "targetObjectId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}type\0\u{1}state\0\u{1}mime\0\u{1}hash\0\u{1}name\0\u{1}size\0\u{1}style\0\u{1}targetObjectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2014,9 +1945,7 @@ extension Anytype_Event.Block.Set.File: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Event.Block.Set.File.Name: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.File.protoMessageName + ".Name" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2046,9 +1975,7 @@ extension Anytype_Event.Block.Set.File.Name: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Event.Block.Set.File.Width: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.File.protoMessageName + ".Width" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2078,9 +2005,7 @@ extension Anytype_Event.Block.Set.File.Width: SwiftProtobuf.Message, SwiftProtob extension Anytype_Event.Block.Set.File.State: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.File.protoMessageName + ".State" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2110,9 +2035,7 @@ extension Anytype_Event.Block.Set.File.State: SwiftProtobuf.Message, SwiftProtob extension Anytype_Event.Block.Set.File.TypeMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.File.protoMessageName + ".Type" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2142,9 +2065,7 @@ extension Anytype_Event.Block.Set.File.TypeMessage: SwiftProtobuf.Message, Swift extension Anytype_Event.Block.Set.File.Style: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.File.protoMessageName + ".Style" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2174,9 +2095,7 @@ extension Anytype_Event.Block.Set.File.Style: SwiftProtobuf.Message, SwiftProtob extension Anytype_Event.Block.Set.File.Hash: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.File.protoMessageName + ".Hash" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2206,9 +2125,7 @@ extension Anytype_Event.Block.Set.File.Hash: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Event.Block.Set.File.Mime: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.File.protoMessageName + ".Mime" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2238,9 +2155,7 @@ extension Anytype_Event.Block.Set.File.Mime: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Event.Block.Set.File.Size: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.File.protoMessageName + ".Size" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2270,9 +2185,7 @@ extension Anytype_Event.Block.Set.File.Size: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Event.Block.Set.File.TargetObjectId: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.File.protoMessageName + ".TargetObjectId" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2302,16 +2215,7 @@ extension Anytype_Event.Block.Set.File.TargetObjectId: SwiftProtobuf.Message, Sw extension Anytype_Event.Block.Set.Link: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.protoMessageName + ".Link" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "targetBlockId"), - 3: .same(proto: "style"), - 4: .same(proto: "fields"), - 5: .same(proto: "iconSize"), - 6: .same(proto: "cardStyle"), - 7: .same(proto: "description"), - 8: .same(proto: "relations"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}targetBlockId\0\u{1}style\0\u{1}fields\0\u{1}iconSize\0\u{1}cardStyle\0\u{1}description\0\u{1}relations\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2380,9 +2284,7 @@ extension Anytype_Event.Block.Set.Link: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Event.Block.Set.Link.TargetBlockId: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Link.protoMessageName + ".TargetBlockId" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2412,9 +2314,7 @@ extension Anytype_Event.Block.Set.Link.TargetBlockId: SwiftProtobuf.Message, Swi extension Anytype_Event.Block.Set.Link.Style: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Link.protoMessageName + ".Style" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2444,9 +2344,7 @@ extension Anytype_Event.Block.Set.Link.Style: SwiftProtobuf.Message, SwiftProtob extension Anytype_Event.Block.Set.Link.Fields: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Link.protoMessageName + ".Fields" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2480,9 +2378,7 @@ extension Anytype_Event.Block.Set.Link.Fields: SwiftProtobuf.Message, SwiftProto extension Anytype_Event.Block.Set.Link.IconSize: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Link.protoMessageName + ".IconSize" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2512,9 +2408,7 @@ extension Anytype_Event.Block.Set.Link.IconSize: SwiftProtobuf.Message, SwiftPro extension Anytype_Event.Block.Set.Link.CardStyle: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Link.protoMessageName + ".CardStyle" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2544,9 +2438,7 @@ extension Anytype_Event.Block.Set.Link.CardStyle: SwiftProtobuf.Message, SwiftPr extension Anytype_Event.Block.Set.Link.Description: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Link.protoMessageName + ".Description" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2576,9 +2468,7 @@ extension Anytype_Event.Block.Set.Link.Description: SwiftProtobuf.Message, Swift extension Anytype_Event.Block.Set.Link.Relations: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Link.protoMessageName + ".Relations" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2608,17 +2498,7 @@ extension Anytype_Event.Block.Set.Link.Relations: SwiftProtobuf.Message, SwiftPr extension Anytype_Event.Block.Set.Bookmark: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.protoMessageName + ".Bookmark" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "url"), - 3: .same(proto: "title"), - 4: .same(proto: "description"), - 5: .same(proto: "imageHash"), - 6: .same(proto: "faviconHash"), - 7: .same(proto: "type"), - 8: .same(proto: "targetObjectId"), - 9: .same(proto: "state"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}url\0\u{1}title\0\u{1}description\0\u{1}imageHash\0\u{1}faviconHash\0\u{1}type\0\u{1}targetObjectId\0\u{1}state\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2692,9 +2572,7 @@ extension Anytype_Event.Block.Set.Bookmark: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Event.Block.Set.Bookmark.Url: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Bookmark.protoMessageName + ".Url" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2724,9 +2602,7 @@ extension Anytype_Event.Block.Set.Bookmark.Url: SwiftProtobuf.Message, SwiftProt extension Anytype_Event.Block.Set.Bookmark.Title: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Bookmark.protoMessageName + ".Title" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2756,9 +2632,7 @@ extension Anytype_Event.Block.Set.Bookmark.Title: SwiftProtobuf.Message, SwiftPr extension Anytype_Event.Block.Set.Bookmark.Description: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Bookmark.protoMessageName + ".Description" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2788,9 +2662,7 @@ extension Anytype_Event.Block.Set.Bookmark.Description: SwiftProtobuf.Message, S extension Anytype_Event.Block.Set.Bookmark.ImageHash: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Bookmark.protoMessageName + ".ImageHash" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2820,9 +2692,7 @@ extension Anytype_Event.Block.Set.Bookmark.ImageHash: SwiftProtobuf.Message, Swi extension Anytype_Event.Block.Set.Bookmark.FaviconHash: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Bookmark.protoMessageName + ".FaviconHash" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2852,9 +2722,7 @@ extension Anytype_Event.Block.Set.Bookmark.FaviconHash: SwiftProtobuf.Message, S extension Anytype_Event.Block.Set.Bookmark.TypeMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Bookmark.protoMessageName + ".Type" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2884,9 +2752,7 @@ extension Anytype_Event.Block.Set.Bookmark.TypeMessage: SwiftProtobuf.Message, S extension Anytype_Event.Block.Set.Bookmark.TargetObjectId: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Bookmark.protoMessageName + ".TargetObjectId" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2916,9 +2782,7 @@ extension Anytype_Event.Block.Set.Bookmark.TargetObjectId: SwiftProtobuf.Message extension Anytype_Event.Block.Set.Bookmark.State: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Bookmark.protoMessageName + ".State" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2948,10 +2812,7 @@ extension Anytype_Event.Block.Set.Bookmark.State: SwiftProtobuf.Message, SwiftPr extension Anytype_Event.Block.Set.TableRow: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.protoMessageName + ".TableRow" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "isHeader"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}isHeader\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -2990,9 +2851,7 @@ extension Anytype_Event.Block.Set.TableRow: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Event.Block.Set.TableRow.IsHeader: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.TableRow.protoMessageName + ".IsHeader" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -3022,12 +2881,7 @@ extension Anytype_Event.Block.Set.TableRow.IsHeader: SwiftProtobuf.Message, Swif extension Anytype_Event.Block.Set.Widget: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.protoMessageName + ".Widget" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "layout"), - 3: .same(proto: "limit"), - 4: .same(proto: "viewId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}layout\0\u{1}limit\0\u{1}viewId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -3076,9 +2930,7 @@ extension Anytype_Event.Block.Set.Widget: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Event.Block.Set.Widget.Layout: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Widget.protoMessageName + ".Layout" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -3108,9 +2960,7 @@ extension Anytype_Event.Block.Set.Widget.Layout: SwiftProtobuf.Message, SwiftPro extension Anytype_Event.Block.Set.Widget.Limit: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Widget.protoMessageName + ".Limit" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -3140,9 +2990,7 @@ extension Anytype_Event.Block.Set.Widget.Limit: SwiftProtobuf.Message, SwiftProt extension Anytype_Event.Block.Set.Widget.ViewId: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Block.Set.Widget.protoMessageName + ".ViewId" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Add.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Add.swift index a2e61dcd6c..87936f9ab0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Add.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Add.swift @@ -60,14 +60,7 @@ extension Anytype_Event.Chat { extension Anytype_Event.Chat.Add: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Chat.protoMessageName + ".Add" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "orderId"), - 6: .same(proto: "afterOrderId"), - 3: .same(proto: "message"), - 4: .same(proto: "subIds"), - 5: .same(proto: "dependencies"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}orderId\0\u{1}message\0\u{1}subIds\0\u{1}dependencies\0\u{1}afterOrderId\0") fileprivate class _StorageClass { var _id: String = String() @@ -77,15 +70,11 @@ extension Anytype_Event.Chat.Add: SwiftProtobuf.Message, SwiftProtobuf._MessageI var _subIds: [String] = [] var _dependencies: [SwiftProtobuf.Google_Protobuf_Struct] = [] - #if swift(>=5.10) // This property is used as the initial default value for new instances of the type. // The type itself is protecting the reference to its storage via CoW semantics. // This will force a copy to be made of this reference when the first mutation occurs; // hence, it is safe to mark this as `nonisolated(unsafe)`. static nonisolated(unsafe) let defaultInstance = _StorageClass() - #else - static let defaultInstance = _StorageClass() - #endif private init() {} diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Delete.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Delete.swift index 89abed3c18..5db5647c01 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Delete.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Delete.swift @@ -28,10 +28,7 @@ extension Anytype_Event.Chat { extension Anytype_Event.Chat.Delete: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Chat.protoMessageName + ".Delete" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "subIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}subIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Update.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Update.swift index 1f13352eb1..2965d719af 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Update.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Update.swift @@ -45,26 +45,18 @@ extension Anytype_Event.Chat { extension Anytype_Event.Chat.Update: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Chat.protoMessageName + ".Update" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "message"), - 3: .same(proto: "subIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}message\0\u{1}subIds\0") fileprivate class _StorageClass { var _id: String = String() var _message: Anytype_Model_ChatMessage? = nil var _subIds: [String] = [] - #if swift(>=5.10) // This property is used as the initial default value for new instances of the type. // The type itself is protecting the reference to its storage via CoW semantics. // This will force a copy to be made of this reference when the first mutation occurs; // hence, it is safe to mark this as `nonisolated(unsafe)`. static nonisolated(unsafe) let defaultInstance = _StorageClass() - #else - static let defaultInstance = _StorageClass() - #endif private init() {} diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMentionReadStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMentionReadStatus.swift index 0f55225234..8b772d555f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMentionReadStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMentionReadStatus.swift @@ -30,11 +30,7 @@ extension Anytype_Event.Chat { extension Anytype_Event.Chat.UpdateMentionReadStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Chat.protoMessageName + ".UpdateMentionReadStatus" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "ids"), - 2: .same(proto: "isRead"), - 3: .same(proto: "subIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}ids\0\u{1}isRead\0\u{1}subIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMessageReadStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMessageReadStatus.swift index 2131dfebec..cc002b4836 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMessageReadStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMessageReadStatus.swift @@ -30,11 +30,7 @@ extension Anytype_Event.Chat { extension Anytype_Event.Chat.UpdateMessageReadStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Chat.protoMessageName + ".UpdateMessageReadStatus" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "ids"), - 2: .same(proto: "isRead"), - 3: .same(proto: "subIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}ids\0\u{1}isRead\0\u{1}subIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMessageSyncStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMessageSyncStatus.swift index 9b51377474..9c6a15cd31 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMessageSyncStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMessageSyncStatus.swift @@ -30,11 +30,7 @@ extension Anytype_Event.Chat { extension Anytype_Event.Chat.UpdateMessageSyncStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Chat.protoMessageName + ".UpdateMessageSyncStatus" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "ids"), - 2: .same(proto: "isSynced"), - 3: .same(proto: "subIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}ids\0\u{1}isSynced\0\u{1}subIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateReactions.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateReactions.swift index 18a7e898b4..312d1f8c51 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateReactions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateReactions.swift @@ -39,11 +39,7 @@ extension Anytype_Event.Chat { extension Anytype_Event.Chat.UpdateReactions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Chat.protoMessageName + ".UpdateReactions" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "reactions"), - 3: .same(proto: "subIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}reactions\0\u{1}subIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateState.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateState.swift index 12bf66ddf5..bebe1f489a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateState.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateState.swift @@ -37,10 +37,7 @@ extension Anytype_Event.Chat { extension Anytype_Event.Chat.UpdateState: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Chat.protoMessageName + ".UpdateState" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "state"), - 2: .same(proto: "subIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}state\0\u{1}subIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LimitReached.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LimitReached.swift index e5b1e1600d..75e9e6c567 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LimitReached.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LimitReached.swift @@ -28,10 +28,7 @@ extension Anytype_Event.File { extension Anytype_Event.File.LimitReached: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.File.protoMessageName + ".LimitReached" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "fileId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}fileId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LimitUpdated.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LimitUpdated.swift index c7c98a26d7..de6d50837d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LimitUpdated.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LimitUpdated.swift @@ -26,9 +26,7 @@ extension Anytype_Event.File { extension Anytype_Event.File.LimitUpdated: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.File.protoMessageName + ".LimitUpdated" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "bytesLimit"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}bytesLimit\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LocalUsage.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LocalUsage.swift index a5fee24372..e671435535 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LocalUsage.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LocalUsage.swift @@ -26,9 +26,7 @@ extension Anytype_Event.File { extension Anytype_Event.File.LocalUsage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.File.protoMessageName + ".LocalUsage" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "localBytesUsage"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}localBytesUsage\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.SpaceUsage.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.SpaceUsage.swift index f003b1a8bb..17081048a2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.SpaceUsage.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.SpaceUsage.swift @@ -28,10 +28,7 @@ extension Anytype_Event.File { extension Anytype_Event.File.SpaceUsage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.File.protoMessageName + ".SpaceUsage" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "bytesUsage"), - 2: .same(proto: "spaceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}bytesUsage\0\u{1}spaceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Import.Finish.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Import.Finish.swift index 07b9b5a1e8..64c46628f1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Import.Finish.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Import.Finish.swift @@ -30,11 +30,7 @@ extension Anytype_Event.Import { extension Anytype_Event.Import.Finish: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Import.protoMessageName + ".Finish" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "rootCollectionID"), - 2: .same(proto: "objectsCount"), - 3: .same(proto: "importType"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}rootCollectionID\0\u{1}objectsCount\0\u{1}importType\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.TiersUpdate.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.TiersUpdate.swift index 9f7430e93a..ca319b2182 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.TiersUpdate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.TiersUpdate.swift @@ -26,9 +26,7 @@ extension Anytype_Event.Membership { extension Anytype_Event.Membership.TiersUpdate: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Membership.protoMessageName + ".TiersUpdate" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "tiers"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}tiers\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.Update.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.Update.swift index 7532a0e097..291789831e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.Update.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.Update.swift @@ -35,9 +35,7 @@ extension Anytype_Event.Membership { extension Anytype_Event.Membership.Update: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Membership.protoMessageName + ".Update" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "data"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}data\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.swift index 35df469eb5..4ed574c45b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.swift @@ -675,89 +675,7 @@ extension Anytype_Event { extension Anytype_Event.Message: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.protoMessageName + ".Message" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 132: .same(proto: "spaceId"), - 1: .same(proto: "accountShow"), - 201: .same(proto: "accountDetails"), - 202: .same(proto: "accountConfigUpdate"), - 203: .same(proto: "accountUpdate"), - 204: .same(proto: "accountLinkChallenge"), - 205: .same(proto: "accountLinkChallengeHide"), - 16: .same(proto: "objectDetailsSet"), - 50: .same(proto: "objectDetailsAmend"), - 51: .same(proto: "objectDetailsUnset"), - 52: .same(proto: "objectRelationsAmend"), - 53: .same(proto: "objectRelationsRemove"), - 54: .same(proto: "objectRemove"), - 65: .same(proto: "objectClose"), - 55: .same(proto: "objectRestrictionsSet"), - 60: .same(proto: "subscriptionAdd"), - 61: .same(proto: "subscriptionRemove"), - 62: .same(proto: "subscriptionPosition"), - 63: .same(proto: "subscriptionCounters"), - 64: .same(proto: "subscriptionGroups"), - 2: .same(proto: "blockAdd"), - 3: .same(proto: "blockDelete"), - 4: .same(proto: "filesUpload"), - 5: .same(proto: "marksInfo"), - 6: .same(proto: "blockSetFields"), - 7: .same(proto: "blockSetChildrenIds"), - 8: .same(proto: "blockSetRestrictions"), - 9: .same(proto: "blockSetBackgroundColor"), - 10: .same(proto: "blockSetText"), - 11: .same(proto: "blockSetFile"), - 13: .same(proto: "blockSetLink"), - 14: .same(proto: "blockSetBookmark"), - 15: .same(proto: "blockSetAlign"), - 17: .same(proto: "blockSetDiv"), - 21: .same(proto: "blockSetRelation"), - 25: .same(proto: "blockSetLatex"), - 36: .same(proto: "blockSetVerticalAlign"), - 37: .same(proto: "blockSetTableRow"), - 40: .same(proto: "blockSetWidget"), - 19: .same(proto: "blockDataviewViewSet"), - 20: .same(proto: "blockDataviewViewDelete"), - 29: .same(proto: "blockDataviewViewOrder"), - 35: .same(proto: "blockDataviewSourceSet"), - 38: .same(proto: "blockDataViewGroupOrderUpdate"), - 39: .same(proto: "blockDataViewObjectOrderUpdate"), - 124: .same(proto: "blockDataviewRelationDelete"), - 123: .same(proto: "blockDataviewRelationSet"), - 125: .same(proto: "blockDataviewViewUpdate"), - 126: .same(proto: "blockDataviewTargetObjectIdSet"), - 127: .same(proto: "blockDataviewIsCollectionSet"), - 24: .same(proto: "blockDataviewOldRelationDelete"), - 23: .same(proto: "blockDataviewOldRelationSet"), - 31: .same(proto: "userBlockJoin"), - 32: .same(proto: "userBlockLeft"), - 33: .same(proto: "userBlockSelectRange"), - 34: .same(proto: "userBlockTextRange"), - 100: .same(proto: "ping"), - 101: .same(proto: "processNew"), - 102: .same(proto: "processUpdate"), - 103: .same(proto: "processDone"), - 110: .same(proto: "threadStatus"), - 111: .same(proto: "fileLimitReached"), - 112: .same(proto: "fileSpaceUsage"), - 113: .same(proto: "fileLocalUsage"), - 118: .same(proto: "fileLimitUpdated"), - 114: .same(proto: "notificationSend"), - 115: .same(proto: "notificationUpdate"), - 116: .same(proto: "payloadBroadcast"), - 117: .same(proto: "membershipUpdate"), - 137: .same(proto: "membershipTiersUpdate"), - 119: .same(proto: "spaceSyncStatusUpdate"), - 120: .same(proto: "p2pStatusUpdate"), - 121: .same(proto: "importFinish"), - 128: .same(proto: "chatAdd"), - 129: .same(proto: "chatUpdate"), - 130: .same(proto: "chatUpdateReactions"), - 134: .same(proto: "chatUpdateMessageReadStatus"), - 135: .same(proto: "chatUpdateMentionReadStatus"), - 136: .same(proto: "chatUpdateMessageSyncStatus"), - 131: .same(proto: "chatDelete"), - 133: .same(proto: "chatStateUpdate"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}accountShow\0\u{1}blockAdd\0\u{1}blockDelete\0\u{1}filesUpload\0\u{1}marksInfo\0\u{1}blockSetFields\0\u{1}blockSetChildrenIds\0\u{1}blockSetRestrictions\0\u{1}blockSetBackgroundColor\0\u{1}blockSetText\0\u{1}blockSetFile\0\u{2}\u{2}blockSetLink\0\u{1}blockSetBookmark\0\u{1}blockSetAlign\0\u{1}objectDetailsSet\0\u{1}blockSetDiv\0\u{2}\u{2}blockDataviewViewSet\0\u{1}blockDataviewViewDelete\0\u{1}blockSetRelation\0\u{2}\u{2}blockDataviewOldRelationSet\0\u{1}blockDataviewOldRelationDelete\0\u{1}blockSetLatex\0\u{2}\u{4}blockDataviewViewOrder\0\u{2}\u{2}userBlockJoin\0\u{1}userBlockLeft\0\u{1}userBlockSelectRange\0\u{1}userBlockTextRange\0\u{1}blockDataviewSourceSet\0\u{1}blockSetVerticalAlign\0\u{1}blockSetTableRow\0\u{1}blockDataViewGroupOrderUpdate\0\u{1}blockDataViewObjectOrderUpdate\0\u{1}blockSetWidget\0\u{2}\u{a}objectDetailsAmend\0\u{1}objectDetailsUnset\0\u{1}objectRelationsAmend\0\u{1}objectRelationsRemove\0\u{1}objectRemove\0\u{1}objectRestrictionsSet\0\u{2}\u{5}subscriptionAdd\0\u{1}subscriptionRemove\0\u{1}subscriptionPosition\0\u{1}subscriptionCounters\0\u{1}subscriptionGroups\0\u{1}objectClose\0\u{2}#ping\0\u{1}processNew\0\u{1}processUpdate\0\u{1}processDone\0\u{2}\u{7}threadStatus\0\u{1}fileLimitReached\0\u{1}fileSpaceUsage\0\u{1}fileLocalUsage\0\u{1}notificationSend\0\u{1}notificationUpdate\0\u{1}payloadBroadcast\0\u{1}membershipUpdate\0\u{1}fileLimitUpdated\0\u{1}spaceSyncStatusUpdate\0\u{1}p2pStatusUpdate\0\u{1}importFinish\0\u{2}\u{2}blockDataviewRelationSet\0\u{1}blockDataviewRelationDelete\0\u{1}blockDataviewViewUpdate\0\u{1}blockDataviewTargetObjectIdSet\0\u{1}blockDataviewIsCollectionSet\0\u{1}chatAdd\0\u{1}chatUpdate\0\u{1}chatUpdateReactions\0\u{1}chatDelete\0\u{1}spaceId\0\u{1}chatStateUpdate\0\u{1}chatUpdateMessageReadStatus\0\u{1}chatUpdateMentionReadStatus\0\u{1}chatUpdateMessageSyncStatus\0\u{1}membershipTiersUpdate\0\u{2}@\u{1}accountDetails\0\u{1}accountConfigUpdate\0\u{1}accountUpdate\0\u{1}accountLinkChallenge\0\u{1}accountLinkChallengeHide\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.Send.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.Send.swift index 9e0527cd81..cc354b2d34 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.Send.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.Send.swift @@ -35,9 +35,7 @@ extension Anytype_Event.Notification { extension Anytype_Event.Notification.Send: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Notification.protoMessageName + ".Send" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "notification"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}notification\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.Update.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.Update.swift index ccadf548ff..ab80c32d10 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.Update.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.Update.swift @@ -35,9 +35,7 @@ extension Anytype_Event.Notification { extension Anytype_Event.Notification.Update: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Notification.protoMessageName + ".Update" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "notification"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}notification\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Close.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Close.swift index c63f8f7606..0b127209d1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Close.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Close.swift @@ -26,9 +26,7 @@ extension Anytype_Event.Object { extension Anytype_Event.Object.Close: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Object.protoMessageName + ".Close" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Details.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Details.swift index 2854eaebb7..ff7a05053e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Details.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Details.swift @@ -134,11 +134,7 @@ extension Anytype_Event.Object.Details: SwiftProtobuf.Message, SwiftProtobuf._Me extension Anytype_Event.Object.Details.Amend: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Object.Details.protoMessageName + ".Amend" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "details"), - 3: .same(proto: "subIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}details\0\u{1}subIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -178,10 +174,7 @@ extension Anytype_Event.Object.Details.Amend: SwiftProtobuf.Message, SwiftProtob extension Anytype_Event.Object.Details.Amend.KeyValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Object.Details.Amend.protoMessageName + ".KeyValue" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "key"), - 2: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}key\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -220,11 +213,7 @@ extension Anytype_Event.Object.Details.Amend.KeyValue: SwiftProtobuf.Message, Sw extension Anytype_Event.Object.Details.Set: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Object.Details.protoMessageName + ".Set" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "details"), - 3: .same(proto: "subIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}details\0\u{1}subIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -268,11 +257,7 @@ extension Anytype_Event.Object.Details.Set: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Event.Object.Details.Unset: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Object.Details.protoMessageName + ".Unset" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "keys"), - 3: .same(proto: "subIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}keys\0\u{1}subIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Relations.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Relations.swift index 1f3a16dd48..c63d98074b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Relations.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Relations.swift @@ -73,10 +73,7 @@ extension Anytype_Event.Object.Relations: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Event.Object.Relations.Amend: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Object.Relations.protoMessageName + ".Amend" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "relationLinks"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}relationLinks\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -111,10 +108,7 @@ extension Anytype_Event.Object.Relations.Amend: SwiftProtobuf.Message, SwiftProt extension Anytype_Event.Object.Relations.Remove: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Object.Relations.protoMessageName + ".Remove" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "relationKeys"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}relationKeys\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Remove.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Remove.swift index 4da019cbd4..91e3c16cf5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Remove.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Remove.swift @@ -27,9 +27,7 @@ extension Anytype_Event.Object { extension Anytype_Event.Object.Remove: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Object.protoMessageName + ".Remove" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "ids"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}ids\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Restrictions.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Restrictions.swift index 4bbdaabf5b..c24182fa81 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Restrictions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Restrictions.swift @@ -66,10 +66,7 @@ extension Anytype_Event.Object.Restrictions: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Event.Object.Restrictions.Set: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Object.Restrictions.protoMessageName + ".Set" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "restrictions"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}restrictions\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Subscription.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Subscription.swift index 90215750e9..76c3ada0d8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Subscription.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Subscription.swift @@ -147,11 +147,7 @@ extension Anytype_Event.Object.Subscription: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Event.Object.Subscription.Add: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Object.Subscription.protoMessageName + ".Add" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "afterId"), - 3: .same(proto: "subId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}afterId\0\u{1}subId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -191,10 +187,7 @@ extension Anytype_Event.Object.Subscription.Add: SwiftProtobuf.Message, SwiftPro extension Anytype_Event.Object.Subscription.Remove: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Object.Subscription.protoMessageName + ".Remove" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "subId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}subId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -229,11 +222,7 @@ extension Anytype_Event.Object.Subscription.Remove: SwiftProtobuf.Message, Swift extension Anytype_Event.Object.Subscription.Position: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Object.Subscription.protoMessageName + ".Position" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "afterId"), - 3: .same(proto: "subId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}afterId\0\u{1}subId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -273,12 +262,7 @@ extension Anytype_Event.Object.Subscription.Position: SwiftProtobuf.Message, Swi extension Anytype_Event.Object.Subscription.Counters: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Object.Subscription.protoMessageName + ".Counters" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "total"), - 2: .same(proto: "nextCount"), - 3: .same(proto: "prevCount"), - 4: .same(proto: "subId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}total\0\u{1}nextCount\0\u{1}prevCount\0\u{1}subId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -323,11 +307,7 @@ extension Anytype_Event.Object.Subscription.Counters: SwiftProtobuf.Message, Swi extension Anytype_Event.Object.Subscription.Groups: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Object.Subscription.protoMessageName + ".Groups" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "subId"), - 2: .same(proto: "group"), - 3: .same(proto: "remove"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}subId\0\u{1}group\0\u{1}remove\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.Status.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.Status.swift index a35c995501..2771741d8a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.Status.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.Status.swift @@ -57,12 +57,7 @@ extension Anytype_Event.P2PStatus { }} extension Anytype_Event.P2PStatus.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NotConnected"), - 1: .same(proto: "NotPossible"), - 2: .same(proto: "Connected"), - 3: .same(proto: "Restricted"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NotConnected\0\u{1}NotPossible\0\u{1}Connected\0\u{1}Restricted\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.Update.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.Update.swift index 69c9261a97..abcc10af8b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.Update.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.Update.swift @@ -30,11 +30,7 @@ extension Anytype_Event.P2PStatus { extension Anytype_Event.P2PStatus.Update: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.P2PStatus.protoMessageName + ".Update" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "status"), - 3: .same(proto: "devicesCounter"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}status\0\u{1}devicesCounter\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Payload.Broadcast.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Payload.Broadcast.swift index 6b792bcb98..bfeac953ab 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Payload.Broadcast.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Payload.Broadcast.swift @@ -26,9 +26,7 @@ extension Anytype_Event.Payload { extension Anytype_Event.Payload.Broadcast: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Payload.protoMessageName + ".Broadcast" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "payload"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}payload\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Ping.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Ping.swift index 496190d06c..1e641087cc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Ping.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Ping.swift @@ -26,9 +26,7 @@ extension Anytype_Event { extension Anytype_Event.Ping: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.protoMessageName + ".Ping" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "index"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}index\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.Done.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.Done.swift index 0eedd22b51..518761ae0f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.Done.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.Done.swift @@ -35,9 +35,7 @@ extension Anytype_Event.Process { extension Anytype_Event.Process.Done: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Process.protoMessageName + ".Done" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "process"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}process\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.New.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.New.swift index 26c2c12a8a..2986c5c5d8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.New.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.New.swift @@ -35,9 +35,7 @@ extension Anytype_Event.Process { extension Anytype_Event.Process.New: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Process.protoMessageName + ".New" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "process"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}process\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.Update.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.Update.swift index a4db44d7e1..3473a2d861 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.Update.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.Update.swift @@ -35,9 +35,7 @@ extension Anytype_Event.Process { extension Anytype_Event.Process.Update: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Process.protoMessageName + ".Update" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "process"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}process\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.Network.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.Network.swift index 0c683d8034..868d2eecb0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.Network.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.Network.swift @@ -51,11 +51,7 @@ extension Anytype_Event.Space { }} extension Anytype_Event.Space.Network: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Anytype"), - 1: .same(proto: "SelfHost"), - 2: .same(proto: "LocalOnly"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Anytype\0\u{1}SelfHost\0\u{1}LocalOnly\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.Status.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.Status.swift index 8830fd4573..453e05efa3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.Status.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.Status.swift @@ -59,13 +59,7 @@ extension Anytype_Event.Space { }} extension Anytype_Event.Space.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Synced"), - 1: .same(proto: "Syncing"), - 2: .same(proto: "Error"), - 3: .same(proto: "Offline"), - 4: .same(proto: "NetworkNeedsUpdate"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Synced\0\u{1}Syncing\0\u{1}Error\0\u{1}Offline\0\u{1}NetworkNeedsUpdate\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncError.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncError.swift index 57667b1f79..37ea255161 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncError.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncError.swift @@ -55,12 +55,7 @@ extension Anytype_Event.Space { }} extension Anytype_Event.Space.SyncError: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Null"), - 1: .same(proto: "StorageLimitExceed"), - 2: .same(proto: "IncompatibleVersion"), - 3: .same(proto: "NetworkError"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Null\0\u{1}StorageLimitExceed\0\u{1}IncompatibleVersion\0\u{1}NetworkError\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncStatus.swift index ee46da54d3..35ee571dc9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncStatus.swift @@ -65,14 +65,7 @@ extension Anytype_Event.Space.SyncStatus: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Event.Space.SyncStatus.Update: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Space.SyncStatus.protoMessageName + ".Update" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "status"), - 3: .same(proto: "network"), - 4: .same(proto: "error"), - 5: .same(proto: "syncingObjectsCounter"), - 6: .same(proto: "notSyncedFilesCounter"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}status\0\u{1}network\0\u{1}error\0\u{1}syncingObjectsCounter\0\u{1}notSyncedFilesCounter\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Status.Thread.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Status.Thread.swift index de874c234f..7618882228 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Status.Thread.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Status.Thread.swift @@ -200,11 +200,7 @@ extension Anytype_Event.Status { extension Anytype_Event.Status.Thread: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Status.protoMessageName + ".Thread" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "summary"), - 2: .same(proto: "cafe"), - 3: .same(proto: "accounts"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}summary\0\u{1}cafe\0\u{1}accounts\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -247,22 +243,12 @@ extension Anytype_Event.Status.Thread: SwiftProtobuf.Message, SwiftProtobuf._Mes } extension Anytype_Event.Status.Thread.SyncStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Unknown"), - 1: .same(proto: "Offline"), - 2: .same(proto: "Syncing"), - 3: .same(proto: "Synced"), - 4: .same(proto: "Failed"), - 5: .same(proto: "IncompatibleVersion"), - 6: .same(proto: "NetworkNeedsUpdate"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Unknown\0\u{1}Offline\0\u{1}Syncing\0\u{1}Synced\0\u{1}Failed\0\u{1}IncompatibleVersion\0\u{1}NetworkNeedsUpdate\0") } extension Anytype_Event.Status.Thread.Summary: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Status.Thread.protoMessageName + ".Summary" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}status\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -292,12 +278,7 @@ extension Anytype_Event.Status.Thread.Summary: SwiftProtobuf.Message, SwiftProto extension Anytype_Event.Status.Thread.Cafe: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Status.Thread.protoMessageName + ".Cafe" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "status"), - 2: .same(proto: "lastPulled"), - 3: .same(proto: "lastPushSucceed"), - 4: .same(proto: "files"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}status\0\u{1}lastPulled\0\u{1}lastPushSucceed\0\u{1}files\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -346,12 +327,7 @@ extension Anytype_Event.Status.Thread.Cafe: SwiftProtobuf.Message, SwiftProtobuf extension Anytype_Event.Status.Thread.Cafe.PinStatus: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Status.Thread.Cafe.protoMessageName + ".PinStatus" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "pinning"), - 2: .same(proto: "pinned"), - 3: .same(proto: "failed"), - 4: .same(proto: "updated"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}pinning\0\u{1}pinned\0\u{1}failed\0\u{1}updated\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -396,15 +372,7 @@ extension Anytype_Event.Status.Thread.Cafe.PinStatus: SwiftProtobuf.Message, Swi extension Anytype_Event.Status.Thread.Account: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Status.Thread.protoMessageName + ".Account" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "name"), - 3: .same(proto: "imageHash"), - 4: .same(proto: "online"), - 5: .same(proto: "lastPulled"), - 6: .same(proto: "lastEdited"), - 7: .same(proto: "devices"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}name\0\u{1}imageHash\0\u{1}online\0\u{1}lastPulled\0\u{1}lastEdited\0\u{1}devices\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -464,12 +432,7 @@ extension Anytype_Event.Status.Thread.Account: SwiftProtobuf.Message, SwiftProto extension Anytype_Event.Status.Thread.Device: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Status.Thread.protoMessageName + ".Device" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - 2: .same(proto: "online"), - 3: .same(proto: "lastPulled"), - 4: .same(proto: "lastEdited"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}name\0\u{1}online\0\u{1}lastPulled\0\u{1}lastEdited\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.User.Block.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.User.Block.swift index ed91bcc125..6707cfa3b5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.User.Block.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.User.Block.swift @@ -168,9 +168,7 @@ extension Anytype_Event.User.Block: SwiftProtobuf.Message, SwiftProtobuf._Messag extension Anytype_Event.User.Block.Join: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.User.Block.protoMessageName + ".Join" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "account"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}account\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -204,9 +202,7 @@ extension Anytype_Event.User.Block.Join: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Event.User.Block.Left: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.User.Block.protoMessageName + ".Left" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "account"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}account\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -240,11 +236,7 @@ extension Anytype_Event.User.Block.Left: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Event.User.Block.TextRange: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.User.Block.protoMessageName + ".TextRange" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "account"), - 2: .same(proto: "blockId"), - 3: .same(proto: "range"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}account\0\u{1}blockId\0\u{1}range\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -288,10 +280,7 @@ extension Anytype_Event.User.Block.TextRange: SwiftProtobuf.Message, SwiftProtob extension Anytype_Event.User.Block.SelectRange: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.User.Block.protoMessageName + ".SelectRange" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "account"), - 2: .same(proto: "blockIdsArray"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}account\0\u{1}blockIdsArray\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.swift index b1a336a52a..115e591a35 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.swift @@ -38,12 +38,7 @@ public struct Anytype_Event: Sendable { extension Anytype_Event: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".Event" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "messages"), - 2: .same(proto: "contextId"), - 3: .same(proto: "initiator"), - 4: .same(proto: "traceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}messages\0\u{1}contextId\0\u{1}initiator\0\u{1}traceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Progress.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Progress.swift index d6ad18641d..166edf684e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Progress.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Progress.swift @@ -30,11 +30,7 @@ extension Anytype_Model.Process { extension Anytype_Model.Process.Progress: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model.Process.protoMessageName + ".Progress" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "total"), - 2: .same(proto: "done"), - 3: .same(proto: "message"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}total\0\u{1}done\0\u{1}message\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.State.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.State.swift index 461efcae30..5c0dd7e483 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.State.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.State.swift @@ -59,13 +59,7 @@ extension Anytype_Model.Process { }} extension Anytype_Model.Process.State: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "None"), - 1: .same(proto: "Running"), - 2: .same(proto: "Done"), - 3: .same(proto: "Canceled"), - 4: .same(proto: "Error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0None\0\u{1}Running\0\u{1}Done\0\u{1}Canceled\0\u{1}Error\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.swift index fb5da27463..76ac343173 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.swift @@ -93,19 +93,7 @@ extension Anytype_Model { extension Anytype_Model.Process: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model.protoMessageName + ".Process" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 3: .same(proto: "state"), - 4: .same(proto: "progress"), - 5: .same(proto: "spaceId"), - 6: .same(proto: "dropFiles"), - 7: .same(proto: "import"), - 8: .same(proto: "export"), - 9: .same(proto: "saveFile"), - 10: .same(proto: "migration"), - 12: .same(proto: "preloadFile"), - 11: .same(proto: "error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{2}\u{2}state\0\u{1}progress\0\u{1}spaceId\0\u{1}dropFiles\0\u{1}import\0\u{1}export\0\u{1}saveFile\0\u{1}migration\0\u{1}error\0\u{1}preloadFile\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_ResponseEvent.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_ResponseEvent.swift index 569b0e1ee4..0e2d391442 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_ResponseEvent.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_ResponseEvent.swift @@ -27,11 +27,7 @@ public struct Anytype_ResponseEvent: Sendable { extension Anytype_ResponseEvent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ResponseEvent" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "messages"), - 2: .same(proto: "contextId"), - 4: .same(proto: "traceId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}messages\0\u{1}contextId\0\u{2}\u{2}traceId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.AppInfo.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.AppInfo.swift index b7b6e1994b..47e28f57a8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.AppInfo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.AppInfo.swift @@ -40,15 +40,7 @@ extension Anytype_Model_Account.Auth { extension Anytype_Model_Account.Auth.AppInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Account.Auth.protoMessageName + ".AppInfo" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "appHash"), - 2: .same(proto: "appName"), - 4: .same(proto: "appKey"), - 5: .same(proto: "createdAt"), - 6: .same(proto: "expireAt"), - 7: .same(proto: "scope"), - 8: .same(proto: "isActive"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}appHash\0\u{1}appName\0\u{2}\u{2}appKey\0\u{1}createdAt\0\u{1}expireAt\0\u{1}scope\0\u{1}isActive\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.LocalApiScope.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.LocalApiScope.swift index 051a8e2658..52c8684d37 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.LocalApiScope.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.LocalApiScope.swift @@ -58,11 +58,7 @@ extension Anytype_Model_Account.Auth { }} extension Anytype_Model_Account.Auth.LocalApiScope: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Limited"), - 1: .same(proto: "JsonAPI"), - 2: .same(proto: "Full"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Limited\0\u{1}JsonAPI\0\u{1}Full\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Config.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Config.swift index 4d101e2efc..323be2d23f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Config.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Config.swift @@ -44,13 +44,7 @@ extension Anytype_Model_Account { extension Anytype_Model_Account.Config: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Account.protoMessageName + ".Config" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "enableDataview"), - 2: .same(proto: "enableDebug"), - 3: .same(proto: "enablePrereleaseChannel"), - 4: .same(proto: "enableSpaces"), - 100: .same(proto: "extra"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}enableDataview\0\u{1}enableDebug\0\u{1}enablePrereleaseChannel\0\u{1}enableSpaces\0\u{2}`\u{1}extra\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Info.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Info.swift index a931812c8c..aeeb134e6b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Info.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Info.swift @@ -124,25 +124,7 @@ extension Anytype_Model_Account { extension Anytype_Model_Account.Info: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Account.protoMessageName + ".Info" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .same(proto: "homeObjectId"), - 3: .same(proto: "archiveObjectId"), - 4: .same(proto: "profileObjectId"), - 11: .same(proto: "marketplaceWorkspaceId"), - 15: .same(proto: "workspaceObjectId"), - 16: .same(proto: "spaceChatId"), - 8: .same(proto: "deviceId"), - 9: .same(proto: "accountSpaceId"), - 10: .same(proto: "widgetsId"), - 13: .same(proto: "spaceViewId"), - 14: .same(proto: "techSpaceId"), - 101: .same(proto: "gatewayUrl"), - 103: .same(proto: "localStoragePath"), - 104: .same(proto: "timeZone"), - 105: .same(proto: "analyticsId"), - 106: .same(proto: "networkId"), - 107: .same(proto: "ethereumAddress"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\u{2}homeObjectId\0\u{1}archiveObjectId\0\u{1}profileObjectId\0\u{2}\u{4}deviceId\0\u{1}accountSpaceId\0\u{1}widgetsId\0\u{1}marketplaceWorkspaceId\0\u{2}\u{2}spaceViewId\0\u{1}techSpaceId\0\u{1}workspaceObjectId\0\u{1}spaceChatId\0\u{2}U\u{1}gatewayUrl\0\u{2}\u{2}localStoragePath\0\u{1}timeZone\0\u{1}analyticsId\0\u{1}networkId\0\u{1}ethereumAddress\0") fileprivate class _StorageClass { var _homeObjectID: String = String() @@ -163,15 +145,11 @@ extension Anytype_Model_Account.Info: SwiftProtobuf.Message, SwiftProtobuf._Mess var _networkID: String = String() var _ethereumAddress: String = String() - #if swift(>=5.10) // This property is used as the initial default value for new instances of the type. // The type itself is protecting the reference to its storage via CoW semantics. // This will force a copy to be made of this reference when the first mutation occurs; // hence, it is safe to mark this as `nonisolated(unsafe)`. static nonisolated(unsafe) let defaultInstance = _StorageClass() - #else - static let defaultInstance = _StorageClass() - #endif private init() {} diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Status.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Status.swift index c3099734c0..fdc78874f3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Status.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Status.swift @@ -29,10 +29,7 @@ extension Anytype_Model_Account { extension Anytype_Model_Account.Status: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Account.protoMessageName + ".Status" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "statusType"), - 2: .same(proto: "deletionDate"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}statusType\0\u{1}deletionDate\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.StatusType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.StatusType.swift index 353737e0a5..106f7f38cf 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.StatusType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.StatusType.swift @@ -56,12 +56,7 @@ extension Anytype_Model_Account { }} extension Anytype_Model_Account.StatusType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Active"), - 1: .same(proto: "PendingDeletion"), - 2: .same(proto: "StartedDeletion"), - 3: .same(proto: "Deleted"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Active\0\u{1}PendingDeletion\0\u{1}StartedDeletion\0\u{1}Deleted\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.swift index f0136850ab..206967ff49 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.swift @@ -56,12 +56,7 @@ public struct Anytype_Model_Account: Sendable { extension Anytype_Model_Account: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".Account" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 4: .same(proto: "config"), - 5: .same(proto: "status"), - 6: .same(proto: "info"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{2}\u{3}config\0\u{1}status\0\u{1}info\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Align.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Align.swift index 65b9d7202c..8981b87d40 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Align.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Align.swift @@ -56,12 +56,7 @@ extension Anytype_Model_Block { }} extension Anytype_Model_Block.Align: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "AlignLeft"), - 1: .same(proto: "AlignCenter"), - 2: .same(proto: "AlignRight"), - 3: .same(proto: "AlignJustify"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0AlignLeft\0\u{1}AlignCenter\0\u{1}AlignRight\0\u{1}AlignJustify\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Bookmark.State.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Bookmark.State.swift index 6ba63c7b91..c70ee418da 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Bookmark.State.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Bookmark.State.swift @@ -56,12 +56,7 @@ extension Anytype_Model_Block.Content.Bookmark { }} extension Anytype_Model_Block.Content.Bookmark.State: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Empty"), - 1: .same(proto: "Fetching"), - 2: .same(proto: "Done"), - 3: .same(proto: "Error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Empty\0\u{1}Fetching\0\u{1}Done\0\u{1}Error\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Bookmark.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Bookmark.swift index d65d1e9a25..4024ffa9e5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Bookmark.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Bookmark.swift @@ -45,16 +45,7 @@ extension Anytype_Model_Block.Content { extension Anytype_Model_Block.Content.Bookmark: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.protoMessageName + ".Bookmark" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "url"), - 2: .same(proto: "title"), - 3: .same(proto: "description"), - 4: .same(proto: "imageHash"), - 5: .same(proto: "faviconHash"), - 6: .same(proto: "type"), - 7: .same(proto: "targetObjectId"), - 8: .same(proto: "state"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}url\0\u{1}title\0\u{1}description\0\u{1}imageHash\0\u{1}faviconHash\0\u{1}type\0\u{1}targetObjectId\0\u{1}state\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Checkbox.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Checkbox.swift index 9b4a4b0140..7ec9d07249 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Checkbox.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Checkbox.swift @@ -27,9 +27,7 @@ extension Anytype_Model_Block.Content.Dataview { extension Anytype_Model_Block.Content.Dataview.Checkbox: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.Dataview.protoMessageName + ".Checkbox" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "checked"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}checked\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Filter.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Filter.swift index ebf880ea6e..1bba53c853 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Filter.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Filter.swift @@ -281,18 +281,7 @@ extension Anytype_Model_Block.Content.Dataview { extension Anytype_Model_Block.Content.Dataview.Filter: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.Dataview.protoMessageName + ".Filter" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 9: .same(proto: "id"), - 1: .same(proto: "operator"), - 2: .same(proto: "RelationKey"), - 5: .same(proto: "relationProperty"), - 3: .same(proto: "condition"), - 4: .same(proto: "value"), - 6: .same(proto: "quickOption"), - 7: .same(proto: "format"), - 8: .same(proto: "includeTime"), - 10: .same(proto: "nestedFilters"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}operator\0\u{1}RelationKey\0\u{1}condition\0\u{1}value\0\u{1}relationProperty\0\u{1}quickOption\0\u{1}format\0\u{1}includeTime\0\u{1}id\0\u{1}nestedFilters\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -370,54 +359,15 @@ extension Anytype_Model_Block.Content.Dataview.Filter: SwiftProtobuf.Message, Sw } extension Anytype_Model_Block.Content.Dataview.Filter.Operator: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "No"), - 1: .same(proto: "Or"), - 2: .same(proto: "And"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0No\0\u{1}Or\0\u{1}And\0") } extension Anytype_Model_Block.Content.Dataview.Filter.Condition: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "None"), - 1: .same(proto: "Equal"), - 2: .same(proto: "NotEqual"), - 3: .same(proto: "Greater"), - 4: .same(proto: "Less"), - 5: .same(proto: "GreaterOrEqual"), - 6: .same(proto: "LessOrEqual"), - 7: .same(proto: "Like"), - 8: .same(proto: "NotLike"), - 9: .same(proto: "In"), - 10: .same(proto: "NotIn"), - 11: .same(proto: "Empty"), - 12: .same(proto: "NotEmpty"), - 13: .same(proto: "AllIn"), - 14: .same(proto: "NotAllIn"), - 15: .same(proto: "ExactIn"), - 16: .same(proto: "NotExactIn"), - 17: .same(proto: "Exists"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0None\0\u{1}Equal\0\u{1}NotEqual\0\u{1}Greater\0\u{1}Less\0\u{1}GreaterOrEqual\0\u{1}LessOrEqual\0\u{1}Like\0\u{1}NotLike\0\u{1}In\0\u{1}NotIn\0\u{1}Empty\0\u{1}NotEmpty\0\u{1}AllIn\0\u{1}NotAllIn\0\u{1}ExactIn\0\u{1}NotExactIn\0\u{1}Exists\0") } extension Anytype_Model_Block.Content.Dataview.Filter.QuickOption: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "ExactDate"), - 1: .same(proto: "Yesterday"), - 2: .same(proto: "Today"), - 3: .same(proto: "Tomorrow"), - 4: .same(proto: "LastWeek"), - 5: .same(proto: "CurrentWeek"), - 6: .same(proto: "NextWeek"), - 7: .same(proto: "LastMonth"), - 8: .same(proto: "CurrentMonth"), - 9: .same(proto: "NextMonth"), - 10: .same(proto: "NumberOfDaysAgo"), - 11: .same(proto: "NumberOfDaysNow"), - 12: .same(proto: "LastYear"), - 13: .same(proto: "CurrentYear"), - 14: .same(proto: "NextYear"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0ExactDate\0\u{1}Yesterday\0\u{1}Today\0\u{1}Tomorrow\0\u{1}LastWeek\0\u{1}CurrentWeek\0\u{1}NextWeek\0\u{1}LastMonth\0\u{1}CurrentMonth\0\u{1}NextMonth\0\u{1}NumberOfDaysAgo\0\u{1}NumberOfDaysNow\0\u{1}LastYear\0\u{1}CurrentYear\0\u{1}NextYear\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Group.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Group.swift index 80b75101fb..8cbb9e726e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Group.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Group.swift @@ -69,13 +69,7 @@ extension Anytype_Model_Block.Content.Dataview { extension Anytype_Model_Block.Content.Dataview.Group: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.Dataview.protoMessageName + ".Group" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "status"), - 3: .same(proto: "tag"), - 4: .same(proto: "checkbox"), - 5: .same(proto: "date"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}status\0\u{1}tag\0\u{1}checkbox\0\u{1}date\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.GroupOrder.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.GroupOrder.swift index 3bac0b0027..2ab7cb73ba 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.GroupOrder.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.GroupOrder.swift @@ -29,10 +29,7 @@ extension Anytype_Model_Block.Content.Dataview { extension Anytype_Model_Block.Content.Dataview.GroupOrder: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.Dataview.protoMessageName + ".GroupOrder" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "viewId"), - 2: .same(proto: "viewGroups"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}viewId\0\u{1}viewGroups\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.ObjectOrder.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.ObjectOrder.swift index f91287816e..ecfcf6461a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.ObjectOrder.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.ObjectOrder.swift @@ -31,11 +31,7 @@ extension Anytype_Model_Block.Content.Dataview { extension Anytype_Model_Block.Content.Dataview.ObjectOrder: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.Dataview.protoMessageName + ".ObjectOrder" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "viewId"), - 2: .same(proto: "groupId"), - 3: .same(proto: "objectIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}viewId\0\u{1}groupId\0\u{1}objectIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Relation.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Relation.swift index 17d062921f..65b633a931 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Relation.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Relation.swift @@ -217,16 +217,7 @@ extension Anytype_Model_Block.Content.Dataview { extension Anytype_Model_Block.Content.Dataview.Relation: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.Dataview.protoMessageName + ".Relation" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "key"), - 2: .same(proto: "isVisible"), - 3: .same(proto: "width"), - 5: .same(proto: "dateIncludeTime"), - 6: .same(proto: "timeFormat"), - 7: .same(proto: "dateFormat"), - 8: .same(proto: "formula"), - 9: .same(proto: "align"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}key\0\u{1}isVisible\0\u{1}width\0\u{2}\u{2}dateIncludeTime\0\u{1}timeFormat\0\u{1}dateFormat\0\u{1}formula\0\u{1}align\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -290,39 +281,15 @@ extension Anytype_Model_Block.Content.Dataview.Relation: SwiftProtobuf.Message, } extension Anytype_Model_Block.Content.Dataview.Relation.DateFormat: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "MonthAbbrBeforeDay"), - 1: .same(proto: "MonthAbbrAfterDay"), - 2: .same(proto: "Short"), - 3: .same(proto: "ShortUS"), - 4: .same(proto: "ISO"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0MonthAbbrBeforeDay\0\u{1}MonthAbbrAfterDay\0\u{1}Short\0\u{1}ShortUS\0\u{1}ISO\0") } extension Anytype_Model_Block.Content.Dataview.Relation.TimeFormat: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Format12"), - 1: .same(proto: "Format24"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Format12\0\u{1}Format24\0") } extension Anytype_Model_Block.Content.Dataview.Relation.FormulaType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "None"), - 1: .same(proto: "Count"), - 2: .same(proto: "CountValue"), - 3: .same(proto: "CountDistinct"), - 4: .same(proto: "CountEmpty"), - 5: .same(proto: "CountNotEmpty"), - 6: .same(proto: "PercentEmpty"), - 7: .same(proto: "PercentNotEmpty"), - 8: .same(proto: "MathSum"), - 9: .same(proto: "MathAverage"), - 10: .same(proto: "MathMedian"), - 11: .same(proto: "MathMin"), - 12: .same(proto: "MathMax"), - 13: .same(proto: "Range"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0None\0\u{1}Count\0\u{1}CountValue\0\u{1}CountDistinct\0\u{1}CountEmpty\0\u{1}CountNotEmpty\0\u{1}PercentEmpty\0\u{1}PercentNotEmpty\0\u{1}MathSum\0\u{1}MathAverage\0\u{1}MathMedian\0\u{1}MathMin\0\u{1}MathMax\0\u{1}Range\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Sort.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Sort.swift index 9693072e1b..411896d0b7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Sort.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Sort.swift @@ -117,16 +117,7 @@ extension Anytype_Model_Block.Content.Dataview { extension Anytype_Model_Block.Content.Dataview.Sort: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.Dataview.protoMessageName + ".Sort" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "RelationKey"), - 2: .same(proto: "type"), - 3: .same(proto: "customOrder"), - 4: .same(proto: "format"), - 5: .same(proto: "includeTime"), - 6: .same(proto: "id"), - 7: .same(proto: "emptyPlacement"), - 8: .same(proto: "noCollate"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}RelationKey\0\u{1}type\0\u{1}customOrder\0\u{1}format\0\u{1}includeTime\0\u{1}id\0\u{1}emptyPlacement\0\u{1}noCollate\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -190,19 +181,11 @@ extension Anytype_Model_Block.Content.Dataview.Sort: SwiftProtobuf.Message, Swif } extension Anytype_Model_Block.Content.Dataview.Sort.TypeEnum: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Asc"), - 1: .same(proto: "Desc"), - 2: .same(proto: "Custom"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Asc\0\u{1}Desc\0\u{1}Custom\0") } extension Anytype_Model_Block.Content.Dataview.Sort.EmptyType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NotSpecified"), - 1: .same(proto: "Start"), - 2: .same(proto: "End"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NotSpecified\0\u{1}Start\0\u{1}End\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Status.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Status.swift index 22989b487f..947e2bf542 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Status.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Status.swift @@ -27,9 +27,7 @@ extension Anytype_Model_Block.Content.Dataview { extension Anytype_Model_Block.Content.Dataview.Status: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.Dataview.protoMessageName + ".Status" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Tag.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Tag.swift index b4b7ee6bc8..a404710c53 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Tag.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Tag.swift @@ -27,9 +27,7 @@ extension Anytype_Model_Block.Content.Dataview { extension Anytype_Model_Block.Content.Dataview.Tag: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.Dataview.protoMessageName + ".Tag" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "ids"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}ids\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.View.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.View.swift index ff8d114df6..89fccbb61a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.View.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.View.swift @@ -156,24 +156,7 @@ extension Anytype_Model_Block.Content.Dataview { extension Anytype_Model_Block.Content.Dataview.View: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.Dataview.protoMessageName + ".View" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "type"), - 3: .same(proto: "name"), - 4: .same(proto: "sorts"), - 5: .same(proto: "filters"), - 6: .same(proto: "relations"), - 7: .same(proto: "coverRelationKey"), - 8: .same(proto: "hideIcon"), - 9: .same(proto: "cardSize"), - 10: .same(proto: "coverFit"), - 11: .same(proto: "groupRelationKey"), - 12: .same(proto: "groupBackgroundColors"), - 13: .same(proto: "pageLimit"), - 14: .same(proto: "defaultTemplateId"), - 15: .same(proto: "defaultObjectTypeId"), - 16: .same(proto: "endRelationKey"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}type\0\u{1}name\0\u{1}sorts\0\u{1}filters\0\u{1}relations\0\u{1}coverRelationKey\0\u{1}hideIcon\0\u{1}cardSize\0\u{1}coverFit\0\u{1}groupRelationKey\0\u{1}groupBackgroundColors\0\u{1}pageLimit\0\u{1}defaultTemplateId\0\u{1}defaultObjectTypeId\0\u{1}endRelationKey\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -277,22 +260,11 @@ extension Anytype_Model_Block.Content.Dataview.View: SwiftProtobuf.Message, Swif } extension Anytype_Model_Block.Content.Dataview.View.TypeEnum: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Table"), - 1: .same(proto: "List"), - 2: .same(proto: "Gallery"), - 3: .same(proto: "Kanban"), - 4: .same(proto: "Calendar"), - 5: .same(proto: "Graph"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Table\0\u{1}List\0\u{1}Gallery\0\u{1}Kanban\0\u{1}Calendar\0\u{1}Graph\0") } extension Anytype_Model_Block.Content.Dataview.View.Size: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Small"), - 1: .same(proto: "Medium"), - 2: .same(proto: "Large"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Small\0\u{1}Medium\0\u{1}Large\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.ViewGroup.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.ViewGroup.swift index dce94d3e45..50ce1a2754 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.ViewGroup.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.ViewGroup.swift @@ -33,12 +33,7 @@ extension Anytype_Model_Block.Content.Dataview { extension Anytype_Model_Block.Content.Dataview.ViewGroup: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.Dataview.protoMessageName + ".ViewGroup" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "groupId"), - 2: .same(proto: "index"), - 3: .same(proto: "hidden"), - 4: .same(proto: "backgroundColor"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}groupId\0\u{1}index\0\u{1}hidden\0\u{1}backgroundColor\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.swift index 1b93314f75..92c960c9b9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.swift @@ -47,17 +47,7 @@ extension Anytype_Model_Block.Content { extension Anytype_Model_Block.Content.Dataview: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.protoMessageName + ".Dataview" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "source"), - 2: .same(proto: "views"), - 3: .same(proto: "activeView"), - 4: .same(proto: "relations"), - 12: .same(proto: "groupOrders"), - 13: .same(proto: "objectOrders"), - 5: .same(proto: "relationLinks"), - 6: .same(proto: "TargetObjectId"), - 14: .same(proto: "isCollection"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}source\0\u{1}views\0\u{1}activeView\0\u{1}relations\0\u{1}relationLinks\0\u{1}TargetObjectId\0\u{2}\u{6}groupOrders\0\u{1}objectOrders\0\u{1}isCollection\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Div.Style.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Div.Style.swift index 481ee89b83..f721bbe44d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Div.Style.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Div.Style.swift @@ -48,10 +48,7 @@ extension Anytype_Model_Block.Content.Div { }} extension Anytype_Model_Block.Content.Div.Style: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Line"), - 1: .same(proto: "Dots"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Line\0\u{1}Dots\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Div.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Div.swift index 07b36e4a7e..143ffaf50f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Div.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Div.swift @@ -27,9 +27,7 @@ extension Anytype_Model_Block.Content { extension Anytype_Model_Block.Content.Div: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.protoMessageName + ".Div" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "style"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}style\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.State.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.State.swift index f3bb72dddd..65b1b09406 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.State.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.State.swift @@ -64,12 +64,7 @@ extension Anytype_Model_Block.Content.File { }} extension Anytype_Model_Block.Content.File.State: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Empty"), - 1: .same(proto: "Uploading"), - 2: .same(proto: "Done"), - 3: .same(proto: "Error"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Empty\0\u{1}Uploading\0\u{1}Done\0\u{1}Error\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.Style.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.Style.swift index d078ef5f76..e05aac3794 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.Style.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.Style.swift @@ -54,11 +54,7 @@ extension Anytype_Model_Block.Content.File { }} extension Anytype_Model_Block.Content.File.Style: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Auto"), - 1: .same(proto: "Link"), - 2: .same(proto: "Embed"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Auto\0\u{1}Link\0\u{1}Embed\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.TypeEnum.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.TypeEnum.swift index 9d759c3127..d7f51248e7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.TypeEnum.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.TypeEnum.swift @@ -64,14 +64,7 @@ extension Anytype_Model_Block.Content.File { }} extension Anytype_Model_Block.Content.File.TypeEnum: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "None"), - 1: .same(proto: "File"), - 2: .same(proto: "Image"), - 3: .same(proto: "Video"), - 4: .same(proto: "Audio"), - 5: .same(proto: "PDF"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0None\0\u{1}File\0\u{1}Image\0\u{1}Video\0\u{1}Audio\0\u{1}PDF\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.swift index df823de9cd..236bbfb51f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.swift @@ -43,17 +43,7 @@ extension Anytype_Model_Block.Content { extension Anytype_Model_Block.Content.File: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.protoMessageName + ".File" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "hash"), - 2: .same(proto: "name"), - 3: .same(proto: "type"), - 4: .same(proto: "mime"), - 5: .same(proto: "size"), - 6: .same(proto: "addedAt"), - 9: .same(proto: "targetObjectId"), - 7: .same(proto: "state"), - 8: .same(proto: "style"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}hash\0\u{1}name\0\u{1}type\0\u{1}mime\0\u{1}size\0\u{1}addedAt\0\u{1}state\0\u{1}style\0\u{1}targetObjectId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Icon.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Icon.swift index baeff8dc63..29e823149b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Icon.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Icon.swift @@ -27,9 +27,7 @@ extension Anytype_Model_Block.Content { extension Anytype_Model_Block.Content.Icon: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.protoMessageName + ".Icon" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "name"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}name\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Latex.Processor.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Latex.Processor.swift index 4509e5a2f6..11fc6a1c90 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Latex.Processor.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Latex.Processor.swift @@ -140,33 +140,7 @@ extension Anytype_Model_Block.Content.Latex { }} extension Anytype_Model_Block.Content.Latex.Processor: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Latex"), - 1: .same(proto: "Mermaid"), - 2: .same(proto: "Chart"), - 3: .same(proto: "Youtube"), - 4: .same(proto: "Vimeo"), - 5: .same(proto: "Soundcloud"), - 6: .same(proto: "GoogleMaps"), - 7: .same(proto: "Miro"), - 8: .same(proto: "Figma"), - 9: .same(proto: "Twitter"), - 10: .same(proto: "OpenStreetMap"), - 11: .same(proto: "Reddit"), - 12: .same(proto: "Facebook"), - 13: .same(proto: "Instagram"), - 14: .same(proto: "Telegram"), - 15: .same(proto: "GithubGist"), - 16: .same(proto: "Codepen"), - 17: .same(proto: "Bilibili"), - 18: .same(proto: "Excalidraw"), - 19: .same(proto: "Kroki"), - 20: .same(proto: "Graphviz"), - 21: .same(proto: "Sketchfab"), - 22: .same(proto: "Image"), - 23: .same(proto: "Drawio"), - 24: .same(proto: "Spotify"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Latex\0\u{1}Mermaid\0\u{1}Chart\0\u{1}Youtube\0\u{1}Vimeo\0\u{1}Soundcloud\0\u{1}GoogleMaps\0\u{1}Miro\0\u{1}Figma\0\u{1}Twitter\0\u{1}OpenStreetMap\0\u{1}Reddit\0\u{1}Facebook\0\u{1}Instagram\0\u{1}Telegram\0\u{1}GithubGist\0\u{1}Codepen\0\u{1}Bilibili\0\u{1}Excalidraw\0\u{1}Kroki\0\u{1}Graphviz\0\u{1}Sketchfab\0\u{1}Image\0\u{1}Drawio\0\u{1}Spotify\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Latex.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Latex.swift index ec57c16f7f..4b6aacf57d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Latex.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Latex.swift @@ -29,10 +29,7 @@ extension Anytype_Model_Block.Content { extension Anytype_Model_Block.Content.Latex: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.protoMessageName + ".Latex" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "text"), - 2: .same(proto: "processor"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}text\0\u{1}processor\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Layout.Style.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Layout.Style.swift index 24a468d4a5..a1854f8276 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Layout.Style.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Layout.Style.swift @@ -64,14 +64,7 @@ extension Anytype_Model_Block.Content.Layout { }} extension Anytype_Model_Block.Content.Layout.Style: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Row"), - 1: .same(proto: "Column"), - 2: .same(proto: "Div"), - 3: .same(proto: "Header"), - 4: .same(proto: "TableRows"), - 5: .same(proto: "TableColumns"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Row\0\u{1}Column\0\u{1}Div\0\u{1}Header\0\u{1}TableRows\0\u{1}TableColumns\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Layout.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Layout.swift index 82c3150c9f..ac40e94200 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Layout.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Layout.swift @@ -27,9 +27,7 @@ extension Anytype_Model_Block.Content { extension Anytype_Model_Block.Content.Layout: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.protoMessageName + ".Layout" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "style"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}style\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.CardStyle.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.CardStyle.swift index f08c07e914..d5366a3f7a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.CardStyle.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.CardStyle.swift @@ -52,11 +52,7 @@ extension Anytype_Model_Block.Content.Link { }} extension Anytype_Model_Block.Content.Link.CardStyle: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Text"), - 1: .same(proto: "Card"), - 2: .same(proto: "Inline"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Text\0\u{1}Card\0\u{1}Inline\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.Description.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.Description.swift index a658ae1f1d..29cc72043e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.Description.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.Description.swift @@ -52,11 +52,7 @@ extension Anytype_Model_Block.Content.Link { }} extension Anytype_Model_Block.Content.Link.Description: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "None"), - 1: .same(proto: "Added"), - 2: .same(proto: "Content"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0None\0\u{1}Added\0\u{1}Content\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.IconSize.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.IconSize.swift index 41d817871f..07c3e11c6c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.IconSize.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.IconSize.swift @@ -52,11 +52,7 @@ extension Anytype_Model_Block.Content.Link { }} extension Anytype_Model_Block.Content.Link.IconSize: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SizeNone"), - 1: .same(proto: "SizeSmall"), - 2: .same(proto: "SizeMedium"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0SizeNone\0\u{1}SizeSmall\0\u{1}SizeMedium\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.Style.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.Style.swift index 9f2663b907..d5f1b0d61b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.Style.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.Style.swift @@ -58,12 +58,7 @@ extension Anytype_Model_Block.Content.Link { }} extension Anytype_Model_Block.Content.Link.Style: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Page"), - 1: .same(proto: "Dataview"), - 2: .same(proto: "Dashboard"), - 3: .same(proto: "Archive"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Page\0\u{1}Dataview\0\u{1}Dashboard\0\u{1}Archive\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.swift index a29336376e..3e752cb251 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.swift @@ -50,15 +50,7 @@ extension Anytype_Model_Block.Content { extension Anytype_Model_Block.Content.Link: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.protoMessageName + ".Link" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "targetBlockId"), - 2: .same(proto: "style"), - 3: .same(proto: "fields"), - 4: .same(proto: "iconSize"), - 5: .same(proto: "cardStyle"), - 6: .same(proto: "description"), - 7: .same(proto: "relations"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}targetBlockId\0\u{1}style\0\u{1}fields\0\u{1}iconSize\0\u{1}cardStyle\0\u{1}description\0\u{1}relations\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Relation.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Relation.swift index 7e10c4fb74..f7aee56984 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Relation.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Relation.swift @@ -27,9 +27,7 @@ extension Anytype_Model_Block.Content { extension Anytype_Model_Block.Content.Relation: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.protoMessageName + ".Relation" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "key"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}key\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.TableRow.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.TableRow.swift index 60482ed517..6499216824 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.TableRow.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.TableRow.swift @@ -27,9 +27,7 @@ extension Anytype_Model_Block.Content { extension Anytype_Model_Block.Content.TableRow: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.protoMessageName + ".TableRow" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "isHeader"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}isHeader\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Mark.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Mark.swift index 35dc65e4a8..35028490d7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Mark.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Mark.swift @@ -112,11 +112,7 @@ extension Anytype_Model_Block.Content.Text { extension Anytype_Model_Block.Content.Text.Mark: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.Text.protoMessageName + ".Mark" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "range"), - 2: .same(proto: "type"), - 3: .same(proto: "param"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}range\0\u{1}type\0\u{1}param\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -159,19 +155,7 @@ extension Anytype_Model_Block.Content.Text.Mark: SwiftProtobuf.Message, SwiftPro } extension Anytype_Model_Block.Content.Text.Mark.TypeEnum: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Strikethrough"), - 1: .same(proto: "Keyboard"), - 2: .same(proto: "Italic"), - 3: .same(proto: "Bold"), - 4: .same(proto: "Underscored"), - 5: .same(proto: "Link"), - 6: .same(proto: "TextColor"), - 7: .same(proto: "BackgroundColor"), - 8: .same(proto: "Mention"), - 9: .same(proto: "Emoji"), - 10: .same(proto: "Object"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Strikethrough\0\u{1}Keyboard\0\u{1}Italic\0\u{1}Bold\0\u{1}Underscored\0\u{1}Link\0\u{1}TextColor\0\u{1}BackgroundColor\0\u{1}Mention\0\u{1}Emoji\0\u{1}Object\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Marks.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Marks.swift index 737f11004d..e9b51c39a1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Marks.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Marks.swift @@ -27,9 +27,7 @@ extension Anytype_Model_Block.Content.Text { extension Anytype_Model_Block.Content.Text.Marks: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.Text.protoMessageName + ".Marks" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "marks"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}marks\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Style.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Style.swift index c935701ab5..9ea239bd24 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Style.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Style.swift @@ -102,22 +102,7 @@ extension Anytype_Model_Block.Content.Text { }} extension Anytype_Model_Block.Content.Text.Style: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Paragraph"), - 1: .same(proto: "Header1"), - 2: .same(proto: "Header2"), - 3: .same(proto: "Header3"), - 4: .same(proto: "Header4"), - 5: .same(proto: "Quote"), - 6: .same(proto: "Code"), - 7: .same(proto: "Title"), - 8: .same(proto: "Checkbox"), - 9: .same(proto: "Marked"), - 10: .same(proto: "Numbered"), - 11: .same(proto: "Toggle"), - 12: .same(proto: "Description"), - 13: .same(proto: "Callout"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Paragraph\0\u{1}Header1\0\u{1}Header2\0\u{1}Header3\0\u{1}Header4\0\u{1}Quote\0\u{1}Code\0\u{1}Title\0\u{1}Checkbox\0\u{1}Marked\0\u{1}Numbered\0\u{1}Toggle\0\u{1}Description\0\u{1}Callout\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.swift index fa6cd79d90..a3d4956b60 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.swift @@ -51,15 +51,7 @@ extension Anytype_Model_Block.Content { extension Anytype_Model_Block.Content.Text: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.protoMessageName + ".Text" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "text"), - 2: .same(proto: "style"), - 3: .same(proto: "marks"), - 4: .same(proto: "checked"), - 5: .same(proto: "color"), - 6: .same(proto: "iconEmoji"), - 7: .same(proto: "iconImage"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}text\0\u{1}style\0\u{1}marks\0\u{1}checked\0\u{1}color\0\u{1}iconEmoji\0\u{1}iconImage\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Widget.Layout.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Widget.Layout.swift index 1217e9afcd..4d88b949b7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Widget.Layout.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Widget.Layout.swift @@ -60,13 +60,7 @@ extension Anytype_Model_Block.Content.Widget { }} extension Anytype_Model_Block.Content.Widget.Layout: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Link"), - 1: .same(proto: "Tree"), - 2: .same(proto: "List"), - 3: .same(proto: "CompactList"), - 4: .same(proto: "View"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Link\0\u{1}Tree\0\u{1}List\0\u{1}CompactList\0\u{1}View\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Widget.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Widget.swift index 728100eb09..6dffa51e10 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Widget.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Widget.swift @@ -33,12 +33,7 @@ extension Anytype_Model_Block.Content { extension Anytype_Model_Block.Content.Widget: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.Content.protoMessageName + ".Widget" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "layout"), - 2: .same(proto: "limit"), - 3: .same(proto: "viewId"), - 4: .same(proto: "autoAdded"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}layout\0\u{1}limit\0\u{1}viewId\0\u{1}autoAdded\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Position.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Position.swift index 2506573994..6b56b3f08f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Position.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Position.swift @@ -86,16 +86,7 @@ extension Anytype_Model_Block { }} extension Anytype_Model_Block.Position: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "None"), - 1: .same(proto: "Top"), - 2: .same(proto: "Bottom"), - 3: .same(proto: "Left"), - 4: .same(proto: "Right"), - 5: .same(proto: "Inner"), - 6: .same(proto: "Replace"), - 7: .same(proto: "InnerFirst"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0None\0\u{1}Top\0\u{1}Bottom\0\u{1}Left\0\u{1}Right\0\u{1}Inner\0\u{1}Replace\0\u{1}InnerFirst\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Restrictions.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Restrictions.swift index e299b37b19..ad77e172fe 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Restrictions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Restrictions.swift @@ -35,13 +35,7 @@ extension Anytype_Model_Block { extension Anytype_Model_Block.Restrictions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Block.protoMessageName + ".Restrictions" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "read"), - 2: .same(proto: "edit"), - 3: .same(proto: "remove"), - 4: .same(proto: "drag"), - 5: .same(proto: "dropOn"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}read\0\u{1}edit\0\u{1}remove\0\u{1}drag\0\u{1}dropOn\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.VerticalAlign.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.VerticalAlign.swift index cda60b0152..8b3837991c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.VerticalAlign.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.VerticalAlign.swift @@ -52,11 +52,7 @@ extension Anytype_Model_Block { }} extension Anytype_Model_Block.VerticalAlign: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "VerticalAlignTop"), - 1: .same(proto: "VerticalAlignMiddle"), - 2: .same(proto: "VerticalAlignBottom"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0VerticalAlignTop\0\u{1}VerticalAlignMiddle\0\u{1}VerticalAlignBottom\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.swift index e2d5bae032..eb2df4732f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.swift @@ -216,33 +216,7 @@ public struct Anytype_Model_Block: @unchecked Sendable { extension Anytype_Model_Block: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".Block" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "fields"), - 3: .same(proto: "restrictions"), - 4: .same(proto: "childrenIds"), - 5: .same(proto: "backgroundColor"), - 6: .same(proto: "align"), - 7: .same(proto: "verticalAlign"), - 11: .same(proto: "smartblock"), - 14: .same(proto: "text"), - 15: .same(proto: "file"), - 16: .same(proto: "layout"), - 17: .same(proto: "div"), - 18: .same(proto: "bookmark"), - 19: .same(proto: "icon"), - 20: .same(proto: "link"), - 21: .same(proto: "dataview"), - 22: .same(proto: "relation"), - 23: .same(proto: "featuredRelations"), - 24: .same(proto: "latex"), - 25: .same(proto: "tableOfContents"), - 26: .same(proto: "table"), - 27: .same(proto: "tableColumn"), - 28: .same(proto: "tableRow"), - 29: .same(proto: "widget"), - 30: .same(proto: "chat"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}fields\0\u{1}restrictions\0\u{1}childrenIds\0\u{1}backgroundColor\0\u{1}align\0\u{1}verticalAlign\0\u{2}\u{4}smartblock\0\u{2}\u{3}text\0\u{1}file\0\u{1}layout\0\u{1}div\0\u{1}bookmark\0\u{1}icon\0\u{1}link\0\u{1}dataview\0\u{1}relation\0\u{1}featuredRelations\0\u{1}latex\0\u{1}tableOfContents\0\u{1}table\0\u{1}tableColumn\0\u{1}tableRow\0\u{1}widget\0\u{1}chat\0") fileprivate class _StorageClass { var _id: String = String() @@ -254,15 +228,11 @@ extension Anytype_Model_Block: SwiftProtobuf.Message, SwiftProtobuf._MessageImpl var _verticalAlign: Anytype_Model_Block.VerticalAlign = .top var _content: Anytype_Model_Block.OneOf_Content? - #if swift(>=5.10) // This property is used as the initial default value for new instances of the type. // The type itself is protecting the reference to its storage via CoW semantics. // This will force a copy to be made of this reference when the first mutation occurs; // hence, it is safe to mark this as `nonisolated(unsafe)`. static nonisolated(unsafe) let defaultInstance = _StorageClass() - #else - static let defaultInstance = _StorageClass() - #endif private init() {} diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_BlockMetaOnly.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_BlockMetaOnly.swift index 8fbb6e75c7..f60dc52fe1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_BlockMetaOnly.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_BlockMetaOnly.swift @@ -35,10 +35,7 @@ public struct Anytype_Model_BlockMetaOnly: Sendable { extension Anytype_Model_BlockMetaOnly: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".BlockMetaOnly" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "fields"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}fields\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Attachment.AttachmentType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Attachment.AttachmentType.swift index aca307a279..79e8fb4ff7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Attachment.AttachmentType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Attachment.AttachmentType.swift @@ -58,11 +58,7 @@ extension Anytype_Model_ChatMessage.Attachment { }} extension Anytype_Model_ChatMessage.Attachment.AttachmentType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "FILE"), - 1: .same(proto: "IMAGE"), - 2: .same(proto: "LINK"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0FILE\0\u{1}IMAGE\0\u{1}LINK\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Attachment.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Attachment.swift index 2160326160..c892be5e19 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Attachment.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Attachment.swift @@ -31,10 +31,7 @@ extension Anytype_Model_ChatMessage { extension Anytype_Model_ChatMessage.Attachment: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_ChatMessage.protoMessageName + ".Attachment" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "target"), - 2: .same(proto: "type"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}target\0\u{1}type\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.MessageContent.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.MessageContent.swift index 86eb79c7ce..1dde864adf 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.MessageContent.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.MessageContent.swift @@ -34,11 +34,7 @@ extension Anytype_Model_ChatMessage { extension Anytype_Model_ChatMessage.MessageContent: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_ChatMessage.protoMessageName + ".MessageContent" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "text"), - 2: .same(proto: "style"), - 3: .same(proto: "marks"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}text\0\u{1}style\0\u{1}marks\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Reactions.IdentityList.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Reactions.IdentityList.swift index e37988813f..ea50ac21c9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Reactions.IdentityList.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Reactions.IdentityList.swift @@ -28,9 +28,7 @@ extension Anytype_Model_ChatMessage.Reactions { extension Anytype_Model_ChatMessage.Reactions.IdentityList: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_ChatMessage.Reactions.protoMessageName + ".IdentityList" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "ids"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}ids\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Reactions.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Reactions.swift index 9481dc8528..02c1e8a775 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Reactions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Reactions.swift @@ -28,9 +28,7 @@ extension Anytype_Model_ChatMessage { extension Anytype_Model_ChatMessage.Reactions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_ChatMessage.protoMessageName + ".Reactions" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "reactions"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}reactions\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.swift index 3a50b9bcba..c447e00b15 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.swift @@ -76,22 +76,7 @@ public struct Anytype_Model_ChatMessage: Sendable { extension Anytype_Model_ChatMessage: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ChatMessage" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "orderId"), - 3: .same(proto: "creator"), - 4: .same(proto: "createdAt"), - 9: .same(proto: "modifiedAt"), - 11: .same(proto: "stateId"), - 5: .same(proto: "replyToMessageId"), - 6: .same(proto: "message"), - 7: .same(proto: "attachments"), - 8: .same(proto: "reactions"), - 10: .same(proto: "read"), - 12: .same(proto: "mentionRead"), - 14: .same(proto: "hasMention"), - 13: .same(proto: "synced"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}orderId\0\u{1}creator\0\u{1}createdAt\0\u{1}replyToMessageId\0\u{1}message\0\u{1}attachments\0\u{1}reactions\0\u{1}modifiedAt\0\u{1}read\0\u{1}stateId\0\u{1}mentionRead\0\u{1}synced\0\u{1}hasMention\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatState.UnreadState.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatState.UnreadState.swift index 5245289725..821738116c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatState.UnreadState.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatState.UnreadState.swift @@ -31,10 +31,7 @@ extension Anytype_Model_ChatState { extension Anytype_Model_ChatState.UnreadState: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_ChatState.protoMessageName + ".UnreadState" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "oldestOrderId"), - 2: .same(proto: "counter"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}oldestOrderId\0\u{1}counter\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatState.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatState.swift index 5f59e3aa0d..056695c4cb 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatState.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatState.swift @@ -51,12 +51,7 @@ public struct Anytype_Model_ChatState: Sendable { extension Anytype_Model_ChatState: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ChatState" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "messages"), - 2: .same(proto: "mentions"), - 3: .same(proto: "lastStateId"), - 4: .same(proto: "order"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}messages\0\u{1}mentions\0\u{1}lastStateId\0\u{1}order\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Detail.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Detail.swift index 711cf682ea..18239d0285 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Detail.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Detail.swift @@ -36,10 +36,7 @@ public struct Anytype_Model_Detail: Sendable { extension Anytype_Model_Detail: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".Detail" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "key"), - 2: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}key\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_DeviceInfo.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_DeviceInfo.swift index a9b2cdaaf5..b4e2667c99 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_DeviceInfo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_DeviceInfo.swift @@ -32,13 +32,7 @@ public struct Anytype_Model_DeviceInfo: Sendable { extension Anytype_Model_DeviceInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".DeviceInfo" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "name"), - 3: .same(proto: "addDate"), - 4: .same(proto: "archived"), - 5: .same(proto: "isConnected"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}name\0\u{1}addDate\0\u{1}archived\0\u{1}isConnected\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_DeviceNetworkType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_DeviceNetworkType.swift index 3f6d0dcfc3..a4e793054b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_DeviceNetworkType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_DeviceNetworkType.swift @@ -50,11 +50,7 @@ public enum Anytype_Model_DeviceNetworkType: SwiftProtobuf.Enum, Swift.CaseItera } extension Anytype_Model_DeviceNetworkType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "WIFI"), - 1: .same(proto: "CELLULAR"), - 2: .same(proto: "NOT_CONNECTED"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0WIFI\0\u{1}CELLULAR\0\u{1}NOT_CONNECTED\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Export.Format.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Export.Format.swift index 37c200edf9..cbefc82915 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Export.Format.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Export.Format.swift @@ -64,14 +64,7 @@ extension Anytype_Model_Export { }} extension Anytype_Model_Export.Format: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Markdown"), - 1: .same(proto: "Protobuf"), - 2: .same(proto: "JSON"), - 3: .same(proto: "DOT"), - 4: .same(proto: "SVG"), - 5: .same(proto: "GRAPH_JSON"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Markdown\0\u{1}Protobuf\0\u{1}JSON\0\u{1}DOT\0\u{1}SVG\0\u{1}GRAPH_JSON\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileEncryptionKey.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileEncryptionKey.swift index f73bcb184a..65aa758481 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileEncryptionKey.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileEncryptionKey.swift @@ -26,10 +26,7 @@ public struct Anytype_Model_FileEncryptionKey: Sendable { extension Anytype_Model_FileEncryptionKey: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".FileEncryptionKey" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "path"), - 2: .same(proto: "key"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}path\0\u{1}key\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileIndexingStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileIndexingStatus.swift index 6fc2bad013..d46780f855 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileIndexingStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileIndexingStatus.swift @@ -50,11 +50,7 @@ public enum Anytype_Model_FileIndexingStatus: SwiftProtobuf.Enum, Swift.CaseIter } extension Anytype_Model_FileIndexingStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NotIndexed"), - 1: .same(proto: "Indexed"), - 2: .same(proto: "NotFound"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NotIndexed\0\u{1}Indexed\0\u{1}NotFound\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileInfo.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileInfo.swift index 8cac5e3113..45bb448d0a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileInfo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileInfo.swift @@ -26,10 +26,7 @@ public struct Anytype_Model_FileInfo: Sendable { extension Anytype_Model_FileInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".FileInfo" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "fileId"), - 2: .same(proto: "encryptionKeys"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}fileId\0\u{1}encryptionKeys\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_IdentityProfile.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_IdentityProfile.swift index 7a8f1a54ef..a50f465da5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_IdentityProfile.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_IdentityProfile.swift @@ -34,14 +34,7 @@ public struct Anytype_Model_IdentityProfile: Sendable { extension Anytype_Model_IdentityProfile: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".IdentityProfile" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "identity"), - 2: .same(proto: "name"), - 3: .same(proto: "iconCid"), - 4: .same(proto: "iconEncryptionKeys"), - 5: .same(proto: "description"), - 6: .same(proto: "globalName"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}identity\0\u{1}name\0\u{1}iconCid\0\u{1}iconEncryptionKeys\0\u{1}description\0\u{1}globalName\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ImageKind.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ImageKind.swift index 7256e9e696..ce247858be 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ImageKind.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ImageKind.swift @@ -54,12 +54,7 @@ public enum Anytype_Model_ImageKind: SwiftProtobuf.Enum, Swift.CaseIterable { } extension Anytype_Model_ImageKind: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Basic"), - 1: .same(proto: "Cover"), - 2: .same(proto: "Icon"), - 3: .same(proto: "AutomaticallyAdded"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Basic\0\u{1}Cover\0\u{1}Icon\0\u{1}AutomaticallyAdded\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.ErrorCode.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.ErrorCode.swift index 02237cc46f..5452868bbb 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.ErrorCode.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.ErrorCode.swift @@ -100,23 +100,7 @@ extension Anytype_Model_Import { }} extension Anytype_Model_Import.ErrorCode: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - 3: .same(proto: "INTERNAL_ERROR"), - 5: .same(proto: "NOTION_NO_OBJECTS_IN_INTEGRATION"), - 6: .same(proto: "IMPORT_IS_CANCELED"), - 7: .same(proto: "CSV_LIMIT_OF_ROWS_OR_RELATIONS_EXCEEDED"), - 8: .same(proto: "FILE_LOAD_ERROR"), - 9: .same(proto: "INSUFFICIENT_PERMISSIONS"), - 10: .same(proto: "HTML_WRONG_HTML_STRUCTURE"), - 11: .same(proto: "PB_NOT_ANYBLOCK_FORMAT"), - 12: .same(proto: "NOTION_SERVER_IS_UNAVAILABLE"), - 13: .same(proto: "NOTION_RATE_LIMIT_EXCEEDED"), - 14: .same(proto: "FILE_IMPORT_NO_OBJECTS_IN_ZIP_ARCHIVE"), - 17: .same(proto: "FILE_IMPORT_NO_OBJECTS_IN_DIRECTORY"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0\u{1}INTERNAL_ERROR\0\u{2}\u{2}NOTION_NO_OBJECTS_IN_INTEGRATION\0\u{1}IMPORT_IS_CANCELED\0\u{1}CSV_LIMIT_OF_ROWS_OR_RELATIONS_EXCEEDED\0\u{1}FILE_LOAD_ERROR\0\u{1}INSUFFICIENT_PERMISSIONS\0\u{1}HTML_WRONG_HTML_STRUCTURE\0\u{1}PB_NOT_ANYBLOCK_FORMAT\0\u{1}NOTION_SERVER_IS_UNAVAILABLE\0\u{1}NOTION_RATE_LIMIT_EXCEEDED\0\u{1}FILE_IMPORT_NO_OBJECTS_IN_ZIP_ARCHIVE\0\u{2}\u{3}FILE_IMPORT_NO_OBJECTS_IN_DIRECTORY\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.TypeEnum.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.TypeEnum.swift index 87ab4973ee..286fac925d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.TypeEnum.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.TypeEnum.swift @@ -76,16 +76,7 @@ extension Anytype_Model_Import { }} extension Anytype_Model_Import.TypeEnum: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Notion"), - 1: .same(proto: "Markdown"), - 2: .same(proto: "External"), - 3: .same(proto: "Pb"), - 4: .same(proto: "Html"), - 5: .same(proto: "Txt"), - 6: .same(proto: "Csv"), - 7: .same(proto: "Obsidian"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Notion\0\u{1}Markdown\0\u{1}External\0\u{1}Pb\0\u{1}Html\0\u{1}Txt\0\u{1}Csv\0\u{1}Obsidian\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InternalFlag.Value.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InternalFlag.Value.swift index 1f95386d36..c03067c4c3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InternalFlag.Value.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InternalFlag.Value.swift @@ -58,12 +58,7 @@ extension Anytype_Model_InternalFlag { }} extension Anytype_Model_InternalFlag.Value: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "editorDeleteEmpty"), - 1: .same(proto: "editorSelectType"), - 2: .same(proto: "editorSelectTemplate"), - 3: .same(proto: "collectionDontIndexLinks"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0editorDeleteEmpty\0\u{1}editorSelectType\0\u{1}editorSelectTemplate\0\u{1}collectionDontIndexLinks\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InternalFlag.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InternalFlag.swift index 3fa7f6e90d..296abc9888 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InternalFlag.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InternalFlag.swift @@ -24,9 +24,7 @@ public struct Anytype_Model_InternalFlag: Sendable { extension Anytype_Model_InternalFlag: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".InternalFlag" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Invite.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Invite.swift index 35d66826c0..f852ef3458 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Invite.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Invite.swift @@ -10,7 +10,7 @@ import Foundation import SwiftProtobuf -public struct Anytype_Model_Invite: @unchecked Sendable { +public struct Anytype_Model_Invite: Sendable { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. @@ -26,10 +26,7 @@ public struct Anytype_Model_Invite: @unchecked Sendable { extension Anytype_Model_Invite: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".Invite" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "payload"), - 2: .same(proto: "signature"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}payload\0\u{1}signature\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InvitePayload.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InvitePayload.swift index 6b5f14bc02..1d9608a157 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InvitePayload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InvitePayload.swift @@ -10,7 +10,7 @@ import Foundation import SwiftProtobuf -public struct Anytype_Model_InvitePayload: @unchecked Sendable { +public struct Anytype_Model_InvitePayload: Sendable { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. @@ -40,17 +40,7 @@ public struct Anytype_Model_InvitePayload: @unchecked Sendable { extension Anytype_Model_InvitePayload: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".InvitePayload" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "creatorIdentity"), - 2: .same(proto: "creatorName"), - 3: .same(proto: "aclKey"), - 4: .same(proto: "spaceId"), - 5: .same(proto: "spaceName"), - 6: .same(proto: "spaceIconCid"), - 7: .same(proto: "spaceIconEncryptionKeys"), - 8: .same(proto: "inviteType"), - 9: .same(proto: "guestKey"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}creatorIdentity\0\u{1}creatorName\0\u{1}aclKey\0\u{1}spaceId\0\u{1}spaceName\0\u{1}spaceIconCid\0\u{1}spaceIconEncryptionKeys\0\u{1}inviteType\0\u{1}guestKey\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InviteType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InviteType.swift index 155e2fcb9b..f25859e0e9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InviteType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InviteType.swift @@ -56,11 +56,7 @@ public enum Anytype_Model_InviteType: SwiftProtobuf.Enum, Swift.CaseIterable { } extension Anytype_Model_InviteType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Member"), - 1: .same(proto: "Guest"), - 2: .same(proto: "WithoutApprove"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Member\0\u{1}Guest\0\u{1}WithoutApprove\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Layout.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Layout.swift index 200163999e..de122cda53 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Layout.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Layout.swift @@ -29,11 +29,7 @@ public struct Anytype_Model_Layout: Sendable { extension Anytype_Model_Layout: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".Layout" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "name"), - 3: .same(proto: "requiredRelations"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}name\0\u{1}requiredRelations\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_LinkPreview.TypeEnum.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_LinkPreview.TypeEnum.swift index e62de1e08d..0a65cf79f5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_LinkPreview.TypeEnum.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_LinkPreview.TypeEnum.swift @@ -56,12 +56,7 @@ extension Anytype_Model_LinkPreview { }} extension Anytype_Model_LinkPreview.TypeEnum: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Unknown"), - 1: .same(proto: "Page"), - 2: .same(proto: "Image"), - 3: .same(proto: "Text"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Unknown\0\u{1}Page\0\u{1}Image\0\u{1}Text\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_LinkPreview.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_LinkPreview.swift index 92ac58cc95..d44e2676c3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_LinkPreview.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_LinkPreview.swift @@ -34,14 +34,7 @@ public struct Anytype_Model_LinkPreview: Sendable { extension Anytype_Model_LinkPreview: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".LinkPreview" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "url"), - 2: .same(proto: "title"), - 3: .same(proto: "description"), - 4: .same(proto: "imageUrl"), - 5: .same(proto: "faviconUrl"), - 6: .same(proto: "type"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}url\0\u{1}title\0\u{1}description\0\u{1}imageUrl\0\u{1}faviconUrl\0\u{1}type\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ManifestInfo.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ManifestInfo.swift index ac2345e934..bd980a3cb0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ManifestInfo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ManifestInfo.swift @@ -46,20 +46,7 @@ public struct Anytype_Model_ManifestInfo: Sendable { extension Anytype_Model_ManifestInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ManifestInfo" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .unique(proto: "schema", json: "$schema"), - 2: .same(proto: "id"), - 3: .same(proto: "name"), - 4: .same(proto: "author"), - 5: .same(proto: "license"), - 6: .same(proto: "title"), - 7: .same(proto: "description"), - 8: .same(proto: "screenshots"), - 9: .same(proto: "downloadLink"), - 10: .same(proto: "fileSize"), - 11: .same(proto: "categories"), - 12: .same(proto: "language"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{5}schema\0$schema\0\u{1}id\0\u{1}name\0\u{1}author\0\u{1}license\0\u{1}title\0\u{1}description\0\u{1}screenshots\0\u{1}downloadLink\0\u{1}fileSize\0\u{1}categories\0\u{1}language\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.EmailVerificationStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.EmailVerificationStatus.swift index 6bb1aeff16..364019ac7a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.EmailVerificationStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.EmailVerificationStatus.swift @@ -60,11 +60,7 @@ extension Anytype_Model_Membership { }} extension Anytype_Model_Membership.EmailVerificationStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "StatusNotVerified"), - 1: .same(proto: "StatusCodeSent"), - 2: .same(proto: "StatusVerified"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0StatusNotVerified\0\u{1}StatusCodeSent\0\u{1}StatusVerified\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.PaymentMethod.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.PaymentMethod.swift index 897c4acb53..eeac4c589c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.PaymentMethod.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.PaymentMethod.swift @@ -60,13 +60,7 @@ extension Anytype_Model_Membership { }} extension Anytype_Model_Membership.PaymentMethod: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "MethodNone"), - 1: .same(proto: "MethodStripe"), - 2: .same(proto: "MethodCrypto"), - 3: .same(proto: "MethodInappApple"), - 4: .same(proto: "MethodInappGoogle"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0MethodNone\0\u{1}MethodStripe\0\u{1}MethodCrypto\0\u{1}MethodInappApple\0\u{1}MethodInappGoogle\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.Status.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.Status.swift index 0318d32f51..ca654dbd75 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.Status.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.Status.swift @@ -69,12 +69,7 @@ extension Anytype_Model_Membership { }} extension Anytype_Model_Membership.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "StatusUnknown"), - 1: .same(proto: "StatusPending"), - 2: .same(proto: "StatusActive"), - 3: .same(proto: "StatusPendingRequiresFinalization"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0StatusUnknown\0\u{1}StatusPending\0\u{1}StatusActive\0\u{1}StatusPendingRequiresFinalization\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.swift index 98046b328e..48fecb8858 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.swift @@ -45,18 +45,7 @@ public struct Anytype_Model_Membership: Sendable { extension Anytype_Model_Membership: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".Membership" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "tier"), - 2: .same(proto: "status"), - 3: .same(proto: "dateStarted"), - 4: .same(proto: "dateEnds"), - 5: .same(proto: "isAutoRenew"), - 6: .same(proto: "paymentMethod"), - 7: .same(proto: "nsName"), - 8: .same(proto: "nsNameType"), - 9: .same(proto: "userEmail"), - 10: .same(proto: "subscribeToNewsletter"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}tier\0\u{1}status\0\u{1}dateStarted\0\u{1}dateEnds\0\u{1}isAutoRenew\0\u{1}paymentMethod\0\u{1}nsName\0\u{1}nsNameType\0\u{1}userEmail\0\u{1}subscribeToNewsletter\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_MembershipTierData.PeriodType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_MembershipTierData.PeriodType.swift index 18c8fbe38f..b30e39f831 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_MembershipTierData.PeriodType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_MembershipTierData.PeriodType.swift @@ -64,14 +64,7 @@ extension Anytype_Model_MembershipTierData { }} extension Anytype_Model_MembershipTierData.PeriodType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "PeriodTypeUnknown"), - 1: .same(proto: "PeriodTypeUnlimited"), - 2: .same(proto: "PeriodTypeDays"), - 3: .same(proto: "PeriodTypeWeeks"), - 4: .same(proto: "PeriodTypeMonths"), - 5: .same(proto: "PeriodTypeYears"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0PeriodTypeUnknown\0\u{1}PeriodTypeUnlimited\0\u{1}PeriodTypeDays\0\u{1}PeriodTypeWeeks\0\u{1}PeriodTypeMonths\0\u{1}PeriodTypeYears\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_MembershipTierData.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_MembershipTierData.swift index c4d11ca1fd..e06f06c22d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_MembershipTierData.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_MembershipTierData.swift @@ -131,26 +131,7 @@ public struct Anytype_Model_MembershipTierData: @unchecked Sendable { extension Anytype_Model_MembershipTierData: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".MembershipTierData" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "name"), - 3: .same(proto: "description"), - 4: .same(proto: "isTest"), - 5: .same(proto: "periodType"), - 6: .same(proto: "periodValue"), - 7: .same(proto: "priceStripeUsdCents"), - 8: .same(proto: "anyNamesCountIncluded"), - 9: .same(proto: "anyNameMinLength"), - 10: .same(proto: "features"), - 11: .same(proto: "colorStr"), - 12: .same(proto: "stripeProductId"), - 13: .same(proto: "stripeManageUrl"), - 15: .same(proto: "iosProductId"), - 16: .same(proto: "iosManageUrl"), - 17: .same(proto: "androidProductId"), - 18: .same(proto: "androidManageUrl"), - 19: .same(proto: "offer"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}name\0\u{1}description\0\u{1}isTest\0\u{1}periodType\0\u{1}periodValue\0\u{1}priceStripeUsdCents\0\u{1}anyNamesCountIncluded\0\u{1}anyNameMinLength\0\u{1}features\0\u{1}colorStr\0\u{1}stripeProductId\0\u{1}stripeManageUrl\0\u{2}\u{2}iosProductId\0\u{1}iosManageUrl\0\u{1}androidProductId\0\u{1}androidManageUrl\0\u{1}offer\0") fileprivate class _StorageClass { var _id: UInt32 = 0 @@ -172,15 +153,11 @@ extension Anytype_Model_MembershipTierData: SwiftProtobuf.Message, SwiftProtobuf var _androidManageURL: String = String() var _offer: String = String() - #if swift(>=5.10) // This property is used as the initial default value for new instances of the type. // The type itself is protecting the reference to its storage via CoW semantics. // This will force a copy to be made of this reference when the first mutation occurs; // hence, it is safe to mark this as `nonisolated(unsafe)`. static nonisolated(unsafe) let defaultInstance = _StorageClass() - #else - static let defaultInstance = _StorageClass() - #endif private init() {} diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.Payload.IdentityPayload.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.Payload.IdentityPayload.swift index 5c787a8009..58f219449f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.Payload.IdentityPayload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.Payload.IdentityPayload.swift @@ -12,7 +12,7 @@ import Foundation import SwiftProtobuf extension Anytype_Model_Metadata.Payload { - public struct IdentityPayload: @unchecked Sendable { + public struct IdentityPayload: Sendable { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. @@ -27,9 +27,7 @@ extension Anytype_Model_Metadata.Payload { extension Anytype_Model_Metadata.Payload.IdentityPayload: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Metadata.Payload.protoMessageName + ".IdentityPayload" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "profileSymKey"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}profileSymKey\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.swift index acb620688a..d620f8a26c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.swift @@ -32,9 +32,7 @@ public struct Anytype_Model_Metadata: Sendable { extension Anytype_Model_Metadata: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".Metadata" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "identity"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}identity\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_NameserviceNameType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_NameserviceNameType.swift index c71db36609..f21c054d67 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_NameserviceNameType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_NameserviceNameType.swift @@ -44,9 +44,7 @@ public enum Anytype_Model_NameserviceNameType: SwiftProtobuf.Enum, Swift.CaseIte } extension Anytype_Model_NameserviceNameType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "AnyName"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0AnyName\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ActionType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ActionType.swift index 4435bd31f2..a437ca66d6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ActionType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ActionType.swift @@ -44,9 +44,7 @@ extension Anytype_Model_Notification { }} extension Anytype_Model_Notification.ActionType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "CLOSE"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0CLOSE\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Export.Code.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Export.Code.swift index 745fa11b8e..8d82e897ae 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Export.Code.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Export.Code.swift @@ -52,11 +52,7 @@ extension Anytype_Model_Notification.Export { }} extension Anytype_Model_Notification.Export.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "NULL"), - 1: .same(proto: "UNKNOWN_ERROR"), - 2: .same(proto: "BAD_INPUT"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Export.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Export.swift index c02247aecf..3d445156ce 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Export.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Export.swift @@ -29,10 +29,7 @@ extension Anytype_Model_Notification { extension Anytype_Model_Notification.Export: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Notification.protoMessageName + ".Export" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 2: .same(proto: "errorCode"), - 3: .same(proto: "exportType"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\u{2}errorCode\0\u{1}exportType\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.GalleryImport.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.GalleryImport.swift index 321b683cee..c7237a7344 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.GalleryImport.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.GalleryImport.swift @@ -35,13 +35,7 @@ extension Anytype_Model_Notification { extension Anytype_Model_Notification.GalleryImport: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Notification.protoMessageName + ".GalleryImport" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "processId"), - 2: .same(proto: "errorCode"), - 3: .same(proto: "spaceId"), - 4: .same(proto: "name"), - 5: .same(proto: "spaceName"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}processId\0\u{1}errorCode\0\u{1}spaceId\0\u{1}name\0\u{1}spaceName\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Import.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Import.swift index b9d8b39c44..4bec446d8b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Import.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Import.swift @@ -37,14 +37,7 @@ extension Anytype_Model_Notification { extension Anytype_Model_Notification.Import: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Notification.protoMessageName + ".Import" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "processId"), - 2: .same(proto: "errorCode"), - 3: .same(proto: "importType"), - 4: .same(proto: "spaceId"), - 5: .same(proto: "name"), - 6: .same(proto: "spaceName"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}processId\0\u{1}errorCode\0\u{1}importType\0\u{1}spaceId\0\u{1}name\0\u{1}spaceName\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantPermissionsChange.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantPermissionsChange.swift index f7109e09a9..f5892bbd67 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantPermissionsChange.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantPermissionsChange.swift @@ -31,11 +31,7 @@ extension Anytype_Model_Notification { extension Anytype_Model_Notification.ParticipantPermissionsChange: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Notification.protoMessageName + ".ParticipantPermissionsChange" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "permissions"), - 3: .same(proto: "spaceName"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}permissions\0\u{1}spaceName\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRemove.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRemove.swift index 4f04a50252..fb87c0bf94 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRemove.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRemove.swift @@ -35,13 +35,7 @@ extension Anytype_Model_Notification { extension Anytype_Model_Notification.ParticipantRemove: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Notification.protoMessageName + ".ParticipantRemove" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "identity"), - 2: .same(proto: "identityName"), - 3: .same(proto: "identityIcon"), - 4: .same(proto: "spaceId"), - 5: .same(proto: "spaceName"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}identity\0\u{1}identityName\0\u{1}identityIcon\0\u{1}spaceId\0\u{1}spaceName\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRequestApproved.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRequestApproved.swift index 576e9f2c67..30ebaefbe1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRequestApproved.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRequestApproved.swift @@ -31,11 +31,7 @@ extension Anytype_Model_Notification { extension Anytype_Model_Notification.ParticipantRequestApproved: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Notification.protoMessageName + ".ParticipantRequestApproved" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "permissions"), - 5: .same(proto: "spaceName"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}permissions\0\u{2}\u{3}spaceName\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRequestDecline.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRequestDecline.swift index c13dfa4446..e5275cbe83 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRequestDecline.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRequestDecline.swift @@ -29,10 +29,7 @@ extension Anytype_Model_Notification { extension Anytype_Model_Notification.ParticipantRequestDecline: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Notification.protoMessageName + ".ParticipantRequestDecline" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 3: .same(proto: "spaceName"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{2}\u{2}spaceName\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.RequestToJoin.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.RequestToJoin.swift index 77eaccaec0..a96262f420 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.RequestToJoin.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.RequestToJoin.swift @@ -35,13 +35,7 @@ extension Anytype_Model_Notification { extension Anytype_Model_Notification.RequestToJoin: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Notification.protoMessageName + ".RequestToJoin" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "identity"), - 3: .same(proto: "identityName"), - 4: .same(proto: "identityIcon"), - 5: .same(proto: "spaceName"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}identity\0\u{1}identityName\0\u{1}identityIcon\0\u{1}spaceName\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.RequestToLeave.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.RequestToLeave.swift index 11a5e4ebbb..c53716219c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.RequestToLeave.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.RequestToLeave.swift @@ -35,13 +35,7 @@ extension Anytype_Model_Notification { extension Anytype_Model_Notification.RequestToLeave: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Notification.protoMessageName + ".RequestToLeave" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceId"), - 2: .same(proto: "identity"), - 3: .same(proto: "identityName"), - 4: .same(proto: "identityIcon"), - 5: .same(proto: "spaceName"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}identity\0\u{1}identityName\0\u{1}identityIcon\0\u{1}spaceName\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Status.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Status.swift index 06a43b89e6..2da9489eda 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Status.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Status.swift @@ -56,12 +56,7 @@ extension Anytype_Model_Notification { }} extension Anytype_Model_Notification.Status: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Created"), - 1: .same(proto: "Shown"), - 2: .same(proto: "Read"), - 3: .same(proto: "Replied"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Created\0\u{1}Shown\0\u{1}Read\0\u{1}Replied\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.swift index 6b5328854c..d66fa4f474 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.swift @@ -116,24 +116,7 @@ public struct Anytype_Model_Notification: Sendable { extension Anytype_Model_Notification: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".Notification" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "createTime"), - 4: .same(proto: "status"), - 5: .same(proto: "isLocal"), - 6: .same(proto: "import"), - 8: .same(proto: "export"), - 9: .same(proto: "galleryImport"), - 10: .same(proto: "requestToJoin"), - 11: .same(proto: "test"), - 13: .same(proto: "participantRequestApproved"), - 15: .same(proto: "requestToLeave"), - 16: .same(proto: "participantRemove"), - 17: .same(proto: "participantRequestDecline"), - 18: .same(proto: "participantPermissionsChange"), - 7: .same(proto: "space"), - 14: .same(proto: "aclHeadId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}createTime\0\u{2}\u{2}status\0\u{1}isLocal\0\u{1}import\0\u{1}space\0\u{1}export\0\u{1}galleryImport\0\u{1}requestToJoin\0\u{1}test\0\u{2}\u{2}participantRequestApproved\0\u{1}aclHeadId\0\u{1}requestToLeave\0\u{1}participantRemove\0\u{1}participantRequestDecline\0\u{1}participantPermissionsChange\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Object.ChangePayload.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Object.ChangePayload.swift index b500020575..afb62ff3ff 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Object.ChangePayload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Object.ChangePayload.swift @@ -12,7 +12,7 @@ import Foundation import SwiftProtobuf extension Anytype_Model_Object { - public struct ChangePayload: @unchecked Sendable { + public struct ChangePayload: Sendable { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. @@ -31,11 +31,7 @@ extension Anytype_Model_Object { extension Anytype_Model_Object.ChangePayload: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Object.protoMessageName + ".ChangePayload" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "smartBlockType"), - 2: .same(proto: "key"), - 3: .same(proto: "data"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}smartBlockType\0\u{1}key\0\u{1}data\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectOrigin.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectOrigin.swift index a7f02ed444..7dd5ee2abd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectOrigin.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectOrigin.swift @@ -78,18 +78,7 @@ public enum Anytype_Model_ObjectOrigin: SwiftProtobuf.Enum, Swift.CaseIterable { } extension Anytype_Model_ObjectOrigin: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "none"), - 1: .same(proto: "clipboard"), - 2: .same(proto: "dragAndDrop"), - 3: .same(proto: "import"), - 4: .same(proto: "webclipper"), - 5: .same(proto: "sharingExtension"), - 6: .same(proto: "usecase"), - 7: .same(proto: "builtin"), - 8: .same(proto: "bookmark"), - 9: .same(proto: "api"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0none\0\u{1}clipboard\0\u{1}dragAndDrop\0\u{1}import\0\u{1}webclipper\0\u{1}sharingExtension\0\u{1}usecase\0\u{1}builtin\0\u{1}bookmark\0\u{1}api\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.Layout.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.Layout.swift index 7820f4847a..201f0c8b4d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.Layout.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.Layout.swift @@ -150,35 +150,7 @@ extension Anytype_Model_ObjectType { }} extension Anytype_Model_ObjectType.Layout: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "basic"), - 1: .same(proto: "profile"), - 2: .same(proto: "todo"), - 3: .same(proto: "set"), - 4: .same(proto: "objectType"), - 5: .same(proto: "relation"), - 6: .same(proto: "file"), - 7: .same(proto: "dashboard"), - 8: .same(proto: "image"), - 9: .same(proto: "note"), - 10: .same(proto: "space"), - 11: .same(proto: "bookmark"), - 12: .same(proto: "relationOptionsList"), - 13: .same(proto: "relationOption"), - 14: .same(proto: "collection"), - 15: .same(proto: "audio"), - 16: .same(proto: "video"), - 17: .same(proto: "date"), - 18: .same(proto: "spaceView"), - 19: .same(proto: "participant"), - 20: .same(proto: "pdf"), - 21: .same(proto: "chatDeprecated"), - 22: .same(proto: "chatDerived"), - 23: .same(proto: "tag"), - 24: .same(proto: "notification"), - 25: .same(proto: "missingObject"), - 26: .same(proto: "devices"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0basic\0\u{1}profile\0\u{1}todo\0\u{1}set\0\u{1}objectType\0\u{1}relation\0\u{1}file\0\u{1}dashboard\0\u{1}image\0\u{1}note\0\u{1}space\0\u{1}bookmark\0\u{1}relationOptionsList\0\u{1}relationOption\0\u{1}collection\0\u{1}audio\0\u{1}video\0\u{1}date\0\u{1}spaceView\0\u{1}participant\0\u{1}pdf\0\u{1}chatDeprecated\0\u{1}chatDerived\0\u{1}tag\0\u{1}notification\0\u{1}missingObject\0\u{1}devices\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.swift index 6fb5cce852..f43e12f999 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.swift @@ -120,25 +120,7 @@ public struct Anytype_Model_ObjectType: @unchecked Sendable { extension Anytype_Model_ObjectType: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ObjectType" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "url"), - 2: .same(proto: "name"), - 3: .same(proto: "relationLinks"), - 4: .same(proto: "layout"), - 5: .same(proto: "iconEmoji"), - 6: .same(proto: "description"), - 7: .same(proto: "hidden"), - 10: .same(proto: "readonly"), - 8: .same(proto: "types"), - 9: .same(proto: "isArchived"), - 11: .same(proto: "installedByDefault"), - 12: .same(proto: "key"), - 13: .same(proto: "revision"), - 14: .same(proto: "restrictObjectCreation"), - 15: .same(proto: "iconColor"), - 16: .same(proto: "iconName"), - 17: .same(proto: "pluralName"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}url\0\u{1}name\0\u{1}relationLinks\0\u{1}layout\0\u{1}iconEmoji\0\u{1}description\0\u{1}hidden\0\u{1}types\0\u{1}isArchived\0\u{1}readonly\0\u{1}installedByDefault\0\u{1}key\0\u{1}revision\0\u{1}restrictObjectCreation\0\u{1}iconColor\0\u{1}iconName\0\u{1}pluralName\0") fileprivate class _StorageClass { var _url: String = String() @@ -159,15 +141,11 @@ extension Anytype_Model_ObjectType: SwiftProtobuf.Message, SwiftProtobuf._Messag var _iconName: String = String() var _pluralName: String = String() - #if swift(>=5.10) // This property is used as the initial default value for new instances of the type. // The type itself is protecting the reference to its storage via CoW semantics. // This will force a copy to be made of this reference when the first mutation occurs; // hence, it is safe to mark this as `nonisolated(unsafe)`. static nonisolated(unsafe) let defaultInstance = _StorageClass() - #else - static let defaultInstance = _StorageClass() - #endif private init() {} diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.BlockParticipant.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.BlockParticipant.swift index 34850404d4..ddc85a2875 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.BlockParticipant.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.BlockParticipant.swift @@ -29,10 +29,7 @@ extension Anytype_Model_ObjectView { extension Anytype_Model_ObjectView.BlockParticipant: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_ObjectView.protoMessageName + ".BlockParticipant" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "blockId"), - 2: .same(proto: "participantId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}blockId\0\u{1}participantId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.DetailsSet.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.DetailsSet.swift index 56487828df..a57a17f157 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.DetailsSet.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.DetailsSet.swift @@ -42,11 +42,7 @@ extension Anytype_Model_ObjectView { extension Anytype_Model_ObjectView.DetailsSet: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_ObjectView.protoMessageName + ".DetailsSet" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "details"), - 3: .same(proto: "subIds"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}details\0\u{1}subIds\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.HistorySize.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.HistorySize.swift index 8e5f4fcc92..7c2de5ab18 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.HistorySize.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.HistorySize.swift @@ -29,10 +29,7 @@ extension Anytype_Model_ObjectView { extension Anytype_Model_ObjectView.HistorySize: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_ObjectView.protoMessageName + ".HistorySize" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "undo"), - 2: .same(proto: "redo"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}undo\0\u{1}redo\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.RelationWithValuePerObject.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.RelationWithValuePerObject.swift index ba25c87a5a..32afb6279a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.RelationWithValuePerObject.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.RelationWithValuePerObject.swift @@ -29,10 +29,7 @@ extension Anytype_Model_ObjectView { extension Anytype_Model_ObjectView.RelationWithValuePerObject: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_ObjectView.protoMessageName + ".RelationWithValuePerObject" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectId"), - 2: .same(proto: "relations"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectId\0\u{1}relations\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.swift index 40fccfa7d5..df88c8497d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.swift @@ -62,17 +62,7 @@ public struct Anytype_Model_ObjectView: Sendable { extension Anytype_Model_ObjectView: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ObjectView" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "rootId"), - 2: .same(proto: "blocks"), - 3: .same(proto: "details"), - 4: .same(proto: "type"), - 7: .same(proto: "relations"), - 10: .same(proto: "relationLinks"), - 8: .same(proto: "restrictions"), - 9: .same(proto: "history"), - 11: .same(proto: "blockParticipants"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}rootId\0\u{1}blocks\0\u{1}details\0\u{1}type\0\u{2}\u{3}relations\0\u{1}restrictions\0\u{1}history\0\u{1}relationLinks\0\u{1}blockParticipants\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantPermissionChange.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantPermissionChange.swift index 48131d790c..62a7aafc10 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantPermissionChange.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantPermissionChange.swift @@ -26,10 +26,7 @@ public struct Anytype_Model_ParticipantPermissionChange: Sendable { extension Anytype_Model_ParticipantPermissionChange: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ParticipantPermissionChange" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "identity"), - 2: .same(proto: "perms"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}identity\0\u{1}perms\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantPermissions.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantPermissions.swift index 3095fe4a2b..a8dabbbe70 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantPermissions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantPermissions.swift @@ -54,12 +54,7 @@ public enum Anytype_Model_ParticipantPermissions: SwiftProtobuf.Enum, Swift.Case } extension Anytype_Model_ParticipantPermissions: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Reader"), - 1: .same(proto: "Writer"), - 2: .same(proto: "Owner"), - 3: .same(proto: "NoPermissions"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Reader\0\u{1}Writer\0\u{1}Owner\0\u{1}NoPermissions\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantStatus.swift index 7f1a35ab31..3a09e5007c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantStatus.swift @@ -62,14 +62,7 @@ public enum Anytype_Model_ParticipantStatus: SwiftProtobuf.Enum, Swift.CaseItera } extension Anytype_Model_ParticipantStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Joining"), - 1: .same(proto: "Active"), - 2: .same(proto: "Removed"), - 3: .same(proto: "Declined"), - 4: .same(proto: "Removing"), - 5: .same(proto: "Canceled"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Joining\0\u{1}Active\0\u{1}Removed\0\u{1}Declined\0\u{1}Removing\0\u{1}Canceled\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Range.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Range.swift index 280c6b8366..7260fc811e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Range.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Range.swift @@ -26,10 +26,7 @@ public struct Anytype_Model_Range: Sendable { extension Anytype_Model_Range: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".Range" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "from"), - 2: .same(proto: "to"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}from\0\u{1}to\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.DataSource.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.DataSource.swift index f24caea2f0..89142adc46 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.DataSource.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.DataSource.swift @@ -64,12 +64,7 @@ extension Anytype_Model_Relation { }} extension Anytype_Model_Relation.DataSource: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "details"), - 1: .same(proto: "derived"), - 2: .same(proto: "account"), - 3: .same(proto: "local"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0details\0\u{1}derived\0\u{1}account\0\u{1}local\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Option.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Option.swift index 66f77d3dd9..9befef3b5c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Option.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Option.swift @@ -39,13 +39,7 @@ extension Anytype_Model_Relation { extension Anytype_Model_Relation.Option: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Relation.protoMessageName + ".Option" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "text"), - 3: .same(proto: "color"), - 5: .same(proto: "relationKey"), - 6: .same(proto: "orderId"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}text\0\u{1}color\0\u{2}\u{2}relationKey\0\u{1}orderId\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Scope.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Scope.swift index ec504bfc7c..dd51ce0dd7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Scope.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Scope.swift @@ -70,13 +70,7 @@ extension Anytype_Model_Relation { }} extension Anytype_Model_Relation.Scope: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "object"), - 1: .same(proto: "type"), - 2: .same(proto: "setOfTheSameType"), - 3: .same(proto: "objectsOfTheSameType"), - 4: .same(proto: "library"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0object\0\u{1}type\0\u{1}setOfTheSameType\0\u{1}objectsOfTheSameType\0\u{1}library\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.swift index 11f9169821..803be8f473 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.swift @@ -134,26 +134,7 @@ public struct Anytype_Model_Relation: @unchecked Sendable { extension Anytype_Model_Relation: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".Relation" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 100: .same(proto: "id"), - 1: .same(proto: "key"), - 2: .same(proto: "format"), - 3: .same(proto: "name"), - 4: .same(proto: "defaultValue"), - 5: .same(proto: "dataSource"), - 6: .same(proto: "hidden"), - 7: .same(proto: "readOnly"), - 15: .same(proto: "readOnlyRelation"), - 8: .same(proto: "multi"), - 9: .same(proto: "objectTypes"), - 12: .same(proto: "selectDict"), - 13: .same(proto: "maxCount"), - 14: .same(proto: "description"), - 20: .same(proto: "scope"), - 21: .same(proto: "creator"), - 22: .same(proto: "revision"), - 23: .same(proto: "includeTime"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}key\0\u{1}format\0\u{1}name\0\u{1}defaultValue\0\u{1}dataSource\0\u{1}hidden\0\u{1}readOnly\0\u{1}multi\0\u{1}objectTypes\0\u{2}\u{3}selectDict\0\u{1}maxCount\0\u{1}description\0\u{1}readOnlyRelation\0\u{2}\u{5}scope\0\u{1}creator\0\u{1}revision\0\u{1}includeTime\0\u{2}M\u{1}id\0") fileprivate class _StorageClass { var _id: String = String() @@ -175,15 +156,11 @@ extension Anytype_Model_Relation: SwiftProtobuf.Message, SwiftProtobuf._MessageI var _revision: Int64 = 0 var _includeTime: Bool = false - #if swift(>=5.10) // This property is used as the initial default value for new instances of the type. // The type itself is protecting the reference to its storage via CoW semantics. // This will force a copy to be made of this reference when the first mutation occurs; // hence, it is safe to mark this as `nonisolated(unsafe)`. static nonisolated(unsafe) let defaultInstance = _StorageClass() - #else - static let defaultInstance = _StorageClass() - #endif private init() {} diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationFormat.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationFormat.swift index e04ae2e489..73a461185c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationFormat.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationFormat.swift @@ -123,22 +123,7 @@ public enum Anytype_Model_RelationFormat: SwiftProtobuf.Enum, Swift.CaseIterable } extension Anytype_Model_RelationFormat: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "longtext"), - 1: .same(proto: "shorttext"), - 2: .same(proto: "number"), - 3: .same(proto: "status"), - 4: .same(proto: "date"), - 5: .same(proto: "file"), - 6: .same(proto: "checkbox"), - 7: .same(proto: "url"), - 8: .same(proto: "email"), - 9: .same(proto: "phone"), - 10: .same(proto: "emoji"), - 11: .same(proto: "tag"), - 100: .same(proto: "object"), - 101: .same(proto: "relations"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0longtext\0\u{1}shorttext\0\u{1}number\0\u{1}status\0\u{1}date\0\u{1}file\0\u{1}checkbox\0\u{1}url\0\u{1}email\0\u{1}phone\0\u{1}emoji\0\u{1}tag\0\u{2}Y\u{1}object\0\u{1}relations\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationLink.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationLink.swift index f19d5bd208..d3d2fd8fe1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationLink.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationLink.swift @@ -26,10 +26,7 @@ public struct Anytype_Model_RelationLink: Sendable { extension Anytype_Model_RelationLink: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".RelationLink" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "key"), - 2: .same(proto: "format"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}key\0\u{1}format\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationOptions.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationOptions.swift index 20fceb928e..78059cc604 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationOptions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationOptions.swift @@ -24,9 +24,7 @@ public struct Anytype_Model_RelationOptions: Sendable { extension Anytype_Model_RelationOptions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".RelationOptions" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "options"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}options\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationWithValue.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationWithValue.swift index b9b23536ef..774e65357d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationWithValue.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationWithValue.swift @@ -43,10 +43,7 @@ public struct Anytype_Model_RelationWithValue: Sendable { extension Anytype_Model_RelationWithValue: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".RelationWithValue" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "relation"), - 2: .same(proto: "value"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}relation\0\u{1}value\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relations.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relations.swift index 76708ac1e1..4c2ef82df6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relations.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relations.swift @@ -24,9 +24,7 @@ public struct Anytype_Model_Relations: Sendable { extension Anytype_Model_Relations: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".Relations" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "relations"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}relations\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.DataviewRestriction.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.DataviewRestriction.swift index 226f82fc8a..bcb3d23fd2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.DataviewRestriction.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.DataviewRestriction.swift @@ -56,12 +56,7 @@ extension Anytype_Model_Restrictions { }} extension Anytype_Model_Restrictions.DataviewRestriction: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "DVNone"), - 1: .same(proto: "DVRelation"), - 2: .same(proto: "DVCreateObject"), - 3: .same(proto: "DVViews"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0DVNone\0\u{1}DVRelation\0\u{1}DVCreateObject\0\u{1}DVViews\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.DataviewRestrictions.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.DataviewRestrictions.swift index 7910856ebb..54bb255b09 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.DataviewRestrictions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.DataviewRestrictions.swift @@ -29,10 +29,7 @@ extension Anytype_Model_Restrictions { extension Anytype_Model_Restrictions.DataviewRestrictions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Restrictions.protoMessageName + ".DataviewRestrictions" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "blockId"), - 2: .same(proto: "restrictions"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}blockId\0\u{1}restrictions\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.ObjectRestriction.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.ObjectRestriction.swift index 3bb712fe16..b2dec29ffc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.ObjectRestriction.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.ObjectRestriction.swift @@ -104,19 +104,7 @@ extension Anytype_Model_Restrictions { }} extension Anytype_Model_Restrictions.ObjectRestriction: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "None"), - 1: .same(proto: "Delete"), - 2: .same(proto: "Relations"), - 3: .same(proto: "Blocks"), - 4: .same(proto: "Details"), - 5: .same(proto: "TypeChange"), - 6: .same(proto: "LayoutChange"), - 7: .same(proto: "Template"), - 8: .same(proto: "Duplicate"), - 9: .same(proto: "CreateObjectOfThisType"), - 10: .same(proto: "Publish"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0None\0\u{1}Delete\0\u{1}Relations\0\u{1}Blocks\0\u{1}Details\0\u{1}TypeChange\0\u{1}LayoutChange\0\u{1}Template\0\u{1}Duplicate\0\u{1}CreateObjectOfThisType\0\u{1}Publish\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.swift index a72a748b75..1402313ab6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.swift @@ -26,10 +26,7 @@ public struct Anytype_Model_Restrictions: Sendable { extension Anytype_Model_Restrictions: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".Restrictions" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "object"), - 2: .same(proto: "dataview"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}object\0\u{1}dataview\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.Meta.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.Meta.swift index e9823a2f96..d6709b8bdc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.Meta.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.Meta.swift @@ -49,13 +49,7 @@ extension Anytype_Model_Search { extension Anytype_Model_Search.Meta: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Search.protoMessageName + ".Meta" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "highlight"), - 2: .same(proto: "highlightRanges"), - 3: .same(proto: "blockId"), - 4: .same(proto: "relationKey"), - 5: .same(proto: "relationDetails"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}highlight\0\u{1}highlightRanges\0\u{1}blockId\0\u{1}relationKey\0\u{1}relationDetails\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.Result.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.Result.swift index 820357902e..d1b8f80744 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.Result.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.Result.swift @@ -41,11 +41,7 @@ extension Anytype_Model_Search { extension Anytype_Model_Search.Result: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Model_Search.protoMessageName + ".Result" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "objectId"), - 2: .same(proto: "details"), - 3: .same(proto: "meta"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}objectId\0\u{1}details\0\u{1}meta\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockSnapshotBase.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockSnapshotBase.swift index 97594b780d..d886d76733 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockSnapshotBase.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockSnapshotBase.swift @@ -81,19 +81,7 @@ public struct Anytype_Model_SmartBlockSnapshotBase: Sendable { extension Anytype_Model_SmartBlockSnapshotBase: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".SmartBlockSnapshotBase" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "blocks"), - 2: .same(proto: "details"), - 3: .same(proto: "fileKeys"), - 4: .same(proto: "extraRelations"), - 5: .same(proto: "objectTypes"), - 6: .same(proto: "collections"), - 8: .same(proto: "removedCollectionKeys"), - 7: .same(proto: "relationLinks"), - 9: .same(proto: "key"), - 10: .same(proto: "originalCreatedTimestamp"), - 11: .same(proto: "fileInfo"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}blocks\0\u{1}details\0\u{1}fileKeys\0\u{1}extraRelations\0\u{1}objectTypes\0\u{1}collections\0\u{1}relationLinks\0\u{1}removedCollectionKeys\0\u{1}key\0\u{1}originalCreatedTimestamp\0\u{1}fileInfo\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockType.swift index a93ad7b351..3956e6a386 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockType.swift @@ -162,36 +162,7 @@ public enum Anytype_Model_SmartBlockType: SwiftProtobuf.Enum, Swift.CaseIterable } extension Anytype_Model_SmartBlockType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "AccountOld"), - 16: .same(proto: "Page"), - 17: .same(proto: "ProfilePage"), - 32: .same(proto: "Home"), - 48: .same(proto: "Archive"), - 112: .same(proto: "Widget"), - 256: .same(proto: "File"), - 288: .same(proto: "Template"), - 289: .same(proto: "BundledTemplate"), - 512: .same(proto: "BundledRelation"), - 513: .same(proto: "SubObject"), - 514: .same(proto: "BundledObjectType"), - 515: .same(proto: "AnytypeProfile"), - 516: .same(proto: "Date"), - 518: .same(proto: "Workspace"), - 519: .same(proto: "MissingObject"), - 521: .same(proto: "STRelation"), - 528: .same(proto: "STType"), - 529: .same(proto: "STRelationOption"), - 530: .same(proto: "SpaceView"), - 532: .same(proto: "Identity"), - 533: .same(proto: "FileObject"), - 534: .same(proto: "Participant"), - 535: .same(proto: "NotificationObject"), - 536: .same(proto: "DevicesObject"), - 537: .same(proto: "ChatObjectDeprecated"), - 544: .same(proto: "ChatDerivedObject"), - 545: .same(proto: "AccountObject"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0AccountOld\0\u{2}\u{10}Page\0\u{1}ProfilePage\0\u{2}\u{f}Home\0\u{2}\u{10}Archive\0\u{2}@\u{1}Widget\0\u{2}P\u{2}File\0\u{2} Template\0\u{1}BundledTemplate\0\u{2}_\u{3}BundledRelation\0\u{1}SubObject\0\u{1}BundledObjectType\0\u{1}AnytypeProfile\0\u{1}Date\0\u{2}\u{2}Workspace\0\u{1}MissingObject\0\u{2}\u{2}STRelation\0\u{2}\u{7}STType\0\u{1}STRelationOption\0\u{1}SpaceView\0\u{2}\u{2}Identity\0\u{1}FileObject\0\u{1}Participant\0\u{1}NotificationObject\0\u{1}DevicesObject\0\u{1}ChatObjectDeprecated\0\u{2}\u{7}ChatDerivedObject\0\u{1}AccountObject\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceAccessType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceAccessType.swift index 34f857dafc..d346d1c107 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceAccessType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceAccessType.swift @@ -50,11 +50,7 @@ public enum Anytype_Model_SpaceAccessType: SwiftProtobuf.Enum, Swift.CaseIterabl } extension Anytype_Model_SpaceAccessType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Private"), - 1: .same(proto: "Personal"), - 2: .same(proto: "Shared"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Private\0\u{1}Personal\0\u{1}Shared\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceObjectHeader.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceObjectHeader.swift index 7d4e64fc23..998c1f21f2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceObjectHeader.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceObjectHeader.swift @@ -24,9 +24,7 @@ public struct Anytype_Model_SpaceObjectHeader: Sendable { extension Anytype_Model_SpaceObjectHeader: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".SpaceObjectHeader" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "spaceID"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceID\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceShareableStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceShareableStatus.swift index 38efa7fcdc..6e6e27b82f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceShareableStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceShareableStatus.swift @@ -50,11 +50,7 @@ public enum Anytype_Model_SpaceShareableStatus: SwiftProtobuf.Enum, Swift.CaseIt } extension Anytype_Model_SpaceShareableStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "StatusUnknown"), - 1: .same(proto: "StatusShareable"), - 2: .same(proto: "StatusNotShareable"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0StatusUnknown\0\u{1}StatusShareable\0\u{1}StatusNotShareable\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceStatus.swift index af236d211b..0f88e72975 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceStatus.swift @@ -104,19 +104,7 @@ public enum Anytype_Model_SpaceStatus: SwiftProtobuf.Enum, Swift.CaseIterable { } extension Anytype_Model_SpaceStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "Unknown"), - 1: .same(proto: "Loading"), - 2: .same(proto: "Ok"), - 3: .same(proto: "Missing"), - 4: .same(proto: "Error"), - 5: .same(proto: "RemoteWaitingDeletion"), - 6: .same(proto: "RemoteDeleted"), - 7: .same(proto: "SpaceDeleted"), - 8: .same(proto: "SpaceActive"), - 9: .same(proto: "SpaceJoining"), - 10: .same(proto: "SpaceRemoving"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0Unknown\0\u{1}Loading\0\u{1}Ok\0\u{1}Missing\0\u{1}Error\0\u{1}RemoteWaitingDeletion\0\u{1}RemoteDeleted\0\u{1}SpaceDeleted\0\u{1}SpaceActive\0\u{1}SpaceJoining\0\u{1}SpaceRemoving\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceUxType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceUxType.swift index 9e2c2ff521..c2458d6e7a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceUxType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceUxType.swift @@ -62,12 +62,7 @@ public enum Anytype_Model_SpaceUxType: SwiftProtobuf.Enum, Swift.CaseIterable { } extension Anytype_Model_SpaceUxType: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "None"), - 1: .same(proto: "Data"), - 2: .same(proto: "Stream"), - 3: .same(proto: "Chat"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0None\0\u{1}Data\0\u{1}Stream\0\u{1}Chat\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SyncError.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SyncError.swift index 8aa8969a6b..e19f512046 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SyncError.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SyncError.swift @@ -54,12 +54,7 @@ public enum Anytype_Model_SyncError: SwiftProtobuf.Enum, Swift.CaseIterable { } extension Anytype_Model_SyncError: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SyncErrorNull"), - 2: .same(proto: "SyncErrorIncompatibleVersion"), - 3: .same(proto: "SyncErrorNetworkError"), - 4: .same(proto: "SyncErrorOversized"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0SyncErrorNull\0\u{2}\u{2}SyncErrorIncompatibleVersion\0\u{1}SyncErrorNetworkError\0\u{1}SyncErrorOversized\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SyncStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SyncStatus.swift index e6fe17b1d9..d522ee39fc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SyncStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SyncStatus.swift @@ -54,12 +54,7 @@ public enum Anytype_Model_SyncStatus: SwiftProtobuf.Enum, Swift.CaseIterable { } extension Anytype_Model_SyncStatus: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 0: .same(proto: "SyncStatusSynced"), - 1: .same(proto: "SyncStatusSyncing"), - 2: .same(proto: "SyncStatusError"), - 3: .same(proto: "SyncStatusQueued"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0SyncStatusSynced\0\u{1}SyncStatusSyncing\0\u{1}SyncStatusError\0\u{1}SyncStatusQueued\0") } // If the compiler emits an error on this type, it is because this file diff --git a/Modules/ProtobufMessages/Sources/Protocol/localstore.pb.swift b/Modules/ProtobufMessages/Sources/Protocol/localstore.pb.swift index 6fe6ae2b20..d8a6daf784 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/localstore.pb.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/localstore.pb.swift @@ -301,14 +301,7 @@ fileprivate let _protobuf_package = "anytype.model" extension Anytype_Model_ObjectInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ObjectInfo" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "objectTypeUrls"), - 3: .same(proto: "details"), - 4: .same(proto: "relations"), - 5: .same(proto: "snippet"), - 6: .same(proto: "hasInboundLinks"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}objectTypeUrls\0\u{1}details\0\u{1}relations\0\u{1}snippet\0\u{1}hasInboundLinks\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -367,9 +360,7 @@ extension Anytype_Model_ObjectInfo: SwiftProtobuf.Message, SwiftProtobuf._Messag extension Anytype_Model_ObjectDetails: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ObjectDetails" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "details"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}details\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -403,10 +394,7 @@ extension Anytype_Model_ObjectDetails: SwiftProtobuf.Message, SwiftProtobuf._Mes extension Anytype_Model_ObjectLinks: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ObjectLinks" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "inboundIDs"), - 2: .same(proto: "outboundIDs"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}inboundIDs\0\u{1}outboundIDs\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -441,10 +429,7 @@ extension Anytype_Model_ObjectLinks: SwiftProtobuf.Message, SwiftProtobuf._Messa extension Anytype_Model_ObjectLinksInfo: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ObjectLinksInfo" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "inbound"), - 2: .same(proto: "outbound"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}inbound\0\u{1}outbound\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -479,11 +464,7 @@ extension Anytype_Model_ObjectLinksInfo: SwiftProtobuf.Message, SwiftProtobuf._M extension Anytype_Model_ObjectInfoWithLinks: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ObjectInfoWithLinks" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "info"), - 3: .same(proto: "links"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}info\0\u{1}links\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -527,11 +508,7 @@ extension Anytype_Model_ObjectInfoWithLinks: SwiftProtobuf.Message, SwiftProtobu extension Anytype_Model_ObjectInfoWithOutboundLinks: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ObjectInfoWithOutboundLinks" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "info"), - 3: .same(proto: "outboundLinks"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}info\0\u{1}outboundLinks\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -575,11 +552,7 @@ extension Anytype_Model_ObjectInfoWithOutboundLinks: SwiftProtobuf.Message, Swif extension Anytype_Model_ObjectInfoWithOutboundLinksIDs: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ObjectInfoWithOutboundLinksIDs" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "id"), - 2: .same(proto: "info"), - 3: .same(proto: "outboundLinks"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}info\0\u{1}outboundLinks\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -623,26 +596,7 @@ extension Anytype_Model_ObjectInfoWithOutboundLinksIDs: SwiftProtobuf.Message, S extension Anytype_Model_ObjectStoreChecksums: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".ObjectStoreChecksums" - public static let _protobuf_nameMap: SwiftProtobuf._NameMap = [ - 1: .same(proto: "bundledObjectTypes"), - 2: .same(proto: "bundledRelations"), - 3: .same(proto: "bundledLayouts"), - 4: .same(proto: "objectsForceReindexCounter"), - 5: .same(proto: "filesForceReindexCounter"), - 6: .same(proto: "idxRebuildCounter"), - 7: .same(proto: "fulltextRebuild"), - 11: .same(proto: "fulltextErase"), - 8: .same(proto: "bundledTemplates"), - 9: .same(proto: "bundledObjects"), - 10: .same(proto: "filestoreKeysForceReindexCounter"), - 12: .same(proto: "areOldFilesRemoved"), - 13: .same(proto: "areDeletedObjectsReindexed"), - 14: .same(proto: "linksErase"), - 15: .same(proto: "marketplaceForceReindexCounter"), - 16: .same(proto: "reindexDeletedObjects"), - 17: .same(proto: "reindexParticipants"), - 18: .same(proto: "reindexChats"), - ] + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}bundledObjectTypes\0\u{1}bundledRelations\0\u{1}bundledLayouts\0\u{1}objectsForceReindexCounter\0\u{1}filesForceReindexCounter\0\u{1}idxRebuildCounter\0\u{1}fulltextRebuild\0\u{1}bundledTemplates\0\u{1}bundledObjects\0\u{1}filestoreKeysForceReindexCounter\0\u{1}fulltextErase\0\u{1}areOldFilesRemoved\0\u{1}areDeletedObjectsReindexed\0\u{1}linksErase\0\u{1}marketplaceForceReindexCounter\0\u{1}reindexDeletedObjects\0\u{1}reindexParticipants\0\u{1}reindexChats\0") fileprivate class _StorageClass { var _bundledObjectTypes: String = String() @@ -664,15 +618,11 @@ extension Anytype_Model_ObjectStoreChecksums: SwiftProtobuf.Message, SwiftProtob var _reindexParticipants: Int32 = 0 var _reindexChats: Int32 = 0 - #if swift(>=5.10) // This property is used as the initial default value for new instances of the type. // The type itself is protecting the reference to its storage via CoW semantics. // This will force a copy to be made of this reference when the first mutation occurs; // hence, it is safe to mark this as `nonisolated(unsafe)`. static nonisolated(unsafe) let defaultInstance = _StorageClass() - #else - static let defaultInstance = _StorageClass() - #endif private init() {} diff --git a/Modules/Services/Sources/Generated/BundledPropertiesValueProvider.swift b/Modules/Services/Sources/Generated/BundledPropertiesValueProvider.swift index 7192c574ca..376d206311 100644 --- a/Modules/Services/Sources/Generated/BundledPropertiesValueProvider.swift +++ b/Modules/Services/Sources/Generated/BundledPropertiesValueProvider.swift @@ -170,6 +170,8 @@ public protocol BundledPropertiesValueProvider { var apiObjectKey: String { get } var relationFormatIncludeTime: [Bool] { get } var spacePushNotificationMode: Int? { get } + var spacePushNotificationCustomMuteIds: [String] { get } + var spacePushNotificationCustomMentionIds: [String] { get } var spacePushNotificationKey: String { get } var spacePushNotificationEncryptionKey: String { get } var spaceJoinDate: Date? { get } @@ -177,6 +179,8 @@ public protocol BundledPropertiesValueProvider { var widgetLimit: Int? { get } var widgetViewId: String { get } var isMainChat: Bool { get } + var lastMessageDate: Date? { get } + var fileAvailableOffline: Bool { get } } public extension BundledPropertiesValueProvider where Self: PropertyValueProvider { @@ -792,10 +796,18 @@ public extension BundledPropertiesValueProvider where Self: PropertyValueProvide var relationFormatIncludeTime: [Bool] { return value(for: BundledPropertyKey.relationFormatIncludeTime.rawValue) } - /// Push notification mode - mute/all/mentions (see model.SpacePushNotificationMode) + /// Push notification mode - mute/all/mentions/custom (see model.SpacePushNotificationMode) var spacePushNotificationMode: Int? { return value(for: BundledPropertyKey.spacePushNotificationMode.rawValue) } + /// Push notification custom muted ids + var spacePushNotificationCustomMuteIds: [String] { + return value(for: BundledPropertyKey.spacePushNotificationCustomMuteIds.rawValue) + } + /// Push notification custom mention ids + var spacePushNotificationCustomMentionIds: [String] { + return value(for: BundledPropertyKey.spacePushNotificationCustomMentionIds.rawValue) + } /// Push notifications space key (base64) var spacePushNotificationKey: String { return value(for: BundledPropertyKey.spacePushNotificationKey.rawValue) @@ -824,4 +836,12 @@ public extension BundledPropertiesValueProvider where Self: PropertyValueProvide var isMainChat: Bool { return value(for: BundledPropertyKey.isMainChat.rawValue) } + /// Date of the last message in a chat + var lastMessageDate: Date? { + return value(for: BundledPropertyKey.lastMessageDate.rawValue) + } + /// Is file available offline + var fileAvailableOffline: Bool { + return value(for: BundledPropertyKey.fileAvailableOffline.rawValue) + } } diff --git a/Modules/Services/Sources/Generated/BundledPropertyKey+SystemKeys.swift b/Modules/Services/Sources/Generated/BundledPropertyKey+SystemKeys.swift index cb5cea3f65..d9a889999c 100644 --- a/Modules/Services/Sources/Generated/BundledPropertyKey+SystemKeys.swift +++ b/Modules/Services/Sources/Generated/BundledPropertyKey+SystemKeys.swift @@ -105,5 +105,6 @@ public extension BundledPropertyKey { .defaultTypeId, .resolvedLayout, .pluralName, + .lastMessageDate, ] } diff --git a/Modules/Services/Sources/Generated/BundledPropertyKey.swift b/Modules/Services/Sources/Generated/BundledPropertyKey.swift index 740bec54db..0f04624d37 100644 --- a/Modules/Services/Sources/Generated/BundledPropertyKey.swift +++ b/Modules/Services/Sources/Generated/BundledPropertyKey.swift @@ -457,9 +457,15 @@ public enum BundledPropertyKey: String, Sendable { /// Should time be shown for relation values with date format case relationFormatIncludeTime = "relationFormatIncludeTime" - /// Push notification mode - mute/all/mentions (see model.SpacePushNotificationMode) + /// Push notification mode - mute/all/mentions/custom (see model.SpacePushNotificationMode) case spacePushNotificationMode = "spacePushNotificationMode" + /// Push notification custom muted ids + case spacePushNotificationCustomMuteIds = "spacePushNotificationCustomMuteIds" + + /// Push notification custom mention ids + case spacePushNotificationCustomMentionIds = "spacePushNotificationCustomMentionIds" + /// Push notifications space key (base64) case spacePushNotificationKey = "spacePushNotificationKey" @@ -480,4 +486,10 @@ public enum BundledPropertyKey: String, Sendable { /// Is this the main chat case isMainChat = "isMainChat" + + /// Date of the last message in a chat + case lastMessageDate = "lastMessageDate" + + /// Is file available offline + case fileAvailableOffline = "fileAvailableOffline" } From ebf2eb4d8d64304b87760272e20a503661ed5827 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 24 Oct 2025 10:55:46 +0100 Subject: [PATCH 026/228] IOS-5383 bump swift protobuf version --- Anytype.xcodeproj/project.pbxproj | 2 +- .../xcshareddata/swiftpm/Package.resolved | 6 +++--- Modules/AnytypeCore/Package.swift | 2 +- Modules/ProtobufMessages/Package.swift | 2 +- Modules/Services/Package.swift | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Anytype.xcodeproj/project.pbxproj b/Anytype.xcodeproj/project.pbxproj index c94a056d30..4ff062f99d 100644 --- a/Anytype.xcodeproj/project.pbxproj +++ b/Anytype.xcodeproj/project.pbxproj @@ -2658,7 +2658,7 @@ repositoryURL = "https://github.com/apple/swift-protobuf"; requirement = { kind = exactVersion; - version = 1.21.0; + version = 1.32.0; }; }; 2A94B5D129B88E95009AE2A7 /* XCRemoteSwiftPackageReference "sentry-cocoa" */ = { diff --git a/Anytype.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Anytype.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index a5b000c9a0..92a2352700 100644 --- a/Anytype.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Anytype.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -1,5 +1,5 @@ { - "originHash" : "56d54a768edd20b88dd0ab620232bcc5b6880ad56b53f685779ea1dde6ebdd9b", + "originHash" : "0be86eed38633f4ee47863e37e1b5baf419760ca3fa82d8bb9cefff75663a435", "pins" : [ { "identity" : "abseil-cpp-binary", @@ -303,8 +303,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-protobuf", "state" : { - "branch" : "1.28.2", - "revision" : "ebc7251dd5b37f627c93698e4374084d98409633" + "branch" : "1.32.0", + "revision" : "c6fe6442e6a64250495669325044052e113e990c" } }, { diff --git a/Modules/AnytypeCore/Package.swift b/Modules/AnytypeCore/Package.swift index ead6ceafc4..e304520a47 100644 --- a/Modules/AnytypeCore/Package.swift +++ b/Modules/AnytypeCore/Package.swift @@ -13,7 +13,7 @@ let package = Package( targets: ["AnytypeCore"]), ], dependencies: [ - .package(url: "https://github.com/apple/swift-protobuf", revision: "1.28.2"), + .package(url: "https://github.com/apple/swift-protobuf", revision: "1.32.0"), .package(path: "../Logger"), .package(path: "../AppTarget") ], diff --git a/Modules/ProtobufMessages/Package.swift b/Modules/ProtobufMessages/Package.swift index e1f689dbd5..57972496dd 100644 --- a/Modules/ProtobufMessages/Package.swift +++ b/Modules/ProtobufMessages/Package.swift @@ -14,7 +14,7 @@ let package = Package( targets: ["ProtobufMessages"]), ], dependencies: [ - .package(url: "https://github.com/apple/swift-protobuf", revision: "1.28.2") + .package(url: "https://github.com/apple/swift-protobuf", revision: "1.32.0") ], targets: [ .target( diff --git a/Modules/Services/Package.swift b/Modules/Services/Package.swift index 19cec465cc..ec7c6de978 100644 --- a/Modules/Services/Package.swift +++ b/Modules/Services/Package.swift @@ -13,7 +13,7 @@ let package = Package( targets: ["Services"]), ], dependencies: [ - .package(url: "https://github.com/apple/swift-protobuf", revision: "1.28.2"), + .package(url: "https://github.com/apple/swift-protobuf", revision: "1.32.0"), .package(url: "https://github.com/hmlongco/Factory", revision: "2.3.1"), .package(path: "../ProtobufMessages"), .package(path: "../AnytypeCore"), From d08ee05ff06cc6c37be41accd026e17a588603f5 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 24 Oct 2025 10:55:58 +0100 Subject: [PATCH 027/228] IOS-5383 fix compilation error --- .../SpaceNotificationsSettingsMode.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceNotificationsSettings/SpaceNotificationsSettingsMode.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceNotificationsSettings/SpaceNotificationsSettingsMode.swift index ca96dd9335..b83078f016 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceNotificationsSettings/SpaceNotificationsSettingsMode.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceNotificationsSettings/SpaceNotificationsSettingsMode.swift @@ -51,7 +51,7 @@ extension SpacePushNotificationsMode { switch self { case .all: return .allActiviy case .mentions: return .mentions - case .nothing, .UNRECOGNIZED(_): return .disabled + case .custom, .nothing, .UNRECOGNIZED(_): return .disabled } } @@ -64,6 +64,7 @@ extension SpacePushNotificationsMode { case .all: return "All" case .mentions: return "Mentions" case .nothing: return "Nothing" + case .custom: return "Custom" case .UNRECOGNIZED(_): return "" } } From 250ecb7839bb4419fa21f7fcc81e4268606d7298 Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Fri, 24 Oct 2025 16:51:09 +0200 Subject: [PATCH 028/228] Multilingual [skip ci] (#4152) --- .../Loc/Sources/Loc/Resources/UI.xcstrings | 706 ++++++++++++------ 1 file changed, 491 insertions(+), 215 deletions(-) diff --git a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings index 18781c901a..0101384c99 100644 --- a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings @@ -222,7 +222,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Analytics ID: %@" + "value" : "분석 ID: %@" } }, "nb" : { @@ -670,7 +670,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "App version: %@" + "value" : "앱 버전: %@" } }, "nb" : { @@ -819,7 +819,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Build number: %@" + "value" : "빌드 번호: %@" } }, "nb" : { @@ -1117,7 +1117,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Device: %@" + "value" : "장치: %@" } }, "nb" : { @@ -1266,7 +1266,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Device ID: %@" + "value" : "장치 ID: %@" } }, "nb" : { @@ -1862,7 +1862,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Library version: %@" + "value" : "라이브러리 버전: %@" } }, "nb" : { @@ -2011,7 +2011,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "\n\nTechnical information\n%@" + "value" : "기술 정보\n%@" } }, "nb" : { @@ -2160,7 +2160,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Support request, Vault ID %@" + "value" : "지원 요청, 보관소 ID %@" } }, "nb" : { @@ -2309,7 +2309,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "OS version: %@" + "value" : "운영체제(OS) 버전: %@" } }, "nb" : { @@ -2905,7 +2905,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "What’s New" + "value" : "새로운 기능" } }, "nb" : { @@ -3203,7 +3203,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Access to key from keychain" + "value" : "키체인에 있는 키 접근" } }, "nb" : { @@ -4246,7 +4246,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Add a description..." + "value" : "설명 추가..." } }, "nb" : { @@ -10301,7 +10301,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Attach Object" + "value" : "오브젝트 첨부" } }, "nb" : { @@ -10609,7 +10609,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Attachments" + "value" : "첨부 파일 %lld개" } } } @@ -11082,7 +11082,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Audios" + "value" : "오디오 %lld개" } } } @@ -11545,7 +11545,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Back up key" + "value" : "키 백업" } }, "nb" : { @@ -12002,7 +12002,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%d backlinks" + "value" : "백링크 %d개" } } } @@ -15298,7 +15298,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Blurred\n icon" + "value" : "블러 아이콘" } }, "nb" : { @@ -15606,7 +15606,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Bookmarks" + "value" : "북마크 %lld개" } } } @@ -16367,7 +16367,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Take photo or video" + "value" : "사진 또는 동영상 찍기" } }, "nb" : { @@ -16963,7 +16963,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Change email" + "value" : "이메일 변경" } }, "nb" : { @@ -18304,7 +18304,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Error, try again later" + "value" : "오류가 발생했습니다. 나중에 다시 시도하세요." } }, "nb" : { @@ -18454,7 +18454,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Cache sucessfully cleared" + "value" : "캐시가 성공적으로 비워졌습니다." } }, "nb" : { @@ -19349,7 +19349,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Collection of objects" + "value" : "오브젝트 컬렉션" } }, "nb" : { @@ -19945,7 +19945,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Companies, contacts, friends and family" + "value" : "회사, 연락처, 친구 및 가족" } }, "nb" : { @@ -20243,7 +20243,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Connecting..." + "value" : "연결 중…" } }, "nb" : { @@ -21733,7 +21733,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Copy space info" + "value" : "스페이스 정보 복사" } }, "nb" : { @@ -22181,7 +22181,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create a new one or search for something else" + "value" : "새로 만들거나 다른 항목을 찾아보세요" } }, "nb" : { @@ -22777,7 +22777,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create Object" + "value" : "오브젝트 만들기" } }, "nb" : { @@ -23075,7 +23075,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create option ‘%@’" + "value" : "‘%@’ 옵션 만들기" } }, "nb" : { @@ -23224,7 +23224,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create property ‘%@’" + "value" : "‘%@’ 속성 만들기" } }, "nb" : { @@ -23522,7 +23522,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create Space" + "value" : "스페이스 만들기" } }, "nb" : { @@ -24118,7 +24118,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Calendar" + "value" : "캘린더" } }, "nb" : { @@ -24416,7 +24416,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Graph" + "value" : "그래프" } }, "nb" : { @@ -25172,7 +25172,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Dates" + "value" : "일정 %lld개" } } } @@ -26249,7 +26249,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "This vault will be deleted %#@days@" + "value" : "이 보관소는 %#@days@ 뒤에 삭제됩니다." }, "substitutions" : { "days" : { @@ -26259,13 +26259,13 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "in %arg days" + "value" : "%a일 뒤" } }, "zero" : { "stringUnit" : { "state" : "new", - "value" : "today" + "value" : "오늘" } } } @@ -26761,7 +26761,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Debug Info" + "value" : "디버그 정보" } }, "nb" : { @@ -26911,7 +26911,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Mime Types - %@" + "value" : "MIME 유형 - %@" } }, "nb" : { @@ -27060,7 +27060,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Release: %@, %@" + "value" : "릴리즈: %@, %@" } }, "nb" : { @@ -28103,7 +28103,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Deletion error" + "value" : "삭제 오류" } }, "nb" : { @@ -28252,7 +28252,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You will be logged out on all other devices. You'll have 30 days to recover your vault. Afterwards, it will be deleted permanently." + "value" : "다른 모든 장치에서 로그아웃됩니다. 30일 이내에 복구할 수 있으며, 이후에는 영구적으로 삭제됩니다." } }, "nb" : { @@ -28402,7 +28402,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Are you sure you want to delete your vault?" + "value" : "정말 보관소를 삭제하시겠습니까?" } }, "nb" : { @@ -29985,7 +29985,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Document scan failed" + "value" : "문서 스캔 실패" } }, "nb" : { @@ -31028,7 +31028,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Edit property" + "value" : "속성 편집" } }, "nb" : { @@ -31326,7 +31326,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Edit type" + "value" : "유형 수정" } }, "nb" : { @@ -31773,7 +31773,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Email successfully validated" + "value" : "이메일 성공적으로 확인됨" } }, "nb" : { @@ -31922,7 +31922,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "%@ embed. This content is not available on mobile" + "value" : "%@ 임베드. 이 콘텐츠는 모바일에서 사용할 수 없습니다." } }, "nb" : { @@ -32071,7 +32071,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "%@ embed. Opens in external app or browser" + "value" : "%@ 임베드. 외부 앱이나 브라우저에서 열림" } }, "nb" : { @@ -32220,7 +32220,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "%@ embed is empty" + "value" : "%@ 임베드는 비어 있음" } }, "nb" : { @@ -33711,7 +33711,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Enter email" + "value" : "이메일 입력" } }, "nb" : { @@ -34009,7 +34009,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Enter phone number" + "value" : "전화번호 입력" } }, "nb" : { @@ -34755,7 +34755,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Error creating wallet" + "value" : "지갑 생성 오류" } }, "nb" : { @@ -34904,7 +34904,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Error occurred. Please try again" + "value" : "오류가 발생했습니다. 다시 시도하세요" } }, "nb" : { @@ -35053,7 +35053,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Error select vault" + "value" : "보관소 선택 오류" } }, "nb" : { @@ -35202,7 +35202,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Error wallet recover vault" + "value" : "지갑으로 보관소 복구 오류" } }, "nb" : { @@ -35500,7 +35500,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "This object was modified in a newer version of Anytype. Please update the app to open it on this device" + "value" : "이 오브젝트는 이후 버전의 Anytype에서 수정되었습니다. 이 기기에서 열려면 앱을 업데이트하세요." } }, "nb" : { @@ -35650,7 +35650,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Update Your App" + "value" : "앱을 업데이트하세요" } }, "nb" : { @@ -35799,7 +35799,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Please check your internet connection and try again or [post a report on forum](http://community.anytype.io/report-bug)." + "value" : "인터넷 연결 상태를 확인하고 다시 시도하거나 [문제를 포럼에 보고하세요](http://community.anytype.io/report-bug)." } }, "nb" : { @@ -36097,7 +36097,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Please connect to the internet" + "value" : "인터넷에 연결하세요" } }, "nb" : { @@ -36246,7 +36246,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Everywhere" + "value" : "어디에서나" } }, "nb" : { @@ -36693,7 +36693,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Experimental Features" + "value" : "실험적 기능" } }, "nb" : { @@ -36842,7 +36842,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Always pick object type when creating" + "value" : "새로 만들 때 항상 오브젝트 유형 고르기" } }, "nb" : { @@ -36991,7 +36991,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "New Object Creation Menu" + "value" : "새로운 오브젝트 생성 메뉴" } }, "nb" : { @@ -37289,7 +37289,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Failed to sync, trying again..." + "value" : "동기화 실패, 다시 시도 중..." } }, "nb" : { @@ -37438,7 +37438,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Featured properties" + "value" : "추천 속성" } }, "nb" : { @@ -37895,7 +37895,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Files" + "value" : "파일 %lld개" } } } @@ -38806,7 +38806,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You exceeded file limit upload" + "value" : "업로드 한도에 도달했습니다" } }, "nb" : { @@ -39104,7 +39104,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Free | %@" + "value" : "여유 공간 | %@" } }, "nb" : { @@ -39253,7 +39253,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Other spaces | %@" + "value" : "기타 공간 | %@" } }, "nb" : { @@ -39700,7 +39700,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "%@ used" + "value" : "%@ 사용함" } }, "nb" : { @@ -40147,7 +40147,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You can store up to %@ of your files on our encrypted backup node for free. If you reach the limit, files will be stored only locally." + "value" : "암호화된 백업 노드에 최대 %@의 파일을 무료로 저장할 수 있습니다. 한도에 도달하면 파일은 로컬에만 저장됩니다." } }, "nb" : { @@ -40296,7 +40296,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Remote storage is not available in local-only mode. Your files are stored locally on your device." + "value" : "원격 저장소는 로컬 전용 모드에서 사용할 수 없습니다. 파일은 기기 로컬에 저장됩니다." } }, "nb" : { @@ -40445,7 +40445,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Remote storage" + "value" : "원격 저장소" } }, "nb" : { @@ -40594,7 +40594,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "%@ of %@ used" + "value" : "사용량: %@ / %@" } }, "nb" : { @@ -40744,7 +40744,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "File storage" + "value" : "파일 저장소" } }, "nb" : { @@ -41191,7 +41191,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Forever free" + "value" : "평생 무료" } }, "nb" : { @@ -41639,7 +41639,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Made by @%@" + "value" : "@%@가 만듦" } }, "nb" : { @@ -42235,7 +42235,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Oops! \"%@\" wasn't installed. Please check your internet connection and try again or post a report on forum." + "value" : "이런! '%@'이(가) 설치되지 않았습니다. 인터넷 연결을 확인하고 다시 시도하거나 포럼에 신고해 주세요." } }, "nb" : { @@ -42384,7 +42384,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Experience was successfully installed to the \"%@\" space. You can now open and start using it." + "value" : "\"%@'\"스페이스에 Experience가 성공적으로 설치되었습니다. 열어서 시작해보세요." } }, "nb" : { @@ -42682,7 +42682,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create new object or search for something else" + "value" : "새로 오브젝트를 만들거나 다른 항목을 찾아보세요" } }, "nb" : { @@ -42831,7 +42831,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Swipe left to see related objects. Note, it works only for objects that have related objects." + "value" : "관련된 오브젝트를 보려면 왼쪽으로 스와이프하세요. 참고로, 관련된 오브젝트가 있는 경우에만 작동합니다." } }, "nb" : { @@ -42980,7 +42980,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Related objects" + "value" : "관련된 오브젝트" } }, "nb" : { @@ -43278,7 +43278,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "I got it!" + "value" : "알겠습니다!" } }, "nb" : { @@ -44023,7 +44023,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Grey background" + "value" : "회색 배경" } }, "nb" : { @@ -45066,7 +45066,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Home" + "value" : "홈" } }, "nb" : { @@ -45216,7 +45216,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Library is available in desktop app" + "value" : "라이브러리는 데스크탑 앱에서 사용 가능합니다." } }, "nb" : { @@ -45674,7 +45674,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Images" + "value" : "이미지 %lld개" } } } @@ -45988,7 +45988,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Image from Photo Library" + "value" : "사진 보관함에서 온 사진" } }, "nb" : { @@ -46137,7 +46137,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "In this object" + "value" : "이 오브젝트에서" } }, "nb" : { @@ -47032,7 +47032,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Into object" + "value" : "이 오브젝트로" } }, "nb" : { @@ -48019,7 +48019,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Just e-mail" + "value" : "단지 이메일" } }, "nb" : { @@ -48168,7 +48168,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Keychain" + "value" : "키체인" } }, "nb" : { @@ -48615,7 +48615,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Leave a space" + "value" : "스페이스 나가기" } }, "nb" : { @@ -48764,7 +48764,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Let’s Go" + "value" : "시작합시다" } }, "nb" : { @@ -48913,7 +48913,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Let's try it" + "value" : "체험해보기" } }, "nb" : { @@ -50254,7 +50254,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Paste as link" + "value" : "링크로 붙여넣기" } }, "nb" : { @@ -50404,7 +50404,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Paste as text" + "value" : "텍스트로 붙여넣기" } }, "nb" : { @@ -50712,7 +50712,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%d links" + "value" : "링크 %d개" } } } @@ -51185,7 +51185,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Lists" + "value" : "목록 %lld개" } } } @@ -52026,11 +52026,149 @@ "Locked" : { "extractionState" : "manual", "localizations" : { + "ar" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "be" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "de" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, "en" : { "stringUnit" : { "state" : "translated", "value" : "Locked" } + }, + "es" : { + "stringUnit" : { + "state" : "new", + "value" : "Protegido" + } + }, + "fa" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "fi" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "fr" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "id" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "it" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "ja" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "ko" : { + "stringUnit" : { + "state" : "new", + "value" : "잠김" + } + }, + "nb" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "nl" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "or" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "pl" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "pt-BR" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "pt-PT" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "ru" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "tr" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "uk" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "vi" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "new", + "value" : "Locked" + } } } }, @@ -52255,7 +52393,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Logout and clear data" + "value" : "로그아웃 및 데이터 지우기" } }, "nb" : { @@ -52404,7 +52542,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Long tap on Create Object button to open menu with types" + "value" : "유형 메뉴를 열려면 오브젝트 만들기 버튼을 길게 탭하세요" } }, "nb" : { @@ -52554,7 +52692,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create Objects with specific Type" + "value" : "특정 유형으로 오브젝트 만들기" } }, "nb" : { @@ -53160,7 +53298,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%d members" + "value" : "멤버 %d명" } } } @@ -53773,7 +53911,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Min %@ characters" + "value" : "최소 %@글자" } }, "nb" : { @@ -56307,7 +56445,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "New Page" + "value" : "새 페이지" } }, "nb" : { @@ -56605,7 +56743,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "New Object" + "value" : "새 오브젝트" } }, "nb" : { @@ -57350,7 +57488,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No matches found.\nTry a different keyword or check your spelling." + "value" : "일치하는 항목이 없습니다.\n검색어를 바꾸거나 철자를 확인하세요." } }, "nb" : { @@ -57499,7 +57637,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No properties yet. Add some to this type." + "value" : "아직 속성이 없습니다. 이 유형에 추가하세요." } }, "nb" : { @@ -57797,7 +57935,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No type “%@” found. Change your request or create new type." + "value" : "\"%@\" 유형을 찾을 수 없습니다. 요청을 변경하거나 새로운 유형을 만드세요." } }, "nb" : { @@ -58850,7 +58988,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Objects" + "value" : "오브젝트 %lld개" } } } @@ -60012,7 +60150,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Object types" + "value" : "오브젝트 유형 %lld개" } } } @@ -60624,7 +60762,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Are you sure you want to delete this Type? All existing objects of this type will be preserved, but will no longer be associated with it." + "value" : "정말 이 유형을 지울까요? 이 유형에 속하는 모든 오브젝트는 유지되지만, 더이상 이 유형과 연결되지 않습니다." } }, "nb" : { @@ -60773,7 +60911,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Delete Object Type?" + "value" : "오브젝트 유형 삭제?" } }, "nb" : { @@ -61220,7 +61358,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "On analytics" + "value" : "통계 위" } }, "nb" : { @@ -62263,7 +62401,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Not supported type \"%@\". You can open it via desktop." + "value" : "\"%@\"는 지원되지 않는 유형입니다. 데스크탑에서 열 수 있습니다." } }, "nb" : { @@ -62412,7 +62550,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Open web page" + "value" : "웹 페이지 열기" } }, "nb" : { @@ -62859,7 +62997,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Other properties" + "value" : "다른 속성" } }, "nb" : { @@ -63157,7 +63295,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Paid by %@" + "value" : "%@로 결제" } }, "nb" : { @@ -63455,7 +63593,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Paste or type URL" + "value" : "URL 붙여넣기 또는 입력" } }, "nb" : { @@ -64061,7 +64199,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld PDFs" + "value" : "PDF %lld개" } } } @@ -64525,7 +64663,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "We're sorry to see you go. You have 30 days to cancel this request. After 30 days, your encrypted vault data will be permanently removed from the backup node." + "value" : "떠나신다니 유감입니다. 보관소 삭제 요청은 30일 이내에 취소할 수 있습니다. 30일이 지나면 암호화된 보관소 데이터가 백업 노드에서 영구적으로 제거됩니다." } }, "nb" : { @@ -64674,7 +64812,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "per" + "value" : "당" } }, "nb" : { @@ -65078,7 +65216,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "per %#@day@" + "value" : "%#@day@ 일 당" }, "substitutions" : { "day" : { @@ -65767,7 +65905,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "per %#@month@" + "value" : "%#@month@ 월 당" }, "substitutions" : { "month" : { @@ -66456,7 +66594,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "per %#@week@" + "value" : "%#@week@ 주 당" }, "substitutions" : { "week" : { @@ -67145,7 +67283,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "per %#@year@" + "value" : "%#@year@ 년 당" }, "substitutions" : { "year" : { @@ -67728,7 +67866,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Photo" + "value" : "사진" } }, "nb" : { @@ -67877,7 +68015,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Photos" + "value" : "사진" } }, "nb" : { @@ -68324,7 +68462,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You've reached the limit of %d pinned spaces." + "value" : "%d개의 고정된 스페이스 한도에 도달했습니다." } }, "nb" : { @@ -69815,7 +69953,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Progress..." + "value" : "진행..." } }, "nb" : { @@ -70560,7 +70698,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Puzzle" + "value" : "퍼즐" } }, "nb" : { @@ -70709,7 +70847,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Puzzles" + "value" : "퍼즐" } }, "nb" : { @@ -71008,7 +71146,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create %@" + "value" : "%@ 만들기" } }, "nb" : { @@ -71754,7 +71892,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Wake up, Neo" + "value" : "일어나, 네오" } }, "nb" : { @@ -71903,7 +72041,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Red pill" + "value" : "빨간 약" } }, "nb" : { @@ -72201,7 +72339,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "We've implemented a new search library for faster and more accurate results.\nReindexing may take a few minutes." + "value" : "더 빠르고 정확한 결과를 위해 새로운 검색 라이브러리를 구현했습니다.\n다시 인덱싱하는 데에 몇 분이 걸릴 수 있습니다." } }, "nb" : { @@ -72351,7 +72489,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Upgrading your search experience" + "value" : "검색 경험 업그레이드 중" } }, "nb" : { @@ -72659,7 +72797,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Relations" + "value" : "관계 %lld개" } } } @@ -73421,7 +73559,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Remove photo" + "value" : "사진 지우기" } }, "nb" : { @@ -73719,7 +73857,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Resend in %@ sec" + "value" : "%@초 안에 재전송" } }, "nb" : { @@ -74316,7 +74454,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Restore from keychain" + "value" : "키체인에서 복구" } }, "nb" : { @@ -74614,7 +74752,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Long press the back button to return to widgets instead of tapping it repeatedly." + "value" : "위젯으로 돌아가기 위해 반복해서 탭하는 대신 뒤로 가기 버튼을 길게 누르세요." } }, "nb" : { @@ -74764,7 +74902,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Long Press to Return to Widgets" + "value" : "길게 눌러 위젯으로 돌아가기" } }, "nb" : { @@ -75062,7 +75200,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Scan documents" + "value" : "문서 스캔" } }, "nb" : { @@ -75361,7 +75499,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Scanning not supported" + "value" : "스캔이 지원되지 않습니다" } }, "nb" : { @@ -75957,7 +76095,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Related to: %@" + "value" : "관련 항목: %@" } }, "nb" : { @@ -76106,7 +76244,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Show related objects" + "value" : "관련 오브젝트 표시" } }, "nb" : { @@ -76255,7 +76393,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Related to" + "value" : "관련 항목" } }, "nb" : { @@ -76404,7 +76542,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You phone doesn’t have a passcode or biometric authorization. It might make it easier to steal your data. Enable it in your app settings to secure your data." + "value" : "휴대폰에 암호나 생체 인증이 없습니다. 데이터가 취약해질 수 있으니 이를 보호하기 위해 설정에서 활성화하세요." } }, "nb" : { @@ -76553,7 +76691,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Proceed anyway" + "value" : "무시하고 계속" } }, "nb" : { @@ -76702,7 +76840,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Secure your phone" + "value" : "휴대폰 보호" } }, "nb" : { @@ -76851,7 +76989,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "See all" + "value" : "모두 보기" } }, "nb" : { @@ -77447,7 +77585,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Select object" + "value" : "오브젝트 선택" } }, "nb" : { @@ -77596,7 +77734,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Select Objects" + "value" : "오브젝트 선택" } }, "nb" : { @@ -78192,7 +78330,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Select vault error" + "value" : "보관소 선택 오류" } }, "nb" : { @@ -78963,7 +79101,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Send" + "value" : "보내기" } }, "nb" : { @@ -79112,7 +79250,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Add Self-hosted Network" + "value" : "자체 호스팅 네트워크 추가" } }, "nb" : { @@ -79559,7 +79697,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Yes, I accept risks" + "value" : "네, 위험을 감수합니다" } }, "nb" : { @@ -79708,7 +79846,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No, don’t use it" + "value" : "아니오, 쓰지 않겠습니다" } }, "nb" : { @@ -79857,7 +79995,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Local-only mode is an experimental feature and does not provide security benefits. Please use it at your own risk, as data loss may occur." + "value" : "로컬 전용 모드는 실험적 기능이며 보안적으로 어떠한 이득이 없습니다. 데이터 손실이 일어날 수 있으니 위험을 감수하며 사용하세요." } }, "nb" : { @@ -80902,7 +81040,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Query of %@" + "value" : "%@의 쿼리" } }, "nb" : { @@ -81051,7 +81189,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Queries" + "value" : "쿼리" } }, "nb" : { @@ -81349,7 +81487,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Auto Create Type Widgets" + "value" : "자동 생성 유형 위젯" } }, "nb" : { @@ -81498,7 +81636,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Chat is disabled" + "value" : "채팅이 비활성화됨" } }, "nb" : { @@ -81647,7 +81785,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Chat is enabled" + "value" : "채팅이 활성화됨" } }, "nb" : { @@ -82094,7 +82232,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Space type" + "value" : "스페이스 유형" } }, "nb" : { @@ -82393,7 +82531,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Space information updated" + "value" : "스페이스 정보 업로드" } }, "nb" : { @@ -82840,7 +82978,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Delete view" + "value" : "보기 지우기" } }, "nb" : { @@ -84183,7 +84321,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Reset style" + "value" : "서식 초기화" } }, "nb" : { @@ -86567,7 +86705,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Sky background" + "value" : "하늘색 배경" } }, "nb" : { @@ -88058,7 +88196,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "%@ deleted successfully" + "value" : "%@가 성공적으로 삭제됨" } }, "nb" : { @@ -88207,7 +88345,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create objects inside widgets by easily swiping them left." + "value" : "왼쪽으로 스와이프하여 쉽게 위젯 안에 오브젝트를 만드세요" } }, "nb" : { @@ -88357,7 +88495,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Swipe to Create Objects" + "value" : "스와이프하여 오브젝트 만들기" } }, "nb" : { @@ -90146,7 +90284,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Restricted. Tap to open device settings." + "value" : "제한됨. 장치 설정 열기" } }, "nb" : { @@ -90603,7 +90741,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Tags" + "value" : "태그 %lld개" } } } @@ -90918,7 +91056,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Add headings to create a table of contents" + "value" : "목차를 만들기 위해 제목을 추가하세요" } }, "nb" : { @@ -91216,7 +91354,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Teal background" + "value" : "청록색 배경" } }, "nb" : { @@ -91514,7 +91652,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "The template was set as default" + "value" : "기본값으로 설정되었습니다" } }, "nb" : { @@ -91663,7 +91801,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "The template was duplicated" + "value" : "이 템플릿은 중복되었습니다" } }, "nb" : { @@ -91812,7 +91950,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "The template was removed" + "value" : "템플릿이 삭제되었습니다" } }, "nb" : { @@ -92110,7 +92248,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "New template was added to the type %@" + "value" : "%@ 유형에 새로운 템플릿이 추가됐습니다" } }, "nb" : { @@ -92259,7 +92397,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Text Style" + "value" : "텍스트 서식" } }, "nb" : { @@ -94942,7 +95080,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "There is no emoji named" + "value" : "다음 이름의 이모지가 없습니다" } }, "nb" : { @@ -95091,7 +95229,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "There is no icon named" + "value" : "다음 이름의 아이콘이 없습니다" } }, "nb" : { @@ -95241,7 +95379,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "There is no object named %@" + "value" : "%@라는 이름의 오브젝트가 없습니다" } }, "nb" : { @@ -95390,7 +95528,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "There is no property named %@" + "value" : "%@라는 이름의 속성이 없습니다" } }, "nb" : { @@ -95539,7 +95677,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "There is no type named %@" + "value" : "%@라는 이름의 유형이 없습니다" } }, "nb" : { @@ -95688,7 +95826,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "These objects will be deleted irrevocably. You can’t undo this action." + "value" : "오브젝트들이 영구적으로 삭제됩니다. 이 작업은 취소할 수 없습니다." } }, "nb" : { @@ -96135,7 +96273,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Toggle empty. Tap to create block." + "value" : "빈 토글. 탭하여 블록 만들기" } }, "nb" : { @@ -96433,7 +96571,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Try to find a new one" + "value" : "새로운 항목을 찾아보세요" } }, "nb" : { @@ -96582,7 +96720,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Try to find a new one or upload your image" + "value" : "새로운 항목을 찾아보거나 이미지를 업로드하세요" } }, "nb" : { @@ -96880,7 +97018,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Type Name" + "value" : "유형 이름" } }, "nb" : { @@ -98073,7 +98211,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Unlimited" + "value" : "무제한" } }, "nb" : { @@ -98302,11 +98440,149 @@ "Unlocked" : { "extractionState" : "manual", "localizations" : { + "ar" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "be" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "de" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, "en" : { "stringUnit" : { "state" : "translated", "value" : "Unlocked" } + }, + "es" : { + "stringUnit" : { + "state" : "new", + "value" : "Desprotegido" + } + }, + "fa" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "fi" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "fr" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "id" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "it" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "ja" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "ko" : { + "stringUnit" : { + "state" : "new", + "value" : "잠금 해제됨" + } + }, + "nb" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "nl" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "or" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "pl" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "pt-BR" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "pt-PT" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "ru" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "tr" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "uk" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "vi" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "new", + "value" : "Unlocked" + } } } }, @@ -99127,7 +99403,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Unset as default" + "value" : "기본값으로 설정 해제" } }, "nb" : { @@ -99276,7 +99552,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Unset default" + "value" : "기본값으로 설정 해제" } }, "nb" : { @@ -100468,7 +100744,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Upgrade" + "value" : "업그레이드" } }, "nb" : { @@ -100766,7 +101042,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Valid until:" + "value" : "다음 날짜까지 유효:" } }, "nb" : { @@ -100915,7 +101191,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Valid until %@" + "value" : "%@까지 유효" } }, "nb" : { @@ -101213,7 +101489,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Vault deleted" + "value" : "보관소 삭제됨" } }, "nb" : { @@ -101810,7 +102086,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Version %@ was restored" + "value" : "%@ 버전이 복구됨" } }, "nb" : { @@ -102118,7 +102394,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Videos" + "value" : "영상 %lld개" } } } @@ -102581,7 +102857,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "View in Browser" + "value" : "브라우저에서 보기" } }, "nb" : { @@ -103775,7 +104051,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You can’t undo this action." + "value" : "이 작업은 취소할 수 없습니다." } }, "nb" : { @@ -104143,13 +104419,13 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%d objects deleted" + "value" : "오브젝트 %d개 삭제됨" } }, "zero" : { "stringUnit" : { "state" : "new", - "value" : "Bin already empty" + "value" : "이미 휴지통 빔" } } } @@ -104833,7 +105109,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "New Object" + "value" : "새 오브젝트" } }, "nb" : { @@ -105280,7 +105556,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Anytype is ready to update" + "value" : "Anytype 업데이트가 준비됨" } }, "nb" : { @@ -105429,7 +105705,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Widget %@ was added" + "value" : "%@ 위젯이 추가됨" } }, "nb" : { @@ -105578,7 +105854,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create Object" + "value" : "오브젝트 만들기" } }, "nb" : { @@ -105727,7 +106003,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "There are no objects here" + "value" : "오브젝트 없음" } }, "nb" : { @@ -108409,7 +108685,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "We’ve redesigned how widgets work, and this widget is no longer supported. Once deleted, this widget cannot be restored." + "value" : "위젯 작동 방식을 바꾸어 이 위젯은 더이상 지원되지 않습니다. 이 위젯은 삭제 후 복구할 수 없습니다." } }, "nb" : { @@ -108856,7 +109132,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Yellow background" + "value" : "노란색 배경" } }, "nb" : { @@ -109154,7 +109430,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You joined %@" + "value" : "%@에 참여함" } }, "nb" : { From 61abe8062a99e413ac1895b9c4657d2a47e2d9d7 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Mon, 29 Sep 2025 17:33:36 +0300 Subject: [PATCH 029/228] IOS-5233 Add scropt --- Scripts/install-swiftprotobuf.sh | 61 ++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100755 Scripts/install-swiftprotobuf.sh diff --git a/Scripts/install-swiftprotobuf.sh b/Scripts/install-swiftprotobuf.sh new file mode 100755 index 0000000000..d1ea67858a --- /dev/null +++ b/Scripts/install-swiftprotobuf.sh @@ -0,0 +1,61 @@ +ф#!/usr/bin/env bash +# ./Scripts/install-swiftprotobuf.sh +# Clones apple/swift-protobuf (if missing), checks out a specific version, and builds a release. + +set -euo pipefail + +# ===== Settings ===== +# Set the desired release tag here (examples: 1.26.0, 1.25.2). No env override. +SWIFT_PROTOBUF_VERSION="1.26.0" +REPO_URL="https://github.com/apple/swift-protobuf" + +# Project root = one level above Scripts/ +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +ROOT_DIR="$(cd "${SCRIPT_DIR}/.." && pwd)" + +# Clone destination +BUILD_DIR="${ROOT_DIR}/build" +CLONE_DIR="${BUILD_DIR}/swift-protobuf" + +# ===== Clone (if needed) ===== +mkdir -p "${BUILD_DIR}" + +if [ ! -d "${CLONE_DIR}/.git" ]; then + echo "➡️ Cloning ${REPO_URL} into ${CLONE_DIR}..." + git clone "${REPO_URL}" "${CLONE_DIR}" +else + echo "ℹ️ Repository already exists at ${CLONE_DIR}." +fi + +# ===== Fetch tags and checkout version ===== +echo "➡️ Fetching tags..." +git -C "${CLONE_DIR}" fetch --all --tags --prune + +pushd "${CLONE_DIR}" >/dev/null + +# Support tags with and without 'v' prefix +if git rev-parse -q --verify "refs/tags/${SWIFT_PROTOBUF_VERSION}" >/dev/null; then + TAG="refs/tags/${SWIFT_PROTOBUF_VERSION}" +elif git rev-parse -q --verify "refs/tags/v${SWIFT_PROTOBUF_VERSION}" >/dev/null; then + TAG="refs/tags/v${SWIFT_PROTOBUF_VERSION}" +else + echo "❌ Tag ${SWIFT_PROTOBUF_VERSION} (or v${SWIFT_PROTOBUF_VERSION}) not found in ${REPO_URL}." >&2 + echo " Tip: list available versions with: git -C ${CLONE_DIR} tag -l" >&2 + exit 1 +fi + +echo "➡️ Checking out ${TAG}..." +git checkout -q "${TAG}" +git submodule update --init --recursive + +# ===== Build (release) ===== +echo "➡️ Building (SwiftPM, release)..." +swift build -c release + +popd >/dev/null + +# ===== Done ===== +echo "✅ Done." +echo " Repository: ${CLONE_DIR}" +echo " Build dir: ${CLONE_DIR}/.build/release" +echo " Version: ${SWIFT_PROTOBUF_VERSION}" \ No newline at end of file From c2a1957926e14a03dcf6ad7eee24b12a9f94021a Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Mon, 29 Sep 2025 18:10:19 +0300 Subject: [PATCH 030/228] IOS-5233 fix --- Modules/ProtobufMessages/Scripts/generate.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Modules/ProtobufMessages/Scripts/generate.sh b/Modules/ProtobufMessages/Scripts/generate.sh index 8d5994ca2f..106648442a 100755 --- a/Modules/ProtobufMessages/Scripts/generate.sh +++ b/Modules/ProtobufMessages/Scripts/generate.sh @@ -1,6 +1,11 @@ #!/usr/bin/env bash SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +ROOT_DIR="${SCRIPT_DIR}/../../../" + +# Generate models from protoc + +protoc --plugin=protoc-gen-swift="${ROOT_DIR}/build/swift-protobuf/build/release" --swift_out="${ROOT_DIR}/Dependencies/Test" --proto_path="${ROOT_DIR}/Dependencies/Middleware/protobuf/protos" ${ROOT_DIR}/Dependencies/Middleware/protobuf/protos/*.proto # ./Tools/SwiftGen/swiftgen config run --config ${SCRIPT_DIR}/Configs/swiftgen.yml -./build/sourcery --config ${SCRIPT_DIR}/Loc/sourcery.yml +#./build/sourcery --config ${SCRIPT_DIR}/Loc/sourcery.yml From dfd53be5f9531e1da1ef7b3ad444b17bb8706225 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Mon, 29 Sep 2025 18:56:24 +0300 Subject: [PATCH 031/228] IOS-5233 Update generator --- Makefile | 8 ++---- Modules/ProtobufMessages/Scripts/generate.sh | 29 ++++++++++++++++++-- Scripts/install-swiftprotobuf.sh | 2 +- 3 files changed, 29 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 6e70b21a59..5c3a08c4e4 100644 --- a/Makefile +++ b/Makefile @@ -13,15 +13,10 @@ change-github-token: ./Scripts/change-token.sh generate-middle: setup-tools - rm -rf Modules/ProtobufMessages/Sources/Protocol/* - $(FILE_SPLITTER) --path ./Dependencies/Middleware/protobuf/commands.pb.swift --output-dir ./Modules/ProtobufMessages/Sources/Protocol/Commands --other-name CommandsOther.swift - $(FILE_SPLITTER) --path ./Dependencies/Middleware/protobuf/events.pb.swift --output-dir ./Modules/ProtobufMessages/Sources/Protocol/Events --other-name EventsOther.swift - $(FILE_SPLITTER) --path ./Dependencies/Middleware/protobuf/models.pb.swift --output-dir ./Modules/ProtobufMessages/Sources/Protocol/Models --other-name ModelsOther.swift --max-depth 4 - cp -r Dependencies/Middleware/protobuf/localstore.pb.swift Modules/ProtobufMessages/Sources/Protocol + ./Modules/ProtobufMessages/Scripts/generate.sh ./build/sourcery --config ./Modules/ProtobufMessages/sourcery.yml ./Tools/anytype-swift-codegen --yaml-path ./Modules/ProtobufMessages/anytypeGen.yml --project-dir ./Modules/ProtobufMessages --output-dir ./Modules/ProtobufMessages/Sources/Generated ./build/swiftgen --config ./Modules/Services/swiftgen.yml - ./Modules/ProtobufMessages/Scripts/generate.sh generate: # We also have code generation in XCode Build phases for main target and widgets @@ -44,6 +39,7 @@ setup-middle-local: build-middle-local install-middle-local setup-env: ./Scripts/install-sourcery.sh + ./Scripts/install-swiftprotobuf.sh brew install ubi ubi --project "mgolovko/SwiftGen" --tag "6.6.4-alpha.0" --matching "swiftgen-6.6.4-alpha.0-macos.zip" --exe swiftgen --in ./build diff --git a/Modules/ProtobufMessages/Scripts/generate.sh b/Modules/ProtobufMessages/Scripts/generate.sh index 106648442a..3b50c9a201 100755 --- a/Modules/ProtobufMessages/Scripts/generate.sh +++ b/Modules/ProtobufMessages/Scripts/generate.sh @@ -1,11 +1,34 @@ #!/usr/bin/env bash + SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -ROOT_DIR="${SCRIPT_DIR}/../../../" +MODULE_DIR=${SCRIPT_DIR}/.. +ROOT_DIR=${SCRIPT_DIR}/../../.. # Generate models from protoc -protoc --plugin=protoc-gen-swift="${ROOT_DIR}/build/swift-protobuf/build/release" --swift_out="${ROOT_DIR}/Dependencies/Test" --proto_path="${ROOT_DIR}/Dependencies/Middleware/protobuf/protos" ${ROOT_DIR}/Dependencies/Middleware/protobuf/protos/*.proto +PROTO_PATH=${ROOT_DIR}/Dependencies/Middleware/protobuf/protos +PROTO_OUT=${ROOT_DIR}/Dependencies/Middleware/genmodels + +mkdir -p ${PROTO_OUT} +rm -rf ${PROTO_OUT}/* + +find "$PROTO_PATH" -name '*.proto' | while read -r file; do + # import "some/models.proto" -> import "models.proto" + sed -i.bak -E \ + '/import[[:space:]]+"google\/protobuf\//! s#(import[[:space:]]+")([^"/]+/)*([^"/]+\.proto)"#\1\3"#g' \ + "$file" +done + +protoc --plugin=protoc-gen-swift="${ROOT_DIR}/build/swift-protobuf/.build/release/protoc-gen-swift" --swift_opt=FileNaming=DropPath --swift_opt=Visibility=Public --swift_out="${PROTO_OUT}" --proto_path="${PROTO_PATH}" ${PROTO_PATH}/*.proto + +# Split files and copy + +rm -rf ${MODULE_DIR}/Sources/Protocol/* +./build/anytype-swift-filesplit-v1 --path ${PROTO_OUT}/commands.pb.swift --output-dir ${MODULE_DIR}/Sources/Protocol/Commands --other-name CommandsOther.swift +./build/anytype-swift-filesplit-v1 --path ${PROTO_OUT}/events.pb.swift --output-dir ${MODULE_DIR}/Sources/Protocol/Events --other-name EventsOther.swift +./build/anytype-swift-filesplit-v1 --path ${PROTO_OUT}/models.pb.swift --output-dir ${MODULE_DIR}/Sources/Protocol/Models --other-name ModelsOther.swift --max-depth 4 +cp -r ${PROTO_OUT}/localstore.pb.swift Modules/ProtobufMessages/Sources/Protocol # ./Tools/SwiftGen/swiftgen config run --config ${SCRIPT_DIR}/Configs/swiftgen.yml -#./build/sourcery --config ${SCRIPT_DIR}/Loc/sourcery.yml +./build/sourcery --config ${SCRIPT_DIR}/Loc/sourcery.yml diff --git a/Scripts/install-swiftprotobuf.sh b/Scripts/install-swiftprotobuf.sh index d1ea67858a..93bb977c15 100755 --- a/Scripts/install-swiftprotobuf.sh +++ b/Scripts/install-swiftprotobuf.sh @@ -6,7 +6,7 @@ set -euo pipefail # ===== Settings ===== # Set the desired release tag here (examples: 1.26.0, 1.25.2). No env override. -SWIFT_PROTOBUF_VERSION="1.26.0" +SWIFT_PROTOBUF_VERSION="1.28.2" REPO_URL="https://github.com/apple/swift-protobuf" # Project root = one level above Scripts/ From d56f8e2634e1c6115946ed09adb2df3c8be257a7 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Tue, 30 Sep 2025 10:29:11 +0300 Subject: [PATCH 032/228] IOS-5233 test --- .../Sources/Protocol/Commands/Anytype_Empty.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.AI.Autofill.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.AI.ListSummary.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.AI.ObjectCreateFromUrl.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.AI.Provider.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.AI.ProviderConfig.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.AI.WritingTools.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.AI.swift | 2 +- .../Commands/Anytype_Rpc.Account.ChangeJsonApiAddr.swift | 2 +- .../Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Account.Config.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Account.ConfigUpdate.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Account.Create.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Account.Delete.swift | 2 +- .../Commands/Anytype_Rpc.Account.EnableLocalNetworkSync.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Account.GetConfig.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Account.LocalLink.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Account.Migrate.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Account.MigrateCancel.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Account.Move.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Account.NetworkMode.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Account.Recover.swift | 2 +- .../Commands/Anytype_Rpc.Account.RecoverFromLegacyExport.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Account.RevertDeletion.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Account.Select.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Account.Stop.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Account.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.App.GetVersion.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.App.SetDeviceState.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.App.Shutdown.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.App.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Block.Copy.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Block.Create.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Block.CreateWidget.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Block.Cut.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Block.Download.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Block.Export.swift | 2 +- .../Commands/Anytype_Rpc.Block.ListConvertToObjects.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Block.ListDelete.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Block.ListDuplicate.swift | 2 +- .../Commands/Anytype_Rpc.Block.ListMoveToExistingObject.swift | 2 +- .../Commands/Anytype_Rpc.Block.ListMoveToNewObject.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Block.ListSetAlign.swift | 2 +- .../Commands/Anytype_Rpc.Block.ListSetBackgroundColor.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Block.ListSetFields.swift | 2 +- .../Commands/Anytype_Rpc.Block.ListSetVerticalAlign.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Block.ListTurnInto.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Block.ListUpdate.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Block.Merge.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Block.Paste.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Block.Preview.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Block.Replace.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Block.SetCarriage.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Block.SetFields.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Block.Split.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Block.Upload.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Block.swift | 2 +- .../Commands/Anytype_Rpc.BlockBookmark.CreateAndFetch.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockBookmark.Fetch.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.swift | 2 +- .../Anytype_Rpc.BlockDataview.CreateFromExistingObject.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockDataview.Filter.swift | 2 +- .../Commands/Anytype_Rpc.BlockDataview.GroupOrder.swift | 2 +- .../Commands/Anytype_Rpc.BlockDataview.ObjectOrder.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockDataview.Relation.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockDataview.SetSource.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockDataview.Sort.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockDataview.View.swift | 2 +- .../Commands/Anytype_Rpc.BlockDataview.ViewRelation.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockDiv.ListSetStyle.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.BlockDiv.swift | 2 +- .../Commands/Anytype_Rpc.BlockFile.CreateAndUpload.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockFile.ListSetStyle.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockFile.SetName.swift | 2 +- .../Commands/Anytype_Rpc.BlockFile.SetTargetObjectId.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.BlockFile.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockImage.SetName.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockImage.SetWidth.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.BlockImage.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockLatex.SetProcessor.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockLatex.SetText.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.swift | 2 +- .../Commands/Anytype_Rpc.BlockLink.CreateWithObject.swift | 2 +- .../Commands/Anytype_Rpc.BlockLink.ListSetAppearance.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.BlockLink.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockRelation.Add.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockRelation.SetKey.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockTable.ColumnCreate.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockTable.ColumnDelete.swift | 2 +- .../Commands/Anytype_Rpc.BlockTable.ColumnDuplicate.swift | 2 +- .../Commands/Anytype_Rpc.BlockTable.ColumnListFill.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockTable.ColumnMove.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockTable.Create.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockTable.Expand.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockTable.RowCreate.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockTable.RowDelete.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockTable.RowDuplicate.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockTable.RowListClean.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockTable.RowListFill.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockTable.RowSetHeader.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Sort.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.BlockTable.swift | 2 +- .../Commands/Anytype_Rpc.BlockText.ListClearContent.swift | 2 +- .../Commands/Anytype_Rpc.BlockText.ListClearStyle.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockText.ListSetColor.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockText.ListSetMark.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockText.ListSetStyle.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockText.SetChecked.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockText.SetColor.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockText.SetIcon.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockText.SetMarks.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockText.SetStyle.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockText.SetText.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.BlockText.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockVideo.SetName.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockVideo.SetWidth.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockWidget.SetLayout.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockWidget.SetLimit.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockWidget.SetTargetId.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.BlockWidget.SetViewId.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Broadcast.PayloadEvent.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Broadcast.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Chat.AddMessage.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Chat.DeleteMessage.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Chat.EditMessageContent.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Chat.GetMessages.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Chat.GetMessagesByIds.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Chat.ReadAll.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Chat.ReadMessages.swift | 2 +- .../Commands/Anytype_Rpc.Chat.SubscribeLastMessages.swift | 2 +- .../Commands/Anytype_Rpc.Chat.SubscribeToMessagePreviews.swift | 2 +- .../Commands/Anytype_Rpc.Chat.ToggleMessageReaction.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Chat.Unread.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Chat.Unsubscribe.swift | 2 +- .../Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Chat.swift | 2 +- .../Commands/Anytype_Rpc.Debug.AccountSelectTrace.swift | 2 +- .../Commands/Anytype_Rpc.Debug.AnystoreObjectChanges.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Debug.ExportLocalstore.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Debug.ExportLog.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Debug.NetCheck.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Debug.OpenedObjects.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Debug.Ping.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Debug.RunProfiler.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Debug.SpaceSummary.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Debug.StackGoroutines.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Debug.Stat.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Debug.Subscriptions.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Debug.Tree.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Debug.TreeHeads.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Debug.TreeInfo.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Debug.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Device.List.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Device.NetworkState.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Device.SetName.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Device.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.File.DiscardPreload.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.File.Download.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.File.Drop.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.File.ListOffload.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.File.NodeUsage.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.File.Offload.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.File.Reconcile.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.File.SpaceOffload.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.File.SpaceUsage.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.File.Upload.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.File.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Gallery.DownloadIndex.swift | 2 +- .../Commands/Anytype_Rpc.Gallery.DownloadManifest.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Gallery.swift | 2 +- .../Commands/Anytype_Rpc.GenericErrorResponse.Error.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.GenericErrorResponse.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.History.DiffVersions.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.History.GetVersions.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.History.SetVersion.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.History.ShowVersion.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.History.Version.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.History.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Initial.SetParameters.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Initial.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.LinkPreview.Request.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.LinkPreview.Response.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Log.Send.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Log.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Membership.CodeGetInfo.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Membership.CodeRedeem.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Membership.Finalize.swift | 2 +- .../Commands/Anytype_Rpc.Membership.GetPortalLinkUrl.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Membership.GetStatus.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Membership.GetTiers.swift | 2 +- .../Commands/Anytype_Rpc.Membership.GetVerificationEmail.swift | 2 +- .../Anytype_Rpc.Membership.GetVerificationEmailStatus.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Membership.IsNameValid.swift | 2 +- .../Anytype_Rpc.Membership.RegisterPaymentRequest.swift | 2 +- .../Commands/Anytype_Rpc.Membership.VerifyAppStoreReceipt.swift | 2 +- .../Commands/Anytype_Rpc.Membership.VerifyEmailCode.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Membership.swift | 2 +- .../Commands/Anytype_Rpc.NameService.ResolveAnyId.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.NameService.ResolveName.swift | 2 +- .../Commands/Anytype_Rpc.NameService.ResolveSpaceId.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.NameService.UserAccount.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.NameService.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Navigation.Context.swift | 2 +- .../Anytype_Rpc.Navigation.GetObjectInfoWithLinks.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Navigation.ListObjects.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Navigation.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Notification.List.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Notification.Reply.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Notification.Test.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Notification.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.ApplyTemplate.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.BookmarkFetch.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Object.ChatAdd.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Object.Close.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Object.Create.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.CreateBookmark.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.CreateFromUrl.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.CreateObjectType.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.CreateRelation.swift | 2 +- .../Commands/Anytype_Rpc.Object.CreateRelationOption.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.CreateSet.swift | 2 +- .../Commands/Anytype_Rpc.Object.CrossSpaceSearchSubscribe.swift | 2 +- .../Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.DateByTimestamp.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.Duplicate.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Object.Export.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Object.Graph.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.GroupsSubscribe.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Object.Import.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.ImportExperience.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.ImportList.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.ImportUseCase.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.ListDelete.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.ListDuplicate.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.ListExport.swift | 2 +- .../Commands/Anytype_Rpc.Object.ListModifyDetailValues.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.ListSetDetails.swift | 2 +- .../Commands/Anytype_Rpc.Object.ListSetIsArchived.swift | 2 +- .../Commands/Anytype_Rpc.Object.ListSetIsFavorite.swift | 2 +- .../Commands/Anytype_Rpc.Object.ListSetObjectType.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Object.Open.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.OpenBreadcrumbs.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Object.Redo.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Object.Refresh.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Object.Search.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.SearchSubscribe.swift | 2 +- .../Commands/Anytype_Rpc.Object.SearchUnsubscribe.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.SearchWithMeta.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.SetBreadcrumbs.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.SetDetails.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.SetInternalFlags.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.SetIsArchived.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.SetIsFavorite.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.SetLayout.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.SetObjectType.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.SetSource.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.ShareByLink.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Object.Show.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.SubscribeIds.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.ToCollection.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Object.ToSet.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Object.Undo.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Object.UndoRedoCounter.swift | 2 +- .../Commands/Anytype_Rpc.Object.WorkspaceSetDashboard.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Object.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.ObjectCollection.Add.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.ObjectCollection.Remove.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.ObjectCollection.Sort.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.ObjectCollection.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.ObjectRelation.Add.swift | 2 +- .../Commands/Anytype_Rpc.ObjectRelation.AddFeatured.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.ObjectRelation.Delete.swift | 2 +- .../Commands/Anytype_Rpc.ObjectRelation.ListAvailable.swift | 2 +- .../Commands/Anytype_Rpc.ObjectRelation.RemoveFeatured.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.swift | 2 +- .../Anytype_Rpc.ObjectType.ListConflictingRelations.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.ObjectType.Recommended.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.ObjectType.Relation.swift | 2 +- .../Anytype_Rpc.ObjectType.ResolveLayoutConflicts.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.ObjectType.SetOrder.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.ObjectType.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Process.Cancel.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Process.Subscribe.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Process.Unsubscribe.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Process.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Publishing.Create.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Publishing.GetStatus.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Publishing.List.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Publishing.PublishState.swift | 2 +- .../Commands/Anytype_Rpc.Publishing.PublishStatus.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Publishing.Remove.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Publishing.ResolveUri.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Publishing.swift | 2 +- .../Commands/Anytype_Rpc.PushNotification.RegisterToken.swift | 2 +- .../Commands/Anytype_Rpc.PushNotification.SetSpaceMode.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.PushNotification.swift | 2 +- .../Commands/Anytype_Rpc.Relation.ListRemoveOption.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Relation.ListWithValue.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Relation.Option.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Relation.Options.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Relation.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Space.Delete.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Space.InviteChange.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Space.InviteGenerate.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Space.InviteGetCurrent.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Space.InviteGetGuest.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Space.InviteRevoke.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Space.InviteView.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Space.Join.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Space.JoinCancel.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Space.LeaveApprove.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Space.MakeShareable.swift | 2 +- .../Anytype_Rpc.Space.ParticipantPermissionsChange.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Space.ParticipantRemove.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Space.RequestApprove.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Space.RequestDecline.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Space.SetOrder.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Space.StopSharing.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Space.UnsetOrder.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Space.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Template.Clone.swift | 2 +- .../Commands/Anytype_Rpc.Template.CreateFromObject.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Template.ExportAll.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Template.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Unsplash.Download.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Unsplash.Search.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Unsplash.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Wallet.CloseSession.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Wallet.Convert.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Wallet.Create.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Wallet.CreateSession.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Wallet.Recover.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Wallet.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Workspace.Create.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Workspace.Export.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Workspace.GetAll.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Workspace.GetCurrent.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Workspace.Object.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Workspace.Open.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Workspace.Select.swift | 2 +- .../Protocol/Commands/Anytype_Rpc.Workspace.SetInfo.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.Workspace.swift | 2 +- .../Sources/Protocol/Commands/Anytype_Rpc.swift | 2 +- .../Sources/Protocol/Commands/Anytype_StreamRequest.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Account.Config.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Account.Details.swift | 2 +- .../Protocol/Events/Anytype_Event.Account.LinkChallenge.swift | 2 +- .../Events/Anytype_Event.Account.LinkChallengeHide.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Account.Show.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Account.Update.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Account.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Block.Add.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Block.Dataview.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Block.Delete.swift | 2 +- .../Protocol/Events/Anytype_Event.Block.FilesUpload.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Block.Fill.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Block.MarksInfo.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Block.Set.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Block.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Chat.Add.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Chat.Delete.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Chat.Update.swift | 2 +- .../Events/Anytype_Event.Chat.UpdateMentionReadStatus.swift | 2 +- .../Events/Anytype_Event.Chat.UpdateMessageReadStatus.swift | 2 +- .../Events/Anytype_Event.Chat.UpdateMessageSyncStatus.swift | 2 +- .../Protocol/Events/Anytype_Event.Chat.UpdateReactions.swift | 2 +- .../Protocol/Events/Anytype_Event.Chat.UpdateState.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Chat.swift | 2 +- .../Protocol/Events/Anytype_Event.File.LimitReached.swift | 2 +- .../Protocol/Events/Anytype_Event.File.LimitUpdated.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.File.LocalUsage.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.File.SpaceUsage.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.File.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Import.Finish.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Import.swift | 2 +- .../Protocol/Events/Anytype_Event.Membership.Update.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Membership.swift | 2 +- .../Protocol/Events/Anytype_Event.Message.OneOf_Value.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Message.swift | 2 +- .../Protocol/Events/Anytype_Event.Notification.Send.swift | 2 +- .../Protocol/Events/Anytype_Event.Notification.Update.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Notification.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Object.Close.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Object.Details.swift | 2 +- .../Protocol/Events/Anytype_Event.Object.Relations.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Object.Remove.swift | 2 +- .../Protocol/Events/Anytype_Event.Object.Restrictions.swift | 2 +- .../Protocol/Events/Anytype_Event.Object.Subscription.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Object.swift | 2 +- .../Protocol/Events/Anytype_Event.P2PStatus.Status.swift | 2 +- .../Protocol/Events/Anytype_Event.P2PStatus.Update.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.P2PStatus.swift | 2 +- .../Protocol/Events/Anytype_Event.Payload.Broadcast.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Payload.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Ping.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Process.Done.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Process.New.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Process.Update.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Process.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Space.Network.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Space.Status.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Space.SyncError.swift | 2 +- .../Protocol/Events/Anytype_Event.Space.SyncStatus.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Space.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Status.Thread.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.Status.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.User.Block.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.User.swift | 2 +- .../Sources/Protocol/Events/Anytype_Event.swift | 2 +- .../Protocol/Events/Anytype_Model.Process.DropFiles.swift | 2 +- .../Sources/Protocol/Events/Anytype_Model.Process.Export.swift | 2 +- .../Sources/Protocol/Events/Anytype_Model.Process.Import.swift | 2 +- .../Protocol/Events/Anytype_Model.Process.Migration.swift | 2 +- .../Protocol/Events/Anytype_Model.Process.OneOf_Message.swift | 2 +- .../Protocol/Events/Anytype_Model.Process.PreloadFile.swift | 2 +- .../Protocol/Events/Anytype_Model.Process.Progress.swift | 2 +- .../Protocol/Events/Anytype_Model.Process.SaveFile.swift | 2 +- .../Sources/Protocol/Events/Anytype_Model.Process.State.swift | 2 +- .../Sources/Protocol/Events/Anytype_Model.Process.swift | 2 +- .../Sources/Protocol/Events/Anytype_Model.swift | 2 +- .../Sources/Protocol/Events/Anytype_ResponseEvent.swift | 2 +- .../Protocol/Models/Anytype_Model_Account.Auth.AppInfo.swift | 2 +- .../Models/Anytype_Model_Account.Auth.LocalApiScope.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Account.Auth.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Account.Config.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Account.Info.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Account.Status.swift | 2 +- .../Protocol/Models/Anytype_Model_Account.StatusType.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Account.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Block.Align.swift | 2 +- .../Models/Anytype_Model_Block.Content.Bookmark.State.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.Content.Bookmark.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.Content.Chat.swift | 2 +- .../Models/Anytype_Model_Block.Content.Dataview.Checkbox.swift | 2 +- .../Models/Anytype_Model_Block.Content.Dataview.Date.swift | 2 +- .../Models/Anytype_Model_Block.Content.Dataview.Filter.swift | 2 +- .../Models/Anytype_Model_Block.Content.Dataview.Group.swift | 2 +- .../Anytype_Model_Block.Content.Dataview.GroupOrder.swift | 2 +- .../Anytype_Model_Block.Content.Dataview.ObjectOrder.swift | 2 +- .../Models/Anytype_Model_Block.Content.Dataview.Relation.swift | 2 +- .../Models/Anytype_Model_Block.Content.Dataview.Sort.swift | 2 +- .../Models/Anytype_Model_Block.Content.Dataview.Status.swift | 2 +- .../Models/Anytype_Model_Block.Content.Dataview.Tag.swift | 2 +- .../Models/Anytype_Model_Block.Content.Dataview.View.swift | 2 +- .../Models/Anytype_Model_Block.Content.Dataview.ViewGroup.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.Content.Dataview.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.Content.Div.Style.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.Content.Div.swift | 2 +- .../Models/Anytype_Model_Block.Content.FeaturedRelations.swift | 2 +- .../Models/Anytype_Model_Block.Content.File.State.swift | 2 +- .../Models/Anytype_Model_Block.Content.File.Style.swift | 2 +- .../Models/Anytype_Model_Block.Content.File.TypeEnum.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.Content.File.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.Content.Icon.swift | 2 +- .../Models/Anytype_Model_Block.Content.Latex.Processor.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.Content.Latex.swift | 2 +- .../Models/Anytype_Model_Block.Content.Layout.Style.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.Content.Layout.swift | 2 +- .../Models/Anytype_Model_Block.Content.Link.CardStyle.swift | 2 +- .../Models/Anytype_Model_Block.Content.Link.Description.swift | 2 +- .../Models/Anytype_Model_Block.Content.Link.IconSize.swift | 2 +- .../Models/Anytype_Model_Block.Content.Link.Style.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.Content.Link.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.Content.Relation.swift | 2 +- .../Models/Anytype_Model_Block.Content.Smartblock.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.Content.Table.swift | 2 +- .../Models/Anytype_Model_Block.Content.TableColumn.swift | 2 +- .../Models/Anytype_Model_Block.Content.TableOfContents.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.Content.TableRow.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.Content.Text.Mark.swift | 2 +- .../Models/Anytype_Model_Block.Content.Text.Marks.swift | 2 +- .../Models/Anytype_Model_Block.Content.Text.Style.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.Content.Text.swift | 2 +- .../Models/Anytype_Model_Block.Content.Widget.Layout.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.Content.Widget.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Block.Content.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.OneOf_Content.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Block.Position.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.Restrictions.swift | 2 +- .../Protocol/Models/Anytype_Model_Block.VerticalAlign.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Block.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_BlockMetaOnly.swift | 2 +- .../Anytype_Model_ChatMessage.Attachment.AttachmentType.swift | 2 +- .../Protocol/Models/Anytype_Model_ChatMessage.Attachment.swift | 2 +- .../Models/Anytype_Model_ChatMessage.MessageContent.swift | 2 +- .../Anytype_Model_ChatMessage.Reactions.IdentityList.swift | 2 +- .../Protocol/Models/Anytype_Model_ChatMessage.Reactions.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_ChatMessage.swift | 2 +- .../Protocol/Models/Anytype_Model_ChatState.UnreadState.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_ChatState.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Detail.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_DeviceInfo.swift | 2 +- .../Protocol/Models/Anytype_Model_DeviceNetworkType.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Export.Format.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Export.swift | 2 +- .../Protocol/Models/Anytype_Model_FileEncryptionKey.swift | 2 +- .../Protocol/Models/Anytype_Model_FileIndexingStatus.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_FileInfo.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_IdentityProfile.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_ImageKind.swift | 2 +- .../Protocol/Models/Anytype_Model_Import.ErrorCode.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Import.TypeEnum.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Import.swift | 2 +- .../Protocol/Models/Anytype_Model_InternalFlag.Value.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_InternalFlag.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Invite.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_InvitePayload.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_InviteType.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Layout.swift | 2 +- .../Protocol/Models/Anytype_Model_LinkPreview.TypeEnum.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_LinkPreview.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_ManifestInfo.swift | 2 +- .../Anytype_Model_Membership.EmailVerificationStatus.swift | 2 +- .../Models/Anytype_Model_Membership.PaymentMethod.swift | 2 +- .../Protocol/Models/Anytype_Model_Membership.Status.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Membership.swift | 2 +- .../Models/Anytype_Model_MembershipTierData.PeriodType.swift | 2 +- .../Protocol/Models/Anytype_Model_MembershipTierData.swift | 2 +- .../Protocol/Models/Anytype_Model_Metadata.OneOf_Payload.swift | 2 +- .../Models/Anytype_Model_Metadata.Payload.IdentityPayload.swift | 2 +- .../Protocol/Models/Anytype_Model_Metadata.Payload.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Metadata.swift | 2 +- .../Protocol/Models/Anytype_Model_NameserviceNameType.swift | 2 +- .../Protocol/Models/Anytype_Model_Notification.ActionType.swift | 2 +- .../Models/Anytype_Model_Notification.Export.Code.swift | 2 +- .../Protocol/Models/Anytype_Model_Notification.Export.swift | 2 +- .../Models/Anytype_Model_Notification.GalleryImport.swift | 2 +- .../Protocol/Models/Anytype_Model_Notification.Import.swift | 2 +- .../Models/Anytype_Model_Notification.OneOf_Payload.swift | 2 +- ...nytype_Model_Notification.ParticipantPermissionsChange.swift | 2 +- .../Models/Anytype_Model_Notification.ParticipantRemove.swift | 2 +- .../Anytype_Model_Notification.ParticipantRequestApproved.swift | 2 +- .../Anytype_Model_Notification.ParticipantRequestDecline.swift | 2 +- .../Models/Anytype_Model_Notification.RequestToJoin.swift | 2 +- .../Models/Anytype_Model_Notification.RequestToLeave.swift | 2 +- .../Protocol/Models/Anytype_Model_Notification.Status.swift | 2 +- .../Protocol/Models/Anytype_Model_Notification.Test.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Notification.swift | 2 +- .../Protocol/Models/Anytype_Model_Object.ChangePayload.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Object.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_ObjectOrigin.swift | 2 +- .../Protocol/Models/Anytype_Model_ObjectType.Layout.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_ObjectType.swift | 2 +- .../Models/Anytype_Model_ObjectView.BlockParticipant.swift | 2 +- .../Protocol/Models/Anytype_Model_ObjectView.DetailsSet.swift | 2 +- .../Protocol/Models/Anytype_Model_ObjectView.HistorySize.swift | 2 +- .../Anytype_Model_ObjectView.RelationWithValuePerObject.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_ObjectView.swift | 2 +- .../Models/Anytype_Model_ParticipantPermissionChange.swift | 2 +- .../Protocol/Models/Anytype_Model_ParticipantPermissions.swift | 2 +- .../Protocol/Models/Anytype_Model_ParticipantStatus.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Range.swift | 2 +- .../Protocol/Models/Anytype_Model_Relation.DataSource.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Relation.Option.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Relation.Scope.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Relation.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_RelationFormat.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_RelationLink.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_RelationOptions.swift | 2 +- .../Protocol/Models/Anytype_Model_RelationWithValue.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Relations.swift | 2 +- .../Models/Anytype_Model_Restrictions.DataviewRestriction.swift | 2 +- .../Anytype_Model_Restrictions.DataviewRestrictions.swift | 2 +- .../Models/Anytype_Model_Restrictions.ObjectRestriction.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Restrictions.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Search.Meta.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Search.Result.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_Search.swift | 2 +- .../Protocol/Models/Anytype_Model_SmartBlockSnapshotBase.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_SmartBlockType.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_SpaceAccessType.swift | 2 +- .../Protocol/Models/Anytype_Model_SpaceObjectHeader.swift | 2 +- .../Protocol/Models/Anytype_Model_SpaceShareableStatus.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_SpaceStatus.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_SpaceUxType.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_SyncError.swift | 2 +- .../Sources/Protocol/Models/Anytype_Model_SyncStatus.swift | 2 +- Modules/ProtobufMessages/Sources/Protocol/localstore.pb.swift | 2 +- 583 files changed, 583 insertions(+), 583 deletions(-) diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Empty.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Empty.swift index 120c2d0a71..9a636a3144 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Empty.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Empty.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.Autofill.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.Autofill.swift index f56cfbb8c4..f773c36eb4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.Autofill.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.Autofill.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ListSummary.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ListSummary.swift index 70c3c58449..a587c6b20e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ListSummary.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ListSummary.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ObjectCreateFromUrl.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ObjectCreateFromUrl.swift index 9870e055b1..a2b51db3ab 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ObjectCreateFromUrl.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ObjectCreateFromUrl.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.Provider.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.Provider.swift index cb6298bd2d..3ee41e3c18 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.Provider.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.Provider.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ProviderConfig.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ProviderConfig.swift index 6d6c5638d0..25ba28d395 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ProviderConfig.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.ProviderConfig.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.WritingTools.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.WritingTools.swift index 173a173f7d..6fbd0a63ef 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.WritingTools.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.WritingTools.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.swift index 7dd5b5a80e..29c414c4e4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.AI.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ChangeJsonApiAddr.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ChangeJsonApiAddr.swift index 51baadb9ee..448c3f088c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ChangeJsonApiAddr.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ChangeJsonApiAddr.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.swift index 295d5056d3..8bfc832074 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ChangeNetworkConfigAndRestart.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Config.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Config.swift index c5e988c114..583112525b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Config.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Config.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ConfigUpdate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ConfigUpdate.swift index 87647b310a..fb3faa6d17 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ConfigUpdate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.ConfigUpdate.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Create.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Create.swift index 617f5b4e0d..d495349393 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Create.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Create.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Delete.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Delete.swift index 92e45f0fca..d44976fea3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Delete.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Delete.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.EnableLocalNetworkSync.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.EnableLocalNetworkSync.swift index def33a6dfc..d897d10292 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.EnableLocalNetworkSync.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.EnableLocalNetworkSync.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.GetConfig.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.GetConfig.swift index df62ff13a4..f18553d0ae 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.GetConfig.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.GetConfig.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.LocalLink.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.LocalLink.swift index 9b6d742601..e12341be69 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.LocalLink.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.LocalLink.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Migrate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Migrate.swift index f76ac49579..55348259f5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Migrate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Migrate.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.MigrateCancel.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.MigrateCancel.swift index 71a44976e9..2f428ca4f8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.MigrateCancel.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.MigrateCancel.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Move.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Move.swift index 153aed94f3..f44e31eb89 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Move.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Move.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.NetworkMode.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.NetworkMode.swift index c430291916..a678cce8be 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.NetworkMode.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.NetworkMode.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Recover.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Recover.swift index 8d030f45f9..41f0a4b485 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Recover.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Recover.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.RecoverFromLegacyExport.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.RecoverFromLegacyExport.swift index 905e020c43..3bf93a2371 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.RecoverFromLegacyExport.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.RecoverFromLegacyExport.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.RevertDeletion.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.RevertDeletion.swift index f7b64fdd12..0a03f47cb6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.RevertDeletion.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.RevertDeletion.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Select.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Select.swift index 4808f2c220..7e7e7cf470 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Select.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Select.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Stop.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Stop.swift index aedb942e5f..7757d86836 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Stop.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.Stop.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.swift index ee5aca0d27..efc5cde47f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Account.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.GetVersion.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.GetVersion.swift index efc51fa1e4..b1547b45b1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.GetVersion.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.GetVersion.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.SetDeviceState.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.SetDeviceState.swift index 42dcadcfb3..4d6edf7497 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.SetDeviceState.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.SetDeviceState.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.Shutdown.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.Shutdown.swift index c6b272a54d..b4cc5fcbba 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.Shutdown.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.Shutdown.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.swift index c774366284..11de297382 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.App.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Copy.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Copy.swift index 1a697bb5fa..a932ebd594 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Copy.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Copy.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Create.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Create.swift index ee942c1d47..9823052785 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Create.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Create.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.CreateWidget.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.CreateWidget.swift index 9a65864bb2..b1a69234df 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.CreateWidget.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.CreateWidget.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Cut.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Cut.swift index 0d407eed38..e3b4ca59fd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Cut.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Cut.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Download.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Download.swift index f20eed3a2a..59b5d58f49 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Download.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Download.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Export.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Export.swift index a34917caf9..405359d025 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Export.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Export.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListConvertToObjects.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListConvertToObjects.swift index b86621f916..3ed754418a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListConvertToObjects.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListConvertToObjects.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListDelete.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListDelete.swift index c5336ee722..38ed54f791 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListDelete.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListDelete.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListDuplicate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListDuplicate.swift index b0102e20d2..0a32d38d8a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListDuplicate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListDuplicate.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListMoveToExistingObject.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListMoveToExistingObject.swift index 1af516badc..ee0d3121c5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListMoveToExistingObject.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListMoveToExistingObject.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListMoveToNewObject.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListMoveToNewObject.swift index 30a5aa2439..49e984a5b3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListMoveToNewObject.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListMoveToNewObject.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetAlign.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetAlign.swift index da4efe2981..ac53933dbf 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetAlign.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetAlign.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetBackgroundColor.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetBackgroundColor.swift index 38e4a24f9a..1a0de7e268 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetBackgroundColor.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetBackgroundColor.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetFields.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetFields.swift index 23c69f224f..af43202f37 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetFields.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetFields.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetVerticalAlign.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetVerticalAlign.swift index 9a905cf9dd..789166c177 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetVerticalAlign.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListSetVerticalAlign.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListTurnInto.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListTurnInto.swift index 448038d68b..af80d49012 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListTurnInto.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListTurnInto.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListUpdate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListUpdate.swift index dbafa89d87..bf83a00dfd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListUpdate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.ListUpdate.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Merge.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Merge.swift index 0738bc62cc..0d6c1af08f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Merge.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Merge.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Paste.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Paste.swift index 88f1f5c57e..6ff19ef638 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Paste.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Paste.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Preview.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Preview.swift index c885999b3b..860072adc0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Preview.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Preview.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Replace.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Replace.swift index 68a4616661..7b1e1236ff 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Replace.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Replace.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.SetCarriage.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.SetCarriage.swift index ecaca05ed8..a6f8fc6b8f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.SetCarriage.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.SetCarriage.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.SetFields.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.SetFields.swift index 29ba07bdde..373ae59179 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.SetFields.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.SetFields.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Split.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Split.swift index 5232416ab1..d77d8a299d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Split.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Split.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Upload.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Upload.swift index 21cbbc9fa0..16c35cdf94 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Upload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.Upload.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.swift index 205c449995..1f2e713539 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Block.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.CreateAndFetch.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.CreateAndFetch.swift index bc28f22d0c..631332a86f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.CreateAndFetch.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.CreateAndFetch.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.Fetch.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.Fetch.swift index 51abc5a605..2c7432cc24 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.Fetch.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.Fetch.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.swift index c77cad129d..779ad71507 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockBookmark.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.CreateFromExistingObject.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.CreateFromExistingObject.swift index 40a74a4eaf..b72df6552c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.CreateFromExistingObject.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.CreateFromExistingObject.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Filter.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Filter.swift index 2cabc7e246..95a25c2da4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Filter.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Filter.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.GroupOrder.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.GroupOrder.swift index f8bf7b6a16..e773d61ab2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.GroupOrder.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.GroupOrder.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.ObjectOrder.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.ObjectOrder.swift index 74b4af49bd..069faeb677 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.ObjectOrder.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.ObjectOrder.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Relation.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Relation.swift index b219ca5eb1..c5212b77f7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Relation.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Relation.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.SetSource.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.SetSource.swift index 1fb633f492..3d49b1ca8e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.SetSource.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.SetSource.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Sort.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Sort.swift index 26a2d1a1a5..31f252910b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Sort.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.Sort.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.View.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.View.swift index 42051572f4..3fcc634df2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.View.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.View.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.ViewRelation.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.ViewRelation.swift index b5b452e9a6..08aff53663 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.ViewRelation.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.ViewRelation.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.swift index 44145e697a..e458276d65 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDataview.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDiv.ListSetStyle.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDiv.ListSetStyle.swift index 5133958cd7..513b5e202d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDiv.ListSetStyle.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDiv.ListSetStyle.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDiv.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDiv.swift index 7ff2a94162..3fe7c5347e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDiv.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockDiv.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.CreateAndUpload.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.CreateAndUpload.swift index 3ca968ec3d..6845f61ee6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.CreateAndUpload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.CreateAndUpload.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.ListSetStyle.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.ListSetStyle.swift index 34da600ab7..08f69d4447 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.ListSetStyle.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.ListSetStyle.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.SetName.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.SetName.swift index 7f51c001ad..a214a5229e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.SetName.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.SetName.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.SetTargetObjectId.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.SetTargetObjectId.swift index d5cb90d00d..8dd3ca9749 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.SetTargetObjectId.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.SetTargetObjectId.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.swift index fdbe6b60c8..90ce8d24e5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockFile.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.SetName.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.SetName.swift index c404944c63..ae0c83b133 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.SetName.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.SetName.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.SetWidth.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.SetWidth.swift index 0d5a9e8b30..92a7cd640b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.SetWidth.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.SetWidth.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.swift index 183bb2b92d..3039bc583d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockImage.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.SetProcessor.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.SetProcessor.swift index 0c4531e868..47c87f50b5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.SetProcessor.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.SetProcessor.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.SetText.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.SetText.swift index 0db737f91d..c441dadd3b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.SetText.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.SetText.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.swift index c99201e490..9ffd38219c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLatex.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.CreateWithObject.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.CreateWithObject.swift index a2bf1c3265..7c0d7584c1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.CreateWithObject.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.CreateWithObject.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.ListSetAppearance.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.ListSetAppearance.swift index 25a74aa0da..c7c7bb4394 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.ListSetAppearance.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.ListSetAppearance.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.swift index 8fef7f112f..deee16ddfe 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockLink.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.Add.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.Add.swift index aab0539ebd..743291c885 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.Add.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.Add.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.SetKey.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.SetKey.swift index d5055c0d88..22e635ef12 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.SetKey.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.SetKey.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.swift index e40bf676d5..522e9ec3e6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockRelation.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnCreate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnCreate.swift index 51e91631bd..71c4c757be 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnCreate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnCreate.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnDelete.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnDelete.swift index cd7461bf68..62dedd5440 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnDelete.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnDelete.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnDuplicate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnDuplicate.swift index e246d1f5dd..7670f857cf 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnDuplicate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnDuplicate.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnListFill.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnListFill.swift index b25c2b57f9..ae8060023e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnListFill.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnListFill.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnMove.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnMove.swift index e4d5bbd7b5..2fa1ed933b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnMove.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.ColumnMove.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Create.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Create.swift index f2d563ff22..c42d6ca653 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Create.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Create.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Expand.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Expand.swift index a8f6101427..07a2ff726e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Expand.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Expand.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowCreate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowCreate.swift index 63467b1e53..02493414b1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowCreate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowCreate.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowDelete.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowDelete.swift index 18e19c999a..09601dbe11 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowDelete.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowDelete.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowDuplicate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowDuplicate.swift index 397bcb31a9..b556f159c1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowDuplicate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowDuplicate.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowListClean.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowListClean.swift index 839b27c4a3..04a9e263f9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowListClean.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowListClean.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowListFill.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowListFill.swift index a3d9268571..37297a71c0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowListFill.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowListFill.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowSetHeader.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowSetHeader.swift index 50217f2cd8..767953634f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowSetHeader.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.RowSetHeader.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Sort.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Sort.swift index f0302f50e7..6c1108ec1b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Sort.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.Sort.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.swift index 13c9d53671..adbba7ff3f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockTable.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListClearContent.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListClearContent.swift index f146801715..634817849e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListClearContent.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListClearContent.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListClearStyle.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListClearStyle.swift index 08be36c610..2ea7c38167 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListClearStyle.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListClearStyle.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetColor.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetColor.swift index c2b70fb1e9..ef974fd4f6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetColor.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetColor.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetMark.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetMark.swift index 1c47756f45..b9261bca22 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetMark.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetMark.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetStyle.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetStyle.swift index 382a500eb3..49c81d7ab0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetStyle.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.ListSetStyle.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetChecked.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetChecked.swift index ebc1b12722..e291dba57c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetChecked.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetChecked.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetColor.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetColor.swift index 659cfea505..522790e9dc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetColor.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetColor.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetIcon.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetIcon.swift index cd888988d9..e7ba668f2c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetIcon.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetIcon.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetMarks.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetMarks.swift index 3d9c00ce7e..e70b66e304 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetMarks.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetMarks.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetStyle.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetStyle.swift index c40b5689ad..fc7fec8b5c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetStyle.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetStyle.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetText.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetText.swift index b428bf5fb1..5ac7635495 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetText.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.SetText.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.swift index 9c8525c59e..2b9146355b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockText.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.SetName.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.SetName.swift index e01f76c167..7fc29841e5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.SetName.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.SetName.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.SetWidth.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.SetWidth.swift index 154687de56..37298d7a1c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.SetWidth.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.SetWidth.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.swift index 56d99d6335..a67fb88d03 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockVideo.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetLayout.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetLayout.swift index c333d1d66c..69a736bffb 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetLayout.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetLayout.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetLimit.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetLimit.swift index b3d9c0b785..869c0a863e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetLimit.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetLimit.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetTargetId.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetTargetId.swift index 027ed464ef..93b18ca374 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetTargetId.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetTargetId.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetViewId.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetViewId.swift index 0206b77c31..f7aef3288c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetViewId.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.SetViewId.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.swift index 913c47672e..69fb715aa2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.BlockWidget.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Broadcast.PayloadEvent.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Broadcast.PayloadEvent.swift index c5ede8d05f..2d2bd17e16 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Broadcast.PayloadEvent.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Broadcast.PayloadEvent.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Broadcast.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Broadcast.swift index 30ded353c0..827b364d2c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Broadcast.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Broadcast.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.AddMessage.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.AddMessage.swift index e89ca52961..9d824bf008 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.AddMessage.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.AddMessage.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.DeleteMessage.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.DeleteMessage.swift index 2975ba2f9f..fe57423ba9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.DeleteMessage.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.DeleteMessage.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.EditMessageContent.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.EditMessageContent.swift index 7be47e5681..271305d05e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.EditMessageContent.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.EditMessageContent.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.GetMessages.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.GetMessages.swift index 64bc0a5d25..d365d22d7a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.GetMessages.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.GetMessages.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.GetMessagesByIds.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.GetMessagesByIds.swift index 176d62e012..436cde9d4f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.GetMessagesByIds.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.GetMessagesByIds.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ReadAll.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ReadAll.swift index 64511cbe9e..e8e706b6a2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ReadAll.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ReadAll.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ReadMessages.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ReadMessages.swift index 0b81ede692..c50074c9a1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ReadMessages.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ReadMessages.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.SubscribeLastMessages.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.SubscribeLastMessages.swift index fdf38108f3..62f06b940a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.SubscribeLastMessages.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.SubscribeLastMessages.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.SubscribeToMessagePreviews.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.SubscribeToMessagePreviews.swift index 3e79cdf4ad..92d44786e2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.SubscribeToMessagePreviews.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.SubscribeToMessagePreviews.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ToggleMessageReaction.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ToggleMessageReaction.swift index a95c16790b..449e959624 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ToggleMessageReaction.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.ToggleMessageReaction.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.Unread.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.Unread.swift index fd04e44e5e..f0943f8b84 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.Unread.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.Unread.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.Unsubscribe.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.Unsubscribe.swift index b09ade1f2a..b041cabb13 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.Unsubscribe.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.Unsubscribe.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.swift index 3cc9661dd7..68434d4324 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.UnsubscribeFromMessagePreviews.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.swift index 5376cf9a95..9f92abcd81 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Chat.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.AccountSelectTrace.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.AccountSelectTrace.swift index bc94c565c9..551995e3eb 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.AccountSelectTrace.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.AccountSelectTrace.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.AnystoreObjectChanges.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.AnystoreObjectChanges.swift index 7e3b2f3421..0806e9b1ac 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.AnystoreObjectChanges.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.AnystoreObjectChanges.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.ExportLocalstore.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.ExportLocalstore.swift index 1b125c0091..79577903f2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.ExportLocalstore.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.ExportLocalstore.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.ExportLog.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.ExportLog.swift index c56ff8227f..f627a3358f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.ExportLog.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.ExportLog.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.NetCheck.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.NetCheck.swift index 657fe3f49d..db16d356f3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.NetCheck.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.NetCheck.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.OpenedObjects.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.OpenedObjects.swift index efc9a8364c..c18af4a269 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.OpenedObjects.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.OpenedObjects.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Ping.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Ping.swift index 794feaae20..bb1b0c1821 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Ping.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Ping.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.RunProfiler.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.RunProfiler.swift index 47800ef19a..107a85c843 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.RunProfiler.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.RunProfiler.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.SpaceSummary.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.SpaceSummary.swift index a458859e90..48c14f1b45 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.SpaceSummary.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.SpaceSummary.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.StackGoroutines.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.StackGoroutines.swift index a9ddd0360a..21fb95fa99 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.StackGoroutines.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.StackGoroutines.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Stat.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Stat.swift index 5cb6bb8cde..499ffad813 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Stat.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Stat.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Subscriptions.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Subscriptions.swift index fc1d615222..7a4d4c56b3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Subscriptions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Subscriptions.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Tree.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Tree.swift index 72b91e6766..555a136190 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Tree.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.Tree.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.TreeHeads.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.TreeHeads.swift index 055681f926..98f986b5cc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.TreeHeads.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.TreeHeads.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.TreeInfo.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.TreeInfo.swift index 122edde5ac..0aca66de90 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.TreeInfo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.TreeInfo.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.swift index 139ca5031d..4b670f711a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Debug.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.List.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.List.swift index 5b4515f987..765c04184e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.List.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.List.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.NetworkState.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.NetworkState.swift index 4a297295a5..e54b53f6af 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.NetworkState.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.NetworkState.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.SetName.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.SetName.swift index 5324eb7d91..ad60b03620 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.SetName.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.SetName.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.swift index 8944cbe26f..465aacbc68 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Device.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.DiscardPreload.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.DiscardPreload.swift index 35499ad8a1..9ba7ae05a6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.DiscardPreload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.DiscardPreload.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Download.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Download.swift index 4fbf420b6b..7515a4fafd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Download.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Download.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Drop.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Drop.swift index a7c1cb7fa3..100c94fd67 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Drop.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Drop.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.ListOffload.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.ListOffload.swift index 9a64893fba..4c2b04c951 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.ListOffload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.ListOffload.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.NodeUsage.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.NodeUsage.swift index 5931f71270..e14d614e42 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.NodeUsage.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.NodeUsage.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Offload.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Offload.swift index 97be2ad0e6..8e18cb1210 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Offload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Offload.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Reconcile.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Reconcile.swift index 7f6e7500cc..9cc0b99a4c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Reconcile.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Reconcile.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SpaceOffload.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SpaceOffload.swift index d4145c6a08..171731b428 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SpaceOffload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SpaceOffload.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SpaceUsage.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SpaceUsage.swift index 887ead2df7..fa27e121ab 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SpaceUsage.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SpaceUsage.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Upload.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Upload.swift index f1246a962e..7b44aecaf8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Upload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.Upload.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.swift index de77fb6afa..b9e910a816 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.DownloadIndex.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.DownloadIndex.swift index 9e2c7757ef..f4266e0d34 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.DownloadIndex.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.DownloadIndex.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.DownloadManifest.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.DownloadManifest.swift index a93701a38d..6cc6cddf32 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.DownloadManifest.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.DownloadManifest.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.swift index db7d19b4ec..591aaaf6b7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Gallery.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.GenericErrorResponse.Error.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.GenericErrorResponse.Error.swift index 432060e1c6..10e94a9809 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.GenericErrorResponse.Error.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.GenericErrorResponse.Error.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.GenericErrorResponse.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.GenericErrorResponse.swift index 625230949e..f3a5e644ab 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.GenericErrorResponse.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.GenericErrorResponse.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.DiffVersions.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.DiffVersions.swift index 56219a90fe..5a922fb9b0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.DiffVersions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.DiffVersions.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.GetVersions.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.GetVersions.swift index 1dcafd4b0d..da8f7097dc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.GetVersions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.GetVersions.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.SetVersion.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.SetVersion.swift index be3feeea88..1b91751f52 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.SetVersion.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.SetVersion.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.ShowVersion.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.ShowVersion.swift index 009e4c553c..7328f5a863 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.ShowVersion.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.ShowVersion.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.Version.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.Version.swift index 36c6f561a0..64df80d5fc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.Version.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.Version.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.swift index 3119bed017..cc48176ad6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.History.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Initial.SetParameters.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Initial.SetParameters.swift index a329c632ef..5d0819a3c5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Initial.SetParameters.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Initial.SetParameters.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Initial.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Initial.swift index d398dcc5b5..0850c6d7cd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Initial.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Initial.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.Request.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.Request.swift index d623160aaa..ec17cbd9ce 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.Request.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.Request.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.Response.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.Response.swift index ab6ed2a5e6..97847d2410 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.Response.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.Response.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.swift index da21b053a8..e92de5ba9e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.LinkPreview.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Log.Send.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Log.Send.swift index f08bba95b2..5b7f3a80cf 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Log.Send.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Log.Send.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Log.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Log.swift index 6ec412e2ed..bc1fbd541b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Log.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Log.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.CodeGetInfo.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.CodeGetInfo.swift index d0b21f73ac..c3f03dca2e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.CodeGetInfo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.CodeGetInfo.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.CodeRedeem.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.CodeRedeem.swift index b66af764f2..25732e68e1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.CodeRedeem.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.CodeRedeem.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.Finalize.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.Finalize.swift index 242bc020d2..88c8e0715d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.Finalize.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.Finalize.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetPortalLinkUrl.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetPortalLinkUrl.swift index 276b8ed951..898da6837f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetPortalLinkUrl.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetPortalLinkUrl.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetStatus.swift index 8fee2323f6..66c9e89796 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetStatus.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetTiers.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetTiers.swift index da9bda3210..c519082249 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetTiers.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetTiers.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetVerificationEmail.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetVerificationEmail.swift index 0f7bdcc608..e6fa646eba 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetVerificationEmail.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetVerificationEmail.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetVerificationEmailStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetVerificationEmailStatus.swift index b3696c8a04..b43f5dc485 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetVerificationEmailStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.GetVerificationEmailStatus.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.IsNameValid.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.IsNameValid.swift index 57a8d4e2ec..8a244caa69 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.IsNameValid.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.IsNameValid.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.RegisterPaymentRequest.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.RegisterPaymentRequest.swift index d141ce1d82..fa7feb5f7b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.RegisterPaymentRequest.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.RegisterPaymentRequest.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.VerifyAppStoreReceipt.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.VerifyAppStoreReceipt.swift index 5d1d80f3fe..118fd6ef6e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.VerifyAppStoreReceipt.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.VerifyAppStoreReceipt.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.VerifyEmailCode.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.VerifyEmailCode.swift index 1994f51172..d4d9a8f8b8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.VerifyEmailCode.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.VerifyEmailCode.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.swift index 98a8375d5b..72c20e6b8b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Membership.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveAnyId.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveAnyId.swift index 07196dbe84..f5659d6da9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveAnyId.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveAnyId.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveName.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveName.swift index 4c27a8b54f..3a8272bedb 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveName.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveName.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveSpaceId.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveSpaceId.swift index d47e1f8765..ca6b282c79 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveSpaceId.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.ResolveSpaceId.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.UserAccount.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.UserAccount.swift index 7e7e74dc80..2ac0753074 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.UserAccount.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.UserAccount.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.swift index a5ac1b4e56..533a6cc8b5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.NameService.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.Context.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.Context.swift index 9e741d4ac3..69064d6797 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.Context.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.Context.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.GetObjectInfoWithLinks.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.GetObjectInfoWithLinks.swift index 2d493efbbb..288afd17e0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.GetObjectInfoWithLinks.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.GetObjectInfoWithLinks.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.ListObjects.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.ListObjects.swift index a798168e03..9d1a5c5694 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.ListObjects.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.ListObjects.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.swift index 2f63c2c875..6ac00ab403 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Navigation.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.List.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.List.swift index 4180b8559d..f3fafd175d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.List.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.List.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.Reply.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.Reply.swift index 65aa79cc47..10e830d27b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.Reply.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.Reply.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.Test.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.Test.swift index f092d361db..db73a0750b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.Test.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.Test.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.swift index 26631bc379..df0d0b6395 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Notification.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ApplyTemplate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ApplyTemplate.swift index 77404d81d1..7ed910a5c9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ApplyTemplate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ApplyTemplate.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.BookmarkFetch.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.BookmarkFetch.swift index fbda6c7b24..825ced8438 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.BookmarkFetch.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.BookmarkFetch.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ChatAdd.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ChatAdd.swift index a2d81f3472..27c8a04b99 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ChatAdd.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ChatAdd.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Close.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Close.swift index ca501f91f2..f55525d328 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Close.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Close.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Create.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Create.swift index be379b995a..ce33cfd1f2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Create.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Create.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateBookmark.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateBookmark.swift index 072014003e..178a8949b3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateBookmark.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateBookmark.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateFromUrl.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateFromUrl.swift index a84f27725d..a7b7800c2a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateFromUrl.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateFromUrl.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateObjectType.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateObjectType.swift index 5ddf45221f..cb0172eab1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateObjectType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateObjectType.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateRelation.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateRelation.swift index a8f333e0a0..f7a53e9d18 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateRelation.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateRelation.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateRelationOption.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateRelationOption.swift index ecbf1f62e8..9e7a29a126 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateRelationOption.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateRelationOption.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateSet.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateSet.swift index 2bee1bced9..93698819fb 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateSet.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CreateSet.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CrossSpaceSearchSubscribe.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CrossSpaceSearchSubscribe.swift index 77edfae14c..bb455e5a85 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CrossSpaceSearchSubscribe.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CrossSpaceSearchSubscribe.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.swift index 013398102a..548ba31ad6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.CrossSpaceSearchUnsubscribe.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.DateByTimestamp.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.DateByTimestamp.swift index acd0eb2dda..7c213f8711 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.DateByTimestamp.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.DateByTimestamp.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Duplicate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Duplicate.swift index 2e23d871ed..c229bdb991 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Duplicate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Duplicate.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Export.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Export.swift index caf61e65af..be0192c020 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Export.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Export.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Graph.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Graph.swift index 0dfb87708d..179cc5a802 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Graph.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Graph.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.GroupsSubscribe.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.GroupsSubscribe.swift index b7adedf40e..f147abb30e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.GroupsSubscribe.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.GroupsSubscribe.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Import.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Import.swift index 388502a42e..3e493d5399 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Import.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Import.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportExperience.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportExperience.swift index e7f292d0a1..69b53ba9c9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportExperience.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportExperience.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportList.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportList.swift index 43f394a59f..a0812f9f9f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportList.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportList.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportUseCase.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportUseCase.swift index 2ab0650af4..e767b397f3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportUseCase.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ImportUseCase.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListDelete.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListDelete.swift index 9d1f9c46ea..d444cc5d36 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListDelete.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListDelete.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListDuplicate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListDuplicate.swift index f298ed0ef7..9540b2f7ca 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListDuplicate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListDuplicate.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListExport.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListExport.swift index d74dd55202..abc78212b1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListExport.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListExport.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListModifyDetailValues.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListModifyDetailValues.swift index 677ab548c8..67a2816944 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListModifyDetailValues.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListModifyDetailValues.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetDetails.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetDetails.swift index 7950952288..190ab01b35 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetDetails.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetDetails.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetIsArchived.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetIsArchived.swift index 7b426dc94a..e8c4761180 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetIsArchived.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetIsArchived.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetIsFavorite.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetIsFavorite.swift index 63724386e4..be15c5df93 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetIsFavorite.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetIsFavorite.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetObjectType.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetObjectType.swift index 0cb0db2653..64553bc196 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetObjectType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ListSetObjectType.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Open.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Open.swift index a43b4b382e..a39aee8bee 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Open.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Open.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.OpenBreadcrumbs.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.OpenBreadcrumbs.swift index f32864b6b4..0c77a25c1a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.OpenBreadcrumbs.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.OpenBreadcrumbs.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Redo.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Redo.swift index 28a57ec7db..9f6101326e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Redo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Redo.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Refresh.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Refresh.swift index 710758fc07..199171eb49 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Refresh.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Refresh.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Search.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Search.swift index 77f92713ff..4741d08a4e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Search.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Search.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchSubscribe.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchSubscribe.swift index 9de18cc84c..2671c2ae02 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchSubscribe.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchSubscribe.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchUnsubscribe.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchUnsubscribe.swift index 3343b7b004..3c5cd4fce9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchUnsubscribe.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchUnsubscribe.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchWithMeta.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchWithMeta.swift index 7f5c1b3598..957ff64e8f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchWithMeta.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SearchWithMeta.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetBreadcrumbs.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetBreadcrumbs.swift index 050a630e73..42dd072b9b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetBreadcrumbs.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetBreadcrumbs.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetDetails.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetDetails.swift index 8ec2538415..38f5e0da58 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetDetails.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetDetails.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetInternalFlags.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetInternalFlags.swift index bab83b17c2..2a7b543084 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetInternalFlags.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetInternalFlags.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetIsArchived.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetIsArchived.swift index 6bd74f0489..af016b2bef 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetIsArchived.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetIsArchived.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetIsFavorite.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetIsFavorite.swift index 3c9b02fc79..763ec9ced2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetIsFavorite.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetIsFavorite.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetLayout.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetLayout.swift index c3eb69ac3a..1b0f05b4f7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetLayout.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetLayout.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetObjectType.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetObjectType.swift index bc028a5639..b9c7b8e19a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetObjectType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetObjectType.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetSource.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetSource.swift index 4e999c3ba8..414a960946 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetSource.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SetSource.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ShareByLink.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ShareByLink.swift index 148e6ccecd..16e82e55d9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ShareByLink.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ShareByLink.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Show.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Show.swift index 06f37579f3..e34d01df40 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Show.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Show.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SubscribeIds.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SubscribeIds.swift index a4856ecba8..514047b4e6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SubscribeIds.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.SubscribeIds.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ToCollection.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ToCollection.swift index c8cef6e5a9..11ec8f7004 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ToCollection.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ToCollection.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ToSet.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ToSet.swift index 462f40391d..b23aaf9063 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ToSet.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.ToSet.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Undo.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Undo.swift index 1d105e6c19..4058569362 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Undo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.Undo.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.UndoRedoCounter.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.UndoRedoCounter.swift index e542c075fa..2527ca3796 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.UndoRedoCounter.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.UndoRedoCounter.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.WorkspaceSetDashboard.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.WorkspaceSetDashboard.swift index cba117334e..4f4495952e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.WorkspaceSetDashboard.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.WorkspaceSetDashboard.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.swift index e8b875946d..849d9046ea 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Object.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Add.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Add.swift index 261ebf6a0c..4b8f9d5aa8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Add.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Add.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Remove.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Remove.swift index eb89108b49..5050f69fa8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Remove.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Remove.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Sort.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Sort.swift index aa07b2757a..48b63f94ac 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Sort.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.Sort.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.swift index 42fbc397ec..d97bd951a8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectCollection.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.Add.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.Add.swift index 635e8837a6..a701dad64d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.Add.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.Add.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.AddFeatured.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.AddFeatured.swift index 00a314bfbd..8b5495a987 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.AddFeatured.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.AddFeatured.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.Delete.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.Delete.swift index 3ba8d32b94..cf2500978d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.Delete.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.Delete.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.ListAvailable.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.ListAvailable.swift index 6f7db654b8..8ba63d512d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.ListAvailable.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.ListAvailable.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.RemoveFeatured.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.RemoveFeatured.swift index d0273c63be..aceecce26e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.RemoveFeatured.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.RemoveFeatured.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.swift index 9f034bd27c..34938fd504 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectRelation.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.ListConflictingRelations.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.ListConflictingRelations.swift index 8339b93db4..48dba4f93a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.ListConflictingRelations.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.ListConflictingRelations.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.Recommended.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.Recommended.swift index 5207b72248..2882a0de71 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.Recommended.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.Recommended.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.Relation.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.Relation.swift index 923c573d54..29501c9d56 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.Relation.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.Relation.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.ResolveLayoutConflicts.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.ResolveLayoutConflicts.swift index 0dc0dbca92..34dfdd5a20 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.ResolveLayoutConflicts.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.ResolveLayoutConflicts.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.SetOrder.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.SetOrder.swift index f762b528a9..3619a02a2f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.SetOrder.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.SetOrder.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.swift index 08f0921b95..d269fed6c1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.ObjectType.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Cancel.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Cancel.swift index a0c82c3cb8..bc1b6cc496 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Cancel.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Cancel.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Subscribe.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Subscribe.swift index 331f8c330f..122b38519c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Subscribe.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Subscribe.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Unsubscribe.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Unsubscribe.swift index 2682b2de50..d69cb0c217 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Unsubscribe.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.Unsubscribe.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.swift index 7d9308bff0..0f363aeeb5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Process.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.Create.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.Create.swift index 64698ebd12..8ee1bcdb95 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.Create.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.Create.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.GetStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.GetStatus.swift index 4a1898b1f4..d7c0a45fd8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.GetStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.GetStatus.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.List.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.List.swift index 756be33005..92a6ce2405 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.List.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.List.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.PublishState.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.PublishState.swift index d534fce257..48682c5aa8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.PublishState.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.PublishState.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.PublishStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.PublishStatus.swift index 30dab29d65..8364a29aeb 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.PublishStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.PublishStatus.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.Remove.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.Remove.swift index d7490fcf2e..7d8d2ee609 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.Remove.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.Remove.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.ResolveUri.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.ResolveUri.swift index c09dbcc5f2..bfc6fc6904 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.ResolveUri.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.ResolveUri.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.swift index 63dc261f6c..ea3dc714c8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Publishing.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.RegisterToken.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.RegisterToken.swift index 8fa287694e..15c81c62dd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.RegisterToken.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.RegisterToken.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.SetSpaceMode.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.SetSpaceMode.swift index bf142ee2f8..35deae2ff7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.SetSpaceMode.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.SetSpaceMode.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.swift index 9a1c5c6342..942d67a37a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.ListRemoveOption.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.ListRemoveOption.swift index 01e299bec7..561f60d3a1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.ListRemoveOption.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.ListRemoveOption.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.ListWithValue.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.ListWithValue.swift index 2f00389efd..2911d0f5be 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.ListWithValue.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.ListWithValue.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.Option.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.Option.swift index 733a3c76e2..e4fea5486a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.Option.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.Option.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.Options.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.Options.swift index 206e62c4e9..cee5aefbab 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.Options.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.Options.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.swift index 7c1f39c0cb..21093e4b2c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Relation.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.Delete.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.Delete.swift index 3eaee36fd6..9f9fc4f7e6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.Delete.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.Delete.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteChange.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteChange.swift index ec7cad1600..da7344813e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteChange.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteChange.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGenerate.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGenerate.swift index f754f78a8a..91a31e4a24 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGenerate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGenerate.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGetCurrent.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGetCurrent.swift index 2a60a559b5..662020ce81 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGetCurrent.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGetCurrent.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGetGuest.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGetGuest.swift index 9279a6acea..0adadada2f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGetGuest.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteGetGuest.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteRevoke.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteRevoke.swift index ff3956c386..abfd1113cd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteRevoke.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteRevoke.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteView.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteView.swift index 23184f85ba..4f3ea7fefc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteView.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteView.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.Join.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.Join.swift index f9591b3665..e1dc65950b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.Join.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.Join.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.JoinCancel.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.JoinCancel.swift index c46171838d..ab4a080ed5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.JoinCancel.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.JoinCancel.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.LeaveApprove.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.LeaveApprove.swift index 1c9a8e7b1a..87f8271588 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.LeaveApprove.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.LeaveApprove.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.MakeShareable.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.MakeShareable.swift index 0742ef7006..605ef85d02 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.MakeShareable.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.MakeShareable.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.ParticipantPermissionsChange.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.ParticipantPermissionsChange.swift index deaf6345af..67440751bb 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.ParticipantPermissionsChange.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.ParticipantPermissionsChange.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.ParticipantRemove.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.ParticipantRemove.swift index 133caaa0d2..42a4a48775 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.ParticipantRemove.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.ParticipantRemove.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.RequestApprove.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.RequestApprove.swift index cdd55007cc..273d456e23 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.RequestApprove.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.RequestApprove.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.RequestDecline.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.RequestDecline.swift index 986af65f09..19a5d20014 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.RequestDecline.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.RequestDecline.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.SetOrder.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.SetOrder.swift index 451134da05..4807051e82 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.SetOrder.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.SetOrder.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.StopSharing.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.StopSharing.swift index d764e63c32..3501326320 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.StopSharing.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.StopSharing.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.UnsetOrder.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.UnsetOrder.swift index 7109369382..0183b33edc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.UnsetOrder.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.UnsetOrder.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.swift index 0a71b8d88f..6e38b8886a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.Clone.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.Clone.swift index a68ea4cb3c..8f4e32c574 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.Clone.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.Clone.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.CreateFromObject.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.CreateFromObject.swift index cdac6d1b46..89baf2aab8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.CreateFromObject.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.CreateFromObject.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.ExportAll.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.ExportAll.swift index f7ac1132d3..8a570274c5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.ExportAll.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.ExportAll.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.swift index aaf8ab5d18..9a0ae9c9e1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Template.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.Download.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.Download.swift index b3daf5d44c..bff853062e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.Download.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.Download.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.Search.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.Search.swift index 3690c9310c..2cee97e8a8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.Search.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.Search.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.swift index e206452c2e..ce9d2b2867 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Unsplash.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.CloseSession.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.CloseSession.swift index 589442b0ff..2d128d064d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.CloseSession.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.CloseSession.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Convert.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Convert.swift index 9b41b38a44..97feab875c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Convert.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Convert.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Create.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Create.swift index 20276258d8..b84e455420 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Create.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Create.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.CreateSession.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.CreateSession.swift index 649f106aa7..98fea091f8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.CreateSession.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.CreateSession.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Recover.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Recover.swift index 62a8792181..99dcd57422 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Recover.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.Recover.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.swift index 875ec60ade..ea81379fd6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Wallet.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Create.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Create.swift index 05922f1a93..306d09064e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Create.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Create.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Export.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Export.swift index bb429d6704..2f982a4a1b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Export.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Export.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.GetAll.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.GetAll.swift index ae39c7fa23..ce92ce6080 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.GetAll.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.GetAll.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.GetCurrent.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.GetCurrent.swift index 53b603799c..f434758d49 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.GetCurrent.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.GetCurrent.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Object.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Object.swift index aa5cc95c1f..8f3dbacdcc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Object.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Object.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Open.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Open.swift index bafed4a4a6..e5b56738e0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Open.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Open.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Select.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Select.swift index 0987408231..9bccf5ed48 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Select.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.Select.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.SetInfo.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.SetInfo.swift index f5b8bec84e..ddf7dc6730 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.SetInfo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.SetInfo.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.swift index 2ec2b9ac0f..9eb94fe239 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Workspace.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.swift index 34ebbeb5e0..3a7f42b32f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_StreamRequest.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_StreamRequest.swift index b875b2d5ae..79722d6860 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_StreamRequest.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_StreamRequest.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Config.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Config.swift index b2202476b3..71918c8a94 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Config.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Config.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Details.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Details.swift index 1bbdb24ac8..80bdbf78fc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Details.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Details.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.LinkChallenge.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.LinkChallenge.swift index 9a6dbcfdd1..b07169fb62 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.LinkChallenge.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.LinkChallenge.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.LinkChallengeHide.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.LinkChallengeHide.swift index 46ad7f3338..5c0432f32d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.LinkChallengeHide.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.LinkChallengeHide.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Show.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Show.swift index 80e758ee7a..7611917490 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Show.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Show.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Update.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Update.swift index 0606975357..6a1948af86 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Update.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.Update.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.swift index 27d3c2a040..b9c5da125d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Account.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Add.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Add.swift index 02b7c69b60..e5b8f51903 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Add.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Add.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Dataview.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Dataview.swift index a4567d6d45..3b1d98486d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Dataview.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Dataview.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Delete.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Delete.swift index 1f53ebf8f7..0be4ecab37 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Delete.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Delete.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.FilesUpload.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.FilesUpload.swift index 5134f8ffc6..0a011ed206 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.FilesUpload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.FilesUpload.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Fill.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Fill.swift index 20ffa8402b..367dd08f70 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Fill.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Fill.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.MarksInfo.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.MarksInfo.swift index 2ace502b24..f80e691721 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.MarksInfo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.MarksInfo.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Set.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Set.swift index ac1e6711da..f7b938f810 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Set.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.Set.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.swift index 94095c11c6..8af9248681 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Block.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Add.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Add.swift index 87936f9ab0..04c6571557 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Add.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Add.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Delete.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Delete.swift index 5db5647c01..8f2b9f5ec4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Delete.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Delete.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Update.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Update.swift index 2965d719af..f0873533e1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Update.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.Update.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMentionReadStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMentionReadStatus.swift index 8b772d555f..b29bf67152 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMentionReadStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMentionReadStatus.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMessageReadStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMessageReadStatus.swift index cc002b4836..8396cb9359 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMessageReadStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMessageReadStatus.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMessageSyncStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMessageSyncStatus.swift index 9c6a15cd31..170d85cf8d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMessageSyncStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateMessageSyncStatus.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateReactions.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateReactions.swift index 312d1f8c51..1c44ab6b34 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateReactions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateReactions.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateState.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateState.swift index bebe1f489a..98d2d4de9d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateState.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.UpdateState.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.swift index 3557530a98..338a67429e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Chat.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LimitReached.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LimitReached.swift index 75e9e6c567..42299a7b05 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LimitReached.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LimitReached.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LimitUpdated.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LimitUpdated.swift index de6d50837d..9caf6072bd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LimitUpdated.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LimitUpdated.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LocalUsage.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LocalUsage.swift index e671435535..b71d81c7fa 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LocalUsage.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.LocalUsage.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.SpaceUsage.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.SpaceUsage.swift index 17081048a2..d9b7f9b1b3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.SpaceUsage.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.SpaceUsage.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.swift index c0b6b7dec7..0faa9c93d6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.File.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Import.Finish.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Import.Finish.swift index 64c46628f1..cb1057b155 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Import.Finish.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Import.Finish.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Import.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Import.swift index cd10d33d26..a8f7232ce4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Import.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Import.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.Update.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.Update.swift index 291789831e..9b9844a167 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.Update.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.Update.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.swift index bdfbeb35f1..be04d2ea83 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.OneOf_Value.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.OneOf_Value.swift index b34b1af086..52b8093b66 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.OneOf_Value.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.OneOf_Value.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.swift index 4ed574c45b..9164c8be7f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Message.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.Send.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.Send.swift index cc354b2d34..c551f4fe6c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.Send.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.Send.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.Update.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.Update.swift index ab80c32d10..65ca1144e9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.Update.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.Update.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.swift index 8727d11bb4..531c8dccab 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Notification.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Close.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Close.swift index 0b127209d1..0540fe85c5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Close.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Close.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Details.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Details.swift index ff7a05053e..0be2dd7ba4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Details.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Details.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Relations.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Relations.swift index c63d98074b..abbd9d2e63 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Relations.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Relations.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Remove.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Remove.swift index 91e3c16cf5..7025e38cc2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Remove.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Remove.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Restrictions.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Restrictions.swift index c24182fa81..d84e309829 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Restrictions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Restrictions.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Subscription.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Subscription.swift index 76c3ada0d8..d34f78a4ab 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Subscription.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.Subscription.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.swift index 2248c048d2..ae3be6e269 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Object.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.Status.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.Status.swift index 2771741d8a..0ea1e1fddc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.Status.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.Status.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.Update.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.Update.swift index abcc10af8b..fd0e5f50e0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.Update.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.Update.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.swift index aa2df79b88..76470f1f41 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.P2PStatus.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Payload.Broadcast.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Payload.Broadcast.swift index bfeac953ab..d1d3c64b87 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Payload.Broadcast.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Payload.Broadcast.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Payload.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Payload.swift index 07b24b22bb..d502adda48 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Payload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Payload.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Ping.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Ping.swift index 1e641087cc..1e85d86a67 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Ping.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Ping.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.Done.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.Done.swift index 518761ae0f..8b1dd40ee7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.Done.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.Done.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.New.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.New.swift index 2986c5c5d8..e2df56e646 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.New.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.New.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.Update.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.Update.swift index 3473a2d861..b47efb7346 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.Update.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.Update.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.swift index b1912feb54..e0fe9d946b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Process.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.Network.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.Network.swift index 868d2eecb0..5fb6e97e13 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.Network.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.Network.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.Status.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.Status.swift index 453e05efa3..5f8a9c7747 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.Status.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.Status.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncError.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncError.swift index 37ea255161..56401fe315 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncError.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncError.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncStatus.swift index 35ee571dc9..8bb740141d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncStatus.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.swift index f37bc9acb9..ad6be5d370 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Status.Thread.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Status.Thread.swift index 7618882228..552e735c7d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Status.Thread.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Status.Thread.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Status.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Status.swift index 1d30baec7d..d6f9f07c5f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Status.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Status.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.User.Block.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.User.Block.swift index 6707cfa3b5..77e325a870 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.User.Block.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.User.Block.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.User.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.User.swift index f922e91215..08b683f83a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.User.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.User.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.swift index 115e591a35..0479f900bd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.DropFiles.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.DropFiles.swift index 99fee95892..da4e74f490 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.DropFiles.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.DropFiles.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Export.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Export.swift index 3eb9337c74..d5cc82207e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Export.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Export.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Import.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Import.swift index 2b11394102..25df18ad16 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Import.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Import.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Migration.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Migration.swift index a648be22f4..afb48af9a0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Migration.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Migration.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.OneOf_Message.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.OneOf_Message.swift index e0b7a05b35..bb49327225 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.OneOf_Message.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.OneOf_Message.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.PreloadFile.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.PreloadFile.swift index 494b147796..dc1fcca203 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.PreloadFile.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.PreloadFile.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Progress.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Progress.swift index 166edf684e..c17100e2d2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Progress.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.Progress.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.SaveFile.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.SaveFile.swift index e08a68b4f4..c1de1aa1e9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.SaveFile.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.SaveFile.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.State.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.State.swift index 5c0dd7e483..f1b628221a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.State.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.State.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.swift index 76ac343173..79d5e7aba4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.Process.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.swift index 4848cf53dd..800a060ac4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Model.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_ResponseEvent.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_ResponseEvent.swift index 0e2d391442..facee2b2a8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_ResponseEvent.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_ResponseEvent.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.AppInfo.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.AppInfo.swift index 47e28f57a8..a6bbdce234 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.AppInfo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.AppInfo.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.LocalApiScope.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.LocalApiScope.swift index 52c8684d37..3c36bfb0a1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.LocalApiScope.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.LocalApiScope.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.swift index ed8caab8ba..39d73b8ea8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Auth.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Config.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Config.swift index 323be2d23f..d79b95a41e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Config.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Config.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Info.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Info.swift index aeeb134e6b..4787043515 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Info.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Info.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Status.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Status.swift index fdc78874f3..228020fc07 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Status.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.Status.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.StatusType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.StatusType.swift index 106f7f38cf..61791eb4e7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.StatusType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.StatusType.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.swift index 206967ff49..877358d63c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Account.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Align.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Align.swift index 8981b87d40..7e0b0fee27 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Align.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Align.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Bookmark.State.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Bookmark.State.swift index c70ee418da..2502da69e8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Bookmark.State.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Bookmark.State.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Bookmark.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Bookmark.swift index 4024ffa9e5..59800c1738 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Bookmark.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Bookmark.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Chat.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Chat.swift index 85a3f1fd65..b792866bae 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Chat.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Chat.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Checkbox.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Checkbox.swift index 7ec9d07249..ab6f892b50 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Checkbox.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Checkbox.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Date.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Date.swift index aff5cb4dd7..63792e26c8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Date.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Date.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Filter.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Filter.swift index 1bba53c853..e1206988b3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Filter.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Filter.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Group.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Group.swift index 8cbb9e726e..46a12e27be 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Group.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Group.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.GroupOrder.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.GroupOrder.swift index 2ab7cb73ba..8331c789d7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.GroupOrder.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.GroupOrder.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.ObjectOrder.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.ObjectOrder.swift index ecfcf6461a..6f157c65a1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.ObjectOrder.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.ObjectOrder.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Relation.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Relation.swift index 65b633a931..ba8f8cc042 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Relation.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Relation.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Sort.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Sort.swift index 411896d0b7..a6fc8191ab 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Sort.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Sort.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Status.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Status.swift index 947e2bf542..e686591896 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Status.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Status.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Tag.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Tag.swift index a404710c53..f198c0b1e5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Tag.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.Tag.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.View.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.View.swift index 89fccbb61a..bf6d7884cd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.View.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.View.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.ViewGroup.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.ViewGroup.swift index 50ce1a2754..f2dc738104 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.ViewGroup.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.ViewGroup.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.swift index 92c960c9b9..bf880a283c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Dataview.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Div.Style.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Div.Style.swift index f721bbe44d..5f601408a9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Div.Style.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Div.Style.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Div.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Div.swift index 143ffaf50f..3d6ae68ee9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Div.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Div.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.FeaturedRelations.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.FeaturedRelations.swift index 46b9a0ad4b..598d491d29 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.FeaturedRelations.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.FeaturedRelations.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.State.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.State.swift index 65b1b09406..7f7c01dd54 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.State.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.State.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.Style.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.Style.swift index e05aac3794..7c031a8d14 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.Style.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.Style.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.TypeEnum.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.TypeEnum.swift index d7f51248e7..44acc5794e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.TypeEnum.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.TypeEnum.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.swift index 236bbfb51f..9f670b4c06 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.File.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Icon.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Icon.swift index 29e823149b..d817e83934 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Icon.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Icon.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Latex.Processor.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Latex.Processor.swift index 11fc6a1c90..574199f79a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Latex.Processor.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Latex.Processor.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Latex.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Latex.swift index 4b6aacf57d..89e4336587 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Latex.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Latex.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Layout.Style.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Layout.Style.swift index a1854f8276..552e329ca9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Layout.Style.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Layout.Style.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Layout.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Layout.swift index ac40e94200..85dc91f557 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Layout.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Layout.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.CardStyle.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.CardStyle.swift index d5366a3f7a..02b0555e94 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.CardStyle.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.CardStyle.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.Description.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.Description.swift index 29cc72043e..acdd7b88e3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.Description.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.Description.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.IconSize.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.IconSize.swift index 07c3e11c6c..7c2da0a8ec 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.IconSize.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.IconSize.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.Style.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.Style.swift index d5f1b0d61b..1f759d12ea 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.Style.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.Style.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.swift index 3e752cb251..b57f540b38 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Link.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Relation.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Relation.swift index f7aee56984..7e7027b793 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Relation.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Relation.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Smartblock.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Smartblock.swift index f1da349474..feaf83c2c0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Smartblock.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Smartblock.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Table.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Table.swift index a589c6d8b1..b1a6658ae8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Table.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Table.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.TableColumn.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.TableColumn.swift index b3c3460614..3a879f478e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.TableColumn.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.TableColumn.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.TableOfContents.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.TableOfContents.swift index 64046279f5..0fb61c26c3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.TableOfContents.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.TableOfContents.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.TableRow.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.TableRow.swift index 6499216824..f1e94ece81 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.TableRow.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.TableRow.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Mark.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Mark.swift index 35028490d7..b92189a4ed 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Mark.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Mark.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Marks.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Marks.swift index e9b51c39a1..0833cea3fc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Marks.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Marks.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Style.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Style.swift index 9ea239bd24..e4a9487491 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Style.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.Style.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.swift index a3d4956b60..66d9fd67ee 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Text.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Widget.Layout.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Widget.Layout.swift index 4d88b949b7..098f8806f6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Widget.Layout.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Widget.Layout.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Widget.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Widget.swift index 6dffa51e10..280d760681 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Widget.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.Widget.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.swift index b2f66478c6..101cc7f828 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Content.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.OneOf_Content.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.OneOf_Content.swift index af78f429de..9bf140f381 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.OneOf_Content.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.OneOf_Content.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Position.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Position.swift index 6b56b3f08f..f46d9c1ccd 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Position.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Position.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Restrictions.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Restrictions.swift index ad77e172fe..47bc0ed51e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Restrictions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.Restrictions.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.VerticalAlign.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.VerticalAlign.swift index 8b3837991c..10a57c7724 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.VerticalAlign.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.VerticalAlign.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.swift index eb2df4732f..a1954290e7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Block.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_BlockMetaOnly.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_BlockMetaOnly.swift index f60dc52fe1..57140269df 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_BlockMetaOnly.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_BlockMetaOnly.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Attachment.AttachmentType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Attachment.AttachmentType.swift index 79e8fb4ff7..f83d8f8051 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Attachment.AttachmentType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Attachment.AttachmentType.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Attachment.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Attachment.swift index c892be5e19..f52292aabf 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Attachment.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Attachment.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.MessageContent.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.MessageContent.swift index 1dde864adf..d28059110e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.MessageContent.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.MessageContent.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Reactions.IdentityList.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Reactions.IdentityList.swift index ea50ac21c9..1212bcd716 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Reactions.IdentityList.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Reactions.IdentityList.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Reactions.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Reactions.swift index 02c1e8a775..7eb471f5c2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Reactions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.Reactions.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.swift index c447e00b15..8277fed378 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatMessage.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatState.UnreadState.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatState.UnreadState.swift index 821738116c..ca61f0d698 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatState.UnreadState.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatState.UnreadState.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatState.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatState.swift index 056695c4cb..450b0ba7ec 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatState.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ChatState.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Detail.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Detail.swift index 18239d0285..3deb80da71 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Detail.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Detail.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_DeviceInfo.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_DeviceInfo.swift index b4e2667c99..0a5dc8b46b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_DeviceInfo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_DeviceInfo.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_DeviceNetworkType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_DeviceNetworkType.swift index a4e793054b..8f268b0733 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_DeviceNetworkType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_DeviceNetworkType.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Export.Format.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Export.Format.swift index cbefc82915..602de16578 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Export.Format.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Export.Format.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Export.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Export.swift index e740c580c0..7464a7d80e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Export.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Export.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileEncryptionKey.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileEncryptionKey.swift index 65aa758481..eb4494a353 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileEncryptionKey.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileEncryptionKey.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileIndexingStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileIndexingStatus.swift index d46780f855..435fe12c4c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileIndexingStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileIndexingStatus.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileInfo.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileInfo.swift index 45bb448d0a..1331a1da31 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileInfo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_FileInfo.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_IdentityProfile.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_IdentityProfile.swift index a50f465da5..9f626f0915 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_IdentityProfile.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_IdentityProfile.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ImageKind.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ImageKind.swift index ce247858be..a6ec200f01 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ImageKind.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ImageKind.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.ErrorCode.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.ErrorCode.swift index 5452868bbb..cdc437adf8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.ErrorCode.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.ErrorCode.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.TypeEnum.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.TypeEnum.swift index 286fac925d..8a56537f3d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.TypeEnum.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.TypeEnum.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.swift index 470a689cee..5904ba6b8d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Import.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InternalFlag.Value.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InternalFlag.Value.swift index c03067c4c3..1fbe8a964e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InternalFlag.Value.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InternalFlag.Value.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InternalFlag.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InternalFlag.swift index 296abc9888..0587dc9e84 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InternalFlag.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InternalFlag.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Invite.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Invite.swift index f852ef3458..008d22986a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Invite.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Invite.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InvitePayload.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InvitePayload.swift index 1d9608a157..c334e60b66 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InvitePayload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InvitePayload.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InviteType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InviteType.swift index f25859e0e9..8624a18865 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InviteType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InviteType.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Layout.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Layout.swift index de122cda53..64af5f9d15 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Layout.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Layout.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_LinkPreview.TypeEnum.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_LinkPreview.TypeEnum.swift index 0a65cf79f5..a7788d51f3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_LinkPreview.TypeEnum.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_LinkPreview.TypeEnum.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_LinkPreview.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_LinkPreview.swift index d44e2676c3..9976d0d128 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_LinkPreview.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_LinkPreview.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ManifestInfo.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ManifestInfo.swift index bd980a3cb0..a9caa6395f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ManifestInfo.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ManifestInfo.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.EmailVerificationStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.EmailVerificationStatus.swift index 364019ac7a..3f879249ba 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.EmailVerificationStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.EmailVerificationStatus.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.PaymentMethod.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.PaymentMethod.swift index eeac4c589c..db12d0590c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.PaymentMethod.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.PaymentMethod.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.Status.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.Status.swift index ca654dbd75..b61a8b9f48 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.Status.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.Status.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.swift index 48fecb8858..6061b602e9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Membership.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_MembershipTierData.PeriodType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_MembershipTierData.PeriodType.swift index b30e39f831..9fddafff8b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_MembershipTierData.PeriodType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_MembershipTierData.PeriodType.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_MembershipTierData.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_MembershipTierData.swift index e06f06c22d..a610de65fb 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_MembershipTierData.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_MembershipTierData.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.OneOf_Payload.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.OneOf_Payload.swift index 6c507ca9d5..78216bb0c4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.OneOf_Payload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.OneOf_Payload.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.Payload.IdentityPayload.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.Payload.IdentityPayload.swift index 58f219449f..fc6e4c08be 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.Payload.IdentityPayload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.Payload.IdentityPayload.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.Payload.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.Payload.swift index f42cd4b402..edef5cf8d6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.Payload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.Payload.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.swift index d620f8a26c..44abd48b92 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Metadata.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_NameserviceNameType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_NameserviceNameType.swift index f21c054d67..a139d83988 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_NameserviceNameType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_NameserviceNameType.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ActionType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ActionType.swift index a437ca66d6..6007ee4bfa 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ActionType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ActionType.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Export.Code.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Export.Code.swift index 8d82e897ae..f128d79dc7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Export.Code.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Export.Code.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Export.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Export.swift index 3d445156ce..412bea65a3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Export.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Export.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.GalleryImport.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.GalleryImport.swift index c7237a7344..9a02ce197e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.GalleryImport.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.GalleryImport.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Import.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Import.swift index 4bec446d8b..8fa7aab7a0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Import.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Import.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.OneOf_Payload.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.OneOf_Payload.swift index afe8f9d9da..0b8fec78fe 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.OneOf_Payload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.OneOf_Payload.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantPermissionsChange.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantPermissionsChange.swift index f5892bbd67..05f92de154 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantPermissionsChange.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantPermissionsChange.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRemove.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRemove.swift index fb87c0bf94..6a9749c909 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRemove.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRemove.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRequestApproved.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRequestApproved.swift index 30ebaefbe1..50f637676a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRequestApproved.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRequestApproved.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRequestDecline.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRequestDecline.swift index e5275cbe83..21b3ffea7c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRequestDecline.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.ParticipantRequestDecline.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.RequestToJoin.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.RequestToJoin.swift index a96262f420..08a4ce1832 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.RequestToJoin.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.RequestToJoin.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.RequestToLeave.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.RequestToLeave.swift index c53716219c..366e329c2a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.RequestToLeave.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.RequestToLeave.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Status.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Status.swift index 2da9489eda..f75ab1c39c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Status.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Status.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Test.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Test.swift index 64c6c50e0a..dd7f67a3c2 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Test.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.Test.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.swift index d66fa4f474..2e04d9ca63 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Notification.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Object.ChangePayload.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Object.ChangePayload.swift index afb62ff3ff..1de756b88e 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Object.ChangePayload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Object.ChangePayload.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Object.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Object.swift index b5d7805ecb..a1392ebee5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Object.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Object.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectOrigin.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectOrigin.swift index 7dd5ee2abd..8c947cdd9d 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectOrigin.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectOrigin.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.Layout.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.Layout.swift index 201f0c8b4d..44bd50d5de 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.Layout.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.Layout.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.swift index f43e12f999..2e5b629375 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectType.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.BlockParticipant.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.BlockParticipant.swift index ddc85a2875..1da6233cb3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.BlockParticipant.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.BlockParticipant.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.DetailsSet.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.DetailsSet.swift index a57a17f157..cdedc300b1 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.DetailsSet.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.DetailsSet.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.HistorySize.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.HistorySize.swift index 7c2de5ab18..c067085ca6 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.HistorySize.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.HistorySize.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.RelationWithValuePerObject.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.RelationWithValuePerObject.swift index 32afb6279a..eb1ad396c9 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.RelationWithValuePerObject.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.RelationWithValuePerObject.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.swift index df88c8497d..7c0f41600c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ObjectView.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantPermissionChange.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantPermissionChange.swift index 62a7aafc10..6f0fcf413b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantPermissionChange.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantPermissionChange.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantPermissions.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantPermissions.swift index a8dabbbe70..33b0b31b65 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantPermissions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantPermissions.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantStatus.swift index 3a09e5007c..c4d11256c8 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_ParticipantStatus.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Range.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Range.swift index 7260fc811e..779b9f7563 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Range.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Range.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.DataSource.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.DataSource.swift index 89142adc46..f40c23c765 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.DataSource.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.DataSource.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Option.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Option.swift index 9befef3b5c..bd04db35b4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Option.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Option.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Scope.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Scope.swift index dd51ce0dd7..cece8265ea 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Scope.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.Scope.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.swift index 803be8f473..9788244308 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relation.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationFormat.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationFormat.swift index 73a461185c..d0d49b4a8c 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationFormat.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationFormat.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationLink.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationLink.swift index d3d2fd8fe1..3fc8bc10c4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationLink.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationLink.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationOptions.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationOptions.swift index 78059cc604..93ff7e9d9a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationOptions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationOptions.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationWithValue.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationWithValue.swift index 774e65357d..807c085e41 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationWithValue.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_RelationWithValue.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relations.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relations.swift index 4c2ef82df6..72219f4a6f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relations.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Relations.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.DataviewRestriction.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.DataviewRestriction.swift index bcb3d23fd2..a8afc7bf61 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.DataviewRestriction.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.DataviewRestriction.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.DataviewRestrictions.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.DataviewRestrictions.swift index 54bb255b09..6830f4cfad 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.DataviewRestrictions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.DataviewRestrictions.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.ObjectRestriction.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.ObjectRestriction.swift index b2dec29ffc..afaad648c4 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.ObjectRestriction.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.ObjectRestriction.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.swift index 1402313ab6..475f7ce186 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Restrictions.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.Meta.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.Meta.swift index d6709b8bdc..2bee8e7b43 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.Meta.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.Meta.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.Result.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.Result.swift index d1b8f80744..8b874ebf55 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.Result.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.Result.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.swift index cf4f86041d..6ddd26ea31 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_Search.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockSnapshotBase.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockSnapshotBase.swift index d886d76733..62bbd7477f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockSnapshotBase.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockSnapshotBase.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockType.swift index 3956e6a386..e54cc6a8b3 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SmartBlockType.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceAccessType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceAccessType.swift index d346d1c107..1b3cc709d7 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceAccessType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceAccessType.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceObjectHeader.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceObjectHeader.swift index 998c1f21f2..1ceed83ce5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceObjectHeader.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceObjectHeader.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceShareableStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceShareableStatus.swift index 6e6e27b82f..7c23832cc0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceShareableStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceShareableStatus.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceStatus.swift index 0f88e72975..95565316d5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceStatus.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceUxType.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceUxType.swift index c2458d6e7a..040f67c0b0 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceUxType.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SpaceUxType.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SyncError.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SyncError.swift index e19f512046..0889f4be7b 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SyncError.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SyncError.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SyncStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SyncStatus.swift index d522ee39fc..4779316219 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SyncStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_SyncStatus.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/models.proto +// Source: models.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/localstore.pb.swift b/Modules/ProtobufMessages/Sources/Protocol/localstore.pb.swift index d8a6daf784..af11be260f 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/localstore.pb.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/localstore.pb.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pkg/lib/pb/model/protos/localstore.proto +// Source: localstore.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ From a522471b165ee0a539686ebb566a0c20cca83dee Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Mon, 27 Oct 2025 11:33:48 +0300 Subject: [PATCH 033/228] IOS-5233 Fixes --- Makefile | 11 ++++++++--- .../Commands/Anytype_Rpc.File.SetAutoDownload.swift | 2 +- .../Anytype_Rpc.PushNotification.AddMentionIds.swift | 2 +- .../Anytype_Rpc.PushNotification.AddMuteIds.swift | 2 +- .../Events/Anytype_Event.Membership.TiersUpdate.swift | 2 +- Scripts/install-swiftprotobuf.sh | 2 +- 6 files changed, 13 insertions(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 5c3a08c4e4..6a1f9005bc 100644 --- a/Makefile +++ b/Makefile @@ -1,4 +1,7 @@ FILE_SPLITTER = ./build/anytype-swift-filesplit-v1 +BOLD := \033[1m +GREEN := \033[32m +RESET := \033[0m setup-middle: ./Scripts/middle-download.sh @@ -12,13 +15,15 @@ change-github-token: # https://github.com/anyproto/anytype-swift?tab=readme-ov-file#use-pre-built-anytype-heart ./Scripts/change-token.sh -generate-middle: setup-tools +generate-middle: + @echo "$(BOLD)If you encounter issues with generation, run $(GREEN)setup-env$(RESET)" ./Modules/ProtobufMessages/Scripts/generate.sh ./build/sourcery --config ./Modules/ProtobufMessages/sourcery.yml ./Tools/anytype-swift-codegen --yaml-path ./Modules/ProtobufMessages/anytypeGen.yml --project-dir ./Modules/ProtobufMessages --output-dir ./Modules/ProtobufMessages/Sources/Generated ./build/swiftgen --config ./Modules/Services/swiftgen.yml generate: + @echo "$(BOLD)If you encounter issues with generation, run $(GREEN)setup-env$(RESET)" # We also have code generation in XCode Build phases for main target and widgets ./build/sourcery --config ./Modules/AnytypeCore/sourcery.yml ./Modules/Assets/Scripts/generate.sh @@ -37,7 +42,7 @@ build-middle-local: setup-middle-local: build-middle-local install-middle-local -setup-env: +setup-env: setup-file-splitter ./Scripts/install-sourcery.sh ./Scripts/install-swiftprotobuf.sh brew install ubi @@ -46,7 +51,7 @@ setup-env: set-middle-version: echo "MIDDLE_VERSION=$(v)" > Libraryfile -setup-tools: +setup-file-splitter: @if [ ! -f "$(FILE_SPLITTER)" ]; then \ make release -C Tools/anytype-swift-filesplit; \ mkdir -p build; \ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SetAutoDownload.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SetAutoDownload.swift index 2b3a6b9c48..524f7c7224 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SetAutoDownload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.File.SetAutoDownload.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMentionIds.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMentionIds.swift index 2a12af5930..e6137997ff 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMentionIds.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMentionIds.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMuteIds.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMuteIds.swift index e86795d74c..86424ca381 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMuteIds.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMuteIds.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/commands.proto +// Source: commands.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.TiersUpdate.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.TiersUpdate.swift index ca319b2182..c38062ce3a 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.TiersUpdate.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Membership.TiersUpdate.swift @@ -3,7 +3,7 @@ // swiftlint:disable all // // Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: pb/protos/events.proto +// Source: events.proto // // For information on using the generated types, please see the documentation: // https://github.com/apple/swift-protobuf/ diff --git a/Scripts/install-swiftprotobuf.sh b/Scripts/install-swiftprotobuf.sh index 93bb977c15..663e116714 100755 --- a/Scripts/install-swiftprotobuf.sh +++ b/Scripts/install-swiftprotobuf.sh @@ -6,7 +6,7 @@ set -euo pipefail # ===== Settings ===== # Set the desired release tag here (examples: 1.26.0, 1.25.2). No env override. -SWIFT_PROTOBUF_VERSION="1.28.2" +SWIFT_PROTOBUF_VERSION="1.32.0" REPO_URL="https://github.com/apple/swift-protobuf" # Project root = one level above Scripts/ From d0ff180db3d080aa2113a237669cb6891e2a023f Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Mon, 27 Oct 2025 11:35:54 +0300 Subject: [PATCH 034/228] IOS-5233 Fixes --- Scripts/middle-download.sh | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/Scripts/middle-download.sh b/Scripts/middle-download.sh index aa33df52a6..324f238aaa 100755 --- a/Scripts/middle-download.sh +++ b/Scripts/middle-download.sh @@ -7,6 +7,11 @@ PROJECT_DIR=${BASEDIR}/.. CACHE_DIR=${PROJECT_DIR}/.libcache CACHE_LIMIT=10 +#Colors +RED='\033[0;31m' +GREEN='\033[0;32m' +RESET='\033[0m' + . ${BASEDIR}/common.sh --source-only source Libraryfile @@ -33,9 +38,8 @@ if [[ ! -f "$LIB_PATH" ]]; then LIB_PATH_TMP=${CACHE_DIR}/lib-tmp.gz if ! curl https://maven.pkg.github.com/anyproto/anytype-heart/io.anyproto/anytype-heart-ios/${MIDDLE_VERSION}/anytype-heart-ios-${MIDDLE_VERSION}.gz -f --header "Authorization: token ${token}" -L --output ${LIB_PATH_TMP}; then - RED='\033[0;31m' - TERMINATOR='\n\e[0m' - printf "${RED}Error downloading middleware, check out token provided${TERMINATOR}" + + printf "${RED}Error downloading middleware, check out token provided${RESET}" printf "use \"make change-github-token\" command to update token" exit 1 fi @@ -62,6 +66,5 @@ if [[ -d "$CACHE_DIR" ]]; then fi fi -GREEN='\033[0;32m' -printf "${GREEN}Success" +printf "${GREEN}Success${RESET}" echo -e "\a" # play sound \ No newline at end of file From 4db53a6a11131ecc17df9419fe9d38a0ef146291 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 27 Oct 2025 11:53:02 +0000 Subject: [PATCH 035/228] IOS-5140 Remove auto-merge from middleware update workflow --- .github/workflows/update_middleware.yaml | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/.github/workflows/update_middleware.yaml b/.github/workflows/update_middleware.yaml index 777de5678f..43250a3d7e 100644 --- a/.github/workflows/update_middleware.yaml +++ b/.github/workflows/update_middleware.yaml @@ -6,8 +6,7 @@ name: Update middleware version # 3. Downloads new middleware binaries and regenerates files # 4. Runs unit tests to ensure compatibility # 5. Creates a PR with the changes -# 6. Auto-merges the PR when all checks pass -# 7. Closes the associated Linear issue (if task_name is provided) +# 6. Closes the associated Linear issue (if task_name is provided) # # Required secrets: # - SERVICE_USER_GITHUB_TOKEN: GitHub token for creating PRs and pushing changes @@ -168,19 +167,11 @@ jobs: PR_BODY="This PR updates middleware to version ${{ inputs.middle_version }}" PR_URL=$(gh pr create --title "${{ steps.commit.outputs.commit_message }}" --body "$PR_BODY" --base ${{ github.ref_name }}) - # Save PR URL for the auto-merge step + # Save PR URL for reference echo "pr_url=$PR_URL" >> $GITHUB_OUTPUT env: GITHUB_TOKEN: ${{ secrets.SERVICE_USER_GITHUB_TOKEN }} - # Enable auto-merge: the PR will be merged when all required checks pass - # Uses --squash to keep the commit history clean - - name: Auto-merge PR - run: | - gh pr merge "${{ steps.create_pr.outputs.pr_url }}" --auto --squash - env: - GITHUB_TOKEN: ${{ secrets.SERVICE_USER_GITHUB_TOKEN }} - # Close the Linear issue by moving it to "Done" state # Only runs if a task_name was provided (e.g., IOS-123) - name: Close Linear Issue From c17ac834762690145871219bc21fcd085fd9c5ff Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 27 Oct 2025 12:19:36 +0000 Subject: [PATCH 036/228] IOS-5140 Remove unused PR_URL variable and output --- .github/workflows/update_middleware.yaml | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/.github/workflows/update_middleware.yaml b/.github/workflows/update_middleware.yaml index 43250a3d7e..888fafbc87 100644 --- a/.github/workflows/update_middleware.yaml +++ b/.github/workflows/update_middleware.yaml @@ -160,15 +160,11 @@ jobs: # Push the branch and create a PR - name: Create PR - id: create_pr run: | git push origin ${{ steps.commit.outputs.branch_name }} --no-verify PR_BODY="This PR updates middleware to version ${{ inputs.middle_version }}" - PR_URL=$(gh pr create --title "${{ steps.commit.outputs.commit_message }}" --body "$PR_BODY" --base ${{ github.ref_name }}) - - # Save PR URL for reference - echo "pr_url=$PR_URL" >> $GITHUB_OUTPUT + gh pr create --title "${{ steps.commit.outputs.commit_message }}" --body "$PR_BODY" --base ${{ github.ref_name }} env: GITHUB_TOKEN: ${{ secrets.SERVICE_USER_GITHUB_TOKEN }} From 61aea6cb047f5a71cb9d3ae920c0020eb49b1066 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 27 Oct 2025 12:29:37 +0000 Subject: [PATCH 037/228] IOS-5140 Add comprehensive GitHub workflows reference documentation --- .github/WORKFLOWS_REFERENCE.md | 418 +++++++++++++++++++++++++++++++++ CLAUDE.md | 4 + 2 files changed, 422 insertions(+) create mode 100644 .github/WORKFLOWS_REFERENCE.md diff --git a/.github/WORKFLOWS_REFERENCE.md b/.github/WORKFLOWS_REFERENCE.md new file mode 100644 index 0000000000..d8640626b0 --- /dev/null +++ b/.github/WORKFLOWS_REFERENCE.md @@ -0,0 +1,418 @@ +# GitHub Workflows & Actions Reference + +This document provides an overview of GitHub workflows, custom actions, and automation in the Anytype iOS repository. For implementation details, refer to the source files in `.github/workflows/` and `.github/actions/`. + +## Table of Contents + +- [Quick Reference](#quick-reference) +- [Workflows](#workflows) + - [CI/CD Workflows](#cicd-workflows) + - [Automation Workflows](#automation-workflows) + - [Code Quality Workflows](#code-quality-workflows) + - [AI/Code Review Workflows](#aicode-review-workflows) + - [Utility Workflows](#utility-workflows) +- [Custom Actions](#custom-actions) +- [Auto-merge System](#auto-merge-system) +- [Required Secrets & Variables](#required-secrets--variables) +- [Runner Configuration](#runner-configuration) +- [Best Practices](#best-practices) + +## Quick Reference + +| Workflow | Trigger | Purpose | +|----------|---------|---------| +| `pr_tests.yml` | PR, manual | Run unit tests on PRs | +| `generator_checks.yaml` | PR, manual | Verify generated files are up-to-date | +| `automerge.yaml` | PR from `any-association` | Auto-approve and merge bot PRs | +| `update_middleware.yaml` | Manual, called | Update middleware version | +| `update_middleware_nightly.yaml` | Schedule (weekdays 03:00 UTC), manual | Update to latest nightly middleware | +| `branch_build.yaml` | Manual | Build and upload branch to TestFlight | +| `dev_build.yaml` | Schedule (weekdays 05:00 UTC), manual | Daily dev build to TestFlight | +| `claude-code-review.yml` | PR opened | AI-powered code review with Claude | + +## Workflows + +### CI/CD Workflows + +#### `pr_tests.yml` - Unit Tests +**File:** `.github/workflows/pr_tests.yml` +**Triggers:** Pull requests, manual dispatch +**Purpose:** Runs unit tests on all PRs to ensure code quality before merge. Uses Xcode cache for faster builds and cancels in-progress runs when new commits are pushed. + +--- + +#### `branch_build.yaml` - Manual TestFlight Upload +**File:** `.github/workflows/branch_build.yaml` +**Triggers:** Manual dispatch only +**Purpose:** Builds the current branch and uploads to TestFlight with an optional comment. Sends Slack notification on completion. +**Inputs:** `tf_comment` (optional TestFlight comment) +**Notable:** Does not cancel in-progress builds + +--- + +#### `dev_build.yaml` - Scheduled Dev Builds +**File:** `.github/workflows/dev_build.yaml` +**Triggers:** Schedule (weekdays at 05:00 UTC), manual dispatch +**Purpose:** Automated daily dev builds uploaded to TestFlight for team testing. Tests are allowed to fail (continue-on-error: true) to ensure builds proceed even with test failures. + +--- + +#### `release_build.yaml` - Production Releases +**File:** `.github/workflows/release_build.yaml` +**Triggers:** Manual dispatch, workflow call +**Purpose:** Builds production releases for App Store submission with production configurations and stricter quality checks. + +--- + +#### `ipa.yaml` - IPA Build +**File:** `.github/workflows/ipa.yaml` +**Triggers:** Manual dispatch +**Purpose:** Creates IPA builds for distribution outside TestFlight/App Store. + +--- + +### Automation Workflows + +#### `automerge.yaml` - Automatic PR Merge +**File:** `.github/workflows/automerge.yaml` +**Triggers:** `pull_request_target` events +**Purpose:** Automatically approves and merges PRs created by the `any-association` account. Only runs when `github.actor == 'any-association'`, enables auto-merge with squash strategy after approval. PR will merge automatically once all required checks pass. +**Use cases:** Automated dependency updates, middleware updates, and other bot-generated PRs. + +--- + +#### `update_middleware.yaml` - Middleware Version Update +**File:** `.github/workflows/update_middleware.yaml` +**Triggers:** Manual dispatch with inputs, workflow call (reusable) +**Purpose:** Updates the middleware version, creates a PR, and optionally closes the Linear issue. + +**Inputs:** +- `middle_version` (required) - Middleware version (e.g., "v0.44.0") +- `task_name` (optional) - Linear task ID (e.g., "IOS-5140") for branch naming and issue closing + +**Process:** Checks current version in Libraryfile → Updates version if different → Downloads binaries → Regenerates protobuf → Runs tests → Creates PR → Closes Linear issue (if task_name provided) + +**Branch naming:** +- With task: `IOS-5140-update-middleware-v0.44.0` +- Without task: `update-middleware-v0.44.0` + +**Important:** +- PRs are created using `SERVICE_USER_GITHUB_TOKEN` (associated with `any-association` account) +- Auto-merge is handled automatically by `automerge.yaml` workflow (no manual intervention needed) +- PR will merge automatically when all required checks pass +- Linear issue is closed when PR is created (not when merged) + +--- + +#### `update_middleware_nightly.yaml` - Nightly Middleware Updates +**File:** `.github/workflows/update_middleware_nightly.yaml` +**Triggers:** Schedule (weekdays at 03:00 UTC), manual dispatch +**Purpose:** Automatically updates to the latest nightly middleware build. Resolves latest nightly version via `Scripts/get-latest-nightly.sh`, then calls `update_middleware.yaml` as a reusable workflow. Sends Slack notification on failure. + +--- + +### Code Quality Workflows + +#### `generator_checks.yaml` - Generated Files Validation +**File:** `.github/workflows/generator_checks.yaml` +**Triggers:** Pull requests, manual dispatch +**Purpose:** Ensures all generated files are up-to-date by running `make generate` and checking for modifications. Fails if files are modified, indicating developer forgot to run generators. +**Error message:** "Generated files are not up to date. Please run 'make generate' and commit the changes." +**Why:** Prevents PRs from being merged with stale generated files (localization strings, assets, protobuf, etc.) + +--- + +#### `license-checks.yml` - License Compliance +**File:** `.github/workflows/license-checks.yml` +**Triggers:** Pull requests, manual dispatch +**Purpose:** Validates that all dependencies have approved licenses. Clones `anyproto/open` repository for license definitions and runs Fastlane license check. + +--- + +#### `cla.yml` - Contributor License Agreement +**File:** `.github/workflows/cla.yml` +**Triggers:** Pull requests from external contributors +**Purpose:** Ensures external contributors have signed the CLA. + +--- + +### AI/Code Review Workflows + +#### `claude-code-review.yml` - AI Code Review +**File:** `.github/workflows/claude-code-review.yml` +**Triggers:** Pull requests (only on `opened` event) +**Purpose:** Provides AI-powered code review using Claude Code. Reviews are lean and actionable - only reports actual issues (bugs, best practices violations, performance problems, security vulnerabilities), no praise or design suggestions. Can post inline code suggestions using GitHub's suggestion blocks. +**Review status:** ✅ Approved (no issues), ⚠️ Minor Issues (non-critical), 🚨 Major Issues (critical) +**Notable:** Uses CLAUDE.md for project-specific conventions and validates runner/Xcode version mappings. + +--- + +#### `claude.yml` - Claude Integration +**File:** `.github/workflows/claude.yml` +**Triggers:** Various events (project-specific) +**Purpose:** General Claude AI integration for automation tasks. + +--- + +### Utility Workflows + +#### `update_cache.yaml` - Cache Management +**File:** `.github/workflows/update_cache.yaml` +**Triggers:** Manual dispatch, scheduled +**Purpose:** Pre-warms GitHub Actions cache for faster builds. Caches local tools, Xcode derived data, and Swift package dependencies. + +--- + +#### `test_fastlane_build.yaml` - Fastlane Testing +**File:** `.github/workflows/test_fastlane_build.yaml` +**Triggers:** Manual dispatch +**Purpose:** Tests Fastlane configuration changes without full builds. + +--- + +## Custom Actions + +Custom actions are reusable components located in `.github/actions/`. See individual action directories for implementation details. + +### `prepare-deps` +**Location:** `.github/actions/prepare-deps` +**Purpose:** Sets up Ruby, Bundler, and Homebrew tools (imagemagick, libgit2) +**Used by:** Nearly all workflows that need build dependencies + +--- + +### `update-git-config` +**Location:** `.github/actions/update-git-config` +**Purpose:** Configures git user for automated commits +**Used by:** Workflows that create commits (branch_build, dev_build, update_middleware) + +--- + +### `send-slack-message` +**Location:** `.github/actions/send-slack-message` +**Purpose:** Sends Slack direct messages to workflow initiators based on job status +**Inputs:** success_message, error_message, status, slack_token, slack_map +**Used by:** branch_build, dev_build, release_build +**Configuration:** Add your GitHub username and work email to `SLACK_MAP` repository variable to receive notifications + +--- + +### `license-checks` +**Location:** `.github/actions/license-checks` +**Purpose:** Validates dependency licenses against approved list from `anyproto/open` repository +**Used by:** license-checks workflow + +--- + +## Auto-merge System + +### Overview +The repository uses a **centralized auto-merge system** via the `automerge.yaml` workflow. Any PR created by the `any-association` account is automatically approved and merged when all checks pass. + +### How It Works + +#### `automerge.yaml` Workflow +- **Trigger:** All PRs (via `pull_request_target`) +- **Condition:** Only runs if `github.actor == 'any-association'` +- **Actions:** + 1. Auto-approves the PR + 2. Enables auto-merge with `--squash` strategy + 3. PR merges automatically when all required checks pass + +#### What Gets Auto-merged +- All PRs from the `any-association` account, including: + - Automated dependency updates + - Middleware updates (via `update_middleware.yaml`) + - Other bot-generated changes +- Individual workflows don't need explicit auto-merge steps - it's handled centrally + +#### What Does NOT Get Auto-merged +- PRs from human developers +- PRs from other bot accounts + +### Configuration + +**For automated workflows:** +- Use `SERVICE_USER_GITHUB_TOKEN` to create PRs (associated with `any-association` account) +- The `automerge.yaml` workflow handles approval and auto-merge automatically +- No need to include auto-merge steps in individual workflow files + +**For manual PRs:** +- Create PR using your own account or other tokens +- PR will require manual review and merge + +--- + +## Required Secrets & Variables + +### Secrets + +| Secret | Purpose | Used By | +|--------|---------|---------| +| `SERVICE_USER_GITHUB_TOKEN` | GitHub token for creating PRs and pushing changes | update_middleware, generator_checks | +| `MIDDLEWARE_TOKEN` | Token for accessing middleware repository | All workflows that download middleware | +| `LINEAR_TOKEN` | Linear API token for closing issues | update_middleware, branch_build | +| `SSH_ACCESS_KEY` | SSH key for accessing private repositories | branch_build, dev_build, release_build | +| `SSH_KEY_FASTLANE_MATCH` | SSH key for Fastlane Match (code signing) | All build workflows | +| `MATCH_PASSWORD` | Password for Fastlane Match encryption | All build workflows | +| `APP_STORE_CONNECT_API_KEY_ID` | App Store Connect API key ID | All build workflows | +| `APP_STORE_CONNECT_API_ISSUER_ID` | App Store Connect API issuer ID | All build workflows | +| `APP_STORE_CONNECT_API_PRIVATE_KEY` | App Store Connect API private key | All build workflows | +| `SENTRY_AUTH_TOKEN` | Sentry authentication token for crash reporting | All build workflows | +| `SENTRY_DSN` | Sentry DSN for crash reporting | All build workflows | +| `AMPLITUDE_API_KEY` | Amplitude analytics API key | All build workflows | +| `OPENAI_TOKEN` | OpenAI API token | All build workflows | +| `AI_ENDPOINT` | AI endpoint URL | All build workflows | +| `AI_MODEL` | AI model name | All build workflows | +| `ANY_APP_MEMBERSHIP_TIER_SECRET` | Membership tier validation secret | All build workflows | +| `JOIN_STREAM_URL` | Join stream URL for collaboration | All build workflows | +| `SLACK_BOT_TOKEN` | Slack bot token for notifications | send-slack-message action | +| `SLACK_URL_BUILD_TESTS` | Slack webhook for build/test notifications | update_middleware_nightly | +| `CLAUDE_CODE_OAUTH_TOKEN` | OAuth token for Claude Code API access | claude-code-review | + +### Variables + +| Variable | Purpose | Used By | +|----------|---------|---------| +| `SLACK_MAP` | JSON mapping of GitHub usernames to work emails | send-slack-message action | + +**Example SLACK_MAP:** +```json +{ + "githubUsername1": "user1@anytype.io", + "githubUsername2": "user2@anytype.io" +} +``` + +--- + +## Runner Configuration + +### Available Runners + +| Runner | Xcode Version | Use Case | +|--------|--------------|----------| +| `macos-15` | Xcode 15.x (e.g., 15.4) | Legacy builds, older Xcode requirements | +| `macos-26` | Xcode 26.0 | **Current standard** - All modern builds | +| `ubuntu-latest` | N/A | Utility jobs, scripts, API calls | + +### Runner-Xcode Version Mapping + +**Critical rule:** The `xcode-version` in `setup-xcode` must match the capabilities of the `runs-on` runner. + +**Current standard configuration:** +```yaml +jobs: + build: + runs-on: macos-26 + steps: + - name: Setup Xcode + uses: maxim-lobanov/setup-xcode@v1.6.0 + with: + xcode-version: '26.0' +``` + +### Reference Documentation +- [macos-15 Readme](https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md) +- [macos-26 ARM64 Readme](https://github.com/actions/runner-images/blob/main/images/macos/macos-26-arm64-Readme.md) +- [All Runner Images](https://github.com/actions/runner-images/tree/main/images/macos) + +**Note:** Claude Code Review workflow validates runner/Xcode version mappings in PRs. + +--- + +## Best Practices + +### When to Use Which Workflow + +**For development:** +- **Local changes:** Use `make generate` and test locally +- **PR testing:** `pr_tests.yml` runs automatically +- **Quick TestFlight build:** Use `branch_build.yaml` manually + +**For middleware updates:** +- **Manual version update:** Use `update_middleware.yaml` with specific version +- **Latest nightly:** Let `update_middleware_nightly.yaml` run automatically, or trigger manually +- **Auto-merge:** PRs are automatically merged by `automerge.yaml` when all checks pass +- **Note:** Tests passing is required for merge, but doesn't guarantee full compatibility - monitor for issues + +**For releases:** +- Use `release_build.yaml` for production builds +- Ensure all tests pass and code review is complete + +### Modifying Workflows Safely + +1. **Test locally first:** + ```bash + # Validate YAML syntax + cat .github/workflows/your-workflow.yaml | ruby -ryaml -e "YAML.load(STDIN.read)" + ``` + +2. **Use small, incremental changes:** + - Modify one workflow at a time + - Test with `workflow_dispatch` trigger + - Review workflow run logs carefully + +3. **Understand dependencies:** + - Check if workflow calls other workflows + - Verify secrets and variables are available + - Ensure runner has necessary tools + +4. **For runner/Xcode changes:** + - Verify compatibility: [Runner Images Documentation](https://github.com/actions/runner-images) + - Update both `runs-on` and `xcode-version` together + - Test build workflow after changes + +5. **Update this documentation:** + - When adding new workflows, document them here + - When changing behavior, update relevant sections + - When adding secrets, document their purpose + +### Common Issues and Solutions + +**Issue:** Generated files check fails on PR +- **Solution:** Run `make generate` locally and commit changes + +**Issue:** Middleware update PR created but tests fail +- **Solution:** PR will not auto-merge until tests pass. Review the failures and push fixes to the PR branch. Once tests pass, auto-merge will proceed automatically. + +**Issue:** Workflow run fails with "Resource not accessible by integration" +- **Solution:** Check `permissions:` block in workflow, ensure necessary permissions are granted + +**Issue:** Slack notifications not received +- **Solution:** Add your GitHub username and email to `SLACK_MAP` repository variable + +**Issue:** Auto-merge not working +- **Solution:** Verify PR is from `any-association` account and all required checks pass + +--- + +## Maintenance + +### Regular Tasks + +**Weekly:** +- Review failed workflow runs +- Check for outdated action versions + +**Monthly:** +- Review and update runner versions if needed +- Audit secrets for expiration +- Review auto-merge behavior + +**Quarterly:** +- Update third-party actions to latest versions +- Review and optimize workflow performance +- Update this documentation + +### Getting Help + +- **Workflow failures:** Check workflow run logs in GitHub Actions tab +- **Runner issues:** Consult [GitHub Actions Runner Images](https://github.com/actions/runner-images) +- **Fastlane issues:** Check `fastlane/Fastfile` and Fastlane documentation +- **Xcode issues:** Verify Xcode version compatibility with runner + +--- + +**Last Updated:** 2025-10-27 +**Maintainers:** iOS Team diff --git a/CLAUDE.md b/CLAUDE.md index f42eb8caa7..fadfc7900b 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -237,6 +237,7 @@ Modules/ # Swift packages - K&R style (opening brackets on same line) - 120-140 character lines - One blank line between functions, two between sections +- **NEVER trim whitespace-only lines** - Preserve blank lines with spaces or tabs exactly as they appear in the original file ### Naming - **PascalCase**: Classes, Structs, Protocols (`ChatViewModel`) @@ -310,6 +311,9 @@ When receiving a Linear task ID (e.g., `IOS-5292`): - `gh pr view --repo anyproto/anytype-swift` - `gh pr diff --repo anyproto/anytype-swift` +### GitHub Workflows & Actions +For comprehensive documentation on GitHub workflows, actions, and automation (including auto-merge behavior), see `.github/WORKFLOWS_REFERENCE.md` + ### Release Branch Workflow - **Branches from release**: When creating a branch from a release branch (e.g., `release/0.42.0`): - Target the **release branch** in your PR, not `develop` From 820643a4569f1018332fd9316b271378ff627d40 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Mon, 27 Oct 2025 15:49:35 +0300 Subject: [PATCH 038/228] IOS-5233 Fixes --- Modules/ProtobufMessages/Scripts/generate.sh | 28 +--------------- .../Scripts/generate_models.sh | 32 +++++++++++++++++++ 2 files changed, 33 insertions(+), 27 deletions(-) create mode 100755 Modules/ProtobufMessages/Scripts/generate_models.sh diff --git a/Modules/ProtobufMessages/Scripts/generate.sh b/Modules/ProtobufMessages/Scripts/generate.sh index 3b50c9a201..a953eb4172 100755 --- a/Modules/ProtobufMessages/Scripts/generate.sh +++ b/Modules/ProtobufMessages/Scripts/generate.sh @@ -2,33 +2,7 @@ SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" -MODULE_DIR=${SCRIPT_DIR}/.. -ROOT_DIR=${SCRIPT_DIR}/../../.. - -# Generate models from protoc - -PROTO_PATH=${ROOT_DIR}/Dependencies/Middleware/protobuf/protos -PROTO_OUT=${ROOT_DIR}/Dependencies/Middleware/genmodels - -mkdir -p ${PROTO_OUT} -rm -rf ${PROTO_OUT}/* - -find "$PROTO_PATH" -name '*.proto' | while read -r file; do - # import "some/models.proto" -> import "models.proto" - sed -i.bak -E \ - '/import[[:space:]]+"google\/protobuf\//! s#(import[[:space:]]+")([^"/]+/)*([^"/]+\.proto)"#\1\3"#g' \ - "$file" -done - -protoc --plugin=protoc-gen-swift="${ROOT_DIR}/build/swift-protobuf/.build/release/protoc-gen-swift" --swift_opt=FileNaming=DropPath --swift_opt=Visibility=Public --swift_out="${PROTO_OUT}" --proto_path="${PROTO_PATH}" ${PROTO_PATH}/*.proto - -# Split files and copy - -rm -rf ${MODULE_DIR}/Sources/Protocol/* -./build/anytype-swift-filesplit-v1 --path ${PROTO_OUT}/commands.pb.swift --output-dir ${MODULE_DIR}/Sources/Protocol/Commands --other-name CommandsOther.swift -./build/anytype-swift-filesplit-v1 --path ${PROTO_OUT}/events.pb.swift --output-dir ${MODULE_DIR}/Sources/Protocol/Events --other-name EventsOther.swift -./build/anytype-swift-filesplit-v1 --path ${PROTO_OUT}/models.pb.swift --output-dir ${MODULE_DIR}/Sources/Protocol/Models --other-name ModelsOther.swift --max-depth 4 -cp -r ${PROTO_OUT}/localstore.pb.swift Modules/ProtobufMessages/Sources/Protocol +${SCRIPT_DIR}/generate_models.sh # ./Tools/SwiftGen/swiftgen config run --config ${SCRIPT_DIR}/Configs/swiftgen.yml ./build/sourcery --config ${SCRIPT_DIR}/Loc/sourcery.yml diff --git a/Modules/ProtobufMessages/Scripts/generate_models.sh b/Modules/ProtobufMessages/Scripts/generate_models.sh new file mode 100755 index 0000000000..597884dcd2 --- /dev/null +++ b/Modules/ProtobufMessages/Scripts/generate_models.sh @@ -0,0 +1,32 @@ +#!/usr/bin/env bash + + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +MODULE_DIR=${SCRIPT_DIR}/.. +ROOT_DIR=${SCRIPT_DIR}/../../.. + +# Generate models from protoc + +PROTO_PATH=${ROOT_DIR}/Dependencies/Middleware/protobuf/protos +PROTO_OUT=${ROOT_DIR}/Dependencies/Middleware/genmodels + +mkdir -p ${PROTO_OUT} +rm -rf ${PROTO_OUT}/* + +find "$PROTO_PATH" -name '*.proto' | while read -r file; do + # import "some/models.proto" -> import "models.proto" + sed -i.bak -E \ + '/import[[:space:]]+"google\/protobuf\//! s#(import[[:space:]]+")([^"/]+/)*([^"/]+\.proto)"#\1\3"#g' \ + "$file" +done + +protoc --plugin=protoc-gen-swift="${ROOT_DIR}/build/swift-protobuf/.build/release/protoc-gen-swift" --swift_opt=FileNaming=DropPath --swift_opt=Visibility=Public --swift_out="${PROTO_OUT}" --proto_path="${PROTO_PATH}" ${PROTO_PATH}/*.proto + +# Split files and copy + +rm -rf ${MODULE_DIR}/Sources/Protocol/* +./build/anytype-swift-filesplit-v1 --path ${PROTO_OUT}/commands.pb.swift --output-dir ${MODULE_DIR}/Sources/Protocol/Commands --other-name CommandsOther.swift +./build/anytype-swift-filesplit-v1 --path ${PROTO_OUT}/events.pb.swift --output-dir ${MODULE_DIR}/Sources/Protocol/Events --other-name EventsOther.swift +./build/anytype-swift-filesplit-v1 --path ${PROTO_OUT}/models.pb.swift --output-dir ${MODULE_DIR}/Sources/Protocol/Models --other-name ModelsOther.swift --max-depth 4 +cp -r ${PROTO_OUT}/localstore.pb.swift Modules/ProtobufMessages/Sources/Protocol + From b4972737492b8ec46cd5dad98a38525c1d607265 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Mon, 27 Oct 2025 15:51:26 +0300 Subject: [PATCH 039/228] IOS-5233 Fix --- Scripts/install-swiftprotobuf.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Scripts/install-swiftprotobuf.sh b/Scripts/install-swiftprotobuf.sh index 663e116714..a4648f1eae 100755 --- a/Scripts/install-swiftprotobuf.sh +++ b/Scripts/install-swiftprotobuf.sh @@ -1,4 +1,4 @@ -ф#!/usr/bin/env bash +#!/usr/bin/env bash # ./Scripts/install-swiftprotobuf.sh # Clones apple/swift-protobuf (if missing), checks out a specific version, and builds a release. From c6408fd42d7bc9ec5921b91462511736d77db4df Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Mon, 27 Oct 2025 15:56:28 +0300 Subject: [PATCH 040/228] IOS-5233 Fix --- Modules/ProtobufMessages/Scripts/generate_models.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/ProtobufMessages/Scripts/generate_models.sh b/Modules/ProtobufMessages/Scripts/generate_models.sh index 597884dcd2..ad44af56e5 100755 --- a/Modules/ProtobufMessages/Scripts/generate_models.sh +++ b/Modules/ProtobufMessages/Scripts/generate_models.sh @@ -28,5 +28,5 @@ rm -rf ${MODULE_DIR}/Sources/Protocol/* ./build/anytype-swift-filesplit-v1 --path ${PROTO_OUT}/commands.pb.swift --output-dir ${MODULE_DIR}/Sources/Protocol/Commands --other-name CommandsOther.swift ./build/anytype-swift-filesplit-v1 --path ${PROTO_OUT}/events.pb.swift --output-dir ${MODULE_DIR}/Sources/Protocol/Events --other-name EventsOther.swift ./build/anytype-swift-filesplit-v1 --path ${PROTO_OUT}/models.pb.swift --output-dir ${MODULE_DIR}/Sources/Protocol/Models --other-name ModelsOther.swift --max-depth 4 -cp -r ${PROTO_OUT}/localstore.pb.swift Modules/ProtobufMessages/Sources/Protocol +cp -r ${PROTO_OUT}/localstore.pb.swift ${MODULE_DIR}/Sources/Protocol From 159e82feaf00ac22365f839f0fbdaa19506e96b3 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Mon, 27 Oct 2025 16:08:08 +0300 Subject: [PATCH 041/228] IOS-5233 Add protobuf --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 6a1f9005bc..8cc0112974 100644 --- a/Makefile +++ b/Makefile @@ -43,6 +43,7 @@ build-middle-local: setup-middle-local: build-middle-local install-middle-local setup-env: setup-file-splitter + brew install protobuf ./Scripts/install-sourcery.sh ./Scripts/install-swiftprotobuf.sh brew install ubi From ce4e6e2ea68d729a05c8422149a8c0d39f9cfb77 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Mon, 27 Oct 2025 19:12:08 +0300 Subject: [PATCH 042/228] IOS-5393 Fix --- .../Widgets/BinLink/BinLinkWidgetView.swift | 1 - .../Widgets/Common/LinkWidgetViewContainer.swift | 16 ---------------- .../Widgets/Container/WidgetContainerView.swift | 1 - .../Widgets/SpaceChat/SpaceChatWidgetView.swift | 1 - 4 files changed, 19 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/BinLink/BinLinkWidgetView.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/BinLink/BinLinkWidgetView.swift index 8a26d36978..19d714a4fa 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/BinLink/BinLinkWidgetView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/BinLink/BinLinkWidgetView.swift @@ -38,7 +38,6 @@ private struct BinLinkWidgetViewInternal: View { isExpanded: .constant(false), dragId: nil, homeState: $homeState, - allowMenuContent: true, allowContent: false, header: { LinkWidgetDefaultHeader(title: Loc.bin, icon: .asset(.X24.bin), onTap: { diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Common/LinkWidgetViewContainer.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Common/LinkWidgetViewContainer.swift index 7ab33f1862..abf55f003e 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Common/LinkWidgetViewContainer.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Common/LinkWidgetViewContainer.swift @@ -6,7 +6,6 @@ struct LinkWidgetViewContainer: View where Header: @Binding var isExpanded: Bool let dragId: String? @Binding var homeState: HomeWidgetsState - let allowMenuContent: Bool let allowContent: Bool let allowContextMenuItems: Bool let header: Header @@ -20,7 +19,6 @@ struct LinkWidgetViewContainer: View where Header: isExpanded: Binding, dragId: String? = nil, homeState: Binding, - allowMenuContent: Bool = false, allowContent: Bool = true, allowContextMenuItems: Bool = true, createObjectAction: (() -> Void)? = nil, @@ -31,7 +29,6 @@ struct LinkWidgetViewContainer: View where Header: self._isExpanded = isExpanded self.dragId = dragId self._homeState = homeState - self.allowMenuContent = allowMenuContent self.allowContent = allowContent self.allowContextMenuItems = allowContextMenuItems self.header = header() @@ -77,7 +74,6 @@ struct LinkWidgetViewContainer: View where Header: header HStack(spacing: 16) { createObjectButton - menuButton arrowButton } Spacer.fixedWidth(16) @@ -112,18 +108,6 @@ struct LinkWidgetViewContainer: View where Header: } } - @ViewBuilder - private var menuButton: some View { - if allowMenuContent { - Menu { - menu() - } label: { - Image(asset: .Widget.settings) - .foregroundColor(.Text.primary) - } - } - } - private func isDragging() -> Bool { dragState.dragInitiateId == dragId && dragState.dragInProgress } diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Container/WidgetContainerView.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Container/WidgetContainerView.swift index 176c002389..a21e0fa930 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Container/WidgetContainerView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Container/WidgetContainerView.swift @@ -57,7 +57,6 @@ struct WidgetContainerView: View { isExpanded: $model.isExpanded, dragId: dragId, homeState: $model.homeState, - allowMenuContent: model.menuItems.isNotEmpty, allowContent: Content.self != EmptyView.self, createObjectAction: model.homeState.isReadWrite ? onCreateObjectTap : nil, header: { diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetView.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetView.swift index c39785fdbd..f2f0f29f73 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetView.swift @@ -15,7 +15,6 @@ struct SpaceChatWidgetView: View { isExpanded: .constant(false), dragId: nil, homeState: .constant(.readwrite), - allowMenuContent: false, allowContent: false, header: { LinkWidgetDefaultHeader( From e54008dd51c29bbf455ffc6b5f507a80fc4c4640 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 27 Oct 2025 16:54:24 +0000 Subject: [PATCH 043/228] IOS-5364 Update in ai code review flow --- .../workflows/claude-code-review-prompt.md | 183 ++++++++++++++++++ .github/workflows/claude-code-review.yml | 80 +------- CLAUDE.md | 23 +++ 3 files changed, 215 insertions(+), 71 deletions(-) create mode 100644 .github/workflows/claude-code-review-prompt.md diff --git a/.github/workflows/claude-code-review-prompt.md b/.github/workflows/claude-code-review-prompt.md new file mode 100644 index 0000000000..a31cf88069 --- /dev/null +++ b/.github/workflows/claude-code-review-prompt.md @@ -0,0 +1,183 @@ +# Claude Code Review Prompt + +## Context Variables +- **REPO**: Repository name (injected by workflow) +- **PR NUMBER**: Pull request number (injected by workflow) +- **COMMIT SHA**: Commit SHA being reviewed (injected by workflow) + +## Reference Documentation + +### Valid GitHub Actions Runners +https://github.com/actions/runner-images/tree/main/images/macos + +### macOS Runner to Xcode Version Mapping +- `macos-15`: Xcode 15.x (e.g., '15.4') - See https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md +- `macos-26`: Xcode 26.0 (at /Applications/Xcode_26.0.app) - See https://github.com/actions/runner-images/blob/main/images/macos/macos-26-arm64-Readme.md + +**VALIDATION RULE**: When reviewing xcode-version in workflows, verify it matches the runs-on runner version using the mapping above. + +## Review Instructions + +Review this PR using CLAUDE.md for project conventions. Be LEAN and ACTIONABLE - only provide value, avoid noise. + +### Core Rules +- ONLY include sections when there are ACTUAL issues to report +- NO "Strengths" or praise sections +- NO "no concerns" statements (skip the section entirely) +- NO design/UI/spacing suggestions (padding, margins, colors, etc.) - you cannot see the visual design +- Reference specific file:line locations for issues +- If no issues found: comment "✅ **Approved** - No issues found" + +### Review Sections +Include ONLY if issues exist: + +#### Bugs/Issues +Logic errors, potential bugs that need fixing + +#### Best Practices +Violations of Swift/SwiftUI conventions or CLAUDE.md guidelines (code quality only, not design) + +#### Performance +Actual performance problems (not theoretical) + +#### Security +Real security vulnerabilities + +### Summary Format +End with ONE sentence only with status emoji: +- ✅ **Approved** - [brief reason] +- ⚠️ **Minor Issues** - [what needs fixing] +- 🚨 **Major Issues** - [critical problems] + +## Review Comment Strategy + +### 1. Small, Localized Issues (Preferred) +For issues affecting a single chunk of code: +- Use GitHub's suggestion mechanism to propose the fix inline +- Include the fixed code in a suggestion block +- Add brief explanation above the suggestion + +**Format**: +```suggestion +fixed code here +``` + +**Example**: +```bash +gh api repos/${REPO}/pulls/${PR_NUMBER}/reviews \ + --method POST \ + --field body="" \ + --field event="COMMENT" \ + --field comments[][path]="fastlane/FastlaneComment" \ + --field comments[][line]=45 \ + --field comments[][body]="**Code Quality**: This single-line command is fragile. Consider breaking into multiple lines: +\`\`\`suggestion +sh(\"export PKG_CONFIG_PATH=/opt/homebrew/lib/pkgconfig:/usr/local/lib/pkgconfig:\$PKG_CONFIG_PATH\") +sh(\"source venv/bin/activate && pip3 install -r requirements.txt && python3 release-utils/main.py\") +\`\`\`" +``` + +### 2. Broader Issues (Multiple Locations) +For issues spanning multiple files or no immediate fix: + +**Format**: +```bash +gh api repos/${REPO}/pulls/${PR_NUMBER}/reviews \ + --method POST \ + --field body="Your summary here (can be empty if you have inline comments)" \ + --field event="COMMENT" \ + --field comments[][path]="Anytype/Sources/PresentationLayer/SpaceSettings/SpaceSettings/SpaceSettingsViewModel.swift" \ + --field comments[][line]=274 \ + --field comments[][body]="**Potential Race Condition**: canAddWriters is computed using participants array (line 274), but participants is updated asynchronously in startJoiningTask() which runs in parallel with startParticipantTask()." +``` + +You can add multiple `--field comments[][...]` entries in a single command for multiple inline comments. + +### 3. Final Summary Comment +Always post a summary at the end: +```bash +gh pr comment ${PR_NUMBER} --body "Review complete - see inline comments for details" +``` + +## Common Analysis Mistakes to Avoid + +### Mistake: Assuming Unused Code After UI Element Removal + +**Scenario**: A PR removes a visible UI element (e.g., a menu button) but leaves related parameters in the API. + +**Wrong Analysis**: +- ❌ "Parameter is unused, should be removed" +- ❌ "Remove all related infrastructure" +- ❌ Not checking where else the parameter is used + +**Correct Approach**: +1. **Trace all usages** of parameters/closures before declaring them unused +2. **Understand dual UX patterns**: iOS commonly uses button + long-press for same actions +3. **Check for multiple consumers**: A closure/parameter may serve multiple UI patterns + +**Example - Menu Button + Context Menu Pattern**: +```swift +// Component accepts menu closure +struct Widget { + let menu: () -> MenuContent + + var body: some View { + content + .toolbar { + // Visible menu button + Menu { menu() } label: { Image(...) } + } + .contextMenu { + // Long-press menu (same content!) + menu() + } + } +} +``` + +**Analysis**: +- Removing the toolbar menu button does NOT make `menu` parameter unused +- The `menu()` closure is still actively used by `.contextMenu` +- Both are valid access patterns for the same functionality + +**Key Questions to Ask**: +- Where else is this parameter/closure called in the file? +- Is this a dual-access pattern (button + long-press)? +- Was the removal intentional (UX change) or accidental? +- Are there separate flags controlling each access method? + +### Mistake: Not Understanding Conditional Rendering Flags + +**Scenario**: A component has multiple boolean flags like `allowMenuContent` and `allowContextMenuItems`. + +**Wrong Analysis**: +- ❌ "These flags serve the same purpose, consolidate them" +- ❌ Not recognizing they control different UI elements + +**Correct Approach**: +1. Each flag controls a specific UI element/pattern +2. `allowMenuContent`: Controls visible button +3. `allowContextMenuItems`: Controls long-press menu +4. They can be independently enabled/disabled + +**Example**: +```swift +// Widget with independent menu controls +LinkWidgetViewContainer( + allowMenuContent: false, // No visible button + allowContextMenuItems: true, // Long-press still works + menu: { MenuItem() } // Used by context menu only +) +``` + +### Analysis Checklist + +Before suggesting removal of "unused" code: +- [ ] Searched ALL usages in the file +- [ ] Checked for dual UX patterns (button + context menu) +- [ ] Understood purpose of each boolean flag +- [ ] Verified it's not used by multiple consumers +- [ ] Asked clarifying questions about design intent + +If unsure, ask: +> "Was removing [UI element] intentional? The [parameter] is still used by [other pattern]. Should we keep both access methods or restore the [UI element]?" diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index 37e886bf3f..be636d0faf 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -31,6 +31,14 @@ jobs: with: fetch-depth: 1 + - name: Load review prompt + id: load-prompt + run: | + PROMPT_CONTENT=$(cat .github/workflows/claude-code-review-prompt.md) + echo "prompt_content<> $GITHUB_OUTPUT + echo "$PROMPT_CONTENT" >> $GITHUB_OUTPUT + echo "EOF" >> $GITHUB_OUTPUT + - name: Run Claude Code Review id: claude-review uses: anthropics/claude-code-action@v1 @@ -41,77 +49,7 @@ jobs: PR NUMBER: ${{ github.event.pull_request.number }} COMMIT SHA: ${{ github.event.pull_request.head.sha }} - REFERENCE - Valid GitHub Actions Runners: https://github.com/actions/runner-images/tree/main/images/macos - - REFERENCE - macOS Runner to Xcode Version Mapping: - - macos-15: Xcode 15.x (e.g., '15.4') - See https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md - - macos-26: Xcode 26.0 (at /Applications/Xcode_26.0.app) - See https://github.com/actions/runner-images/blob/main/images/macos/macos-26-arm64-Readme.md - - VALIDATION RULE: When reviewing xcode-version in workflows, verify it matches the runs-on runner version using the mapping above. - - Review this PR using CLAUDE.md for project conventions. Be LEAN and ACTIONABLE - only provide value, avoid noise. - - RULES: - - ONLY include sections when there are ACTUAL issues to report - - NO "Strengths" or praise sections - - NO "no concerns" statements (skip the section entirely) - - NO design/UI/spacing suggestions (padding, margins, colors, etc.) - you cannot see the visual design - - Reference specific file:line locations for issues - - If no issues found: comment "✅ **Approved** - No issues found" - - SECTIONS (include ONLY if issues exist): - - **Bugs/Issues**: Logic errors, potential bugs that need fixing - - **Best Practices**: Violations of Swift/SwiftUI conventions or CLAUDE.md guidelines (code quality only, not design) - - **Performance**: Actual performance problems (not theoretical) - - **Security**: Real security vulnerabilities - - END WITH: - - **Summary**: ONE sentence only with status emoji: - - ✅ **Approved** - [brief reason] - - ⚠️ **Minor Issues** - [what needs fixing] - - 🚨 **Major Issues** - [critical problems] - - IMPORTANT - Review Comment Strategy: - 1. For small, localized issues affecting a single chunk of code: - - Use GitHub's suggestion mechanism to propose the fix inline - - Include the fixed code in a suggestion block - - Add brief explanation above the suggestion - 2. For broader issues or multiple locations: - - Post inline comments using the GitHub API - 3. Post a final summary comment at the end - - For INLINE CODE SUGGESTIONS (preferred for small, localized fixes): - Use this format in your comment body: - ```suggestion - fixed code here - ``` - - Example for single-line fix: - gh api repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/reviews \ - --method POST \ - --field body="" \ - --field event="COMMENT" \ - --field comments[][path]="fastlane/FastlaneComment" \ - --field comments[][line]=45 \ - --field comments[][body]="**Code Quality**: This single-line command is fragile. Consider breaking into multiple lines: - \`\`\`suggestion - sh(\"export PKG_CONFIG_PATH=/opt/homebrew/lib/pkgconfig:/usr/local/lib/pkgconfig:\$PKG_CONFIG_PATH\") - sh(\"source venv/bin/activate && pip3 install -r requirements.txt && python3 release-utils/main.py\") - \`\`\`" - - For INLINE COMMENTS (broader issues, no immediate fix): - gh api repos/${{ github.repository }}/pulls/${{ github.event.pull_request.number }}/reviews \ - --method POST \ - --field body="Your summary here (can be empty if you have inline comments)" \ - --field event="COMMENT" \ - --field comments[][path]="Anytype/Sources/PresentationLayer/SpaceSettings/SpaceSettings/SpaceSettingsViewModel.swift" \ - --field comments[][line]=274 \ - --field comments[][body]="**Potential Race Condition**: canAddWriters is computed using participants array (line 274), but participants is updated asynchronously in startJoiningTask() which runs in parallel with startParticipantTask()." - - You can add multiple --field comments[][...] entries in a single command for multiple inline comments. - - Then post a final summary comment: - gh pr comment ${{ github.event.pull_request.number }} --body "Review complete - see inline comments for details" + ${{ steps.load-prompt.outputs.prompt_content }} # See https://github.com/anthropics/claude-code-action/blob/main/docs/usage.md # or https://docs.claude.com/en/docs/claude-code/cli-reference for available options diff --git a/CLAUDE.md b/CLAUDE.md index fadfc7900b..2dceaa8c11 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -322,6 +322,14 @@ For comprehensive documentation on GitHub workflows, actions, and automation (in ### ❌ FORBIDDEN Git Practices +**ABSOLUTELY NEVER run destructive git operations** unless you have explicit, written approval: +- `git reset --hard` - Discards all local changes permanently +- `git checkout ` or `git restore` to revert to older commits - Can lose work +- `git clean -fd` - Removes untracked files permanently +- `git push --force` to main/develop - Rewrites shared history + +**If you are even slightly unsure about a git command, STOP and ask the user first.** + **NEVER do this:** ```bash # ❌ WRONG - Contains AI attribution @@ -358,6 +366,21 @@ git commit -m "IOS-4852 Add limit check for pinned spaces" - Chain PRs: `branch-1` → `develop`, `branch-2` → `branch-1` - Atomic changes per branch +### 🔧 Git Technical Tips + +**Quoting paths with special characters**: +- Always quote git paths containing brackets, parentheses, or spaces +- Prevents shell from treating them as globs or subshells + +```bash +# ✅ CORRECT +git add "Anytype/Sources/[Feature]/Component.swift" +git commit -m "Update component" -- "path/with spaces/file.swift" + +# ❌ WRONG - Shell interprets brackets as glob pattern +git add Anytype/Sources/[Feature]/Component.swift +``` + ### Linear Integration 1. **Get task context**: Extract task number from branch name or ask user 2. **Fetch details**: Use Linear MCP tools (`mcp__linear__get_issue`) From 2d2dfe81aba0e2d830db2389fcb36c3de46a366a Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 27 Oct 2025 16:59:05 +0000 Subject: [PATCH 044/228] IOS-5378 Hide channel type switcher under feature flag --- .../SpaceSettings/SpaceSettingsViewModel.swift | 2 +- .../AnytypeCore/Generated/FeatureFlags+Flags.swift | 5 +++++ .../Utils/FeatureFlags/FeatureDescription+Flags.swift | 8 +++++++- 3 files changed, 13 insertions(+), 2 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/SpaceSettings/SpaceSettings/SpaceSettingsViewModel.swift b/Anytype/Sources/PresentationLayer/SpaceSettings/SpaceSettings/SpaceSettingsViewModel.swift index dd819ea037..b079bd5898 100644 --- a/Anytype/Sources/PresentationLayer/SpaceSettings/SpaceSettings/SpaceSettingsViewModel.swift +++ b/Anytype/Sources/PresentationLayer/SpaceSettings/SpaceSettings/SpaceSettingsViewModel.swift @@ -273,7 +273,7 @@ final class SpaceSettingsViewModel: ObservableObject { allowRemoteStorage = participantSpaceView.isOwner canAddWriters = spaceView.canAddWriters(participants: participants) - uxTypeSettingsData = participantSpaceView.canChangeUxType && spaceView.hasChat ? SpaceUxTypeSettingsData(uxType: spaceView.uxType) : nil + uxTypeSettingsData = participantSpaceView.canChangeUxType && spaceView.hasChat && FeatureFlags.channelTypeSwitcher ? SpaceUxTypeSettingsData(uxType: spaceView.uxType) : nil info = spaceSettingsInfoBuilder.build(workspaceInfo: workspaceInfo, details: spaceView, owner: owner) { [weak self] in self?.snackBarData = ToastBarData(Loc.copiedToClipboard($0)) diff --git a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift index fffa4157f2..7acd14cac7 100644 --- a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift @@ -50,6 +50,10 @@ public extension FeatureFlags { value(for: .turnOffAutomaticWidgetOpening) } + static var channelTypeSwitcher: Bool { + value(for: .channelTypeSwitcher) + } + static var setKanbanView: Bool { value(for: .setKanbanView) } @@ -143,6 +147,7 @@ public extension FeatureFlags { .brandNewAuthFlow, .showAllButtonInWidgets, .turnOffAutomaticWidgetOpening, + .channelTypeSwitcher, .setKanbanView, .fullInlineSetImpl, .dndOnCollectionsAndSets, diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index 623e51fe93..b3096a0727 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -69,7 +69,13 @@ public extension FeatureDescription { type: .feature(author: "m@anytype.io", releaseVersion: "13.5"), defaultValue: true ) - + + static let channelTypeSwitcher = FeatureDescription( + title: "Channel type switcher - IOS-5378", + type: .feature(author: "vova@anytype.io", releaseVersion: "14"), + defaultValue: false + ) + // MARK: - Experemental static let setKanbanView = FeatureDescription( From 0518c72d334ea36291977ef84482f649ca68d847 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 27 Oct 2025 17:10:38 +0000 Subject: [PATCH 045/228] IOS-5355 Use multi-chat flag for sets and types --- .../Dataview/SetObjectCreationSettingsInteractor.swift | 4 ++-- .../ObjectTypeSearch/ObjectTypeSearchViewSettings.swift | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/Dataview/SetObjectCreationSettingsInteractor.swift b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/Dataview/SetObjectCreationSettingsInteractor.swift index 9271e63d84..028734cc6a 100644 --- a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/Dataview/SetObjectCreationSettingsInteractor.swift +++ b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/Dataview/SetObjectCreationSettingsInteractor.swift @@ -153,12 +153,12 @@ final class SetObjectCreationSettingsInteractor: SetObjectCreationSettingsIntera private func updateObjectTypes() { Task { objectTypes = try await typesService.searchObjectTypes( - text: "", + text: "", includePins: true, includeLists: true, includeBookmarks: true, includeFiles: false, - includeChat: false, + includeChat: FeatureFlags.multichats, includeTemplates: false, incudeNotForCreation: false, spaceId: setDocument.spaceId diff --git a/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewSettings.swift b/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewSettings.swift index a179b8e176..9a02fe4d9f 100644 --- a/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewSettings.swift +++ b/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewSettings.swift @@ -1,3 +1,5 @@ +import AnytypeCore + struct ObjectTypeSearchViewSettings { let showPins: Bool let showLists: Bool @@ -25,7 +27,7 @@ extension ObjectTypeSearchViewSettings { showPins: false, showLists: true, showFiles: true, - showChat: false, + showChat: FeatureFlags.multichats, showTemplates: true, incudeNotForCreation: true, allowPaste: false, From 1fa4af862ff234252b2538064f132be1349503c2 Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Tue, 28 Oct 2025 08:52:59 +0100 Subject: [PATCH 046/228] Automation: Update middleware to v0.44.0-nightly.20251025.1 (#4161) Co-authored-by: William Blake --- Libraryfile | 2 +- .../invocation-adoption.generated.swift | 5 + .../Generated/service+invocation.swift | 10 + .../Loc/Generated/Error+Localization.swift | 23 ++ ...ytype_Rpc.PushNotification.AddAllIds.swift | 267 ++++++++++++++++++ 5 files changed, 306 insertions(+), 1 deletion(-) create mode 100644 Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddAllIds.swift diff --git a/Libraryfile b/Libraryfile index 6fba3e9875..d4f4693d4c 100644 --- a/Libraryfile +++ b/Libraryfile @@ -1 +1 @@ -MIDDLE_VERSION=v0.44.0-nightly.20251024.1 +MIDDLE_VERSION=v0.44.0-nightly.20251025.1 diff --git a/Modules/ProtobufMessages/Sources/Generated/CommandsInvocation/invocation-adoption.generated.swift b/Modules/ProtobufMessages/Sources/Generated/CommandsInvocation/invocation-adoption.generated.swift index 9569c200d4..12e7ec0f74 100644 --- a/Modules/ProtobufMessages/Sources/Generated/CommandsInvocation/invocation-adoption.generated.swift +++ b/Modules/ProtobufMessages/Sources/Generated/CommandsInvocation/invocation-adoption.generated.swift @@ -1355,6 +1355,11 @@ extension Anytype_Rpc.Publishing.ResolveUri.Response.Error: ResponseError { public var isNull: Bool { code == .null && description_p.isEmpty } } +extension Anytype_Rpc.PushNotification.AddAllIds.Response: ResultWithError {} +extension Anytype_Rpc.PushNotification.AddAllIds.Response.Error: ResponseError { + public var isNull: Bool { code == .null && description_p.isEmpty } +} + extension Anytype_Rpc.PushNotification.AddMentionIds.Response: ResultWithError {} extension Anytype_Rpc.PushNotification.AddMentionIds.Response.Error: ResponseError { public var isNull: Bool { code == .null && description_p.isEmpty } diff --git a/Modules/ProtobufMessages/Sources/Generated/service+invocation.swift b/Modules/ProtobufMessages/Sources/Generated/service+invocation.swift index d41aaa032c..cc6dd497e6 100644 --- a/Modules/ProtobufMessages/Sources/Generated/service+invocation.swift +++ b/Modules/ProtobufMessages/Sources/Generated/service+invocation.swift @@ -3074,4 +3074,14 @@ public struct ClientCommands { } } + public static func pushNotificationAddAllIds( + _ request: Anytype_Rpc.PushNotification.AddAllIds.Request = .init() + ) -> Invocation { + return Invocation(messageName: "PushNotificationAddAllIds", request: request) { request in + let requestData = try request.serializedData() + let responseData = Lib.ServicePushNotificationAddAllIds(requestData) ?? Data() + return try Anytype_Rpc.PushNotification.AddAllIds.Response(serializedBytes: responseData) + } + } + } diff --git a/Modules/ProtobufMessages/Sources/Loc/Generated/Error+Localization.swift b/Modules/ProtobufMessages/Sources/Loc/Generated/Error+Localization.swift index 7912ab312d..367d7f89a4 100644 --- a/Modules/ProtobufMessages/Sources/Loc/Generated/Error+Localization.swift +++ b/Modules/ProtobufMessages/Sources/Loc/Generated/Error+Localization.swift @@ -6660,6 +6660,29 @@ extension Anytype_Rpc.Publishing.ResolveUri.Response.Error: LocalizedError { } } +extension Anytype_Rpc.PushNotification.AddAllIds.Response.Error: LocalizedError { + public var errorDescription: String? { + let localizeError = localizeError() + if !localizeError.isEmpty { + return localizeError + } + return "Error: \(description_p) (\(code))" + } + + private func localizeError() -> String { + switch code { + case .null: + return "" + case .unknownError: + return "" + case .badInput: + return LocHelper.tr(table: "LocalizableError", key: "PushNotification.AddAllIds.badInput") + case .UNRECOGNIZED: + return "" + } + } +} + extension Anytype_Rpc.PushNotification.AddMentionIds.Response.Error: LocalizedError { public var errorDescription: String? { let localizeError = localizeError() diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddAllIds.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddAllIds.swift new file mode 100644 index 0000000000..296948cab7 --- /dev/null +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddAllIds.swift @@ -0,0 +1,267 @@ +// DO NOT EDIT. +// swift-format-ignore-file +// swiftlint:disable all +// +// Generated by the Swift generator plugin for the protocol buffer compiler. +// Source: commands.proto +// +// For information on using the generated types, please see the documentation: +// https://github.com/apple/swift-protobuf/ + +import Foundation +import SwiftProtobuf + +extension Anytype_Rpc.PushNotification { + public struct AddAllIds: Sendable { + // SwiftProtobuf.Message conformance is added in an extension below. See the + // `Message` and `Message+*Additions` files in the SwiftProtobuf library for + // methods supported on all messages. + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct Request: Sendable { + // SwiftProtobuf.Message conformance is added in an extension below. See the + // `Message` and `Message+*Additions` files in the SwiftProtobuf library for + // methods supported on all messages. + + public var spaceID: String = String() + + public var chatIds: [String] = [] + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public init() {} + } + + public struct Response: Sendable { + // SwiftProtobuf.Message conformance is added in an extension below. See the + // `Message` and `Message+*Additions` files in the SwiftProtobuf library for + // methods supported on all messages. + + public var error: Anytype_Rpc.PushNotification.AddAllIds.Response.Error { + get {return _error ?? Anytype_Rpc.PushNotification.AddAllIds.Response.Error()} + set {_error = newValue} + } + /// Returns true if `error` has been explicitly set. + public var hasError: Bool {return self._error != nil} + /// Clears the value of `error`. Subsequent reads from it will return its default value. + public mutating func clearError() {self._error = nil} + + public var event: Anytype_ResponseEvent { + get {return _event ?? Anytype_ResponseEvent()} + set {_event = newValue} + } + /// Returns true if `event` has been explicitly set. + public var hasEvent: Bool {return self._event != nil} + /// Clears the value of `event`. Subsequent reads from it will return its default value. + public mutating func clearEvent() {self._event = nil} + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public struct Error: Sendable { + // SwiftProtobuf.Message conformance is added in an extension below. See the + // `Message` and `Message+*Additions` files in the SwiftProtobuf library for + // methods supported on all messages. + + public var code: Anytype_Rpc.PushNotification.AddAllIds.Response.Error.Code = .null + + public var description_p: String = String() + + public var unknownFields = SwiftProtobuf.UnknownStorage() + + public enum Code: SwiftProtobuf.Enum, Swift.CaseIterable { + public typealias RawValue = Int + case null // = 0 + case unknownError // = 1 + case badInput // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .null + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .null + case 1: self = .unknownError + case 2: self = .badInput + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .null: return 0 + case .unknownError: return 1 + case .badInput: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static let allCases: [Anytype_Rpc.PushNotification.AddAllIds.Response.Error.Code] = [ + .null, + .unknownError, + .badInput, + ] + + } + + public init() {} + } + + public init() {} + + fileprivate var _error: Anytype_Rpc.PushNotification.AddAllIds.Response.Error? = nil + fileprivate var _event: Anytype_ResponseEvent? = nil + } + + public init() {} + } +} + +extension Anytype_Rpc.PushNotification.AddAllIds: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.protoMessageName + ".AddAllIds" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap() + + public mutating func decodeMessage(decoder: inout D) throws { + // Load everything into unknown fields + while try decoder.nextFieldNumber() != nil {} + } + + public func traverse(visitor: inout V) throws { + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Anytype_Rpc.PushNotification.AddAllIds, rhs: Anytype_Rpc.PushNotification.AddAllIds) -> Bool { + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension Anytype_Rpc.PushNotification.AddAllIds.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.AddAllIds.protoMessageName + ".Request" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}chatIds\0") + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularStringField(value: &self.spaceID) }() + case 2: try { try decoder.decodeRepeatedStringField(value: &self.chatIds) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if !self.spaceID.isEmpty { + try visitor.visitSingularStringField(value: self.spaceID, fieldNumber: 1) + } + if !self.chatIds.isEmpty { + try visitor.visitRepeatedStringField(value: self.chatIds, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Anytype_Rpc.PushNotification.AddAllIds.Request, rhs: Anytype_Rpc.PushNotification.AddAllIds.Request) -> Bool { + if lhs.spaceID != rhs.spaceID {return false} + if lhs.chatIds != rhs.chatIds {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension Anytype_Rpc.PushNotification.AddAllIds.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.AddAllIds.protoMessageName + ".Response" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularMessageField(value: &self._error) }() + case 2: try { try decoder.decodeSingularMessageField(value: &self._event) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every if/case branch local when no optimizations + // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and + // https://github.com/apple/swift-protobuf/issues/1182 + try { if let v = self._error { + try visitor.visitSingularMessageField(value: v, fieldNumber: 1) + } }() + try { if let v = self._event { + try visitor.visitSingularMessageField(value: v, fieldNumber: 2) + } }() + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Anytype_Rpc.PushNotification.AddAllIds.Response, rhs: Anytype_Rpc.PushNotification.AddAllIds.Response) -> Bool { + if lhs._error != rhs._error {return false} + if lhs._event != rhs._event {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension Anytype_Rpc.PushNotification.AddAllIds.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.AddAllIds.Response.protoMessageName + ".Error" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") + + public mutating func decodeMessage(decoder: inout D) throws { + while let fieldNumber = try decoder.nextFieldNumber() { + // The use of inline closures is to circumvent an issue where the compiler + // allocates stack space for every case branch when no optimizations are + // enabled. https://github.com/apple/swift-protobuf/issues/1034 + switch fieldNumber { + case 1: try { try decoder.decodeSingularEnumField(value: &self.code) }() + case 2: try { try decoder.decodeSingularStringField(value: &self.description_p) }() + default: break + } + } + } + + public func traverse(visitor: inout V) throws { + if self.code != .null { + try visitor.visitSingularEnumField(value: self.code, fieldNumber: 1) + } + if !self.description_p.isEmpty { + try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 2) + } + try unknownFields.traverse(visitor: &visitor) + } + + public static func ==(lhs: Anytype_Rpc.PushNotification.AddAllIds.Response.Error, rhs: Anytype_Rpc.PushNotification.AddAllIds.Response.Error) -> Bool { + if lhs.code != rhs.code {return false} + if lhs.description_p != rhs.description_p {return false} + if lhs.unknownFields != rhs.unknownFields {return false} + return true + } +} + +extension Anytype_Rpc.PushNotification.AddAllIds.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") +} + +// If the compiler emits an error on this type, it is because this file +// was generated by a version of the `protoc` Swift plug-in that is +// incompatible with the version of SwiftProtobuf to which you are linking. +// Please ensure that you are building against the same version of the API +// that was used to generate this file. +fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck { + struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {} + typealias Version = _2 +} + +// MARK: - Code below here is support for the SwiftProtobuf runtime. + +fileprivate let _protobuf_package = "anytype" From 0b6f8a71df304528e4aee9b98a054418fe86febc Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 28 Oct 2025 11:45:19 +0000 Subject: [PATCH 047/228] IOS-5211 Fix design issues --- .../Modules/SpaceShare/Views/NewInviteLinkView.swift | 2 +- .../TextEditor/Set/Views/Header/SetHeaderSettingsView.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceShare/Views/NewInviteLinkView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceShare/Views/NewInviteLinkView.swift index 21dd62460b..f0cce35236 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceShare/Views/NewInviteLinkView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceShare/Views/NewInviteLinkView.swift @@ -64,7 +64,7 @@ struct NewInviteLinkView: View { linkStateButton linkView Spacer.fixedHeight(8) - StandardButton(Loc.copyLink, style: .primaryLarge) { + StandardButton(Loc.copyLink, style: .primaryMedium) { model.onCopyLink(route: .button) } } diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsView.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsView.swift index fcb1ed3895..190fabd92f 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsView.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsView.swift @@ -51,7 +51,7 @@ struct SetHeaderSettingsView: View { Rectangle() .fill(Color.clear) .frame(width: 1, height: 28) - .background(Color.Additional.separator) + .background(Color.Control.accent80) StandardButton(.image(.X18.listArrow), style: .primaryXSmall, corners: [.topRight, .bottomRight]) { UISelectionFeedbackGenerator().selectionChanged() model.onSecondaryCreateTap() From 77ad255f1c9b33456ddb083e66ca970d67ab4500 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 28 Oct 2025 11:54:24 +0000 Subject: [PATCH 048/228] IOS-5364 Update AI guidelines --- .../workflows/claude-code-review-prompt.md | 7 ++++++- CLAUDE.md | 19 ++++++++++++++----- 2 files changed, 20 insertions(+), 6 deletions(-) diff --git a/.github/workflows/claude-code-review-prompt.md b/.github/workflows/claude-code-review-prompt.md index a31cf88069..6d7e09f0e7 100644 --- a/.github/workflows/claude-code-review-prompt.md +++ b/.github/workflows/claude-code-review-prompt.md @@ -26,7 +26,12 @@ Review this PR using CLAUDE.md for project conventions. Be LEAN and ACTIONABLE - - NO "no concerns" statements (skip the section entirely) - NO design/UI/spacing suggestions (padding, margins, colors, etc.) - you cannot see the visual design - Reference specific file:line locations for issues -- If no issues found: comment "✅ **Approved** - No issues found" +- **If no issues found**: + - Comment ONLY: "✅ **Approved** - No issues found" + - DO NOT describe what the PR does + - DO NOT list changes made + - DO NOT provide any summary or explanation + - Zero noise, zero fluff - just the approval statement ### Review Sections Include ONLY if issues exist: diff --git a/CLAUDE.md b/CLAUDE.md index 2dceaa8c11..3ce75883f9 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -6,9 +6,10 @@ Anytype is a privacy-focused, local-first workspace application for iOS. Built w ## 🚀 Quick Start ### ⚠️ CRITICAL RULES - NEVER VIOLATE -1. **NEVER add AI signatures to commits** - No "Co-Authored-By: Claude " -2. **NEVER add AI signatures to PRs** - No "🤖 Generated with Claude Code" -3. **NEVER add any form of AI attribution** anywhere in the codebase +1. **NEVER commit changes without explicit user request** - Always wait for user to explicitly ask you to commit +2. **NEVER add AI signatures to commits** - No "Co-Authored-By: Claude " +3. **NEVER add AI signatures to PRs** - No "🤖 Generated with Claude Code" +4. **NEVER add any form of AI attribution** anywhere in the codebase ### Development Setup 1. **First-time setup** (run in order): @@ -276,7 +277,8 @@ Modules/ # Swift packages ## 🔄 Development Workflow ### 🚨 Pre-Commit Checklist -**STOP** before EVERY commit and verify: +**ONLY WHEN USER EXPLICITLY ASKS YOU TO COMMIT** - STOP and verify: +- [ ] User has explicitly requested a commit - [ ] NO "Co-Authored-By: Claude" in commit message - [ ] NO "Generated with Claude" or similar AI signatures - [ ] NO emoji signatures like 🤖 @@ -303,7 +305,11 @@ When receiving a Linear task ID (e.g., `IOS-5292`): ### Git & GitHub - **Main branch**: `develop` - **Feature branches**: `ios-XXXX-description` -- **Commit messages**: +- **⚠️ CRITICAL: NEVER commit without explicit user request** + - Wait for user to explicitly ask you to commit + - Do NOT commit automatically after making changes + - Do NOT assume commits are expected +- **Commit messages**: - Single line only - **NO AI signatures** (no "Generated with Claude", no co-author attribution) - Professional and concise @@ -425,6 +431,9 @@ git add Anytype/Sources/[Feature]/Component.swift ### ⚠️ Common Mistakes to Avoid +#### Git Operations +**Autonomous Committing (2025-01-28):** Committed changes without explicit user request. NEVER commit unless user explicitly asks. This is a CRITICAL rule - committing is a destructive operation that should only happen when user approves. + #### File Operations & Architecture **Wildcard File Deletion (2025-01-24):** Used `rm -f .../PublishingPreview*.swift` - accidentally deleted main UI component. Always check with `ls` first, remove files individually, keep UI in PresentationLayer. From d8ba1f6ac3e33df95636676d0e3d79b35ed4da28 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Tue, 28 Oct 2025 15:14:58 +0300 Subject: [PATCH 049/228] IOS-5397 Delete any app --- .github/WORKFLOWS_REFERENCE.md | 1 - .github/workflows/branch_build.yaml | 1 - .github/workflows/dev_build.yaml | 1 - .github/workflows/release_build.yaml | 40 -- Anytype.xcodeproj/project.pbxproj | 578 ------------------ Anytype/AnytypeRelease-AnyApp.entitlements | 21 - .../AnyAppIcon.appiconset/Contents.json | 38 -- .../Dark-Icon-Any-1024.png | Bin 188265 -> 0 bytes .../AnyAppIcon.appiconset/Icon-Any-1024.png | Bin 6818 -> 0 bytes .../Tinted-Icon-Any-1024.png | Bin 25805 -> 0 bytes .../Debug/FeatureFlags/FeatureFlagView.swift | 1 - .../Appearance/SettingsAppearanceView.swift | 4 +- .../ServiceLayer/Auth/LoginStateService.swift | 4 - .../PromoTierJWTGenerator.swift | 71 --- .../StoreKitService/StoreKitService.swift | 15 - .../GoogleService-Info-AnyApp-Release.plist | 30 - Anytype/Supporting files/Info.plist | 2 - ...erviceExtensionRelease-AnyApp.entitlements | 10 - ...eShareExtensionRelease-AnyApp.entitlements | 10 - .../ShareViewController.swift | 2 - AnytypeWidget/AnytypeWidget.swift | 2 - Makefile | 8 + .../AnytypeCore/Utils/CoreEnvironment.swift | 2 - .../FeatureFlags/FeatureDescription.swift | 5 +- .../Utils/FeatureFlags/FeatureFlags.swift | 2 - .../AnytypeCore/Utils/TargetsConstants.swift | 2 - .../Sources/AppTarget/AppTargetType.swift | 6 - .../Sources/DeepLinks/DeepLinkScheme.swift | 3 - .../Loc/Sources/Loc/Generated/Strings.swift | 6 - .../Loc/Sources/Loc/Resources/Auth.xcstrings | 299 --------- fastlane/.env | 5 - fastlane/Appfile | 5 - fastlane/FastfileDeploy | 11 +- fastlane/FastfileProfiles | 20 - fastlane/Matchfile | 27 +- fastlane/SetEnv | 9 - 36 files changed, 14 insertions(+), 1227 deletions(-) delete mode 100644 Anytype/AnytypeRelease-AnyApp.entitlements delete mode 100644 Anytype/Resources/SystemAssets.xcassets/AnyAppIcon.appiconset/Contents.json delete mode 100644 Anytype/Resources/SystemAssets.xcassets/AnyAppIcon.appiconset/Dark-Icon-Any-1024.png delete mode 100644 Anytype/Resources/SystemAssets.xcassets/AnyAppIcon.appiconset/Icon-Any-1024.png delete mode 100644 Anytype/Resources/SystemAssets.xcassets/AnyAppIcon.appiconset/Tinted-Icon-Any-1024.png delete mode 100644 Anytype/Sources/ServiceLayer/StoreKitService/PromoTierJWTGenerator.swift delete mode 100644 Anytype/Supporting files/GoogleServices/GoogleService-Info-AnyApp-Release.plist delete mode 100644 AnytypeNotificationServiceExtension/AnytypeNotificationServiceExtensionRelease-AnyApp.entitlements delete mode 100644 AnytypeShareExtension/AnytypeShareExtensionRelease-AnyApp.entitlements diff --git a/.github/WORKFLOWS_REFERENCE.md b/.github/WORKFLOWS_REFERENCE.md index d8640626b0..f4fcaf9b36 100644 --- a/.github/WORKFLOWS_REFERENCE.md +++ b/.github/WORKFLOWS_REFERENCE.md @@ -264,7 +264,6 @@ The repository uses a **centralized auto-merge system** via the `automerge.yaml` | `OPENAI_TOKEN` | OpenAI API token | All build workflows | | `AI_ENDPOINT` | AI endpoint URL | All build workflows | | `AI_MODEL` | AI model name | All build workflows | -| `ANY_APP_MEMBERSHIP_TIER_SECRET` | Membership tier validation secret | All build workflows | | `JOIN_STREAM_URL` | Join stream URL for collaboration | All build workflows | | `SLACK_BOT_TOKEN` | Slack bot token for notifications | send-slack-message action | | `SLACK_URL_BUILD_TESTS` | Slack webhook for build/test notifications | update_middleware_nightly | diff --git a/.github/workflows/branch_build.yaml b/.github/workflows/branch_build.yaml index a262b2c074..d9005e0c95 100644 --- a/.github/workflows/branch_build.yaml +++ b/.github/workflows/branch_build.yaml @@ -61,7 +61,6 @@ jobs: OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }} AI_ENDPOINT: ${{ secrets.AI_ENDPOINT }} AI_MODEL: ${{ secrets.AI_MODEL }} - ANY_APP_MEMBERSHIP_TIER_SECRET: ${{ secrets.ANY_APP_MEMBERSHIP_TIER_SECRET }} JOIN_STREAM_URL: ${{ secrets.JOIN_STREAM_URL }} FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 900 FASTLANE_XCODEBUILD_SETTINGS_RETRIES: 4 diff --git a/.github/workflows/dev_build.yaml b/.github/workflows/dev_build.yaml index 170fa3ac42..9e7709d836 100644 --- a/.github/workflows/dev_build.yaml +++ b/.github/workflows/dev_build.yaml @@ -70,7 +70,6 @@ jobs: OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }} AI_ENDPOINT: ${{ secrets.AI_ENDPOINT }} AI_MODEL: ${{ secrets.AI_MODEL }} - ANY_APP_MEMBERSHIP_TIER_SECRET: ${{ secrets.ANY_APP_MEMBERSHIP_TIER_SECRET }} JOIN_STREAM_URL: ${{ secrets.JOIN_STREAM_URL }} FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 900 FASTLANE_XCODEBUILD_SETTINGS_RETRIES: 4 diff --git a/.github/workflows/release_build.yaml b/.github/workflows/release_build.yaml index d9565a5574..63044f53e9 100644 --- a/.github/workflows/release_build.yaml +++ b/.github/workflows/release_build.yaml @@ -6,17 +6,6 @@ permissions: on: # Allows you to run this workflow manually from the Actions tab workflow_dispatch: - inputs: - build_anytype_app: - description: "Build Anytype Release" - required: false - default: "false" - type: boolean - build_any_app: - description: "Build Any App Release" - required: false - default: "false" - type: boolean concurrency: group: ${{ github.workflow }} @@ -65,7 +54,6 @@ jobs: FASTLANE_XCODE_LIST_TIMEOUT: 900 - name: Build and upload Anytype to Testflight - if: ${{ inputs.build_anytype_app == true }} run: | export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 @@ -87,34 +75,6 @@ jobs: if: ${{ inputs.build_anytype_app == true }} run: echo "${{ env.FASTLANE_GITHUB_SUMMARY }}" >> $GITHUB_STEP_SUMMARY - - name: Build and upload Any App to Testflight - if: ${{ inputs.build_any_app == true }} - run: | - export LC_ALL=en_US.UTF-8 - export LANG=en_US.UTF-8 - bundle exec fastlane release_anyapp - env: - MATCH_GIT_PRIVATE_KEY: ${{ secrets.SSH_KEY_FASTLANE_MATCH }} - MATCH_PASSWORD: ${{ secrets.MATCH_PASSWORD }} - APP_STORE_CONNECT_KEY_ID: ${{ secrets.APP_STORE_CONNECT_API_KEY_ID }} - APP_STORE_CONNECT_ISSUER_ID: ${{ secrets.APP_STORE_CONNECT_API_ISSUER_ID }} - APP_STORE_CONNECT_KEY_CONTENT: ${{ secrets.APP_STORE_CONNECT_API_PRIVATE_KEY }} - SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} - SENTRY_DSN: ${{ secrets.SENTRY_DSN }} - LINEAR_TOKEN: ${{ secrets.LINEAR_TOKEN }} - AMPLITUDE_API_KEY: ${{ secrets.AMPLITUDE_API_KEY }} - OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }} - AI_ENDPOINT: ${{ secrets.AI_ENDPOINT }} - AI_MODEL: ${{ secrets.AI_MODEL }} - ANY_APP_MEMBERSHIP_TIER_SECRET: ${{ secrets.ANY_APP_MEMBERSHIP_TIER_SECRET }} - JOIN_STREAM_URL: ${{ secrets.JOIN_STREAM_URL }} - FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 900 - FASTLANE_XCODE_LIST_TIMEOUT: 900 - - - name: Summary Any App - if: ${{ inputs.build_any_app == true }} - run: echo "${{ env.FASTLANE_GITHUB_SUMMARY }}" >> $GITHUB_STEP_SUMMARY - - name: Send Slack Notification if: always() uses: ./.github/actions/send-slack-message diff --git a/Anytype.xcodeproj/project.pbxproj b/Anytype.xcodeproj/project.pbxproj index 4ff062f99d..bb338fd2cb 100644 --- a/Anytype.xcodeproj/project.pbxproj +++ b/Anytype.xcodeproj/project.pbxproj @@ -190,7 +190,6 @@ 2AC434932B7A00FA006166BF /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/InfoPlist.strings; sourceTree = ""; }; 2E30580D2D81DF7E00BF4F25 /* AnytypeNotificationServiceExtension.appex */ = {isa = PBXFileReference; explicitFileType = "wrapper.app-extension"; includeInIndex = 0; path = AnytypeNotificationServiceExtension.appex; sourceTree = BUILT_PRODUCTS_DIR; }; 2E5A222B2DAD9477009134B9 /* AnytypeDebug.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = AnytypeDebug.entitlements; sourceTree = ""; }; - 2E5A222C2DAD9483009134B9 /* AnytypeRelease-AnyApp.entitlements */ = {isa = PBXFileReference; lastKnownFileType = text.plist.entitlements; path = "AnytypeRelease-AnyApp.entitlements"; sourceTree = ""; }; 2E9421FE2C19DFCB00AD05C2 /* pl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/InfoPlist.strings; sourceTree = ""; }; 2E9422032C19E15600AD05C2 /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/InfoPlist.strings"; sourceTree = ""; }; 3D372A2D2CB56E1A00762DA9 /* be */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = be; path = be.lproj/InfoPlist.strings; sourceTree = ""; }; @@ -234,7 +233,6 @@ isa = PBXFileSystemSynchronizedBuildFileExceptionSet; membershipExceptions = ( /Localized/LaunchScreen.storyboard, - "GoogleServices/GoogleService-Info-AnyApp-Release.plist", "GoogleServices/GoogleService-Info-Anytype-Dev.plist", "GoogleServices/GoogleService-Info-Anytype-Release.plist", ); @@ -387,7 +385,6 @@ 0303ECFD22D8EDAA005C552B /* Anytype */ = { isa = PBXGroup; children = ( - 2E5A222C2DAD9483009134B9 /* AnytypeRelease-AnyApp.entitlements */, 2E5A222B2DAD9477009134B9 /* AnytypeDebug.entitlements */, 86D7255F2A94EDB0008DF702 /* Anytype.entitlements */, 3D69B4E82CAEA9CB003F5A91 /* Sources */, @@ -1417,82 +1414,6 @@ }; name = "Release-Anytype"; }; - 2E3058172D81DF7F00BF4F25 /* Release-AnyApp */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_ENTITLEMENTS = "AnytypeNotificationServiceExtension/AnytypeNotificationServiceExtensionRelease-AnyApp.entitlements"; - CODE_SIGN_IDENTITY = "iPhone Distribution"; - CODE_SIGN_STYLE = Manual; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 0; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = J3NXTX3T5S; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu17; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = AnytypeNotificationServiceExtension/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = AnytypeNotificationServiceExtension; - INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2025 Anytype. All rights reserved."; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MARKETING_VERSION = 0.42.0; - PRODUCT_BUNDLE_IDENTIFIER = org.any.app.AnytypeNotificationExtension; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore org.any.app.AnytypeNotificationExtension"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_EMIT_LOC_STRINGS = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Release-AnyApp"; - }; 2E3058182D81DF7F00BF4F25 /* Release-Nightly */ = { isa = XCBuildConfiguration; buildSettings = { @@ -1852,493 +1773,6 @@ }; name = "Debug-Anytype"; }; - 745858912DD73A5C00895687 /* Debug-AnyApp */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COMPILATION_CONDITION = DEBUG; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_BITCODE = NO; - ENABLE_NS_ASSERTIONS = YES; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; - MTL_FAST_MATH = YES; - ONLY_ACTIVE_ARCH = YES; - OTHER_SWIFT_FLAGS = "-Xfrontend -warn-long-expression-type-checking=100 -Xfrontend -warn-long-function-bodies=100"; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_COMPILATION_MODE = singlefile; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_STRICT_CONCURRENCY = complete; - SWIFT_UPCOMING_FEATURE_CONCISE_MAGIC_FILE = YES; - SWIFT_UPCOMING_FEATURE_DEPRECATE_APPLICATION_MAIN = YES; - SWIFT_UPCOMING_FEATURE_DISABLE_OUTWARD_ACTOR_ISOLATION = YES; - SWIFT_UPCOMING_FEATURE_DYNAMIC_ACTOR_ISOLATION = NO; - SWIFT_UPCOMING_FEATURE_EXISTENTIAL_ANY = YES; - SWIFT_UPCOMING_FEATURE_FORWARD_TRAILING_CLOSURES = YES; - SWIFT_UPCOMING_FEATURE_GLOBAL_ACTOR_ISOLATED_TYPES_USABILITY = YES; - SWIFT_UPCOMING_FEATURE_GLOBAL_CONCURRENCY = YES; - SWIFT_UPCOMING_FEATURE_IMPLICIT_OPEN_EXISTENTIALS = YES; - SWIFT_UPCOMING_FEATURE_IMPORT_OBJC_FORWARD_DECLS = YES; - SWIFT_UPCOMING_FEATURE_INFER_SENDABLE_FROM_CAPTURES = YES; - SWIFT_UPCOMING_FEATURE_ISOLATED_DEFAULT_VALUES = YES; - SWIFT_UPCOMING_FEATURE_NONFROZEN_ENUM_EXHAUSTIVITY = YES; - SWIFT_UPCOMING_FEATURE_REGION_BASED_ISOLATION = YES; - SWIFT_VERSION = 5.0; - VALIDATE_PRODUCT = NO; - }; - name = "Debug-AnyApp"; - }; - 745858922DD73A5C00895687 /* Debug-AnyApp */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AnyAppIcon; - ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; - BUILD_APP_URL_SCHEME = "prod-anyapp"; - BUNDLE_NAME = Any; - CODE_SIGN_ENTITLEMENTS = "Anytype/AnytypeRelease-AnyApp.entitlements"; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 0; - DEVELOPMENT_ASSET_PATHS = "Anytype/Resources/Preview\\ Content"; - DEVELOPMENT_TEAM = J3NXTX3T5S; - ENABLE_BITCODE = NO; - ENABLE_PREVIEWS = YES; - ENABLE_TESTING_SEARCH_PATHS = NO; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)", - "$(PROJECT_DIR)/Dependencies/Middleware", - ); - GOOGLE_SERVICE_INFO_PLIST = "$(SRCROOT)/$(PROJECT_NAME)/Supporting files/GoogleServices/GoogleService-Info-AnyApp-Release.plist"; - HEADER_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = "Anytype/Supporting files/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 0.42.0; - OTHER_LDFLAGS = "-ObjC"; - PRODUCT_BUNDLE_IDENTIFIER = org.any.app; - PRODUCT_NAME = Any; - PROVISIONING_PROFILE_SPECIFIER = "match Development org.any.app"; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - SWIFT_USE_INTEGRATED_DRIVER = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Debug-AnyApp"; - }; - 745858932DD73A5C00895687 /* Debug-AnyApp */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Manual; - DEVELOPMENT_TEAM = ""; - INFOPLIST_FILE = AnytypeTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MARKETING_VERSION = 0.42.0; - PRODUCT_BUNDLE_IDENTIFIER = com.AnytypeTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - "PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = ""; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Anytype.app/Anytype"; - }; - name = "Debug-AnyApp"; - }; - 745858942DD73A5C00895687 /* Debug-AnyApp */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 0; - DEVELOPMENT_TEAM = J3NXTX3T5S; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = AnytypeWidget/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = AnytypeWidget; - INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2022 Anytype. All rights reserved."; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - MARKETING_VERSION = 0.42.0; - PRODUCT_BUNDLE_IDENTIFIER = org.any.app.homewidget; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = "match Development org.any.app.homewidget"; - SKIP_INSTALL = YES; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - SWIFT_EMIT_LOC_STRINGS = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = "Debug-AnyApp"; - }; - 745858952DD73A5C00895687 /* Debug-AnyApp */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CODE_SIGN_ENTITLEMENTS = "AnytypeShareExtension/AnytypeShareExtensionRelease-AnyApp.entitlements"; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 0; - DEVELOPMENT_TEAM = J3NXTX3T5S; - "DEVELOPMENT_TEAM[sdk=iphoneos*]" = J3NXTX3T5S; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = AnytypeShareExtension/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = AnytypeShareExtension; - INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2023 Anytype. All rights reserved."; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - MARKETING_VERSION = 0.42.0; - PRODUCT_BUNDLE_IDENTIFIER = org.any.app.AnytypeShareExtension; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match Development org.any.app.AnytypeShareExtension"; - SKIP_INSTALL = YES; - SWIFT_EMIT_LOC_STRINGS = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = "Debug-AnyApp"; - }; - 745858962DD73A5C00895687 /* Debug-AnyApp */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGN_ENTITLEMENTS = "AnytypeNotificationServiceExtension/AnytypeNotificationServiceExtensionRelease-AnyApp.entitlements"; - CODE_SIGN_IDENTITY = "iPhone Developer"; - CODE_SIGN_STYLE = Manual; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 0; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - DEVELOPMENT_TEAM = J3NXTX3T5S; - "DEVELOPMENT_TEAM[sdk=iphoneos*]" = J3NXTX3T5S; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_USER_SCRIPT_SANDBOXING = YES; - GCC_C_LANGUAGE_STANDARD = gnu17; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = AnytypeNotificationServiceExtension/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = AnytypeNotificationServiceExtension; - INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2025 Anytype. All rights reserved."; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - LOCALIZATION_PREFERS_STRING_CATALOGS = YES; - MARKETING_VERSION = 0.42.0; - PRODUCT_BUNDLE_IDENTIFIER = org.any.app.AnytypeNotificationExtension; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match Development org.any.app.AnytypeNotificationExtension"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_EMIT_LOC_STRINGS = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - }; - name = "Debug-AnyApp"; - }; - 74F7F7E72D37BC1400F6C566 /* Release-AnyApp */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COMPILATION_CONDITION = RELEASE_ANYAPP; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_BITCODE = NO; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - MTL_ENABLE_DEBUG_INFO = NO; - MTL_FAST_MATH = YES; - OTHER_SWIFT_FLAGS = "-Xfrontend -warn-long-expression-type-checking=100 -Xfrontend -warn-long-function-bodies=100"; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = RELEASE_ANYAPP; - SWIFT_COMPILATION_MODE = wholemodule; - SWIFT_OPTIMIZATION_LEVEL = "-O"; - SWIFT_STRICT_CONCURRENCY = complete; - SWIFT_UPCOMING_FEATURE_CONCISE_MAGIC_FILE = YES; - SWIFT_UPCOMING_FEATURE_DEPRECATE_APPLICATION_MAIN = YES; - SWIFT_UPCOMING_FEATURE_DISABLE_OUTWARD_ACTOR_ISOLATION = YES; - SWIFT_UPCOMING_FEATURE_DYNAMIC_ACTOR_ISOLATION = NO; - SWIFT_UPCOMING_FEATURE_EXISTENTIAL_ANY = YES; - SWIFT_UPCOMING_FEATURE_FORWARD_TRAILING_CLOSURES = YES; - SWIFT_UPCOMING_FEATURE_GLOBAL_ACTOR_ISOLATED_TYPES_USABILITY = YES; - SWIFT_UPCOMING_FEATURE_GLOBAL_CONCURRENCY = YES; - SWIFT_UPCOMING_FEATURE_IMPLICIT_OPEN_EXISTENTIALS = YES; - SWIFT_UPCOMING_FEATURE_IMPORT_OBJC_FORWARD_DECLS = YES; - SWIFT_UPCOMING_FEATURE_INFER_SENDABLE_FROM_CAPTURES = YES; - SWIFT_UPCOMING_FEATURE_ISOLATED_DEFAULT_VALUES = YES; - SWIFT_UPCOMING_FEATURE_NONFROZEN_ENUM_EXHAUSTIVITY = YES; - SWIFT_UPCOMING_FEATURE_REGION_BASED_ISOLATION = YES; - SWIFT_VERSION = 5.0; - VALIDATE_PRODUCT = YES; - }; - name = "Release-AnyApp"; - }; - 74F7F7E82D37BC1400F6C566 /* Release-AnyApp */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_APPICON_NAME = AnyAppIcon; - ASSETCATALOG_COMPILER_INCLUDE_ALL_APPICON_ASSETS = YES; - BUILD_APP_URL_SCHEME = "prod-anyapp"; - BUNDLE_NAME = Any; - CODE_SIGN_ENTITLEMENTS = "Anytype/AnytypeRelease-AnyApp.entitlements"; - CODE_SIGN_IDENTITY = "iPhone Distribution"; - CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 0; - DEVELOPMENT_ASSET_PATHS = "Anytype/Resources/Preview\\ Content"; - DEVELOPMENT_TEAM = J3NXTX3T5S; - ENABLE_BITCODE = NO; - ENABLE_PREVIEWS = YES; - ENABLE_TESTING_SEARCH_PATHS = NO; - FRAMEWORK_SEARCH_PATHS = ( - "$(inherited)", - "$(PROJECT_DIR)", - "$(PROJECT_DIR)/Dependencies/Middleware", - ); - GOOGLE_SERVICE_INFO_PLIST = "$(SRCROOT)/$(PROJECT_NAME)/Supporting files/GoogleServices/GoogleService-Info-AnyApp-Release.plist"; - HEADER_SEARCH_PATHS = "$(inherited)"; - INFOPLIST_FILE = "Anytype/Supporting files/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - ); - MARKETING_VERSION = 0.42.0; - OTHER_LDFLAGS = "-ObjC"; - PRODUCT_BUNDLE_IDENTIFIER = org.any.app; - PRODUCT_NAME = Any; - PROVISIONING_PROFILE_SPECIFIER = "match AppStore org.any.app"; - SENTRY_ENV = production; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - SWIFT_USE_INTEGRATED_DRIVER = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - }; - name = "Release-AnyApp"; - }; - 74F7F7E92D37BC1400F6C566 /* Release-AnyApp */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - CODE_SIGN_STYLE = Manual; - DEVELOPMENT_TEAM = ""; - INFOPLIST_FILE = AnytypeTests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@loader_path/Frameworks", - ); - MARKETING_VERSION = 0.42.0; - PRODUCT_BUNDLE_IDENTIFIER = com.AnytypeTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - "PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*]" = ""; - SUPPORTS_MACCATALYST = NO; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - TARGETED_DEVICE_FAMILY = "1,2"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Anytype.app/Anytype"; - }; - name = "Release-AnyApp"; - }; - 74F7F7EA2D37BC1400F6C566 /* Release-AnyApp */ = { - isa = XCBuildConfiguration; - buildSettings = { - ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = AccentColor; - ASSETCATALOG_COMPILER_WIDGET_BACKGROUND_COLOR_NAME = WidgetBackground; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CODE_SIGN_IDENTITY = "iPhone Distribution"; - CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 0; - DEVELOPMENT_TEAM = J3NXTX3T5S; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = AnytypeWidget/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = AnytypeWidget; - INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2022 Anytype. All rights reserved."; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - MARKETING_VERSION = 0.42.0; - PRODUCT_BUNDLE_IDENTIFIER = org.any.app.homewidget; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = "match AppStore org.any.app.homewidget"; - SKIP_INSTALL = YES; - SUPPORTS_MAC_DESIGNED_FOR_IPHONE_IPAD = NO; - SWIFT_EMIT_LOC_STRINGS = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = "Release-AnyApp"; - }; - 74F7F7EB2D37BC1400F6C566 /* Release-AnyApp */ = { - isa = XCBuildConfiguration; - buildSettings = { - CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; - CODE_SIGN_ENTITLEMENTS = "AnytypeShareExtension/AnytypeShareExtensionRelease-AnyApp.entitlements"; - CODE_SIGN_IDENTITY = "iPhone Distribution"; - CODE_SIGN_STYLE = Manual; - CURRENT_PROJECT_VERSION = 0; - DEVELOPMENT_TEAM = J3NXTX3T5S; - GENERATE_INFOPLIST_FILE = YES; - INFOPLIST_FILE = AnytypeShareExtension/Info.plist; - INFOPLIST_KEY_CFBundleDisplayName = AnytypeShareExtension; - INFOPLIST_KEY_NSHumanReadableCopyright = "Copyright © 2023 Anytype. All rights reserved."; - IPHONEOS_DEPLOYMENT_TARGET = 17.0; - LD_RUNPATH_SEARCH_PATHS = ( - "$(inherited)", - "@executable_path/Frameworks", - "@executable_path/../../Frameworks", - ); - MARKETING_VERSION = 0.42.0; - PRODUCT_BUNDLE_IDENTIFIER = org.any.app.AnytypeShareExtension; - PRODUCT_NAME = "$(TARGET_NAME)"; - PROVISIONING_PROFILE_SPECIFIER = ""; - "PROVISIONING_PROFILE_SPECIFIER[sdk=iphoneos*]" = "match AppStore org.any.app.AnytypeShareExtension"; - SKIP_INSTALL = YES; - SWIFT_EMIT_LOC_STRINGS = YES; - TARGETED_DEVICE_FAMILY = "1,2"; - }; - name = "Release-AnyApp"; - }; 862D559B2A8F78340018103F /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { @@ -2530,8 +1964,6 @@ 0303ED0D22D8EDAD005C552B /* Debug */, 0303ED0E22D8EDAD005C552B /* Release-Anytype */, 7458588B2DD73A4F00895687 /* Debug-Anytype */, - 74F7F7E72D37BC1400F6C566 /* Release-AnyApp */, - 745858912DD73A5C00895687 /* Debug-AnyApp */, 1267458B2696FEC1002132F3 /* Release-Nightly */, ); defaultConfigurationIsVisible = 0; @@ -2543,8 +1975,6 @@ 0303ED1022D8EDAD005C552B /* Debug */, 0303ED1122D8EDAD005C552B /* Release-Anytype */, 7458588C2DD73A4F00895687 /* Debug-Anytype */, - 74F7F7E82D37BC1400F6C566 /* Release-AnyApp */, - 745858922DD73A5C00895687 /* Debug-AnyApp */, 1267458C2696FEC1002132F3 /* Release-Nightly */, ); defaultConfigurationIsVisible = 0; @@ -2556,8 +1986,6 @@ 03C5C54822DFD90C00DD91DE /* Debug */, 03C5C54922DFD90C00DD91DE /* Release-Anytype */, 7458588D2DD73A4F00895687 /* Debug-Anytype */, - 74F7F7E92D37BC1400F6C566 /* Release-AnyApp */, - 745858932DD73A5C00895687 /* Debug-AnyApp */, 1267458D2696FEC1002132F3 /* Release-Nightly */, ); defaultConfigurationIsVisible = 0; @@ -2569,8 +1997,6 @@ 2E3058152D81DF7F00BF4F25 /* Debug */, 2E3058162D81DF7F00BF4F25 /* Release-Anytype */, 745858902DD73A4F00895687 /* Debug-Anytype */, - 2E3058172D81DF7F00BF4F25 /* Release-AnyApp */, - 745858962DD73A5C00895687 /* Debug-AnyApp */, 2E3058182D81DF7F00BF4F25 /* Release-Nightly */, ); defaultConfigurationIsVisible = 0; @@ -2582,8 +2008,6 @@ 862D559B2A8F78340018103F /* Debug */, 862D559C2A8F78340018103F /* Release-Anytype */, 7458588F2DD73A4F00895687 /* Debug-Anytype */, - 74F7F7EB2D37BC1400F6C566 /* Release-AnyApp */, - 745858952DD73A5C00895687 /* Debug-AnyApp */, 862D559D2A8F78340018103F /* Release-Nightly */, ); defaultConfigurationIsVisible = 0; @@ -2595,8 +2019,6 @@ C960DFBB28D88618002898AE /* Debug */, C960DFBC28D88618002898AE /* Release-Anytype */, 7458588E2DD73A4F00895687 /* Debug-Anytype */, - 74F7F7EA2D37BC1400F6C566 /* Release-AnyApp */, - 745858942DD73A5C00895687 /* Debug-AnyApp */, C960DFBD28D88618002898AE /* Release-Nightly */, ); defaultConfigurationIsVisible = 0; diff --git a/Anytype/AnytypeRelease-AnyApp.entitlements b/Anytype/AnytypeRelease-AnyApp.entitlements deleted file mode 100644 index 578b2f19b6..0000000000 --- a/Anytype/AnytypeRelease-AnyApp.entitlements +++ /dev/null @@ -1,21 +0,0 @@ - - - - - aps-environment - development - com.apple.developer.associated-domains - - applinks:invite-stage.any.coop - applinks:invite.any.coop - - com.apple.developer.networking.multicast - - com.apple.developer.usernotifications.communication - - com.apple.security.application-groups - - group.org.any.app - - - diff --git a/Anytype/Resources/SystemAssets.xcassets/AnyAppIcon.appiconset/Contents.json b/Anytype/Resources/SystemAssets.xcassets/AnyAppIcon.appiconset/Contents.json deleted file mode 100644 index 36607191b5..0000000000 --- a/Anytype/Resources/SystemAssets.xcassets/AnyAppIcon.appiconset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "images" : [ - { - "filename" : "Icon-Any-1024.png", - "idiom" : "universal", - "platform" : "ios", - "size" : "1024x1024" - }, - { - "appearances" : [ - { - "appearance" : "luminosity", - "value" : "dark" - } - ], - "filename" : "Dark-Icon-Any-1024.png", - "idiom" : "universal", - "platform" : "ios", - "size" : "1024x1024" - }, - { - "appearances" : [ - { - "appearance" : "luminosity", - "value" : "tinted" - } - ], - "filename" : "Tinted-Icon-Any-1024.png", - "idiom" : "universal", - "platform" : "ios", - "size" : "1024x1024" - } - ], - "info" : { - "author" : "xcode", - "version" : 1 - } -} diff --git a/Anytype/Resources/SystemAssets.xcassets/AnyAppIcon.appiconset/Dark-Icon-Any-1024.png b/Anytype/Resources/SystemAssets.xcassets/AnyAppIcon.appiconset/Dark-Icon-Any-1024.png deleted file mode 100644 index ea59b70b57888045cc25db2c14f277e1a84a99ac..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 188265 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

uCENvbcb+U>v3 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 String? { - do { - // Step 1: Retrieve Secret from Info.plist - guard let secret = Bundle.main.object(forInfoDictionaryKey: "AnyAppMembershipTierSecret") as? String else { - print("Error: Secret not found in Info.plist") - return nil - } - - // Step 2: Generate a Private Key (Temporary Key for Signing) - let privateKey = P256.Signing.PrivateKey() - - // Step 3: Create a JSON Payload - let payloadDict: [String: Any] = [ - "ProductID": account.id, - "BundleID": "pioneer", - "OfferIdentifier": secret, - "AppAccountToken": account.info.ethereumAddress - ] - - // Convert JSON to Data - guard let jsonData = try? JSONSerialization.data(withJSONObject: payloadDict, options: []) else { - anytypeAssertionFailure("Error: Failed to encode payload JSON") - return nil - } - let payloadBase64 = jsonData.base64EncodedString() - - // Step 4: Create the JWS Header - let headerDict: [String: Any] = [ - "alg": "ES256", // Algorithm - "typ": "JWT" // Type - ] - - // Convert header to Data - guard let headerData = try? JSONSerialization.data(withJSONObject: headerDict, options: []) else { - anytypeAssertionFailure("Error: Failed to encode header JSON") - return nil - } - let headerBase64 = headerData.base64EncodedString() - - // Step 5: Create the Signing Input - let signingInput = "\(headerBase64).\(payloadBase64)" - guard let signingInputData = signingInput.data(using: .utf8) else { - anytypeAssertionFailure("Error: Failed to encode signing input") - return nil - } - - // Step 6: Generate a Signature - let signature = try privateKey.signature(for: signingInputData) - - // Convert Signature to Base64 - let signatureBase64 = signature.derRepresentation.base64EncodedString() - - // Step 7: Construct the Final JWS String - let jwsString = "\(signingInput).\(signatureBase64)" - - return jwsString - } catch { - anytypeAssertionFailure("Error generating JWS: \(error)") - return nil - } - } - -} diff --git a/Anytype/Sources/ServiceLayer/StoreKitService/StoreKitService.swift b/Anytype/Sources/ServiceLayer/StoreKitService/StoreKitService.swift index 4c9b89a8cf..2453570c1b 100644 --- a/Anytype/Sources/ServiceLayer/StoreKitService/StoreKitService.swift +++ b/Anytype/Sources/ServiceLayer/StoreKitService/StoreKitService.swift @@ -35,8 +35,6 @@ public protocol StoreKitServiceProtocol: Sendable { func startListenForTransactions() async func stopListenForTransactions() async - - func activatePromoTier() async } actor StoreKitService: StoreKitServiceProtocol { @@ -133,19 +131,6 @@ actor StoreKitService: StoreKitServiceProtocol { } } - // Temporary promo tiers for AnyApp - func activatePromoTier() async { - guard let promoReceipt = PromoTierJWTGenerator().promoTierReceiptString(account: accountManager.account) else { - return - } - - do { - try await membershipService.verifyReceipt(receipt: promoReceipt) - } catch let error { - anytypeAssertionFailure(error.localizedDescription) - } - } - // MARK: - Private private func checkVerified(_ verificationResult: VerificationResult) throws -> T { diff --git a/Anytype/Supporting files/GoogleServices/GoogleService-Info-AnyApp-Release.plist b/Anytype/Supporting files/GoogleServices/GoogleService-Info-AnyApp-Release.plist deleted file mode 100644 index ec9e33eaea..0000000000 --- a/Anytype/Supporting files/GoogleServices/GoogleService-Info-AnyApp-Release.plist +++ /dev/null @@ -1,30 +0,0 @@ - - - - - API_KEY - AIzaSyAxmACAyoaRFvn6uyFpnC2hrrILzhZc5Os - GCM_SENDER_ID - 398281119989 - PLIST_VERSION - 1 - BUNDLE_ID - org.any.app - PROJECT_ID - anytype-apps - STORAGE_BUCKET - anytype-apps.firebasestorage.app - IS_ADS_ENABLED - - IS_ANALYTICS_ENABLED - - IS_APPINVITE_ENABLED - - IS_GCM_ENABLED - - IS_SIGNIN_ENABLED - - GOOGLE_APP_ID - 1:398281119989:ios:8ca0a1ebef9a8cd5644dbc - - \ No newline at end of file diff --git a/Anytype/Supporting files/Info.plist b/Anytype/Supporting files/Info.plist index a89b656125..a08796cd15 100644 --- a/Anytype/Supporting files/Info.plist +++ b/Anytype/Supporting files/Info.plist @@ -8,8 +8,6 @@ AmplitudeApiKey - AnyAppMembershipTierSecret - CFBundleDevelopmentRegion $(DEVELOPMENT_LANGUAGE) CFBundleExecutable diff --git a/AnytypeNotificationServiceExtension/AnytypeNotificationServiceExtensionRelease-AnyApp.entitlements b/AnytypeNotificationServiceExtension/AnytypeNotificationServiceExtensionRelease-AnyApp.entitlements deleted file mode 100644 index e5201069a9..0000000000 --- a/AnytypeNotificationServiceExtension/AnytypeNotificationServiceExtensionRelease-AnyApp.entitlements +++ /dev/null @@ -1,10 +0,0 @@ - - - - - com.apple.security.application-groups - - group.org.any.app - - - diff --git a/AnytypeShareExtension/AnytypeShareExtensionRelease-AnyApp.entitlements b/AnytypeShareExtension/AnytypeShareExtensionRelease-AnyApp.entitlements deleted file mode 100644 index e5201069a9..0000000000 --- a/AnytypeShareExtension/AnytypeShareExtensionRelease-AnyApp.entitlements +++ /dev/null @@ -1,10 +0,0 @@ - - - - - com.apple.security.application-groups - - group.org.any.app - - - diff --git a/AnytypeShareExtension/ShareViewController.swift b/AnytypeShareExtension/ShareViewController.swift index 15cc9b6003..47e7544719 100644 --- a/AnytypeShareExtension/ShareViewController.swift +++ b/AnytypeShareExtension/ShareViewController.swift @@ -16,8 +16,6 @@ class ShareViewController: UIViewController { private let deepLinkParser = DeepLinkDI.shared.parser(targetType: .debug) #elseif RELEASE_ANYTYPE private let deepLinkParser = DeepLinkDI.shared.parser(targetType: .releaseAnytype) - #elseif RELEASE_ANYAPP - private let deepLinkParser = DeepLinkDI.shared.parser(targetType: .releaseAnyApp) #endif override func viewDidLoad() { diff --git a/AnytypeWidget/AnytypeWidget.swift b/AnytypeWidget/AnytypeWidget.swift index c7e5f87b93..af24bd9355 100644 --- a/AnytypeWidget/AnytypeWidget.swift +++ b/AnytypeWidget/AnytypeWidget.swift @@ -44,8 +44,6 @@ struct AnytypeWidgetEntryView : View { private let deepLinkParser = DeepLinkDI.shared.parser(targetType: .debug) #elseif RELEASE_ANYTYPE private let deepLinkParser = DeepLinkDI.shared.parser(targetType: .releaseAnytype) - #elseif RELEASE_ANYAPP - private let deepLinkParser = DeepLinkDI.shared.parser(targetType: .releaseAnyApp) #endif var body: some View { diff --git a/Makefile b/Makefile index 8cc0112974..545cffad09 100644 --- a/Makefile +++ b/Makefile @@ -59,3 +59,11 @@ setup-file-splitter: cp Tools/anytype-swift-filesplit/build/anytype-swift-filesplit $(FILE_SPLITTER); \ fi +generate_debug_profiles: + bundle exec fastlane generate_dev_debug_profiles + bundle exec fastlane generate_anytype_debug_profiles + + +generate_appstore_profiles: + bundle exec fastlane generate_appstore_profiles_for_nightly + bundle exec fastlane generate_appstore_profiles_for_anytype \ No newline at end of file diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/CoreEnvironment.swift b/Modules/AnytypeCore/AnytypeCore/Utils/CoreEnvironment.swift index f53fb3f2c9..449898a8dc 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/CoreEnvironment.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/CoreEnvironment.swift @@ -43,8 +43,6 @@ public enum CoreEnvironment { switch condition { case "DEBUG", "RELEASE_NIGHTLY": resolved = .debug - case "RELEASE_ANYAPP": - resolved = .releaseAnyApp case "RELEASE_ANYTYPE": resolved = .releaseAnytype default: diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription.swift index 8d44f385aa..971462442f 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription.swift @@ -27,14 +27,12 @@ public struct FeatureDescription: Sendable { public let title: String public let type: FeatureType public let releaseAnytypeValue: Bool - public let releaseAnyAppValue: Bool public let debugValue: Bool - init(title: String, type: FeatureType, releaseAnytypeValue: Bool, releaseAnyAppValue: Bool, debugValue: Bool = true) { + init(title: String, type: FeatureType, releaseAnytypeValue: Bool, debugValue: Bool = true) { self.title = title self.type = type self.releaseAnytypeValue = releaseAnytypeValue - self.releaseAnyAppValue = releaseAnyAppValue self.debugValue = debugValue } @@ -42,7 +40,6 @@ public struct FeatureDescription: Sendable { self.title = title self.type = type self.releaseAnytypeValue = defaultValue - self.releaseAnyAppValue = defaultValue self.debugValue = debugValue } } diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureFlags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureFlags.swift index 92370a5d58..9b55fcf6ea 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureFlags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureFlags.swift @@ -16,8 +16,6 @@ public final class FeatureFlags { switch CoreEnvironment.targetType { case .debug: defaultValue = feature.debugValue - case .releaseAnyApp: - defaultValue = feature.releaseAnyAppValue case .releaseAnytype: defaultValue = feature.releaseAnytypeValue } diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/TargetsConstants.swift b/Modules/AnytypeCore/AnytypeCore/Utils/TargetsConstants.swift index 3bc956ca62..f2c1627169 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/TargetsConstants.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/TargetsConstants.swift @@ -5,8 +5,6 @@ public struct TargetsConstants { return "group.io.anytype.app.dev" case .releaseAnytype: return "group.io.anytype.app" - case .releaseAnyApp: - return "group.org.any.app" } } } diff --git a/Modules/AppTarget/Sources/AppTarget/AppTargetType.swift b/Modules/AppTarget/Sources/AppTarget/AppTargetType.swift index f639ec8ab5..5a6034b8e8 100644 --- a/Modules/AppTarget/Sources/AppTarget/AppTargetType.swift +++ b/Modules/AppTarget/Sources/AppTarget/AppTargetType.swift @@ -2,7 +2,6 @@ public enum AppTargetType: Sendable { case debug case releaseAnytype - case releaseAnyApp } public extension AppTargetType { @@ -15,9 +14,4 @@ public extension AppTargetType { if case .releaseAnytype = self { return true } return false } - - var isReleaseAnyApp: Bool { - if case .releaseAnyApp = self { return true } - return false - } } diff --git a/Modules/DeepLinks/Sources/DeepLinks/DeepLinkScheme.swift b/Modules/DeepLinks/Sources/DeepLinks/DeepLinkScheme.swift index bcfa49f0f7..fdaa2b7c4e 100644 --- a/Modules/DeepLinks/Sources/DeepLinks/DeepLinkScheme.swift +++ b/Modules/DeepLinks/Sources/DeepLinks/DeepLinkScheme.swift @@ -11,7 +11,6 @@ extension DeepLinkScheme { private enum Scheme { static let dev = "dev-anytype://" static let prodAnytype = "prod-anytype://" - static let prodAnyApp = "prod-anyapp://" static let main = "anytype://" } @@ -30,8 +29,6 @@ extension DeepLinkScheme { Scheme.dev case .releaseAnytype: Scheme.prodAnytype - case .releaseAnyApp: - Scheme.prodAnyApp } } } diff --git a/Modules/Loc/Sources/Loc/Generated/Strings.swift b/Modules/Loc/Sources/Loc/Generated/Strings.swift index 8b54fc8869..7a662c9447 100644 --- a/Modules/Loc/Sources/Loc/Generated/Strings.swift +++ b/Modules/Loc/Sources/Loc/Generated/Strings.swift @@ -14,12 +14,6 @@ public enum Loc { return Loc.tr("Auth", "Agreement Disclamer", String(describing: p1), String(describing: p2), fallback: "By continuing you agree to [Terms of Use](%@) and [Privacy Policy](%@)") } public static let loginKey = Loc.tr("Auth", "Login key", fallback: "Login Key") - public enum AnyApp { - public enum BetaAlert { - public static let description = Loc.tr("Auth", "AnyApp.BetaAlert.Description", fallback: "You’re ahead of the curve! Some features are still in development or not production-ready – stay tuned for updates.") - public static let title = Loc.tr("Auth", "AnyApp.BetaAlert.Title", fallback: "Welcome to the Alpha version") - } - } public enum Auth { public static let cameraPermissionTitle = Loc.tr("Auth", "Auth.CameraPermissionTitle", fallback: "Please allow access") public static let logIn = Loc.tr("Auth", "Auth.LogIn", fallback: "I already have a key") diff --git a/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings b/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings index e2f623a3e0..214a568a9d 100644 --- a/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings @@ -150,305 +150,6 @@ } } }, - "AnyApp.BetaAlert.Description" : { - "extractionState" : "manual", - "localizations" : { - "ar" : { - "stringUnit" : { - "state" : "new", - "value" : "You’re ahead of the curve! Some features are still in development or not production-ready – stay tuned for updates." - } - }, - "be" : { - "stringUnit" : { - "state" : "new", - "value" : "You’re ahead of the curve! Some features are still in development or not production-ready – stay tuned for updates." - } - }, - "de" : { - "stringUnit" : { - "state" : "new", - "value" : "Du bist der Zeit voraus! Einige Funktionen befinden sich noch in der Entwicklung oder sind noch nicht produktionsreif – bleib dran für Aktualisierungen." - } - }, - "en" : { - "stringUnit" : { - "state" : "translated", - "value" : "You’re ahead of the curve! Some features are still in development or not production-ready – stay tuned for updates." - } - }, - "es" : { - "stringUnit" : { - "state" : "new", - "value" : "¡Estás en la vanguardia! Algunas funciones están aún en desarrollo o no están listas para un entorno de producción. Presta atención a las actualizaciones." - } - }, - "fa" : { - "stringUnit" : { - "state" : "new", - "value" : "You’re ahead of the curve! Some features are still in development or not production-ready – stay tuned for updates." - } - }, - "fi" : { - "stringUnit" : { - "state" : "new", - "value" : "You’re ahead of the curve! Some features are still in development or not production-ready – stay tuned for updates." - } - }, - "fr" : { - "stringUnit" : { - "state" : "new", - "value" : "Vous êtes en avance sur la courbe ! Certaines fonctionnalités sont encore en cours de développement ou ne sont pas prêtes à la production – restez à l'écoute pour les mises à jour." - } - }, - "id" : { - "stringUnit" : { - "state" : "new", - "value" : "Anda menjadi yang terdepan! Beberapa fitur masih dalam pengembangan atau belum siap produksi - nantikan pembaruannya." - } - }, - "it" : { - "stringUnit" : { - "state" : "new", - "value" : "Siete in anticipo sulla curva! Alcune funzioni sono ancora in fase di sviluppo o non pronte per la produzione: restate sintonizzati per gli aggiornamenti." - } - }, - "ja" : { - "stringUnit" : { - "state" : "new", - "value" : "アルファ版をご利用いただきありがとうございます!一部機能は開発中、または正式版ではないため、今後の開発にご期待ください。" - } - }, - "ko" : { - "stringUnit" : { - "state" : "new", - "value" : "You’re ahead of the curve! Some features are still in development or not production-ready – stay tuned for updates." - } - }, - "nb" : { - "stringUnit" : { - "state" : "new", - "value" : "You’re ahead of the curve! Some features are still in development or not production-ready – stay tuned for updates." - } - }, - "nl" : { - "stringUnit" : { - "state" : "new", - "value" : "Je loopt voor op de rest! Sommige functies zijn nog in ontwikkeling of niet klaar voor productie – blijf in de gaten houden voor updates." - } - }, - "or" : { - "stringUnit" : { - "state" : "new", - "value" : "You’re ahead of the curve! Some features are still in development or not production-ready – stay tuned for updates." - } - }, - "pl" : { - "stringUnit" : { - "state" : "new", - "value" : "You’re ahead of the curve! Some features are still in development or not production-ready – stay tuned for updates." - } - }, - "pt-BR" : { - "stringUnit" : { - "state" : "new", - "value" : "You’re ahead of the curve! Some features are still in development or not production-ready – stay tuned for updates." - } - }, - "pt-PT" : { - "stringUnit" : { - "state" : "new", - "value" : "You’re ahead of the curve! Some features are still in development or not production-ready – stay tuned for updates." - } - }, - "ru" : { - "stringUnit" : { - "state" : "new", - "value" : "Вы на шаг впереди! Некоторые функции еще находятся в разработке или не готовы к использованию – следите за обновлениями." - } - }, - "tr" : { - "stringUnit" : { - "state" : "new", - "value" : "Eğrinin önündesiniz! Bazı özellikler hala geliştirme aşamasındadır veya üretime hazır değildir. Güncellemeler için bizi izlemeye devam edin." - } - }, - "uk" : { - "stringUnit" : { - "state" : "new", - "value" : "You’re ahead of the curve! Some features are still in development or not production-ready – stay tuned for updates." - } - }, - "vi" : { - "stringUnit" : { - "state" : "new", - "value" : "You’re ahead of the curve! Some features are still in development or not production-ready – stay tuned for updates." - } - }, - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "您走在时代前列!部分功能仍在开发阶段或尚未就绪,请关注更新进展。" - } - }, - "zh-Hant" : { - "stringUnit" : { - "state" : "new", - "value" : "You’re ahead of the curve! Some features are still in development or not production-ready – stay tuned for updates." - } - } - } - }, - "AnyApp.BetaAlert.Title" : { - "comment" : "MARK: - Any App", - "extractionState" : "manual", - "localizations" : { - "ar" : { - "stringUnit" : { - "state" : "new", - "value" : "Welcome to the Alpha version" - } - }, - "be" : { - "stringUnit" : { - "state" : "new", - "value" : "Welcome to the Alpha version" - } - }, - "de" : { - "stringUnit" : { - "state" : "new", - "value" : "Willkommen zur Alpha-Version" - } - }, - "en" : { - "stringUnit" : { - "state" : "translated", - "value" : "Welcome to the Alpha version" - } - }, - "es" : { - "stringUnit" : { - "state" : "new", - "value" : "Te damos la bienvenida a la versión alfa" - } - }, - "fa" : { - "stringUnit" : { - "state" : "new", - "value" : "Welcome to the Alpha version" - } - }, - "fi" : { - "stringUnit" : { - "state" : "new", - "value" : "Welcome to the Alpha version" - } - }, - "fr" : { - "stringUnit" : { - "state" : "new", - "value" : "Bienvenue dans la version Alpha" - } - }, - "id" : { - "stringUnit" : { - "state" : "new", - "value" : "Selamat datang di versi Alpha" - } - }, - "it" : { - "stringUnit" : { - "state" : "new", - "value" : "Benvenuto nella versione Alpha" - } - }, - "ja" : { - "stringUnit" : { - "state" : "new", - "value" : "アルファ版へようこそ" - } - }, - "ko" : { - "stringUnit" : { - "state" : "new", - "value" : "Welcome to the Alpha version" - } - }, - "nb" : { - "stringUnit" : { - "state" : "new", - "value" : "Welcome to the Alpha version" - } - }, - "nl" : { - "stringUnit" : { - "state" : "new", - "value" : "Welkom bij de Alpha versie" - } - }, - "or" : { - "stringUnit" : { - "state" : "new", - "value" : "Welcome to the Alpha version" - } - }, - "pl" : { - "stringUnit" : { - "state" : "new", - "value" : "Witamy w wersji Alpha" - } - }, - "pt-BR" : { - "stringUnit" : { - "state" : "new", - "value" : "Welcome to the Alpha version" - } - }, - "pt-PT" : { - "stringUnit" : { - "state" : "new", - "value" : "Welcome to the Alpha version" - } - }, - "ru" : { - "stringUnit" : { - "state" : "new", - "value" : "Welcome to the Alpha version" - } - }, - "tr" : { - "stringUnit" : { - "state" : "new", - "value" : "Alpha sürümüne hoş geldiniz" - } - }, - "uk" : { - "stringUnit" : { - "state" : "new", - "value" : "Welcome to the Alpha version" - } - }, - "vi" : { - "stringUnit" : { - "state" : "new", - "value" : "Welcome to the Alpha version" - } - }, - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "欢迎使用 Alpha 版本" - } - }, - "zh-Hant" : { - "stringUnit" : { - "state" : "new", - "value" : "Welcome to the Alpha version" - } - } - } - }, "Auth.Button.Join" : { "extractionState" : "manual", "localizations" : { diff --git a/fastlane/.env b/fastlane/.env index af8e6bb119..64703ce327 100644 --- a/fastlane/.env +++ b/fastlane/.env @@ -7,22 +7,17 @@ APP_TARGET = "Anytype" APP_CONF_DEVELOP = "Release-Nightly" APP_CONF_RELEASE_ANYTYPE = "Release-Anytype" -APP_CONF_RELEASE_ANYAPP = "Release-AnyApp" APP_ID_DEVELOP = "io.anytype.app.dev" APP_ID_RELEASE_ANYTYPE = "io.anytype.app" -APP_ID_RELEASE_ANYAPP = "org.any.app" APP_WIDGET_ID_DEVELOP = "io.anytype.app.dev.homewidget" APP_WIDGET_ID_RELEASE_ANYTYPE = "io.anytype.app.homewidget" -APP_WIDGET_ID_RELEASE_ANYAPP = "org.any.app.homewidget" APP_SHARE_EXTENSION_ID_DEVELOP = "io.anytype.app.dev.AnytypeShareExtension" APP_SHARE_EXTENSION_ID_RELEASE_ANYTYPE = "io.anytype.app.AnytypeShareExtension" -APP_SHARE_EXTENSION_ID_RELEASE_ANYAPP = "org.any.app.AnytypeShareExtension" APP_NOTIFICATION_EXTENSION_ID_DEVELOP = "io.anytype.app.dev.AnytypeNotificationExtension" APP_NOTIFICATION_EXTENSION_ID_RELEASE_ANYTYPE = "io.anytype.app.AnytypeNotificationExtension" -APP_NOTIFICATION_EXTENSION_ID_RELEASE_ANYAPP = "org.any.app.AnytypeNotificationExtension" APPLE_ID = "iosteam@anytype.io" \ No newline at end of file diff --git a/fastlane/Appfile b/fastlane/Appfile index 8b74d0fdd4..6ad228caa6 100644 --- a/fastlane/Appfile +++ b/fastlane/Appfile @@ -24,8 +24,3 @@ for_lane :release_anytype do apple_id(ENV["APPLE_ID"]) app_identifier(ENV["APP_ID_RELEASE_ANYTYPE"]) end - -for_lane :release_anyapp do - apple_id(ENV["APPLE_ID"]) - app_identifier(ENV["APP_ID_RELEASE_ANYAPP"]) -end diff --git a/fastlane/FastfileDeploy b/fastlane/FastfileDeploy index 9ccf2b167f..fb9a350f9e 100644 --- a/fastlane/FastfileDeploy +++ b/fastlane/FastfileDeploy @@ -10,10 +10,6 @@ platform :ios do deploy(config: ENV["APP_CONF_RELEASE_ANYTYPE"]) end - lane :release_anyapp do - deploy(config: ENV["APP_CONF_RELEASE_ANYAPP"]) - end - # Private lanes private_lane :deploy do |options| @@ -30,12 +26,7 @@ platform :ios do tag_prefix: "release-anytype", add_badge: false, app_info: "Release Anytype" - }, - ENV["APP_CONF_RELEASE_ANYAPP"] => { - tag_prefix: "release-anyapp", - add_badge: false, - app_info: "Release Any App" - }, + } } setup_ci diff --git a/fastlane/FastfileProfiles b/fastlane/FastfileProfiles index 9b1ec99d8e..2c565ffdcb 100644 --- a/fastlane/FastfileProfiles +++ b/fastlane/FastfileProfiles @@ -14,12 +14,6 @@ platform :ios do # Generate Debug - lane :generate_debug_profiles do - generate_dev_debug_profiles - generate_anytype_debug_profiles - generate_anyapp_debug_profiles - end - lane :generate_dev_debug_profiles do match(force_for_new_devices: true) end @@ -28,18 +22,8 @@ platform :ios do match(force_for_new_devices: true) end - lane :generate_anyapp_debug_profiles do - match(force_for_new_devices: true) - end - # Generate Release - lane :generate_appstore_profiles do - generate_appstore_profiles_for_nightly - generate_appstore_profiles_for_anytype - generate_appstore_profiles_for_anyapp - end - lane :generate_appstore_profiles_for_nightly do match(force: true) end @@ -48,10 +32,6 @@ platform :ios do match(force: true) end - lane :generate_appstore_profiles_for_anyapp do - match(force: true) - end - lane :delete_dev_certs do match_nuke() end diff --git a/fastlane/Matchfile b/fastlane/Matchfile index 9f88648a53..191bd0f69e 100644 --- a/fastlane/Matchfile +++ b/fastlane/Matchfile @@ -17,12 +17,6 @@ APP_ID_ALL_RELEASE_ANYTYPE ||= [ ENV["APP_SHARE_EXTENSION_ID_RELEASE_ANYTYPE"], ENV["APP_NOTIFICATION_EXTENSION_ID_RELEASE_ANYTYPE"] ] -APP_ID_ALL_RELEASE_ANYAPP ||= [ - ENV["APP_ID_RELEASE_ANYAPP"], - ENV["APP_WIDGET_ID_RELEASE_ANYAPP"], - ENV["APP_SHARE_EXTENSION_ID_RELEASE_ANYAPP"], - ENV["APP_NOTIFICATION_EXTENSION_ID_RELEASE_ANYAPP"] -] # For build release @@ -36,11 +30,6 @@ for_lane :release_anytype do app_identifier(APP_ID_ALL_RELEASE_ANYTYPE) end -for_lane :release_anyapp do - type("appstore") - app_identifier(APP_ID_ALL_RELEASE_ANYAPP) -end - for_lane :test_build do type("appstore") app_identifier(APP_ID_ALL_DEVELOP) @@ -63,16 +52,11 @@ for_lane :generate_anytype_debug_profiles do app_identifier(APP_ID_ALL_RELEASE_ANYTYPE) end -for_lane :generate_anyapp_debug_profiles do - type('development') - app_identifier(APP_ID_ALL_RELEASE_ANYAPP) -end - # For Install Debug profiles for_lane :install_debug_profiles do type("development") - app_identifier(APP_ID_ALL_DEVELOP + APP_ID_ALL_RELEASE_ANYTYPE + APP_ID_ALL_RELEASE_ANYAPP) + app_identifier(APP_ID_ALL_DEVELOP + APP_ID_ALL_RELEASE_ANYTYPE) end # For Generate Release profiles @@ -87,16 +71,11 @@ for_lane :generate_appstore_profiles_for_anytype do app_identifier(APP_ID_ALL_RELEASE_ANYTYPE) end -for_lane :generate_appstore_profiles_for_anyapp do - type("appstore") - app_identifier(APP_ID_ALL_RELEASE_ANYAPP) -end - # For Install Release profiles for_lane :install_appstore_profiles do type("appstore") - app_identifier(APP_ID_ALL_DEVELOP + APP_ID_ALL_RELEASE_ANYTYPE + APP_ID_ALL_RELEASE_ANYAPP) + app_identifier(APP_ID_ALL_DEVELOP + APP_ID_ALL_RELEASE_ANYTYPE) end # For Delete @@ -108,5 +87,5 @@ end for_lane :delete_appstore_certs do type("appstore") - app_identifier(APP_ID_ALL_DEVELOP + APP_ID_ALL_RELEASE_ANYTYPE + APP_ID_ALL_RELEASE_ANYAPP) + app_identifier(APP_ID_ALL_DEVELOP + APP_ID_ALL_RELEASE_ANYTYPE) end \ No newline at end of file diff --git a/fastlane/SetEnv b/fastlane/SetEnv index 13fdcbd40f..4b5157ae9d 100644 --- a/fastlane/SetEnv +++ b/fastlane/SetEnv @@ -4,7 +4,6 @@ lane :set_all_env_to_info_plist do |options| set_openai_token_to_info_plist set_ai_endpoint_to_info_plist set_ai_model_to_info_plist - set_anyapp_membership_secret_to_info_plist set_join_stream_url end @@ -48,14 +47,6 @@ lane :set_ai_model_to_info_plist do |options| ) end -lane :set_anyapp_membership_secret_to_info_plist do |options| - set_info_plist_value( - path: "./Anytype/Supporting files/Info.plist", - key: "AnyAppMembershipTierSecret", - value: ENV["ANY_APP_MEMBERSHIP_TIER_SECRET"] || "" - ) -end - lane :set_join_stream_url do |options| set_info_plist_value( path: "./Anytype/Supporting files/Info.plist", From 1a09113e05842db71e78da741087e97bc3613167 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Tue, 28 Oct 2025 15:28:21 +0300 Subject: [PATCH 050/228] IOS-5397 Delete unused env --- .github/WORKFLOWS_REFERENCE.md | 4 -- .github/workflows/branch_build.yaml | 4 -- .github/workflows/dev_build.yaml | 4 -- .../AIConfigBuilder/AIConfigBuilder.swift | 37 ------------------ Anytype/Supporting files/Info.plist | 6 --- fastlane/SetEnv | 38 +------------------ 6 files changed, 1 insertion(+), 92 deletions(-) delete mode 100644 Anytype/Sources/ServiceLayer/AIConfigBuilder/AIConfigBuilder.swift diff --git a/.github/WORKFLOWS_REFERENCE.md b/.github/WORKFLOWS_REFERENCE.md index f4fcaf9b36..fdad2b5d75 100644 --- a/.github/WORKFLOWS_REFERENCE.md +++ b/.github/WORKFLOWS_REFERENCE.md @@ -261,10 +261,6 @@ The repository uses a **centralized auto-merge system** via the `automerge.yaml` | `SENTRY_AUTH_TOKEN` | Sentry authentication token for crash reporting | All build workflows | | `SENTRY_DSN` | Sentry DSN for crash reporting | All build workflows | | `AMPLITUDE_API_KEY` | Amplitude analytics API key | All build workflows | -| `OPENAI_TOKEN` | OpenAI API token | All build workflows | -| `AI_ENDPOINT` | AI endpoint URL | All build workflows | -| `AI_MODEL` | AI model name | All build workflows | -| `JOIN_STREAM_URL` | Join stream URL for collaboration | All build workflows | | `SLACK_BOT_TOKEN` | Slack bot token for notifications | send-slack-message action | | `SLACK_URL_BUILD_TESTS` | Slack webhook for build/test notifications | update_middleware_nightly | | `CLAUDE_CODE_OAUTH_TOKEN` | OAuth token for Claude Code API access | claude-code-review | diff --git a/.github/workflows/branch_build.yaml b/.github/workflows/branch_build.yaml index d9005e0c95..46b6122856 100644 --- a/.github/workflows/branch_build.yaml +++ b/.github/workflows/branch_build.yaml @@ -58,10 +58,6 @@ jobs: SENTRY_DSN: ${{ secrets.SENTRY_DSN }} LINEAR_TOKEN: ${{ secrets.LINEAR_TOKEN }} AMPLITUDE_API_KEY: ${{ secrets.AMPLITUDE_API_KEY }} - OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }} - AI_ENDPOINT: ${{ secrets.AI_ENDPOINT }} - AI_MODEL: ${{ secrets.AI_MODEL }} - JOIN_STREAM_URL: ${{ secrets.JOIN_STREAM_URL }} FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 900 FASTLANE_XCODEBUILD_SETTINGS_RETRIES: 4 diff --git a/.github/workflows/dev_build.yaml b/.github/workflows/dev_build.yaml index 9e7709d836..9bc7b1abc3 100644 --- a/.github/workflows/dev_build.yaml +++ b/.github/workflows/dev_build.yaml @@ -67,10 +67,6 @@ jobs: SENTRY_DSN: ${{ secrets.SENTRY_DSN }} LINEAR_TOKEN: ${{ secrets.LINEAR_TOKEN }} AMPLITUDE_API_KEY: ${{ secrets.AMPLITUDE_API_KEY }} - OPENAI_TOKEN: ${{ secrets.OPENAI_TOKEN }} - AI_ENDPOINT: ${{ secrets.AI_ENDPOINT }} - AI_MODEL: ${{ secrets.AI_MODEL }} - JOIN_STREAM_URL: ${{ secrets.JOIN_STREAM_URL }} FASTLANE_XCODEBUILD_SETTINGS_TIMEOUT: 900 FASTLANE_XCODEBUILD_SETTINGS_RETRIES: 4 diff --git a/Anytype/Sources/ServiceLayer/AIConfigBuilder/AIConfigBuilder.swift b/Anytype/Sources/ServiceLayer/AIConfigBuilder/AIConfigBuilder.swift deleted file mode 100644 index 1a3923d880..0000000000 --- a/Anytype/Sources/ServiceLayer/AIConfigBuilder/AIConfigBuilder.swift +++ /dev/null @@ -1,37 +0,0 @@ -import Foundation -import Services - -protocol AIConfigBuilderProtocol: Sendable { - func makeOpenAIConfig() -> AIProviderConfig? -} - -struct AIConfigBuilder: AIConfigBuilderProtocol { - private var endpoint: String? { - Bundle.main.object(forInfoDictionaryKey: "AIEndpoint") as? String - } - - private var model: String? { - Bundle.main.object(forInfoDictionaryKey: "AIModel") as? String - } - - private var token: String? { - Bundle.main.object(forInfoDictionaryKey: "OpenAIToken") as? String - } - - func makeOpenAIConfig() -> AIProviderConfig? { - guard let endpoint, endpoint.isNotEmpty, - let model, model.isNotEmpty, - let token, token.isNotEmpty else { - return nil - } - - var config = AIProviderConfig() - config.provider = .openai - config.endpoint = endpoint - config.model = model - config.token = token - config.temperature = 0.2 - - return config - } -} diff --git a/Anytype/Supporting files/Info.plist b/Anytype/Supporting files/Info.plist index a08796cd15..6d57be63c5 100644 --- a/Anytype/Supporting files/Info.plist +++ b/Anytype/Supporting files/Info.plist @@ -2,10 +2,6 @@ - AIEndpoint - - AIModel - AmplitudeApiKey CFBundleDevelopmentRegion @@ -79,8 +75,6 @@ INSendMessageIntent ConfigurationIntent - OpenAIToken - SentryDSN SentryEnv diff --git a/fastlane/SetEnv b/fastlane/SetEnv index 4b5157ae9d..0d75ea8912 100644 --- a/fastlane/SetEnv +++ b/fastlane/SetEnv @@ -1,10 +1,6 @@ lane :set_all_env_to_info_plist do |options| set_amplitude_api_key_to_info_plist set_sentry_dsn_to_info_plist - set_openai_token_to_info_plist - set_ai_endpoint_to_info_plist - set_ai_model_to_info_plist - set_join_stream_url end lane :set_amplitude_api_key_to_info_plist do |options| @@ -17,40 +13,8 @@ end lane :set_sentry_dsn_to_info_plist do |options| set_info_plist_value( - path: "./Anytype/Supporting files/Info.plist", + path: "./Anytype/Supporting files/Info.plist", key: "SentryDSN", value: ENV["SENTRY_DSN"] ) -end - -lane :set_openai_token_to_info_plist do |options| - set_info_plist_value( - path: "./Anytype/Supporting files/Info.plist", - key: "OpenAIToken", - value: ENV["OPENAI_TOKEN"] || "" - ) -end - -lane :set_ai_endpoint_to_info_plist do |options| - set_info_plist_value( - path: "./Anytype/Supporting files/Info.plist", - key: "AIEndpoint", - value: ENV["AI_ENDPOINT"] || "" - ) -end - -lane :set_ai_model_to_info_plist do |options| - set_info_plist_value( - path: "./Anytype/Supporting files/Info.plist", - key: "AIModel", - value: ENV["AI_MODEL"] || "" - ) -end - -lane :set_join_stream_url do |options| - set_info_plist_value( - path: "./Anytype/Supporting files/Info.plist", - key: "JoinStreamURL", - value: ENV["JOIN_STREAM_URL"] || "" - ) end \ No newline at end of file From 336bae03aace5b92509b8a2dfcce81c26f4210c5 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Tue, 28 Oct 2025 15:33:36 +0300 Subject: [PATCH 051/228] IOS-5397 Fix space --- Makefile | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 545cffad09..a280f99a71 100644 --- a/Makefile +++ b/Makefile @@ -63,7 +63,6 @@ generate_debug_profiles: bundle exec fastlane generate_dev_debug_profiles bundle exec fastlane generate_anytype_debug_profiles - generate_appstore_profiles: bundle exec fastlane generate_appstore_profiles_for_nightly - bundle exec fastlane generate_appstore_profiles_for_anytype \ No newline at end of file + bundle exec fastlane generate_appstore_profiles_for_anytype From bb2147ba5724770b3761dba71777df41c0003b0d Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Tue, 28 Oct 2025 15:36:02 +0300 Subject: [PATCH 052/228] IOS-5397 Fix makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index a280f99a71..ea18aa0ecb 100644 --- a/Makefile +++ b/Makefile @@ -64,5 +64,5 @@ generate_debug_profiles: bundle exec fastlane generate_anytype_debug_profiles generate_appstore_profiles: - bundle exec fastlane generate_appstore_profiles_for_nightly - bundle exec fastlane generate_appstore_profiles_for_anytype + bundle exec fastlane generate_appstore_profiles_for_nightly + bundle exec fastlane generate_appstore_profiles_for_anytype From d3345054841ca6899e53830173b70c66da9941c0 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 28 Oct 2025 13:36:11 +0000 Subject: [PATCH 053/228] IOS-5160 Design review --- .../Subviews/SpaceLimitBannerView.swift | 4 +-- .../SecureAlert/SecureAlertView.swift | 4 +++ .../DisabledPushNotificationsBannerView.swift | 4 +++ .../HeaderAlert/redEnd.colorset/Contents.json | 6 ++-- .../redStart.colorset/Contents.json | 6 ++-- .../StandardButton/StandardButtonConfig.swift | 28 +++++++++++++++++++ .../StandardButton/StandardButtonStyle.swift | 2 ++ 7 files changed, 46 insertions(+), 8 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceShare/Subviews/SpaceLimitBannerView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceShare/Subviews/SpaceLimitBannerView.swift index b668878bd0..eed39294f3 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceShare/Subviews/SpaceLimitBannerView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceShare/Subviews/SpaceLimitBannerView.swift @@ -69,13 +69,13 @@ struct SpaceLimitBannerView: View { private var buttonsView: some View { HStack(spacing: 8) { if limitType.showManageButton { - StandardButton(Loc.SpaceShare.manageSpaces, style: .secondaryMedium) { + StandardButton(Loc.SpaceShare.manageSpaces, style: .secondaryXSmallStretched) { onManageSpaces?() } } StandardButton( "\(MembershipConstants.membershipSymbol.rawValue) \(Loc.upgrade)", - style: limitType.showManageButton ? .primaryMedium : .primaryLarge + style: .primaryXSmallStretchedBlack ) { onUpgrade() } diff --git a/Anytype/Sources/PresentationLayer/SecureAlert/SecureAlertView.swift b/Anytype/Sources/PresentationLayer/SecureAlert/SecureAlertView.swift index fd3e01d545..4055c4b4f1 100644 --- a/Anytype/Sources/PresentationLayer/SecureAlert/SecureAlertView.swift +++ b/Anytype/Sources/PresentationLayer/SecureAlert/SecureAlertView.swift @@ -48,3 +48,7 @@ struct SecureAlertView: View { } } } + +#Preview { + SecureAlertView(data: SecureAlertData(completion: { _ in })) +} diff --git a/Anytype/Sources/PresentationLayer/Settings/PushNotifications/DisabledPushNotificationsBanner/DisabledPushNotificationsBannerView.swift b/Anytype/Sources/PresentationLayer/Settings/PushNotifications/DisabledPushNotificationsBanner/DisabledPushNotificationsBannerView.swift index 08943fec31..f9a5da1353 100644 --- a/Anytype/Sources/PresentationLayer/Settings/PushNotifications/DisabledPushNotificationsBanner/DisabledPushNotificationsBannerView.swift +++ b/Anytype/Sources/PresentationLayer/Settings/PushNotifications/DisabledPushNotificationsBanner/DisabledPushNotificationsBannerView.swift @@ -56,3 +56,7 @@ struct DisabledPushNotificationsBannerView: View { .cornerRadius(12, style: .continuous) } } + +#Preview { + DisabledPushNotificationsBannerView() +} diff --git a/Modules/Assets/Sources/Assets/Resources/SystemColors.xcassets/Custom/Gradients/HeaderAlert/redEnd.colorset/Contents.json b/Modules/Assets/Sources/Assets/Resources/SystemColors.xcassets/Custom/Gradients/HeaderAlert/redEnd.colorset/Contents.json index d6c83955e2..ea96570efa 100644 --- a/Modules/Assets/Sources/Assets/Resources/SystemColors.xcassets/Custom/Gradients/HeaderAlert/redEnd.colorset/Contents.json +++ b/Modules/Assets/Sources/Assets/Resources/SystemColors.xcassets/Custom/Gradients/HeaderAlert/redEnd.colorset/Contents.json @@ -5,9 +5,9 @@ "color-space" : "srgb", "components" : { "alpha" : "1.000", - "blue" : "0xBC", - "green" : "0xCA", - "red" : "0xF3" + "blue" : "0xF3", + "green" : "0xF6", + "red" : "0xFF" } }, "idiom" : "universal" diff --git a/Modules/Assets/Sources/Assets/Resources/SystemColors.xcassets/Custom/Gradients/HeaderAlert/redStart.colorset/Contents.json b/Modules/Assets/Sources/Assets/Resources/SystemColors.xcassets/Custom/Gradients/HeaderAlert/redStart.colorset/Contents.json index c1c222e8b9..c913932c36 100644 --- a/Modules/Assets/Sources/Assets/Resources/SystemColors.xcassets/Custom/Gradients/HeaderAlert/redStart.colorset/Contents.json +++ b/Modules/Assets/Sources/Assets/Resources/SystemColors.xcassets/Custom/Gradients/HeaderAlert/redStart.colorset/Contents.json @@ -5,9 +5,9 @@ "color-space" : "srgb", "components" : { "alpha" : "1.000", - "blue" : "0xDE", - "green" : "0xE5", - "red" : "0xFC" + "blue" : "0xE0", + "green" : "0xE7", + "red" : "0xFE" } }, "idiom" : "universal" diff --git a/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift b/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift index 6b91684875..183df2811f 100644 --- a/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift +++ b/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift @@ -229,6 +229,23 @@ public extension StandardButtonStyle { loadingIndicatorSize: .ButtonLoadingIndicator.xsmall, horizontalPadding: 10 ) + case .primaryXSmallStretchedBlack: + return StandardButtonConfig( + normal: StandardButtonConfig.Style( + textColor: StandardButtonStyle.primaryLarge.config.normal.textColor, + borderColor: StandardButtonStyle.primaryLarge.config.normal.borderColor, + backgroundColor: Color.Control.primary, + overlayBackgroundColor: StandardButtonStyle.primaryLarge.config.normal.overlayBackgroundColor + ), + higlighted: StandardButtonStyle.primaryLarge.config.higlighted, + disabled: StandardButtonStyle.primaryLarge.config.disabled, + textFont: .caption1Medium, + height: 28, + stretchSize: true, + radius: 14, + loadingIndicatorSize: .ButtonLoadingIndicator.xsmall, + horizontalPadding: 10 + ) case .secondaryXSmall: return StandardButtonConfig( normal: StandardButtonStyle.secondaryLarge.config.normal, @@ -240,6 +257,17 @@ public extension StandardButtonStyle { radius: 14, loadingIndicatorSize: .ButtonLoadingIndicator.xsmall ) + case .secondaryXSmallStretched: + return StandardButtonConfig( + normal: StandardButtonStyle.secondaryLarge.config.normal, + higlighted: StandardButtonStyle.secondaryLarge.config.higlighted, + disabled: StandardButtonStyle.secondaryLarge.config.disabled, + textFont: .caption1Regular, + height: 28, + stretchSize: true, + radius: 14, + loadingIndicatorSize: .ButtonLoadingIndicator.xsmall + ) case .warningXSmall: return StandardButtonConfig( normal: StandardButtonStyle.warningLarge.config.normal, diff --git a/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonStyle.swift b/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonStyle.swift index d76b729473..ea12199de5 100644 --- a/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonStyle.swift +++ b/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonStyle.swift @@ -21,6 +21,8 @@ public enum StandardButtonStyle { case transparentXSmall case primaryXSmallStretched + case primaryXSmallStretchedBlack + case secondaryXSmallStretched case upgradeBadge From b4b21b6f45e3ffc51ed98b3a9a51c9fea8db0156 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Tue, 28 Oct 2025 16:48:55 +0300 Subject: [PATCH 054/228] IOS-5386 Migrate space hub coordinator --- .../SpaceHub/SpaceHubCoordinatorView.swift | 2 +- .../SpaceHubCoordinatorViewModel.swift | 100 ++++++++++-------- 2 files changed, 55 insertions(+), 47 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift index c0abb4b6b4..e64d9fad43 100644 --- a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift +++ b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift @@ -7,7 +7,7 @@ struct SpaceHubCoordinatorView: View { @Environment(\.keyboardDismiss) private var keyboardDismiss @Environment(\.dismissAllPresented) private var dismissAllPresented - @StateObject private var model = SpaceHubCoordinatorViewModel() + @State private var model = SpaceHubCoordinatorViewModel() @Namespace private var namespace diff --git a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorViewModel.swift b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorViewModel.swift index 040807c75c..00518fcdde 100644 --- a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorViewModel.swift @@ -9,36 +9,39 @@ import PhotosUI struct SpaceHubNavigationItem: Hashable { } @MainActor -final class SpaceHubCoordinatorViewModel: ObservableObject, SpaceHubModuleOutput { - @Published var showSpaceManager = false - @Published var showObjectIsNotAvailableAlert = false - @Published var profileData: ObjectInfo? - @Published var spaceProfileData: AccountInfo? - @Published var userWarningAlert: UserWarningAlert? - @Published var typeSearchForObjectCreationSpaceId: StringIdentifiable? - @Published var showSharingExtension = false - @Published var membershipTierId: IntIdentifiable? - @Published var showGalleryImport: GalleryInstallationData? - @Published var spaceJoinData: SpaceJoinModuleData? - @Published var membershipNameFinalizationData: MembershipTier? - @Published var showGlobalSearchData: GlobalSearchModuleData? - @Published var toastBarData: ToastBarData? - @Published var showSpaceShareData: SpaceShareData? - @Published var showSpaceMembersData: SpaceMembersData? - @Published var chatProvider = ChatActionProvider() - @Published var bookmarkScreenData: BookmarkScreenData? - @Published var spaceCreateData: SpaceCreateData? - @Published var showSpaceTypeForCreate = false - @Published var shouldScanQrCode = false - @Published var showAppSettings = false - - @Published var photosItems: [PhotosPickerItem] = [] - @Published var showPhotosPicker = false - @Published var cameraData: SimpleCameraData? - @Published var showFilesPicker = false +@Observable +final class SpaceHubCoordinatorViewModel: SpaceHubModuleOutput { + var showSpaceManager = false + var showObjectIsNotAvailableAlert = false + var profileData: ObjectInfo? + var spaceProfileData: AccountInfo? + var userWarningAlert: UserWarningAlert? + var typeSearchForObjectCreationSpaceId: StringIdentifiable? + var showSharingExtension = false + var membershipTierId: IntIdentifiable? + var showGalleryImport: GalleryInstallationData? + var spaceJoinData: SpaceJoinModuleData? + var membershipNameFinalizationData: MembershipTier? + var showGlobalSearchData: GlobalSearchModuleData? + var toastBarData: ToastBarData? + var showSpaceShareData: SpaceShareData? + var showSpaceMembersData: SpaceMembersData? + var chatProvider = ChatActionProvider() + var bookmarkScreenData: BookmarkScreenData? + var spaceCreateData: SpaceCreateData? + var showSpaceTypeForCreate = false + var shouldScanQrCode = false + var showAppSettings = false + + var photosItems: [PhotosPickerItem] = [] + var showPhotosPicker = false + var cameraData: SimpleCameraData? + var showFilesPicker = false + + @ObservationIgnored private var uploadSpaceId: String? - @Published var currentSpaceId: String? + var currentSpaceId: String? var spaceInfo: AccountInfo? { guard let currentSpaceId else { return nil } return workspaceStorage.spaceInfo(spaceId: currentSpaceId) @@ -47,10 +50,12 @@ final class SpaceHubCoordinatorViewModel: ObservableObject, SpaceHubModuleOutput var fallbackSpaceId: String? { userDefaults.lastOpenedScreen?.spaceId ?? fallbackSpaceView?.targetSpaceId } - @Published private var fallbackSpaceView: SpaceView? - @Published var pathChanging: Bool = false - @Published var navigationPath = HomePath(initialPath: [SpaceHubNavigationItem()]) + private var fallbackSpaceView: SpaceView? + + var pathChanging: Bool = false + var navigationPath = HomePath(initialPath: [SpaceHubNavigationItem()]) + @ObservationIgnored lazy var pageNavigation = PageNavigation( open: { [weak self] data in self?.showScreenSync(data: data) @@ -71,40 +76,43 @@ final class SpaceHubCoordinatorViewModel: ObservableObject, SpaceHubModuleOutput } ) + @ObservationIgnored var keyboardDismiss: KeyboardDismiss? + @ObservationIgnored var dismissAllPresented: DismissAllPresented? - @Injected(\.appActionStorage) + @Injected(\.appActionStorage) @ObservationIgnored private var appActionsStorage: AppActionStorage - @Injected(\.accountManager) + @Injected(\.accountManager) @ObservationIgnored private var accountManager: any AccountManagerProtocol - @Injected(\.activeSpaceManager) + @Injected(\.activeSpaceManager) @ObservationIgnored private var activeSpaceManager: any ActiveSpaceManagerProtocol - @Injected(\.documentsProvider) + @Injected(\.documentsProvider) @ObservationIgnored private var documentsProvider: any DocumentsProviderProtocol - @Injected(\.spaceViewsStorage) + @Injected(\.spaceViewsStorage) @ObservationIgnored private var workspaceStorage: any SpaceViewsStorageProtocol - @Injected(\.userDefaultsStorage) + @Injected(\.userDefaultsStorage) @ObservationIgnored private var userDefaults: any UserDefaultsStorageProtocol - @Injected(\.objectTypeProvider) + @Injected(\.objectTypeProvider) @ObservationIgnored private var typeProvider: any ObjectTypeProviderProtocol - @Injected(\.objectActionsService) + @Injected(\.objectActionsService) @ObservationIgnored private var objectActionsService: any ObjectActionsServiceProtocol - @Injected(\.defaultObjectCreationService) + @Injected(\.defaultObjectCreationService) @ObservationIgnored private var defaultObjectService: any DefaultObjectCreationServiceProtocol - @Injected(\.loginStateService) + @Injected(\.loginStateService) @ObservationIgnored private var loginStateService: any LoginStateServiceProtocol - @Injected(\.participantSpacesStorage) + @Injected(\.participantSpacesStorage) @ObservationIgnored private var participantSpacesStorage: any ParticipantSpacesStorageProtocol - @Injected(\.userWarningAlertsHandler) + @Injected(\.userWarningAlertsHandler) @ObservationIgnored private var userWarningAlertsHandler: any UserWarningAlertsHandlerProtocol - @Injected(\.legacyNavigationContext) + @Injected(\.legacyNavigationContext) @ObservationIgnored private var navigationContext: any NavigationContextProtocol - @Injected(\.spaceFileUploadService) + @Injected(\.spaceFileUploadService) @ObservationIgnored private var spaceFileUploadService: any SpaceFileUploadServiceProtocol - @Injected(\.spaceHubPathUXTypeHelper) + @Injected(\.spaceHubPathUXTypeHelper) @ObservationIgnored private var spaceHubPathUXTypeHelper: any SpaceHubPathUXTypeHelperProtocol + @ObservationIgnored private var needSetup = true init() { } From 6b9d842e7e79b733dba3dd3f62b6e6720100ca4c Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Tue, 28 Oct 2025 16:51:27 +0300 Subject: [PATCH 055/228] IOS-5386 Migrate space hub view --- .../Modules/SpaceHub/SpaceHubView.swift | 5 ++- .../Modules/SpaceHub/SpaceHubViewModel.swift | 34 ++++++++++--------- 2 files changed, 20 insertions(+), 19 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift index 4d54cf026c..bf4ad5250f 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift @@ -4,15 +4,14 @@ import DesignKit struct SpaceHubView: View { - @StateObject private var model: SpaceHubViewModel - + @State private var model: SpaceHubViewModel @State private var draggedSpace: ParticipantSpaceViewDataWithPreview? @State private var draggedInitialIndex: Int? private var namespace: Namespace.ID init(output: (any SpaceHubModuleOutput)?, namespace: Namespace.ID) { - _model = StateObject(wrappedValue: SpaceHubViewModel(output: output)) + _model = State(wrappedValue: SpaceHubViewModel(output: output)) self.namespace = namespace } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift index 4dbd89c3fc..b0b0bd54f9 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift @@ -6,9 +6,10 @@ import AsyncAlgorithms import Loc @MainActor -final class SpaceHubViewModel: ObservableObject { - @Published var spaces: [ParticipantSpaceViewDataWithPreview]? - @Published var searchText: String = "" +@Observable +final class SpaceHubViewModel { + var spaces: [ParticipantSpaceViewDataWithPreview]? + var searchText: String = "" var filteredSpaces: [ParticipantSpaceViewDataWithPreview] { guard let spaces else { return [] } @@ -19,30 +20,31 @@ final class SpaceHubViewModel: ObservableObject { } } - @Published var wallpapers: [String: SpaceWallpaperType] = [:] + var wallpapers: [String: SpaceWallpaperType] = [:] - @Published var notificationsDenied = false - @Published var spaceMuteData: SpaceMuteData? - @Published var showLoading = false - @Published var profileIcon: Icon? - @Published var spaceToDelete: StringIdentifiable? + var notificationsDenied = false + var spaceMuteData: SpaceMuteData? + var showLoading = false + var profileIcon: Icon? + var spaceToDelete: StringIdentifiable? + @ObservationIgnored private weak var output: (any SpaceHubModuleOutput)? - @Injected(\.userDefaultsStorage) + @Injected(\.userDefaultsStorage) @ObservationIgnored private var userDefaults: any UserDefaultsStorageProtocol - @Injected(\.spaceViewsStorage) + @Injected(\.spaceViewsStorage) @ObservationIgnored private var workspacesStorage: any SpaceViewsStorageProtocol - @Injected(\.spaceOrderService) + @Injected(\.spaceOrderService) @ObservationIgnored private var spaceOrderService: any SpaceOrderServiceProtocol - @Injected(\.profileStorage) + @Injected(\.profileStorage) @ObservationIgnored private var profileStorage: any ProfileStorageProtocol - @Injected(\.spaceHubSpacesStorage) + @Injected(\.spaceHubSpacesStorage) @ObservationIgnored private var spaceHubSpacesStorage: any SpaceHubSpacesStorageProtocol - @Injected(\.pushNotificationsSystemSettingsBroadcaster) + @Injected(\.pushNotificationsSystemSettingsBroadcaster) @ObservationIgnored private var pushNotificationsSystemSettingsBroadcaster: any PushNotificationsSystemSettingsBroadcasterProtocol - @Injected(\.workspaceService) + @Injected(\.workspaceService) @ObservationIgnored private var workspaceService: any WorkspaceServiceProtocol init(output: (any SpaceHubModuleOutput)?) { From 60d0851a692c053a89c0b60f0d24e192e4cab083 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 28 Oct 2025 13:52:57 +0000 Subject: [PATCH 056/228] IOS-5255 Add feature toggle newObjectSettings --- .../AnytypeCore/Generated/FeatureFlags+Flags.swift | 5 +++++ .../Utils/FeatureFlags/FeatureDescription+Flags.swift | 7 +++++++ 2 files changed, 12 insertions(+) diff --git a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift index 7acd14cac7..98c7f884b8 100644 --- a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift @@ -54,6 +54,10 @@ public extension FeatureFlags { value(for: .channelTypeSwitcher) } + static var newObjectSettings: Bool { + value(for: .newObjectSettings) + } + static var setKanbanView: Bool { value(for: .setKanbanView) } @@ -148,6 +152,7 @@ public extension FeatureFlags { .showAllButtonInWidgets, .turnOffAutomaticWidgetOpening, .channelTypeSwitcher, + .newObjectSettings, .setKanbanView, .fullInlineSetImpl, .dndOnCollectionsAndSets, diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index b3096a0727..79b07c80ce 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -75,6 +75,13 @@ public extension FeatureDescription { type: .feature(author: "vova@anytype.io", releaseVersion: "14"), defaultValue: false ) + + static let newObjectSettings = FeatureDescription( + title: "New Object Settings", + type: .feature(author: "vova@anytype.io", releaseVersion: "14"), + defaultValue: false, + debugValue: true + ) // MARK: - Experemental From a18d4b639c12621f9440abba0c9ed5f1241378af Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Tue, 28 Oct 2025 17:34:48 +0300 Subject: [PATCH 057/228] IOS-5386 Split view, remove calculated fields --- .../Modules/SpaceHub/SpaceHubView.swift | 143 +++--------------- .../Modules/SpaceHub/SpaceHubViewModel.swift | 31 +++- .../Subviews/SpaceHubAttentionDotView.swift | 10 ++ .../Subviews/SpaceHubEmptyStateView.swift | 18 +++ .../SpaceHubSearchEmptySpaceView.swift | 14 ++ .../SpaceHub/Subviews/SpaceHubToolbar.swift | 112 ++++++++++++++ 6 files changed, 196 insertions(+), 132 deletions(-) create mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubAttentionDotView.swift create mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubEmptyStateView.swift create mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubSearchEmptySpaceView.swift create mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubToolbar.swift diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift index bf4ad5250f..f75e69e531 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift @@ -7,6 +7,7 @@ struct SpaceHubView: View { @State private var model: SpaceHubViewModel @State private var draggedSpace: ParticipantSpaceViewDataWithPreview? @State private var draggedInitialIndex: Int? + @State private var vaultBackToRootsToggle = FeatureFlags.vaultBackToRoots private var namespace: Namespace.ID @@ -53,19 +54,22 @@ struct SpaceHubView: View { } else if model.filteredSpaces.isNotEmpty { scrollView } else { - searchEmptyStateView + SpaceHubSearchEmptySpaceView() } } .navigationTitle(Loc.myChannels) .navigationBarTitleDisplayMode(.inline) .toolbar { toolbarItems } .searchable(text: $model.searchText) + .onChange(of: model.searchText) { + model.searchTextUpdated() + } }.tint(Color.Text.secondary) } private var scrollView: some View { ScrollView { - VStack(spacing: FeatureFlags.vaultBackToRoots ? 8 : 0) { + VStack(spacing: vaultBackToRootsToggle ? 8 : 0) { HomeUpdateSubmoduleView().padding(8) ForEach(model.filteredSpaces) { @@ -77,132 +81,25 @@ struct SpaceHubView: View { } } - @ToolbarContentBuilder private var toolbarItems: some ToolbarContent { - if #available(iOS 26.0, *) { - ios26ToolbarItems - } else { - legacyToolbarItems - } - } - - @ToolbarContentBuilder - private var legacyToolbarItems: some ToolbarContent { - ToolbarItem(placement: .principal) { - HStack(spacing: 6) { - if model.showLoading { - CircleLoadingView(.Text.primary) - .frame(width: 18, height: 18) - .transition(.scale.combined(with: .opacity)) - } else { - Spacer.fixedWidth(18) - } - - AnytypeText(Loc.myChannels, style: .uxTitle1Semibold) - - Spacer.fixedWidth(18) - } - } - - - ToolbarItem(placement: .topBarLeading) { - Button { - model.onTapSettings() - } label: { - IconView(icon: model.profileIcon) - .foregroundStyle(Color.Control.secondary) - .frame(width: 28, height: 28) - .overlay(alignment: .topTrailing) { - if model.notificationsDenied { - attentionDotView - } - } - .padding(.vertical, 8) - } - } - - ToolbarItem(placement: .topBarTrailing) { - SpaceHubNewSpaceButton { + SpaceHubToolbar( + showLoading: model.showLoading, + profileIcon: model.profileIcon, + notificationsDenied: model.notificationsDenied, + namespace: namespace, + onTapCreateSpace: { model.onTapCreateSpace() - } - } - } - - @available(iOS 26.0, *) - @ToolbarContentBuilder - private var ios26ToolbarItems: some ToolbarContent { - ToolbarItem(placement: .principal) { - HStack(spacing: 6) { - if model.showLoading { - CircleLoadingView(.Text.primary) - .frame(width: 18, height: 18) - .transition(.scale.combined(with: .opacity)) - } else { - Spacer.fixedWidth(18) - } - - AnytypeText(Loc.myChannels, style: .uxTitle1Semibold) - - Spacer.fixedWidth(18) - } - } - - ToolbarItem(placement: .topBarTrailing) { - Button { + }, + onTapSettings: { model.onTapSettings() - } label: { - IconView(icon: model.profileIcon) - .foregroundStyle(Color.Control.secondary) - .frame(width: 28, height: 28) - .overlay(alignment: .topTrailing) { - if model.notificationsDenied { - attentionDotView - } - } - .padding(.vertical, 8) } - } - - DefaultToolbarItem(kind: .search, placement: .bottomBar) - - ToolbarSpacer(placement: .bottomBar) - - ToolbarItem(placement: .bottomBar) { - Button { model.onTapCreateSpace() } label: { Label("", systemImage: "plus") } - } - .matchedTransitionSource(id: "SpaceCreateTypePickerView", in: namespace) - } - - - @ViewBuilder - private var emptyStateView: some View { - HomeUpdateSubmoduleView().padding(8) - EmptyStateView( - title: Loc.thereAreNoSpacesYet, - subtitle: "", - style: .withImage, - buttonData: EmptyStateView.ButtonData(title: Loc.createSpace) { - model.onTapCreateSpace() - } - ) - } - - @ViewBuilder - private var searchEmptyStateView: some View { - HomeUpdateSubmoduleView().padding(8) - EmptyStateView( - title: Loc.noMatchesFound, - subtitle: "", - style: .withImage, - buttonData: nil ) } - private var attentionDotView: some View { - Circle() - .fill(Color.Pure.red) - .frame(width: 6, height: 6) - .padding([.top, .trailing], 1) + private var emptyStateView: some View { + SpaceHubEmptyStateView { + model.onTapCreateSpace() + } } private func spaceCard(_ space: ParticipantSpaceViewDataWithPreview) -> some View { @@ -233,9 +130,7 @@ struct SpaceHubView: View { } ) .equatable() - .if(FeatureFlags.vaultBackToRoots) { - $0.padding(.horizontal, 16) - } + .padding(.horizontal, vaultBackToRootsToggle ? 16 : 0) .if(space.spaceView.isPinned) { $0.onDrop( of: [.text], diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift index b0b0bd54f9..7c3f6e9be7 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift @@ -11,14 +11,7 @@ final class SpaceHubViewModel { var spaces: [ParticipantSpaceViewDataWithPreview]? var searchText: String = "" - var filteredSpaces: [ParticipantSpaceViewDataWithPreview] { - guard let spaces else { return [] } - guard !searchText.isEmpty else { return spaces } - - return spaces.filter { space in - space.spaceView.name.localizedCaseInsensitiveContains(searchText) - } - } + var filteredSpaces: [ParticipantSpaceViewDataWithPreview] = [] var wallpapers: [String: SpaceWallpaperType] = [:] @@ -126,11 +119,16 @@ final class SpaceHubViewModel { spaceMuteData = nil } + func searchTextUpdated() { + updateFilteredSpaces() + } + // MARK: - Private private func subscribeOnSpaces() async { for await spaces in await spaceHubSpacesStorage.spacesStream { self.spaces = spaces.sorted(by: sortSpacesForPinnedFeature) showLoading = spaces.contains { $0.spaceView.isLoading } + updateFilteredSpaces() } } @@ -208,4 +206,21 @@ final class SpaceHubViewModel { notificationsDenied = status.isDenied } } + + private func updateFilteredSpaces() { + + guard let spaces else { + filteredSpaces = [] + return + } + + guard !searchText.isEmpty else { + filteredSpaces = spaces + return + } + + filteredSpaces = spaces.filter { space in + space.spaceView.name.localizedCaseInsensitiveContains(searchText) + } + } } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubAttentionDotView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubAttentionDotView.swift new file mode 100644 index 0000000000..8bd2f6fcee --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubAttentionDotView.swift @@ -0,0 +1,10 @@ +import SwiftUI + +struct SpaceHubAttentionDotView: View { + + var body: some View { + Circle() + .fill(Color.Pure.red) + .frame(width: 6, height: 6) + } +} diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubEmptyStateView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubEmptyStateView.swift new file mode 100644 index 0000000000..98a92cbf5a --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubEmptyStateView.swift @@ -0,0 +1,18 @@ +import SwiftUI + +struct SpaceHubEmptyStateView: View { + + let onTapCreateSpace: () -> Void + + var body: some View { + HomeUpdateSubmoduleView().padding(8) + EmptyStateView( + title: Loc.thereAreNoSpacesYet, + subtitle: "", + style: .withImage, + buttonData: EmptyStateView.ButtonData(title: Loc.createSpace) { + onTapCreateSpace() + } + ) + } +} diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubSearchEmptySpaceView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubSearchEmptySpaceView.swift new file mode 100644 index 0000000000..ed9755aaf3 --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubSearchEmptySpaceView.swift @@ -0,0 +1,14 @@ +import SwiftUI + +struct SpaceHubSearchEmptySpaceView: View { + + var body: some View { + HomeUpdateSubmoduleView().padding(8) + EmptyStateView( + title: Loc.noMatchesFound, + subtitle: "", + style: .withImage, + buttonData: nil + ) + } +} diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubToolbar.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubToolbar.swift new file mode 100644 index 0000000000..f8a03b85bb --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubToolbar.swift @@ -0,0 +1,112 @@ +import SwiftUI + +struct SpaceHubToolbar: ToolbarContent { + + let showLoading: Bool + let profileIcon: Icon? + let notificationsDenied: Bool + let namespace: Namespace.ID + + let onTapCreateSpace: () -> Void + let onTapSettings: () -> Void + + var body: some ToolbarContent { + if #available(iOS 26.0, *) { + ios26ToolbarItems + } else { + legacyToolbarItems + } + } + + @ToolbarContentBuilder + private var legacyToolbarItems: some ToolbarContent { + ToolbarItem(placement: .principal) { + HStack(spacing: 6) { + if showLoading { + CircleLoadingView(.Text.primary) + .frame(width: 18, height: 18) + .transition(.scale.combined(with: .opacity)) + } else { + Spacer.fixedWidth(18) + } + + AnytypeText(Loc.myChannels, style: .uxTitle1Semibold) + + Spacer.fixedWidth(18) + } + } + + + ToolbarItem(placement: .topBarLeading) { + Button { + onTapSettings() + } label: { + IconView(icon: profileIcon) + .foregroundStyle(Color.Control.secondary) + .frame(width: 28, height: 28) + .overlay(alignment: .topTrailing) { + if notificationsDenied { + attentionDotView + } + } + .padding(.vertical, 8) + } + } + + ToolbarItem(placement: .topBarTrailing) { + SpaceHubNewSpaceButton { + onTapCreateSpace() + } + } + } + + @available(iOS 26.0, *) + @ToolbarContentBuilder + private var ios26ToolbarItems: some ToolbarContent { + ToolbarItem(placement: .principal) { + HStack(spacing: 6) { + if showLoading { + CircleLoadingView(.Text.primary) + .frame(width: 18, height: 18) + .transition(.scale.combined(with: .opacity)) + } else { + Spacer.fixedWidth(18) + } + + AnytypeText(Loc.myChannels, style: .uxTitle1Semibold) + + Spacer.fixedWidth(18) + } + } + + ToolbarItem(placement: .topBarTrailing) { + Button { + onTapSettings() + } label: { + IconView(icon: profileIcon) + .foregroundStyle(Color.Control.secondary) + .frame(width: 28, height: 28) + .overlay(alignment: .topTrailing) { + if notificationsDenied { + attentionDotView + } + } + .padding(.vertical, 8) + } + } + + DefaultToolbarItem(kind: .search, placement: .bottomBar) + + ToolbarSpacer(placement: .bottomBar) + + ToolbarItem(placement: .bottomBar) { + Button { onTapCreateSpace() } label: { Label("", systemImage: "plus") } + } + .matchedTransitionSource(id: "SpaceCreateTypePickerView", in: namespace) + } + + private var attentionDotView: some View { + SpaceHubAttentionDotView() + .padding([.top, .trailing], 1) + } +} From ffffb4d9cd64455625bc486e12cfc9ed19fe3164 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 28 Oct 2025 14:46:20 +0000 Subject: [PATCH 058/228] IOS-5160 Refactor primary XSmall button configs to eliminate duplication --- .../StandardButton/StandardButtonConfig.swift | 74 +++++++++---------- 1 file changed, 35 insertions(+), 39 deletions(-) diff --git a/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift b/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift index 183df2811f..5f88e0a20f 100644 --- a/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift +++ b/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift @@ -39,8 +39,39 @@ private extension CGSize { } } +private extension StandardButtonStyle { + + func primaryXSmallConfig(stretchSize: Bool, backgroundColor: Color? = nil) -> StandardButtonConfig { + let baseConfig = StandardButtonStyle.primaryLarge.config + + let normalStyle: StandardButtonConfig.Style + if let backgroundColor { + normalStyle = StandardButtonConfig.Style( + textColor: baseConfig.normal.textColor, + borderColor: baseConfig.normal.borderColor, + backgroundColor: backgroundColor, + overlayBackgroundColor: baseConfig.normal.overlayBackgroundColor + ) + } else { + normalStyle = baseConfig.normal + } + + return StandardButtonConfig( + normal: normalStyle, + higlighted: baseConfig.higlighted, + disabled: baseConfig.disabled, + textFont: .caption1Medium, + height: 28, + stretchSize: stretchSize, + radius: 14, + loadingIndicatorSize: .ButtonLoadingIndicator.xsmall, + horizontalPadding: 10 + ) + } +} + public extension StandardButtonStyle { - + var config: StandardButtonConfig { switch self { case .primaryLarge: @@ -206,46 +237,11 @@ public extension StandardButtonStyle { horizontalPadding: 0 ) case .primaryXSmall: - return StandardButtonConfig( - normal: StandardButtonStyle.primaryLarge.config.normal, - higlighted: StandardButtonStyle.primaryLarge.config.higlighted, - disabled: StandardButtonStyle.primaryLarge.config.disabled, - textFont: .caption1Medium, - height: 28, - stretchSize: false, - radius: 14, - loadingIndicatorSize: .ButtonLoadingIndicator.xsmall, - horizontalPadding: 10 - ) + return primaryXSmallConfig(stretchSize: false) case .primaryXSmallStretched: - return StandardButtonConfig( - normal: StandardButtonStyle.primaryLarge.config.normal, - higlighted: StandardButtonStyle.primaryLarge.config.higlighted, - disabled: StandardButtonStyle.primaryLarge.config.disabled, - textFont: .caption1Medium, - height: 28, - stretchSize: true, - radius: 14, - loadingIndicatorSize: .ButtonLoadingIndicator.xsmall, - horizontalPadding: 10 - ) + return primaryXSmallConfig(stretchSize: true) case .primaryXSmallStretchedBlack: - return StandardButtonConfig( - normal: StandardButtonConfig.Style( - textColor: StandardButtonStyle.primaryLarge.config.normal.textColor, - borderColor: StandardButtonStyle.primaryLarge.config.normal.borderColor, - backgroundColor: Color.Control.primary, - overlayBackgroundColor: StandardButtonStyle.primaryLarge.config.normal.overlayBackgroundColor - ), - higlighted: StandardButtonStyle.primaryLarge.config.higlighted, - disabled: StandardButtonStyle.primaryLarge.config.disabled, - textFont: .caption1Medium, - height: 28, - stretchSize: true, - radius: 14, - loadingIndicatorSize: .ButtonLoadingIndicator.xsmall, - horizontalPadding: 10 - ) + return primaryXSmallConfig(stretchSize: true, backgroundColor: .Control.primary) case .secondaryXSmall: return StandardButtonConfig( normal: StandardButtonStyle.secondaryLarge.config.normal, From 395a3f568a25ed5f044bf7c28b9c0f61e9919ffe Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 28 Oct 2025 15:00:14 +0000 Subject: [PATCH 059/228] IOS-5364 Add explicit instruction to post review to PR --- .../workflows/claude-code-review-prompt.md | 37 +++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/.github/workflows/claude-code-review-prompt.md b/.github/workflows/claude-code-review-prompt.md index 6d7e09f0e7..456a20b5da 100644 --- a/.github/workflows/claude-code-review-prompt.md +++ b/.github/workflows/claude-code-review-prompt.md @@ -104,6 +104,43 @@ Always post a summary at the end: gh pr comment ${PR_NUMBER} --body "Review complete - see inline comments for details" ``` +## CRITICAL: Post Your Review + +**YOU MUST POST YOUR REVIEW TO THE PR** - analysis alone is not sufficient. + +After completing your review analysis: + +1. **For reviews with inline comments**: Post inline comments first using the strategies above, then post a final summary +2. **For reviews without inline comments**: Post your full review text as a single PR comment + +**Command**: +```bash +gh pr comment ${PR_NUMBER} --repo ${REPO} --body "YOUR_REVIEW_TEXT_HERE" +``` + +**Example** (clean approval): +```bash +gh pr comment ${PR_NUMBER} --repo ${REPO} --body "✅ **Approved** - No issues found" +``` + +**Example** (review with issues): +```bash +gh pr comment ${PR_NUMBER} --repo ${REPO} --body "## Bugs/Issues + +**SpaceHubToolbar.swift:109** +The \`attentionDotView\` overlay positioning is incorrect... + +--- + +⚠️ **Minor Issues** - Fix overlay positioning" +``` + +**Important**: +- Use single quotes to wrap multi-line review text if needed +- Escape special characters appropriately for bash +- Always include the status emoji summary at the end +- The workflow provides ${PR_NUMBER} and ${REPO} variables + ## Common Analysis Mistakes to Avoid ### Mistake: Assuming Unused Code After UI Element Removal From da734dc79f8481417fa60879657c31dc59e8464c Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Tue, 28 Oct 2025 16:10:10 +0100 Subject: [PATCH 060/228] Multilingual [skip ci] (#4168) --- .../Loc/Sources/Loc/Resources/Auth.xcstrings | 118 +++++++++--------- 1 file changed, 59 insertions(+), 59 deletions(-) diff --git a/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings b/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings index 214a568a9d..ab1af9ef33 100644 --- a/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings @@ -222,7 +222,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "I am new here" + "value" : "처음입니다" } }, "nb" : { @@ -520,7 +520,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "We’d love to share tips, tricks and product updates with you. Your email is never linked to your identity. We won’t share your data. Ever." + "value" : "우리는 팁과 사용법, 제품 업데이트 소식을 공유하고 싶어요. 이메일은 당신의 계정과 절대 연관되지 않습니다. 우리는 당신의 데이터를 공유하지 않습니다. 절대로요." } }, "nb" : { @@ -669,7 +669,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Incorrect email" + "value" : "잘못된 이메일" } }, "nb" : { @@ -818,7 +818,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Enter your email" + "value" : "이메일을 입력하세요" } }, "nb" : { @@ -967,7 +967,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Stay in the loop" + "value" : "계속 업데이트 받으세요" } }, "nb" : { @@ -1265,7 +1265,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Read more" + "value" : "더보기" } }, "nb" : { @@ -1414,7 +1414,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Not now" + "value" : "나중에" } }, "nb" : { @@ -1712,7 +1712,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Reveal and copy" + "value" : "복사한 뒤 보기" } }, "nb" : { @@ -1861,7 +1861,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "It replaces login and password. Keep it safe — you control your data. You can find this Key later in app settings." + "value" : "이것은 로그인과 비밀번호를 대체합니다. 안전한 곳에 보관하세요. 당신이 데이터를 통제합니다. 나중에 설정에서 키를 다시 확인할 수 있습니다." } }, "nb" : { @@ -2159,7 +2159,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "It’s your login and password" + "value" : "당신의 로그인 방법이자 비밀번호입니다" } }, "nb" : { @@ -2457,7 +2457,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Whoever has the key, has access" + "value" : "누구든지 키를 가지고 있으면 접근할 수 있습니다" } }, "nb" : { @@ -2755,7 +2755,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Only you responsible for it" + "value" : "오직 당신만이 책임을 집니다" } }, "nb" : { @@ -3203,7 +3203,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Select one role or background that best fits you" + "value" : "당신을 가장 잘 설명하는 역할을 선택하세요" } }, "nb" : { @@ -3352,7 +3352,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Tell Us About Yourself" + "value" : "당신에 대해 설명해주세요" } }, "nb" : { @@ -3501,7 +3501,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Artist / Content Creator" + "value" : "아티스트 / 콘텐츠 크리에이터" } }, "nb" : { @@ -3650,7 +3650,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Consultant" + "value" : "컨설턴트" } }, "nb" : { @@ -3799,7 +3799,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Designer" + "value" : "디자이너" } }, "nb" : { @@ -3948,7 +3948,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Software Developer" + "value" : "소프트웨어 개발자" } }, "nb" : { @@ -4097,7 +4097,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Founder / Entrepreneur" + "value" : "창업가 / 기업가" } }, "nb" : { @@ -4246,7 +4246,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Manager / IT Professional" + "value" : "관리자 / IT 전문가" } }, "nb" : { @@ -4395,7 +4395,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Marketer" + "value" : "마케터" } }, "nb" : { @@ -4544,7 +4544,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Researcher / Academic" + "value" : "연구자 / 학술자" } }, "nb" : { @@ -4693,7 +4693,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Student" + "value" : "학생" } }, "nb" : { @@ -4842,7 +4842,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Writer / Journalist" + "value" : "작가 / 언론인" } }, "nb" : { @@ -4991,7 +4991,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Habit tracking" + "value" : "습관 추적" } }, "nb" : { @@ -5140,7 +5140,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Personal knowledge base / PKM" + "value" : "개인 지식 관리 / PKM" } }, "nb" : { @@ -5289,7 +5289,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Life planning" + "value" : "인생 계획" } }, "nb" : { @@ -5438,7 +5438,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Messaging & group chats" + "value" : "메시지 & 그룹 채팅" } }, "nb" : { @@ -5587,7 +5587,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Personal note-taking" + "value" : "개인 노트 필기" } }, "nb" : { @@ -5736,7 +5736,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Projects & tasks management" + "value" : "프로젝트 & 할 일 관리" } }, "nb" : { @@ -5885,7 +5885,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Team work & shared docs" + "value" : "팀워크 & 공유 문서" } }, "nb" : { @@ -6332,7 +6332,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Add Your Name" + "value" : "이름을 추가하세요" } }, "nb" : { @@ -6481,7 +6481,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Pick one use case that fits you best" + "value" : "당신에게 가장 잘 맞는 사용 시나리오를 고르세요" } }, "nb" : { @@ -6630,7 +6630,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "What do you want to use Anytype for?" + "value" : "Anytype을 어디에 사용하려고 하시나요?" } }, "nb" : { @@ -6928,7 +6928,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "or enter with" + "value" : "또는 다음으로 들어가기" } }, "nb" : { @@ -7226,7 +7226,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Entering the Void" + "value" : "보관소에 들어가는 중" } }, "nb" : { @@ -7674,7 +7674,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Use keychain" + "value" : "키체인 사용" } }, "nb" : { @@ -7972,7 +7972,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Encrypted, local," + "value" : "암호화되며 로컬인," } }, "nb" : { @@ -8121,7 +8121,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "yours forever" + "value" : "영원한 당신의 것" } }, "nb" : { @@ -8270,7 +8270,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Continue with current vault" + "value" : "현재 보관소로 계속하기" } }, "nb" : { @@ -8419,7 +8419,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Logout from current vault" + "value" : "현재 보관소에서 로그아웃" } }, "nb" : { @@ -8568,7 +8568,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You launch app with a unstable middleware. Don't use your production vault. Your vault may be broken." + "value" : "안정 버전이 아닌 미들웨어와 함께 앱을 실행했습니다. 실제 사용하는 보관소를 쓰지 마세요. 보관소가 망가질 수 있습니다." } }, "nb" : { @@ -8718,7 +8718,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Warning" + "value" : "경고" } }, "nb" : { @@ -8867,7 +8867,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "I won't be using my production vault" + "value" : "실제 사용하는 보관소를 쓰지 않겠습니다" } }, "nb" : { @@ -9911,7 +9911,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You will need it to enter your vault. Keep it in a safe place. If you lose it, you can no longer enter your vault." + "value" : "보관소에 들어가려면 이것이 필요합니다. 안전한 곳에 보관하세요. 잃어버리면 더 이상 보관소에 접근할 수 없습니다." } }, "nb" : { @@ -10358,7 +10358,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Login Key" + "value" : "로그인 키" } }, "nb" : { @@ -10507,7 +10507,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Please clear approximately %@ of space and run the process again." + "value" : "저장 공간의 약 %@를 비운 뒤, 다시 진행하세요." } }, "nb" : { @@ -10656,7 +10656,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Not enough space" + "value" : "저장 공간 부족" } }, "nb" : { @@ -10805,7 +10805,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Read More" + "value" : "더보기" } }, "nb" : { @@ -10954,7 +10954,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Start Update" + "value" : "업데이트 시작" } }, "nb" : { @@ -11253,7 +11253,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "New Version Update" + "value" : "새 버전 업데이트" } }, "nb" : { @@ -11402,7 +11402,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "This may take some time. Please don’t close the app until the process is complete." + "value" : "약간 시간이 걸립니다. 완료되기 전까지 앱을 닫지 마세요." } }, "nb" : { @@ -11551,7 +11551,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Update is in progress..." + "value" : "업데이트가 진행 중입니다..." } }, "nb" : { @@ -11700,7 +11700,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You'll see a loading screen during the update. Once finished, you can continue using the app normally." + "value" : "업데이트를 하는 동안 로딩 화면이 표시됩니다. 업데이트가 완료되면 앱을 정상적으로 계속 사용할 수 있습니다." } }, "nb" : { @@ -11849,7 +11849,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "During this update, your data remains fully secure. The update is performed directly on your device, and your synced data remains unaffected. We’ll just copy it to a new format, and a local backup will be created on your device, containing all your data in the previous format." + "value" : "업데이트를 하는 동안, 당신의 데이터는 완전히 안전합니다. 업데이트는 직접 기기에서 진행되며, 동기화된 데이터는 영향을 받지 않습니다. 데이터가 새로운 형식으로 복사되며, 이전 형식의 데이터를 유지한 로컬 백업이 이 기기에 저장될 예정입니다." } }, "nb" : { @@ -11998,7 +11998,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "The reason we’re retaining this backup is to debug and assist you, in case of unforeseen." + "value" : "백업을 하는 이유는 만약의 상황이 일어나면 버그를 찾고 당신을 돕기 위해서입니다." } }, "nb" : { @@ -12147,7 +12147,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "What to Expect" + "value" : "다음과 같은 일들이 일어납니다" } }, "nb" : { @@ -12296,7 +12296,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Your Data Remains Safe" + "value" : "데이터는 안전하게 유지됩니다" } }, "nb" : { @@ -12445,7 +12445,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "We were unable to retrieve your vault data because your version is out-of-date. Please update Anytype to the latest version." + "value" : "버전이 오래되어 보관소 데이터를 받아올 수 없습니다. Anytype을 최신 버전으로 업데이트하세요." } }, "nb" : { From 90a4919641964e3ffc8755680872d168ee1ee037 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Tue, 28 Oct 2025 18:00:17 +0300 Subject: [PATCH 061/228] IOS-5399 Delete toggle --- .../ApplicationCoordinatorView.swift | 21 ++----------------- .../PhraseTextView/UIPhraseTextView.swift | 17 +++++++-------- .../EmailCollectionView.swift | 4 ++-- .../ServerConfigurationView.swift | 2 +- .../Generated/FeatureFlags+Flags.swift | 5 ----- .../FeatureDescription+Flags.swift | 6 ------ 6 files changed, 12 insertions(+), 43 deletions(-) diff --git a/Anytype/Sources/ApplicationLayer/AppCoordinator/ApplicationCoordinatorView.swift b/Anytype/Sources/ApplicationLayer/AppCoordinator/ApplicationCoordinatorView.swift index 2414b99f62..77c092fa1f 100644 --- a/Anytype/Sources/ApplicationLayer/AppCoordinator/ApplicationCoordinatorView.swift +++ b/Anytype/Sources/ApplicationLayer/AppCoordinator/ApplicationCoordinatorView.swift @@ -44,31 +44,14 @@ struct ApplicationCoordinatorView: View { switch model.applicationState { case .initial: InitialCoordinatorView() - .if(!FeatureFlags.brandNewAuthFlow) { - $0.overrideDefaultInterfaceStyle(.dark) - } case .auth: - if FeatureFlags.brandNewAuthFlow { - AuthCoordinatorView() - } else { - model.authView() - .overrideDefaultInterfaceStyle(.dark) - } + AuthCoordinatorView() case .login: LaunchView() - .if(!FeatureFlags.brandNewAuthFlow) { - $0.overrideDefaultInterfaceStyle(.dark) - } case .home: SpaceHubCoordinatorView() - .if(!FeatureFlags.brandNewAuthFlow) { - $0.overrideDefaultInterfaceStyle(nil) - } case .delete: - model.deleteAccount()? - .if(!FeatureFlags.brandNewAuthFlow) { - $0.overrideDefaultInterfaceStyle(nil) - } + model.deleteAccount() } } } diff --git a/Anytype/Sources/PresentationLayer/Auth/PhraseTextView/UIPhraseTextView.swift b/Anytype/Sources/PresentationLayer/Auth/PhraseTextView/UIPhraseTextView.swift index f1fb02893b..af213e90a4 100644 --- a/Anytype/Sources/PresentationLayer/Auth/PhraseTextView/UIPhraseTextView.swift +++ b/Anytype/Sources/PresentationLayer/Auth/PhraseTextView/UIPhraseTextView.swift @@ -10,13 +10,10 @@ class UIPhraseTextView: UITextView, UITextViewDelegate { private lazy var placeholderLabel: UILabel = { let label = UILabel() label.text = Loc.Auth.LoginFlow.Textfield.placeholder - label.textColor = FeatureFlags.brandNewAuthFlow ? UIColor.Text.tertiary : UIColor.Text.primary + label.textColor = UIColor.Text.tertiary label.font = self.font label.textAlignment = self.textAlignment label.numberOfLines = 0 - if !FeatureFlags.brandNewAuthFlow { - label.layer.opacity = 0.3 - } return label }() @@ -61,10 +58,10 @@ class UIPhraseTextView: UITextView, UITextViewDelegate { autocapitalizationType = .none showsVerticalScrollIndicator = false showsHorizontalScrollIndicator = false - font = FeatureFlags.brandNewAuthFlow ? AnytypeFont.previewTitle1Regular.uiKitFont : AnytypeFont.authInput.uiKitFont - tintColor = FeatureFlags.brandNewAuthFlow ? UIColor.Control.accent100 : UIColor.Auth.inputText + font = AnytypeFont.previewTitle1Regular.uiKitFont + tintColor = UIColor.Control.accent100 textContainer.lineFragmentPadding = 0.0 - backgroundColor = FeatureFlags.brandNewAuthFlow ? UIColor.Shape.transperentSecondary : UIColor.Shape.transperentSecondary.withAlphaComponent(0.14) + backgroundColor = UIColor.Shape.transperentSecondary layer.cornerRadius = 16 layer.cornerCurve = .continuous textContentType = .password @@ -108,9 +105,9 @@ class UIPhraseTextView: UITextView, UITextViewDelegate { extension UIPhraseTextView { private func configureAttributedString(from text: String, hidden: Bool) -> NSAttributedString { - - let foregroundColor = FeatureFlags.brandNewAuthFlow ? UIColor.Text.primary : UIColor.Control.white - let anytypeFont: AnytypeFont = FeatureFlags.brandNewAuthFlow ? AnytypeFont.previewTitle1Regular : AnytypeFont.authInput + + let foregroundColor = UIColor.Text.primary + let anytypeFont: AnytypeFont = AnytypeFont.previewTitle1Regular let style = NSMutableParagraphStyle() style.lineSpacing = anytypeFont.config.lineHeight let attributes = [ diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/EmailCollectionView/EmailCollectionView.swift b/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/EmailCollectionView/EmailCollectionView.swift index 082e1defd7..bbe97c5db4 100644 --- a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/EmailCollectionView/EmailCollectionView.swift +++ b/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/EmailCollectionView/EmailCollectionView.swift @@ -37,7 +37,7 @@ struct EmailCollectionView: View { Loc.Auth.JoinFlow.Email.description, style: .bodyRegular ) - .foregroundColor(FeatureFlags.brandNewAuthFlow ? .Text.secondary : .Text.primary) + .foregroundColor(.Text.secondary) .multilineTextAlignment(.center) .padding(.horizontal, 20) @@ -91,7 +91,7 @@ struct EmailCollectionView: View { if FeatureFlags.skipOnboardingEmailCollection { StandardButton( Loc.skip, - style: FeatureFlags.brandNewAuthFlow ? .linkLarge : .secondaryLarge, + style: .linkLarge, action: { model.onSkipAction() } diff --git a/Anytype/Sources/PresentationLayer/Modules/ServerConfiguration/ServerConfigurationView.swift b/Anytype/Sources/PresentationLayer/Modules/ServerConfiguration/ServerConfigurationView.swift index 22bdd65042..599aa0348f 100644 --- a/Anytype/Sources/PresentationLayer/Modules/ServerConfiguration/ServerConfigurationView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/ServerConfiguration/ServerConfigurationView.swift @@ -37,7 +37,7 @@ struct ServerConfigurationView: View { StandardButton( Loc.Server.addButton, - style: FeatureFlags.brandNewAuthFlow ? .secondaryLarge : .secondaryMedium) + style: .secondaryLarge) { model.onTapAddServer() } diff --git a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift index 7acd14cac7..84f9a522b1 100644 --- a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift @@ -38,10 +38,6 @@ public extension FeatureFlags { value(for: .vaultBackToRoots) } - static var brandNewAuthFlow: Bool { - value(for: .brandNewAuthFlow) - } - static var showAllButtonInWidgets: Bool { value(for: .showAllButtonInWidgets) } @@ -144,7 +140,6 @@ public extension FeatureFlags { .fixCollectionViewReuseCrashInEditor, .loadAttachmentsOnHomePlusMenu, .vaultBackToRoots, - .brandNewAuthFlow, .showAllButtonInWidgets, .turnOffAutomaticWidgetOpening, .channelTypeSwitcher, diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index b3096a0727..960519b216 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -51,12 +51,6 @@ public extension FeatureDescription { type: .feature(author: "vova@anytype.io", releaseVersion: "13"), defaultValue: true ) - - static let brandNewAuthFlow = FeatureDescription( - title: "New auth flow", - type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "13"), - defaultValue: true - ) static let showAllButtonInWidgets = FeatureDescription( title: "See all as the last point in the widget - IOS-4945", From 73fa5258fa7106d8d7f71de7c04d888826412cbc Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Tue, 28 Oct 2025 18:13:34 +0300 Subject: [PATCH 062/228] IOS-5399 Delete old module. Move new module # Conflicts: # Modules/Loc/Sources/Loc/Resources/Auth.xcstrings --- .../ApplicationCoordinatorViewModel.swift | 18 +- .../Auth/Auth/AuthBackgroundView.swift | 55 -- .../Auth/Auth/AuthCoordinator.swift | 43 - .../Auth/Auth/AuthView.swift | 120 --- .../Auth/Auth/AuthViewModel.swift | 179 ----- .../Auth/Auth/AuthViewModelOutput.swift | 8 - .../AuthCoordinatorView.swift | 0 .../AuthCoordinatorViewModel.swift | 0 .../{AuthNew => Auth}/Circle/AuthCircle.swift | 0 .../Circle/AuthCircleEnv.swift | 0 .../Circle/AuthOverlayCircle.swift | 0 .../Join/JoinCoordinatorView.swift | 0 .../Join/JoinCoordinatorViewModel.swift | 0 .../EmailCollectionView.swift | 0 .../EmailCollectionViewModel.swift | 0 .../Join/JoinView/JoinBaseOutput.swift | 0 .../InfoSelectionOption.swift | 0 .../InfoSelectionView/InfoSelectionView.swift | 0 .../JoinSelectionView/JoinSelectionType.swift | 0 .../JoinSelectionView/JoinSelectionView.swift | 0 .../JoinSelectionViewModel.swift | 0 .../Join/JoinView/JoinStep.swift | 0 .../Join/JoinView/JoinView.swift | 0 .../Join/JoinView/JoinViewModel.swift | 0 .../KeyPhraseMoreInfoView.swift | 0 .../Shared}/KeyPhraseView/KeyPhraseView.swift | 0 .../KeyPhraseView/KeyPhraseViewModel.swift | 0 .../Shared}/Models/JoinFlowState.swift | 0 .../Shared}/Models/JoinFlowStepOutput.swift | 0 .../Auth/JoinFlow/JoinFlowCoordinator.swift | 33 - .../Auth/JoinFlow/JoinFlowOutput.swift | 9 - .../Auth/JoinFlow/JoinFlowView.swift | 89 --- .../Auth/JoinFlow/JoinFlowViewModel.swift | 93 --- .../Auth/JoinFlow/Models/JoinFlowStep.swift | 29 - .../Auth/JoinFlow/SoulView/SoulView.swift | 79 -- .../JoinFlow/SoulView/SoulViewModel.swift | 91 --- .../Login/LoginCoordinatorView.swift | 0 .../Login/LoginCoordinatorViewModel.swift | 0 .../Login/LoginView/LoginOutput.swift | 0 .../Login/LoginView/LoginView.swift | 0 .../Login/LoginView/LoginViewModel.swift | 0 .../Auth/LoginFlow/LoginDepricatedView.swift | 152 ---- .../LoginFlow/LoginDepricatedViewModel.swift | 225 ------ .../Auth/LoginFlow/LoginFlowCoordinator.swift | 17 - .../Auth/LoginFlow/LoginFlowOutput.swift | 5 - .../Auth/LoginFlow/LoginLoadingRoute.swift | 22 - .../PrimaryAuthView/AuthViewModelError.swift | 5 + .../PrimaryAuthView/PrimaryAuthOutput.swift | 0 .../PrimaryAuthView/PrimaryAuthView.swift | 0 .../PrimaryAuthViewModel.swift | 0 .../Loc/Sources/Loc/Generated/Strings.swift | 13 - .../Loc/Sources/Loc/Resources/Auth.xcstrings | 745 ------------------ 52 files changed, 6 insertions(+), 2024 deletions(-) delete mode 100644 Anytype/Sources/PresentationLayer/Auth/Auth/AuthBackgroundView.swift delete mode 100644 Anytype/Sources/PresentationLayer/Auth/Auth/AuthCoordinator.swift delete mode 100644 Anytype/Sources/PresentationLayer/Auth/Auth/AuthView.swift delete mode 100644 Anytype/Sources/PresentationLayer/Auth/Auth/AuthViewModel.swift delete mode 100644 Anytype/Sources/PresentationLayer/Auth/Auth/AuthViewModelOutput.swift rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/AuthCoordinatorView.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/AuthCoordinatorViewModel.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Circle/AuthCircle.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Circle/AuthCircleEnv.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Circle/AuthOverlayCircle.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Join/JoinCoordinatorView.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Join/JoinCoordinatorViewModel.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Join/JoinView/EmailCollectionView/EmailCollectionView.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Join/JoinView/EmailCollectionView/EmailCollectionViewModel.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Join/JoinView/JoinBaseOutput.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Join/JoinView/JoinSelectionView/InfoSelectionView/InfoSelectionOption.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Join/JoinView/JoinSelectionView/InfoSelectionView/InfoSelectionView.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Join/JoinView/JoinSelectionView/JoinSelectionType.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Join/JoinView/JoinSelectionView/JoinSelectionView.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Join/JoinView/JoinSelectionView/JoinSelectionViewModel.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Join/JoinView/JoinStep.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Join/JoinView/JoinView.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Join/JoinView/JoinViewModel.swift (100%) rename Anytype/Sources/PresentationLayer/Auth/{JoinFlow => Join/Shared}/KeyPhraseMoreInfoView/KeyPhraseMoreInfoView.swift (100%) rename Anytype/Sources/PresentationLayer/Auth/{JoinFlow => Join/Shared}/KeyPhraseView/KeyPhraseView.swift (100%) rename Anytype/Sources/PresentationLayer/Auth/{JoinFlow => Join/Shared}/KeyPhraseView/KeyPhraseViewModel.swift (100%) rename Anytype/Sources/PresentationLayer/Auth/{JoinFlow => Join/Shared}/Models/JoinFlowState.swift (100%) rename Anytype/Sources/PresentationLayer/Auth/{JoinFlow => Join/Shared}/Models/JoinFlowStepOutput.swift (100%) delete mode 100644 Anytype/Sources/PresentationLayer/Auth/JoinFlow/JoinFlowCoordinator.swift delete mode 100644 Anytype/Sources/PresentationLayer/Auth/JoinFlow/JoinFlowOutput.swift delete mode 100644 Anytype/Sources/PresentationLayer/Auth/JoinFlow/JoinFlowView.swift delete mode 100644 Anytype/Sources/PresentationLayer/Auth/JoinFlow/JoinFlowViewModel.swift delete mode 100644 Anytype/Sources/PresentationLayer/Auth/JoinFlow/Models/JoinFlowStep.swift delete mode 100644 Anytype/Sources/PresentationLayer/Auth/JoinFlow/SoulView/SoulView.swift delete mode 100644 Anytype/Sources/PresentationLayer/Auth/JoinFlow/SoulView/SoulViewModel.swift rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Login/LoginCoordinatorView.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Login/LoginCoordinatorViewModel.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Login/LoginView/LoginOutput.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Login/LoginView/LoginView.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/Login/LoginView/LoginViewModel.swift (100%) delete mode 100644 Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginDepricatedView.swift delete mode 100644 Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginDepricatedViewModel.swift delete mode 100644 Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginFlowCoordinator.swift delete mode 100644 Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginFlowOutput.swift delete mode 100644 Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginLoadingRoute.swift create mode 100644 Anytype/Sources/PresentationLayer/Auth/PrimaryAuthView/AuthViewModelError.swift rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/PrimaryAuthView/PrimaryAuthOutput.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/PrimaryAuthView/PrimaryAuthView.swift (100%) rename Anytype/Sources/PresentationLayer/{AuthNew => Auth}/PrimaryAuthView/PrimaryAuthViewModel.swift (100%) diff --git a/Anytype/Sources/ApplicationLayer/AppCoordinator/ApplicationCoordinatorViewModel.swift b/Anytype/Sources/ApplicationLayer/AppCoordinator/ApplicationCoordinatorViewModel.swift index e23e4e64f2..4a4af2807b 100644 --- a/Anytype/Sources/ApplicationLayer/AppCoordinator/ApplicationCoordinatorViewModel.swift +++ b/Anytype/Sources/ApplicationLayer/AppCoordinator/ApplicationCoordinatorViewModel.swift @@ -24,8 +24,7 @@ final class ApplicationCoordinatorViewModel: ObservableObject { private var basicUserInfoStorage: any BasicUserInfoStorageProtocol @Injected(\.pushNotificationsPermissionService) private var pushNotificationsPermissionService: any PushNotificationsPermissionServiceProtocol - - private var authCoordinator: (any AuthCoordinatorProtocol)? + private var dismissAllPresented: DismissAllPresented? // MARK: - State @@ -34,21 +33,6 @@ final class ApplicationCoordinatorViewModel: ObservableObject { @Published var toastBarData: ToastBarData? @Published var migrationData: MigrationModuleData? @Published var selectAccountTaskId: String? - - // MARK: - Initializers - - func authView() -> AnyView { - if let authCoordinator { - return authCoordinator.startFlow() - } - - let coordinator = AuthCoordinator( - joinFlowCoordinator: JoinFlowCoordinator(), - loginFlowCoordinator: LoginFlowCoordinator() - ) - self.authCoordinator = coordinator - return coordinator.startFlow() - } func deleteAccount() -> AnyView? { if case let .pendingDeletion(deadline) = accountManager.account.status { diff --git a/Anytype/Sources/PresentationLayer/Auth/Auth/AuthBackgroundView.swift b/Anytype/Sources/PresentationLayer/Auth/Auth/AuthBackgroundView.swift deleted file mode 100644 index 1c5ca1762a..0000000000 --- a/Anytype/Sources/PresentationLayer/Auth/Auth/AuthBackgroundView.swift +++ /dev/null @@ -1,55 +0,0 @@ -import SwiftUI - -struct AuthBackgroundView: View where Content: View { - - let url: URL? - let content: () -> Content - - var body: some View { - GeometryReader { geo in - let topOffset = geo.size.height / 6.5 - let bottomOffset = geo.size.height / 4 - let height = geo.size.height - topOffset - bottomOffset - backgroundView( - width: geo.size.width, - height: height, - topOffset: topOffset, - bottomOffset: bottomOffset - ) - } - .background(Color.Background.primary) - .overlay { - navigationView - } - .ignoresSafeArea(.all) - } - - private func backgroundView( - width: CGFloat, - height: CGFloat, - topOffset: CGFloat, - bottomOffset: CGFloat) -> some View - { - VStack(spacing: 0) { - Spacer.fixedHeight(topOffset) - playerView(width: width, height: height) - Spacer.fixedHeight(bottomOffset) - } - } - - private var navigationView: some View { - NavigationStack { - content() - } - .disablePresentationBackground() - } - - @ViewBuilder - private func playerView(width: CGFloat, height: CGFloat) -> some View { - if let url { - LoopingPlayerView(url: url) - .aspectRatio(UIDevice.isPad ? 0.85 : 0.53, contentMode: .fill) - .frame(width: width, height: height) - } - } -} diff --git a/Anytype/Sources/PresentationLayer/Auth/Auth/AuthCoordinator.swift b/Anytype/Sources/PresentationLayer/Auth/Auth/AuthCoordinator.swift deleted file mode 100644 index 326f5cc03b..0000000000 --- a/Anytype/Sources/PresentationLayer/Auth/Auth/AuthCoordinator.swift +++ /dev/null @@ -1,43 +0,0 @@ -import SwiftUI - -@MainActor -protocol AuthCoordinatorProtocol { - func startFlow() -> AnyView -} - -@MainActor -final class AuthCoordinator: AuthCoordinatorProtocol, AuthViewModelOutput { - - // MARK: - DI - - private let joinFlowCoordinator: any JoinFlowCoordinatorProtocol - private let loginFlowCoordinator: any LoginFlowCoordinatorProtocol - - init( - joinFlowCoordinator: some JoinFlowCoordinatorProtocol, - loginFlowCoordinator: some LoginFlowCoordinatorProtocol - ) { - self.joinFlowCoordinator = joinFlowCoordinator - self.loginFlowCoordinator = loginFlowCoordinator - } - - // MARK: - AuthCoordinatorProtocol - - func startFlow() -> AnyView { - AuthView(output: self).eraseToAnyView() - } - - // MARK: - AuthViewModelOutput - - func onJoinAction(state: JoinFlowState) -> AnyView { - joinFlowCoordinator.startFlow(state: state) - } - - func onLoginAction() -> AnyView { - loginFlowCoordinator.startFlow() - } - - func onSettingsAction() -> AnyView { - ServerConfigurationCoordinatorView().eraseToAnyView() - } -} diff --git a/Anytype/Sources/PresentationLayer/Auth/Auth/AuthView.swift b/Anytype/Sources/PresentationLayer/Auth/Auth/AuthView.swift deleted file mode 100644 index 70ae6efc3a..0000000000 --- a/Anytype/Sources/PresentationLayer/Auth/Auth/AuthView.swift +++ /dev/null @@ -1,120 +0,0 @@ -import SwiftUI -import AnytypeCore -import AudioToolbox - -struct AuthView: View { - - @StateObject private var model: AuthViewModel - - init(output: (any AuthViewModelOutput)?) { - _model = StateObject(wrappedValue: AuthViewModel(output: output)) - } - - var body: some View { - AuthBackgroundView(url: model.videoUrl()) { - content - } - } - - private var content: some View { - VStack(alignment: .center, spacing: 0) { - header - Spacer.fixedHeight(48) - Spacer() - greetings - Spacer() - buttons - Spacer.fixedHeight(16) - privacyPolicy - Spacer.fixedHeight(14) - } - .padding(.horizontal, 20) - .ignoresSafeArea(.keyboard) - .navigationBarHidden(true) - .opacity(model.opacity) - .onAppear { - model.onAppear() - } - .disablePresentationBackground() - .ifLet(model.errorText) { view, errorText in - view.alertView(isShowing: $model.showError, errorText: errorText, onButtonTap: {}) - } - .fitIPadToReadableContentGuide() - } - - @ViewBuilder - private var greetings: some View { - Image(asset: .Auth.greetings) - .onTapGesture(count: 10) { - AudioServicesPlaySystemSound(1109) - model.showDebugMenu.toggle() - } - .sheet(isPresented: $model.showDebugMenu) { - DebugMenuView() - } - } - - private var header: some View { - HStack { - Spacer() - Button { - model.showSettings.toggle() - } label: { - Image(asset: .NavigationBase.settings) - .foregroundColor(.Control.secondary) - } - .disabled(model.inProgress) - } - .sheet(isPresented: $model.showSettings) { - model.onSettingsAction() - } - } - - private var buttons: some View { - VStack(spacing: 12) { - StandardButton( - Loc.Auth.Button.join, - inProgress: model.inProgress, - style: .primaryLarge, - action: { - model.onJoinButtonTap() - } - ) - .colorScheme(.light) - .navigationDestination(isPresented: $model.showJoinFlow) { - model.onJoinAction() - } - - StandardButton( - Loc.Auth.logIn, - style: .secondaryLarge, - action: { - model.onLoginButtonTap() - } - ) - .navigationDestination(isPresented: $model.showLoginFlow) { - model.onLoginAction() - } - .disabled(model.inProgress) - } - } - - private var privacyPolicy: some View { - AnytypeText( - Loc.agreementDisclamer(AboutApp.termsLink, AboutApp.privacyPolicyLink), - style: .authCaption, - enableMarkdown: true - ) - .foregroundColor(.Auth.caption) - .multilineTextAlignment(.center) - .padding(.horizontal, 38) - .accentColor(.Auth.body) - .disabled(model.inProgress) - } -} - -struct AuthView_Previews : PreviewProvider { - static var previews: some View { - AuthView(output: nil) - } -} diff --git a/Anytype/Sources/PresentationLayer/Auth/Auth/AuthViewModel.swift b/Anytype/Sources/PresentationLayer/Auth/Auth/AuthViewModel.swift deleted file mode 100644 index 1dabfe2d40..0000000000 --- a/Anytype/Sources/PresentationLayer/Auth/Auth/AuthViewModel.swift +++ /dev/null @@ -1,179 +0,0 @@ -import SwiftUI -import Combine -import Services -import AnytypeCore - -enum AuthViewModelError: Error { - case unsupportedAppAction -} - -@MainActor -final class AuthViewModel: ObservableObject { - - @Published var showJoinFlow: Bool = false - @Published var showLoginFlow: Bool = false - @Published var showDebugMenu: Bool = false - @Published var showSettings: Bool = false - @Published var inProgress = false - @Published var opacity: Double = 1 - @Published var errorText: String? { - didSet { showError = errorText.isNotNil } - } - @Published var showError: Bool = false - - // MARK: - State - private let state = JoinFlowState() - - // MARK: - Private - private weak var output: (any AuthViewModelOutput)? - - @Injected(\.serverConfigurationStorage) - private var serverConfigurationStorage: any ServerConfigurationStorageProtocol - @Injected(\.appActionStorage) - private var appActionsStorage: AppActionStorage - @Injected(\.authService) - private var authService: any AuthServiceProtocol - @Injected(\.seedService) - private var seedService: any SeedServiceProtocol - @Injected(\.usecaseService) - private var usecaseService: any UsecaseServiceProtocol - @Injected(\.workspaceService) - private var workspaceService: any WorkspaceServiceProtocol - @Injected(\.pushNotificationsPermissionService) - private var pushNotificationsPermissionService: any PushNotificationsPermissionServiceProtocol - - private var subscription: AnyCancellable? - - init(output: (any AuthViewModelOutput)?) { - self.output = output - } - - // MARK: - Public - - func onAppear() { - changeContentOpacity(false) - startSubscriptions() - AnytypeAnalytics.instance().logMainAuthScreenShow() - } - - private func startSubscriptions() { - subscription = appActionsStorage.$action.receiveOnMain().sink { [weak self] action in - guard let action, let self else { return } - - if (try? handleAppAction(action: action)).isNotNil { - appActionsStorage.action = nil - } - } - } - - func videoUrl() -> URL? { - guard let url = Bundle.main.url(forResource: "anytype-shader-S", withExtension: "mp4") else { - return nil - } - return url - } - - func onJoinButtonTap() { - if state.mnemonic.isEmpty { - createAccount() - } else { - onSuccess() - } - } - - func onJoinAction() -> AnyView? { - output?.onJoinAction(state: state) - } - - func onLoginButtonTap() { - showLoginFlow.toggle() - changeContentOpacity(true) - } - - func onLoginAction() -> AnyView? { - output?.onLoginAction() - } - - func onSettingsButtonTap() { - showSettings.toggle() - } - - func onSettingsAction() -> AnyView? { - return output?.onSettingsAction() - } - - // MARK: - Create account step - - private func createAccount() { - Task { - AnytypeAnalytics.instance().logStartCreateAccount() - inProgress = true - - do { - state.mnemonic = try await authService.createWallet() - let iconOption = IconColorStorage.randomOption() - let account = try await authService.createAccount( - name: "", - iconOption: iconOption, - imagePath: "" - ) - await pushNotificationsPermissionService.registerForRemoteNotificationsIfNeeded() - try await setDefaultSpaceInfo(account.info.accountSpaceId, iconOption: iconOption) - try? seedService.saveSeed(state.mnemonic) - - onSuccess() - } catch { - createAccountError(error) - } - } - } - - private func setDefaultSpaceInfo(_ spaceId: String, iconOption: Int) async throws { - guard spaceId.isNotEmpty else { return } - let startingObjectId = try? await usecaseService.setObjectImportDefaultUseCase(spaceId: spaceId) - if !FeatureFlags.turnOffAutomaticWidgetOpening, let startingObjectId, startingObjectId.isNotEmpty, appActionsStorage.action.isNil { - appActionsStorage.action = .openObject(objectId: startingObjectId, spaceId: spaceId) - } - try? await workspaceService.workspaceSetDetails( - spaceId: spaceId, - details: [.name(Loc.myFirstSpace), .iconOption(iconOption)] - ) - } - - private func onSuccess() { - inProgress = false - showJoinFlow.toggle() - changeContentOpacity(true) - } - - private func createAccountError(_ error: some Error) { - inProgress = false - errorText = error.localizedDescription - } - - private func changeContentOpacity(_ hide: Bool) { - withAnimation(.fastSpring) { - opacity = hide ? 0 : 1 - } - } - - private func handleAppAction(action: AppAction) throws { - switch action { - case .createObjectFromQuickAction, .openObject: - throw AuthViewModelError.unsupportedAppAction - case .deepLink(let deeplink, _): - switch deeplink { - case .networkConfig(let config): - try updateNetworkConfig(config) - case .createObjectFromWidget, .showSharingExtension, .galleryImport, .invite, .object, .membership: - throw AuthViewModelError.unsupportedAppAction - } - } - } - - private func updateNetworkConfig(_ config: String) throws { - try serverConfigurationStorage.addConfiguration(fileBase64Content: config, setupAsCurrent: true) - AnytypeAnalytics.instance().logUploadNetworkConfiguration() - AnytypeAnalytics.instance().logSelectNetwork(type: .selfHost, route: .deeplink) - } -} diff --git a/Anytype/Sources/PresentationLayer/Auth/Auth/AuthViewModelOutput.swift b/Anytype/Sources/PresentationLayer/Auth/Auth/AuthViewModelOutput.swift deleted file mode 100644 index 7608dc6e2b..0000000000 --- a/Anytype/Sources/PresentationLayer/Auth/Auth/AuthViewModelOutput.swift +++ /dev/null @@ -1,8 +0,0 @@ -import SwiftUI - -@MainActor -protocol AuthViewModelOutput: AnyObject { - func onJoinAction(state: JoinFlowState) -> AnyView - func onLoginAction() -> AnyView - func onSettingsAction() -> AnyView -} diff --git a/Anytype/Sources/PresentationLayer/AuthNew/AuthCoordinatorView.swift b/Anytype/Sources/PresentationLayer/Auth/AuthCoordinatorView.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/AuthCoordinatorView.swift rename to Anytype/Sources/PresentationLayer/Auth/AuthCoordinatorView.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/AuthCoordinatorViewModel.swift b/Anytype/Sources/PresentationLayer/Auth/AuthCoordinatorViewModel.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/AuthCoordinatorViewModel.swift rename to Anytype/Sources/PresentationLayer/Auth/AuthCoordinatorViewModel.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Circle/AuthCircle.swift b/Anytype/Sources/PresentationLayer/Auth/Circle/AuthCircle.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Circle/AuthCircle.swift rename to Anytype/Sources/PresentationLayer/Auth/Circle/AuthCircle.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Circle/AuthCircleEnv.swift b/Anytype/Sources/PresentationLayer/Auth/Circle/AuthCircleEnv.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Circle/AuthCircleEnv.swift rename to Anytype/Sources/PresentationLayer/Auth/Circle/AuthCircleEnv.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Circle/AuthOverlayCircle.swift b/Anytype/Sources/PresentationLayer/Auth/Circle/AuthOverlayCircle.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Circle/AuthOverlayCircle.swift rename to Anytype/Sources/PresentationLayer/Auth/Circle/AuthOverlayCircle.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinCoordinatorView.swift b/Anytype/Sources/PresentationLayer/Auth/Join/JoinCoordinatorView.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Join/JoinCoordinatorView.swift rename to Anytype/Sources/PresentationLayer/Auth/Join/JoinCoordinatorView.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinCoordinatorViewModel.swift b/Anytype/Sources/PresentationLayer/Auth/Join/JoinCoordinatorViewModel.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Join/JoinCoordinatorViewModel.swift rename to Anytype/Sources/PresentationLayer/Auth/Join/JoinCoordinatorViewModel.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/EmailCollectionView/EmailCollectionView.swift b/Anytype/Sources/PresentationLayer/Auth/Join/JoinView/EmailCollectionView/EmailCollectionView.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/EmailCollectionView/EmailCollectionView.swift rename to Anytype/Sources/PresentationLayer/Auth/Join/JoinView/EmailCollectionView/EmailCollectionView.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/EmailCollectionView/EmailCollectionViewModel.swift b/Anytype/Sources/PresentationLayer/Auth/Join/JoinView/EmailCollectionView/EmailCollectionViewModel.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/EmailCollectionView/EmailCollectionViewModel.swift rename to Anytype/Sources/PresentationLayer/Auth/Join/JoinView/EmailCollectionView/EmailCollectionViewModel.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinBaseOutput.swift b/Anytype/Sources/PresentationLayer/Auth/Join/JoinView/JoinBaseOutput.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinBaseOutput.swift rename to Anytype/Sources/PresentationLayer/Auth/Join/JoinView/JoinBaseOutput.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinSelectionView/InfoSelectionView/InfoSelectionOption.swift b/Anytype/Sources/PresentationLayer/Auth/Join/JoinView/JoinSelectionView/InfoSelectionView/InfoSelectionOption.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinSelectionView/InfoSelectionView/InfoSelectionOption.swift rename to Anytype/Sources/PresentationLayer/Auth/Join/JoinView/JoinSelectionView/InfoSelectionView/InfoSelectionOption.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinSelectionView/InfoSelectionView/InfoSelectionView.swift b/Anytype/Sources/PresentationLayer/Auth/Join/JoinView/JoinSelectionView/InfoSelectionView/InfoSelectionView.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinSelectionView/InfoSelectionView/InfoSelectionView.swift rename to Anytype/Sources/PresentationLayer/Auth/Join/JoinView/JoinSelectionView/InfoSelectionView/InfoSelectionView.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinSelectionView/JoinSelectionType.swift b/Anytype/Sources/PresentationLayer/Auth/Join/JoinView/JoinSelectionView/JoinSelectionType.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinSelectionView/JoinSelectionType.swift rename to Anytype/Sources/PresentationLayer/Auth/Join/JoinView/JoinSelectionView/JoinSelectionType.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinSelectionView/JoinSelectionView.swift b/Anytype/Sources/PresentationLayer/Auth/Join/JoinView/JoinSelectionView/JoinSelectionView.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinSelectionView/JoinSelectionView.swift rename to Anytype/Sources/PresentationLayer/Auth/Join/JoinView/JoinSelectionView/JoinSelectionView.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinSelectionView/JoinSelectionViewModel.swift b/Anytype/Sources/PresentationLayer/Auth/Join/JoinView/JoinSelectionView/JoinSelectionViewModel.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinSelectionView/JoinSelectionViewModel.swift rename to Anytype/Sources/PresentationLayer/Auth/Join/JoinView/JoinSelectionView/JoinSelectionViewModel.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinStep.swift b/Anytype/Sources/PresentationLayer/Auth/Join/JoinView/JoinStep.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinStep.swift rename to Anytype/Sources/PresentationLayer/Auth/Join/JoinView/JoinStep.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinView.swift b/Anytype/Sources/PresentationLayer/Auth/Join/JoinView/JoinView.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinView.swift rename to Anytype/Sources/PresentationLayer/Auth/Join/JoinView/JoinView.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinViewModel.swift b/Anytype/Sources/PresentationLayer/Auth/Join/JoinView/JoinViewModel.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Join/JoinView/JoinViewModel.swift rename to Anytype/Sources/PresentationLayer/Auth/Join/JoinView/JoinViewModel.swift diff --git a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/KeyPhraseMoreInfoView/KeyPhraseMoreInfoView.swift b/Anytype/Sources/PresentationLayer/Auth/Join/Shared/KeyPhraseMoreInfoView/KeyPhraseMoreInfoView.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/Auth/JoinFlow/KeyPhraseMoreInfoView/KeyPhraseMoreInfoView.swift rename to Anytype/Sources/PresentationLayer/Auth/Join/Shared/KeyPhraseMoreInfoView/KeyPhraseMoreInfoView.swift diff --git a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/KeyPhraseView/KeyPhraseView.swift b/Anytype/Sources/PresentationLayer/Auth/Join/Shared/KeyPhraseView/KeyPhraseView.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/Auth/JoinFlow/KeyPhraseView/KeyPhraseView.swift rename to Anytype/Sources/PresentationLayer/Auth/Join/Shared/KeyPhraseView/KeyPhraseView.swift diff --git a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/KeyPhraseView/KeyPhraseViewModel.swift b/Anytype/Sources/PresentationLayer/Auth/Join/Shared/KeyPhraseView/KeyPhraseViewModel.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/Auth/JoinFlow/KeyPhraseView/KeyPhraseViewModel.swift rename to Anytype/Sources/PresentationLayer/Auth/Join/Shared/KeyPhraseView/KeyPhraseViewModel.swift diff --git a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/Models/JoinFlowState.swift b/Anytype/Sources/PresentationLayer/Auth/Join/Shared/Models/JoinFlowState.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/Auth/JoinFlow/Models/JoinFlowState.swift rename to Anytype/Sources/PresentationLayer/Auth/Join/Shared/Models/JoinFlowState.swift diff --git a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/Models/JoinFlowStepOutput.swift b/Anytype/Sources/PresentationLayer/Auth/Join/Shared/Models/JoinFlowStepOutput.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/Auth/JoinFlow/Models/JoinFlowStepOutput.swift rename to Anytype/Sources/PresentationLayer/Auth/Join/Shared/Models/JoinFlowStepOutput.swift diff --git a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/JoinFlowCoordinator.swift b/Anytype/Sources/PresentationLayer/Auth/JoinFlow/JoinFlowCoordinator.swift deleted file mode 100644 index c91410819a..0000000000 --- a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/JoinFlowCoordinator.swift +++ /dev/null @@ -1,33 +0,0 @@ -import SwiftUI - -@MainActor -protocol JoinFlowCoordinatorProtocol { - func startFlow(state: JoinFlowState) -> AnyView -} - -@MainActor -final class JoinFlowCoordinator: JoinFlowCoordinatorProtocol, JoinFlowOutput { - - // MARK: - JoinFlowCoordinatorProtocol - - func startFlow(state: JoinFlowState) -> AnyView { - JoinFlowView(state: state, output: self).eraseToAnyView() - } - - // MARK: - JoinFlowOutput - - func onStepChanged(_ step: JoinFlowStep, state: JoinFlowState, output: some JoinFlowStepOutput) -> AnyView { - switch step { - case .key: - KeyPhraseView(state: state, output: output).eraseToAnyView() - case .soul: - SoulView(state: state, output: output).eraseToAnyView() - case .email: - EmailCollectionView(state: state, output: output).eraseToAnyView() - } - } - - func keyPhraseMoreInfo() -> AnyView { - KeyPhraseMoreInfoView().eraseToAnyView() - } -} diff --git a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/JoinFlowOutput.swift b/Anytype/Sources/PresentationLayer/Auth/JoinFlow/JoinFlowOutput.swift deleted file mode 100644 index 3cb2380a94..0000000000 --- a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/JoinFlowOutput.swift +++ /dev/null @@ -1,9 +0,0 @@ -import SwiftUI - -@MainActor -protocol JoinFlowOutput: AnyObject { - - func onStepChanged(_ step: JoinFlowStep, state: JoinFlowState, output: some JoinFlowStepOutput) -> AnyView - func keyPhraseMoreInfo() -> AnyView - -} diff --git a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/JoinFlowView.swift b/Anytype/Sources/PresentationLayer/Auth/JoinFlow/JoinFlowView.swift deleted file mode 100644 index ddbfe910ec..0000000000 --- a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/JoinFlowView.swift +++ /dev/null @@ -1,89 +0,0 @@ -import SwiftUI - -struct JoinFlowView: View { - - @StateObject private var model: JoinFlowViewModel - @Environment(\.dismiss) private var dismiss - - init(state: JoinFlowState, output: (any JoinFlowOutput)?) { - _model = StateObject(wrappedValue: JoinFlowViewModel(state: state, output: output)) - } - - var body: some View { - GeometryReader { geo in - if !model.hideContent { - content(height: geo.size.height) - } - } - .customBackSwipe { - guard !model.disableBackAction else { return } - if model.step.isFirst { - dismiss() - } else { - model.onBack() - } - } - .ifLet(model.errorText) { view, errorText in - view.alertView(isShowing: $model.showError, errorText: errorText, onButtonTap: {}) - } - .fitIPadToReadableContentGuide() - .navigationBarHidden(true) - } - - private func content(height: CGFloat) -> some View { - VStack(spacing: 0) { - Spacer.fixedHeight(14) - - navigationBar - - Spacer.fixedHeight( - UIDevice.isPad ? height / Constants.offsetFactor : Constants.topOffset - ) - - model.content() - .transition(model.forward ? .moveAndFadeForward: .moveAndFadeBack) - - Spacer.fixedHeight(14) - } - .disablePresentationBackground() - .padding(.horizontal, 16) - } - - private var navigationBar : some View { - HStack { - backButton - Spacer() - } - .frame(height: 44) - } - - private var backButton : some View { - Button(action: { - if model.step.isFirst { - dismiss() - } else { - model.onBack() - } - }) { - Image(asset: .X18.slashMenuArrow) - .foregroundColor(.Control.secondary) - .padding(EdgeInsets(top: 10, leading: 0, bottom: 10, trailing: 10)) - } - .disabled(model.disableBackAction) - } -} - - -struct JoinFlowView_Previews : PreviewProvider { - static var previews: some View { - JoinFlowView(state: JoinFlowState(), output: nil) - } -} - -extension JoinFlowView { - enum Constants { - @MainActor - static let offsetFactor = UIDevice.isPad ? 3.5 : 4.5 - static let topOffset: CGFloat = 20 - } -} diff --git a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/JoinFlowViewModel.swift b/Anytype/Sources/PresentationLayer/Auth/JoinFlow/JoinFlowViewModel.swift deleted file mode 100644 index 24d9c819d2..0000000000 --- a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/JoinFlowViewModel.swift +++ /dev/null @@ -1,93 +0,0 @@ -import SwiftUI - -@MainActor -final class JoinFlowViewModel: ObservableObject, JoinFlowStepOutput { - - @Published var step: JoinFlowStep = JoinFlowStep.firstStep - @Published var forward = true - @Published var errorText: String? { - didSet { - showError = errorText.isNotNil - } - } - @Published var showError: Bool = false - @Published var disableBackAction: Bool = false - @Published var hideContent = false - - private let state: JoinFlowState - - private weak var output: (any JoinFlowOutput)? - @Injected(\.applicationStateService) - private var applicationStateService: any ApplicationStateServiceProtocol - @Injected(\.accountManager) - private var accountManager: any AccountManagerProtocol - @Injected(\.serverConfigurationStorage) - private var serverConfigurationStorage: any ServerConfigurationStorageProtocol - - init(state: JoinFlowState, output: (any JoinFlowOutput)?) { - self.state = state - self.output = output - } - - func content() -> AnyView? { - output?.onStepChanged(step, state: state, output: self) - } - - // MARK: - JoinStepOutput - - func onNext() { - guard let nextStep = step.next else { - finishFlow() - return - } - - if nextStep == .email && shouldSkipEmailStep() { - finishFlow() - return - } - - forward = true - - withAnimation { - step = nextStep - } - } - - func onBack() { - guard let previousStep = step.previous else { return } - - UIApplication.shared.hideKeyboard() - forward = false - - withAnimation { - step = previousStep - } - } - - func onError(_ error: some Error) { - errorText = error.localizedDescription - } - - func disableBackAction(_ disable: Bool) { - disableBackAction = disable - } - - func keyPhraseMoreInfo() -> AnyView? { - output?.keyPhraseMoreInfo() - } - - private func finishFlow() { - hideContent.toggle() // hack to avoid inappropriate animation when hiding - applicationStateService.state = .home - AnytypeAnalytics.instance().logAccountOpen( - analyticsId: accountManager.account.info.analyticsId - ) - if state.soul.isEmpty { - AnytypeAnalytics.instance().logOnboardingSkipName() - } - } - - private func shouldSkipEmailStep() -> Bool { - serverConfigurationStorage.currentConfiguration() == .localOnly - } -} diff --git a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/Models/JoinFlowStep.swift b/Anytype/Sources/PresentationLayer/Auth/JoinFlow/Models/JoinFlowStep.swift deleted file mode 100644 index cb979aab28..0000000000 --- a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/Models/JoinFlowStep.swift +++ /dev/null @@ -1,29 +0,0 @@ -enum JoinFlowStep: Int, CaseIterable { - case key = 1 - case soul - case email - - var next: JoinFlowStep? { - let nextStepNumber = rawValue + 1 - guard let nextStep = JoinFlowStep(rawValue: nextStepNumber) else { - return nil - } - return nextStep - } - - var previous: JoinFlowStep? { - let previousStepNumber = rawValue - 1 - guard let previousStep = JoinFlowStep(rawValue: previousStepNumber) else { - return nil - } - return previousStep - } - - static var firstStep: JoinFlowStep { - JoinFlowStep.allCases.first ?? .key - } - - var isFirst: Bool { - self == JoinFlowStep.allCases.first - } -} diff --git a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/SoulView/SoulView.swift b/Anytype/Sources/PresentationLayer/Auth/JoinFlow/SoulView/SoulView.swift deleted file mode 100644 index 3a1a1ae287..0000000000 --- a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/SoulView/SoulView.swift +++ /dev/null @@ -1,79 +0,0 @@ -import SwiftUI - -struct SoulView: View { - - @StateObject private var model: SoulViewModel - - init(state: JoinFlowState, output: (any JoinFlowStepOutput)?) { - _model = StateObject(wrappedValue: SoulViewModel(state: state, output: output)) - } - - var body: some View { - VStack(spacing: 0) { - content - - Spacer() - - StandardButton( - Loc.continue, - inProgress: model.inProgress, - style: .primaryLarge, - action: { - model.onNextAction() - } - ) - .colorScheme(.light) - } - .task { - await model.startParticipantTask() - } - .onAppear { - model.onAppear() - } - } - - private var content: some View { - VStack(spacing: 0) { - AnytypeText(Loc.Auth.JoinFlow.Soul.title, style: .contentTitleSemibold) - .foregroundColor(.Text.primary) - .multilineTextAlignment(.center) - - Spacer.fixedHeight(8) - - AnytypeText( - Loc.Auth.JoinFlow.Soul.description, - style: .bodyRegular - ) - .foregroundColor(.Text.primary) - .multilineTextAlignment(.center) - .padding(.horizontal, 20) - - Spacer.fixedHeight(24) - - input - } - .padding(.horizontal, UIDevice.isPad ? 75 : 0) - } - - private var input: some View { - AutofocusedTextField( - placeholder: model.generatedNamePlaceholder, - font: .authInput, - text: $model.inputText - ) - .disableAutocorrection(true) - .autocapitalization(.sentences) - .foregroundColor(.Auth.inputText) - .padding(EdgeInsets(horizontal: 20, vertical: 20)) - .background(Color.Shape.transperentSecondary) - .accentColor(.Text.tertiary) - .cornerRadius(16) - .frame(height: 64) - } -} - -struct JoinFlowInputView_Previews: PreviewProvider { - static var previews: some View { - SoulView(state: JoinFlowState(), output: nil) - } -} diff --git a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/SoulView/SoulViewModel.swift b/Anytype/Sources/PresentationLayer/Auth/JoinFlow/SoulView/SoulViewModel.swift deleted file mode 100644 index 93ac3e8dab..0000000000 --- a/Anytype/Sources/PresentationLayer/Auth/JoinFlow/SoulView/SoulViewModel.swift +++ /dev/null @@ -1,91 +0,0 @@ -import SwiftUI -import Services - -@MainActor -final class SoulViewModel: ObservableObject { - - @Published var inputText: String { - didSet { - state.soul = inputText - } - } - @Published var inProgress = false - @Published var generatedNamePlaceholder = "" - - // MARK: - DI - - private let state: JoinFlowState - private weak var output: (any JoinFlowStepOutput)? - - @Injected(\.accountManager) - private var accountManager: any AccountManagerProtocol - @Injected(\.objectActionsService) - private var objectActionsService: any ObjectActionsServiceProtocol - @Injected(\.participantsStorage) - private var accountParticipantStorage: any ParticipantsStorageProtocol - - init(state: JoinFlowState, output: (any JoinFlowStepOutput)?) { - self.state = state - self.inputText = state.soul - self.output = output - } - - func onAppear() { - AnytypeAnalytics.instance().logScreenOnboarding(step: .soul) - } - - func onNextAction() { - updateNames() - } - - func startParticipantTask() async { - for await participant in accountParticipantStorage.participantPublisher(spaceId: accountManager.account.info.accountSpaceId).values { - generatedNamePlaceholder = participant.localName - } - } - - // MARK: - Update names step - - private func onSuccess() { - stopLoading() - UIApplication.shared.hideKeyboard() - output?.onNext() - } - - private func updateNameError(_ error: some Error) { - stopLoading() - output?.onError(error) - } - - private func updateNames() { - guard state.soul.isNotEmpty else { - onSuccess() - return - } - - Task { - startLoading() - - do { - try await objectActionsService.updateBundledDetails( - contextID: accountManager.account.info.profileObjectID, - details: [.name(state.soul)] - ) - - onSuccess() - } catch { - updateNameError(error) - } - } - } - - private func startLoading() { - output?.disableBackAction(true) - inProgress = true - } - - private func stopLoading() { - output?.disableBackAction(false) - inProgress = false - } -} diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Login/LoginCoordinatorView.swift b/Anytype/Sources/PresentationLayer/Auth/Login/LoginCoordinatorView.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Login/LoginCoordinatorView.swift rename to Anytype/Sources/PresentationLayer/Auth/Login/LoginCoordinatorView.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Login/LoginCoordinatorViewModel.swift b/Anytype/Sources/PresentationLayer/Auth/Login/LoginCoordinatorViewModel.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Login/LoginCoordinatorViewModel.swift rename to Anytype/Sources/PresentationLayer/Auth/Login/LoginCoordinatorViewModel.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Login/LoginView/LoginOutput.swift b/Anytype/Sources/PresentationLayer/Auth/Login/LoginView/LoginOutput.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Login/LoginView/LoginOutput.swift rename to Anytype/Sources/PresentationLayer/Auth/Login/LoginView/LoginOutput.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Login/LoginView/LoginView.swift b/Anytype/Sources/PresentationLayer/Auth/Login/LoginView/LoginView.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Login/LoginView/LoginView.swift rename to Anytype/Sources/PresentationLayer/Auth/Login/LoginView/LoginView.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/Login/LoginView/LoginViewModel.swift b/Anytype/Sources/PresentationLayer/Auth/Login/LoginView/LoginViewModel.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/Login/LoginView/LoginViewModel.swift rename to Anytype/Sources/PresentationLayer/Auth/Login/LoginView/LoginViewModel.swift diff --git a/Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginDepricatedView.swift b/Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginDepricatedView.swift deleted file mode 100644 index a371a050ca..0000000000 --- a/Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginDepricatedView.swift +++ /dev/null @@ -1,152 +0,0 @@ -import SwiftUI - -struct LoginDepricatedView: View { - - @StateObject private var model: LoginDepricatedViewModel - @Environment(\.dismiss) private var dismiss - - init(output: (any LoginFlowOutput)?) { - _model = StateObject(wrappedValue: LoginDepricatedViewModel(output: output)) - } - - var body: some View { - content - .task(id: model.accountId) { - await model.selectAccount() - } - .task(id: model.entropy) { - await model.onEntropySet() - } - .task { - await model.handleAccountShowEvent() - } - .navigationBarBackButtonHidden(true) - .navigationBarTitleDisplayMode(.inline) - .disablePresentationBackground() - .padding(.horizontal, 16) - .toolbar { - ToolbarItem(placement: .navigationBarLeading) { - backButton - } - ToolbarItem(placement: .principal) { - Text(Loc.Auth.LoginFlow.Enter.title) - .onTapGesture(count: 5) { - model.showDebugMenu.toggle() - } - } - } - .sheet(isPresented: $model.showQrCodeView) { - QrCodeScannerView(qrCode: self.$model.entropy, error: self.$model.errorText) - } - .cameraPermissionAlert(isPresented: $model.openSettingsURL) - .ifLet(model.errorText) { view, errorText in - view.alertView(isShowing: $model.showError, errorText: errorText) - } - .onAppear { - model.onAppear() - } - .customBackSwipe { - guard !model.loadingRoute.isLoadingInProgress else { return } - dismiss() - } - .fitIPadToReadableContentGuide() - .onChange(of: model.dismiss) { dismiss() } - - .sheet(isPresented: $model.showDebugMenu) { - PublicDebugMenuView() - } - .anytypeSheet(item: $model.secureAlertData) { - SecureAlertView(data: $0) - } - - // migration - .fullScreenCover(item: $model.migrationData) { - MigrationCoordinatorView(data: $0) - } - } - - private var content: some View { - VStack(spacing: 0) { - Spacer.fixedHeight(16) - - PhraseTextView( - text: $model.phrase, - noninteractive: false, - alignTextToCenter: false, - hideWords: false - ) - .focused($model.autofocus) - .disabled(model.loadingRoute.isLoadingInProgress) - - Spacer.fixedHeight(16) - - buttonsBlock - - Spacer() - } - } - - private var buttonsBlock : some View { - VStack(spacing: 12) { - StandardButton( - Loc.Auth.LoginFlow.Enter.title, - inProgress: model.loadingRoute.isLoginInProgress, - style: .primaryLarge, - action: { - model.onEnterButtonAction() - } - ) - .colorScheme(model.loginButtonDisabled ? .dark : .light) - .disabled(model.loginButtonDisabled) - - AnytypeText( - Loc.Auth.LoginFlow.or, - style: .caption2Medium - ) - .foregroundColor(.Auth.inputText) - - HStack(spacing: 8) { - StandardButton( - Loc.scanQRCode, - inProgress: model.loadingRoute.isQRInProgress, - style: .secondaryLarge, - action: { - model.onScanQRButtonAction() - } - ) - .disabled(model.qrButtonDisabled) - - if model.canRestoreFromKeychain { - StandardButton( - Loc.Auth.LoginFlow.Use.Keychain.title, - inProgress: model.loadingRoute.isKeychainInProgress, - style: .secondaryLarge, - action: { - model.onKeychainButtonAction() - } - ) - .disabled(model.keychainButtonDisabled) - } - } - } - } - - private var backButton : some View { - Button(action: { - model.onbackButtonAction() - }) { - Image(asset: .backArrow) - .foregroundColor(.Text.tertiary) - } - .disabled(model.backButtonDisabled) - } -} - - -struct LoginView_Previews : PreviewProvider { - static var previews: some View { - NavigationView { - LoginDepricatedView(output: nil) - } - } -} diff --git a/Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginDepricatedViewModel.swift b/Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginDepricatedViewModel.swift deleted file mode 100644 index 055ef6c5e0..0000000000 --- a/Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginDepricatedViewModel.swift +++ /dev/null @@ -1,225 +0,0 @@ -import SwiftUI -@preconcurrency import Combine -import AnytypeCore -import Services - -@MainActor -final class LoginDepricatedViewModel: ObservableObject { - @Published var phrase = "" - @Published var autofocus = true - - @Published var loadingRoute = LoginLoadingRoute.none - @Published var accountSelectInProgress = false - - @Published var showQrCodeView: Bool = false - @Published var openSettingsURL = false - @Published var showDebugMenu = false - @Published var entropy: String = "" - @Published var errorText: String? { - didSet { - showError = errorText.isNotNil - } - } - @Published var showError: Bool = false - @Published var dismiss = false - @Published var accountId: String? - @Published var migrationData: MigrationModuleData? - @Published var secureAlertData: SecureAlertData? - - var loginButtonDisabled: Bool { - phrase.isEmpty || loadingRoute.isKeychainInProgress || loadingRoute.isQRInProgress - } - - var qrButtonDisabled: Bool { - loadingRoute.isKeychainInProgress || loadingRoute.isLoginInProgress - } - - var keychainButtonDisabled: Bool { - loadingRoute.isQRInProgress || loadingRoute.isLoginInProgress - } - - var backButtonDisabled: Bool { - loadingRoute.isLoadingInProgress && !accountSelectInProgress - } - - lazy var canRestoreFromKeychain = (try? seedService.obtainSeed()).isNotNil - - @Injected(\.authService) - private var authService: any AuthServiceProtocol - @Injected(\.seedService) - private var seedService: any SeedServiceProtocol - @Injected(\.localAuthService) - private var localAuthService: any LocalAuthServiceProtocol - @Injected(\.cameraPermissionVerifier) - private var cameraPermissionVerifier: any CameraPermissionVerifierProtocol - @Injected(\.accountEventHandler) - private var accountEventHandler: any AccountEventHandlerProtocol - @Injected(\.applicationStateService) - private var applicationStateService: any ApplicationStateServiceProtocol - @Injected(\.pushNotificationsPermissionService) - private var pushNotificationsPermissionService: any PushNotificationsPermissionServiceProtocol - - private weak var output: (any LoginFlowOutput)? - - init(output: (any LoginFlowOutput)?) { - self.output = output - } - - func onAppear() { - AnytypeAnalytics.instance().logLoginScreenShow() - } - - func onEnterButtonAction() { - AnytypeAnalytics.instance().logClickLogin(button: .phrase) - walletRecoverySync(with: phrase, route: .login) - } - - func onScanQRButtonAction() { - AnytypeAnalytics.instance().logClickLogin(button: .qr) - Task { - let isGranted = await cameraPermissionVerifier.cameraIsGranted() - if isGranted { - showQrCodeView = true - } else { - openSettingsURL = true - } - } - } - - func onKeychainButtonAction() { - AnytypeAnalytics.instance().logClickLogin(button: .keychain) - Task { - try await localAuthWithContinuation { [weak self] in - guard let self else { return } - let phrase = try seedService.obtainSeed() - await walletRecovery(with: phrase, route: .keychain) - } - } - } - - private func localAuthWithContinuation(_ continuation: @escaping () async throws -> Void) async throws { - do { - try await localAuthService.auth(reason: Loc.accessToKeyFromKeychain) - try await continuation() - } catch LocalAuthServiceError.passcodeNotSet { - secureAlertData = SecureAlertData(completion: { proceed in - guard proceed else { return } - try await continuation() - }) - } - } - - func onbackButtonAction() { - guard accountSelectInProgress else { - dismiss.toggle() - return - } - accountId = nil - logout() - } - - private func logout() { - Task { - try await authService.logout(removeData: false) - dismiss.toggle() - } - } - - func onEntropySet() async { - guard entropy.isNotEmpty else { return } - do { - let phrase = try await authService.mnemonicByEntropy(entropy) - await walletRecovery(with: phrase, route: .qr) - } catch { - errorText = error.localizedDescription - } - } - - private func walletRecoverySync(with phrase: String, route: LoginLoadingRoute) { - Task { - await walletRecovery(with: phrase, route: route) - } - } - - private func walletRecovery(with phrase: String, route: LoginLoadingRoute) async { - do { - self.phrase = phrase - loadingRoute = route - - try await authService.walletRecovery(mnemonic: phrase.trimmingCharacters(in: .whitespacesAndNewlines)) - try seedService.saveSeed(phrase) - - await recoverWalletSuccess() - } catch { - recoverWalletError(error) - } - } - - private func recoverWalletSuccess() async { - await accountRecover() - } - - private func recoverWalletError(_ error: some Error) { - stopButtonsLoading() - errorText = error.localizedDescription - } - - func handleAccountShowEvent() async { - for await accountId in await accountEventHandler.accountShowPublisher.values { - self.accountId = accountId - } - } - - private func accountRecover() async { - do { - try await authService.accountRecover() - } catch { - stopButtonsLoading() - errorText = error.localizedDescription - } - } - - func selectAccount() async { - guard let accountId else { return } - defer { - stopButtonsLoading() - accountSelectInProgress = false - } - do { - accountSelectInProgress = true - let account = try await authService.selectAccount(id: accountId) - - switch account.status { - case .active: - applicationStateService.state = .home - case .pendingDeletion: - applicationStateService.state = .delete - case .deleted: - errorText = Loc.vaultDeleted - } - - await pushNotificationsPermissionService.registerForRemoteNotificationsIfNeeded() - } catch is CancellationError { - // Ignore cancellations - } catch SelectAccountError.accountLoadIsCanceled { - // Ignore load cancellation - } catch SelectAccountError.accountIsDeleted { - errorText = Loc.vaultDeleted - } catch SelectAccountError.failedToFetchRemoteNodeHasIncompatibleProtoVersion { - errorText = Loc.Vault.Select.Incompatible.Version.Error.text - } catch SelectAccountError.accountStoreNotMigrated { - migrationData = MigrationModuleData( - id: accountId, - onFinish: { [weak self] in - await self?.selectAccount() - } - ) - } catch { - errorText = Loc.selectVaultError - } - } - - private func stopButtonsLoading() { - loadingRoute = .none - } -} diff --git a/Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginFlowCoordinator.swift b/Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginFlowCoordinator.swift deleted file mode 100644 index 0ac4e9450b..0000000000 --- a/Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginFlowCoordinator.swift +++ /dev/null @@ -1,17 +0,0 @@ -import SwiftUI - -@MainActor -protocol LoginFlowCoordinatorProtocol { - func startFlow() -> AnyView -} - -@MainActor -final class LoginFlowCoordinator: LoginFlowCoordinatorProtocol, LoginFlowOutput { - - - // MARK: - LoginFlowCoordinatorProtocol - - func startFlow() -> AnyView { - LoginDepricatedView(output: self).eraseToAnyView() - } -} diff --git a/Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginFlowOutput.swift b/Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginFlowOutput.swift deleted file mode 100644 index 4e80bf1955..0000000000 --- a/Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginFlowOutput.swift +++ /dev/null @@ -1,5 +0,0 @@ -import SwiftUI - -@MainActor -protocol LoginFlowOutput: AnyObject { -} diff --git a/Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginLoadingRoute.swift b/Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginLoadingRoute.swift deleted file mode 100644 index e7a3035d93..0000000000 --- a/Anytype/Sources/PresentationLayer/Auth/LoginFlow/LoginLoadingRoute.swift +++ /dev/null @@ -1,22 +0,0 @@ -enum LoginLoadingRoute { - case none - case login - case qr - case keychain - - var isLoadingInProgress: Bool { - self != .none - } - - var isLoginInProgress: Bool { - self == .login - } - - var isQRInProgress: Bool { - self == .qr - } - - var isKeychainInProgress: Bool { - self == .keychain - } -} diff --git a/Anytype/Sources/PresentationLayer/Auth/PrimaryAuthView/AuthViewModelError.swift b/Anytype/Sources/PresentationLayer/Auth/PrimaryAuthView/AuthViewModelError.swift new file mode 100644 index 0000000000..c9972d6728 --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Auth/PrimaryAuthView/AuthViewModelError.swift @@ -0,0 +1,5 @@ +import Foundation + +enum AuthViewModelError: Error { + case unsupportedAppAction +} diff --git a/Anytype/Sources/PresentationLayer/AuthNew/PrimaryAuthView/PrimaryAuthOutput.swift b/Anytype/Sources/PresentationLayer/Auth/PrimaryAuthView/PrimaryAuthOutput.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/PrimaryAuthView/PrimaryAuthOutput.swift rename to Anytype/Sources/PresentationLayer/Auth/PrimaryAuthView/PrimaryAuthOutput.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/PrimaryAuthView/PrimaryAuthView.swift b/Anytype/Sources/PresentationLayer/Auth/PrimaryAuthView/PrimaryAuthView.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/PrimaryAuthView/PrimaryAuthView.swift rename to Anytype/Sources/PresentationLayer/Auth/PrimaryAuthView/PrimaryAuthView.swift diff --git a/Anytype/Sources/PresentationLayer/AuthNew/PrimaryAuthView/PrimaryAuthViewModel.swift b/Anytype/Sources/PresentationLayer/Auth/PrimaryAuthView/PrimaryAuthViewModel.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/AuthNew/PrimaryAuthView/PrimaryAuthViewModel.swift rename to Anytype/Sources/PresentationLayer/Auth/PrimaryAuthView/PrimaryAuthViewModel.swift diff --git a/Modules/Loc/Sources/Loc/Generated/Strings.swift b/Modules/Loc/Sources/Loc/Generated/Strings.swift index 7a662c9447..7fe9773213 100644 --- a/Modules/Loc/Sources/Loc/Generated/Strings.swift +++ b/Modules/Loc/Sources/Loc/Generated/Strings.swift @@ -91,11 +91,6 @@ public enum Loc { public static let teamWork = Loc.tr("Auth", "Auth.JoinFlow.SelectionOption.UseCase.teamWork", fallback: "Team work & shared docs") } } - public enum Soul { - public static let button = Loc.tr("Auth", "Auth.JoinFlow.Soul.Button", fallback: "Done") - public static let description = Loc.tr("Auth", "Auth.JoinFlow.Soul.Description", fallback: "Only seen by people you share something with. There is no central registry of these names.") - public static let title = Loc.tr("Auth", "Auth.JoinFlow.Soul.Title", fallback: "Add Your Name") - } public enum UseCaseInfo { public static let description = Loc.tr("Auth", "Auth.JoinFlow.UseCaseInfo.description", fallback: "Pick one use case that fits you best") public static let title = Loc.tr("Auth", "Auth.JoinFlow.UseCaseInfo.title", fallback: "What do you want to use Anytype for?") @@ -108,14 +103,6 @@ public enum Loc { } public enum LoginFlow { public static let or = Loc.tr("Auth", "Auth.LoginFlow.Or", fallback: "OR") - public enum Enter { - public static let title = Loc.tr("Auth", "Auth.LoginFlow.Enter.Title", fallback: "Enter my Vault") - } - public enum Entering { - public enum Void { - public static let title = Loc.tr("Auth", "Auth.LoginFlow.Entering.Void.Title", fallback: "Entering the Void") - } - } public enum Textfield { public static let placeholder = Loc.tr("Auth", "Auth.LoginFlow.Textfield.Placeholder", fallback: "Enter your key") } diff --git a/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings b/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings index ab1af9ef33..6dd8c934de 100644 --- a/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings @@ -5962,453 +5962,6 @@ } } }, - "Auth.JoinFlow.Soul.Button" : { - "extractionState" : "manual", - "localizations" : { - "ar" : { - "stringUnit" : { - "state" : "new", - "value" : "تم" - } - }, - "be" : { - "stringUnit" : { - "state" : "new", - "value" : "Гатова" - } - }, - "de" : { - "stringUnit" : { - "state" : "new", - "value" : "Fertig" - } - }, - "en" : { - "stringUnit" : { - "state" : "translated", - "value" : "Done" - } - }, - "es" : { - "stringUnit" : { - "state" : "new", - "value" : "Listo" - } - }, - "fa" : { - "stringUnit" : { - "state" : "new", - "value" : "Done" - } - }, - "fi" : { - "stringUnit" : { - "state" : "new", - "value" : "Valmis" - } - }, - "fr" : { - "stringUnit" : { - "state" : "new", - "value" : "Terminé" - } - }, - "id" : { - "stringUnit" : { - "state" : "new", - "value" : "Selesai" - } - }, - "it" : { - "stringUnit" : { - "state" : "new", - "value" : "Fatto" - } - }, - "ja" : { - "stringUnit" : { - "state" : "new", - "value" : "完了" - } - }, - "ko" : { - "stringUnit" : { - "state" : "new", - "value" : "완료" - } - }, - "nb" : { - "stringUnit" : { - "state" : "new", - "value" : "Ferdig" - } - }, - "nl" : { - "stringUnit" : { - "state" : "new", - "value" : "Gereed" - } - }, - "or" : { - "stringUnit" : { - "state" : "new", - "value" : "ହେଲା" - } - }, - "pl" : { - "stringUnit" : { - "state" : "new", - "value" : "Gotowe" - } - }, - "pt-BR" : { - "stringUnit" : { - "state" : "new", - "value" : "Concluído" - } - }, - "pt-PT" : { - "stringUnit" : { - "state" : "new", - "value" : "Concluído" - } - }, - "ru" : { - "stringUnit" : { - "state" : "new", - "value" : "Готово" - } - }, - "tr" : { - "stringUnit" : { - "state" : "new", - "value" : "Bitti" - } - }, - "uk" : { - "stringUnit" : { - "state" : "new", - "value" : "Готово" - } - }, - "vi" : { - "stringUnit" : { - "state" : "new", - "value" : "Xong" - } - }, - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "完成" - } - }, - "zh-Hant" : { - "stringUnit" : { - "state" : "new", - "value" : "完成" - } - } - } - }, - "Auth.JoinFlow.Soul.Description" : { - "extractionState" : "manual", - "localizations" : { - "ar" : { - "stringUnit" : { - "state" : "new", - "value" : "Only seen by people you share something with. There is no central registry of these names." - } - }, - "be" : { - "stringUnit" : { - "state" : "new", - "value" : "Бачна толькі людзям, з якімі вы чымсьці падзяліліся. Адзінага спісу такіх імёнаў не існуе." - } - }, - "de" : { - "stringUnit" : { - "state" : "new", - "value" : "Nur von Leuten gesehen, mit denen du etwas teilst. Es gibt kein zentrales Register dieser Namen." - } - }, - "en" : { - "stringUnit" : { - "state" : "translated", - "value" : "Only seen by people you share something with. There is no central registry of these names." - } - }, - "es" : { - "stringUnit" : { - "state" : "new", - "value" : "Solo lo verán las personas con las que compartas algo. No existe un registro central de nombres." - } - }, - "fa" : { - "stringUnit" : { - "state" : "new", - "value" : "Only seen by people you share something with. There is no central registry of these names." - } - }, - "fi" : { - "stringUnit" : { - "state" : "new", - "value" : "Only seen by people you share something with. There is no central registry of these names." - } - }, - "fr" : { - "stringUnit" : { - "state" : "new", - "value" : "Seulement vu par les personnes avec qui vous partagez quelque chose. Il n'y a pas de registre central des utilisateurs." - } - }, - "id" : { - "stringUnit" : { - "state" : "new", - "value" : "Hanya dapat dilihat oleh orang yang saling berbagi denganmu. Nama ini tidak disimpan secara sentral." - } - }, - "it" : { - "stringUnit" : { - "state" : "new", - "value" : "Visibile solo alle persone con cui condividi qualcosa. Non esiste un registro centrale di questi nomi." - } - }, - "ja" : { - "stringUnit" : { - "state" : "new", - "value" : "何かを共有した相手にのみ表示されます。名前を一元管理されることは一切ありません。" - } - }, - "ko" : { - "stringUnit" : { - "state" : "new", - "value" : "공유한 사람들만 볼 수 있습니다. 이러한 이름에 대한 중앙 레지스트리는 없습니다." - } - }, - "nb" : { - "stringUnit" : { - "state" : "new", - "value" : "Only seen by people you share something with. There is no central registry of these names." - } - }, - "nl" : { - "stringUnit" : { - "state" : "new", - "value" : "Alleen zichtbaar voor mensen met wie je iets deelt. Er is geen centraal register van deze namen." - } - }, - "or" : { - "stringUnit" : { - "state" : "new", - "value" : "କେବଳ ସେହି ଲୋକମାନଙ୍କ ଦ୍ୱାରା ଦେଖନ୍ତି ଯେଉଁମାନଙ୍କ ସହିତ ଆପଣ କିଛି ଅଂଶୀଦାର କରନ୍ତି । ଏହି ନାମଗୁଡ଼ିକର କୌଣସି କେନ୍ଦ୍ରୀୟ ପଞ୍ଜୀକରଣ ନାହିଁ।" - } - }, - "pl" : { - "stringUnit" : { - "state" : "new", - "value" : "Widoczne tylko dla osób, z którymi się czymś dzielisz. Nie ma centralnego rejestru tych nazw." - } - }, - "pt-BR" : { - "stringUnit" : { - "state" : "new", - "value" : "Somente visto por pessoas com quem você compartilha algo. Não há registro central com esses nomes." - } - }, - "pt-PT" : { - "stringUnit" : { - "state" : "new", - "value" : "Somente visto por pessoas com quem você compartilha algo. Não há registro central com esses nomes." - } - }, - "ru" : { - "stringUnit" : { - "state" : "new", - "value" : "Видим только людям, с которыми вы чем-то поделились. Централизованного реестра имен не существует." - } - }, - "tr" : { - "stringUnit" : { - "state" : "new", - "value" : "Yalnızca bir şey paylaştığınız kişiler tarafından görülür. Bu isimlerin merkezi bir kaydı yoktur." - } - }, - "uk" : { - "stringUnit" : { - "state" : "new", - "value" : "Only seen by people you share something with. There is no central registry of these names." - } - }, - "vi" : { - "stringUnit" : { - "state" : "new", - "value" : "Chỉ có thể thấy bởi những người mà bạn đã chia sẻ thứ gì đó cho. Không hề có một trung tâm ghi những cái tên này." - } - }, - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "只有被您分享的用户可以查看。这里没有中心化的管理员。" - } - }, - "zh-Hant" : { - "stringUnit" : { - "state" : "new", - "value" : "只有被您分享內容的人才能查看。這裡沒有中心化的管理名稱。" - } - } - } - }, - "Auth.JoinFlow.Soul.Title" : { - "extractionState" : "manual", - "localizations" : { - "ar" : { - "stringUnit" : { - "state" : "new", - "value" : "أضف اسمك" - } - }, - "be" : { - "stringUnit" : { - "state" : "new", - "value" : "Add Your Name" - } - }, - "de" : { - "stringUnit" : { - "state" : "new", - "value" : "Add Your Name" - } - }, - "en" : { - "stringUnit" : { - "state" : "translated", - "value" : "Add Your Name" - } - }, - "es" : { - "stringUnit" : { - "state" : "new", - "value" : "Añade tu nombre" - } - }, - "fa" : { - "stringUnit" : { - "state" : "new", - "value" : "Add Your Name" - } - }, - "fi" : { - "stringUnit" : { - "state" : "new", - "value" : "Add Your Name" - } - }, - "fr" : { - "stringUnit" : { - "state" : "new", - "value" : "Add Your Name" - } - }, - "id" : { - "stringUnit" : { - "state" : "new", - "value" : "Tambahkan Namamu" - } - }, - "it" : { - "stringUnit" : { - "state" : "new", - "value" : "Aggiungi Il Tuo Nome" - } - }, - "ja" : { - "stringUnit" : { - "state" : "new", - "value" : "名前を設定しましょう" - } - }, - "ko" : { - "stringUnit" : { - "state" : "new", - "value" : "이름을 추가하세요" - } - }, - "nb" : { - "stringUnit" : { - "state" : "new", - "value" : "Add Your Name" - } - }, - "nl" : { - "stringUnit" : { - "state" : "new", - "value" : "Voeg jouw naam toe" - } - }, - "or" : { - "stringUnit" : { - "state" : "new", - "value" : "Add Your Name" - } - }, - "pl" : { - "stringUnit" : { - "state" : "new", - "value" : "Dodaj Swoje Imię" - } - }, - "pt-BR" : { - "stringUnit" : { - "state" : "new", - "value" : "Add Your Name" - } - }, - "pt-PT" : { - "stringUnit" : { - "state" : "new", - "value" : "Add Your Name" - } - }, - "ru" : { - "stringUnit" : { - "state" : "new", - "value" : "Укажите ваше имя" - } - }, - "tr" : { - "stringUnit" : { - "state" : "new", - "value" : "Adınızı Ekleyin" - } - }, - "uk" : { - "stringUnit" : { - "state" : "new", - "value" : "Add Your Name" - } - }, - "vi" : { - "stringUnit" : { - "state" : "new", - "value" : "Add Your Name" - } - }, - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "Add Your Name" - } - }, - "zh-Hant" : { - "stringUnit" : { - "state" : "new", - "value" : "Add Your Name" - } - } - } - }, "Auth.JoinFlow.UseCaseInfo.description" : { "extractionState" : "manual", "localizations" : { @@ -7005,304 +6558,6 @@ } } }, - "Auth.LoginFlow.Enter.Title" : { - "extractionState" : "manual", - "localizations" : { - "ar" : { - "stringUnit" : { - "state" : "new", - "value" : "Enter my Vault" - } - }, - "be" : { - "stringUnit" : { - "state" : "new", - "value" : "Увайсці ў Сховішча" - } - }, - "de" : { - "stringUnit" : { - "state" : "new", - "value" : "Meinen Schlüssel holen" - } - }, - "en" : { - "stringUnit" : { - "state" : "translated", - "value" : "Enter my Vault" - } - }, - "es" : { - "stringUnit" : { - "state" : "new", - "value" : "Entrar en mi arca" - } - }, - "fa" : { - "stringUnit" : { - "state" : "new", - "value" : "Enter my Vault" - } - }, - "fi" : { - "stringUnit" : { - "state" : "new", - "value" : "Get my Key" - } - }, - "fr" : { - "stringUnit" : { - "state" : "new", - "value" : "Obtenir ma Clé" - } - }, - "id" : { - "stringUnit" : { - "state" : "new", - "value" : "Get my Key" - } - }, - "it" : { - "stringUnit" : { - "state" : "new", - "value" : "Entra nella mia Cassaforte" - } - }, - "ja" : { - "stringUnit" : { - "state" : "new", - "value" : "保管庫にログイン" - } - }, - "ko" : { - "stringUnit" : { - "state" : "new", - "value" : "Get my Key" - } - }, - "nb" : { - "stringUnit" : { - "state" : "new", - "value" : "Get my Key" - } - }, - "nl" : { - "stringUnit" : { - "state" : "new", - "value" : "Open mijn kluis" - } - }, - "or" : { - "stringUnit" : { - "state" : "new", - "value" : "Get my Key" - } - }, - "pl" : { - "stringUnit" : { - "state" : "new", - "value" : "Get my Key" - } - }, - "pt-BR" : { - "stringUnit" : { - "state" : "new", - "value" : "Get my Key" - } - }, - "pt-PT" : { - "stringUnit" : { - "state" : "new", - "value" : "Get my Key" - } - }, - "ru" : { - "stringUnit" : { - "state" : "new", - "value" : "Войти в мое хранилище" - } - }, - "tr" : { - "stringUnit" : { - "state" : "new", - "value" : "Kasama gir" - } - }, - "uk" : { - "stringUnit" : { - "state" : "new", - "value" : "Enter my Vault" - } - }, - "vi" : { - "stringUnit" : { - "state" : "new", - "value" : "Get my Key" - } - }, - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "进入我的文库" - } - }, - "zh-Hant" : { - "stringUnit" : { - "state" : "new", - "value" : "進入我的帳戶" - } - } - } - }, - "Auth.LoginFlow.Entering.Void.Title" : { - "extractionState" : "manual", - "localizations" : { - "ar" : { - "stringUnit" : { - "state" : "new", - "value" : "دخول الفراغ" - } - }, - "be" : { - "stringUnit" : { - "state" : "new", - "value" : "Уваходзім у пустату" - } - }, - "de" : { - "stringUnit" : { - "state" : "new", - "value" : "Leere betreten" - } - }, - "en" : { - "stringUnit" : { - "state" : "translated", - "value" : "Entering the Void" - } - }, - "es" : { - "stringUnit" : { - "state" : "new", - "value" : "Entrando a tu arca" - } - }, - "fa" : { - "stringUnit" : { - "state" : "new", - "value" : "Entering the Void" - } - }, - "fi" : { - "stringUnit" : { - "state" : "new", - "value" : "Entering the Void" - } - }, - "fr" : { - "stringUnit" : { - "state" : "new", - "value" : "Entrer dans le Vide" - } - }, - "id" : { - "stringUnit" : { - "state" : "new", - "value" : "Memasuki Void" - } - }, - "it" : { - "stringUnit" : { - "state" : "new", - "value" : "Entrando nel Void" - } - }, - "ja" : { - "stringUnit" : { - "state" : "new", - "value" : "保管庫にログイン中" - } - }, - "ko" : { - "stringUnit" : { - "state" : "new", - "value" : "보관소에 들어가는 중" - } - }, - "nb" : { - "stringUnit" : { - "state" : "new", - "value" : "Går inn i Void" - } - }, - "nl" : { - "stringUnit" : { - "state" : "new", - "value" : "De leegte betreden" - } - }, - "or" : { - "stringUnit" : { - "state" : "new", - "value" : "ଶୂନ୍ୟସ୍ଥାନ ପ୍ରବେଶ କରୁଛି" - } - }, - "pl" : { - "stringUnit" : { - "state" : "new", - "value" : "Wejście w pustkę" - } - }, - "pt-BR" : { - "stringUnit" : { - "state" : "new", - "value" : "Entrando no vazio" - } - }, - "pt-PT" : { - "stringUnit" : { - "state" : "new", - "value" : "Entrando no Vazio" - } - }, - "ru" : { - "stringUnit" : { - "state" : "new", - "value" : "Входим в пустоту" - } - }, - "tr" : { - "stringUnit" : { - "state" : "new", - "value" : "Void'e giriliyor" - } - }, - "uk" : { - "stringUnit" : { - "state" : "new", - "value" : "Входимо до порожнечі" - } - }, - "vi" : { - "stringUnit" : { - "state" : "new", - "value" : "Đang bước vào chốn Hư vô" - } - }, - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "输入无效" - } - }, - "zh-Hant" : { - "stringUnit" : { - "state" : "new", - "value" : "正在進入 Void 身份集錦圖表" - } - } - } - }, "Auth.LoginFlow.Or" : { "extractionState" : "manual", "localizations" : { From a154791255103aa0a028bb40da6ce4eb7f93560a Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 28 Oct 2025 15:23:51 +0000 Subject: [PATCH 063/228] IOS-5364 Create shared review guidelines and local code review command --- .claude/commands/codeReview.md | 52 +++++++ .../workflows/claude-code-review-prompt.md | 133 ++---------------- .github/workflows/code-review-guidelines.md | 125 ++++++++++++++++ 3 files changed, 187 insertions(+), 123 deletions(-) create mode 100644 .claude/commands/codeReview.md create mode 100644 .github/workflows/code-review-guidelines.md diff --git a/.claude/commands/codeReview.md b/.claude/commands/codeReview.md new file mode 100644 index 0000000000..844af6726c --- /dev/null +++ b/.claude/commands/codeReview.md @@ -0,0 +1,52 @@ +# Code Review Command + +Review local code changes on the current branch against the base branch (develop). + +## Usage +Run `/codeReview` on your current branch to review changes against develop. + +## Process + +### Step 1: Gather Current Branch Context +Get the current branch name, list of changed files, and full diff against develop: + +```bash +# Get current branch and changes summary +git branch --show-current +git diff --name-status develop...HEAD +git diff --stat develop...HEAD + +# Get full diff for review +git diff develop...HEAD +``` + +### Step 2: Apply Review Standards + +**Apply the shared review guidelines from:** +`.github/workflows/code-review-guidelines.md` + +Follow all core rules, review sections, common mistakes, and analysis checklist defined in that file. + +**Context adaptation for local reviews:** +- This is a local review (not a GitHub PR) +- Reference file:line locations from the git diff +- Focus on changes between current branch and develop +- Output review directly (no need to post comments) + +### Step 3: Review Focus Areas + +When analyzing the diff, pay special attention to: + +1. **Migration to @Observable**: Check that all properties are properly annotated and dependencies marked with `@ObservationIgnored` +2. **Localization**: Ensure no hardcoded strings in UI, all text uses `Loc.*` constants +3. **Feature Flags**: New features should be wrapped in `FeatureFlags.*` checks +4. **Generated Files**: Never manually edit files marked with `// Generated using Sourcery/SwiftGen` +5. **Tests & Mocks**: When refactoring, ensure tests and mocks are updated +6. **Unused Code**: After refactoring, check that old code is removed +7. **Comments**: Only add if explicitly needed (per CLAUDE.md guidelines) + +### Step 4: Output Review + +Present the review following the summary format from the shared guidelines. + +Include detailed findings for each issue category only if issues are found. diff --git a/.github/workflows/claude-code-review-prompt.md b/.github/workflows/claude-code-review-prompt.md index 456a20b5da..f50f8a2b26 100644 --- a/.github/workflows/claude-code-review-prompt.md +++ b/.github/workflows/claude-code-review-prompt.md @@ -1,11 +1,18 @@ -# Claude Code Review Prompt +# Claude Code Review Prompt (GitHub Actions) ## Context Variables - **REPO**: Repository name (injected by workflow) - **PR NUMBER**: Pull request number (injected by workflow) - **COMMIT SHA**: Commit SHA being reviewed (injected by workflow) -## Reference Documentation +## Review Standards + +**Apply the shared review guidelines from:** +`.github/workflows/code-review-guidelines.md` + +Follow all core rules, review sections, common mistakes, and analysis checklist defined in that file. + +## CI-Specific Reference Documentation ### Valid GitHub Actions Runners https://github.com/actions/runner-images/tree/main/images/macos @@ -16,44 +23,6 @@ https://github.com/actions/runner-images/tree/main/images/macos **VALIDATION RULE**: When reviewing xcode-version in workflows, verify it matches the runs-on runner version using the mapping above. -## Review Instructions - -Review this PR using CLAUDE.md for project conventions. Be LEAN and ACTIONABLE - only provide value, avoid noise. - -### Core Rules -- ONLY include sections when there are ACTUAL issues to report -- NO "Strengths" or praise sections -- NO "no concerns" statements (skip the section entirely) -- NO design/UI/spacing suggestions (padding, margins, colors, etc.) - you cannot see the visual design -- Reference specific file:line locations for issues -- **If no issues found**: - - Comment ONLY: "✅ **Approved** - No issues found" - - DO NOT describe what the PR does - - DO NOT list changes made - - DO NOT provide any summary or explanation - - Zero noise, zero fluff - just the approval statement - -### Review Sections -Include ONLY if issues exist: - -#### Bugs/Issues -Logic errors, potential bugs that need fixing - -#### Best Practices -Violations of Swift/SwiftUI conventions or CLAUDE.md guidelines (code quality only, not design) - -#### Performance -Actual performance problems (not theoretical) - -#### Security -Real security vulnerabilities - -### Summary Format -End with ONE sentence only with status emoji: -- ✅ **Approved** - [brief reason] -- ⚠️ **Minor Issues** - [what needs fixing] -- 🚨 **Major Issues** - [critical problems] - ## Review Comment Strategy ### 1. Small, Localized Issues (Preferred) @@ -138,88 +107,6 @@ The \`attentionDotView\` overlay positioning is incorrect... **Important**: - Use single quotes to wrap multi-line review text if needed - Escape special characters appropriately for bash -- Always include the status emoji summary at the end +- Always include the status emoji summary at the end (as defined in shared guidelines) - The workflow provides ${PR_NUMBER} and ${REPO} variables -## Common Analysis Mistakes to Avoid - -### Mistake: Assuming Unused Code After UI Element Removal - -**Scenario**: A PR removes a visible UI element (e.g., a menu button) but leaves related parameters in the API. - -**Wrong Analysis**: -- ❌ "Parameter is unused, should be removed" -- ❌ "Remove all related infrastructure" -- ❌ Not checking where else the parameter is used - -**Correct Approach**: -1. **Trace all usages** of parameters/closures before declaring them unused -2. **Understand dual UX patterns**: iOS commonly uses button + long-press for same actions -3. **Check for multiple consumers**: A closure/parameter may serve multiple UI patterns - -**Example - Menu Button + Context Menu Pattern**: -```swift -// Component accepts menu closure -struct Widget { - let menu: () -> MenuContent - - var body: some View { - content - .toolbar { - // Visible menu button - Menu { menu() } label: { Image(...) } - } - .contextMenu { - // Long-press menu (same content!) - menu() - } - } -} -``` - -**Analysis**: -- Removing the toolbar menu button does NOT make `menu` parameter unused -- The `menu()` closure is still actively used by `.contextMenu` -- Both are valid access patterns for the same functionality - -**Key Questions to Ask**: -- Where else is this parameter/closure called in the file? -- Is this a dual-access pattern (button + long-press)? -- Was the removal intentional (UX change) or accidental? -- Are there separate flags controlling each access method? - -### Mistake: Not Understanding Conditional Rendering Flags - -**Scenario**: A component has multiple boolean flags like `allowMenuContent` and `allowContextMenuItems`. - -**Wrong Analysis**: -- ❌ "These flags serve the same purpose, consolidate them" -- ❌ Not recognizing they control different UI elements - -**Correct Approach**: -1. Each flag controls a specific UI element/pattern -2. `allowMenuContent`: Controls visible button -3. `allowContextMenuItems`: Controls long-press menu -4. They can be independently enabled/disabled - -**Example**: -```swift -// Widget with independent menu controls -LinkWidgetViewContainer( - allowMenuContent: false, // No visible button - allowContextMenuItems: true, // Long-press still works - menu: { MenuItem() } // Used by context menu only -) -``` - -### Analysis Checklist - -Before suggesting removal of "unused" code: -- [ ] Searched ALL usages in the file -- [ ] Checked for dual UX patterns (button + context menu) -- [ ] Understood purpose of each boolean flag -- [ ] Verified it's not used by multiple consumers -- [ ] Asked clarifying questions about design intent - -If unsure, ask: -> "Was removing [UI element] intentional? The [parameter] is still used by [other pattern]. Should we keep both access methods or restore the [UI element]?" diff --git a/.github/workflows/code-review-guidelines.md b/.github/workflows/code-review-guidelines.md new file mode 100644 index 0000000000..3a21031ce5 --- /dev/null +++ b/.github/workflows/code-review-guidelines.md @@ -0,0 +1,125 @@ +# Code Review Guidelines + +Shared review standards for both local reviews and automated CI reviews. + +## Core Review Rules + +Review using CLAUDE.md for project conventions. Be LEAN and ACTIONABLE - only provide value, avoid noise. + +- ONLY include sections when there are ACTUAL issues to report +- NO "Strengths" or praise sections +- NO "no concerns" statements (skip the section entirely) +- NO design/UI/spacing suggestions (padding, margins, colors, etc.) - you cannot see the visual design +- Reference specific file:line locations for issues +- **If no issues found**: + - Comment ONLY: "✅ **Approved** - No issues found" + - DO NOT describe what the changes do + - DO NOT list changes made + - DO NOT provide any summary or explanation + - Zero noise, zero fluff - just the approval statement + +## Review Sections + +Include ONLY if issues exist: + +### Bugs/Issues +Logic errors, potential bugs that need fixing + +### Best Practices +Violations of Swift/SwiftUI conventions or CLAUDE.md guidelines (code quality only, not design) + +### Performance +Actual performance problems (not theoretical) + +### Security +Real security vulnerabilities + +## Summary Format + +End with ONE sentence only with status emoji: +- ✅ **Approved** - [brief reason] +- ⚠️ **Minor Issues** - [what needs fixing] +- 🚨 **Major Issues** - [critical problems] + +## Common Analysis Mistakes to Avoid + +### Mistake: Assuming Unused Code After UI Element Removal + +**Scenario**: A PR removes a visible UI element (e.g., a menu button) but leaves related parameters in the API. + +**Wrong Analysis**: +- ❌ "Parameter is unused, should be removed" +- ❌ "Remove all related infrastructure" +- ❌ Not checking where else the parameter is used + +**Correct Approach**: +1. **Trace all usages** of parameters/closures before declaring them unused +2. **Understand dual UX patterns**: iOS commonly uses button + long-press for same actions +3. **Check for multiple consumers**: A closure/parameter may serve multiple UI patterns + +**Example - Menu Button + Context Menu Pattern**: +```swift +// Component accepts menu closure +struct Widget { + let menu: () -> MenuContent + + var body: some View { + content + .toolbar { + // Visible menu button + Menu { menu() } label: { Image(...) } + } + .contextMenu { + // Long-press menu (same content!) + menu() + } + } +} +``` + +**Analysis**: +- Removing the toolbar menu button does NOT make `menu` parameter unused +- The `menu()` closure is still actively used by `.contextMenu` +- Both are valid access patterns for the same functionality + +**Key Questions to Ask**: +- Where else is this parameter/closure called in the file? +- Is this a dual-access pattern (button + long-press)? +- Was the removal intentional (UX change) or accidental? +- Are there separate flags controlling each access method? + +### Mistake: Not Understanding Conditional Rendering Flags + +**Scenario**: A component has multiple boolean flags like `allowMenuContent` and `allowContextMenuItems`. + +**Wrong Analysis**: +- ❌ "These flags serve the same purpose, consolidate them" +- ❌ Not recognizing they control different UI elements + +**Correct Approach**: +1. Each flag controls a specific UI element/pattern +2. `allowMenuContent`: Controls visible button +3. `allowContextMenuItems`: Controls long-press menu +4. They can be independently enabled/disabled + +**Example**: +```swift +// Widget with independent menu controls +LinkWidgetViewContainer( + allowMenuContent: false, // No visible button + allowContextMenuItems: true, // Long-press still works + menu: { MenuItem() } // Used by context menu only +) +``` + +## Analysis Checklist + +Before suggesting removal of "unused" code: +- [ ] Searched ALL usages in the file +- [ ] Checked for dual UX patterns (button + context menu) +- [ ] Understood purpose of each boolean flag +- [ ] Verified it's not used by multiple consumers +- [ ] Asked clarifying questions about design intent + +If unsure, ask: +> "Was removing [UI element] intentional? The [parameter] is still used by [other pattern]. Should we keep both access methods or restore the [UI element]?" From 3d6313d2843191d8d6ceca0eadea13a5f002c818 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Wed, 29 Oct 2025 11:26:30 +0300 Subject: [PATCH 064/228] IOS-5385 Migrate Application Coordinator --- .../ApplicationCoordinatorView.swift | 2 +- .../ApplicationCoordinatorViewModel.swift | 30 ++++++++++--------- 2 files changed, 17 insertions(+), 15 deletions(-) diff --git a/Anytype/Sources/ApplicationLayer/AppCoordinator/ApplicationCoordinatorView.swift b/Anytype/Sources/ApplicationLayer/AppCoordinator/ApplicationCoordinatorView.swift index 77c092fa1f..356e9e9950 100644 --- a/Anytype/Sources/ApplicationLayer/AppCoordinator/ApplicationCoordinatorView.swift +++ b/Anytype/Sources/ApplicationLayer/AppCoordinator/ApplicationCoordinatorView.swift @@ -4,7 +4,7 @@ import AnytypeCore struct ApplicationCoordinatorView: View { - @StateObject private var model = ApplicationCoordinatorViewModel() + @State private var model = ApplicationCoordinatorViewModel() @Environment(\.dismissAllPresented) private var dismissAllPresented var body: some View { diff --git a/Anytype/Sources/ApplicationLayer/AppCoordinator/ApplicationCoordinatorViewModel.swift b/Anytype/Sources/ApplicationLayer/AppCoordinator/ApplicationCoordinatorViewModel.swift index 4a4af2807b..75b51ca479 100644 --- a/Anytype/Sources/ApplicationLayer/AppCoordinator/ApplicationCoordinatorViewModel.swift +++ b/Anytype/Sources/ApplicationLayer/AppCoordinator/ApplicationCoordinatorViewModel.swift @@ -4,35 +4,37 @@ import AnytypeCore import Services @MainActor -final class ApplicationCoordinatorViewModel: ObservableObject { +@Observable +final class ApplicationCoordinatorViewModel { - @Injected(\.authService) + @Injected(\.authService) @ObservationIgnored private var authService: any AuthServiceProtocol - @Injected(\.accountEventHandler) + @Injected(\.accountEventHandler) @ObservationIgnored private var accountEventHandler: any AccountEventHandlerProtocol - @Injected(\.encryptionKeyEventHandler) + @Injected(\.encryptionKeyEventHandler) @ObservationIgnored private var encryptionKeyEventHandler: any EncryptionKeyEventHandlerProtocol - @Injected(\.applicationStateService) + @Injected(\.applicationStateService) @ObservationIgnored private var applicationStateService: any ApplicationStateServiceProtocol - @Injected(\.accountManager) + @Injected(\.accountManager) @ObservationIgnored private var accountManager: any AccountManagerProtocol - @Injected(\.seedService) + @Injected(\.seedService) @ObservationIgnored private var seedService: any SeedServiceProtocol - @Injected(\.fileErrorEventHandler) + @Injected(\.fileErrorEventHandler) @ObservationIgnored private var fileErrorEventHandler: any FileErrorEventHandlerProtocol - @Injected(\.basicUserInfoStorage) + @Injected(\.basicUserInfoStorage) @ObservationIgnored private var basicUserInfoStorage: any BasicUserInfoStorageProtocol - @Injected(\.pushNotificationsPermissionService) + @Injected(\.pushNotificationsPermissionService) @ObservationIgnored private var pushNotificationsPermissionService: any PushNotificationsPermissionServiceProtocol + @ObservationIgnored private var dismissAllPresented: DismissAllPresented? // MARK: - State - @Published var applicationState: ApplicationState = .initial - @Published var toastBarData: ToastBarData? - @Published var migrationData: MigrationModuleData? - @Published var selectAccountTaskId: String? + var applicationState: ApplicationState = .initial + var toastBarData: ToastBarData? + var migrationData: MigrationModuleData? + var selectAccountTaskId: String? func deleteAccount() -> AnyView? { if case let .pendingDeletion(deadline) = accountManager.account.status { From af30072604f57d5c67bb9b6dcc47a0cba1da802d Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Wed, 29 Oct 2025 11:49:38 +0300 Subject: [PATCH 065/228] IOS-5401 Migrate --- .../GlobalEnv/GlobalEnvModifier.swift | 26 ++++++++++++++----- .../Specific/Object/TodoIconView.swift | 24 ++++++++++++----- .../ExportStackGoroutinesViewModifier.swift | 17 +++++++++--- .../Modules/Chat/AttachmentProcessor.swift | 16 ++++++------ .../Modules/Chat/AttachmentValidator.swift | 2 +- .../File/Image/BlockImageViewModel.swift | 2 +- 6 files changed, 60 insertions(+), 27 deletions(-) diff --git a/Anytype/Sources/ApplicationLayer/GlobalEnv/GlobalEnvModifier.swift b/Anytype/Sources/ApplicationLayer/GlobalEnv/GlobalEnvModifier.swift index 01ccd6020f..40dc858554 100644 --- a/Anytype/Sources/ApplicationLayer/GlobalEnv/GlobalEnvModifier.swift +++ b/Anytype/Sources/ApplicationLayer/GlobalEnv/GlobalEnvModifier.swift @@ -4,10 +4,7 @@ import SwiftUI private struct GlobalEnvModifier: ViewModifier { @State private var windowHolder = WindowHolder(window: nil) - @Injected(\.userDefaultsStorage) - private var userDefaults: any UserDefaultsStorageProtocol - @Injected(\.legacyViewControllerProvider) - private var viewControllerProvider: any ViewControllerProviderProtocol + @State private var model = GlobalEnvModifierModel() func body(content: Content) -> some View { content @@ -17,13 +14,30 @@ private struct GlobalEnvModifier: ViewModifier { .setAppInterfaceStyleEnv(window: windowHolder.window) // Legacy :( .onChange(of: windowHolder) { _, newValue in - viewControllerProvider.setSceneWindow(newValue.window) - newValue.window?.overrideUserInterfaceStyle = userDefaults.userInterfaceStyle + model.setSceneWindow(newValue.window) + newValue.window?.overrideUserInterfaceStyle = model.userInterfaceStyle } } } +@MainActor +@Observable +private final class GlobalEnvModifierModel { + @Injected(\.userDefaultsStorage) @ObservationIgnored + private var userDefaults: any UserDefaultsStorageProtocol + @Injected(\.legacyViewControllerProvider) @ObservationIgnored + private var viewControllerProvider: any ViewControllerProviderProtocol + + var userInterfaceStyle: UIUserInterfaceStyle { + userDefaults.userInterfaceStyle + } + + func setSceneWindow(_ window: UIWindow?) { + viewControllerProvider.setSceneWindow(window) + } +} + extension View { func setupGlobalEnv() -> some View { self.modifier(GlobalEnvModifier()) diff --git a/Anytype/Sources/PresentationLayer/Common/SwiftUI/IconView/Specific/Object/TodoIconView.swift b/Anytype/Sources/PresentationLayer/Common/SwiftUI/IconView/Specific/Object/TodoIconView.swift index fc3d5d37c3..36b91baff4 100644 --- a/Anytype/Sources/PresentationLayer/Common/SwiftUI/IconView/Specific/Object/TodoIconView.swift +++ b/Anytype/Sources/PresentationLayer/Common/SwiftUI/IconView/Specific/Object/TodoIconView.swift @@ -5,9 +5,7 @@ import Services struct TodoIconView: View { private static let maxSide = 28.0 - - @Injected(\.objectActionsService) - private var objectActionsService: any ObjectActionsServiceProtocol + @State private var model = TodoIconViewModel() let checked: Bool let objectId: String? @@ -20,10 +18,22 @@ struct TodoIconView: View { .frame(maxWidth: 28, maxHeight: 28) .onTapGesture { guard let objectId else { return } - Task { - try await objectActionsService.updateBundledDetails(contextID: objectId, details: [.done(!checked)]) - UIImpactFeedbackGenerator(style: .rigid).impactOccurred() - } + model.updateDone(objectId: objectId, checked: !checked) } } } + +@MainActor +@Observable +private final class TodoIconViewModel { + + @Injected(\.objectActionsService) @ObservationIgnored + private var objectActionsService: any ObjectActionsServiceProtocol + + func updateDone(objectId: String, checked: Bool) { + Task { + try await objectActionsService.updateBundledDetails(contextID: objectId, details: [.done(checked)]) + UIImpactFeedbackGenerator(style: .rigid).impactOccurred() + } + } +} diff --git a/Anytype/Sources/PresentationLayer/Debug/ExportStackGoroutines/ExportStackGoroutinesViewModifier.swift b/Anytype/Sources/PresentationLayer/Debug/ExportStackGoroutines/ExportStackGoroutinesViewModifier.swift index a28b84f290..00095a07c4 100644 --- a/Anytype/Sources/PresentationLayer/Debug/ExportStackGoroutines/ExportStackGoroutinesViewModifier.swift +++ b/Anytype/Sources/PresentationLayer/Debug/ExportStackGoroutines/ExportStackGoroutinesViewModifier.swift @@ -1,11 +1,9 @@ import SwiftUI import Services - struct ExportStackGoroutinesViewModifier: ViewModifier { - @Injected(\.debugService) - private var debugService: any DebugServiceProtocol + @State private var model = ExportStackGoroutinesViewModel() @State private var shareUrlFile: URL? @Binding var isPresented: Bool @@ -21,10 +19,21 @@ struct ExportStackGoroutinesViewModifier: ViewModifier { } private func exportStackGoroutines() { - Task { shareUrlFile = try await debugService.exportStackGoroutinesZip() } + Task { shareUrlFile = try await model.exportStackGoroutinesZip() } } } +@MainActor +@Observable +private final class ExportStackGoroutinesViewModel { + + @Injected(\.debugService) @ObservationIgnored + private var debugService: any DebugServiceProtocol + + func exportStackGoroutinesZip() async throws -> URL { + try await debugService.exportStackGoroutinesZip() + } +} extension View { func exportStackGoroutinesSheet(isPresented: Binding) -> some View { diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/AttachmentProcessor.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/AttachmentProcessor.swift index 34c54a22af..3f2d70e840 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/AttachmentProcessor.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/AttachmentProcessor.swift @@ -7,19 +7,19 @@ import Factory import AnytypeCore @MainActor -protocol AttachmentProcessor { +protocol AttachmentProcessor: AnyObject { associatedtype Input func process(_ input: Input, spaceId: String) throws -> ChatLinkedObject } @MainActor -protocol AsyncAttachmentProcessor { +protocol AsyncAttachmentProcessor: AnyObject { associatedtype Input func process(_ input: Input, spaceId: String) async throws -> ChatLinkedObject } @MainActor -struct FileAttachmentProcessor: AttachmentProcessor { +final class FileAttachmentProcessor: AttachmentProcessor { @Injected(\.fileActionsService) private var fileActionsService: any FileActionsServiceProtocol @@ -39,7 +39,7 @@ struct FileAttachmentProcessor: AttachmentProcessor { } @MainActor -struct CameraMediaProcessor: AttachmentProcessor { +final class CameraMediaProcessor: AttachmentProcessor { @Injected(\.fileActionsService) private var fileActionsService: any FileActionsServiceProtocol @@ -61,7 +61,7 @@ struct CameraMediaProcessor: AttachmentProcessor { } @MainActor -struct PhotosPickerProcessor: AsyncAttachmentProcessor { +final class PhotosPickerProcessor: AsyncAttachmentProcessor { @Injected(\.fileActionsService) private var fileActionsService: any FileActionsServiceProtocol @@ -73,7 +73,7 @@ struct PhotosPickerProcessor: AsyncAttachmentProcessor { } @MainActor -struct PasteBufferProcessor: AsyncAttachmentProcessor { +final class PasteBufferProcessor: AsyncAttachmentProcessor { @Injected(\.fileActionsService) private var fileActionsService: any FileActionsServiceProtocol @@ -87,7 +87,7 @@ struct PasteBufferProcessor: AsyncAttachmentProcessor { } @MainActor -struct LinkPreviewProcessor: AsyncAttachmentProcessor { +final class LinkPreviewProcessor: AsyncAttachmentProcessor { @Injected(\.bookmarkService) private var bookmarkService: any BookmarkServiceProtocol @@ -106,7 +106,7 @@ struct LinkPreviewProcessor: AsyncAttachmentProcessor { } @MainActor -struct UploadedObjectProcessor: AttachmentProcessor { +final class UploadedObjectProcessor: AttachmentProcessor { func process(_ input: MessageAttachmentDetails, spaceId: String) throws -> ChatLinkedObject { return .uploadedObject(input) diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/AttachmentValidator.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/AttachmentValidator.swift index a783630652..c4ca16cfc0 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/AttachmentValidator.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/AttachmentValidator.swift @@ -13,7 +13,7 @@ struct AttachmentValidationResult { } @MainActor -struct ChatAttachmentValidator { +final class ChatAttachmentValidator { @Injected(\.chatMessageLimits) private var chatMessageLimits: any ChatMessageLimitsProtocol diff --git a/Anytype/Sources/PresentationLayer/TextEditor/BlocksViews/Blocks/File/Image/BlockImageViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/BlocksViews/Blocks/File/Image/BlockImageViewModel.swift index 748c2d4971..250e697c45 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/BlocksViews/Blocks/File/Image/BlockImageViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/BlocksViews/Blocks/File/Image/BlockImageViewModel.swift @@ -4,7 +4,7 @@ import Combine import AnytypeCore @MainActor -struct BlockImageViewModel: BlockViewModelProtocol { +final class BlockImageViewModel: BlockViewModelProtocol { typealias Action = (_ arg: T) -> Void @Injected(\.openedDocumentProvider) From 43b41e7d2350348e053317cbd4270bf9139f684f Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 29 Oct 2025 11:11:54 +0000 Subject: [PATCH 066/228] IOS-5364 Update workflow documentation for test_fastlane_build and ipa workflows --- .github/WORKFLOWS_REFERENCE.md | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/.github/WORKFLOWS_REFERENCE.md b/.github/WORKFLOWS_REFERENCE.md index fdad2b5d75..77fd1aec97 100644 --- a/.github/WORKFLOWS_REFERENCE.md +++ b/.github/WORKFLOWS_REFERENCE.md @@ -66,8 +66,8 @@ This document provides an overview of GitHub workflows, custom actions, and auto #### `ipa.yaml` - IPA Build **File:** `.github/workflows/ipa.yaml` -**Triggers:** Manual dispatch -**Purpose:** Creates IPA builds for distribution outside TestFlight/App Store. +**Triggers:** Manual dispatch, workflow call (called from test run repository) +**Purpose:** Builds IPA file for the application. Invoked from the test run repository for automated testing. --- @@ -163,10 +163,11 @@ This document provides an overview of GitHub workflows, custom actions, and auto --- -#### `test_fastlane_build.yaml` - Fastlane Testing +#### `test_fastlane_build.yaml` - Workflow Development Testing **File:** `.github/workflows/test_fastlane_build.yaml` **Triggers:** Manual dispatch -**Purpose:** Tests Fastlane configuration changes without full builds. +**Purpose:** Test workflow used when developing new GitHub workflows. Helps test workflow changes before merging to dev branch. +**Note:** Due to GitHub limitations, new workflow files are not visible in the Actions UI until merged into the dev branch. --- @@ -409,5 +410,5 @@ jobs: --- -**Last Updated:** 2025-10-27 +**Last Updated:** 2025-10-29 **Maintainers:** iOS Team From 173ae59bdb3f0641554029c6ce7c65b7fb30da7b Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 29 Oct 2025 11:13:27 +0000 Subject: [PATCH 067/228] IOS-5364 Updated cpp command --- .claude/commands/cpp.md | 31 ++++++++++++++++++++++++++++++- 1 file changed, 30 insertions(+), 1 deletion(-) diff --git a/.claude/commands/cpp.md b/.claude/commands/cpp.md index e51aaa5a38..57b9d954ea 100644 --- a/.claude/commands/cpp.md +++ b/.claude/commands/cpp.md @@ -1 +1,30 @@ -Commit, push, pull request +Commit, push, pull request + +## Usage +``` +/cpp [in branch ] +``` + +## Description +Commits the current changes, pushes to remote, and creates a pull request. + +## Optional Arguments +- `in branch ` - Specifies the target branch to use for the commit, push, and PR + +## Branch Handling +When a branch name is provided: +1. **Branch doesn't exist locally or remotely**: Creates a new branch with the specified name +2. **Branch exists locally**: Switches to that branch +3. **Branch exists only remotely**: Checks out the remote branch locally + +## Examples +```bash +# Commit, push, and PR on current branch +/cpp + +# Commit, push, and PR on specific branch (creates if doesn't exist) +/cpp in branch ios-5364-add-claude-to-gh-actions + +# Commit, push, and PR on existing branch +/cpp in branch develop +``` From 75da091ddabb0fd184e6e99206c5dcfc0c651521 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 29 Oct 2025 11:14:21 +0000 Subject: [PATCH 068/228] Update .github/WORKFLOWS_REFERENCE.md Co-authored-by: claude[bot] <209825114+claude[bot]@users.noreply.github.com> --- .github/WORKFLOWS_REFERENCE.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/WORKFLOWS_REFERENCE.md b/.github/WORKFLOWS_REFERENCE.md index 77fd1aec97..f5322281f1 100644 --- a/.github/WORKFLOWS_REFERENCE.md +++ b/.github/WORKFLOWS_REFERENCE.md @@ -66,7 +66,8 @@ This document provides an overview of GitHub workflows, custom actions, and auto #### `ipa.yaml` - IPA Build **File:** `.github/workflows/ipa.yaml` -**Triggers:** Manual dispatch, workflow call (called from test run repository) +**Triggers:** Manual dispatch, repository dispatch (triggers test run repository after build) +**Purpose:** Builds IPA file for the application. After successful build, triggers automated tests in the anytype-test repository. **Purpose:** Builds IPA file for the application. Invoked from the test run repository for automated testing. --- From c05f96b338a4b3e86e6dec06bc543f3a390e727e Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 29 Oct 2025 15:06:59 +0000 Subject: [PATCH 069/228] IOS-5255 Implement new settings menu --- .../EditorPage/EditorPageController.swift | 9 +- .../EditorNavigationBarHelper.swift | 33 ++++- .../Settings/ObjectActions/ObjectAction.swift | 25 ++++ .../ObjectActions/ObjectActionRow.swift | 2 +- .../ObjectSettings/Model/ObjectSetting.swift | 21 +++- .../Models/ObjectMenuItem.swift | 24 ++++ .../Models/ObjectMenuSection.swift | 20 +++ .../Models/ObjectMenuSectionType.swift | 35 ++++++ .../ObjectMenuBuilder.swift | 53 ++++++++ .../ObjectSettingsMenuContainer.swift | 33 +++++ .../ObjectSettingsMenuView.swift | 95 ++++++++++++++ .../ObjectSettingsMenuViewModel.swift | 117 ++++++++++++++++++ .../Routing/Editor/EditorRouterProtocol.swift | 3 +- .../TextEditor/Set/EditorSetViewModel.swift | 1 + .../Views/Header/SetHeaderSettingsView.swift | 3 +- .../Header/SetHeaderSettingsViewModel.swift | 5 +- .../Set/Views/Header/SetMinimizedHeader.swift | 18 +++ 17 files changed, 484 insertions(+), 13 deletions(-) create mode 100644 Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/Models/ObjectMenuItem.swift create mode 100644 Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/Models/ObjectMenuSection.swift create mode 100644 Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/Models/ObjectMenuSectionType.swift create mode 100644 Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectMenuBuilder.swift create mode 100644 Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuContainer.swift create mode 100644 Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuView.swift create mode 100644 Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuViewModel.swift diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/EditorPageController.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/EditorPageController.swift index c1884e5482..5b5d473948 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/EditorPageController.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/EditorPageController.swift @@ -54,11 +54,14 @@ final class EditorPageController: UIViewController { private lazy var navigationBarHelper: EditorNavigationBarHelper = EditorNavigationBarHelper( navigationBarView: navigationBarView, - navigationBarBackgroundView: navigationBarBackgroundView, + navigationBarBackgroundView: navigationBarBackgroundView, + objectId: viewModel.document.objectId, + spaceId: viewModel.document.spaceId, + output: viewModel.router, onSettingsBarButtonItemTap: { [weak viewModel] in UISelectionFeedbackGenerator().selectionChanged() viewModel?.showSettings() - }, + }, onSelectAllBarButtonItemTap: { [weak self] allSelected in self?.handleSelectState(allSelected: allSelected) }, @@ -67,7 +70,7 @@ final class EditorPageController: UIViewController { }, onTemplatesButtonTap: { [weak viewModel] in viewModel?.showTemplates() - }, + }, onSyncStatusTap: { [weak viewModel] in UISelectionFeedbackGenerator().selectionChanged() viewModel?.showSyncStatusInfo() diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Utils/EditorNavigationBarHelper/EditorNavigationBarHelper.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Utils/EditorNavigationBarHelper/EditorNavigationBarHelper.swift index b45855246d..eee872d88d 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Utils/EditorNavigationBarHelper/EditorNavigationBarHelper.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Utils/EditorNavigationBarHelper/EditorNavigationBarHelper.swift @@ -2,6 +2,7 @@ import Foundation import UIKit import Services import SwiftUI +import AnytypeCore @MainActor final class EditorNavigationBarHelper { @@ -16,6 +17,7 @@ final class EditorNavigationBarHelper { private let selectAllButton: UIButton private let settingsItem: UIEditorBarButtonItem + private let settingsMenuView: UIView? private let syncStatusItem: EditorSyncStatusItem private let webBannerItem: EditorWebBannerItem private let rightContanerForEditing: UIView @@ -38,6 +40,9 @@ final class EditorNavigationBarHelper { init( navigationBarView: EditorNavigationBarView, navigationBarBackgroundView: UIView, + objectId: String, + spaceId: String, + output: (any ObjectSettingsCoordinatorOutput)?, onSettingsBarButtonItemTap: @escaping () -> Void, onSelectAllBarButtonItemTap: @escaping (Bool) -> Void, onDoneBarButtonItemTap: @escaping () -> Void, @@ -48,6 +53,16 @@ final class EditorNavigationBarHelper { self.navigationBarView = navigationBarView self.navigationBarBackgroundView = navigationBarBackgroundView self.settingsItem = UIEditorBarButtonItem(imageAsset: .X24.more, action: onSettingsBarButtonItemTap) + + if FeatureFlags.newObjectSettings { + let menuContainer = ObjectSettingsMenuContainer(objectId: objectId, spaceId: spaceId, output: output) + let hostingController = UIHostingController(rootView: menuContainer) + hostingController.view.backgroundColor = .clear + self.settingsMenuView = hostingController.view + } else { + self.settingsMenuView = nil + } + self.syncStatusItem = EditorSyncStatusItem(onTap: onSyncStatusTap) self.webBannerItem = EditorWebBannerItem(onTap: onWebBannerTap) @@ -94,11 +109,19 @@ final class EditorNavigationBarHelper { ) self.rightContanerForEditing.layoutUsing.stack { - $0.hStack( - spacing: 12, - syncStatusItem, - settingsItem - ) + if FeatureFlags.newObjectSettings, let settingsMenuView { + $0.hStack( + spacing: 12, + syncStatusItem, + settingsMenuView + ) + } else { + $0.hStack( + spacing: 12, + syncStatusItem, + settingsItem + ) + } } navigationBarView.bannerView = webBannerItem diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectAction.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectAction.swift index c6193fd920..a17a3c24d5 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectAction.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectAction.swift @@ -83,4 +83,29 @@ enum ObjectAction: Hashable, Identifiable { return "copyLink" } } + + var menuOrder: Int { + switch self { + case .pin: + return 10 + case .undoRedo: + return 11 + case .linkItself: + return 20 + case .makeAsTemplate: + return 21 + case .templateToggleDefaultState: + return 22 + case .locked: + return 30 + case .copyLink: + return 40 + case .duplicate: + return 41 + case .archive: + return 42 + case .delete: + return 43 + } + } } diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionRow.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionRow.swift index 5dd825f2ea..09ad10de39 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionRow.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionRow.swift @@ -45,7 +45,7 @@ extension ObjectActionRow { } } -private extension ObjectAction { +extension ObjectAction { var title: String { switch self { diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/Model/ObjectSetting.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/Model/ObjectSetting.swift index afcb8e0c8e..f79430398d 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/Model/ObjectSetting.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/Model/ObjectSetting.swift @@ -26,7 +26,26 @@ extension ObjectSetting { return .object } } - + + var menuOrder: Int { + switch self { + case .relations: + return 0 + case .icon: + return 1 + case .cover: + return 2 + case .description: + return 10 + case .resolveConflict: + return 11 + case .webPublishing: + return 12 + case .history: + return 21 + } + } + var title: String { switch self { case .icon: diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/Models/ObjectMenuItem.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/Models/ObjectMenuItem.swift new file mode 100644 index 0000000000..0489e6c9da --- /dev/null +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/Models/ObjectMenuItem.swift @@ -0,0 +1,24 @@ +import Foundation + +enum ObjectMenuItem: Identifiable { + case setting(ObjectSetting) + case action(ObjectAction) + + var id: String { + switch self { + case .setting(let setting): + return "setting-\(setting.title)" + case .action(let action): + return "action-\(action.id)" + } + } + + var order: Int { + switch self { + case .setting(let setting): + return setting.menuOrder + case .action(let action): + return action.menuOrder + } + } +} diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/Models/ObjectMenuSection.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/Models/ObjectMenuSection.swift new file mode 100644 index 0000000000..82e61aa63e --- /dev/null +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/Models/ObjectMenuSection.swift @@ -0,0 +1,20 @@ +import Foundation + +enum ObjectMenuSectionLayout { + case horizontal + case vertical +} + +struct ObjectMenuConfiguration { + let sections: [ObjectMenuSection] +} + +struct ObjectMenuSection: Identifiable { + let items: [ObjectMenuItem] + let layout: ObjectMenuSectionLayout + let showDividerBefore: Bool + + var id: String { + items.map { $0.id }.joined(separator: "-") + } +} diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/Models/ObjectMenuSectionType.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/Models/ObjectMenuSectionType.swift new file mode 100644 index 0000000000..db92dc721e --- /dev/null +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/Models/ObjectMenuSectionType.swift @@ -0,0 +1,35 @@ +import Foundation + +enum ObjectMenuSectionType { + case horizontal + case mainSettings + case objectActions + case management + case finalActions +} + +extension ObjectMenuSectionType { + static func section(for setting: ObjectSetting) -> ObjectMenuSectionType { + switch setting { + case .icon, .cover, .relations: + return .horizontal + case .description, .resolveConflict, .webPublishing: + return .mainSettings + case .history: + return .management + } + } + + static func section(for action: ObjectAction) -> ObjectMenuSectionType { + switch action { + case .pin, .undoRedo: + return .mainSettings + case .linkItself, .makeAsTemplate, .templateToggleDefaultState: + return .objectActions + case .locked: + return .management + case .copyLink, .duplicate, .archive, .delete: + return .finalActions + } + } +} diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectMenuBuilder.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectMenuBuilder.swift new file mode 100644 index 0000000000..6292cc4823 --- /dev/null +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectMenuBuilder.swift @@ -0,0 +1,53 @@ +import Foundation + +struct ObjectMenuBuilder { + static func buildMenu(settings: [ObjectSetting], actions: [ObjectAction]) -> ObjectMenuConfiguration { + let allItems = settings.map { (ObjectMenuSectionType.section(for: $0), ObjectMenuItem.setting($0)) } + + actions.map { (ObjectMenuSectionType.section(for: $0), ObjectMenuItem.action($0)) } + let grouped = Dictionary(grouping: allItems, by: { $0.0 }) + + var sections: [ObjectMenuSection] = [] + + if let items = grouped[.horizontal]?.map({ $0.1 }), !items.isEmpty { + sections.append(ObjectMenuSection( + items: items.sorted { $0.order < $1.order }, + layout: .horizontal, + showDividerBefore: false + )) + } + + if let items = grouped[.mainSettings]?.map({ $0.1 }), !items.isEmpty { + sections.append(ObjectMenuSection( + items: items.sorted { $0.order < $1.order }, + layout: .vertical, + showDividerBefore: false + )) + } + + if let items = grouped[.objectActions]?.map({ $0.1 }), !items.isEmpty { + sections.append(ObjectMenuSection( + items: items.sorted { $0.order < $1.order }, + layout: .vertical, + showDividerBefore: true + )) + } + + if let items = grouped[.management]?.map({ $0.1 }), !items.isEmpty { + sections.append(ObjectMenuSection( + items: items.sorted { $0.order < $1.order }, + layout: .vertical, + showDividerBefore: true + )) + } + + if let items = grouped[.finalActions]?.map({ $0.1 }), !items.isEmpty { + sections.append(ObjectMenuSection( + items: items.sorted { $0.order < $1.order }, + layout: .vertical, + showDividerBefore: true + )) + } + + return ObjectMenuConfiguration(sections: sections) + } +} diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuContainer.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuContainer.swift new file mode 100644 index 0000000000..3b7acb8ce7 --- /dev/null +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuContainer.swift @@ -0,0 +1,33 @@ +import SwiftUI +import AnytypeCore + +struct ObjectSettingsMenuContainer: View { + + @StateObject private var model: ObjectSettingsCoordinatorViewModel + + init(objectId: String, spaceId: String, output: (any ObjectSettingsCoordinatorOutput)?) { + self._model = StateObject(wrappedValue: ObjectSettingsCoordinatorViewModel(objectId: objectId, spaceId: spaceId, output: output)) + } + + var body: some View { + ObjectSettingsMenuView(objectId: model.objectId, spaceId: model.spaceId, output: model) + .sheet(item: $model.coverPickerData) { + ObjectCoverPicker(data: $0) + } + .sheet(item: $model.objectIconPickerData) { + ObjectIconPicker(data: $0) + } + .sheet(item: $model.blockObjectSearchData) { + BlockObjectSearchView(data: $0) + } + .sheet(item: $model.relationsListData) { + PropertiesListCoordinatorView(document: $0.document, output: model) + } + .sheet(item: $model.versionHistoryData) { + VersionHistoryCoordinatorView(data: $0, output: model) + } + .sheet(item: $model.publishingData) { + PublishToWebCoordinator(data: $0) + } + } +} diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuView.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuView.swift new file mode 100644 index 0000000000..d921920b18 --- /dev/null +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuView.swift @@ -0,0 +1,95 @@ +import SwiftUI +import AnytypeCore + +struct ObjectSettingsMenuView: View { + + @StateObject private var viewModel: ObjectSettingsMenuViewModel + + init( + objectId: String, + spaceId: String, + output: some ObjectSettingsModelOutput + ) { + let settingsVM = ObjectSettingsViewModel(objectId: objectId, spaceId: spaceId, output: output) + let actionsVM = ObjectActionsViewModel(objectId: objectId, spaceId: spaceId, output: settingsVM) + self._viewModel = StateObject(wrappedValue: ObjectSettingsMenuViewModel(settingsViewModel: settingsVM, actionsViewModel: actionsVM)) + } + + var body: some View { + Menu { + ForEach(viewModel.menuConfig.sections) { section in + if section.showDividerBefore { + Divider() + } + renderSection(section) + } + } label: { + Image(asset: .X24.more) + .foregroundColor(.Text.primary) + } + .task { + await viewModel.startTasks() + } + .anytypeSheet(isPresented: viewModel.showConflictAlert) { + ObjectSettingsResolveConflictAlert { + try await viewModel.onTapResolveConflictApprove() + } + } + .snackbar(toastBarData: viewModel.toastData) + } + + @ViewBuilder + private func renderSection(_ section: ObjectMenuSection) -> some View { + if section.layout == .horizontal { + ControlGroup { + ForEach(section.items) { item in + renderMenuItem(item) + } + } + .controlGroupStyle(.menu) + } else { + ForEach(section.items) { item in + renderMenuItem(item) + } + } + } + + @ViewBuilder + private func renderMenuItem(_ item: ObjectMenuItem) -> some View { + switch item { + case .setting(let setting): + Button { + Task { + await viewModel.handleSetting(setting) + } + } label: { + Label { + Text(setting.title) + } icon: { + Image(asset: setting.imageAsset) + .renderingMode(.template) + .foregroundColor(.Text.primary) + } + } + case .action(let action): + Button(role: viewModel.isDestructiveAction(action) ? .destructive : nil) { + Task { + await viewModel.handleAction(action) + } + } label: { + Label { + Text(action.title) + } icon: { + if viewModel.isDestructiveAction(action) { + Image(asset: action.imageAsset) + } else { + Image(asset: action.imageAsset) + .renderingMode(.template) + .foregroundColor(.Text.primary) + } + } + } + } + } + +} diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuViewModel.swift new file mode 100644 index 0000000000..7dd41d4259 --- /dev/null +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuViewModel.swift @@ -0,0 +1,117 @@ +import Foundation +import Combine +import SwiftUI + +@MainActor +final class ObjectSettingsMenuViewModel: ObservableObject { + + @Published var menuConfig = ObjectMenuConfiguration(sections: []) + + let settingsViewModel: ObjectSettingsViewModel + let actionsViewModel: ObjectActionsViewModel + private var cancellables = Set() + + var showConflictAlert: Binding { + Binding( + get: { self.settingsViewModel.showConflictAlert }, + set: { self.settingsViewModel.showConflictAlert = $0 } + ) + } + + var toastData: Binding { + Binding( + get: { self.actionsViewModel.toastData }, + set: { self.actionsViewModel.toastData = $0 } + ) + } + + init(settingsViewModel: ObjectSettingsViewModel, actionsViewModel: ObjectActionsViewModel) { + self.settingsViewModel = settingsViewModel + self.actionsViewModel = actionsViewModel + setupSubscriptions() + } + + func startTasks() async { + async let settingsTask: () = settingsViewModel.startDocumentTask() + async let actionsTask: () = actionsViewModel.startSubscriptions() + _ = await (settingsTask, actionsTask) + } + + func onTapResolveConflictApprove() async throws { + try await settingsViewModel.onTapResolveConflictApprove() + } + + private func setupSubscriptions() { + settingsViewModel.$settings + .sink { [weak self] _ in + self?.rebuildMenu() + } + .store(in: &cancellables) + + actionsViewModel.$objectActions + .sink { [weak self] _ in + self?.rebuildMenu() + } + .store(in: &cancellables) + } + + private func rebuildMenu() { + menuConfig = ObjectMenuBuilder.buildMenu( + settings: settingsViewModel.settings, + actions: actionsViewModel.objectActions + ) + } + + func isDestructiveAction(_ action: ObjectAction) -> Bool { + switch action { + case .delete, .archive: + return true + default: + return false + } + } + + func handleSetting(_ setting: ObjectSetting) async { + switch setting { + case .icon: + settingsViewModel.onTapIconPicker() + case .cover: + settingsViewModel.onTapCoverPicker() + case .description: + try? await settingsViewModel.onTapDescription() + case .relations: + settingsViewModel.onTapRelations() + case .history: + settingsViewModel.onTapHistory() + case .resolveConflict: + settingsViewModel.onTapResolveConflict() + case .webPublishing: + settingsViewModel.onTapPublishing() + } + } + + func handleAction(_ action: ObjectAction) async { + switch action { + case .archive: + try? await actionsViewModel.changeArchiveState() + case let .pin(pinned): + try? await actionsViewModel.changePinState(pinned) + case .locked: + try? await actionsViewModel.changeLockState() + case .undoRedo: + actionsViewModel.undoRedoAction() + case .duplicate: + try? await actionsViewModel.duplicateAction() + case .linkItself: + actionsViewModel.linkItselfAction() + case .makeAsTemplate: + try? await actionsViewModel.makeAsTempalte() + case .templateToggleDefaultState: + try? await actionsViewModel.templateToggleDefaultState() + case .delete: + try? await actionsViewModel.deleteAction() + case .copyLink: + try? await actionsViewModel.copyLinkAction() + } + } +} diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Routing/Editor/EditorRouterProtocol.swift b/Anytype/Sources/PresentationLayer/TextEditor/Routing/Editor/EditorRouterProtocol.swift index f955d8983d..7332fa73bf 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Routing/Editor/EditorRouterProtocol.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Routing/Editor/EditorRouterProtocol.swift @@ -6,7 +6,8 @@ import UIKit @MainActor protocol EditorRouterProtocol: AnyObject, - ObjectHeaderRouterProtocol + ObjectHeaderRouterProtocol, + ObjectSettingsCoordinatorOutput { func showAlert(alertModel: AlertModel) func showObject(objectId: String, forceOpenObject: Bool) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/EditorSetViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/EditorSetViewModel.swift index f67af832d2..d200ba9e16 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/EditorSetViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/EditorSetViewModel.swift @@ -32,6 +32,7 @@ final class EditorSetViewModel: ObservableObject { @MainActor lazy var headerSettingsViewModel = SetHeaderSettingsViewModel( setDocument: setDocument, + output: output as? ObjectSettingsCoordinatorOutput, onViewTap: { [weak self] in self?.showViewPicker() }, onSettingsTap: { [weak self] in self?.showSetSettings() } , onCreateTap: { [weak self] in self?.createObject() }, diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsView.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsView.swift index 190fabd92f..cbba66a56a 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsView.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsView.swift @@ -1,4 +1,5 @@ import SwiftUI +import AnytypeCore struct SetHeaderSettingsView: View { @@ -86,7 +87,7 @@ struct SetHeaderSettings_Previews: PreviewProvider { static var previews: some View { SetHeaderSettingsView( model: SetHeaderSettingsViewModel( - setDocument: Container.shared.documentsProvider().setDocument(objectId: "", spaceId: ""), + setDocument: Container.shared.documentsProvider().setDocument(objectId: "", spaceId: ""), output: nil, onViewTap: {}, onSettingsTap: {}, onCreateTap:{}, diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsViewModel.swift index 189a153b7e..545e79d5bb 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsViewModel.swift @@ -7,7 +7,8 @@ class SetHeaderSettingsViewModel: ObservableObject { @Published var isActiveCreateButton = true @Published var isActiveHeader = true @Published var showUnsupportedBanner = false - private let setDocument: any SetDocumentProtocol + let setDocument: any SetDocumentProtocol + let output: (any ObjectSettingsCoordinatorOutput)? private var subscriptions = [AnyCancellable]() let onViewTap: () -> Void @@ -19,12 +20,14 @@ class SetHeaderSettingsViewModel: ObservableObject { init( setDocument: some SetDocumentProtocol, + output: (any ObjectSettingsCoordinatorOutput)?, onViewTap: @escaping () -> Void, onSettingsTap: @escaping () -> Void, onCreateTap: @escaping () -> Void, onSecondaryCreateTap: @escaping () -> Void ) { self.setDocument = setDocument + self.output = output self.onViewTap = onViewTap self.onSettingsTap = onSettingsTap self.onCreateTap = onCreateTap diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetMinimizedHeader.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetMinimizedHeader.swift index 251c15e9a2..ae08b6655c 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetMinimizedHeader.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetMinimizedHeader.swift @@ -69,7 +69,25 @@ struct SetMinimizedHeader: View { .frame(width: 28, height: 28) } + @ViewBuilder private var settingsButton: some View { + if FeatureFlags.newObjectSettings { + settingsMenuButton + } else { + settingsActionButton + } + } + + private var settingsMenuButton: some View { + ObjectSettingsMenuContainer( + objectId: model.setDocument.objectId, + spaceId: model.setDocument.spaceId, + output: model.headerSettingsViewModel.output + ) + .frame(width: 44, height: 44) + } + + private var settingsActionButton: some View { EditorBarButtonItem( imageAsset: .X24.more, state: EditorBarItemState( From 723d7fe675b2a1796bfb7e25951d753954019bfe Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 29 Oct 2025 15:17:18 +0000 Subject: [PATCH 070/228] IOS-5415 Add dependency injection in structs guideline to code review --- .claude/commands/codeReview.md | 1 + 1 file changed, 1 insertion(+) diff --git a/.claude/commands/codeReview.md b/.claude/commands/codeReview.md index 844af6726c..7bbdf256dd 100644 --- a/.claude/commands/codeReview.md +++ b/.claude/commands/codeReview.md @@ -44,6 +44,7 @@ When analyzing the diff, pay special attention to: 5. **Tests & Mocks**: When refactoring, ensure tests and mocks are updated 6. **Unused Code**: After refactoring, check that old code is removed 7. **Comments**: Only add if explicitly needed (per CLAUDE.md guidelines) +8. **Dependency Injection in Structs**: Avoid using `@Injected` properties in structs - dependency resolution happens on every struct recreation. Use classes with `@Observable` instead. See [PR #4173](https://github.com/anyproto/anytype-swift/pull/4173) ### Step 4: Output Review From 21c88e1f871e1b8e62e69625f7e217a814353e9e Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Wed, 29 Oct 2025 16:20:18 +0100 Subject: [PATCH 071/228] Multilingual [skip ci] (#4180) --- .../Loc/Sources/Loc/Resources/UI.xcstrings | 480 +++++++++--------- 1 file changed, 240 insertions(+), 240 deletions(-) diff --git a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings index 0101384c99..1c9282c191 100644 --- a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings @@ -968,7 +968,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "문의하기" + "value" : "문의" } }, "nb" : { @@ -1117,7 +1117,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "장치: %@" + "value" : "기기: %@" } }, "nb" : { @@ -1266,7 +1266,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "장치 ID: %@" + "value" : "기기 ID: %@" } }, "nb" : { @@ -3203,7 +3203,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "키체인에 있는 키 접근" + "value" : "키 저장소의 키 접근" } }, "nb" : { @@ -3352,7 +3352,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Action-focused layout with a checkbox" + "value" : "체크박스가 있는 동작 중심의 레이아웃" } }, "nb" : { @@ -3650,7 +3650,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Link to" + "value" : "다음으로 링크" } }, "nb" : { @@ -4097,7 +4097,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Add" + "value" : "추가" } }, "nb" : { @@ -4395,7 +4395,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Add below" + "value" : "아래에 추가" } }, "nb" : { @@ -4991,7 +4991,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Add property" + "value" : "속성 추가" } }, "nb" : { @@ -6184,7 +6184,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "All" + "value" : "전체" } }, "nb" : { @@ -6482,7 +6482,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Try searching with different keywords." + "value" : "다른 키워드로 검색해보세요." } }, "nb" : { @@ -6631,7 +6631,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No results found." + "value" : "검색 결과 없음." } }, "nb" : { @@ -6930,7 +6930,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Unlinked objects that do not have a direct link or backlink with other objects in the graph." + "value" : "링크되지 않은 오브젝트는 그래프에서 다른 오프젝트와의 직접적인 링크나 백링크가 없습니다." } }, "nb" : { @@ -7079,7 +7079,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Only unlinked" + "value" : "링크되지 않음" } }, "nb" : { @@ -7228,7 +7228,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "View Bin" + "value" : "휴지통 보기" } }, "nb" : { @@ -7377,7 +7377,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Oldest first" + "value" : "오래된 순" } }, "nb" : { @@ -7526,7 +7526,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Newest first" + "value" : "최신 순" } }, "nb" : { @@ -7675,7 +7675,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Date created" + "value" : "생성된 날짜" } }, "nb" : { @@ -7824,7 +7824,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Date updated" + "value" : "수정된 날짜" } }, "nb" : { @@ -8718,7 +8718,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Anytype Network" + "value" : "Anytype 네트워크" } }, "nb" : { @@ -9016,7 +9016,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Application" + "value" : "앱" } }, "nb" : { @@ -9314,7 +9314,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Apply" + "value" : "적용" } }, "nb" : { @@ -10152,7 +10152,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Are you sure?" + "value" : "정말 진행할까요?" } }, "nb" : { @@ -12316,7 +12316,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Basic" + "value" : "기본" } }, "nb" : { @@ -16218,7 +16218,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Camera" + "value" : "카메라" } }, "nb" : { @@ -16665,7 +16665,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Cancel deletion" + "value" : "삭제 취소" } }, "nb" : { @@ -16814,7 +16814,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Change cover" + "value" : "표지 변경" } }, "nb" : { @@ -17261,7 +17261,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Change type" + "value" : "유형 변경" } }, "nb" : { @@ -17410,7 +17410,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Change wallpaper" + "value" : "배경화면 변경" } }, "nb" : { @@ -17559,7 +17559,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Channel Type" + "value" : "채널 유형" } }, "nb" : { @@ -18155,7 +18155,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Clear" + "value" : "지우기" } }, "nb" : { @@ -18603,7 +18603,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "All media files stored in Anytype will be deleted from your current device. They can be downloaded again from a backup node or another device." + "value" : "Anytype에 저장된 모든 미디어 파일이 현재 장치에서 삭제됩니다. 백업 노드 또는 다른 장치에서 다시 다운로드할 수 있습니다." } }, "nb" : { @@ -18753,7 +18753,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Are you sure?" + "value" : "정말 진행할까요?" } }, "nb" : { @@ -19051,7 +19051,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Code snippet" + "value" : "코드 스니펫" } }, "nb" : { @@ -20392,7 +20392,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Content Model" + "value" : "내용 모델" } }, "nb" : { @@ -20690,7 +20690,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Yes, convert" + "value" : "네, 변환합니다" } }, "nb" : { @@ -20839,7 +20839,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Switching between Space and Chat will significantly change the experience." + "value" : "스페이스와 채팅 간에 전환하면 경험이 완전히 달라집니다." } }, "nb" : { @@ -20988,7 +20988,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Convert Channel Type?" + "value" : "채널 유형 변환?" } }, "nb" : { @@ -21584,7 +21584,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Copy link" + "value" : "링크 복사" } }, "nb" : { @@ -22628,7 +22628,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create new type" + "value" : "새 유형 만들기" } }, "nb" : { @@ -22926,7 +22926,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create object from clipboard" + "value" : "클립보드에서 오브젝트 만들기" } }, "nb" : { @@ -23373,7 +23373,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create Query" + "value" : "쿼리 만들기" } }, "nb" : { @@ -23820,7 +23820,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Current" + "value" : "현재" } }, "nb" : { @@ -23969,7 +23969,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Customize URL" + "value" : "URL 사용자 지정" } }, "nb" : { @@ -24267,7 +24267,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Gallery" + "value" : "갤러리" } }, "nb" : { @@ -24566,7 +24566,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Grid" + "value" : "그리드" } }, "nb" : { @@ -24715,7 +24715,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Kanban" + "value" : "칸반" } }, "nb" : { @@ -24864,7 +24864,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "List" + "value" : "목록" } }, "nb" : { @@ -25487,7 +25487,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "There is nothing here for this date yet" + "value" : "이 날짜에는 아직 아무 것도 없습니다." } }, "nb" : { @@ -25636,7 +25636,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Open selected date" + "value" : "선택된 날짜 열기" } }, "nb" : { @@ -27656,7 +27656,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Delete vault" + "value" : "보관소 삭제" } }, "nb" : { @@ -27805,7 +27805,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Deleted" + "value" : "삭제됨" } }, "nb" : { @@ -27954,7 +27954,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Delete Object Type" + "value" : "오브젝트 유형 삭제" } }, "nb" : { @@ -28252,7 +28252,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "다른 모든 장치에서 로그아웃됩니다. 30일 이내에 복구할 수 있으며, 이후에는 영구적으로 삭제됩니다." + "value" : "다른 모든 기기에서 로그아웃됩니다. 30일 이내에 복구할 수 있으며 이후에는 영구적으로 삭제됩니다." } }, "nb" : { @@ -28998,7 +28998,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Designed to capture thoughts quickly" + "value" : "생각을 빠르게 캡쳐하기 위해 디자인됨" } }, "nb" : { @@ -29836,7 +29836,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Disabled" + "value" : "비활성화됨" } }, "nb" : { @@ -30283,7 +30283,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Download" + "value" : "다운로드" } }, "nb" : { @@ -30432,7 +30432,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Downloading or uploading data to some node" + "value" : "일부 노드에 데이터 다운로드 또는 업로드 중" } }, "nb" : { @@ -30730,7 +30730,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "E-mail" + "value" : "이메일" } }, "nb" : { @@ -30879,7 +30879,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Edit" + "value" : "편집" } }, "nb" : { @@ -31475,7 +31475,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "e.g. Project" + "value" : "예시. 프로젝트" } }, "nb" : { @@ -31624,7 +31624,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "e.g. Projects" + "value" : "예시. 프로젝트들" } }, "nb" : { @@ -32518,7 +32518,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Empty" + "value" : "비어 있음" } }, "nb" : { @@ -32667,7 +32667,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Looks like you’re all tidy and organized!" + "value" : "모두 단정하게 정돈되었네요!" } }, "nb" : { @@ -32965,7 +32965,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create your first objects to get started." + "value" : "시작하려면 첫 스페이스를 만드세요." } }, "nb" : { @@ -33115,7 +33115,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "It’s empty here." + "value" : "여긴 비어 있습니다." } }, "nb" : { @@ -33264,7 +33264,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Publish your first web site to get started." + "value" : "첫 번째 웹 사이트를 게시하여 시작하세요." } }, "nb" : { @@ -33413,7 +33413,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Enabled" + "value" : "활성화됨" } }, "nb" : { @@ -34307,7 +34307,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Enter URL" + "value" : "URL 입력" } }, "nb" : { @@ -34456,7 +34456,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Enter value" + "value" : "값 입력" } }, "nb" : { @@ -35351,7 +35351,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Update" + "value" : "업데이트" } }, "nb" : { @@ -35948,7 +35948,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Oops!" + "value" : "이런!" } }, "nb" : { @@ -36395,7 +36395,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Exact day" + "value" : "정확한 날짜" } }, "nb" : { @@ -36544,7 +36544,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Existing properties" + "value" : "기존 속성" } }, "nb" : { @@ -38358,7 +38358,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Are you sure you want to permanently delete the files?" + "value" : "이 파일을 영구적으로 삭제하시겠습니까?" } }, "nb" : { @@ -38508,7 +38508,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Clean up files" + "value" : "파일 정리" } }, "nb" : { @@ -39402,7 +39402,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "In order to save space on your local device, you can offload all your files to our encrypted backup node. The files will be loaded back when you open them." + "value" : "로컬 장치의 공간을 절약하기 위해 모든 파일을 암호화된 백업 노드로 오프로드할 수 있습니다. 파일을 열면 다시 로드됩니다." } }, "nb" : { @@ -39849,7 +39849,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Offload files" + "value" : "파일 오프로드" } }, "nb" : { @@ -39998,7 +39998,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Get more space" + "value" : "더 많은 공간 얻기" } }, "nb" : { @@ -40893,7 +40893,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Filter" + "value" : "필터" } }, "nb" : { @@ -41042,7 +41042,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Forever" + "value" : "영원히" } }, "nb" : { @@ -41340,7 +41340,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Format" + "value" : "형식" } }, "nb" : { @@ -41489,7 +41489,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Gallery" + "value" : "갤러리" } }, "nb" : { @@ -41788,7 +41788,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Install" + "value" : "설치" } }, "nb" : { @@ -41937,7 +41937,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Install to new space" + "value" : "새 스페이스에 설치" } }, "nb" : { @@ -42086,7 +42086,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Go to space" + "value" : "스페이스로 이동" } }, "nb" : { @@ -42533,7 +42533,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No related objects found" + "value" : "관련된 오브젝트 없음." } }, "nb" : { @@ -43129,7 +43129,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Go back" + "value" : "뒤로" } }, "nb" : { @@ -43427,7 +43427,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Gradients" + "value" : "그라데이션" } }, "nb" : { @@ -44321,7 +44321,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Hidden" + "value" : "숨김" } }, "nb" : { @@ -44619,7 +44619,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Hide types" + "value" : "유형 숨기기" } }, "nb" : { @@ -44768,7 +44768,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Highlight" + "value" : "강조" } }, "nb" : { @@ -45216,7 +45216,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "라이브러리는 데스크탑 앱에서 사용 가능합니다." + "value" : "라이브러리는 데스크톱 앱에서 사용 가능합니다." } }, "nb" : { @@ -46435,7 +46435,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Initializing sync" + "value" : "동기화를 초기화하는 중" } }, "nb" : { @@ -47870,7 +47870,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Join" + "value" : "가입" } }, "nb" : { @@ -48168,7 +48168,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "키체인" + "value" : "키 저장소" } }, "nb" : { @@ -48466,7 +48466,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Learn more" + "value" : "더 알아보기" } }, "nb" : { @@ -49360,7 +49360,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Link to" + "value" : "다음으로 링크" } }, "nb" : { @@ -49509,7 +49509,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Content preview" + "value" : "내용 미리보기" } }, "nb" : { @@ -49807,7 +49807,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Object description" + "value" : "오브젝트 설명" } }, "nb" : { @@ -49956,7 +49956,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Object type" + "value" : "오브젝트 유형" } }, "nb" : { @@ -51797,7 +51797,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Local Only" + "value" : "로컬 전용" } }, "nb" : { @@ -51946,7 +51946,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Lock" + "value" : "잠금" } }, "nb" : { @@ -52143,7 +52143,7 @@ "tr" : { "stringUnit" : { "state" : "new", - "value" : "Locked" + "value" : "Kilitlendi" } }, "uk" : { @@ -52841,7 +52841,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Manage payment" + "value" : "결제 관리" } }, "nb" : { @@ -53762,7 +53762,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Mentions" + "value" : "멘션" } }, "nb" : { @@ -54060,7 +54060,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Misc" + "value" : "기타" } }, "nb" : { @@ -54508,7 +54508,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "More info" + "value" : "자세히 보기" } }, "nb" : { @@ -55104,7 +55104,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Mute" + "value" : "알림 끄기" } }, "nb" : { @@ -55402,7 +55402,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "My First Space" + "value" : "나의 첫 스페이스" } }, "nb" : { @@ -55551,7 +55551,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "My Properties" + "value" : "내 속성" } }, "nb" : { @@ -55700,7 +55700,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "My Sites" + "value" : "내 사이트" } }, "nb" : { @@ -55849,7 +55849,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Myself" + "value" : "내 자신" } }, "nb" : { @@ -56147,7 +56147,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "New" + "value" : "만들기" } }, "nb" : { @@ -56296,7 +56296,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "New property" + "value" : "새 속성" } }, "nb" : { @@ -56594,7 +56594,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "New query" + "value" : "새 쿼리" } }, "nb" : { @@ -57041,7 +57041,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No connection" + "value" : "연결되지 않음" } }, "nb" : { @@ -57190,7 +57190,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No date" + "value" : "날짜 없음" } }, "nb" : { @@ -57637,7 +57637,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "아직 속성이 없습니다. 이 유형에 추가하세요." + "value" : "아직 속성 없음. 추가해보세요." } }, "nb" : { @@ -57786,7 +57786,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No related options here. You can add some" + "value" : "관련된 옵션 없음. 추가해보세요" } }, "nb" : { @@ -57935,7 +57935,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "\"%@\" 유형을 찾을 수 없습니다. 요청을 변경하거나 새로운 유형을 만드세요." + "value" : "\"%@\" 유형을 찾을 수 없음. 요청을 수정하거나 새로운 유형을 만드세요." } }, "nb" : { @@ -58084,7 +58084,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Non-existent object" + "value" : "존재하지 않는 오브젝트" } }, "nb" : { @@ -58531,7 +58531,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "다시 실행할 작업이 없습니다." + "value" : "다시 실행할 작업 없음" } }, "nb" : { @@ -58680,7 +58680,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "실행 취소할 작업이 없습니다" + "value" : "실행 취소할 작업이 없음" } }, "nb" : { @@ -60464,7 +60464,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Object Types" + "value" : "오브젝트 유형" } }, "nb" : { @@ -60762,7 +60762,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "정말 이 유형을 지울까요? 이 유형에 속하는 모든 오브젝트는 유지되지만, 더이상 이 유형과 연결되지 않습니다." + "value" : "정말 이 유형을 삭제할까요? 모든 오브젝트는 유지되지만, 이 유형과의 연결이 해제됩니다." } }, "nb" : { @@ -61060,7 +61060,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Ok" + "value" : "확인" } }, "nb" : { @@ -61656,7 +61656,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Open as Object" + "value" : "오브젝트로 열기" } }, "nb" : { @@ -61954,7 +61954,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Open object" + "value" : "오브젝트 열기" } }, "nb" : { @@ -62103,7 +62103,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Open Query" + "value" : "쿼리 열기" } }, "nb" : { @@ -62252,7 +62252,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Open source" + "value" : "오픈 소스" } }, "nb" : { @@ -62401,7 +62401,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "\"%@\"는 지원되지 않는 유형입니다. 데스크탑에서 열 수 있습니다." + "value" : "\"%@\" 유형은 지원되지 않음. 데스크톱에서 열 수 있습니다." } }, "nb" : { @@ -62699,7 +62699,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Open Settings" + "value" : "설정 열기" } }, "nb" : { @@ -63146,7 +63146,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "P2P Connection" + "value" : "P2P 연결" } }, "nb" : { @@ -63891,7 +63891,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Pay by Card" + "value" : "카드로 결제" } }, "nb" : { @@ -64513,7 +64513,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Pending..." + "value" : "보류 중..." } }, "nb" : { @@ -68164,7 +68164,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Picture" + "value" : "이미지" } }, "nb" : { @@ -69207,7 +69207,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Preferences" + "value" : "환경설정" } }, "nb" : { @@ -69505,7 +69505,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Preview layout" + "value" : "레이아웃 미리보기" } }, "nb" : { @@ -69655,7 +69655,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "This layout differs from the type's default. Reset to match?" + "value" : "이 레이아웃은 유형 기본값과 다릅니다. 일치시키기 위해 초기화할까요?" } }, "nb" : { @@ -70102,7 +70102,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Publish" + "value" : "게시" } }, "nb" : { @@ -70251,7 +70251,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Publish to Web" + "value" : "웹에 게시" } }, "nb" : { @@ -70996,7 +70996,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "QR Code" + "value" : "QR 코드" } }, "nb" : { @@ -73112,7 +73112,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Previous 7 days" + "value" : "지난 7일" } }, "nb" : { @@ -73261,7 +73261,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Previous 14 days" + "value" : "지난 14일" } }, "nb" : { @@ -73708,7 +73708,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Resend" + "value" : "재전송" } }, "nb" : { @@ -74006,7 +74006,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Reset to default" + "value" : "기본값으로 초기화" } }, "nb" : { @@ -74155,7 +74155,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Resolve layout conflict" + "value" : "레이아웃 충돌 해결" } }, "nb" : { @@ -74454,7 +74454,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "키체인에서 복구" + "value" : "키 저장소에서 복구" } }, "nb" : { @@ -74603,7 +74603,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "키체인에서 키를 복원합니다" + "value" : "키 저장소에서 키를 복원" } }, "nb" : { @@ -75051,7 +75051,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Save" + "value" : "저장" } }, "nb" : { @@ -75499,7 +75499,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "스캔이 지원되지 않습니다" + "value" : "스캔 지원되지 않음" } }, "nb" : { @@ -75946,7 +75946,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Search or create new" + "value" : "검색하거나 새로 만들기" } }, "nb" : { @@ -77287,7 +77287,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Select date" + "value" : "날짜 선택" } }, "nb" : { @@ -78181,7 +78181,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Select property format" + "value" : "속성 형식 선택" } }, "nb" : { @@ -78952,7 +78952,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Self Host" + "value" : "자체 호스팅" } }, "nb" : { @@ -79548,7 +79548,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Local-only" + "value" : "로컬 전용" } }, "nb" : { @@ -79995,7 +79995,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "로컬 전용 모드는 실험적 기능이며 보안적으로 어떠한 이득이 없습니다. 데이터 손실이 일어날 수 있으니 위험을 감수하며 사용하세요." + "value" : "로컬 전용 모드는 실험적 기능이며 보안적으로 어떠한 이득도 없습니다. 데이터 손실이 일어날 수 있으니 위험을 감수하며 사용하세요." } }, "nb" : { @@ -80144,7 +80144,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Are you sure?" + "value" : "정말 진행할까요?" } }, "nb" : { @@ -80443,7 +80443,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Networks" + "value" : "네트워크" } }, "nb" : { @@ -80593,7 +80593,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Query" + "value" : "쿼리" } }, "nb" : { @@ -80742,7 +80742,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Set access" + "value" : "권한 설정" } }, "nb" : { @@ -80891,7 +80891,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Set as default" + "value" : "기본값으로 설정" } }, "nb" : { @@ -81934,7 +81934,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Data Management" + "value" : "데이터 관리" } }, "nb" : { @@ -82083,7 +82083,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Edit picture" + "value" : "이미지 편집" } }, "nb" : { @@ -82680,7 +82680,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "New view" + "value" : "새 보기" } }, "nb" : { @@ -82829,7 +82829,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "View as" + "value" : "다음으로 보기" } }, "nb" : { @@ -83276,7 +83276,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "New view" + "value" : "새 보기" } }, "nb" : { @@ -83575,7 +83575,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Edit view" + "value" : "보기 편집" } }, "nb" : { @@ -83724,7 +83724,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Share" + "value" : "공유" } }, "nb" : { @@ -84022,7 +84022,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Show types" + "value" : "유형 표시" } }, "nb" : { @@ -84172,7 +84172,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Clear" + "value" : "지우기" } }, "nb" : { @@ -84917,7 +84917,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Insert above" + "value" : "위에 삽입" } }, "nb" : { @@ -85066,7 +85066,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Insert below" + "value" : "아래에 삽입" } }, "nb" : { @@ -85215,7 +85215,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Insert left" + "value" : "왼쪽에 삽입" } }, "nb" : { @@ -85364,7 +85364,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Insert right" + "value" : "오른쪽에 삽입" } }, "nb" : { @@ -85513,7 +85513,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Move down" + "value" : "아래로 이동" } }, "nb" : { @@ -85662,7 +85662,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Move left" + "value" : "왼쪽으로 이동" } }, "nb" : { @@ -85811,7 +85811,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Move right" + "value" : "오른쪽으로 이동" } }, "nb" : { @@ -85960,7 +85960,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Move up" + "value" : "위로 이동" } }, "nb" : { @@ -86109,7 +86109,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Sort" + "value" : "정렬" } }, "nb" : { @@ -86854,7 +86854,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Solid colors" + "value" : "단색" } }, "nb" : { @@ -87003,7 +87003,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Sort" + "value" : "정렬" } }, "nb" : { @@ -87152,7 +87152,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Standard layout for canvas blocks" + "value" : "캔버스 블록에 대한 기본 레이아웃" } }, "nb" : { @@ -87450,7 +87450,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "결제에 실패했습니다. 결제를 위해 Apple 측에서 사용자 조치가 필요합니다." + "value" : "결제 실패. 결제하려면 Apple 측에서 사용자 동작이 필요합니다." } }, "nb" : { @@ -88047,7 +88047,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Submit" + "value" : "제출" } }, "nb" : { @@ -88644,7 +88644,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Version outdated. Please update Anytype" + "value" : "버전이 오래됨. Anytype을 업데이트하세요" } }, "nb" : { @@ -88793,7 +88793,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Synced" + "value" : "동기화됨" } }, "nb" : { @@ -89091,7 +89091,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No access to the space" + "value" : "스페이스에 권한이 없음" } }, "nb" : { @@ -89240,7 +89240,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Storage limit reached" + "value" : "저장 공간 한도 도달" } }, "nb" : { @@ -89389,7 +89389,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Unrecognized error" + "value" : "알 수 없는 오류" } }, "nb" : { @@ -89538,7 +89538,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "End-to-end encrypted" + "value" : "종단간 암호화됨" } }, "nb" : { @@ -89688,7 +89688,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Data backup is disabled" + "value" : "데이터 백업이 비활성화됨" } }, "nb" : { @@ -89837,7 +89837,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Sync might be slow. Update the app." + "value" : "동기화가 느릴 수 있습니다. 앱을 업데이트하세요." } }, "nb" : { @@ -89986,7 +89986,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Not connected" + "value" : "연결되지 않음" } }, "nb" : { @@ -90135,7 +90135,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Connection not possible" + "value" : "연결할 수 없음" } }, "nb" : { @@ -90284,7 +90284,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "제한됨. 장치 설정 열기" + "value" : "제한됨. 기기 설정을 열면 여기를 누르세요." } }, "nb" : { @@ -90433,7 +90433,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "System Properties" + "value" : "시스템 속성" } }, "nb" : { @@ -92099,7 +92099,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "New template was added to the type" + "value" : " 유형에 새로운 템플릿이 추가됐습니다" } }, "nb" : { @@ -94931,7 +94931,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "There are no spaces yet" + "value" : "아직 스페이스가 없음" } }, "nb" : { @@ -95826,7 +95826,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "오브젝트들이 영구적으로 삭제됩니다. 이 작업은 취소할 수 없습니다." + "value" : "오브젝트가 영구적으로 삭제됩니다. 이 작업은 취소할 수 없습니다." } }, "nb" : { @@ -96869,7 +96869,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Try again" + "value" : "다시 시도" } }, "nb" : { @@ -97167,7 +97167,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Type Plural name" + "value" : "복수형 이름을 입력하세요" } }, "nb" : { @@ -97465,7 +97465,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Undo" + "value" : "실행 취소" } }, "nb" : { @@ -97764,7 +97764,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Undo/Redo" + "value" : "실행 취소/다시 실행" } }, "nb" : { @@ -97913,7 +97913,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Unknown" + "value" : "알 수 없음" } }, "nb" : { @@ -98360,7 +98360,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Unlock" + "value" : "잠금해제" } }, "nb" : { @@ -98557,7 +98557,7 @@ "tr" : { "stringUnit" : { "state" : "new", - "value" : "Unlocked" + "value" : "Kilidi açıldı" } }, "uk" : { @@ -98658,7 +98658,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Unmute" + "value" : "알림 켜기" } }, "nb" : { @@ -98956,7 +98956,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Unpublish" + "value" : "게시 취소" } }, "nb" : { @@ -99105,7 +99105,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Unread" + "value" : "읽지 않음" } }, "nb" : { @@ -99850,7 +99850,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Unsupported" + "value" : "지원되지 않음" } }, "nb" : { @@ -100595,7 +100595,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Update" + "value" : "업데이트" } }, "nb" : { @@ -101042,7 +101042,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "다음 날짜까지 유효:" + "value" : "유효 기간:" } }, "nb" : { @@ -101787,7 +101787,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "보관소 복원 중 에러가 발생했습니다. 인터넷 연결을 확인해주세요." + "value" : "보관소 복원 오류, 인터넷 연결을 확인해주세요." } }, "nb" : { @@ -103006,7 +103006,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Views" + "value" : "보기" } }, "nb" : { @@ -103454,7 +103454,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Web pages" + "value" : "웹 페이지 " } }, "nb" : { @@ -103603,7 +103603,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "What’s included" + "value" : "포함된 항목" } }, "nb" : { @@ -104051,7 +104051,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "이 작업은 취소할 수 없습니다." + "value" : "이 동작은 취소할 수 없습니다." } }, "nb" : { @@ -104425,7 +104425,7 @@ "zero" : { "stringUnit" : { "state" : "new", - "value" : "이미 휴지통 빔" + "value" : "휴지통이 이미 비어 있음" } } } @@ -104811,7 +104811,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Change Widget Type" + "value" : "위젯 유형 변경" } }, "nb" : { @@ -105258,7 +105258,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Remove Widget" + "value" : "위젯 지우기" } }, "nb" : { @@ -105407,7 +105407,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "See all objects" + "value" : "모든 오브젝트 보기" } }, "nb" : { @@ -106003,7 +106003,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "오브젝트 없음" + "value" : "여기에 오브젝트 없음" } }, "nb" : { @@ -106152,7 +106152,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Widget with a compact list view" + "value" : "컴팩트 목록 보기 위젯" } }, "nb" : { @@ -106450,7 +106450,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Compact widget view" + "value" : "컴팩트 위젯 보기" } }, "nb" : { @@ -106748,7 +106748,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Widget with a list view" + "value" : "목록 보기 위젯" } }, "nb" : { @@ -106897,7 +106897,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "List" + "value" : "목록" } }, "nb" : { @@ -107046,7 +107046,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Widget type" + "value" : "위젯 유형" } }, "nb" : { @@ -107195,7 +107195,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Widget with a hierarchical structure" + "value" : "계층 구조 위젯" } }, "nb" : { @@ -107344,7 +107344,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Tree" + "value" : "트리" } }, "nb" : { @@ -107493,7 +107493,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Widget with a Query or Collection layout" + "value" : "쿼리 또는 컬렉션 레이아웃 위젯" } }, "nb" : { @@ -107791,7 +107791,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Recently edited" + "value" : "최근에 수정함" } }, "nb" : { @@ -107940,7 +107940,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "On this device" + "value" : "이 기기에서" } }, "nb" : { @@ -108089,7 +108089,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Recently opened" + "value" : "최근에 연 항목" } }, "nb" : { @@ -108387,7 +108387,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Your objects" + "value" : "당신의 오브젝트" } }, "nb" : { @@ -108536,7 +108536,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Suggested" + "value" : "제안됨" } }, "nb" : { @@ -108685,7 +108685,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "위젯 작동 방식을 바꾸어 이 위젯은 더이상 지원되지 않습니다. 이 위젯은 삭제 후 복구할 수 없습니다." + "value" : "위젯 작동 방식이 바뀌어 이 위젯은 더 이상 지원되지 않습니다. 이 위젯은 삭제되면 복구할 수 없습니다." } }, "nb" : { @@ -108834,7 +108834,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "This Widget Cannot Be Restored" + "value" : "이 위젯은 복구 불가능합니다" } }, "nb" : { @@ -109579,7 +109579,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Your current status:" + "value" : "현재 상태:" } }, "nb" : { From 23f9b2a8f344a6bc290b556586b72ff3e56b4b65 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 29 Oct 2025 16:25:35 +0000 Subject: [PATCH 072/228] IOS-5255 Supported new settings in templates --- ...SetObjectCreationSettingsCoordinator.swift | 3 ++ .../TemplateEditingViewController.swift | 32 ++++++++++++++++--- .../Views/Picker/TemplatePickerView.swift | 22 ++++++++++--- .../Picker/TemplatePickerViewModel.swift | 10 +++--- 4 files changed, 54 insertions(+), 13 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/SetObjectCreationSettingsCoordinator.swift b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/SetObjectCreationSettingsCoordinator.swift index eeb9a26800..a4a46127c2 100644 --- a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/SetObjectCreationSettingsCoordinator.swift +++ b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/SetObjectCreationSettingsCoordinator.swift @@ -51,6 +51,9 @@ final class SetObjectCreationSettingsCoordinator: let editingTemplateViewController = TemplateEditingViewController( editorViewController: UIHostingController(rootView: editorView), + objectId: setting.templateId, + spaceId: setting.spaceId, + output: self, onSettingsTap: { [weak self] in guard let self = self else { return } editorModuleInput?.showSettings(output: self) diff --git a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Editing/TemplateEditingViewController.swift b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Editing/TemplateEditingViewController.swift index c5b4200bbe..0bbcea9207 100644 --- a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Editing/TemplateEditingViewController.swift +++ b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Editing/TemplateEditingViewController.swift @@ -8,6 +8,10 @@ final class TemplateEditingViewController: UIViewController { private let editorViewController: UIViewController private let onSettingsTap: () -> Void private let onSelectTemplateTap: (() -> Void)? + private let objectId: String + private let spaceId: String + private weak var output: (any ObjectSettingsCoordinatorOutput)? + private var settingsMenuView: UIView? private lazy var keyboardHelper = KeyboardEventsListnerHelper( didShowAction: { [weak selectTemplateButton] _ in @@ -35,10 +39,16 @@ final class TemplateEditingViewController: UIViewController { init( editorViewController: UIViewController, + objectId: String, + spaceId: String, + output: any ObjectSettingsCoordinatorOutput, onSettingsTap: @escaping () -> Void, onSelectTemplateTap: (() -> Void)? ) { self.editorViewController = editorViewController + self.objectId = objectId + self.spaceId = spaceId + self.output = output self.onSettingsTap = onSettingsTap self.onSelectTemplateTap = onSelectTemplateTap @@ -54,8 +64,8 @@ final class TemplateEditingViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() - setupLayout() setupView() + setupLayout() } @objc @@ -73,6 +83,13 @@ final class TemplateEditingViewController: UIViewController { settingsButton.setImage(UIImage(asset: .X24.more), for: .normal) settingsButton.addTarget(self, action: #selector(didTapSettingButton), for: .touchUpInside) settingsButton.tintColor = .Control.secondary + + if FeatureFlags.newObjectSettings, let output { + let menuContainer = ObjectSettingsMenuContainer(objectId: objectId, spaceId: spaceId, output: output) + let hostingController = UIHostingController(rootView: menuContainer) + hostingController.view.backgroundColor = .clear + self.settingsMenuView = hostingController.view + } } private func setupLayout() { @@ -89,9 +106,16 @@ final class TemplateEditingViewController: UIViewController { $0.centerY.equal(to: fakeNavigationView.centerYAnchor) } - fakeNavigationView.addSubview(settingsButton) { - $0.trailing.equal(to: fakeNavigationView.trailingAnchor, constant: -20) - $0.centerY.equal(to: fakeNavigationView.centerYAnchor) + if FeatureFlags.newObjectSettings, let settingsMenuView { + fakeNavigationView.addSubview(settingsMenuView) { + $0.trailing.equal(to: fakeNavigationView.trailingAnchor, constant: -20) + $0.centerY.equal(to: fakeNavigationView.centerYAnchor) + } + } else { + fakeNavigationView.addSubview(settingsButton) { + $0.trailing.equal(to: fakeNavigationView.trailingAnchor, constant: -20) + $0.centerY.equal(to: fakeNavigationView.centerYAnchor) + } } embedChild(editorViewController, into: view) diff --git a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Picker/TemplatePickerView.swift b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Picker/TemplatePickerView.swift index 94c1bb74ab..8b81f993e5 100644 --- a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Picker/TemplatePickerView.swift +++ b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Picker/TemplatePickerView.swift @@ -1,4 +1,5 @@ import SwiftUI +import AnytypeCore struct TemplatePickerView: View { @StateObject var viewModel: TemplatePickerViewModel @@ -92,12 +93,23 @@ struct TemplatePickerView: View { } } + @ViewBuilder private var settingsButton: some View { - Button { - viewModel.onSettingsButtonTap() - } label: { - Image(asset: .X24.more) - .foregroundColor(.Control.secondary) + if FeatureFlags.newObjectSettings { + if viewModel.items.isNotEmpty { + ObjectSettingsMenuContainer( + objectId: viewModel.selectedItem().object.id, + spaceId: viewModel.spaceId, + output: viewModel.output + ) + } + } else { + Button { + viewModel.onSettingsButtonTap() + } label: { + Image(asset: .X24.more) + .foregroundColor(.Control.secondary) + } } } } diff --git a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Picker/TemplatePickerViewModel.swift b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Picker/TemplatePickerViewModel.swift index ed5634120d..d4421cd9a3 100644 --- a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Picker/TemplatePickerViewModel.swift +++ b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Picker/TemplatePickerViewModel.swift @@ -3,7 +3,7 @@ import Services import SwiftUI @MainActor -protocol TemplatePickerViewModuleOutput: AnyObject { +protocol TemplatePickerViewModuleOutput: AnyObject, ObjectSettingsCoordinatorOutput { func onTemplatesChanged(_ templates: [ObjectDetails], completion: ([TemplatePickerData]) -> Void) func onTemplateSettingsTap(_ model: TemplatePickerViewModel.Item) func selectionOptionsView(_ provider: some OptionsItemProvider) -> AnyView @@ -40,7 +40,9 @@ final class TemplatePickerViewModel: ObservableObject, OptionsItemProvider { if case .objectTemplate = data.mode { return true } return false } - + + var spaceId: String { data.spaceId } + private let data: TemplatePickerViewModelData private var didSetupDefaultItem = false private var dismiss: DismissAction? @@ -49,8 +51,8 @@ final class TemplatePickerViewModel: ObservableObject, OptionsItemProvider { private var objectService: any ObjectActionsServiceProtocol @Injected(\.templatesSubscription) private var templatesSubscriptionService: any TemplatesSubscriptionServiceProtocol - - private weak var output: (any TemplatePickerViewModuleOutput)? + + weak var output: (any TemplatePickerViewModuleOutput)? // MARK: - OptionsItemProvider From eab9078359be9839ab10f84849ee1c82b35cd6c9 Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Thu, 30 Oct 2025 04:52:02 +0100 Subject: [PATCH 073/228] Automation: Update middleware to v0.44.0-nightly.20251030.1 (#4182) Co-authored-by: William Blake --- Libraryfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraryfile b/Libraryfile index d4f4693d4c..18f0fc33c6 100644 --- a/Libraryfile +++ b/Libraryfile @@ -1 +1 @@ -MIDDLE_VERSION=v0.44.0-nightly.20251025.1 +MIDDLE_VERSION=v0.44.0-nightly.20251030.1 From 54f032eb68e47720861e9af9d8152a97c54f8a84 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Thu, 30 Oct 2025 10:48:24 +0300 Subject: [PATCH 074/228] IOS-5240 Fixes --- .../Sources/DesignKit/Fonts/Helpers/Text+Style.swift | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Modules/DesignKit/Sources/DesignKit/Fonts/Helpers/Text+Style.swift b/Modules/DesignKit/Sources/DesignKit/Fonts/Helpers/Text+Style.swift index de5532c7d4..6e6d985a06 100644 --- a/Modules/DesignKit/Sources/DesignKit/Fonts/Helpers/Text+Style.swift +++ b/Modules/DesignKit/Sources/DesignKit/Fonts/Helpers/Text+Style.swift @@ -28,7 +28,11 @@ public extension TextField { public extension View { func anytypeLineHeightStyle(_ style: AnytypeFont) -> some View { - self.environment(\._lineHeightMultiple, style.lineHeightMultiple) + if #available(iOS 26, *) { + return self.lineHeight(.exact(points: style.config.lineHeight)) + } else { + return self.environment(\._lineHeightMultiple, style.lineHeightMultiple) + } } } From 42a2fc75bc08d8f68ba8574d632b96ee264ef57b Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Thu, 30 Oct 2025 11:16:30 +0300 Subject: [PATCH 075/228] IOS-5388 Migrate chat corrdinator --- .../ChatCoordinator/ChatCoordinatorView.swift | 4 +- .../ChatCoordinatorViewModel.swift | 46 +++++++++++-------- 2 files changed, 28 insertions(+), 22 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Flows/ChatCoordinator/ChatCoordinatorView.swift b/Anytype/Sources/PresentationLayer/Flows/ChatCoordinator/ChatCoordinatorView.swift index 6a8ca994ed..240226f7a6 100644 --- a/Anytype/Sources/PresentationLayer/Flows/ChatCoordinator/ChatCoordinatorView.swift +++ b/Anytype/Sources/PresentationLayer/Flows/ChatCoordinator/ChatCoordinatorView.swift @@ -2,12 +2,12 @@ import SwiftUI struct ChatCoordinatorView: View { - @StateObject private var model: ChatCoordinatorViewModel + @State private var model: ChatCoordinatorViewModel @Environment(\.pageNavigation) private var pageNavigation @Environment(\.chatActionProvider) private var chatActionProvider init(data: ChatCoordinatorData) { - self._model = StateObject(wrappedValue: ChatCoordinatorViewModel(data: data)) + self._model = State(wrappedValue: ChatCoordinatorViewModel(data: data)) } var body: some View { diff --git a/Anytype/Sources/PresentationLayer/Flows/ChatCoordinator/ChatCoordinatorViewModel.swift b/Anytype/Sources/PresentationLayer/Flows/ChatCoordinator/ChatCoordinatorViewModel.swift index 8e11be67e2..bb5ce2fc4e 100644 --- a/Anytype/Sources/PresentationLayer/Flows/ChatCoordinator/ChatCoordinatorViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Flows/ChatCoordinator/ChatCoordinatorViewModel.swift @@ -9,35 +9,41 @@ struct ChatCoordinatorData: Hashable, Codable { } @MainActor -final class ChatCoordinatorViewModel: ObservableObject, ChatModuleOutput { +@Observable +final class ChatCoordinatorViewModel: ChatModuleOutput { + @ObservationIgnored let chatId: String + @ObservationIgnored let spaceId: String - @Published var objectToMessageSearchData: ObjectSearchWithMetaModuleData? - @Published var showEmojiData: MessageReactionPickerData? - @Published var showSyncStatusInfo = false - @Published var objectIconPickerData: ObjectIconPickerData? - @Published var linkToObjectData: LinkToObjectSearchModuleData? - @Published var showFilesPicker = false - @Published var showPhotosPicker = false - @Published var pushNotificationsAlertData: PushNotificationsAlertData? - @Published var showDisabledPushNotificationsAlert = false - @Published var photosItems: [PhotosPickerItem] = [] - @Published var participantsReactionData: MessageParticipantsReactionData? - @Published var safariUrl: URL? - @Published var cameraData: SimpleCameraData? - @Published var showSpaceSettingsData: AccountInfo? - @Published var newLinkedObject: EditorScreenData? - @Published var spaceShareData: SpaceShareData? - @Published var qrCodeInviteLink: URL? - + var objectToMessageSearchData: ObjectSearchWithMetaModuleData? + var showEmojiData: MessageReactionPickerData? + var showSyncStatusInfo = false + var objectIconPickerData: ObjectIconPickerData? + var linkToObjectData: LinkToObjectSearchModuleData? + var showFilesPicker = false + var showPhotosPicker = false + var pushNotificationsAlertData: PushNotificationsAlertData? + var showDisabledPushNotificationsAlert = false + var photosItems: [PhotosPickerItem] = [] + var participantsReactionData: MessageParticipantsReactionData? + var safariUrl: URL? + var cameraData: SimpleCameraData? + var showSpaceSettingsData: AccountInfo? + var newLinkedObject: EditorScreenData? + var spaceShareData: SpaceShareData? + var qrCodeInviteLink: URL? + + @ObservationIgnored private var filesPickerData: FilesPickerData? + @ObservationIgnored private var photosPickerData: ChatPhotosPickerData? + @ObservationIgnored var pageNavigation: PageNavigation? - @Injected(\.objectActionsService) + @Injected(\.objectActionsService) @ObservationIgnored private var objectActionsService: any ObjectActionsServiceProtocol init(data: ChatCoordinatorData) { From fd9691bc13390be1c48c6fc7530642f3222258ce Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Thu, 30 Oct 2025 12:03:29 +0300 Subject: [PATCH 076/228] IOS-5388 Fix --- .../Modules/Chat/ChatView.swift | 4 +- .../Modules/Chat/ChatViewModel.swift | 142 ++++++++++-------- 2 files changed, 83 insertions(+), 63 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/ChatView.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/ChatView.swift index 501d2d49e6..43c67c1645 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/ChatView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/ChatView.swift @@ -4,13 +4,13 @@ import AnytypeCore struct ChatView: View { - @StateObject private var model: ChatViewModel + @State private var model: ChatViewModel @State private var actionState = ChatActionOverlayState() @Environment(\.keyboardDismiss) private var keyboardDismiss @Environment(\.chatActionProvider) private var chatActionProvider init(spaceId: String, chatId: String, output: (any ChatModuleOutput)?) { - self._model = StateObject(wrappedValue: ChatViewModel(spaceId: spaceId, chatId: chatId, output: output)) + self._model = State(wrappedValue: ChatViewModel(spaceId: spaceId, chatId: chatId, output: output)) } var body: some View { diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift index e9eb338bc0..b4681d041c 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift @@ -10,49 +10,51 @@ import ProtobufMessages @preconcurrency import Combine @MainActor -final class ChatViewModel: ObservableObject, MessageModuleOutput, ChatActionProviderHandler { +@Observable +final class ChatViewModel: MessageModuleOutput, ChatActionProviderHandler { // MARK: - DI let spaceId: String let chatId: String + @ObservationIgnored private weak var output: (any ChatModuleOutput)? - @Injected(\.blockService) + @Injected(\.blockService) @ObservationIgnored private var blockService: any BlockServiceProtocol - @Injected(\.participantsStorage) + @Injected(\.participantsStorage) @ObservationIgnored private var accountParticipantsStorage: any ParticipantsStorageProtocol - @Injected(\.mentionObjectsService) + @Injected(\.mentionObjectsService) @ObservationIgnored private var mentionObjectsService: any MentionObjectsServiceProtocol - @Injected(\.chatActionService) + @Injected(\.chatActionService) @ObservationIgnored private var chatActionService: any ChatActionServiceProtocol - @Injected(\.fileActionsService) + @Injected(\.fileActionsService) @ObservationIgnored private var fileActionsService: any FileActionsServiceProtocol - @Injected(\.chatService) + @Injected(\.chatService) @ObservationIgnored private var chatService: any ChatServiceProtocol - @Injected(\.chatInputConverter) + @Injected(\.chatInputConverter) @ObservationIgnored private var chatInputConverter: any ChatInputConverterProtocol - @Injected(\.chatMessageLimits) + @Injected(\.chatMessageLimits) @ObservationIgnored private var chatMessageLimits: any ChatMessageLimitsProtocol - @Injected(\.messageTextBuilder) + @Injected(\.messageTextBuilder) @ObservationIgnored private var messageTextBuilder: any MessageTextBuilderProtocol - @Injected(\.searchService) + @Injected(\.searchService) @ObservationIgnored private var searchService: any SearchServiceProtocol - @Injected(\.objectTypeProvider) + @Injected(\.objectTypeProvider) @ObservationIgnored private var objectTypeProvider: any ObjectTypeProviderProtocol - @Injected(\.iconColorService) + @Injected(\.iconColorService) @ObservationIgnored private var iconColorService: any IconColorServiceProtocol - @Injected(\.bookmarkService) + @Injected(\.bookmarkService) @ObservationIgnored private var bookmarkService: any BookmarkServiceProtocol - @Injected(\.participantSpacesStorage) + @Injected(\.participantSpacesStorage) @ObservationIgnored private var participantSpacesStorage: any ParticipantSpacesStorageProtocol - @Injected(\.pushNotificationsAlertHandler) + @Injected(\.pushNotificationsAlertHandler) @ObservationIgnored private var pushNotificationsAlertHandler: any PushNotificationsAlertHandlerProtocol - @Injected(\.notificationsCenterService) + @Injected(\.notificationsCenterService) @ObservationIgnored private var notificationsCenterService: any NotificationsCenterServiceProtocol - @Injected(\.workspaceService) + @Injected(\.workspaceService) @ObservationIgnored private var workspaceService: any WorkspaceServiceProtocol - @Injected(\.universalLinkParser) + @Injected(\.universalLinkParser) @ObservationIgnored private var universalLinkParser: any UniversalLinkParserProtocol private let participantSubscription: any ParticipantsSubscriptionProtocol @@ -65,64 +67,75 @@ final class ChatViewModel: ObservableObject, MessageModuleOutput, ChatActionProv // Global - @Published var dataLoaded = false - @Published var canEdit = false - @Published var qrCodeInviteUrl: URL? + var dataLoaded = false + var canEdit = false + var qrCodeInviteUrl: URL? + @ObservationIgnored var keyboardDismiss: KeyboardDismiss? // Input Message - @Published var message = NSAttributedString() - @Published var inputFocused = false - @Published var replyToMessage: ChatInputReplyModel? - @Published var editMessage: ChatMessage? - @Published var sendMessageTaskInProgress: Bool = false - @Published var sendButtonIsLoading: Bool = false - @Published var messageTextLimit: String? - @Published var textLimitReached = false - @Published var typesForCreateObject: [ObjectType] = [] - @Published var participantSpaceView: ParticipantSpaceViewData? + var message = NSAttributedString() + var inputFocused = false + var replyToMessage: ChatInputReplyModel? + var editMessage: ChatMessage? + var sendMessageTaskInProgress: Bool = false + var sendButtonIsLoading: Bool = false + var messageTextLimit: String? + var textLimitReached = false + var typesForCreateObject: [ObjectType] = [] + var participantSpaceView: ParticipantSpaceViewData? // Actions - @Published var actionModel: ChatActionPanelModel = .hidden + var actionModel: ChatActionPanelModel = .hidden // Attachment Handler let attachmentHandler: any ChatAttachmentHandlerProtocol // Attachment Handler Published State - @Published var linkedObjects: [ChatLinkedObject] = [] - @Published var attachmentsDownloading: Bool = false - @Published var photosItemsTask = UUID() + var linkedObjects: [ChatLinkedObject] = [] + var attachmentsDownloading: Bool = false + var photosItemsTask = UUID() // List - @Published var mentionSearchState = ChatTextMention.finish - @Published var mesageBlocks: [MessageSectionData] = [] - @Published var mentionObjectsModels: [MentionObjectModel] = [] - @Published var collectionViewScrollProxy = ChatCollectionScrollProxy() - @Published var messageYourBackgroundColor: Color = .Background.Chat.bubbleYour - @Published var messageHiglightId: String = "" + var mentionSearchState = ChatTextMention.finish + var mesageBlocks: [MessageSectionData] = [] + var mentionObjectsModels: [MentionObjectModel] = [] + var collectionViewScrollProxy = ChatCollectionScrollProxy() + var messageYourBackgroundColor: Color = .Background.Chat.bubbleYour + var messageHiglightId: String = "" + @ObservationIgnored private var messages: [FullChatMessage] = [] + @ObservationIgnored private var chatState: ChatState? + @ObservationIgnored private var participants: [Participant] = [] + @ObservationIgnored private var firstUnreadMessageOrderId: String? + @ObservationIgnored private var bottomVisibleOrderId: String? + @ObservationIgnored private var bigDistanceToBottom: Bool = false + @ObservationIgnored private var forceHiddenActionPanel: Bool = true + @ObservationIgnored private var showScreenLogged = false - + @ObservationIgnored var showEmptyState: Bool { mesageBlocks.isEmpty && dataLoaded } + @ObservationIgnored var conversationType: ConversationType { participantSpaceView?.spaceView.uxType.asConversationType ?? .chat } + @ObservationIgnored var participantPermissions: ParticipantPermissions? { participantSpaceView?.participant?.permission } // Alerts - @Published var deleteMessageConfirmation: MessageViewData? - @Published var showSendLimitAlert = false - @Published var toastBarData: ToastBarData? + var deleteMessageConfirmation: MessageViewData? + var showSendLimitAlert = false + var toastBarData: ToastBarData? init(spaceId: String, chatId: String, output: (any ChatModuleOutput)?) { self.spaceId = spaceId @@ -134,20 +147,6 @@ final class ChatViewModel: ObservableObject, MessageModuleOutput, ChatActionProv // Open object. Middleware will know that we are using the object and will be make a refresh after open from background self.chatObject = openDocumentProvider.document(objectId: chatId, spaceId: spaceId) self.attachmentHandler = ChatAttachmentHandler(spaceId: spaceId) - - setupAttachmentHandler() - } - - private func setupAttachmentHandler() { - // Subscribe to attachment handler publishers - attachmentHandler.linkedObjectsPublisher - .assign(to: &$linkedObjects) - - attachmentHandler.attachmentsDownloadingPublisher - .assign(to: &$attachmentsDownloading) - - attachmentHandler.photosItemsTaskPublisher - .assign(to: &$photosItemsTask) } func onAppear() { @@ -231,8 +230,11 @@ final class ChatViewModel: ObservableObject, MessageModuleOutput, ChatActionProv async let typesSub: () = subscribeOnTypes() async let messageBackgroundSub: () = subscribeOnMessageBackground() async let spaceViewSub: () = subscribeOnSpaceView() + async let linkedObjectsSub: () = subscribeOnLinkedObjects() + async let attachmentsDownloadingSub: () = subscribeOnAttachmentsDownloading() + async let photosItemsTaskSub: () = subscribeOnPhotosItemsTask() - (_, _, _, _, _) = await (permissionsSub, participantsSub, typesSub, messageBackgroundSub, spaceViewSub) + _ = await (permissionsSub, participantsSub, typesSub, messageBackgroundSub, spaceViewSub, linkedObjectsSub, attachmentsDownloadingSub, photosItemsTaskSub) } func subscribeOnMessages() async throws { @@ -650,6 +652,24 @@ final class ChatViewModel: ObservableObject, MessageModuleOutput, ChatActionProv await handlePushNotificationsAlert() } } + + private func subscribeOnLinkedObjects() async { + for await linkedObjects in attachmentHandler.linkedObjectsPublisher.values { + self.linkedObjects = linkedObjects + } + } + + private func subscribeOnAttachmentsDownloading() async { + for await attachmentsDownloading in attachmentHandler.attachmentsDownloadingPublisher.values { + self.attachmentsDownloading = attachmentsDownloading + } + } + + private func subscribeOnPhotosItemsTask() async { + for await photosItemsTask in attachmentHandler.photosItemsTaskPublisher.values { + self.photosItemsTask = photosItemsTask + } + } func updateInviteState() async { do { From f542091d5784be2966acc86d403f6425e03424c2 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Thu, 30 Oct 2025 12:30:12 +0300 Subject: [PATCH 077/228] IOS-5387 Test --- .../SpaceHub/SpaceHubCoordinatorView.swift | 172 +++++++++--------- 1 file changed, 86 insertions(+), 86 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift index e64d9fad43..c3b277cfd1 100644 --- a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift +++ b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift @@ -27,92 +27,92 @@ struct SpaceHubCoordinatorView: View { .updateShortcuts(spaceId: model.fallbackSpaceId) .snackbar(toastBarData: $model.toastBarData) - .sheet(item: $model.showGalleryImport) { data in - GalleryInstallationCoordinatorView(data: data) - } - .sheet(isPresented: $model.showSpaceManager) { - SpacesManagerView() - } - .sheet(item: $model.membershipTierId) { tierId in - MembershipCoordinator(initialTierId: tierId.value) - } - .sheet(item: $model.membershipNameFinalizationData) { - MembershipNameFinalizationView(tier: $0) - } - .sheet(item: $model.showGlobalSearchData) { - GlobalSearchView(data: $0) - } - .sheet(item: $model.typeSearchForObjectCreationSpaceId) { - model.typeSearchForObjectCreationModule(spaceId: $0.value) - } - .anytypeSheet(item: $model.spaceJoinData) { - SpaceJoinView(data: $0, onManageSpaces: { - model.onManageSpacesSelected() - }) - } - .anytypeSheet(item: $model.userWarningAlert, dismissOnBackgroundView: false) { - UserWarningAlertCoordinatorView(alert: $0) - } - .anytypeSheet(isPresented: $model.showObjectIsNotAvailableAlert) { - ObjectIsNotAvailableAlert() - } - .sheet(item: $model.showSpaceShareData) { - SpaceShareCoordinatorView(data: $0) - .pageNavigation(model.pageNavigation) - } - .sheet(item: $model.showSpaceMembersData) { - SpaceMembersView(data: $0) - .pageNavigation(model.pageNavigation) - } - .anytypeSheet(item: $model.profileData) { - ProfileView(info: $0) - .pageNavigation(model.pageNavigation) - } - .anytypeSheet(item: $model.spaceProfileData) { - SpaceProfileView(info: $0) - } - .safariBookmarkObject($model.bookmarkScreenData) { - model.onOpenBookmarkAsObject($0) - } - .sheet(item: $model.spaceCreateData) { - SpaceCreateCoordinatorView(data: $0) - } - .sheet(isPresented: $model.showSpaceTypeForCreate) { - SpaceCreateTypePickerView(onSelectSpaceType: { type in - model.onSpaceTypeSelected(type) - }, onSelectQrCodeScan: { - model.onSelectQrCodeScan() - }) - .navigationZoomTransition(sourceID: "SpaceCreateTypePickerView", in: namespace) - } - .qrCodeScanner(shouldScan: $model.shouldScanQrCode) - .sheet(isPresented: $model.showSharingExtension) { - SharingExtensionCoordinatorView() - } - .sheet(isPresented: $model.showAppSettings) { - SettingsCoordinatorView() - .pageNavigation(model.pageNavigation) - } - - // load photos - .photosPicker(isPresented: $model.showPhotosPicker, selection: $model.photosItems) - .onChange(of: model.photosItems) { - model.photosPickerFinished() - } - - // load from camera - .cameraAccessFullScreenCover(item: $model.cameraData) { - SimpleCameraView(data: $0) - } - - // load files - .fileImporter( - isPresented: $model.showFilesPicker, - allowedContentTypes: [.data], - allowsMultipleSelection: true - ) { result in - model.fileImporterFinished(result: result) - } +// .sheet(item: $model.showGalleryImport) { data in +// GalleryInstallationCoordinatorView(data: data) +// } +// .sheet(isPresented: $model.showSpaceManager) { +// SpacesManagerView() +// } +// .sheet(item: $model.membershipTierId) { tierId in +// MembershipCoordinator(initialTierId: tierId.value) +// } +// .sheet(item: $model.membershipNameFinalizationData) { +// MembershipNameFinalizationView(tier: $0) +// } +// .sheet(item: $model.showGlobalSearchData) { +// GlobalSearchView(data: $0) +// } +// .sheet(item: $model.typeSearchForObjectCreationSpaceId) { +// model.typeSearchForObjectCreationModule(spaceId: $0.value) +// } +// .anytypeSheet(item: $model.spaceJoinData) { +// SpaceJoinView(data: $0, onManageSpaces: { +// model.onManageSpacesSelected() +// }) +// } +// .anytypeSheet(item: $model.userWarningAlert, dismissOnBackgroundView: false) { +// UserWarningAlertCoordinatorView(alert: $0) +// } +// .anytypeSheet(isPresented: $model.showObjectIsNotAvailableAlert) { +// ObjectIsNotAvailableAlert() +// } +// .sheet(item: $model.showSpaceShareData) { +// SpaceShareCoordinatorView(data: $0) +// .pageNavigation(model.pageNavigation) +// } +// .sheet(item: $model.showSpaceMembersData) { +// SpaceMembersView(data: $0) +// .pageNavigation(model.pageNavigation) +// } +// .anytypeSheet(item: $model.profileData) { +// ProfileView(info: $0) +// .pageNavigation(model.pageNavigation) +// } +// .anytypeSheet(item: $model.spaceProfileData) { +// SpaceProfileView(info: $0) +// } +// .safariBookmarkObject($model.bookmarkScreenData) { +// model.onOpenBookmarkAsObject($0) +// } +// .sheet(item: $model.spaceCreateData) { +// SpaceCreateCoordinatorView(data: $0) +// } +// .sheet(isPresented: $model.showSpaceTypeForCreate) { +// SpaceCreateTypePickerView(onSelectSpaceType: { type in +// model.onSpaceTypeSelected(type) +// }, onSelectQrCodeScan: { +// model.onSelectQrCodeScan() +// }) +// .navigationZoomTransition(sourceID: "SpaceCreateTypePickerView", in: namespace) +// } +// .qrCodeScanner(shouldScan: $model.shouldScanQrCode) +// .sheet(isPresented: $model.showSharingExtension) { +// SharingExtensionCoordinatorView() +// } +// .sheet(isPresented: $model.showAppSettings) { +// SettingsCoordinatorView() +// .pageNavigation(model.pageNavigation) +// } +// +// // load photos +// .photosPicker(isPresented: $model.showPhotosPicker, selection: $model.photosItems) +// .onChange(of: model.photosItems) { +// model.photosPickerFinished() +// } +// +// // load from camera +// .cameraAccessFullScreenCover(item: $model.cameraData) { +// SimpleCameraView(data: $0) +// } +// +// // load files +// .fileImporter( +// isPresented: $model.showFilesPicker, +// allowedContentTypes: [.data], +// allowsMultipleSelection: true +// ) { result in +// model.fileImporterFinished(result: result) +// } } private var content: some View { From ee0d3e5670657e6fba13057398456ac71f21df69 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Thu, 30 Oct 2025 13:12:22 +0300 Subject: [PATCH 078/228] IOS-5387 Separate space list --- .../SpaceHub/SpaceHubCoordinatorView.swift | 3 +- .../Modules/SpaceHub/SpaceHubView.swift | 94 +++---------------- .../Modules/SpaceHub/SpaceHubViewModel.swift | 5 +- .../Modules/SpaceHub/Subviews/SpaceCard.swift | 3 +- .../SpaceHub/Subviews/SpaceHubList.swift | 90 ++++++++++++++++++ 5 files changed, 112 insertions(+), 83 deletions(-) create mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift diff --git a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift index c3b277cfd1..a28585270a 100644 --- a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift +++ b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift @@ -12,7 +12,8 @@ struct SpaceHubCoordinatorView: View { @Namespace private var namespace var body: some View { - content + let _ = Self._printChanges() + return content .onAppear { model.keyboardDismiss = keyboardDismiss model.dismissAllPresented = dismissAllPresented diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift index f75e69e531..2efde86985 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift @@ -5,9 +5,6 @@ import DesignKit struct SpaceHubView: View { @State private var model: SpaceHubViewModel - @State private var draggedSpace: ParticipantSpaceViewDataWithPreview? - @State private var draggedInitialIndex: Int? - @State private var vaultBackToRootsToggle = FeatureFlags.vaultBackToRoots private var namespace: Namespace.ID @@ -17,7 +14,8 @@ struct SpaceHubView: View { } var body: some View { - content + let _ = Self._printChanges() + return content .onAppear { model.onAppear() } .taskWithMemoryScope { await model.startSubscriptions() } .task(item: model.spaceMuteData) { data in @@ -34,8 +32,8 @@ struct SpaceHubView: View { @ViewBuilder private var content: some View { Group { - if let spaces = model.spaces { - spacesView(spaces) + if model.dataLoaded { + spacesView() } else { EmptyView() // Do not show empty state view if we do not receive data yet } @@ -43,20 +41,20 @@ struct SpaceHubView: View { Spacer() } .ignoresSafeArea(edges: .bottom) - .animation(.default, value: model.spaces) } - private func spacesView(_ spaces: [ParticipantSpaceViewDataWithPreview]) -> some View { + private func spacesView() -> some View { NavigationStack { - Group { - if spaces.isEmpty { - emptyStateView - } else if model.filteredSpaces.isNotEmpty { - scrollView - } else { - SpaceHubSearchEmptySpaceView() - } - } + SpaceHubList(model: model) +// Group { +// if model.filteredSpaces.isEmpty && model.searchText.isEmpty { +// emptyStateView +// } else if model.filteredSpaces.isNotEmpty { +// scrollView +// } else { +// SpaceHubSearchEmptySpaceView() +// } +// } .navigationTitle(Loc.myChannels) .navigationBarTitleDisplayMode(.inline) .toolbar { toolbarItems } @@ -67,20 +65,6 @@ struct SpaceHubView: View { }.tint(Color.Text.secondary) } - private var scrollView: some View { - ScrollView { - VStack(spacing: vaultBackToRootsToggle ? 8 : 0) { - HomeUpdateSubmoduleView().padding(8) - - ForEach(model.filteredSpaces) { - spaceCard($0) - } - - Spacer.fixedHeight(40) - } - } - } - private var toolbarItems: some ToolbarContent { SpaceHubToolbar( showLoading: model.showLoading, @@ -95,54 +79,6 @@ struct SpaceHubView: View { } ) } - - private var emptyStateView: some View { - SpaceHubEmptyStateView { - model.onTapCreateSpace() - } - } - - private func spaceCard(_ space: ParticipantSpaceViewDataWithPreview) -> some View { - SpaceCard( - spaceData: space, - wallpaper: model.wallpapers[space.spaceView.targetSpaceId] ?? .default, - draggedSpace: $draggedSpace, - onTap: { - model.onSpaceTap(spaceId: space.spaceView.targetSpaceId) - }, - onTapCopy: { - model.copySpaceInfo(spaceView: space.spaceView) - }, - onTapMute: { - model.muteSpace(spaceView: space.spaceView) - }, - onTapPin: { - try await model.pin(spaceView: space.spaceView) - }, - onTapUnpin: { - try await model.unpin(spaceView: space.spaceView) - }, - onTapSettings: { - model.openSpaceSettings(spaceId: space.spaceView.targetSpaceId) - }, - onTapDelete: { - model.onDeleteSpace(spaceId: space.spaceView.targetSpaceId) - } - ) - .equatable() - .padding(.horizontal, vaultBackToRootsToggle ? 16 : 0) - .if(space.spaceView.isPinned) { - $0.onDrop( - of: [.text], - delegate: SpaceHubDropDelegate( - destinationItem: space, - allSpaces: $model.spaces, - draggedItem: $draggedSpace, - initialIndex: $draggedInitialIndex - ) - ) - } - } } #Preview { diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift index 7c3f6e9be7..c04704f453 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift @@ -8,9 +8,10 @@ import Loc @MainActor @Observable final class SpaceHubViewModel { + var spaces: [ParticipantSpaceViewDataWithPreview]? + var dataLoaded = false var searchText: String = "" - var filteredSpaces: [ParticipantSpaceViewDataWithPreview] = [] var wallpapers: [String: SpaceWallpaperType] = [:] @@ -23,7 +24,6 @@ final class SpaceHubViewModel { @ObservationIgnored private weak var output: (any SpaceHubModuleOutput)? - @Injected(\.userDefaultsStorage) @ObservationIgnored private var userDefaults: any UserDefaultsStorageProtocol @@ -127,6 +127,7 @@ final class SpaceHubViewModel { private func subscribeOnSpaces() async { for await spaces in await spaceHubSpacesStorage.spacesStream { self.spaces = spaces.sorted(by: sortSpacesForPinnedFeature) + self.dataLoaded = spaces.isNotEmpty showLoading = spaces.contains { $0.spaceView.isLoading } updateFilteredSpaces() } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard.swift index 2e9c91c5fe..092180d1ad 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard.swift @@ -15,7 +15,8 @@ struct SpaceCard: View, @preconcurrency Equatable { let onTapDelete: () -> Void var body: some View { - Button { + let _ = Self._printChanges() + return Button { onTap() } label: { if !FeatureFlags.vaultBackToRoots { diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift new file mode 100644 index 0000000000..9a2b68b927 --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift @@ -0,0 +1,90 @@ +import SwiftUI +import AnytypeCore + +struct SpaceHubList: View { + + @Bindable var model: SpaceHubViewModel + + @State private var draggedSpace: ParticipantSpaceViewDataWithPreview? + @State private var draggedInitialIndex: Int? + @State private var vaultBackToRootsToggle = FeatureFlags.vaultBackToRoots + + var body: some View { + let _ = Self._printChanges() + return content + } + + @ViewBuilder + private var content: some View { + if model.filteredSpaces.isEmpty && model.searchText.isEmpty { + emptyStateView + } else if model.filteredSpaces.isNotEmpty { + scrollView + } else { + SpaceHubSearchEmptySpaceView() + } + } + + private var scrollView: some View { + ScrollView { + VStack(spacing: vaultBackToRootsToggle ? 8 : 0) { + HomeUpdateSubmoduleView().padding(8) + + ForEach(model.filteredSpaces) { + spaceCard($0) + } + + Spacer.fixedHeight(40) + } + } + .animation(.default, value: model.filteredSpaces) + } + + private var emptyStateView: some View { + SpaceHubEmptyStateView { + model.onTapCreateSpace() + } + } + + private func spaceCard(_ space: ParticipantSpaceViewDataWithPreview) -> some View { + SpaceCard( + spaceData: space, + wallpaper: model.wallpapers[space.spaceView.targetSpaceId] ?? .default, + draggedSpace: $draggedSpace, + onTap: { + model.onSpaceTap(spaceId: space.spaceView.targetSpaceId) + }, + onTapCopy: { + model.copySpaceInfo(spaceView: space.spaceView) + }, + onTapMute: { + model.muteSpace(spaceView: space.spaceView) + }, + onTapPin: { + try await model.pin(spaceView: space.spaceView) + }, + onTapUnpin: { + try await model.unpin(spaceView: space.spaceView) + }, + onTapSettings: { + model.openSpaceSettings(spaceId: space.spaceView.targetSpaceId) + }, + onTapDelete: { + model.onDeleteSpace(spaceId: space.spaceView.targetSpaceId) + } + ) + .equatable() + .padding(.horizontal, vaultBackToRootsToggle ? 16 : 0) + .if(space.spaceView.isPinned) { + $0.onDrop( + of: [.text], + delegate: SpaceHubDropDelegate( + destinationItem: space, + allSpaces: $model.spaces, + draggedItem: $draggedSpace, + initialIndex: $draggedInitialIndex + ) + ) + } + } +} From e755aa292d3351cef7d14347abb055794c654dc3 Mon Sep 17 00:00:00 2001 From: "claude[bot]" <41898282+claude[bot]@users.noreply.github.com> Date: Thu, 30 Oct 2025 10:39:53 +0000 Subject: [PATCH 079/228] Fix typo: makeAsTempalte -> makeAsTemplate Co-authored-by: Vova Ignatov --- .../ObjectSettingsMenu/ObjectSettingsMenuViewModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuViewModel.swift index 7dd41d4259..60799451ec 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuViewModel.swift @@ -105,7 +105,7 @@ final class ObjectSettingsMenuViewModel: ObservableObject { case .linkItself: actionsViewModel.linkItselfAction() case .makeAsTemplate: - try? await actionsViewModel.makeAsTempalte() + try? await actionsViewModel.makeAsTemplate() case .templateToggleDefaultState: try? await actionsViewModel.templateToggleDefaultState() case .delete: From b654276f177614ecc908a95fa18c3d81dab604fb Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 30 Oct 2025 10:55:58 +0000 Subject: [PATCH 080/228] IOS-5415 Add code review guidelines reference to CLAUDE.md --- CLAUDE.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CLAUDE.md b/CLAUDE.md index 3ce75883f9..9ab0a18856 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -155,6 +155,7 @@ When removing code that uses localization keys, **always check if the key is sti - **Design System Mapping**: `/PresentationLayer/Common/DESIGN_SYSTEM_MAPPING.md` - **Typography Mapping**: `/PresentationLayer/Common/TYPOGRAPHY_MAPPING.md` - Maps Figma text styles to Swift constants - **Analytics Patterns**: `/PresentationLayer/Common/Analytics/ANALYTICS_PATTERNS.md` +- **Code Review Guidelines**: `/.github/workflows/code-review-guidelines.md` - Shared review standards for local and automated CI reviews ### Icons Icons are code-generated from assets organized by size (x18, x24, x32, x40). From e72123075f203d88f5d9d989b3332401828493a3 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 30 Oct 2025 11:00:14 +0000 Subject: [PATCH 081/228] IOS-5255 fix type for real --- .../EditorSetCoordinatorViewModel.swift | 6 +++--- .../SetObjectCreationSettingsCoordinator.swift | 14 +++++++------- .../TemplatesCoordinator.swift | 16 ++++++++-------- .../SetObjectCreationSettingsViewModel.swift | 6 +++--- .../ObjectActions/ObjectActionsView.swift | 2 +- .../ObjectActions/ObjectActionsViewModel.swift | 2 +- .../TextEditor/Routing/Editor/EditorRouter.swift | 4 ++-- 7 files changed, 25 insertions(+), 25 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Flows/EditorSetFlow/EditorSetCoordinatorViewModel.swift b/Anytype/Sources/PresentationLayer/Flows/EditorSetFlow/EditorSetCoordinatorViewModel.swift index b729469b27..1380064c5f 100644 --- a/Anytype/Sources/PresentationLayer/Flows/EditorSetFlow/EditorSetCoordinatorViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Flows/EditorSetFlow/EditorSetCoordinatorViewModel.swift @@ -253,10 +253,10 @@ final class EditorSetCoordinatorViewModel: func templateEditingHandler( setting: ObjectCreationSetting, - onSetAsDefaultTempalte: @escaping (String) -> Void, + onSetAsDefaultTemplate: @escaping (String) -> Void, onTemplateSelection: ((ObjectCreationSetting) -> Void)? ) { - legacySetObjectCreationSettingsCoordinator.templateEditingHandler(setting: setting, onSetAsDefaultTempalte: onSetAsDefaultTempalte, onTemplateSelection: onTemplateSelection) + legacySetObjectCreationSettingsCoordinator.templateEditingHandler(setting: setting, onSetAsDefaultTemplate: onSetAsDefaultTemplate, onTemplateSelection: onTemplateSelection) } func onObjectTypeLayoutTap(_ data: LayoutPickerData) { @@ -282,7 +282,7 @@ final class EditorSetCoordinatorViewModel: templatesCoordinator.showTemplatesPicker( data: data, - onSetAsDefaultTempalte: { [weak self] templateId in + onSetAsDefaultTemplate: { [weak self] templateId in self?.setTemplateAsDefault(objectId: objectId, templateId: templateId) } ) diff --git a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/SetObjectCreationSettingsCoordinator.swift b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/SetObjectCreationSettingsCoordinator.swift index a4a46127c2..a33f8806d7 100644 --- a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/SetObjectCreationSettingsCoordinator.swift +++ b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/SetObjectCreationSettingsCoordinator.swift @@ -8,7 +8,7 @@ protocol SetObjectCreationSettingsCoordinatorProtocol: AnyObject, SetObjectCreat func showTemplateEditing( setting: ObjectCreationSetting, onTemplateSelection: (() -> Void)?, - onSetAsDefaultTempalte: @escaping (String) -> Void, + onSetAsDefaultTemplate: @escaping (String) -> Void, completion: (() -> Void)? ) } @@ -32,7 +32,7 @@ final class SetObjectCreationSettingsCoordinator: func showTemplateEditing( setting: ObjectCreationSetting, onTemplateSelection: (() -> Void)?, - onSetAsDefaultTempalte: @escaping (String) -> Void, + onSetAsDefaultTemplate: @escaping (String) -> Void, completion: (() -> Void)? ) { let editorView = EditorPageCoordinatorView( @@ -47,7 +47,7 @@ final class SetObjectCreationSettingsCoordinator: } ) - self.useAsTemplateAction = onSetAsDefaultTempalte + self.useAsTemplateAction = onSetAsDefaultTemplate let editingTemplateViewController = TemplateEditingViewController( editorViewController: UIHostingController(rootView: editorView), @@ -115,20 +115,20 @@ final class SetObjectCreationSettingsCoordinator: func templateEditingHandler( setting: ObjectCreationSetting, - onSetAsDefaultTempalte: @escaping (String) -> Void, + onSetAsDefaultTemplate: @escaping (String) -> Void, onTemplateSelection: ((ObjectCreationSetting) -> Void)? ) { showTemplateEditing( setting: setting, onTemplateSelection: { [weak self] in self?.navigationContext.dismissAllPresented(animated: true) { - onSetAsDefaultTempalte(setting.templateId) + onSetAsDefaultTemplate(setting.templateId) onTemplateSelection?(setting) } }, - onSetAsDefaultTempalte: { [weak self] templateId in + onSetAsDefaultTemplate: { [weak self] templateId in self?.navigationContext.dismissTopPresented(animated: true, completion: { - onSetAsDefaultTempalte(templateId) + onSetAsDefaultTemplate(templateId) }) }, completion: nil diff --git a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/TemplatesCoordinator.swift b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/TemplatesCoordinator.swift index 153a747740..7001d5cf8c 100644 --- a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/TemplatesCoordinator.swift +++ b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/TemplatesCoordinator.swift @@ -8,13 +8,13 @@ protocol TemplatesCoordinatorProtocol { @MainActor func showTemplatesPicker( document: some BaseDocumentProtocol, - onSetAsDefaultTempalte: @escaping (String) -> Void + onSetAsDefaultTemplate: @escaping (String) -> Void ) @MainActor func showTemplatesPicker( data: TemplatePickerViewModelData, - onSetAsDefaultTempalte: @escaping (String) -> Void + onSetAsDefaultTemplate: @escaping (String) -> Void ) } @@ -26,14 +26,14 @@ final class TemplatesCoordinator: TemplatesCoordinatorProtocol, ObjectSettingsCo private var toastPresenter: any ToastPresenterProtocol private var editorModuleInputs = [String: any EditorPageModuleInput]() - private var onSetAsDefaultTempalte: ((String) -> Void)? + private var onSetAsDefaultTemplate: ((String) -> Void)? nonisolated init() {} @MainActor func showTemplatesPicker( document: some BaseDocumentProtocol, - onSetAsDefaultTempalte: @escaping (String) -> Void + onSetAsDefaultTemplate: @escaping (String) -> Void ) { let data = TemplatePickerViewModelData( mode: .objectTemplate(objectId: document.objectId), @@ -41,15 +41,15 @@ final class TemplatesCoordinator: TemplatesCoordinatorProtocol, ObjectSettingsCo spaceId: document.spaceId, defaultTemplateId: nil ) - showTemplatesPicker(data: data, onSetAsDefaultTempalte: onSetAsDefaultTempalte) + showTemplatesPicker(data: data, onSetAsDefaultTemplate: onSetAsDefaultTemplate) } @MainActor func showTemplatesPicker( data: TemplatePickerViewModelData, - onSetAsDefaultTempalte: @escaping (String) -> Void + onSetAsDefaultTemplate: @escaping (String) -> Void ) { - self.onSetAsDefaultTempalte = onSetAsDefaultTempalte + self.onSetAsDefaultTemplate = onSetAsDefaultTemplate let picker = TemplatePickerView(viewModel: .init(data: data, output: self)) let hostViewController = UIHostingController(rootView: picker) hostViewController.modalPresentationStyle = .fullScreen @@ -101,7 +101,7 @@ extension TemplatesCoordinator: TemplatePickerViewModuleOutput { func didCreateTemplate(templateId: String) {} func didTapUseTemplateAsDefault(templateId: String) { - onSetAsDefaultTempalte?(templateId) + onSetAsDefaultTemplate?(templateId) } func didUndoRedo() { diff --git a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/SetObjectCreationSettingsViewModel.swift b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/SetObjectCreationSettingsViewModel.swift index e9d1dd9195..6b5c409c25 100644 --- a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/SetObjectCreationSettingsViewModel.swift +++ b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/SetObjectCreationSettingsViewModel.swift @@ -15,7 +15,7 @@ protocol SetObjectCreationSettingsOutput: AnyObject { func onObjectTypesSearchAction(setDocument: some SetDocumentProtocol, completion: @escaping (ObjectType) -> Void) func templateEditingHandler( setting: ObjectCreationSetting, - onSetAsDefaultTempalte: @escaping (String) -> Void, + onSetAsDefaultTemplate: @escaping (String) -> Void, onTemplateSelection: ((ObjectCreationSetting) -> Void)? ) } @@ -98,7 +98,7 @@ final class SetObjectCreationSettingsViewModel: ObservableObject { AnytypeAnalytics.instance().logTemplateCreate(objectType: .object(typeId: objectTypeId), spaceId: spaceId) output?.templateEditingHandler( setting: ObjectCreationSetting(objectTypeId: objectTypeId, spaceId: spaceId, templateId: templateId), - onSetAsDefaultTempalte: { [weak self] templateId in + onSetAsDefaultTemplate: { [weak self] templateId in self?.setTemplateAsDefault(templateId: templateId) }, onTemplateSelection: data.onTemplateSelection @@ -221,7 +221,7 @@ final class SetObjectCreationSettingsViewModel: ObservableObject { case .editTemplate: output?.templateEditingHandler( setting: ObjectCreationSetting(objectTypeId: objectTypeId, spaceId: spaceId, templateId: templateViewModel.id), - onSetAsDefaultTempalte: { [weak self] templateId in + onSetAsDefaultTemplate: { [weak self] templateId in self?.setTemplateAsDefault(templateId: templateId) }, onTemplateSelection: data.onTemplateSelection diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsView.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsView.swift index eca0141cf8..c274baf275 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsView.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsView.swift @@ -29,7 +29,7 @@ struct ObjectActionsView: View { case .linkItself: viewModel.linkItselfAction() case .makeAsTemplate: - try await viewModel.makeAsTempalte() + try await viewModel.makeAsTemplate() case .templateToggleDefaultState: try await viewModel.templateToggleDefaultState() case .delete: diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift index 8b9b5b5fa5..59da81a05e 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift @@ -143,7 +143,7 @@ final class ObjectActionsViewModel: ObservableObject { output?.onLinkItselfAction(onSelect: onObjectSelection) } - func makeAsTempalte() async throws { + func makeAsTemplate() async throws { guard let details = document.details else { return } let templateId = try await templatesService.createTemplateFromObject(objectId: details.id) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Routing/Editor/EditorRouter.swift b/Anytype/Sources/PresentationLayer/TextEditor/Routing/Editor/EditorRouter.swift index 360012bcc5..71a61feaf3 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Routing/Editor/EditorRouter.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Routing/Editor/EditorRouter.swift @@ -365,7 +365,7 @@ final class EditorRouter: NSObject, EditorRouterProtocol, ObjectSettingsCoordina func showTemplatesPicker() { templatesCoordinator.showTemplatesPicker( document: document, - onSetAsDefaultTempalte: { [weak self] templateId in + onSetAsDefaultTemplate: { [weak self] templateId in self?.didTapUseTemplateAsDefault(templateId: templateId) } ) @@ -440,7 +440,7 @@ extension EditorRouter { setObjectCreationSettingsCoordinator.showTemplateEditing( setting: setting, onTemplateSelection: nil, - onSetAsDefaultTempalte: { [weak self] templateId in + onSetAsDefaultTemplate: { [weak self] templateId in self?.didTapUseTemplateAsDefault(templateId: templateId) }, completion: { [weak self] in From fad152b98ed877d8bafd74bb46d395c99b3be032 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 30 Oct 2025 11:04:33 +0000 Subject: [PATCH 082/228] IOS-5211 Fix colors --- .../Components/StandardButton/StandardButtonConfig.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift b/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift index 5f88e0a20f..9164d063a9 100644 --- a/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift +++ b/Modules/DesignKit/Sources/DesignKit/Components/StandardButton/StandardButtonConfig.swift @@ -77,7 +77,7 @@ public extension StandardButtonStyle { case .primaryLarge: return StandardButtonConfig( normal: StandardButtonConfig.Style( - textColor: .Text.inversion, + textColor: .Text.white, backgroundColor: .Control.accent100 ), higlighted: StandardButtonConfig.Style( From 4187fddcbc0b2668e9ff1a84dd4238fdc43acda8 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 30 Oct 2025 12:09:05 +0000 Subject: [PATCH 083/228] IOS-5255 Update description behaviour --- .../ObjectSettings/Model/ObjectSetting.swift | 4 ++-- .../Loc/Sources/Loc/Generated/Strings.swift | 2 ++ .../Loc/Sources/Loc/Resources/UI.xcstrings | 22 +++++++++++++++++++ 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/Model/ObjectSetting.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/Model/ObjectSetting.swift index f79430398d..8f8d29b090 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/Model/ObjectSetting.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/Model/ObjectSetting.swift @@ -52,8 +52,8 @@ extension ObjectSetting { Loc.icon case .cover: Loc.cover - case .description: - Loc.description + case .description(let isVisible): + isVisible ? Loc.hideDescription : Loc.showDescription case .relations: Loc.fields case .history: diff --git a/Modules/Loc/Sources/Loc/Generated/Strings.swift b/Modules/Loc/Sources/Loc/Generated/Strings.swift index 7fe9773213..5103b0a5db 100644 --- a/Modules/Loc/Sources/Loc/Generated/Strings.swift +++ b/Modules/Loc/Sources/Loc/Generated/Strings.swift @@ -369,6 +369,7 @@ public enum Loc { public static let header = Loc.tr("UI", "Header", fallback: "Header") public static let hidden = Loc.tr("UI", "Hidden", fallback: "Hidden") public static let hide = Loc.tr("UI", "Hide", fallback: "Hide") + public static let hideDescription = Loc.tr("UI", "Hide Description", fallback: "Hide Description") public static let hideTypes = Loc.tr("UI", "Hide types", fallback: "Hide types") public static let highlight = Loc.tr("UI", "Highlight", fallback: "Highlight") public static let history = Loc.tr("UI", "History", fallback: "History") @@ -579,6 +580,7 @@ public enum Loc { public static let settings = Loc.tr("UI", "Settings", fallback: "Settings") public static let share = Loc.tr("UI", "Share", fallback: "Share") public static let show = Loc.tr("UI", "Show", fallback: "Show") + public static let showDescription = Loc.tr("UI", "Show Description", fallback: "Show Description") public static let showTypes = Loc.tr("UI", "Show types", fallback: "Show types") public static let skip = Loc.tr("UI", "Skip", fallback: "Skip") public static let sky = Loc.tr("UI", "Sky", fallback: "Sky") diff --git a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings index 1c9282c191..bdfc09f64d 100644 --- a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings @@ -44547,6 +44547,17 @@ } } }, + "Hide Description" : { + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Hide Description" + } + } + } + }, "Hide types" : { "extractionState" : "manual", "localizations" : { @@ -83950,6 +83961,17 @@ } } }, + "Show Description" : { + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Show Description" + } + } + } + }, "Show types" : { "extractionState" : "manual", "localizations" : { From 039ed40975dbf7f8ac20eecc1965abab2a0fa2e0 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 30 Oct 2025 12:10:22 +0000 Subject: [PATCH 084/228] IOS-5417 Spaces -> Channels --- Modules/Loc/Sources/Loc/Generated/Strings.swift | 2 +- Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Loc/Sources/Loc/Generated/Strings.swift b/Modules/Loc/Sources/Loc/Generated/Strings.swift index 7fe9773213..0aac469bda 100644 --- a/Modules/Loc/Sources/Loc/Generated/Strings.swift +++ b/Modules/Loc/Sources/Loc/Generated/Strings.swift @@ -2410,7 +2410,7 @@ public enum Loc { } } public enum Spaces { - public static let title = Loc.tr("Workspace", "Spaces.Title", fallback: "Spaces") + public static let title = Loc.tr("Workspace", "Spaces.Title", fallback: "Channels") public enum Accessibility { public static let personal = Loc.tr("Workspace", "Spaces.Accessibility.Personal", fallback: "Entry Space") public static let `private` = Loc.tr("Workspace", "Spaces.Accessibility.Private", fallback: "Private Space") diff --git a/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings b/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings index e34b8070f9..b2eaecde62 100644 --- a/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings @@ -59270,7 +59270,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "Spaces" + "value" : "Channels" } }, "es" : { From 9b68d188c1da26d8ae2ec5405f14760de96cc491 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Thu, 30 Oct 2025 15:29:54 +0300 Subject: [PATCH 085/228] IOS-5387 Fixes --- .../SpaceHub/SpaceHubCoordinatorView.swift | 3 +- .../SpaceHub/SpaceHubDropDelegate.swift | 18 +- .../Modules/SpaceHub/SpaceHubView.swift | 3 +- .../Modules/SpaceHub/SpaceHubViewModel.swift | 53 +++-- .../SpaceHub/Subviews/NewSpaceCardLabel.swift | 203 ------------------ .../SpaceCard/NewSpaceCardLabel.swift | 138 ++++++++++++ .../NewSpaceCardLastMessageView.swift | 60 ++++++ .../Subviews/{ => SpaceCard}/SpaceCard.swift | 53 ++--- .../Subviews/SpaceCard/SpaceCardLabel.swift | 102 +++++++++ .../SpaceCard/SpaceCardLastMessageModel.swift | 17 ++ .../SpaceCard/SpaceCardLastMessageView.swift | 47 ++++ .../Subviews/SpaceCard/SpaceCardModel.swift | 24 +++ .../SpaceCard/SpaceCardModelBuilder.swift | 77 +++++++ .../SpaceHub/Subviews/SpaceCardLabel.swift | 155 ------------- .../SpaceHub/Subviews/SpaceHubList.swift | 40 ++-- 15 files changed, 546 insertions(+), 447 deletions(-) delete mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/NewSpaceCardLabel.swift create mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift create mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift rename Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/{ => SpaceCard}/SpaceCard.swift (65%) create mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLabel.swift create mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLastMessageModel.swift create mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLastMessageView.swift create mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift create mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift delete mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCardLabel.swift diff --git a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift index a28585270a..c3b277cfd1 100644 --- a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift +++ b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift @@ -12,8 +12,7 @@ struct SpaceHubCoordinatorView: View { @Namespace private var namespace var body: some View { - let _ = Self._printChanges() - return content + content .onAppear { model.keyboardDismiss = keyboardDismiss model.dismissAllPresented = dismissAllPresented diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubDropDelegate.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubDropDelegate.swift index 585859bcaa..1bd4e174c2 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubDropDelegate.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubDropDelegate.swift @@ -5,9 +5,9 @@ import AnytypeCore struct SpaceHubDropDelegate: DropDelegate { - let destinationItem: ParticipantSpaceViewDataWithPreview + let destinationSpaceViewId: String? @Binding var allSpaces: [ParticipantSpaceViewDataWithPreview]? - @Binding var draggedItem: ParticipantSpaceViewDataWithPreview? + @Binding var draggedSpaceViewId: String? @Binding var initialIndex: Int? func dropUpdated(info: DropInfo) -> DropProposal? { @@ -15,20 +15,20 @@ struct SpaceHubDropDelegate: DropDelegate { } func performDrop(info: DropInfo) -> Bool { - guard let allSpaces, draggedItem.isNotNil, let initialIndex else { return false } + guard let allSpaces, draggedSpaceViewId.isNotNil, let initialIndex else { return false } - guard let finalIndex = allSpaces.firstIndex(of: destinationItem) else { return false } + guard let finalIndex = allSpaces.firstIndex(where: { $0.spaceView.id == destinationSpaceViewId }) else { return false } guard finalIndex != initialIndex else { return false } - self.draggedItem = nil + self.draggedSpaceViewId = nil self.initialIndex = nil return true } func dropEntered(info: DropInfo) { - guard var allSpaces, let draggedItem else { return } - guard let fromIndex = allSpaces.firstIndex(where: { $0.space.id == draggedItem.space.id } ) else { return } - guard let toIndex = allSpaces.firstIndex(where: { $0.space.id == destinationItem.space.id } ) else { return } + guard var allSpaces, let draggedSpaceViewId else { return } + guard let fromIndex = allSpaces.firstIndex(where: { $0.space.spaceView.id == draggedSpaceViewId } ) else { return } + guard let toIndex = allSpaces.firstIndex(where: { $0.space.spaceView.id == destinationSpaceViewId } ) else { return } guard fromIndex != toIndex else { return } @@ -52,7 +52,7 @@ struct SpaceHubDropDelegate: DropDelegate { let spaceOrderService = Container.shared.spaceOrderService() try await spaceOrderService.setOrder( - spaceViewIdMoved: draggedItem.spaceView.id, newOrder: newOrder + spaceViewIdMoved: draggedSpaceViewId, newOrder: newOrder ) AnytypeAnalytics.instance().logReorderSpace() } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift index 2efde86985..4ebf434500 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift @@ -14,8 +14,7 @@ struct SpaceHubView: View { } var body: some View { - let _ = Self._printChanges() - return content + content .onAppear { model.onAppear() } .taskWithMemoryScope { await model.startSubscriptions() } .task(item: model.spaceMuteData) { data in diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift index c04704f453..42d769ea83 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift @@ -12,7 +12,7 @@ final class SpaceHubViewModel { var spaces: [ParticipantSpaceViewDataWithPreview]? var dataLoaded = false var searchText: String = "" - var filteredSpaces: [ParticipantSpaceViewDataWithPreview] = [] + var filteredSpaces: [SpaceCardModel] = [] var wallpapers: [String: SpaceWallpaperType] = [:] @@ -39,6 +39,8 @@ final class SpaceHubViewModel { private var pushNotificationsSystemSettingsBroadcaster: any PushNotificationsSystemSettingsBroadcasterProtocol @Injected(\.workspaceService) @ObservationIgnored private var workspaceService: any WorkspaceServiceProtocol + @Injected(\.spaceCardModelBuilder)@ObservationIgnored + private var spaceCardModelBuilder: any SpaceCardModelBuilderProtocol init(output: (any SpaceHubModuleOutput)?) { self.output = output @@ -62,11 +64,13 @@ final class SpaceHubViewModel { } - func copySpaceInfo(spaceView: SpaceView) { + func copySpaceInfo(spaceViewId: String) { + guard let spaceView = spaces?.first(where: { $0.spaceView.id == spaceViewId })?.spaceView else { return } UIPasteboard.general.string = String(describing: spaceView) } - func muteSpace(spaceView: SpaceView) { + func muteSpace(spaceViewId: String) { + guard let spaceView = spaces?.first(where: { $0.spaceView.id == spaceViewId })?.spaceView else { return } let isUnmutedAll = spaceView.pushNotificationMode.isUnmutedAll spaceMuteData = SpaceMuteData( spaceId: spaceView.targetSpaceId, @@ -74,19 +78,19 @@ final class SpaceHubViewModel { ) } - func pin(spaceView: SpaceView) async throws { + func pin(spaceViewId: String) async throws { guard let spaces else { return } let pinnedSpaces = spaces.filter { $0.spaceView.isPinned } + + var newOrder = pinnedSpaces.filter { $0.spaceView.id != spaceViewId }.map(\.spaceView.id) + newOrder.insert(spaceViewId, at: 0) - var newOrder = pinnedSpaces.filter { $0.spaceView.id != spaceView.id }.map(\.spaceView.id) - newOrder.insert(spaceView.id, at: 0) - - try await spaceOrderService.setOrder(spaceViewIdMoved: spaceView.id, newOrder: newOrder) + try await spaceOrderService.setOrder(spaceViewIdMoved: spaceViewId, newOrder: newOrder) AnytypeAnalytics.instance().logPinSpace() } - func unpin(spaceView: SpaceView) async throws { - try await spaceOrderService.unsetOrder(spaceViewId: spaceView.id) + func unpin(spaceViewId: String) async throws { + try await spaceOrderService.unsetOrder(spaceViewId: spaceViewId) AnytypeAnalytics.instance().logUnpinSpace() } @@ -209,19 +213,22 @@ final class SpaceHubViewModel { } private func updateFilteredSpaces() { - - guard let spaces else { - filteredSpaces = [] - return - } - - guard !searchText.isEmpty else { - filteredSpaces = spaces - return - } - - filteredSpaces = spaces.filter { space in - space.spaceView.name.localizedCaseInsensitiveContains(searchText) + Task { + guard let spaces else { + filteredSpaces = [] + return + } + + let spacesToFilter: [ParticipantSpaceViewDataWithPreview] + if searchText.isEmpty { + spacesToFilter = spaces + } else { + spacesToFilter = spaces.filter { space in + space.spaceView.name.localizedCaseInsensitiveContains(searchText) + } + } + + self.filteredSpaces = await spaceCardModelBuilder.build(from: spacesToFilter, wallpapers: wallpapers) } } } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/NewSpaceCardLabel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/NewSpaceCardLabel.swift deleted file mode 100644 index 8681065564..0000000000 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/NewSpaceCardLabel.swift +++ /dev/null @@ -1,203 +0,0 @@ -import SwiftUI -import AnytypeCore - -// SpaceCardLabel and SpaceCard are splitted for better SwiftUI diff. -struct NewSpaceCardLabel: View { - - let spaceData: ParticipantSpaceViewDataWithPreview - let wallpaper: SpaceWallpaperType - private let dateFormatter = ChatPreviewDateFormatter() - @Binding var draggedSpace: ParticipantSpaceViewDataWithPreview? - - @Namespace private var namespace - - var body: some View { - content - .if(spaceData.spaceView.isPinned) { - $0.onDrag { - draggedSpace = spaceData - return NSItemProvider() - } preview: { - EmptyView() - } - } - } - - private var content: some View { - HStack(alignment: .center, spacing: 12) { - IconView(icon: spaceData.spaceView.objectIconImage) - .frame(width: 56, height: 56) - - Group { - if let message = spaceData.preview.lastMessage { - mainContentWithMessage(message) - } else { - mainContentWithoutMessage - } - } - // Fixing the animation when the cell is moved and updated inside - // Optimization - create a data model for SpaceCard and map to in in SpaceHubViewModel on background thread - .id(spaceData.hashValue) - .matchedGeometryEffect(id: "content", in: namespace, properties: .position, anchor: .topLeading) - } - .padding(.horizontal, 16) - .padding(.vertical, 17) - // Optimization for fast sizeThatFits - .frame(height: 98) - - .cornerRadius(20, style: .continuous) - .background(DashboardWallpaper( - mode: .spaceHub, - wallpaper: wallpaper, - spaceIcon: spaceData.spaceView.objectIconImage - )) - .clipShape(RoundedRectangle(cornerRadius: 20, style: .continuous)) - } - - private func mainContentWithMessage(_ message: LastMessagePreview) -> some View { - VStack(alignment: .leading, spacing: 0) { - HStack(alignment: .bottom) { - HStack(alignment: .center) { - AnytypeText(spaceData.spaceView.name.withPlaceholder, style: .bodySemibold) - .lineLimit(1) - .foregroundColor(Color.Text.primary) - if isMuted { - Spacer.fixedWidth(4) - Image(asset: .X18.muted).foregroundColor(.Control.transparentSecondary) - } - } - - Spacer(minLength: 8) - - VStack(spacing: 0) { - lastMessageDate - Spacer.fixedHeight(2) - } - } - - HStack(alignment: .top) { - lastMessagePreview(message) - Spacer() - decoration - } - - Spacer(minLength: 0) - } - } - - private var mainContentWithoutMessage: some View { - VStack(alignment: .leading, spacing: 0) { - HStack { - AnytypeText(spaceData.spaceView.name.withPlaceholder, style: .bodySemibold) - .lineLimit(1) - .foregroundColor(Color.Text.primary) - if isMuted { - Spacer.fixedWidth(8) - Image(asset: .X18.muted).foregroundColor(.Control.transparentSecondary) - } - Spacer() - pin - } - } - } - - @ViewBuilder - func lastMessagePreview(_ message: LastMessagePreview) -> some View { - Group { - if message.attachments.isNotEmpty { - messageWithAttachements(message) - } else if message.text.isNotEmpty { - messageWithoutAttachements(message) - } else { - AnytypeText(message.creator?.title ?? Loc.Chat.newMessages, style: .chatPreviewMedium) - .foregroundColor(.Text.transparentSecondary) - .lineLimit(1) - } - } - .multilineTextAlignment(.leading) - } - - func messageWithoutAttachements(_ message: LastMessagePreview) -> some View { - Group { - if let creator = message.creator { - VStack(alignment: .leading, spacing: 2) { - Text(creator.title).anytypeFontStyle(.chatPreviewMedium) - Text(message.text).anytypeFontStyle(.chatPreviewRegular) - } - .lineLimit(1) - } else { - Text(message.text).anytypeFontStyle(.chatPreviewRegular) - .lineLimit(2) - } - } - .foregroundColor(.Text.transparentSecondary) - .anytypeLineHeightStyle(.chatPreviewRegular) - } - - @ViewBuilder - func messageWithAttachements(_ message: LastMessagePreview) -> some View { - VStack(alignment: .leading, spacing: 2) { - - if let creator = message.creator { - AnytypeText(creator.title, style: .chatPreviewMedium) - .foregroundColor(.Text.transparentSecondary) - .lineLimit(1) - } - - HStack(spacing: 2) { - ForEach(message.attachments.prefix(3)) { - IconView(icon: $0.objectIconImage).frame(width: 18, height: 18) - } - - Spacer.fixedWidth(2) - AnytypeText(message.localizedAttachmentsText, style: .chatPreviewRegular) - .foregroundColor(.Text.transparentSecondary) - .lineLimit(1) - } - } - } - - @ViewBuilder - private var lastMessageDate: some View { - if let lastMessage = spaceData.preview.lastMessage { - AnytypeText(dateFormatter.localizedDateString(for: lastMessage.createdAt, showTodayTime: true), style: .relation2Regular) - .foregroundColor(.Control.transparentSecondary) - } - } - - @ViewBuilder - private var decoration: some View { - if spaceData.preview.hasCounters { - unreadCounters - } else { - pin - } - } - - private var unreadCounters: some View { - HStack(spacing: 4) { - if spaceData.preview.mentionCounter > 0 { - MentionBadge(style: isMuted ? .muted : .highlighted) - } - if spaceData.preview.unreadCounter > 0 { - CounterView( - count: spaceData.preview.unreadCounter, - style: isMuted ? .muted : .highlighted - ) - } - } - } - - @ViewBuilder - private var pin: some View { - if spaceData.spaceView.isPinned { - Image(asset: .X18.pin) - .foregroundColor(Color.Control.transparentSecondary) - .frame(width: 18, height: 18) - } - } - - private var isMuted: Bool { - FeatureFlags.muteSpacePossibility && !spaceData.spaceView.pushNotificationMode.isUnmutedAll - } -} diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift new file mode 100644 index 0000000000..9da045530d --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift @@ -0,0 +1,138 @@ +import SwiftUI +import AnytypeCore + +// SpaceCardLabel and SpaceCard are splitted for better SwiftUI diff. +struct NewSpaceCardLabel: View { + + let model: SpaceCardModel + @Binding var draggedSpaceViewId: String? + + @Namespace private var namespace + + var body: some View { + content + .if(model.isPinned) { + $0.onDrag { + draggedSpaceViewId = model.spaceViewId + return NSItemProvider() + } preview: { + EmptyView() + } + } + } + + private var content: some View { + HStack(alignment: .center, spacing: 12) { + IconView(icon: model.objectIconImage) + .frame(width: 56, height: 56) + + Group { + if let message = model.lastMessage { + mainContentWithMessage(message) + } else { + mainContentWithoutMessage + } + } + .matchedGeometryEffect(id: "content", in: namespace, properties: .position, anchor: .topLeading) + } + .padding(.horizontal, 16) + .padding(.vertical, 17) + // Optimization for fast sizeThatFits + .frame(height: 98) + + .cornerRadius(20, style: .continuous) + .background(DashboardWallpaper( + mode: .spaceHub, + wallpaper: model.wallpaper, + spaceIcon: model.objectIconImage + )) + .clipShape(RoundedRectangle(cornerRadius: 20, style: .continuous)) + } + + private func mainContentWithMessage(_ message: SpaceCardLastMessageModel) -> some View { + VStack(alignment: .leading, spacing: 0) { + HStack(alignment: .bottom) { + HStack(alignment: .center) { + AnytypeText(model.name.withPlaceholder, style: .bodySemibold) + .lineLimit(1) + .foregroundColor(Color.Text.primary) + if model.isMuted { + Spacer.fixedWidth(4) + Image(asset: .X18.muted).foregroundColor(.Control.transparentSecondary) + } + } + + Spacer(minLength: 8) + + VStack(spacing: 0) { + lastMessageDate + Spacer.fixedHeight(2) + } + } + + HStack(alignment: .top) { + NewSpaceCardLastMessageView(model: message) + Spacer() + decoration + } + + Spacer(minLength: 0) + } + } + + private var mainContentWithoutMessage: some View { + VStack(alignment: .leading, spacing: 0) { + HStack { + AnytypeText(model.name.withPlaceholder, style: .bodySemibold) + .lineLimit(1) + .foregroundColor(Color.Text.primary) + if model.isMuted { + Spacer.fixedWidth(8) + Image(asset: .X18.muted).foregroundColor(.Control.transparentSecondary) + } + Spacer() + pin + } + } + } + + @ViewBuilder + private var lastMessageDate: some View { + if let lastMessage = model.lastMessage { + AnytypeText(lastMessage.chatPreviewDate, style: .relation2Regular) + .foregroundColor(.Control.transparentSecondary) + } + } + + @ViewBuilder + private var decoration: some View { + if model.hasCounters { + unreadCounters + } else { + pin + } + } + + private var unreadCounters: some View { + HStack(spacing: 4) { + if model.mentionCounter > 0 { + MentionBadge(style: model.isMuted ? .muted : .highlighted) + } + if model.unreadCounter > 0 { + CounterView( + count: model.unreadCounter, + style: model.isMuted ? .muted : .highlighted + ) + } + } + } + + @ViewBuilder + private var pin: some View { + if model.isPinned { + Image(asset: .X18.pin) + .foregroundColor(Color.Control.transparentSecondary) + .frame(width: 18, height: 18) + } + } +} diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift new file mode 100644 index 0000000000..5f79e6c033 --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift @@ -0,0 +1,60 @@ +import SwiftUI + +struct NewSpaceCardLastMessageView: View { + + let model: SpaceCardLastMessageModel + + var body: some View { + Group { + if model.attachments.isNotEmpty { + messageWithAttachements + } else if model.text.isNotEmpty { + messageWithoutAttachements + } else { + AnytypeText(model.creatorTitle ?? Loc.Chat.newMessages, style: .chatPreviewMedium) + .foregroundColor(.Text.transparentSecondary) + .lineLimit(1) + } + } + .multilineTextAlignment(.leading) + } + + private var messageWithoutAttachements: some View { + Group { + if let creatorTitle = model.creatorTitle { + VStack(alignment: .leading, spacing: 2) { + Text(creatorTitle).anytypeFontStyle(.chatPreviewMedium) + Text(model.text).anytypeFontStyle(.chatPreviewRegular) + } + .lineLimit(1) + } else { + Text(model.text).anytypeFontStyle(.chatPreviewRegular) + .lineLimit(2) + } + } + .foregroundColor(.Text.transparentSecondary) + .anytypeLineHeightStyle(.chatPreviewRegular) + } + + private var messageWithAttachements: some View { + VStack(alignment: .leading, spacing: 2) { + + if let creatorTitle = model.creatorTitle { + AnytypeText(creatorTitle, style: .chatPreviewMedium) + .foregroundColor(.Text.transparentSecondary) + .lineLimit(1) + } + + HStack(spacing: 2) { + ForEach(model.attachments) { + IconView(icon: $0.icon).frame(width: 18, height: 18) + } + + Spacer.fixedWidth(2) + AnytypeText(model.localizedAttachmentsText, style: .chatPreviewRegular) + .foregroundColor(.Text.transparentSecondary) + .lineLimit(1) + } + } + } +} diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift similarity index 65% rename from Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard.swift rename to Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift index 092180d1ad..e9f3937223 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift @@ -1,11 +1,10 @@ import SwiftUI import AnytypeCore -struct SpaceCard: View, @preconcurrency Equatable { - - let spaceData: ParticipantSpaceViewDataWithPreview - let wallpaper: SpaceWallpaperType - @Binding var draggedSpace: ParticipantSpaceViewDataWithPreview? +struct SpaceCard: View { + + let model: SpaceCardModel + @Binding var draggedSpaceViewId: String? let onTap: () -> Void let onTapCopy: () -> Void let onTapMute: () -> Void @@ -13,48 +12,48 @@ struct SpaceCard: View, @preconcurrency Equatable { let onTapUnpin: () async throws -> Void let onTapSettings: () -> Void let onTapDelete: () -> Void + + @State private var vaultBackToRootsToggle = FeatureFlags.vaultBackToRoots + @State private var muteSpacePossibilityToggle = FeatureFlags.muteSpacePossibility var body: some View { - let _ = Self._printChanges() - return Button { + Button { onTap() } label: { - if !FeatureFlags.vaultBackToRoots { + if !vaultBackToRootsToggle { SpaceCardLabel( - spaceData: spaceData, - wallpaper: wallpaper, - draggedSpace: $draggedSpace + model: model, + draggedSpaceViewId: $draggedSpaceViewId ) } else { NewSpaceCardLabel( - spaceData: spaceData, - wallpaper: wallpaper, - draggedSpace: $draggedSpace + model: model, + draggedSpaceViewId: $draggedSpaceViewId ) } } .contentShape([.dragPreview, .contextMenuPreview], RoundedRectangle(cornerRadius: 20, style: .continuous)) .contextMenu { menuItems.tint(Color.Text.primary) } } - + @ViewBuilder private var menuItems: some View { - if spaceData.spaceView.isLoading { + if model.isLoading { copyButton Divider() } - - if spaceData.spaceView.isPinned { + + if model.isPinned { unpinButton } else { pinButton } - - if FeatureFlags.muteSpacePossibility, spaceData.spaceView.isShared { + + if muteSpacePossibilityToggle, model.isShared { muteButton } - - if spaceData.spaceView.isLoading { + + if model.isLoading { deleteButton } else { settingsButton @@ -74,9 +73,9 @@ struct SpaceCard: View, @preconcurrency Equatable { onTapMute() } label: { HStack { - Text(spaceData.spaceView.pushNotificationMode.isUnmutedAll ? Loc.mute : Loc.unmute) + Text(model.allNotificationsUnmuted ? Loc.mute : Loc.unmute) Spacer() - Image(systemName: spaceData.spaceView.pushNotificationMode.isUnmutedAll ? "bell.slash" : "bell") + Image(systemName: model.allNotificationsUnmuted ? "bell.slash" : "bell") } } } @@ -123,10 +122,4 @@ struct SpaceCard: View, @preconcurrency Equatable { .tint(.red) } } - - static func == (lhs: Self, rhs: Self) -> Bool { - lhs.spaceData == rhs.spaceData - && lhs.wallpaper == rhs.wallpaper - && lhs.draggedSpace == rhs.draggedSpace - } } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLabel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLabel.swift new file mode 100644 index 0000000000..1f78b24d60 --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLabel.swift @@ -0,0 +1,102 @@ +import SwiftUI +import AnytypeCore + +// SpaceCardLabel and SpaceCard are splitted for better SwiftUI diff. +struct SpaceCardLabel: View { + + let model: SpaceCardModel + @Binding var draggedSpaceViewId: String? + + @Namespace private var namespace + + var body: some View { + HStack(alignment: .center, spacing: 12) { + IconView(icon: model.objectIconImage) + .frame(width: 56, height: 56) + VStack(alignment: .leading, spacing: 0) { + HStack { + Text(model.name.withPlaceholder) + .anytypeFontStyle(.bodySemibold) + .lineLimit(1) + .foregroundStyle(Color.Text.primary) + if model.isMuted { + Spacer.fixedWidth(8) + Image(asset: .X18.muted).foregroundColor(.Control.secondary) + } + Spacer(minLength: 8) + createdDate + } + HStack { + info + Spacer() + unreadCounters + pin + } + Spacer(minLength: 1) + } + .matchedGeometryEffect(id: "content", in: namespace, properties: .position, anchor: .topLeading) + } + .padding(.horizontal, 16) + .padding(.vertical, 8) + // Optimization for fast sizeThatFits + .frame(height: 80) + .background(Color.Background.primary) + .contentShape([.dragPreview, .contextMenuPreview], RoundedRectangle(cornerRadius: 20, style: .continuous)) + + .if(model.isPinned) { + $0.onDrag { + draggedSpaceViewId = model.spaceViewId + return NSItemProvider() + } preview: { + EmptyView() + } + } + } + + private var info: some View { + Group { + if let lastMessage = model.lastMessage { + SpaceCardLastMessageView(model: lastMessage) + } else { + Text(model.uxTypeName) + .anytypeStyle(.uxTitle2Regular) + .lineLimit(1) + } + } + .foregroundStyle(Color.Text.secondary) + .multilineTextAlignment(.leading) + } + + + @ViewBuilder + private var createdDate: some View { + if let lastMessage = model.lastMessage { + Text(lastMessage.historyDate) + .anytypeStyle(.relation2Regular) + .foregroundStyle(Color.Control.transparentSecondary) + } + } + + private var unreadCounters: some View { + HStack(spacing: 4) { + if model.mentionCounter > 0 { + MentionBadge(style: model.isMuted ? .muted : .highlighted) + } + if model.unreadCounter > 0 { + CounterView( + count: model.unreadCounter, + style: model.isMuted ? .muted : .highlighted + ) + } + } + } + + @ViewBuilder + private var pin: some View { + if !model.hasCounters && model.isPinned { + Image(asset: .X18.pin) + .foregroundStyle(Color.Control.secondary) + .frame(width: 18, height: 18) + } + } +} diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLastMessageModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLastMessageModel.swift new file mode 100644 index 0000000000..e3760f85c3 --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLastMessageModel.swift @@ -0,0 +1,17 @@ +import Foundation + +struct SpaceCardLastMessageModel: Equatable { + let creatorTitle: String? + let text: String + let attachments: [Attachment] + let localizedAttachmentsText: String + let historyDate: String + let chatPreviewDate: String +} + +extension SpaceCardLastMessageModel { + struct Attachment: Equatable, Identifiable { + let id: String + let icon: Icon + } +} diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLastMessageView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLastMessageView.swift new file mode 100644 index 0000000000..53564384fb --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLastMessageView.swift @@ -0,0 +1,47 @@ +import SwiftUI + +struct SpaceCardLastMessageView: View { + + let model: SpaceCardLastMessageModel + + var body: some View { + if model.text.isNotEmpty { + // Do not show attachements due to SwiftUI limitations: + // Can not fit attachements in between two lines of text with proper multiline behaviour + messageWithoutAttachements + } else if model.attachments.isNotEmpty { + // Show attachements and 1 line of text + messageWithAttachements + } else { + Text(model.creatorTitle ?? Loc.Chat.newMessages) + .anytypeStyle(.uxTitle2Medium).lineLimit(1) + } + } + + private var messageWithoutAttachements: some View { + Group { + if let creatorTitle = model.creatorTitle { + Text(creatorTitle + ": ").anytypeFontStyle(.uxTitle2Medium) + + Text(model.text).anytypeFontStyle(.uxTitle2Regular) + } else { + Text(model.text).anytypeFontStyle(.uxTitle2Regular) + } + }.lineLimit(2).anytypeLineHeightStyle(.uxTitle2Regular) + } + + private var messageWithAttachements: some View { + HStack(spacing: 2) { + if let creatorTitle = model.creatorTitle { + Text(creatorTitle + ":").anytypeStyle(.uxTitle2Medium).lineLimit(1) + Spacer.fixedWidth(4) + } + + ForEach(model.attachments) { + IconView(icon: $0.icon).frame(width: 18, height: 18) + } + + Spacer.fixedWidth(4) + Text(model.localizedAttachmentsText).anytypeStyle(.uxTitle2Regular).lineLimit(1) + } + } +} diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift new file mode 100644 index 0000000000..266ab806c9 --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift @@ -0,0 +1,24 @@ +import Services +import AnytypeCore + +struct SpaceCardModel: Equatable, Identifiable { + let spaceViewId: String + let targetSpaceId: String + let objectIconImage: Icon + let name: String + let isPinned: Bool + let isLoading: Bool + let isShared: Bool + let isMuted: Bool + let uxTypeName: String + let allNotificationsUnmuted: Bool + + let lastMessage: SpaceCardLastMessageModel? + let unreadCounter: Int + let mentionCounter: Int + let hasCounters: Bool + + let wallpaper: SpaceWallpaperType + + var id: String { spaceViewId } +} diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift new file mode 100644 index 0000000000..6165b73bdf --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift @@ -0,0 +1,77 @@ +import Services +import AnytypeCore +import Factory + +protocol SpaceCardModelBuilderProtocol: AnyObject, Sendable { + func build( + from spaces: [ParticipantSpaceViewDataWithPreview], + wallpapers: [String: SpaceWallpaperType] + ) async -> [SpaceCardModel] +} + +final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { + + private let historyDateFormatter = HistoryDateFormatter() + private let chatPreviewDateFormatter = ChatPreviewDateFormatter() + + func build( + from spaces: [ParticipantSpaceViewDataWithPreview], + wallpapers: [String: SpaceWallpaperType] + ) async -> [SpaceCardModel] { + await Task.detached { + spaces.map { spaceData in + self.buildModel(from: spaceData, wallpapers: wallpapers) + } + }.value + } + + private func buildModel( + from spaceData: ParticipantSpaceViewDataWithPreview, + wallpapers: [String: SpaceWallpaperType] + ) -> SpaceCardModel { + let spaceView = spaceData.spaceView + let preview = spaceData.preview + + let lastMessage = preview.lastMessage.map { lastMessagePreview in + let attachments = lastMessagePreview.attachments.prefix(3).map { objectDetails in + SpaceCardLastMessageModel.Attachment( + id: objectDetails.id, + icon: objectDetails.objectIconImage + ) + } + + return SpaceCardLastMessageModel( + creatorTitle: lastMessagePreview.creator?.title, + text: lastMessagePreview.text, + attachments: Array(attachments), + localizedAttachmentsText: lastMessagePreview.localizedAttachmentsText, + historyDate: historyDateFormatter.localizedDateString(for: lastMessagePreview.createdAt, showTodayTime: true), + chatPreviewDate: chatPreviewDateFormatter.localizedDateString(for: lastMessagePreview.createdAt, showTodayTime: true) + ) + } + + return SpaceCardModel( + spaceViewId: spaceView.id, + targetSpaceId: spaceView.targetSpaceId, + objectIconImage: spaceView.objectIconImage, + name: spaceView.name, + isPinned: spaceView.isPinned, + isLoading: spaceView.isLoading, + isShared: spaceView.isShared, + isMuted: FeatureFlags.muteSpacePossibility && !spaceView.pushNotificationMode.isUnmutedAll, + uxTypeName: spaceView.uxType.name, + allNotificationsUnmuted: spaceView.pushNotificationMode.isUnmutedAll, + lastMessage: lastMessage, + unreadCounter: preview.unreadCounter, + mentionCounter: preview.mentionCounter, + hasCounters: preview.hasCounters, + wallpaper: wallpapers[spaceView.targetSpaceId] ?? .default + ) + } +} + +extension Container { + var spaceCardModelBuilder: Factory< any SpaceCardModelBuilderProtocol> { + self { SpaceCardModelBuilder() }.shared + } +} diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCardLabel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCardLabel.swift deleted file mode 100644 index fa0f4c83a0..0000000000 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCardLabel.swift +++ /dev/null @@ -1,155 +0,0 @@ -import SwiftUI -import AnytypeCore - -// SpaceCardLabel and SpaceCard are splitted for better SwiftUI diff. -struct SpaceCardLabel: View { - - let spaceData: ParticipantSpaceViewDataWithPreview - let wallpaper: SpaceWallpaperType - private let dateFormatter = HistoryDateFormatter() - @Binding var draggedSpace: ParticipantSpaceViewDataWithPreview? - - @Namespace private var namespace - - var body: some View { - HStack(alignment: .center, spacing: 12) { - IconView(icon: spaceData.spaceView.objectIconImage) - .frame(width: 56, height: 56) - VStack(alignment: .leading, spacing: 0) { - HStack { - Text(spaceData.spaceView.name.withPlaceholder) - .anytypeFontStyle(.bodySemibold) - .lineLimit(1) - .foregroundStyle(Color.Text.primary) - if isMuted { - Spacer.fixedWidth(8) - Image(asset: .X18.muted).foregroundColor(.Control.secondary) - } - Spacer(minLength: 8) - createdDate - } - HStack { - info - Spacer() - unreadCounters - pin - } - Spacer(minLength: 1) - } - // Fixing the animation when the cell is moved and updated inside - // Optimization - create a data model for SpaceCard and map to in in SpaceHubViewModel on background thread - .id(spaceData.hashValue) - .matchedGeometryEffect(id: "content", in: namespace, properties: .position, anchor: .topLeading) - } - .padding(.horizontal, 16) - .padding(.vertical, 8) - // Optimization for fast sizeThatFits - .frame(height: 80) - .background(Color.Background.primary) - .contentShape([.dragPreview, .contextMenuPreview], RoundedRectangle(cornerRadius: 20, style: .continuous)) - - .if(spaceData.spaceView.isPinned) { - $0.onDrag { - draggedSpace = spaceData - return NSItemProvider() - } preview: { - EmptyView() - } - } - } - - private var info: some View { - Group { - if let lastMessage = spaceData.preview.lastMessage { - lastMessagePreview(lastMessage) - } else { - Text(spaceData.spaceView.uxType.name) - .anytypeStyle(.uxTitle2Regular) - .lineLimit(1) - } - } - .foregroundStyle(Color.Text.secondary) - .multilineTextAlignment(.leading) - } - - @ViewBuilder - func lastMessagePreview(_ message: LastMessagePreview) -> some View { - Group { - if message.text.isNotEmpty { - // Do not show attachements due to SwiftUI limitations: - // Can not fit attachements in between two lines of text with proper multiline behaviour - messageWithoutAttachements(message) - } else if message.attachments.isNotEmpty { - // Show attachements and 1 line of text - messageWithAttachements(message) - } else { - Text(message.creator?.title ?? Loc.Chat.newMessages) - .anytypeStyle(.uxTitle2Medium).lineLimit(1) - } - } - } - - func messageWithoutAttachements(_ message: LastMessagePreview) -> some View { - Group { - if let creator = message.creator { - Text(creator.title + ": ").anytypeFontStyle(.uxTitle2Medium) + - Text(message.text).anytypeFontStyle(.uxTitle2Regular) - } else { - Text(message.text).anytypeFontStyle(.uxTitle2Regular) - } - }.lineLimit(2).anytypeLineHeightStyle(.uxTitle2Regular) - } - - @ViewBuilder - func messageWithAttachements(_ message: LastMessagePreview) -> some View { - HStack(spacing: 2) { - if let creator = message.creator { - Text(creator.title + ":").anytypeStyle(.uxTitle2Medium).lineLimit(1) - Spacer.fixedWidth(4) - } - - ForEach(message.attachments.prefix(3)) { - IconView(icon: $0.objectIconImage).frame(width: 18, height: 18) - } - - Spacer.fixedWidth(4) - Text(message.localizedAttachmentsText).anytypeStyle(.uxTitle2Regular).lineLimit(1) - } - } - - @ViewBuilder - private var createdDate: some View { - if let lastMessage = spaceData.preview.lastMessage { - Text(dateFormatter.localizedDateString(for: lastMessage.createdAt, showTodayTime: true)) - .anytypeStyle(.relation2Regular) - .foregroundStyle(Color.Control.transparentSecondary) - } - } - - private var unreadCounters: some View { - HStack(spacing: 4) { - if spaceData.preview.mentionCounter > 0 { - MentionBadge(style: isMuted ? .muted : .highlighted) - } - if spaceData.preview.unreadCounter > 0 { - CounterView( - count: spaceData.preview.unreadCounter, - style: isMuted ? .muted : .highlighted - ) - } - } - } - - @ViewBuilder - private var pin: some View { - if !spaceData.preview.hasCounters && spaceData.spaceView.isPinned { - Image(asset: .X18.pin) - .foregroundStyle(Color.Control.secondary) - .frame(width: 18, height: 18) - } - } - - private var isMuted: Bool { - FeatureFlags.muteSpacePossibility && !spaceData.spaceView.pushNotificationMode.isUnmutedAll - } -} diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift index 9a2b68b927..cfdbf07fa8 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift @@ -5,17 +5,11 @@ struct SpaceHubList: View { @Bindable var model: SpaceHubViewModel - @State private var draggedSpace: ParticipantSpaceViewDataWithPreview? + @State private var draggedSpaceViewId: String? @State private var draggedInitialIndex: Int? @State private var vaultBackToRootsToggle = FeatureFlags.vaultBackToRoots var body: some View { - let _ = Self._printChanges() - return content - } - - @ViewBuilder - private var content: some View { if model.filteredSpaces.isEmpty && model.searchText.isEmpty { emptyStateView } else if model.filteredSpaces.isNotEmpty { @@ -46,45 +40,45 @@ struct SpaceHubList: View { } } - private func spaceCard(_ space: ParticipantSpaceViewDataWithPreview) -> some View { + @ViewBuilder + private func spaceCard(_ cardModel: SpaceCardModel) -> some View { SpaceCard( - spaceData: space, - wallpaper: model.wallpapers[space.spaceView.targetSpaceId] ?? .default, - draggedSpace: $draggedSpace, + model: cardModel, + draggedSpaceViewId: $draggedSpaceViewId, onTap: { - model.onSpaceTap(spaceId: space.spaceView.targetSpaceId) + model.onSpaceTap(spaceId: cardModel.targetSpaceId) }, onTapCopy: { - model.copySpaceInfo(spaceView: space.spaceView) + model.copySpaceInfo(spaceViewId: cardModel.spaceViewId) }, onTapMute: { - model.muteSpace(spaceView: space.spaceView) + model.muteSpace(spaceViewId: cardModel.spaceViewId) }, onTapPin: { - try await model.pin(spaceView: space.spaceView) + try await model.pin(spaceViewId: cardModel.spaceViewId) }, onTapUnpin: { - try await model.unpin(spaceView: space.spaceView) + try await model.unpin(spaceViewId: cardModel.spaceViewId) }, onTapSettings: { - model.openSpaceSettings(spaceId: space.spaceView.targetSpaceId) + model.openSpaceSettings(spaceId: cardModel.targetSpaceId) }, onTapDelete: { - model.onDeleteSpace(spaceId: space.spaceView.targetSpaceId) + model.onDeleteSpace(spaceId: cardModel.targetSpaceId) } ) - .equatable() .padding(.horizontal, vaultBackToRootsToggle ? 16 : 0) - .if(space.spaceView.isPinned) { + .if(cardModel.isPinned) { $0.onDrop( of: [.text], - delegate: SpaceHubDropDelegate( - destinationItem: space, + delegate: SpaceHubDropDelegate( + destinationSpaceViewId: cardModel.spaceViewId, allSpaces: $model.spaces, - draggedItem: $draggedSpace, + draggedSpaceViewId: $draggedSpaceViewId, initialIndex: $draggedInitialIndex ) ) } + .id(cardModel.id) } } From 8e14fc8c7d45ea71bc270120e7932f21e63cedba Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Thu, 30 Oct 2025 15:30:16 +0300 Subject: [PATCH 086/228] IOS-5387 Rollback --- .../SpaceHub/SpaceHubCoordinatorView.swift | 172 +++++++++--------- 1 file changed, 86 insertions(+), 86 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift index c3b277cfd1..e64d9fad43 100644 --- a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift +++ b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift @@ -27,92 +27,92 @@ struct SpaceHubCoordinatorView: View { .updateShortcuts(spaceId: model.fallbackSpaceId) .snackbar(toastBarData: $model.toastBarData) -// .sheet(item: $model.showGalleryImport) { data in -// GalleryInstallationCoordinatorView(data: data) -// } -// .sheet(isPresented: $model.showSpaceManager) { -// SpacesManagerView() -// } -// .sheet(item: $model.membershipTierId) { tierId in -// MembershipCoordinator(initialTierId: tierId.value) -// } -// .sheet(item: $model.membershipNameFinalizationData) { -// MembershipNameFinalizationView(tier: $0) -// } -// .sheet(item: $model.showGlobalSearchData) { -// GlobalSearchView(data: $0) -// } -// .sheet(item: $model.typeSearchForObjectCreationSpaceId) { -// model.typeSearchForObjectCreationModule(spaceId: $0.value) -// } -// .anytypeSheet(item: $model.spaceJoinData) { -// SpaceJoinView(data: $0, onManageSpaces: { -// model.onManageSpacesSelected() -// }) -// } -// .anytypeSheet(item: $model.userWarningAlert, dismissOnBackgroundView: false) { -// UserWarningAlertCoordinatorView(alert: $0) -// } -// .anytypeSheet(isPresented: $model.showObjectIsNotAvailableAlert) { -// ObjectIsNotAvailableAlert() -// } -// .sheet(item: $model.showSpaceShareData) { -// SpaceShareCoordinatorView(data: $0) -// .pageNavigation(model.pageNavigation) -// } -// .sheet(item: $model.showSpaceMembersData) { -// SpaceMembersView(data: $0) -// .pageNavigation(model.pageNavigation) -// } -// .anytypeSheet(item: $model.profileData) { -// ProfileView(info: $0) -// .pageNavigation(model.pageNavigation) -// } -// .anytypeSheet(item: $model.spaceProfileData) { -// SpaceProfileView(info: $0) -// } -// .safariBookmarkObject($model.bookmarkScreenData) { -// model.onOpenBookmarkAsObject($0) -// } -// .sheet(item: $model.spaceCreateData) { -// SpaceCreateCoordinatorView(data: $0) -// } -// .sheet(isPresented: $model.showSpaceTypeForCreate) { -// SpaceCreateTypePickerView(onSelectSpaceType: { type in -// model.onSpaceTypeSelected(type) -// }, onSelectQrCodeScan: { -// model.onSelectQrCodeScan() -// }) -// .navigationZoomTransition(sourceID: "SpaceCreateTypePickerView", in: namespace) -// } -// .qrCodeScanner(shouldScan: $model.shouldScanQrCode) -// .sheet(isPresented: $model.showSharingExtension) { -// SharingExtensionCoordinatorView() -// } -// .sheet(isPresented: $model.showAppSettings) { -// SettingsCoordinatorView() -// .pageNavigation(model.pageNavigation) -// } -// -// // load photos -// .photosPicker(isPresented: $model.showPhotosPicker, selection: $model.photosItems) -// .onChange(of: model.photosItems) { -// model.photosPickerFinished() -// } -// -// // load from camera -// .cameraAccessFullScreenCover(item: $model.cameraData) { -// SimpleCameraView(data: $0) -// } -// -// // load files -// .fileImporter( -// isPresented: $model.showFilesPicker, -// allowedContentTypes: [.data], -// allowsMultipleSelection: true -// ) { result in -// model.fileImporterFinished(result: result) -// } + .sheet(item: $model.showGalleryImport) { data in + GalleryInstallationCoordinatorView(data: data) + } + .sheet(isPresented: $model.showSpaceManager) { + SpacesManagerView() + } + .sheet(item: $model.membershipTierId) { tierId in + MembershipCoordinator(initialTierId: tierId.value) + } + .sheet(item: $model.membershipNameFinalizationData) { + MembershipNameFinalizationView(tier: $0) + } + .sheet(item: $model.showGlobalSearchData) { + GlobalSearchView(data: $0) + } + .sheet(item: $model.typeSearchForObjectCreationSpaceId) { + model.typeSearchForObjectCreationModule(spaceId: $0.value) + } + .anytypeSheet(item: $model.spaceJoinData) { + SpaceJoinView(data: $0, onManageSpaces: { + model.onManageSpacesSelected() + }) + } + .anytypeSheet(item: $model.userWarningAlert, dismissOnBackgroundView: false) { + UserWarningAlertCoordinatorView(alert: $0) + } + .anytypeSheet(isPresented: $model.showObjectIsNotAvailableAlert) { + ObjectIsNotAvailableAlert() + } + .sheet(item: $model.showSpaceShareData) { + SpaceShareCoordinatorView(data: $0) + .pageNavigation(model.pageNavigation) + } + .sheet(item: $model.showSpaceMembersData) { + SpaceMembersView(data: $0) + .pageNavigation(model.pageNavigation) + } + .anytypeSheet(item: $model.profileData) { + ProfileView(info: $0) + .pageNavigation(model.pageNavigation) + } + .anytypeSheet(item: $model.spaceProfileData) { + SpaceProfileView(info: $0) + } + .safariBookmarkObject($model.bookmarkScreenData) { + model.onOpenBookmarkAsObject($0) + } + .sheet(item: $model.spaceCreateData) { + SpaceCreateCoordinatorView(data: $0) + } + .sheet(isPresented: $model.showSpaceTypeForCreate) { + SpaceCreateTypePickerView(onSelectSpaceType: { type in + model.onSpaceTypeSelected(type) + }, onSelectQrCodeScan: { + model.onSelectQrCodeScan() + }) + .navigationZoomTransition(sourceID: "SpaceCreateTypePickerView", in: namespace) + } + .qrCodeScanner(shouldScan: $model.shouldScanQrCode) + .sheet(isPresented: $model.showSharingExtension) { + SharingExtensionCoordinatorView() + } + .sheet(isPresented: $model.showAppSettings) { + SettingsCoordinatorView() + .pageNavigation(model.pageNavigation) + } + + // load photos + .photosPicker(isPresented: $model.showPhotosPicker, selection: $model.photosItems) + .onChange(of: model.photosItems) { + model.photosPickerFinished() + } + + // load from camera + .cameraAccessFullScreenCover(item: $model.cameraData) { + SimpleCameraView(data: $0) + } + + // load files + .fileImporter( + isPresented: $model.showFilesPicker, + allowedContentTypes: [.data], + allowsMultipleSelection: true + ) { result in + model.fileImporterFinished(result: result) + } } private var content: some View { From 096385fe8d4b2b22e948be9442637da4f650346e Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Thu, 30 Oct 2025 16:31:55 +0300 Subject: [PATCH 087/228] IOS-5387 Fixes --- .../Modules/SpaceHub/SpaceHubViewModel.swift | 38 +++++++++---------- 1 file changed, 19 insertions(+), 19 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift index 42d769ea83..8785caeef9 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift @@ -124,16 +124,18 @@ final class SpaceHubViewModel { } func searchTextUpdated() { - updateFilteredSpaces() + Task { + await updateFilteredSpaces() + } } // MARK: - Private private func subscribeOnSpaces() async { for await spaces in await spaceHubSpacesStorage.spacesStream { self.spaces = spaces.sorted(by: sortSpacesForPinnedFeature) - self.dataLoaded = spaces.isNotEmpty showLoading = spaces.contains { $0.spaceView.isLoading } - updateFilteredSpaces() + await updateFilteredSpaces() + self.dataLoaded = spaces.isNotEmpty } } @@ -212,23 +214,21 @@ final class SpaceHubViewModel { } } - private func updateFilteredSpaces() { - Task { - guard let spaces else { - filteredSpaces = [] - return - } - - let spacesToFilter: [ParticipantSpaceViewDataWithPreview] - if searchText.isEmpty { - spacesToFilter = spaces - } else { - spacesToFilter = spaces.filter { space in - space.spaceView.name.localizedCaseInsensitiveContains(searchText) - } + private func updateFilteredSpaces() async { + guard let spaces else { + filteredSpaces = [] + return + } + + let spacesToFilter: [ParticipantSpaceViewDataWithPreview] + if searchText.isEmpty { + spacesToFilter = spaces + } else { + spacesToFilter = spaces.filter { space in + space.spaceView.name.localizedCaseInsensitiveContains(searchText) } - - self.filteredSpaces = await spaceCardModelBuilder.build(from: spacesToFilter, wallpapers: wallpapers) } + + self.filteredSpaces = await spaceCardModelBuilder.build(from: spacesToFilter, wallpapers: wallpapers) } } From 19d389ecab7f3152815769c8096d67e151d38d4a Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 30 Oct 2025 13:49:07 +0000 Subject: [PATCH 088/228] IOS-5255 Migrate object settings menu to Observation framework Replaced Combine publishers with withObservationTracking for manual observation of nested @Observable objects. Changes include: - Removed Combine dependency and cancellables - Updated @StateObject to @State in views - Converted @Published properties to regular properties - Added @ObservationIgnored to injected dependencies and non-observed properties - Implemented manual observation pattern using withObservationTracking for settings and actions --- .../ObjectActions/ObjectActionsView.swift | 8 ++-- .../ObjectActionsViewModel.swift | 42 +++++++++++-------- .../ObjectSettings/ObjectSettingsView.swift | 8 ++-- .../ObjectSettingsViewModel.swift | 25 ++++++----- .../ObjectSettingsMenuView.swift | 4 +- .../ObjectSettingsMenuViewModel.swift | 34 ++++++++++----- 6 files changed, 73 insertions(+), 48 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsView.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsView.swift index c274baf275..dbc7c7aef1 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsView.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsView.swift @@ -2,12 +2,12 @@ import SwiftUI import AnytypeCore struct ObjectActionsView: View { - - @StateObject private var viewModel: ObjectActionsViewModel + + @State private var viewModel: ObjectActionsViewModel @Environment(\.dismiss) private var dismiss - + init(objectId: String, spaceId: String, output: (any ObjectActionsOutput)?) { - self._viewModel = StateObject(wrappedValue: ObjectActionsViewModel(objectId: objectId, spaceId: spaceId, output: output)) + self._viewModel = State(wrappedValue: ObjectActionsViewModel(objectId: objectId, spaceId: spaceId, output: output)) } var body: some View { diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift index 59da81a05e..305eaf0fff 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift @@ -6,16 +6,22 @@ import UIKit import DeepLinks @MainActor -final class ObjectActionsViewModel: ObservableObject { +@Observable +final class ObjectActionsViewModel { + @ObservationIgnored private let objectId: String + @ObservationIgnored private let spaceId: String + @ObservationIgnored private weak var output: (any ObjectActionsOutput)? - + + @ObservationIgnored private lazy var document: any BaseDocumentProtocol = { openDocumentsProvider.document(objectId: objectId, spaceId: spaceId) }() - + + @ObservationIgnored private lazy var widgetObject: (any BaseDocumentProtocol)? = { guard let info = workspaceStorage.spaceInfo(spaceId: spaceId) else { anytypeAssertionFailure("info not found") @@ -23,31 +29,31 @@ final class ObjectActionsViewModel: ObservableObject { } return openDocumentsProvider.document(objectId: info.widgetsId, spaceId: spaceId) }() - - @Injected(\.objectActionsService) + + @Injected(\.objectActionsService) @ObservationIgnored private var service: any ObjectActionsServiceProtocol - @Injected(\.blockService) + @Injected(\.blockService) @ObservationIgnored private var blockService: any BlockServiceProtocol - @Injected(\.templatesService) + @Injected(\.templatesService) @ObservationIgnored private var templatesService: any TemplatesServiceProtocol - @Injected(\.documentsProvider) + @Injected(\.documentsProvider) @ObservationIgnored private var documentsProvider: any DocumentsProviderProtocol - @Injected(\.blockWidgetService) + @Injected(\.blockWidgetService) @ObservationIgnored private var blockWidgetService: any BlockWidgetServiceProtocol - @Injected(\.spaceViewsStorage) + @Injected(\.spaceViewsStorage) @ObservationIgnored private var workspaceStorage: any SpaceViewsStorageProtocol - @Injected(\.deepLinkParser) + @Injected(\.deepLinkParser) @ObservationIgnored private var deepLinkParser: any DeepLinkParserProtocol - @Injected(\.universalLinkParser) + @Injected(\.universalLinkParser) @ObservationIgnored private var universalLinkParser: any UniversalLinkParserProtocol - @Injected(\.openedDocumentProvider) + @Injected(\.openedDocumentProvider) @ObservationIgnored private var openDocumentsProvider: any OpenedDocumentsProviderProtocol - @Injected(\.workspaceService) + @Injected(\.workspaceService) @ObservationIgnored private var workspaceService: any WorkspaceServiceProtocol - - @Published var objectActions: [ObjectAction] = [] - @Published var toastData: ToastBarData? - @Published var dismiss = false + + var objectActions: [ObjectAction] = [] + var toastData: ToastBarData? + var dismiss = false init(objectId: String, spaceId: String, output: (any ObjectActionsOutput)?) { self.objectId = objectId diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/ObjectSettingsView.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/ObjectSettingsView.swift index 2584c9a502..061de8b8a7 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/ObjectSettingsView.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/ObjectSettingsView.swift @@ -3,15 +3,15 @@ import Services import AnytypeCore struct ObjectSettingsView: View { - - @StateObject private var viewModel: ObjectSettingsViewModel - + + @State private var viewModel: ObjectSettingsViewModel + init( objectId: String, spaceId: String, output: some ObjectSettingsModelOutput ) { - self._viewModel = StateObject(wrappedValue: ObjectSettingsViewModel(objectId: objectId, spaceId: spaceId, output: output)) + self._viewModel = State(wrappedValue: ObjectSettingsViewModel(objectId: objectId, spaceId: spaceId, output: output)) } var body: some View { diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/ObjectSettingsViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/ObjectSettingsViewModel.swift index 5b5a476431..23fcfa9e3f 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/ObjectSettingsViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/ObjectSettingsViewModel.swift @@ -26,27 +26,32 @@ protocol ObjectSettingsModelOutput: AnyObject, ObjectHeaderRouterProtocol, Objec } @MainActor -final class ObjectSettingsViewModel: ObservableObject, ObjectActionsOutput { +@Observable +final class ObjectSettingsViewModel: ObjectActionsOutput { - @Injected(\.openedDocumentProvider) + @Injected(\.openedDocumentProvider) @ObservationIgnored private var openDocumentsProvider: any OpenedDocumentsProviderProtocol - @Injected(\.propertiesService) + @Injected(\.propertiesService) @ObservationIgnored private var propertiesService: any PropertiesServiceProtocol - @Injected(\.objectSettingsBuilder) + @Injected(\.objectSettingsBuilder) @ObservationIgnored private var settingsBuilder: any ObjectSettingsBuilderProtocol - @Injected(\.objectSettingsConflictManager) + @Injected(\.objectSettingsConflictManager) @ObservationIgnored private var conflictManager: any ObjectSettingsPrimitivesConflictManagerProtocol - + + @ObservationIgnored private weak var output: (any ObjectSettingsModelOutput)? - + + @ObservationIgnored private lazy var document: any BaseDocumentProtocol = { openDocumentsProvider.document(objectId: objectId, spaceId: spaceId) }() - + + @ObservationIgnored let objectId: String + @ObservationIgnored let spaceId: String - @Published var settings: [ObjectSetting] = [] - @Published var showConflictAlert = false + var settings: [ObjectSetting] = [] + var showConflictAlert = false init( objectId: String, diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuView.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuView.swift index d921920b18..febf22d49b 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuView.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuView.swift @@ -3,7 +3,7 @@ import AnytypeCore struct ObjectSettingsMenuView: View { - @StateObject private var viewModel: ObjectSettingsMenuViewModel + @State private var viewModel: ObjectSettingsMenuViewModel init( objectId: String, @@ -12,7 +12,7 @@ struct ObjectSettingsMenuView: View { ) { let settingsVM = ObjectSettingsViewModel(objectId: objectId, spaceId: spaceId, output: output) let actionsVM = ObjectActionsViewModel(objectId: objectId, spaceId: spaceId, output: settingsVM) - self._viewModel = StateObject(wrappedValue: ObjectSettingsMenuViewModel(settingsViewModel: settingsVM, actionsViewModel: actionsVM)) + self._viewModel = State(wrappedValue: ObjectSettingsMenuViewModel(settingsViewModel: settingsVM, actionsViewModel: actionsVM)) } var body: some View { diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuViewModel.swift index 60799451ec..f70385b4dd 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettingsMenu/ObjectSettingsMenuViewModel.swift @@ -1,15 +1,16 @@ import Foundation -import Combine import SwiftUI @MainActor -final class ObjectSettingsMenuViewModel: ObservableObject { +@Observable +final class ObjectSettingsMenuViewModel { - @Published var menuConfig = ObjectMenuConfiguration(sections: []) + var menuConfig = ObjectMenuConfiguration(sections: []) + @ObservationIgnored let settingsViewModel: ObjectSettingsViewModel + @ObservationIgnored let actionsViewModel: ObjectActionsViewModel - private var cancellables = Set() var showConflictAlert: Binding { Binding( @@ -42,17 +43,30 @@ final class ObjectSettingsMenuViewModel: ObservableObject { } private func setupSubscriptions() { - settingsViewModel.$settings - .sink { [weak self] _ in + observeSettings() + observeActions() + } + + private func observeSettings() { + withObservationTracking { + _ = settingsViewModel.settings + } onChange: { [weak self] in + Task { @MainActor [weak self] in self?.rebuildMenu() + self?.observeSettings() } - .store(in: &cancellables) + } + } - actionsViewModel.$objectActions - .sink { [weak self] _ in + private func observeActions() { + withObservationTracking { + _ = actionsViewModel.objectActions + } onChange: { [weak self] in + Task { @MainActor [weak self] in self?.rebuildMenu() + self?.observeActions() } - .store(in: &cancellables) + } } private func rebuildMenu() { From e3366418fe0e1e765f2016f232f6f961a63f219c Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 30 Oct 2025 13:54:36 +0000 Subject: [PATCH 089/228] IOS-5255 Remove unused Combine imports --- .../Views/Settings/ObjectActions/ObjectActionsViewModel.swift | 1 - .../Views/Settings/ObjectSettings/ObjectSettingsViewModel.swift | 1 - 2 files changed, 2 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift index 305eaf0fff..5727c2f7bc 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift @@ -1,5 +1,4 @@ import Foundation -import Combine import Services import AnytypeCore import UIKit diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/ObjectSettingsViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/ObjectSettingsViewModel.swift index 23fcfa9e3f..ab5edc87a6 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/ObjectSettingsViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectSettings/ObjectSettingsViewModel.swift @@ -1,5 +1,4 @@ import Foundation -import Combine import Services import UIKit import FloatingPanel From c0a43089559c1c7824ff31196704a904e7196d56 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 30 Oct 2025 13:57:45 +0000 Subject: [PATCH 090/228] IOS-5255 Add toast notifications for pin/unpin actions --- .../ObjectActions/ObjectActionsViewModel.swift | 1 + Modules/Loc/Sources/Loc/Generated/Strings.swift | 1 + Modules/Loc/Sources/Loc/Resources/UI.xcstrings | 11 +++++++++++ 3 files changed, 13 insertions(+) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift index 5727c2f7bc..8b7ec20843 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift @@ -115,6 +115,7 @@ final class ObjectActionsViewModel { position: first.map { .above(widgetId: $0.id) } ?? .end ) } + toastData = ToastBarData(pinned ? Loc.unpinned : Loc.pinned) dismiss.toggle() } diff --git a/Modules/Loc/Sources/Loc/Generated/Strings.swift b/Modules/Loc/Sources/Loc/Generated/Strings.swift index 5103b0a5db..03070ffa4c 100644 --- a/Modules/Loc/Sources/Loc/Generated/Strings.swift +++ b/Modules/Loc/Sources/Loc/Generated/Strings.swift @@ -635,6 +635,7 @@ public enum Loc { public static let unlocked = Loc.tr("UI", "Unlocked", fallback: "Unlocked") public static let unmute = Loc.tr("UI", "Unmute", fallback: "Unmute") public static let unpin = Loc.tr("UI", "Unpin", fallback: "Unpin") + public static let unpinned = Loc.tr("UI", "Unpinned", fallback: "Unpinned") public static let unpublish = Loc.tr("UI", "Unpublish", fallback: "Unpublish") public static let unread = Loc.tr("UI", "Unread", fallback: "Unread") public static let unselectAll = Loc.tr("UI", "Unselect all", fallback: "Unselect all") diff --git a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings index bdfc09f64d..e1f0e09b03 100644 --- a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings @@ -69146,6 +69146,17 @@ } } }, + "Unpinned" : { + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unpinned" + } + } + } + }, "Preferences" : { "extractionState" : "manual", "localizations" : { From 99c3649e183cb2973c79b11422ee689c55faba63 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Thu, 30 Oct 2025 17:11:40 +0300 Subject: [PATCH 091/228] IOS-5387 Fix dnd --- .../Modules/SpaceHub/SpaceHubView.swift | 23 ++--- .../Subviews/SpaceCard/SpaceCardLabel.swift | 13 +-- .../SpaceHub/Subviews/SpaceHubList.swift | 19 ++-- .../SystemExtensions/View+DragDrop.swift | 91 +++++++++++++++++++ 4 files changed, 112 insertions(+), 34 deletions(-) create mode 100644 Modules/DesignKit/Sources/DesignKit/SystemExtensions/View+DragDrop.swift diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift index 4ebf434500..d503da8ec1 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift @@ -45,22 +45,13 @@ struct SpaceHubView: View { private func spacesView() -> some View { NavigationStack { SpaceHubList(model: model) -// Group { -// if model.filteredSpaces.isEmpty && model.searchText.isEmpty { -// emptyStateView -// } else if model.filteredSpaces.isNotEmpty { -// scrollView -// } else { -// SpaceHubSearchEmptySpaceView() -// } -// } - .navigationTitle(Loc.myChannels) - .navigationBarTitleDisplayMode(.inline) - .toolbar { toolbarItems } - .searchable(text: $model.searchText) - .onChange(of: model.searchText) { - model.searchTextUpdated() - } + .navigationTitle(Loc.myChannels) + .navigationBarTitleDisplayMode(.inline) + .toolbar { toolbarItems } + .searchable(text: $model.searchText) + .onChange(of: model.searchText) { + model.searchTextUpdated() + } }.tint(Color.Text.secondary) } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLabel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLabel.swift index 1f78b24d60..a65ef7b915 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLabel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLabel.swift @@ -42,14 +42,11 @@ struct SpaceCardLabel: View { .frame(height: 80) .background(Color.Background.primary) .contentShape([.dragPreview, .contextMenuPreview], RoundedRectangle(cornerRadius: 20, style: .continuous)) - - .if(model.isPinned) { - $0.onDrag { - draggedSpaceViewId = model.spaceViewId - return NSItemProvider() - } preview: { - EmptyView() - } + .onDragIf(model.isPinned) { + draggedSpaceViewId = model.spaceViewId + return NSItemProvider() + } preview: { + EmptyView() } } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift index cfdbf07fa8..f13a4d60e7 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift @@ -68,17 +68,16 @@ struct SpaceHubList: View { } ) .padding(.horizontal, vaultBackToRootsToggle ? 16 : 0) - .if(cardModel.isPinned) { - $0.onDrop( - of: [.text], - delegate: SpaceHubDropDelegate( - destinationSpaceViewId: cardModel.spaceViewId, - allSpaces: $model.spaces, - draggedSpaceViewId: $draggedSpaceViewId, - initialIndex: $draggedInitialIndex - ) + .onDropIf( + cardModel.isPinned, + of: [.text], + delegate: SpaceHubDropDelegate( + destinationSpaceViewId: cardModel.spaceViewId, + allSpaces: $model.spaces, + draggedSpaceViewId: $draggedSpaceViewId, + initialIndex: $draggedInitialIndex ) - } + ) .id(cardModel.id) } } diff --git a/Modules/DesignKit/Sources/DesignKit/SystemExtensions/View+DragDrop.swift b/Modules/DesignKit/Sources/DesignKit/SystemExtensions/View+DragDrop.swift new file mode 100644 index 0000000000..247c63e2f2 --- /dev/null +++ b/Modules/DesignKit/Sources/DesignKit/SystemExtensions/View+DragDrop.swift @@ -0,0 +1,91 @@ +import SwiftUI +import UniformTypeIdentifiers + +public extension View { + + func onDragIf( + _ condition: Bool, + data: @escaping () -> NSItemProvider + ) -> some View { + modifier(ConditionalDragModifier(condition: condition, data: data)) + } + + func onDragIf( + _ condition: Bool, + data: @escaping () -> NSItemProvider, + @ViewBuilder preview: @escaping () -> V + ) -> some View where V: View { + modifier(ConditionalDragWithPreviewModifier(condition: condition, data: data, preview: preview)) + } + + func onDropIf( + _ condition: Bool, + of supportedContentTypes: [UTType], + delegate: any DropDelegate + ) -> some View { + modifier( + ConditionalDropModifier( + condition: condition, + supportedContentTypes: supportedContentTypes, + delegate: delegate + ) + ) + } +} + +private struct ConditionalDragModifier: ViewModifier { + let condition: Bool + let data: () -> NSItemProvider + + @Namespace private var namespace + + func body(content: Content) -> some View { + if condition { + content + .onDrag(data) + .matchedGeometryEffect(id: "content", in: namespace) + } else { + content + .matchedGeometryEffect(id: "content", in: namespace) + } + } +} + +private struct ConditionalDragWithPreviewModifier: ViewModifier { + + let condition: Bool + let data: () -> NSItemProvider + let preview: () -> Preview + + @Namespace private var namespace + + func body(content: Content) -> some View { + if condition { + content + .onDrag(data, preview: preview) + .matchedGeometryEffect(id: "content", in: namespace) + } else { + content + .matchedGeometryEffect(id: "content", in: namespace) + } + } +} + +private struct ConditionalDropModifier: ViewModifier { + let condition: Bool + let supportedContentTypes: [UTType] + let delegate: any DropDelegate + + @Namespace private var namespace + + func body(content: Content) -> some View { + if condition { + content + .onDrop(of: supportedContentTypes, delegate: delegate) + .matchedGeometryEffect(id: "content", in: namespace) + } else { + content + .matchedGeometryEffect(id: "content", in: namespace) + } + } +} From f44fa771aacf28c5e0784d28cb9a4ad591c290d7 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Thu, 30 Oct 2025 17:23:41 +0300 Subject: [PATCH 092/228] IOS-5387 Fixes --- .../Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift | 8 ++++---- .../Modules/SpaceHub/Subviews/SpaceHubList.swift | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift index e9f3937223..98f82347d4 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift @@ -35,24 +35,24 @@ struct SpaceCard: View { .contentShape([.dragPreview, .contextMenuPreview], RoundedRectangle(cornerRadius: 20, style: .continuous)) .contextMenu { menuItems.tint(Color.Text.primary) } } - + @ViewBuilder private var menuItems: some View { if model.isLoading { copyButton Divider() } - + if model.isPinned { unpinButton } else { pinButton } - + if muteSpacePossibilityToggle, model.isShared { muteButton } - + if model.isLoading { deleteButton } else { diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift index f13a4d60e7..f42f52c264 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift @@ -1,6 +1,7 @@ import SwiftUI import AnytypeCore +// Is part of main view SpaceHubView. Related from SpaceHubViewModel struct SpaceHubList: View { @Bindable var model: SpaceHubViewModel From 7bb981cf4482a14c1ea1d1f9e5146838b0239bdd Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Thu, 30 Oct 2025 18:33:26 +0300 Subject: [PATCH 093/228] IOS-5387 Fix on drag for new card label --- .../Subviews/SpaceCard/NewSpaceCardLabel.swift | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift index 9da045530d..70511ceedf 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift @@ -11,13 +11,11 @@ struct NewSpaceCardLabel: View { var body: some View { content - .if(model.isPinned) { - $0.onDrag { - draggedSpaceViewId = model.spaceViewId - return NSItemProvider() - } preview: { - EmptyView() - } + .onDragIf(model.isPinned) { + draggedSpaceViewId = model.spaceViewId + return NSItemProvider() + } preview: { + EmptyView() } } From 92833f86e7075335b27d98eaee6d57598574f050 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Thu, 30 Oct 2025 18:42:01 +0300 Subject: [PATCH 094/228] IOS-5387 Fixes --- .../SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift | 5 +++-- .../Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLabel.swift | 2 +- .../Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift | 2 +- .../SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift | 2 +- 4 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift index 70511ceedf..20983907a7 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift @@ -44,6 +44,7 @@ struct NewSpaceCardLabel: View { wallpaper: model.wallpaper, spaceIcon: model.objectIconImage )) + .background(Color.Background.primary) .clipShape(RoundedRectangle(cornerRadius: 20, style: .continuous)) } @@ -51,7 +52,7 @@ struct NewSpaceCardLabel: View { VStack(alignment: .leading, spacing: 0) { HStack(alignment: .bottom) { HStack(alignment: .center) { - AnytypeText(model.name.withPlaceholder, style: .bodySemibold) + AnytypeText(model.nameWithPlaceholder, style: .bodySemibold) .lineLimit(1) .foregroundColor(Color.Text.primary) if model.isMuted { @@ -81,7 +82,7 @@ struct NewSpaceCardLabel: View { private var mainContentWithoutMessage: some View { VStack(alignment: .leading, spacing: 0) { HStack { - AnytypeText(model.name.withPlaceholder, style: .bodySemibold) + AnytypeText(model.nameWithPlaceholder, style: .bodySemibold) .lineLimit(1) .foregroundColor(Color.Text.primary) if model.isMuted { diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLabel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLabel.swift index a65ef7b915..193747a17d 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLabel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLabel.swift @@ -15,7 +15,7 @@ struct SpaceCardLabel: View { .frame(width: 56, height: 56) VStack(alignment: .leading, spacing: 0) { HStack { - Text(model.name.withPlaceholder) + Text(model.nameWithPlaceholder) .anytypeFontStyle(.bodySemibold) .lineLimit(1) .foregroundStyle(Color.Text.primary) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift index 266ab806c9..fe30045972 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift @@ -5,7 +5,7 @@ struct SpaceCardModel: Equatable, Identifiable { let spaceViewId: String let targetSpaceId: String let objectIconImage: Icon - let name: String + let nameWithPlaceholder: String let isPinned: Bool let isLoading: Bool let isShared: Bool diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift index 6165b73bdf..4a3405ad5a 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift @@ -54,7 +54,7 @@ final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { spaceViewId: spaceView.id, targetSpaceId: spaceView.targetSpaceId, objectIconImage: spaceView.objectIconImage, - name: spaceView.name, + nameWithPlaceholder: spaceView.name.withPlaceholder, isPinned: spaceView.isPinned, isLoading: spaceView.isLoading, isShared: spaceView.isShared, From 359667631dd878fbb20b45892da40cd6eb872716 Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Thu, 30 Oct 2025 17:00:39 +0100 Subject: [PATCH 095/228] Multilingual [skip ci] (#4190) --- .../Sources/Loc/Resources/Workspace.xcstrings | 770 +++++++++--------- 1 file changed, 385 insertions(+), 385 deletions(-) diff --git a/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings b/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings index b2eaecde62..c4b91f026e 100644 --- a/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings @@ -73,7 +73,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Attach" + "value" : "첨부" } }, "nb" : { @@ -222,7 +222,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Failed to create file. Try again." + "value" : "파일 생성에 실패했습니다. 다시 시도하세요." } }, "nb" : { @@ -371,7 +371,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Invalid file. Try again" + "value" : "유효하지 않은 파일. 다시 시도하세요." } }, "nb" : { @@ -679,7 +679,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "You can upload only %d attachments at a time" + "value" : "한 번에 %d개의 첨부 파일만 업로드할 수 있습니다." } } } @@ -993,7 +993,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "If you leave it, all your changes will be lost." + "value" : "닫으면 모든 변경 사항을 잃습니다." } }, "nb" : { @@ -1142,7 +1142,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Yes, close" + "value" : "닫기" } }, "nb" : { @@ -1291,7 +1291,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Are you sure you want to close this screen?" + "value" : "정말 이 화면을 닫겠습니까?" } }, "nb" : { @@ -1440,7 +1440,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "It cannot be restored after confirmation" + "value" : "확인 후 복구할 수 없습니다" } }, "nb" : { @@ -1589,7 +1589,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Delete this message?" + "value" : "이 메시지를 삭제하시겠습니까?" } }, "nb" : { @@ -1738,7 +1738,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Edit Message" + "value" : "메시지 수정" } }, "nb" : { @@ -1887,7 +1887,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Add members" + "value" : "멤버 추가" } }, "nb" : { @@ -2036,7 +2036,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Messages, docs & files available offline" + "value" : "오프라인에서도 메시지와 문서, 파일 사용 가능" } }, "nb" : { @@ -2185,7 +2185,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Fully private and encrypted" + "value" : "완전한 비공개와 암호화" } }, "nb" : { @@ -2334,7 +2334,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Yours forever" + "value" : "영원한 당신의 것" } }, "nb" : { @@ -2483,7 +2483,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No messages yet" + "value" : "클라우드를 거치지 않는 채팅" } }, "nb" : { @@ -2632,7 +2632,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Update App" + "value" : "앱 업데이트" } }, "nb" : { @@ -2781,7 +2781,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "This version doesn’t support sending files or images. Update the app to share media in chats." + "value" : "이 버전은 파일이나 이미지 전송을 지원하지 않습니다. 채팅에서 미디어를 공유하기 위해 앱을 업데이트하세요." } }, "nb" : { @@ -2930,7 +2930,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Incompatible Version" + "value" : "호환되지 않는 버전" } }, "nb" : { @@ -3079,7 +3079,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "We couldn’t connect right now. This may be due to no internet or a temporary sync issue. We’ll keep trying in the background." + "value" : "지금 접속할 수 없습니다. 인터넷에 연결되어 있지 않거나 일시적인 동기화 문제일 수 있습니다. 백그라운드에서 계속 시도할 예정입니다." } }, "nb" : { @@ -3228,7 +3228,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Got it" + "value" : "확인" } }, "nb" : { @@ -3377,7 +3377,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Network Error" + "value" : "네트워크 오류" } }, "nb" : { @@ -3526,7 +3526,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "New Messages" + "value" : "새 메시지" } }, "nb" : { @@ -3675,7 +3675,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "(You)" + "value" : "(당신)" } }, "nb" : { @@ -3824,7 +3824,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Probably someone has just removed the reaction or technical issue happened" + "value" : "누군가 방금 반응을 지웠거나 기술적 오류가 발생했습니다" } }, "nb" : { @@ -3973,7 +3973,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No reactions yet" + "value" : "아직 반응 없음" } }, "nb" : { @@ -4122,7 +4122,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Attachments (%@)" + "value" : "첨부 (%@)" } }, "nb" : { @@ -4271,7 +4271,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Files (%@)" + "value" : "파일 (%@)" } }, "nb" : { @@ -4420,7 +4420,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Images (%@)" + "value" : "이미지 (%@)" } }, "nb" : { @@ -4570,7 +4570,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Reply to %@" + "value" : "%@에게 답장" } }, "nb" : { @@ -4719,7 +4719,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Looks like you're sending messages at lightning speed. Give it a sec before your next one." + "value" : "빛의 속도로 메시지를 보내고 있으신가 보네요. 다음 메시지를 보내기 전에 몇 초만 기다려주세요." } }, "nb" : { @@ -4868,7 +4868,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Hold up! Turbo typing detected!" + "value" : "잠시만요! 너무 빠른 타이핑이 감지됐습니다!" } }, "nb" : { @@ -5017,7 +5017,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Anytype now supports real-time chat in Shared Channels — so your thoughts and dialogues can grow together." + "value" : "Anytype은 이제 공유 채널에서 실시간 채팅을 지원합니다. 생각과 대화가 함께 자랄 수 있죠." } }, "nb" : { @@ -5166,7 +5166,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Ideas need conversations" + "value" : "아이디어는 대화가 필요해요" } }, "nb" : { @@ -5315,7 +5315,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Spaces and Chats now show live previews and updates — one place to follow everything that matters." + "value" : "이제 스페이스와 채팅은 실시간 미리보기와 업데이트를 볼 수 있습니다. 모든 중요한 것을 따라갈 수 있는 하나의 공간" } }, "nb" : { @@ -5464,7 +5464,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Your Vault just leveled up" + "value" : "보관소가 방금 한 단계 강화됐습니다" } }, "nb" : { @@ -5613,7 +5613,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Share ideas, drop docs, edit together — everything flows in real time." + "value" : "아이디어를 공유하고, 문서를 배포하며, 함께 수정하세요. 모든 것이 실시간으로 물 흐르듯 이어집니다." } }, "nb" : { @@ -5762,7 +5762,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Chats that do more" + "value" : "더 많은 것을 할 수 있는 채팅" } }, "nb" : { @@ -5911,7 +5911,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Your pages, lists, and files — structured, surfaced, and always within reach." + "value" : "페이지와 목록, 파일 — 구조화되며, 잘 보이며, 언제든 닿을 수 있는 거리에 있습니다." } }, "nb" : { @@ -6060,7 +6060,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Everything in Its Right Place" + "value" : "모든 것이 맞는 위치에" } }, "nb" : { @@ -6209,7 +6209,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Collaboration" + "value" : "공동 작업" } }, "nb" : { @@ -6358,7 +6358,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create object" + "value" : "오브젝트 만들기" } }, "nb" : { @@ -6507,7 +6507,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create first object to continue" + "value" : "첫 번째 오브젝트를 만들어 계속하세요" } }, "nb" : { @@ -6657,7 +6657,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No objects" + "value" : "오브젝트 없음" } }, "nb" : { @@ -6806,7 +6806,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Upload audio" + "value" : "오디오 업로드" } }, "nb" : { @@ -7402,7 +7402,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Uploading..." + "value" : "업로드 중..." } }, "nb" : { @@ -7551,7 +7551,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Inline collection" + "value" : "인라인 컬렉션" } }, "nb" : { @@ -7700,7 +7700,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Untitled collection" + "value" : "이름 없는 컬렉션" } }, "nb" : { @@ -7849,7 +7849,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No data" + "value" : "데이터 없음 " } }, "nb" : { @@ -7998,7 +7998,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No source" + "value" : "소스 없음" } }, "nb" : { @@ -8147,7 +8147,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Inline query" + "value" : "인라인 쿼리" } }, "nb" : { @@ -8296,7 +8296,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "This inline query doesn’t have a source" + "value" : "이 인라인 쿼리는 소스가 없습니다." } }, "nb" : { @@ -8445,7 +8445,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Untitled query" + "value" : "이름 없는 쿼리" } }, "nb" : { @@ -8595,7 +8595,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Upload a file" + "value" : "파일 업로드" } }, "nb" : { @@ -8744,7 +8744,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Upload a picture" + "value" : "사진 업로드" } }, "nb" : { @@ -8893,7 +8893,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Upload a video" + "value" : "영상 업로드" } }, "nb" : { @@ -9042,7 +9042,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create Chat" + "value" : "채팅 만들기" } }, "nb" : { @@ -9191,7 +9191,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Linked to" + "value" : "다음으로 링크함" } }, "nb" : { @@ -9340,7 +9340,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Paste from clipboard" + "value" : "클립보드에서 붙여넣기" } }, "nb" : { @@ -9489,7 +9489,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Remove link" + "value" : "링크 제거" } }, "nb" : { @@ -9639,7 +9639,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Paste link or search objects" + "value" : "링크 붙여넣기 또는 오브젝트 검색" } }, "nb" : { @@ -9788,7 +9788,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Scroll to select a place" + "value" : "스크롤해서 위치 선택" } }, "nb" : { @@ -9938,7 +9938,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "linked to" + "value" : "다음으로 링크" } }, "nb" : { @@ -10087,7 +10087,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Block moved to" + "value" : "블록 이동됨" } }, "nb" : { @@ -10237,7 +10237,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Unsupported" + "value" : "지원되지 않음" } }, "nb" : { @@ -10386,7 +10386,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Is" + "value" : "일치" } }, "nb" : { @@ -10535,7 +10535,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Is not" + "value" : "같지 않음" } }, "nb" : { @@ -10684,7 +10684,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Is after" + "value" : "이후" } }, "nb" : { @@ -10833,7 +10833,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Is before" + "value" : "이전" } }, "nb" : { @@ -10982,7 +10982,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Is" + "value" : "일치" } }, "nb" : { @@ -11131,7 +11131,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Is within" + "value" : "범위 이내" } }, "nb" : { @@ -11280,7 +11280,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Is on or after" + "value" : "같거나 이후" } }, "nb" : { @@ -11429,7 +11429,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Is on or before" + "value" : "같거나 이전" } }, "nb" : { @@ -11578,7 +11578,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Is empty" + "value" : "비어 있음" } }, "nb" : { @@ -11727,7 +11727,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "All" + "value" : "전체" } }, "nb" : { @@ -11876,7 +11876,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Is not empty" + "value" : "비어 있지 않음" } }, "nb" : { @@ -12025,7 +12025,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Is equal to" + "value" : "다음과 같음" } }, "nb" : { @@ -12174,7 +12174,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Is greater than" + "value" : "다음보다 큼" } }, "nb" : { @@ -12323,7 +12323,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Is greater than or equal to" + "value" : "다음보다 크거나 같음" } }, "nb" : { @@ -12472,7 +12472,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Is less than" + "value" : "다음보다 작음" } }, "nb" : { @@ -12621,7 +12621,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Is less than or equal to" + "value" : "다음보다 작거나 같음" } }, "nb" : { @@ -12770,7 +12770,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Is not equal to" + "value" : "다음과 같지 않음" } }, "nb" : { @@ -12919,7 +12919,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Has all of" + "value" : "다음 중 모두 포함" } }, "nb" : { @@ -13068,7 +13068,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Has any of" + "value" : "다음 중 일부 포함" } }, "nb" : { @@ -13217,7 +13217,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Has none of" + "value" : "다음 중 아무 것도 포함하지 않음" } }, "nb" : { @@ -13367,7 +13367,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Is" + "value" : "일치" } }, "nb" : { @@ -13516,7 +13516,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Contains" + "value" : "포함" } }, "nb" : { @@ -13665,7 +13665,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Is not" + "value" : "같지 않음" } }, "nb" : { @@ -13814,7 +13814,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Doesn't contain" + "value" : "포함하지 않음" } }, "nb" : { @@ -14261,7 +14261,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Current year" + "value" : "올해" } }, "nb" : { @@ -14410,7 +14410,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Exact date" + "value" : "정확한 날짜" } }, "nb" : { @@ -14857,7 +14857,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Last year" + "value" : "작년" } }, "nb" : { @@ -15304,7 +15304,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Next year" + "value" : "내년" } }, "nb" : { @@ -15761,7 +15761,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%d days ago" + "value" : "%d일 전" } } } @@ -17144,7 +17144,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Checked" + "value" : "선택됨" } }, "nb" : { @@ -17293,7 +17293,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Unchecked" + "value" : "선택 해제됨" } }, "nb" : { @@ -17442,7 +17442,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No filters here. You can add some" + "value" : "필터 없음. 추가해보세요" } }, "nb" : { @@ -18784,7 +18784,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No sorts here. You can add some" + "value" : "정렬 없음. 추가해보세요" } }, "nb" : { @@ -18934,7 +18934,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Sorts" + "value" : "정렬" } }, "nb" : { @@ -19083,7 +19083,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Add to the current type" + "value" : "현재 유형에 추가" } }, "nb" : { @@ -19233,7 +19233,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Property ‘%@’ has been created" + "value" : "'%@' 유형이 생성됨" } }, "nb" : { @@ -19382,7 +19382,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Found in objects" + "value" : "오브젝트에서 발견" } }, "nb" : { @@ -19531,7 +19531,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Local" + "value" : "로컬" } }, "nb" : { @@ -19680,7 +19680,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Properties panel" + "value" : "속성 패널" } }, "nb" : { @@ -19829,7 +19829,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "These properties exist in some objects but aren’t part of the Type. Add them to make them appear in all objects of this Type." + "value" : "이 속성은 일부 오브젝트에 존재하지만 이 유형의 일부는 아닙니다. 이 유형의 모든 오브젝트에서 보이게 하려면 속성을 추가하세요." } }, "nb" : { @@ -19978,7 +19978,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Remove from the object" + "value" : "오브젝트에서 제거" } }, "nb" : { @@ -20127,7 +20127,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Property ‘%@’ has been updated" + "value" : "'%@' 유형이 수정됨" } }, "nb" : { @@ -20276,7 +20276,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Invite" + "value" : "초대" } }, "nb" : { @@ -20425,7 +20425,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Join Space" + "value" : "스페이스 참여" } }, "nb" : { @@ -20574,7 +20574,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Join Space Button" + "value" : "스페이스 참여 버튼" } }, "nb" : { @@ -20723,7 +20723,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Members" + "value" : "멤버" } }, "nb" : { @@ -20873,7 +20873,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Membership" + "value" : "멤버십" } }, "nb" : { @@ -21022,7 +21022,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Joining Anytype network means contributing to its story" + "value" : "Anytype 네트워크에 참여한다는 것은 스토리에 기여한다는 의미입니다" } }, "nb" : { @@ -21171,7 +21171,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Membership" + "value" : "멤버십" } }, "nb" : { @@ -21469,7 +21469,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Members enjoy higher backup storage & sync limits, invitations for multiple guests to collaborate in shared spaces, and a unique identity on the Anytype Network." + "value" : "멤버는 더 많은 백업 저장 공간와 동기화 한도를 즐길 수 있고, 공유 스페이스에서 많은 게스트를 초대할 수 있으며, Anytype 네트워크에서 고유한 아이덴티티를 갖습니다." } }, "nb" : { @@ -21618,7 +21618,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Your contribution supports our team and endorses our vision of a user-owned, secure, and collaborative digital network." + "value" : "당신의 기여는 우리 팀을 지원하며, 사용자 소유의 안전하고 협력 가능한 디지털 네트워크를 만드는 우리의 비전을 지지합니다." } }, "nb" : { @@ -21767,7 +21767,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Our network's value exceeds the sum of its parts. Your membership sustains the infrastructure for its growth which underpins this network." + "value" : "우리 네트워크의 가치는 각 부분의 합을 넘습니다. 당신의 멤버십이 이 네트워크를 지지하는 인프라 성장을 유지시킵니다." } }, "nb" : { @@ -21916,7 +21916,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Build the Vision Together" + "value" : "비전을 함께 만들어가요" } }, "nb" : { @@ -22214,7 +22214,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Support Digital Independence" + "value" : "디지털 독립을 지원하기" } }, "nb" : { @@ -22363,7 +22363,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Invest in Connectivity" + "value" : "연결성에 투자하기" } }, "nb" : { @@ -22512,7 +22512,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Hello Anytype team! I would like to extend my current membership for more (please choose an option):\n- Extra remote storage\n- More space editors\n- Additional shared spaces\nSpecifically,\nPlease provide specific details of your needs here." + "value" : "Anytype 팀, 안녕하세요! 저는 현재 멤버십을 연장하고자 합니다(옵션 선택):\n- 늘어난 원격 저장소\n- 더 많은 스페이스 편집자\n- 추가적인 공유 스페이스\n특히,\n당신의 요구의 세부 사항을 여기에 제공해주세요." } }, "nb" : { @@ -22661,7 +22661,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "It is not linked to your account in any way." + "value" : "이메일 정보는 계정에 어떤 방식으로도 연결되지 않습니다." } }, "nb" : { @@ -22810,7 +22810,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Get updates and enjoy free perks!" + "value" : "업데이트를 받고 무료 혜택을 누리세요!" } }, "nb" : { @@ -22959,7 +22959,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Enter the code sent to your email" + "value" : "이메일로 전송된 코드를 입력하세요" } }, "nb" : { @@ -23108,7 +23108,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Local, non-unique name" + "value" : "로컬, 중복 가능한 이름" } }, "nb" : { @@ -24203,7 +24203,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "%@ GB of backup & sync space on the Anytype network" + "value" : "Anytype 네트크에서 %@GB의 백업 & 동기화 용량" } }, "nb" : { @@ -24352,7 +24352,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Unique Network name (%@+ characters)" + "value" : "고유한 네트워크 이름 (%@+ 글자)" } }, "nb" : { @@ -24501,7 +24501,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Unlimited Viewers for shared spaces" + "value" : "공유 스페이스에 대해 무제한 읽기 전용 멤버" } }, "nb" : { @@ -25123,7 +25123,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Already purchased tier?" + "value" : "이미 티어를 구입하셨나요?" } }, "nb" : { @@ -25272,7 +25272,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Membership plan details" + "value" : "멤버십 플랜 상세 정보" } }, "nb" : { @@ -25421,7 +25421,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Please let us know here." + "value" : "여기에 알려주세요." } }, "nb" : { @@ -25719,7 +25719,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Restore purchases" + "value" : "구매 내역 복원" } }, "nb" : { @@ -25868,7 +25868,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Terms and conditions" + "value" : "이용 약관" } }, "nb" : { @@ -26017,7 +26017,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Would you like to use Anytype for business, education, etc.?" + "value" : "Anytype을 비즈니스, 교육 등의 목적으로 사용하시나요?" } }, "nb" : { @@ -26166,7 +26166,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You can manage tier on Android platform" + "value" : "안드로이드에서 티어 관리가 가능합니다" } }, "nb" : { @@ -26315,7 +26315,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You can manage tier on another AppleId account" + "value" : "다른 Apple 계정에서 티어 관리가 가능합니다" } }, "nb" : { @@ -26464,7 +26464,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You can manage tier on Desktop platform" + "value" : "안드로이드에서 티어 관리가 가능합니다" } }, "nb" : { @@ -26613,7 +26613,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "This is your unique name on the Anytype network, confirming your Membership. It acts as your personal domain and cannot be changed." + "value" : "Anytype 네트워크에서 멤버십을 확인하는 고유한 이름입니다. 개인 도메인 역할을 하며 변경할 수 없습니다." } }, "nb" : { @@ -26762,7 +26762,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Pick your unique name" + "value" : "고유한 이름 선택" } }, "nb" : { @@ -26911,7 +26911,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "This name is up for grabs" + "value" : "이 이름은 사용 가능합니다" } }, "nb" : { @@ -27060,7 +27060,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Wait a second..." + "value" : "잠시만요..." } }, "nb" : { @@ -27209,7 +27209,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Apple subscription" + "value" : "Apple 구독" } }, "nb" : { @@ -27507,7 +27507,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Crypto" + "value" : "암호화폐" } }, "nb" : { @@ -27656,7 +27656,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Google subscription" + "value" : "Google 구독" } }, "nb" : { @@ -27805,7 +27805,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Big cheers for your curiosity!" + "value" : "여러분의 호기심에 큰 박수를 보냅니다!" } }, "nb" : { @@ -27954,7 +27954,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Big cheers for your support!" + "value" : "지지해주셔서 감사합니다!" } }, "nb" : { @@ -28103,7 +28103,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Welcome to the network, %@" + "value" : "%@, 네트워크에 오신 것을 환영합니다." } }, "nb" : { @@ -28252,7 +28252,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "This tier is not available in the app. We know it's not ideal." + "value" : "이 티어는 앱에서 사용 불가능합니다. 이상적인 상황이 아니라는 것을 압니다." } }, "nb" : { @@ -28401,7 +28401,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Contact Anytype Team" + "value" : "Anytype 팀에 문의" } }, "nb" : { @@ -28550,7 +28550,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Upgrade to add more members" + "value" : "멤버를 더 추가하려면 업그레이드" } }, "nb" : { @@ -28848,7 +28848,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You can’t add more editors" + "value" : "더 이상 편집자를 추가할 수 없습니다" } }, "nb" : { @@ -29156,7 +29156,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "You’ve reached the limit of %d spaces that can be shared" + "value" : "공유할 수 있는 %d개의 스페이스 한도에 도달했습니다." } } } @@ -29470,7 +29470,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Reach us for extra storage, space editors, or more shared spaces. Anytype team will provide details and conditions tailored to your needs." + "value" : "추가 저장 공간, 스페이스 편집자 또는 더 많은 공유 스페이스를 원하시면 우리에게 연락하세요. Anytype 팀이 요구에 맞는 세부사항과 조건을 제공합니다." } }, "nb" : { @@ -29619,7 +29619,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Membership upgrade" + "value" : "맴버십 업그레이드" } }, "nb" : { @@ -29768,7 +29768,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Internal problem with billing format, we are working on this. Try again later or contact support." + "value" : "결제 형식에 내부 오류가 발생했습니다. 나중에 다시 시도하거나 고객 센터에 문의하세요." } }, "nb" : { @@ -29917,7 +29917,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Not found tier data, restart app and try again" + "value" : "티어 데이터를 찾을 수 없습니다. 앱을 재시작하고 다시 시도하세요" } }, "nb" : { @@ -30067,7 +30067,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Add Reaction" + "value" : "반응 추가" } }, "nb" : { @@ -30216,7 +30216,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Copy Plain Text" + "value" : "일반 텍스트로 복사" } }, "nb" : { @@ -30365,7 +30365,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Reply" + "value" : "답장" } }, "nb" : { @@ -30514,7 +30514,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Mark Unread" + "value" : "읽지 않음으로 표시" } }, "nb" : { @@ -30663,7 +30663,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Untitled Chat" + "value" : "제목 없는 채팅" } }, "nb" : { @@ -30961,7 +30961,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Write a message..." + "value" : "메시지 작성..." } }, "nb" : { @@ -31110,7 +31110,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Broadcast" + "value" : "방송" } }, "nb" : { @@ -31259,7 +31259,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "New Property" + "value" : "새 속성" } }, "nb" : { @@ -31557,7 +31557,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Notifications" + "value" : "알림" } }, "nb" : { @@ -31856,7 +31856,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Type ‘%@’ has been created" + "value" : "'%@' 유형이 생성됨" } }, "nb" : { @@ -32005,7 +32005,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Deleted type" + "value" : "삭제된 유형" } }, "nb" : { @@ -32154,7 +32154,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You're editing type" + "value" : "유형 수정 중" } }, "nb" : { @@ -32304,7 +32304,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Blank canvas with no title" + "value" : "제목 없는 검은색 캔버스" } }, "nb" : { @@ -32453,7 +32453,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "My Types" + "value" : "내 유형" } }, "nb" : { @@ -32602,7 +32602,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Search for Type" + "value" : "유형 검색" } }, "nb" : { @@ -32751,7 +32751,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Search or install a new type" + "value" : "유형을 검색하거나 새로 생성" } }, "nb" : { @@ -33198,7 +33198,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You were removed from **%@** space, or the space has been deleted by the owner." + "value" : "'%@' 스페이스에서 당신이 제거되었거나 소유자가 스페이스를 삭제하였습니다." } }, "nb" : { @@ -33347,7 +33347,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Your request to join the **%@** space has been approved with **%@** access rights. The space will be available on your device soon." + "value" : "당신의 '%@' 스페이스 가입 요청이 %@ 권한으로 승인되었습니다. 보관소에서 이 스페이스를 곧 사용할 수 있습니다." } }, "nb" : { @@ -33496,7 +33496,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Your request to join the **%@** space has been declined." + "value" : "**%@** 스페이스 참여 요청이 거부되었습니다" } }, "nb" : { @@ -33646,7 +33646,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Your access rights were changed to **%@** in the **%@** space." + "value" : "**%@** 스페이스에서 권한이 **%@**로 변경되었습니다." } }, "nb" : { @@ -33944,7 +33944,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Properties formats" + "value" : "속성 형식" } }, "nb" : { @@ -34093,7 +34093,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Failed to load your domain. Please try again." + "value" : "도메인을 불러오는 데에 실패했습니다. 다시 시도하세요." } }, "nb" : { @@ -34242,7 +34242,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Failed to load object data. Please try again." + "value" : "오브젝트 데이터를 불러오는 데에 실패했습니다. 다시 시도하세요." } }, "nb" : { @@ -34391,7 +34391,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "insert-page-name-here" + "value" : "여기에-페이지-이름-입력" } }, "nb" : { @@ -34540,7 +34540,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "This object is live on the web." + "value" : "이 오브젝트는 웹에 게시되었습니다." } }, "nb" : { @@ -34689,7 +34689,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "View site ↗︎" + "value" : "사이트 보기 ↗︎" } }, "nb" : { @@ -34838,7 +34838,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Successfully published" + "value" : "게시 성공" } }, "nb" : { @@ -34987,7 +34987,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Successfully unpublished" + "value" : "게시 취소 성공" } }, "nb" : { @@ -35136,7 +35136,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Successfully updated" + "value" : "업데이트 성공" } }, "nb" : { @@ -35285,7 +35285,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "It looks like you didn’t allow notifications. That means you won’t see new messages, mentions, or invites. Go to settings to turn them on." + "value" : "알림을 허용하지 않은 것 같습니다. 새로운 메시지, 멘션, 초대를 볼 수 없습니다. 설정에서 알림을 켜세요." } }, "nb" : { @@ -35434,7 +35434,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Skip for now" + "value" : "지금은 건너뛰기" } }, "nb" : { @@ -35583,7 +35583,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Notifications are still turned off" + "value" : "알림이 여전히 꺼져 있습니다." } }, "nb" : { @@ -35732,7 +35732,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Attachment" + "value" : "첨부" } }, "nb" : { @@ -35881,7 +35881,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Get notified instantly when someone messages or mentions you in your spaces." + "value" : "스페이스에서 누군가 당신에게 메시지를 보내거나 당신을 멘션할 때 즉시 알림을 받습니다." } }, "nb" : { @@ -36030,7 +36030,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "New Message" + "value" : "새 메시지" } }, "nb" : { @@ -36179,7 +36179,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Enable notifications" + "value" : "알림 활성화" } }, "nb" : { @@ -36328,7 +36328,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Not now" + "value" : "나중에" } }, "nb" : { @@ -36477,7 +36477,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Turn on push notifications" + "value" : "푸시 알림 켜기" } }, "nb" : { @@ -36626,7 +36626,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Receive notifications about new messages by enabling them in your device settings." + "value" : "기기 설정에서 알림을 켜 새로운 메시지 알림을 받습니다." } }, "nb" : { @@ -36775,7 +36775,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Notifications are disabled" + "value" : "알림 비활성화됨" } }, "nb" : { @@ -36924,7 +36924,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Message Notifications" + "value" : "메시지 알림" } }, "nb" : { @@ -37073,7 +37073,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Join via QR Code" + "value" : "QR 코드로 참여" } }, "nb" : { @@ -37222,7 +37222,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Scanning error" + "value" : "스캔 오류" } }, "nb" : { @@ -37371,7 +37371,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "The scanned QR code contains URL in invalid format" + "value" : "스캔한 QR 코드의 URL은 잘못된 형식입니다" } }, "nb" : { @@ -37520,7 +37520,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Invalid QR Code" + "value" : "잘못된 QR 코드" } }, "nb" : { @@ -37669,7 +37669,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "The scanned QR code doesn't contain a valid URL" + "value" : "스캔한 QR 코드에는 유효한 URL이 없습니다" } }, "nb" : { @@ -37818,7 +37818,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Try again" + "value" : "다시 시도" } }, "nb" : { @@ -37967,7 +37967,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "The scanned QR code contains different action" + "value" : "스캔한 QR 코드는 다른 동작을 포함합니다" } }, "nb" : { @@ -38563,7 +38563,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Are you sure?" + "value" : "정말 진행할까요?" } }, "nb" : { @@ -38712,7 +38712,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Deleted property" + "value" : "삭제된 속성" } }, "nb" : { @@ -38861,7 +38861,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "The property is empty" + "value" : "이 속성은 비어 있음" } }, "nb" : { @@ -40053,7 +40053,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Relation object" + "value" : "관련 오브젝트" } }, "nb" : { @@ -40947,7 +40947,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "%@ 유형으로 부터" + "value" : "%@ 유형으로부터" } }, "nb" : { @@ -42140,7 +42140,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "My properties" + "value" : "내 속성" } }, "nb" : { @@ -42587,7 +42587,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "객체 유형:" + "value" : "오브젝트 유형:" } }, "nb" : { @@ -44525,7 +44525,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Call phone numbler" + "value" : "전화 걸기" } }, "nb" : { @@ -44823,7 +44823,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Copy email" + "value" : "이메일 복사" } }, "nb" : { @@ -45122,7 +45122,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Open link" + "value" : "링크 열기" } }, "nb" : { @@ -45271,7 +45271,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Reload object content" + "value" : "오브젝트 내용 새로고침" } }, "nb" : { @@ -45420,7 +45420,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Reloading content" + "value" : "콘텐츠 다시 불러오는 중" } }, "nb" : { @@ -45569,7 +45569,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Send email" + "value" : "이메일 전송" } }, "nb" : { @@ -46165,7 +46165,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "**%@** wants to leave the **%@** space." + "value" : "**%@이(가) **%@** 스페이스를 떠나려 합니다." } }, "nb" : { @@ -46614,7 +46614,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Select query" + "value" : "쿼리 선택" } }, "nb" : { @@ -46763,7 +46763,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Property:" + "value" : "속성:" } }, "nb" : { @@ -46912,7 +46912,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Properties:" + "value" : "속성:" } }, "nb" : { @@ -47061,7 +47061,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Type:" + "value" : "유형:" } }, "nb" : { @@ -47210,7 +47210,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "This query can be changed on desktop only" + "value" : "이 쿼리는 데스크톱에서만 수정할 수 있음" } }, "nb" : { @@ -47360,7 +47360,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Select query" + "value" : "쿼리 선택" } }, "nb" : { @@ -47509,7 +47509,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Change query" + "value" : "쿼리 바꾸기" } }, "nb" : { @@ -47659,7 +47659,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Turn Query into Collection" + "value" : "쿼리를 컬렉션으로 바꾸기" } }, "nb" : { @@ -47808,7 +47808,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Add search query to aggregate objects with equal types and properties in a live mode" + "value" : "라이브 모드에서 유형 및 관계가 동일한 오브젝트를 모으기 위해 검색 쿼리를 추가합니다" } }, "nb" : { @@ -47958,7 +47958,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No query selected" + "value" : "선택한 쿼리가 없음" } }, "nb" : { @@ -48107,7 +48107,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Show more objects" + "value" : "관련 오브젝트 표시" } }, "nb" : { @@ -48256,7 +48256,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Column color" + "value" : "열 색상" } }, "nb" : { @@ -48405,7 +48405,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Hide column" + "value" : "열 숨기기" } }, "nb" : { @@ -48554,7 +48554,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "%@ is checked" + "value" : "%@ 선택됨" } }, "nb" : { @@ -48704,7 +48704,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Uncategorized" + "value" : "미분류" } }, "nb" : { @@ -48853,7 +48853,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "%@ is unchecked" + "value" : "%@ 선택 해제됨" } }, "nb" : { @@ -49002,7 +49002,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Large" + "value" : "대형" } }, "nb" : { @@ -49300,7 +49300,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Card size" + "value" : "카드 사이즈" } }, "nb" : { @@ -49449,7 +49449,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Color columns" + "value" : "색상 열" } }, "nb" : { @@ -49598,7 +49598,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Group by" + "value" : "그룹 기준" } }, "nb" : { @@ -49748,7 +49748,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Fit image" + "value" : "이미지에 맞춤" } }, "nb" : { @@ -49897,7 +49897,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Image preview" + "value" : "이미지 미리보기" } }, "nb" : { @@ -50046,7 +50046,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No filters" + "value" : "필터 없음" } }, "nb" : { @@ -50195,7 +50195,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No properties" + "value" : "속성 없음" } }, "nb" : { @@ -50344,7 +50344,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No sorts" + "value" : "정렬 없음" } }, "nb" : { @@ -50493,7 +50493,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "%d applied" + "value" : "%d 적용됨" } }, "nb" : { @@ -50643,7 +50643,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "View is unsupported on mobile" + "value" : "뷰는 모바일에서 지원되지 않음" } }, "nb" : { @@ -50792,7 +50792,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Shared" + "value" : "공유됨" } }, "nb" : { @@ -50941,7 +50941,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Add a comment..." + "value" : "댓글 추가..." } }, "nb" : { @@ -51091,7 +51091,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Add to Anytype" + "value" : "Anytype에 추가" } }, "nb" : { @@ -51240,7 +51240,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Select destination" + "value" : "대상 선택" } }, "nb" : { @@ -51389,7 +51389,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Send to chat" + "value" : "채팅에 보내기" } }, "nb" : { @@ -51538,7 +51538,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Show share menu" + "value" : "공유 메뉴 표시" } }, "nb" : { @@ -51687,7 +51687,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Tap the iOS sharing button" + "value" : "iOS 공유 버튼을 탭하세요" } }, "nb" : { @@ -51836,7 +51836,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Scroll past the app and tap More" + "value" : "앱 목록을 스크롤하여 더 보기를 탭하세요" } }, "nb" : { @@ -51985,7 +51985,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Tap Edit to find “Anytype” and tap" + "value" : "편집에서 \"Anytype\"을 찾은 뒤 추가하세요" } }, "nb" : { @@ -52135,7 +52135,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Share Extension" + "value" : "확장 공유" } }, "nb" : { @@ -52284,7 +52284,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Select Space" + "value" : "스페이스 선택" } }, "nb" : { @@ -52434,7 +52434,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Dots divider" + "value" : "점 구분선" } }, "nb" : { @@ -52583,7 +52583,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Line divider" + "value" : "구분선" } }, "nb" : { @@ -52732,7 +52732,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Table" + "value" : "표" } }, "nb" : { @@ -52881,7 +52881,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Table of contents" + "value" : "목차" } }, "nb" : { @@ -53030,7 +53030,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Upgrade your membership to invite more members." + "value" : "더 많은 멤버를 초대하려면 멤버십을 업그레이드하세요." } }, "nb" : { @@ -53179,7 +53179,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You've reached the limit of %lld editors." + "value" : "%lld명의 편집자 한도에 도달했습니다." } }, "nb" : { @@ -53328,7 +53328,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Upgrade for more or remove spaces." + "value" : "더 많은 스페이스를 위해 업그레이드하거나 스페이스를 삭제하세요." } }, "nb" : { @@ -53477,7 +53477,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You've reached the limit of %lld shared spaces." + "value" : "%lld개의 공유 스페이스 한도에 도달했습니다." } }, "nb" : { @@ -53626,7 +53626,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "People with link can edit and write in chat" + "value" : "링크가 있는 사람은 채팅을 쓰거나 수정할 수 있음" } }, "nb" : { @@ -53775,7 +53775,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Editor access" + "value" : "편집자 권한" } }, "nb" : { @@ -53924,7 +53924,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Only already invited members have access" + "value" : "초대된 멤버만 접근할 수 있음" } }, "nb" : { @@ -54073,7 +54073,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Link disabled" + "value" : "링크 비활성회됨" } }, "nb" : { @@ -54222,7 +54222,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Owner must approve each join request" + "value" : "소유자는 각각의 참여 요청을 승인해야 함" } }, "nb" : { @@ -54371,7 +54371,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Request access" + "value" : "접근 요청" } }, "nb" : { @@ -54520,7 +54520,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "People with link can view and read chat" + "value" : "링크가 있는 사람은 채팅을 보고 읽을 수 있음" } }, "nb" : { @@ -54669,7 +54669,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Viewer access" + "value" : "읽기 전용 권한" } }, "nb" : { @@ -54977,7 +54977,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%d members" + "value" : "멤버 %d명" } } } @@ -55291,7 +55291,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "All activity" + "value" : "모든 활동" } }, "nb" : { @@ -55440,7 +55440,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Disable notifications" + "value" : "알림 비활성화" } }, "nb" : { @@ -55589,7 +55589,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Mentions only" + "value" : "멘션만" } }, "nb" : { @@ -55887,7 +55887,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Loading" + "value" : "불러오는 중" } }, "nb" : { @@ -56036,7 +56036,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Missing" + "value" : "찾을 수 없음" } }, "nb" : { @@ -56185,7 +56185,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Ok" + "value" : "확인" } }, "nb" : { @@ -56334,7 +56334,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Remote Deleted" + "value" : "원격에서 지워짐" } }, "nb" : { @@ -56483,7 +56483,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Waiting Deletion" + "value" : "삭제 대기 중" } }, "nb" : { @@ -56632,7 +56632,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Active" + "value" : "활성" } }, "nb" : { @@ -56781,7 +56781,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Deleted" + "value" : "삭제됨" } }, "nb" : { @@ -56930,7 +56930,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Joining" + "value" : "참여 중" } }, "nb" : { @@ -57079,7 +57079,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Removing" + "value" : "삭제 중" } }, "nb" : { @@ -57229,7 +57229,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Unknown" + "value" : "알 수 없음" } }, "nb" : { @@ -57379,7 +57379,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create a chat" + "value" : "채팅 만들기" } }, "nb" : { @@ -57528,7 +57528,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create a space" + "value" : "스페이스 만들기" } }, "nb" : { @@ -57677,7 +57677,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create a stream" + "value" : "스트림 만들기" } }, "nb" : { @@ -57826,7 +57826,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "If you switch link type, your existing link will be deactivated." + "value" : "링크 유형을 바꾸면 기존 링크는 비활성화됩니다." } }, "nb" : { @@ -57975,7 +57975,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "The current link will stop working" + "value" : "현재 링크는 더 이상 작동하지 않습니다" } }, "nb" : { @@ -58125,7 +58125,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Cancel Join Request" + "value" : "참여 요청 취소" } }, "nb" : { @@ -58274,7 +58274,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You will have to send request access again" + "value" : "다시 접근을 요청해야 합니다" } }, "nb" : { @@ -58423,7 +58423,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "The request was canceled." + "value" : "요청이 취소됨." } }, "nb" : { @@ -58572,7 +58572,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Do Not Cancel" + "value" : "취소하지 않기" } }, "nb" : { @@ -58721,7 +58721,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Default Space" + "value" : "기본 스페이스" } }, "nb" : { @@ -58870,7 +58870,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Private Space" + "value" : "비공개 스페이스" } }, "nb" : { @@ -59020,7 +59020,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Shared Space" + "value" : "공유 스페이스" } }, "nb" : { @@ -59169,7 +59169,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Network:" + "value" : "네트워크:" } }, "nb" : { @@ -59324,7 +59324,7 @@ "nb" : { "stringUnit" : { "state" : "new", - "value" : "Rom" + "value" : "Channels" } }, "nl" : { @@ -59467,7 +59467,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Group chat with shared data. Best for small groups or a single ongoing conversation." + "value" : "공유 데이터와 그룹 채팅. 작은 그룹이나 하나의 지속적인 대화에 적합합니다." } }, "nb" : { @@ -59914,7 +59914,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Hub for advanced data management. Multi-chats by topic coming soon. Ideal for larger teams." + "value" : "고급 데이터 관리를 위한 허브. 주제마다 여러 채팅은 곧 지원됩니다. 더 큰 팀에 적합합니다." } }, "nb" : { @@ -60212,7 +60212,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Space" + "value" : "스페이스" } }, "nb" : { @@ -60361,7 +60361,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "For broadcasting your vibe" + "value" : "당신의 분위기를 방송하기 위해" } }, "nb" : { @@ -60510,7 +60510,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Stream" + "value" : "스트림" } }, "nb" : { @@ -60659,7 +60659,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "This space will be deleted irrevocably. You can’t undo this action." + "value" : "이 스페이스가 영구적으로 삭제됩니다. 이 동작은 취소할 수 없습니다." } }, "nb" : { @@ -60808,7 +60808,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Delete ‘%@’ space" + "value" : "'%@' 스페이스 삭제" } }, "nb" : { @@ -60957,7 +60957,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Delete space" + "value" : "스페이스 지우기" } }, "nb" : { @@ -61106,7 +61106,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Space information" + "value" : "스페이스 정보" } }, "nb" : { @@ -61255,7 +61255,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "%@ space will be removed from your devices and you will no longer have access to it" + "value" : "%@ 스페이스는 기기에서 제거되며 더 이상 접근할 수 없습니다" } }, "nb" : { @@ -61404,7 +61404,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You left the %@." + "value" : "%@를 떠남." } }, "nb" : { @@ -61553,7 +61553,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Leave" + "value" : "떠나기" } }, "nb" : { @@ -61702,7 +61702,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Network ID" + "value" : "네트워크 ID" } }, "nb" : { @@ -61851,7 +61851,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Remote storage" + "value" : "원격 저장소" } }, "nb" : { @@ -62000,7 +62000,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Share" + "value" : "공유" } }, "nb" : { @@ -62150,7 +62150,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Space settings" + "value" : "스페이스 설정" } }, "nb" : { @@ -62299,7 +62299,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Access rights have been changed." + "value" : "접근 권한이 변경되었습니다." } }, "nb" : { @@ -62448,7 +62448,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Approve" + "value" : "승인" } }, "nb" : { @@ -63044,7 +63044,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You approved %@'s request." + "value" : "%@의 요청을 승인하였습니다." } }, "nb" : { @@ -63193,7 +63193,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "%@ access to the space would become %@." + "value" : "스페이스에 대한 %@ 권한은 %@(이)가 됩니다." } }, "nb" : { @@ -63342,7 +63342,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Copy invite link" + "value" : "초대 링크 복사" } }, "nb" : { @@ -63491,7 +63491,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "New members won’t be able to join the space. You can generate a new link anytime" + "value" : "새 멤버는 스페이스에 참여할 수 없습니다. 언제든지 새 링크를 생성할 수 있습니다" } }, "nb" : { @@ -63640,7 +63640,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Delete link" + "value" : "링크 삭제" } }, "nb" : { @@ -63789,7 +63789,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Please provide the link to the person you'd like to collaborate with." + "value" : "공동 작업을 원하는 사람에게 이 QR 코드를 보여주세요." } }, "nb" : { @@ -63938,7 +63938,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "By clicking the link, a person requests to join the space." + "value" : "이 링크를 클릭하면 스페이스에 참여 요청을 보냅니다." } }, "nb" : { @@ -64087,7 +64087,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "After approving the request, you can choose the access rights for that person." + "value" : "요청을 승인하면 대상에 대한 접근 권한을 고를 수 있습니다." } }, "nb" : { @@ -64236,7 +64236,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "How to share a space?" + "value" : "어떻게 스페이스를 공유하나요?" } }, "nb" : { @@ -64385,7 +64385,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Share this invite link so that others can join your space" + "value" : "다른 사람들이 스페이스에 참여할 수 있도록 이 초대 링크를 공유하세요" } }, "nb" : { @@ -64534,7 +64534,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Once they click your link and request access, you can set their access rights." + "value" : "링크를 클릭하여 접근을 요청하면 권한을 설정할 수 있습니다." } }, "nb" : { @@ -64683,7 +64683,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Create invite link to share space and add new members" + "value" : "스페이스를 공유하고 멤버를 추가하기 위해 초대 링크 만들기" } }, "nb" : { @@ -64832,7 +64832,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Generate invite link" + "value" : "초대 링크 만들기" } }, "nb" : { @@ -65134,7 +65134,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "You have reached the limit of %d members. New members will not be able to join." + "value" : "%d명의 멤버 한도에 도달했습니다. 새 멤버가 참여할 수 없습니다." } } } @@ -65448,7 +65448,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Share invite link" + "value" : "초대 링크 공유" } }, "nb" : { @@ -65597,7 +65597,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Share this link so that others can join your Stream." + "value" : "다른 사람들이 스트림에 참여할 수 있도록 이 초대 링크를 공유하세요." } }, "nb" : { @@ -65746,7 +65746,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Invite link" + "value" : "초대 링크" } }, "nb" : { @@ -65895,7 +65895,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Request to join" + "value" : "참여 요청" } }, "nb" : { @@ -66044,7 +66044,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Leave a private comment for a space owner" + "value" : "스페이스 소유자에게 비공개 댓글 남기기" } }, "nb" : { @@ -66193,7 +66193,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Once the space owner approves your request, you'll join the space with the access rights owner determined." + "value" : "스페이스 소유자가 요청을 승인하면, 소유자가 결정한 권한으로 스페이스에 참여하게 됩니다." } }, "nb" : { @@ -66342,7 +66342,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "The link you are using does not seem to work. Please ask the owner to share a new one with you." + "value" : "이 링크는 작동하지 않습니다. 소유자에게 새로운 링크를 요청하세요." } }, "nb" : { @@ -66491,7 +66491,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "To join as an editor, ask the owner to add more editor seats or send you a new link with view-only access." + "value" : "편집자로 참여하려면 소유자에게 편집자 한도를 추가하도록 요청하거나, 읽기 전용 권한으로 새로운 링크를 받으세요." } }, "nb" : { @@ -66640,7 +66640,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "This space has reached its limit" + "value" : "이 스페이스는 한도에 도달했습니다" } }, "nb" : { @@ -66789,7 +66789,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You’ve been invited to join **%@** space, created by **%@**. Send a request so space owner can let you in." + "value" : "**%@**가 만든 **%@** 스페이스에 초대되었습니다. 스페이스 소유자가 당신을 초대할 수 있도록 요청을 보내세요." } }, "nb" : { @@ -66938,7 +66938,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "No access to this space" + "value" : "스페이스에 접근할 수 없음" } }, "nb" : { @@ -67087,7 +67087,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Join Space" + "value" : "스페이스 참여" } }, "nb" : { @@ -67236,7 +67236,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You've been invited to join %@, created by %@" + "value" : "**%@**가 만든 **%@** 스페이스에 초대되었습니다." } }, "nb" : { @@ -67385,7 +67385,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Join %@" + "value" : "%@ 참여" } }, "nb" : { @@ -67534,7 +67534,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Ask the owner to share it with you." + "value" : "소유자에게 공유하도록 요청하세요." } }, "nb" : { @@ -67683,7 +67683,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "The space you try to access has been deleted" + "value" : "접근하려는 스페이스는 삭제되었습니다." } }, "nb" : { @@ -67832,7 +67832,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Join a space" + "value" : "스페이스 참여" } }, "nb" : { @@ -67981,7 +67981,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You will receive a notification when the space owner will approve your request." + "value" : "스페이스 소유자가 요청을 승인하면 알림이 전송됩니다." } }, "nb" : { @@ -68130,7 +68130,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Request sent" + "value" : "요청 보냄" } }, "nb" : { @@ -68279,7 +68279,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Join request" + "value" : "참여 요청" } }, "nb" : { @@ -68428,7 +68428,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Leave request" + "value" : "요청 취소" } }, "nb" : { @@ -68726,7 +68726,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Manage Spaces" + "value" : "스페이스 관리" } }, "nb" : { @@ -68875,7 +68875,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Members" + "value" : "멤버" } }, "nb" : { @@ -69024,7 +69024,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Edit" + "value" : "편집" } }, "nb" : { @@ -69322,7 +69322,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Owner" + "value" : "소유자" } }, "nb" : { @@ -69471,7 +69471,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Viewer" + "value" : "읽기 전용" } }, "nb" : { @@ -69620,7 +69620,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Editor" + "value" : "편집자" } }, "nb" : { @@ -69769,7 +69769,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Show QR code" + "value" : "QR 코드 보기" } }, "nb" : { @@ -69918,7 +69918,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "QR code for joining a Space" + "value" : "스페이스 참여를 위한 QR 코드" } }, "nb" : { @@ -70067,7 +70067,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "%@ will be removed from the space." + "value" : "%@이(가) 스페이스에서 삭제됩니다." } }, "nb" : { @@ -70524,7 +70524,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%d requests" + "value" : "%d 요청" } } } @@ -70838,7 +70838,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Share link" + "value" : "링크 공유" } }, "nb" : { @@ -71136,7 +71136,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Members will no longer sync to this space and the share link will be deactivated." + "value" : "멤버들은 더 이상 이 스페이스에 동기화되지 않으며 공유 링크는 비활성화됩니다." } }, "nb" : { @@ -71434,7 +71434,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "The space is no longer shared" + "value" : "이 스페이스는 더 이상 공유되지 않음" } }, "nb" : { @@ -71583,7 +71583,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "You’ve removed the last member, so this space is now private and only accessible to you." + "value" : "마지막 멤버를 지웠습니다. 이제 이 스페이스는 비공개이며 당신만 접근 가능합니다." } }, "nb" : { @@ -71732,7 +71732,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "The space is now private" + "value" : "이 스페이스는 이제 비공개입니다" } }, "nb" : { @@ -71881,7 +71881,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Tap the Space widget to access settings" + "value" : "스페이스 위젯을 눌러 설정에 접근합니다." } }, "nb" : { @@ -72030,7 +72030,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Open Share section" + "value" : "공유 섹션을 엽니다." } }, "nb" : { @@ -72179,7 +72179,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Generate an invite link and share it" + "value" : "초대 링크를 만들고 공유합니다." } }, "nb" : { @@ -72329,7 +72329,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Collaborate on spaces" + "value" : "스페이스에서의 공동 작업" } }, "nb" : { @@ -72478,7 +72478,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Sharing" + "value" : "공유" } }, "nb" : { @@ -72627,7 +72627,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Add as editor" + "value" : "편집자 추가" } }, "nb" : { @@ -72776,7 +72776,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Reject" + "value" : "거부" } }, "nb" : { @@ -72925,7 +72925,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "%@ requested to join %@ space" + "value" : "%@가 %@ 스페이스에 참여하기를 요청했습니다" } }, "nb" : { @@ -73074,7 +73074,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Add as viewer" + "value" : "읽기 전용으로 추가" } }, "nb" : { @@ -73223,7 +73223,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "%@ (you)" + "value" : "%@ (당신)" } }, "nb" : { @@ -73372,7 +73372,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Invite people and start sharing your vibe" + "value" : "사람을 초대해서 당신의 분위기를 전달하세요" } }, "nb" : { @@ -73521,7 +73521,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "This stream is empty" + "value" : "이 스트림은 비어 있음" } }, "nb" : { @@ -74415,7 +74415,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Use template" + "value" : "템플릿 사용" } }, "nb" : { @@ -74564,7 +74564,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Choose template" + "value" : "템플릿 선택" } }, "nb" : { @@ -74873,7 +74873,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "This type has %d templates" + "value" : "이 유형에는 %d개의 템플릿이 있음" } } } @@ -75187,7 +75187,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Object type" + "value" : "오브젝트 유형" } }, "nb" : { @@ -75336,7 +75336,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Select template" + "value" : "템플릿 선택" } }, "nb" : { @@ -75485,7 +75485,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Template" + "value" : "템플릿 " } }, "nb" : { From e496f58d393a279e14db0e87ca2e9e4249837700 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 30 Oct 2025 16:06:35 +0000 Subject: [PATCH 096/228] IOS-5420 Add context7 mcp --- .mcp.json | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.mcp.json b/.mcp.json index 9da3a08c1b..9e7c67d476 100644 --- a/.mcp.json +++ b/.mcp.json @@ -11,6 +11,13 @@ "figma": { "type": "sse", "url": "http://127.0.0.1:3845/sse" + }, + "context7": { + "type": "http", + "url": "https://mcp.context7.com/mcp", + "headers": { + "CONTEXT7_API_KEY": "YOUR_API_KEY" + } } } } \ No newline at end of file From 526d0e55bf8c1a19f3cca4d1246a29f155ef281c Mon Sep 17 00:00:00 2001 From: "claude[bot]" <41898282+claude[bot]@users.noreply.github.com> Date: Thu, 30 Oct 2025 17:23:30 +0000 Subject: [PATCH 097/228] Remove headers section from context7 MCP config Co-authored-by: Vova Ignatov --- .mcp.json | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/.mcp.json b/.mcp.json index 9e7c67d476..7522cb6394 100644 --- a/.mcp.json +++ b/.mcp.json @@ -14,10 +14,7 @@ }, "context7": { "type": "http", - "url": "https://mcp.context7.com/mcp", - "headers": { - "CONTEXT7_API_KEY": "YOUR_API_KEY" - } + "url": "https://mcp.context7.com/mcp" } } } \ No newline at end of file From b5158067eacd72b9115f5eef9b2cf013aa8fd55c Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Fri, 31 Oct 2025 10:59:06 +0300 Subject: [PATCH 098/228] IOS-5423 Fixes --- .../SpaceIconForNotificationsHandler.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Anytype/Sources/ServiceLayer/SpaceIconForNotificationsHandler/SpaceIconForNotificationsHandler.swift b/Anytype/Sources/ServiceLayer/SpaceIconForNotificationsHandler/SpaceIconForNotificationsHandler.swift index ce77ff0534..560f84cd3e 100644 --- a/Anytype/Sources/ServiceLayer/SpaceIconForNotificationsHandler/SpaceIconForNotificationsHandler.swift +++ b/Anytype/Sources/ServiceLayer/SpaceIconForNotificationsHandler/SpaceIconForNotificationsHandler.swift @@ -19,11 +19,13 @@ actor SpaceIconForNotificationsHandler: SpaceIconForNotificationsHandlerProtocol @UserDefault("SpaceIcon.SavedItems", defaultValue: [:]) private var savedIcons: [String: Int] - private var workspaceSubscription: Task? + private var workspaceSubscription: Task? private var tasks = [String: Task]() func startUpdating() async { workspaceSubscription = Task { [weak self, workspacesStorage] in + // Do not affect the start of the application. The images are rendered on the main thread. + try await Task.sleep(seconds: 10) for await workspaces in workspacesStorage.allSpaceViewsPublisher.values { await self?.handleSpaces(workspaces: workspaces) } From 6e0d0d40f4fbe16cd9d4a70bbbdd2078f696aa4c Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Fri, 31 Oct 2025 11:01:11 +0300 Subject: [PATCH 099/228] IOS-5423 Add detached --- .../SpaceIconForNotificationsHandler.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Anytype/Sources/ServiceLayer/SpaceIconForNotificationsHandler/SpaceIconForNotificationsHandler.swift b/Anytype/Sources/ServiceLayer/SpaceIconForNotificationsHandler/SpaceIconForNotificationsHandler.swift index 560f84cd3e..74d1b1fdd6 100644 --- a/Anytype/Sources/ServiceLayer/SpaceIconForNotificationsHandler/SpaceIconForNotificationsHandler.swift +++ b/Anytype/Sources/ServiceLayer/SpaceIconForNotificationsHandler/SpaceIconForNotificationsHandler.swift @@ -23,7 +23,7 @@ actor SpaceIconForNotificationsHandler: SpaceIconForNotificationsHandlerProtocol private var tasks = [String: Task]() func startUpdating() async { - workspaceSubscription = Task { [weak self, workspacesStorage] in + workspaceSubscription = Task.detached { [weak self, workspacesStorage] in // Do not affect the start of the application. The images are rendered on the main thread. try await Task.sleep(seconds: 10) for await workspaces in workspacesStorage.allSpaceViewsPublisher.values { From 090c9d3792afae28657bab7b5716f70136569215 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Fri, 31 Oct 2025 12:02:23 +0300 Subject: [PATCH 100/228] IOS-5424 Migrate participant to ObjectCrossSpaceSearchSubscribe --- .../Documents/Document/BaseDocument.swift | 11 ++- .../GlobalSearch/GlobalSearchViewModel.swift | 2 +- .../Modules/BinList/BimListViewModel.swift | 2 +- .../Modules/Chat/ChatViewModel.swift | 2 +- .../Modules/Date/DateViewModel.swift | 2 +- .../Container/HomeWidgetsViewModel.swift | 4 +- .../ObjectTypeWidgetViewModel.swift | 2 +- .../Common/WidgetObjectListViewModel.swift | 2 +- .../ObjectTypeSearchViewModel.swift | 2 +- .../TextEditor/Set/Models/SetDocument.swift | 14 +++- ...AcountParticipantSubscriptionBuilder.swift | 10 +-- ...ultispaceOneActiveSubscriptionHelper.swift | 5 +- .../MultispaceSubscriptionHelper.swift | 80 ------------------- .../ObjectTypeSubscriptionDataBuilder.swift | 6 +- .../ParticipantSpacesStorage.swift | 12 +-- .../ParticipantsStorage.swift | 78 ++++++++++++------ .../PropertySubscriptionDataBuilder.swift | 6 +- .../Internals/SubscriptionToggler.swift | 14 ++++ .../SubscriptionData+Info.swift | 2 + .../AsyncTools/AsyncToManyStream.swift | 11 +++ .../SubscriptionData/SubscriptionData.swift | 29 +++++++ .../ObjectSubscriptionService.swift | 20 +++++ 22 files changed, 172 insertions(+), 144 deletions(-) delete mode 100644 Anytype/Sources/ServiceLayer/MultispaceSubscriptionHelper/MultispaceSubscriptionHelper.swift diff --git a/Anytype/Sources/Models/Documents/Document/BaseDocument.swift b/Anytype/Sources/Models/Documents/Document/BaseDocument.swift index 07ac0f4a57..927fe77799 100644 --- a/Anytype/Sources/Models/Documents/Document/BaseDocument.swift +++ b/Anytype/Sources/Models/Documents/Document/BaseDocument.swift @@ -268,10 +268,15 @@ final class BaseDocument: BaseDocumentProtocol, @unchecked Sendable { self?.triggerSync(updates: [.syncStatus]) }.store(in: &subscriptions) - accountParticipantsStorage.canEditPublisher(spaceId: spaceId).receiveOnMain().sink { [weak self] canEdit in - self?.participantIsEditor = canEdit - self?.triggerSync(updates: [.restrictions]) + Task.detached { [weak self, accountParticipantsStorage, spaceId] in + for await canEdit in accountParticipantsStorage.canEditSequence(spaceId: spaceId) { + await Task { @MainActor [weak self] in + self?.participantIsEditor = canEdit + self?.triggerSync(updates: [.restrictions]) + }.value + } } + .cancellable() .store(in: &subscriptions) propertyDetailsStorage.relationsDetailsPublisher(spaceId: spaceId) diff --git a/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/GlobalSearch/GlobalSearchViewModel.swift b/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/GlobalSearch/GlobalSearchViewModel.swift index 7308220d9b..711f50f5c4 100644 --- a/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/GlobalSearch/GlobalSearchViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/GlobalSearch/GlobalSearchViewModel.swift @@ -38,7 +38,7 @@ final class GlobalSearchViewModel: ObservableObject { } func startParticipantTask() async { - for await participant in accountParticipantStorage.participantPublisher(spaceId: moduleData.spaceId).values { + for await participant in accountParticipantStorage.participantSequence(spaceId: moduleData.spaceId) { participantCanEdit = participant.canEdit updateSections() } diff --git a/Anytype/Sources/PresentationLayer/Modules/BinList/BimListViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/BinList/BimListViewModel.swift index ebb9750b47..23e129aeb2 100644 --- a/Anytype/Sources/PresentationLayer/Modules/BinList/BimListViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/BinList/BimListViewModel.swift @@ -106,7 +106,7 @@ final class BinListViewModel: ObservableObject, OptionsItemProvider { } private func subscribeOnParticipant() async { - for await participant in accountParticipantStorage.participantPublisher(spaceId: spaceId).values { + for await participant in accountParticipantStorage.participantSequence(spaceId: spaceId) { self.participant = participant updateView() } diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift index b4681d041c..3f4b51b6c0 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift @@ -629,7 +629,7 @@ final class ChatViewModel: MessageModuleOutput, ChatActionProviderHandler { } private func subscribeOnPermissions() async { - for await canEditMessages in accountParticipantsStorage.canEditPublisher(spaceId: spaceId).values { + for await canEditMessages in accountParticipantsStorage.canEditSequence(spaceId: spaceId) { canEdit = canEditMessages } } diff --git a/Anytype/Sources/PresentationLayer/Modules/Date/DateViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/Date/DateViewModel.swift index 913ecc0fe6..c2c6095bf7 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Date/DateViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Date/DateViewModel.swift @@ -190,7 +190,7 @@ final class DateViewModel: ObservableObject { } func subscribeOnParticipant() async { - for await participant in accountParticipantStorage.participantPublisher(spaceId: spaceId).values { + for await participant in accountParticipantStorage.participantSequence(spaceId: spaceId) { participantCanEdit = participant.canEdit updateRows() } diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift index 4c08c50833..414b86b7ac 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift @@ -140,7 +140,7 @@ final class HomeWidgetsViewModel { let blocks = widgetObject.children.filter(\.isWidget) recentStateManager.setupRecentStateIfNeeded(blocks: blocks, widgetObject: widgetObject) - var newWidgetBlocks = blocks + let newWidgetBlocks = blocks .compactMap { widgetObject.widgetInfo(block: $0) } guard widgetBlocks != newWidgetBlocks else { continue } @@ -150,7 +150,7 @@ final class HomeWidgetsViewModel { } private func startParticipantTask() async { - for await canEdit in accountParticipantStorage.canEditPublisher(spaceId: info.accountSpaceId).values { + for await canEdit in accountParticipantStorage.canEditSequence(spaceId: info.accountSpaceId) { homeState = canEdit ? .readwrite : .readonly canCreateObjectType = canEdit } diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/ObjectType/ObjectTypeWidgetViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/ObjectType/ObjectTypeWidgetViewModel.swift index 97956b3110..cda3d79662 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/ObjectType/ObjectTypeWidgetViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/ObjectType/ObjectTypeWidgetViewModel.swift @@ -103,7 +103,7 @@ final class ObjectTypeWidgetViewModel { } private func startParticipantSubscription() async { - for await canEdit in accountParticipantsStorage.canEditPublisher(spaceId: info.spaceId).values { + for await canEdit in accountParticipantsStorage.canEditSequence(spaceId: info.spaceId) { self.canEdit = canEdit } } diff --git a/Anytype/Sources/PresentationLayer/Modules/WidgetObjectList/Common/WidgetObjectListViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/WidgetObjectList/Common/WidgetObjectListViewModel.swift index d01189ca8b..46b3e79979 100644 --- a/Anytype/Sources/PresentationLayer/Modules/WidgetObjectList/Common/WidgetObjectListViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/WidgetObjectList/Common/WidgetObjectListViewModel.swift @@ -86,7 +86,7 @@ final class WidgetObjectListViewModel: ObservableObject, OptionsItemProvider, Wi } func startParticipantTask() async { - for await participant in accountParticipantStorage.participantPublisher(spaceId: spaceId).values { + for await participant in accountParticipantStorage.participantSequence(spaceId: spaceId) { self.participant = participant canEdit = participant.canEdit editMode = canEdit ? internalModel.editMode : .normal(allowDnd: false) diff --git a/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewModel.swift b/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewModel.swift index d692e22f4a..c208096371 100644 --- a/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewModel.swift +++ b/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewModel.swift @@ -52,7 +52,7 @@ final class ObjectTypeSearchViewModel: ObservableObject { } func subscribeOnParticipant() async { - for await participant in accountParticipantStorage.participantPublisher(spaceId: spaceId).values { + for await participant in accountParticipantStorage.participantSequence(spaceId: spaceId) { participantCanEdit = participant.canEdit } } diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Models/SetDocument.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Models/SetDocument.swift index d402c5917f..06cc3365fe 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Models/SetDocument.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Models/SetDocument.swift @@ -240,10 +240,16 @@ final class SetDocument: SetDocumentProtocol, @unchecked Sendable { } .store(in: &subscriptions) - accountParticipantsStorage.canEditPublisher(spaceId: spaceId).receiveOnMain().sink { [weak self] canEdit in - self?.participantIsEditor = canEdit - self?.updateData() - }.store(in: &subscriptions) + Task.detached { [weak self, accountParticipantsStorage, spaceId] in + for await canEdit in accountParticipantsStorage.canEditSequence(spaceId: spaceId) { + await Task { @MainActor [weak self] in + self?.participantIsEditor = canEdit + self?.updateData() + }.value + } + } + .cancellable() + .store(in: &subscriptions) } private func updateData() { diff --git a/Anytype/Sources/ServiceLayer/AccountParticipantsStorage/AcountParticipantSubscriptionBuilder.swift b/Anytype/Sources/ServiceLayer/AccountParticipantsStorage/AcountParticipantSubscriptionBuilder.swift index 787adb8b52..c8f620d3f2 100644 --- a/Anytype/Sources/ServiceLayer/AccountParticipantsStorage/AcountParticipantSubscriptionBuilder.swift +++ b/Anytype/Sources/ServiceLayer/AccountParticipantsStorage/AcountParticipantSubscriptionBuilder.swift @@ -2,21 +2,19 @@ import Foundation import Services -final class AcountParticipantSubscriptionBuilder: MultispaceSubscriptionDataBuilderProtocol { +final class AcountParticipantSubscriptionBuilder { - func build(accountId: String, spaceId: String, subId: String) -> SubscriptionData { + func build(accountId: String, subId: String) -> SubscriptionData { let filters: [DataviewFilter] = .builder { SearchHelper.identity(accountId) SearchHelper.layoutFilter([.participant]) } - let searchData: SubscriptionData = .search( - SubscriptionData.Search( + let searchData: SubscriptionData = .crossSpaceSearch( + SubscriptionData.CrossSpaceSearch( identifier: subId, - spaceId: spaceId, filters: filters, - limit: 0, keys: Participant.subscriptionKeys.map { $0.rawValue }, noDepSubscription: true ) diff --git a/Anytype/Sources/ServiceLayer/MultispaceSubscriptionHelper/MultispaceOneActiveSubscriptionHelper.swift b/Anytype/Sources/ServiceLayer/MultispaceSubscriptionHelper/MultispaceOneActiveSubscriptionHelper.swift index f1de161cbc..d6a2e7d2c5 100644 --- a/Anytype/Sources/ServiceLayer/MultispaceSubscriptionHelper/MultispaceOneActiveSubscriptionHelper.swift +++ b/Anytype/Sources/ServiceLayer/MultispaceSubscriptionHelper/MultispaceOneActiveSubscriptionHelper.swift @@ -3,12 +3,11 @@ import AnytypeCore import Combine import Services -protocol MultispaceSearchDataBuilderProtocol: AnyObject, Sendable { +protocol MultispaceOneActiveSubscriptionDataBuilder: AnyObject, Sendable { func buildSearch(spaceId: String) -> SearchRequest + func build(accountId: String, spaceId: String, subId: String) -> SubscriptionData } -typealias MultispaceOneActiveSubscriptionDataBuilder = MultispaceSubscriptionDataBuilderProtocol & MultispaceSearchDataBuilderProtocol - actor MultispaceOneActiveSubscriptionHelper: Sendable { // MARK: - DI diff --git a/Anytype/Sources/ServiceLayer/MultispaceSubscriptionHelper/MultispaceSubscriptionHelper.swift b/Anytype/Sources/ServiceLayer/MultispaceSubscriptionHelper/MultispaceSubscriptionHelper.swift deleted file mode 100644 index 8362852404..0000000000 --- a/Anytype/Sources/ServiceLayer/MultispaceSubscriptionHelper/MultispaceSubscriptionHelper.swift +++ /dev/null @@ -1,80 +0,0 @@ -import Foundation -import AnytypeCore -import Combine -import Services - -protocol MultispaceSubscriptionDataBuilderProtocol: AnyObject, Sendable { - func build(accountId: String, spaceId: String, subId: String) -> SubscriptionData -} - -final class MultispaceSubscriptionHelper: Sendable { - - // MARK: - DI - - private let subIdPrefix: String - private let subscriptionBuilder: any MultispaceSubscriptionDataBuilderProtocol - - private let workspacessStorage: any SpaceViewsStorageProtocol = Container.shared.spaceViewsStorage() - private let subscriptionStorageProvider: any SubscriptionStorageProviderProtocol = Container.shared.subscriptionStorageProvider() - private let accountManager: any AccountManagerProtocol = Container.shared.accountManager() - - // MARK: - State - - let data = SynchronizedDictionary() - - private let subscriptionStorages = SynchronizedDictionary() - private let spacesSubscription = AtomicStorage(nil) - - init(subIdPrefix: String, subscriptionBuilder: any MultispaceSubscriptionDataBuilderProtocol) { - self.subIdPrefix = subIdPrefix - self.subscriptionBuilder = subscriptionBuilder - } - - func startSubscription(update: @escaping @Sendable () -> Void) async { - // Start first subscription in current async context for guarantee data state before return - let spaceIds = workspacessStorage.allSpaceViews - .filter { $0.isActive || $0.isLoading } - .map { $0.targetSpaceId } - await updateSubscriptions(spaceIds: spaceIds, update: update) - - spacesSubscription.value = workspacessStorage.allSpaceViewsPublisher - .map { $0.filter { $0.isActive || $0.isLoading }.map { $0.targetSpaceId } } - .removeDuplicates() - .receiveOnMain() - .sink { [weak self] spaceIds in - Task { @Sendable [weak self] in - await self?.updateSubscriptions(spaceIds: spaceIds, update: update) - } - } - } - - func stopSubscription() async { - spacesSubscription.value?.cancel() - spacesSubscription.value = nil - for subscriptionStorage in subscriptionStorages.values { - try? await subscriptionStorage.stopSubscription() - } - subscriptionStorages.removeAll() - data.removeAll() - } - - private func updateSubscriptions(spaceIds: [String], update: @escaping (@Sendable () -> Void)) async { - for spaceId in spaceIds { - if subscriptionStorages[spaceId].isNil { - let subId = subIdPrefix + spaceId - let subscriptionStorage = subscriptionStorageProvider.createSubscriptionStorage(subId: subId) - subscriptionStorages[spaceId] = subscriptionStorage - try? await subscriptionStorage.startOrUpdateSubscription( - data: subscriptionBuilder.build(accountId: accountManager.account.id, spaceId: spaceId, subId: subId) - ) { [weak self] data in - self?.updateStorage(subscriptionState: data, spaceId: spaceId, update: update) - } - } - } - } - - private func updateStorage(subscriptionState: SubscriptionStorageState, spaceId: String, update: (() -> Void)) { - data[spaceId] = subscriptionState.items.compactMap { try? Value(details: $0) } - update() - } -} diff --git a/Anytype/Sources/ServiceLayer/Object/TypeProvider/Subscription/ObjectTypeSubscriptionDataBuilder.swift b/Anytype/Sources/ServiceLayer/Object/TypeProvider/Subscription/ObjectTypeSubscriptionDataBuilder.swift index 6bc9e78e11..f1ec503602 100644 --- a/Anytype/Sources/ServiceLayer/Object/TypeProvider/Subscription/ObjectTypeSubscriptionDataBuilder.swift +++ b/Anytype/Sources/ServiceLayer/Object/TypeProvider/Subscription/ObjectTypeSubscriptionDataBuilder.swift @@ -1,11 +1,11 @@ import Foundation import Services -final class ObjectTypeSubscriptionDataBuilder: MultispaceSubscriptionDataBuilderProtocol, MultispaceSearchDataBuilderProtocol { +final class ObjectTypeSubscriptionDataBuilder: MultispaceOneActiveSubscriptionDataBuilder { private let workspaceStorage: any SpaceViewsStorageProtocol = Container.shared.spaceViewsStorage() - // MARK: - MultispaceSubscriptionDataBuilderProtocol + // MARK: - MultispaceOneActiveSubscriptionDataBuilder func build(accountId: String, spaceId: String, subId: String) -> SubscriptionData { @@ -27,8 +27,6 @@ final class ObjectTypeSubscriptionDataBuilder: MultispaceSubscriptionDataBuilder ) } - // MARK: - MultispaceSearchDataBuilderProtocol - func buildSearch(spaceId: String) -> SearchRequest { let sort = SearchHelper.sort( relation: BundledPropertyKey.name, diff --git a/Anytype/Sources/ServiceLayer/ParticipantSpaceStorage/ParticipantSpacesStorage.swift b/Anytype/Sources/ServiceLayer/ParticipantSpaceStorage/ParticipantSpacesStorage.swift index a9d839708e..355480b972 100644 --- a/Anytype/Sources/ServiceLayer/ParticipantSpaceStorage/ParticipantSpacesStorage.swift +++ b/Anytype/Sources/ServiceLayer/ParticipantSpaceStorage/ParticipantSpacesStorage.swift @@ -1,7 +1,8 @@ import Foundation -import Combine +@preconcurrency import Combine import Services import AnytypeCore +import AsyncAlgorithms protocol ParticipantSpacesStorageProtocol: AnyObject, Sendable { var allParticipantSpaces: [ParticipantSpaceViewData] { get } @@ -54,8 +55,8 @@ final class ParticipantSpacesStorage: ParticipantSpacesStorageProtocol { private let participantsStorage: any ParticipantsStorageProtocol = Container.shared.participantsStorage() private let serverConfigurationStorage: any ServerConfigurationStorageProtocol = Container.shared.serverConfigurationStorage() private let profileStorage: any ProfileStorageProtocol = Container.shared.profileStorage() - - private let subscription = AtomicStorage(nil) + + private let subscription = AtomicStorage?>(nil) private let allParticipantSpacesStorage = AtomicPublishedStorage<[ParticipantSpaceViewData]>([]) @@ -75,10 +76,11 @@ final class ParticipantSpacesStorage: ParticipantSpacesStorageProtocol { } func startSubscription() async { - subscription.value = Publishers.CombineLatest(spaceViewsStorage.allSpaceViewsPublisher, participantsStorage.participantsPublisher) - .sink { [weak self] spaces, participants in + subscription.value = Task.detached { [weak self, spaceViewsStorage, participantsStorage] in + for await (spaces, participants) in combineLatest(spaceViewsStorage.allSpaceViewsPublisher.values, participantsStorage.participantsSequence) { self?.updateData(spaces: spaces, participants: participants) } + } } func stopSubscription() async { diff --git a/Anytype/Sources/ServiceLayer/ParticipantStorage/ParticipantsStorage.swift b/Anytype/Sources/ServiceLayer/ParticipantStorage/ParticipantsStorage.swift index 68233442b8..028eda3fab 100644 --- a/Anytype/Sources/ServiceLayer/ParticipantStorage/ParticipantsStorage.swift +++ b/Anytype/Sources/ServiceLayer/ParticipantStorage/ParticipantsStorage.swift @@ -2,61 +2,87 @@ import Foundation import Services import Combine import AnytypeCore +import AsyncTools +import AsyncAlgorithms protocol ParticipantsStorageProtocol: AnyObject, Sendable { var participants: [Participant] { get } - var participantsPublisher: AnyPublisher<[Participant], Never> { get } + var participantsSequence: AnyAsyncSequence<[Participant]> { get } func startSubscription() async func stopSubscription() async } extension ParticipantsStorageProtocol { - func participantPublisher(spaceId: String) -> AnyPublisher { - participantsPublisher.compactMap { $0.first { $0.spaceId == spaceId } }.eraseToAnyPublisher() + func participantSequence(spaceId: String) -> AnyAsyncSequence { + participantsSequence.compactMap { $0.first { $0.spaceId == spaceId } }.removeDuplicates().eraseToAnyAsyncSequence() } - func permissionPublisher(spaceId: String) -> AnyPublisher { - participantPublisher(spaceId: spaceId).map(\.permission).removeDuplicates().eraseToAnyPublisher() + func permissionSequence(spaceId: String) -> AnyAsyncSequence { + participantSequence(spaceId: spaceId).map(\.permission).removeDuplicates().eraseToAnyAsyncSequence() } - func canEditPublisher(spaceId: String) -> AnyPublisher { - participantPublisher(spaceId: spaceId).map(\.permission.canEdit).removeDuplicates().eraseToAnyPublisher() + func canEditSequence(spaceId: String) -> AnyAsyncSequence { + participantSequence(spaceId: spaceId).map(\.permission.canEdit).removeDuplicates().eraseToAnyAsyncSequence() } } -final class ParticipantsStorage: ParticipantsStorageProtocol, Sendable { +actor ParticipantsStorage: ParticipantsStorageProtocol, Sendable { - private enum Constants { - static let subscriptionIdPrefix = "SubscriptionId.Participant-" - } + private let subscriptionId = "SubscriptionId.Participant-\(UUID().uuidString)" // MARK: - DI - private let multispaceSubscriptionHelper = MultispaceSubscriptionHelper( - subIdPrefix: Constants.subscriptionIdPrefix, - subscriptionBuilder: AcountParticipantSubscriptionBuilder() - ) - private let storage = AtomicPublishedStorage<[Participant]>([]) - +// private let multispaceSubscriptionHelper = MultispaceSubscriptionHelper( +// subIdPrefix: Constants.subscriptionIdPrefix, +// subscriptionBuilder: AcountParticipantSubscriptionBuilder() +// ) + private let stream = AsyncToManyStream<[Participant]>() + private var subscription: Task? + + @LazyInjected(\.subscriptionStorageProvider) + private var subscriptionStorageProvider: any SubscriptionStorageProviderProtocol + @Injected(\.accountManager) + private var accountManager: any AccountManagerProtocol + + private lazy var subscriptionStorage: any SubscriptionStorageProtocol = { + subscriptionStorageProvider.createSubscriptionStorage(subId: subscriptionId) + }() + + private let subscriptionBuilder = AcountParticipantSubscriptionBuilder() + // MARK: - State - var participants: [Participant] { storage.value } - var participantsPublisher: AnyPublisher<[Participant], Never> { storage.publisher.removeDuplicates().eraseToAnyPublisher() } + nonisolated var participants: [Participant] { stream.value ?? [] } + nonisolated var participantsSequence: AnyAsyncSequence<[Participant]> { stream.eraseToAnyAsyncSequence() } func startSubscription() async { - await multispaceSubscriptionHelper.startSubscription { [weak self] in - self?.updatePartiipants() + guard subscription.isNil else { + anytypeAssertionFailure("Try to start ParticipantsStorage multiple times") + return + } + + let data = subscriptionBuilder.build(accountId: accountManager.account.id, subId: subscriptionId) + try? await subscriptionStorage.startOrUpdateSubscription(data: data) + + subscription = Task.detached { [weak self, subscriptionStorage] in + for await state in subscriptionStorage.statePublisher.values { + let participants = state.items.compactMap { try? Participant(details: $0) } + self?.stream.send(participants) + } } } func stopSubscription() async { - await multispaceSubscriptionHelper.stopSubscription() - storage.value.removeAll() + try? await subscriptionStorage.stopSubscription() + subscription = nil + stream.clearLastValue() +// await multispaceSubscriptionHelper.stopSubscription() +// storage.value.removeAll() } // MARK: - Private - private func updatePartiipants() { - storage.value = multispaceSubscriptionHelper.data.values.flatMap { $0 } - } +// private func updatePartiipants() { +// storage.value = multispaceSubscriptionHelper.data.values.flatMap { $0 } +// } } diff --git a/Anytype/Sources/ServiceLayer/PropertyStorage/Subscription/PropertySubscriptionDataBuilder.swift b/Anytype/Sources/ServiceLayer/PropertyStorage/Subscription/PropertySubscriptionDataBuilder.swift index 5459447eb1..a0bf0b9137 100644 --- a/Anytype/Sources/ServiceLayer/PropertyStorage/Subscription/PropertySubscriptionDataBuilder.swift +++ b/Anytype/Sources/ServiceLayer/PropertyStorage/Subscription/PropertySubscriptionDataBuilder.swift @@ -1,9 +1,9 @@ import Foundation import Services -final class PropertySubscriptionDataBuilder: MultispaceSubscriptionDataBuilderProtocol, MultispaceSearchDataBuilderProtocol { +final class PropertySubscriptionDataBuilder: MultispaceOneActiveSubscriptionDataBuilder { - // MARK: - MultispaceSubscriptionDataBuilderProtocol + // MARK: - MultispaceOneActiveSubscriptionDataBuilder func build(accountId: String, spaceId: String, subId: String) -> SubscriptionData { let sort = SearchHelper.sort( @@ -29,8 +29,6 @@ final class PropertySubscriptionDataBuilder: MultispaceSubscriptionDataBuilderPr ) } - // MARK: - MultispaceSearchDataBuilderProtocol - func buildSearch(spaceId: String) -> SearchRequest { let sort = SearchHelper.sort( relation: BundledPropertyKey.name, diff --git a/Anytype/Sources/ServiceLayer/SubscriptionsToggler/Internals/SubscriptionToggler.swift b/Anytype/Sources/ServiceLayer/SubscriptionsToggler/Internals/SubscriptionToggler.swift index 02c69adfc5..c74f287fe2 100644 --- a/Anytype/Sources/ServiceLayer/SubscriptionsToggler/Internals/SubscriptionToggler.swift +++ b/Anytype/Sources/ServiceLayer/SubscriptionsToggler/Internals/SubscriptionToggler.swift @@ -20,6 +20,8 @@ final class SubscriptionToggler: SubscriptionTogglerProtocol { return try await makeSearchToggler(data: data) case let .objects(data): return try await makeObjectsToggler(data: data) + case let .crossSpaceSearch(data): + return try await makeCrossSpaceSearchToggler(data: data) } } @@ -57,4 +59,16 @@ final class SubscriptionToggler: SubscriptionTogglerProtocol { nextCount: response.nextCount ) } + + private func makeCrossSpaceSearchToggler(data: SubscriptionData.CrossSpaceSearch) async throws -> SubscriptionTogglerResult { + let response = try await objectSubscriptionService.objectCrossSpaceSearchSubscribe(data: data) + + return SubscriptionTogglerResult( + records: response.records, + dependencies: response.dependencies, + total: response.total, + prevCount: response.prevCount, + nextCount: response.nextCount + ) + } } diff --git a/Anytype/Sources/ServiceLayer/SubscriptionsToggler/SubscriptionData+Info.swift b/Anytype/Sources/ServiceLayer/SubscriptionsToggler/SubscriptionData+Info.swift index 87eda492b9..7e8b9e2f90 100644 --- a/Anytype/Sources/ServiceLayer/SubscriptionsToggler/SubscriptionData+Info.swift +++ b/Anytype/Sources/ServiceLayer/SubscriptionsToggler/SubscriptionData+Info.swift @@ -7,6 +7,8 @@ extension SubscriptionData { return description.identifier case .objects(let description): return description.identifier + case .crossSpaceSearch(let description): + return description.identifier } } } diff --git a/Modules/AsyncTools/Sources/AsyncTools/AsyncToManyStream.swift b/Modules/AsyncTools/Sources/AsyncTools/AsyncToManyStream.swift index 29d9bb8563..bc1d5c764d 100644 --- a/Modules/AsyncTools/Sources/AsyncTools/AsyncToManyStream.swift +++ b/Modules/AsyncTools/Sources/AsyncTools/AsyncToManyStream.swift @@ -12,6 +12,10 @@ public final class AsyncToManyStream: AsyncSequence, @unchecked Sendable wher public init() {} + public var value: T? { + return lastValue + } + public func makeAsyncIterator() -> AsyncIterator { subscribe().makeAsyncIterator() } @@ -70,6 +74,7 @@ public final class AsyncToManyStream: AsyncSequence, @unchecked Sendable wher continuation.finish() } continuations.removeAll() + lastValue = nil } private func removeContinuation(_ id: UUID) { @@ -77,4 +82,10 @@ public final class AsyncToManyStream: AsyncSequence, @unchecked Sendable wher defer { lock.unlock() } continuations.removeValue(forKey: id) } + + public func clearLastValue() { + lock.lock() + defer { lock.unlock() } + lastValue = nil + } } diff --git a/Modules/Services/Sources/Models/SubscriptionData/SubscriptionData.swift b/Modules/Services/Sources/Models/SubscriptionData/SubscriptionData.swift index cc2195c5b3..155b75f503 100644 --- a/Modules/Services/Sources/Models/SubscriptionData/SubscriptionData.swift +++ b/Modules/Services/Sources/Models/SubscriptionData/SubscriptionData.swift @@ -1,6 +1,7 @@ public enum SubscriptionData: Equatable, Sendable { case search(Search) case objects(Object) + case crossSpaceSearch(CrossSpaceSearch) } extension SubscriptionData { @@ -70,4 +71,32 @@ extension SubscriptionData { self.ignoreWorkspace = ignoreWorkspace } } + + public struct CrossSpaceSearch: Equatable, Sendable { + public let identifier: String + public let sorts: [DataviewSort] + public let filters: [DataviewFilter] + public let keys: [String] + public let source: [String]? + public let noDepSubscription: Bool + public let collectionId: String? + + public init( + identifier: String, + sorts: [DataviewSort] = [], + filters: [DataviewFilter], + keys: [String], + source: [String]? = nil, + noDepSubscription: Bool = false, + collectionId: String? = nil + ) { + self.identifier = identifier + self.sorts = sorts + self.filters = filters + self.keys = keys + self.source = source + self.noDepSubscription = noDepSubscription + self.collectionId = collectionId + } + } } diff --git a/Modules/Services/Sources/Services/ObjectSubscriptionService/ObjectSubscriptionService.swift b/Modules/Services/Sources/Services/ObjectSubscriptionService/ObjectSubscriptionService.swift index f1d51d231a..86bd1fc75e 100644 --- a/Modules/Services/Sources/Services/ObjectSubscriptionService/ObjectSubscriptionService.swift +++ b/Modules/Services/Sources/Services/ObjectSubscriptionService/ObjectSubscriptionService.swift @@ -3,6 +3,7 @@ import ProtobufMessages public protocol ObjectSubscriptionServiceProtocol: Sendable { func objectSubscribe(data: SubscriptionData.Object) async throws -> ObjectSubscriptionResponse func objectSearchSubscribe(data: SubscriptionData.Search) async throws -> ObjectSubscriptionResponse + func objectCrossSpaceSearchSubscribe(data: SubscriptionData.CrossSpaceSearch) async throws -> ObjectSubscriptionResponse func stopSubscriptions(ids: [String]) async throws } @@ -48,6 +49,25 @@ final class ObjectSubscriptionService: ObjectSubscriptionServiceProtocol { ) } + func objectCrossSpaceSearchSubscribe(data: SubscriptionData.CrossSpaceSearch) async throws -> ObjectSubscriptionResponse { + let result = try await ClientCommands.objectCrossSpaceSearchSubscribe(.with { + $0.subID = data.identifier + $0.filters = data.filters + $0.sorts = data.sorts.map { $0.fixIncludeTime() } + $0.keys = data.keys + $0.source = data.source ?? [] + $0.noDepSubscription = data.noDepSubscription + $0.collectionID = data.collectionId ?? "" + }).invoke() + return ObjectSubscriptionResponse( + records: result.records.asDetais, + dependencies: result.dependencies.asDetais, + total: Int(result.counters.total), + prevCount: Int(result.counters.prevCount), + nextCount: Int(result.counters.nextCount) + ) + } + public func stopSubscriptions(ids: [String]) async throws { try await ClientCommands.objectSearchUnsubscribe(.with { $0.subIds = ids From c201bc8deef9ed4440e4338def93a44960835293 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Fri, 31 Oct 2025 12:06:19 +0300 Subject: [PATCH 101/228] IOS-5423 Change priority --- .../SpaceIconForNotificationsHandler.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Anytype/Sources/ServiceLayer/SpaceIconForNotificationsHandler/SpaceIconForNotificationsHandler.swift b/Anytype/Sources/ServiceLayer/SpaceIconForNotificationsHandler/SpaceIconForNotificationsHandler.swift index 74d1b1fdd6..e6442e2856 100644 --- a/Anytype/Sources/ServiceLayer/SpaceIconForNotificationsHandler/SpaceIconForNotificationsHandler.swift +++ b/Anytype/Sources/ServiceLayer/SpaceIconForNotificationsHandler/SpaceIconForNotificationsHandler.swift @@ -23,7 +23,7 @@ actor SpaceIconForNotificationsHandler: SpaceIconForNotificationsHandlerProtocol private var tasks = [String: Task]() func startUpdating() async { - workspaceSubscription = Task.detached { [weak self, workspacesStorage] in + workspaceSubscription = Task(priority: .utility) { [weak self, workspacesStorage] in // Do not affect the start of the application. The images are rendered on the main thread. try await Task.sleep(seconds: 10) for await workspaces in workspacesStorage.allSpaceViewsPublisher.values { From f566d1ab43bfef0bf9a154556b3c64bfe170ef15 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Fri, 31 Oct 2025 12:35:28 +0300 Subject: [PATCH 102/228] IOS-5424 Fix ci comments --- .../Documents/Document/BaseDocument.swift | 8 +++----- .../TextEditor/Set/Models/SetDocument.swift | 8 +++----- .../ParticipantsStorage.swift | 17 +++-------------- 3 files changed, 9 insertions(+), 24 deletions(-) diff --git a/Anytype/Sources/Models/Documents/Document/BaseDocument.swift b/Anytype/Sources/Models/Documents/Document/BaseDocument.swift index 927fe77799..b2f86c2eee 100644 --- a/Anytype/Sources/Models/Documents/Document/BaseDocument.swift +++ b/Anytype/Sources/Models/Documents/Document/BaseDocument.swift @@ -268,12 +268,10 @@ final class BaseDocument: BaseDocumentProtocol, @unchecked Sendable { self?.triggerSync(updates: [.syncStatus]) }.store(in: &subscriptions) - Task.detached { [weak self, accountParticipantsStorage, spaceId] in + Task { @MainActor [weak self, accountParticipantsStorage, spaceId] in for await canEdit in accountParticipantsStorage.canEditSequence(spaceId: spaceId) { - await Task { @MainActor [weak self] in - self?.participantIsEditor = canEdit - self?.triggerSync(updates: [.restrictions]) - }.value + self?.participantIsEditor = canEdit + self?.triggerSync(updates: [.restrictions]) } } .cancellable() diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Models/SetDocument.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Models/SetDocument.swift index 06cc3365fe..0a40e6769f 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Models/SetDocument.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Models/SetDocument.swift @@ -240,12 +240,10 @@ final class SetDocument: SetDocumentProtocol, @unchecked Sendable { } .store(in: &subscriptions) - Task.detached { [weak self, accountParticipantsStorage, spaceId] in + Task { @MainActor [weak self, accountParticipantsStorage, spaceId] in for await canEdit in accountParticipantsStorage.canEditSequence(spaceId: spaceId) { - await Task { @MainActor [weak self] in - self?.participantIsEditor = canEdit - self?.updateData() - }.value + self?.participantIsEditor = canEdit + self?.updateData() } } .cancellable() diff --git a/Anytype/Sources/ServiceLayer/ParticipantStorage/ParticipantsStorage.swift b/Anytype/Sources/ServiceLayer/ParticipantStorage/ParticipantsStorage.swift index 028eda3fab..30258d9937 100644 --- a/Anytype/Sources/ServiceLayer/ParticipantStorage/ParticipantsStorage.swift +++ b/Anytype/Sources/ServiceLayer/ParticipantStorage/ParticipantsStorage.swift @@ -31,11 +31,7 @@ actor ParticipantsStorage: ParticipantsStorageProtocol, Sendable { private let subscriptionId = "SubscriptionId.Participant-\(UUID().uuidString)" // MARK: - DI - -// private let multispaceSubscriptionHelper = MultispaceSubscriptionHelper( -// subIdPrefix: Constants.subscriptionIdPrefix, -// subscriptionBuilder: AcountParticipantSubscriptionBuilder() -// ) + private let stream = AsyncToManyStream<[Participant]>() private var subscription: Task? @@ -64,7 +60,7 @@ actor ParticipantsStorage: ParticipantsStorageProtocol, Sendable { let data = subscriptionBuilder.build(accountId: accountManager.account.id, subId: subscriptionId) try? await subscriptionStorage.startOrUpdateSubscription(data: data) - subscription = Task.detached { [weak self, subscriptionStorage] in + subscription = Task { [weak self, subscriptionStorage] in for await state in subscriptionStorage.statePublisher.values { let participants = state.items.compactMap { try? Participant(details: $0) } self?.stream.send(participants) @@ -74,15 +70,8 @@ actor ParticipantsStorage: ParticipantsStorageProtocol, Sendable { func stopSubscription() async { try? await subscriptionStorage.stopSubscription() + subscription?.cancel() subscription = nil stream.clearLastValue() -// await multispaceSubscriptionHelper.stopSubscription() -// storage.value.removeAll() } - - // MARK: - Private - -// private func updatePartiipants() { -// storage.value = multispaceSubscriptionHelper.data.values.flatMap { $0 } -// } } From 7e89bca5a29bf0070f2b627fb5799f89c5916104 Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Fri, 31 Oct 2025 17:10:58 +0100 Subject: [PATCH 103/228] New Crowdin updates (#4196) * Multilingual [skip ci] * Multilingual [skip ci] * Multilingual [skip ci] --- .../Loc/Sources/Loc/Resources/Auth.xcstrings | 2 +- .../Loc/Sources/Loc/Resources/UI.xcstrings | 416 +++++++++++++++++- .../Sources/Loc/Resources/Workspace.xcstrings | 2 +- 3 files changed, 417 insertions(+), 3 deletions(-) diff --git a/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings b/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings index 6dd8c934de..7366743d61 100644 --- a/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings @@ -9643,7 +9643,7 @@ "pt-BR" : { "stringUnit" : { "state" : "new", - "value" : "Login Key" + "value" : "Chave de acesso" } }, "pt-PT" : { diff --git a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings index e1f0e09b03..f050f397df 100644 --- a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings @@ -9046,7 +9046,7 @@ "pt-BR" : { "stringUnit" : { "state" : "new", - "value" : "Application" + "value" : "Aplicação" } }, "pt-PT" : { @@ -44550,11 +44550,149 @@ "Hide Description" : { "extractionState" : "manual", "localizations" : { + "ar" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, + "be" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, + "de" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, "en" : { "stringUnit" : { "state" : "translated", "value" : "Hide Description" } + }, + "es" : { + "stringUnit" : { + "state" : "new", + "value" : "Ocultad descripción" + } + }, + "fa" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, + "fi" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, + "fr" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, + "id" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, + "it" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, + "ja" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, + "ko" : { + "stringUnit" : { + "state" : "new", + "value" : "설명 숨기기" + } + }, + "nb" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, + "nl" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, + "or" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, + "pl" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, + "pt-BR" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, + "pt-PT" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, + "ru" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, + "tr" : { + "stringUnit" : { + "state" : "new", + "value" : "Açıklamayı Gizle" + } + }, + "uk" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, + "vi" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "new", + "value" : "Hide Description" + } } } }, @@ -69149,11 +69287,149 @@ "Unpinned" : { "extractionState" : "manual", "localizations" : { + "ar" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "be" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "de" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, "en" : { "stringUnit" : { "state" : "translated", "value" : "Unpinned" } + }, + "es" : { + "stringUnit" : { + "state" : "new", + "value" : "No anclado" + } + }, + "fa" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "fi" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "fr" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "id" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "it" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "ja" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "ko" : { + "stringUnit" : { + "state" : "new", + "value" : "고정 해제됨" + } + }, + "nb" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "nl" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "or" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "pl" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "pt-BR" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "pt-PT" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "ru" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "tr" : { + "stringUnit" : { + "state" : "new", + "value" : "Sabitleme kaldırıldı" + } + }, + "uk" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "vi" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } } } }, @@ -83975,11 +84251,149 @@ "Show Description" : { "extractionState" : "manual", "localizations" : { + "ar" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, + "be" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, + "de" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, "en" : { "stringUnit" : { "state" : "translated", "value" : "Show Description" } + }, + "es" : { + "stringUnit" : { + "state" : "new", + "value" : "Mostrar descripción" + } + }, + "fa" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, + "fi" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, + "fr" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, + "id" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, + "it" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, + "ja" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, + "ko" : { + "stringUnit" : { + "state" : "new", + "value" : "설명 보기" + } + }, + "nb" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, + "nl" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, + "or" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, + "pl" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, + "pt-BR" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, + "pt-PT" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, + "ru" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, + "tr" : { + "stringUnit" : { + "state" : "new", + "value" : "Açıklamayı Göster" + } + }, + "uk" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, + "vi" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "new", + "value" : "Show Description" + } } } }, diff --git a/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings b/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings index c4b91f026e..137fae3d9c 100644 --- a/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings @@ -59318,7 +59318,7 @@ "ko" : { "stringUnit" : { "state" : "new", - "value" : "Spaces" + "value" : "스페이스" } }, "nb" : { From f22e8fad5f5d5d7e7f1c5b7de116eb28ac06d086 Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Mon, 3 Nov 2025 04:52:41 +0100 Subject: [PATCH 104/228] Automation: Update middleware to v0.44.0-nightly.20251103.1 (#4197) Co-authored-by: William Blake --- Libraryfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraryfile b/Libraryfile index 18f0fc33c6..4ed7756678 100644 --- a/Libraryfile +++ b/Libraryfile @@ -1 +1 @@ -MIDDLE_VERSION=v0.44.0-nightly.20251030.1 +MIDDLE_VERSION=v0.44.0-nightly.20251103.1 From 9b23cfd36ff4f6366b7f449f4bd6bfae5a68df14 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 3 Nov 2025 12:47:55 +0000 Subject: [PATCH 105/228] IOS-5425 Hide chat layouts in chat spaces with space-aware filtering - Add showsChatLayouts property to SpaceUxType (true for non-chat spaces) - Update DetailsLayout methods to accept optional SpaceUxType and filter chat layouts - Update SearchHelper.defaultObjectTypeSort to use SpaceUxType parameter - Remove Container.shared access from SetSubscriptionData struct - Inject spaceViewsStorage in all ViewModels and pass spaceUxType as parameter - Replace isChat boolean checks with showsChatLayouts property across codebase --- .../GlobalSearch/GlobalSearchViewModel.swift | 16 ++++-- .../Models/ObjectTypeSection.swift | 4 +- .../ObjectSearchWithMetaViewModel.swift | 3 +- ...ateRelatedObjectsSubscriptionService.swift | 5 +- .../HomeBottomNavigationPanelViewModel.swift | 8 ++- .../Container/HomeWidgetsViewModel.swift | 6 ++- .../Helpers/ObjectTypeRowsBuilder.swift | 10 ++-- .../SetObjectWidgetInternalViewModel.swift | 10 ++-- .../SetObjectCreationSettingsInteractor.swift | 9 +++- .../ObjectTypeSearchViewModel.swift | 9 +++- .../MentionsViewModel.swift | 13 +++-- .../TextEditor/Set/EditorSetViewModel.swift | 8 ++- .../Set/SetSubscriptionData.swift | 5 +- .../Object/Search/SearchService.swift | 14 +++-- .../ObjectTypeSubscriptionDataBuilder.swift | 5 +- .../TypesService/SearchHelper+Extension.swift | 12 +++-- .../Object/TypesService/TypesService.swift | 27 +++++----- .../SpaceStorage/SpaceViewsStorage.swift | 4 -- .../RecentSubscriptionService.swift | 5 +- .../Extensions/DetailsLayoutExtension.swift | 54 ++++++++++++++----- .../Models/Space/SpaceUxType+Extensions.swift | 9 ++++ 21 files changed, 163 insertions(+), 73 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/GlobalSearch/GlobalSearchViewModel.swift b/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/GlobalSearch/GlobalSearchViewModel.swift index 7308220d9b..109b842775 100644 --- a/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/GlobalSearch/GlobalSearchViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/GlobalSearch/GlobalSearchViewModel.swift @@ -18,7 +18,9 @@ final class GlobalSearchViewModel: ObservableObject { private var accountParticipantStorage: any ParticipantsStorageProtocol @Injected(\.objectActionsService) private var objectActionService: any ObjectActionsServiceProtocol - + @Injected(\.spaceViewsStorage) + private var spaceViewsStorage: any SpaceViewsStorageProtocol + private let moduleData: GlobalSearchModuleData private let dateFormatter = AnytypeRelativeDateTimeFormatter() @@ -28,6 +30,7 @@ final class GlobalSearchViewModel: ObservableObject { @Published var dismiss = false @Published private var participantCanEdit = false + private var spaceUxType: SpaceUxType? private var searchResult = [SearchResultWithMeta]() private var sectionChanged = false var isInitial = true @@ -35,6 +38,7 @@ final class GlobalSearchViewModel: ObservableObject { init(data: GlobalSearchModuleData) { self.moduleData = data self.restoreState() + self.loadSpaceUxType() } func startParticipantTask() async { @@ -97,6 +101,10 @@ final class GlobalSearchViewModel: ObservableObject { UISelectionFeedbackGenerator().selectionChanged() } + private func loadSpaceUxType() { + spaceUxType = spaceViewsStorage.spaceView(spaceId: moduleData.spaceId)?.uxType + } + private func updateSections() { guard searchResult.isNotEmpty else { sections = [] @@ -161,11 +169,11 @@ final class GlobalSearchViewModel: ObservableObject { } private func buildLayouts() -> [DetailsLayout] { - .builder { + return .builder { if state.searchText.isEmpty { - state.section.supportedLayouts.filter { $0 != .participant } + state.section.supportedLayouts(spaceUxType: spaceUxType).filter { $0 != .participant } } else { - state.section.supportedLayouts + state.section.supportedLayouts(spaceUxType: spaceUxType) } } } diff --git a/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/GlobalSearch/Models/ObjectTypeSection.swift b/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/GlobalSearch/Models/ObjectTypeSection.swift index 02ca1b9087..b1978f9a3f 100644 --- a/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/GlobalSearch/Models/ObjectTypeSection.swift +++ b/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/GlobalSearch/Models/ObjectTypeSection.swift @@ -34,10 +34,10 @@ enum ObjectTypeSection: String, CaseIterable, Codable { } } - var supportedLayouts: [DetailsLayout] { + func supportedLayouts(spaceUxType: SpaceUxType?) -> [DetailsLayout] { switch self { case .all: - DetailsLayout.visibleLayoutsWithFiles + DetailsLayout.visibleLayoutsWithFiles(spaceUxType: spaceUxType) case .pages: DetailsLayout.editorLayouts case .lists: diff --git a/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/ObjectSearchWithMeta/ObjectSearchWithMetaViewModel.swift b/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/ObjectSearchWithMeta/ObjectSearchWithMetaViewModel.swift index 24a65a7819..c5e1e17267 100644 --- a/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/ObjectSearchWithMeta/ObjectSearchWithMetaViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/ObjectSearchWithMeta/ObjectSearchWithMetaViewModel.swift @@ -113,5 +113,6 @@ final class ObjectSearchWithMetaViewModel: ObservableObject { extension ObjectSearchWithMetaModuleData { static let supportedLayouts: [DetailsLayout] = - ObjectTypeSection.pages.supportedLayouts + ObjectTypeSection.lists.supportedLayouts + ObjectTypeSection.pages.supportedLayouts(spaceUxType: nil) + + ObjectTypeSection.lists.supportedLayouts(spaceUxType: nil) } diff --git a/Anytype/Sources/PresentationLayer/Modules/Date/Subscription/DateRelatedObjectsSubscriptionService.swift b/Anytype/Sources/PresentationLayer/Modules/Date/Subscription/DateRelatedObjectsSubscriptionService.swift index d4e205b36e..6d933a5d17 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Date/Subscription/DateRelatedObjectsSubscriptionService.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Date/Subscription/DateRelatedObjectsSubscriptionService.swift @@ -18,6 +18,8 @@ final class DateRelatedObjectsSubscriptionService: DateRelatedObjectsSubscriptio @Injected(\.subscriptionStorageProvider) private var subscriptionStorageProvider: any SubscriptionStorageProviderProtocol + @Injected(\.spaceViewsStorage) + private var spaceViewsStorage: any SpaceViewsStorageProtocol private lazy var subscriptionStorage: any SubscriptionStorageProtocol = { subscriptionStorageProvider.createSubscriptionStorage(subId: subscriptionId) }() @@ -33,8 +35,9 @@ final class DateRelatedObjectsSubscriptionService: DateRelatedObjectsSubscriptio update: @escaping @MainActor ([ObjectDetails], Int) -> Void ) async { + let spaceUxType = spaceViewsStorage.spaceView(spaceId: spaceId)?.uxType let filters: [DataviewFilter] = .builder { - SearchFiltersBuilder.build(isArchived: false, layouts: DetailsLayout.visibleLayoutsWithFiles) + SearchFiltersBuilder.build(isArchived: false, layouts: DetailsLayout.visibleLayoutsWithFiles(spaceUxType: spaceUxType)) filters } diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeNavigationContainer/Panel/HomeBottomNavigationPanelViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeNavigationContainer/Panel/HomeBottomNavigationPanelViewModel.swift index 3781a0d16f..20f6587e7c 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeNavigationContainer/Panel/HomeBottomNavigationPanelViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeNavigationContainer/Panel/HomeBottomNavigationPanelViewModel.swift @@ -37,7 +37,9 @@ final class HomeBottomNavigationPanelViewModel: ObservableObject { private var objectActionsService: any ObjectActionsServiceProtocol @Injected(\.experimentalFeaturesStorage) private var experimentalFeaturesStorage: any ExperimentalFeaturesStorageProtocol - + @Injected(\.spaceViewsStorage) + private var spaceViewsStorage: any SpaceViewsStorageProtocol + private weak var output: (any HomeBottomNavigationPanelModuleOutput)? private let subId = "HomeBottomNavigationProfile-\(UUID().uuidString)" @@ -161,8 +163,10 @@ final class HomeBottomNavigationPanelViewModel: ObservableObject { private func typesSubscription() async { for await types in objectTypeProvider.objectTypesPublisher(spaceId: info.accountSpaceId).values { + let spaceUxType = spaceViewsStorage.spaceView(spaceId: info.accountSpaceId)?.uxType + let supportedLayouts = DetailsLayout.supportedForCreation(spaceUxType: spaceUxType) let types = types.filter { type in - DetailsLayout.supportedForCreation.contains { $0 == type.recommendedLayout } + supportedLayouts.contains { $0 == type.recommendedLayout } && !type.isTemplateType } diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift index 4c08c50833..8846ece67f 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift @@ -158,12 +158,14 @@ final class HomeWidgetsViewModel { private func startObjectTypesTask() async { let spaceId = spaceId - + let spaceUxType = workspaceStorage.spaceView(spaceId: spaceId)?.uxType + let allowedLayouts = DetailsLayout.widgetTypeLayouts(spaceUxType: spaceUxType) + let stream = objectTypeProvider.objectTypesPublisher(spaceId: spaceId) .values .map { objects in let objects = objects - .filter { ($0.recommendedLayout.map { DetailsLayout.widgetTypeLayouts.contains($0) } ?? false) && !$0.isTemplateType } + .filter { ($0.recommendedLayout.map { allowedLayouts.contains($0) } ?? false) && !$0.isTemplateType } return objects.map { ObjectTypeWidgetInfo(objectTypeId: $0.id, spaceId: spaceId) } } .removeDuplicates() diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/ObjectType/Helpers/ObjectTypeRowsBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/ObjectType/Helpers/ObjectTypeRowsBuilder.swift index 0cce636228..01296090d6 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/ObjectType/Helpers/ObjectTypeRowsBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/ObjectType/Helpers/ObjectTypeRowsBuilder.swift @@ -24,7 +24,9 @@ actor ObjectTypeRowsBuilder: ObjectTypeRowsBuilderProtocol { private var setObjectWidgetOrderHelper: any SetObjectWidgetOrderHelperProtocol @LazyInjected(\.subscriptionStorageProvider) private var subscriptionStorageProvider: any SubscriptionStorageProviderProtocol - + @LazyInjected(\.spaceViewsStorage) + private var spaceViewsStorage: any SpaceViewsStorageProtocol + private lazy var subscriptionStorage: any SubscriptionStorageProtocol = { subscriptionStorageProvider.createSubscriptionStorage(subId: subscriptionId) }() @@ -71,7 +73,8 @@ actor ObjectTypeRowsBuilder: ObjectTypeRowsBuilderProtocol { private func startObjectsSubscription() async { do { try await setDocument.open() - + + let spaceUxType = await spaceViewsStorage.spaceView(spaceId: setDocument.spaceId)?.uxType let subscriptionData = setSubscriptionDataBuilder.set( SetSubscriptionData( identifier: subscriptionId, @@ -80,7 +83,8 @@ actor ObjectTypeRowsBuilder: ObjectTypeRowsBuilderProtocol { currentPage: 0, numberOfRowsPerPage: 6, collectionId: nil, - objectOrderIds: setDocument.objectOrderIds(for: setSubscriptionDataBuilder.subscriptionId) + objectOrderIds: setDocument.objectOrderIds(for: setSubscriptionDataBuilder.subscriptionId), + spaceUxType: spaceUxType ) ) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/SetObjectWidgetInternalViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/SetObjectWidgetInternalViewModel.swift index c2f8f30a71..4859c945e8 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/SetObjectWidgetInternalViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/SetObjectWidgetInternalViewModel.swift @@ -31,7 +31,9 @@ final class SetObjectWidgetInternalViewModel { private var objectTypeProvider: any ObjectTypeProviderProtocol @Injected(\.setObjectWidgetOrderHelper) @ObservationIgnored private var setObjectWidgetOrderHelper: any SetObjectWidgetOrderHelperProtocol - + @Injected(\.spaceViewsStorage) @ObservationIgnored + private var spaceViewsStorage: any SpaceViewsStorageProtocol + // MARK: - State @ObservationIgnored private var widgetInfo: BlockWidgetInfo? @@ -207,7 +209,8 @@ final class SetObjectWidgetInternalViewModel { } guard setDocument.canStartSubscription() else { return } - + + let spaceUxType = spaceViewsStorage.spaceView(spaceId: setDocument.spaceId)?.uxType let subscriptionData = setSubscriptionDataBuilder.set( SetSubscriptionData( identifier: subscriptionId, @@ -216,7 +219,8 @@ final class SetObjectWidgetInternalViewModel { currentPage: 0, numberOfRowsPerPage: widgetInfo.fixedLimit, collectionId: setDocument.isCollection() ? setDocument.objectId : nil, - objectOrderIds: setDocument.objectOrderIds(for: setSubscriptionDataBuilder.subscriptionId) + objectOrderIds: setDocument.objectOrderIds(for: setSubscriptionDataBuilder.subscriptionId), + spaceUxType: spaceUxType ) ) diff --git a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/Dataview/SetObjectCreationSettingsInteractor.swift b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/Dataview/SetObjectCreationSettingsInteractor.swift index 028734cc6a..5fadf2e84e 100644 --- a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/Dataview/SetObjectCreationSettingsInteractor.swift +++ b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/Dataview/SetObjectCreationSettingsInteractor.swift @@ -62,7 +62,9 @@ final class SetObjectCreationSettingsInteractor: SetObjectCreationSettingsIntera private var typesService: any TypesServiceProtocol @Injected(\.dataviewService) private var dataviewService: any DataviewServiceProtocol - + @Injected(\.spaceViewsStorage) + private var spaceViewsStorage: any SpaceViewsStorageProtocol + @Published private var templatesDetails = [ObjectDetails]() @Published private var defaultTemplateId: String @Published private var typeDefaultTemplateId: String = "" @@ -152,13 +154,16 @@ final class SetObjectCreationSettingsInteractor: SetObjectCreationSettingsIntera private func updateObjectTypes() { Task { + let spaceUxType = spaceViewsStorage.spaceView(spaceId: setDocument.spaceId)?.uxType + let chatTypeVisible = spaceUxType?.showsChatLayouts ?? true + let includeChat = FeatureFlags.multichats && chatTypeVisible objectTypes = try await typesService.searchObjectTypes( text: "", includePins: true, includeLists: true, includeBookmarks: true, includeFiles: false, - includeChat: FeatureFlags.multichats, + includeChat: includeChat, includeTemplates: false, incudeNotForCreation: false, spaceId: setDocument.spaceId diff --git a/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewModel.swift b/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewModel.swift index d692e22f4a..53213b4673 100644 --- a/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewModel.swift +++ b/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewModel.swift @@ -29,7 +29,9 @@ final class ObjectTypeSearchViewModel: ObservableObject { private var pasteboardHelper: any PasteboardHelperProtocol @Injected(\.participantsStorage) private var accountParticipantStorage: any ParticipantsStorageProtocol - + @Injected(\.spaceViewsStorage) + private var spaceViewsStorage: any SpaceViewsStorageProtocol + private let onSelect: (TypeSelectionResult) -> Void private var searchTask: Task<(), any Error>? @@ -73,6 +75,9 @@ final class ObjectTypeSearchViewModel: ObservableObject { searchTask?.cancel() searchTask = Task { + let spaceUxType = spaceViewsStorage.spaceView(spaceId: spaceId)?.uxType + let effectiveShowChat = settings.showChat && (spaceUxType?.showsChatLayouts ?? true) + let pinnedTypes = settings.showPins ? try await typesService.searchPinnedTypes(text: text, spaceId: spaceId) : [] let listTypes = settings.showLists ? try await typesService.searchListTypes( text: searchText, includePins: !settings.showPins, spaceId: spaceId @@ -83,7 +88,7 @@ final class ObjectTypeSearchViewModel: ObservableObject { includeLists: false, includeBookmarks: true, includeFiles: settings.showFiles, - includeChat: settings.showChat, + includeChat: effectiveShowChat, includeTemplates: settings.showTemplates, incudeNotForCreation: settings.incudeNotForCreation, spaceId: spaceId diff --git a/Anytype/Sources/PresentationLayer/TextEditor/AccessoryView/Mention/MentionViewController/MentionsViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/AccessoryView/Mention/MentionViewController/MentionsViewModel.swift index ab75b53484..710407a4a2 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/AccessoryView/Mention/MentionViewController/MentionsViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/AccessoryView/Mention/MentionViewController/MentionsViewModel.swift @@ -21,7 +21,9 @@ final class MentionsViewModel { private var defaultObjectService: any DefaultObjectCreationServiceProtocol @Injected(\.objectDateByTimestampService) private var objectDateByTimestampService: any ObjectDateByTimestampServiceProtocol - + @Injected(\.spaceViewsStorage) + private var spaceViewsStorage: any SpaceViewsStorageProtocol + private var searchTask: Task<(), any Error>? private let router: any EditorRouterProtocol @@ -51,14 +53,17 @@ final class MentionsViewModel { updatedMentions.append(contentsOf: dateMentions.map { .mention($0) }) updatedMentions.append(.selectDate) } - + + let spaceUxType = spaceViewsStorage.spaceView(spaceId: document.spaceId)?.uxType + let objectLayouts = DetailsLayout.visibleLayoutsWithFiles(spaceUxType: spaceUxType) - [.date] + let objectsMentions = try await mentionService.searchMentions( spaceId: document.spaceId, text: filterString, excludedObjectIds: [document.objectId], - limitLayout: DetailsLayout.visibleLayoutsWithFiles - [.date] + limitLayout: objectLayouts ) - + if objectsMentions.isNotEmpty { updatedMentions.append(.header(title: Loc.objects)) updatedMentions.append(contentsOf: objectsMentions.map { .mention($0) }) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/EditorSetViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/EditorSetViewModel.swift index d200ba9e16..50750cb685 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/EditorSetViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/EditorSetViewModel.swift @@ -213,6 +213,8 @@ final class EditorSetViewModel: ObservableObject { private var setGroupSubscriptionDataBuilder: any SetGroupSubscriptionDataBuilderProtocol @Injected(\.propertyDetailsStorage) private var propertyDetailsStorage: any PropertyDetailsStorageProtocol + @Injected(\.spaceViewsStorage) + private var spaceViewsStorage: any SpaceViewsStorageProtocol private let documentsProvider: any DocumentsProviderProtocol = Container.shared.documentsProvider() private var subscriptions = [AnyCancellable]() @@ -550,7 +552,8 @@ final class EditorSetViewModel: ObservableObject { } guard setDocument.canStartSubscription() else { return } - + + let spaceUxType = spaceViewsStorage.spaceView(spaceId: setDocument.spaceId)?.uxType let data = setSubscriptionDataBuilder.set( SetSubscriptionData( identifier: subscriptionId, @@ -559,7 +562,8 @@ final class EditorSetViewModel: ObservableObject { currentPage: currentPage, // show first page for empty request numberOfRowsPerPage: numberOfRowsPerPage, collectionId: setDocument.isCollection() ? objectId : nil, - objectOrderIds: setDocument.objectOrderIds(for: subscriptionId) + objectOrderIds: setDocument.objectOrderIds(for: subscriptionId), + spaceUxType: spaceUxType ) ) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Subscriptions/Set/SetSubscriptionData.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Subscriptions/Set/SetSubscriptionData.swift index aa03dad2c3..b1800c6ef5 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Subscriptions/Set/SetSubscriptionData.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Subscriptions/Set/SetSubscriptionData.swift @@ -20,7 +20,8 @@ struct SetSubscriptionData: Hashable { currentPage: Int, numberOfRowsPerPage: Int, collectionId: String?, - objectOrderIds: [String] + objectOrderIds: [String], + spaceUxType: SpaceUxType? ) { self.identifier = identifier self.source = document.details?.filteredSetOf @@ -55,7 +56,7 @@ struct SetSubscriptionData: Hashable { if let groupFilter { filters.append(groupFilter) } - filters.append(SearchHelper.layoutFilter(DetailsLayout.visibleLayoutsWithFiles)) + filters.append(SearchHelper.layoutFilter(DetailsLayout.visibleLayoutsWithFiles(spaceUxType: spaceUxType))) filters.append(contentsOf: SearchHelper.notHiddenFilters()) self.filters = filters self.options = view.options diff --git a/Anytype/Sources/ServiceLayer/Object/Search/SearchService.swift b/Anytype/Sources/ServiceLayer/Object/Search/SearchService.swift index 3c38c73aa2..6c5fb3bb87 100644 --- a/Anytype/Sources/ServiceLayer/Object/Search/SearchService.swift +++ b/Anytype/Sources/ServiceLayer/Object/Search/SearchService.swift @@ -10,11 +10,13 @@ enum SearchDefaults { final class SearchService: SearchServiceProtocol, Sendable { private let searchMiddleService: any SearchMiddleServiceProtocol = Container.shared.searchMiddleService() - + private let spaceViewsStorage: any SpaceViewsStorageProtocol = Container.shared.spaceViewsStorage() + // MARK: - SearchServiceProtocol func search(text: String, spaceId: String) async throws -> [ObjectDetails] { - try await searchObjectsWithLayouts(text: text, layouts: DetailsLayout.visibleLayouts, excludedIds: [], spaceId: spaceId) + let spaceUxType = spaceViewsStorage.spaceView(spaceId: spaceId)?.uxType + return try await searchObjectsWithLayouts(text: text, layouts: DetailsLayout.visibleLayouts(spaceUxType: spaceUxType), excludedIds: [], spaceId: spaceId) } func searchFiles(text: String, excludedFileIds: [String], spaceId: String) async throws -> [ObjectDetails] { @@ -73,10 +75,11 @@ final class SearchService: SearchServiceProtocol, Sendable { relation: BundledPropertyKey.lastOpenedDate, type: .desc ) + let spaceUxType = spaceViewsStorage.spaceView(spaceId: spaceId)?.uxType let filters: [DataviewFilter] = .builder { SearchHelper.excludedIdsFilter(excludedObjectIds) if typeIds.isEmpty { - SearchFiltersBuilder.build(isArchived: false, layouts: DetailsLayout.visibleLayouts) + SearchFiltersBuilder.build(isArchived: false, layouts: DetailsLayout.visibleLayouts(spaceUxType: spaceUxType)) } else { SearchFiltersBuilder.build(isArchived: false) SearchHelper.typeFilter(typeIds) @@ -101,9 +104,10 @@ final class SearchService: SearchServiceProtocol, Sendable { relation: sortRelationKey ?? .lastOpenedDate, type: .desc ) - + let spaceUxType = spaceViewsStorage.spaceView(spaceId: spaceId)?.uxType + let filters: [DataviewFilter] = .builder { - SearchFiltersBuilder.build(isArchived: false, layouts: DetailsLayout.visibleLayoutsWithFiles) + SearchFiltersBuilder.build(isArchived: false, layouts: DetailsLayout.visibleLayoutsWithFiles(spaceUxType: spaceUxType)) SearchHelper.excludedIdsFilter(excludedObjectIds) SearchHelper.excludedLayoutFilter(excludedLayouts) } diff --git a/Anytype/Sources/ServiceLayer/Object/TypeProvider/Subscription/ObjectTypeSubscriptionDataBuilder.swift b/Anytype/Sources/ServiceLayer/Object/TypeProvider/Subscription/ObjectTypeSubscriptionDataBuilder.swift index 6bc9e78e11..0824ebf6be 100644 --- a/Anytype/Sources/ServiceLayer/Object/TypeProvider/Subscription/ObjectTypeSubscriptionDataBuilder.swift +++ b/Anytype/Sources/ServiceLayer/Object/TypeProvider/Subscription/ObjectTypeSubscriptionDataBuilder.swift @@ -12,12 +12,13 @@ final class ObjectTypeSubscriptionDataBuilder: MultispaceSubscriptionDataBuilder let filters = [ SearchHelper.layoutFilter([DetailsLayout.objectType]) ] - + + let spaceUxType = workspaceStorage.spaceView(spaceId: spaceId)?.uxType return .search( SubscriptionData.Search( identifier: subId, spaceId: spaceId, - sorts: SearchHelper.defaultObjectTypeSort(isChat: workspaceStorage.spaceIsChat(spaceId: spaceId)), + sorts: SearchHelper.defaultObjectTypeSort(spaceUxType: spaceUxType), filters: filters, limit: 0, offset: 0, diff --git a/Anytype/Sources/ServiceLayer/Object/TypesService/SearchHelper+Extension.swift b/Anytype/Sources/ServiceLayer/Object/TypesService/SearchHelper+Extension.swift index 1ab9e0bf66..5de5c571b5 100644 --- a/Anytype/Sources/ServiceLayer/Object/TypesService/SearchHelper+Extension.swift +++ b/Anytype/Sources/ServiceLayer/Object/TypesService/SearchHelper+Extension.swift @@ -1,11 +1,12 @@ import Services extension SearchHelper { - - static func defaultObjectTypeSort(isChat: Bool) -> [DataviewSort] { + + static func defaultObjectTypeSort(spaceUxType: SpaceUxType?) -> [DataviewSort] { let nameSort = SearchHelper.sort(relation: .name, type: .asc) - - let customSort = isChat + + let showsChatLayouts = spaceUxType?.showsChatLayouts ?? true + let customSort = !showsChatLayouts ? SearchHelper.customSort(relationKey: BundledPropertyKey.uniqueKey.rawValue, values: [ ObjectTypeUniqueKey.image.value, ObjectTypeUniqueKey.bookmark.value, @@ -30,7 +31,8 @@ extension SearchHelper { ObjectTypeUniqueKey.image.value, ObjectTypeUniqueKey.file.value, ObjectTypeUniqueKey.video.value, - ObjectTypeUniqueKey.audio.value + ObjectTypeUniqueKey.audio.value, + ObjectTypeUniqueKey.chatDerived.value ]) let orderIdSort = SearchHelper.sort(relation: .orderId, type: .asc, emptyPlacement: .end) diff --git a/Anytype/Sources/ServiceLayer/Object/TypesService/TypesService.swift b/Anytype/Sources/ServiceLayer/Object/TypesService/TypesService.swift index ea0067e62d..c20c098991 100644 --- a/Anytype/Sources/ServiceLayer/Object/TypesService/TypesService.swift +++ b/Anytype/Sources/ServiceLayer/Object/TypesService/TypesService.swift @@ -55,11 +55,12 @@ final class TypesService: TypesServiceProtocol, Sendable { spaceId: String ) async throws -> [ObjectDetails] { let excludedTypeIds = includePins ? [] : try await searchPinnedTypes(text: "", spaceId: spaceId).map { $0.id } - - let sort = SearchHelper.defaultObjectTypeSort(isChat: workspaceStorage.spaceIsChat(spaceId: spaceId)) - - var layouts = includeFiles ? DetailsLayout.visibleLayoutsWithFiles : DetailsLayout.visibleLayouts - + + let spaceUxType = workspaceStorage.spaceView(spaceId: spaceId)?.uxType + let sort = SearchHelper.defaultObjectTypeSort(spaceUxType: spaceUxType) + + var layouts = includeFiles ? DetailsLayout.visibleLayoutsWithFiles(spaceUxType: spaceUxType) : DetailsLayout.visibleLayouts(spaceUxType: spaceUxType) + if !includeLists { layouts.removeAll(where: { $0.isList }) } @@ -96,9 +97,10 @@ final class TypesService: TypesServiceProtocol, Sendable { spaceId: String ) async throws -> [ObjectType] { let excludedTypeIds = includePins ? [] : try await searchPinnedTypes(text: "", spaceId: spaceId).map { $0.id } - - let sort = SearchHelper.defaultObjectTypeSort(isChat: workspaceStorage.spaceIsChat(spaceId: spaceId)) - + + let spaceUxType = workspaceStorage.spaceView(spaceId: spaceId)?.uxType + let sort = SearchHelper.defaultObjectTypeSort(spaceUxType: spaceUxType) + let filters: [DataviewFilter] = .builder { SearchFiltersBuilder.build(isArchived: false) SearchHelper.layoutFilter([DetailsLayout.objectType]) @@ -112,12 +114,13 @@ final class TypesService: TypesServiceProtocol, Sendable { func searchLibraryObjectTypes(text: String, includeInstalledTypes: Bool, spaceId: String) async throws -> [ObjectDetails] { let excludedIds = includeInstalledTypes ? [] : typeProvider.objectTypes(spaceId: spaceId).map(\.sourceObject) - - let sort = SearchHelper.defaultObjectTypeSort(isChat: workspaceStorage.spaceIsChat(spaceId: spaceId)) - + + let spaceUxType = workspaceStorage.spaceView(spaceId: spaceId)?.uxType + let sort = SearchHelper.defaultObjectTypeSort(spaceUxType: spaceUxType) + let filters = Array.builder { SearchHelper.layoutFilter([DetailsLayout.objectType]) - SearchHelper.recomendedLayoutFilter(DetailsLayout.visibleLayouts) + SearchHelper.recomendedLayoutFilter(DetailsLayout.visibleLayouts(spaceUxType: spaceUxType)) SearchHelper.excludedIdsFilter(excludedIds) } diff --git a/Anytype/Sources/ServiceLayer/SpaceStorage/SpaceViewsStorage.swift b/Anytype/Sources/ServiceLayer/SpaceStorage/SpaceViewsStorage.swift index 4be707e470..2cf0fa84eb 100644 --- a/Anytype/Sources/ServiceLayer/SpaceStorage/SpaceViewsStorage.swift +++ b/Anytype/Sources/ServiceLayer/SpaceStorage/SpaceViewsStorage.swift @@ -32,10 +32,6 @@ extension SpaceViewsStorageProtocol { .removeDuplicates() .eraseToAnyPublisher() } - - func spaceIsChat(spaceId: String) -> Bool { - spaceView(spaceId: spaceId)?.uxType.isChat ?? false - } } final class SpaceViewsStorage: SpaceViewsStorageProtocol { diff --git a/Anytype/Sources/ServiceLayer/Subscriptions/RecentSubscriptionService.swift b/Anytype/Sources/ServiceLayer/Subscriptions/RecentSubscriptionService.swift index a7efaf4de7..517acf1a95 100644 --- a/Anytype/Sources/ServiceLayer/Subscriptions/RecentSubscriptionService.swift +++ b/Anytype/Sources/ServiceLayer/Subscriptions/RecentSubscriptionService.swift @@ -41,10 +41,11 @@ final class RecentSubscriptionService: RecentSubscriptionServiceProtocol { ) async { let sort = makeSort(type: type) - + let spaceUxType = workspaceStorage.spaceView(spaceId: spaceId)?.uxType + let filters: [DataviewFilter] = .builder { SearchHelper.notHiddenFilters() - SearchHelper.layoutFilter(DetailsLayout.visibleLayouts) + SearchHelper.layoutFilter(DetailsLayout.visibleLayouts(spaceUxType: spaceUxType)) SearchHelper.templateScheme(include: false) makeDateFilter(type: type, spaceId: spaceId) } diff --git a/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift b/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift index 58ce2b100c..85bd771616 100644 --- a/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift +++ b/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift @@ -8,34 +8,62 @@ public extension DetailsLayout { static let fileLayouts: [DetailsLayout] = [ .file, .pdf ] static let mediaLayouts: [DetailsLayout] = [ .image, .audio, .video ] static let fileAndMediaLayouts = DetailsLayout.fileLayouts + DetailsLayout.mediaLayouts - static let chatLayouts: [DetailsLayout] = FeatureFlags.multichats ? [.chatDerived] : [] - - static let visibleLayouts: [DetailsLayout] = listLayouts + editorLayouts + [.bookmark, .participant, .date, .objectType] + chatLayouts - static let visibleLayoutsWithFiles = visibleLayouts + fileAndMediaLayouts - - static let supportedForCreation: [DetailsLayout] = supportedForCreationInSets + listLayouts + chatLayouts + + fileprivate static let visibleLayoutsBase: [DetailsLayout] = listLayouts + editorLayouts + [.bookmark, .participant, .date, .objectType] + chatLayouts + fileprivate static let visibleLayoutsWithFilesBase = visibleLayoutsBase + fileAndMediaLayouts + + fileprivate static let supportedForCreationBase: [DetailsLayout] = supportedForCreationInSets + listLayouts + chatLayouts static let supportedForSharingExtension: [DetailsLayout] = [.collection] + editorLayouts - - static let widgetTypeLayouts = listLayouts + editorLayouts + [.bookmark] + fileAndMediaLayouts + chatLayouts - - private static let supportedForOpening: [DetailsLayout] = visibleLayoutsWithFiles + [.objectType] + + fileprivate static let widgetTypeLayoutsBase = listLayouts + editorLayouts + [.bookmark] + fileAndMediaLayouts + chatLayouts + + private static let supportedForOpening: [DetailsLayout] = visibleLayoutsWithFilesBase + [.objectType] private static let supportedForCreationInSets: [DetailsLayout] = editorLayouts + [.bookmark] + listLayouts private static let layoutsWithIcon: [DetailsLayout] = listLayouts + fileAndMediaLayouts + [.basic, .profile, .objectType] private static let layoutsWithCover: [DetailsLayout] = layoutsWithIcon + [.bookmark, .todo] + private static let chatLayouts: [DetailsLayout] = FeatureFlags.multichats ? [.chatDerived] : [] +} + +// MARK: - Space-aware filtering + +public extension DetailsLayout { + static func visibleLayouts(spaceUxType: SpaceUxType?) -> [DetailsLayout] { + let spaceUxType = spaceUxType ?? .data + guard !spaceUxType.showsChatLayouts else { return visibleLayoutsBase } + return visibleLayoutsBase.filter { $0 != .chatDerived } + } + + static func visibleLayoutsWithFiles(spaceUxType: SpaceUxType?) -> [DetailsLayout] { + let spaceUxType = spaceUxType ?? .data + guard !spaceUxType.showsChatLayouts else { return visibleLayoutsWithFilesBase } + return visibleLayoutsWithFilesBase.filter { $0 != .chatDerived } + } + + static func supportedForCreation(spaceUxType: SpaceUxType?) -> [DetailsLayout] { + let spaceUxType = spaceUxType ?? .data + guard !spaceUxType.showsChatLayouts else { return supportedForCreationBase } + return supportedForCreationBase.filter { $0 != .chatDerived } + } + + static func widgetTypeLayouts(spaceUxType: SpaceUxType?) -> [DetailsLayout] { + let spaceUxType = spaceUxType ?? .data + guard !spaceUxType.showsChatLayouts else { return widgetTypeLayoutsBase } + return widgetTypeLayoutsBase.filter { $0 != .chatDerived } + } } // MARK: - Computed properties public extension DetailsLayout { - var isVisible: Bool { DetailsLayout.visibleLayouts.contains(self) } - var isVisibleOrFile: Bool { DetailsLayout.visibleLayoutsWithFiles.contains(self) } + var isVisible: Bool { DetailsLayout.visibleLayoutsBase.contains(self) } + var isVisibleOrFile: Bool { DetailsLayout.visibleLayoutsWithFilesBase.contains(self) } var isEditorLayout: Bool { DetailsLayout.editorLayouts.contains(self) } var isFile: Bool { Self.fileLayouts.contains(self) } var isFileOrMedia: Bool { Self.fileAndMediaLayouts.contains(self) } var isSupportedForCreationInSets: Bool { Self.supportedForCreationInSets.contains(self) } var isSupportedForOpening: Bool { Self.supportedForOpening.contains(self) } - var isSupportedForCreation: Bool { Self.supportedForCreation.contains(self) } + var isSupportedForCreation: Bool { Self.supportedForCreationBase.contains(self) } var haveIcon: Bool { Self.layoutsWithIcon.contains(self) } var haveCover: Bool { Self.layoutsWithCover.contains(self) } diff --git a/Modules/Services/Sources/Models/Space/SpaceUxType+Extensions.swift b/Modules/Services/Sources/Models/Space/SpaceUxType+Extensions.swift index a92cb30bd1..e7a44891c7 100644 --- a/Modules/Services/Sources/Models/Space/SpaceUxType+Extensions.swift +++ b/Modules/Services/Sources/Models/Space/SpaceUxType+Extensions.swift @@ -12,5 +12,14 @@ public extension SpaceUxType { var isData: Bool { self == .data } + + var showsChatLayouts: Bool { + switch self { + case .chat, .stream, .none, .UNRECOGNIZED: + return false + case .data: + return true + } + } } From 2538f17f11a7f1a931d7c20fe23af2ed7cf3448b Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 3 Nov 2025 14:42:54 +0000 Subject: [PATCH 106/228] IOS-5433 Only show space limits to owners in share view --- .../Modules/SpaceShare/SpaceShareViewModel.swift | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceShare/SpaceShareViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceShare/SpaceShareViewModel.swift index a58f63453a..1c01835137 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceShare/SpaceShareViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceShare/SpaceShareViewModel.swift @@ -132,7 +132,8 @@ final class SpaceShareViewModel: ObservableObject { } private func updateUpgradeViewState() { - guard let participantSpaceView else { return } + guard let participantSpaceView, let participant = participantSpaceView.participant else { return } + guard participant.isOwner else { return } let canAddWriters = participantSpaceView.spaceView.canAddWriters(participants: participants) let spaceSharingInfo = participantSpacesStorage.spaceSharingInfo From 18545f0c390c120dbc802ef408d0f42c141e9615 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 3 Nov 2025 14:56:36 +0000 Subject: [PATCH 107/228] IOS-5425 unify nil Coalescing Logic --- .../Models/Extensions/DetailsLayoutExtension.swift | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift b/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift index 85bd771616..ca9a8b66df 100644 --- a/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift +++ b/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift @@ -29,26 +29,22 @@ public extension DetailsLayout { public extension DetailsLayout { static func visibleLayouts(spaceUxType: SpaceUxType?) -> [DetailsLayout] { - let spaceUxType = spaceUxType ?? .data - guard !spaceUxType.showsChatLayouts else { return visibleLayoutsBase } + guard !(spaceUxType?.showsChatLayouts ?? true) else { return visibleLayoutsBase } return visibleLayoutsBase.filter { $0 != .chatDerived } } static func visibleLayoutsWithFiles(spaceUxType: SpaceUxType?) -> [DetailsLayout] { - let spaceUxType = spaceUxType ?? .data - guard !spaceUxType.showsChatLayouts else { return visibleLayoutsWithFilesBase } + guard !(spaceUxType?.showsChatLayouts ?? true) else { return visibleLayoutsWithFilesBase } return visibleLayoutsWithFilesBase.filter { $0 != .chatDerived } } static func supportedForCreation(spaceUxType: SpaceUxType?) -> [DetailsLayout] { - let spaceUxType = spaceUxType ?? .data - guard !spaceUxType.showsChatLayouts else { return supportedForCreationBase } + guard !(spaceUxType?.showsChatLayouts ?? true) else { return supportedForCreationBase } return supportedForCreationBase.filter { $0 != .chatDerived } } static func widgetTypeLayouts(spaceUxType: SpaceUxType?) -> [DetailsLayout] { - let spaceUxType = spaceUxType ?? .data - guard !spaceUxType.showsChatLayouts else { return widgetTypeLayoutsBase } + guard !(spaceUxType?.showsChatLayouts ?? true) else { return widgetTypeLayoutsBase } return widgetTypeLayoutsBase.filter { $0 != .chatDerived } } } From 68e53d208e324ab8e852684f0174bd88d7350280 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 3 Nov 2025 14:59:02 +0000 Subject: [PATCH 108/228] IOS-5425 Fix pull request issue --- .../ObjectSearchWithMetaViewModel.swift | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/ObjectSearchWithMeta/ObjectSearchWithMetaViewModel.swift b/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/ObjectSearchWithMeta/ObjectSearchWithMetaViewModel.swift index c5e1e17267..a201bf801b 100644 --- a/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/ObjectSearchWithMeta/ObjectSearchWithMetaViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/ObjectSearchWithMeta/ObjectSearchWithMetaViewModel.swift @@ -11,7 +11,9 @@ final class ObjectSearchWithMetaViewModel: ObservableObject { private var searchWithMetaService: any SearchWithMetaServiceProtocol @Injected(\.searchWithMetaModelBuilder) private var searchWithMetaModelBuilder: any SearchWithMetaModelBuilderProtocol - + @Injected(\.spaceViewsStorage) + private var spaceViewsStorage: any SpaceViewsStorageProtocol + private let dateFormatter = AnytypeRelativeDateTimeFormatter() @Published var searchText = "" @@ -36,7 +38,7 @@ final class ObjectSearchWithMetaViewModel: ObservableObject { searchResult = try await searchWithMetaService.search( text: searchText, spaceId: moduleData.spaceId, - layouts: ObjectSearchWithMetaModuleData.supportedLayouts, + layouts: supportedLayouts(), sorts: buildSorts(), excludedObjectIds: moduleData.excludedObjectIds ) @@ -109,10 +111,10 @@ final class ObjectSearchWithMetaViewModel: ObservableObject { ) } } -} -extension ObjectSearchWithMetaModuleData { - static let supportedLayouts: [DetailsLayout] = - ObjectTypeSection.pages.supportedLayouts(spaceUxType: nil) + - ObjectTypeSection.lists.supportedLayouts(spaceUxType: nil) + private func supportedLayouts() -> [DetailsLayout] { + let spaceUxType = spaceViewsStorage.spaceView(spaceId: moduleData.spaceId)?.uxType + return ObjectTypeSection.pages.supportedLayouts(spaceUxType: spaceUxType) + + ObjectTypeSection.lists.supportedLayouts(spaceUxType: spaceUxType) + } } From 87e473499ef892e02c04251acb6105ac9cffa6ae Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Mon, 3 Nov 2025 18:54:42 +0100 Subject: [PATCH 109/228] New Crowdin updates (#4202) * Multilingual [skip ci] * Multilingual [skip ci] --- .../Loc/Sources/Loc/Resources/Auth.xcstrings | 14 ++++++------- .../Loc/Sources/Loc/Resources/UI.xcstrings | 20 +++++++++---------- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings b/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings index 7366743d61..9017bbd9f4 100644 --- a/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings @@ -3394,7 +3394,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Tell Us About Yourself" + "value" : "Расскажите нам о себе" } }, "tr" : { @@ -3543,7 +3543,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Artist / Content Creator" + "value" : "Артист" } }, "tr" : { @@ -3692,7 +3692,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Consultant" + "value" : "Консультант" } }, "tr" : { @@ -3841,7 +3841,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Designer" + "value" : "Дизайнер" } }, "tr" : { @@ -3990,7 +3990,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Software Developer" + "value" : "Разработчик ПО" } }, "tr" : { @@ -4288,7 +4288,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Manager / IT Professional" + "value" : "Менеджер/Специалист ИТ" } }, "tr" : { @@ -9750,7 +9750,7 @@ "it" : { "stringUnit" : { "state" : "new", - "value" : "Please clear approximately %@ of space and run the process again." + "value" : "Liberare circa %@ di spazio ed eseguire nuovamente il processo." } }, "ja" : { diff --git a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings index f050f397df..fb2ed3c109 100644 --- a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings @@ -7365,7 +7365,7 @@ "it" : { "stringUnit" : { "state" : "new", - "value" : "Oldest first" + "value" : "Prima i più vecchi" } }, "ja" : { @@ -7514,7 +7514,7 @@ "it" : { "stringUnit" : { "state" : "new", - "value" : "Newest first" + "value" : "Prima i più recenti" } }, "ja" : { @@ -7663,7 +7663,7 @@ "it" : { "stringUnit" : { "state" : "new", - "value" : "Date created" + "value" : "Data di creazione" } }, "ja" : { @@ -7812,7 +7812,7 @@ "it" : { "stringUnit" : { "state" : "new", - "value" : "Date updated" + "value" : "Data di aggiornamento" } }, "ja" : { @@ -44601,7 +44601,7 @@ "id" : { "stringUnit" : { "state" : "new", - "value" : "Hide Description" + "value" : "Sembunyikan Deskripsi" } }, "it" : { @@ -52226,7 +52226,7 @@ "id" : { "stringUnit" : { "state" : "new", - "value" : "Locked" + "value" : "Terkunci" } }, "it" : { @@ -69338,7 +69338,7 @@ "id" : { "stringUnit" : { "state" : "new", - "value" : "Unpinned" + "value" : "Tak disemat" } }, "it" : { @@ -84302,7 +84302,7 @@ "id" : { "stringUnit" : { "state" : "new", - "value" : "Show Description" + "value" : "Tampilkan Deskripsi" } }, "it" : { @@ -98938,7 +98938,7 @@ "id" : { "stringUnit" : { "state" : "new", - "value" : "Unlocked" + "value" : "Takterkunci" } }, "it" : { @@ -107928,7 +107928,7 @@ "it" : { "stringUnit" : { "state" : "new", - "value" : "Widget with a Query or Collection layout" + "value" : "Widget con layout Query o Collezione" } }, "ja" : { From c647847ae59b8fe7c34c2f089c3392c5f7999d01 Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Tue, 4 Nov 2025 04:45:45 +0100 Subject: [PATCH 110/228] Automation: Update middleware to v0.44.0-nightly.20251104.1 (#4203) Co-authored-by: William Blake --- Libraryfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraryfile b/Libraryfile index 4ed7756678..80431d6963 100644 --- a/Libraryfile +++ b/Libraryfile @@ -1 +1 @@ -MIDDLE_VERSION=v0.44.0-nightly.20251103.1 +MIDDLE_VERSION=v0.44.0-nightly.20251104.1 From 378163ad5c1f1c2d180f1abfd674c9853f5a8752 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 4 Nov 2025 13:03:16 +0000 Subject: [PATCH 111/228] IOS-5420 Implement progressive disclosure documentation system MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Created 3-level architecture: CLAUDE.md (overview) → Skills (routers) → Specialized guides (comprehensive) - Added 6 smart router skills with auto-activation via hooks - Consolidated code review docs: CODE_REVIEW_GUIDE.md + pr-review-automation.md - Slimmed CLAUDE.md from 457 to 310 lines - Created specialized guides: IOS_DEVELOPMENT_GUIDE.md, LOCALIZATION_GUIDE.md, CODE_GENERATION_GUIDE.md, SKILLS_MANAGEMENT_GUIDE.md - Updated GitHub workflow to use progressive disclosure system --- .../CODE_REVIEW_GUIDE.md | 4 +- .claude/SKILLS_MANAGEMENT_GUIDE.md | 694 ++++++++++++++++++ .claude/hooks/README.md | 548 ++++++++++++++ .claude/hooks/post-tool-use-tracker.sh | 84 +++ .claude/hooks/skill-activation-prompt.sh | 116 +++ .claude/hooks/skill-rules.json | 290 ++++++++ .claude/hooks/swiftformat-auto.sh | 108 +++ .claude/logs/.gitignore | 5 + .claude/skills/README.md | 534 ++++++++++++++ .../skills/code-generation-developer/SKILL.md | 192 +++++ .claude/skills/code-review-developer/SKILL.md | 263 +++++++ .../skills/design-system-developer/SKILL.md | 207 ++++++ .claude/skills/ios-dev-guidelines/SKILL.md | 127 ++++ .../skills/localization-developer/SKILL.md | 178 +++++ .claude/skills/skills-manager/SKILL.md | 243 ++++++ .github/workflows/claude-code-review.yml | 18 +- ...view-prompt.md => pr-review-automation.md} | 0 Anytype/Sources/IOS_DEVELOPMENT_GUIDE.md | 550 ++++++++++++++ .../Common/LOCALIZATION_GUIDE.md | 313 ++++++++ CLAUDE.md | 377 +++------- Modules/AnytypeCore/CODE_GENERATION_GUIDE.md | 407 ++++++++++ 21 files changed, 4999 insertions(+), 259 deletions(-) rename .github/workflows/code-review-guidelines.md => .claude/CODE_REVIEW_GUIDE.md (97%) create mode 100644 .claude/SKILLS_MANAGEMENT_GUIDE.md create mode 100644 .claude/hooks/README.md create mode 100755 .claude/hooks/post-tool-use-tracker.sh create mode 100755 .claude/hooks/skill-activation-prompt.sh create mode 100644 .claude/hooks/skill-rules.json create mode 100755 .claude/hooks/swiftformat-auto.sh create mode 100644 .claude/logs/.gitignore create mode 100644 .claude/skills/README.md create mode 100644 .claude/skills/code-generation-developer/SKILL.md create mode 100644 .claude/skills/code-review-developer/SKILL.md create mode 100644 .claude/skills/design-system-developer/SKILL.md create mode 100644 .claude/skills/ios-dev-guidelines/SKILL.md create mode 100644 .claude/skills/localization-developer/SKILL.md create mode 100644 .claude/skills/skills-manager/SKILL.md rename .github/workflows/{claude-code-review-prompt.md => pr-review-automation.md} (100%) create mode 100644 Anytype/Sources/IOS_DEVELOPMENT_GUIDE.md create mode 100644 Anytype/Sources/PresentationLayer/Common/LOCALIZATION_GUIDE.md create mode 100644 Modules/AnytypeCore/CODE_GENERATION_GUIDE.md diff --git a/.github/workflows/code-review-guidelines.md b/.claude/CODE_REVIEW_GUIDE.md similarity index 97% rename from .github/workflows/code-review-guidelines.md rename to .claude/CODE_REVIEW_GUIDE.md index 3a21031ce5..f9b6d2be37 100644 --- a/.github/workflows/code-review-guidelines.md +++ b/.claude/CODE_REVIEW_GUIDE.md @@ -1,6 +1,6 @@ -# Code Review Guidelines +# Code Review Guide -Shared review standards for both local reviews and automated CI reviews. +Comprehensive review standards for both local reviews and automated CI reviews. ## Core Review Rules diff --git a/.claude/SKILLS_MANAGEMENT_GUIDE.md b/.claude/SKILLS_MANAGEMENT_GUIDE.md new file mode 100644 index 0000000000..a78c1fc8f8 --- /dev/null +++ b/.claude/SKILLS_MANAGEMENT_GUIDE.md @@ -0,0 +1,694 @@ +# Skills & Hooks Management Guide + +Complete guide to managing, troubleshooting, and fine-tuning the progressive disclosure documentation system. + +*Last updated: 2025-01-30* + +## Overview + +This guide explains how to manage the **automated documentation system** that suggests relevant skills based on your prompts and file context. + +## 🎯 System Components + +### 1. Hooks (The Automation Layer) + +**What**: Shell scripts that run automatically at specific events +**Where**: `.claude/hooks/` +**Purpose**: Analyze prompts and suggest relevant skills + +**The 3 hooks**: +- `skill-activation-prompt.sh` - **UserPromptSubmit event** - Analyzes your prompt BEFORE Claude sees it, suggests relevant skills +- `post-tool-use-tracker.sh` - **PostToolUse event** - Tracks file edits after Claude uses Edit/Write tools +- `swiftformat-auto.sh` - **Stop event** - Auto-formats Swift files after Claude finishes + +**Configuration**: +- `skill-rules.json` - Defines keywords and patterns for skill matching + +### 2. Skills (The Documentation Routers) + +**What**: Short markdown files (~100-200 lines) that act as "smart routers" +**Where**: `.claude/skills/*/SKILL.md` +**Purpose**: Provide critical rules + quick patterns + point to comprehensive guides + +**The 4 skills**: +1. `ios-dev-guidelines` - Swift/iOS patterns → `IOS_DEVELOPMENT_GUIDE.md` +2. `localization-developer` - Localization workflow → `LOCALIZATION_GUIDE.md` +3. `code-generation-developer` - Feature flags, make generate → `CODE_GENERATION_GUIDE.md` +4. `design-system-developer` - Icons, typography, colors → `DESIGN_SYSTEM_MAPPING.md` + +### 3. Specialized Guides (The Deep Knowledge) + +**What**: Comprehensive documentation files (300-550 lines each) +**Where**: Various locations in the project +**Purpose**: Single source of truth for deep technical knowledge + +## 🔄 How the System Works + +### The Activation Flow + +``` +You type: "Add a feature flag for chat" + ↓ +[UserPromptSubmit hook runs - happens automatically] + ↓ +skill-activation-prompt.sh executes + ↓ +Reads skill-rules.json + ↓ +Checks keywords: "feature flag" ✓ matches code-generation-developer + ↓ +Outputs suggestion (Claude Code displays this): +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +🎯 SKILL ACTIVATION CHECK +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +📚 Relevant Skill: code-generation-developer + Description: Smart router to code generation... + +💡 Consider using these skills if relevant to this task. +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + ↓ +Claude sees the suggestion and can read the skill + ↓ +Claude uses skill to route you to CODE_GENERATION_GUIDE.md if needed +``` + +### What Gets Matched + +**skill-rules.json** contains matching rules for each skill: + +```json +{ + "skills": { + "code-generation-developer": { + "promptTriggers": { + "keywords": ["feature flag", "make generate", "swiftgen"], + "intentPatterns": ["(create|add|enable).*?(feature flag|flag)"] + }, + "fileTriggers": { + "pathPatterns": ["**/FeatureDescription+Flags.swift"], + "contentPatterns": ["FeatureFlags\\."] + } + } + } +} +``` + +**Matching logic**: +1. **Keywords**: Simple word/phrase matching in your prompt +2. **Intent patterns**: Regex patterns for detecting user intent (e.g., "add.*feature flag") +3. **File path patterns**: Matches when editing specific files +4. **Content patterns**: Matches when file contains specific code patterns + +## 🔧 Troubleshooting & Fine-Tuning + +### Scenario 1: Skill Didn't Activate (False Negative) + +**Symptom**: You expected a skill to activate but it didn't + +**How to diagnose**: + +1. **Check the activation logs**: + ```bash + tail -20 .claude/logs/skill-activations.log + ``` + + Look for your prompt and see what matched: + ``` + [2025-01-30 14:23:45] Analyzing prompt: "export SVG from Figma" + No matches found + ``` + +2. **Check current keywords for the expected skill**: + ```bash + cat .claude/hooks/skill-rules.json | jq '.skills."design-system-developer".promptTriggers.keywords' + ``` + +3. **Identify missing keywords**: + - Your prompt: "export SVG from Figma" + - Current keywords: icon, figma, typography, color + - Missing: "svg", "export" + +**How to fix**: + +**Ask Claude**: +``` +"The design-system skill didn't activate when I asked about exporting SVG. +Can you add 'svg' and 'export' as keywords?" +``` + +**Or edit yourself**: +```bash +# Edit .claude/hooks/skill-rules.json +# Find design-system-developer section +# Add to keywords array: +"keywords": [ + "icon", + "figma", + "svg", // ← Add this + "export" // ← Add this +] +``` + +### Scenario 2: Skill Activated When Not Relevant (False Positive) + +**Symptom**: A skill activates too often or in wrong contexts + +**Example**: Every time you mention "text", localization-developer activates + +**How to diagnose**: + +1. **Check which keyword is causing it**: + ```bash + cat .claude/hooks/skill-rules.json | jq '.skills."localization-developer".promptTriggers.keywords' + ``` + + Result shows: `"text"` is in the keywords array + +2. **Determine if keyword is too broad**: + - "text" matches: "add text to UI", "text file", "raw text", etc. + - Too broad! Should be more specific + +**How to fix**: + +**Ask Claude**: +``` +"The word 'text' in localization-developer is too broad. +Replace it with 'localized text' and 'user-facing text'." +``` + +**Or edit yourself**: +```bash +# Edit .claude/hooks/skill-rules.json +# Before: +"keywords": ["localization", "text", "Loc."] + +# After: +"keywords": ["localization", "localized text", "user-facing text", "Loc."] +``` + +### Scenario 3: Testing Changes + +After modifying `skill-rules.json`, verify it works: + +**Method 1: Try the prompt again in conversation** +``` +"Add an SVG icon from Figma" +# Should now trigger design-system-developer +``` + +**Method 2: Check activation logs** +```bash +tail .claude/logs/skill-activations.log +# Look for: Matched: design-system-developer +``` + +**Method 3: Manual test (advanced)** +```bash +echo '{"prompt":"Add SVG from Figma"}' | .claude/hooks/skill-activation-prompt.sh +# Should output skill suggestion +``` + +## 📋 Common Adjustments + +### Add a Keyword + +**When**: You use a term that should trigger a skill but doesn't + +**Example**: Add "component" to ios-dev-guidelines + +```json +// .claude/hooks/skill-rules.json +{ + "skills": { + "ios-dev-guidelines": { + "promptTriggers": { + "keywords": [ + "swift", + "swiftui", + "viewmodel", + "component" // ← Add here + ] + } + } + } +} +``` + +**Ask Claude**: "Add 'component' as a keyword for ios-dev-guidelines" + +### Remove a Too-Broad Keyword + +**When**: A skill activates too often due to a common word + +**Example**: Remove "text" from localization-developer + +```json +// Before +"keywords": ["localization", "text", "Loc."] + +// After +"keywords": ["localization", "Loc."] +``` + +**Ask Claude**: "Remove 'text' from localization-developer keywords, it's too broad" + +### Add an Intent Pattern (Advanced) + +**When**: You want to match user actions/intents, not just keywords + +**Example**: Trigger design-system when implementing from Figma + +```json +{ + "skills": { + "design-system-developer": { + "promptTriggers": { + "intentPatterns": [ + "(add|create|use).*?(icon|image|asset)", + "(implement|build|create).*?from figma" // ← Add regex pattern + ] + } + } + } +} +``` + +**Regex explanation**: +- `(implement|build|create)` - Matches any of these action words +- `.*?` - Matches any characters in between (non-greedy) +- `from figma` - Matches this phrase + +**Ask Claude**: "When I say 'implement X from Figma', trigger design-system skill" + +### Adjust Priority + +**When**: Multiple skills match, you want to control which is suggested first + +```json +{ + "skills": { + "ios-dev-guidelines": { + "priority": "high" // Suggested first + }, + "design-system-developer": { + "priority": "medium" // Suggested second + } + } +} +``` + +**Values**: `"high"`, `"medium"`, `"low"` + +## 🔍 Diagnostic Commands + +### View Activation Logs + +```bash +# Last 20 activations +tail -20 .claude/logs/skill-activations.log + +# Watch in real-time +tail -f .claude/logs/skill-activations.log + +# Search for specific skill +grep "design-system-developer" .claude/logs/skill-activations.log +``` + +**Log format**: +``` +[2025-01-30 14:23:45] Analyzing prompt: "add feature flag" + ✓ Matched: code-generation-developer + Suggested skills: code-generation-developer +``` + +### View Current Configuration + +```bash +# All skills configuration +cat .claude/hooks/skill-rules.json + +# Pretty print +cat .claude/hooks/skill-rules.json | jq . + +# Specific skill keywords +cat .claude/hooks/skill-rules.json | jq '.skills."ios-dev-guidelines".promptTriggers.keywords' + +# All keywords for all skills +cat .claude/hooks/skill-rules.json | jq '.skills[].promptTriggers.keywords' +``` + +### Test Skill Activation Manually + +```bash +# Test a specific prompt +echo '{"prompt":"add a feature flag"}' | .claude/hooks/skill-activation-prompt.sh + +# Should output: +# ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +# 🎯 SKILL ACTIVATION CHECK +# ... +# 📚 Relevant Skill: code-generation-developer +``` + +### Verify Hook Permissions + +```bash +# Hooks should be executable +ls -l .claude/hooks/*.sh + +# Should show: -rwxr-xr-x +# If not, fix with: +chmod +x .claude/hooks/*.sh +``` + +## 🎓 Advanced: Understanding skill-rules.json + +### Full Structure + +```json +{ + "skills": { + "skill-name": { + "type": "domain", // Type of skill + "priority": "high", // Suggestion priority + "description": "...", // Shown in activation message + "promptTriggers": { + "keywords": [...], // Simple word matching + "intentPatterns": [...] // Regex for intent matching + }, + "fileTriggers": { + "pathPatterns": [...], // File path glob patterns + "contentPatterns": [...] // Code pattern matching + } + } + }, + "config": { + "maxSkillsPerPrompt": 2, // Max skills to suggest at once + "logActivations": true, // Enable logging + "logPath": ".claude/logs/skill-activations.log" + } +} +``` + +### Keyword Matching (Simple) + +**Keywords**: Array of words/phrases to match in prompt + +```json +"keywords": [ + "swift", // Matches: "swift code", "Swift programming" + "feature flag", // Matches: "add a feature flag" + "Loc." // Matches: "use Loc.title" +] +``` + +**Case insensitive**: "Swift" = "swift" = "SWIFT" + +### Intent Pattern Matching (Advanced) + +**Intent patterns**: Regex for matching user actions/intents + +```json +"intentPatterns": [ + "(create|add|implement).*?(view|viewmodel|coordinator)", + "(how to|best practice).*?(swift|ios|architecture)" +] +``` + +**Examples**: +- `"(create|add).*?view"` matches: + - "create a new view" + - "add view for settings" + - "create chat view" + +**Regex cheatsheet**: +- `(word1|word2)` - Match either word +- `.*?` - Match any characters (non-greedy) +- `\\.` - Match literal dot (escaped) +- `\\(` - Match literal parenthesis (escaped) + +### File Trigger Matching + +**Path patterns**: Glob patterns for file paths + +```json +"pathPatterns": [ + "**/*.swift", // Any .swift file + "**/PresentationLayer/**", // Any file in PresentationLayer + "**/FeatureDescription+Flags.swift" // Specific file +] +``` + +**Content patterns**: Regex for code content + +```json +"contentPatterns": [ + "class.*ViewModel", // Classes ending in ViewModel + "@Published", // @Published property wrapper + "FeatureFlags\\.", // FeatureFlags usage + "import SwiftUI" // SwiftUI import +] +``` + +## 🛠️ Creating a New Skill + +### When to Create a New Skill + +Create a new skill when: +- ✅ You have a distinct domain of knowledge (e.g., testing, CI/CD, performance) +- ✅ There's comprehensive documentation to route to +- ✅ The topic comes up frequently +- ❌ DON'T create for one-off topics or rarely-used info + +### Steps to Create a New Skill + +**1. Create the specialized guide** (Level 3): +```bash +# Example: Create testing guide +touch Anytype/Sources/TESTING_GUIDE.md +# Fill with comprehensive testing documentation +``` + +**2. Create the skill** (Level 2): +```bash +mkdir -p .claude/skills/testing-developer +touch .claude/skills/testing-developer/SKILL.md +``` + +**3. Use the smart router template**: +```markdown +# Testing Developer (Smart Router) + +## Purpose +Context-aware routing to testing patterns and practices. + +## When Auto-Activated +- Working with test files +- Keywords: test, mock, unittest, xctest + +## 🚨 CRITICAL RULES +1. ALWAYS update tests when refactoring +2. NEVER skip test execution + +## 📋 Quick Reference +[Quick testing patterns] + +## 📚 Complete Documentation +**Full Guide**: `Anytype/Sources/TESTING_GUIDE.md` + +--- +**Navigation**: This is a smart router. For details, refer to TESTING_GUIDE.md. +``` + +**4. Add to skill-rules.json**: +```json +{ + "skills": { + "testing-developer": { + "type": "domain", + "priority": "medium", + "description": "Smart router to testing guide. Unit tests, mocks, XCTest patterns", + "promptTriggers": { + "keywords": ["test", "unittest", "mock", "xctest", "testing"], + "intentPatterns": ["(write|add|create).*?test"] + }, + "fileTriggers": { + "pathPatterns": ["**/*Tests.swift", "**/Mocks/**"], + "contentPatterns": ["XCTestCase", "import XCTest"] + } + } + } +} +``` + +**5. Test the new skill**: +```bash +echo '{"prompt":"write unit tests for this"}' | .claude/hooks/skill-activation-prompt.sh +# Should suggest: testing-developer +``` + +## 🚨 Common Issues & Fixes + +### Issue: Hook Not Executing + +**Symptoms**: No skill suggestions appear, logs empty + +**Diagnosis**: +```bash +# Check if hook exists +ls -l .claude/hooks/skill-activation-prompt.sh + +# Check if executable +# Should show: -rwxr-xr-x +``` + +**Fix**: +```bash +chmod +x .claude/hooks/skill-activation-prompt.sh +``` + +### Issue: Invalid JSON in skill-rules.json + +**Symptoms**: Hook fails silently, no activations + +**Diagnosis**: +```bash +# Validate JSON +jq . .claude/hooks/skill-rules.json + +# If error shown, there's invalid JSON +``` + +**Fix**: +- Check for missing commas +- Check for trailing commas in arrays/objects +- Use a JSON validator or `jq` to find the error +- Ask Claude: "Validate and fix my skill-rules.json" + +### Issue: Skill Activates But Content Not Helpful + +**Symptoms**: Right skill activates but doesn't help + +**Diagnosis**: The skill might be outdated or routing to wrong guide + +**Fix**: +1. Check the skill file: `cat .claude/skills/SKILL-NAME/SKILL.md` +2. Verify it points to the correct guide +3. Check if the guide exists and is up-to-date +4. Ask Claude: "Update the X skill to route to Y guide" + +### Issue: Too Many Skills Suggested + +**Symptoms**: Multiple skills activate for same prompt + +**Diagnosis**: Keywords overlap between skills + +**Fix**: +1. Check `maxSkillsPerPrompt` in skill-rules.json config +2. Make keywords more specific +3. Adjust priorities so most relevant skill appears first + +```json +"config": { + "maxSkillsPerPrompt": 2 // Limit to 2 skills max +} +``` + +## 📊 Monitoring & Maintenance + +### Regular Checks + +**Weekly**: +- Review activation logs for false positives/negatives +- Check if new common terms should be added as keywords + +```bash +# See most recent activations +tail -50 .claude/logs/skill-activations.log + +# Count activations by skill +grep "Matched:" .claude/logs/skill-activations.log | sort | uniq -c +``` + +**Monthly**: +- Review and update skill content +- Verify specialized guides are current +- Clean up outdated keywords + +### Log Rotation + +Logs can grow large over time: + +```bash +# Archive old logs +cd .claude/logs +tar -czf logs-$(date +%Y%m%d).tar.gz skill-activations.log +rm skill-activations.log +``` + +## 🎯 Quick Reference + +### I Want To... + +**Add a keyword**: +```bash +# Ask Claude: +"Add 'architecture' to ios-dev-guidelines keywords" + +# Or edit: +vim .claude/hooks/skill-rules.json +# Add to keywords array +``` + +**See what activated**: +```bash +tail -20 .claude/logs/skill-activations.log +``` + +**Test a prompt**: +```bash +echo '{"prompt":"your prompt here"}' | .claude/hooks/skill-activation-prompt.sh +``` + +**Check current keywords**: +```bash +cat .claude/hooks/skill-rules.json | jq '.skills."SKILL-NAME".promptTriggers.keywords' +``` + +**Fix permissions**: +```bash +chmod +x .claude/hooks/*.sh +``` + +**Validate JSON**: +```bash +jq . .claude/hooks/skill-rules.json +``` + +## 📚 Related Documentation + +- `.claude/hooks/README.md` - Complete hooks system documentation +- `.claude/skills/README.md` - Skills system overview +- `CLAUDE.md` - Main project documentation (Level 1) + +## 💡 Pro Tips + +1. **Start broad, then narrow**: Add broad keywords first, remove if too many false positives +2. **Use logs for data**: Check logs regularly to see what's activating +3. **Ask Claude for help**: Let Claude analyze logs and suggest improvements +4. **Test changes**: Always test after modifying skill-rules.json +5. **Document custom keywords**: Add comments in skill-rules.json explaining why you added specific terms + +## ✅ Checklist: System Health + +- [ ] All hooks are executable (`ls -l .claude/hooks/*.sh` shows `rwx`) +- [ ] skill-rules.json is valid JSON (`jq . .claude/hooks/skill-rules.json`) +- [ ] Logs directory exists (`.claude/logs/`) +- [ ] Recent activations visible in logs (`tail .claude/logs/skill-activations.log`) +- [ ] All 4 skills exist and are readable +- [ ] Specialized guides exist and link correctly from skills + +--- + +**Need help?** Just ask: "Check my skills system health" or "Help me troubleshoot skill activation" diff --git a/.claude/hooks/README.md b/.claude/hooks/README.md new file mode 100644 index 0000000000..fe262bbdec --- /dev/null +++ b/.claude/hooks/README.md @@ -0,0 +1,548 @@ +# Claude Code Hooks System + +Automated hooks for the Anytype iOS project that enhance Claude Code's capabilities with skill auto-activation, tool tracking, and code formatting. + +## Overview + +Hooks are shell scripts that run at specific points during Claude Code execution: +- **UserPromptSubmit**: Before Claude sees your message +- **PostToolUse**: After Claude uses a tool (Edit, Write, etc.) +- **Stop**: After Claude finishes responding + +These hooks enable: +- Automatic skill suggestions +- Tool usage logging +- Automatic Swift code formatting +- Real-time monitoring + +## 🪝 Installed Hooks + +### 1. skill-activation-prompt.sh (UserPromptSubmit) + +**Purpose**: Automatically suggest relevant skills based on prompt and context + +**Event**: `UserPromptSubmit` (before Claude sees your message) + +**What it does**: +1. Analyzes your prompt for keywords (e.g., "swift", "localization", "icon") +2. Checks file paths if you're editing files +3. Matches against patterns in `skill-rules.json` +4. Injects skill suggestions into Claude's context + +**Example Output**: +``` +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +🎯 SKILL ACTIVATION CHECK +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +📚 Relevant Skill: ios-dev-guidelines + Description: Swift/iOS development patterns... + +💡 Consider using these skills if relevant to this task. +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +``` + +**Logs**: `.claude/logs/skill-activations.log` + +**Configuration**: `.claude/hooks/skill-rules.json` + +--- + +### 2. post-tool-use-tracker.sh (PostToolUse) + +**Purpose**: Track all file modifications for monitoring and debugging + +**Event**: `PostToolUse` (after Edit/Write/MultiEdit/NotebookEdit) + +**What it does**: +1. Logs which files were edited with timestamps +2. Categorizes by codebase area (UI/Presentation, Services, Models, etc.) +3. Creates detailed usage log for debugging +4. Enables other hooks to know what was modified + +**Example Log Entry**: +``` +[2025-01-30 14:23:45] Edit: Anytype/Sources/PresentationLayer/ChatView.swift + └─ Area: UI/Presentation, File: Anytype/Sources/PresentationLayer/ChatView.swift +``` + +**Logs**: `.claude/logs/tool-usage.log` + +--- + +### 3. swiftformat-auto.sh (Stop) + +**Purpose**: Automatically format Swift files after Claude finishes + +**Event**: `Stop` (after Claude finishes responding) + +**What it does**: +1. Reads recently edited Swift files from tool-usage.log +2. Runs SwiftFormat on each file +3. Logs formatting results +4. Displays summary with token usage warning + +**⚠️ Token Usage Warning**: + +File modifications trigger `` notifications that consume context tokens. Based on research from the showcase repository: +- Large files with many changes = more tokens consumed +- Strict formatting rules = more changes = more tokens +- Each change generates a system-reminder with full diff + +**Enabled by default**: `ENABLED=true` (can be disabled in script) + +**To disable**: +```bash +# Edit the script +vim .claude/hooks/swiftformat-auto.sh + +# Change line: +ENABLED=false # Set to false +``` + +**Or rename to disable**: +```bash +mv .claude/hooks/swiftformat-auto.sh .claude/hooks/swiftformat-auto.sh.disabled +``` + +**Logs**: `.claude/logs/swiftformat.log` + +**Example Output**: +``` +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +✨ SwiftFormat Auto-Formatter +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +Automatically formatted 3 Swift file(s) + +⚠️ Note: File formatting consumes context tokens... +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +``` + +## 📂 Directory Structure + +``` +.claude/hooks/ +├── README.md (this file) +├── skill-rules.json # Skill activation configuration +├── skill-activation-prompt.sh # UserPromptSubmit hook +├── post-tool-use-tracker.sh # PostToolUse hook +└── swiftformat-auto.sh # Stop hook + +.claude/logs/ # Generated logs (gitignored) +├── skill-activations.log +├── tool-usage.log +└── swiftformat.log +``` + +## ⚙️ Configuration + +### skill-rules.json + +Defines which skills activate for which patterns: + +```json +{ + "skills": { + "ios-dev-guidelines": { + "type": "domain", + "priority": "high", + "description": "Swift/iOS development patterns...", + "promptTriggers": { + "keywords": ["swift", "viewmodel", "refactor"], + "intentPatterns": [ + "(create|add).*?(view|viewmodel|coordinator)" + ] + }, + "fileTriggers": { + "pathPatterns": ["**/*.swift"], + "contentPatterns": ["class.*ViewModel", "@Published"] + } + }, + ... + }, + "config": { + "maxSkillsPerPrompt": 2, + "logActivations": true, + "logPath": ".claude/logs/skill-activations.log" + } +} +``` + +**Key Fields**: +- `keywords`: Terms that trigger skill suggestion +- `intentPatterns`: Regex for action patterns +- `pathPatterns`: File paths that activate skill +- `contentPatterns`: Code patterns to match +- `maxSkillsPerPrompt`: Limit suggestions (default: 2) + +### Hook Configuration + +Each hook script has configuration at the top: + +**skill-activation-prompt.sh**: +```bash +# Paths +SKILL_RULES="$SCRIPT_DIR/skill-rules.json" +LOG_FILE="$LOG_DIR/skill-activations.log" +``` + +**swiftformat-auto.sh**: +```bash +# Configuration +ENABLED=true # Set to false to disable +``` + +## 🔍 Monitoring & Debugging + +### View Activation Logs + +```bash +# Skill activations +tail -f .claude/logs/skill-activations.log + +# Tool usage +tail -f .claude/logs/tool-usage.log + +# SwiftFormat results +tail -f .claude/logs/swiftformat.log +``` + +### Check Hook Execution + +```bash +# List hooks +ls -lh .claude/hooks/*.sh + +# Verify executability +ls -l .claude/hooks/*.sh | grep -E "^-rwx" +``` + +### Test Hook Manually + +```bash +# Test skill-activation-prompt +echo '{"prompt":"add a feature flag for chat"}' | .claude/hooks/skill-activation-prompt.sh + +# Should output skill suggestion +``` + +## 🚀 Hook Lifecycle + +### UserPromptSubmit Flow + +``` +User types prompt + ↓ +Claude Code calls hook + ↓ +skill-activation-prompt.sh runs + ↓ +Analyzes prompt + files + ↓ +Matches against skill-rules.json + ↓ +Outputs skill suggestions + ↓ +Claude sees prompt + suggestions +``` + +### PostToolUse Flow + +``` +Claude uses Edit/Write + ↓ +Tool completes + ↓ +post-tool-use-tracker.sh runs + ↓ +Logs file path + timestamp + ↓ +Categorizes by codebase area + ↓ +Updates tool-usage.log +``` + +### Stop Flow + +``` +Claude finishes response + ↓ +swiftformat-auto.sh runs + ↓ +Reads recently edited Swift files + ↓ +Runs SwiftFormat on each + ↓ +Logs results to swiftformat.log + ↓ +Displays summary to user +``` + +## 🛠️ Managing Hooks + +### Enabling/Disabling Hooks + +**To disable a hook temporarily**: +```bash +# Rename with .disabled extension +mv .claude/hooks/swiftformat-auto.sh .claude/hooks/swiftformat-auto.sh.disabled +``` + +**To re-enable**: +```bash +mv .claude/hooks/swiftformat-auto.sh.disabled .claude/hooks/swiftformat-auto.sh +``` + +**To disable via configuration** (swiftformat-auto.sh only): +```bash +# Edit the script +vim .claude/hooks/swiftformat-auto.sh + +# Change ENABLED=true to ENABLED=false +``` + +### Adding New Hooks + +1. **Create hook script**: +```bash +touch .claude/hooks/my-new-hook.sh +chmod +x .claude/hooks/my-new-hook.sh +``` + +2. **Add shebang and setup**: +```bash +#!/bin/bash +set -euo pipefail + +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +LOG_DIR="$SCRIPT_DIR/../logs" +mkdir -p "$LOG_DIR" +``` + +3. **Read event data**: +```bash +EVENT_DATA=$(cat) +# Parse JSON with jq +``` + +4. **Implement logic**: +```bash +# Your hook logic here +echo "Hook executed successfully" +``` + +5. **Test**: +```bash +echo '{"test":"data"}' | .claude/hooks/my-new-hook.sh +``` + +## ⚠️ Important Warnings + +### Token Usage with SwiftFormat + +**From Research** (showcase repository + community feedback): + +File formatting can consume significant context tokens: +- Each file change triggers a `` +- System-reminders include full file diffs +- Can consume 160k+ tokens in 3 rounds for large files with strict formatting + +**Recommendation**: +- Monitor your context usage +- Disable swiftformat-auto.sh if context depletes too quickly +- Alternative: Run SwiftFormat manually between Claude sessions + +**How to check token usage**: +- Watch the context indicator in Claude Code +- Review system-reminders in conversation +- Check if context auto-compacts frequently + +**If problematic**: +```bash +# Disable SwiftFormat hook +mv .claude/hooks/swiftformat-auto.sh .claude/hooks/swiftformat-auto.sh.disabled +``` + +### Hook Failures + +If a hook fails: +1. Check logs for error messages +2. Test hook manually with sample input +3. Verify jq is installed (required for JSON parsing) +4. Check file permissions (should be executable) +5. Look for syntax errors in shell script + +## 📊 Log Management + +### Log Rotation + +Logs can grow large over time. Rotate them periodically: + +```bash +# Archive old logs +cd .claude/logs +tar -czf logs-$(date +%Y%m%d).tar.gz *.log +rm *.log +``` + +### Clear Logs + +```bash +# Clear all logs +rm .claude/logs/*.log + +# Or truncate without deleting +truncate -s 0 .claude/logs/*.log +``` + +### Git Ignore + +Logs are gitignored by default (`.claude/logs/.gitignore`): +``` +*.log +!.gitignore +``` + +## 🔧 Troubleshooting + +### Hook Not Running + +**Problem**: Hook doesn't seem to execute + +**Solutions**: +1. Verify hook is executable: + ```bash + chmod +x .claude/hooks/skill-activation-prompt.sh + ``` + +2. Check for syntax errors: + ```bash + bash -n .claude/hooks/skill-activation-prompt.sh + ``` + +3. Test manually: + ```bash + echo '{"prompt":"test"}' | .claude/hooks/skill-activation-prompt.sh + ``` + +### Skills Not Activating + +**Problem**: No skill suggestions appear + +**Solutions**: +1. Check activation log: + ```bash + tail .claude/logs/skill-activations.log + ``` + +2. Verify skill-rules.json is valid: + ```bash + jq . .claude/hooks/skill-rules.json + ``` + +3. Use more specific keywords in prompts + +### SwiftFormat Not Running + +**Problem**: Swift files not being formatted + +**Solutions**: +1. Verify SwiftFormat is installed: + ```bash + which swiftformat + ``` + +2. Install if missing: + ```bash + brew install swiftformat + ``` + +3. Check if hook is enabled: + ```bash + grep "ENABLED" .claude/hooks/swiftformat-auto.sh + ``` + +4. Check logs: + ```bash + tail .claude/logs/swiftformat.log + ``` + +## 📚 Related Documentation + +- **Skills System**: `.claude/skills/README.md` - What skills are available +- **Showcase Repository**: https://github.com/diet103/claude-code-infrastructure-showcase - Original inspiration +- **CLAUDE.md**: Main project documentation + +## 🎓 Best Practices + +### For Hook Usage + +1. **Monitor logs regularly** - Check for errors and unusual patterns +2. **Keep skill-rules.json updated** - Add keywords as you discover them +3. **Watch token usage** - Disable SwiftFormat if context consumption is high +4. **Test hooks after updates** - Verify they still work correctly +5. **Keep hooks simple** - Complex logic should be in skills, not hooks + +### For Hook Development + +1. **Use set -euo pipefail** - Catch errors early +2. **Log extensively** - Makes debugging easier +3. **Handle edge cases** - Check for missing files, invalid JSON, etc. +4. **Test with sample data** - Don't just test in live Claude sessions +5. **Document configuration** - Explain what each setting does + +## 📖 Hook Template + +When creating a new hook: + +```bash +#!/bin/bash + +# [Hook Name] - [Description] +# Event: [UserPromptSubmit/PostToolUse/Stop] +# Purpose: [What this hook does] + +set -euo pipefail + +# Configuration +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +LOG_DIR="$SCRIPT_DIR/../logs" +LOG_FILE="$LOG_DIR/my-hook.log" + +# Ensure log directory exists +mkdir -p "$LOG_DIR" + +# Read event data from stdin +EVENT_DATA=$(cat) + +# Parse event data +FIELD=$(echo "$EVENT_DATA" | jq -r '.field // empty') + +# Exit if no data +if [ -z "$FIELD" ]; then + exit 0 +fi + +# Log activity +echo "[$(date '+%Y-%m-%d %H:%M:%S')] Hook executed" >> "$LOG_FILE" + +# Your logic here +# ... + +# Output to Claude (if UserPromptSubmit hook) +# echo "Your message to Claude" + +exit 0 +``` + +## Summary + +The hooks system provides: +- ✅ **Automatic skill activation** - No manual skill loading needed +- ✅ **Tool usage tracking** - Know what files were modified +- ✅ **Code formatting** - Keep Swift files formatted (with token awareness) +- ✅ **Comprehensive logging** - Debug issues and monitor activity +- ✅ **Easy configuration** - skill-rules.json for fine-tuning + +**Usage**: Hooks run automatically - you don't need to do anything. Just monitor logs and adjust configuration as needed. \ No newline at end of file diff --git a/.claude/hooks/post-tool-use-tracker.sh b/.claude/hooks/post-tool-use-tracker.sh new file mode 100755 index 0000000000..449ce508d2 --- /dev/null +++ b/.claude/hooks/post-tool-use-tracker.sh @@ -0,0 +1,84 @@ +#!/bin/bash + +# Post-Tool-Use Tracker Hook +# Logs all Edit/Write/MultiEdit operations for monitoring and debugging +# Based on: https://github.com/diet103/claude-code-infrastructure-showcase + +set -euo pipefail + +# Get the directory where this script is located +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +LOG_DIR="$SCRIPT_DIR/../logs" +LOG_FILE="$LOG_DIR/tool-usage.log" + +# Ensure log directory exists +mkdir -p "$LOG_DIR" + +# Read event data from stdin +EVENT_DATA=$(cat) + +# Extract tool name and parameters +TOOL_NAME=$(echo "$EVENT_DATA" | jq -r '.tool // "unknown"') + +# Only track file modification tools +case "$TOOL_NAME" in + Edit|Write|MultiEdit|NotebookEdit) + ;; + *) + # Not a file modification tool, exit silently + exit 0 + ;; +esac + +# Get timestamp +TIMESTAMP=$(date '+%Y-%m-%d %H:%M:%S') + +# Extract file path(s) based on tool type +FILE_PATHS="" + +case "$TOOL_NAME" in + Edit|Write|NotebookEdit) + FILE_PATH=$(echo "$EVENT_DATA" | jq -r '.parameters.file_path // .parameters.notebook_path // "unknown"') + FILE_PATHS="$FILE_PATH" + ;; + MultiEdit) + # MultiEdit has an array of edits + FILE_PATHS=$(echo "$EVENT_DATA" | jq -r '.parameters.edits[]?.file_path // empty' | tr '\n' ', ' | sed 's/,$//') + ;; +esac + +# If no files found, exit +if [ -z "$FILE_PATHS" ]; then + exit 0 +fi + +# Log the tool usage +echo "[$TIMESTAMP] $TOOL_NAME: $FILE_PATHS" >> "$LOG_FILE" + +# Extract repo/directory context (helps identify which part of the project was modified) +for file in $(echo "$FILE_PATHS" | tr ',' '\n'); do + # Remove leading/trailing whitespace + file=$(echo "$file" | xargs) + + # Determine which area of the codebase + AREA="unknown" + if echo "$file" | grep -q "PresentationLayer"; then + AREA="UI/Presentation" + elif echo "$file" | grep -q "ServiceLayer"; then + AREA="Services" + elif echo "$file" | grep -q "ApplicationLayer"; then + AREA="Application" + elif echo "$file" | grep -q "Models"; then + AREA="Models" + elif echo "$file" | grep -q "\.claude/"; then + AREA="Claude Config" + elif echo "$file" | grep -q "Modules/"; then + AREA="Modules" + elif echo "$file" | grep -q "\.xcstrings"; then + AREA="Localization" + fi + + echo " └─ Area: $AREA, File: $file" >> "$LOG_FILE" +done + +exit 0 diff --git a/.claude/hooks/skill-activation-prompt.sh b/.claude/hooks/skill-activation-prompt.sh new file mode 100755 index 0000000000..d9fbfb57c8 --- /dev/null +++ b/.claude/hooks/skill-activation-prompt.sh @@ -0,0 +1,116 @@ +#!/bin/bash + +# Skill Auto-Activation Hook (UserPromptSubmit) +# This hook analyzes user prompts and suggests relevant skills automatically +# Based on: https://github.com/diet103/claude-code-infrastructure-showcase + +set -euo pipefail + +# Get the directory where this script is located +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +SKILL_RULES="$SCRIPT_DIR/skill-rules.json" +LOG_DIR="$SCRIPT_DIR/../logs" +LOG_FILE="$LOG_DIR/skill-activations.log" + +# Ensure log directory exists +mkdir -p "$LOG_DIR" + +# Read event data from stdin +EVENT_DATA=$(cat) + +# Extract user prompt from event data +USER_PROMPT=$(echo "$EVENT_DATA" | jq -r '.prompt // empty') + +# Exit silently if no prompt +if [ -z "$USER_PROMPT" ]; then + exit 0 +fi + +# Log timestamp +echo "[$(date '+%Y-%m-%d %H:%M:%S')] Analyzing prompt..." >> "$LOG_FILE" + +# Convert prompt to lowercase for case-insensitive matching +PROMPT_LOWER=$(echo "$USER_PROMPT" | tr '[:upper:]' '[:lower:]') + +# Array to hold matched skills +MATCHED_SKILLS=() + +# Function to check if prompt contains any keyword +contains_keyword() { + local skill_name=$1 + local keywords=$(jq -r ".skills[\"$skill_name\"].promptTriggers.keywords[]" "$SKILL_RULES") + + while IFS= read -r keyword; do + keyword_lower=$(echo "$keyword" | tr '[:upper:]' '[:lower:]') + if echo "$PROMPT_LOWER" | grep -qi "$keyword_lower"; then + return 0 # Found match + fi + done <<< "$keywords" + + return 1 # No match +} + +# Function to check if prompt matches any intent pattern +matches_intent() { + local skill_name=$1 + local patterns=$(jq -r ".skills[\"$skill_name\"].promptTriggers.intentPatterns[]" "$SKILL_RULES" 2>/dev/null) + + if [ -z "$patterns" ]; then + return 1 + fi + + while IFS= read -r pattern; do + if echo "$PROMPT_LOWER" | grep -qiE "$pattern"; then + return 0 # Found match + fi + done <<< "$patterns" + + return 1 # No match +} + +# Check each skill for matches +for skill in $(jq -r '.skills | keys[]' "$SKILL_RULES"); do + if contains_keyword "$skill" || matches_intent "$skill"; then + MATCHED_SKILLS+=("$skill") + echo " ✓ Matched: $skill" >> "$LOG_FILE" + fi +done + +# If no skills matched, exit silently +if [ ${#MATCHED_SKILLS[@]} -eq 0 ]; then + echo " No skills matched" >> "$LOG_FILE" + exit 0 +fi + +# Get max skills per prompt from config (default: 2) +MAX_SKILLS=$(jq -r '.config.maxSkillsPerPrompt // 2' "$SKILL_RULES") + +# Limit to max skills +if [ ${#MATCHED_SKILLS[@]} -gt $MAX_SKILLS ]; then + MATCHED_SKILLS=("${MATCHED_SKILLS[@]:0:$MAX_SKILLS}") +fi + +# Build skill activation message +echo "" +echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" +echo "🎯 SKILL ACTIVATION CHECK" +echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" +echo "" + +for skill in "${MATCHED_SKILLS[@]}"; do + description=$(jq -r ".skills[\"$skill\"].description" "$SKILL_RULES") + echo "📚 Relevant Skill: $skill" + echo " Description: $description" + echo "" +done + +echo "💡 Consider using these skills if they're relevant to this task." +echo " You can manually load a skill by reading its SKILL.md file." +echo "" +echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" +echo "" + +# Log successful activation +echo " Suggested skills: ${MATCHED_SKILLS[*]}" >> "$LOG_FILE" + +exit 0 diff --git a/.claude/hooks/skill-rules.json b/.claude/hooks/skill-rules.json new file mode 100644 index 0000000000..c983fa4b7e --- /dev/null +++ b/.claude/hooks/skill-rules.json @@ -0,0 +1,290 @@ +{ + "skills": { + "ios-dev-guidelines": { + "type": "domain", + "priority": "high", + "description": "Smart router to Swift/iOS development patterns (→ IOS_DEVELOPMENT_GUIDE.md). Critical rules, MVVM/Coordinator patterns, code style", + "promptTriggers": { + "keywords": [ + "swift", + "swiftui", + "viewmodel", + "coordinator", + "repository", + "refactor", + "architecture", + "mvvm", + "combine", + "async", + "await", + "@Published", + "@MainActor", + "protocol", + "extension", + "formatting", + "whitespace", + "indentation", + "code style", + "best practice" + ], + "intentPatterns": [ + "(create|add|implement|build).*?(view|viewmodel|coordinator|service|repository)", + "(refactor|restructure|reorganize).*?(code|class|struct|module)", + "(how to|best practice|correct way).*?(swift|ios|architecture|pattern)", + "(format|style|organize).*?(code|file|property)" + ] + }, + "fileTriggers": { + "pathPatterns": [ + "**/*.swift", + "**/PresentationLayer/**", + "**/ServiceLayer/**", + "**/ApplicationLayer/**", + "**/Models/**" + ], + "contentPatterns": [ + "class.*ViewModel", + "class.*Coordinator", + "protocol.*Repository", + "@Published", + "@MainActor", + "import SwiftUI", + "import Combine" + ] + } + }, + "localization-developer": { + "type": "domain", + "priority": "high", + "description": "Smart router to localization system (→ LOCALIZATION_GUIDE.md). 3-file .xcstrings workflow, Loc constants, format specifiers", + "promptTriggers": { + "keywords": [ + "localization", + "localiz", + "Loc.", + "xcstrings", + "translation", + "strings", + "text", + "label", + "title", + "hardcoded", + "string literal", + "user-facing text", + "crowdin", + "Auth.xcstrings", + "Workspace.xcstrings", + "UI.xcstrings", + "make generate" + ], + "intentPatterns": [ + "(add|create|update).*?(localization|string|text|label)", + "(hardcoded|hard-coded|literal).*?(string|text)", + "(remove|delete).*?(localization|string|key)", + "(search|find).*?(localization|string|key)", + "(how to|where).*?(localization|string|text)" + ] + }, + "fileTriggers": { + "pathPatterns": [ + "**/Loc/**/*.xcstrings", + "**/Loc/**/*.swift", + "**/Resources/**/*.xcstrings" + ], + "contentPatterns": [ + "import Loc", + "Loc\\.", + "\\.xcstrings", + "AnytypeText\\(", + "localization" + ] + } + }, + "code-generation-developer": { + "type": "domain", + "priority": "medium", + "description": "Smart router to code generation (→ CODE_GENERATION_GUIDE.md). Feature flags, SwiftGen, Sourcery, make generate workflows", + "promptTriggers": { + "keywords": [ + "make generate", + "swiftgen", + "sourcery", + "generate", + "codegen", + "code generation", + "feature flag", + "FeatureFlags", + "FeatureDescription", + "protobuf", + "generated", + "// Generated using", + "Assets.xcassets", + "imageset" + ], + "intentPatterns": [ + "(run|execute).*?(make generate|swiftgen|sourcery)", + "(create|add|enable).*?(feature flag|flag)", + "(generate|regenerate).*?(code|assets|localization|protobuf)", + "(update|modify).*?(feature flag|generated)", + "(how to|best practice).*?(generate|feature flag|codegen)" + ] + }, + "fileTriggers": { + "pathPatterns": [ + "**/FeatureDescription+Flags.swift", + "**/Assets.xcassets/**", + "**/.xcassets/**", + "**/swiftgen.yml", + "**/sourcery.yml", + "**/anytypeGen.yml", + "**/Generated/**" + ], + "contentPatterns": [ + "// Generated using Sourcery", + "// Generated using SwiftGen", + "FeatureFlags\\.", + "FeatureDescription\\(", + "static let.*=.*FeatureDescription" + ] + } + }, + "design-system-developer": { + "type": "domain", + "priority": "medium", + "description": "Smart router to design system (→ DESIGN_SYSTEM_MAPPING.md, TYPOGRAPHY_MAPPING.md). Icons (x18-x40), typography mapping, spacing formula", + "promptTriggers": { + "keywords": [ + "icon", + "image asset", + "x18", + "x24", + "x32", + "x40", + "typography", + "font", + "text style", + "design system", + "color", + "UI component", + "figma", + "design token", + "AnytypeText", + "DESIGN_SYSTEM_MAPPING", + "TYPOGRAPHY_MAPPING" + ], + "intentPatterns": [ + "(add|create|use).*?(icon|image|asset)", + "(update|change).*?(typography|font|text style)", + "(how to|where).*?(icon|image|asset|typography|font)", + "(design system|ui component).*?(pattern|usage|guide)", + "(export|add).*?(figma|svg)" + ] + }, + "fileTriggers": { + "pathPatterns": [ + "**/Assets.xcassets/**/*.imageset/**", + "**/DesignSystem/**", + "**/PresentationLayer/Common/**", + "**/DESIGN_SYSTEM_MAPPING.md", + "**/TYPOGRAPHY_MAPPING.md" + ], + "contentPatterns": [ + "Image\\(asset:", + "\\.X18\\.", + "\\.X24\\.", + "\\.X32\\.", + "\\.X40\\.", + "AnytypeText\\(", + "style:.*\\.ux" + ] + } + }, + "skills-manager": { + "type": "meta", + "priority": "medium", + "description": "Smart router to skills/hooks management (→ SKILLS_MANAGEMENT_GUIDE.md). Troubleshoot activation, add keywords, fine-tune system", + "promptTriggers": { + "keywords": [ + "skill activation", + "skill didn't activate", + "hook", + "troubleshoot skill", + "fine-tune", + "add keyword", + "skill-rules.json", + "activation log", + "why didn't", + "false positive", + "false negative", + "check logs", + "skills system", + "hooks system", + "skill not working" + ], + "intentPatterns": [ + "(check|view|show).*?(activation|log|skill)", + "(add|remove).*?keyword", + "(troubleshoot|debug|fix).*?(skill|hook|activation)", + "why (didn't|did).*?(activate|trigger)", + "(how to|how do I).*?(add|modify|change).*?(skill|hook|keyword)" + ] + }, + "fileTriggers": { + "pathPatterns": [ + "**/.claude/hooks/**", + "**/.claude/skills/**", + "**/skill-rules.json", + "**/SKILLS_MANAGEMENT_GUIDE.md" + ], + "contentPatterns": [ + "skill-rules.json", + "promptTriggers", + "fileTriggers" + ] + } + }, + "code-review-developer": { + "type": "domain", + "priority": "high", + "description": "Smart router to code review guidelines (→ code-review-guidelines.md). Review standards, common mistakes, actionable feedback only", + "promptTriggers": { + "keywords": [ + "code review", + "review code", + "PR review", + "pull request review", + "review PR", + "approve", + "review changes", + "review diff", + "feedback", + "code feedback", + "review guidelines", + "review standards" + ], + "intentPatterns": [ + "(review|check|analyze).*?(code|pr|pull request|changes|diff)", + "(approve|reject).*?(pr|pull request)", + "(provide|give).*?(review|feedback)", + "(how to|best practice).*?review" + ] + }, + "fileTriggers": { + "pathPatterns": [ + "**/.github/workflows/code-review-guidelines.md", + "**/.github/workflows/claude-code-review-prompt.md" + ], + "contentPatterns": [ + "Review using CLAUDE.md", + "Review Sections", + "gh pr comment" + ] + } + } + }, + "config": { + "maxSkillsPerPrompt": 2, + "logActivations": true, + "logPath": ".claude/logs/skill-activations.log" + } +} diff --git a/.claude/hooks/swiftformat-auto.sh b/.claude/hooks/swiftformat-auto.sh new file mode 100755 index 0000000000..84e410d3ac --- /dev/null +++ b/.claude/hooks/swiftformat-auto.sh @@ -0,0 +1,108 @@ +#!/bin/bash + +# SwiftFormat Auto-Formatter Hook (Stop Event) +# Automatically formats Swift files after Claude finishes responding +# +# ⚠️ WARNING - CONTEXT TOKEN USAGE CONCERN ⚠️ +# Based on research from https://github.com/diet103/claude-code-infrastructure-showcase +# and community feedback: +# +# File modifications trigger notifications that consume context tokens. +# In some cases, auto-formatting can lead to significant token usage: +# - Large files with many formatting changes = more tokens consumed +# - Strict formatting rules = more changes = more tokens +# - Each file change generates a system-reminder with full diff context +# +# RECOMMENDATION: +# - Monitor your context usage after enabling this hook +# - If you notice rapid context depletion, consider disabling this hook +# - Alternative: Run SwiftFormat manually between Claude sessions instead +# +# TO DISABLE THIS HOOK: +# 1. Rename this file to add .disabled extension: swiftformat-auto.sh.disabled +# 2. Or delete this file entirely +# +# Based on: https://github.com/diet103/claude-code-infrastructure-showcase + +set -euo pipefail + +# Configuration +ENABLED=true # Set to false to disable without deleting the file +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +LOG_DIR="$SCRIPT_DIR/../logs" +TOOL_LOG="$LOG_DIR/tool-usage.log" +FORMAT_LOG="$LOG_DIR/swiftformat.log" + +# Exit if disabled +if [ "$ENABLED" != "true" ]; then + exit 0 +fi + +# Ensure log directory exists +mkdir -p "$LOG_DIR" + +# Check if SwiftFormat is installed +if ! command -v swiftformat &> /dev/null; then + echo "[$(date '+%Y-%m-%d %H:%M:%S')] SwiftFormat not installed. Skipping auto-format." >> "$FORMAT_LOG" + exit 0 +fi + +# Check if tool usage log exists +if [ ! -f "$TOOL_LOG" ]; then + exit 0 +fi + +# Get timestamp for this run +TIMESTAMP=$(date '+%Y-%m-%d %H:%M:%S') + +# Extract Swift files that were edited in the last minute +# (Stop hook runs after Claude finishes, so recent edits are relevant) +SWIFT_FILES=$(grep -E "\.(swift|Swift)" "$TOOL_LOG" 2>/dev/null | \ + tail -20 | \ + grep -oE '[^ ]+\.swift' | \ + sort -u || true) + +# If no Swift files, exit +if [ -z "$SWIFT_FILES" ]; then + exit 0 +fi + +# Log formatting session +echo "[$TIMESTAMP] Auto-formatting Swift files..." >> "$FORMAT_LOG" + +# Format each Swift file +FORMATTED_COUNT=0 +while IFS= read -r file; do + # Skip if file doesn't exist (might have been deleted) + if [ ! -f "$file" ]; then + continue + fi + + # Run SwiftFormat + if swiftformat "$file" --quiet 2>/dev/null; then + echo " ✓ Formatted: $file" >> "$FORMAT_LOG" + ((FORMATTED_COUNT++)) + else + echo " ✗ Failed: $file" >> "$FORMAT_LOG" + fi +done <<< "$SWIFT_FILES" + +# Log summary +if [ $FORMATTED_COUNT -gt 0 ]; then + echo " Summary: Formatted $FORMATTED_COUNT Swift file(s)" >> "$FORMAT_LOG" + echo "" + echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" + echo "✨ SwiftFormat Auto-Formatter" + echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" + echo "" + echo "Automatically formatted $FORMATTED_COUNT Swift file(s)" + echo "" + echo "⚠️ Note: File formatting consumes context tokens via diffs." + echo " If context usage is too high, disable this hook by setting ENABLED=false" + echo " in .claude/hooks/swiftformat-auto.sh" + echo "" + echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" + echo "" +fi + +exit 0 diff --git a/.claude/logs/.gitignore b/.claude/logs/.gitignore new file mode 100644 index 0000000000..db82191f5c --- /dev/null +++ b/.claude/logs/.gitignore @@ -0,0 +1,5 @@ +# Ignore all log files generated by hooks +*.log + +# But keep this directory in git +!.gitignore diff --git a/.claude/skills/README.md b/.claude/skills/README.md new file mode 100644 index 0000000000..96aa99e65a --- /dev/null +++ b/.claude/skills/README.md @@ -0,0 +1,534 @@ +# Claude Code Skills System + +Smart routing system for the Anytype iOS project using **progressive disclosure** architecture. Skills act as lightweight routers that provide critical rules and point you to comprehensive documentation. + +## Overview + +This skills system uses a **3-level progressive disclosure** pattern: +- **Level 1**: CLAUDE.md - Lightweight overview + quick reference +- **Level 2**: Skills (this directory) - Smart routers with critical rules + navigation +- **Level 3**: Specialized guides - Deep technical documentation + +Skills provide **automatic activation** based on your prompts and file context, eliminating the need to manually load documentation. + +## 🎯 Available Skills + +### 1. **ios-dev-guidelines** (Smart Router) +**Purpose**: Routes to Swift/iOS development patterns, architecture, and best practices + +**Auto-activates when**: +- Working with `.swift` files +- Discussing ViewModels, Coordinators, or architecture +- Refactoring or formatting code +- Using keywords: swift, swiftui, mvvm, async, await + +**Provides**: +- Critical rules (NEVER trim whitespace, update tests/mocks, etc.) +- Quick patterns (MVVM ViewModel, Coordinator, DI) +- Project structure overview +- Common historical mistakes +- **→ Routes to**: `Anytype/Sources/IOS_DEVELOPMENT_GUIDE.md` for comprehensive details + +**Location**: `.claude/skills/ios-dev-guidelines/SKILL.md` + +--- + +### 2. **localization-developer** (Smart Router) +**Purpose**: Routes to localization system for managing .xcstrings files and Loc constants + +**Auto-activates when**: +- Working with `.xcstrings` files +- Using Loc constants +- Discussing hardcoded strings or user-facing text +- Using keywords: localization, strings, text, Loc. + +**Provides**: +- Critical rules (NEVER duplicate keys, only edit English, etc.) +- 3-file decision tree (Auth/Workspace/UI) +- Quick workflow + key naming patterns +- Dynamic localization (format specifiers) +- **→ Routes to**: `Anytype/Sources/PresentationLayer/Common/LOCALIZATION_GUIDE.md` for comprehensive details + +**Location**: `.claude/skills/localization-developer/SKILL.md` + +--- + +### 3. **code-generation-developer** (Smart Router) +**Purpose**: Routes to code generation workflows (SwiftGen, Sourcery, Feature Flags, Protobuf) + +**Auto-activates when**: +- Running or discussing `make generate` +- Adding feature flags +- Working with generated files +- Using keywords: swiftgen, sourcery, feature flags, FeatureFlags + +**Provides**: +- Critical rules (NEVER edit generated files, always run make generate) +- Feature flags quick workflow (define → generate → use) +- When to run make generate table +- Quick SwiftGen, Sourcery, Middleware overviews +- **→ Routes to**: `Modules/AnytypeCore/CODE_GENERATION_GUIDE.md` for comprehensive details + +**Location**: `.claude/skills/code-generation-developer/SKILL.md` + +--- + +### 4. **design-system-developer** (Smart Router) +**Purpose**: Routes to design system patterns (icons, typography, colors, Figma-to-code) + +**Auto-activates when**: +- Working with icons or typography +- Using keywords: icon, typography, design system, figma +- Editing files in DesignSystem/ or Assets.xcassets +- Discussing colors or UI components + +**Provides**: +- Critical rules (use design system constants, spacing formula) +- Icon quick reference (x18/x24/x32/x40) +- Typography mapping (Figma → Swift) with caption exceptions +- Critical spacing formula: `Next.Y - (Current.Y + Current.Height)` +- **→ Routes to**: `DESIGN_SYSTEM_MAPPING.md` & `TYPOGRAPHY_MAPPING.md` for comprehensive details + +**Location**: `.claude/skills/design-system-developer/SKILL.md` + +--- + +### 5. **skills-manager** (Smart Router - Meta!) +**Purpose**: Routes to skills/hooks management and troubleshooting + +**Auto-activates when**: +- Discussing skill activation or hooks +- Troubleshooting why a skill didn't activate +- Using keywords: skill activation, hook, troubleshoot, fine-tune, add keyword + +**Provides**: +- Critical rules for managing the system +- Quick diagnostic workflows +- How to add/remove keywords +- Health check commands +- Common issues and fixes +- **→ Routes to**: `.claude/SKILLS_MANAGEMENT_GUIDE.md` for comprehensive management + +**Location**: `.claude/skills/skills-manager/SKILL.md` + +**Note**: This is a meta-skill - it helps you manage the skills system itself! + +--- + +### 6. **code-review-developer** (Smart Router) +**Purpose**: Routes to code review guidelines for conducting thorough, actionable reviews + +**Auto-activates when**: +- Reviewing pull requests or code changes +- Keywords: code review, PR review, review code, pull request, approve, issues +- Discussing review comments or feedback + +**Provides**: +- Critical rules (be lean, no praise sections, no design suggestions) +- Quick review workflow (read changes → check CLAUDE.md → find issues → format review) +- Common analysis mistakes (assuming unused code, not understanding flags) +- Review sections format (bugs, best practices, performance, security) +- **→ Routes to**: `.claude/CODE_REVIEW_GUIDE.md` for complete review standards +- **→ Routes to**: `.github/workflows/pr-review-automation.md` for CI/GitHub Actions integration + +**Location**: `.claude/skills/code-review-developer/SKILL.md` + +## 📊 Progressive Disclosure Architecture + +This documentation system follows the principle of **progressive disclosure** - load only what's needed, when it's needed. + +### 3-Level Information Architecture + +``` +Level 1: CLAUDE.md +├─ Quick start + critical rules +├─ Essential commands +├─ Quick workflows with "→ See [GUIDE]" pointers +└─ Links to Level 2 (Skills) and Level 3 (Specialized Docs) + +Level 2: Skills +├─ Critical rules worth duplicating +├─ Quick reference patterns +├─ Decision trees and checklists +├─ Common mistakes +└─ "→ Routes to" pointers to Level 3 + +Level 3: Specialized Guides (Comprehensive documentation) +├─ IOS_DEVELOPMENT_GUIDE.md +├─ LOCALIZATION_GUIDE.md +├─ CODE_GENERATION_GUIDE.md +├─ SKILLS_MANAGEMENT_GUIDE.md [meta!] +├─ DESIGN_SYSTEM_MAPPING.md +└─ TYPOGRAPHY_MAPPING.md +``` + +### Why This Architecture? + +**Single Source of Truth**: Each piece of knowledge lives in exactly one place +- Critical rules duplicated in skills for visibility +- Everything else lives in Level 3 specialized docs +- Skills act as routers with clear navigation paths + +**Context Token Efficiency**: Load only what's needed +- CLAUDE.md: Always loaded, lightweight overview +- Skills: Auto-activated based on context +- Specialized docs: Referenced when deep knowledge needed + +**Maintainability**: Easy to update without duplication +- Update specialized docs once +- Skills reference docs, don't duplicate content +- Clear separation of concerns + +## 🔄 How Auto-Activation Works + +### Automatic Suggestion + +When you start a conversation, the system: + +1. **Analyzes your prompt** for keywords and patterns +2. **Checks file paths** if you're editing files +3. **Matches against skill rules** (defined in `.claude/hooks/skill-rules.json`) +4. **Suggests relevant skills** with a formatted message: + +``` +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +🎯 SKILL ACTIVATION CHECK +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ + +📚 Relevant Skill: ios-dev-guidelines + Description: Swift/iOS development patterns, architecture, and best practices + +💡 Consider using these skills if they're relevant to this task. + You can manually load a skill by reading its SKILL.md file. + +━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ +``` + +### Manual Loading + +You can also manually load a skill: + +``` +Read the file .claude/skills/ios-dev-guidelines/SKILL.md +``` + +## 📂 Directory Structure + +``` +.claude/skills/ +├── README.md (this file) +│ +├── ios-dev-guidelines/ +│ └── SKILL.md (smart router) +│ +├── localization-developer/ +│ └── SKILL.md (smart router) +│ +├── code-generation-developer/ +│ └── SKILL.md (smart router) +│ +├── design-system-developer/ +│ └── SKILL.md (smart router) +│ +├── skills-manager/ +│ └── SKILL.md (smart router - meta!) +│ +└── code-review-developer/ + └── SKILL.md (smart router) +``` + +**Note**: Resource files removed in favor of specialized documentation at Level 3. + +## ⚙️ Configuration + +### Skill Rules + +**Location**: `.claude/hooks/skill-rules.json` + +Defines activation patterns for each skill: +- **Keywords**: Terms that trigger skill suggestion +- **Intent Patterns**: Regex patterns for actions (e.g., "create.*feature") +- **File Triggers**: Path patterns that activate skills +- **Content Patterns**: Code patterns that match skills + +### Example Configuration + +```json +{ + "skills": { + "ios-dev-guidelines": { + "type": "domain", + "priority": "high", + "promptTriggers": { + "keywords": ["swift", "viewmodel", "refactor"], + "intentPatterns": [ + "(create|add).*?(view|viewmodel|coordinator)" + ] + }, + "fileTriggers": { + "pathPatterns": ["**/*.swift"], + "contentPatterns": ["class.*ViewModel", "@Published"] + } + } + } +} +``` + +## 🪝 Hooks Integration + +The skills system uses hooks for auto-activation: + +### UserPromptSubmit Hook + +**File**: `.claude/hooks/skill-activation-prompt.sh` + +- Runs before Claude sees your message +- Analyzes prompt and file context +- Injects skill suggestions into conversation +- Logs activations to `.claude/logs/skill-activations.log` + +### Activation Flow + +``` +User Prompt → Hook Analyzes → Matches Skills → Suggests to Claude +``` + +## 🎨 Best Practices + +### For Users + +1. **Trust the suggestions** - If a skill is suggested, it's likely relevant +2. **Don't manually load skills repeatedly** - Auto-activation handles it +3. **Use specific keywords** - Helps trigger the right skills +4. **Check activation logs** - See which skills were suggested + +### For Skill Authors (Smart Router Pattern) + +1. **Keep SKILL.md** - Skills are routers, not comprehensive guides +2. **Add clear "Critical Rules" section** - Worth duplicating for visibility +3. **Provide quick reference only** - Tables, examples, common patterns +4. **Point to Level 3 docs** - Use "**→ Routes to**: path/to/GUIDE.md" pattern +5. **No resource files** - All comprehensive content lives in Level 3 specialized docs +6. **Update skill-rules.json** - Add relevant keywords and patterns + +## 📊 Monitoring + +### Activation Logs + +**Location**: `.claude/logs/skill-activations.log` + +Shows which skills were suggested and when: + +``` +[2025-01-30 14:23:45] Analyzing prompt... + ✓ Matched: ios-dev-guidelines + Suggested skills: ios-dev-guidelines +``` + +### Tool Usage Logs + +**Location**: `.claude/logs/tool-usage.log` + +Tracks file modifications: + +``` +[2025-01-30 14:24:12] Edit: Anytype/Sources/PresentationLayer/ChatView.swift + └─ Area: UI/Presentation, File: ... +``` + +## 🚀 Usage Examples + +### Example 1: Adding a Feature Flag + +**Your Prompt**: "Add a feature flag for the new chat interface" + +**Auto-Activated**: `code-generation-developer` + +**Why**: Keyword "feature flag" matches code-generation-developer rules + +**What You Get**: Guidance on: +- Where to add FeatureDescription +- How to run `make generate` +- How to use FeatureFlags in code + +### Example 2: Implementing Figma Design + +**Your Prompt**: "Implement the empty state design with icons and typography" + +**Auto-Activated**: `design-system-developer` + +**Why**: Keywords "icons", "typography" match design-system-developer + +**What You Get**: Guidance on: +- Icon size selection +- Typography mapping +- Spacing extraction from Figma +- Color constants usage + +### Example 3: Refactoring ViewModel + +**Your Prompt**: "Refactor ChatViewModel to use async/await" + +**Auto-Activated**: `ios-dev-guidelines` + +**Why**: Keywords "ViewModel", "async/await", "refactor" match ios-dev-guidelines + +**What You Get**: Guidance on: +- ViewModel patterns +- Async/await best practices +- Property organization +- Code formatting rules + +## 🔧 Troubleshooting + +### Skills Not Activating + +**Problem**: Expected skill not suggested + +**Solutions**: +1. Check `.claude/logs/skill-activations.log` for activation attempts +2. Verify keywords in your prompt match `skill-rules.json` +3. Use more specific keywords (e.g., "localization" instead of "text") +4. Manually load skill if auto-activation fails + +### Wrong Skill Suggested + +**Problem**: Irrelevant skill suggested + +**Solutions**: +1. Ignore the suggestion (it's just a recommendation) +2. Be more specific in your prompt +3. Update `skill-rules.json` to refine matching rules + +### Multiple Skills Suggested + +**Problem**: Too many skills suggested + +**Solution**: This is normal - system limits to 2 skills max (configured in skill-rules.json) + +## 📚 Related Documentation + +- **Hooks System**: `.claude/hooks/README.md` - How hooks work +- **CLAUDE.md**: Main project documentation - Quick start and workflows +- **skill-rules.json**: Skill activation configuration + +## 🎓 Learning Path + +**New to the project?** Read skills in this order: + +1. **ios-dev-guidelines** - Understand Swift/iOS patterns +2. **localization-developer** - Learn localization workflow +3. **code-generation-developer** - Master `make generate` workflows +4. **design-system-developer** - Understand design system usage + +## 🔄 Updating Skills + +### Adding a New Skill + +1. Create directory: `.claude/skills/new-skill-name/` +2. Create `SKILL.md` with clear structure +3. Add resources to `resources/` subdirectory +4. Update `skill-rules.json` with activation patterns +5. Test activation with sample prompts +6. Update this README + +### Modifying Existing Skill + +1. Edit the SKILL.md file +2. Keep under 500 lines (move details to resources) +3. Update activation rules if keywords change +4. Test that auto-activation still works + +## 📖 Smart Router Skill Template + +When creating a new skill, follow this **smart router** pattern: + +```markdown +# Skill Name (Smart Router) + +## Purpose +Context-aware routing to [topic]. Helps you navigate [what it helps with]. + +## When Auto-Activated +- [File types or contexts] +- Keywords: [keyword1, keyword2, ...] + +## 🚨 CRITICAL RULES (NEVER VIOLATE) + +1. Must-follow rule 1 (worth duplicating for visibility) +2. Must-follow rule 2 +3. Must-follow rule 3 + +## 📋 Quick Reference + +[Tables, examples, common patterns - QUICK ONLY] + +### Example Pattern +```swift +// Quick code example +``` + +## 🎯 Quick Workflow + +1. Step 1 +2. Step 2 +3. Step 3 + +## ⚠️ Common Mistakes + +### Mistake 1 +```swift +// ❌ WRONG +... + +// ✅ CORRECT +... +``` + +## 📚 Complete Documentation + +**Full Guide**: `path/to/SPECIALIZED_GUIDE.md` + +For comprehensive coverage of: +- Detailed topic 1 +- Detailed topic 2 +- Complete examples +- Troubleshooting + +## ✅ Checklist + +- [ ] Item 1 +- [ ] Item 2 + +## 🔗 Related Skills & Docs + +- **other-skill** → `path/to/OTHER_GUIDE.md` - How they relate +- **another-skill** → How they integrate + +--- + +**Navigation**: This is a smart router. For deep technical details, always refer to `SPECIALIZED_GUIDE.md`. +``` + +**Key principles**: +- ~100-200 lines total +- Critical rules duplicated for visibility +- Quick reference only (no comprehensive guides) +- Clear "→ Routes to" pointers to Level 3 docs +- No resource files - all comprehensive content in Level 3 + +## Summary + +The skills system provides: +- ✅ **Progressive disclosure architecture** - 3 levels of documentation +- ✅ **Automatic skill suggestions** based on context - Zero friction +- ✅ **6 smart router skills** - Lightweight and fast +- ✅ **Hook-based activation** - Analyzed prompts trigger relevant skills +- ✅ **Context token efficiency** - Load only what's needed +- ✅ **Single Source of Truth** - Each piece of knowledge lives in one place +- ✅ **Self-documenting** - skills-manager skill helps you manage the system +- ✅ **Logging and monitoring** for debugging + +**Start using it**: Just work normally - skills auto-activate when relevant and route you to comprehensive docs! + +**Need help managing the system?** The skills-manager skill auto-activates when you discuss troubleshooting or fine-tuning! \ No newline at end of file diff --git a/.claude/skills/code-generation-developer/SKILL.md b/.claude/skills/code-generation-developer/SKILL.md new file mode 100644 index 0000000000..18fe9f9c31 --- /dev/null +++ b/.claude/skills/code-generation-developer/SKILL.md @@ -0,0 +1,192 @@ +# Code Generation Developer (Smart Router) + +## Purpose +Context-aware routing to code generation workflows: SwiftGen, Sourcery, Feature Flags, and Protobuf. Helps you navigate when and how to run generators. + +## When Auto-Activated +- Running or discussing `make generate` +- Adding feature flags +- Working with generated files +- Keywords: swiftgen, sourcery, feature flags, FeatureFlags, make generate + +## 🚨 CRITICAL RULES (NEVER VIOLATE) + +1. **NEVER edit generated files** - Files marked with `// Generated using Sourcery/SwiftGen` are auto-generated +2. **ALWAYS run `make generate` after changes** - When updating templates, flags, assets, or localization +3. **Feature flags for all new features** - Wrap experimental code for safe rollouts +4. **Update source, not generated code** - Edit templates/configurations, then regenerate + +## 📋 Essential Commands + +```bash +make generate # Run all generators (SwiftGen, Sourcery, assets, localization) +make generate-middle # Regenerate middleware and protobuf (when dependencies change) +make setup-middle # Initial middleware setup +``` + +## 🚩 Feature Flags Quick Workflow + +### 1. Define Flag + +**File**: `/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift` + +```swift +extension FeatureDescription { + static let newChatInterface = FeatureDescription( + title: "New Chat Interface", + type: .feature(author: "Your Name", releaseVersion: "0.42.0"), + defaultValue: false, // Off in production + debugValue: true // On in debug builds for testing + ) +} +``` + +### 2. Generate + +```bash +make generate +``` + +This creates: `Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags.swift` + +### 3. Use in Code + +```swift +import AnytypeCore + +if FeatureFlags.newChatInterface { + NewChatView() +} else { + LegacyChatView() +} +``` + +### Flag Types + +- **`.debug`**: Debug-only (not available in production) +- **`.feature(author:releaseVersion:)`**: Production feature with metadata + +### Best Practices + +- `defaultValue: false` for unreleased features +- `debugValue: true` for easier developer testing +- Remove flags after full rollout + +## 🎯 When to Run `make generate` + +| You Did This | Run This | Why | +|--------------|----------|-----| +| Added/updated .xcstrings | `make generate` | Regenerate Loc constants | +| Added feature flag | `make generate` | Generate FeatureFlags enum | +| Added icon to Assets.xcassets | `make generate` | Generate Image asset constants | +| Modified Sourcery template | `make generate` | Regenerate code from templates | +| Updated middleware version | `make generate-middle` | Regenerate protobuf bindings | + +## 🎨 SwiftGen - Assets & Localization + +### Adding Icons + +1. Export SVG from Figma (e.g., "32/qr code" → `QRCode.svg`) +2. Add to `/Modules/Assets/.../Assets.xcassets/DesignSystem/x32/QRCode.imageset/` +3. Run `make generate` +4. Use: `Image(asset: .X32.qrCode)` + +**Icon Sizes**: x18, x24, x32, x40 (pt) + +### Localization + +SwiftGen generates Loc constants from .xcstrings files. + +See **localization-developer** skill for complete workflow. + +## 🔧 Sourcery - Template-Based Generation + +Sourcery generates Swift code from templates based on source file annotations. + +**Common uses**: +- Protocol conformance +- Mock implementations +- Dependency injection +- Enum helpers + +**Workflow**: +1. Add annotation to source file: `// sourcery: AutoEquatable` +2. Run `make generate` +3. Use generated code (don't edit generated files!) + +## 🔌 Middleware & Protobuf + +### When to Regenerate + +- Middleware version updated +- `Dependencies/Middleware/Lib.xcframework` missing binaries +- Build errors related to middleware symbols + +### Commands + +```bash +make setup-middle # Initial setup +make generate-middle # Regenerate middleware + protobuf +``` + +## ⚠️ Common Mistakes + +### Editing Generated Files + +```swift +// In FeatureFlags.swift (GENERATED) +static let myFlag: Bool = true // ❌ DON'T DO THIS +// Your changes will be overwritten +``` + +**✅ Correct**: Edit `FeatureDescription+Flags.swift`, then `make generate` + +### Forgetting to Generate + +```swift +// Added FeatureDescription but didn't generate +if FeatureFlags.myNewFlag { // ❌ Error: unresolved identifier + ... +} +``` + +**✅ Correct**: Run `make generate` first + +### Missing Middleware Binaries + +**Symptoms**: "Lib.xcframework missing binaries" + +**Solution**: `make setup-middle` or `make generate` + +## 📚 Complete Documentation + +**Full Guide**: `Modules/AnytypeCore/CODE_GENERATION_GUIDE.md` + +For comprehensive coverage of: +- Feature Flags lifecycle (Development → Beta → Rollout → Cleanup) +- SwiftGen configuration files and workflows +- Sourcery templates and annotations +- Protobuf splitting configuration +- Complete troubleshooting guide +- Generated file locations + +## ✅ Checklist: Before Committing + +- [ ] Ran `make generate` if you added/updated: + - [ ] Feature flags + - [ ] Icons/assets + - [ ] Localization strings + - [ ] Sourcery annotations +- [ ] Did NOT manually edit files with "// Generated using" header +- [ ] Committed both source AND generated files +- [ ] Verified build succeeds + +## 🔗 Related Skills & Docs + +- **localization-developer** → `LOCALIZATION_GUIDE.md` - Localization keys generated by SwiftGen +- **ios-dev-guidelines** → `IOS_DEVELOPMENT_GUIDE.md` - Never edit generated files +- **design-system-developer** → Icons generated by SwiftGen + +--- + +**Navigation**: This is a smart router. For deep technical details, always refer to `CODE_GENERATION_GUIDE.md`. diff --git a/.claude/skills/code-review-developer/SKILL.md b/.claude/skills/code-review-developer/SKILL.md new file mode 100644 index 0000000000..8ad143ada3 --- /dev/null +++ b/.claude/skills/code-review-developer/SKILL.md @@ -0,0 +1,263 @@ +# Code Review Developer (Smart Router) + +## Purpose +Context-aware routing to code review guidelines. Helps you conduct thorough, actionable code reviews following project standards. + +## When Auto-Activated +- Reviewing pull requests or code changes +- Keywords: code review, PR review, review code, pull request, approve, issues +- Discussing review comments or feedback + +## 🚨 CRITICAL RULES (NEVER VIOLATE) + +1. **Be LEAN and ACTIONABLE** - Only report actual issues, no noise +2. **NO praise sections** - No "Strengths", no "no concerns" statements +3. **NO design suggestions** - You cannot see visual design (padding, margins, colors) +4. **Reference file:line** - Always include specific locations for issues +5. **If clean, just approve** - "✅ **Approved** - No issues found" (nothing else!) +6. **Check CLAUDE.md** - Review against project conventions + +## 📋 Quick Review Workflow + +### 1. Read the Changes +- Understand what the PR is trying to do +- Check file diffs thoroughly + +### 2. Check Against CLAUDE.md +- Localization: Using `Loc` constants? +- Generated files: Not editing generated code? +- Code style: Following Swift best practices? +- Tests: Updated when refactoring? + +### 3. Look for Real Issues +**ONLY include sections if issues exist:** +- **Bugs/Issues** - Logic errors, potential bugs +- **Best Practices** - Violations of CLAUDE.md guidelines +- **Performance** - Actual performance problems +- **Security** - Real security vulnerabilities + +### 4. Format Your Review + +**If clean**: +``` +✅ **Approved** - No issues found +``` + +**If issues found**: +``` +## Bugs/Issues + +**ChatView.swift:45** +Potential race condition when... + +--- + +⚠️ **Minor Issues** - Fix race condition +``` + +## ⚠️ Common Mistakes to Avoid + +### Assuming Code is Unused After UI Removal + +**Scenario**: PR removes a menu button but leaves the `menu` parameter + +**❌ WRONG**: +``` +"The menu parameter is now unused and should be removed" +``` + +**✅ CORRECT**: +``` +Check if menu is used elsewhere: +- Long-press context menu? +- Dual UX pattern (button + long-press)? +- Multiple consumers? +``` + +**Example**: +```swift +// menu() is used in BOTH places +.toolbar { Menu { menu() } } // Visible button (removed) +.contextMenu { menu() } // Long-press (still there!) +``` + +**Before suggesting removal**: +- [ ] Searched ALL usages in the file +- [ ] Checked for dual UX patterns +- [ ] Understood purpose of each flag +- [ ] Asked about design intent if unsure + +### Not Understanding Conditional Flags + +**Scenario**: Component has `allowMenuContent` and `allowContextMenuItems` + +**❌ WRONG**: +``` +"These flags serve the same purpose, consolidate them" +``` + +**✅ CORRECT**: +``` +They control DIFFERENT UI elements: +- allowMenuContent: Visible button +- allowContextMenuItems: Long-press menu +- Can be independently enabled/disabled +``` + +## 🎯 Review Sections (Include ONLY If Issues Exist) + +### Bugs/Issues +Logic errors, potential bugs that need fixing + +**Format**: +``` +**FileName.swift:123** +Description of the bug and why it's a problem. +``` + +### Best Practices +Violations of Swift/SwiftUI conventions or CLAUDE.md guidelines (code quality only, not design) + +**Format**: +``` +**FileName.swift:45** +Using hardcoded strings instead of Loc constants. +``` + +### Performance +Actual performance problems (not theoretical) + +**Format**: +``` +**ViewModel.swift:89** +N+1 query in loop - will cause performance issues with large datasets. +``` + +### Security +Real security vulnerabilities + +**Format**: +``` +**AuthService.swift:34** +Storing credentials in UserDefaults - should use Keychain. +``` + +## 📊 Summary Format + +**End with ONE sentence with status emoji**: + +``` +✅ **Approved** - Clean implementation following guidelines +⚠️ **Minor Issues** - Fix hardcoded strings and race condition +🚨 **Major Issues** - Critical security vulnerability in auth flow +``` + +## 🔍 Analysis Checklist + +Before finalizing your review: +- [ ] Checked against CLAUDE.md conventions +- [ ] Verified localization (no hardcoded strings) +- [ ] Checked for generated file edits +- [ ] Looked for race conditions +- [ ] Verified tests/mocks updated if refactoring +- [ ] Searched for ALL usages before suggesting removal +- [ ] Only included sections with actual issues +- [ ] No design/UI suggestions (padding, margins, colors) +- [ ] Referenced specific file:line for each issue +- [ ] Ended with status emoji summary + +## 📚 Complete Documentation + +**Full Guide**: `.claude/CODE_REVIEW_GUIDE.md` + +For comprehensive coverage of: +- Core review rules +- Common analysis mistakes (with examples) +- Review sections and formats +- Complete checklist + +**CI/Automation**: `.github/workflows/pr-review-automation.md` + +For GitHub Actions integration: +- Context variables (REPO, PR_NUMBER, COMMIT_SHA) +- Valid runners and Xcode versions +- Review comment strategies +- How to post reviews via `gh` CLI + +## 💡 Quick Reference + +### What to Check + +**From CLAUDE.md**: +- [ ] No hardcoded strings (use `Loc` constants) +- [ ] No generated file edits (`// Generated using...`) +- [ ] Tests/mocks updated when refactoring +- [ ] Feature flags for new features +- [ ] No whitespace trimming +- [ ] Async/await over completion handlers + +**Code Quality**: +- [ ] Swift best practices (guard, @MainActor) +- [ ] Proper error handling +- [ ] No force unwraps in production code +- [ ] Memory leaks (weak/unowned where needed) + +### What NOT to Comment On + +- ❌ Design/UI spacing (padding, margins) +- ❌ Colors or visual appearance +- ❌ Praise or "Strengths" sections +- ❌ "No concerns" statements +- ❌ Theoretical performance issues +- ❌ Style preferences not in CLAUDE.md + +## 🎓 Example Reviews + +### Example 1: Clean PR +``` +✅ **Approved** - No issues found +``` + +**That's it! Don't add explanations, don't list changes.** + +### Example 2: Minor Issues +``` +## Best Practices + +**ChatView.swift:34** +Using hardcoded string "Send Message" instead of localization constant. +Should be: `Text(Loc.sendMessage)` + +**ChatViewModel.swift:89** +Tests not updated after renaming `sendMessage()` to `send()`. +Update `ChatViewModelTests.swift` to use new method name. + +--- + +⚠️ **Minor Issues** - Fix hardcoded string and update tests +``` + +### Example 3: Critical Issue +``` +## Bugs/Issues + +**AuthService.swift:45** +Storing password in UserDefaults (line 45). This is a security vulnerability. +Should use Keychain instead: `KeychainService.store(password, for: key)` + +--- + +🚨 **Major Issues** - Fix password storage security vulnerability +``` + +## 🔗 Related Skills & Docs + +- **ios-dev-guidelines** → `IOS_DEVELOPMENT_GUIDE.md` - Swift/iOS patterns to check against +- **localization-developer** → `LOCALIZATION_GUIDE.md` - Verify no hardcoded strings +- **code-generation-developer** → `CODE_GENERATION_GUIDE.md` - Verify no generated file edits + +--- + +**Navigation**: This is a smart router. For detailed review standards and common mistakes, always refer to `.claude/CODE_REVIEW_GUIDE.md`. + +**For CI/automation**: See `.github/workflows/pr-review-automation.md` for GitHub Actions integration. diff --git a/.claude/skills/design-system-developer/SKILL.md b/.claude/skills/design-system-developer/SKILL.md new file mode 100644 index 0000000000..629f038810 --- /dev/null +++ b/.claude/skills/design-system-developer/SKILL.md @@ -0,0 +1,207 @@ +# Design System Developer (Smart Router) + +## Purpose +Context-aware routing to the Anytype iOS design system: icons, typography, colors, spacing. Helps you navigate Figma-to-code translation. + +## When Auto-Activated +- Working with icons or typography +- Keywords: icon, typography, design system, figma, color, spacing +- Editing files in DesignSystem/ or Assets.xcassets +- Discussing colors or UI components + +## 🚨 CRITICAL RULES (NEVER VIOLATE) + +1. **ALWAYS use design system constants** - Never hardcode hex colors, font sizes, or asset names +2. **ALWAYS run `make generate` after adding assets** - Icons and assets must be code-generated +3. **Icons are organized by size** - x18, x24, x32, x40 (use correct size for context) +4. **Typography follows strict mapping** - Figma style names map to specific Swift enum cases +5. **Spacing formula** - `NextElement.Y - (CurrentElement.Y + CurrentElement.Height)` + +## 📋 Quick Reference + +### Icon Usage + +```swift +// 18pt - Toolbar/nav bar icons +Image(asset: .X18.search) + +// 24pt - List row icons +Image(asset: .X24.camera) + +// 32pt - Buttons, main UI (most common) +Image(asset: .X32.qrCode) + +// 40pt - Large features +Image(asset: .X40.profile) +``` + +### Adding Icons + +1. Export SVG from Figma ("32/qr code" → `QRCode.svg`) +2. Add to `/Modules/Assets/.../Assets.xcassets/DesignSystem/x32/QRCode.imageset/` +3. Run `make generate` +4. Use: `Image(asset: .X32.qrCode)` + +### Typography Usage + +```swift +// Screen titles +AnytypeText("Settings", style: .uxTitle1Semibold) + +// Section headers +AnytypeText("Recent", style: .uxTitle2Semibold) + +// Body text +Text("Description").anytypeStyle(.bodyRegular) + +// Small labels +Text("Add Member").anytypeStyle(.caption1Medium) // Note: no "ux" prefix! +``` + +### Typography Mapping (Figma → Swift) + +**Content Styles** (remove "Content/" prefix): +- "Content/Body/Semibold" → `.bodySemibold` +- "Content/Preview Title 2/Regular" → `.previewTitle2Regular` + +**UX Styles - Title/Body/Callout** (keep "ux" prefix lowercase): +- "UX/Title 1/Semibold" → `.uxTitle1Semibold` +- "UX/Body/Regular" → `.uxBodyRegular` + +**UX Styles - Captions** (DROP "ux" prefix - EXCEPTION!): +- "UX/Caption 1/Medium" → `.caption1Medium` (no "ux") +- "UX/Caption 2/Regular" → `.caption2Regular` (no "ux") + +### Common Typography Styles + +| Use Case | Figma Style | Swift Constant | Size | +|----------|-------------|----------------|------| +| Screen titles | UX/Title 1/Semibold | `.uxTitle1Semibold` | 28pt | +| Section headers | UX/Title 2/Semibold | `.uxTitle2Semibold` | 17pt | +| Body text | Content/Body/Regular | `.bodyRegular` | 17pt | +| Small labels | UX/Caption 1/Medium | `.caption1Medium` | 13pt | + +### Color Usage + +```swift +// Backgrounds +.background(Color.Shape.transperentSecondary) +.background(Color.Background.primary) + +// Text colors +.foregroundColor(Color.Text.primary) +.foregroundColor(Color.Text.secondary) + +// Control colors +.foregroundColor(Color.Control.active) +``` + +## 📏 Spacing from Figma (CRITICAL FORMULA) + +**CRITICAL**: Spacing is the GAP between elements, not top-to-top distance. + +**Formula**: +``` +Spacing = NextElement.Y - (CurrentElement.Y + CurrentElement.Height) +``` + +**Example**: +1. First element: Y=326px, Height=24px → Bottom edge = 350px +2. Second element: Y=374px +3. **Spacing = 374 - 350 = 24px** ✅ + +**Common mistake**: +``` +❌ WRONG: 374 - 326 = 48px (includes first element's height!) +✅ CORRECT: 374 - (326 + 24) = 24px (actual gap) +``` + +**SwiftUI usage**: +```swift +Text("Title") +Spacer.fixedHeight(24) // ✅ Correct spacing +Text("Feature") +``` + +## ⚠️ Common Mistakes + +### Typography Style Doesn't Exist + +```swift +// ❌ WRONG +Text("Button").anytypeStyle(.uxCaption1Medium) // Doesn't exist! + +// ✅ CORRECT +Text("Button").anytypeStyle(.caption1Medium) // Captions drop "ux" prefix +``` + +### Hardcoded Colors + +```swift +// ❌ WRONG +.background(Color(hex: "#FF0000")) + +// ✅ CORRECT +.background(Color.Pure.red) +``` + +### Wrong Icon Size + +```swift +// ❌ WRONG - Upscaling looks bad +Image(asset: .X18.qrCode) + .frame(width: 32, height: 32) + +// ✅ CORRECT - Use native size +Image(asset: .X32.qrCode) + .frame(width: 32, height: 32) +``` + +### Spacing Calculation + +```swift +// ❌ WRONG - Top-to-top (includes height) +Spacing = NextElement.Y - CurrentElement.Y + +// ✅ CORRECT - Actual gap +Spacing = NextElement.Y - (CurrentElement.Y + CurrentElement.Height) +``` + +## 📚 Complete Documentation + +**Full Guides**: +- **Design System**: `Anytype/Sources/PresentationLayer/Common/DESIGN_SYSTEM_MAPPING.md` +- **Typography**: `Anytype/Sources/PresentationLayer/Common/TYPOGRAPHY_MAPPING.md` + +For comprehensive coverage of: +- Complete typography mapping table +- All color categories and constants +- Icon organization and workflows +- Corner radius standards +- Dimension standards (whole numbers only) +- Design verification workflow +- Dark/light mode considerations + +**Figma References**: +- Typography: https://www.figma.com/file/vgXV7x2v20vJajc7clYJ7a/Typography-Mobile + +## ✅ Design Implementation Checklist + +- [ ] All icons use `.X*` constants, no hardcoded asset names +- [ ] All typography uses `.anytypeStyle()` or `AnytypeText` +- [ ] All colors use `Color.*` constants, no hex values +- [ ] Spacing extracted from Figma using correct formula +- [ ] All dimensions are whole numbers (or documented if rounded) +- [ ] Ran `make generate` after adding new assets +- [ ] Verified against Figma design visually +- [ ] Checked dark/light mode appearance + +## 🔗 Related Skills & Docs + +- **code-generation-developer** → `CODE_GENERATION_GUIDE.md` - Run make generate after adding icons +- **ios-dev-guidelines** → `IOS_DEVELOPMENT_GUIDE.md` - SwiftUI patterns for design system +- **localization-developer** → Combine typography with localized text + +--- + +**Navigation**: This is a smart router. For deep technical details, always refer to `DESIGN_SYSTEM_MAPPING.md` and `TYPOGRAPHY_MAPPING.md`. diff --git a/.claude/skills/ios-dev-guidelines/SKILL.md b/.claude/skills/ios-dev-guidelines/SKILL.md new file mode 100644 index 0000000000..81b7d16536 --- /dev/null +++ b/.claude/skills/ios-dev-guidelines/SKILL.md @@ -0,0 +1,127 @@ +# iOS Development Guidelines (Smart Router) + +## Purpose +Context-aware routing to iOS development patterns, code style, and architecture guidelines. This skill provides critical rules and points you to comprehensive documentation. + +## When Auto-Activated +- Working with `.swift` files +- Discussing ViewModels, Coordinators, architecture +- Refactoring or formatting code +- Keywords: swift, swiftui, mvvm, async, await, refactor + +## 🚨 CRITICAL RULES (NEVER VIOLATE) + +1. **NEVER trim whitespace-only lines** - Preserve blank lines with spaces/tabs exactly as they appear +2. **NEVER edit generated files** - Files marked with `// Generated using Sourcery/SwiftGen` +3. **NEVER use hardcoded strings in UI** - Always use localization constants (`Loc.*`) +4. **NEVER add comments** unless explicitly requested +5. **ALWAYS update tests and mocks when refactoring** - Search for all references and update +6. **Use feature flags for new features** - Wrap experimental code for safe rollouts + +## 📋 Quick Checklist + +Before completing any task: +- [ ] Whitespace-only lines preserved (not trimmed) +- [ ] No hardcoded strings (use `Loc` constants) +- [ ] Tests and mocks updated if dependencies changed +- [ ] Generated files not edited +- [ ] Feature flags applied to new features +- [ ] No comments added (unless requested) + +## 🎯 Common Patterns + +### MVVM ViewModel +```swift +@MainActor +final class ChatViewModel: ObservableObject { + @Published var messages: [Message] = [] + @Injected(\.chatService) private var chatService + + func sendMessage(_ text: String) async { + // Business logic here + } +} +``` + +### Coordinator +```swift +@MainActor +final class ChatCoordinator: ObservableObject { + @Published var route: Route? + + enum Route { + case settings + case memberList + } +} +``` + +### Dependency Injection +```swift +extension Container { + var chatService: Factory { + Factory(self) { ChatService() } + } +} + +// Usage in ViewModel +@Injected(\.chatService) private var chatService +``` + +## 🗂️ Project Structure + +``` +Anytype/Sources/ +├── ApplicationLayer/ # App lifecycle, coordinators +├── PresentationLayer/ # UI components, ViewModels +├── ServiceLayer/ # Business logic, data services +├── Models/ # Data models, entities +└── CoreLayer/ # Core utilities, networking +``` + +## 🔧 Code Style Quick Reference + +- **Indentation**: 4 spaces (no tabs) +- **Naming**: PascalCase (types), camelCase (variables/functions) +- **Extensions**: `TypeName+Feature.swift` +- **Property order**: @Published/@Injected → public → private → computed → init → methods +- **Avoid nested types** - Extract to top-level with descriptive names +- **Enum exhaustiveness** - Use explicit switch statements (enables compiler warnings) + +## 📚 Complete Documentation + +**Full Guide**: `Anytype/Sources/IOS_DEVELOPMENT_GUIDE.md` + +For comprehensive coverage of: +- Detailed formatting rules +- Swift best practices (guard, @MainActor, async/await) +- Architecture patterns (MVVM, Coordinator, Repository) +- Property organization +- Common mistakes from past incidents +- Testing & mock management +- Complete code examples + +## 🚨 Common Mistakes (Historical) + +### Autonomous Committing (2025-01-28) +**NEVER commit without explicit user request** - Committing is destructive + +### Wildcard File Deletion (2025-01-24) +Used `rm -f .../PublishingPreview*.swift` - deleted main UI component +- Always check with `ls` first +- Delete files individually + +### Incomplete Mock Updates (2025-01-16) +Refactored dependencies but forgot `MockView.swift` +- Search: `rg "oldName" --type swift` +- Update: tests, mocks, DI registrations + +## 🔗 Related Skills & Docs + +- **localization-developer** → `LOCALIZATION_GUIDE.md` - Localization system +- **code-generation-developer** → `CODE_GENERATION_GUIDE.md` - Feature flags, make generate +- **design-system-developer** → `DESIGN_SYSTEM_MAPPING.md` - Icons, typography + +--- + +**Navigation**: This is a smart router. For deep technical details, always refer to `IOS_DEVELOPMENT_GUIDE.md`. diff --git a/.claude/skills/localization-developer/SKILL.md b/.claude/skills/localization-developer/SKILL.md new file mode 100644 index 0000000000..edc0985d23 --- /dev/null +++ b/.claude/skills/localization-developer/SKILL.md @@ -0,0 +1,178 @@ +# Localization Developer (Smart Router) + +## Purpose +Context-aware routing to the Anytype iOS localization system. Helps you navigate the 3-file .xcstrings structure and use Loc constants correctly. + +## When Auto-Activated +- Working with `.xcstrings` files +- Using `Loc` constants +- Discussing hardcoded strings or user-facing text +- Keywords: localization, strings, text, Loc., .xcstrings + +## 🚨 CRITICAL RULES (NEVER VIOLATE) + +1. **NEVER use hardcoded strings in UI** - Always use `Loc` constants +2. **NEVER create duplicate keys** across the 3 .xcstrings files - Breaks code generation +3. **NEVER edit non-English translations** - Only update English (`en`), Crowdin handles others +4. **ALWAYS search for existing keys first** - Reuse before creating new +5. **ALWAYS run `make generate`** after editing .xcstrings files + +## 📋 Quick Workflow + +1. **Search existing**: `rg "yourSearchTerm" Modules/Loc/Sources/Loc/Generated/Strings.swift` +2. **If found**: Reuse existing key +3. **If not found**: Add to appropriate .xcstrings file (see decision tree below) +4. **Generate**: `make generate` +5. **Use**: `AnytypeText(Loc.yourKey, style: .uxCalloutMedium)` + +## 🗂️ The 3-File System + +### Decision Tree + +``` +Is this text for authentication/login/vault? + YES → Auth.xcstrings (86 keys) + NO → Continue + +Is this text for spaces/objects/collaboration? + YES → Workspace.xcstrings (493 keys) + NO → Continue + +Is this text for settings/widgets/general UI? + YES → UI.xcstrings (667 keys) +``` + +### File Locations + +- **Auth.xcstrings**: `Modules/Loc/Sources/Loc/Resources/Auth.xcstrings` +- **Workspace.xcstrings**: `Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings` +- **UI.xcstrings**: `Modules/Loc/Sources/Loc/Resources/UI.xcstrings` + +**Generated output**: All 3 files → single `Strings.swift` (~5,000 lines, 1,246 total keys) + +## 🎯 Adding Keys + +### Format (add to appropriate .xcstrings file) + +```json +"Your localization key" : { + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Your English text here" + } + } + } +} +``` + +**Key naming**: +- Short keys: `"No properties yet"` ✅ +- Not full sentences: `"No properties yet. Add some."` ❌ +- Hierarchical: `"QR.join.title"` → `Loc.Qr.Join.title` + +## 🔢 Dynamic Localization (Parameters) + +### ✅ CORRECT - Use generated functions + +```swift +// String: "You've reached the limit of %lld editors" +Loc.SpaceLimit.Editors.title(4) + +// String: "Welcome, %@!" +Loc.welcomeMessage("John") +``` + +### ❌ WRONG - Never use String(format:) + +```swift +String(format: Loc.limitReached, 10) // DON'T DO THIS +``` + +**Why**: SwiftGen auto-generates parameterized functions for format specifiers (%lld, %d, %@). + +**Format specifiers**: +- `%lld` → Int parameter +- `%d` → Int parameter +- `%@` → String parameter +- `%.1f` → Double parameter + +## 🗑️ Removing Unused Keys + +1. **Search**: `rg "keyName" --type swift` +2. **If only in Strings.swift**: Key is orphaned +3. **Remove** from source .xcstrings file +4. **Generate**: `make generate` + +## ⚠️ Common Mistakes + +### Hardcoded Strings +```swift +// ❌ WRONG +Text("Delete") + +// ✅ CORRECT +Text(Loc.delete) +``` + +### Duplicate Keys Across Files +```json +// In Auth.xcstrings +"Settings" : { ... } + +// In UI.xcstrings +"Settings" : { ... } // ❌ DUPLICATE! Breaks generation +``` + +### Using String(format:) +```swift +// ❌ WRONG +String(format: Loc.limitReached, 10) + +// ✅ CORRECT +Loc.limitReached(10) +``` + +### Editing Non-English +```json +// ❌ WRONG - Crowdin will overwrite +"de" : { "value" : "Meine Übersetzung" } + +// ✅ CORRECT - Only edit English +"en" : { "value" : "My translation" } +``` + +## 📚 Complete Documentation + +**Full Guide**: `Anytype/Sources/PresentationLayer/Common/LOCALIZATION_GUIDE.md` + +For comprehensive coverage of: +- Detailed 3-file system explanation +- Key naming patterns and conventions +- Dynamic localization with all format specifiers +- Translation workflow with Crowdin +- Removing orphaned keys +- Generated file structure +- Complete examples and troubleshooting + +## ✅ Workflow Checklist + +- [ ] Searched for existing keys (`rg` in Strings.swift) +- [ ] Added to correct .xcstrings file (Auth/Workspace/UI) +- [ ] No duplicate keys across files +- [ ] Only updated English (`en`) +- [ ] Ran `make generate` +- [ ] Used generated key: `Loc.yourKey` +- [ ] No hardcoded strings in UI + +## 🔗 Related Skills & Docs + +- **ios-dev-guidelines** → `IOS_DEVELOPMENT_GUIDE.md` - Never use hardcoded strings +- **code-generation-developer** → `CODE_GENERATION_GUIDE.md` - Understanding make generate +- **design-system-developer** → Using Loc constants in UI components + +--- + +**Navigation**: This is a smart router. For deep details, always refer to `LOCALIZATION_GUIDE.md`. diff --git a/.claude/skills/skills-manager/SKILL.md b/.claude/skills/skills-manager/SKILL.md new file mode 100644 index 0000000000..ae1ed3b7d2 --- /dev/null +++ b/.claude/skills/skills-manager/SKILL.md @@ -0,0 +1,243 @@ +# Skills Manager (Smart Router) + +## Purpose +Context-aware routing to skills and hooks management. Helps you troubleshoot, fine-tune, and manage the automated documentation system. + +## When Auto-Activated +- Discussing skills activation or hooks +- Keywords: skill activation, hook, troubleshoot, fine-tune, keyword, skill-rules.json +- Debugging why a skill didn't activate or activated incorrectly + +## 🚨 CRITICAL RULES + +1. **Logs are your friend** - Always check `.claude/logs/skill-activations.log` first +2. **Test after changes** - Always verify modifications to `skill-rules.json` work +3. **Validate JSON** - Use `jq` to validate skill-rules.json before committing +4. **Keywords should be specific** - Too-broad keywords cause false positives + +## 📋 Quick Diagnostic Workflow + +### Problem: Skill Didn't Activate + +1. **Check logs**: + ```bash + tail -20 .claude/logs/skill-activations.log + ``` + +2. **Check current keywords**: + ```bash + cat .claude/hooks/skill-rules.json | jq '.skills."SKILL-NAME".promptTriggers.keywords' + ``` + +3. **Add missing keyword**: + - Ask Claude: "Add 'KEYWORD' to SKILL-NAME" + - Or edit `.claude/hooks/skill-rules.json` directly + +4. **Test**: + ```bash + echo '{"prompt":"test prompt"}' | .claude/hooks/skill-activation-prompt.sh + ``` + +### Problem: Skill Activated When Shouldn't + +1. **Identify the trigger** - Check logs to see which keyword matched + +2. **Remove or make more specific**: + - Remove: "Remove 'text' from localization-developer" + - Make specific: Replace "text" with "localized text" + +3. **Verify**: + ```bash + tail .claude/logs/skill-activations.log + ``` + +## 🎯 Common Tasks + +### Add a Keyword + +**Quick**: Ask Claude +``` +"Add 'refactoring' to ios-dev-guidelines keywords" +``` + +**Manual**: Edit `.claude/hooks/skill-rules.json` +```json +"keywords": [ + "swift", + "refactoring" // ← Add here +] +``` + +### Remove a Keyword + +**Quick**: Ask Claude +``` +"Remove 'text' from localization-developer, it's too broad" +``` + +**Manual**: Edit and remove from keywords array + +### Check What Activated + +```bash +tail -20 .claude/logs/skill-activations.log +``` + +Look for: +``` +✓ Matched: skill-name # ← This skill activated +No matches found # ← Nothing activated +``` + +### Test Activation Manually + +```bash +echo '{"prompt":"add feature flag"}' | .claude/hooks/skill-activation-prompt.sh +``` + +Should output skill suggestion if match found. + +## 🔧 The System Components + +### Hooks (Automation) + +**Location**: `.claude/hooks/` + +**What they do**: +- `skill-activation-prompt.sh` - Suggests skills based on your prompt +- `post-tool-use-tracker.sh` - Tracks file edits +- `swiftformat-auto.sh` - Auto-formats Swift files + +### Skills (Routers) + +**Location**: `.claude/skills/*/SKILL.md` + +**The 5 skills**: +1. `ios-dev-guidelines` - Swift/iOS patterns +2. `localization-developer` - Localization +3. `code-generation-developer` - Feature flags, make generate +4. `design-system-developer` - Icons, typography, colors +5. `skills-manager` - This skill (meta!) + +### Configuration + +**Location**: `.claude/hooks/skill-rules.json` + +**What it contains**: +- Keywords for each skill +- Intent patterns (regex) +- File path patterns +- Priority settings + +## 📊 Configuration Structure + +```json +{ + "skills": { + "skill-name": { + "type": "domain", + "priority": "high", // or "medium", "low" + "description": "Smart router to...", + "promptTriggers": { + "keywords": ["keyword1", "keyword2"], + "intentPatterns": ["(create|add).*?something"] + }, + "fileTriggers": { + "pathPatterns": ["**/*.swift"], + "contentPatterns": ["SomePattern"] + } + } + }, + "config": { + "maxSkillsPerPrompt": 2, + "logActivations": true + } +} +``` + +## ⚠️ Common Issues + +### Hook Not Executing + +**Symptom**: No activation messages, empty logs + +**Fix**: +```bash +# Make hooks executable +chmod +x .claude/hooks/*.sh + +# Verify +ls -l .claude/hooks/*.sh # Should show rwx +``` + +### Invalid JSON + +**Symptom**: Hook fails silently + +**Fix**: +```bash +# Validate +jq . .claude/hooks/skill-rules.json + +# If error, ask Claude to fix it +``` + +### Too Many False Positives + +**Symptom**: Skill activates too often + +**Fix**: Make keywords more specific +- ❌ "text" → activates for everything +- ✅ "localized text" → more specific + +## 📚 Complete Documentation + +**Full Guide**: `.claude/SKILLS_MANAGEMENT_GUIDE.md` + +For comprehensive coverage of: +- Detailed troubleshooting workflows +- Advanced regex patterns for intent matching +- Creating new skills from scratch +- Monitoring and maintenance +- Log rotation and cleanup +- Complete skill-rules.json reference +- Examples for every scenario + +## ✅ Health Check Commands + +```bash +# Check hook permissions +ls -l .claude/hooks/*.sh + +# Validate configuration +jq . .claude/hooks/skill-rules.json + +# View recent activations +tail -20 .claude/logs/skill-activations.log + +# Count activations by skill +grep "Matched:" .claude/logs/skill-activations.log | sort | uniq -c + +# Test specific prompt +echo '{"prompt":"your test"}' | .claude/hooks/skill-activation-prompt.sh +``` + +## 💡 Pro Tips + +1. **Ask Claude to check logs** - "Check the logs for my last prompt" +2. **Use logs for tuning** - Review regularly to spot patterns +3. **Start broad** - Add broad keywords, narrow if too many false positives +4. **Test everything** - Always test after modifying skill-rules.json +5. **Document changes** - Add comments in skill-rules.json + +## 🔗 Related Docs + +- `.claude/hooks/README.md` - Complete hooks documentation +- `.claude/skills/README.md` - Skills system overview +- `CLAUDE.md` - Main documentation + +--- + +**Navigation**: This is a smart router. For deep troubleshooting and management details, always refer to `SKILLS_MANAGEMENT_GUIDE.md`. + +**Quick help**: Just ask "Check skills system health" or "Why didn't X skill activate?" diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index be636d0faf..d7d9fc7a52 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -31,10 +31,24 @@ jobs: with: fetch-depth: 1 - - name: Load review prompt + - name: Load review skill and CI automation id: load-prompt run: | - PROMPT_CONTENT=$(cat .github/workflows/claude-code-review-prompt.md) + # Load the code-review-developer skill (routes to general standards) + SKILL_CONTENT=$(cat .claude/skills/code-review-developer/SKILL.md) + + # Load CI-specific automation instructions + CI_AUTOMATION=$(cat .github/workflows/pr-review-automation.md) + + # Combine both for the prompt + PROMPT_CONTENT="${SKILL_CONTENT} + + --- + + # CI/PR-Specific Instructions + + ${CI_AUTOMATION}" + echo "prompt_content<> $GITHUB_OUTPUT echo "$PROMPT_CONTENT" >> $GITHUB_OUTPUT echo "EOF" >> $GITHUB_OUTPUT diff --git a/.github/workflows/claude-code-review-prompt.md b/.github/workflows/pr-review-automation.md similarity index 100% rename from .github/workflows/claude-code-review-prompt.md rename to .github/workflows/pr-review-automation.md diff --git a/Anytype/Sources/IOS_DEVELOPMENT_GUIDE.md b/Anytype/Sources/IOS_DEVELOPMENT_GUIDE.md new file mode 100644 index 0000000000..b1bf0c7cae --- /dev/null +++ b/Anytype/Sources/IOS_DEVELOPMENT_GUIDE.md @@ -0,0 +1,550 @@ +# iOS Development Guide + +Complete guide to iOS development patterns, architecture, and best practices for the Anytype iOS app. + +*Last updated: 2025-01-30* + +## Overview + +The Anytype iOS app is built with Swift and SwiftUI, following MVVM architecture with Coordinator pattern for navigation. This guide covers the patterns, code style, and best practices used throughout the project. + +## ⚠️ CRITICAL RULES + +1. **NEVER trim whitespace-only lines** - Preserve blank lines with spaces/tabs exactly as they appear +2. **NEVER edit generated files** - Files marked with `// Generated using Sourcery/SwiftGen` +3. **NEVER use hardcoded strings** - Always use localization constants (`Loc.*`) +4. **ALWAYS update tests and mocks** - When refactoring, update all references +5. **Use feature flags for new features** - Wrap experimental code for safe rollouts +6. **Follow MVVM pattern** - ViewModels handle business logic, Views are lightweight + +## 🏗️ Architecture + +### Technologies + +- **Swift & SwiftUI** - Primary language and UI framework +- **Combine** - Reactive programming +- **Factory** - Dependency injection +- **Middleware** - Custom binary framework for core functionality +- **Protobuf** - Middleware communication + +### Project Structure + +``` +Anytype/Sources/ +├── ApplicationLayer/ # App lifecycle, coordinators +├── PresentationLayer/ # UI components, ViewModels +├── ServiceLayer/ # Business logic, data services +├── Models/ # Data models, entities +├── CoreLayer/ # Core utilities, networking +└── DesignSystem/ # Reusable UI components + +Modules/ # Swift packages +├── Services/ # Core services +├── AnytypeCore/ # Core utilities +├── ProtobufMessages/ # Generated protobuf code +├── Loc/ # Localization +└── Assets/ # Design assets +``` + +### Key Architectural Patterns + +#### 1. MVVM (Model-View-ViewModel) + +**View** (SwiftUI): +```swift +struct ChatView: View { + @StateObject private var model: ChatViewModel + + var body: some View { + // UI only, no business logic + } +} +``` + +**ViewModel**: +```swift +@MainActor +final class ChatViewModel: ObservableObject { + @Published var messages: [Message] = [] + @Injected(\.chatService) private var chatService + + func sendMessage(_ text: String) async { + // Business logic here + } +} +``` + +#### 2. Coordinator Pattern + +Coordinators handle navigation: + +```swift +@MainActor +final class ChatCoordinator: ObservableObject { + @Published var route: Route? + + enum Route { + case settings + case memberList + } + + func showSettings() { + route = .settings + } +} +``` + +#### 3. Repository Pattern + +Data access abstracted through services: + +```swift +protocol ChatRepository { + func fetchMessages() async throws -> [Message] + func sendMessage(_ message: Message) async throws +} + +final class ChatRepositoryImpl: ChatRepository { + // Implementation +} +``` + +#### 4. Dependency Injection (Factory) + +```swift +extension Container { + var chatService: Factory { + Factory(self) { ChatService() } + } +} + +// Usage in ViewModel +@Injected(\.chatService) private var chatService +``` + +## 🔧 Code Style + +### Formatting + +- **Indentation**: 4 spaces (no tabs) +- **Bracket style**: K&R (opening bracket on same line) +- **Line length**: 120-140 characters +- **Blank lines**: One between functions, two between sections +- **Whitespace-only lines**: NEVER trim - preserve exactly as is + +```swift +// ✅ CORRECT +class ChatViewModel { + @Published var messages: [Message] = [] + // ← Preserve blank line with spaces + func sendMessage() { + // Implementation + } +} + +// ❌ WRONG +class ChatViewModel { + @Published var messages: [Message] = [] +// ← Trimmed whitespace - breaks formatting consistency + func sendMessage() { +``` + +### Naming Conventions + +| Type | Convention | Example | +|------|------------|---------| +| Classes, Structs, Protocols | PascalCase | `ChatViewModel`, `UserService` | +| Variables, Functions | camelCase | `objectDetails`, `updateRows()` | +| Extensions | `TypeName+Feature.swift` | `ChatView+Actions.swift` | +| Protocols | Often suffixed with `Protocol` | `ChatServiceProtocol` | + +### Import Order + +```swift +// System frameworks +import Foundation +import SwiftUI +import Combine + +// Third-party +import Factory + +// Internal +import AnytypeCore +import Services +``` + +### Property Organization + +```swift +class ViewModel: ObservableObject { + // 1. Property wrappers + @Published var data: [Item] = [] + @Injected(\.service) private var service + + // 2. Public properties + let title: String + + // 3. Private properties + private var cancellables = Set() + + // 4. Constants + private let maxItems = 100 + + // 5. Computed properties + var isEmpty: Bool { data.isEmpty } + + // 6. Init + init(title: String) { + self.title = title + } + + // 7. Public methods + func loadData() async { } + + // 8. Private methods + private func processData() { } +} +``` + +## 🎯 Swift Best Practices + +### Use Guard for Early Returns + +```swift +// ✅ CORRECT +func processUser(_ user: User?) { + guard let user else { return } + // Continue with user +} + +// ❌ WRONG +func processUser(_ user: User?) { + if let user = user { + // Deep nesting + } +} +``` + +### Use @MainActor for UI Classes + +```swift +// ✅ CORRECT - Ensures UI updates on main thread +@MainActor +final class ChatViewModel: ObservableObject { + @Published var messages: [Message] = [] +} + +// ❌ WRONG - Can cause UI threading issues +final class ChatViewModel: ObservableObject { + @Published var messages: [Message] = [] +} +``` + +### Async/Await over Completion Handlers + +```swift +// ✅ CORRECT - Modern async/await +func fetchData() async throws -> [Item] { + try await service.fetch() +} + +// ❌ WRONG - Old completion handler style +func fetchData(completion: @escaping (Result<[Item], Error>) -> Void) { + service.fetch(completion: completion) +} +``` + +### Avoid Nested Types + +```swift +// ❌ WRONG - Nested type +struct ChatView: View { + enum MessageType { // Nested in View + case text, image + } +} + +// ✅ CORRECT - Top-level with descriptive name +enum ChatMessageType { + case text, image +} + +struct ChatView: View { + // Use ChatMessageType +} +``` + +### Enum Exhaustiveness + +Always use explicit switch statements to enable compiler warnings when new cases are added: + +```swift +// ✅ CORRECT - Compiler warns if new case added +var showManageButton: Bool { + switch self { + case .sharedSpaces: + return true + case .editors: + return false + } +} + +// ❌ WRONG - Default fallback prevents warnings +var showManageButton: Bool { + if case .sharedSpaces = self { return true } + return false // Won't warn about new cases +} +``` + +**Exception**: Only use default fallback for super obvious single-case checks: +```swift +var isSharedSpaces: Bool { + if case .sharedSpaces = self { return true } + return false +} +``` + +### SwiftUI Property Wrappers + +Use appropriate property wrappers: + +```swift +// State management +@State private var isLoading = false // Local view state +@StateObject private var model = ViewModel() // Own the ViewModel +@ObservedObject var model: ViewModel // Passed from parent + +// Published (in ObservableObject) +@Published var data: [Item] = [] + +// Dependency injection +@Injected(\.service) private var service + +// Environment +@Environment(\.dismiss) private var dismiss +``` + +### Trailing Closures + +```swift +// ✅ CORRECT +Button("Submit") { + submit() +} + +// ❌ WRONG - Unnecessary parentheses +Button("Submit", action: { + submit() +}) +``` + +### Type Inference + +```swift +// ✅ CORRECT - Infer when obvious +let items = [1, 2, 3] +let name = "Chat" + +// ✅ CORRECT - Explicit when needed +let items: [Item] = fetchItems() +let callback: (String) -> Void = handle +``` + +## 🧪 Testing & Mocks + +### Always Update Tests When Refactoring + +When renaming properties or dependencies: + +**1. Search for all references**: +```bash +rg "oldName" --type swift +``` + +**2. Update all locations**: +- Unit tests: `AnyTypeTests/` +- Preview mocks: `Anytype/Sources/PreviewMocks/` +- Mock implementations: `Anytype/Sources/PreviewMocks/Mocks/` +- DI registrations: `MockView.swift`, test setup files + +**Common mistake** (2025-01-16): Refactored `spaceViewStorage` → `spaceViewsStorage` in production code but forgot to update `MockView.swift`, causing test failures. + +### Mock Generation + +Use Sourcery for automatic mock generation: + +```swift +// sourcery: AutoMockable +protocol ChatService { + func fetchMessages() async throws -> [Message] +} + +// After make generate: +// ChatServiceMock automatically created +``` + +## 🗑️ Code Cleanup + +### Remove Unused Code + +After refactoring, always delete: +- Unused properties +- Unused functions +- Entire files that are no longer referenced + +**Example**: If removing a feature, delete: +1. ViewModel file +2. View file +3. Service implementation +4. Tests +5. Mocks +6. Localization keys (see LOCALIZATION_GUIDE.md) + +### Search Before Deleting + +```bash +# Check if type is still used +rg "MyOldViewModel" --type swift + +# Check if file is imported +rg "import MyOldModule" --type swift +``` + +## 🚨 Common Mistakes to Avoid + +### ❌ Autonomous Committing (2025-01-28) + +**NEVER commit without explicit user request**. Committing is destructive and should only happen when user approves. + +### ❌ Wildcard File Deletion (2025-01-24) + +```bash +# WRONG - Used wildcard +rm -f .../PublishingPreview*.swift # Accidentally deleted main UI component + +# CORRECT - Check first, delete individually +ls .../PublishingPreview*.swift # Verify what will be deleted +rm .../PublishingPreviewViewModel.swift # Delete specific file +``` + +### ❌ Incomplete Mock Updates (2025-01-16) + +Refactored production code but forgot to update `MockView.swift`. Always search for ALL references: + +```bash +rg "spaceViewStorage" --type swift # Find all uses +# Update all: production, tests, mocks, DI +``` + +### ❌ Trimming Whitespace-Only Lines + +This breaks formatting consistency. NEVER trim blank lines that contain spaces/tabs. + +### ❌ Hardcoded Strings + +```swift +// WRONG +Text("Add Member") + +// CORRECT +Text(Loc.addMember) +``` + +### ❌ Editing Generated Files + +```swift +// File: Generated/FeatureFlags.swift +// ❌ Don't edit this file - changes will be overwritten +``` + +## 📚 Integration with Other Guides + +- **Localization**: See `LOCALIZATION_GUIDE.md` for using `Loc.*` constants +- **Code Generation**: See `CODE_GENERATION_GUIDE.md` for feature flags and `make generate` +- **Design System**: See `DESIGN_SYSTEM_MAPPING.md` for icons, typography, colors + +## 💡 Best Practices Summary + +### Code Organization + +✅ **DO**: +- Use MVVM pattern (View → ViewModel → Service → Repository) +- Inject dependencies with `@Injected` +- Mark UI classes with `@MainActor` +- Use async/await for asynchronous code +- Use `guard` for early returns +- Organize properties: wrappers → public → private → computed → init → methods + +❌ **DON'T**: +- Put business logic in Views +- Use nested types (extract to top-level) +- Use completion handlers (use async/await) +- Trim whitespace-only lines +- Hardcode strings (use Loc.*) + +### Testing + +✅ **DO**: +- Update tests when refactoring +- Use Sourcery for mock generation +- Search for all references before renaming + +❌ **DON'T**: +- Forget to update mocks +- Skip test updates during refactoring + +### File Management + +✅ **DO**: +- Use descriptive file names +- Follow extension naming: `Type+Feature.swift` +- Delete unused files +- Search before deleting + +❌ **DON'T**: +- Use wildcard deletion +- Leave orphaned files +- Keep unused code "just in case" + +## 📖 Quick Reference + +**Create ViewModel**: +```swift +@MainActor +final class FeatureViewModel: ObservableObject { + @Published var data: [Item] = [] + @Injected(\.service) private var service + + func loadData() async throws { + data = try await service.fetch() + } +} +``` + +**Create Coordinator**: +```swift +@MainActor +final class FeatureCoordinator: ObservableObject { + @Published var route: Route? + + enum Route { case detail, settings } +} +``` + +**Dependency Injection**: +```swift +// Register in Container +extension Container { + var myService: Factory { + Factory(self) { MyService() } + } +} + +// Use in ViewModel +@Injected(\.myService) private var service +``` + +--- + +*This guide is the single source of truth for iOS development patterns. For quick reference, see CLAUDE.md.* \ No newline at end of file diff --git a/Anytype/Sources/PresentationLayer/Common/LOCALIZATION_GUIDE.md b/Anytype/Sources/PresentationLayer/Common/LOCALIZATION_GUIDE.md new file mode 100644 index 0000000000..c6cd73b81a --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Common/LOCALIZATION_GUIDE.md @@ -0,0 +1,313 @@ +# Localization System Guide + +Complete guide to the Anytype iOS localization system using SwiftGen and .xcstrings files. + +*Last updated: 2025-01-30* + +## Overview + +The Anytype iOS app uses a 3-file localization system with SwiftGen code generation: +- **Auth.xcstrings** (86 keys): Authentication, login/join flows, keychain, vault, onboarding, migration +- **Workspace.xcstrings** (493 keys): Spaces, objects, relations, collections, sets, types, templates, collaboration +- **UI.xcstrings** (667 keys): Settings, widgets, alerts, common UI elements, general app strings + +All three files generate into a single `Strings.swift` file (~5,000 lines) with type-safe constants. + +## ⚠️ CRITICAL RULES + +1. **NEVER use hardcoded strings in UI** - Always use localization constants +2. **Keys must be unique across ALL three .xcstrings files** - Duplicate keys break code generation +3. **Only update English (`en`) translations** - All other languages handled by Crowdin +4. **Always run `make generate` after changes** - Regenerates Strings.swift constants + +## 📋 Quick Workflow + +### 1. Search Existing Keys First + +```bash +rg "yourSearchTerm" Modules/Loc/Sources/Loc/Generated/Strings.swift +``` + +**Use existing patterns**: +- Block titles: `[feature]BlockTitle` +- Block subtitles: `[feature]BlockSubtitle` +- Common words: `camera`, `photo`, `picture`, `video(1)` + +### 2. Choose the Right .xcstrings File + +| File | Count | Use For | +|------|-------|---------| +| **Auth.xcstrings** | 86 keys | Authentication, login/join flows, keychain, vault, onboarding, migration | +| **Workspace.xcstrings** | 493 keys | Spaces, objects, relations, collections, sets, types, templates, collaboration | +| **UI.xcstrings** | 667 keys | Settings, widgets, alerts, common UI elements, general app strings | + +### 3. Add Key (If Doesn't Exist) + +**Location**: `Modules/Loc/Sources/Loc/Resources/[File].xcstrings` + +**Format**: +```json +"Your localization key" : { + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Your English text here" + } + } + } +} +``` + +**⚠️ IMPORTANT**: Only edit the `"en"` (English) translation. Do not manually edit translations for other languages (de, es, fr, ja, etc.) - the localization team manages non-English translations through Crowdin workflow. + +### 4. Generate Constants + +```bash +make generate +``` + +This runs SwiftGen to generate type-safe constants in `Modules/Loc/Sources/Loc/Generated/Strings.swift`. + +### 5. Use in Code + +```swift +import Loc + +// Simple text +AnytypeText(Loc.yourLocalizationKey, style: .uxCalloutMedium) + +// Or with Text +Text(Loc.yourLocalizationKey) + .anytypeStyle(.bodyRegular) +``` + +## 🔤 Key Naming Patterns + +### Short, Descriptive Keys + +✅ **CORRECT**: `"No properties yet"` +❌ **WRONG**: `"No properties yet. Add some to this type."` + +**Why**: Keys should be concise. Full sentences belong in the value, not the key name. + +### Hierarchical Organization + +Use dots for organization. SwiftGen creates nested enums: + +**Input** (in .xcstrings): +```json +"QR.join.title": { "en": "Join with QR" } +"QR.join.subtitle": { "en": "Scan code to join" } +``` + +**Generated** (in Strings.swift): +```swift +enum Loc { + enum Qr { + enum Join { + static let title = "Join with QR" + static let subtitle = "Scan code to join" + } + } +} +``` + +**Usage**: +```swift +Text(Loc.Qr.Join.title) +Text(Loc.Qr.Join.subtitle) +``` + +## 🔧 Dynamic Localization (with Parameters) + +For strings with format specifiers (%lld, %d, %@), SwiftGen automatically generates functions with parameters. + +### Format Specifiers + +| Specifier | Type | Example | +|-----------|------|---------| +| `%lld` | Integer (long long) | "You've reached the limit of %lld editors" | +| `%d` | Integer | "Pin limit reached: %d pinned spaces" | +| `%@` | String | "Hello %@" | +| `%f` | Float/Double | "Progress: %.2f%%" | + +### Example + +**Input** (Workspace.xcstrings): +```json +"You've reached the limit of %lld editors": { + "localizations": { + "en": { + "stringUnit": { + "state": "translated", + "value": "You've reached the limit of %lld editors" + } + } + } +} +``` + +**Generated** (Strings.swift): +```swift +static func youVeReachedTheLimitOfEditors(_ value: Int) -> String { + return String(format: "You've reached the limit of %lld editors", value) +} +``` + +**Usage**: + +✅ **CORRECT** - Use generated function: +```swift +Text(Loc.youVeReachedTheLimitOfEditors(4)) +``` + +❌ **WRONG** - Don't use String(format:): +```swift +String(format: Loc.youVeReachedTheLimitOfEditors, 4) // Compile error! +``` + +**Why**: SwiftGen generates type-safe functions. Always use the generated function directly. + +## 🗑️ Removing Unused Localization Keys + +When removing code that uses localization keys, clean up the .xcstrings files: + +### Workflow + +**1. Search for usage**: +```bash +rg "keyName" --type swift +``` + +**2. If only found in Generated/Strings.swift**, the key is unused: +- Remove the entire key entry from the source `.xcstrings` file +- Run `make generate` to regenerate Strings.swift + +**3. Example**: +- Removed `MembershipParticipantUpgradeReason.numberOfSpaceReaders` from code +- Search: `rg "noMoreMembers" --type swift` → only in Strings.swift +- Remove `"Membership.Upgrade.NoMoreMembers"` from Workspace.xcstrings +- Run `make generate` + +**Important**: Never leave orphaned localization keys in .xcstrings files - they bloat the codebase and confuse translators. + +## 📁 File Locations + +- **Source .xcstrings files**: `Modules/Loc/Sources/Loc/Resources/` + - Auth.xcstrings + - Workspace.xcstrings + - UI.xcstrings +- **Generated constants**: `Modules/Loc/Sources/Loc/Generated/Strings.swift` +- **SwiftGen config**: `Modules/Loc/swiftgen.yml` + +## 🎓 Common Mistakes + +### ❌ Using String(format:) + +```swift +// WRONG +String(format: Loc.someKey, value) + +// CORRECT +Loc.someKey(value) +``` + +### ❌ Hardcoded Strings + +```swift +// WRONG +Text("Add Member") + +// CORRECT +Text(Loc.addMember) +``` + +### ❌ Duplicate Keys Across Files + +```swift +// If "Settings.Title" exists in both UI.xcstrings and Workspace.xcstrings +// → make generate will fail +``` + +**Solution**: Keys must be globally unique across all 3 files. + +### ❌ Forgetting to Generate + +```bash +# After adding key to .xcstrings +# WRONG: Try to use immediately +Text(Loc.myNewKey) // Error: unresolved identifier + +# CORRECT: Generate first +make generate +Text(Loc.myNewKey) // Success! +``` + +### ❌ Editing Non-English Translations + +```json +// WRONG - Don't edit other languages +"localizations": { + "en": { ... }, + "de": { "value": "Meine Übersetzung" } // Don't do this! +} + +// CORRECT - Only edit English +"localizations": { + "en": { "value": "My translation" } + // Crowdin handles other languages +} +``` + +## 🔍 Troubleshooting + +### Issue: Key not generating + +**Symptom**: Added key to .xcstrings but `Loc.myKey` doesn't exist + +**Solution**: +1. Check JSON syntax is valid: `jq . Modules/Loc/Sources/Loc/Resources/UI.xcstrings` +2. Verify key doesn't exist in other files (duplicate keys break generation) +3. Run `make generate` +4. Check for errors in generation output + +### Issue: Duplicate key error + +**Symptom**: `make generate` fails with duplicate key error + +**Solution**: +```bash +# Find duplicates across all files +rg "\"My Key\"" Modules/Loc/Sources/Loc/Resources/*.xcstrings + +# Should appear only once total across all 3 files +``` + +### Issue: Format specifier not working + +**Symptom**: `Loc.myKey(value)` doesn't exist, only `Loc.myKey` (string) + +**Solution**: Check the .xcstrings value includes format specifier: +- With `%lld` or `%d` → generates function with Int parameter +- Without format specifier → generates plain string constant + +## 📚 Additional Resources + +- **Quick Reference**: See CLAUDE.md for condensed workflow +- **Skills System**: `.claude/skills/localization-developer/` for auto-activation +- **SwiftGen Docs**: https://github.com/SwiftGen/SwiftGen + +## 💡 Best Practices + +1. **Search before adding** - Reuse existing keys when possible +2. **Use hierarchical naming** - `Feature.Section.Item` for organization +3. **Keep keys short** - Full text goes in value, not key name +4. **Clean up unused keys** - Prevents bloat and translator confusion +5. **Only edit English** - Let Crowdin handle other languages +6. **Always generate** - Run `make generate` after any .xcstrings change + +--- + +*This guide is the single source of truth for localization. For quick reference, see CLAUDE.md.* \ No newline at end of file diff --git a/CLAUDE.md b/CLAUDE.md index 9ab0a18856..3248826525 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -39,9 +39,41 @@ make setup-middle # Initial setup ### AI Assistance - **Always present a detailed action plan before implementing multi-step changes and await approval before proceeding** +### 📚 Skills System & Documentation (Progressive Disclosure) + +**Level 1 - This File**: Quick start, critical rules, high-level overview +**Level 2 - Skills**: Context-aware guides that auto-activate → `.claude/skills/` +**Level 3 - Specialized Docs**: Deep knowledge for specific domains + +#### Auto-Activating Skills + +The skills system provides context-aware guidance that auto-activates based on your work: +- **ios-dev-guidelines** → Auto-activates when working with `.swift` files +- **localization-developer** → Auto-activates for localization work +- **code-generation-developer** → Auto-activates for code generation +- **design-system-developer** → Auto-activates for UI/design work +- **code-review-developer** → Auto-activates when reviewing PRs or code changes + +**How it works**: When you start a task, the system analyzes your prompt and file context, then automatically suggests relevant skills. No manual loading needed. + +**Learn more**: See `.claude/skills/README.md` for system overview and `.claude/hooks/README.md` for automation details. + +#### Specialized Documentation + +For deep knowledge, see these guides: + +| Topic | Quick Reference (Skills) | Complete Guide (Specialized Docs) | +|-------|-------------------------|-----------------------------------| +| **iOS Development** | `.claude/skills/ios-dev-guidelines/` | `Anytype/Sources/IOS_DEVELOPMENT_GUIDE.md` | +| **Localization** | `.claude/skills/localization-developer/` | `Anytype/Sources/PresentationLayer/Common/LOCALIZATION_GUIDE.md` | +| **Code Generation** | `.claude/skills/code-generation-developer/` | `Modules/AnytypeCore/CODE_GENERATION_GUIDE.md` | +| **Design System** | `.claude/skills/design-system-developer/` | `Anytype/Sources/PresentationLayer/Common/DESIGN_SYSTEM_MAPPING.md` | +| **Typography** | `.claude/skills/design-system-developer/` | `Anytype/Sources/PresentationLayer/Common/TYPOGRAPHY_MAPPING.md` | +| **Code Review** | `.claude/skills/code-review-developer/` | `.claude/CODE_REVIEW_GUIDE.md` | + ### Code Quality - **Never edit files marked with `// Generated using Sourcery/SwiftGen`** - These are automatically generated -- **Never use hardcoded strings in UI** - Always use localization constants +- **Never use hardcoded strings in UI** - Always use localization constants (see LOCALIZATION_GUIDE.md) - **All user-facing text must be localized** for international support - **Do not add comments** unless explicitly requested - **We only work in feature branches** - never push directly to develop/main @@ -52,228 +84,125 @@ make setup-middle # Initial setup - Mock implementations (`Anytype/Sources/PreviewMocks/Mocks/`) - Dependency injection registrations (`MockView.swift`, test setup files) -## 📝 Localization System +## 📝 Localization System (Quick Reference) + +**Full Guide**: `Anytype/Sources/PresentationLayer/Common/LOCALIZATION_GUIDE.md` ### Quick Workflow -1. **Search existing keys first**: - ```bash - rg "yourSearchTerm" Modules/Loc/Sources/Loc/Generated/Strings.swift - ``` +1. Search existing: `rg "yourSearchTerm" Modules/Loc/Sources/Loc/Generated/Strings.swift` +2. Choose file: Auth (86 keys), Workspace (493 keys), or UI (667 keys) +3. Add to appropriate `.xcstrings` file if missing +4. Run: `make generate` +5. Use: `Loc.yourKey` or `AnytypeText(Loc.yourKey, style: .uxBodyRegular)` -2. **Use existing patterns**: - - Block titles: `[feature]BlockTitle` - - Block subtitles: `[feature]BlockSubtitle` - - Common words: `camera`, `photo`, `picture`, `video(1)` - -3. **Choosing the Right File**: - Localization is split into 3 files - select based on your feature: - - **Auth.xcstrings** (86 keys): Authentication, login/join flows, keychain, vault, onboarding, migration - - **Workspace.xcstrings** (493 keys): Spaces, objects, relations, collections, sets, types, templates, collaboration - - **UI.xcstrings** (667 keys): Settings, widgets, alerts, common UI elements, general app strings - - **⚠️ CRITICAL**: Keys must be unique across ALL three files. Duplicate keys will break code generation. - -4. **Only if key doesn't exist**, add to the appropriate file in `Modules/Loc/Sources/Loc/Resources/`: - ```json - "Your localization key" : { - "extractionState" : "manual", - "localizations" : { - "en" : { - "stringUnit" : { - "state" : "translated", - "value" : "Your English text here" - } - } - } - } - ``` +### Critical Rules +- ❌ Never use hardcoded strings +- ❌ Never use `String(format: Loc.key, value)` → ✅ Use `Loc.key(value)` +- ⚠️ Keys must be unique across ALL 3 .xcstrings files +- ⚠️ Only edit English (`en`) - Crowdin handles other languages - **⚠️ IMPORTANT**: When adding or updating localization strings: - - **Only update the English (`en`) translation** - All other language translations are handled automatically via Crowdin - - Do not manually edit translations for other languages (de, es, fr, ja, etc.) - - The localization team manages non-English translations through Crowdin workflow +## 🎨 Design System (Quick Reference) -5. **Generate and use**: - ```bash - make generate - ``` - ```swift - import Loc - AnytypeText(Loc.yourLocalizationKey, style: .uxCalloutMedium) - ``` +**Full Guides**: +- `Anytype/Sources/PresentationLayer/Common/DESIGN_SYSTEM_MAPPING.md` +- `Anytype/Sources/PresentationLayer/Common/TYPOGRAPHY_MAPPING.md` -### Key Patterns -- **Naming**: Use short, descriptive keys → `"No properties yet"` ✅, `"No properties yet. Add some to this type."` ❌ -- **Hierarchical**: Use dots for organization → `"QR.join.title"` creates `Loc.Qr.Join.title` -- **Generated file**: All 3 localization files (Auth, Workspace, UI) generate into a single `Strings.swift` file (~5,000 lines). Use `rg` for searching -- **Always import**: `import Loc` when using localization +### Icons +Icons organized by size (x18, x24, x32, x40): +```swift +Image(asset: .X32.qrCode) // 32pt icon +Image(asset: .X24.search) // 24pt icon +``` -### Dynamic Localization (with Parameters) +**Adding**: Export SVG from Figma → Add to Assets.xcassets → `make generate` → Use constant -**✅ CORRECT** - Generated function with parameters: +### Typography +Figma styles map to Swift constants: ```swift -// For string: "You've reached the limit of %lld editors" -Loc.SpaceLimit.Editors.title(4) // Proper way - -// For string: "Pin limit reached: %d pinned spaces" -Loc.pinLimitReached(10) // Proper way +AnytypeText("Title", style: .uxTitle1Semibold) // Screen titles +AnytypeText("Body", style: .bodyRegular) // Body text ``` -**❌ WRONG** - Never use String(format:): +### Colors +Always use design system constants: ```swift -String(format: Loc.SpaceLimit.Editors.title, 4) // DON'T DO THIS -String(format: Loc.pinLimitReached, 10) // DON'T DO THIS +.foregroundColor(Color.Text.primary) +.background(Color.Shape.transperentSecondary) ``` -**Why**: SwiftGen automatically generates parameterized functions for strings with format specifiers (%lld, %d, %@). Always use the generated function directly. - -### Removing Unused Localization Keys - -When removing code that uses localization keys, **always check if the key is still used elsewhere**: - -1. **Search for usage**: - ```bash - rg "keyName" --type swift - ``` - -2. **If only found in Generated/Strings.swift**, the key is unused: - - Remove the entire key entry from the source `.xcstrings` file - - Run `make generate` to regenerate Strings.swift - -3. **Example workflow**: - - Removed `MembershipParticipantUpgradeReason.numberOfSpaceReaders` - - Search: `rg "noMoreMembers" --type swift` → only in Strings.swift - - Remove `"Membership.Upgrade.NoMoreMembers"` from Workspace.xcstrings - - Run `make generate` +## 🔧 Code Generation (Quick Reference) -**Important**: Never leave orphaned localization keys in .xcstrings files - they bloat the codebase and confuse translators. - -## 🎨 Design System & Common UI Components - -### Quick Reference -- **Search Patterns**: `/PresentationLayer/Common/SwiftUI/Search/SEARCH_PATTERNS.md` -- **Design System Mapping**: `/PresentationLayer/Common/DESIGN_SYSTEM_MAPPING.md` -- **Typography Mapping**: `/PresentationLayer/Common/TYPOGRAPHY_MAPPING.md` - Maps Figma text styles to Swift constants -- **Analytics Patterns**: `/PresentationLayer/Common/Analytics/ANALYTICS_PATTERNS.md` -- **Code Review Guidelines**: `/.github/workflows/code-review-guidelines.md` - Shared review standards for local and automated CI reviews - -### Icons -Icons are code-generated from assets organized by size (x18, x24, x32, x40). +**Full Guide**: `Modules/AnytypeCore/CODE_GENERATION_GUIDE.md` -**Usage**: -```swift -Image(asset: .X32.qrCode) // 32pt QR code icon -Image(asset: .X24.search) // 24pt search icon +### Quick Workflow +```bash +make generate # After adding flags, assets, or localization +make generate-middle # After middleware/protobuf changes ``` -**Adding new icons**: -1. Export SVG from Figma ("32/qr code" format) -2. Add to `/Modules/Assets/.../Assets.xcassets/DesignSystem/x32/QRCode.imageset/` -3. Run `make generate` -4. Use: `Image(asset: .X32.qrCode)` - ### Feature Flags -Wrap new features in boolean toggles for safe rollouts. - -**Adding**: -1. Edit `/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift`: - ```swift - static let yourFeatureName = FeatureDescription( - title: "Your Feature Name", - type: .feature(author: "Your Name", releaseVersion: "X.X.X"), - defaultValue: false, - debugValue: true - ) - ``` - -2. Generate: `make generate` +1. Add to `/Modules/AnytypeCore/.../FeatureDescription+Flags.swift` +2. Run `make generate` +3. Use: `if FeatureFlags.yourFlag { ... }` -3. Use: - ```swift - import AnytypeCore - - if FeatureFlags.yourFeatureName { - // Your feature code - } - ``` +### Tools +- **SwiftGen**: Assets & localization → type-safe constants +- **Sourcery**: Swift code from templates → boilerplate reduction +- **Protobuf**: Middleware message generation -**Types**: `.debug` (debug-only), `.feature(author:releaseVersion:)` (production) +## 🏗️ Architecture (High-Level) -## 🏗️ Architecture +**Full Guide**: `Anytype/Sources/IOS_DEVELOPMENT_GUIDE.md` ### Technologies - **Swift & SwiftUI** - Primary language and UI framework - **Combine** - Reactive programming - **Factory** - Dependency injection -- **Middleware** - Custom binary framework for core functionality -- **Protobuf** - Middleware communication +- **Middleware** - Custom binary framework (Protobuf communication) -### Structure +### Project Structure ``` Anytype/Sources/ ├── ApplicationLayer/ # App lifecycle, coordinators ├── PresentationLayer/ # UI components, ViewModels ├── ServiceLayer/ # Business logic, data services ├── Models/ # Data models, entities -├── CoreLayer/ # Core utilities, networking -└── DesignSystem/ # Reusable UI components +└── CoreLayer/ # Core utilities, networking Modules/ # Swift packages -├── Services/ # Core services -├── AnytypeCore/ # Core utilities -├── ProtobufMessages/ # Generated protobuf code -└── ... +├── AnytypeCore/ # Core utilities, feature flags +├── Loc/ # Localization +├── Assets/ # Design assets +└── Services/ # Core services ``` ### Key Patterns -- **MVVM**: ViewModels handle business logic for SwiftUI views +- **MVVM**: ViewModels handle business logic, Views are lightweight - **Coordinator**: Navigation handled by coordinators - **Repository**: Data access abstracted through services -- **Protocol-Oriented**: Heavy use of protocols for testability -- **Dependency Injection**: Factory pattern in `ServiceLayer/ServicesDI.swift` +- **Dependency Injection**: Factory pattern with `@Injected` + +## 🔧 Code Style (Quick Reference) -## 🔧 Code Style +**Full Guide**: `Anytype/Sources/IOS_DEVELOPMENT_GUIDE.md` ### Formatting - 4 spaces indentation (no tabs) - K&R style (opening brackets on same line) - 120-140 character lines -- One blank line between functions, two between sections -- **NEVER trim whitespace-only lines** - Preserve blank lines with spaces or tabs exactly as they appear in the original file +- **NEVER trim whitespace-only lines** - Preserve blank lines with spaces/tabs exactly ### Naming - **PascalCase**: Classes, Structs, Protocols (`ChatViewModel`) - **camelCase**: Variables, Functions (`objectDetails`, `updateRows()`) - **Extensions**: `TypeName+Feature.swift` -- **Protocols**: Often suffixed with `Protocol` ### Swift Best Practices -- Prefer `guard` for early returns - Use `@MainActor` for UI classes -- Import order: system → third-party → internal -- Property organization: @Published/@Injected → public → private → constants → variables → methods -- Use async/await, SwiftUI property wrappers, trailing closures, type inference -- **Avoid nested types** - Extract enums/structs to top-level with descriptive names (e.g., `SpaceLimitBannerLimitType` instead of `SpaceLimitBannerView.LimitType`) -- **Enum exhaustiveness**: Always use explicit switch statements for enum pattern matching to enable compiler warnings when new cases are added - - ✅ **CORRECT**: - ```swift - var showManageButton: Bool { - switch self { - case .sharedSpaces: - return true - case .editors: - return false - } - } - ``` - - ❌ **WRONG**: - ```swift - var showManageButton: Bool { - if case .sharedSpaces = self { return true } - return false // Default fallback prevents compiler warnings - } - ``` - - **Exception**: Only use default fallback for super obvious single-case checks (e.g., `isSharedSpaces`, `isEditor`) +- Prefer `guard` for early returns +- Use async/await over completion handlers +- Avoid nested types (extract to top-level) +- Use explicit switch for enums (enables compiler warnings) ## 🔄 Development Workflow @@ -290,30 +219,15 @@ Modules/ # Swift packages **⚠️ CRITICAL: This is the FIRST thing to do when starting any task** When receiving a Linear task ID (e.g., `IOS-5292`): -1. **Identify the task branch**: The branch name follows the format `ios-XXXX-description` - - Example: `ios-5292-update-space-hub-loading-state` - - You can retrieve the branch name from Linear issue details - -2. **Switch to the task branch IMMEDIATELY** before doing ANY other work: - ```bash - git checkout ios-5292-update-space-hub-loading-state - ``` - +1. **Identify the task branch**: Format is `ios-XXXX-description` +2. **Switch to the task branch IMMEDIATELY**: `git checkout ios-5292-update-space-hub-loading-state` 3. **All work for the task must be done in this dedicated branch** - - Never work on tasks in the wrong branch - - Verify you're on the correct branch: `git branch --show-current` ### Git & GitHub - **Main branch**: `develop` - **Feature branches**: `ios-XXXX-description` - **⚠️ CRITICAL: NEVER commit without explicit user request** - - Wait for user to explicitly ask you to commit - - Do NOT commit automatically after making changes - - Do NOT assume commits are expected -- **Commit messages**: - - Single line only - - **NO AI signatures** (no "Generated with Claude", no co-author attribution) - - Professional and concise +- **Commit messages**: Single line, no AI signatures - **GitHub CLI**: Use `gh` tool for all GitHub operations - `gh pr view --repo anyproto/anytype-swift` - `gh pr diff --repo anyproto/anytype-swift` @@ -322,38 +236,21 @@ When receiving a Linear task ID (e.g., `IOS-5292`): For comprehensive documentation on GitHub workflows, actions, and automation (including auto-merge behavior), see `.github/WORKFLOWS_REFERENCE.md` ### Release Branch Workflow -- **Branches from release**: When creating a branch from a release branch (e.g., `release/0.42.0`): - - Target the **release branch** in your PR, not `develop` - - Always add the **"Release"** label to the PR - - Example: `gh pr create --base release/0.42.0 --label "Release" --title "..." --body "..."` +When creating a branch from a release branch (e.g., `release/0.42.0`): +- Target the **release branch** in your PR, not `develop` +- Always add the **"Release"** label to the PR +- Example: `gh pr create --base release/0.42.0 --label "Release" --title "..." --body "..."` ### ❌ FORBIDDEN Git Practices **ABSOLUTELY NEVER run destructive git operations** unless you have explicit, written approval: - `git reset --hard` - Discards all local changes permanently -- `git checkout ` or `git restore` to revert to older commits - Can lose work +- `git checkout ` or `git restore` to revert to older commits - `git clean -fd` - Removes untracked files permanently - `git push --force` to main/develop - Rewrites shared history **If you are even slightly unsure about a git command, STOP and ask the user first.** -**NEVER do this:** -```bash -# ❌ WRONG - Contains AI attribution -git commit -m "Fix pinned spaces limit - -Co-Authored-By: Claude " - -# ❌ WRONG - Contains AI signature -git commit -m "Add feature 🤖 Generated with Claude Code" -``` - -**ALWAYS do this:** -```bash -# ✅ CORRECT - Clean, professional, single line -git commit -m "IOS-4852 Add limit check for pinned spaces" -``` - ### Pull Requests **Format**: ``` @@ -363,28 +260,23 @@ git commit -m "IOS-4852 Add limit check for pinned spaces" **Note**: PRs are for programmers, not testers - **NO test plan needed** -**IMPORTANT**: +**IMPORTANT**: - **NEVER add AI signatures** like "🤖 Generated with Claude Code" to pull requests -- **NEVER add AI signatures** to commit messages - Keep commits and PRs professional without AI attribution **Incremental Strategy** (for related changes): - Sequential branches: `ios-XXXX-description-1`, `ios-XXXX-description-2` - Chain PRs: `branch-1` → `develop`, `branch-2` → `branch-1` -- Atomic changes per branch ### 🔧 Git Technical Tips **Quoting paths with special characters**: -- Always quote git paths containing brackets, parentheses, or spaces -- Prevents shell from treating them as globs or subshells - +Always quote git paths containing brackets, parentheses, or spaces: ```bash # ✅ CORRECT git add "Anytype/Sources/[Feature]/Component.swift" -git commit -m "Update component" -- "path/with spaces/file.swift" -# ❌ WRONG - Shell interprets brackets as glob pattern +# ❌ WRONG - Shell interprets brackets as glob git add Anytype/Sources/[Feature]/Component.swift ``` @@ -394,52 +286,27 @@ git add Anytype/Sources/[Feature]/Component.swift 3. **Check PRs**: Use `gh` tool to examine related PRs 4. **Update progress**: Add comments and check off completed items -## 🛠️ Code Generation - -### Tools & Locations -- **SwiftGen**: Assets, localization strings (`/Modules/*/swiftgen.yml`) -- **Sourcery**: Swift code from templates (`/Modules/*/sourcery.yml`) -- **Custom**: Protobuf splitting (`anytypeGen.yml`) - -### Important Notes -- Generated files marked with `// Generated using Sourcery/SwiftGen` -- Never edit generated files directly -- Update source templates/configurations instead -- Always run `make generate` after template changes - -## 📚 Common Tasks - -### Adding Features -1. Create models in `Models/` (if needed) -2. Add service logic in `ServiceLayer/` -3. Create ViewModel in `PresentationLayer/` -4. Build UI with SwiftUI -5. Add tests in `AnyTypeTests/` -6. Wrap in feature flags - -### Working with Middleware -- Pre-compiled binary framework -- Communication via Protobuf messages -- Message definitions in `Modules/ProtobufMessages/` - ## 📋 Memories & Tips - For trivial PRs, add GitHub label "🧠 No brainer" (not in title) - Use `rg` for searching large files -- Check existing keys before adding new localization - Feature flags for all new features -- **NO need to import `Loc` manually** - it's pre-imported by default in shared header +- **NO need to import `Loc` manually** - it's pre-imported by default - Import `AnytypeCore` for feature flags -### ⚠️ Common Mistakes to Avoid +## ⚠️ Common Mistakes to Avoid -#### Git Operations -**Autonomous Committing (2025-01-28):** Committed changes without explicit user request. NEVER commit unless user explicitly asks. This is a CRITICAL rule - committing is a destructive operation that should only happen when user approves. +### Git Operations +**Autonomous Committing (2025-01-28):** Committed changes without explicit user request. NEVER commit unless user explicitly asks. This is a CRITICAL rule. -#### File Operations & Architecture -**Wildcard File Deletion (2025-01-24):** Used `rm -f .../PublishingPreview*.swift` - accidentally deleted main UI component. Always check with `ls` first, remove files individually, keep UI in PresentationLayer. +### File Operations & Architecture +**Wildcard File Deletion (2025-01-24):** Used `rm -f .../PublishingPreview*.swift` - accidentally deleted main UI component. Always check with `ls` first, remove files individually. -#### Refactoring & Testing -**Incomplete Mock Updates (2025-01-16):** Refactored `spaceViewStorage` → `spaceViewsStorage` and `participantSpaceStorage` → `participantSpacesStorage` in production code, but forgot to update `MockView.swift` causing test failures. When renaming dependencies: -1. Search for old names across entire codebase: `rg "oldName" --type swift` +### Refactoring & Testing +**Incomplete Mock Updates (2025-01-16):** Refactored properties in production code but forgot to update `MockView.swift` causing test failures. When renaming dependencies: +1. Search for old names: `rg "oldName" --type swift` 2. Update all references in tests, mocks, and DI registrations -3. Report changes to user for compilation verification \ No newline at end of file +3. Report changes to user for compilation verification + +--- + +**Remember**: This file provides quick reference and overview. For detailed guidance, see the specialized documentation guides linked above. \ No newline at end of file diff --git a/Modules/AnytypeCore/CODE_GENERATION_GUIDE.md b/Modules/AnytypeCore/CODE_GENERATION_GUIDE.md new file mode 100644 index 0000000000..65aa2539f6 --- /dev/null +++ b/Modules/AnytypeCore/CODE_GENERATION_GUIDE.md @@ -0,0 +1,407 @@ +# Code Generation Guide + +Complete guide to code generation workflows in the Anytype iOS app: SwiftGen, Sourcery, Feature Flags, and Protobuf. + +*Last updated: 2025-01-30* + +## Overview + +The Anytype iOS app uses multiple code generation tools to reduce boilerplate and ensure type safety: + +- **SwiftGen**: Generates constants for assets (icons, colors) and localization strings +- **Sourcery**: Generates Swift code from templates based on source file annotations +- **Feature Flags**: Boolean toggles for safe feature rollouts (Sourcery-generated) +- **Protobuf**: Middleware message definitions + +## ⚠️ CRITICAL RULES + +1. **NEVER edit generated files** - Files marked with `// Generated using Sourcery/SwiftGen` are auto-generated +2. **ALWAYS run `make generate` after changes** - Updates templates, flags, assets, or localization +3. **Feature flags for all new features** - Wrap experimental features for safe rollouts +4. **Update source, not generated code** - Edit templates/configurations, then regenerate + +## 📋 Essential Commands + +```bash +make generate # Run all generators (SwiftGen, Sourcery, assets, localization) +make generate-middle # Regenerate middleware and protobuf (when dependencies change) +make setup-middle # Initial middleware setup +``` + +### When to Run `make generate` + +| You Did This | Run This | Why | +|--------------|----------|-----| +| Added/updated .xcstrings | `make generate` | Regenerate Loc constants | +| Added feature flag | `make generate` | Generate FeatureFlags enum | +| Added icon to Assets.xcassets | `make generate` | Generate Image asset constants | +| Modified Sourcery template | `make generate` | Regenerate code from templates | +| Updated middleware version | `make generate-middle` | Regenerate protobuf bindings | + +## 🚩 Feature Flags System + +Feature flags enable safe rollout of new features by wrapping them in boolean toggles. + +### Quick Workflow + +**1. Define the flag** in `/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift`: + +```swift +extension FeatureDescription { + static let newChatInterface = FeatureDescription( + title: "New Chat Interface", + type: .feature(author: "Your Name", releaseVersion: "0.42.0"), + defaultValue: false, // Off in production + debugValue: true // On in debug builds for testing + ) +} +``` + +**2. Generate**: + +```bash +make generate +``` + +This generates `Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags.swift`: + +```swift +// Generated using Sourcery +enum FeatureFlags { + static let newChatInterface: Bool = /* value based on build config */ +} +``` + +**3. Use in code**: + +```swift +import AnytypeCore + +if FeatureFlags.newChatInterface { + NewChatView() +} else { + LegacyChatView() +} +``` + +### Feature Flag Types + +```swift +// Debug-only (not available in production builds) +type: .debug + +// Production feature with metadata +type: .feature(author: "Dev Name", releaseVersion: "0.42.0") +``` + +### Best Practices + +✅ **DO**: +- Set `defaultValue: false` for unreleased features +- Set `debugValue: true` for easier developer testing +- Include author and release version metadata +- Remove flags after feature is fully rolled out + +❌ **DON'T**: +- Deploy features without feature flags +- Forget to run `make generate` after adding flags +- Leave old flags in codebase indefinitely + +### Feature Flag Lifecycle + +**1. Development** (defaultValue: false, debugValue: true) +- Flag off in production +- Flag on in debug builds for testing + +**2. Beta** (defaultValue: false, debugValue: true) +- Still off in production +- Enable for beta testers via remote config (if available) + +**3. Rollout** (defaultValue: true, debugValue: true) +- Change defaultValue to true +- Deploy - feature now enabled for all users + +**4. Cleanup** +- Feature stable and enabled everywhere +- Remove FeatureDescription +- Remove all `if FeatureFlags.x` checks +- Make new behavior the default +- Run `make generate` + +## 🎨 SwiftGen - Assets & Localization + +SwiftGen generates type-safe constants for resources. + +### Configuration Files + +- Assets: `/Modules/Assets/swiftgen.yml` +- Localization: `/Modules/Loc/swiftgen.yml` + +### Icon Generation + +**Input** (Assets.xcassets): +``` +DesignSystem/ +└── x32/ + └── QRCode.imageset/ + ├── QRCode.svg + └── Contents.json +``` + +**Generated** (after `make generate`): +```swift +enum ImageAsset { + enum X32 { + static let qrCode = ImageAsset(name: "DesignSystem/x32/QRCode") + } +} +``` + +**Usage**: +```swift +Image(asset: .X32.qrCode) +``` + +### Adding Icons + +1. Export SVG from Figma (e.g., "32/qr code" → `QRCode.svg`) +2. Add to `/Modules/Assets/.../Assets.xcassets/DesignSystem/x32/QRCode.imageset/` +3. Run `make generate` +4. Use: `Image(asset: .X32.qrCode)` + +**Icon Sizes**: +- `x18` - 18pt icons (small UI) +- `x24` - 24pt icons (medium UI) +- `x32` - 32pt icons (large UI, most common) +- `x40` - 40pt icons (extra large) + +### Localization Generation + +SwiftGen also generates constants for localization keys from .xcstrings files. + +**See**: `LOCALIZATION_GUIDE.md` for complete localization workflow. + +## 🔧 Sourcery - Template-Based Generation + +Sourcery generates Swift code from templates based on source file annotations. + +### Configuration + +Multiple `sourcery.yml` files across modules: +- `/Modules/AnytypeCore/sourcery.yml` +- `/Modules/Services/sourcery.yml` +- etc. + +### Generated File Markers + +All Sourcery-generated files include: +```swift +// Generated using Sourcery X.X.X — https://github.com/krzysztofzablocki/Sourcery +// DO NOT EDIT +``` + +### Common Use Cases + +**1. Protocol conformance** (Equatable, Hashable) +```swift +// sourcery: AutoEquatable +struct User { + let id: String + let name: String +} + +// After make generate: +// User conforms to Equatable automatically +``` + +**2. Mock implementations for testing** +```swift +// sourcery: AutoMockable +protocol UserService { + func fetchUser(id: String) async throws -> User +} + +// After make generate: +// UserServiceMock class created automatically +``` + +**3. Enum helpers** +```swift +// sourcery: AutoCases +enum UserRole { + case admin, editor, viewer +} + +// After make generate: +// CaseIterable conformance added +``` + +### Workflow + +1. Add annotation to source file: `// sourcery: AutoEquatable` +2. Run: `make generate` +3. Sourcery scans files, applies templates, generates code +4. Use generated code (don't edit generated files!) + +### Important + +✅ Update source file annotations, not generated files +✅ Run `make generate` after changing templates +✅ Commit both source and generated files to git + +❌ Don't manually edit generated files +❌ Don't ignore "DO NOT EDIT" warnings + +## 🔌 Middleware & Protobuf + +The Anytype middleware is a pre-compiled binary framework communicating via Protobuf. + +### Commands + +```bash +make setup-middle # Initial setup (downloads middleware) +make generate-middle # Regenerate middleware + protobuf bindings +``` + +### When to Regenerate + +- Middleware version updated in dependencies +- `Dependencies/Middleware/Lib.xcframework` missing binaries +- Protobuf message definitions changed +- Build errors related to middleware symbols + +### Locations + +- **Middleware**: `Dependencies/Middleware/Lib.xcframework` +- **Protobuf messages**: `Modules/ProtobufMessages/` +- **Generated code**: `Modules/ProtobufMessages/Generated/` +- **Custom config**: `anytypeGen.yml` (protobuf splitting) + +## 📁 Generated File Locations + +| Generator | Output Location | +|-----------|-----------------| +| SwiftGen (Localization) | `Modules/Loc/Sources/Loc/Generated/Strings.swift` | +| SwiftGen (Assets) | `Modules/Assets/Generated/ImageAssets.swift` | +| SwiftGen (Colors) | `Modules/Assets/Sources/Assets/Generated/Color+Assets.swift` | +| Sourcery (Feature Flags) | `Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags.swift` | +| Sourcery (Various) | `Modules/*/Generated/` | +| Protobuf | `Modules/ProtobufMessages/Generated/` | + +## 🚨 Common Mistakes + +### ❌ Editing Generated Files + +```swift +// In Generated/FeatureFlags.swift +static let myFlag: Bool = true // ❌ Don't edit this! +// Your changes will be overwritten on next make generate +``` + +**✅ Correct**: Edit source file (`FeatureDescription+Flags.swift`), then regenerate. + +### ❌ Forgetting to Generate + +```swift +// Added FeatureDescription but didn't generate +if FeatureFlags.myNewFlag { // ❌ Error: unresolved identifier + ... +} +``` + +**✅ Correct**: Run `make generate` first. + +### ❌ Not Committing Generated Files + +Generated files should be committed to git for reproducibility: + +```bash +git add Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags.swift +git commit -m "Add new feature flag" +``` + +## 🔍 Troubleshooting + +### Issue: `make generate` fails + +**Common causes**: +- Malformed JSON in .xcstrings files +- Duplicate keys across localization files +- Invalid Sourcery annotations +- Syntax errors in templates + +**Solution**: +```bash +# Validate JSON +jq . Modules/Loc/Sources/Loc/Resources/UI.xcstrings + +# Check for duplicate localization keys +rg "\"My Key\"" Modules/Loc/Sources/Loc/Resources/*.xcstrings | wc -l +# Should be 1, not 2+ + +# Check Sourcery annotations +rg "// sourcery:" --type swift +``` + +### Issue: Generated constant not found + +**Symptom**: `FeatureFlags.myFlag` doesn't exist after adding FeatureDescription + +**Solution**: +1. Verify flag definition in `FeatureDescription+Flags.swift` +2. Run `make generate` +3. Check generated file: `rg "myFlag" Modules/AnytypeCore/AnytypeCore/Generated/` +4. Clean build if needed + +### Issue: Middleware binaries missing + +**Symptom**: Build error: "Lib.xcframework missing binaries" + +**Solution**: +```bash +make setup-middle # Initial setup +# Or +make generate # May trigger middleware generation +``` + +## 📚 Integration with Other Systems + +- **Localization**: See `LOCALIZATION_GUIDE.md` for complete `.xcstrings` workflow +- **Design System**: Icons generated by SwiftGen after adding to Assets.xcassets +- **iOS Development**: Generated code follows patterns in `IOS_DEVELOPMENT_GUIDE.md` + +## 💡 Best Practices + +1. **Run `make generate` frequently** - After any asset, localization, or flag changes +2. **Never edit generated files** - Always update source, then regenerate +3. **Commit generated files** - Ensures everyone has same code without requiring generators +4. **Use feature flags for new features** - Safe rollouts, easy rollback +5. **Keep flags temporary** - Remove after full rollout to avoid technical debt +6. **Check generated code into git** - Don't rely on everyone running generators + +## 📖 Quick Reference + +**Add feature flag**: +```bash +vim Modules/AnytypeCore/.../FeatureDescription+Flags.swift +make generate +# Use FeatureFlags.yourFlag in code +``` + +**Add icon**: +```bash +cp icon.svg Modules/Assets/.../x32/Icon.imageset/ +make generate +# Use Image(asset: .X32.icon) +``` + +**Add localization**: +```bash +# Edit .xcstrings file +make generate +# Use Loc.yourKey +``` + +--- + +*This guide is the single source of truth for code generation. For quick reference, see CLAUDE.md.* \ No newline at end of file From e3307b732a3089cea15b314ca2352992a7c76702 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 4 Nov 2025 13:31:54 +0000 Subject: [PATCH 112/228] IOS-5420 Add code review to cpp comand --- .claude/commands/codeReview.md | 5 ++++- .claude/commands/cpp.md | 34 +++++++++++++++++++++++++++++----- 2 files changed, 33 insertions(+), 6 deletions(-) diff --git a/.claude/commands/codeReview.md b/.claude/commands/codeReview.md index 7bbdf256dd..9e936783df 100644 --- a/.claude/commands/codeReview.md +++ b/.claude/commands/codeReview.md @@ -23,10 +23,13 @@ git diff develop...HEAD ### Step 2: Apply Review Standards **Apply the shared review guidelines from:** -`.github/workflows/code-review-guidelines.md` +`.claude/CODE_REVIEW_GUIDE.md` Follow all core rules, review sections, common mistakes, and analysis checklist defined in that file. +**Also consult:** +- `.claude/skills/code-review-developer/SKILL.md` - Quick reference for critical rules and workflow + **Context adaptation for local reviews:** - This is a local review (not a GitHub PR) - Reference file:line locations from the git diff diff --git a/.claude/commands/cpp.md b/.claude/commands/cpp.md index 57b9d954ea..c06a96cdbc 100644 --- a/.claude/commands/cpp.md +++ b/.claude/commands/cpp.md @@ -1,4 +1,4 @@ -Commit, push, pull request +Commit, review, push, pull request ## Usage ``` @@ -6,11 +6,35 @@ Commit, push, pull request ``` ## Description -Commits the current changes, pushes to remote, and creates a pull request. +Commits the current changes, performs a code review, applies fixes if needed, then pushes to remote and creates a pull request. ## Optional Arguments - `in branch ` - Specifies the target branch to use for the commit, push, and PR +## Workflow + +### 1. Commit Changes +- Stage and commit all changes with a descriptive message +- Follow CLAUDE.md commit message guidelines + +### 2. Code Review +- Run automated code review using `/codeReview` workflow +- Apply CODE_REVIEW_GUIDE.md standards +- Check for bugs, best practices violations, performance issues, security concerns + +### 3. Review Findings +- Present review results to developer +- If issues found, **STOP and discuss** with developer: + - Should we fix the issues now? + - Are the findings valid or false positives? + - Should we proceed anyway? +- **Developer decides next steps** - never auto-amend commits + +### 4. Push and PR (when approved) +- Only proceed when developer approves +- Push to remote with tracking +- Create pull request with summary + ## Branch Handling When a branch name is provided: 1. **Branch doesn't exist locally or remotely**: Creates a new branch with the specified name @@ -19,12 +43,12 @@ When a branch name is provided: ## Examples ```bash -# Commit, push, and PR on current branch +# Commit, review, push, and PR on current branch /cpp -# Commit, push, and PR on specific branch (creates if doesn't exist) +# Commit, review, push, and PR on specific branch (creates if doesn't exist) /cpp in branch ios-5364-add-claude-to-gh-actions -# Commit, push, and PR on existing branch +# Commit, review, push, and PR on existing branch /cpp in branch develop ``` From c409d62180852020155b35bbc915e2f54f22fe6f Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 4 Nov 2025 13:32:20 +0000 Subject: [PATCH 113/228] IOS-5420 Added auto learning feature to skills --- .claude/hooks/skill-activation-prompt.sh | 45 ++++++- .claude/hooks/skill-rules.json.tmp | 0 .claude/hooks/utils/add-keywords-to-skill.sh | 122 +++++++++++++++++++ .claude/hooks/utils/extract-keywords.sh | 72 +++++++++++ .claude/skills/skills-manager/SKILL.md | 31 ++++- CLAUDE.md | 19 +++ 6 files changed, 287 insertions(+), 2 deletions(-) create mode 100644 .claude/hooks/skill-rules.json.tmp create mode 100755 .claude/hooks/utils/add-keywords-to-skill.sh create mode 100755 .claude/hooks/utils/extract-keywords.sh diff --git a/.claude/hooks/skill-activation-prompt.sh b/.claude/hooks/skill-activation-prompt.sh index d9fbfb57c8..91b173f9cc 100755 --- a/.claude/hooks/skill-activation-prompt.sh +++ b/.claude/hooks/skill-activation-prompt.sh @@ -76,9 +76,52 @@ for skill in $(jq -r '.skills | keys[]' "$SKILL_RULES"); do fi done -# If no skills matched, exit silently +# If no skills matched, check if prompt is substantial if [ ${#MATCHED_SKILLS[@]} -eq 0 ]; then echo " No skills matched" >> "$LOG_FILE" + + # Calculate prompt size metrics + CHAR_COUNT=${#USER_PROMPT} + LINE_COUNT=$(echo "$USER_PROMPT" | wc -l | tr -d ' ') + + # Threshold: 100+ characters OR 3+ lines + if [ $CHAR_COUNT -ge 100 ] || [ $LINE_COUNT -ge 3 ]; then + echo " Substantial prompt (${CHAR_COUNT} chars, ${LINE_COUNT} lines) - prompting user" >> "$LOG_FILE" + + # Log to missed activations file + MISSED_LOG="$LOG_DIR/skill-activations-missed.log" + echo "[$(date '+%Y-%m-%d %H:%M:%S')] Missed activation" >> "$MISSED_LOG" + echo " Prompt: ${USER_PROMPT:0:200}..." >> "$MISSED_LOG" + echo " Size: ${CHAR_COUNT} chars, ${LINE_COUNT} lines" >> "$MISSED_LOG" + echo "" >> "$MISSED_LOG" + + # Build skill list for user + echo "" + echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" + echo "💡 NO SKILLS ACTIVATED" + echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" + echo "" + echo "Your prompt seems substantial (${CHAR_COUNT} chars, ${LINE_COUNT} lines) but no skills matched." + echo "" + echo "📚 Available skills:" + echo "" + + # List all skills + for skill in $(jq -r '.skills | keys[]' "$SKILL_RULES"); do + description=$(jq -r ".skills[\"$skill\"].description" "$SKILL_RULES") + echo " • $skill" + echo " $description" + echo "" + done + + echo "❓ Should any of these skills be activated for this task?" + echo " If yes, tell me which one and I'll extract keywords from your prompt" + echo " to improve future auto-activation." + echo "" + echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" + echo "" + fi + exit 0 fi diff --git a/.claude/hooks/skill-rules.json.tmp b/.claude/hooks/skill-rules.json.tmp new file mode 100644 index 0000000000..e69de29bb2 diff --git a/.claude/hooks/utils/add-keywords-to-skill.sh b/.claude/hooks/utils/add-keywords-to-skill.sh new file mode 100755 index 0000000000..39460329b0 --- /dev/null +++ b/.claude/hooks/utils/add-keywords-to-skill.sh @@ -0,0 +1,122 @@ +#!/bin/bash + +# Auto-Learning Utility +# Adds keywords to a skill's configuration for improved auto-activation + +set -euo pipefail + +# Usage check +if [ $# -lt 2 ]; then + echo "Usage: $0 [keyword2] [keyword3] ..." + echo "" + echo "Example:" + echo " $0 localization-developer \"membership\" \"tiers\" \"settings\"" + exit 1 +fi + +SKILL_NAME=$1 +shift +NEW_KEYWORDS=("$@") + +# Get script directory +SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" +SKILL_RULES="$SCRIPT_DIR/../skill-rules.json" +LOG_DIR="$SCRIPT_DIR/../../logs" +LOG_FILE="$LOG_DIR/skill-learning.log" + +# Ensure log directory exists +mkdir -p "$LOG_DIR" + +# Validate skill exists +if ! jq -e ".skills[\"$SKILL_NAME\"]" "$SKILL_RULES" > /dev/null 2>&1; then + echo "❌ Error: Skill '$SKILL_NAME' not found in skill-rules.json" + echo "" + echo "Available skills:" + jq -r '.skills | keys[]' "$SKILL_RULES" | sed 's/^/ - /' + exit 1 +fi + +echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" +echo "📚 AUTO-LEARNING: Adding keywords to $SKILL_NAME" +echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" +echo "" + +# Get existing keywords +EXISTING_KEYWORDS=$(jq -r ".skills[\"$SKILL_NAME\"].promptTriggers.keywords[]" "$SKILL_RULES" 2>/dev/null || echo "") + +# Check which keywords are new +TRULY_NEW_KEYWORDS=() +for keyword in "${NEW_KEYWORDS[@]}"; do + keyword_lower=$(echo "$keyword" | tr '[:upper:]' '[:lower:]') + + IS_DUPLICATE=false + while IFS= read -r existing; do + existing_lower=$(echo "$existing" | tr '[:upper:]' '[:lower:]') + if [ "$keyword_lower" = "$existing_lower" ]; then + IS_DUPLICATE=true + echo "⏭️ Skipping '$keyword' (already exists)" + break + fi + done <<< "$EXISTING_KEYWORDS" + + if [ "$IS_DUPLICATE" = false ]; then + TRULY_NEW_KEYWORDS+=("$keyword") + echo "✅ Adding '$keyword'" + fi +done + +# Exit if no new keywords +if [ ${#TRULY_NEW_KEYWORDS[@]} -eq 0 ]; then + echo "" + echo "ℹ️ No new keywords to add - all provided keywords already exist" + exit 0 +fi + +echo "" +echo "Updating skill-rules.json..." + +# Create backup +cp "$SKILL_RULES" "$SKILL_RULES.backup" + +# Build jq update command +JQ_FILTER=".skills[\"$SKILL_NAME\"].promptTriggers.keywords += [" +for i in "${!TRULY_NEW_KEYWORDS[@]}"; do + if [ $i -gt 0 ]; then + JQ_FILTER+=", " + fi + JQ_FILTER+="\"${TRULY_NEW_KEYWORDS[$i]}\"" +done +JQ_FILTER+="] | .skills[\"$SKILL_NAME\"].promptTriggers.keywords |= unique" + +# Update skill-rules.json +jq "$JQ_FILTER" "$SKILL_RULES" > "$SKILL_RULES.tmp" + +# Validate JSON +if jq empty "$SKILL_RULES.tmp" 2>/dev/null; then + mv "$SKILL_RULES.tmp" "$SKILL_RULES" + echo "✅ Updated skill-rules.json" + + # Remove backup + rm "$SKILL_RULES.backup" + + # Log the update + echo "[$(date '+%Y-%m-%d %H:%M:%S')] Added keywords to $SKILL_NAME" >> "$LOG_FILE" + for keyword in "${TRULY_NEW_KEYWORDS[@]}"; do + echo " + $keyword" >> "$LOG_FILE" + done + echo "" >> "$LOG_FILE" + + echo "" + echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" + echo "✨ Success! Added ${#TRULY_NEW_KEYWORDS[@]} new keyword(s)" + echo "━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━" + echo "" + echo "💡 The system will now auto-activate '$SKILL_NAME' for prompts" + echo " containing these keywords." + echo "" +else + echo "❌ Error: Generated invalid JSON, restoring backup" + mv "$SKILL_RULES.backup" "$SKILL_RULES" + rm -f "$SKILL_RULES.tmp" + exit 1 +fi diff --git a/.claude/hooks/utils/extract-keywords.sh b/.claude/hooks/utils/extract-keywords.sh new file mode 100755 index 0000000000..bca2a48031 --- /dev/null +++ b/.claude/hooks/utils/extract-keywords.sh @@ -0,0 +1,72 @@ +#!/bin/bash + +# Keyword Extraction Utility +# Extracts relevant technical keywords from a user prompt for skill auto-learning + +set -euo pipefail + +# Read prompt from argument or stdin +if [ $# -eq 0 ]; then + PROMPT=$(cat) +else + PROMPT="$1" +fi + +# Convert to lowercase +PROMPT_LOWER=$(echo "$PROMPT" | tr '[:upper:]' '[:lower:]') + +# Common stopwords to exclude +STOPWORDS="the a an and or but in on at to for of with by from as is was are were be been being have has had do does did will would should could may might must can this that these those i you he she it we they my your his her its our their me him them what which who when where why how all each every both few more most other some such no nor not only own same so than too very just now need want like get make go see" + +# Extract words (alphanumeric + hyphens + dots) +WORDS=$(echo "$PROMPT_LOWER" | grep -oE '[a-z0-9][a-z0-9._-]*' | sort -u) + +# Filter and score words +SCORED_WORDS="" + +for word in $WORDS; do + # Skip short words + if [ ${#word} -lt 3 ]; then + continue + fi + + # Skip if stopword + if echo " $STOPWORDS " | grep -q " $word "; then + continue + fi + + # Calculate score + score=1 + + # Boost technical terms + if echo "$word" | grep -qE '^(view|model|controller|coordinator|service|repository|manager|handler)'; then + score=$((score + 3)) + fi + + # Boost Swift/iOS terms + if echo "$word" | grep -qE '^(swift|swiftui|combine|async|await|observable|published)'; then + score=$((score + 3)) + fi + + # Boost file extensions + if echo "$word" | grep -qE '\.(swift|xcstrings|yml|md)$'; then + score=$((score + 2)) + fi + + # Boost compound technical words + if echo "$word" | grep -qE '[_.]'; then + score=$((score + 2)) + fi + + # Boost longer words + if [ ${#word} -gt 8 ]; then + score=$((score + 1)) + fi + + # Store as "score word" + SCORED_WORDS="$SCORED_WORDS +$score $word" +done + +# Sort by score (descending) and take top 5 +echo "$SCORED_WORDS" | grep -v '^$' | sort -rn | head -5 | awk '{print $2}' diff --git a/.claude/skills/skills-manager/SKILL.md b/.claude/skills/skills-manager/SKILL.md index ae1ed3b7d2..044334f67b 100644 --- a/.claude/skills/skills-manager/SKILL.md +++ b/.claude/skills/skills-manager/SKILL.md @@ -97,6 +97,34 @@ echo '{"prompt":"add feature flag"}' | .claude/hooks/skill-activation-prompt.sh Should output skill suggestion if match found. +### Auto-Learning Feature + +**What it does**: When a substantial prompt (100+ chars OR 3+ lines) doesn't activate any skills, the system prompts you with available skills and auto-updates keywords based on your feedback. + +**Workflow**: +1. You submit a substantial prompt +2. No skills activate +3. System shows: "Should any of these skills be activated?" +4. You respond: "Yes, localization-developer should activate" +5. Claude extracts keywords from your prompt +6. Claude runs: `.claude/hooks/utils/add-keywords-to-skill.sh localization-developer ` +7. skill-rules.json updated +8. Future similar prompts auto-activate + +**Manual keyword extraction**: +```bash +# Test keyword extraction +echo "Update space settings localization for membership tiers" | .claude/hooks/utils/extract-keywords.sh +# Output: membership, settings, localization, tiers, update + +# Add keywords manually +.claude/hooks/utils/add-keywords-to-skill.sh localization-developer "membership" "tiers" +``` + +**Logs**: +- Missed activations: `.claude/logs/skill-activations-missed.log` +- Learning updates: `.claude/logs/skill-learning.log` + ## 🔧 The System Components ### Hooks (Automation) @@ -112,12 +140,13 @@ Should output skill suggestion if match found. **Location**: `.claude/skills/*/SKILL.md` -**The 5 skills**: +**The 6 skills**: 1. `ios-dev-guidelines` - Swift/iOS patterns 2. `localization-developer` - Localization 3. `code-generation-developer` - Feature flags, make generate 4. `design-system-developer` - Icons, typography, colors 5. `skills-manager` - This skill (meta!) +6. `code-review-developer` - Code review standards ### Configuration diff --git a/CLAUDE.md b/CLAUDE.md index 3248826525..80aef347f1 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -56,6 +56,25 @@ The skills system provides context-aware guidance that auto-activates based on y **How it works**: When you start a task, the system analyzes your prompt and file context, then automatically suggests relevant skills. No manual loading needed. +**Auto-learning**: When the system fails to activate a skill for a substantial prompt (100+ chars or 3+ lines): +1. You'll be prompted with available skills +2. If you identify which skill should have activated, tell Claude +3. Claude extracts relevant keywords from your prompt +4. Keywords are automatically added to skill-rules.json +5. Future similar prompts will auto-activate the skill + +**Manual keyword management**: +```bash +# Extract keywords from a prompt +.claude/hooks/utils/extract-keywords.sh "your prompt text" + +# Add keywords to a skill +.claude/hooks/utils/add-keywords-to-skill.sh [keyword2] ... + +# Example +.claude/hooks/utils/add-keywords-to-skill.sh localization-developer "membership" "tiers" +``` + **Learn more**: See `.claude/skills/README.md` for system overview and `.claude/hooks/README.md` for automation details. #### Specialized Documentation From ea89de47dddea8604059b4330886bd65c6b4d7b5 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 4 Nov 2025 13:50:47 +0000 Subject: [PATCH 114/228] IOS-5339 Remove chat widget before pin section --- .../Container/HomeWidgetsView.swift | 8 --- .../Container/HomeWidgetsViewModel.swift | 12 +---- .../SpaceChat/SpaceChatWidgetData.swift | 8 --- .../SpaceChat/SpaceChatWidgetView.swift | 44 ---------------- .../SpaceChat/SpaceChatWidgetViewModel.swift | 50 ------------------- .../SpaceStorage/Models/SpaceView.swift | 6 +-- 6 files changed, 3 insertions(+), 125 deletions(-) delete mode 100644 Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetData.swift delete mode 100644 Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetView.swift delete mode 100644 Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetViewModel.swift diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsView.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsView.swift index c5cca47b09..4e5c2292a0 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsView.swift @@ -56,7 +56,6 @@ private struct HomeWidgetsInternalView: View { private var widgets: some View { ScrollView { VStack(spacing: 0) { - topWidgets blockWidgets objectTypeWidgets AnytypeNavigationSpacer() @@ -66,13 +65,6 @@ private struct HomeWidgetsInternalView: View { } } - @ViewBuilder - private var topWidgets: some View { - if let data = model.chatWidgetData { - SpaceChatWidgetView(data: data) - } - } - @ViewBuilder private var blockWidgets: some View { if model.widgetBlocks.isNotEmpty { diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift index 989637fdd3..7eb9befd1a 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift @@ -51,7 +51,6 @@ final class HomeWidgetsViewModel { var pinnedSectionIsExpanded: Bool = false var objectTypeSectionIsExpanded: Bool = false var canCreateObjectType: Bool = false - var chatWidgetData: SpaceChatWidgetData? var spaceId: String { info.accountSpaceId } @@ -70,9 +69,8 @@ final class HomeWidgetsViewModel { async let widgetObjectSub: () = startWidgetObjectTask() async let participantTask: () = startParticipantTask() async let objectTypesTask: () = startObjectTypesTask() - async let spaceViewTask: () = startSpaceViewTask() - - _ = await (widgetObjectSub, participantTask, objectTypesTask, spaceViewTask) + + _ = await (widgetObjectSub, participantTask, objectTypesTask) } func onAppear() { @@ -175,10 +173,4 @@ final class HomeWidgetsViewModel { objectTypeWidgets = objectTypes } } - - private func startSpaceViewTask() async { - for await showChat in workspaceStorage.spaceViewPublisher(spaceId: spaceId).map(\.canShowChatWidget).removeDuplicates().values { - chatWidgetData = showChat ? SpaceChatWidgetData(spaceId: spaceId, output: output) : nil - } - } } diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetData.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetData.swift deleted file mode 100644 index 370361b8d4..0000000000 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetData.swift +++ /dev/null @@ -1,8 +0,0 @@ -import Foundation -import SwiftUI -import Services - -struct SpaceChatWidgetData { - let spaceId: String - let output: (any CommonWidgetModuleOutput)? -} diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetView.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetView.swift deleted file mode 100644 index f2f0f29f73..0000000000 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetView.swift +++ /dev/null @@ -1,44 +0,0 @@ -import Foundation -import SwiftUI -import AnytypeCore - -struct SpaceChatWidgetView: View { - - @StateObject private var model: SpaceChatWidgetViewModel - - init(data: SpaceChatWidgetData) { - self._model = StateObject(wrappedValue: SpaceChatWidgetViewModel(data: data)) - } - - var body: some View { - LinkWidgetViewContainer( - isExpanded: .constant(false), - dragId: nil, - homeState: .constant(.readwrite), - allowContent: false, - header: { - LinkWidgetDefaultHeader( - title: Loc.chat, - icon: .asset(.X24.chat), - rightAccessory: { - HStack(spacing: 4) { - if model.hasMentions { - MentionBadge(style: model.muted ? .muted : .highlighted) - } - if model.messageCount > 0 { - CounterView(count: model.messageCount, style: model.muted ? .muted : .highlighted) - } - } - }, - onTap: { - model.onHeaderTap() - } - ) - }, - content: { EmptyView() } - ) - .task { - await model.startSubscriptions() - } - } -} diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetViewModel.swift deleted file mode 100644 index 6e5982c137..0000000000 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetViewModel.swift +++ /dev/null @@ -1,50 +0,0 @@ -import Foundation -import Combine -import Services -import AnytypeCore - -@MainActor -final class SpaceChatWidgetViewModel: ObservableObject { - - @Injected(\.spaceViewsStorage) - private var workspaceStorage: any SpaceViewsStorageProtocol - @Injected(\.chatMessagesPreviewsStorage) - private var chatMessagesPreviewsStorage: any ChatMessagesPreviewsStorageProtocol - @Injected(\.widgetActionsViewCommonMenuProvider) - private var widgetActionsViewCommonMenuProvider: any WidgetActionsViewCommonMenuProviderProtocol - - private let data: SpaceChatWidgetData - - @Published var hasMentions: Bool = false - @Published var messageCount: Int = 0 - @Published var muted = false - - private weak var output: (any CommonWidgetModuleOutput)? { data.output } - - init(data: SpaceChatWidgetData) { - self.data = data - } - - func onHeaderTap() { - guard let chatId = workspaceStorage.spaceView(spaceId: data.spaceId)?.chatId, chatId.isNotEmpty else { return } - AnytypeAnalytics.instance().logClickWidgetTitle(source: .chat, createType: .manual) - data.output?.onObjectSelected(screenData: .spaceChat(SpaceChatCoordinatorData(spaceId: data.spaceId))) - } - - func startSubscriptions() async { - let spaceId = data.spaceId - let spaceView = workspaceStorage.spaceView(spaceId: spaceId) - muted = FeatureFlags.muteSpacePossibility && !(spaceView?.pushNotificationMode.isUnmutedAll ?? true) - - let chatId = spaceView?.chatId - let sequence = (await chatMessagesPreviewsStorage.previewsSequence) - .compactMap { $0.first { $0.spaceId == spaceId && $0.chatId == chatId }} - .removeDuplicates() - .throttle(milliseconds: 300) - - for await counters in sequence { - messageCount = counters.unreadCounter - hasMentions = counters.mentionCounter > 0 - } - } -} diff --git a/Anytype/Sources/ServiceLayer/SpaceStorage/Models/SpaceView.swift b/Anytype/Sources/ServiceLayer/SpaceStorage/Models/SpaceView.swift index cbee684d9f..62a93d3250 100644 --- a/Anytype/Sources/ServiceLayer/SpaceStorage/Models/SpaceView.swift +++ b/Anytype/Sources/ServiceLayer/SpaceStorage/Models/SpaceView.swift @@ -103,11 +103,7 @@ extension SpaceView { var canAddChatWidget: Bool { !initialScreenIsChat && isShared && hasChat } - - var canShowChatWidget: Bool { - !initialScreenIsChat && hasChat - } - + var hasChat: Bool { chatId.isNotEmpty } From 95169ee418b5e7205896b40fa837d7b379de4189 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 4 Nov 2025 15:24:46 +0000 Subject: [PATCH 115/228] IOS-5072 Removed muteSpacePossibility toggle --- .../Subviews/ChatHeader/ChatHeaderViewModel.swift | 2 +- .../SpaceChat/SpaceChatWidgetViewModel.swift | 2 +- .../SpaceHub/Subviews/SpaceCard/SpaceCard.swift | 7 +++---- .../Subviews/SpaceCard/SpaceCardModelBuilder.swift | 2 +- .../SpaceSettings/SpaceSettingsView.swift | 14 ++++++-------- .../AnytypeCore/Generated/FeatureFlags+Flags.swift | 5 ----- .../FeatureFlags/FeatureDescription+Flags.swift | 8 +------- 7 files changed, 13 insertions(+), 27 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/ChatHeader/ChatHeaderViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/ChatHeader/ChatHeaderViewModel.swift index 9d3bae50fe..f4d499b0ce 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/ChatHeader/ChatHeaderViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/ChatHeader/ChatHeaderViewModel.swift @@ -64,7 +64,7 @@ final class ChatHeaderViewModel: ObservableObject { title = spaceView.title icon = spaceView.objectIconImage showWidgetsButton = spaceView.chatId == chatId && spaceView.initialScreenIsChat - muted = FeatureFlags.muteSpacePossibility && !spaceView.pushNotificationMode.isUnmutedAll + muted = !spaceView.pushNotificationMode.isUnmutedAll showAddMembersButton = participantSpaceView.participant?.permission == .owner } } diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetViewModel.swift index 6e5982c137..ab1a3c6549 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpaceChat/SpaceChatWidgetViewModel.swift @@ -34,7 +34,7 @@ final class SpaceChatWidgetViewModel: ObservableObject { func startSubscriptions() async { let spaceId = data.spaceId let spaceView = workspaceStorage.spaceView(spaceId: spaceId) - muted = FeatureFlags.muteSpacePossibility && !(spaceView?.pushNotificationMode.isUnmutedAll ?? true) + muted = !(spaceView?.pushNotificationMode.isUnmutedAll ?? true) let chatId = spaceView?.chatId let sequence = (await chatMessagesPreviewsStorage.previewsSequence) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift index 98f82347d4..91610809f9 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift @@ -14,8 +14,7 @@ struct SpaceCard: View { let onTapDelete: () -> Void @State private var vaultBackToRootsToggle = FeatureFlags.vaultBackToRoots - @State private var muteSpacePossibilityToggle = FeatureFlags.muteSpacePossibility - + var body: some View { Button { onTap() @@ -48,8 +47,8 @@ struct SpaceCard: View { } else { pinButton } - - if muteSpacePossibilityToggle, model.isShared { + + if model.isShared { muteButton } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift index 4a3405ad5a..e4a85d2f6f 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift @@ -58,7 +58,7 @@ final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { isPinned: spaceView.isPinned, isLoading: spaceView.isLoading, isShared: spaceView.isShared, - isMuted: FeatureFlags.muteSpacePossibility && !spaceView.pushNotificationMode.isUnmutedAll, + isMuted: !spaceView.pushNotificationMode.isUnmutedAll, uxTypeName: spaceView.uxType.name, allNotificationsUnmuted: spaceView.pushNotificationMode.isUnmutedAll, lastMessage: lastMessage, diff --git a/Anytype/Sources/PresentationLayer/SpaceSettings/SpaceSettings/SpaceSettingsView.swift b/Anytype/Sources/PresentationLayer/SpaceSettings/SpaceSettings/SpaceSettingsView.swift index 524297db54..dec58f11c5 100644 --- a/Anytype/Sources/PresentationLayer/SpaceSettings/SpaceSettings/SpaceSettingsView.swift +++ b/Anytype/Sources/PresentationLayer/SpaceSettings/SpaceSettings/SpaceSettingsView.swift @@ -191,14 +191,12 @@ struct SpaceSettingsView: View { SectionHeaderView(title: Loc.collaboration) VStack(spacing: 8) { RoundedButton(Loc.members, icon: .X24.member, decoration: memberDecoration) { model.onMembersTap() } - if FeatureFlags.muteSpacePossibility { - RoundedButton( - Loc.notifications, - icon: pushNotificationsSettingIcon(), - decoration: .caption(pushNotificationsSettingCaption())) { - model.onNotificationsTap() - } - } + RoundedButton( + Loc.notifications, + icon: pushNotificationsSettingIcon(), + decoration: .caption(pushNotificationsSettingCaption())) { + model.onNotificationsTap() + } if let data = model.uxTypeSettingsData { RoundedButton( Loc.channelType, diff --git a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift index c3dfe31def..4b37ed257e 100644 --- a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift @@ -6,10 +6,6 @@ public extension FeatureFlags { // Static value reader - static var muteSpacePossibility: Bool { - value(for: .muteSpacePossibility) - } - static var addNotificationsSettings: Bool { value(for: .addNotificationsSettings) } @@ -136,7 +132,6 @@ public extension FeatureFlags { // All toggles static let features: [FeatureDescription] = [ - .muteSpacePossibility, .addNotificationsSettings, .swipeToReply, .removeMessagesFromNotificationsCenter, diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index 7d6a946ca5..8cb9d64fc3 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -3,13 +3,7 @@ import Foundation // Call `make generate` to update FeatureFlags helper public extension FeatureDescription { - - static let muteSpacePossibility = FeatureDescription( - title: "Mute space possibility", - type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "13"), - defaultValue: true - ) - + static let addNotificationsSettings = FeatureDescription( title: "Add notifications settings", type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "13"), From 4021e39d9999cc6f03d2ea12864a8aa20c34804c Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 4 Nov 2025 15:27:58 +0000 Subject: [PATCH 116/228] IOS-5072 Removed addNotificationsSettings toggle --- .../Settings/Settings/SettingsView.swift | 18 ++++++++---------- .../Generated/FeatureFlags+Flags.swift | 5 ----- .../FeatureDescription+Flags.swift | 6 ------ 3 files changed, 8 insertions(+), 21 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Settings/Settings/SettingsView.swift b/Anytype/Sources/PresentationLayer/Settings/Settings/SettingsView.swift index 11ed282aa2..503746c887 100644 --- a/Anytype/Sources/PresentationLayer/Settings/Settings/SettingsView.swift +++ b/Anytype/Sources/PresentationLayer/Settings/Settings/SettingsView.swift @@ -40,16 +40,14 @@ struct SettingsView: View { imageAsset: .Settings.appearance, onTap: { model.onAppearanceTap() } ) - - if FeatureFlags.addNotificationsSettings { - SettingsSectionItemView( - name: Loc.notifications, - imageAsset: .Settings.notifications, - decoration: .arrow(needAttention: model.notificationsDenied), - onTap: { model.onNotificationsTap() } - ) - } - + + SettingsSectionItemView( + name: Loc.notifications, + imageAsset: .Settings.notifications, + decoration: .arrow(needAttention: model.notificationsDenied), + onTap: { model.onNotificationsTap() } + ) + SettingsSectionItemView( name: Loc.loginKey, imageAsset: .Settings.keychainPhrase, diff --git a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift index 4b37ed257e..c693cdafba 100644 --- a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift @@ -6,10 +6,6 @@ public extension FeatureFlags { // Static value reader - static var addNotificationsSettings: Bool { - value(for: .addNotificationsSettings) - } - static var swipeToReply: Bool { value(for: .swipeToReply) } @@ -132,7 +128,6 @@ public extension FeatureFlags { // All toggles static let features: [FeatureDescription] = [ - .addNotificationsSettings, .swipeToReply, .removeMessagesFromNotificationsCenter, .mediaCarouselForWidgets, diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index 8cb9d64fc3..e64b6d3fc7 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -4,12 +4,6 @@ import Foundation public extension FeatureDescription { - static let addNotificationsSettings = FeatureDescription( - title: "Add notifications settings", - type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "13"), - defaultValue: true - ) - static let swipeToReply = FeatureDescription( title: "Swipe to reply in chats", type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "13"), From 669ea93be09b0641bb3a54d151212d08eb5abef7 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 4 Nov 2025 15:30:08 +0000 Subject: [PATCH 117/228] IOS-5072 Removed swipeToReply toggle --- .../Modules/Chat/Subviews/Message/MessageView.swift | 2 +- .../AnytypeCore/Generated/FeatureFlags+Flags.swift | 5 ----- .../Utils/FeatureFlags/FeatureDescription+Flags.swift | 6 ------ 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/Message/MessageView.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/Message/MessageView.swift index fc46b042d0..444b9aa05c 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/Message/MessageView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/Message/MessageView.swift @@ -28,7 +28,7 @@ struct MessageView: View { var body: some View { MessageReplyActionView( - isEnabled: FeatureFlags.swipeToReply && data.canReply, + isEnabled: data.canReply, contentHorizontalPadding: Constants.messageHorizontalPadding, centerOffsetY: $bubbleCenterOffsetY, content: { diff --git a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift index c693cdafba..5e6520eabb 100644 --- a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift @@ -6,10 +6,6 @@ public extension FeatureFlags { // Static value reader - static var swipeToReply: Bool { - value(for: .swipeToReply) - } - static var removeMessagesFromNotificationsCenter: Bool { value(for: .removeMessagesFromNotificationsCenter) } @@ -128,7 +124,6 @@ public extension FeatureFlags { // All toggles static let features: [FeatureDescription] = [ - .swipeToReply, .removeMessagesFromNotificationsCenter, .mediaCarouselForWidgets, .fixCollectionViewReuseCrashInEditor, diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index e64b6d3fc7..4206b42050 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -4,12 +4,6 @@ import Foundation public extension FeatureDescription { - static let swipeToReply = FeatureDescription( - title: "Swipe to reply in chats", - type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "13"), - defaultValue: true - ) - static let removeMessagesFromNotificationsCenter = FeatureDescription( title: "Remove messages from NotificationsCenter", type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "13"), From cf7b6ab7ed3e71b54820591d7095984af67be0cb Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 4 Nov 2025 15:31:54 +0000 Subject: [PATCH 118/228] IOS-5300 Use default yellow thumbs up emoji instead of white variant in chat reactions --- .../Modules/Chat/Subviews/Message/MessageView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/Message/MessageView.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/Message/MessageView.swift index fc46b042d0..056b932876 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/Message/MessageView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/Message/MessageView.swift @@ -8,7 +8,7 @@ struct MessageView: View { static let attachmentsPadding: CGFloat = 4 static let messageHorizontalPadding: CGFloat = 12 static let coordinateSpace = "MessageViewCoordinateSpace" - static let emoji = ["👍🏻", "️️❤️", "😂"] + static let emoji = ["👍", "️️❤️", "😂"] } private let data: MessageViewData From d1d30474eb370090a7d6b2ad292d142f01291d3b Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 4 Nov 2025 15:32:19 +0000 Subject: [PATCH 119/228] IOS-5072 Removed removeMessagesFromNotificationsCenter toggle --- Anytype/Sources/ApplicationLayer/AppDelegate.swift | 2 +- .../PresentationLayer/Modules/Chat/ChatViewModel.swift | 1 - .../AnytypeCore/Generated/FeatureFlags+Flags.swift | 5 ----- .../Utils/FeatureFlags/FeatureDescription+Flags.swift | 6 ------ 4 files changed, 1 insertion(+), 13 deletions(-) diff --git a/Anytype/Sources/ApplicationLayer/AppDelegate.swift b/Anytype/Sources/ApplicationLayer/AppDelegate.swift index e8e9d7002e..27a80f57ad 100644 --- a/Anytype/Sources/ApplicationLayer/AppDelegate.swift +++ b/Anytype/Sources/ApplicationLayer/AppDelegate.swift @@ -88,7 +88,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate, UNUserNotificationCenterD didReceiveRemoteNotification userInfo: [AnyHashable: Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Void) { - guard FeatureFlags.removeMessagesFromNotificationsCenter, let groupId = userInfo[PushNotificationKeys.groupId] as? String else { + guard let groupId = userInfo[PushNotificationKeys.groupId] as? String else { completionHandler(.noData) return } diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift index 3f4b51b6c0..cd4a2ff1df 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift @@ -150,7 +150,6 @@ final class ChatViewModel: MessageModuleOutput, ChatActionProviderHandler { } func onAppear() { - guard FeatureFlags.removeMessagesFromNotificationsCenter else { return } notificationsCenterService.removeDeliveredNotifications(chatId: chatId) } diff --git a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift index 5e6520eabb..ebd5f8facb 100644 --- a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift @@ -6,10 +6,6 @@ public extension FeatureFlags { // Static value reader - static var removeMessagesFromNotificationsCenter: Bool { - value(for: .removeMessagesFromNotificationsCenter) - } - static var mediaCarouselForWidgets: Bool { value(for: .mediaCarouselForWidgets) } @@ -124,7 +120,6 @@ public extension FeatureFlags { // All toggles static let features: [FeatureDescription] = [ - .removeMessagesFromNotificationsCenter, .mediaCarouselForWidgets, .fixCollectionViewReuseCrashInEditor, .loadAttachmentsOnHomePlusMenu, diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index 4206b42050..caac2767f4 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -4,12 +4,6 @@ import Foundation public extension FeatureDescription { - static let removeMessagesFromNotificationsCenter = FeatureDescription( - title: "Remove messages from NotificationsCenter", - type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "13"), - defaultValue: true - ) - static let mediaCarouselForWidgets = FeatureDescription( title: "Media carousel for widgets", type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "13"), From 1b93a4d0ef152956f48ee6c9f7c74e4faa334936 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 4 Nov 2025 15:36:42 +0000 Subject: [PATCH 120/228] IOS-5072 Removed mediaCarouselForWidgets toggle --- .../SetObjectWidgetInternalViewModel.swift | 2 +- .../AnytypeCore/Generated/FeatureFlags+Flags.swift | 5 ----- .../Utils/FeatureFlags/FeatureDescription+Flags.swift | 6 ------ 3 files changed, 1 insertion(+), 12 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/SetObjectWidgetInternalViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/SetObjectWidgetInternalViewModel.swift index 4859c945e8..d512e53289 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/SetObjectWidgetInternalViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/SetObjectWidgetInternalViewModel.swift @@ -298,7 +298,7 @@ final class SetObjectWidgetInternalViewModel { guard let info = widgetObject.widgetInfo(blockId: widgetBlockId) else { return } AnytypeAnalytics.instance().logOpenSidebarObject(createType: info.widgetCreateType) let isAllMediaFiles = allDetails.allSatisfy { $0.editorViewType.isMediaFile } - if FeatureFlags.mediaCarouselForWidgets, isAllMediaFiles { + if isAllMediaFiles { output?.onObjectSelected(screenData: .preview( MediaFileScreenData(selectedItem: details, allItems: allDetails, route: .widget) )) diff --git a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift index ebd5f8facb..daefb566a7 100644 --- a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift @@ -6,10 +6,6 @@ public extension FeatureFlags { // Static value reader - static var mediaCarouselForWidgets: Bool { - value(for: .mediaCarouselForWidgets) - } - static var fixCollectionViewReuseCrashInEditor: Bool { value(for: .fixCollectionViewReuseCrashInEditor) } @@ -120,7 +116,6 @@ public extension FeatureFlags { // All toggles static let features: [FeatureDescription] = [ - .mediaCarouselForWidgets, .fixCollectionViewReuseCrashInEditor, .loadAttachmentsOnHomePlusMenu, .vaultBackToRoots, diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index caac2767f4..dc006e904e 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -4,12 +4,6 @@ import Foundation public extension FeatureDescription { - static let mediaCarouselForWidgets = FeatureDescription( - title: "Media carousel for widgets", - type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "13"), - defaultValue: true - ) - static let fixCollectionViewReuseCrashInEditor = FeatureDescription( title: "Attempt to fix collection view reuse crash in Editor", type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "13"), From 61e928db9ac06313182ce2373e034d98b6f3ecbb Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 5 Nov 2025 10:40:36 +0000 Subject: [PATCH 121/228] IOS-5072 Removed fixCollectionViewReuseCrashInEditor toggle --- .../TextEditor/EditorPage/EditorPageController.swift | 4 ---- .../AnytypeCore/Generated/FeatureFlags+Flags.swift | 5 ----- .../Utils/FeatureFlags/FeatureDescription+Flags.swift | 6 ------ 3 files changed, 15 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/EditorPageController.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/EditorPageController.swift index 5b5d473948..d29609d6e4 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/EditorPageController.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/EditorPageController.swift @@ -563,10 +563,6 @@ private extension EditorPageController { for: indexPath, item: block ) - - if !FeatureFlags.fixCollectionViewReuseCrashInEditor { - cell.contentConfiguration = block.makeContentConfiguration(maxWidth: collectionView.frame.width) - } case let .header(header): return collectionView.dequeueConfiguredReusableCell( using: headerCellRegistration, diff --git a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift index daefb566a7..71322a3373 100644 --- a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift @@ -6,10 +6,6 @@ public extension FeatureFlags { // Static value reader - static var fixCollectionViewReuseCrashInEditor: Bool { - value(for: .fixCollectionViewReuseCrashInEditor) - } - static var loadAttachmentsOnHomePlusMenu: Bool { value(for: .loadAttachmentsOnHomePlusMenu) } @@ -116,7 +112,6 @@ public extension FeatureFlags { // All toggles static let features: [FeatureDescription] = [ - .fixCollectionViewReuseCrashInEditor, .loadAttachmentsOnHomePlusMenu, .vaultBackToRoots, .showAllButtonInWidgets, diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index dc006e904e..a5c492a809 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -4,12 +4,6 @@ import Foundation public extension FeatureDescription { - static let fixCollectionViewReuseCrashInEditor = FeatureDescription( - title: "Attempt to fix collection view reuse crash in Editor", - type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "13"), - defaultValue: true - ) - static let loadAttachmentsOnHomePlusMenu = FeatureDescription( title: "Possibility to load attachments on home + menu", type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "13"), From 1addf8c6d0f91430710cbbf33928e8a48a08f72b Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 5 Nov 2025 10:43:15 +0000 Subject: [PATCH 122/228] IOS-5072 Removed loadAttachmentsOnHomePlusMenu toggle --- .../Panel/HomeBottomNavigationPanelView.swift | 12 +++++------- .../AnytypeCore/Generated/FeatureFlags+Flags.swift | 5 ----- .../FeatureFlags/FeatureDescription+Flags.swift | 6 ------ 3 files changed, 5 insertions(+), 18 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeNavigationContainer/Panel/HomeBottomNavigationPanelView.swift b/Anytype/Sources/PresentationLayer/Modules/HomeNavigationContainer/Panel/HomeBottomNavigationPanelView.swift index 94f5401af6..25d8449f4c 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeNavigationContainer/Panel/HomeBottomNavigationPanelView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeNavigationContainer/Panel/HomeBottomNavigationPanelView.swift @@ -99,13 +99,11 @@ private struct HomeBottomNavigationPanelViewInternal: View { Label(Loc.photos, systemImage: "photo") } - if FeatureFlags.loadAttachmentsOnHomePlusMenu { - Button { model.onCameraSelected() } label: { - Label(Loc.camera, systemImage: "camera") - } - Button { model.onAddFilesSelected() } label: { - Label(Loc.files, systemImage: "doc") - } + Button { model.onCameraSelected() } label: { + Label(Loc.camera, systemImage: "camera") + } + Button { model.onAddFilesSelected() } label: { + Label(Loc.files, systemImage: "doc") } Divider() diff --git a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift index 71322a3373..46864b0b97 100644 --- a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift @@ -6,10 +6,6 @@ public extension FeatureFlags { // Static value reader - static var loadAttachmentsOnHomePlusMenu: Bool { - value(for: .loadAttachmentsOnHomePlusMenu) - } - static var vaultBackToRoots: Bool { value(for: .vaultBackToRoots) } @@ -112,7 +108,6 @@ public extension FeatureFlags { // All toggles static let features: [FeatureDescription] = [ - .loadAttachmentsOnHomePlusMenu, .vaultBackToRoots, .showAllButtonInWidgets, .turnOffAutomaticWidgetOpening, diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index a5c492a809..39206d7763 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -4,12 +4,6 @@ import Foundation public extension FeatureDescription { - static let loadAttachmentsOnHomePlusMenu = FeatureDescription( - title: "Possibility to load attachments on home + menu", - type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "13"), - defaultValue: true - ) - static let vaultBackToRoots = FeatureDescription( title: "New old design of vault cells", type: .feature(author: "vova@anytype.io", releaseVersion: "13"), From 181493cc54f66156e82eaa046c6fb1001ab6cb54 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 5 Nov 2025 10:45:53 +0000 Subject: [PATCH 123/228] IOS-2532 Fix Linear comment version diff for hotfix releases Replace git describe with intelligent tag parsing to ensure hotfix releases correctly diff against the previous version. Previously, hotfix releases would find old tags from merged branches, causing large diffs and notifying many unrelated Linear issues. --- fastlane/FastfileDeploy | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/fastlane/FastfileDeploy b/fastlane/FastfileDeploy index fb9a350f9e..d802c9a5d2 100644 --- a/fastlane/FastfileDeploy +++ b/fastlane/FastfileDeploy @@ -99,7 +99,23 @@ platform :ios do sh("git push origin refs/tags/#{tag_name} --no-verify --force") appInfo = settings[:app_info] - old_tag_name = sh("git describe --first-parent --tags --abbrev=0 HEAD~").chomp + + # Determine the previous tag to use for diff generation in Linear comments + # This ensures hotfix releases (e.g., 0.41.1) correctly diff against the last build + # of the previous version (0.41.0/27) instead of finding an old tag from a different branch + if build_number.to_i > 1 + # For incremental builds (e.g., 0.41.0/26 -> 0.41.0/27), use the previous build number + old_tag_name = "#{prefix}/#{version}/#{build_number.to_i - 1}" + else + # For the first build of a new version (e.g., 0.41.1/1), find the last tag of the previous version + # Get all tags for the current major version (e.g., all 0.41.x tags), sorted by version + all_version_tags = sh("git tag -l '#{prefix}/#{version.split('.')[0]}.*/*' | sort -V").split("\n") + + # Find the index of the current version in the sorted list + current_idx = all_version_tags.index { |t| t.start_with?("#{prefix}/#{version}/") } + # Use the tag immediately before the current version, or fallback to current tag if not found + old_tag_name = current_idx && current_idx > 0 ? all_version_tags[current_idx - 1] : tag_name + end add_linear_comment( from_tag: old_tag_name, From e9b1340fcf4c802c6e1ed87750df46ff9ce100a8 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 5 Nov 2025 11:08:00 +0000 Subject: [PATCH 124/228] IOS-5072 removed vaultBackToRoots toggle --- .../SpaceCard/NewSpaceCardLabel.swift | 2 +- .../Subviews/SpaceCard/SpaceCard.swift | 17 +--- .../Subviews/SpaceCard/SpaceCardLabel.swift | 99 ------------------- .../SpaceHub/Subviews/SpaceHubList.swift | 7 +- .../Generated/FeatureFlags+Flags.swift | 5 - .../FeatureDescription+Flags.swift | 6 -- 6 files changed, 8 insertions(+), 128 deletions(-) delete mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLabel.swift diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift index 20983907a7..e5bb0f0871 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift @@ -1,7 +1,7 @@ import SwiftUI import AnytypeCore -// SpaceCardLabel and SpaceCard are splitted for better SwiftUI diff. +// NewSpaceCardLabel and SpaceCard are splitted for better SwiftUI diff. struct NewSpaceCardLabel: View { let model: SpaceCardModel diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift index 91610809f9..49404971d0 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift @@ -13,23 +13,14 @@ struct SpaceCard: View { let onTapSettings: () -> Void let onTapDelete: () -> Void - @State private var vaultBackToRootsToggle = FeatureFlags.vaultBackToRoots - var body: some View { Button { onTap() } label: { - if !vaultBackToRootsToggle { - SpaceCardLabel( - model: model, - draggedSpaceViewId: $draggedSpaceViewId - ) - } else { - NewSpaceCardLabel( - model: model, - draggedSpaceViewId: $draggedSpaceViewId - ) - } + NewSpaceCardLabel( + model: model, + draggedSpaceViewId: $draggedSpaceViewId + ) } .contentShape([.dragPreview, .contextMenuPreview], RoundedRectangle(cornerRadius: 20, style: .continuous)) .contextMenu { menuItems.tint(Color.Text.primary) } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLabel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLabel.swift deleted file mode 100644 index 193747a17d..0000000000 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLabel.swift +++ /dev/null @@ -1,99 +0,0 @@ -import SwiftUI -import AnytypeCore - -// SpaceCardLabel and SpaceCard are splitted for better SwiftUI diff. -struct SpaceCardLabel: View { - - let model: SpaceCardModel - @Binding var draggedSpaceViewId: String? - - @Namespace private var namespace - - var body: some View { - HStack(alignment: .center, spacing: 12) { - IconView(icon: model.objectIconImage) - .frame(width: 56, height: 56) - VStack(alignment: .leading, spacing: 0) { - HStack { - Text(model.nameWithPlaceholder) - .anytypeFontStyle(.bodySemibold) - .lineLimit(1) - .foregroundStyle(Color.Text.primary) - if model.isMuted { - Spacer.fixedWidth(8) - Image(asset: .X18.muted).foregroundColor(.Control.secondary) - } - Spacer(minLength: 8) - createdDate - } - HStack { - info - Spacer() - unreadCounters - pin - } - Spacer(minLength: 1) - } - .matchedGeometryEffect(id: "content", in: namespace, properties: .position, anchor: .topLeading) - } - .padding(.horizontal, 16) - .padding(.vertical, 8) - // Optimization for fast sizeThatFits - .frame(height: 80) - .background(Color.Background.primary) - .contentShape([.dragPreview, .contextMenuPreview], RoundedRectangle(cornerRadius: 20, style: .continuous)) - .onDragIf(model.isPinned) { - draggedSpaceViewId = model.spaceViewId - return NSItemProvider() - } preview: { - EmptyView() - } - } - - private var info: some View { - Group { - if let lastMessage = model.lastMessage { - SpaceCardLastMessageView(model: lastMessage) - } else { - Text(model.uxTypeName) - .anytypeStyle(.uxTitle2Regular) - .lineLimit(1) - } - } - .foregroundStyle(Color.Text.secondary) - .multilineTextAlignment(.leading) - } - - - @ViewBuilder - private var createdDate: some View { - if let lastMessage = model.lastMessage { - Text(lastMessage.historyDate) - .anytypeStyle(.relation2Regular) - .foregroundStyle(Color.Control.transparentSecondary) - } - } - - private var unreadCounters: some View { - HStack(spacing: 4) { - if model.mentionCounter > 0 { - MentionBadge(style: model.isMuted ? .muted : .highlighted) - } - if model.unreadCounter > 0 { - CounterView( - count: model.unreadCounter, - style: model.isMuted ? .muted : .highlighted - ) - } - } - } - - @ViewBuilder - private var pin: some View { - if !model.hasCounters && model.isPinned { - Image(asset: .X18.pin) - .foregroundStyle(Color.Control.secondary) - .frame(width: 18, height: 18) - } - } -} diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift index f42f52c264..b29707924b 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift @@ -8,8 +8,7 @@ struct SpaceHubList: View { @State private var draggedSpaceViewId: String? @State private var draggedInitialIndex: Int? - @State private var vaultBackToRootsToggle = FeatureFlags.vaultBackToRoots - + var body: some View { if model.filteredSpaces.isEmpty && model.searchText.isEmpty { emptyStateView @@ -22,7 +21,7 @@ struct SpaceHubList: View { private var scrollView: some View { ScrollView { - VStack(spacing: vaultBackToRootsToggle ? 8 : 0) { + VStack(spacing: 8) { HomeUpdateSubmoduleView().padding(8) ForEach(model.filteredSpaces) { @@ -68,7 +67,7 @@ struct SpaceHubList: View { model.onDeleteSpace(spaceId: cardModel.targetSpaceId) } ) - .padding(.horizontal, vaultBackToRootsToggle ? 16 : 0) + .padding(.horizontal, 16) .onDropIf( cardModel.isPinned, of: [.text], diff --git a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift index 46864b0b97..1f79be4716 100644 --- a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift @@ -6,10 +6,6 @@ public extension FeatureFlags { // Static value reader - static var vaultBackToRoots: Bool { - value(for: .vaultBackToRoots) - } - static var showAllButtonInWidgets: Bool { value(for: .showAllButtonInWidgets) } @@ -108,7 +104,6 @@ public extension FeatureFlags { // All toggles static let features: [FeatureDescription] = [ - .vaultBackToRoots, .showAllButtonInWidgets, .turnOffAutomaticWidgetOpening, .channelTypeSwitcher, diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index 39206d7763..257a50b1ca 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -4,12 +4,6 @@ import Foundation public extension FeatureDescription { - static let vaultBackToRoots = FeatureDescription( - title: "New old design of vault cells", - type: .feature(author: "vova@anytype.io", releaseVersion: "13"), - defaultValue: true - ) - static let showAllButtonInWidgets = FeatureDescription( title: "See all as the last point in the widget - IOS-4945", type: .feature(author: "m@anytype.io", releaseVersion: "13.5"), From 3033009a9bb96a30c5b868a603dfee028f847d46 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 5 Nov 2025 11:19:53 +0000 Subject: [PATCH 125/228] IOS-5420 Add feature toggle engineer skill --- .claude/hooks/skill-rules.json | 47 +++ .../skills/feature-toggle-developer/SKILL.md | 314 ++++++++++++++++++ .claude/skills/skills-manager/SKILL.md | 3 +- 3 files changed, 363 insertions(+), 1 deletion(-) create mode 100644 .claude/skills/feature-toggle-developer/SKILL.md diff --git a/.claude/hooks/skill-rules.json b/.claude/hooks/skill-rules.json index c983fa4b7e..086613c5d1 100644 --- a/.claude/hooks/skill-rules.json +++ b/.claude/hooks/skill-rules.json @@ -280,6 +280,53 @@ "gh pr comment" ] } + }, + "feature-toggle-developer": { + "type": "domain", + "priority": "high", + "description": "Smart router to feature toggle removal (→ feature-toggle-developer.md). Systematic toggle removal, automated cleanup detection, unused code identification", + "promptTriggers": { + "keywords": [ + "remove toggle", + "delete toggle", + "enable toggle", + "feature flag", + "feature toggle", + "remove feature flag", + "delete feature flag", + "enable feature flag", + "cleanup after toggle", + "unused code", + "orphaned code", + "defaultValue: true", + "defaultValue: false", + "FeatureFlags.", + "toggle removal" + ], + "intentPatterns": [ + "(remove|delete|eliminate).*?(toggle|feature flag|feature toggle)", + "(enable|activate|turn on).*?(toggle|feature flag|permanently)", + "(cleanup|clean up|remove unused).*?(code|component|class|file)", + "(find|identify|check for).*?(unused|orphaned|dead).*?(code|component)", + "(after|completed).*?(toggle|feature flag).*?(removal|cleanup)" + ] + }, + "fileTriggers": { + "pathPatterns": [ + "**/FeatureDescription+Flags.swift", + "**/FeatureFlags+Flags.swift", + "**/.claude/skills/feature-toggle-developer.md" + ], + "contentPatterns": [ + "FeatureFlags\\.", + "static let.*=.*FeatureDescription", + "defaultValue: true", + "defaultValue: false", + "if FeatureFlags\\.", + "guard.*FeatureFlags\\.", + "@State.*FeatureFlags" + ] + } } }, "config": { diff --git a/.claude/skills/feature-toggle-developer/SKILL.md b/.claude/skills/feature-toggle-developer/SKILL.md new file mode 100644 index 0000000000..f9d1f67bea --- /dev/null +++ b/.claude/skills/feature-toggle-developer/SKILL.md @@ -0,0 +1,314 @@ +# Feature Toggle Developer + +**Status**: Active +**Auto-activates on**: Feature flag/toggle removal, cleanup after refactoring toggles +**Related Skills**: `code-generation-developer`, `ios-dev-guidelines`, `code-review-developer` + +## Purpose + +Guides the systematic removal of feature toggles (feature flags) from the codebase with automated cleanup detection. Ensures no orphaned code, unused components, or forgotten files remain after toggle removal. + +## When This Skill Activates + +- User mentions: "remove toggle", "delete feature flag", "enable feature toggle permanently" +- User edits: `FeatureDescription+Flags.swift` +- After completing toggle removal: helps identify cleanup opportunities + +## Feature Toggle Removal Workflow + +### Phase 1: Pre-Removal Analysis + +Before removing any toggle, gather complete information: + +1. **Find the toggle definition**: + ```bash + # Location: Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift + rg "static let toggleName" --type swift + ``` + +2. **Check the defaultValue** to determine which branch to keep: + - `defaultValue: true` → Keep the TRUE branch, remove FALSE branch + - `defaultValue: false` → Keep the FALSE branch, remove TRUE branch + +3. **Search for ALL usages**: + ```bash + rg "toggleName" --type swift + ``` + +4. **Identify usage patterns**: + - Direct: `if FeatureFlags.toggleName { ... }` + - Inverted: `if !FeatureFlags.toggleName { ... }` or `guard !FeatureFlags.toggleName` + - Compound: `if FeatureFlags.toggleName && otherCondition { ... }` + - Assignment: `let value = FeatureFlags.toggleName ? a : b` + - State: `@State private var toggle = FeatureFlags.toggleName` + +5. **List affected files** and present to user for review + +### Phase 2: Toggle Removal + +Systematic removal process: + +1. **Remove conditional checks and simplify**: + + **Example 1 - Simple conditional (defaultValue: true)**: + ```swift + // BEFORE + if FeatureFlags.toggleName { + // feature code + } + + // AFTER (keep true branch) + // feature code + ``` + + **Example 2 - Ternary operator (defaultValue: true)**: + ```swift + // BEFORE + VStack(spacing: FeatureFlags.toggleName ? 8 : 0) + + // AFTER + VStack(spacing: 8) + ``` + + **Example 3 - Inverted logic (defaultValue: true)**: + ```swift + // BEFORE + guard !FeatureFlags.toggleName else { return } + oldCode() + + // AFTER (flag is true, so guard fails, remove entire block) + // [entire block deleted] + ``` + + **Example 4 - State variable (defaultValue: true)**: + ```swift + // BEFORE + @State private var toggle = FeatureFlags.toggleName + if toggle { newUI() } else { oldUI() } + + // AFTER + newUI() + // Note: @State variable removed in cleanup phase + ``` + +2. **Remove feature flag definition**: + ```swift + // Delete from: Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift + static let toggleName = FeatureDescription(...) + ``` + +3. **Run code generation**: + ```bash + make generate + ``` + This updates `FeatureFlags+Flags.swift` automatically. + +4. **Verify removal**: + ```bash + rg "toggleName" --type swift # Should return no results + ``` + +### Phase 3: Automated Cleanup Detection ⭐ + +**CRITICAL**: After toggle removal, systematically check for orphaned code: + +#### 3.1 Unused State Variables + +Search for `@State` variables that were only used for the toggle: + +```bash +# Look for patterns like: @State private var someToggle = FeatureFlags.toggleName +rg "@State.*=.*FeatureFlags" --type swift +``` + +**Action**: Remove the entire `@State` variable declaration if it's no longer used. + +#### 3.2 Unused View Components + +When a toggle controlled which UI component to show, one component may now be unused: + +**Detection Pattern**: +- Toggle switched between ComponentA and ComponentB +- After removal, only one is used +- Search for the unused component's name across codebase + +**Example from vaultBackToRoots**: +```swift +// BEFORE +if !vaultBackToRootsToggle { + SpaceCardLabel(...) // This became unused +} else { + NewSpaceCardLabel(...) +} + +// AFTER +NewSpaceCardLabel(...) + +// CLEANUP: SpaceCardLabel is now unused +rg "SpaceCardLabel" --type swift # Check if used anywhere else +# If only in its own file → DELETE the file +``` + +**Action**: +1. Search for unused component name: `rg "UnusedComponentName" --type swift` +2. If only found in its definition file and comments → DELETE the file +3. Update references in comments + +#### 3.3 Unused ViewModels / Service Classes + +Toggle removal may leave entire classes unused: + +**Detection**: +```bash +# For each major component that was conditionally used: +rg "UnusedViewModel" --type swift +rg "class UnusedViewModel" --type swift +``` + +**Action**: Delete unused ViewModels, their files, and DI registrations. + +#### 3.4 Unused Imports + +After simplification, `import AnytypeCore` may only have been needed for `FeatureFlags`: + +**Detection**: +- File imports `AnytypeCore` +- Only usage was `FeatureFlags.toggleName` +- After removal, no other `AnytypeCore` usage + +**Action**: Remove unused import. + +#### 3.5 Orphaned Parameters / Properties + +Toggle-gated functionality may have parameters that are no longer needed: + +**Example**: +```swift +// BEFORE +func configure(showFeature: Bool) { + if showFeature && FeatureFlags.toggle { ... } +} + +// AFTER toggle removal +func configure(showFeature: Bool) { + if showFeature { ... } +} + +// POTENTIAL CLEANUP: Is showFeature still needed? +``` + +**Action**: Review function signatures and remove unnecessary parameters. + +#### 3.6 Test Cleanup + +Toggle removal affects tests: + +**Check**: +1. Mock objects with toggle-related properties +2. Test cases specifically for toggle behavior +3. Test setup code with toggle configurations + +**Files to check**: +```bash +rg "toggleName" AnyTypeTests/ --type swift +rg "toggleName" "Anytype/Sources/PreviewMocks/" --type swift +``` + +**Action**: Update or remove tests for deleted code paths. + +### Phase 4: Final Verification + +Before committing: + +1. **Grep verification**: + ```bash + rg "toggleName" --type swift # Should be empty + ``` + +2. **Compilation check**: + - Remind user to verify compilation in Xcode + - Claude cannot verify this due to caching + +3. **Generate updated commit message**: + ``` + IOS-XXXX Removed [toggleName] toggle + ``` + +4. **Review cleanup summary**: + - List all files modified + - List all files deleted + - Note any remaining manual checks needed + +## Cleanup Checklist Template + +Use this checklist after every toggle removal: + +```markdown +## Cleanup Verification for [toggleName] + +- [ ] Toggle definition removed from FeatureDescription+Flags.swift +- [ ] `make generate` run successfully +- [ ] All conditional usage removed +- [ ] No grep results for toggle name +- [ ] Unused @State variables removed +- [ ] Unused view components identified and deleted +- [ ] Unused ViewModels/services deleted +- [ ] Unused imports removed (especially AnytypeCore) +- [ ] Orphaned function parameters removed +- [ ] Tests updated (check AnyTypeTests/ and PreviewMocks/) +- [ ] Comments referencing old component updated +- [ ] Xcode compilation verified (by user) +``` + +## Common Patterns & Pitfalls + +### Inverted Logic + +**Watch out for** `!FeatureFlags.toggle`: + +```swift +// If defaultValue: true +if !FeatureFlags.toggle { + oldCode() // This branch NEVER runs, delete it +} +``` + +### Compound Conditions + +**Simplify** conditions properly: + +```swift +// BEFORE (defaultValue: true) +if FeatureFlags.toggle && userHasPermission { + showFeature() +} + +// AFTER +if userHasPermission { + showFeature() +} +``` + +### Guard Statements + +**Be careful** with guards: + +```swift +// BEFORE (defaultValue: true) +guard !FeatureFlags.toggle else { return } +performOldBehavior() + +// AFTER (toggle is true, guard returns, entire block is dead code) +// DELETE ENTIRE BLOCK +``` + +## Integration with Other Skills + +- **code-generation-developer**: References for `make generate` command and troubleshooting +- **ios-dev-guidelines**: Swift refactoring patterns, import management +- **code-review-developer**: Cleanup standards, ensuring no orphaned code in PRs + +## Example Session + +``` +User: "remove vaultBackToRoots toggle" \ No newline at end of file diff --git a/.claude/skills/skills-manager/SKILL.md b/.claude/skills/skills-manager/SKILL.md index 044334f67b..4db2dcb391 100644 --- a/.claude/skills/skills-manager/SKILL.md +++ b/.claude/skills/skills-manager/SKILL.md @@ -140,13 +140,14 @@ echo "Update space settings localization for membership tiers" | .claude/hooks/u **Location**: `.claude/skills/*/SKILL.md` -**The 6 skills**: +**The 7 skills**: 1. `ios-dev-guidelines` - Swift/iOS patterns 2. `localization-developer` - Localization 3. `code-generation-developer` - Feature flags, make generate 4. `design-system-developer` - Icons, typography, colors 5. `skills-manager` - This skill (meta!) 6. `code-review-developer` - Code review standards +7. `feature-toggle-developer` - Feature toggle removal, cleanup detection ### Configuration From 4695924df02828aa0b99beeb199178b626552f67 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 5 Nov 2025 11:23:38 +0000 Subject: [PATCH 126/228] IOS-5420 Improved documentation clarity and removed redundancy --- .claude/commands/cpp.md | 16 +++++++++++++--- CLAUDE.md | 26 +++++++++++++++++++------- 2 files changed, 32 insertions(+), 10 deletions(-) diff --git a/.claude/commands/cpp.md b/.claude/commands/cpp.md index c06a96cdbc..7326bcf3c3 100644 --- a/.claude/commands/cpp.md +++ b/.claude/commands/cpp.md @@ -13,6 +13,11 @@ Commits the current changes, performs a code review, applies fixes if needed, th ## Workflow +### 0. Determine Branch Name (if not provided) +- If user mentions a Linear task ID (e.g., IOS-5292), fetch the issue using `mcp__linear__list_issues` +- Extract the `gitBranchName` field from the Linear issue response +- Use this exact branch name for checkout/creation + ### 1. Commit Changes - Stage and commit all changes with a descriptive message - Follow CLAUDE.md commit message guidelines @@ -41,6 +46,14 @@ When a branch name is provided: 2. **Branch exists locally**: Switches to that branch 3. **Branch exists only remotely**: Checks out the remote branch locally +## Prerequisites +When working with Linear tasks, Claude should fetch the branch name before running `/cpp`: +1. User mentions task ID (e.g., "Fix IOS-2532") +2. Claude calls `mcp__linear__list_issues(query: "IOS-2532", limit: 1)` +3. Claude extracts `gitBranchName` field (e.g., "ios-2532-fix-comment-version-for-hotfix") +4. Claude switches to that branch +5. User runs `/cpp` on the correct branch + ## Examples ```bash # Commit, review, push, and PR on current branch @@ -48,7 +61,4 @@ When a branch name is provided: # Commit, review, push, and PR on specific branch (creates if doesn't exist) /cpp in branch ios-5364-add-claude-to-gh-actions - -# Commit, review, push, and PR on existing branch -/cpp in branch develop ``` diff --git a/CLAUDE.md b/CLAUDE.md index 80aef347f1..98bc5352ef 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -238,9 +238,21 @@ Modules/ # Swift packages **⚠️ CRITICAL: This is the FIRST thing to do when starting any task** When receiving a Linear task ID (e.g., `IOS-5292`): -1. **Identify the task branch**: Format is `ios-XXXX-description` -2. **Switch to the task branch IMMEDIATELY**: `git checkout ios-5292-update-space-hub-loading-state` -3. **All work for the task must be done in this dedicated branch** +1. **Fetch the Linear issue**: Use `mcp__linear__list_issues` with the task ID to get issue details +2. **Get the branch name**: Extract `gitBranchName` field from the Linear issue (format: `ios-XXXX-description`) +3. **Switch to the task branch IMMEDIATELY**: `git checkout ios-5292-update-space-hub-loading-state` + +**All work for the task must be done in this dedicated branch** + +**Example**: +```bash +# Fetch issue details +mcp__linear__list_issues(query: "IOS-5292", limit: 1) +# Response includes: "gitBranchName": "ios-5292-update-space-hub-loading-state" + +# Use the exact branch name from Linear +git checkout ios-5292-update-space-hub-loading-state +``` ### Git & GitHub - **Main branch**: `develop` @@ -300,10 +312,10 @@ git add Anytype/Sources/[Feature]/Component.swift ``` ### Linear Integration -1. **Get task context**: Extract task number from branch name or ask user -2. **Fetch details**: Use Linear MCP tools (`mcp__linear__get_issue`) -3. **Check PRs**: Use `gh` tool to examine related PRs -4. **Update progress**: Add comments and check off completed items +- **Branch management**: See "Task-Based Branching" section above for fetching branch names from Linear +- **Get task context**: Extract task ID from user request or current branch name +- **Check PRs**: Use `gh` tool to examine related PRs +- **Update progress**: Add comments and check off completed items using Linear MCP tools ## 📋 Memories & Tips - For trivial PRs, add GitHub label "🧠 No brainer" (not in title) From 2340ec28ef9dcd769ded2d4445e22629ad58a628 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 5 Nov 2025 11:31:52 +0000 Subject: [PATCH 127/228] IOS-5420 Enable hooks system for skill activation and auto-formatting --- .claude/settings.json | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/.claude/settings.json b/.claude/settings.json index 29f63045e8..d64a97def9 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -67,5 +67,38 @@ "enableAllProjectMcpServers": true, "enabledMcpjsonServers": [ "Linear" - ] + ], + "hooks": { + "UserPromptSubmit": [ + { + "hooks": [ + { + "type": "command", + "command": ".claude/hooks/skill-activation-prompt.sh" + } + ] + } + ], + "PostToolUse": [ + { + "matcher": "Edit|Write|MultiEdit|NotebookEdit", + "hooks": [ + { + "type": "command", + "command": ".claude/hooks/post-tool-use-tracker.sh" + } + ] + } + ], + "Stop": [ + { + "hooks": [ + { + "type": "command", + "command": ".claude/hooks/swiftformat-auto.sh" + } + ] + } + ] + } } \ No newline at end of file From 795494c1e77be9e0a1abc63134261ce3230cd700 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 5 Nov 2025 11:32:02 +0000 Subject: [PATCH 128/228] IOS-5436 Update middleware to v0.44.0-nightly.20251105.1 --- .../SpaceNotificationsSettingsMode.swift | 3 +- Libraryfile | 2 +- .../invocation-adoption.generated.swift | 17 +- .../Generated/service+invocation.swift | 34 +-- .../Loc/Generated/Error+Localization.swift | 35 +-- ...type_Rpc.PushNotification.AddMuteIds.swift | 267 ------------------ .../Anytype_Rpc.PushNotification.Mode.swift | 70 +++++ ...ytype_Rpc.PushNotification.ResetIds.swift} | 38 +-- ...pc.PushNotification.SetForceModeIds.swift} | 47 +-- ...pe_Rpc.PushNotification.SetSpaceMode.swift | 48 +--- .../BundledPropertiesValueProvider.swift | 21 +- .../Generated/BundledPropertyKey.swift | 11 +- .../Sources/Models/Space/SpaceAliases.swift | 2 +- 13 files changed, 164 insertions(+), 431 deletions(-) delete mode 100644 Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMuteIds.swift create mode 100644 Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.Mode.swift rename Modules/ProtobufMessages/Sources/Protocol/Commands/{Anytype_Rpc.PushNotification.AddAllIds.swift => Anytype_Rpc.PushNotification.ResetIds.swift} (83%) rename Modules/ProtobufMessages/Sources/Protocol/Commands/{Anytype_Rpc.PushNotification.AddMentionIds.swift => Anytype_Rpc.PushNotification.SetForceModeIds.swift} (79%) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceNotificationsSettings/SpaceNotificationsSettingsMode.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceNotificationsSettings/SpaceNotificationsSettingsMode.swift index b83078f016..ca96dd9335 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceNotificationsSettings/SpaceNotificationsSettingsMode.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceNotificationsSettings/SpaceNotificationsSettingsMode.swift @@ -51,7 +51,7 @@ extension SpacePushNotificationsMode { switch self { case .all: return .allActiviy case .mentions: return .mentions - case .custom, .nothing, .UNRECOGNIZED(_): return .disabled + case .nothing, .UNRECOGNIZED(_): return .disabled } } @@ -64,7 +64,6 @@ extension SpacePushNotificationsMode { case .all: return "All" case .mentions: return "Mentions" case .nothing: return "Nothing" - case .custom: return "Custom" case .UNRECOGNIZED(_): return "" } } diff --git a/Libraryfile b/Libraryfile index 80431d6963..e7874d7409 100644 --- a/Libraryfile +++ b/Libraryfile @@ -1 +1 @@ -MIDDLE_VERSION=v0.44.0-nightly.20251104.1 +MIDDLE_VERSION=v0.44.0-nightly.20251105.1 diff --git a/Modules/ProtobufMessages/Sources/Generated/CommandsInvocation/invocation-adoption.generated.swift b/Modules/ProtobufMessages/Sources/Generated/CommandsInvocation/invocation-adoption.generated.swift index 12e7ec0f74..b0195453e8 100644 --- a/Modules/ProtobufMessages/Sources/Generated/CommandsInvocation/invocation-adoption.generated.swift +++ b/Modules/ProtobufMessages/Sources/Generated/CommandsInvocation/invocation-adoption.generated.swift @@ -1355,23 +1355,18 @@ extension Anytype_Rpc.Publishing.ResolveUri.Response.Error: ResponseError { public var isNull: Bool { code == .null && description_p.isEmpty } } -extension Anytype_Rpc.PushNotification.AddAllIds.Response: ResultWithError {} -extension Anytype_Rpc.PushNotification.AddAllIds.Response.Error: ResponseError { - public var isNull: Bool { code == .null && description_p.isEmpty } -} - -extension Anytype_Rpc.PushNotification.AddMentionIds.Response: ResultWithError {} -extension Anytype_Rpc.PushNotification.AddMentionIds.Response.Error: ResponseError { +extension Anytype_Rpc.PushNotification.RegisterToken.Response: ResultWithError {} +extension Anytype_Rpc.PushNotification.RegisterToken.Response.Error: ResponseError { public var isNull: Bool { code == .null && description_p.isEmpty } } -extension Anytype_Rpc.PushNotification.AddMuteIds.Response: ResultWithError {} -extension Anytype_Rpc.PushNotification.AddMuteIds.Response.Error: ResponseError { +extension Anytype_Rpc.PushNotification.ResetIds.Response: ResultWithError {} +extension Anytype_Rpc.PushNotification.ResetIds.Response.Error: ResponseError { public var isNull: Bool { code == .null && description_p.isEmpty } } -extension Anytype_Rpc.PushNotification.RegisterToken.Response: ResultWithError {} -extension Anytype_Rpc.PushNotification.RegisterToken.Response.Error: ResponseError { +extension Anytype_Rpc.PushNotification.SetForceModeIds.Response: ResultWithError {} +extension Anytype_Rpc.PushNotification.SetForceModeIds.Response.Error: ResponseError { public var isNull: Bool { code == .null && description_p.isEmpty } } diff --git a/Modules/ProtobufMessages/Sources/Generated/service+invocation.swift b/Modules/ProtobufMessages/Sources/Generated/service+invocation.swift index cc6dd497e6..5546fac270 100644 --- a/Modules/ProtobufMessages/Sources/Generated/service+invocation.swift +++ b/Modules/ProtobufMessages/Sources/Generated/service+invocation.swift @@ -3054,33 +3054,23 @@ public struct ClientCommands { } } - public static func pushNotificationAddMuteIds( - _ request: Anytype_Rpc.PushNotification.AddMuteIds.Request = .init() - ) -> Invocation { - return Invocation(messageName: "PushNotificationAddMuteIds", request: request) { request in + public static func pushNotificationSetForceModeIds( + _ request: Anytype_Rpc.PushNotification.SetForceModeIds.Request = .init() + ) -> Invocation { + return Invocation(messageName: "PushNotificationSetForceModeIds", request: request) { request in let requestData = try request.serializedData() - let responseData = Lib.ServicePushNotificationAddMuteIds(requestData) ?? Data() - return try Anytype_Rpc.PushNotification.AddMuteIds.Response(serializedBytes: responseData) + let responseData = Lib.ServicePushNotificationSetForceModeIds(requestData) ?? Data() + return try Anytype_Rpc.PushNotification.SetForceModeIds.Response(serializedBytes: responseData) } } - public static func pushNotificationAddMentionIds( - _ request: Anytype_Rpc.PushNotification.AddMentionIds.Request = .init() - ) -> Invocation { - return Invocation(messageName: "PushNotificationAddMentionIds", request: request) { request in + public static func pushNotificationResetIds( + _ request: Anytype_Rpc.PushNotification.ResetIds.Request = .init() + ) -> Invocation { + return Invocation(messageName: "PushNotificationResetIds", request: request) { request in let requestData = try request.serializedData() - let responseData = Lib.ServicePushNotificationAddMentionIds(requestData) ?? Data() - return try Anytype_Rpc.PushNotification.AddMentionIds.Response(serializedBytes: responseData) - } - } - - public static func pushNotificationAddAllIds( - _ request: Anytype_Rpc.PushNotification.AddAllIds.Request = .init() - ) -> Invocation { - return Invocation(messageName: "PushNotificationAddAllIds", request: request) { request in - let requestData = try request.serializedData() - let responseData = Lib.ServicePushNotificationAddAllIds(requestData) ?? Data() - return try Anytype_Rpc.PushNotification.AddAllIds.Response(serializedBytes: responseData) + let responseData = Lib.ServicePushNotificationResetIds(requestData) ?? Data() + return try Anytype_Rpc.PushNotification.ResetIds.Response(serializedBytes: responseData) } } diff --git a/Modules/ProtobufMessages/Sources/Loc/Generated/Error+Localization.swift b/Modules/ProtobufMessages/Sources/Loc/Generated/Error+Localization.swift index 367d7f89a4..336c0801fa 100644 --- a/Modules/ProtobufMessages/Sources/Loc/Generated/Error+Localization.swift +++ b/Modules/ProtobufMessages/Sources/Loc/Generated/Error+Localization.swift @@ -6660,30 +6660,7 @@ extension Anytype_Rpc.Publishing.ResolveUri.Response.Error: LocalizedError { } } -extension Anytype_Rpc.PushNotification.AddAllIds.Response.Error: LocalizedError { - public var errorDescription: String? { - let localizeError = localizeError() - if !localizeError.isEmpty { - return localizeError - } - return "Error: \(description_p) (\(code))" - } - - private func localizeError() -> String { - switch code { - case .null: - return "" - case .unknownError: - return "" - case .badInput: - return LocHelper.tr(table: "LocalizableError", key: "PushNotification.AddAllIds.badInput") - case .UNRECOGNIZED: - return "" - } - } -} - -extension Anytype_Rpc.PushNotification.AddMentionIds.Response.Error: LocalizedError { +extension Anytype_Rpc.PushNotification.RegisterToken.Response.Error: LocalizedError { public var errorDescription: String? { let localizeError = localizeError() if !localizeError.isEmpty { @@ -6699,14 +6676,14 @@ extension Anytype_Rpc.PushNotification.AddMentionIds.Response.Error: LocalizedEr case .unknownError: return "" case .badInput: - return LocHelper.tr(table: "LocalizableError", key: "PushNotification.AddMentionIds.badInput") + return LocHelper.tr(table: "LocalizableError", key: "PushNotification.RegisterToken.badInput") case .UNRECOGNIZED: return "" } } } -extension Anytype_Rpc.PushNotification.AddMuteIds.Response.Error: LocalizedError { +extension Anytype_Rpc.PushNotification.ResetIds.Response.Error: LocalizedError { public var errorDescription: String? { let localizeError = localizeError() if !localizeError.isEmpty { @@ -6722,14 +6699,14 @@ extension Anytype_Rpc.PushNotification.AddMuteIds.Response.Error: LocalizedError case .unknownError: return "" case .badInput: - return LocHelper.tr(table: "LocalizableError", key: "PushNotification.AddMuteIds.badInput") + return LocHelper.tr(table: "LocalizableError", key: "PushNotification.ResetIds.badInput") case .UNRECOGNIZED: return "" } } } -extension Anytype_Rpc.PushNotification.RegisterToken.Response.Error: LocalizedError { +extension Anytype_Rpc.PushNotification.SetForceModeIds.Response.Error: LocalizedError { public var errorDescription: String? { let localizeError = localizeError() if !localizeError.isEmpty { @@ -6745,7 +6722,7 @@ extension Anytype_Rpc.PushNotification.RegisterToken.Response.Error: LocalizedEr case .unknownError: return "" case .badInput: - return LocHelper.tr(table: "LocalizableError", key: "PushNotification.RegisterToken.badInput") + return LocHelper.tr(table: "LocalizableError", key: "PushNotification.SetForceModeIds.badInput") case .UNRECOGNIZED: return "" } diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMuteIds.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMuteIds.swift deleted file mode 100644 index 86424ca381..0000000000 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMuteIds.swift +++ /dev/null @@ -1,267 +0,0 @@ -// DO NOT EDIT. -// swift-format-ignore-file -// swiftlint:disable all -// -// Generated by the Swift generator plugin for the protocol buffer compiler. -// Source: commands.proto -// -// For information on using the generated types, please see the documentation: -// https://github.com/apple/swift-protobuf/ - -import Foundation -import SwiftProtobuf - -extension Anytype_Rpc.PushNotification { - public struct AddMuteIds: Sendable { - // SwiftProtobuf.Message conformance is added in an extension below. See the - // `Message` and `Message+*Additions` files in the SwiftProtobuf library for - // methods supported on all messages. - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct Request: Sendable { - // SwiftProtobuf.Message conformance is added in an extension below. See the - // `Message` and `Message+*Additions` files in the SwiftProtobuf library for - // methods supported on all messages. - - public var spaceID: String = String() - - public var chatIds: [String] = [] - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public init() {} - } - - public struct Response: Sendable { - // SwiftProtobuf.Message conformance is added in an extension below. See the - // `Message` and `Message+*Additions` files in the SwiftProtobuf library for - // methods supported on all messages. - - public var error: Anytype_Rpc.PushNotification.AddMuteIds.Response.Error { - get {return _error ?? Anytype_Rpc.PushNotification.AddMuteIds.Response.Error()} - set {_error = newValue} - } - /// Returns true if `error` has been explicitly set. - public var hasError: Bool {return self._error != nil} - /// Clears the value of `error`. Subsequent reads from it will return its default value. - public mutating func clearError() {self._error = nil} - - public var event: Anytype_ResponseEvent { - get {return _event ?? Anytype_ResponseEvent()} - set {_event = newValue} - } - /// Returns true if `event` has been explicitly set. - public var hasEvent: Bool {return self._event != nil} - /// Clears the value of `event`. Subsequent reads from it will return its default value. - public mutating func clearEvent() {self._event = nil} - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public struct Error: Sendable { - // SwiftProtobuf.Message conformance is added in an extension below. See the - // `Message` and `Message+*Additions` files in the SwiftProtobuf library for - // methods supported on all messages. - - public var code: Anytype_Rpc.PushNotification.AddMuteIds.Response.Error.Code = .null - - public var description_p: String = String() - - public var unknownFields = SwiftProtobuf.UnknownStorage() - - public enum Code: SwiftProtobuf.Enum, Swift.CaseIterable { - public typealias RawValue = Int - case null // = 0 - case unknownError // = 1 - case badInput // = 2 - case UNRECOGNIZED(Int) - - public init() { - self = .null - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .null - case 1: self = .unknownError - case 2: self = .badInput - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .null: return 0 - case .unknownError: return 1 - case .badInput: return 2 - case .UNRECOGNIZED(let i): return i - } - } - - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static let allCases: [Anytype_Rpc.PushNotification.AddMuteIds.Response.Error.Code] = [ - .null, - .unknownError, - .badInput, - ] - - } - - public init() {} - } - - public init() {} - - fileprivate var _error: Anytype_Rpc.PushNotification.AddMuteIds.Response.Error? = nil - fileprivate var _event: Anytype_ResponseEvent? = nil - } - - public init() {} - } -} - -extension Anytype_Rpc.PushNotification.AddMuteIds: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Anytype_Rpc.PushNotification.protoMessageName + ".AddMuteIds" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap() - - public mutating func decodeMessage(decoder: inout D) throws { - // Load everything into unknown fields - while try decoder.nextFieldNumber() != nil {} - } - - public func traverse(visitor: inout V) throws { - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: Anytype_Rpc.PushNotification.AddMuteIds, rhs: Anytype_Rpc.PushNotification.AddMuteIds) -> Bool { - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension Anytype_Rpc.PushNotification.AddMuteIds.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Anytype_Rpc.PushNotification.AddMuteIds.protoMessageName + ".Request" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}chatIds\0") - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularStringField(value: &self.spaceID) }() - case 2: try { try decoder.decodeRepeatedStringField(value: &self.chatIds) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if !self.spaceID.isEmpty { - try visitor.visitSingularStringField(value: self.spaceID, fieldNumber: 1) - } - if !self.chatIds.isEmpty { - try visitor.visitRepeatedStringField(value: self.chatIds, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: Anytype_Rpc.PushNotification.AddMuteIds.Request, rhs: Anytype_Rpc.PushNotification.AddMuteIds.Request) -> Bool { - if lhs.spaceID != rhs.spaceID {return false} - if lhs.chatIds != rhs.chatIds {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension Anytype_Rpc.PushNotification.AddMuteIds.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Anytype_Rpc.PushNotification.AddMuteIds.protoMessageName + ".Response" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularMessageField(value: &self._error) }() - case 2: try { try decoder.decodeSingularMessageField(value: &self._event) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every if/case branch local when no optimizations - // are enabled. https://github.com/apple/swift-protobuf/issues/1034 and - // https://github.com/apple/swift-protobuf/issues/1182 - try { if let v = self._error { - try visitor.visitSingularMessageField(value: v, fieldNumber: 1) - } }() - try { if let v = self._event { - try visitor.visitSingularMessageField(value: v, fieldNumber: 2) - } }() - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: Anytype_Rpc.PushNotification.AddMuteIds.Response, rhs: Anytype_Rpc.PushNotification.AddMuteIds.Response) -> Bool { - if lhs._error != rhs._error {return false} - if lhs._event != rhs._event {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension Anytype_Rpc.PushNotification.AddMuteIds.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Anytype_Rpc.PushNotification.AddMuteIds.Response.protoMessageName + ".Error" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") - - public mutating func decodeMessage(decoder: inout D) throws { - while let fieldNumber = try decoder.nextFieldNumber() { - // The use of inline closures is to circumvent an issue where the compiler - // allocates stack space for every case branch when no optimizations are - // enabled. https://github.com/apple/swift-protobuf/issues/1034 - switch fieldNumber { - case 1: try { try decoder.decodeSingularEnumField(value: &self.code) }() - case 2: try { try decoder.decodeSingularStringField(value: &self.description_p) }() - default: break - } - } - } - - public func traverse(visitor: inout V) throws { - if self.code != .null { - try visitor.visitSingularEnumField(value: self.code, fieldNumber: 1) - } - if !self.description_p.isEmpty { - try visitor.visitSingularStringField(value: self.description_p, fieldNumber: 2) - } - try unknownFields.traverse(visitor: &visitor) - } - - public static func ==(lhs: Anytype_Rpc.PushNotification.AddMuteIds.Response.Error, rhs: Anytype_Rpc.PushNotification.AddMuteIds.Response.Error) -> Bool { - if lhs.code != rhs.code {return false} - if lhs.description_p != rhs.description_p {return false} - if lhs.unknownFields != rhs.unknownFields {return false} - return true - } -} - -extension Anytype_Rpc.PushNotification.AddMuteIds.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") -} - -// If the compiler emits an error on this type, it is because this file -// was generated by a version of the `protoc` Swift plug-in that is -// incompatible with the version of SwiftProtobuf to which you are linking. -// Please ensure that you are building against the same version of the API -// that was used to generate this file. -fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck { - struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {} - typealias Version = _2 -} - -// MARK: - Code below here is support for the SwiftProtobuf runtime. - -fileprivate let _protobuf_package = "anytype" diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.Mode.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.Mode.swift new file mode 100644 index 0000000000..49908c575b --- /dev/null +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.Mode.swift @@ -0,0 +1,70 @@ +// DO NOT EDIT. +// swift-format-ignore-file +// swiftlint:disable all +// +// Generated by the Swift generator plugin for the protocol buffer compiler. +// Source: commands.proto +// +// For information on using the generated types, please see the documentation: +// https://github.com/apple/swift-protobuf/ + +import Foundation +import SwiftProtobuf + +extension Anytype_Rpc.PushNotification { + + public enum Mode: SwiftProtobuf.Enum, Swift.CaseIterable { + public typealias RawValue = Int + case all // = 0 + case mentions // = 1 + case nothing // = 2 + case UNRECOGNIZED(Int) + + public init() { + self = .all + } + + public init?(rawValue: Int) { + switch rawValue { + case 0: self = .all + case 1: self = .mentions + case 2: self = .nothing + default: self = .UNRECOGNIZED(rawValue) + } + } + + public var rawValue: Int { + switch self { + case .all: return 0 + case .mentions: return 1 + case .nothing: return 2 + case .UNRECOGNIZED(let i): return i + } + } + + // The compiler won't synthesize support with the UNRECOGNIZED case. + public static let allCases: [Anytype_Rpc.PushNotification.Mode] = [ + .all, + .mentions, + .nothing, + ] + + }} + +extension Anytype_Rpc.PushNotification.Mode: SwiftProtobuf._ProtoNameProviding { + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0All\0\u{1}Mentions\0\u{1}Nothing\0") +} + +// If the compiler emits an error on this type, it is because this file +// was generated by a version of the `protoc` Swift plug-in that is +// incompatible with the version of SwiftProtobuf to which you are linking. +// Please ensure that you are building against the same version of the API +// that was used to generate this file. +fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAPIVersionCheck { + struct _2: SwiftProtobuf.ProtobufAPIVersion_2 {} + typealias Version = _2 +} + +// MARK: - Code below here is support for the SwiftProtobuf runtime. + +fileprivate let _protobuf_package = "anytype" diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddAllIds.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.ResetIds.swift similarity index 83% rename from Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddAllIds.swift rename to Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.ResetIds.swift index 296948cab7..b6f815b823 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddAllIds.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.ResetIds.swift @@ -12,7 +12,7 @@ import Foundation import SwiftProtobuf extension Anytype_Rpc.PushNotification { - public struct AddAllIds: Sendable { + public struct ResetIds: Sendable { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. @@ -38,8 +38,8 @@ extension Anytype_Rpc.PushNotification { // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. - public var error: Anytype_Rpc.PushNotification.AddAllIds.Response.Error { - get {return _error ?? Anytype_Rpc.PushNotification.AddAllIds.Response.Error()} + public var error: Anytype_Rpc.PushNotification.ResetIds.Response.Error { + get {return _error ?? Anytype_Rpc.PushNotification.ResetIds.Response.Error()} set {_error = newValue} } /// Returns true if `error` has been explicitly set. @@ -63,7 +63,7 @@ extension Anytype_Rpc.PushNotification { // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. - public var code: Anytype_Rpc.PushNotification.AddAllIds.Response.Error.Code = .null + public var code: Anytype_Rpc.PushNotification.ResetIds.Response.Error.Code = .null public var description_p: String = String() @@ -99,7 +99,7 @@ extension Anytype_Rpc.PushNotification { } // The compiler won't synthesize support with the UNRECOGNIZED case. - public static let allCases: [Anytype_Rpc.PushNotification.AddAllIds.Response.Error.Code] = [ + public static let allCases: [Anytype_Rpc.PushNotification.ResetIds.Response.Error.Code] = [ .null, .unknownError, .badInput, @@ -112,7 +112,7 @@ extension Anytype_Rpc.PushNotification { public init() {} - fileprivate var _error: Anytype_Rpc.PushNotification.AddAllIds.Response.Error? = nil + fileprivate var _error: Anytype_Rpc.PushNotification.ResetIds.Response.Error? = nil fileprivate var _event: Anytype_ResponseEvent? = nil } @@ -120,8 +120,8 @@ extension Anytype_Rpc.PushNotification { } } -extension Anytype_Rpc.PushNotification.AddAllIds: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Anytype_Rpc.PushNotification.protoMessageName + ".AddAllIds" +extension Anytype_Rpc.PushNotification.ResetIds: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.protoMessageName + ".ResetIds" public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { @@ -133,14 +133,14 @@ extension Anytype_Rpc.PushNotification.AddAllIds: SwiftProtobuf.Message, SwiftPr try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Anytype_Rpc.PushNotification.AddAllIds, rhs: Anytype_Rpc.PushNotification.AddAllIds) -> Bool { + public static func ==(lhs: Anytype_Rpc.PushNotification.ResetIds, rhs: Anytype_Rpc.PushNotification.ResetIds) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Anytype_Rpc.PushNotification.AddAllIds.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Anytype_Rpc.PushNotification.AddAllIds.protoMessageName + ".Request" +extension Anytype_Rpc.PushNotification.ResetIds.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.ResetIds.protoMessageName + ".Request" public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}chatIds\0") public mutating func decodeMessage(decoder: inout D) throws { @@ -166,7 +166,7 @@ extension Anytype_Rpc.PushNotification.AddAllIds.Request: SwiftProtobuf.Message, try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Anytype_Rpc.PushNotification.AddAllIds.Request, rhs: Anytype_Rpc.PushNotification.AddAllIds.Request) -> Bool { + public static func ==(lhs: Anytype_Rpc.PushNotification.ResetIds.Request, rhs: Anytype_Rpc.PushNotification.ResetIds.Request) -> Bool { if lhs.spaceID != rhs.spaceID {return false} if lhs.chatIds != rhs.chatIds {return false} if lhs.unknownFields != rhs.unknownFields {return false} @@ -174,8 +174,8 @@ extension Anytype_Rpc.PushNotification.AddAllIds.Request: SwiftProtobuf.Message, } } -extension Anytype_Rpc.PushNotification.AddAllIds.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Anytype_Rpc.PushNotification.AddAllIds.protoMessageName + ".Response" +extension Anytype_Rpc.PushNotification.ResetIds.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.ResetIds.protoMessageName + ".Response" public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { @@ -205,7 +205,7 @@ extension Anytype_Rpc.PushNotification.AddAllIds.Response: SwiftProtobuf.Message try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Anytype_Rpc.PushNotification.AddAllIds.Response, rhs: Anytype_Rpc.PushNotification.AddAllIds.Response) -> Bool { + public static func ==(lhs: Anytype_Rpc.PushNotification.ResetIds.Response, rhs: Anytype_Rpc.PushNotification.ResetIds.Response) -> Bool { if lhs._error != rhs._error {return false} if lhs._event != rhs._event {return false} if lhs.unknownFields != rhs.unknownFields {return false} @@ -213,8 +213,8 @@ extension Anytype_Rpc.PushNotification.AddAllIds.Response: SwiftProtobuf.Message } } -extension Anytype_Rpc.PushNotification.AddAllIds.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Anytype_Rpc.PushNotification.AddAllIds.Response.protoMessageName + ".Error" +extension Anytype_Rpc.PushNotification.ResetIds.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.ResetIds.Response.protoMessageName + ".Error" public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { @@ -240,7 +240,7 @@ extension Anytype_Rpc.PushNotification.AddAllIds.Response.Error: SwiftProtobuf.M try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Anytype_Rpc.PushNotification.AddAllIds.Response.Error, rhs: Anytype_Rpc.PushNotification.AddAllIds.Response.Error) -> Bool { + public static func ==(lhs: Anytype_Rpc.PushNotification.ResetIds.Response.Error, rhs: Anytype_Rpc.PushNotification.ResetIds.Response.Error) -> Bool { if lhs.code != rhs.code {return false} if lhs.description_p != rhs.description_p {return false} if lhs.unknownFields != rhs.unknownFields {return false} @@ -248,7 +248,7 @@ extension Anytype_Rpc.PushNotification.AddAllIds.Response.Error: SwiftProtobuf.M } } -extension Anytype_Rpc.PushNotification.AddAllIds.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { +extension Anytype_Rpc.PushNotification.ResetIds.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMentionIds.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.SetForceModeIds.swift similarity index 79% rename from Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMentionIds.swift rename to Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.SetForceModeIds.swift index e6137997ff..5dcea87cbc 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.AddMentionIds.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.SetForceModeIds.swift @@ -12,7 +12,7 @@ import Foundation import SwiftProtobuf extension Anytype_Rpc.PushNotification { - public struct AddMentionIds: Sendable { + public struct SetForceModeIds: Sendable { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. @@ -28,6 +28,8 @@ extension Anytype_Rpc.PushNotification { public var chatIds: [String] = [] + public var mode: Anytype_Rpc.PushNotification.Mode = .all + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} @@ -38,8 +40,8 @@ extension Anytype_Rpc.PushNotification { // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. - public var error: Anytype_Rpc.PushNotification.AddMentionIds.Response.Error { - get {return _error ?? Anytype_Rpc.PushNotification.AddMentionIds.Response.Error()} + public var error: Anytype_Rpc.PushNotification.SetForceModeIds.Response.Error { + get {return _error ?? Anytype_Rpc.PushNotification.SetForceModeIds.Response.Error()} set {_error = newValue} } /// Returns true if `error` has been explicitly set. @@ -63,7 +65,7 @@ extension Anytype_Rpc.PushNotification { // `Message` and `Message+*Additions` files in the SwiftProtobuf library for // methods supported on all messages. - public var code: Anytype_Rpc.PushNotification.AddMentionIds.Response.Error.Code = .null + public var code: Anytype_Rpc.PushNotification.SetForceModeIds.Response.Error.Code = .null public var description_p: String = String() @@ -99,7 +101,7 @@ extension Anytype_Rpc.PushNotification { } // The compiler won't synthesize support with the UNRECOGNIZED case. - public static let allCases: [Anytype_Rpc.PushNotification.AddMentionIds.Response.Error.Code] = [ + public static let allCases: [Anytype_Rpc.PushNotification.SetForceModeIds.Response.Error.Code] = [ .null, .unknownError, .badInput, @@ -112,7 +114,7 @@ extension Anytype_Rpc.PushNotification { public init() {} - fileprivate var _error: Anytype_Rpc.PushNotification.AddMentionIds.Response.Error? = nil + fileprivate var _error: Anytype_Rpc.PushNotification.SetForceModeIds.Response.Error? = nil fileprivate var _event: Anytype_ResponseEvent? = nil } @@ -120,8 +122,8 @@ extension Anytype_Rpc.PushNotification { } } -extension Anytype_Rpc.PushNotification.AddMentionIds: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Anytype_Rpc.PushNotification.protoMessageName + ".AddMentionIds" +extension Anytype_Rpc.PushNotification.SetForceModeIds: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.protoMessageName + ".SetForceModeIds" public static let _protobuf_nameMap = SwiftProtobuf._NameMap() public mutating func decodeMessage(decoder: inout D) throws { @@ -133,15 +135,15 @@ extension Anytype_Rpc.PushNotification.AddMentionIds: SwiftProtobuf.Message, Swi try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Anytype_Rpc.PushNotification.AddMentionIds, rhs: Anytype_Rpc.PushNotification.AddMentionIds) -> Bool { + public static func ==(lhs: Anytype_Rpc.PushNotification.SetForceModeIds, rhs: Anytype_Rpc.PushNotification.SetForceModeIds) -> Bool { if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Anytype_Rpc.PushNotification.AddMentionIds.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Anytype_Rpc.PushNotification.AddMentionIds.protoMessageName + ".Request" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}chatIds\0") +extension Anytype_Rpc.PushNotification.SetForceModeIds.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.SetForceModeIds.protoMessageName + ".Request" + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}chatIds\0\u{1}mode\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -151,6 +153,7 @@ extension Anytype_Rpc.PushNotification.AddMentionIds.Request: SwiftProtobuf.Mess switch fieldNumber { case 1: try { try decoder.decodeSingularStringField(value: &self.spaceID) }() case 2: try { try decoder.decodeRepeatedStringField(value: &self.chatIds) }() + case 3: try { try decoder.decodeSingularEnumField(value: &self.mode) }() default: break } } @@ -163,19 +166,23 @@ extension Anytype_Rpc.PushNotification.AddMentionIds.Request: SwiftProtobuf.Mess if !self.chatIds.isEmpty { try visitor.visitRepeatedStringField(value: self.chatIds, fieldNumber: 2) } + if self.mode != .all { + try visitor.visitSingularEnumField(value: self.mode, fieldNumber: 3) + } try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Anytype_Rpc.PushNotification.AddMentionIds.Request, rhs: Anytype_Rpc.PushNotification.AddMentionIds.Request) -> Bool { + public static func ==(lhs: Anytype_Rpc.PushNotification.SetForceModeIds.Request, rhs: Anytype_Rpc.PushNotification.SetForceModeIds.Request) -> Bool { if lhs.spaceID != rhs.spaceID {return false} if lhs.chatIds != rhs.chatIds {return false} + if lhs.mode != rhs.mode {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } } -extension Anytype_Rpc.PushNotification.AddMentionIds.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Anytype_Rpc.PushNotification.AddMentionIds.protoMessageName + ".Response" +extension Anytype_Rpc.PushNotification.SetForceModeIds.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.SetForceModeIds.protoMessageName + ".Response" public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}event\0") public mutating func decodeMessage(decoder: inout D) throws { @@ -205,7 +212,7 @@ extension Anytype_Rpc.PushNotification.AddMentionIds.Response: SwiftProtobuf.Mes try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Anytype_Rpc.PushNotification.AddMentionIds.Response, rhs: Anytype_Rpc.PushNotification.AddMentionIds.Response) -> Bool { + public static func ==(lhs: Anytype_Rpc.PushNotification.SetForceModeIds.Response, rhs: Anytype_Rpc.PushNotification.SetForceModeIds.Response) -> Bool { if lhs._error != rhs._error {return false} if lhs._event != rhs._event {return false} if lhs.unknownFields != rhs.unknownFields {return false} @@ -213,8 +220,8 @@ extension Anytype_Rpc.PushNotification.AddMentionIds.Response: SwiftProtobuf.Mes } } -extension Anytype_Rpc.PushNotification.AddMentionIds.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { - public static let protoMessageName: String = Anytype_Rpc.PushNotification.AddMentionIds.Response.protoMessageName + ".Error" +extension Anytype_Rpc.PushNotification.SetForceModeIds.Response.Error: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { + public static let protoMessageName: String = Anytype_Rpc.PushNotification.SetForceModeIds.Response.protoMessageName + ".Error" public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}code\0\u{1}description\0") public mutating func decodeMessage(decoder: inout D) throws { @@ -240,7 +247,7 @@ extension Anytype_Rpc.PushNotification.AddMentionIds.Response.Error: SwiftProtob try unknownFields.traverse(visitor: &visitor) } - public static func ==(lhs: Anytype_Rpc.PushNotification.AddMentionIds.Response.Error, rhs: Anytype_Rpc.PushNotification.AddMentionIds.Response.Error) -> Bool { + public static func ==(lhs: Anytype_Rpc.PushNotification.SetForceModeIds.Response.Error, rhs: Anytype_Rpc.PushNotification.SetForceModeIds.Response.Error) -> Bool { if lhs.code != rhs.code {return false} if lhs.description_p != rhs.description_p {return false} if lhs.unknownFields != rhs.unknownFields {return false} @@ -248,7 +255,7 @@ extension Anytype_Rpc.PushNotification.AddMentionIds.Response.Error: SwiftProtob } } -extension Anytype_Rpc.PushNotification.AddMentionIds.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { +extension Anytype_Rpc.PushNotification.SetForceModeIds.Response.Error.Code: SwiftProtobuf._ProtoNameProviding { public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0NULL\0\u{1}UNKNOWN_ERROR\0\u{1}BAD_INPUT\0") } diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.SetSpaceMode.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.SetSpaceMode.swift index 35deae2ff7..d470cc9331 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.SetSpaceMode.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.PushNotification.SetSpaceMode.swift @@ -19,48 +19,6 @@ extension Anytype_Rpc.PushNotification { public var unknownFields = SwiftProtobuf.UnknownStorage() - public enum Mode: SwiftProtobuf.Enum, Swift.CaseIterable { - public typealias RawValue = Int - case all // = 0 - case mentions // = 1 - case nothing // = 2 - case custom // = 3 - case UNRECOGNIZED(Int) - - public init() { - self = .all - } - - public init?(rawValue: Int) { - switch rawValue { - case 0: self = .all - case 1: self = .mentions - case 2: self = .nothing - case 3: self = .custom - default: self = .UNRECOGNIZED(rawValue) - } - } - - public var rawValue: Int { - switch self { - case .all: return 0 - case .mentions: return 1 - case .nothing: return 2 - case .custom: return 3 - case .UNRECOGNIZED(let i): return i - } - } - - // The compiler won't synthesize support with the UNRECOGNIZED case. - public static let allCases: [Anytype_Rpc.PushNotification.SetSpaceMode.Mode] = [ - .all, - .mentions, - .nothing, - .custom, - ] - - } - public struct Request: Sendable { // SwiftProtobuf.Message conformance is added in an extension below. See the // `Message` and `Message+*Additions` files in the SwiftProtobuf library for @@ -68,7 +26,7 @@ extension Anytype_Rpc.PushNotification { public var spaceID: String = String() - public var mode: Anytype_Rpc.PushNotification.SetSpaceMode.Mode = .all + public var mode: Anytype_Rpc.PushNotification.Mode = .all public var unknownFields = SwiftProtobuf.UnknownStorage() @@ -181,10 +139,6 @@ extension Anytype_Rpc.PushNotification.SetSpaceMode: SwiftProtobuf.Message, Swif } } -extension Anytype_Rpc.PushNotification.SetSpaceMode.Mode: SwiftProtobuf._ProtoNameProviding { - public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{2}\0All\0\u{1}Mentions\0\u{1}Nothing\0\u{1}Custom\0") -} - extension Anytype_Rpc.PushNotification.SetSpaceMode.Request: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.PushNotification.SetSpaceMode.protoMessageName + ".Request" public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}spaceId\0\u{1}mode\0") diff --git a/Modules/Services/Sources/Generated/BundledPropertiesValueProvider.swift b/Modules/Services/Sources/Generated/BundledPropertiesValueProvider.swift index 376d206311..88f23ca28e 100644 --- a/Modules/Services/Sources/Generated/BundledPropertiesValueProvider.swift +++ b/Modules/Services/Sources/Generated/BundledPropertiesValueProvider.swift @@ -170,8 +170,9 @@ public protocol BundledPropertiesValueProvider { var apiObjectKey: String { get } var relationFormatIncludeTime: [Bool] { get } var spacePushNotificationMode: Int? { get } - var spacePushNotificationCustomMuteIds: [String] { get } - var spacePushNotificationCustomMentionIds: [String] { get } + var spacePushNotificationForceAllIds: [String] { get } + var spacePushNotificationForceMuteIds: [String] { get } + var spacePushNotificationForceMentionIds: [String] { get } var spacePushNotificationKey: String { get } var spacePushNotificationEncryptionKey: String { get } var spaceJoinDate: Date? { get } @@ -800,13 +801,17 @@ public extension BundledPropertiesValueProvider where Self: PropertyValueProvide var spacePushNotificationMode: Int? { return value(for: BundledPropertyKey.spacePushNotificationMode.rawValue) } - /// Push notification custom muted ids - var spacePushNotificationCustomMuteIds: [String] { - return value(for: BundledPropertyKey.spacePushNotificationCustomMuteIds.rawValue) + /// Push notification all ids + var spacePushNotificationForceAllIds: [String] { + return value(for: BundledPropertyKey.spacePushNotificationForceAllIds.rawValue) } - /// Push notification custom mention ids - var spacePushNotificationCustomMentionIds: [String] { - return value(for: BundledPropertyKey.spacePushNotificationCustomMentionIds.rawValue) + /// Push notification muted ids + var spacePushNotificationForceMuteIds: [String] { + return value(for: BundledPropertyKey.spacePushNotificationForceMuteIds.rawValue) + } + /// Push notification mention ids + var spacePushNotificationForceMentionIds: [String] { + return value(for: BundledPropertyKey.spacePushNotificationForceMentionIds.rawValue) } /// Push notifications space key (base64) var spacePushNotificationKey: String { diff --git a/Modules/Services/Sources/Generated/BundledPropertyKey.swift b/Modules/Services/Sources/Generated/BundledPropertyKey.swift index 0f04624d37..df079f7021 100644 --- a/Modules/Services/Sources/Generated/BundledPropertyKey.swift +++ b/Modules/Services/Sources/Generated/BundledPropertyKey.swift @@ -460,11 +460,14 @@ public enum BundledPropertyKey: String, Sendable { /// Push notification mode - mute/all/mentions/custom (see model.SpacePushNotificationMode) case spacePushNotificationMode = "spacePushNotificationMode" - /// Push notification custom muted ids - case spacePushNotificationCustomMuteIds = "spacePushNotificationCustomMuteIds" + /// Push notification all ids + case spacePushNotificationForceAllIds = "spacePushNotificationForceAllIds" - /// Push notification custom mention ids - case spacePushNotificationCustomMentionIds = "spacePushNotificationCustomMentionIds" + /// Push notification muted ids + case spacePushNotificationForceMuteIds = "spacePushNotificationForceMuteIds" + + /// Push notification mention ids + case spacePushNotificationForceMentionIds = "spacePushNotificationForceMentionIds" /// Push notifications space key (base64) case spacePushNotificationKey = "spacePushNotificationKey" diff --git a/Modules/Services/Sources/Models/Space/SpaceAliases.swift b/Modules/Services/Sources/Models/Space/SpaceAliases.swift index be059f1659..bccbcde799 100644 --- a/Modules/Services/Sources/Models/Space/SpaceAliases.swift +++ b/Modules/Services/Sources/Models/Space/SpaceAliases.swift @@ -6,4 +6,4 @@ public typealias SpaceStatus = Anytype_Model_SpaceStatus public typealias SpaceUxType = Anytype_Model_SpaceUxType public typealias InviteType = Anytype_Model_InviteType public typealias InvitePermissions = Anytype_Model_ParticipantPermissions -public typealias SpacePushNotificationsMode = Anytype_Rpc.PushNotification.SetSpaceMode.Mode +public typealias SpacePushNotificationsMode = Anytype_Rpc.PushNotification.Mode From 019fa3e0958b22a09391cf5fe448644fe742192f Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 5 Nov 2025 11:52:28 +0000 Subject: [PATCH 129/228] IOS-2532 Fix version pattern matching and hotfix tag resolution in FastfileDeploy --- fastlane/FastfileDeploy | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/fastlane/FastfileDeploy b/fastlane/FastfileDeploy index d802c9a5d2..841aa1419a 100644 --- a/fastlane/FastfileDeploy +++ b/fastlane/FastfileDeploy @@ -107,14 +107,22 @@ platform :ios do # For incremental builds (e.g., 0.41.0/26 -> 0.41.0/27), use the previous build number old_tag_name = "#{prefix}/#{version}/#{build_number.to_i - 1}" else - # For the first build of a new version (e.g., 0.41.1/1), find the last tag of the previous version - # Get all tags for the current major version (e.g., all 0.41.x tags), sorted by version - all_version_tags = sh("git tag -l '#{prefix}/#{version.split('.')[0]}.*/*' | sort -V").split("\n") - - # Find the index of the current version in the sorted list - current_idx = all_version_tags.index { |t| t.start_with?("#{prefix}/#{version}/") } - # Use the tag immediately before the current version, or fallback to current tag if not found - old_tag_name = current_idx && current_idx > 0 ? all_version_tags[current_idx - 1] : tag_name + # For the first build of a new version (e.g., 0.41.1/1), find the last tag of the previous patch version + # Get major.minor version (e.g., "0.41" from "0.41.1") + version_parts = version.split('.') + major_minor = "#{version_parts[0]}.#{version_parts[1]}" + current_patch = version_parts[2].to_i + + # Get all tags for the current major.minor (e.g., all 0.41.x tags), sorted by version + all_version_tags = sh("git tag -l '#{prefix}/#{major_minor}.*/*' | sort -V").split("\n") + + # Find tags for versions less than current patch, take the last one + previous_version_tags = all_version_tags.select do |t| + tag_patch = t.match(/#{Regexp.escape(prefix)}\/#{Regexp.escape(major_minor)}\.(\d+)\//) + tag_patch && tag_patch[1].to_i < current_patch + end + + old_tag_name = previous_version_tags.last || tag_name end add_linear_comment( From 1336246f42409bef918b18b253956058910cc4bd Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 5 Nov 2025 11:55:24 +0000 Subject: [PATCH 130/228] IOS-5420 Run Claude Code Review on each push to PR, not just when opened --- .github/workflows/claude-code-review.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/claude-code-review.yml b/.github/workflows/claude-code-review.yml index d7d9fc7a52..dcce762ac7 100644 --- a/.github/workflows/claude-code-review.yml +++ b/.github/workflows/claude-code-review.yml @@ -2,7 +2,7 @@ name: Claude Code Review on: pull_request: - types: [opened] + types: [opened, synchronize] # Optional: Only run on specific file changes # paths: # - "src/**/*.ts" From f91b06af38e9b6ecfbd5b0a595d6483575c475b3 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 5 Nov 2025 11:57:31 +0000 Subject: [PATCH 131/228] IOS-5420 Remove incomplete Example Session from feature toggle skill --- .claude/skills/feature-toggle-developer/SKILL.md | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/.claude/skills/feature-toggle-developer/SKILL.md b/.claude/skills/feature-toggle-developer/SKILL.md index f9d1f67bea..91e1c2eb8b 100644 --- a/.claude/skills/feature-toggle-developer/SKILL.md +++ b/.claude/skills/feature-toggle-developer/SKILL.md @@ -306,9 +306,4 @@ performOldBehavior() - **code-generation-developer**: References for `make generate` command and troubleshooting - **ios-dev-guidelines**: Swift refactoring patterns, import management -- **code-review-developer**: Cleanup standards, ensuring no orphaned code in PRs - -## Example Session - -``` -User: "remove vaultBackToRoots toggle" \ No newline at end of file +- **code-review-developer**: Cleanup standards, ensuring no orphaned code in PRs \ No newline at end of file From 627308eef146554a23019f6926f0fbba82c2cf04 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 5 Nov 2025 15:58:10 +0000 Subject: [PATCH 132/228] IOS-5072 Removed multichats toggle --- .../Dataview/SetObjectCreationSettingsInteractor.swift | 2 +- .../ObjectTypeSearch/ObjectTypeSearchViewSettings.swift | 4 +--- .../AnytypeCore/Generated/FeatureFlags+Flags.swift | 5 ----- .../Utils/FeatureFlags/FeatureDescription+Flags.swift | 7 ------- .../Sources/Models/Extensions/DetailsLayoutExtension.swift | 4 +--- 5 files changed, 3 insertions(+), 19 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/Dataview/SetObjectCreationSettingsInteractor.swift b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/Dataview/SetObjectCreationSettingsInteractor.swift index 5fadf2e84e..0cbc899017 100644 --- a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/Dataview/SetObjectCreationSettingsInteractor.swift +++ b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/Dataview/SetObjectCreationSettingsInteractor.swift @@ -156,7 +156,7 @@ final class SetObjectCreationSettingsInteractor: SetObjectCreationSettingsIntera Task { let spaceUxType = spaceViewsStorage.spaceView(spaceId: setDocument.spaceId)?.uxType let chatTypeVisible = spaceUxType?.showsChatLayouts ?? true - let includeChat = FeatureFlags.multichats && chatTypeVisible + let includeChat = chatTypeVisible objectTypes = try await typesService.searchObjectTypes( text: "", includePins: true, diff --git a/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewSettings.swift b/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewSettings.swift index 9a02fe4d9f..43b7dc97e9 100644 --- a/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewSettings.swift +++ b/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewSettings.swift @@ -1,5 +1,3 @@ -import AnytypeCore - struct ObjectTypeSearchViewSettings { let showPins: Bool let showLists: Bool @@ -27,7 +25,7 @@ extension ObjectTypeSearchViewSettings { showPins: false, showLists: true, showFiles: true, - showChat: FeatureFlags.multichats, + showChat: true, showTemplates: true, incudeNotForCreation: true, allowPaste: false, diff --git a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift index 1f79be4716..18aba80078 100644 --- a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift @@ -34,10 +34,6 @@ public extension FeatureFlags { value(for: .dndOnCollectionsAndSets) } - static var multichats: Bool { - value(for: .multichats) - } - static var doNotWaitCompletionInAnytypePreview: Bool { value(for: .doNotWaitCompletionInAnytypePreview) } @@ -111,7 +107,6 @@ public extension FeatureFlags { .setKanbanView, .fullInlineSetImpl, .dndOnCollectionsAndSets, - .multichats, .doNotWaitCompletionInAnytypePreview, .rainbowViews, .showAlertOnAssert, diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index 257a50b1ca..b976c34235 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -51,13 +51,6 @@ public extension FeatureDescription { defaultValue: false ) - static let multichats = FeatureDescription( - title: "Multichats", - type: .feature(author: "m@anytype.io", releaseVersion: "?"), - defaultValue: false, - debugValue: true - ) - static let doNotWaitCompletionInAnytypePreview = FeatureDescription( title: "Do not wait completion in Anytype Preview", type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "?"), diff --git a/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift b/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift index ca9a8b66df..83f5822972 100644 --- a/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift +++ b/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift @@ -1,5 +1,3 @@ -import AnytypeCore - public extension DetailsLayout { static let editorLayouts: [DetailsLayout] = [ .note, .basic, .profile, .todo ] @@ -22,7 +20,7 @@ public extension DetailsLayout { private static let supportedForCreationInSets: [DetailsLayout] = editorLayouts + [.bookmark] + listLayouts private static let layoutsWithIcon: [DetailsLayout] = listLayouts + fileAndMediaLayouts + [.basic, .profile, .objectType] private static let layoutsWithCover: [DetailsLayout] = layoutsWithIcon + [.bookmark, .todo] - private static let chatLayouts: [DetailsLayout] = FeatureFlags.multichats ? [.chatDerived] : [] + private static let chatLayouts: [DetailsLayout] = [.chatDerived] } // MARK: - Space-aware filtering From ec3b3be39899776df7cc3febb8bb03c309aef9b6 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 5 Nov 2025 16:01:25 +0000 Subject: [PATCH 133/228] IOS-5072 Removed doNotWaitCompletionInAnytypePreview toggle --- .../ImageViewer/ImageViewer/AnytypePreviewController.swift | 6 ------ .../AnytypeCore/Generated/FeatureFlags+Flags.swift | 5 ----- .../Utils/FeatureFlags/FeatureDescription+Flags.swift | 7 ------- 3 files changed, 18 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Common/UIKit/ImageViewer/ImageViewer/AnytypePreviewController.swift b/Anytype/Sources/PresentationLayer/Common/UIKit/ImageViewer/ImageViewer/AnytypePreviewController.swift index baaafc2ddc..33dfbe4576 100644 --- a/Anytype/Sources/PresentationLayer/Common/UIKit/ImageViewer/ImageViewer/AnytypePreviewController.swift +++ b/Anytype/Sources/PresentationLayer/Common/UIKit/ImageViewer/ImageViewer/AnytypePreviewController.swift @@ -1,7 +1,6 @@ import QuickLook import Combine import Services -import AnytypeCore @MainActor final class AnytypePreviewController: QLPreviewController { @@ -67,11 +66,6 @@ final class AnytypePreviewController: QLPreviewController { } private func handleItemUpdate() { - if FeatureFlags.doNotWaitCompletionInAnytypePreview { - refreshCurrentPreviewItem() - return - } - if didFinishTransition { refreshCurrentPreviewItem() } else { diff --git a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift index 18aba80078..c29eb9da95 100644 --- a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift @@ -34,10 +34,6 @@ public extension FeatureFlags { value(for: .dndOnCollectionsAndSets) } - static var doNotWaitCompletionInAnytypePreview: Bool { - value(for: .doNotWaitCompletionInAnytypePreview) - } - static var rainbowViews: Bool { value(for: .rainbowViews) } @@ -107,7 +103,6 @@ public extension FeatureFlags { .setKanbanView, .fullInlineSetImpl, .dndOnCollectionsAndSets, - .doNotWaitCompletionInAnytypePreview, .rainbowViews, .showAlertOnAssert, .analytics, diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index b976c34235..eafcd45533 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -51,13 +51,6 @@ public extension FeatureDescription { defaultValue: false ) - static let doNotWaitCompletionInAnytypePreview = FeatureDescription( - title: "Do not wait completion in Anytype Preview", - type: .feature(author: "joe_pusya@anytype.io", releaseVersion: "?"), - defaultValue: false, - debugValue: false - ) - // MARK: - Debug static let rainbowViews = FeatureDescription( From 38b12a92a9f4db19c008c1f89c345afa4249266c Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Thu, 6 Nov 2025 04:57:30 +0100 Subject: [PATCH 134/228] Automation: Update middleware to v0.44.0-nightly.20251106.1 (#4218) Co-authored-by: William Blake --- Libraryfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraryfile b/Libraryfile index e7874d7409..12a3d03846 100644 --- a/Libraryfile +++ b/Libraryfile @@ -1 +1 @@ -MIDDLE_VERSION=v0.44.0-nightly.20251105.1 +MIDDLE_VERSION=v0.44.0-nightly.20251106.1 From b05d2d2e6a1fc460bf02d7449605e59f6112277e Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 6 Nov 2025 12:45:40 +0000 Subject: [PATCH 135/228] IOS-5440 Support muted multichats chats --- .../ChatHeader/ChatHeaderViewModel.swift | 2 +- .../Mocks/Models/SpaceViewMock.swift | 5 ++++- .../SpaceStorage/Models/SpaceView.swift | 22 +++++++++++++++++++ 3 files changed, 27 insertions(+), 2 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/ChatHeader/ChatHeaderViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/ChatHeader/ChatHeaderViewModel.swift index f4d499b0ce..de50371db1 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/ChatHeader/ChatHeaderViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/ChatHeader/ChatHeaderViewModel.swift @@ -64,7 +64,7 @@ final class ChatHeaderViewModel: ObservableObject { title = spaceView.title icon = spaceView.objectIconImage showWidgetsButton = spaceView.chatId == chatId && spaceView.initialScreenIsChat - muted = !spaceView.pushNotificationMode.isUnmutedAll + muted = !spaceView.effectiveNotificationMode(for: chatId).isUnmutedAll showAddMembersButton = participantSpaceView.participant?.permission == .owner } } diff --git a/Anytype/Sources/PreviewMocks/Mocks/Models/SpaceViewMock.swift b/Anytype/Sources/PreviewMocks/Mocks/Models/SpaceViewMock.swift index a6d7d3ed3d..0ba09f1f83 100644 --- a/Anytype/Sources/PreviewMocks/Mocks/Models/SpaceViewMock.swift +++ b/Anytype/Sources/PreviewMocks/Mocks/Models/SpaceViewMock.swift @@ -28,7 +28,10 @@ extension SpaceView { spaceOrder: "", uxType: .allCases.randomElement()!, pushNotificationEncryptionKey: "", - pushNotificationMode: .allCases.randomElement()! + pushNotificationMode: .allCases.randomElement()!, + forceAllIds: [], + forceMuteIds: [], + forceMentionIds: [] ) } } diff --git a/Anytype/Sources/ServiceLayer/SpaceStorage/Models/SpaceView.swift b/Anytype/Sources/ServiceLayer/SpaceStorage/Models/SpaceView.swift index 62a93d3250..ad2a4bd843 100644 --- a/Anytype/Sources/ServiceLayer/SpaceStorage/Models/SpaceView.swift +++ b/Anytype/Sources/ServiceLayer/SpaceStorage/Models/SpaceView.swift @@ -20,6 +20,9 @@ struct SpaceView: Identifiable, Equatable, Hashable { let uxType: SpaceUxType let pushNotificationEncryptionKey: String let pushNotificationMode: SpacePushNotificationsMode + let forceAllIds: [String] + let forceMuteIds: [String] + let forceMentionIds: [String] } extension SpaceView: DetailsModel { @@ -41,6 +44,9 @@ extension SpaceView: DetailsModel { self.uxType = details.spaceUxTypeValue ?? .data self.pushNotificationEncryptionKey = details.spacePushNotificationEncryptionKey self.pushNotificationMode = details.spacePushNotificationModeValue ?? .all + self.forceAllIds = details.spacePushNotificationForceAllIds + self.forceMuteIds = details.spacePushNotificationForceMuteIds + self.forceMentionIds = details.spacePushNotificationForceMentionIds } static let subscriptionKeys: [BundledPropertyKey] = .builder { @@ -62,6 +68,9 @@ extension SpaceView: DetailsModel { BundledPropertyKey.spaceUxType BundledPropertyKey.spacePushNotificationEncryptionKey BundledPropertyKey.spacePushNotificationMode + BundledPropertyKey.spacePushNotificationForceAllIds + BundledPropertyKey.spacePushNotificationForceMuteIds + BundledPropertyKey.spacePushNotificationForceMentionIds } } @@ -125,4 +134,17 @@ extension SpaceView { private func activeWriters(participants: [Participant]) -> Int { participants.filter { $0.permission == .writer || $0.permission == .owner }.count } + + func effectiveNotificationMode(for chatId: String) -> SpacePushNotificationsMode { + if forceAllIds.contains(chatId) { + return .all + } + if forceMuteIds.contains(chatId) { + return .nothing + } + if forceMentionIds.contains(chatId) { + return .mentions + } + return pushNotificationMode + } } From d4d1bb1dd43b7d19a4da3d3bbfd562d5dc38d05b Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 6 Nov 2025 12:54:57 +0000 Subject: [PATCH 136/228] IOS-5440 Remove duplicate notification state field from SpaceCardModel --- .../Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift | 4 ++-- .../Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift | 1 - .../SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift | 1 - 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift index 49404971d0..7d6ca4ffc2 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCard.swift @@ -63,9 +63,9 @@ struct SpaceCard: View { onTapMute() } label: { HStack { - Text(model.allNotificationsUnmuted ? Loc.mute : Loc.unmute) + Text(!model.isMuted ? Loc.mute : Loc.unmute) Spacer() - Image(systemName: model.allNotificationsUnmuted ? "bell.slash" : "bell") + Image(systemName: !model.isMuted ? "bell.slash" : "bell") } } } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift index fe30045972..4cfb509552 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift @@ -11,7 +11,6 @@ struct SpaceCardModel: Equatable, Identifiable { let isShared: Bool let isMuted: Bool let uxTypeName: String - let allNotificationsUnmuted: Bool let lastMessage: SpaceCardLastMessageModel? let unreadCounter: Int diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift index e4a85d2f6f..475a0ab924 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift @@ -60,7 +60,6 @@ final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { isShared: spaceView.isShared, isMuted: !spaceView.pushNotificationMode.isUnmutedAll, uxTypeName: spaceView.uxType.name, - allNotificationsUnmuted: spaceView.pushNotificationMode.isUnmutedAll, lastMessage: lastMessage, unreadCounter: preview.unreadCounter, mentionCounter: preview.mentionCounter, From 41d67a93f329f89bcd94afef625887a9f51e5f72 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 6 Nov 2025 12:17:50 +0000 Subject: [PATCH 137/228] IOS-5351 Show multichat previews and sum counters across all chats in Space Hub --- .../ParticipantSpaceViewDataWithPreview.swift | 30 +++++++++++++------ .../Helpers/SpaceHubSpacesStorage.swift | 30 ++++++++++++------- .../Modules/SpaceHub/SpaceHubViewModel.swift | 4 +-- .../SpaceCard/SpaceCardModelBuilder.swift | 10 +++---- 4 files changed, 48 insertions(+), 26 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Helpers/ParticipantSpaceViewDataWithPreview.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Helpers/ParticipantSpaceViewDataWithPreview.swift index bb97d4e0f4..b84b28146e 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Helpers/ParticipantSpaceViewDataWithPreview.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Helpers/ParticipantSpaceViewDataWithPreview.swift @@ -4,21 +4,33 @@ import StoredHashMacro @StoredHash struct ParticipantSpaceViewDataWithPreview: Equatable, Identifiable, Hashable { let space: ParticipantSpaceViewData - let preview: ChatMessagePreview - + let latestPreview: ChatMessagePreview + let totalUnreadCounter: Int + let totalMentionCounter: Int + var id: String { space.id } - + var spaceView: SpaceView { space.spaceView } - - var hasCounters: Bool { preview.unreadCounter > 0 || preview.mentionCounter > 0 } - - func updated(preview: ChatMessagePreview) -> Self { - ParticipantSpaceViewDataWithPreview(space: space, preview: preview) + + var hasCounters: Bool { totalUnreadCounter > 0 || totalMentionCounter > 0 } + + func updated(latestPreview: ChatMessagePreview, totalUnread: Int, totalMentions: Int) -> Self { + ParticipantSpaceViewDataWithPreview( + space: space, + latestPreview: latestPreview, + totalUnreadCounter: totalUnread, + totalMentionCounter: totalMentions + ) } } extension ParticipantSpaceViewDataWithPreview { init(space: ParticipantSpaceViewData) { - self.init(space: space, preview: ChatMessagePreview(spaceId: space.id, chatId: space.spaceView.chatId)) + self.init( + space: space, + latestPreview: ChatMessagePreview(spaceId: space.id, chatId: space.spaceView.chatId), + totalUnreadCounter: 0, + totalMentionCounter: 0 + ) } } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Helpers/SpaceHubSpacesStorage.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Helpers/SpaceHubSpacesStorage.swift index 54a22c2db9..315f24f754 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Helpers/SpaceHubSpacesStorage.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Helpers/SpaceHubSpacesStorage.swift @@ -26,19 +26,29 @@ actor SpaceHubSpacesStorage: SpaceHubSpacesStorageProtocol { ).throttle(milliseconds: 300) return combineStream.map { (spaces, previews) in - var spaces = spaces.map { ParticipantSpaceViewDataWithPreview(space: $0) } - - for preview in previews { - if let spaceIndex = spaces.firstIndex(where: { $0.spaceView.targetSpaceId == preview.spaceId }) { - let participantSpace = spaces[spaceIndex] - - if participantSpace.spaceView.chatId == preview.chatId { - spaces[spaceIndex] = spaces[spaceIndex].updated(preview: preview) + spaces.map { space in + let spacePreviews = previews.filter { $0.spaceId == space.spaceView.targetSpaceId } + + guard let latestPreview = spacePreviews.max(by: { preview1, preview2 in + guard let date1 = preview1.lastMessage?.createdAt, + let date2 = preview2.lastMessage?.createdAt else { + return preview1.lastMessage == nil } + return date1 < date2 + }) else { + return ParticipantSpaceViewDataWithPreview(space: space) } + + let totalUnread = spacePreviews.reduce(0) { $0 + $1.unreadCounter } + let totalMentions = spacePreviews.reduce(0) { $0 + $1.mentionCounter } + + return ParticipantSpaceViewDataWithPreview( + space: space, + latestPreview: latestPreview, + totalUnreadCounter: totalUnread, + totalMentionCounter: totalMentions + ) } - - return spaces } .removeDuplicates() .eraseToAnyAsyncSequence() diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift index 8785caeef9..3000f45ece 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift @@ -148,8 +148,8 @@ final class SpaceHubViewModel { case (false, true): return false case (false, false): - let lhsMessageDate = lhs.preview.lastMessage?.createdAt - let rhsMessageDate = rhs.preview.lastMessage?.createdAt + let lhsMessageDate = lhs.latestPreview.lastMessage?.createdAt + let rhsMessageDate = rhs.latestPreview.lastMessage?.createdAt let lhsJoinDate = lhs.spaceView.joinDate let rhsJoinDate = rhs.spaceView.joinDate diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift index e4a85d2f6f..0ab9234058 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift @@ -30,9 +30,9 @@ final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { wallpapers: [String: SpaceWallpaperType] ) -> SpaceCardModel { let spaceView = spaceData.spaceView - let preview = spaceData.preview + let latestPreview = spaceData.latestPreview - let lastMessage = preview.lastMessage.map { lastMessagePreview in + let lastMessage = latestPreview.lastMessage.map { lastMessagePreview in let attachments = lastMessagePreview.attachments.prefix(3).map { objectDetails in SpaceCardLastMessageModel.Attachment( id: objectDetails.id, @@ -62,9 +62,9 @@ final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { uxTypeName: spaceView.uxType.name, allNotificationsUnmuted: spaceView.pushNotificationMode.isUnmutedAll, lastMessage: lastMessage, - unreadCounter: preview.unreadCounter, - mentionCounter: preview.mentionCounter, - hasCounters: preview.hasCounters, + unreadCounter: spaceData.totalUnreadCounter, + mentionCounter: spaceData.totalMentionCounter, + hasCounters: spaceData.hasCounters, wallpaper: wallpapers[spaceView.targetSpaceId] ?? .default ) } From e97aa733f10e07d3c8fe5bee8f282f0c114ca736 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 6 Nov 2025 15:03:11 +0000 Subject: [PATCH 138/228] IOS-5420 Add analytics-developer skill and update CLAUDE.md with skill usage guidance --- .claude/hooks/skill-rules.json | 82 +++++- .claude/hooks/skill-rules.json.tmp | 0 .claude/skills/analytics-developer/SKILL.md | 285 ++++++++++++++++++++ CLAUDE.md | 36 +++ 4 files changed, 392 insertions(+), 11 deletions(-) delete mode 100644 .claude/hooks/skill-rules.json.tmp create mode 100644 .claude/skills/analytics-developer/SKILL.md diff --git a/.claude/hooks/skill-rules.json b/.claude/hooks/skill-rules.json index 086613c5d1..748c0c0708 100644 --- a/.claude/hooks/skill-rules.json +++ b/.claude/hooks/skill-rules.json @@ -205,21 +205,27 @@ "description": "Smart router to skills/hooks management (→ SKILLS_MANAGEMENT_GUIDE.md). Troubleshoot activation, add keywords, fine-tune system", "promptTriggers": { "keywords": [ + "activation log", + "add keyword", + "check logs", + "claude.md", + "false negative", + "false positive", + "fine-tune", + "hook", + "hooks system", + "instances", + "knowledge", + "proactive", "skill activation", "skill didn't activate", - "hook", - "troubleshoot skill", - "fine-tune", - "add keyword", + "skill not working", "skill-rules.json", - "activation log", - "why didn't", - "false positive", - "false negative", - "check logs", "skills system", - "hooks system", - "skill not working" + "solidify", + "suggested", + "troubleshoot skill", + "why didn't" ], "intentPatterns": [ "(check|view|show).*?(activation|log|skill)", @@ -327,6 +333,60 @@ "@State.*FeatureFlags" ] } + }, + "analytics-developer": { + "type": "domain", + "priority": "high", + "description": "Smart router to analytics system (→ ANALYTICS_PATTERNS.md). Event logging, route tracking, AnalyticsConstants enums", + "promptTriggers": { + "keywords": [ + "analytics", + "route tracking", + "logEvent", + "AnytypeAnalytics", + "AnalyticsConstants", + "analytics event", + "track route", + "event properties", + "AnalyticsEventsPropertiesKey", + "route enum", + "HomeWidgetRoute", + "analytics pattern", + "log screen", + "log click", + "logScreen", + "logClick", + "amplitude", + "analytics tracking", + "user analytics" + ], + "intentPatterns": [ + "(add|create|implement).*?(analytics|event|route tracking)", + "(track|log).*?(route|screen|click|user|event|action)", + "(update|modify).*?(analytics|event|route)", + "(how to|where).*?(analytics|track|log|event)", + "(define|add).*?(route enum|analytics enum)" + ] + }, + "fileTriggers": { + "pathPatterns": [ + "**/AnalyticsConstants.swift", + "**/AnytypeAnalytics+Events.swift", + "**/Analytics/**/*.swift", + "**/ANALYTICS_PATTERNS.md" + ], + "contentPatterns": [ + "AnytypeAnalytics\\.instance\\(\\)", + "logEvent\\(", + "AnalyticsEventsPropertiesKey\\.", + "enum.*Route.*String", + "\\.analyticsValue", + "\\.analyticsType", + "\\.analyticsId", + "logScreen", + "logClick" + ] + } } }, "config": { diff --git a/.claude/hooks/skill-rules.json.tmp b/.claude/hooks/skill-rules.json.tmp deleted file mode 100644 index e69de29bb2..0000000000 diff --git a/.claude/skills/analytics-developer/SKILL.md b/.claude/skills/analytics-developer/SKILL.md new file mode 100644 index 0000000000..773742ece0 --- /dev/null +++ b/.claude/skills/analytics-developer/SKILL.md @@ -0,0 +1,285 @@ +# Analytics Developer (Smart Router) + +## Purpose +Context-aware routing to the Anytype iOS analytics system. Helps you add analytics events, track user routes, and maintain consistent analytics patterns. + +## When Auto-Activated +- Working with analytics events or AnytypeAnalytics +- Adding route tracking or event properties +- Modifying `AnalyticsConstants.swift` or `AnytypeAnalytics+Events.swift` +- Keywords: analytics, route tracking, logEvent, AnytypeAnalytics, AnalyticsConstants + +## 🚨 CRITICAL RULES (NEVER VIOLATE) + +1. **ALWAYS define route enums in AnalyticsConstants.swift** - Never hardcode route strings +2. **ALWAYS use existing property keys** - Use `AnalyticsEventsPropertiesKey.*` +3. **NEVER use string literals for routes** - Use typed enums with `.rawValue` +4. **ALWAYS use `.compactMapValues { $0 }` for optional properties** - Removes nil values +5. **ALWAYS track route context** - Know how users reached a feature + +## 📋 Quick Workflow + +### Adding New Analytics Event + +1. **Define route enum** (if needed): Add to `AnalyticsConstants.swift` +2. **Add event method**: Add to `AnytypeAnalytics+Events.swift` +3. **Use in code**: Call `AnytypeAnalytics.instance().logYourEvent(...)` + +### Adding Route Tracking to Existing Screen + +1. **Define route enum**: Add `YourFeatureRoute` to `AnalyticsConstants.swift` +2. **Update data model**: Add `route: YourFeatureRoute?` parameter +3. **Pass through hierarchy**: Coordinator → View → ViewModel +4. **Update analytics call**: Pass route to existing log method + +## 🎯 Common Patterns + +### Pattern 1: Screen Analytics (onAppear) + +```swift +// ViewModel +final class HomeWidgetsViewModel { + let route: HomeWidgetRoute? + + func onAppear() { + AnytypeAnalytics.instance().logScreenWidget(route: route) + } +} + +// Analytics method (AnytypeAnalytics+Events.swift) +func logScreenWidget(route: HomeWidgetRoute?) { + logEvent("ScreenWidget", withEventProperties: [ + AnalyticsEventsPropertiesKey.route: route?.rawValue + ].compactMapValues { $0 }) +} + +// Route enum (AnalyticsConstants.swift) +enum HomeWidgetRoute: String, Hashable, Codable { + case home = "Home" + case space = "Space" + case appLaunch = "AppLaunch" +} +``` + +### Pattern 2: Button Click Analytics + +```swift +// ViewModel +func onTapShare() { + AnytypeAnalytics.instance().logClickShare(type: .link, route: .settings) + output?.onShareSelected() +} + +// Analytics method +func logClickShare(type: ShareType, route: ShareRoute) { + logEvent("ClickShare", withEventProperties: [ + AnalyticsEventsPropertiesKey.type: type.rawValue, + AnalyticsEventsPropertiesKey.route: route.rawValue + ]) +} +``` + +### Pattern 3: Multi-Space Events + +```swift +func logCreateObject(objectType: AnalyticsObjectType, spaceId: String, route: AnalyticsEventsRouteKind) { + logEvent("CreateObject", spaceId: spaceId, withEventProperties: [ + AnalyticsEventsPropertiesKey.objectType: objectType.analyticsId, + AnalyticsEventsPropertiesKey.route: route.rawValue + ]) +} +``` + +## 🗂️ Analytics File Structure + +### Key Files +- **AnalyticsConstants.swift** - All route enums, property keys (400+ lines) +- **AnytypeAnalytics+Events.swift** - All event methods (1,500+ lines) +- **Converters/** - Domain type → analytics value converters + +### Route Enum Location + +**Always add to AnalyticsConstants.swift**, grouped by feature: + +```swift +// Widget-related routes +enum AnalyticsWidgetRoute: String { + case addWidget = "AddWidget" + case inner = "Inner" +} + +enum HomeWidgetRoute: String, Hashable, Codable { + case home = "Home" + case space = "Space" + case appLaunch = "AppLaunch" +} + +// Screen navigation routes +enum SettingsSpaceShareRoute: String { + case settings = "Settings" + case navigation = "Navigation" + case chat = "Chat" +} +``` + +## 📈 Route Tracking Implementation + +### Step-by-Step: Adding Route to Screen + +**Example: Adding route tracking to ScreenWidget** + +1. **Define route enum** (AnalyticsConstants.swift): +```swift +enum HomeWidgetRoute: String, Hashable, Codable { + case home = "Home" // Home button click + case space = "Space" // Space selection + case appLaunch = "AppLaunch" // App launch +} +``` + +2. **Update data model**: +```swift +struct HomeWidgetData: Hashable { + let spaceId: String + let route: HomeWidgetRoute? // Add route parameter +} +``` + +3. **Pass through view hierarchy**: +```swift +// Coordinator +HomeWidgetsView(info: info, output: model, route: data.route) + +// View +HomeWidgetsViewModel(info: info, output: output, route: route) +``` + +4. **Update analytics call**: +```swift +// ViewModel +func onAppear() { + AnytypeAnalytics.instance().logScreenWidget(route: route) +} + +// Analytics method +func logScreenWidget(route: HomeWidgetRoute?) { + logEvent("ScreenWidget", withEventProperties: [ + AnalyticsEventsPropertiesKey.route: route?.rawValue + ].compactMapValues { $0 }) +} +``` + +5. **Set route at navigation points**: +```swift +// Home button +let data = HomeWidgetData(spaceId: spaceId, route: .home) + +// Space selection +let data = HomeWidgetData(spaceId: spaceId, route: .space) + +// App launch +let data = HomeWidgetData(spaceId: spaceId, route: .appLaunch) +``` + +## 🔧 Common Property Keys + +Located in `AnalyticsEventsPropertiesKey`: + +| Key | Usage | Example | +|-----|-------|---------| +| `route` | Navigation context | `.home`, `.navigation`, `.widget` | +| `type` | Primary classification | `.image`, `.video`, `.file` | +| `objectType` | Object type ID | `type.analyticsType.analyticsId` | +| `spaceId` | Space identifier | `document.spaceId` | +| `count` | Quantity values | Number of items | +| `format` | Data format | File format, date format | + +## ⚠️ Common Mistakes + +### ❌ Hardcoded Route Strings +```swift +// WRONG +AnytypeAnalytics.instance().logScreenWidget(route: "Home") + +// CORRECT +AnytypeAnalytics.instance().logScreenWidget(route: .home) +``` + +### ❌ Route Enum in Wrong File +```swift +// WRONG - defined in feature file +enum HomeWidgetRoute: String { + case home = "Home" +} + +// CORRECT - defined in AnalyticsConstants.swift +``` + +### ❌ Missing compactMapValues +```swift +// WRONG - will include nil values as NSNull +[AnalyticsEventsPropertiesKey.route: route?.rawValue] + +// CORRECT - removes nil values +[AnalyticsEventsPropertiesKey.route: route?.rawValue].compactMapValues { $0 } +``` + +### ❌ Using String Literals for Property Keys +```swift +// WRONG +["route": route.rawValue] + +// CORRECT +[AnalyticsEventsPropertiesKey.route: route.rawValue] +``` + +## 🔍 Finding Existing Patterns + +```bash +# Search for existing events +rg "logEvent.*EventName" Anytype/Sources/Analytics/ + +# Find route enums +rg "enum.*Route.*String" Anytype/Sources/Analytics/AnalyticsConstants.swift + +# Find property usage +rg "AnalyticsEventsPropertiesKey\." Anytype/Sources/Analytics/ + +# Find screen analytics +rg "func logScreen" Anytype/Sources/Analytics/AnytypeAnalytics+Events.swift +``` + +## 📚 Complete Documentation + +**Full Guide**: `Anytype/Sources/PresentationLayer/Common/Analytics/ANALYTICS_PATTERNS.md` + +For comprehensive coverage of: +- Analytics system architecture +- All analytics patterns (user actions, screen navigation, content creation) +- Route context tracking best practices +- Platform-specific considerations +- Testing analytics events +- Migration patterns for adding parameters +- Complete examples and code snippets + +## ✅ Workflow Checklist + +When adding analytics: + +- [ ] Route enum added to `AnalyticsConstants.swift` +- [ ] Event method added to `AnytypeAnalytics+Events.swift` +- [ ] Used existing property keys (`AnalyticsEventsPropertiesKey.*`) +- [ ] Optional properties use `.compactMapValues { $0 }` +- [ ] Route passed through view hierarchy (if tracking navigation) +- [ ] No hardcoded strings for routes or property keys +- [ ] Followed existing naming conventions (PascalCase events, camelCase properties) + +## 🔗 Related Skills & Docs + +- **ios-dev-guidelines** → `IOS_DEVELOPMENT_GUIDE.md` - MVVM/Coordinator patterns for passing analytics data +- **code-generation-developer** → Understanding the build system +- **design-system-developer** → Tracking UI interactions + +--- + +**Navigation**: This is a smart router. For deep patterns and examples, always refer to `ANALYTICS_PATTERNS.md`. diff --git a/CLAUDE.md b/CLAUDE.md index 98bc5352ef..4de8ab35e7 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -53,9 +53,45 @@ The skills system provides context-aware guidance that auto-activates based on y - **code-generation-developer** → Auto-activates for code generation - **design-system-developer** → Auto-activates for UI/design work - **code-review-developer** → Auto-activates when reviewing PRs or code changes +- **analytics-developer** → Auto-activates for analytics events and route tracking +- **feature-toggle-developer** → Auto-activates for feature flag removal +- **skills-manager** → Auto-activates for skill system management **How it works**: When you start a task, the system analyzes your prompt and file context, then automatically suggests relevant skills. No manual loading needed. +**🚨 CRITICAL: Claude Must Actively Use Skills** + +The hook system only **suggests** skills - it does NOT auto-load them. When you (Claude) see skill suggestions in system reminders, you MUST: + +1. **📚 When you see "Relevant Skill: X"**: + - IMMEDIATELY read `.claude/skills/X/SKILL.md` + - Apply the patterns and rules from that skill + - Don't just acknowledge - actively use the skill's guidance + +2. **💡 When you see "NO SKILLS ACTIVATED"**: + - ASK the user: "Should the [skill-name] skill have activated for this task?" + - If yes, run: `.claude/hooks/utils/extract-keywords.sh "user's prompt"` + - Then run: `.claude/hooks/utils/add-keywords-to-skill.sh ` + - This teaches the system for future prompts + +3. **🎯 Be Proactive**: + - Notice skill suggestions in EVERY system reminder + - Read suggested skills even if you think you know the answer + - Skills contain critical, project-specific patterns you must follow + +**Example Flow**: +``` +User: "Add analytics to track button clicks" +System: 📚 Relevant Skill: analytics-developer +Claude: [Reads .claude/skills/analytics-developer/SKILL.md] +Claude: [Follows the patterns in that skill] +``` + +**Why This Matters**: +- Skills contain CRITICAL project-specific rules (e.g., "NEVER hardcode strings") +- Each instance of Claude needs to learn from skills, not just general knowledge +- The skill system enables consistent behavior across all Claude instances + **Auto-learning**: When the system fails to activate a skill for a substantial prompt (100+ chars or 3+ lines): 1. You'll be prompted with available skills 2. If you identify which skill should have activated, tell Claude From 87387268c04be2a2d46c9cdecf68e0bb824ad6c9 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 6 Nov 2025 15:11:00 +0000 Subject: [PATCH 139/228] IOS-5420 Add auto-proceed behavior for approved code reviews in /cpp workflow --- .claude/commands/cpp.md | 7 ++++--- .claude/settings.json | 4 +++- CLAUDE.md | 1 + 3 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.claude/commands/cpp.md b/.claude/commands/cpp.md index 7326bcf3c3..cfec5b9772 100644 --- a/.claude/commands/cpp.md +++ b/.claude/commands/cpp.md @@ -27,18 +27,19 @@ Commits the current changes, performs a code review, applies fixes if needed, th - Apply CODE_REVIEW_GUIDE.md standards - Check for bugs, best practices violations, performance issues, security concerns -### 3. Review Findings +### 3. Review Findings and Auto-Proceed - Present review results to developer - If issues found, **STOP and discuss** with developer: - Should we fix the issues now? - Are the findings valid or false positives? - Should we proceed anyway? - **Developer decides next steps** - never auto-amend commits +- **If review is approved (✅)**: Automatically proceed to push and PR without asking -### 4. Push and PR (when approved) -- Only proceed when developer approves +### 4. Push and PR (auto-proceed when approved) - Push to remote with tracking - Create pull request with summary +- No confirmation needed when code review is approved ## Branch Handling When a branch name is provided: diff --git a/.claude/settings.json b/.claude/settings.json index d64a97def9..aaeca3ded8 100644 --- a/.claude/settings.json +++ b/.claude/settings.json @@ -43,7 +43,9 @@ "mcp__linear__list_issue_labels", "mcp__linear__get_team", "mcp__linear__search_documentation", - + + "SlashCommand(/codeReview)", + "Bash(gh pr list:*)", "Bash(gh pr diff:*)", "Bash(git fetch:*)", diff --git a/CLAUDE.md b/CLAUDE.md index 98bc5352ef..bbd97b09a9 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -38,6 +38,7 @@ make setup-middle # Initial setup ### AI Assistance - **Always present a detailed action plan before implementing multi-step changes and await approval before proceeding** +- **When code review is approved**: Proceed directly with push and PR creation without asking for confirmation ### 📚 Skills System & Documentation (Progressive Disclosure) From fa7facb1432a86a0f9e5e98687c733b6e7f25279 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 6 Nov 2025 15:11:54 +0000 Subject: [PATCH 140/228] IOS-5420 Fix verbose code review output for clean approvals --- .claude/skills/code-review-developer/SKILL.md | 18 +++++++++++++++++- .github/workflows/pr-review-automation.md | 18 ++++++++++++++---- 2 files changed, 31 insertions(+), 5 deletions(-) diff --git a/.claude/skills/code-review-developer/SKILL.md b/.claude/skills/code-review-developer/SKILL.md index 8ad143ada3..1279b0a5c3 100644 --- a/.claude/skills/code-review-developer/SKILL.md +++ b/.claude/skills/code-review-developer/SKILL.md @@ -43,6 +43,8 @@ Context-aware routing to code review guidelines. Helps you conduct thorough, act ✅ **Approved** - No issues found ``` +**CRITICAL**: When approving, output ONLY the line above. NO additional explanation, NO listing what the PR does, NO praise. Just the approval line. + **If issues found**: ``` ## Bugs/Issues @@ -218,7 +220,21 @@ For GitHub Actions integration: ✅ **Approved** - No issues found ``` -**That's it! Don't add explanations, don't list changes.** +**That's it! Absolutely nothing else. Not even in comments posted to GitHub.** + +**❌ WRONG** (too verbose): +``` +✅ **Approved** - No issues found + +The PR correctly implements per-chat notification overrides: +- Added force list properties with proper subscription keys +- effectiveNotificationMode(for:) method correctly prioritizes... +``` + +**✅ CORRECT**: +``` +✅ **Approved** - No issues found +``` ### Example 2: Minor Issues ``` diff --git a/.github/workflows/pr-review-automation.md b/.github/workflows/pr-review-automation.md index f50f8a2b26..993ae4fd73 100644 --- a/.github/workflows/pr-review-automation.md +++ b/.github/workflows/pr-review-automation.md @@ -5,12 +5,22 @@ - **PR NUMBER**: Pull request number (injected by workflow) - **COMMIT SHA**: Commit SHA being reviewed (injected by workflow) -## Review Standards +## 🚨 CRITICAL OUTPUT RULES -**Apply the shared review guidelines from:** -`.github/workflows/code-review-guidelines.md` +**If NO issues found:** +``` +✅ **Approved** - No issues found +``` + +**DO NOT add ANY additional text:** +- ❌ NO "The PR correctly implements..." +- ❌ NO explanations of what changed +- ❌ NO lists of what was added/cleaned +- ❌ NO implementation details +- ❌ ONLY the one-line approval message above -Follow all core rules, review sections, common mistakes, and analysis checklist defined in that file. +**If issues ARE found:** +Follow the format from `.claude/skills/code-review-developer/SKILL.md` ## CI-Specific Reference Documentation From b7ed3c7c0e9836e51200e0975f9233f5d5e1bce6 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 6 Nov 2025 14:59:40 +0000 Subject: [PATCH 141/228] IOS-5428 Log widgets appearance --- .../Sources/Analytics/AnalyticsConstants.swift | 6 ++++++ .../AnytypeAnalytics+Events.swift | 6 ++++-- .../HomeWidgetsCoordinatorView.swift | 15 +++++++++------ .../SpaceHub/SpaceHubCoordinatorViewModel.swift | 12 ++++++------ .../SpaceHub/Support/SpaceHubPathManager.swift | 2 +- .../HomeWidgets/Container/HomeWidgetsView.swift | 11 ++++++----- .../Container/HomeWidgetsViewModel.swift | 9 ++++++--- 7 files changed, 38 insertions(+), 23 deletions(-) diff --git a/Anytype/Sources/Analytics/AnalyticsConstants.swift b/Anytype/Sources/Analytics/AnalyticsConstants.swift index 788a00deaf..f3c93f84fe 100644 --- a/Anytype/Sources/Analytics/AnalyticsConstants.swift +++ b/Anytype/Sources/Analytics/AnalyticsConstants.swift @@ -171,6 +171,12 @@ enum AnalyticsWidgetContext: String, Hashable { case auto = "Auto" } +enum HomeWidgetRoute: String, Hashable, Codable { + case home = "Home" + case space = "Space" + case appLaunch = "AppLaunch" +} + enum RemoveCompletelyRoute: String { case bin = "Bin" case settings = "Settings" diff --git a/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift b/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift index 2e0d119ea2..82d6365f32 100644 --- a/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift +++ b/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift @@ -1319,8 +1319,10 @@ extension AnytypeAnalytics { logEvent("HistoryBack") } - func logScreenWidget() { - logEvent("ScreenWidget") + func logScreenWidget(route: HomeWidgetRoute?) { + logEvent("ScreenWidget", withEventProperties: [ + AnalyticsEventsPropertiesKey.route: route?.rawValue + ].compactMapValues { $0 }) } func logScreenBin() { diff --git a/Anytype/Sources/PresentationLayer/Flows/HomeWidgetsCoordinator/HomeWidgetsCoordinatorView.swift b/Anytype/Sources/PresentationLayer/Flows/HomeWidgetsCoordinator/HomeWidgetsCoordinatorView.swift index ea1536011c..3acfcf0524 100644 --- a/Anytype/Sources/PresentationLayer/Flows/HomeWidgetsCoordinator/HomeWidgetsCoordinatorView.swift +++ b/Anytype/Sources/PresentationLayer/Flows/HomeWidgetsCoordinator/HomeWidgetsCoordinatorView.swift @@ -4,29 +4,32 @@ import Services struct HomeWidgetData: Hashable { let spaceId: String + let route: HomeWidgetRoute? } struct HomeWidgetsCoordinatorView: View { let data: HomeWidgetData - + var body: some View { SpaceLoadingContainerView(spaceId: data.spaceId, showBackground: true) { - HomeWidgetsCoordinatorInternalView(info: $0) + HomeWidgetsCoordinatorInternalView(info: $0, route: data.route) } } } private struct HomeWidgetsCoordinatorInternalView: View { - + @State private var model: HomeWidgetsCoordinatorViewModel @Environment(\.pageNavigation) private var pageNavigation - - init(info: AccountInfo) { + let route: HomeWidgetRoute? + + init(info: AccountInfo, route: HomeWidgetRoute?) { self._model = State(wrappedValue: HomeWidgetsCoordinatorViewModel(info: info)) + self.route = route } var body: some View { - HomeWidgetsView(info: model.spaceInfo, output: model) + HomeWidgetsView(info: model.spaceInfo, output: model, route: route) .onAppear { model.pageNavigation = pageNavigation } diff --git a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorViewModel.swift b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorViewModel.swift index 00518fcdde..a01a3c349a 100644 --- a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorViewModel.swift @@ -61,7 +61,7 @@ final class SpaceHubCoordinatorViewModel: SpaceHubModuleOutput { self?.showScreenSync(data: data) }, pushHome: { [weak self] in guard let self, let currentSpaceId else { return } - navigationPath.push(HomeWidgetData(spaceId: currentSpaceId)) + navigationPath.push(HomeWidgetData(spaceId: currentSpaceId, route: .home)) }, pop: { [weak self] in self?.navigationPath.pop() }, popToFirstInSpace: { [weak self] in @@ -163,12 +163,12 @@ final class SpaceHubCoordinatorViewModel: SpaceHubModuleOutput { func setupInitialScreen() async { guard !loginStateService.isFirstLaunchAfterRegistration, appActionsStorage.action.isNil else { return } - + switch userDefaults.lastOpenedScreen { case .editor(let editorData): try? await showScreen(data: .editor(editorData)) case .widgets(let spaceId): - try? await showScreen(data: .widget(HomeWidgetData(spaceId: spaceId))) + try? await showScreen(data: .widget(HomeWidgetData(spaceId: spaceId, route: .appLaunch))) case .chat(let data): try? await showScreen(data: .chat(data)) case .spaceChat(let data): @@ -308,7 +308,7 @@ final class SpaceHubCoordinatorViewModel: SpaceHubModuleOutput { let chatData = SpaceChatCoordinatorData(spaceId: spaceView.targetSpaceId) try await showScreen(data: .spaceChat(chatData)) } else { - let widgetData = HomeWidgetData(spaceId: spaceView.targetSpaceId) + let widgetData = HomeWidgetData(spaceId: spaceView.targetSpaceId, route: .space) try await showScreen(data: .widget(widgetData)) } } @@ -357,7 +357,7 @@ final class SpaceHubCoordinatorViewModel: SpaceHubModuleOutput { case .spaceChat(let data): currentPath.openOnce(data) case .widget(let data): - let data = HomeWidgetData(spaceId: data.spaceId) + let data = HomeWidgetData(spaceId: data.spaceId, route: nil) currentPath.openOnce(data) } @@ -433,7 +433,7 @@ final class SpaceHubCoordinatorViewModel: SpaceHubModuleOutput { if spaceView.initialScreenIsChat { SpaceChatCoordinatorData(spaceId: spaceView.targetSpaceId) } else { - HomeWidgetData(spaceId: spaceView.targetSpaceId) + HomeWidgetData(spaceId: spaceView.targetSpaceId, route: nil) } } } diff --git a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/Support/SpaceHubPathManager.swift b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/Support/SpaceHubPathManager.swift index 22f9250678..e0afa1e700 100644 --- a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/Support/SpaceHubPathManager.swift +++ b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/Support/SpaceHubPathManager.swift @@ -20,7 +20,7 @@ final class SpaceHubPathUXTypeHelper: SpaceHubPathUXTypeHelperProtocol { case .data: // Expected: SpaceHubNavigationItem, HomeWidgetData let chatItem = SpaceChatCoordinatorData(spaceId: spaceView.targetSpaceId) - let homeItem = HomeWidgetData(spaceId: spaceView.targetSpaceId) + let homeItem = HomeWidgetData(spaceId: spaceView.targetSpaceId, route: nil) path.remove(chatItem) path.remove(homeItem) path.insert(homeItem, at: 1) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsView.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsView.swift index 4e5c2292a0..6d94fc57ae 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsView.swift @@ -6,9 +6,10 @@ import AnytypeCore struct HomeWidgetsView: View { let info: AccountInfo let output: (any HomeWidgetsModuleOutput)? - + let route: HomeWidgetRoute? + var body: some View { - HomeWidgetsInternalView(info: info, output: output) + HomeWidgetsInternalView(info: info, output: output, route: route) .id(info.hashValue) } } @@ -17,9 +18,9 @@ private struct HomeWidgetsInternalView: View { @State private var model: HomeWidgetsViewModel @State var widgetsDndState = DragState() @State var typesDndState = DragState() - - init(info: AccountInfo, output: (any HomeWidgetsModuleOutput)?) { - self._model = State(wrappedValue: HomeWidgetsViewModel(info: info, output: output)) + + init(info: AccountInfo, output: (any HomeWidgetsModuleOutput)?, route: HomeWidgetRoute?) { + self._model = State(wrappedValue: HomeWidgetsViewModel(info: info, output: output, route: route)) } var body: some View { diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift index 7eb9befd1a..baa1115265 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift @@ -14,9 +14,10 @@ final class HomeWidgetsViewModel { } // MARK: - DI - + let info: AccountInfo let widgetObject: any BaseDocumentProtocol + let route: HomeWidgetRoute? @Injected(\.blockWidgetService) @ObservationIgnored private var blockWidgetService: any BlockWidgetServiceProtocol @@ -56,10 +57,12 @@ final class HomeWidgetsViewModel { init( info: AccountInfo, - output: (any HomeWidgetsModuleOutput)? + output: (any HomeWidgetsModuleOutput)?, + route: HomeWidgetRoute? ) { self.info = info self.output = output + self.route = route self.widgetObject = documentService.document(objectId: info.widgetsId, spaceId: info.accountSpaceId) self.pinnedSectionIsExpanded = expandedService.isExpanded(id: Constants.pinnedSectionId, defaultValue: true) self.objectTypeSectionIsExpanded = expandedService.isExpanded(id: Constants.objectTypeSectionId, defaultValue: true) @@ -74,7 +77,7 @@ final class HomeWidgetsViewModel { } func onAppear() { - AnytypeAnalytics.instance().logScreenWidget() + AnytypeAnalytics.instance().logScreenWidget(route: route) } func widgetsDropUpdate(from: DropDataElement, to: DropDataElement) { From 1b73b282c381c7372573edf9f2bfcace6aef519d Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Thu, 6 Nov 2025 21:32:46 +0300 Subject: [PATCH 142/228] IOS-5416 Add data --- .../AnytypeAnalytics/AnytypeAnalytics.swift | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics.swift b/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics.swift index 2bbaec06da..f204055530 100644 --- a/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics.swift +++ b/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics.swift @@ -28,6 +28,8 @@ final class AnytypeAnalytics: @unchecked Sendable { @Injected(\.participantSpacesStorage) private var participantSpacesStorage: any ParticipantSpacesStorageProtocol + @Injected(\.activeSpaceManager) + private var activeSpaceManager: any ActiveSpaceManagerProtocol private init() { userProperties[Keys.interfaceLang] = Locale.current.language.languageCode?.identifier @@ -99,10 +101,20 @@ final class AnytypeAnalytics: @unchecked Sendable { eventProperties[AnalyticsEventsPropertiesKey.uxType] = uxType } - logEvent(eventType, withEventProperties: eventProperties) + logRawEvent(eventType, withEventProperties: eventProperties) } func logEvent(_ eventType: String, withEventProperties eventProperties: [String : Any] = [:]) { + if let workspaceInfo = activeSpaceManager.workspaceInfo { + logEvent(eventType, spaceId: workspaceInfo.accountSpaceId, withEventProperties: eventProperties) + } else { + logRawEvent(eventType, withEventProperties: eventProperties) + } + } + + // MARK: - Private + + private func logRawEvent(_ eventType: String, withEventProperties eventProperties: [String : Any] = [:]) { let eventConfiguration = eventsConfiguration[eventType] if case .notInRow = eventConfiguration?.threshold, lastEvents == eventType { From 8264cdf8b2af4c93872c415c8df3bfa33658f67f Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Thu, 6 Nov 2025 22:04:57 +0300 Subject: [PATCH 143/228] IOS-5416 Delete space ID --- .../AnytypeAnalytics+Events.swift | 65 +++++++------------ .../Date/PropertyCalendarViewModel.swift | 3 +- .../PropertySelectedOptionsModel.swift | 3 +- .../Text/TextPropertyEditingViewModel.swift | 3 +- .../GlobalSearch/GlobalSearchViewModel.swift | 8 +-- .../ObjectSearchWithMetaViewModel.swift | 2 +- .../FileDownloadingCoordinator.swift | 2 +- .../CreateObjectTypeViewModel.swift | 2 +- .../SetObjectCreationSettingsViewModel.swift | 2 +- .../PropertyValueProcessingService.swift | 3 +- .../Handler/SlashMenuActionHandler.swift | 5 +- .../SimpleTablesTextBlockActionHandler.swift | 2 +- .../Text/Base/TextBlockActionHandler.swift | 2 +- .../EditorPageBlocksStateManager.swift | 2 +- .../Models/BlockViewModelBuilder.swift | 2 +- .../ObjectActionsViewModel.swift | 6 +- .../PropertiesListCoordinatorViewModel.swift | 2 +- .../ObjectPropertiesViewModel.swift | 2 +- .../TypePropertiesViewModel.swift | 4 +- .../TextEditor/Set/EditorSetViewModel.swift | 6 +- .../SetPropertiesCoordinatorViewModel.swift | 3 +- .../SetPropertiesViewModel.swift | 3 +- .../BlockActionHandler.swift | 9 ++- .../Pastboard/Operations/PasteboardTask.swift | 8 +-- 24 files changed, 62 insertions(+), 87 deletions(-) diff --git a/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift b/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift index 2e0d119ea2..46ee187d96 100644 --- a/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift +++ b/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift @@ -156,10 +156,9 @@ extension AnytypeAnalytics { ) } - func logChangeObjectType(_ type: AnalyticsObjectType, spaceId: String, route: ChangeObjectTypeRoute? = nil) { + func logChangeObjectType(_ type: AnalyticsObjectType, route: ChangeObjectTypeRoute? = nil) { logEvent( "ChangeObjectType", - spaceId: spaceId, withEventProperties: [ AnalyticsEventsPropertiesKey.objectType: type.analyticsId, AnalyticsEventsPropertiesKey.route: route?.rawValue @@ -241,10 +240,9 @@ extension AnytypeAnalytics { logEvent("DeleteBlock") } - func logUploadMedia(type: FileContentType, spaceId: String, route: UploadMediaRoute) { + func logUploadMedia(type: FileContentType, route: UploadMediaRoute) { logEvent( "UploadMedia", - spaceId: spaceId, withEventProperties: [ AnalyticsEventsPropertiesKey.type: type.rawValue, AnalyticsEventsPropertiesKey.route: route.rawValue @@ -252,10 +250,9 @@ extension AnytypeAnalytics { ) } - func logDownloadMedia(type: FileContentType, spaceId: String) { + func logDownloadMedia(type: FileContentType) { logEvent( "DownloadMedia", - spaceId: spaceId, withEventProperties: [AnalyticsEventsPropertiesKey.type: type.rawValue] ) } @@ -270,7 +267,6 @@ extension AnytypeAnalytics { isNew: Bool, type: AnalyticsEventsRelationType, key: AnalyticsRelationKey, - spaceId: String, route: AnalyticsEventsRouteKind? = nil ) { let properties = [ @@ -282,7 +278,6 @@ extension AnytypeAnalytics { logEvent( isNew ? "CreateRelation" : "AddExistingRelation", - spaceId: spaceId, withEventProperties: properties ) } @@ -291,12 +286,10 @@ extension AnytypeAnalytics { isEmpty: Bool, format: PropertyFormat, type: AnalyticsEventsRelationType, - key: AnalyticsRelationKey, - spaceId: String + key: AnalyticsRelationKey ) { logEvent( isEmpty ? "DeleteRelationValue" : "ChangeRelationValue", - spaceId: spaceId, withEventProperties: [ AnalyticsEventsPropertiesKey.type: type.rawValue, AnalyticsEventsPropertiesKey.format: format.analyticsName, @@ -317,18 +310,17 @@ extension AnytypeAnalytics { logEvent("CreateObject", spaceId: spaceId, withEventProperties: properties) } - func logCreateObjectType(spaceId: String) { + func logCreateObjectType() { let properties = [ AnalyticsEventsPropertiesKey.objectType: "_otobjectType", AnalyticsEventsPropertiesKey.format: "Page" ] - logEvent("CreateObject", spaceId: spaceId, withEventProperties: properties) + logEvent("CreateObject", withEventProperties: properties) } - func logLinkToObject(type: AnalyticsEventsLinkToObjectType, spaceId: String) { + func logLinkToObject(type: AnalyticsEventsLinkToObjectType) { logEvent( "LinkToObject", - spaceId: spaceId, withEventProperties: [ AnalyticsEventsPropertiesKey.linkType: type.rawValue ] @@ -336,10 +328,9 @@ extension AnytypeAnalytics { } // MARK: - Collection - func logScreenCollection(with type: String, spaceId: String) { + func logScreenCollection(with type: String) { logEvent( "ScreenCollection", - spaceId: spaceId, withEventProperties: [ AnalyticsEventsPropertiesKey.embedType: AnalyticsEventsSetCollectionEmbedType.object, AnalyticsEventsPropertiesKey.type: type @@ -349,10 +340,9 @@ extension AnytypeAnalytics { // MARK: - Type - func logScreenType(objectType: AnalyticsObjectType?, spaceId: String) { + func logScreenType(objectType: AnalyticsObjectType?) { logEvent( "ScreenType", - spaceId: spaceId, withEventProperties: [ AnalyticsEventsPropertiesKey.objectType: objectType?.analyticsId ?? "" ] @@ -389,10 +379,9 @@ extension AnytypeAnalytics { } // MARK: - Set - func logScreenSet(with type: String, spaceId: String) { + func logScreenSet(with type: String) { logEvent( "ScreenSet", - spaceId: spaceId, withEventProperties: [ AnalyticsEventsPropertiesKey.embedType: AnalyticsEventsSetCollectionEmbedType.object, AnalyticsEventsPropertiesKey.type: type @@ -686,29 +675,26 @@ extension AnytypeAnalytics { logEvent("SettingsWallpaperSet") } - func logScreenSearch(spaceId: String, type: ScreenSearchType) { + func logScreenSearch(type: ScreenSearchType) { logEvent( "ScreenSearch", - spaceId: spaceId, withEventProperties: [ AnalyticsEventsPropertiesKey.type: type.rawValue ]) } - func logSearchResult(spaceId: String, objectType: String? = nil) { + func logSearchResult(objectType: String? = nil) { logEvent( "SearchResult", - spaceId: spaceId, withEventProperties: [ AnalyticsEventsPropertiesKey.objectType: objectType ].compactMapValues { $0 } ) } - func logSearchInput(spaceId: String, route: SearchInputRoute? = nil) { + func logSearchInput(route: SearchInputRoute? = nil) { logEvent( "SearchInput", - spaceId: spaceId, withEventProperties: [ AnalyticsEventsPropertiesKey.route: route?.rawValue ].compactMapValues { $0 } @@ -749,10 +735,9 @@ extension AnytypeAnalytics { ) } - func logDuplicateObject(count: Int, objectType: AnalyticsObjectType, spaceId: String) { + func logDuplicateObject(count: Int, objectType: AnalyticsObjectType) { logEvent( "DuplicateObject", - spaceId: spaceId, withEventProperties: [ AnalyticsEventsPropertiesKey.count: count, AnalyticsEventsPropertiesKey.objectType: objectType.analyticsId, @@ -760,12 +745,12 @@ extension AnytypeAnalytics { ) } - func logCopyBlock(spaceId: String, countBlocks: Int) { - logEvent("CopyBlock", spaceId: spaceId, withEventProperties: [AnalyticsEventsPropertiesKey.count: countBlocks]) + func logCopyBlock(countBlocks: Int) { + logEvent("CopyBlock", withEventProperties: [AnalyticsEventsPropertiesKey.count: countBlocks]) } - func logPasteBlock(spaceId: String, countBlocks: Int) { - logEvent("PasteBlock", spaceId: spaceId, withEventProperties: [AnalyticsEventsPropertiesKey.count: countBlocks]) + func logPasteBlock(countBlocks: Int) { + logEvent("PasteBlock", withEventProperties: [AnalyticsEventsPropertiesKey.count: countBlocks]) } func logSetObjectDescription() { @@ -930,10 +915,9 @@ extension AnytypeAnalytics { ) } - func logTemplateCreate(objectType: AnalyticsObjectType, spaceId: String) { + func logTemplateCreate(objectType: AnalyticsObjectType) { logEvent( "CreateTemplate", - spaceId: spaceId, withEventProperties: [ AnalyticsEventsPropertiesKey.objectType: objectType.analyticsId ] @@ -970,10 +954,9 @@ extension AnytypeAnalytics { ) } - func logCreateLink(spaceId: String, objectType: AnalyticsObjectType, route: AnalyticsEventsRouteKind) { + func logCreateLink(objectType: AnalyticsObjectType, route: AnalyticsEventsRouteKind) { logEvent( "CreateLink", - spaceId: spaceId, withEventProperties: [ AnalyticsEventsPropertiesKey.objectType: objectType.analyticsId, AnalyticsEventsPropertiesKey.route: route.rawValue @@ -1196,12 +1179,12 @@ extension AnytypeAnalytics { logEvent("ScreenSettingsSpaceMembers", withEventProperties: [AnalyticsEventsPropertiesKey.route: route.rawValue]) } - func logDuplicateBlock(spaceId: String) { - logEvent("DuplicateBlock", spaceId: spaceId) + func logDuplicateBlock() { + logEvent("DuplicateBlock") } - func logDeleteRelation(spaceId: String, format: PropertyFormat, key: AnalyticsRelationKey? = nil, route: DeleteRelationRoute) { - logEvent("DeleteRelation", spaceId: spaceId, withEventProperties: [ + func logDeleteRelation(format: PropertyFormat, key: AnalyticsRelationKey? = nil, route: DeleteRelationRoute) { + logEvent("DeleteRelation", withEventProperties: [ AnalyticsEventsPropertiesKey.relationKey: key?.value ?? "", AnalyticsEventsPropertiesKey.format: format.analyticsName, AnalyticsEventsPropertiesKey.route: route.rawValue diff --git a/Anytype/Sources/PresentationLayer/Common/SwiftUI/PropertyDetailsViews/Date/PropertyCalendarViewModel.swift b/Anytype/Sources/PresentationLayer/Common/SwiftUI/PropertyDetailsViews/Date/PropertyCalendarViewModel.swift index 47812eb68c..5a24ac1938 100644 --- a/Anytype/Sources/PresentationLayer/Common/SwiftUI/PropertyDetailsViews/Date/PropertyCalendarViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Common/SwiftUI/PropertyDetailsViews/Date/PropertyCalendarViewModel.swift @@ -54,8 +54,7 @@ final class PropertyCalendarViewModel: ObservableObject { isEmpty: value.isZero, format: relationDetails.format, type: config.analyticsType, - key: relationDetails.analyticsKey, - spaceId: config.spaceId + key: relationDetails.analyticsKey ) } } diff --git a/Anytype/Sources/PresentationLayer/Common/SwiftUI/PropertyDetailsViews/PropertySelectedOptions/PropertySelectedOptionsModel.swift b/Anytype/Sources/PresentationLayer/Common/SwiftUI/PropertyDetailsViews/PropertySelectedOptions/PropertySelectedOptionsModel.swift index 1abcd9399c..a8004621e6 100644 --- a/Anytype/Sources/PresentationLayer/Common/SwiftUI/PropertyDetailsViews/PropertySelectedOptions/PropertySelectedOptionsModel.swift +++ b/Anytype/Sources/PresentationLayer/Common/SwiftUI/PropertyDetailsViews/PropertySelectedOptions/PropertySelectedOptionsModel.swift @@ -83,8 +83,7 @@ final class PropertySelectedOptionsModel: PropertySelectedOptionsModelProtocol { isEmpty: selectedOptionsIds.isEmpty, format: relationDetails.format, type: config.analyticsType, - key: relationDetails.analyticsKey, - spaceId: config.spaceId + key: relationDetails.analyticsKey ) } } diff --git a/Anytype/Sources/PresentationLayer/Common/SwiftUI/PropertyDetailsViews/Text/TextPropertyEditingViewModel.swift b/Anytype/Sources/PresentationLayer/Common/SwiftUI/PropertyDetailsViews/Text/TextPropertyEditingViewModel.swift index 14b3d1a041..ce5f379383 100644 --- a/Anytype/Sources/PresentationLayer/Common/SwiftUI/PropertyDetailsViews/Text/TextPropertyEditingViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Common/SwiftUI/PropertyDetailsViews/Text/TextPropertyEditingViewModel.swift @@ -120,8 +120,7 @@ final class TextPropertyEditingViewModel: ObservableObject { isEmpty: text.isEmpty, format: relationDetails.format, type: config.analyticsType, - key: relationDetails.analyticsKey, - spaceId: config.spaceId + key: relationDetails.analyticsKey ) } } diff --git a/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/GlobalSearch/GlobalSearchViewModel.swift b/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/GlobalSearch/GlobalSearchViewModel.swift index 1dac2aa612..480b6d7be6 100644 --- a/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/GlobalSearch/GlobalSearchViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/GlobalSearch/GlobalSearchViewModel.swift @@ -80,7 +80,7 @@ final class GlobalSearchViewModel: ObservableObject { } func onSearchTextChanged() { - AnytypeAnalytics.instance().logSearchInput(spaceId: moduleData.spaceId) + AnytypeAnalytics.instance().logSearchInput() } func onKeyboardButtonTap() { @@ -89,7 +89,7 @@ final class GlobalSearchViewModel: ObservableObject { } func onSelect(searchData: SearchWithMetaModel) { - AnytypeAnalytics.instance().logSearchResult(spaceId: moduleData.spaceId, objectType: state.section.analyticsValue) + AnytypeAnalytics.instance().logSearchResult(objectType: state.section.analyticsValue) dismiss.toggle() moduleData.onSelect(searchData.editorScreenData) } @@ -141,12 +141,12 @@ final class GlobalSearchViewModel: ObservableObject { private func restoreState() { let restoredState = globalSearchSavedStatesService.restoreState(for: moduleData.spaceId) guard let restoredState else { - AnytypeAnalytics.instance().logScreenSearch(spaceId: moduleData.spaceId, type: .empty) + AnytypeAnalytics.instance().logScreenSearch(type: .empty) return } state = restoredState if restoredState.searchText.isNotEmpty { - AnytypeAnalytics.instance().logScreenSearch(spaceId: moduleData.spaceId, type: .saved) + AnytypeAnalytics.instance().logScreenSearch(type: .saved) } } diff --git a/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/ObjectSearchWithMeta/ObjectSearchWithMetaViewModel.swift b/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/ObjectSearchWithMeta/ObjectSearchWithMetaViewModel.swift index a201bf801b..33ed4c6734 100644 --- a/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/ObjectSearchWithMeta/ObjectSearchWithMetaViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Common/SwiftUI/Search/ObjectSearchWithMeta/ObjectSearchWithMetaViewModel.swift @@ -52,7 +52,7 @@ final class ObjectSearchWithMetaViewModel: ObservableObject { sections = [] } - AnytypeAnalytics.instance().logSearchInput(spaceId: moduleData.spaceId) + AnytypeAnalytics.instance().logSearchInput() } func onSelect(searchData: SearchWithMetaModel) { diff --git a/Anytype/Sources/PresentationLayer/FileDownloading flow/FileDownloadingCoordinator.swift b/Anytype/Sources/PresentationLayer/FileDownloading flow/FileDownloadingCoordinator.swift index 20aa76bb76..0bd1b2e78a 100644 --- a/Anytype/Sources/PresentationLayer/FileDownloading flow/FileDownloadingCoordinator.swift +++ b/Anytype/Sources/PresentationLayer/FileDownloading flow/FileDownloadingCoordinator.swift @@ -40,7 +40,7 @@ extension FileDownloadingCoordinator: FileDownloadingModuleOutput { func didDownloadFileTo(_ url: URL) { type.flatMap { - AnytypeAnalytics.instance().logDownloadMedia(type: $0, spaceId: spaceId) + AnytypeAnalytics.instance().logDownloadMedia(type: $0) } viewController?.topPresentedController.dismiss(animated: true) { [weak self] in self?.showDocumentPickerViewController(url: url) diff --git a/Anytype/Sources/PresentationLayer/Modules/CreateObjectType/CreateObjectTypeViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/CreateObjectType/CreateObjectTypeViewModel.swift index f6f8fcb7a6..91c4b7b05b 100644 --- a/Anytype/Sources/PresentationLayer/Modules/CreateObjectType/CreateObjectTypeViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/CreateObjectType/CreateObjectTypeViewModel.swift @@ -21,7 +21,7 @@ final class CreateObjectTypeViewModel: ObservableObject { Task { let type = try await typesService.createType(name: info.singularName, pluralName: info.pluralName, icon: info.icon, color: info.color, spaceId: data.spaceId) - AnytypeAnalytics.instance().logCreateObjectType(spaceId: data.spaceId) + AnytypeAnalytics.instance().logCreateObjectType() completion?(type) } diff --git a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/SetObjectCreationSettingsViewModel.swift b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/SetObjectCreationSettingsViewModel.swift index 6b5c409c25..10a1fb1df0 100644 --- a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/SetObjectCreationSettingsViewModel.swift +++ b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/SetObjectCreationSettingsViewModel.swift @@ -95,7 +95,7 @@ final class SetObjectCreationSettingsViewModel: ObservableObject { guard let self else { return } do { let templateId = try await templatesService.createTemplateFromObjectType(objectTypeId: objectTypeId, spaceId: spaceId) - AnytypeAnalytics.instance().logTemplateCreate(objectType: .object(typeId: objectTypeId), spaceId: spaceId) + AnytypeAnalytics.instance().logTemplateCreate(objectType: .object(typeId: objectTypeId)) output?.templateEditingHandler( setting: ObjectCreationSetting(objectTypeId: objectTypeId, spaceId: spaceId, templateId: templateId), onSetAsDefaultTemplate: { [weak self] templateId in diff --git a/Anytype/Sources/PresentationLayer/PropertyValueFlow/PropertyValueCoordinator/PropertyValueProcessingService.swift b/Anytype/Sources/PresentationLayer/PropertyValueFlow/PropertyValueCoordinator/PropertyValueProcessingService.swift index 4904f7ada8..19de1f9d71 100644 --- a/Anytype/Sources/PresentationLayer/PropertyValueFlow/PropertyValueCoordinator/PropertyValueProcessingService.swift +++ b/Anytype/Sources/PresentationLayer/PropertyValueFlow/PropertyValueCoordinator/PropertyValueProcessingService.swift @@ -43,8 +43,7 @@ fileprivate final class PropertyValueProcessingService: PropertyValueProcessingS isEmpty: !newValue, format: relationDetails.format, type: analyticsType, - key: relationDetails.analyticsKey, - spaceId: objectDetails.spaceId + key: relationDetails.analyticsKey ) } case .unknown: diff --git a/Anytype/Sources/PresentationLayer/TextEditor/AccessoryView/SlashMenu/Handler/SlashMenuActionHandler.swift b/Anytype/Sources/PresentationLayer/TextEditor/AccessoryView/SlashMenu/Handler/SlashMenuActionHandler.swift index d20723d520..2add22d9c9 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/AccessoryView/SlashMenu/Handler/SlashMenuActionHandler.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/AccessoryView/SlashMenu/Handler/SlashMenuActionHandler.swift @@ -56,7 +56,7 @@ final class SlashMenuActionHandler { } case .objectType(let typeDetails): let objectType = ObjectType(details: typeDetails) - AnytypeAnalytics.instance().logCreateLink(spaceId: objectType.spaceId, objectType: objectType.analyticsType, route: .slashMenu) + AnytypeAnalytics.instance().logCreateLink(objectType: objectType.analyticsType, route: .slashMenu) try await actionHandler .createPage( targetId: blockInformation.id, @@ -72,7 +72,7 @@ final class SlashMenuActionHandler { case let .relations(action): switch action { case .newRealtion: - router.showAddPropertyInfoView(document: document) { [weak self, spaceId = document.spaceId] relation, isNew in + router.showAddPropertyInfoView(document: document) { [weak self] relation, isNew in Task { try await self?.actionHandler.addBlock(.relation(key: relation.key), blockId: blockInformation.id, blockText: textView?.attributedText.sendable()) } @@ -81,7 +81,6 @@ final class SlashMenuActionHandler { isNew: isNew, type: .block, key: relation.analyticsKey, - spaceId: spaceId, route: .slashMenu ) } diff --git a/Anytype/Sources/PresentationLayer/TextEditor/BlocksViews/Blocks/SimpleTable/Block/TextBlock/SimpleTablesTextBlockActionHandler.swift b/Anytype/Sources/PresentationLayer/TextEditor/BlocksViews/Blocks/SimpleTable/Block/TextBlock/SimpleTablesTextBlockActionHandler.swift index 562105a9e0..8e18300be3 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/BlocksViews/Blocks/SimpleTable/Block/TextBlock/SimpleTablesTextBlockActionHandler.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/BlocksViews/Blocks/SimpleTable/Block/TextBlock/SimpleTablesTextBlockActionHandler.swift @@ -265,7 +265,7 @@ final class SimpleTablesTextBlockActionHandler: TextBlockActionHandlerProtocol, } private func copy(range: NSRange) { - AnytypeAnalytics.instance().logCopyBlock(spaceId: document.spaceId, countBlocks: 1) + AnytypeAnalytics.instance().logCopyBlock(countBlocks: 1) Task { try await pasteboardService?.copy(document: document, blocksIds: [info.id], selectedTextRange: range) } diff --git a/Anytype/Sources/PresentationLayer/TextEditor/BlocksViews/Blocks/Text/Base/TextBlockActionHandler.swift b/Anytype/Sources/PresentationLayer/TextEditor/BlocksViews/Blocks/Text/Base/TextBlockActionHandler.swift index 268f5905fb..6e70f69860 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/BlocksViews/Blocks/Text/Base/TextBlockActionHandler.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/BlocksViews/Blocks/Text/Base/TextBlockActionHandler.swift @@ -357,7 +357,7 @@ final class TextBlockActionHandler: TextBlockActionHandlerProtocol, LinkToSearch } private func copy(range: NSRange) { - AnytypeAnalytics.instance().logCopyBlock(spaceId: document.spaceId, countBlocks: 1) + AnytypeAnalytics.instance().logCopyBlock(countBlocks: 1) Task { try await pasteboardService?.copy(document: document, blocksIds: [info.id], selectedTextRange: range) } diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/EditorPageBlocksStateManager.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/EditorPageBlocksStateManager.swift index 67907d9dba..df6b9f7224 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/EditorPageBlocksStateManager.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/EditorPageBlocksStateManager.swift @@ -537,7 +537,7 @@ final class EditorPageBlocksStateManager: EditorPageBlocksStateManagerProtocol { } } - AnytypeAnalytics.instance().logCopyBlock(spaceId: document.spaceId, countBlocks: blocksIds.count) + AnytypeAnalytics.instance().logCopyBlock(countBlocks: blocksIds.count) Task { @MainActor [blocksIds] in try await pasteboardService.copy(document: document, blocksIds: blocksIds, selectedTextRange: NSRange()) toastPresenter.show(message: Loc.copied) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Models/BlockViewModelBuilder.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Models/BlockViewModelBuilder.swift index 781cc171b9..cac22757b1 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Models/BlockViewModelBuilder.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Models/BlockViewModelBuilder.swift @@ -414,7 +414,7 @@ final class BlockViewModelBuilder { Task { [weak self] in guard let self else { return } try await handler.setObjectType(type: type) - AnytypeAnalytics.instance().logChangeObjectType(type.analyticsType, spaceId: document.spaceId, route: route) + AnytypeAnalytics.instance().logChangeObjectType(type.analyticsType, route: route) guard let isSelectTemplate = document.details?.isSelectTemplate, isSelectTemplate else { return } try await handler.applyTemplate(objectId: document.objectId, templateId: type.defaultTemplateId) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift index 8b7ec20843..047b06bf68 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/ObjectActions/ObjectActionsViewModel.swift @@ -130,7 +130,7 @@ final class ObjectActionsViewModel { func duplicateAction() async throws { guard let details = document.details else { return } - AnytypeAnalytics.instance().logDuplicateObject(count: 1, objectType: details.objectType.analyticsType, spaceId: details.spaceId) + AnytypeAnalytics.instance().logDuplicateObject(count: 1, objectType: details.objectType.analyticsType) let duplicatedId = try await service.duplicate(objectId: objectId) @@ -218,7 +218,7 @@ final class ObjectActionsViewModel { objectIds: [currentObjectId] ) output?.onLinkItselfToObjectHandler(data: details.screenData()) - AnytypeAnalytics.instance().logLinkToObject(type: .collection, spaceId: details.spaceId) + AnytypeAnalytics.instance().logLinkToObject(type: .collection) } else { let info = BlockInformation.emptyLink(targetId: currentObjectId) AnytypeAnalytics.instance().logCreateBlock(type: info.content.type, spaceId: details.spaceId) @@ -229,7 +229,7 @@ final class ObjectActionsViewModel { position: .bottom ) output?.onLinkItselfToObjectHandler(data: details.screenData()) - AnytypeAnalytics.instance().logLinkToObject(type: .object, spaceId: details.spaceId) + AnytypeAnalytics.instance().logLinkToObject(type: .object) } } } diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Properties/Coordinator/PropertiesListCoordinatorViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Properties/Coordinator/PropertiesListCoordinatorViewModel.swift index 81b3789589..9f76269347 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Properties/Coordinator/PropertiesListCoordinatorViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Properties/Coordinator/PropertiesListCoordinatorViewModel.swift @@ -70,7 +70,7 @@ final class PropertiesListCoordinatorViewModel: showTypePicker = false Task { try await objectActionsService.setObjectType(objectId: document.objectId, typeUniqueKey: type.uniqueKey) - AnytypeAnalytics.instance().logChangeObjectType(type.analyticsType, spaceId: document.spaceId, route: .relationsList) + AnytypeAnalytics.instance().logChangeObjectType(type.analyticsType, route: .relationsList) } } diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Properties/Views/ObjectFieldsView/ObjectPropertiesViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Properties/Views/ObjectFieldsView/ObjectPropertiesViewModel.swift index 68597b8148..96f5608915 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Properties/Views/ObjectFieldsView/ObjectPropertiesViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Properties/Views/ObjectFieldsView/ObjectPropertiesViewModel.swift @@ -57,7 +57,7 @@ final class ObjectPropertiesViewModel: ObservableObject { Task { try await propertiesService.removeProperty(objectId: document.objectId, propertyKey: relation.key) let relationDetails = try propertyDetailsStorage.relationsDetails(key: relation.key, spaceId: document.spaceId) - AnytypeAnalytics.instance().logDeleteRelation(spaceId: document.spaceId, format: relationDetails.format, key: relationDetails.analyticsKey, route: .object) + AnytypeAnalytics.instance().logDeleteRelation(format: relationDetails.format, key: relationDetails.analyticsKey, route: .object) } } diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Properties/Views/TypePropertiesView/TypePropertiesViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Properties/Views/TypePropertiesView/TypePropertiesViewModel.swift index e331485a15..89048b8100 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Properties/Views/TypePropertiesView/TypePropertiesViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Properties/Views/TypePropertiesView/TypePropertiesViewModel.swift @@ -110,7 +110,7 @@ final class TypePropertiesViewModel: ObservableObject { target: .type(typeData), onRelationSelect: { [spaceId = document.spaceId] details, isNew in AnytypeAnalytics.instance().logAddExistingOrCreateRelation( - format: details.format, isNew: isNew, type: .type, key: details.analyticsKey, spaceId: spaceId + format: details.format, isNew: isNew, type: .type, key: details.analyticsKey ) } ) @@ -131,7 +131,7 @@ final class TypePropertiesViewModel: ObservableObject { anytypeAssertionFailure("Empty relation format for onRelationRemove") return } - AnytypeAnalytics.instance().logDeleteRelation(spaceId: document.spaceId, format: format, route: .type) + AnytypeAnalytics.instance().logDeleteRelation(format: format, route: .type) } } diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/EditorSetViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/EditorSetViewModel.swift index 50750cb685..8fcda32c72 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/EditorSetViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/EditorSetViewModel.swift @@ -285,13 +285,13 @@ final class EditorSetViewModel: ObservableObject { func logModuleScreen() { if let details = setDocument.details, details.isObjectType { - AnytypeAnalytics.instance().logScreenType(objectType: details.analyticsType, spaceId: setDocument.spaceId) + AnytypeAnalytics.instance().logScreenType(objectType: details.analyticsType) } else if setDocument.isCollection() { let viewType = activeView.type.analyticStringValue - AnytypeAnalytics.instance().logScreenCollection(with: viewType, spaceId: setDocument.spaceId) + AnytypeAnalytics.instance().logScreenCollection(with: viewType) } else { let viewType = activeView.type.analyticStringValue - AnytypeAnalytics.instance().logScreenSet(with: viewType, spaceId: setDocument.spaceId) + AnytypeAnalytics.instance().logScreenSet(with: viewType) } } diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Popups/RelationsSettings/Coordinator/SetPropertiesCoordinatorViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Popups/RelationsSettings/Coordinator/SetPropertiesCoordinatorViewModel.swift index 654cc66b93..8c44d6ae01 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Popups/RelationsSettings/Coordinator/SetPropertiesCoordinatorViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Popups/RelationsSettings/Coordinator/SetPropertiesCoordinatorViewModel.swift @@ -44,8 +44,7 @@ final class SetPropertiesCoordinatorViewModel: format: relationDetails.format, isNew: isNew, type: .dataview, - key: relationDetails.analyticsKey, - spaceId: setDocument.spaceId + key: relationDetails.analyticsKey ) } ) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Popups/RelationsSettings/SetPropertiesViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Popups/RelationsSettings/SetPropertiesViewModel.swift index ef5b578d80..f4513374bf 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Popups/RelationsSettings/SetPropertiesViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Popups/RelationsSettings/SetPropertiesViewModel.swift @@ -111,8 +111,7 @@ final class SetPropertiesViewModel: ObservableObject { format: relation.format, isNew: isNew, type: .dataview, - key: relation.analyticsKey, - spaceId: spaceId + key: relation.analyticsKey ) } } diff --git a/Anytype/Sources/ServiceLayer/Block/BlockActionHandler/BlockActionHandler.swift b/Anytype/Sources/ServiceLayer/Block/BlockActionHandler/BlockActionHandler.swift index 18a3bc1979..21a6d63bcc 100644 --- a/Anytype/Sources/ServiceLayer/Block/BlockActionHandler/BlockActionHandler.swift +++ b/Anytype/Sources/ServiceLayer/Block/BlockActionHandler/BlockActionHandler.swift @@ -100,7 +100,7 @@ final class BlockActionHandler: BlockActionHandlerProtocol, Sendable { } func duplicate(blockId: String) { - AnytypeAnalytics.instance().logDuplicateBlock(spaceId: document.spaceId) + AnytypeAnalytics.instance().logDuplicateBlock() service.duplicate(blockId: blockId) } @@ -148,7 +148,6 @@ final class BlockActionHandler: BlockActionHandlerProtocol, Sendable { Task { let isBookmarkType = targetDetails.resolvedLayoutValue == .bookmark AnytypeAnalytics.instance().logCreateLink( - spaceId: targetDetails.spaceId, objectType: targetDetails.objectType.analyticsType, route: route ) @@ -234,7 +233,7 @@ final class BlockActionHandler: BlockActionHandlerProtocol, Sendable { try await fileService.uploadDataAt(source: uploadingSource, contextID: document.objectId, blockID: blockId) } - AnytypeAnalytics.instance().logUploadMedia(type: type.asFileBlockContentType, spaceId: document.spaceId, route: route) + AnytypeAnalytics.instance().logUploadMedia(type: type.asFileBlockContentType, route: route) } func uploadImage(image: UIImage, type: String, blockId: String, route: UploadMediaRoute) { @@ -251,11 +250,11 @@ final class BlockActionHandler: BlockActionHandlerProtocol, Sendable { try await fileService.uploadDataAt(data: fileData, contextID: document.objectId, blockID: blockId) } - AnytypeAnalytics.instance().logUploadMedia(type: .image, spaceId: document.spaceId, route: route) + AnytypeAnalytics.instance().logUploadMedia(type: .image, route: route) } func uploadFileAt(localPath: String, blockId: String, route: UploadMediaRoute) { - AnytypeAnalytics.instance().logUploadMedia(type: .file, spaceId: document.spaceId, route: route) + AnytypeAnalytics.instance().logUploadMedia(type: .file, route: route) Task { await EventsBunch( diff --git a/Anytype/Sources/ServiceLayer/Block/Pastboard/Operations/PasteboardTask.swift b/Anytype/Sources/ServiceLayer/Block/Pastboard/Operations/PasteboardTask.swift index a23dc7d12e..8d56c1eaf8 100644 --- a/Anytype/Sources/ServiceLayer/Block/Pastboard/Operations/PasteboardTask.swift +++ b/Anytype/Sources/ServiceLayer/Block/Pastboard/Operations/PasteboardTask.swift @@ -51,19 +51,19 @@ final class PasteboardTask: Sendable { // Find first item to paste with follow order anySlots (blocks slots), htmlSlot, textSlot, filesSlots // blocks slots if let blocksSlots = pasteboardHelper.obtainBlocksSlots() { - AnytypeAnalytics.instance().logPasteBlock(spaceId: spaceId, countBlocks: blocksSlots.count) + AnytypeAnalytics.instance().logPasteBlock(countBlocks: blocksSlots.count) return try await pasteboardMiddlewareService.pasteBlock(blocksSlots, objectId: objectId, context: context) } // html slot if let htmlSlot = pasteboardHelper.obtainHTMLSlot() { - AnytypeAnalytics.instance().logPasteBlock(spaceId: spaceId, countBlocks: 1) + AnytypeAnalytics.instance().logPasteBlock(countBlocks: 1) return try await pasteboardMiddlewareService.pasteHTML(htmlSlot, objectId: objectId, context: context) } // text slot if let textSlot = pasteboardHelper.obtainTextSlot() { - AnytypeAnalytics.instance().logPasteBlock(spaceId: spaceId, countBlocks: 1) + AnytypeAnalytics.instance().logPasteBlock(countBlocks: 1) return try await pasteboardMiddlewareService.pasteText(textSlot, objectId: objectId, context: context) } @@ -76,7 +76,7 @@ final class PasteboardTask: Sendable { } let fileSlots = pasteboardHelper.obtainFileSlots() - AnytypeAnalytics.instance().logPasteBlock(spaceId: spaceId, countBlocks: fileSlots.count) + AnytypeAnalytics.instance().logPasteBlock(countBlocks: fileSlots.count) for itemProvider in fileSlots { try Task.checkCancellation() From 28bc2a873eb9acea13e31ad639a173cd085548b9 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Thu, 6 Nov 2025 22:14:54 +0300 Subject: [PATCH 144/228] IOS-5416 Add param --- .../Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift | 3 +++ .../Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics.swift | 4 ++-- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift b/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift index 46ee187d96..aaa7d33b9f 100644 --- a/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift +++ b/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift @@ -927,6 +927,7 @@ extension AnytypeAnalytics { func logOnboardingTooltip(tooltip: OnboardingTooltip, step: Int? = nil) { logEvent( "OnboardingTooltip", + addActiveSpaceInfo: false, withEventProperties: .builder { [AnalyticsEventsPropertiesKey.id: tooltip.rawValue] if let step { [AnalyticsEventsPropertiesKey.step: step] } @@ -947,6 +948,7 @@ extension AnytypeAnalytics { func logClickOnboardingTooltip(tooltip: OnboardingTooltip, type: ClickOnboardingTooltipType) { logEvent( "ClickOnboardingTooltip", + addActiveSpaceInfo: false, withEventProperties: [ AnalyticsEventsPropertiesKey.id: tooltip.rawValue, AnalyticsEventsPropertiesKey.type: type.rawValue @@ -1053,6 +1055,7 @@ extension AnytypeAnalytics { func logGalleryInstall(name: String) { logEvent( "GalleryInstall", + addActiveSpaceInfo: false, withEventProperties: [AnalyticsEventsPropertiesKey.name: name] ) } diff --git a/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics.swift b/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics.swift index f204055530..0ef7e7714f 100644 --- a/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics.swift +++ b/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics.swift @@ -104,8 +104,8 @@ final class AnytypeAnalytics: @unchecked Sendable { logRawEvent(eventType, withEventProperties: eventProperties) } - func logEvent(_ eventType: String, withEventProperties eventProperties: [String : Any] = [:]) { - if let workspaceInfo = activeSpaceManager.workspaceInfo { + func logEvent(_ eventType: String, addActiveSpaceInfo: Bool = true, withEventProperties eventProperties: [String : Any] = [:]) { + if addActiveSpaceInfo, let workspaceInfo = activeSpaceManager.workspaceInfo { logEvent(eventType, spaceId: workspaceInfo.accountSpaceId, withEventProperties: eventProperties) } else { logRawEvent(eventType, withEventProperties: eventProperties) From a3abd5fdc511b3d5f722ae538c4db19bf0e5588a Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Thu, 6 Nov 2025 22:33:03 +0300 Subject: [PATCH 145/228] IOS-5416 Rollback --- .../Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift | 2 -- 1 file changed, 2 deletions(-) diff --git a/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift b/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift index aaa7d33b9f..c40322a0f9 100644 --- a/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift +++ b/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift @@ -927,7 +927,6 @@ extension AnytypeAnalytics { func logOnboardingTooltip(tooltip: OnboardingTooltip, step: Int? = nil) { logEvent( "OnboardingTooltip", - addActiveSpaceInfo: false, withEventProperties: .builder { [AnalyticsEventsPropertiesKey.id: tooltip.rawValue] if let step { [AnalyticsEventsPropertiesKey.step: step] } @@ -948,7 +947,6 @@ extension AnytypeAnalytics { func logClickOnboardingTooltip(tooltip: OnboardingTooltip, type: ClickOnboardingTooltipType) { logEvent( "ClickOnboardingTooltip", - addActiveSpaceInfo: false, withEventProperties: [ AnalyticsEventsPropertiesKey.id: tooltip.rawValue, AnalyticsEventsPropertiesKey.type: type.rawValue From 7f30dc7d1c34d1a3c0d79d72bedece3ce8231f1a Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 7 Nov 2025 12:35:31 +0000 Subject: [PATCH 146/228] IOS-5425 Hide Chat type and objects in Chat spaces with space-aware filtering Added conditional filtering to exclude Chat type from type pickers and Chat objects from search results when in Chat spaces. - Added SearchHelper.filterOutChatType() to filter Chat objects by uniqueKey - Extended SearchFiltersBuilder with space-aware overload that applies Chat filter - Updated all search services to use space-aware filtering (SearchWithMetaService, MentionObjectsService, SearchService, DateRelatedObjectsSubscriptionService) - Added TypesService filter to exclude Chat type from type pickers when includeChat=false - Created Optional.showsChatLayouts extension to eliminate duplicated logic - Replaced !(spaceUxType?.showsChatLayouts ?? true) pattern with cleaner !spaceUxType.showsChatLayouts Fixes chat type/object visibility in: - Global search results - Mention suggestions (@mention) - Link to object search - Attach object menu in chat input - Type pickers for new object creation --- ...ateRelatedObjectsSubscriptionService.swift | 2 +- .../Block/Mention/MentionObjectsService.swift | 14 ++++++---- .../Object/Search/SearchService.swift | 28 ++++++++++++------- .../SearchWithMetaService.swift | 14 ++++++---- .../Object/TypesService/TypesService.swift | 3 ++ .../Extensions/DetailsLayoutExtension.swift | 8 +++--- .../Models/Space/SpaceUxType+Extensions.swift | 10 +++++-- .../SearchService/SearchFiltersBuilder.swift | 7 +++-- .../Services/SearchService/SearchHelper.swift | 11 +++++++- 9 files changed, 65 insertions(+), 32 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/Date/Subscription/DateRelatedObjectsSubscriptionService.swift b/Anytype/Sources/PresentationLayer/Modules/Date/Subscription/DateRelatedObjectsSubscriptionService.swift index 6d933a5d17..9df9fbba30 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Date/Subscription/DateRelatedObjectsSubscriptionService.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Date/Subscription/DateRelatedObjectsSubscriptionService.swift @@ -37,7 +37,7 @@ final class DateRelatedObjectsSubscriptionService: DateRelatedObjectsSubscriptio let spaceUxType = spaceViewsStorage.spaceView(spaceId: spaceId)?.uxType let filters: [DataviewFilter] = .builder { - SearchFiltersBuilder.build(isArchived: false, layouts: DetailsLayout.visibleLayoutsWithFiles(spaceUxType: spaceUxType)) + SearchFiltersBuilder.build(isArchived: false, layouts: DetailsLayout.visibleLayoutsWithFiles(spaceUxType: spaceUxType), spaceUxType: spaceUxType) filters } diff --git a/Anytype/Sources/ServiceLayer/Block/Mention/MentionObjectsService.swift b/Anytype/Sources/ServiceLayer/Block/Mention/MentionObjectsService.swift index 0ff53c3461..04f5ce066b 100644 --- a/Anytype/Sources/ServiceLayer/Block/Mention/MentionObjectsService.swift +++ b/Anytype/Sources/ServiceLayer/Block/Mention/MentionObjectsService.swift @@ -7,22 +7,24 @@ protocol MentionObjectsServiceProtocol: AnyObject, Sendable { } final class MentionObjectsService: MentionObjectsServiceProtocol, Sendable { - + private let searchMiddleService: any SearchMiddleServiceProtocol = Container.shared.searchMiddleService() - + private let spaceViewsStorage: any SpaceViewsStorageProtocol = Container.shared.spaceViewsStorage() + func searchMentions(spaceId: String, text: String, excludedObjectIds: [String], limitLayout: [DetailsLayout]) async throws -> [MentionObject] { let sort = SearchHelper.sort( relation: .lastOpenedDate, type: .desc ) - + + let spaceUxType = spaceViewsStorage.spaceView(spaceId: spaceId)?.uxType let filters: [DataviewFilter] = .builder { - SearchFiltersBuilder.build(isArchived: false, layouts: limitLayout) + SearchFiltersBuilder.build(isArchived: false, layouts: limitLayout, spaceUxType: spaceUxType) SearchHelper.excludedIdsFilter(excludedObjectIds) } - + let details = try await searchMiddleService.search(spaceId: spaceId, filters: filters, sorts: [sort], fullText: text) - + return details.map { MentionObject(details: $0) } } diff --git a/Anytype/Sources/ServiceLayer/Object/Search/SearchService.swift b/Anytype/Sources/ServiceLayer/Object/Search/SearchService.swift index 6c5fb3bb87..666476188c 100644 --- a/Anytype/Sources/ServiceLayer/Object/Search/SearchService.swift +++ b/Anytype/Sources/ServiceLayer/Object/Search/SearchService.swift @@ -79,7 +79,7 @@ final class SearchService: SearchServiceProtocol, Sendable { let filters: [DataviewFilter] = .builder { SearchHelper.excludedIdsFilter(excludedObjectIds) if typeIds.isEmpty { - SearchFiltersBuilder.build(isArchived: false, layouts: DetailsLayout.visibleLayouts(spaceUxType: spaceUxType)) + SearchFiltersBuilder.build(isArchived: false, layouts: DetailsLayout.visibleLayouts(spaceUxType: spaceUxType), spaceUxType: spaceUxType) } else { SearchFiltersBuilder.build(isArchived: false) SearchHelper.typeFilter(typeIds) @@ -107,7 +107,7 @@ final class SearchService: SearchServiceProtocol, Sendable { let spaceUxType = spaceViewsStorage.spaceView(spaceId: spaceId)?.uxType let filters: [DataviewFilter] = .builder { - SearchFiltersBuilder.build(isArchived: false, layouts: DetailsLayout.visibleLayoutsWithFiles(spaceUxType: spaceUxType)) + SearchFiltersBuilder.build(isArchived: false, layouts: DetailsLayout.visibleLayoutsWithFiles(spaceUxType: spaceUxType), spaceUxType: spaceUxType) SearchHelper.excludedIdsFilter(excludedObjectIds) SearchHelper.excludedLayoutFilter(excludedLayouts) } @@ -116,9 +116,12 @@ final class SearchService: SearchServiceProtocol, Sendable { } func searchRelationOptions(text: String, relationKey: String, excludedObjectIds: [String], spaceId: String) async throws -> [PropertyOption] { + let spaceUxType = spaceViewsStorage.spaceView(spaceId: spaceId)?.uxType + var filters = SearchFiltersBuilder.build( isArchived: false, - layouts: [DetailsLayout.relationOption] + layouts: [DetailsLayout.relationOption], + spaceUxType: spaceUxType ) filters.append(SearchHelper.relationKey(relationKey)) filters.append(SearchHelper.excludedIdsFilter(excludedObjectIds)) @@ -133,9 +136,12 @@ final class SearchService: SearchServiceProtocol, Sendable { } func searchRelationOptions(optionIds: [String], spaceId: String) async throws -> [PropertyOption] { + let spaceUxType = spaceViewsStorage.spaceView(spaceId: spaceId)?.uxType + var filters = SearchFiltersBuilder.build( isArchived: false, - layouts: [DetailsLayout.relationOption] + layouts: [DetailsLayout.relationOption], + spaceUxType: spaceUxType ) filters.append(SearchHelper.includeIdsFilter(optionIds)) @@ -149,14 +155,15 @@ final class SearchService: SearchServiceProtocol, Sendable { type: .desc, includeTime: true ) - + + let spaceUxType = spaceViewsStorage.spaceView(spaceId: spaceId)?.uxType let filters: [DataviewFilter] = .builder { - SearchFiltersBuilder.build(isArchived: false, layouts: [DetailsLayout.relation]) + SearchFiltersBuilder.build(isArchived: false, layouts: [DetailsLayout.relation], spaceUxType: spaceUxType) SearchHelper.relationReadonlyValue(false) SearchHelper.excludedRelationKeys(BundledPropertyKey.internalKeys.map(\.rawValue)) SearchHelper.excludedIdsFilter(excludedIds) } - + let details = try await searchMiddleService.search(spaceId: spaceId, filters: filters, sorts: [sort], fullText: text) return details.map { PropertyDetails(details: $0) } } @@ -190,12 +197,13 @@ final class SearchService: SearchServiceProtocol, Sendable { relation: BundledPropertyKey.lastOpenedDate, type: .desc ) - + + let spaceUxType = spaceViewsStorage.spaceView(spaceId: spaceId)?.uxType let filters: [DataviewFilter] = .builder { - SearchFiltersBuilder.build(isArchived: false, layouts: layouts) + SearchFiltersBuilder.build(isArchived: false, layouts: layouts, spaceUxType: spaceUxType) SearchHelper.excludedIdsFilter(excludedIds) } - + return try await searchMiddleService.search(spaceId: spaceId, filters: filters, sorts: [sort], fullText: text, limit: SearchDefaults.objectsLimit) } diff --git a/Anytype/Sources/ServiceLayer/Object/SearchWithMeta/SearchWithMetaService.swift b/Anytype/Sources/ServiceLayer/Object/SearchWithMeta/SearchWithMetaService.swift index 78e6e05adf..8f12d45272 100644 --- a/Anytype/Sources/ServiceLayer/Object/SearchWithMeta/SearchWithMetaService.swift +++ b/Anytype/Sources/ServiceLayer/Object/SearchWithMeta/SearchWithMetaService.swift @@ -13,11 +13,12 @@ protocol SearchWithMetaServiceProtocol: AnyObject, Sendable { } final class SearchWithMetaService: SearchWithMetaServiceProtocol, Sendable { - + private let searchWithMetaMiddleService: any SearchWithMetaMiddleServiceProtocol = Container.shared.searchWithMetaMiddleService() - + private let spaceViewsStorage: any SpaceViewsStorageProtocol = Container.shared.spaceViewsStorage() + // MARK: - SearchServiceProtocol - + func search( text: String, spaceId: String, @@ -25,12 +26,13 @@ final class SearchWithMetaService: SearchWithMetaServiceProtocol, Sendable { sorts: [DataviewSort], excludedObjectIds: [String] ) async throws -> [SearchResultWithMeta] { - + + let spaceUxType = spaceViewsStorage.spaceView(spaceId: spaceId)?.uxType let filters: [DataviewFilter] = .builder { - SearchFiltersBuilder.build(isArchived: false, layouts: layouts) + SearchFiltersBuilder.build(isArchived: false, layouts: layouts, spaceUxType: spaceUxType) SearchHelper.excludedIdsFilter(excludedObjectIds) } - + return try await searchWithMetaMiddleService.search(spaceId: spaceId, filters: filters, sorts: sorts, fullText: text, limit: SearchDefaults.objectsLimit) } } diff --git a/Anytype/Sources/ServiceLayer/Object/TypesService/TypesService.swift b/Anytype/Sources/ServiceLayer/Object/TypesService/TypesService.swift index c20c098991..7d42240a06 100644 --- a/Anytype/Sources/ServiceLayer/Object/TypesService/TypesService.swift +++ b/Anytype/Sources/ServiceLayer/Object/TypesService/TypesService.swift @@ -84,6 +84,9 @@ final class TypesService: TypesServiceProtocol, Sendable { if !includeTemplates { SearchHelper.uniqueKeyFilter(key: ObjectTypeUniqueKey.template.value, include: false) } + if !includeChat { + SearchHelper.uniqueKeyFilter(key: ObjectTypeUniqueKey.chatDerived.value, include: false) + } } let result = try await searchMiddleService.search(spaceId: spaceId, filters: filters, sorts: sort, fullText: text) diff --git a/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift b/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift index 83f5822972..c59d8f3a68 100644 --- a/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift +++ b/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift @@ -27,22 +27,22 @@ public extension DetailsLayout { public extension DetailsLayout { static func visibleLayouts(spaceUxType: SpaceUxType?) -> [DetailsLayout] { - guard !(spaceUxType?.showsChatLayouts ?? true) else { return visibleLayoutsBase } + guard !spaceUxType.showsChatLayouts else { return visibleLayoutsBase } return visibleLayoutsBase.filter { $0 != .chatDerived } } static func visibleLayoutsWithFiles(spaceUxType: SpaceUxType?) -> [DetailsLayout] { - guard !(spaceUxType?.showsChatLayouts ?? true) else { return visibleLayoutsWithFilesBase } + guard !spaceUxType.showsChatLayouts else { return visibleLayoutsWithFilesBase } return visibleLayoutsWithFilesBase.filter { $0 != .chatDerived } } static func supportedForCreation(spaceUxType: SpaceUxType?) -> [DetailsLayout] { - guard !(spaceUxType?.showsChatLayouts ?? true) else { return supportedForCreationBase } + guard !spaceUxType.showsChatLayouts else { return supportedForCreationBase } return supportedForCreationBase.filter { $0 != .chatDerived } } static func widgetTypeLayouts(spaceUxType: SpaceUxType?) -> [DetailsLayout] { - guard !(spaceUxType?.showsChatLayouts ?? true) else { return widgetTypeLayoutsBase } + guard !spaceUxType.showsChatLayouts else { return widgetTypeLayoutsBase } return widgetTypeLayoutsBase.filter { $0 != .chatDerived } } } diff --git a/Modules/Services/Sources/Models/Space/SpaceUxType+Extensions.swift b/Modules/Services/Sources/Models/Space/SpaceUxType+Extensions.swift index e7a44891c7..c01a4f43f1 100644 --- a/Modules/Services/Sources/Models/Space/SpaceUxType+Extensions.swift +++ b/Modules/Services/Sources/Models/Space/SpaceUxType+Extensions.swift @@ -4,11 +4,11 @@ public extension SpaceUxType { var isStream: Bool { self == .stream } - + var isChat: Bool { self == .chat } - + var isData: Bool { self == .data } @@ -23,3 +23,9 @@ public extension SpaceUxType { } } +public extension Optional where Wrapped == SpaceUxType { + var showsChatLayouts: Bool { + self?.showsChatLayouts ?? true + } +} + diff --git a/Modules/Services/Sources/Services/SearchService/SearchFiltersBuilder.swift b/Modules/Services/Sources/Services/SearchService/SearchFiltersBuilder.swift index 21714f809a..0d01c84760 100644 --- a/Modules/Services/Sources/Services/SearchService/SearchFiltersBuilder.swift +++ b/Modules/Services/Sources/Services/SearchService/SearchFiltersBuilder.swift @@ -5,11 +5,14 @@ public final class SearchFiltersBuilder { SearchHelper.notHiddenFilters(isArchive: isArchived) } } - - public static func build(isArchived: Bool, layouts: [DetailsLayout]) -> [DataviewFilter] { + + public static func build(isArchived: Bool, layouts: [DetailsLayout], spaceUxType: SpaceUxType?) -> [DataviewFilter] { var filters = build(isArchived: isArchived) filters.append(SearchHelper.layoutFilter(layouts)) filters.append(SearchHelper.templateScheme(include: false)) + if !spaceUxType.showsChatLayouts { + filters.append(SearchHelper.filterOutChatType()) + } return filters } } diff --git a/Modules/Services/Sources/Services/SearchService/SearchHelper.swift b/Modules/Services/Sources/Services/SearchService/SearchHelper.swift index 7c867d579f..66a1c8ad05 100644 --- a/Modules/Services/Sources/Services/SearchService/SearchHelper.swift +++ b/Modules/Services/Sources/Services/SearchService/SearchHelper.swift @@ -264,7 +264,16 @@ public class SearchHelper { return filter } - + + public static func filterOutChatType() -> DataviewFilter { + var filter = DataviewFilter() + filter.condition = .notEqual + filter.relationKey = "\(BundledPropertyKey.uniqueKey.rawValue)" + filter.value = ObjectTypeUniqueKey.chatDerived.value.protobufValue + + return filter + } + public static func filterOutTypeType() -> DataviewFilter { var filter = DataviewFilter() filter.condition = .notEqual From 3e5364e91caa8d7de6910bfd8f81648418123d73 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 7 Nov 2025 13:27:49 +0000 Subject: [PATCH 147/228] IOS-5299 Support delete event for chat message preview --- .../ChatMessagesPreviewsStorage.swift | 32 +++++++++++++++---- .../Services/Models/ChatMessagePreview.swift | 12 ++++--- .../Services/Sources/Models/ChatModels.swift | 1 + 3 files changed, 34 insertions(+), 11 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/Services/ChatMessagesPreviewsStorage.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/Services/ChatMessagesPreviewsStorage.swift index a5eb4b80a0..99267be22f 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/Services/ChatMessagesPreviewsStorage.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/Services/ChatMessagesPreviewsStorage.swift @@ -84,7 +84,7 @@ actor ChatMessagesPreviewsStorage: ChatMessagesPreviewsStorageProtocol { private func handle(events: EventsBunch) async { var hasChanges = false - + for event in events.middlewareEvents { switch event.value { case let .chatStateUpdate(state): @@ -95,11 +95,15 @@ actor ChatMessagesPreviewsStorage: ChatMessagesPreviewsStorageProtocol { if await handleChatAddEvent(spaceId: event.spaceID, contextId: events.contextId, data: data) { hasChanges = true } + case let .chatDelete(data): + if handleChatDeleteEvent(spaceId: event.spaceID, contextId: events.contextId, data: data) { + hasChanges = true + } default: break } } - + if hasChanges { previewsStream.send(Array(previewsBySpace.values)) } @@ -125,11 +129,26 @@ actor ChatMessagesPreviewsStorage: ChatMessagesPreviewsStorageProtocol { private func handleChatAddEvent(spaceId: String, contextId: String, data: ChatAddData) async -> Bool { guard data.subIds.contains(subscriptionId) else { return false } - + await handleChatLastMessage(spaceId: spaceId, chatId: contextId, message: data.message, dependencies: data.dependencies.compactMap(\.asDetails)) return true } - + + private func handleChatDeleteEvent(spaceId: String, contextId: String, data: ChatDeleteData) -> Bool { + guard data.subIds.contains(subscriptionId) else { return false } + + let key = ChatMessagePreviewKey(spaceId: spaceId, chatId: contextId) + guard var preview = previewsBySpace[key] else { return false } + + guard let lastMessage = preview.lastMessage, lastMessage.id == data.id else { + return false + } + + preview.lastMessage = nil + previewsBySpace[key] = preview + return true + } + private func handleChatLastMessage(spaceId: String, chatId: String, message: ChatMessage, dependencies: [ObjectDetails]) async { guard message.hasMessage else { return } @@ -142,11 +161,12 @@ actor ChatMessagesPreviewsStorage: ChatMessagesPreviewsStorageProtocol { let attachmentsIds = message.attachments.map(\.target) let attachments = attachmentsIds.compactMap { id in dependencies.first { $0.id == id } } - + // TODO: change to full equality after MW fix let creator = dependencies.first { $0.id.hasSuffix(message.creator) }.flatMap { try? Participant(details: $0) } - + let message = LastMessagePreview( + id: message.id, creator: creator, text: messageTextBuilder.makeMessaeWithoutStyle(content: message.message), createdAt: message.createdAtDate, diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/Services/Models/ChatMessagePreview.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/Services/Models/ChatMessagePreview.swift index 0d3d0a1754..00d8c3f5da 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/Services/Models/ChatMessagePreview.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/Services/Models/ChatMessagePreview.swift @@ -2,18 +2,20 @@ import Services import Foundation struct LastMessagePreview: Hashable { + let id: String let creator: Participant? let text: String - + let createdAt: Date let modifiedAt: Date? - + let attachments: [ObjectDetails] let localizedAttachmentsText: String - + let orderId: String - - init(creator: Participant?, text: String, createdAt: Date, modifiedAt: Date?, attachments: [ObjectDetails], orderId: String) { + + init(id: String, creator: Participant?, text: String, createdAt: Date, modifiedAt: Date?, attachments: [ObjectDetails], orderId: String) { + self.id = id self.creator = creator self.text = text self.createdAt = createdAt diff --git a/Modules/Services/Sources/Models/ChatModels.swift b/Modules/Services/Sources/Models/ChatModels.swift index b466aa8340..e3a8186d34 100644 --- a/Modules/Services/Sources/Models/ChatModels.swift +++ b/Modules/Services/Sources/Models/ChatModels.swift @@ -10,6 +10,7 @@ public typealias ChatMessagesReadType = Anytype_Rpc.Chat.ReadMessages.ReadType public typealias ChatUnreadReadType = Anytype_Rpc.Chat.Unread.ReadType public typealias ChatUpdateState = Anytype_Event.Chat.UpdateState public typealias ChatAddData = Anytype_Event.Chat.Add +public typealias ChatDeleteData = Anytype_Event.Chat.Delete public extension ChatMessage { var createdAtDate: Date { From 7f8ebad120502ca7a9d90526f71ce90da8ae8dde Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 7 Nov 2025 16:22:05 +0000 Subject: [PATCH 148/228] IOS-5035 Fix empty state flash on chat load Move dataLoaded flag after updateMessages() to prevent empty state from showing while messages are being processed. This eliminates the brief flash of empty state UI when opening chats with existing messages. --- .../Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift index cd4a2ff1df..151f3d2282 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift @@ -256,11 +256,11 @@ final class ChatViewModel: MessageModuleOutput, ChatActionProviderHandler { let prevChatIsEmpty = self.messages.isEmpty self.messages = messages - self.dataLoaded = true if prevChatIsEmpty { firstUnreadMessageOrderId = chatState?.messages.oldestOrderID } await updateMessages() + self.dataLoaded = true if prevChatIsEmpty { if let oldestOrderId = chatState?.messages.oldestOrderID, let message = messages.first(where: { $0.message.orderID == oldestOrderId}) { collectionViewScrollProxy.scrollTo(itemId: message.message.id, position: .center, animated: false) From ec6b741c8c54dfb4b0df50fa88a00656b6774d07 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 7 Nov 2025 16:51:34 +0000 Subject: [PATCH 149/228] IOS-5292 Add spaceHubAlwaysShowLoading toggle --- .../Modules/SpaceHub/SpaceHubViewModel.swift | 2 +- .../AnytypeCore/Generated/FeatureFlags+Flags.swift | 7 ++++++- .../Utils/FeatureFlags/FeatureDescription+Flags.swift | 5 +++++ 3 files changed, 12 insertions(+), 2 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift index 3000f45ece..2a22cc3568 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift @@ -133,7 +133,7 @@ final class SpaceHubViewModel { private func subscribeOnSpaces() async { for await spaces in await spaceHubSpacesStorage.spacesStream { self.spaces = spaces.sorted(by: sortSpacesForPinnedFeature) - showLoading = spaces.contains { $0.spaceView.isLoading } + showLoading = spaces.contains { $0.spaceView.isLoading } || FeatureFlags.spaceHubAlwaysShowLoading await updateFilteredSpaces() self.dataLoaded = spaces.isNotEmpty } diff --git a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift index c29eb9da95..64417180fb 100644 --- a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift @@ -94,6 +94,10 @@ public extension FeatureFlags { value(for: .skipOnboardingEmailCollection) } + static var spaceHubAlwaysShowLoading: Bool { + value(for: .spaceHubAlwaysShowLoading) + } + // All toggles static let features: [FeatureDescription] = [ .showAllButtonInWidgets, @@ -117,6 +121,7 @@ public extension FeatureFlags { .networkHTTPSRequestsLogger, .logMiddlewareRequests, .showPushMessagesInForeground, - .skipOnboardingEmailCollection + .skipOnboardingEmailCollection, + .spaceHubAlwaysShowLoading ] } diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index eafcd45533..a55cfe6b03 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -158,4 +158,9 @@ public extension FeatureDescription { defaultValue: false, debugValue: true ) + static let spaceHubAlwaysShowLoading = FeatureDescription( + title: "Space Hub - Always show loading", + type: .debug, + defaultValue: false + ) } From 1c09a187c967f44605d07004c45307c48015a2a4 Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Mon, 10 Nov 2025 04:48:29 +0100 Subject: [PATCH 150/228] Automation: Update middleware to v0.44.0-nightly.20251108.1 (#4228) Co-authored-by: William Blake --- Libraryfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraryfile b/Libraryfile index 12a3d03846..20959bb7e6 100644 --- a/Libraryfile +++ b/Libraryfile @@ -1 +1 @@ -MIDDLE_VERSION=v0.44.0-nightly.20251106.1 +MIDDLE_VERSION=v0.44.0-nightly.20251108.1 From 0d9ed39529841465f7d5735386874419ee4d34a8 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 10 Nov 2025 11:22:35 +0000 Subject: [PATCH 151/228] IOS-5292 New header --- .../Modules/SpaceHub/SpaceHubView.swift | 27 ++--- .../SpaceHub/Subviews/SpaceHubHeader.swift | 72 +++++++++++ .../SpaceHub/Subviews/SpaceHubList.swift | 30 +++-- .../SpaceHubSearchEmptySpaceView.swift | 16 ++- .../SpaceHub/Subviews/SpaceHubToolbar.swift | 112 ------------------ 5 files changed, 117 insertions(+), 140 deletions(-) create mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubHeader.swift delete mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubToolbar.swift diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift index d503da8ec1..4dce42aadb 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift @@ -45,29 +45,28 @@ struct SpaceHubView: View { private func spacesView() -> some View { NavigationStack { SpaceHubList(model: model) - .navigationTitle(Loc.myChannels) - .navigationBarTitleDisplayMode(.inline) .toolbar { toolbarItems } + .navigationBarTitle("") + .navigationBarHidden(true) .searchable(text: $model.searchText) .onChange(of: model.searchText) { model.searchTextUpdated() } }.tint(Color.Text.secondary) } - + + @ToolbarContentBuilder private var toolbarItems: some ToolbarContent { - SpaceHubToolbar( - showLoading: model.showLoading, - profileIcon: model.profileIcon, - notificationsDenied: model.notificationsDenied, - namespace: namespace, - onTapCreateSpace: { - model.onTapCreateSpace() - }, - onTapSettings: { - model.onTapSettings() + if #available(iOS 26.0, *) { + DefaultToolbarItem(kind: .search, placement: .bottomBar) + + ToolbarSpacer(placement: .bottomBar) + + ToolbarItem(placement: .bottomBar) { + Button { model.onTapCreateSpace() } label: { Label("", systemImage: "plus") } } - ) + .matchedTransitionSource(id: "SpaceCreateTypePickerView", in: namespace) + } } } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubHeader.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubHeader.swift new file mode 100644 index 0000000000..fcbdc72c94 --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubHeader.swift @@ -0,0 +1,72 @@ +import SwiftUI +import AnytypeCore + +struct SpaceHubHeader: View { + + let showLoading: Bool + let profileIcon: Icon? + let notificationsDenied: Bool + let onTapSettings: () -> Void + let onTapCreateSpace: () -> Void + + var body: some View { + VStack(spacing: 0) { + if #available(iOS 26, *) { + contentIOS26 + } else { + legacyContent + } + + ProgressBar(showAnimation: showLoading) + } + } + + var contentIOS26: some View { + HStack(spacing: 0) { + AnytypeText(Loc.Spaces.title, style: .title) + + Spacer() + + settingsButton(small: false) + } + .padding(.horizontal, 16) + .padding(.top, 20) + } + + var legacyContent: some View { + HStack(spacing: 0) { + settingsButton(small: true) + + Spacer() + + AnytypeText(Loc.Spaces.title, style: .uxTitle2Semibold) + + Spacer() + + SpaceHubNewSpaceButton { onTapCreateSpace() } + } + .padding(.horizontal, 16) + .padding(.top, 20) + } + + private func settingsButton(small: Bool) -> some View { + Button { + onTapSettings() + } label: { + IconView(icon: profileIcon) + .foregroundStyle(Color.Control.secondary) + .frame(width: small ? 28 : 44, height: small ? 28 : 44) + .overlay(alignment: .topTrailing) { + if notificationsDenied { + attentionDotView + } + } + .padding(.vertical, 8) + } + } + + private var attentionDotView: some View { + SpaceHubAttentionDotView() + .padding([.top, .trailing], 1) + } +} diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift index b29707924b..28cd3077da 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift @@ -12,23 +12,37 @@ struct SpaceHubList: View { var body: some View { if model.filteredSpaces.isEmpty && model.searchText.isEmpty { emptyStateView - } else if model.filteredSpaces.isNotEmpty { - scrollView } else { - SpaceHubSearchEmptySpaceView() + scrollView } } private var scrollView: some View { ScrollView { VStack(spacing: 8) { - HomeUpdateSubmoduleView().padding(8) + SpaceHubHeader( + showLoading: model.showLoading, + profileIcon: model.profileIcon, + notificationsDenied: model.notificationsDenied, + onTapSettings: { + model.onTapSettings() + }, + onTapCreateSpace: { + model.onTapCreateSpace() + } + ) + + if model.filteredSpaces.isNotEmpty { + HomeUpdateSubmoduleView().padding(8) - ForEach(model.filteredSpaces) { - spaceCard($0) + ForEach(model.filteredSpaces) { + spaceCard($0) + } + + Spacer.fixedHeight(40) + } else { + SpaceHubSearchEmptySpaceView() } - - Spacer.fixedHeight(40) } } .animation(.default, value: model.filteredSpaces) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubSearchEmptySpaceView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubSearchEmptySpaceView.swift index ed9755aaf3..922ae84b50 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubSearchEmptySpaceView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubSearchEmptySpaceView.swift @@ -4,11 +4,15 @@ struct SpaceHubSearchEmptySpaceView: View { var body: some View { HomeUpdateSubmoduleView().padding(8) - EmptyStateView( - title: Loc.noMatchesFound, - subtitle: "", - style: .withImage, - buttonData: nil - ) + VStack { + Spacer(minLength: 100) + EmptyStateView( + title: Loc.noMatchesFound, + subtitle: "", + style: .withImage, + buttonData: nil + ) + Spacer() + } } } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubToolbar.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubToolbar.swift deleted file mode 100644 index f8a03b85bb..0000000000 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubToolbar.swift +++ /dev/null @@ -1,112 +0,0 @@ -import SwiftUI - -struct SpaceHubToolbar: ToolbarContent { - - let showLoading: Bool - let profileIcon: Icon? - let notificationsDenied: Bool - let namespace: Namespace.ID - - let onTapCreateSpace: () -> Void - let onTapSettings: () -> Void - - var body: some ToolbarContent { - if #available(iOS 26.0, *) { - ios26ToolbarItems - } else { - legacyToolbarItems - } - } - - @ToolbarContentBuilder - private var legacyToolbarItems: some ToolbarContent { - ToolbarItem(placement: .principal) { - HStack(spacing: 6) { - if showLoading { - CircleLoadingView(.Text.primary) - .frame(width: 18, height: 18) - .transition(.scale.combined(with: .opacity)) - } else { - Spacer.fixedWidth(18) - } - - AnytypeText(Loc.myChannels, style: .uxTitle1Semibold) - - Spacer.fixedWidth(18) - } - } - - - ToolbarItem(placement: .topBarLeading) { - Button { - onTapSettings() - } label: { - IconView(icon: profileIcon) - .foregroundStyle(Color.Control.secondary) - .frame(width: 28, height: 28) - .overlay(alignment: .topTrailing) { - if notificationsDenied { - attentionDotView - } - } - .padding(.vertical, 8) - } - } - - ToolbarItem(placement: .topBarTrailing) { - SpaceHubNewSpaceButton { - onTapCreateSpace() - } - } - } - - @available(iOS 26.0, *) - @ToolbarContentBuilder - private var ios26ToolbarItems: some ToolbarContent { - ToolbarItem(placement: .principal) { - HStack(spacing: 6) { - if showLoading { - CircleLoadingView(.Text.primary) - .frame(width: 18, height: 18) - .transition(.scale.combined(with: .opacity)) - } else { - Spacer.fixedWidth(18) - } - - AnytypeText(Loc.myChannels, style: .uxTitle1Semibold) - - Spacer.fixedWidth(18) - } - } - - ToolbarItem(placement: .topBarTrailing) { - Button { - onTapSettings() - } label: { - IconView(icon: profileIcon) - .foregroundStyle(Color.Control.secondary) - .frame(width: 28, height: 28) - .overlay(alignment: .topTrailing) { - if notificationsDenied { - attentionDotView - } - } - .padding(.vertical, 8) - } - } - - DefaultToolbarItem(kind: .search, placement: .bottomBar) - - ToolbarSpacer(placement: .bottomBar) - - ToolbarItem(placement: .bottomBar) { - Button { onTapCreateSpace() } label: { Label("", systemImage: "plus") } - } - .matchedTransitionSource(id: "SpaceCreateTypePickerView", in: namespace) - } - - private var attentionDotView: some View { - SpaceHubAttentionDotView() - .padding([.top, .trailing], 1) - } -} From 3f58826cbe89df5021c3cfa18e40fc2e33dd71f5 Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Tue, 11 Nov 2025 04:57:50 +0100 Subject: [PATCH 152/228] Automation: Update middleware to v0.44.0-nightly.20251111.1 (#4230) Co-authored-by: William Blake --- Libraryfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraryfile b/Libraryfile index 20959bb7e6..9aa77e0f82 100644 --- a/Libraryfile +++ b/Libraryfile @@ -1 +1 @@ -MIDDLE_VERSION=v0.44.0-nightly.20251108.1 +MIDDLE_VERSION=v0.44.0-nightly.20251111.1 From ff1155afb3c28c5c7161d0763dff68c1be0c722b Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 11 Nov 2025 11:20:39 +0000 Subject: [PATCH 153/228] IOS-5450 Keep widget type picker open when selecting layout --- .../WidgetType/Change/WidgetTypeChangeViewModel.swift | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/WidgetType/Change/WidgetTypeChangeViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/WidgetType/Change/WidgetTypeChangeViewModel.swift index 561d2f10f5..8861a8005c 100644 --- a/Anytype/Sources/PresentationLayer/Modules/WidgetType/Change/WidgetTypeChangeViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/WidgetType/Change/WidgetTypeChangeViewModel.swift @@ -44,21 +44,20 @@ final class WidgetTypeChangeViewModel: ObservableObject { } private func onTap(layout: BlockWidget.Layout, source: WidgetSource) { - + AnytypeAnalytics.instance().logChangeWidgetLayout( source: source.analyticsSource, layout: layout, route: .inner, context: data.context ) - + Task { @MainActor in try? await blockWidgetService.setLayout( contextId: data.widgetObjectId, widgetBlockId: data.widgetId, layout: layout ) - data.onFinish() } } } From 466b4dbca4c2445e9cc112a3741743dffae1605b Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 11 Nov 2025 10:24:33 +0000 Subject: [PATCH 154/228] IOS-5292 Update Space Hub loading state with iOS version-specific UI --- .../SpaceHub/Subviews/SpaceHubHeader.swift | 51 ++++++++++------ .../SpaceHub/Subviews/SpaceHubList.swift | 3 +- .../Subviews/SpaceHubLoadingBar.swift | 61 +++++++++++++++++++ 3 files changed, 96 insertions(+), 19 deletions(-) create mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubLoadingBar.swift diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubHeader.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubHeader.swift index fcbdc72c94..71ef1d625c 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubHeader.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubHeader.swift @@ -6,46 +6,61 @@ struct SpaceHubHeader: View { let showLoading: Bool let profileIcon: Icon? let notificationsDenied: Bool + @Binding var searchText: String let onTapSettings: () -> Void let onTapCreateSpace: () -> Void var body: some View { - VStack(spacing: 0) { + Group { if #available(iOS 26, *) { contentIOS26 } else { legacyContent } - - ProgressBar(showAnimation: showLoading) } } var contentIOS26: some View { - HStack(spacing: 0) { - AnytypeText(Loc.Spaces.title, style: .title) - - Spacer() - - settingsButton(small: false) + VStack(spacing: 0) { + HStack(spacing: 0) { + AnytypeText(Loc.Spaces.title, style: .title) + + Spacer() + + settingsButton(small: false) + } + .padding(.horizontal, 16) + .padding(.top, 20) + + SpaceHubLoadingBar(showAnimation: showLoading) } - .padding(.horizontal, 16) - .padding(.top, 20) } var legacyContent: some View { - HStack(spacing: 0) { - settingsButton(small: true) + VStack(spacing: 6) { + HStack(spacing: 6) { + settingsButton(small: true) + + Spacer() - Spacer() + if showLoading { + CircleLoadingView(.Text.primary) + .frame(width: 18, height: 18) + .transition(.scale.combined(with: .opacity)) + } else { + Spacer.fixedWidth(18) + } - AnytypeText(Loc.Spaces.title, style: .uxTitle2Semibold) + AnytypeText(Loc.Spaces.title, style: .uxTitle2Semibold) - Spacer() + Spacer() + + SpaceHubNewSpaceButton { onTapCreateSpace() } + } + .padding(.horizontal, 16) - SpaceHubNewSpaceButton { onTapCreateSpace() } + SearchBar(text: $searchText, focused: false) } - .padding(.horizontal, 16) .padding(.top, 20) } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift index 28cd3077da..28eda82d92 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift @@ -18,12 +18,13 @@ struct SpaceHubList: View { } private var scrollView: some View { - ScrollView { + ScrollView(.vertical) { VStack(spacing: 8) { SpaceHubHeader( showLoading: model.showLoading, profileIcon: model.profileIcon, notificationsDenied: model.notificationsDenied, + searchText: $model.searchText, onTapSettings: { model.onTapSettings() }, diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubLoadingBar.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubLoadingBar.swift new file mode 100644 index 0000000000..325e1039e7 --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubLoadingBar.swift @@ -0,0 +1,61 @@ +import SwiftUI + +struct SpaceHubLoadingBar: View { + var showAnimation: Bool + + var body: some View { + Group { + if showAnimation { + SpaceHubLoadingBarAnimated() + } else { + SpaceHubLoadingBarStub() + } + } + } +} + +struct SpaceHubLoadingBarAnimated: View { + @State private var isAnimating = false + private let timing: Double = 1 + + var body: some View { + GeometryReader { geometry in + ZStack(alignment: .leading) { + Rectangle() + .fill(Color.Control.accent25) + .frame(height: 3) + + LinearGradient( + gradient: Gradient(colors: [ + Color.Control.accent25, + Color.Control.accent100, + Color.Control.accent25 + ]), + startPoint: .leading, + endPoint: .trailing + ) + .frame(width: geometry.size.width, height: 3) + .offset(x: isAnimating ? 150 : -150) + } + .frame(height: 3) + .clipped() + } + .frame(height: 3) + .onAppear { + withAnimation(Animation.spring(duration: timing).repeatForever(autoreverses: true)) { + isAnimating.toggle() + } + } + } +} + +struct SpaceHubLoadingBarStub: View { + var body: some View { + Color.clear + .frame(height: 3) + } +} + +#Preview { + SpaceHubLoadingBar(showAnimation: true) +} From c9fe3fc77c3a4dc0a772edd9c4b12d1801ff8641 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 11 Nov 2025 12:42:09 +0000 Subject: [PATCH 155/228] IOS-5332 Move protocols to dedicated folder --- .../{ => Models}/WidgetDataviewInternalViewModelProtocol.swift | 0 .../{ => Models}/WidgetInternalViewModelProtocol.swift | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/{ => Models}/WidgetDataviewInternalViewModelProtocol.swift (100%) rename Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/{ => Models}/WidgetInternalViewModelProtocol.swift (100%) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/WidgetDataviewInternalViewModelProtocol.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/Models/WidgetDataviewInternalViewModelProtocol.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/WidgetDataviewInternalViewModelProtocol.swift rename to Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/Models/WidgetDataviewInternalViewModelProtocol.swift diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/WidgetInternalViewModelProtocol.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/Models/WidgetInternalViewModelProtocol.swift similarity index 100% rename from Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/WidgetInternalViewModelProtocol.swift rename to Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/Models/WidgetInternalViewModelProtocol.swift From 1d41e5fff5f9929d2384fb0caf242e372c6d236e Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Tue, 11 Nov 2025 20:33:33 +0100 Subject: [PATCH 156/228] Multilingual [skip ci] (#4233) --- Modules/Loc/Sources/Loc/Resources/Auth.xcstrings | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings b/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings index 9017bbd9f4..96a8a41d4e 100644 --- a/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings @@ -1241,7 +1241,7 @@ "fr" : { "stringUnit" : { "state" : "new", - "value" : "Read more" + "value" : "En savoir plus" } }, "id" : { @@ -1837,7 +1837,7 @@ "fr" : { "stringUnit" : { "state" : "new", - "value" : "It replaces login and password. Keep it safe — you control your data. You can find this Key later in app settings." + "value" : "Votre clé remplace identifiant et mot de passe. Gardez-la en sécurité — vous contrôlez vos données. Vous pourrez la retrouver plus tard dans les paramètres de l'application." } }, "id" : { @@ -5414,7 +5414,7 @@ "fr" : { "stringUnit" : { "state" : "new", - "value" : "Messaging & group chats" + "value" : "Messagerie et conversations de groupe" } }, "id" : { @@ -5712,7 +5712,7 @@ "fr" : { "stringUnit" : { "state" : "new", - "value" : "Projects & tasks management" + "value" : "Gestion des projets et des tâches" } }, "id" : { @@ -5861,7 +5861,7 @@ "fr" : { "stringUnit" : { "state" : "new", - "value" : "Team work & shared docs" + "value" : "Travail d'équipe et documentation partagée" } }, "id" : { From 2731a242948412cd30d7f41e99b5be8da1d8d1cf Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 12 Nov 2025 11:28:43 +0000 Subject: [PATCH 157/228] IOS-5332 Add message preview and mute state to chat widgets - Unified SpaceCardLastMessageModel and ChatRowPreview into MessagePreviewModel - Added isMuted property for per-chat mute state support - Created MessagePreviewModel+Presentation extension with reusable computed properties - Updated ListWidgetRow to show separate MentionBadge and CounterView with muted styling - Extracted widget row building logic into WidgetRowModelBuilder following SpaceHub pattern - Removed redundant data transformations from SetObjectWidgetInternalViewModel --- .../Builders/WidgetRowModelBuilder.swift | 78 +++++++++++++++++++ .../Content/Subviews/ListWidgetRow.swift | 71 ++++++++++++++--- .../ListWidgetRowModel+ObjectDetails.swift | 7 +- .../Content/Subviews/ListWidgetRowModel.swift | 1 + .../SetObjectWidgetInternalViewModel.swift | 47 +++++++---- .../Modules/SpaceHub/SpaceHubViewModel.swift | 2 +- .../MessagePreviewModel+Presentation.swift | 40 ++++++++++ ...eModel.swift => MessagePreviewModel.swift} | 8 +- .../SpaceCard/NewSpaceCardLabel.swift | 2 +- .../NewSpaceCardLastMessageView.swift | 2 +- .../SpaceCard/SpaceCardLastMessageView.swift | 2 +- .../Subviews/SpaceCard/SpaceCardModel.swift | 2 +- .../SpaceCard/SpaceCardModelBuilder.swift | 11 +-- 13 files changed, 232 insertions(+), 41 deletions(-) create mode 100644 Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Builders/WidgetRowModelBuilder.swift create mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel+Presentation.swift rename Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/{SpaceCardLastMessageModel.swift => MessagePreviewModel.swift} (65%) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Builders/WidgetRowModelBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Builders/WidgetRowModelBuilder.swift new file mode 100644 index 0000000000..f30f9436a8 --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Builders/WidgetRowModelBuilder.swift @@ -0,0 +1,78 @@ +import Foundation +import Services +import Factory + +protocol WidgetRowModelBuilderProtocol: AnyObject, Sendable { + func buildListRows( + from configs: [SetContentViewItemConfiguration], + spaceView: SpaceView?, + chatPreviews: [ChatMessagePreview] + ) -> [ListWidgetRowModel] + + func buildGalleryRows( + from configs: [SetContentViewItemConfiguration] + ) -> [GalleryWidgetRowModel] +} + +final class WidgetRowModelBuilder: WidgetRowModelBuilderProtocol, Sendable { + + private let dateFormatter = ChatPreviewDateFormatter() + + func buildGalleryRows( + from configs: [SetContentViewItemConfiguration] + ) -> [GalleryWidgetRowModel] { + configs.map { GalleryWidgetRowModel(details: $0) } + } + + func buildListRows( + from configs: [SetContentViewItemConfiguration], + spaceView: SpaceView?, + chatPreviews: [ChatMessagePreview] + ) -> [ListWidgetRowModel] { + configs.map { config in + let chatPreview = buildChatPreview( + objectId: config.id, + spaceView: spaceView, + chatPreviews: chatPreviews + ) + return ListWidgetRowModel(details: config, chatPreview: chatPreview) + } + } + + private func buildChatPreview( + objectId: String, + spaceView: SpaceView?, + chatPreviews: [ChatMessagePreview] + ) -> MessagePreviewModel? { + guard let preview = chatPreviews.first(where: { $0.chatId == objectId }), + let lastMessage = preview.lastMessage else { + return nil + } + + let attachments = lastMessage.attachments.prefix(3).map { objectDetails in + MessagePreviewModel.Attachment( + id: objectDetails.id, + icon: objectDetails.objectIconImage + ) + } + + let isMuted = !(spaceView?.effectiveNotificationMode(for: objectId).isUnmutedAll ?? true) + + return MessagePreviewModel( + creatorTitle: lastMessage.creator?.globalName, + text: lastMessage.text, + attachments: Array(attachments), + localizedAttachmentsText: lastMessage.localizedAttachmentsText, + chatPreviewDate: dateFormatter.localizedDateString(for: lastMessage.createdAt, showTodayTime: true), + unreadCounter: preview.unreadCounter, + mentionCounter: preview.mentionCounter, + isMuted: isMuted + ) + } +} + +extension Container { + var widgetRowModelBuilder: Factory { + self { WidgetRowModelBuilder() }.shared + } +} diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRow.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRow.swift index 6989453357..d75dc10844 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRow.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRow.swift @@ -12,18 +12,13 @@ struct ListWidgetRow: View { HStack(spacing: 12) { IconView(icon: model.icon) .frame(width: 48, height: 48) - - VStack(alignment: .leading, spacing: 0) { - AnytypeText(model.title, style: .previewTitle2Medium) - .foregroundColor(.Text.primary) - .lineLimit(1) - if let description = model.description, description.isNotEmpty { - Spacer.fixedHeight(1) - AnytypeText(description, style: .relation3Regular) - .foregroundColor(.Widget.secondary) - .lineLimit(1) - } + + if let chatPreview = model.chatPreview { + chatContent(chatPreview: chatPreview) + } else { + regularContent } + Spacer() } .padding(.horizontal, 16) @@ -37,4 +32,58 @@ struct ListWidgetRow: View { } .id(model.objectId) } + + @ViewBuilder + private var regularContent: some View { + VStack(alignment: .leading, spacing: 0) { + AnytypeText(model.title, style: .previewTitle2Medium) + .foregroundColor(.Text.primary) + .lineLimit(1) + if let description = model.description, description.isNotEmpty { + Spacer.fixedHeight(1) + AnytypeText(description, style: .relation3Regular) + .foregroundColor(.Widget.secondary) + .lineLimit(1) + } + } + } + + @ViewBuilder + private func chatContent(chatPreview: MessagePreviewModel) -> some View { + VStack(alignment: .leading, spacing: 1) { + HStack(spacing: 0) { + AnytypeText(model.title, style: .previewTitle2Medium) + .foregroundColor(chatPreview.titleColor) + .lineLimit(1) + + Spacer() + + AnytypeText(chatPreview.chatPreviewDate, style: .relation3Regular) + .foregroundColor(.Text.secondary) + .lineLimit(1) + } + + HStack(spacing: 0) { + AnytypeText(chatPreview.messagePreviewText, style: .relation2Regular) + .foregroundColor(chatPreview.messagePreviewColor) + .lineLimit(1) + + Spacer() + + if chatPreview.hasCounters { + HStack(spacing: 4) { + if chatPreview.mentionCounter > 0 { + MentionBadge(style: chatPreview.mentionStyle) + } + if chatPreview.unreadCounter > 0 { + CounterView( + count: chatPreview.unreadCounter, + style: chatPreview.counterStyle + ) + } + } + } + } + } + } } diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRowModel+ObjectDetails.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRowModel+ObjectDetails.swift index cec6b4f324..58c75e97be 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRowModel+ObjectDetails.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRowModel+ObjectDetails.swift @@ -5,6 +5,7 @@ extension ListWidgetRowModel { init( details: ObjectDetails, + chatPreview: MessagePreviewModel? = nil, onTap: @escaping @MainActor (ScreenData) -> Void ) { self = ListWidgetRowModel( @@ -12,18 +13,20 @@ extension ListWidgetRowModel { icon: details.objectIconImage, title: details.pluralTitle, description: details.subtitle, + chatPreview: chatPreview, onTap: { onTap(details.screenData()) } ) } - - init(details: SetContentViewItemConfiguration) { + + init(details: SetContentViewItemConfiguration, chatPreview: MessagePreviewModel? = nil) { self = ListWidgetRowModel( objectId: details.id, icon: details.icon, title: details.title, description: details.description, + chatPreview: chatPreview, onTap: details.onItemTap ) } diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRowModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRowModel.swift index eb78db9a5c..02f01de5ea 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRowModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRowModel.swift @@ -5,6 +5,7 @@ struct ListWidgetRowModel: Identifiable { let icon: Icon let title: String let description: String? + let chatPreview: MessagePreviewModel? let onTap: @MainActor () -> Void var id: String { objectId } diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/SetObjectWidgetInternalViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/SetObjectWidgetInternalViewModel.swift index d512e53289..a8a40dc311 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/SetObjectWidgetInternalViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/SetObjectWidgetInternalViewModel.swift @@ -33,6 +33,10 @@ final class SetObjectWidgetInternalViewModel { private var setObjectWidgetOrderHelper: any SetObjectWidgetOrderHelperProtocol @Injected(\.spaceViewsStorage) @ObservationIgnored private var spaceViewsStorage: any SpaceViewsStorageProtocol + @Injected(\.chatMessagesPreviewsStorage) @ObservationIgnored + private var chatMessagesPreviewsStorage: any ChatMessagesPreviewsStorageProtocol + @Injected(\.widgetRowModelBuilder) @ObservationIgnored + private var widgetRowModelBuilder: any WidgetRowModelBuilderProtocol // MARK: - State @ObservationIgnored @@ -43,6 +47,8 @@ final class SetObjectWidgetInternalViewModel { private var activeViewId: String? @ObservationIgnored private var canEditBlocks = true + @ObservationIgnored + private var chatPreviews: [ChatMessagePreview] = [] var dragId: String? { widgetBlockId } @@ -68,8 +74,9 @@ final class SetObjectWidgetInternalViewModel { async let permissionsTask: () = startPermissionsPublisher() async let startInfoTask: () = startInfoPublisher() async let targetDetailsTask: () = startTargetDetailsPublisher() - - _ = await (permissionsTask, startInfoTask, targetDetailsTask) + async let chatPreviewsTask: () = startChatPreviewsSequence() + + _ = await (permissionsTask, startInfoTask, targetDetailsTask, chatPreviewsTask) } // MARK: - Actions @@ -127,6 +134,13 @@ final class SetObjectWidgetInternalViewModel { await updateSetDocument(objectId: details.id, spaceId: details.spaceId) } } + + private func startChatPreviewsSequence() async { + for await previews in await chatMessagesPreviewsStorage.previewsSequence { + chatPreviews = previews + await updateBodyState() + } + } // MARK: - Private for view updates @@ -136,36 +150,39 @@ final class SetObjectWidgetInternalViewModel { switch style { case .list: - let listRows = rowDetails?.map { ListWidgetRowModel(details: $0) } + let listRows = buildListRows(from: rowDetails) rows = .list(rows: listRows, id: activeViewId ?? "") case .compactList: - let listRows = rowDetails?.map { ListWidgetRowModel(details: $0) } + let listRows = buildListRows(from: rowDetails) rows = .compactList(rows: listRows, id: activeViewId ?? "") case .view: if isSetByImageType() { - let galleryRows = rowDetails?.map { details in - GalleryWidgetRowModel( - objectId: details.id, - title: nil, - icon: nil, - cover: .cover(.imageId(details.id)), - onTap: details.onItemTap - ) - } + let galleryRows = rowDetails.map { widgetRowModelBuilder.buildGalleryRows(from: $0) } rows = .gallery(rows: galleryRows, id: activeViewId ?? "") } else { switch setDocument?.activeView.type { case .table, .list, .kanban, .calendar, .graph, nil: - let listRows = rowDetails?.map { ListWidgetRowModel(details: $0) } + let listRows = buildListRows(from: rowDetails) rows = .compactList(rows: listRows, id: activeViewId ?? "") case .gallery: - let galleryRows = rowDetails?.map { GalleryWidgetRowModel(details: $0) } + let galleryRows = rowDetails.map { widgetRowModelBuilder.buildGalleryRows(from: $0) } rows = .gallery(rows: galleryRows, id: activeViewId ?? "") } } } } } + + private func buildListRows(from configs: [SetContentViewItemConfiguration]?) -> [ListWidgetRowModel]? { + guard let configs, let setDocument else { return nil } + let spaceView = spaceViewsStorage.spaceView(spaceId: setDocument.spaceId) + + return widgetRowModelBuilder.buildListRows( + from: configs, + spaceView: spaceView, + chatPreviews: chatPreviews + ) + } private func isSetByImageType() -> Bool { guard let details = setDocument?.details, diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift index 3000f45ece..82b8dac61f 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift @@ -39,7 +39,7 @@ final class SpaceHubViewModel { private var pushNotificationsSystemSettingsBroadcaster: any PushNotificationsSystemSettingsBroadcasterProtocol @Injected(\.workspaceService) @ObservationIgnored private var workspaceService: any WorkspaceServiceProtocol - @Injected(\.spaceCardModelBuilder)@ObservationIgnored + @Injected(\.spaceCardModelBuilder) @ObservationIgnored private var spaceCardModelBuilder: any SpaceCardModelBuilderProtocol init(output: (any SpaceHubModuleOutput)?) { diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel+Presentation.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel+Presentation.swift new file mode 100644 index 0000000000..4dc0bbcd0a --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel+Presentation.swift @@ -0,0 +1,40 @@ +import SwiftUI + +extension MessagePreviewModel { + + var messagePreviewText: String { + if let authorName = creatorTitle, authorName.isNotEmpty { + return "\(authorName): \(localizedAttachmentsText)" + } + return localizedAttachmentsText + } + + var titleColor: Color { + if !isMuted { + .Text.primary + } else { + .Text.secondary + } + } + + var messagePreviewColor: Color { + guard !isMuted else { return .Text.secondary } + return totalCounter > 0 ? .Text.primary : .Text.secondary + } + + var totalCounter: Int { + unreadCounter + mentionCounter + } + + var mentionStyle: MentionBadgeStyle { + isMuted ? .muted : .highlighted + } + + var counterStyle: CounterViewStyle { + isMuted ? .muted : .highlighted + } + + var hasCounters: Bool { + totalCounter > 0 + } +} diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLastMessageModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel.swift similarity index 65% rename from Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLastMessageModel.swift rename to Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel.swift index e3760f85c3..b7e56a57b3 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLastMessageModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel.swift @@ -1,15 +1,17 @@ import Foundation -struct SpaceCardLastMessageModel: Equatable { +struct MessagePreviewModel: Equatable { let creatorTitle: String? let text: String let attachments: [Attachment] let localizedAttachmentsText: String - let historyDate: String let chatPreviewDate: String + let unreadCounter: Int + let mentionCounter: Int + let isMuted: Bool } -extension SpaceCardLastMessageModel { +extension MessagePreviewModel { struct Attachment: Equatable, Identifiable { let id: String let icon: Icon diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift index e5bb0f0871..7ff5772027 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift @@ -48,7 +48,7 @@ struct NewSpaceCardLabel: View { .clipShape(RoundedRectangle(cornerRadius: 20, style: .continuous)) } - private func mainContentWithMessage(_ message: SpaceCardLastMessageModel) -> some View { + private func mainContentWithMessage(_ message: MessagePreviewModel) -> some View { VStack(alignment: .leading, spacing: 0) { HStack(alignment: .bottom) { HStack(alignment: .center) { diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift index 5f79e6c033..870e4d7133 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift @@ -2,7 +2,7 @@ import SwiftUI struct NewSpaceCardLastMessageView: View { - let model: SpaceCardLastMessageModel + let model: MessagePreviewModel var body: some View { Group { diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLastMessageView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLastMessageView.swift index 53564384fb..4f99215aa6 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLastMessageView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardLastMessageView.swift @@ -2,7 +2,7 @@ import SwiftUI struct SpaceCardLastMessageView: View { - let model: SpaceCardLastMessageModel + let model: MessagePreviewModel var body: some View { if model.text.isNotEmpty { diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift index 4cfb509552..24e8d22acf 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift @@ -12,7 +12,7 @@ struct SpaceCardModel: Equatable, Identifiable { let isMuted: Bool let uxTypeName: String - let lastMessage: SpaceCardLastMessageModel? + let lastMessage: MessagePreviewModel? let unreadCounter: Int let mentionCounter: Int let hasCounters: Bool diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift index 029b0fbc34..8cbd3d4774 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift @@ -11,7 +11,6 @@ protocol SpaceCardModelBuilderProtocol: AnyObject, Sendable { final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { - private let historyDateFormatter = HistoryDateFormatter() private let chatPreviewDateFormatter = ChatPreviewDateFormatter() func build( @@ -34,19 +33,21 @@ final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { let lastMessage = latestPreview.lastMessage.map { lastMessagePreview in let attachments = lastMessagePreview.attachments.prefix(3).map { objectDetails in - SpaceCardLastMessageModel.Attachment( + MessagePreviewModel.Attachment( id: objectDetails.id, icon: objectDetails.objectIconImage ) } - return SpaceCardLastMessageModel( + return MessagePreviewModel( creatorTitle: lastMessagePreview.creator?.title, text: lastMessagePreview.text, attachments: Array(attachments), localizedAttachmentsText: lastMessagePreview.localizedAttachmentsText, - historyDate: historyDateFormatter.localizedDateString(for: lastMessagePreview.createdAt, showTodayTime: true), - chatPreviewDate: chatPreviewDateFormatter.localizedDateString(for: lastMessagePreview.createdAt, showTodayTime: true) + chatPreviewDate: chatPreviewDateFormatter.localizedDateString(for: lastMessagePreview.createdAt, showTodayTime: true), + unreadCounter: 0, + mentionCounter: 0, + isMuted: false ) } From c3b4d6456d43112970f022ae461e5c8a3670e242 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 12 Nov 2025 11:46:14 +0000 Subject: [PATCH 158/228] IOS-5332 Support preview for compact lists --- .../Subviews/ListWidgetCompactRow.swift | 25 ++++++++++++++++--- .../Content/Subviews/ListWidgetRow.swift | 2 +- .../MessagePreviewModel+Presentation.swift | 2 +- 3 files changed, 24 insertions(+), 5 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetCompactRow.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetCompactRow.swift index 6f1946e002..b2a01e187b 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetCompactRow.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetCompactRow.swift @@ -7,16 +7,35 @@ struct ListWidgetCompactRow: View { let showDivider: Bool @Environment(\.editMode) private var editMode - + + private var titleColor: Color { + model.chatPreview?.titleColor ?? .Text.primary + } + var body: some View { HStack(spacing: 12) { IconView(icon: model.icon) .frame(width: 18, height: 18) - + AnytypeText(model.title, style: .previewTitle2Medium) - .foregroundColor(.Text.primary) + .foregroundColor(titleColor) .lineLimit(1) + Spacer() + + if let chatPreview = model.chatPreview, chatPreview.hasCounters { + HStack(spacing: 4) { + if chatPreview.mentionCounter > 0 { + MentionBadge(style: chatPreview.mentionStyle) + } + if chatPreview.unreadCounter > 0 { + CounterView( + count: chatPreview.unreadCounter, + style: chatPreview.unreadStyle + ) + } + } + } } .padding(.horizontal, 16) .frame(height: 40) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRow.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRow.swift index d75dc10844..5500304a79 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRow.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRow.swift @@ -78,7 +78,7 @@ struct ListWidgetRow: View { if chatPreview.unreadCounter > 0 { CounterView( count: chatPreview.unreadCounter, - style: chatPreview.counterStyle + style: chatPreview.unreadStyle ) } } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel+Presentation.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel+Presentation.swift index 4dc0bbcd0a..15c0360a83 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel+Presentation.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel+Presentation.swift @@ -30,7 +30,7 @@ extension MessagePreviewModel { isMuted ? .muted : .highlighted } - var counterStyle: CounterViewStyle { + var unreadStyle: CounterViewStyle { isMuted ? .muted : .highlighted } From c8a6734381daf9fd67ebc23e6010d64b9519e6f7 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 12 Nov 2025 12:01:45 +0000 Subject: [PATCH 159/228] IOS-5332 Address PR issues --- .../Widgets/Builders/WidgetRowModelBuilder.swift | 2 ++ .../SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift | 6 +++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Builders/WidgetRowModelBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Builders/WidgetRowModelBuilder.swift index f30f9436a8..89290ef2b6 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Builders/WidgetRowModelBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Builders/WidgetRowModelBuilder.swift @@ -2,6 +2,7 @@ import Foundation import Services import Factory +@MainActor protocol WidgetRowModelBuilderProtocol: AnyObject, Sendable { func buildListRows( from configs: [SetContentViewItemConfiguration], @@ -14,6 +15,7 @@ protocol WidgetRowModelBuilderProtocol: AnyObject, Sendable { ) -> [GalleryWidgetRowModel] } +@MainActor final class WidgetRowModelBuilder: WidgetRowModelBuilderProtocol, Sendable { private let dateFormatter = ChatPreviewDateFormatter() diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift index 8cbd3d4774..9abac8d874 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift @@ -45,9 +45,9 @@ final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { attachments: Array(attachments), localizedAttachmentsText: lastMessagePreview.localizedAttachmentsText, chatPreviewDate: chatPreviewDateFormatter.localizedDateString(for: lastMessagePreview.createdAt, showTodayTime: true), - unreadCounter: 0, - mentionCounter: 0, - isMuted: false + unreadCounter: 0, // unsupported in space hub + mentionCounter: 0, // unsupported in space hub + isMuted: false // unsupported in space hub ) } From 62b50d798b61eabf13dc48b3c3ce14dd9b903166 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 12 Nov 2025 12:28:51 +0000 Subject: [PATCH 160/228] IOS-5332 Add badge support to link widget with mute state --- .../Common/LinkWidgetDefaultHeader.swift | 5 +- .../Container/WidgetContainerView.swift | 29 ++++++++- .../Widgets/Link/LinkWidgetView.swift | 1 + .../Widgets/Link/LinkWidgetViewModel.swift | 62 ++++++++++++++++++- 4 files changed, 90 insertions(+), 7 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Common/LinkWidgetDefaultHeader.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Common/LinkWidgetDefaultHeader.swift index 251b06f35f..cd6b86ef2e 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Common/LinkWidgetDefaultHeader.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Common/LinkWidgetDefaultHeader.swift @@ -3,17 +3,20 @@ import SwiftUI struct LinkWidgetDefaultHeader: View { let title: String + let titleColor: Color let icon: Icon? let rightAccessory: RightView let onTap: (() -> Void) init( title: String, + titleColor: Color = .Text.primary, icon: Icon?, @ViewBuilder rightAccessory: () -> RightView = { EmptyView() }, onTap: @escaping () -> Void ) { self.title = title + self.titleColor = titleColor self.icon = icon self.rightAccessory = rightAccessory() self.onTap = onTap @@ -30,7 +33,7 @@ struct LinkWidgetDefaultHeader: View { Spacer.fixedWidth(16) } AnytypeText(title, style: .subheading) - .foregroundColor(.Text.primary) + .foregroundColor(titleColor) .lineLimit(1) .layoutPriority(-1) Spacer.fixedWidth(16) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Container/WidgetContainerView.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Container/WidgetContainerView.swift index a21e0fa930..8dab34e9fc 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Container/WidgetContainerView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Container/WidgetContainerView.swift @@ -9,6 +9,7 @@ struct WidgetContainerView: View { let name: String let icon: Icon? + let badgeModel: MessagePreviewModel? let dragId: String? let onCreateObjectTap: (() -> Void)? let onHeaderTap: () -> Void @@ -20,6 +21,7 @@ struct WidgetContainerView: View { homeState: Binding, name: String, icon: Icon? = nil, + badgeModel: MessagePreviewModel? = nil, dragId: String?, menuItems: [WidgetMenuItem] = [.changeType, .remove, .removeSystemWidget], onCreateObjectTap: (() -> Void)?, @@ -30,6 +32,7 @@ struct WidgetContainerView: View { self._homeState = homeState self.name = name self.icon = icon + self.badgeModel = badgeModel self.dragId = dragId self.onCreateObjectTap = onCreateObjectTap self.onHeaderTap = onHeaderTap @@ -60,9 +63,29 @@ struct WidgetContainerView: View { allowContent: Content.self != EmptyView.self, createObjectAction: model.homeState.isReadWrite ? onCreateObjectTap : nil, header: { - LinkWidgetDefaultHeader(title: name, icon: icon, onTap: { - onHeaderTap() - }) + LinkWidgetDefaultHeader( + title: name, + titleColor: badgeModel?.titleColor ?? .Text.primary, + icon: icon, + rightAccessory: { + if let badgeModel, badgeModel.hasCounters { + HStack(spacing: 4) { + if badgeModel.mentionCounter > 0 { + MentionBadge(style: badgeModel.mentionStyle) + } + if badgeModel.unreadCounter > 0 { + CounterView( + count: badgeModel.unreadCounter, + style: badgeModel.unreadStyle + ) + } + } + } + }, + onTap: { + onHeaderTap() + } + ) }, menu: { menuItemsView diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetView.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetView.swift index 55de2d6c43..ef21084f70 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetView.swift @@ -29,6 +29,7 @@ struct LinkWidgetInternalView: View { homeState: data.homeState, name: model.name, icon: model.icon, + badgeModel: model.badgeModel, dragId: model.dragId, onCreateObjectTap: nil, onHeaderTap: { diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetViewModel.swift index 79afd5d3be..28404c8d80 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetViewModel.swift @@ -2,6 +2,7 @@ import Foundation import Combine import Services import AnytypeCore +import Factory @MainActor @@ -12,21 +13,31 @@ final class LinkWidgetViewModel: ObservableObject { private let widgetBlockId: String private let widgetObject: any BaseDocumentProtocol private weak var output: (any CommonWidgetModuleOutput)? - + + @Injected(\.chatMessagesPreviewsStorage) + private var chatMessagesPreviewsStorage: any ChatMessagesPreviewsStorageProtocol + @Injected(\.spaceViewsStorage) + private var spaceViewsStorage: any SpaceViewsStorageProtocol + // MARK: - State private var subscriptions = [AnyCancellable]() private var linkedObjectDetails: ObjectDetails? - + private var chatPreviews: [ChatMessagePreview] = [] + @Published private(set) var name = "" @Published private(set) var icon: Icon? + @Published private(set) var badgeModel: MessagePreviewModel? var dragId: String? { widgetBlockId } - + + private let dateFormatter = ChatPreviewDateFormatter() + init(data: WidgetSubmoduleData) { self.widgetBlockId = data.widgetBlockId self.widgetObject = data.widgetObject self.output = data.output setupAllSubscriptions() + startChatPreviewsSubscription() } func onHeaderTap() { @@ -49,7 +60,52 @@ final class LinkWidgetViewModel: ObservableObject { self?.linkedObjectDetails = details self?.name = details.pluralTitle self?.icon = details.objectIconImage + self?.updateBadgeModel() } .store(in: &subscriptions) } + + private func startChatPreviewsSubscription() { + Task { @MainActor [weak self] in + guard let self else { return } + for await previews in await chatMessagesPreviewsStorage.previewsSequence { + self.chatPreviews = previews + self.updateBadgeModel() + } + } + } + + private func updateBadgeModel() { + guard let linkedObjectDetails else { + badgeModel = nil + return + } + + guard let chatPreview = chatPreviews.first(where: { $0.chatId == linkedObjectDetails.id }), + let lastMessage = chatPreview.lastMessage else { + badgeModel = nil + return + } + + let attachments = lastMessage.attachments.prefix(3).map { objectDetails in + MessagePreviewModel.Attachment( + id: objectDetails.id, + icon: objectDetails.objectIconImage + ) + } + + let spaceView = spaceViewsStorage.spaceView(spaceId: linkedObjectDetails.spaceId) + let isMuted = !(spaceView?.effectiveNotificationMode(for: linkedObjectDetails.id).isUnmutedAll ?? true) + + badgeModel = MessagePreviewModel( + creatorTitle: lastMessage.creator?.globalName, + text: lastMessage.text, + attachments: Array(attachments), + localizedAttachmentsText: lastMessage.localizedAttachmentsText, + chatPreviewDate: dateFormatter.localizedDateString(for: lastMessage.createdAt, showTodayTime: true), + unreadCounter: chatPreview.unreadCounter, + mentionCounter: chatPreview.mentionCounter, + isMuted: isMuted + ) + } } From 30d5fb9f3f5d78624ee89342780be450a18ea477 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 12 Nov 2025 14:36:44 +0000 Subject: [PATCH 161/228] IOS-5332 use swift concurrency instead of combine --- .../Widgets/Link/LinkWidgetView.swift | 3 ++ .../Widgets/Link/LinkWidgetViewModel.swift | 39 +++++++++---------- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetView.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetView.swift index ef21084f70..11e0bea9e8 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetView.swift @@ -38,5 +38,8 @@ struct LinkWidgetInternalView: View { output: data.output, content: { EmptyView() } ) + .task { + await model.startSubscriptions() + } } } diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetViewModel.swift index 28404c8d80..68587c8410 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetViewModel.swift @@ -21,7 +21,6 @@ final class LinkWidgetViewModel: ObservableObject { // MARK: - State - private var subscriptions = [AnyCancellable]() private var linkedObjectDetails: ObjectDetails? private var chatPreviews: [ChatMessagePreview] = [] @@ -36,8 +35,6 @@ final class LinkWidgetViewModel: ObservableObject { self.widgetBlockId = data.widgetBlockId self.widgetObject = data.widgetObject self.output = data.output - setupAllSubscriptions() - startChatPreviewsSubscription() } func onHeaderTap() { @@ -50,28 +47,28 @@ final class LinkWidgetViewModel: ObservableObject { output?.onObjectSelected(screenData: linkedObjectDetails.screenData()) } + func startSubscriptions() async { + async let detailsSub: () = startDetailsSubscriptions() + async let chatPreviewsSub: () = startChatPreviewsSubscription() + + _ = await (detailsSub, chatPreviewsSub) + } + // MARK: - Private - private func setupAllSubscriptions() { - - widgetObject.widgetTargetDetailsPublisher(widgetBlockId: widgetBlockId) - .receiveOnMain() - .sink { [weak self] details in - self?.linkedObjectDetails = details - self?.name = details.pluralTitle - self?.icon = details.objectIconImage - self?.updateBadgeModel() - } - .store(in: &subscriptions) + private func startDetailsSubscriptions() async { + for await details in widgetObject.widgetTargetDetailsPublisher(widgetBlockId: widgetBlockId).values { + linkedObjectDetails = details + name = details.pluralTitle + icon = details.objectIconImage + updateBadgeModel() + } } - private func startChatPreviewsSubscription() { - Task { @MainActor [weak self] in - guard let self else { return } - for await previews in await chatMessagesPreviewsStorage.previewsSequence { - self.chatPreviews = previews - self.updateBadgeModel() - } + private func startChatPreviewsSubscription() async { + for await previews in await chatMessagesPreviewsStorage.previewsSequence { + chatPreviews = previews + updateBadgeModel() } } From ee7bd1004057e89ecfeb604a1c3844ce0617c5aa Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 12 Nov 2025 15:41:34 +0000 Subject: [PATCH 162/228] IOS-5453 Add EditorConfig to enforce consistent coding styles --- .editorconfig | 56 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 56 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..a9ee6a3196 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,56 @@ +# EditorConfig - Ensures consistent coding styles across editors and IDEs +# https://editorconfig.org + +root = true + +# Swift files +[*.swift] +charset = utf-8 +indent_style = space +indent_size = 4 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = false # CRITICAL: Preserve whitespace on blank lines +max_line_length = 140 + +# YAML files (Fastlane, workflows, configs) +[*.{yml,yaml}] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +# JSON files (Xcode assets, configs) +[*.json] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +# Markdown files +[*.md] +charset = utf-8 +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = false # Preserve trailing spaces (used for line breaks) + +# Makefiles (MUST use tabs) +[Makefile] +indent_style = tab +insert_final_newline = true +trim_trailing_whitespace = true + +# Shell scripts +[*.sh] +charset = utf-8 +indent_style = space +indent_size = 4 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true From 1f938dfbd5377a0189b0a8900f9c9bc1c29e2c0f Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 13 Nov 2025 10:12:47 +0000 Subject: [PATCH 163/228] IOS-2532 Fix duplicate Linear comments for retried release builds --- fastlane/FastfileDeploy | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/fastlane/FastfileDeploy b/fastlane/FastfileDeploy index 841aa1419a..96577f11d5 100644 --- a/fastlane/FastfileDeploy +++ b/fastlane/FastfileDeploy @@ -125,11 +125,27 @@ platform :ios do old_tag_name = previous_version_tags.last || tag_name end - add_linear_comment( - from_tag: old_tag_name, - to_tag: tag_name, - comment: "Implemented in **#{appInfo}** `#{version}(#{build_number})`. This comment was created automatically." - ) + # Check if we should add Linear comments + # Skip if: (1) old_tag is the same as new tag (first release) + # (2) both tags point to the same commit (retried build) + if old_tag_name == tag_name + puts "⏭️ Skipping Linear comments: First release, no previous version to compare" + else + old_commit = sh("git rev-parse #{old_tag_name}^{commit} 2>/dev/null || echo ''").strip + new_commit = sh("git rev-parse #{tag_name}^{commit}").strip + + if old_commit.empty? + puts "⚠️ Warning: Could not find commit for #{old_tag_name}, skipping Linear comments" + elsif old_commit == new_commit + puts "⏭️ Skipping Linear comments: #{old_tag_name} and #{tag_name} point to the same commit (#{old_commit[0..7]})" + else + add_linear_comment( + from_tag: old_tag_name, + to_tag: tag_name, + comment: "Implemented in **#{appInfo}** `#{version}(#{build_number})`. This comment was created automatically." + ) + end + end upload_to_testflight(skip_waiting_for_build_processing: true) From c64230e39f832e811e047e022fbf95a4920a8a67 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 13 Nov 2025 10:45:39 +0000 Subject: [PATCH 164/228] IOS-5452 Add chat message previews to sets and collections - Add chatPreview property to SetContentViewItemConfiguration - Update SetContentViewDataBuilder to build chat previews with O(1) dictionary lookup - Subscribe to chat previews in EditorSetViewModel with cached SpaceView - Create SetChatPreviewView and SetListChatPreviewView for UI display - Update SetListViewCell and SetGalleryViewCell to show message previews - Add Hashable conformance to MessagePreviewModel - Display author, message text, timestamp, and unread/mention badges - Support muted chat styling --- .../SetObjectWidgetOrderHelper.swift | 2 + .../SpaceCard/MessagePreviewModel.swift | 4 +- .../TextEditor/Set/EditorSetViewModel.swift | 29 ++++++--- .../Collection/Cell/SetChatPreviewView.swift | 55 +++++++++++++++++ .../Collection/Cell/SetGalleryViewCell.swift | 22 ++++--- .../Cell/SetListChatPreviewView.swift | 60 +++++++++++++++++++ .../Collection/Cell/SetListViewCell.swift | 13 +++- .../Models/SetContentViewDataBuilder.swift | 49 ++++++++++++++- .../Row/SetContentViewItemConfiguration.swift | 3 + 9 files changed, 215 insertions(+), 22 deletions(-) create mode 100644 Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetChatPreviewView.swift create mode 100644 Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetListChatPreviewView.swift diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SetCommon/SetObjectWidgetOrderHelper.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SetCommon/SetObjectWidgetOrderHelper.swift index 1699074ad3..eede9a92fe 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SetCommon/SetObjectWidgetOrderHelper.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SetCommon/SetObjectWidgetOrderHelper.swift @@ -38,6 +38,8 @@ final class SetObjectWidgetOrderHelper: SetObjectWidgetOrderHelperProtocol { canEditIcon: setDocument.setPermissions.canEditSetObjectIcon, storage: subscriptionStorage.detailsStorage, spaceId: setDocument.spaceId, + chatPreviews: [], + spaceView: nil, onItemTap: { onItemTap($0, sortedDetails) } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel.swift index b7e56a57b3..fcc2e733fb 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel.swift @@ -1,6 +1,6 @@ import Foundation -struct MessagePreviewModel: Equatable { +struct MessagePreviewModel: Equatable, Hashable { let creatorTitle: String? let text: String let attachments: [Attachment] @@ -12,7 +12,7 @@ struct MessagePreviewModel: Equatable { } extension MessagePreviewModel { - struct Attachment: Equatable, Identifiable { + struct Attachment: Equatable, Hashable, Identifiable { let id: String let icon: Icon } diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/EditorSetViewModel.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/EditorSetViewModel.swift index 8fcda32c72..b685f189f6 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/EditorSetViewModel.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/EditorSetViewModel.swift @@ -213,14 +213,16 @@ final class EditorSetViewModel: ObservableObject { private var setGroupSubscriptionDataBuilder: any SetGroupSubscriptionDataBuilderProtocol @Injected(\.propertyDetailsStorage) private var propertyDetailsStorage: any PropertyDetailsStorageProtocol - @Injected(\.spaceViewsStorage) - private var spaceViewsStorage: any SpaceViewsStorageProtocol + @Injected(\.chatMessagesPreviewsStorage) + private var chatMessagesPreviewsStorage: any ChatMessagesPreviewsStorageProtocol private let documentsProvider: any DocumentsProviderProtocol = Container.shared.documentsProvider() private var subscriptions = [AnyCancellable]() private var subscriptionStorages = [String: any SubscriptionStorageProtocol]() private var titleSubscription: AnyCancellable? private var descriptionSubscription: AnyCancellable? + private var chatPreviews: [ChatMessagePreview] = [] + private let spaceView: SpaceView? private weak var output: (any EditorSetModuleOutput)? init(data: EditorListObject, showHeader: Bool, output: (any EditorSetModuleOutput)?) { @@ -245,6 +247,10 @@ final class EditorSetViewModel: ObservableObject { self.showHeader = showHeader self.output = output + + let spaceViewsStorage = Container.shared.spaceViewsStorage() + self.spaceView = spaceViewsStorage.spaceView(spaceId: data.spaceId) + self.setup() } @@ -320,8 +326,9 @@ final class EditorSetViewModel: ObservableObject { func startSubscriptions() async { async let templatesSub: () = subscribeOnTemplates() async let relationsSub: () = subscribeOnRelations() - - (_, _) = await (templatesSub, relationsSub) + async let chatPreviewsSub: () = startChatPreviewsSequence() + + (_, _, _) = await (templatesSub, relationsSub, chatPreviewsSub) } private func subscribeOnTemplates() async { @@ -342,6 +349,13 @@ final class EditorSetViewModel: ObservableObject { self.relationsCount = properties.installed.count + conflictingRelations.count } } + + private func startChatPreviewsSequence() async { + for await previews in await chatMessagesPreviewsStorage.previewsSequence { + chatPreviews = previews + updateConfigurations(with: Array(recordsDict.keys)) + } + } func startSubscriptionIfNeeded(forceUpdate: Bool = false) async { @@ -553,7 +567,6 @@ final class EditorSetViewModel: ObservableObject { guard setDocument.canStartSubscription() else { return } - let spaceUxType = spaceViewsStorage.spaceView(spaceId: setDocument.spaceId)?.uxType let data = setSubscriptionDataBuilder.set( SetSubscriptionData( identifier: subscriptionId, @@ -563,7 +576,7 @@ final class EditorSetViewModel: ObservableObject { numberOfRowsPerPage: numberOfRowsPerPage, collectionId: setDocument.isCollection() ? objectId : nil, objectOrderIds: setDocument.objectOrderIds(for: subscriptionId), - spaceUxType: spaceUxType + spaceUxType: spaceView?.uxType ) ) @@ -598,10 +611,12 @@ final class EditorSetViewModel: ObservableObject { records, dataView: setDocument.dataView, activeView: activeView, - viewRelationValueIsLocked: !setDocument.setPermissions.canEditRelationValuesInView, + viewRelationValueIsLocked: !setDocument.setPermissions.canEditRelationValuesInView, canEditIcon: setDocument.setPermissions.canEditSetObjectIcon, storage: subscription.detailsStorage, spaceId: setDocument.spaceId, + chatPreviews: chatPreviews, + spaceView: spaceView, onItemTap: { [weak self] details in self?.itemTapped(details) } diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetChatPreviewView.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetChatPreviewView.swift new file mode 100644 index 0000000000..8d1524fe65 --- /dev/null +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetChatPreviewView.swift @@ -0,0 +1,55 @@ +import SwiftUI + +struct SetChatPreviewView: View { + let configuration: SetContentViewItemConfiguration + let chatPreview: MessagePreviewModel + + var body: some View { + VStack(alignment: .leading, spacing: 4) { + HStack(spacing: 8) { + if configuration.showIcon { + IconView(icon: configuration.icon) + .frame(width: 32, height: 32) + } + + if configuration.showTitle { + AnytypeText(configuration.title, style: .previewTitle2Medium) + .foregroundColor(chatPreview.titleColor) + .lineLimit(1) + } + + Spacer() + + if chatPreview.hasCounters { + HStack(spacing: 4) { + if chatPreview.mentionCounter > 0 { + MentionBadge(style: chatPreview.mentionStyle) + } + if chatPreview.unreadCounter > 0 { + CounterView( + count: chatPreview.unreadCounter, + style: chatPreview.unreadStyle + ) + } + } + } + } + + HStack(spacing: 0) { + AnytypeText(chatPreview.messagePreviewText, style: .relation2Regular) + .foregroundColor(chatPreview.messagePreviewColor) + .lineLimit(2) + + Spacer() + } + + HStack(spacing: 0) { + AnytypeText(chatPreview.chatPreviewDate, style: .relation3Regular) + .foregroundColor(.Text.secondary) + .lineLimit(1) + + Spacer() + } + } + } +} diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetGalleryViewCell.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetGalleryViewCell.swift index 4f30e238a8..6856f437fa 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetGalleryViewCell.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetGalleryViewCell.swift @@ -31,15 +31,19 @@ struct SetGalleryViewCell: View { private var infoContent: some View { VStack(alignment: .leading, spacing: 4) { - TitleWithIconView( - icon: configuration.icon, - showIcon: configuration.showIcon, - canEditIcon: configuration.canEditIcon, - title: configuration.title, - showTitle: configuration.showTitle, - style: .gallery - ) - relations + if let chatPreview = configuration.chatPreview { + SetChatPreviewView(configuration: configuration, chatPreview: chatPreview) + } else { + TitleWithIconView( + icon: configuration.icon, + showIcon: configuration.showIcon, + canEditIcon: configuration.canEditIcon, + title: configuration.title, + showTitle: configuration.showTitle, + style: .gallery + ) + relations + } } .padding(.top, configuration.hasCover && configuration.coverType.isNotNil ? 0 : Constants.contentPadding ) .padding([.leading, .trailing, .bottom], Constants.contentPadding) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetListChatPreviewView.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetListChatPreviewView.swift new file mode 100644 index 0000000000..53f1de699d --- /dev/null +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetListChatPreviewView.swift @@ -0,0 +1,60 @@ +import SwiftUI + +struct SetListChatPreviewView: View { + let configuration: SetContentViewItemConfiguration + let chatPreview: MessagePreviewModel + + var body: some View { + HStack(spacing: 12) { + if configuration.showIcon { + IconView(icon: configuration.icon) + .frame(width: 48, height: 48) + } + + VStack(alignment: .leading, spacing: 1) { + HStack(spacing: 0) { + if configuration.showTitle { + AnytypeText(configuration.title, style: .previewTitle2Medium) + .foregroundColor(chatPreview.titleColor) + .lineLimit(1) + } + + Spacer() + + AnytypeText(chatPreview.chatPreviewDate, style: .relation3Regular) + .foregroundColor(.Text.secondary) + .lineLimit(1) + } + + HStack(spacing: 0) { + AnytypeText(chatPreview.messagePreviewText, style: .relation2Regular) + .foregroundColor(chatPreview.messagePreviewColor) + .lineLimit(1) + + Spacer() + + if chatPreview.hasCounters { + HStack(spacing: 4) { + if chatPreview.mentionCounter > 0 { + MentionBadge(style: chatPreview.mentionStyle) + } + if chatPreview.unreadCounter > 0 { + CounterView( + count: chatPreview.unreadCounter, + style: chatPreview.unreadStyle + ) + } + } + } + } + } + + Spacer() + } + .background(Color.Background.primary) + .frame(maxWidth: .infinity, alignment: .topLeading) + .padding(.vertical, 20) + .clipped() + .fixTappableArea() + } +} diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetListViewCell.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetListViewCell.swift index 55c1a35fde..fbd106086e 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetListViewCell.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetListViewCell.swift @@ -12,12 +12,21 @@ struct SetListViewCell: View { } .buttonStyle(LightDimmingButtonStyle()) } - + + @ViewBuilder private var content: some View { + if let chatPreview = configuration.chatPreview { + SetListChatPreviewView(configuration: configuration, chatPreview: chatPreview) + } else { + regularContent + } + } + + private var regularContent: some View { FlowPropertiesView( viewModel: FlowPropertiesViewModel( icon: configuration.icon, - showIcon: configuration.showIcon, + showIcon: configuration.showIcon, canEditIcon: configuration.canEditIcon, title: configuration.title, description: configuration.description, diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Models/SetContentViewDataBuilder.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Models/SetContentViewDataBuilder.swift index 4ecc3f0209..284c0487c3 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Models/SetContentViewDataBuilder.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Models/SetContentViewDataBuilder.swift @@ -19,6 +19,8 @@ protocol SetContentViewDataBuilderProtocol: AnyObject { canEditIcon: Bool, storage: ObjectDetailsStorage, spaceId: String, + chatPreviews: [ChatMessagePreview], + spaceView: SpaceView?, onItemTap: @escaping @MainActor (ObjectDetails) -> Void ) -> [SetContentViewItemConfiguration] } @@ -29,6 +31,8 @@ final class SetContentViewDataBuilder: SetContentViewDataBuilderProtocol { private var relationsBuilder: any PropertiesBuilderProtocol @Injected(\.propertyDetailsStorage) private var propertyDetailsStorage: any PropertyDetailsStorageProtocol + + private let dateFormatter = ChatPreviewDateFormatter() func sortedRelations(dataview: BlockDataview, view: DataviewView, spaceId: String) -> [SetProperty] { let storageRelationsDetails = propertyDetailsStorage.relationsDetails(keys: dataview.relationLinks.map(\.key), spaceId: spaceId) @@ -93,6 +97,8 @@ final class SetContentViewDataBuilder: SetContentViewDataBuilderProtocol { canEditIcon: Bool, storage: ObjectDetailsStorage, spaceId: String, + chatPreviews: [ChatMessagePreview], + spaceView: SpaceView?, onItemTap: @escaping @MainActor (ObjectDetails) -> Void ) -> [SetContentViewItemConfiguration] { @@ -119,14 +125,21 @@ final class SetContentViewDataBuilder: SetContentViewDataBuilderProtocol { let minHeight = calculateMinHeight(activeView: activeView, items: items, showTitle: showTitle, showIcon: showIcon) let hasCover = activeView.coverRelationKey.isNotEmpty && activeView.type != .kanban - + + let chatPreviewsDict = Dictionary(uniqueKeysWithValues: chatPreviews.map { ($0.chatId, $0) }) + return items.map { item in + let chatPreview = buildChatPreview( + objectId: item.details.id, + spaceView: spaceView, + chatPreviewsDict: chatPreviewsDict + ) return SetContentViewItemConfiguration( id: item.details.id, title: item.details.pluralTitle, showTitle: showTitle, description: item.details.description, - icon: item.details.objectIconImage, + icon: item.details.objectIconImage, canEditIcon: canEditIcon, relations: item.relations, showIcon: showIcon, @@ -135,6 +148,7 @@ final class SetContentViewDataBuilder: SetContentViewDataBuilderProtocol { coverFit: activeView.coverFit, coverType: coverType(item.details, dataView: dataView, activeView: activeView, spaceId: spaceId, detailsStorage: storage), minHeight: minHeight, + chatPreview: chatPreview, onItemTap: { [details = item.details] in onItemTap(details) } @@ -270,4 +284,35 @@ final class SetContentViewDataBuilder: SetContentViewDataBuilderProtocol { return maxHeight } + + private func buildChatPreview( + objectId: String, + spaceView: SpaceView?, + chatPreviewsDict: [String: ChatMessagePreview] + ) -> MessagePreviewModel? { + guard let preview = chatPreviewsDict[objectId], + let lastMessage = preview.lastMessage else { + return nil + } + + let attachments = lastMessage.attachments.prefix(3).map { objectDetails in + MessagePreviewModel.Attachment( + id: objectDetails.id, + icon: objectDetails.objectIconImage + ) + } + + let isMuted = !(spaceView?.effectiveNotificationMode(for: objectId).isUnmutedAll ?? true) + + return MessagePreviewModel( + creatorTitle: lastMessage.creator?.globalName, + text: lastMessage.text, + attachments: Array(attachments), + localizedAttachmentsText: lastMessage.localizedAttachmentsText, + chatPreviewDate: dateFormatter.localizedDateString(for: lastMessage.createdAt, showTodayTime: true), + unreadCounter: preview.unreadCounter, + mentionCounter: preview.mentionCounter, + isMuted: isMuted + ) + } } diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Table/Row/SetContentViewItemConfiguration.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Table/Row/SetContentViewItemConfiguration.swift index de66238948..ab0ee99789 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Table/Row/SetContentViewItemConfiguration.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Table/Row/SetContentViewItemConfiguration.swift @@ -16,6 +16,7 @@ struct SetContentViewItemConfiguration: Identifiable, Hashable { let coverFit: Bool let coverType: ObjectHeaderCoverType? let minHeight: CGFloat? + let chatPreview: MessagePreviewModel? @EquatableNoop var onItemTap: @MainActor () -> Void init( @@ -32,6 +33,7 @@ struct SetContentViewItemConfiguration: Identifiable, Hashable { coverFit: Bool, coverType: ObjectHeaderCoverType?, minHeight: CGFloat?, + chatPreview: MessagePreviewModel? = nil, onItemTap: @escaping @MainActor () -> Void ) { self.id = id @@ -47,6 +49,7 @@ struct SetContentViewItemConfiguration: Identifiable, Hashable { self.coverFit = coverFit self.coverType = coverType self.minHeight = minHeight + self.chatPreview = chatPreview self.onItemTap = onItemTap } } From 7d83e3cf53192ab28c361e3c7cdb6a4ede112455 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 13 Nov 2025 11:20:44 +0000 Subject: [PATCH 165/228] IOS-5452 Add tests for chat preview dictionary conversion and edge cases - Add SetContentViewDataBuilderTests with 10 focused tests - Test nil handling, attachment truncation, counter propagation - Test dictionary conversion for performance optimization - Make buildChatPreview internal for testing - Add Participant.mock and ObjectDetails.mock helpers --- .../SetContentViewDataBuilderTests.swift | 232 ++++++++++++++++++ .../Models/SetContentViewDataBuilder.swift | 2 +- 2 files changed, 233 insertions(+), 1 deletion(-) create mode 100644 AnyTypeTests/Services/SetContentViewDataBuilderTests.swift diff --git a/AnyTypeTests/Services/SetContentViewDataBuilderTests.swift b/AnyTypeTests/Services/SetContentViewDataBuilderTests.swift new file mode 100644 index 0000000000..f6717ee0ed --- /dev/null +++ b/AnyTypeTests/Services/SetContentViewDataBuilderTests.swift @@ -0,0 +1,232 @@ +import Testing +import Foundation +@testable import Anytype +import Services + +@Suite +struct SetContentViewDataBuilderTests { + + private let builder: SetContentViewDataBuilder + + init() { + self.builder = SetContentViewDataBuilder() + } + + @Test func testBuildChatPreview_EmptyPreviewsArray_ReturnsNil() { + let chatPreviewsDict: [String: ChatMessagePreview] = [:] + let objectId = "test-object-id" + + let result = builder.buildChatPreview( + objectId: objectId, + spaceView: nil, + chatPreviewsDict: chatPreviewsDict + ) + + #expect(result == nil) + } + + @Test func testBuildChatPreview_PreviewWithoutLastMessage_ReturnsNil() { + let preview = ChatMessagePreview(spaceId: "space1", chatId: "chat1") + let chatPreviewsDict = ["chat1": preview] + + let result = builder.buildChatPreview( + objectId: "chat1", + spaceView: nil, + chatPreviewsDict: chatPreviewsDict + ) + + #expect(result == nil) + } + + @Test func testBuildChatPreview_NilSpaceView_UsesDefaultNotificationMode() { + let creator = Participant.mock(id: "user1", globalName: "Test User") + let lastMessage = LastMessagePreview( + id: "msg1", + creator: creator, + text: "Test message", + createdAt: Date(), + modifiedAt: nil, + attachments: [], + orderId: "1" + ) + var preview = ChatMessagePreview(spaceId: "space1", chatId: "chat1") + preview.lastMessage = lastMessage + let chatPreviewsDict = ["chat1": preview] + + let result = builder.buildChatPreview( + objectId: "chat1", + spaceView: nil, + chatPreviewsDict: chatPreviewsDict + ) + + #expect(result != nil) + #expect(result?.isMuted == false) + } + + @Test func testBuildChatPreview_AttachmentTruncation_LimitsTo3() { + let attachments = (0..<5).map { index in + ObjectDetails.mock(id: "attachment\(index)") + } + + let lastMessage = LastMessagePreview( + id: "msg1", + creator: nil, + text: "Test", + createdAt: Date(), + modifiedAt: nil, + attachments: attachments, + orderId: "1" + ) + var preview = ChatMessagePreview(spaceId: "space1", chatId: "chat1") + preview.lastMessage = lastMessage + let chatPreviewsDict = ["chat1": preview] + + let result = builder.buildChatPreview( + objectId: "chat1", + spaceView: nil, + chatPreviewsDict: chatPreviewsDict + ) + + #expect(result?.attachments.count == 3) + #expect(result?.attachments[0].id == "attachment0") + #expect(result?.attachments[2].id == "attachment2") + } + + @Test func testBuildChatPreview_ValidPreview_BuildsCompleteModel() { + let creator = Participant.mock(id: "user1", globalName: "John Doe") + let lastMessage = LastMessagePreview( + id: "msg1", + creator: creator, + text: "Hello World", + createdAt: Date(timeIntervalSince1970: 1700000000), + modifiedAt: nil, + attachments: [], + orderId: "1" + ) + var preview = ChatMessagePreview(spaceId: "space1", chatId: "chat1") + preview.lastMessage = lastMessage + let chatPreviewsDict = ["chat1": preview] + + let result = builder.buildChatPreview( + objectId: "chat1", + spaceView: nil, + chatPreviewsDict: chatPreviewsDict + ) + + #expect(result != nil) + #expect(result?.creatorTitle == "John Doe") + #expect(result?.text == "Hello World") + #expect(result?.chatPreviewDate.isEmpty == false) + } + + @Test func testBuildChatPreview_CountersPropagation() { + let lastMessage = LastMessagePreview( + id: "msg1", + creator: nil, + text: "Test", + createdAt: Date(), + modifiedAt: nil, + attachments: [], + orderId: "1" + ) + var preview = ChatMessagePreview(spaceId: "space1", chatId: "chat1") + preview.lastMessage = lastMessage + + var chatState = ChatState() + var messagesState = ChatState.UnreadState() + messagesState.counter = 5 + chatState.messages = messagesState + + var mentionsState = ChatState.UnreadState() + mentionsState.counter = 2 + chatState.mentions = mentionsState + + preview.state = chatState + let chatPreviewsDict = ["chat1": preview] + + let result = builder.buildChatPreview( + objectId: "chat1", + spaceView: nil, + chatPreviewsDict: chatPreviewsDict + ) + + #expect(result?.unreadCounter == 5) + #expect(result?.mentionCounter == 2) + } + + @Test func testDictionaryConversion_EmptyArray_EmptyDictionary() { + let chatPreviews: [ChatMessagePreview] = [] + let dict = Dictionary(uniqueKeysWithValues: chatPreviews.map { ($0.chatId, $0) }) + + #expect(dict.isEmpty) + } + + @Test func testDictionaryConversion_SingleItem_SingleEntry() { + let preview = ChatMessagePreview(spaceId: "space1", chatId: "chat1") + let chatPreviews = [preview] + let dict = Dictionary(uniqueKeysWithValues: chatPreviews.map { ($0.chatId, $0) }) + + #expect(dict.count == 1) + #expect(dict["chat1"] != nil) + } + + @Test func testDictionaryConversion_MultipleUniqueItems() { + let previews = (0..<10).map { index in + ChatMessagePreview(spaceId: "space1", chatId: "chat\(index)") + } + let dict = Dictionary(uniqueKeysWithValues: previews.map { ($0.chatId, $0) }) + + #expect(dict.count == 10) + for index in 0..<10 { + #expect(dict["chat\(index)"] != nil) + } + } + + @Test func testDictionaryLookup_PerformanceImpact() { + let previews = (0..<100).map { index in + ChatMessagePreview(spaceId: "space1", chatId: "chat\(index)") + } + + let dict = Dictionary(uniqueKeysWithValues: previews.map { ($0.chatId, $0) }) + + let targetId = "chat50" + let result = dict[targetId] + + #expect(result != nil) + #expect(result?.chatId == targetId) + } +} + +extension ObjectDetails { + static func mock(id: String) -> ObjectDetails { + ObjectDetails(id: id, values: [:]) + } +} + +extension Participant { + static func mock( + id: String, + localName: String = "", + globalName: String = "", + icon: ObjectIcon? = nil, + status: ParticipantStatus = .active, + permission: ParticipantPermissions = .reader, + identity: String = "", + identityProfileLink: String = "", + spaceId: String = "", + type: String = "" + ) -> Participant { + Participant( + id: id, + localName: localName, + globalName: globalName, + icon: icon, + status: status, + permission: permission, + identity: identity, + identityProfileLink: identityProfileLink, + spaceId: spaceId, + type: type + ) + } +} diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Models/SetContentViewDataBuilder.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Models/SetContentViewDataBuilder.swift index 284c0487c3..c31ba61e56 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Models/SetContentViewDataBuilder.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Models/SetContentViewDataBuilder.swift @@ -285,7 +285,7 @@ final class SetContentViewDataBuilder: SetContentViewDataBuilderProtocol { return maxHeight } - private func buildChatPreview( + func buildChatPreview( objectId: String, spaceView: SpaceView?, chatPreviewsDict: [String: ChatMessagePreview] From 35a34885b2c695a818bc94926a815a9180b42158 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 13 Nov 2025 12:12:13 +0000 Subject: [PATCH 166/228] IOS-5209 Update design of alerts --- Anytype/Sources/Design system/SheetView/SheetView.swift | 2 +- .../DesignKit/Components/BottomAlert/BottomAlertView.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Anytype/Sources/Design system/SheetView/SheetView.swift b/Anytype/Sources/Design system/SheetView/SheetView.swift index 63a7003a7b..e0a5398c14 100644 --- a/Anytype/Sources/Design system/SheetView/SheetView.swift +++ b/Anytype/Sources/Design system/SheetView/SheetView.swift @@ -36,7 +36,7 @@ struct SheetView: View { private var contentView: some View { content - .cornerRadius(16, style: .continuous) + .cornerRadius(34, style: .continuous) .shadow(radius: 20) .padding(.horizontal, 8) .gesture( diff --git a/Modules/DesignKit/Sources/DesignKit/Components/BottomAlert/BottomAlertView.swift b/Modules/DesignKit/Sources/DesignKit/Components/BottomAlert/BottomAlertView.swift index 3370e633fe..a46fd25ea8 100644 --- a/Modules/DesignKit/Sources/DesignKit/Components/BottomAlert/BottomAlertView.swift +++ b/Modules/DesignKit/Sources/DesignKit/Components/BottomAlert/BottomAlertView.swift @@ -40,7 +40,7 @@ public struct BottomAlertView: View { .padding(.horizontal, 16) .padding(.top, 24) .padding(.bottom, 16) - .background(Color.Background.secondary) + .background(Material.ultraThick) } @ViewBuilder From ae196b097daecc0acb44693c9f790c20a129810c Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 13 Nov 2025 15:54:49 +0000 Subject: [PATCH 167/228] IOS-5463 Add tests-developer skill for unit testing patterns and practices - Create comprehensive tests-developer skill with Swift Testing and XCTest patterns - Add 30+ keywords for auto-activation (test, mock, edge case, TDD, etc.) - Document edge case testing, mock helpers, DI in tests, protobuf testing - Fix skills-manager activation with new keywords (develop skill, create skill) - Update README with tests-developer, feature-toggle-developer, analytics-developer docs --- .claude/hooks/skill-rules.json | 71 ++++ .claude/skills/README.md | 74 +++- .claude/skills/tests-developer/SKILL.md | 477 ++++++++++++++++++++++++ 3 files changed, 621 insertions(+), 1 deletion(-) create mode 100644 .claude/skills/tests-developer/SKILL.md diff --git a/.claude/hooks/skill-rules.json b/.claude/hooks/skill-rules.json index 748c0c0708..b13c21fae0 100644 --- a/.claude/hooks/skill-rules.json +++ b/.claude/hooks/skill-rules.json @@ -209,6 +209,8 @@ "add keyword", "check logs", "claude.md", + "create skill", + "develop skill", "false negative", "false positive", "fine-tune", @@ -216,8 +218,10 @@ "hooks system", "instances", "knowledge", + "new skill", "proactive", "skill activation", + "skill developer", "skill didn't activate", "skill not working", "skill-rules.json", @@ -387,6 +391,73 @@ "logClick" ] } + }, + "tests-developer": { + "type": "domain", + "priority": "high", + "description": "Smart router to testing patterns and practices. Writing unit tests, creating mocks, test organization", + "promptTriggers": { + "keywords": [ + "test", + "tests", + "testing", + "unit test", + "unit tests", + "write test", + "write tests", + "test coverage", + "test cases", + "test file", + "test class", + "mock", + "mocking", + "mock helper", + "mock service", + "@Test", + "@Suite", + "Swift Testing", + "XCTest", + "XCTestCase", + "XCTAssert", + "#expect", + "edge case", + "edge cases", + "boundary condition", + "TDD", + "test-driven", + "assertion", + "test refactor", + "update tests", + "fix tests" + ], + "intentPatterns": [ + "(write|create|add).*?(test|tests|unit test|mock)", + "(update|modify|fix).*?(test|tests|mock)", + "(how to|best practice).*?(test|testing|mock)", + "(test|testing).*?(edge case|boundary|nil|empty)", + "(refactor|update).*?(test|mock)" + ] + }, + "fileTriggers": { + "pathPatterns": [ + "**/AnyTypeTests/**/*.swift", + "**/Tests/**/*.swift", + "**/*Tests.swift", + "**/Mocks/**/*.swift", + "**/*Mock.swift" + ], + "contentPatterns": [ + "import Testing", + "@Test func", + "@Suite", + "import XCTest", + "XCTestCase", + "XCTAssert", + "#expect\\(", + "\\.mock\\(", + "static func mock" + ] + } } }, "config": { diff --git a/.claude/skills/README.md b/.claude/skills/README.md index 96aa99e65a..33acacc72e 100644 --- a/.claude/skills/README.md +++ b/.claude/skills/README.md @@ -133,6 +133,69 @@ Skills provide **automatic activation** based on your prompts and file context, **Location**: `.claude/skills/code-review-developer/SKILL.md` +--- + +### 7. **tests-developer** (Smart Router) +**Purpose**: Routes to testing patterns and practices for writing unit tests and creating mocks + +**Auto-activates when**: +- Writing or discussing unit tests +- Creating test mocks or mock helpers +- Working with test files (AnyTypeTests/) +- Keywords: test, testing, mock, unit test, @Test, @Suite, XCTest, edge case, TDD + +**Provides**: +- Critical rules (use Swift Testing for new tests, test edge cases, update tests when refactoring) +- Swift Testing vs XCTest patterns +- Edge case testing checklist +- Mock helper patterns (in-file extensions vs separate mocks) +- Dependency injection in tests (Factory pattern) +- Testing protobuf models +- When to make methods internal for testing +- **→ Routes to**: `IOS_DEVELOPMENT_GUIDE.md` for comprehensive testing architecture + +**Location**: `.claude/skills/tests-developer/SKILL.md` + +--- + +### 8. **feature-toggle-developer** (Smart Router) +**Purpose**: Routes to feature toggle removal workflows and unused code cleanup + +**Auto-activates when**: +- Removing or enabling feature flags +- Discussing feature toggles or cleanup +- Keywords: remove toggle, feature flag, cleanup, unused code, defaultValue, FeatureFlags. + +**Provides**: +- Critical rules for systematic toggle removal +- Automated cleanup detection +- Unused code identification patterns +- Step-by-step removal workflow +- Common mistakes to avoid + +**Location**: `.claude/skills/feature-toggle-developer/SKILL.md` + +--- + +### 9. **analytics-developer** (Smart Router) +**Purpose**: Routes to analytics event logging and route tracking patterns + +**Auto-activates when**: +- Adding analytics events or route tracking +- Working with AnytypeAnalytics +- Keywords: analytics, logEvent, route tracking, AnalyticsConstants, track route + +**Provides**: +- Critical rules for event logging +- Route tracking enum patterns +- AnalyticsConstants organization +- Event properties naming +- **→ Routes to**: `ANALYTICS_PATTERNS.md` for comprehensive patterns + +**Location**: `.claude/skills/analytics-developer/SKILL.md` + +--- + ## 📊 Progressive Disclosure Architecture This documentation system follows the principle of **progressive disclosure** - load only what's needed, when it's needed. @@ -233,7 +296,16 @@ Read the file .claude/skills/ios-dev-guidelines/SKILL.md ├── skills-manager/ │ └── SKILL.md (smart router - meta!) │ -└── code-review-developer/ +├── code-review-developer/ +│ └── SKILL.md (smart router) +│ +├── tests-developer/ +│ └── SKILL.md (smart router) +│ +├── feature-toggle-developer/ +│ └── SKILL.md (smart router) +│ +└── analytics-developer/ └── SKILL.md (smart router) ``` diff --git a/.claude/skills/tests-developer/SKILL.md b/.claude/skills/tests-developer/SKILL.md new file mode 100644 index 0000000000..417192dd36 --- /dev/null +++ b/.claude/skills/tests-developer/SKILL.md @@ -0,0 +1,477 @@ +# Tests Developer Skill + +Smart router to testing patterns and practices. Writing unit tests, creating mocks, test organization. + +## When to Use This Skill + +This skill activates when working with: +- Writing unit tests +- Creating test mocks +- Testing edge cases +- Test-driven development (TDD) +- Test refactoring and updates +- Swift Testing framework usage +- XCTest framework usage + +## Quick Reference + +### Critical Rules +- ✅ **Use Swift Testing framework** (`import Testing`, `@Test`, `@Suite`) for NEW tests +- ✅ **Keep existing XCTest tests** as-is (don't migrate unless necessary) +- ✅ **Test edge cases**: nil values, empty collections, boundary conditions +- ✅ **Create mock helpers** in test file extensions when needed +- ✅ **Update tests when refactoring** - always search and update references +- ❌ **Never skip tests** for data transformation or business logic +- ❌ **Never use force unwrapping** in tests - use proper assertions + +### Test File Naming +``` +ProductionCode: SetContentViewDataBuilder.swift +Test File: SetContentViewDataBuilderTests.swift +Location: AnyTypeTests/[Category]/[TestFile].swift +``` + +### Swift Testing Framework (Preferred for New Tests) + +**Basic Structure:** +```swift +import Testing +import Foundation +@testable import Anytype +import Services + +@Suite +struct MyFeatureTests { + + private let sut: MyFeature // System Under Test + + init() { + self.sut = MyFeature() + } + + @Test func testSpecificBehavior() { + // Arrange + let input = "test" + + // Act + let result = sut.process(input) + + // Assert + #expect(result == "expected") + } + + @Test func testEdgeCase_EmptyInput_ReturnsNil() { + let result = sut.process("") + #expect(result == nil) + } +} +``` + +**Suite Options:** +```swift +@Suite // Parallel execution (default) +@Suite(.serialized) // Sequential execution (for shared state) +``` + +**Assertions:** +```swift +#expect(value == expected) // Equality +#expect(value != unexpected) // Inequality +#expect(result != nil) // Not nil +#expect(array.isEmpty) // Boolean conditions +#expect(throws: SomeError.self) { // Error throwing + try throwingFunction() +} +``` + +### XCTest Framework (Legacy Tests) + +**Basic Structure:** +```swift +import XCTest +@testable import Anytype + +final class MyFeatureTests: XCTestCase { + + var sut: MyFeature! + + override func setUpWithError() throws { + sut = MyFeature() + } + + override func tearDownWithError() throws { + sut = nil + } + + func testSpecificBehavior() { + // Arrange + let input = "test" + + // Act + let result = sut.process(input) + + // Assert + XCTAssertEqual(result, "expected") + } +} +``` + +**Common Assertions:** +```swift +XCTAssertEqual(actual, expected) +XCTAssertNotEqual(actual, unexpected) +XCTAssertNil(value) +XCTAssertNotNil(value) +XCTAssertTrue(condition) +XCTAssertFalse(condition) +XCTAssertThrowsError(try expression) +``` + +## Test Organization Patterns + +### 1. Edge Case Testing (Critical) + +Always test these scenarios: +```swift +@Test func testEmptyInput() { + let result = sut.process([]) + #expect(result.isEmpty) +} + +@Test func testNilInput() { + let result = sut.process(nil) + #expect(result == nil) +} + +@Test func testSingleItem() { + let result = sut.process([item]) + #expect(result.count == 1) +} + +@Test func testBoundaryCondition() { + let items = (0..<100).map { Item(id: "\($0)") } + let result = sut.process(items) + #expect(result.count <= 100) +} + +@Test func testTruncation_LimitsToMax() { + let attachments = (0..<5).map { ObjectDetails.mock(id: "item\($0)") } + let result = sut.truncate(attachments, limit: 3) + #expect(result.count == 3) + #expect(result[0].id == "item0") + #expect(result[2].id == "item2") +} +``` + +### 2. Mock Helpers (In Test File) + +**Location:** Create as extensions in the same test file +```swift +// At bottom of test file +extension ObjectDetails { + static func mock(id: String) -> ObjectDetails { + ObjectDetails(id: id, values: [:]) + } +} + +extension Participant { + static func mock( + id: String, + globalName: String = "", + icon: ObjectIcon? = nil + ) -> Participant { + Participant( + id: id, + localName: "", + globalName: globalName, + icon: icon, + status: .active, + permission: .reader, + identity: "", + identityProfileLink: "", + spaceId: "", + type: "" + ) + } +} +``` + +### 3. Dependency Injection in Tests + +**Using Factory Pattern:** +```swift +@Suite(.serialized) // Required for DI setup +struct MyFeatureTests { + + private let mockService: MyServiceMock + + init() { + let mockService = MyServiceMock() + Container.shared.myService.register { mockService } + self.mockService = mockService + } + + @Test func testWithMockedDependency() { + mockService.expectedResult = "test" + let sut = MyFeature() + let result = sut.doWork() + #expect(result == "test") + } +} +``` + +### 4. Testing Protocols (Make Methods Internal) + +**Problem:** Private methods can't be tested +**Solution:** Use `internal` access and test via protocol +```swift +// Production code - SetContentViewDataBuilder.swift +final class SetContentViewDataBuilder: SetContentViewDataBuilderProtocol { + + // ✅ Internal for testing (not private) + func buildChatPreview( + objectId: String, + spaceView: SpaceView?, + chatPreviewsDict: [String: ChatMessagePreview] + ) -> MessagePreviewModel? { + // Implementation + } +} + +// Test code +@Test func testBuildChatPreview_EmptyDict_ReturnsNil() { + let result = builder.buildChatPreview( + objectId: "test", + spaceView: nil, + chatPreviewsDict: [:] + ) + #expect(result == nil) +} +``` + +### 5. Dictionary Conversion Testing + +**Performance validation:** +```swift +@Test func testDictionaryConversion_EmptyArray() { + let items: [Item] = [] + let dict = Dictionary(uniqueKeysWithValues: items.map { ($0.id, $0) }) + #expect(dict.isEmpty) +} + +@Test func testDictionaryConversion_MultipleItems() { + let items = (0..<10).map { Item(id: "item\($0)") } + let dict = Dictionary(uniqueKeysWithValues: items.map { ($0.id, $0) }) + + #expect(dict.count == 10) + for i in 0..<10 { + #expect(dict["item\(i)"] != nil) + } +} + +@Test func testDictionaryLookup_O1Performance() { + let items = (0..<100).map { Item(id: "item\($0)") } + let dict = Dictionary(uniqueKeysWithValues: items.map { ($0.id, $0) }) + + let result = dict["item50"] + #expect(result != nil) + #expect(result?.id == "item50") +} +``` + +### 6. Testing with Dates + +```swift +@Test func testDateFormatting() { + let date = Date(timeIntervalSince1970: 1700000000) + let result = formatter.format(date) + #expect(result.isEmpty == false) +} + +@Test func testDateComparison() { + let now = Date() + let future = now.addingTimeInterval(3600) + #expect(future > now) +} +``` + +### 7. Testing Protobuf Models + +**ChatState example:** +```swift +@Test func testChatStateCounters() { + var chatState = ChatState() + + var messagesState = ChatState.UnreadState() + messagesState.counter = 5 + chatState.messages = messagesState + + var mentionsState = ChatState.UnreadState() + mentionsState.counter = 2 + chatState.mentions = mentionsState + + #expect(chatState.messages.counter == 5) + #expect(chatState.mentions.counter == 2) +} +``` + +## Mock Services Pattern + +### Preview Mocks (for SwiftUI Previews) + +**Location:** `Anytype/Sources/PreviewMocks/` + +**Usage:** +```swift +import SwiftUI + +#Preview { + MockView { + // Configure mock state + SpaceViewsStorageMock.shared.workspaces = [...] + } content: { + MyView() + } +} +``` + +### Test Mocks (for Unit Tests) + +**Location:** `AnyTypeTests/Mocks/` or in test file + +**Pattern:** +```swift +@testable import Anytype + +final class MyServiceMock: MyServiceProtocol { + var callCount = 0 + var capturedInput: String? + var stubbedResult: Result? + + func process(_ input: String) -> Result { + callCount += 1 + capturedInput = input + return stubbedResult ?? .default + } +} +``` + +## Testing Checklist + +When writing tests, ensure: +- [ ] Test happy path (valid input, expected output) +- [ ] Test edge cases (nil, empty, boundary conditions) +- [ ] Test error conditions (invalid input, throwing functions) +- [ ] Test data transformations (truncation, filtering, mapping) +- [ ] Test performance assumptions (O(1) lookups, O(n) operations) +- [ ] Create mock helpers for complex types +- [ ] Use descriptive test names: `testFeature_Condition_ExpectedBehavior` +- [ ] Follow AAA pattern: Arrange, Act, Assert +- [ ] No force unwrapping (`!`) - use proper assertions +- [ ] Import only necessary modules (`@testable import Anytype`) + +## When Refactoring Production Code + +**CRITICAL:** Always update tests when refactoring: + +1. **Search for test references:** +```bash +rg "OldClassName" AnyTypeTests/ --type swift +rg "oldPropertyName" AnyTypeTests/ --type swift +``` + +2. **Update test mocks:** + - Check `AnyTypeTests/Mocks/` + - Check `Anytype/Sources/PreviewMocks/` + - Update DI registrations in `MockView.swift` + +3. **Update mock extensions:** + - Search for `.mock(` in test files + - Update parameters if initializer changed + +4. **Run tests before committing:** + - User will verify in Xcode (faster with caches) + - Report all test file changes to user + +## Common Test Patterns in Codebase + +### Pattern 1: Builder Testing +```swift +@Test func testBuilderCreatesCorrectModel() { + let input = [...setup...] + let result = builder.build(input) + + #expect(result.property1 == expected1) + #expect(result.property2 == expected2) + #expect(result.collection.count == 3) +} +``` + +### Pattern 2: Storage/Repository Testing +```swift +@Suite(.serialized) +struct StorageTests { + init() { + // Setup mock dependencies + } + + @Test func testSaveAndRetrieve() { + storage.save(item) + let retrieved = storage.get(item.id) + #expect(retrieved?.id == item.id) + } +} +``` + +### Pattern 3: Parser/Formatter Testing +```swift +@Test func testParseValidInput() { + let result = parser.parse("valid input") + #expect(result != nil) +} + +@Test func testParseInvalidInput_ReturnsNil() { + let result = parser.parse("") + #expect(result == nil) +} +``` + +### Pattern 4: Counter/State Testing +```swift +@Test func testCountersPropagation() { + var model = Model() + model.state = createState(messages: 5, mentions: 2) + + #expect(model.unreadCounter == 5) + #expect(model.mentionCounter == 2) +} +``` + +## Test File Examples + +### Example 1: SetContentViewDataBuilderTests.swift +**Full working example:** `AnyTypeTests/Services/SetContentViewDataBuilderTests.swift` +- Tests builder methods +- Creates mock helpers +- Tests edge cases (nil, empty, truncation) +- Tests counter propagation +- Tests dictionary conversion performance + +### Example 2: ChatMessageLimitsTests.swift +**Full working example:** `AnyTypeTests/Services/ChatMessageLimitsTests.swift` +- Uses @Suite(.serialized) for DI setup +- Mocks date provider via Factory DI +- Tests rate limiting logic +- Tests time-based conditions + +## Related Documentation + +- **CLAUDE.md**: Project guidelines, no comments rule, testing requirements +- **IOS_DEVELOPMENT_GUIDE.md**: Swift patterns, MVVM architecture +- **.claude/CODE_REVIEW_GUIDE.md**: Review standards including test updates + +--- + +**Navigation**: This is a smart router. For comprehensive testing guidelines and architecture patterns, refer to `IOS_DEVELOPMENT_GUIDE.md`. + +**Quick help**: Just ask "How do I test X?" or "Create tests for Y feature" From 824e3c1cabc044e561eb4ddd0ba32665f9a4393d Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 13 Nov 2025 15:57:38 +0000 Subject: [PATCH 168/228] IOS-5441 Update remote storage instruction copy --- .../RemoteStorage/RemoteStorageViewModel.swift | 6 +++--- Modules/Loc/Sources/Loc/Generated/Strings.swift | 4 +--- Modules/Loc/Sources/Loc/Resources/UI.xcstrings | 2 +- 3 files changed, 5 insertions(+), 7 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/SpaceSettings/RemoteStorage/RemoteStorageViewModel.swift b/Anytype/Sources/PresentationLayer/SpaceSettings/RemoteStorage/RemoteStorageViewModel.swift index 282f5738b9..3b2617de62 100644 --- a/Anytype/Sources/PresentationLayer/SpaceSettings/RemoteStorage/RemoteStorageViewModel.swift +++ b/Anytype/Sources/PresentationLayer/SpaceSettings/RemoteStorage/RemoteStorageViewModel.swift @@ -97,11 +97,11 @@ final class RemoteStorageViewModel: ObservableObject { private func updateView(nodeUsage: NodeUsageInfo) { let bytesUsed = nodeUsage.node.bytesUsage let bytesLimit = nodeUsage.node.bytesLimit - + let used = byteCountFormatter.string(fromByteCount: bytesUsed) let limit = byteCountFormatter.string(fromByteCount: bytesLimit) - - spaceInstruction = Loc.FileStorage.Space.instruction(limit) + + spaceInstruction = Loc.FileStorage.Space.instruction spaceUsed = Loc.FileStorage.Space.used(used, limit) let percentUsage = Double(bytesUsed) / Double(bytesLimit) let percentToShowGetMoreButton = 0.7 diff --git a/Modules/Loc/Sources/Loc/Generated/Strings.swift b/Modules/Loc/Sources/Loc/Generated/Strings.swift index d29c316050..7870bcff6c 100644 --- a/Modules/Loc/Sources/Loc/Generated/Strings.swift +++ b/Modules/Loc/Sources/Loc/Generated/Strings.swift @@ -942,9 +942,7 @@ public enum Loc { } public enum Space { public static let getMore = Loc.tr("UI", "FileStorage.Space.GetMore", fallback: "Get more space") - public static func instruction(_ p1: Any) -> String { - return Loc.tr("UI", "FileStorage.Space.Instruction", String(describing: p1), fallback: "You can store up to %@ of your files on our encrypted backup node for free. If you reach the limit, files will be stored only locally.") - } + public static let instruction = Loc.tr("UI", "FileStorage.Space.Instruction", fallback: "You can store your files on our encrypted backup node. Once you reach your limit, files will stop syncing and will only be stored locally.") public static let localOnlyInstruction = Loc.tr("UI", "FileStorage.Space.LocalOnlyInstruction", fallback: "Remote storage is not available in local-only mode. Your files are stored locally on your device.") public static let title = Loc.tr("UI", "FileStorage.Space.Title", fallback: "Remote storage") public static func used(_ p1: Any, _ p2: Any) -> String { diff --git a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings index fb2ed3c109..1d792b757d 100644 --- a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings @@ -40099,7 +40099,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "You can store up to %@ of your files on our encrypted backup node for free. If you reach the limit, files will be stored only locally." + "value" : "You can store your files on our encrypted backup node. Once you reach your limit, files will stop syncing and will only be stored locally." } }, "es" : { From 96834561cd7fb3bdea1fc43c9d8a44ff16b46af1 Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Fri, 14 Nov 2025 04:45:11 +0100 Subject: [PATCH 169/228] Automation: Update middleware to v0.44.0-nightly.20251114.1 (#4242) Co-authored-by: William Blake --- Libraryfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraryfile b/Libraryfile index 9aa77e0f82..ee8490ec73 100644 --- a/Libraryfile +++ b/Libraryfile @@ -1 +1 @@ -MIDDLE_VERSION=v0.44.0-nightly.20251111.1 +MIDDLE_VERSION=v0.44.0-nightly.20251114.1 From 84b78f6c8d848883c2ab402fea71aad845c857d4 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 14 Nov 2025 11:58:13 +0000 Subject: [PATCH 170/228] IOS-5465 Replace replacingOccurrences API with replacing method --- .../Extensions/RelationValuesProtocol+PageCellTitle.swift | 2 +- .../TextPropertyDetailsService/TextPropertyEditingService.swift | 2 +- AnytypeTests/Markdown/BeginingOfTextMarkdownListenerTests.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Common/Extensions/RelationValuesProtocol+PageCellTitle.swift b/Anytype/Sources/PresentationLayer/Common/Extensions/RelationValuesProtocol+PageCellTitle.swift index b76372293a..bbdbcc5d4e 100644 --- a/Anytype/Sources/PresentationLayer/Common/Extensions/RelationValuesProtocol+PageCellTitle.swift +++ b/Anytype/Sources/PresentationLayer/Common/Extensions/RelationValuesProtocol+PageCellTitle.swift @@ -41,6 +41,6 @@ extension BundledPropertiesValueProvider { } var mentionTitle: String { - String(pluralTitle.prefix(30)).replacingOccurrences(of: "\n", with: " ") + String(pluralTitle.prefix(30)).replacing("\n", with: " ") } } diff --git a/Anytype/Sources/PresentationLayer/Common/SwiftUI/PropertyDetailsViews/Text/TextPropertyDetailsService/TextPropertyEditingService.swift b/Anytype/Sources/PresentationLayer/Common/SwiftUI/PropertyDetailsViews/Text/TextPropertyDetailsService/TextPropertyEditingService.swift index 4e95c82a76..832bca64bc 100644 --- a/Anytype/Sources/PresentationLayer/Common/SwiftUI/PropertyDetailsViews/Text/TextPropertyDetailsService/TextPropertyEditingService.swift +++ b/Anytype/Sources/PresentationLayer/Common/SwiftUI/PropertyDetailsViews/Text/TextPropertyDetailsService/TextPropertyEditingService.swift @@ -22,7 +22,7 @@ final class TextPropertyEditingService: TextPropertyEditingServiceProtocol, Send guard let number = numberFormatter.number(from: value)?.doubleValue else { return } try await service.updateProperty(objectId: objectId, propertyKey: key, value: number.protobufValue) case .phone, .email, .url: - let value = value.replacingOccurrences(of: " ", with: "") + let value = value.replacing(" ", with: "") try await service.updateProperty(objectId: objectId, propertyKey: key, value: value.protobufValue) } } diff --git a/AnytypeTests/Markdown/BeginingOfTextMarkdownListenerTests.swift b/AnytypeTests/Markdown/BeginingOfTextMarkdownListenerTests.swift index afbe81f8f6..8abb14cc39 100644 --- a/AnytypeTests/Markdown/BeginingOfTextMarkdownListenerTests.swift +++ b/AnytypeTests/Markdown/BeginingOfTextMarkdownListenerTests.swift @@ -32,7 +32,7 @@ class BeginingOfTextMarkdownListenerTests: XCTestCase { type: BlockContentType, success: Bool = true ) { - let shortcutByDeletingSpaces = shortcut.replacingOccurrences(of: " ", with: "") + let shortcutByDeletingSpaces = shortcut.replacing(" ", with: "") let data = buildData( text: shortcutByDeletingSpaces, carretPosition: shortcutByDeletingSpaces.count From b4cd6604724fb2f87341fca6be6c8f2c99db9814 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 14 Nov 2025 12:34:03 +0000 Subject: [PATCH 171/228] IOS-5447 Filter out space member type from UI --- .../Models/Extensions/DetailsLayoutExtension.swift | 2 +- .../Services/SearchService/SearchFiltersBuilder.swift | 1 + .../Sources/Services/SearchService/SearchHelper.swift | 9 +++++++++ 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift b/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift index c59d8f3a68..b74313054a 100644 --- a/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift +++ b/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift @@ -7,7 +7,7 @@ public extension DetailsLayout { static let mediaLayouts: [DetailsLayout] = [ .image, .audio, .video ] static let fileAndMediaLayouts = DetailsLayout.fileLayouts + DetailsLayout.mediaLayouts - fileprivate static let visibleLayoutsBase: [DetailsLayout] = listLayouts + editorLayouts + [.bookmark, .participant, .date, .objectType] + chatLayouts + fileprivate static let visibleLayoutsBase: [DetailsLayout] = listLayouts + editorLayouts + [.bookmark, .date, .objectType] + chatLayouts fileprivate static let visibleLayoutsWithFilesBase = visibleLayoutsBase + fileAndMediaLayouts fileprivate static let supportedForCreationBase: [DetailsLayout] = supportedForCreationInSets + listLayouts + chatLayouts diff --git a/Modules/Services/Sources/Services/SearchService/SearchFiltersBuilder.swift b/Modules/Services/Sources/Services/SearchService/SearchFiltersBuilder.swift index 0d01c84760..6a8e40a29e 100644 --- a/Modules/Services/Sources/Services/SearchService/SearchFiltersBuilder.swift +++ b/Modules/Services/Sources/Services/SearchService/SearchFiltersBuilder.swift @@ -13,6 +13,7 @@ public final class SearchFiltersBuilder { if !spaceUxType.showsChatLayouts { filters.append(SearchHelper.filterOutChatType()) } + filters.append(SearchHelper.filterOutParticipantType()) return filters } } diff --git a/Modules/Services/Sources/Services/SearchService/SearchHelper.swift b/Modules/Services/Sources/Services/SearchService/SearchHelper.swift index 66a1c8ad05..1d1d5965f3 100644 --- a/Modules/Services/Sources/Services/SearchService/SearchHelper.swift +++ b/Modules/Services/Sources/Services/SearchService/SearchHelper.swift @@ -274,6 +274,15 @@ public class SearchHelper { return filter } + public static func filterOutParticipantType() -> DataviewFilter { + var filter = DataviewFilter() + filter.condition = .notEqual + filter.relationKey = "\(BundledPropertyKey.uniqueKey.rawValue)" + filter.value = ObjectTypeUniqueKey.participant.value.protobufValue + + return filter + } + public static func filterOutTypeType() -> DataviewFilter { var filter = DataviewFilter() filter.condition = .notEqual From a36569e80bfbd7a8b193e5cfc7de01a99a142b25 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 14 Nov 2025 12:36:02 +0000 Subject: [PATCH 172/228] IOS-5461 Move chat type to 4th position in default object type sort order --- .../Object/TypesService/SearchHelper+Extension.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Anytype/Sources/ServiceLayer/Object/TypesService/SearchHelper+Extension.swift b/Anytype/Sources/ServiceLayer/Object/TypesService/SearchHelper+Extension.swift index 5de5c571b5..80e7bf01c9 100644 --- a/Anytype/Sources/ServiceLayer/Object/TypesService/SearchHelper+Extension.swift +++ b/Anytype/Sources/ServiceLayer/Object/TypesService/SearchHelper+Extension.swift @@ -24,6 +24,7 @@ extension SearchHelper { ObjectTypeUniqueKey.page.value, ObjectTypeUniqueKey.note.value, ObjectTypeUniqueKey.task.value, + ObjectTypeUniqueKey.chatDerived.value, ObjectTypeUniqueKey.collection.value, ObjectTypeUniqueKey.set.value, ObjectTypeUniqueKey.bookmark.value, @@ -31,8 +32,7 @@ extension SearchHelper { ObjectTypeUniqueKey.image.value, ObjectTypeUniqueKey.file.value, ObjectTypeUniqueKey.video.value, - ObjectTypeUniqueKey.audio.value, - ObjectTypeUniqueKey.chatDerived.value + ObjectTypeUniqueKey.audio.value ]) let orderIdSort = SearchHelper.sort(relation: .orderId, type: .asc, emptyPlacement: .end) From c53276e05c4fd61104d4da7f01624720674764ce Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 14 Nov 2025 13:02:33 +0000 Subject: [PATCH 173/228] IOS-5464 Dismiss presented views before opening QR code scanner --- .../Flows/SpaceHub/SpaceHubCoordinatorViewModel.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorViewModel.swift b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorViewModel.swift index a01a3c349a..847471e0bd 100644 --- a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorViewModel.swift @@ -225,7 +225,10 @@ final class SpaceHubCoordinatorViewModel: SpaceHubModuleOutput { } func onSelectQrCodeScan() { - shouldScanQrCode = true + Task { + await dismissAllPresented?() + shouldScanQrCode = true + } } func startSpaceSubscription() async { From 2a6e25467fd03f97fee0c0fd493c157fd0b069cf Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 14 Nov 2025 14:42:08 +0000 Subject: [PATCH 174/228] IOS-5466 Enable Chat type in object types settings for Data view --- .../ObjectTypeSearch/ObjectTypeSearchViewSettings.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewSettings.swift b/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewSettings.swift index 43b7dc97e9..b86614bd5b 100644 --- a/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewSettings.swift +++ b/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewSettings.swift @@ -69,7 +69,7 @@ extension ObjectTypeSearchViewSettings { showPins: false, showLists: true, showFiles: true, - showChat: false, + showChat: true, showTemplates: true, incudeNotForCreation: true, allowPaste: false, From 4aa63081d105f655dffd07961dc8bb538634c271 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 14 Nov 2025 14:52:16 +0000 Subject: [PATCH 175/228] IOS-5449 Add route tracking to type creation analytics --- .../Analytics/AnalyticsConstants.swift | 5 +++++ .../AnytypeAnalytics+Events.swift | 16 +++++++++++++--- .../HomeWidgetsCoordinatorViewModel.swift | 2 +- .../CreateObjectTypeView.swift | 7 ++++++- .../CreateObjectTypeViewModel.swift | 19 ++++++++++++------- .../ObjectTypeSearchViewModel.swift | 2 +- 6 files changed, 38 insertions(+), 13 deletions(-) diff --git a/Anytype/Sources/Analytics/AnalyticsConstants.swift b/Anytype/Sources/Analytics/AnalyticsConstants.swift index f3c93f84fe..53063fc22b 100644 --- a/Anytype/Sources/Analytics/AnalyticsConstants.swift +++ b/Anytype/Sources/Analytics/AnalyticsConstants.swift @@ -408,6 +408,11 @@ enum EditTypeRoute: String { case type = "Type" } +enum ScreenCreateTypeRoute: String { + case screenObjectTypes = "ScreenObjectTypes" + case screenWidget = "ScreenWidget" +} + enum OpenObjectByLinkType: String { case object = "Object" case invite = "Invite" diff --git a/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift b/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift index f512196b15..ea299c0480 100644 --- a/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift +++ b/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift @@ -310,10 +310,11 @@ extension AnytypeAnalytics { logEvent("CreateObject", spaceId: spaceId, withEventProperties: properties) } - func logCreateObjectType() { + func logCreateObjectType(route: ScreenCreateTypeRoute) { let properties = [ AnalyticsEventsPropertiesKey.objectType: "_otobjectType", - AnalyticsEventsPropertiesKey.format: "Page" + AnalyticsEventsPropertiesKey.format: "Page", + AnalyticsEventsPropertiesKey.route: route.rawValue ] logEvent("CreateObject", withEventProperties: properties) } @@ -1410,7 +1411,16 @@ extension AnytypeAnalytics { ] ) } - + + func logScreenCreateType(route: ScreenCreateTypeRoute) { + logEvent( + "ScreenCreateType", + withEventProperties: [ + AnalyticsEventsPropertiesKey.route: route.rawValue + ] + ) + } + func logOpenObjectByLink(type: OpenObjectByLinkType, route: OpenObjectByLinkRoute) { logEvent( "OpenObjectByLink", diff --git a/Anytype/Sources/PresentationLayer/Flows/HomeWidgetsCoordinator/HomeWidgetsCoordinatorViewModel.swift b/Anytype/Sources/PresentationLayer/Flows/HomeWidgetsCoordinator/HomeWidgetsCoordinatorViewModel.swift index f707549c69..888091a5b7 100644 --- a/Anytype/Sources/PresentationLayer/Flows/HomeWidgetsCoordinator/HomeWidgetsCoordinatorViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Flows/HomeWidgetsCoordinator/HomeWidgetsCoordinatorViewModel.swift @@ -30,7 +30,7 @@ final class HomeWidgetsCoordinatorViewModel: HomeWidgetsModuleOutput, SetObjectC } func onCreateObjectType() { - createTypeData = CreateObjectTypeData(spaceId: spaceInfo.accountSpaceId, name: "") + createTypeData = CreateObjectTypeData(spaceId: spaceInfo.accountSpaceId, name: "", route: .screenWidget) } func onObjectSelected(screenData: ScreenData) { diff --git a/Anytype/Sources/PresentationLayer/Modules/CreateObjectType/CreateObjectTypeView.swift b/Anytype/Sources/PresentationLayer/Modules/CreateObjectType/CreateObjectTypeView.swift index b9a7233168..7eb5b4447e 100644 --- a/Anytype/Sources/PresentationLayer/Modules/CreateObjectType/CreateObjectTypeView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/CreateObjectType/CreateObjectTypeView.swift @@ -1,10 +1,12 @@ import SwiftUI import Services +import AnytypeCore struct CreateObjectTypeData: Identifiable { let spaceId: String let name: String - + let route: ScreenCreateTypeRoute + var id: String { spaceId } } @@ -20,5 +22,8 @@ struct CreateObjectTypeView: View { ObjectTypeInfoView(info: model.info) { info in model.onCreate(info: info) } + .onAppear { + model.onAppear() + } } } diff --git a/Anytype/Sources/PresentationLayer/Modules/CreateObjectType/CreateObjectTypeViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/CreateObjectType/CreateObjectTypeViewModel.swift index 91c4b7b05b..392fcbbc1e 100644 --- a/Anytype/Sources/PresentationLayer/Modules/CreateObjectType/CreateObjectTypeViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/CreateObjectType/CreateObjectTypeViewModel.swift @@ -1,28 +1,33 @@ import Foundation import Services +import AnytypeCore @MainActor final class CreateObjectTypeViewModel: ObservableObject { - + @Injected(\.typesService) private var typesService: any TypesServiceProtocol private let data: CreateObjectTypeData private let completion: ((_ type: ObjectType) -> ())? - + let info: ObjectTypeInfo - + init(data: CreateObjectTypeData, completion: ((_ type: ObjectType) -> ())?) { self.data = data self.info = ObjectTypeInfo(singularName: data.name, pluralName: data.name, icon: nil, color: nil, mode: .create) self.completion = completion } - + + func onAppear() { + AnytypeAnalytics.instance().logScreenCreateType(route: data.route) + } + func onCreate(info: ObjectTypeInfo) { Task { let type = try await typesService.createType(name: info.singularName, pluralName: info.pluralName, icon: info.icon, color: info.color, spaceId: data.spaceId) - - AnytypeAnalytics.instance().logCreateObjectType() - + + AnytypeAnalytics.instance().logCreateObjectType(route: data.route) + completion?(type) } } diff --git a/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewModel.swift b/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewModel.swift index 67bd0d6860..cb22f28c0b 100644 --- a/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewModel.swift +++ b/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewModel.swift @@ -169,7 +169,7 @@ final class ObjectTypeSearchViewModel: ObservableObject { } func createType(name: String) { - newTypeInfo = CreateObjectTypeData(spaceId: spaceId, name: name) + newTypeInfo = CreateObjectTypeData(spaceId: spaceId, name: name, route: .screenObjectTypes) } func onCreateTypeSubmit(type: ObjectType) { From 63c728f7e2410b5c96ba37e59e76b890b65f8553 Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Fri, 14 Nov 2025 20:34:19 +0100 Subject: [PATCH 176/228] Multilingual [skip ci] (#4249) --- Modules/Loc/Sources/Loc/Resources/UI.xcstrings | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings index 1d792b757d..946ede96b3 100644 --- a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings @@ -40105,7 +40105,7 @@ "es" : { "stringUnit" : { "state" : "new", - "value" : "Puedes almacenar gratuitamente hasta %@ de archivos en nuestro nodo de respaldo cifrado. Si llegas al límite, los archivos se almacenarán solo localmente." + "value" : "Puedes almacenar gratuitamente hasta %@ de archivos en nuestro nodo de respaldo cifrado. Cuando llegues al límite, los archivos dejarán de sincronizarse y solo se almacenarán localmente." } }, "fa" : { @@ -40153,7 +40153,7 @@ "nb" : { "stringUnit" : { "state" : "new", - "value" : "You can store up to %@ of your files on our encrypted backup node for free. If you reach the limit, files will be stored only locally." + "value" : "You can store your files on our encrypted backup node. Once you reach your limit, files will stop syncing and will only be stored locally." } }, "nl" : { From 6cdae66550b18f544b9452f60889e1ebda6279d9 Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Sun, 16 Nov 2025 14:38:41 +0300 Subject: [PATCH 177/228] IOS-5422 Fixes --- .../Modules/Chat/ChatViewModel.swift | 5 ++--- .../Chat/Services/ChatMessageBuilder.swift | 2 +- .../Subviews/Section/MessageSectionItem.swift | 21 +++++++++++++------ 3 files changed, 18 insertions(+), 10 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift index 151f3d2282..677ec76343 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift @@ -438,11 +438,10 @@ final class ChatViewModel: MessageModuleOutput, ChatActionProviderHandler { } func visibleRangeChanged(from: MessageSectionItem, to: MessageSectionItem) { - guard let fromMessage = from.messageData, let toMessage = to.messageData else { return } Task { - bottomVisibleOrderId = toMessage.message.orderID + bottomVisibleOrderId = from.messageOrderId forceHiddenActionPanel = false // Without update panel. Waiting middleware event. - await chatStorage.updateVisibleRange(startMessageId: fromMessage.message.id, endMessageId: toMessage.message.id) + await chatStorage.updateVisibleRange(startMessageId: from.messageId, endMessageId: to.messageId) } } diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/Services/ChatMessageBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/Services/ChatMessageBuilder.swift index d2d581e2d6..27e6aa3391 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/Services/ChatMessageBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/Services/ChatMessageBuilder.swift @@ -107,7 +107,7 @@ actor ChatMessageBuilder: ChatMessageBuilderProtocol, Sendable { reply: fullMessage.reply ) - let unreadItem: MessageSectionItem? = isUnread ? .unread("\(message.id)-unread") : nil + let unreadItem: MessageSectionItem? = isUnread ? .unread(id: "\(message.id)-unread", messageId: message.id, messageOrderId: message.orderID) : nil if firstInSection { if let currentSectionData { diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/Section/MessageSectionItem.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/Section/MessageSectionItem.swift index 2a169c386b..018d0ac0d1 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/Section/MessageSectionItem.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/Section/MessageSectionItem.swift @@ -2,25 +2,34 @@ import Foundation enum MessageSectionItem: Equatable, Hashable, Identifiable { case message(_ data: MessageViewData) - case unread(_ id: String) + case unread(id: String, messageId: String, messageOrderId: String) var id: String { switch self { case .message(let data): data.id - case .unread(let id): + case .unread(let id, _, _): id } } } extension MessageSectionItem { - var messageData: MessageViewData? { + var messageId: String { switch self { case .message(let data): - return data - case .unread: - return nil + return data.message.id + case .unread(_, let messageId, _): + return messageId + } + } + + var messageOrderId: String { + switch self { + case .message(let data): + return data.message.orderID + case .unread(_, _, let messageOrderId): + return messageOrderId } } } From aa3b123f1105f633c005a9df9b4fd4806f7a4257 Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Mon, 17 Nov 2025 04:47:16 +0100 Subject: [PATCH 178/228] Automation: Update middleware to v0.44.0-nightly.20251115.1 (#4251) Co-authored-by: William Blake --- Libraryfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraryfile b/Libraryfile index ee8490ec73..1d1eb32425 100644 --- a/Libraryfile +++ b/Libraryfile @@ -1 +1 @@ -MIDDLE_VERSION=v0.44.0-nightly.20251114.1 +MIDDLE_VERSION=v0.44.0-nightly.20251115.1 From acdfd33c9ea533f7a6afd55eae78cee780edac49 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 17 Nov 2025 11:50:25 +0000 Subject: [PATCH 179/228] IOS-5479 Remove emoji grid nesting and simplify to flat list --- .../Icon/Common/Emoji/EmojiGridView.swift | 76 ++++++------------- 1 file changed, 22 insertions(+), 54 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Icon/Common/Emoji/EmojiGridView.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Icon/Common/Emoji/EmojiGridView.swift index 484ae55e23..275e4013bc 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Icon/Common/Emoji/EmojiGridView.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Settings/Icon/Common/Emoji/EmojiGridView.swift @@ -6,7 +6,7 @@ struct EmojiGridView: View { let onEmojiSelect: (EmojiData) -> () @State private var searchText = "" - @State private var filteredGroups: [EmojiGroup] = [] + @State private var filteredEmojis: [EmojiData] = [] private let columns = [ GridItem(.flexible()), @@ -23,29 +23,26 @@ struct EmojiGridView: View { contentView } .onAppear { - updateFilteredGroups() + updateFilteredEmojis() } .onChange(of: searchText) { - updateFilteredGroups() + updateFilteredEmojis() } } - // MARK: - Private variables - private var contentView: some View { Group { - if filteredGroups.isEmpty { + if filteredEmojis.isEmpty { makeEmptySearchResultView(placeholder: searchText) - } else if filteredGroups.haveFewEmoji { - makeEmojiGrid(groups: filteredGroups.flattenedList) } else { - makeEmojiGrid(groups: filteredGroups) + makeEmojiGrid(emojis: filteredEmojis) } } } - private func updateFilteredGroups() { - filteredGroups = EmojiProvider.shared.filteredEmojiGroups(keyword: searchText) + private func updateFilteredEmojis() { + let groups = EmojiProvider.shared.filteredEmojiGroups(keyword: searchText) + filteredEmojis = groups.flatMap { $0.emojis } } private func makeEmptySearchResultView(placeholder: String) -> some View { @@ -69,55 +66,26 @@ struct EmojiGridView: View { .padding(.horizontal, 16) } - private func makeEmojiGrid(groups: [EmojiGroup]) -> some View { + private func makeEmojiGrid(emojis: [EmojiData]) -> some View { ScrollView(showsIndicators: false) { - makeGridView(groups: groups) - } - .scrollDismissesKeyboard(.interactively) - .padding(.horizontal, 16) - } - - private func makeGridView(groups: [EmojiGroup]) -> some View { - LazyVGrid( - columns: columns, - spacing: 0 - ) { - ForEach(groups, id: \.name) { group in - Section(header: sectionHeader(with: group.name)) { - ForEach(group.emojis.indices, id: \.self) { index in - Button { - group.emojis[safe: index].flatMap { - onEmojiSelect($0) - } - } label: { - emojiGridView(at: index, inEmojis: group.emojis) + LazyVGrid(columns: columns, spacing: 12) { + ForEach(emojis.indices, id: \.self) { index in + Button { + emojis[safe: index].flatMap { + onEmojiSelect($0) + } + } label: { + emojis[safe: index].map { emoji in + Text(verbatim: emoji.emoji) + .font(.system(size: 40)) } } } } + .padding(.top, 12) } - } - - @ViewBuilder - private func sectionHeader(with name: String) -> some View { - if name.isNotEmpty { - VStack(spacing: 0) { - PickerSectionHeaderView(title: name) - Spacer.fixedHeight(15) - } - } else { - Spacer.fixedHeight(12) - } - } - - private func emojiGridView(at index: Int, inEmojis emojis: [EmojiData]) -> some View { - emojis[safe: index].flatMap { emoji in - Text(verbatim: emoji.emoji) - .font(.system(size: 40)) - .if(index > columns.count - 1) { - $0.padding(.top, 12) - } - } + .scrollDismissesKeyboard(.interactively) + .padding(.horizontal, 16) } } From 701bcca924835e8a4563d7541cc7353042b8408e Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 17 Nov 2025 11:56:06 +0000 Subject: [PATCH 180/228] IOS-5438 showsChatLayouts -> supportsMultiChats --- .../Dataview/SetObjectCreationSettingsInteractor.swift | 2 +- .../ObjectTypeSearch/ObjectTypeSearchViewModel.swift | 2 +- .../Object/TypesService/SearchHelper+Extension.swift | 4 ++-- .../Models/Extensions/DetailsLayoutExtension.swift | 8 ++++---- .../Sources/Models/Space/SpaceUxType+Extensions.swift | 6 +++--- .../Services/SearchService/SearchFiltersBuilder.swift | 2 +- 6 files changed, 12 insertions(+), 12 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/Dataview/SetObjectCreationSettingsInteractor.swift b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/Dataview/SetObjectCreationSettingsInteractor.swift index 0cbc899017..fa7ac3c2b6 100644 --- a/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/Dataview/SetObjectCreationSettingsInteractor.swift +++ b/Anytype/Sources/PresentationLayer/ObjectCreationSettings/Views/Selection/Dataview/SetObjectCreationSettingsInteractor.swift @@ -155,7 +155,7 @@ final class SetObjectCreationSettingsInteractor: SetObjectCreationSettingsIntera private func updateObjectTypes() { Task { let spaceUxType = spaceViewsStorage.spaceView(spaceId: setDocument.spaceId)?.uxType - let chatTypeVisible = spaceUxType?.showsChatLayouts ?? true + let chatTypeVisible = spaceUxType?.supportsMultiChats ?? true let includeChat = chatTypeVisible objectTypes = try await typesService.searchObjectTypes( text: "", diff --git a/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewModel.swift b/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewModel.swift index cb22f28c0b..c0294219ef 100644 --- a/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewModel.swift +++ b/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchViewModel.swift @@ -76,7 +76,7 @@ final class ObjectTypeSearchViewModel: ObservableObject { searchTask = Task { let spaceUxType = spaceViewsStorage.spaceView(spaceId: spaceId)?.uxType - let effectiveShowChat = settings.showChat && (spaceUxType?.showsChatLayouts ?? true) + let effectiveShowChat = settings.showChat && (spaceUxType?.supportsMultiChats ?? true) let pinnedTypes = settings.showPins ? try await typesService.searchPinnedTypes(text: text, spaceId: spaceId) : [] let listTypes = settings.showLists ? try await typesService.searchListTypes( diff --git a/Anytype/Sources/ServiceLayer/Object/TypesService/SearchHelper+Extension.swift b/Anytype/Sources/ServiceLayer/Object/TypesService/SearchHelper+Extension.swift index 80e7bf01c9..903a678504 100644 --- a/Anytype/Sources/ServiceLayer/Object/TypesService/SearchHelper+Extension.swift +++ b/Anytype/Sources/ServiceLayer/Object/TypesService/SearchHelper+Extension.swift @@ -5,8 +5,8 @@ extension SearchHelper { static func defaultObjectTypeSort(spaceUxType: SpaceUxType?) -> [DataviewSort] { let nameSort = SearchHelper.sort(relation: .name, type: .asc) - let showsChatLayouts = spaceUxType?.showsChatLayouts ?? true - let customSort = !showsChatLayouts + let supportsMultiChats = spaceUxType?.supportsMultiChats ?? true + let customSort = !supportsMultiChats ? SearchHelper.customSort(relationKey: BundledPropertyKey.uniqueKey.rawValue, values: [ ObjectTypeUniqueKey.image.value, ObjectTypeUniqueKey.bookmark.value, diff --git a/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift b/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift index b74313054a..761cefcf28 100644 --- a/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift +++ b/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift @@ -27,22 +27,22 @@ public extension DetailsLayout { public extension DetailsLayout { static func visibleLayouts(spaceUxType: SpaceUxType?) -> [DetailsLayout] { - guard !spaceUxType.showsChatLayouts else { return visibleLayoutsBase } + guard !spaceUxType.supportsMultiChats else { return visibleLayoutsBase } return visibleLayoutsBase.filter { $0 != .chatDerived } } static func visibleLayoutsWithFiles(spaceUxType: SpaceUxType?) -> [DetailsLayout] { - guard !spaceUxType.showsChatLayouts else { return visibleLayoutsWithFilesBase } + guard !spaceUxType.supportsMultiChats else { return visibleLayoutsWithFilesBase } return visibleLayoutsWithFilesBase.filter { $0 != .chatDerived } } static func supportedForCreation(spaceUxType: SpaceUxType?) -> [DetailsLayout] { - guard !spaceUxType.showsChatLayouts else { return supportedForCreationBase } + guard !spaceUxType.supportsMultiChats else { return supportedForCreationBase } return supportedForCreationBase.filter { $0 != .chatDerived } } static func widgetTypeLayouts(spaceUxType: SpaceUxType?) -> [DetailsLayout] { - guard !spaceUxType.showsChatLayouts else { return widgetTypeLayoutsBase } + guard !spaceUxType.supportsMultiChats else { return widgetTypeLayoutsBase } return widgetTypeLayoutsBase.filter { $0 != .chatDerived } } } diff --git a/Modules/Services/Sources/Models/Space/SpaceUxType+Extensions.swift b/Modules/Services/Sources/Models/Space/SpaceUxType+Extensions.swift index c01a4f43f1..a164ff32a0 100644 --- a/Modules/Services/Sources/Models/Space/SpaceUxType+Extensions.swift +++ b/Modules/Services/Sources/Models/Space/SpaceUxType+Extensions.swift @@ -13,7 +13,7 @@ public extension SpaceUxType { self == .data } - var showsChatLayouts: Bool { + var supportsMultiChats: Bool { switch self { case .chat, .stream, .none, .UNRECOGNIZED: return false @@ -24,8 +24,8 @@ public extension SpaceUxType { } public extension Optional where Wrapped == SpaceUxType { - var showsChatLayouts: Bool { - self?.showsChatLayouts ?? true + var supportsMultiChats: Bool { + self?.supportsMultiChats ?? true } } diff --git a/Modules/Services/Sources/Services/SearchService/SearchFiltersBuilder.swift b/Modules/Services/Sources/Services/SearchService/SearchFiltersBuilder.swift index 6a8e40a29e..5bf6beadeb 100644 --- a/Modules/Services/Sources/Services/SearchService/SearchFiltersBuilder.swift +++ b/Modules/Services/Sources/Services/SearchService/SearchFiltersBuilder.swift @@ -10,7 +10,7 @@ public final class SearchFiltersBuilder { var filters = build(isArchived: isArchived) filters.append(SearchHelper.layoutFilter(layouts)) filters.append(SearchHelper.templateScheme(include: false)) - if !spaceUxType.showsChatLayouts { + if !spaceUxType.supportsMultiChats { filters.append(SearchHelper.filterOutChatType()) } filters.append(SearchHelper.filterOutParticipantType()) From 89b64d4996ff54834686851111b4edb8559b40b5 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 17 Nov 2025 15:35:49 +0000 Subject: [PATCH 181/228] IOS-5438 Add multi-chat support to space cards in vault --- .../Builders/WidgetRowModelBuilder.swift | 3 +- .../Widgets/Link/LinkWidgetViewModel.swift | 3 +- .../SpaceCard/MessagePreviewModel.swift | 1 + .../SpaceCard/NewSpaceCardLabel.swift | 2 +- .../NewSpaceCardLastMessageView.swift | 45 ++++++++++++----- .../Subviews/SpaceCard/SpaceCardModel.swift | 1 + .../SpaceCard/SpaceCardModelBuilder.swift | 9 +++- .../Models/SetContentViewDataBuilder.swift | 3 +- .../ServiceLayer/Auth/LoginStateService.swift | 3 ++ .../ChatStorage/ChatViewsStorage.swift | 49 +++++++++++++++++++ .../ChatViewsSubscriptionBuilder.swift | 49 +++++++++++++++++++ Anytype/Sources/ServiceLayer/ServicesDI.swift | 12 ++++- CLAUDE.md | 10 ++-- 13 files changed, 167 insertions(+), 23 deletions(-) create mode 100644 Anytype/Sources/ServiceLayer/ChatStorage/ChatViewsStorage.swift create mode 100644 Anytype/Sources/ServiceLayer/ChatStorage/ChatViewsSubscriptionBuilder.swift diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Builders/WidgetRowModelBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Builders/WidgetRowModelBuilder.swift index 89290ef2b6..27c35238dc 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Builders/WidgetRowModelBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Builders/WidgetRowModelBuilder.swift @@ -68,7 +68,8 @@ final class WidgetRowModelBuilder: WidgetRowModelBuilderProtocol, Sendable { chatPreviewDate: dateFormatter.localizedDateString(for: lastMessage.createdAt, showTodayTime: true), unreadCounter: preview.unreadCounter, mentionCounter: preview.mentionCounter, - isMuted: isMuted + isMuted: isMuted, + chatName: nil ) } } diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetViewModel.swift index 68587c8410..3d17e9f458 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetViewModel.swift @@ -102,7 +102,8 @@ final class LinkWidgetViewModel: ObservableObject { chatPreviewDate: dateFormatter.localizedDateString(for: lastMessage.createdAt, showTodayTime: true), unreadCounter: chatPreview.unreadCounter, mentionCounter: chatPreview.mentionCounter, - isMuted: isMuted + isMuted: isMuted, + chatName: nil ) } } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel.swift index fcc2e733fb..e24a4006e1 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/MessagePreviewModel.swift @@ -9,6 +9,7 @@ struct MessagePreviewModel: Equatable, Hashable { let unreadCounter: Int let mentionCounter: Int let isMuted: Bool + let chatName: String? } extension MessagePreviewModel { diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift index 7ff5772027..13125c431a 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift @@ -70,7 +70,7 @@ struct NewSpaceCardLabel: View { } HStack(alignment: .top) { - NewSpaceCardLastMessageView(model: message) + NewSpaceCardLastMessageView(model: message, supportsMultiChats: model.uxType.supportsMultiChats) Spacer() decoration } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift index 870e4d7133..59020ca157 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift @@ -1,9 +1,11 @@ import SwiftUI +import Services struct NewSpaceCardLastMessageView: View { - + let model: MessagePreviewModel - + let supportsMultiChats: Bool + var body: some View { Group { if model.attachments.isNotEmpty { @@ -11,7 +13,7 @@ struct NewSpaceCardLastMessageView: View { } else if model.text.isNotEmpty { messageWithoutAttachements } else { - AnytypeText(model.creatorTitle ?? Loc.Chat.newMessages, style: .chatPreviewMedium) + AnytypeText(model.creatorTitle ?? Loc.Chat.newMessages, style: .chatPreviewRegular) .foregroundColor(.Text.transparentSecondary) .lineLimit(1) } @@ -21,14 +23,15 @@ struct NewSpaceCardLastMessageView: View { private var messageWithoutAttachements: some View { Group { - if let creatorTitle = model.creatorTitle { - VStack(alignment: .leading, spacing: 2) { - Text(creatorTitle).anytypeFontStyle(.chatPreviewMedium) - Text(model.text).anytypeFontStyle(.chatPreviewRegular) - } - .lineLimit(1) + if supportsMultiChats, let chatName = model.chatName { + multiChatMessageView(chatName: chatName, messageText: model.text, creatorTitle: model.creatorTitle) + } else if let creatorTitle = model.creatorTitle { + Text("\(creatorTitle): \(model.text)") + .anytypeFontStyle(.chatPreviewRegular) + .lineLimit(2) } else { - Text(model.text).anytypeFontStyle(.chatPreviewRegular) + Text(model.text) + .anytypeFontStyle(.chatPreviewRegular) .lineLimit(2) } } @@ -36,11 +39,29 @@ struct NewSpaceCardLastMessageView: View { .anytypeLineHeightStyle(.chatPreviewRegular) } + private func multiChatMessageView(chatName: String, messageText: String, creatorTitle: String?) -> some View { + VStack(alignment: .leading, spacing: 2) { + Text(chatName).anytypeFontStyle(.chatPreviewMedium) + .lineLimit(1) + if let creatorTitle { + Text("\(creatorTitle): \(messageText)").anytypeFontStyle(.chatPreviewRegular) + .lineLimit(1) + } else { + Text(messageText).anytypeFontStyle(.chatPreviewRegular) + .lineLimit(1) + } + } + } + private var messageWithAttachements: some View { VStack(alignment: .leading, spacing: 2) { - if let creatorTitle = model.creatorTitle { - AnytypeText(creatorTitle, style: .chatPreviewMedium) + if supportsMultiChats, let chatName = model.chatName { + AnytypeText(chatName, style: .chatPreviewMedium) + .foregroundColor(.Text.transparentSecondary) + .lineLimit(1) + } else if let creatorTitle = model.creatorTitle { + AnytypeText(creatorTitle, style: .chatPreviewRegular) .foregroundColor(.Text.transparentSecondary) .lineLimit(1) } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift index 24e8d22acf..5e7893a9b3 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift @@ -11,6 +11,7 @@ struct SpaceCardModel: Equatable, Identifiable { let isShared: Bool let isMuted: Bool let uxTypeName: String + let uxType: SpaceUxType let lastMessage: MessagePreviewModel? let unreadCounter: Int diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift index 9abac8d874..d03eb3a180 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift @@ -12,6 +12,8 @@ protocol SpaceCardModelBuilderProtocol: AnyObject, Sendable { final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { private let chatPreviewDateFormatter = ChatPreviewDateFormatter() + @Injected(\.chatViewsStorage) + private var chatViewsStorage: any ChatViewsStorageProtocol func build( from spaces: [ParticipantSpaceViewDataWithPreview], @@ -39,6 +41,9 @@ final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { ) } + let chatId = latestPreview.chatId + let chatName = chatViewsStorage.chat(id: chatId)?.name + return MessagePreviewModel( creatorTitle: lastMessagePreview.creator?.title, text: lastMessagePreview.text, @@ -47,7 +52,8 @@ final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { chatPreviewDate: chatPreviewDateFormatter.localizedDateString(for: lastMessagePreview.createdAt, showTodayTime: true), unreadCounter: 0, // unsupported in space hub mentionCounter: 0, // unsupported in space hub - isMuted: false // unsupported in space hub + isMuted: false, // unsupported in space hub + chatName: chatName ) } @@ -61,6 +67,7 @@ final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { isShared: spaceView.isShared, isMuted: !spaceView.pushNotificationMode.isUnmutedAll, uxTypeName: spaceView.uxType.name, + uxType: spaceView.uxType, lastMessage: lastMessage, unreadCounter: spaceData.totalUnreadCounter, mentionCounter: spaceData.totalMentionCounter, diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Models/SetContentViewDataBuilder.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Models/SetContentViewDataBuilder.swift index c31ba61e56..1362ee7967 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Models/SetContentViewDataBuilder.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Models/SetContentViewDataBuilder.swift @@ -312,7 +312,8 @@ final class SetContentViewDataBuilder: SetContentViewDataBuilderProtocol { chatPreviewDate: dateFormatter.localizedDateString(for: lastMessage.createdAt, showTodayTime: true), unreadCounter: preview.unreadCounter, mentionCounter: preview.mentionCounter, - isMuted: isMuted + isMuted: isMuted, + chatName: nil ) } } diff --git a/Anytype/Sources/ServiceLayer/Auth/LoginStateService.swift b/Anytype/Sources/ServiceLayer/Auth/LoginStateService.swift index 4804b0fad9..62ce986f53 100644 --- a/Anytype/Sources/ServiceLayer/Auth/LoginStateService.swift +++ b/Anytype/Sources/ServiceLayer/Auth/LoginStateService.swift @@ -30,6 +30,7 @@ final class LoginStateService: LoginStateServiceProtocol, Sendable { private let membershipStatusStorage: any MembershipStatusStorageProtocol = Container.shared.membershipStatusStorage() private let propertyDetailsStorage: any PropertyDetailsStorageProtocol = Container.shared.propertyDetailsStorage() private let workspacesStorage: any SpaceViewsStorageProtocol = Container.shared.spaceViewsStorage() + private let chatViewsStorage: any ChatViewsStorageProtocol = Container.shared.chatViewsStorage() private let accountParticipantsStorage: any ParticipantsStorageProtocol = Container.shared.participantsStorage() private let participantSpacesStorage: any ParticipantSpacesStorageProtocol = Container.shared.participantSpacesStorage() private let storeKitService: any StoreKitServiceProtocol = Container.shared.storeKitService() @@ -85,6 +86,7 @@ final class LoginStateService: LoginStateServiceProtocol, Sendable { private func startSubscriptions() async { await workspacesStorage.startSubscription() + await chatViewsStorage.startSubscription() await accountParticipantsStorage.startSubscription() await participantSpacesStorage.startSubscription() await networkConnectionStatusDaemon.start() @@ -100,6 +102,7 @@ final class LoginStateService: LoginStateServiceProtocol, Sendable { private func stopSubscriptions() async { await workspacesStorage.stopSubscription() + await chatViewsStorage.stopSubscription() await propertyDetailsStorage.stopSubscription() await objectTypeProvider.stopSubscription() await accountParticipantsStorage.stopSubscription() diff --git a/Anytype/Sources/ServiceLayer/ChatStorage/ChatViewsStorage.swift b/Anytype/Sources/ServiceLayer/ChatStorage/ChatViewsStorage.swift new file mode 100644 index 0000000000..259f688804 --- /dev/null +++ b/Anytype/Sources/ServiceLayer/ChatStorage/ChatViewsStorage.swift @@ -0,0 +1,49 @@ +import Foundation +import Combine +import Services +import AnytypeCore + +protocol ChatViewsStorageProtocol: AnyObject, Sendable { + var allChats: [ObjectDetails] { get } + var allChatsPublisher: AnyPublisher<[ObjectDetails], Never> { get } + func startSubscription() async + func stopSubscription() async + func chat(id: String) -> ObjectDetails? +} + +final class ChatViewsStorage: ChatViewsStorageProtocol { + + private let subscriptionBuilder: any ChatViewsSubscriptionBuilderProtocol = Container.shared.chatViewsSubscriptionBuilder() + private let subscriptionStorageProvider: any SubscriptionStorageProviderProtocol = Container.shared.subscriptionStorageProvider() + private let subscriptionStorage: any SubscriptionStorageProtocol + private let accountManager: any AccountManagerProtocol = Container.shared.accountManager() + + private let allChatsStorage = AtomicPublishedStorage<[ObjectDetails]>([]) + var allChats: [ObjectDetails] { allChatsStorage.value } + var allChatsPublisher: AnyPublisher<[ObjectDetails], Never> { + allChatsStorage.publisher + .throttle(for: .milliseconds(50), scheduler: DispatchQueue.global(), latest: true) + .removeDuplicates() + .eraseToAnyPublisher() + } + + init() { + self.subscriptionStorage = subscriptionStorageProvider.createSubscriptionStorage(subId: subscriptionBuilder.subscriptionId) + } + + func startSubscription() async { + let data = subscriptionBuilder.build() + try? await subscriptionStorage.startOrUpdateSubscription(data: data) { [weak self] data in + guard let self else { return } + allChatsStorage.value = data.items + } + } + + func stopSubscription() async { + try? await subscriptionStorage.stopSubscription() + } + + func chat(id: String) -> ObjectDetails? { + return allChatsStorage.value.first(where: { $0.id == id }) + } +} diff --git a/Anytype/Sources/ServiceLayer/ChatStorage/ChatViewsSubscriptionBuilder.swift b/Anytype/Sources/ServiceLayer/ChatStorage/ChatViewsSubscriptionBuilder.swift new file mode 100644 index 0000000000..1d815bb105 --- /dev/null +++ b/Anytype/Sources/ServiceLayer/ChatStorage/ChatViewsSubscriptionBuilder.swift @@ -0,0 +1,49 @@ +import Foundation +import Services +import AnytypeCore + +protocol ChatViewsSubscriptionBuilderProtocol: AnyObject, Sendable { + var subscriptionId: String { get } + func build() -> SubscriptionData +} + +final class ChatViewsSubscriptionBuilder: ChatViewsSubscriptionBuilderProtocol { + + private enum Constants { + static let chatsSubId = "SubscriptionId.ChatViews" + } + + var subscriptionId: String { + Constants.chatsSubId + } + + func build() -> SubscriptionData { + let sorts: [DataviewSort] = .builder { + SearchHelper.sort(relation: .lastMessageDate, type: .desc) + } + + let filters: [DataviewFilter] = .builder { + SearchHelper.layoutFilter([.chatDerived]) + } + + let keys: [String] = [ + BundledPropertyKey.id.rawValue, + BundledPropertyKey.name.rawValue, + BundledPropertyKey.description.rawValue, + BundledPropertyKey.spaceId.rawValue, + BundledPropertyKey.layout.rawValue, + BundledPropertyKey.resolvedLayout.rawValue, + BundledPropertyKey.type.rawValue, + BundledPropertyKey.isDeleted.rawValue + ] + + return .crossSpaceSearch( + SubscriptionData.CrossSpaceSearch( + identifier: Constants.chatsSubId, + filters: filters, + keys: keys, + noDepSubscription: true + ) + ) + } +} diff --git a/Anytype/Sources/ServiceLayer/ServicesDI.swift b/Anytype/Sources/ServiceLayer/ServicesDI.swift index 3b7f900daf..11de71b762 100644 --- a/Anytype/Sources/ServiceLayer/ServicesDI.swift +++ b/Anytype/Sources/ServiceLayer/ServicesDI.swift @@ -19,7 +19,11 @@ extension Container { var spaceViewsStorage: Factory { self { SpaceViewsStorage() }.singleton } - + + var chatViewsStorage: Factory { + self { ChatViewsStorage() }.singleton + } + var singleObjectSubscriptionService: Factory { self { SingleObjectSubscriptionService() } } @@ -203,7 +207,11 @@ extension Container { var spaceViewsSubscriptionBuilder: Factory { self { SpaceViewsSubscriptionBuilder() }.shared } - + + var chatViewsSubscriptionBuilder: Factory { + self { ChatViewsSubscriptionBuilder() }.shared + } + var serverConfigurationStorage: Factory { self { ServerConfigurationStorage() }.singleton } diff --git a/CLAUDE.md b/CLAUDE.md index 452beef8fc..bf4f0beb2a 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -7,9 +7,10 @@ Anytype is a privacy-focused, local-first workspace application for iOS. Built w ### ⚠️ CRITICAL RULES - NEVER VIOLATE 1. **NEVER commit changes without explicit user request** - Always wait for user to explicitly ask you to commit -2. **NEVER add AI signatures to commits** - No "Co-Authored-By: Claude " -3. **NEVER add AI signatures to PRs** - No "🤖 Generated with Claude Code" -4. **NEVER add any form of AI attribution** anywhere in the codebase +2. **NEVER stage files without explicit user request** - Always wait for user to explicitly ask you to stage files with `git add` +3. **NEVER add AI signatures to commits** - No "Co-Authored-By: Claude " +4. **NEVER add AI signatures to PRs** - No "🤖 Generated with Claude Code" +5. **NEVER add any form of AI attribution** anywhere in the codebase ### Development Setup 1. **First-time setup** (run in order): @@ -263,7 +264,8 @@ Modules/ # Swift packages ## 🔄 Development Workflow ### 🚨 Pre-Commit Checklist -**ONLY WHEN USER EXPLICITLY ASKS YOU TO COMMIT** - STOP and verify: +**ONLY WHEN USER EXPLICITLY ASKS YOU TO STAGE OR COMMIT** - STOP and verify: +- [ ] User has explicitly requested staging files (`git add`) or committing - [ ] User has explicitly requested a commit - [ ] NO "Co-Authored-By: Claude" in commit message - [ ] NO "Generated with Claude" or similar AI signatures From 816913d7bae0b0864be2e2b0916d8a97012af0e8 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 17 Nov 2025 15:46:11 +0000 Subject: [PATCH 182/228] IOS-5438 Rename ChatViewsStorage to ChatDetailsStorage --- .../Subviews/SpaceCard/SpaceCardModelBuilder.swift | 6 +++--- Anytype/Sources/ServiceLayer/Auth/LoginStateService.swift | 6 +++--- .../{ChatViewsStorage.swift => ChatDetailsStorage.swift} | 7 +++---- ...Builder.swift => ChatDetailsSubscriptionBuilder.swift} | 4 ++-- Anytype/Sources/ServiceLayer/ServicesDI.swift | 8 ++++---- 5 files changed, 15 insertions(+), 16 deletions(-) rename Anytype/Sources/ServiceLayer/ChatStorage/{ChatViewsStorage.swift => ChatDetailsStorage.swift} (82%) rename Anytype/Sources/ServiceLayer/ChatStorage/{ChatViewsSubscriptionBuilder.swift => ChatDetailsSubscriptionBuilder.swift} (89%) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift index d03eb3a180..a5187a95b2 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift @@ -12,8 +12,8 @@ protocol SpaceCardModelBuilderProtocol: AnyObject, Sendable { final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { private let chatPreviewDateFormatter = ChatPreviewDateFormatter() - @Injected(\.chatViewsStorage) - private var chatViewsStorage: any ChatViewsStorageProtocol + @Injected(\.chatDetailsStorage) + private var chatDetailsStorage: any ChatDetailsStorageProtocol func build( from spaces: [ParticipantSpaceViewDataWithPreview], @@ -42,7 +42,7 @@ final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { } let chatId = latestPreview.chatId - let chatName = chatViewsStorage.chat(id: chatId)?.name + let chatName = chatDetailsStorage.chat(id: chatId)?.name return MessagePreviewModel( creatorTitle: lastMessagePreview.creator?.title, diff --git a/Anytype/Sources/ServiceLayer/Auth/LoginStateService.swift b/Anytype/Sources/ServiceLayer/Auth/LoginStateService.swift index 62ce986f53..1a92eb83a1 100644 --- a/Anytype/Sources/ServiceLayer/Auth/LoginStateService.swift +++ b/Anytype/Sources/ServiceLayer/Auth/LoginStateService.swift @@ -30,7 +30,7 @@ final class LoginStateService: LoginStateServiceProtocol, Sendable { private let membershipStatusStorage: any MembershipStatusStorageProtocol = Container.shared.membershipStatusStorage() private let propertyDetailsStorage: any PropertyDetailsStorageProtocol = Container.shared.propertyDetailsStorage() private let workspacesStorage: any SpaceViewsStorageProtocol = Container.shared.spaceViewsStorage() - private let chatViewsStorage: any ChatViewsStorageProtocol = Container.shared.chatViewsStorage() + private let chatDetailsStorage: any ChatDetailsStorageProtocol = Container.shared.chatDetailsStorage() private let accountParticipantsStorage: any ParticipantsStorageProtocol = Container.shared.participantsStorage() private let participantSpacesStorage: any ParticipantSpacesStorageProtocol = Container.shared.participantSpacesStorage() private let storeKitService: any StoreKitServiceProtocol = Container.shared.storeKitService() @@ -86,7 +86,7 @@ final class LoginStateService: LoginStateServiceProtocol, Sendable { private func startSubscriptions() async { await workspacesStorage.startSubscription() - await chatViewsStorage.startSubscription() + await chatDetailsStorage.startSubscription() await accountParticipantsStorage.startSubscription() await participantSpacesStorage.startSubscription() await networkConnectionStatusDaemon.start() @@ -102,7 +102,7 @@ final class LoginStateService: LoginStateServiceProtocol, Sendable { private func stopSubscriptions() async { await workspacesStorage.stopSubscription() - await chatViewsStorage.stopSubscription() + await chatDetailsStorage.stopSubscription() await propertyDetailsStorage.stopSubscription() await objectTypeProvider.stopSubscription() await accountParticipantsStorage.stopSubscription() diff --git a/Anytype/Sources/ServiceLayer/ChatStorage/ChatViewsStorage.swift b/Anytype/Sources/ServiceLayer/ChatStorage/ChatDetailsStorage.swift similarity index 82% rename from Anytype/Sources/ServiceLayer/ChatStorage/ChatViewsStorage.swift rename to Anytype/Sources/ServiceLayer/ChatStorage/ChatDetailsStorage.swift index 259f688804..d99de1f632 100644 --- a/Anytype/Sources/ServiceLayer/ChatStorage/ChatViewsStorage.swift +++ b/Anytype/Sources/ServiceLayer/ChatStorage/ChatDetailsStorage.swift @@ -3,7 +3,7 @@ import Combine import Services import AnytypeCore -protocol ChatViewsStorageProtocol: AnyObject, Sendable { +protocol ChatDetailsStorageProtocol: AnyObject, Sendable { var allChats: [ObjectDetails] { get } var allChatsPublisher: AnyPublisher<[ObjectDetails], Never> { get } func startSubscription() async @@ -11,12 +11,11 @@ protocol ChatViewsStorageProtocol: AnyObject, Sendable { func chat(id: String) -> ObjectDetails? } -final class ChatViewsStorage: ChatViewsStorageProtocol { +final class ChatDetailsStorage: ChatDetailsStorageProtocol { - private let subscriptionBuilder: any ChatViewsSubscriptionBuilderProtocol = Container.shared.chatViewsSubscriptionBuilder() + private let subscriptionBuilder: any ChatDetailsSubscriptionBuilderProtocol = Container.shared.chatDetailsSubscriptionBuilder() private let subscriptionStorageProvider: any SubscriptionStorageProviderProtocol = Container.shared.subscriptionStorageProvider() private let subscriptionStorage: any SubscriptionStorageProtocol - private let accountManager: any AccountManagerProtocol = Container.shared.accountManager() private let allChatsStorage = AtomicPublishedStorage<[ObjectDetails]>([]) var allChats: [ObjectDetails] { allChatsStorage.value } diff --git a/Anytype/Sources/ServiceLayer/ChatStorage/ChatViewsSubscriptionBuilder.swift b/Anytype/Sources/ServiceLayer/ChatStorage/ChatDetailsSubscriptionBuilder.swift similarity index 89% rename from Anytype/Sources/ServiceLayer/ChatStorage/ChatViewsSubscriptionBuilder.swift rename to Anytype/Sources/ServiceLayer/ChatStorage/ChatDetailsSubscriptionBuilder.swift index 1d815bb105..7463f3ef78 100644 --- a/Anytype/Sources/ServiceLayer/ChatStorage/ChatViewsSubscriptionBuilder.swift +++ b/Anytype/Sources/ServiceLayer/ChatStorage/ChatDetailsSubscriptionBuilder.swift @@ -2,12 +2,12 @@ import Foundation import Services import AnytypeCore -protocol ChatViewsSubscriptionBuilderProtocol: AnyObject, Sendable { +protocol ChatDetailsSubscriptionBuilderProtocol: AnyObject, Sendable { var subscriptionId: String { get } func build() -> SubscriptionData } -final class ChatViewsSubscriptionBuilder: ChatViewsSubscriptionBuilderProtocol { +final class ChatDetailsSubscriptionBuilder: ChatDetailsSubscriptionBuilderProtocol { private enum Constants { static let chatsSubId = "SubscriptionId.ChatViews" diff --git a/Anytype/Sources/ServiceLayer/ServicesDI.swift b/Anytype/Sources/ServiceLayer/ServicesDI.swift index 11de71b762..e4a66d4c1a 100644 --- a/Anytype/Sources/ServiceLayer/ServicesDI.swift +++ b/Anytype/Sources/ServiceLayer/ServicesDI.swift @@ -20,8 +20,8 @@ extension Container { self { SpaceViewsStorage() }.singleton } - var chatViewsStorage: Factory { - self { ChatViewsStorage() }.singleton + var chatDetailsStorage: Factory { + self { ChatDetailsStorage() }.singleton } var singleObjectSubscriptionService: Factory { @@ -208,8 +208,8 @@ extension Container { self { SpaceViewsSubscriptionBuilder() }.shared } - var chatViewsSubscriptionBuilder: Factory { - self { ChatViewsSubscriptionBuilder() }.shared + var chatDetailsSubscriptionBuilder: Factory { + self { ChatDetailsSubscriptionBuilder() }.shared } var serverConfigurationStorage: Factory { From 3242dbc6f41e83bfa31b16918b1a85d9d2b7c366 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 17 Nov 2025 15:51:21 +0000 Subject: [PATCH 183/228] Revert "IOS-5292 Update Space Hub loading state with iOS version-specific UI" This reverts commit 466b4dbca4c2445e9cc112a3741743dffae1605b. --- .../SpaceHub/Subviews/SpaceHubHeader.swift | 51 ++++++---------- .../SpaceHub/Subviews/SpaceHubList.swift | 3 +- .../Subviews/SpaceHubLoadingBar.swift | 61 ------------------- 3 files changed, 19 insertions(+), 96 deletions(-) delete mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubLoadingBar.swift diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubHeader.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubHeader.swift index 71ef1d625c..fcbdc72c94 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubHeader.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubHeader.swift @@ -6,61 +6,46 @@ struct SpaceHubHeader: View { let showLoading: Bool let profileIcon: Icon? let notificationsDenied: Bool - @Binding var searchText: String let onTapSettings: () -> Void let onTapCreateSpace: () -> Void var body: some View { - Group { + VStack(spacing: 0) { if #available(iOS 26, *) { contentIOS26 } else { legacyContent } + + ProgressBar(showAnimation: showLoading) } } var contentIOS26: some View { - VStack(spacing: 0) { - HStack(spacing: 0) { - AnytypeText(Loc.Spaces.title, style: .title) - - Spacer() - - settingsButton(small: false) - } - .padding(.horizontal, 16) - .padding(.top, 20) - - SpaceHubLoadingBar(showAnimation: showLoading) + HStack(spacing: 0) { + AnytypeText(Loc.Spaces.title, style: .title) + + Spacer() + + settingsButton(small: false) } + .padding(.horizontal, 16) + .padding(.top, 20) } var legacyContent: some View { - VStack(spacing: 6) { - HStack(spacing: 6) { - settingsButton(small: true) - - Spacer() + HStack(spacing: 0) { + settingsButton(small: true) - if showLoading { - CircleLoadingView(.Text.primary) - .frame(width: 18, height: 18) - .transition(.scale.combined(with: .opacity)) - } else { - Spacer.fixedWidth(18) - } + Spacer() - AnytypeText(Loc.Spaces.title, style: .uxTitle2Semibold) + AnytypeText(Loc.Spaces.title, style: .uxTitle2Semibold) - Spacer() - - SpaceHubNewSpaceButton { onTapCreateSpace() } - } - .padding(.horizontal, 16) + Spacer() - SearchBar(text: $searchText, focused: false) + SpaceHubNewSpaceButton { onTapCreateSpace() } } + .padding(.horizontal, 16) .padding(.top, 20) } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift index 28eda82d92..28cd3077da 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift @@ -18,13 +18,12 @@ struct SpaceHubList: View { } private var scrollView: some View { - ScrollView(.vertical) { + ScrollView { VStack(spacing: 8) { SpaceHubHeader( showLoading: model.showLoading, profileIcon: model.profileIcon, notificationsDenied: model.notificationsDenied, - searchText: $model.searchText, onTapSettings: { model.onTapSettings() }, diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubLoadingBar.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubLoadingBar.swift deleted file mode 100644 index 325e1039e7..0000000000 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubLoadingBar.swift +++ /dev/null @@ -1,61 +0,0 @@ -import SwiftUI - -struct SpaceHubLoadingBar: View { - var showAnimation: Bool - - var body: some View { - Group { - if showAnimation { - SpaceHubLoadingBarAnimated() - } else { - SpaceHubLoadingBarStub() - } - } - } -} - -struct SpaceHubLoadingBarAnimated: View { - @State private var isAnimating = false - private let timing: Double = 1 - - var body: some View { - GeometryReader { geometry in - ZStack(alignment: .leading) { - Rectangle() - .fill(Color.Control.accent25) - .frame(height: 3) - - LinearGradient( - gradient: Gradient(colors: [ - Color.Control.accent25, - Color.Control.accent100, - Color.Control.accent25 - ]), - startPoint: .leading, - endPoint: .trailing - ) - .frame(width: geometry.size.width, height: 3) - .offset(x: isAnimating ? 150 : -150) - } - .frame(height: 3) - .clipped() - } - .frame(height: 3) - .onAppear { - withAnimation(Animation.spring(duration: timing).repeatForever(autoreverses: true)) { - isAnimating.toggle() - } - } - } -} - -struct SpaceHubLoadingBarStub: View { - var body: some View { - Color.clear - .frame(height: 3) - } -} - -#Preview { - SpaceHubLoadingBar(showAnimation: true) -} From 8c5493bbdf256569af2e0347cc6f0f2ecb20a117 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 17 Nov 2025 15:51:26 +0000 Subject: [PATCH 184/228] Revert "IOS-5292 New header" This reverts commit 0d9ed39529841465f7d5735386874419ee4d34a8. --- .../Modules/SpaceHub/SpaceHubView.swift | 27 +++-- .../SpaceHub/Subviews/SpaceHubHeader.swift | 72 ----------- .../SpaceHub/Subviews/SpaceHubList.swift | 30 ++--- .../SpaceHubSearchEmptySpaceView.swift | 16 +-- .../SpaceHub/Subviews/SpaceHubToolbar.swift | 112 ++++++++++++++++++ 5 files changed, 140 insertions(+), 117 deletions(-) delete mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubHeader.swift create mode 100644 Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubToolbar.swift diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift index 4dce42aadb..d503da8ec1 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift @@ -45,28 +45,29 @@ struct SpaceHubView: View { private func spacesView() -> some View { NavigationStack { SpaceHubList(model: model) + .navigationTitle(Loc.myChannels) + .navigationBarTitleDisplayMode(.inline) .toolbar { toolbarItems } - .navigationBarTitle("") - .navigationBarHidden(true) .searchable(text: $model.searchText) .onChange(of: model.searchText) { model.searchTextUpdated() } }.tint(Color.Text.secondary) } - - @ToolbarContentBuilder + private var toolbarItems: some ToolbarContent { - if #available(iOS 26.0, *) { - DefaultToolbarItem(kind: .search, placement: .bottomBar) - - ToolbarSpacer(placement: .bottomBar) - - ToolbarItem(placement: .bottomBar) { - Button { model.onTapCreateSpace() } label: { Label("", systemImage: "plus") } + SpaceHubToolbar( + showLoading: model.showLoading, + profileIcon: model.profileIcon, + notificationsDenied: model.notificationsDenied, + namespace: namespace, + onTapCreateSpace: { + model.onTapCreateSpace() + }, + onTapSettings: { + model.onTapSettings() } - .matchedTransitionSource(id: "SpaceCreateTypePickerView", in: namespace) - } + ) } } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubHeader.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubHeader.swift deleted file mode 100644 index fcbdc72c94..0000000000 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubHeader.swift +++ /dev/null @@ -1,72 +0,0 @@ -import SwiftUI -import AnytypeCore - -struct SpaceHubHeader: View { - - let showLoading: Bool - let profileIcon: Icon? - let notificationsDenied: Bool - let onTapSettings: () -> Void - let onTapCreateSpace: () -> Void - - var body: some View { - VStack(spacing: 0) { - if #available(iOS 26, *) { - contentIOS26 - } else { - legacyContent - } - - ProgressBar(showAnimation: showLoading) - } - } - - var contentIOS26: some View { - HStack(spacing: 0) { - AnytypeText(Loc.Spaces.title, style: .title) - - Spacer() - - settingsButton(small: false) - } - .padding(.horizontal, 16) - .padding(.top, 20) - } - - var legacyContent: some View { - HStack(spacing: 0) { - settingsButton(small: true) - - Spacer() - - AnytypeText(Loc.Spaces.title, style: .uxTitle2Semibold) - - Spacer() - - SpaceHubNewSpaceButton { onTapCreateSpace() } - } - .padding(.horizontal, 16) - .padding(.top, 20) - } - - private func settingsButton(small: Bool) -> some View { - Button { - onTapSettings() - } label: { - IconView(icon: profileIcon) - .foregroundStyle(Color.Control.secondary) - .frame(width: small ? 28 : 44, height: small ? 28 : 44) - .overlay(alignment: .topTrailing) { - if notificationsDenied { - attentionDotView - } - } - .padding(.vertical, 8) - } - } - - private var attentionDotView: some View { - SpaceHubAttentionDotView() - .padding([.top, .trailing], 1) - } -} diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift index 28cd3077da..b29707924b 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubList.swift @@ -12,37 +12,23 @@ struct SpaceHubList: View { var body: some View { if model.filteredSpaces.isEmpty && model.searchText.isEmpty { emptyStateView - } else { + } else if model.filteredSpaces.isNotEmpty { scrollView + } else { + SpaceHubSearchEmptySpaceView() } } private var scrollView: some View { ScrollView { VStack(spacing: 8) { - SpaceHubHeader( - showLoading: model.showLoading, - profileIcon: model.profileIcon, - notificationsDenied: model.notificationsDenied, - onTapSettings: { - model.onTapSettings() - }, - onTapCreateSpace: { - model.onTapCreateSpace() - } - ) - - if model.filteredSpaces.isNotEmpty { - HomeUpdateSubmoduleView().padding(8) + HomeUpdateSubmoduleView().padding(8) - ForEach(model.filteredSpaces) { - spaceCard($0) - } - - Spacer.fixedHeight(40) - } else { - SpaceHubSearchEmptySpaceView() + ForEach(model.filteredSpaces) { + spaceCard($0) } + + Spacer.fixedHeight(40) } } .animation(.default, value: model.filteredSpaces) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubSearchEmptySpaceView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubSearchEmptySpaceView.swift index 922ae84b50..ed9755aaf3 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubSearchEmptySpaceView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubSearchEmptySpaceView.swift @@ -4,15 +4,11 @@ struct SpaceHubSearchEmptySpaceView: View { var body: some View { HomeUpdateSubmoduleView().padding(8) - VStack { - Spacer(minLength: 100) - EmptyStateView( - title: Loc.noMatchesFound, - subtitle: "", - style: .withImage, - buttonData: nil - ) - Spacer() - } + EmptyStateView( + title: Loc.noMatchesFound, + subtitle: "", + style: .withImage, + buttonData: nil + ) } } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubToolbar.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubToolbar.swift new file mode 100644 index 0000000000..f8a03b85bb --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubToolbar.swift @@ -0,0 +1,112 @@ +import SwiftUI + +struct SpaceHubToolbar: ToolbarContent { + + let showLoading: Bool + let profileIcon: Icon? + let notificationsDenied: Bool + let namespace: Namespace.ID + + let onTapCreateSpace: () -> Void + let onTapSettings: () -> Void + + var body: some ToolbarContent { + if #available(iOS 26.0, *) { + ios26ToolbarItems + } else { + legacyToolbarItems + } + } + + @ToolbarContentBuilder + private var legacyToolbarItems: some ToolbarContent { + ToolbarItem(placement: .principal) { + HStack(spacing: 6) { + if showLoading { + CircleLoadingView(.Text.primary) + .frame(width: 18, height: 18) + .transition(.scale.combined(with: .opacity)) + } else { + Spacer.fixedWidth(18) + } + + AnytypeText(Loc.myChannels, style: .uxTitle1Semibold) + + Spacer.fixedWidth(18) + } + } + + + ToolbarItem(placement: .topBarLeading) { + Button { + onTapSettings() + } label: { + IconView(icon: profileIcon) + .foregroundStyle(Color.Control.secondary) + .frame(width: 28, height: 28) + .overlay(alignment: .topTrailing) { + if notificationsDenied { + attentionDotView + } + } + .padding(.vertical, 8) + } + } + + ToolbarItem(placement: .topBarTrailing) { + SpaceHubNewSpaceButton { + onTapCreateSpace() + } + } + } + + @available(iOS 26.0, *) + @ToolbarContentBuilder + private var ios26ToolbarItems: some ToolbarContent { + ToolbarItem(placement: .principal) { + HStack(spacing: 6) { + if showLoading { + CircleLoadingView(.Text.primary) + .frame(width: 18, height: 18) + .transition(.scale.combined(with: .opacity)) + } else { + Spacer.fixedWidth(18) + } + + AnytypeText(Loc.myChannels, style: .uxTitle1Semibold) + + Spacer.fixedWidth(18) + } + } + + ToolbarItem(placement: .topBarTrailing) { + Button { + onTapSettings() + } label: { + IconView(icon: profileIcon) + .foregroundStyle(Color.Control.secondary) + .frame(width: 28, height: 28) + .overlay(alignment: .topTrailing) { + if notificationsDenied { + attentionDotView + } + } + .padding(.vertical, 8) + } + } + + DefaultToolbarItem(kind: .search, placement: .bottomBar) + + ToolbarSpacer(placement: .bottomBar) + + ToolbarItem(placement: .bottomBar) { + Button { onTapCreateSpace() } label: { Label("", systemImage: "plus") } + } + .matchedTransitionSource(id: "SpaceCreateTypePickerView", in: namespace) + } + + private var attentionDotView: some View { + SpaceHubAttentionDotView() + .padding([.top, .trailing], 1) + } +} From db2ddf952f606b18731be90b8b3fbb59a6f7221e Mon Sep 17 00:00:00 2001 From: Mikhail Golovko Date: Mon, 17 Nov 2025 21:20:27 +0300 Subject: [PATCH 185/228] IOS-5422 Fixes --- .../Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift index 677ec76343..ee487d857b 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift @@ -439,7 +439,7 @@ final class ChatViewModel: MessageModuleOutput, ChatActionProviderHandler { func visibleRangeChanged(from: MessageSectionItem, to: MessageSectionItem) { Task { - bottomVisibleOrderId = from.messageOrderId + bottomVisibleOrderId = to.messageOrderId forceHiddenActionPanel = false // Without update panel. Waiting middleware event. await chatStorage.updateVisibleRange(startMessageId: from.messageId, endMessageId: to.messageId) } From fecf4618038faaacb4c120177c3757ad00c16eed Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Mon, 17 Nov 2025 20:49:21 +0100 Subject: [PATCH 186/228] Multilingual [skip ci] (#4254) --- .../Sources/Loc/Resources/Workspace.xcstrings | 242 +++++++++--------- 1 file changed, 121 insertions(+), 121 deletions(-) diff --git a/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings b/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings index 137fae3d9c..458e1ec240 100644 --- a/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/Workspace.xcstrings @@ -264,7 +264,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Failed to create file. Try again." + "value" : "Не удалось создать файл. Повторите попытку." } }, "tr" : { @@ -413,7 +413,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Invalid file. Try again" + "value" : "Недопустимый файл. Попробуйте еще раз" } }, "tr" : { @@ -811,25 +811,25 @@ "few" : { "stringUnit" : { "state" : "new", - "value" : "You can upload only %d attachments at a time" + "value" : "Вы можете загрузить только %d вложений за раз" } }, "many" : { "stringUnit" : { "state" : "new", - "value" : "You can upload only %d attachments at a time" + "value" : "Вы можете загрузить только %d вложений за раз" } }, "one" : { "stringUnit" : { "state" : "new", - "value" : "You can upload only %d attachment at a time" + "value" : "Вы можете загрузить только %d Вложение за раз" } }, "other" : { "stringUnit" : { "state" : "new", - "value" : "You can upload only %d attachments at a time" + "value" : "Вы можете загрузить только %d вложений за раз" } } } @@ -1929,7 +1929,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Add members" + "value" : "Добавить участников" } }, "tr" : { @@ -2078,7 +2078,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Messages, docs & files available offline" + "value" : "Сообщения, документы и файлы доступны оффлайн" } }, "tr" : { @@ -2227,7 +2227,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Fully private and encrypted" + "value" : "Полностью приватный и зашифрованный" } }, "tr" : { @@ -2376,7 +2376,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Yours forever" + "value" : "Ваш навсегда" } }, "tr" : { @@ -2471,7 +2471,7 @@ "it" : { "stringUnit" : { "state" : "new", - "value" : "Nessun messaggio" + "value" : "Chatta senza il cloud" } }, "ja" : { @@ -3121,7 +3121,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "We couldn’t connect right now. This may be due to no internet or a temporary sync issue. We’ll keep trying in the background." + "value" : "Мы не смогли подключиться в данный момент. Это может быть вызвано отсутствием интернета или временной синхронизацией. Мы продолжим работу в фоновом режиме." } }, "tr" : { @@ -3419,7 +3419,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Network Error" + "value" : "Ошибка сети" } }, "tr" : { @@ -5059,7 +5059,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Anytype now supports real-time chat in Shared Channels — so your thoughts and dialogues can grow together." + "value" : "Anytype теперь поддерживает чат в режиме реального времени в общих каналах — поэтому ваши мысли и диалоги могут расти вместе." } }, "tr" : { @@ -5208,7 +5208,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Ideas need conversations" + "value" : "Идеи рождаются в диалоге." } }, "tr" : { @@ -5357,7 +5357,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Spaces and Chats now show live previews and updates — one place to follow everything that matters." + "value" : "Пробелы и чаты теперь показывают живые превью и обновления — одно место для того, чтобы следить за всем необходимым." } }, "tr" : { @@ -5506,7 +5506,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Your Vault just leveled up" + "value" : "Ваш Хранилище только что повысилось" } }, "tr" : { @@ -5655,7 +5655,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Share ideas, drop docs, edit together — everything flows in real time." + "value" : "Делитесь идеями, удаляйте доски, редактируйте вместе — все потоки в режиме реального времени." } }, "tr" : { @@ -5804,7 +5804,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Chats that do more" + "value" : "Чаты, которые делают больше" } }, "tr" : { @@ -5953,7 +5953,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Your pages, lists, and files — structured, surfaced, and always within reach." + "value" : "Ваши страницы, списки и файлы — структурированные, поверхностные и всегда в пределах досягаемости." } }, "tr" : { @@ -6102,7 +6102,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Everything in Its Right Place" + "value" : "Все в правом месте" } }, "tr" : { @@ -8338,7 +8338,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "This inline query doesn’t have a source" + "value" : "Этот встроенный запрос не имеет источника" } }, "tr" : { @@ -9084,7 +9084,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Create Chat" + "value" : "Создать чат" } }, "tr" : { @@ -14303,7 +14303,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Current year" + "value" : "Текущий год" } }, "tr" : { @@ -14899,7 +14899,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Last year" + "value" : "Прошлый год" } }, "tr" : { @@ -15346,7 +15346,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Next year" + "value" : "Следующий год" } }, "tr" : { @@ -19125,7 +19125,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Add to the current type" + "value" : "Добавить в текущий тип" } }, "tr" : { @@ -19275,7 +19275,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Property ‘%@’ has been created" + "value" : "Свойство ‘%@’ было создано" } }, "tr" : { @@ -19424,7 +19424,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Found in objects" + "value" : "Найдено в объектах" } }, "tr" : { @@ -19573,7 +19573,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Local" + "value" : "Локальные" } }, "tr" : { @@ -19871,7 +19871,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "These properties exist in some objects but aren’t part of the Type. Add them to make them appear in all objects of this Type." + "value" : "Эти свойства существуют в некоторых объектах, но не являются частью типа. Добавьте их, чтобы они появились во всех объектах данного типа." } }, "tr" : { @@ -20020,7 +20020,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Remove from the object" + "value" : "Удалить из объекта" } }, "tr" : { @@ -20169,7 +20169,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Property ‘%@’ has been updated" + "value" : "Свойство ‘%@’ было обновлено" } }, "tr" : { @@ -20467,7 +20467,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Join Space" + "value" : "Вступить в пространство" } }, "tr" : { @@ -20616,7 +20616,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Join Space Button" + "value" : "Кнопка \"Присоединиться к пространству\"" } }, "tr" : { @@ -28294,7 +28294,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "This tier is not available in the app. We know it's not ideal." + "value" : "Этот уровень недоступен в приложении. Мы знаем, что это не идеально." } }, "tr" : { @@ -30258,7 +30258,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Copy Plain Text" + "value" : "Копировать обычный текст" } }, "tr" : { @@ -30556,7 +30556,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Mark Unread" + "value" : "Снять отметку о прочтении" } }, "tr" : { @@ -31152,7 +31152,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Broadcast" + "value" : "Трансляция" } }, "tr" : { @@ -31301,7 +31301,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "New Property" + "value" : "Новое свойство" } }, "tr" : { @@ -31599,7 +31599,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Notifications" + "value" : "Уведомления" } }, "tr" : { @@ -34135,7 +34135,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Failed to load your domain. Please try again." + "value" : "Не удалось загрузить ваш домен. Пожалуйста, попробуйте еще раз." } }, "tr" : { @@ -34284,7 +34284,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Failed to load object data. Please try again." + "value" : "Не удалось загрузить данные объекта. Пожалуйста, попробуйте еще раз." } }, "tr" : { @@ -34433,7 +34433,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "insert-page-name-here" + "value" : "вставить имя страницы-здесь" } }, "tr" : { @@ -34582,7 +34582,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "This object is live on the web." + "value" : "Этот объект живет в Интернете." } }, "tr" : { @@ -34731,7 +34731,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "View site ↗︎" + "value" : "Просмотр сайта ↗️" } }, "tr" : { @@ -34880,7 +34880,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Successfully published" + "value" : "Успешно опубликовано" } }, "tr" : { @@ -35029,7 +35029,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Successfully unpublished" + "value" : "Публикация успешно отменена." } }, "tr" : { @@ -35178,7 +35178,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Successfully updated" + "value" : "Успешно обновлено" } }, "tr" : { @@ -35327,7 +35327,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "It looks like you didn’t allow notifications. That means you won’t see new messages, mentions, or invites. Go to settings to turn them on." + "value" : "Похоже, вы не разрешали уведомления. Это означает, что вы не увидите новых сообщений, упоминаний или приглашений. Перейдите в настройки, чтобы включить их." } }, "tr" : { @@ -35476,7 +35476,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Skip for now" + "value" : "Пропустить" } }, "tr" : { @@ -35625,7 +35625,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Notifications are still turned off" + "value" : "Уведомления по-прежнему отключены" } }, "tr" : { @@ -35774,7 +35774,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Attachment" + "value" : "Вложение" } }, "tr" : { @@ -35923,7 +35923,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Get notified instantly when someone messages or mentions you in your spaces." + "value" : "Получайте мгновенное уведомление, когда кто-то упоминает вас в своих местах." } }, "tr" : { @@ -36072,7 +36072,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "New Message" + "value" : "Новое сообщение" } }, "tr" : { @@ -36221,7 +36221,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Enable notifications" + "value" : "Включить уведомления" } }, "tr" : { @@ -36519,7 +36519,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Turn on push notifications" + "value" : "Включить Push-уведомления" } }, "tr" : { @@ -36668,7 +36668,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Receive notifications about new messages by enabling them in your device settings." + "value" : "Получать уведомления о новых сообщениях, включив их в настройках устройства." } }, "tr" : { @@ -36817,7 +36817,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Notifications are disabled" + "value" : "Уведомления отключены" } }, "tr" : { @@ -36966,7 +36966,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Message Notifications" + "value" : "Уведомления о сообщениях" } }, "tr" : { @@ -37115,7 +37115,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Join via QR Code" + "value" : "Присоединиться через QR-код" } }, "tr" : { @@ -37264,7 +37264,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Scanning error" + "value" : "Сканирование не поддерживается" } }, "tr" : { @@ -37413,7 +37413,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "The scanned QR code contains URL in invalid format" + "value" : "Отсканированный QR-код содержит URL в неверном формате" } }, "tr" : { @@ -37562,7 +37562,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Invalid QR Code" + "value" : "Недопустимый QR-код" } }, "tr" : { @@ -37711,7 +37711,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "The scanned QR code doesn't contain a valid URL" + "value" : "Отсканированный QR-код не содержит действительный URL" } }, "tr" : { @@ -38009,7 +38009,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "The scanned QR code contains different action" + "value" : "Отсканированный QR-код содержит другое действие" } }, "tr" : { @@ -40095,7 +40095,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Relation object" + "value" : "Объект связи" } }, "tr" : { @@ -41735,7 +41735,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Obsidian" + "value" : "Обсидиан" } }, "tr" : { @@ -46805,7 +46805,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Property:" + "value" : "Свойство:" } }, "tr" : { @@ -46954,7 +46954,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Properties:" + "value" : "Свойства:" } }, "tr" : { @@ -47850,7 +47850,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Add search query to aggregate objects with equal types and properties in a live mode" + "value" : "Добавить поисковый запрос в агрегацию объектов с одинаковыми типами и свойствами в живом режиме" } }, "tr" : { @@ -50237,7 +50237,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "No properties" + "value" : "Нет свойств" } }, "tr" : { @@ -50983,7 +50983,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Add a comment..." + "value" : "Добавить комментарий..." } }, "tr" : { @@ -51282,7 +51282,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Select destination" + "value" : "Выберите пункт назначения" } }, "tr" : { @@ -51431,7 +51431,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Send to chat" + "value" : "Отправить в чат" } }, "tr" : { @@ -52326,7 +52326,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Select Space" + "value" : "Выберите пространство" } }, "tr" : { @@ -53072,7 +53072,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Upgrade your membership to invite more members." + "value" : "Улучшите членство, чтобы пригласить больше участников." } }, "tr" : { @@ -53221,7 +53221,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "You've reached the limit of %lld editors." + "value" : "Вы достигли лимита редакторов %lld." } }, "tr" : { @@ -53370,7 +53370,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Upgrade for more or remove spaces." + "value" : "Улучшите для более или удалите пробелы." } }, "tr" : { @@ -53519,7 +53519,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "You've reached the limit of %lld shared spaces." + "value" : "Вы достигли лимита общих пробелов для %lld." } }, "tr" : { @@ -53668,7 +53668,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "People with link can edit and write in chat" + "value" : "Люди со ссылкой могут редактировать и писать в чате" } }, "tr" : { @@ -53817,7 +53817,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Editor access" + "value" : "Права на редактирование" } }, "tr" : { @@ -53966,7 +53966,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Only already invited members have access" + "value" : "Только приглашенные участники имеют доступ" } }, "tr" : { @@ -54115,7 +54115,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Link disabled" + "value" : "Ссылка отключена" } }, "tr" : { @@ -54264,7 +54264,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Owner must approve each join request" + "value" : "Владелец должен одобрить каждый запрос на присоединение" } }, "tr" : { @@ -54413,7 +54413,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Request access" + "value" : "Запросить доступ" } }, "tr" : { @@ -54562,7 +54562,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "People with link can view and read chat" + "value" : "Люди со ссылкой могут просматривать и читать чат" } }, "tr" : { @@ -54711,7 +54711,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Viewer access" + "value" : "Права на просмотр" } }, "tr" : { @@ -55333,7 +55333,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "All activity" + "value" : "Все действия" } }, "tr" : { @@ -55482,7 +55482,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Disable notifications" + "value" : "Выключить уведомления" } }, "tr" : { @@ -55631,7 +55631,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Mentions only" + "value" : "Только упоминания" } }, "tr" : { @@ -57421,7 +57421,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Create a chat" + "value" : "Создать чат" } }, "tr" : { @@ -57719,7 +57719,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Create a stream" + "value" : "Создать трансляцию" } }, "tr" : { @@ -57868,7 +57868,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "If you switch link type, your existing link will be deactivated." + "value" : "Если вы переключаетесь на тип ссылки, ваша существующая ссылка будет отключена." } }, "tr" : { @@ -58017,7 +58017,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "The current link will stop working" + "value" : "Текущая ссылка перестанет работать" } }, "tr" : { @@ -59306,7 +59306,7 @@ "it" : { "stringUnit" : { "state" : "new", - "value" : "Spazi" + "value" : "Canali" } }, "ja" : { @@ -59509,7 +59509,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Group chat with shared data. Best for small groups or a single ongoing conversation." + "value" : "Групповой чат с общими данными. Лучше всего для небольших групп или для одной постоянной беседы." } }, "tr" : { @@ -59956,7 +59956,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Hub for advanced data management. Multi-chats by topic coming soon. Ideal for larger teams." + "value" : "Хаб для расширенного управления данными. Мульти-чаты скоро появятся. Идеально подходит для больших команд." } }, "tr" : { @@ -60403,7 +60403,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "For broadcasting your vibe" + "value" : "Для трансляции вашего vibe" } }, "tr" : { @@ -60552,7 +60552,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Stream" + "value" : "Стрим" } }, "tr" : { @@ -63384,7 +63384,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Copy invite link" + "value" : "Скопировать ссылку для приглашения" } }, "tr" : { @@ -64427,7 +64427,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Share this invite link so that others can join your space" + "value" : "Поделитесь этой ссылкой-приглашением, чтобы другие могли присоединиться к вам" } }, "tr" : { @@ -64576,7 +64576,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Once they click your link and request access, you can set their access rights." + "value" : "Как только они перейдут по ссылке и захотят получить доступ, вы можете установить их права доступа." } }, "tr" : { @@ -65639,7 +65639,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Share this link so that others can join your Stream." + "value" : "Поделитесь этой ссылкой, чтобы другие могли присоединиться к вашему потоку." } }, "tr" : { @@ -66384,7 +66384,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "The link you are using does not seem to work. Please ask the owner to share a new one with you." + "value" : "Ссылка, которую вы используете, не работает. Пожалуйста, попросите владельца поделиться с вами новой ссылкой." } }, "tr" : { @@ -66533,7 +66533,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "To join as an editor, ask the owner to add more editor seats or send you a new link with view-only access." + "value" : "Чтобы присоединиться к редактору, попросите владельца добавить больше мест для редактора или отправьте вам новую ссылку с доступом только для просмотра." } }, "tr" : { @@ -66682,7 +66682,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "This space has reached its limit" + "value" : "Достигнут лимит пространства" } }, "tr" : { @@ -66980,7 +66980,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "No access to this space" + "value" : "Нет доступа к пространству" } }, "tr" : { @@ -67129,7 +67129,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Join Space" + "value" : "Вступить в пространство" } }, "tr" : { @@ -67278,7 +67278,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "You've been invited to join %@, created by %@" + "value" : "Вы были приглашены присоединиться к %@ пространству, созданному %@" } }, "tr" : { @@ -67427,7 +67427,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Join %@" + "value" : "Присоединиться к «%@»" } }, "tr" : { @@ -67576,7 +67576,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Ask the owner to share it with you." + "value" : "Попросите владельца поделиться им с вами." } }, "tr" : { @@ -70880,7 +70880,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Share link" + "value" : "Поделиться ссылкой" } }, "tr" : { @@ -71625,7 +71625,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "You’ve removed the last member, so this space is now private and only accessible to you." + "value" : "Вы удалили последнего пользователя, так что теперь это приватное пространство и доступно только вам." } }, "tr" : { @@ -71774,7 +71774,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "The space is now private" + "value" : "Область теперь приватна" } }, "tr" : { @@ -73414,7 +73414,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Invite people and start sharing your vibe" + "value" : "Пригласите людей и начните делиться своим вайбом" } }, "tr" : { @@ -73563,7 +73563,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "This stream is empty" + "value" : "Этот поток пуст" } }, "tr" : { @@ -75005,25 +75005,25 @@ "few" : { "stringUnit" : { "state" : "new", - "value" : "This type has %d templates" + "value" : "Этот тип шаблона имеет шаблоны %d" } }, "many" : { "stringUnit" : { "state" : "new", - "value" : "This type has %d templates" + "value" : "Этот тип шаблона имеет шаблоны %d" } }, "one" : { "stringUnit" : { "state" : "new", - "value" : "This type has %d template" + "value" : "Этот тип шаблона имеет шаблон %d" } }, "other" : { "stringUnit" : { "state" : "new", - "value" : "This type has %d templates" + "value" : "Этот тип шаблона имеет шаблоны %d" } } } From 888b7102d95506bf7294fb5ea5a4b7cd1c99472d Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 18 Nov 2025 10:10:47 +0000 Subject: [PATCH 187/228] IOS-5438 Fix preview color --- .../NewSpaceCardLastMessageView.swift | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift index 59020ca157..4940517447 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift @@ -26,28 +26,30 @@ struct NewSpaceCardLastMessageView: View { if supportsMultiChats, let chatName = model.chatName { multiChatMessageView(chatName: chatName, messageText: model.text, creatorTitle: model.creatorTitle) } else if let creatorTitle = model.creatorTitle { - Text("\(creatorTitle): \(model.text)") - .anytypeFontStyle(.chatPreviewRegular) + AnytypeText("\(creatorTitle): \(model.text)", style: .chatPreviewRegular) + .foregroundColor(.Text.transparentSecondary) .lineLimit(2) } else { - Text(model.text) - .anytypeFontStyle(.chatPreviewRegular) + AnytypeText(model.text, style: .chatPreviewRegular) + .foregroundColor(.Text.transparentSecondary) .lineLimit(2) } } - .foregroundColor(.Text.transparentSecondary) .anytypeLineHeightStyle(.chatPreviewRegular) } private func multiChatMessageView(chatName: String, messageText: String, creatorTitle: String?) -> some View { VStack(alignment: .leading, spacing: 2) { - Text(chatName).anytypeFontStyle(.chatPreviewMedium) + AnytypeText(chatName, style: .chatPreviewMedium) + .foregroundColor(.Text.transparentSecondary) .lineLimit(1) if let creatorTitle { - Text("\(creatorTitle): \(messageText)").anytypeFontStyle(.chatPreviewRegular) + AnytypeText("\(creatorTitle): \(messageText)", style: .chatPreviewRegular) + .foregroundColor(.Text.transparentSecondary) .lineLimit(1) } else { - Text(messageText).anytypeFontStyle(.chatPreviewRegular) + AnytypeText(messageText, style: .chatPreviewRegular) + .foregroundColor(.Text.transparentSecondary) .lineLimit(1) } } @@ -55,7 +57,6 @@ struct NewSpaceCardLastMessageView: View { private var messageWithAttachements: some View { VStack(alignment: .leading, spacing: 2) { - if supportsMultiChats, let chatName = model.chatName { AnytypeText(chatName, style: .chatPreviewMedium) .foregroundColor(.Text.transparentSecondary) From 637c60b61662657bb53ab744e5beb07448751394 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 18 Nov 2025 10:12:46 +0000 Subject: [PATCH 188/228] IOS-5438 use supportsMultiChats bool instead of derived value --- .../Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift | 2 +- .../Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift | 2 +- .../SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift index 13125c431a..a042272603 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLabel.swift @@ -70,7 +70,7 @@ struct NewSpaceCardLabel: View { } HStack(alignment: .top) { - NewSpaceCardLastMessageView(model: message, supportsMultiChats: model.uxType.supportsMultiChats) + NewSpaceCardLastMessageView(model: message, supportsMultiChats: model.supportsMultiChats) Spacer() decoration } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift index 5e7893a9b3..5c41ca1400 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModel.swift @@ -11,7 +11,7 @@ struct SpaceCardModel: Equatable, Identifiable { let isShared: Bool let isMuted: Bool let uxTypeName: String - let uxType: SpaceUxType + let supportsMultiChats: Bool let lastMessage: MessagePreviewModel? let unreadCounter: Int diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift index a5187a95b2..c82b5a7a3b 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift @@ -67,7 +67,7 @@ final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { isShared: spaceView.isShared, isMuted: !spaceView.pushNotificationMode.isUnmutedAll, uxTypeName: spaceView.uxType.name, - uxType: spaceView.uxType, + supportsMultiChats: spaceView.uxType.supportsMultiChats, lastMessage: lastMessage, unreadCounter: spaceData.totalUnreadCounter, mentionCounter: spaceData.totalMentionCounter, From 6d498e49a19a08f0c4a65b1498a75548a56b693c Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 18 Nov 2025 10:17:43 +0000 Subject: [PATCH 189/228] IOS-5438 Use AnyAsyncSequence instead of combile --- .../SpaceCard/SpaceCardModelBuilder.swift | 17 ++++++---- .../ChatStorage/ChatDetailsStorage.swift | 33 +++++++++++-------- 2 files changed, 30 insertions(+), 20 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift index c82b5a7a3b..45342157f4 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/SpaceCardModelBuilder.swift @@ -20,20 +20,23 @@ final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { wallpapers: [String: SpaceWallpaperType] ) async -> [SpaceCardModel] { await Task.detached { - spaces.map { spaceData in - self.buildModel(from: spaceData, wallpapers: wallpapers) + var models = [SpaceCardModel]() + for space in spaces { + models.append(await self.buildModel(from: space, wallpapers: wallpapers)) } + return models }.value } private func buildModel( from spaceData: ParticipantSpaceViewDataWithPreview, wallpapers: [String: SpaceWallpaperType] - ) -> SpaceCardModel { + ) async -> SpaceCardModel { let spaceView = spaceData.spaceView let latestPreview = spaceData.latestPreview - let lastMessage = latestPreview.lastMessage.map { lastMessagePreview in + let lastMessage: MessagePreviewModel? + if let lastMessagePreview = latestPreview.lastMessage { let attachments = lastMessagePreview.attachments.prefix(3).map { objectDetails in MessagePreviewModel.Attachment( id: objectDetails.id, @@ -42,9 +45,9 @@ final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { } let chatId = latestPreview.chatId - let chatName = chatDetailsStorage.chat(id: chatId)?.name + let chatName = await chatDetailsStorage.chat(id: chatId)?.name - return MessagePreviewModel( + lastMessage = MessagePreviewModel( creatorTitle: lastMessagePreview.creator?.title, text: lastMessagePreview.text, attachments: Array(attachments), @@ -55,6 +58,8 @@ final class SpaceCardModelBuilder: SpaceCardModelBuilderProtocol, Sendable { isMuted: false, // unsupported in space hub chatName: chatName ) + } else { + lastMessage = nil } return SpaceCardModel( diff --git a/Anytype/Sources/ServiceLayer/ChatStorage/ChatDetailsStorage.swift b/Anytype/Sources/ServiceLayer/ChatStorage/ChatDetailsStorage.swift index d99de1f632..4517227fa0 100644 --- a/Anytype/Sources/ServiceLayer/ChatStorage/ChatDetailsStorage.swift +++ b/Anytype/Sources/ServiceLayer/ChatStorage/ChatDetailsStorage.swift @@ -1,29 +1,34 @@ import Foundation -import Combine import Services -import AnytypeCore +import AsyncTools +import AsyncAlgorithms protocol ChatDetailsStorageProtocol: AnyObject, Sendable { - var allChats: [ObjectDetails] { get } - var allChatsPublisher: AnyPublisher<[ObjectDetails], Never> { get } + func allChats() async -> [ObjectDetails] + var allChatsSequence: AnyAsyncSequence<[ObjectDetails]> { get async } func startSubscription() async func stopSubscription() async - func chat(id: String) -> ObjectDetails? + func chat(id: String) async -> ObjectDetails? } -final class ChatDetailsStorage: ChatDetailsStorageProtocol { +actor ChatDetailsStorage: ChatDetailsStorageProtocol { private let subscriptionBuilder: any ChatDetailsSubscriptionBuilderProtocol = Container.shared.chatDetailsSubscriptionBuilder() private let subscriptionStorageProvider: any SubscriptionStorageProviderProtocol = Container.shared.subscriptionStorageProvider() private let subscriptionStorage: any SubscriptionStorageProtocol - private let allChatsStorage = AtomicPublishedStorage<[ObjectDetails]>([]) - var allChats: [ObjectDetails] { allChatsStorage.value } - var allChatsPublisher: AnyPublisher<[ObjectDetails], Never> { - allChatsStorage.publisher - .throttle(for: .milliseconds(50), scheduler: DispatchQueue.global(), latest: true) + private let allChatsStream = AsyncToManyStream<[ObjectDetails]>() + + func allChats() -> [ObjectDetails] { + allChatsStream.value ?? [] + } + + var allChatsSequence: AnyAsyncSequence<[ObjectDetails]> { + allChatsStream + .subscribe([]) + .throttle(milliseconds: 300, latest: true) .removeDuplicates() - .eraseToAnyPublisher() + .eraseToAnyAsyncSequence() } init() { @@ -34,7 +39,7 @@ final class ChatDetailsStorage: ChatDetailsStorageProtocol { let data = subscriptionBuilder.build() try? await subscriptionStorage.startOrUpdateSubscription(data: data) { [weak self] data in guard let self else { return } - allChatsStorage.value = data.items + self.allChatsStream.send(data.items) } } @@ -43,6 +48,6 @@ final class ChatDetailsStorage: ChatDetailsStorageProtocol { } func chat(id: String) -> ObjectDetails? { - return allChatsStorage.value.first(where: { $0.id == id }) + return allChatsStream.value?.first(where: { $0.id == id }) } } From 4282e923eda36d247c6be5477f2bee994469b85c Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 18 Nov 2025 12:06:30 +0000 Subject: [PATCH 190/228] IOS-5483 Update contextual menu layout and styling --- .../ContextualMenu/EditorContextualMenu.swift | 24 +++++++++++-------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/ContextualMenu/EditorContextualMenu.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/ContextualMenu/EditorContextualMenu.swift index fb9766cfa4..6ab496c522 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/ContextualMenu/EditorContextualMenu.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/ContextualMenu/EditorContextualMenu.swift @@ -24,23 +24,27 @@ struct EditorContextualMenuView: View { let optionTapHandler: (EditorContextualOption) -> Void var body: some View { - VStack(alignment: .center, spacing: 0) { - Spacer.fixedHeight(8) + VStack(alignment: .leading, spacing: 0) { + Spacer.fixedHeight(12) ForEach(options) { option in Button { optionTapHandler(option) } label: { - Text(verbatim: option.localisedString) - .foregroundColor(Color.Text.primary) - .font(AnytypeFontBuilder.font(anytypeFont: .uxCalloutRegular)) - .padding(.leading, 16) - .frame(maxWidth: .infinity, minHeight: 28, alignment: .leading) - .fixTappableArea() + HStack { + Text(verbatim: option.localisedString) + .frame(alignment: .leading) + .foregroundColor(Color.Text.primary) + .font(AnytypeFontBuilder.font(anytypeFont: .bodyRegular)) + .padding(.vertical, 9) + .padding(.leading, 24) + .fixTappableArea() + Spacer() + } } - .frame(minWidth: 208, maxWidth: 224, minHeight: 28, maxHeight: 43.5) + .frame(width: 252, height: 40) .buttonStyle(TertiaryPressedBackgroundButtonStyle()) } - Spacer.fixedHeight(8) + Spacer.fixedHeight(12) } } } From 6ba3d371f54afdb02f68d14c911d9a5982bc88c4 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 18 Nov 2025 12:17:52 +0000 Subject: [PATCH 191/228] IOS-5332 Fix excessive right margin in chat list preview rows Remove trailing spacer and adjust spacing to use fixed-width spacers instead of HStack spacing for consistent layout --- .../Widgets/List/Common/Content/Subviews/ListWidgetRow.swift | 4 +++- .../Common/Subviews/WidgetObjectListCommonRowView.swift | 4 +++- .../Set/Views/Collection/Cell/SetListChatPreviewView.swift | 3 ++- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRow.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRow.swift index 5500304a79..67c80dc2db 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRow.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/List/Common/Content/Subviews/ListWidgetRow.swift @@ -9,9 +9,11 @@ struct ListWidgetRow: View { @Environment(\.editMode) private var editMode var body: some View { - HStack(spacing: 12) { + HStack(spacing: 0) { IconView(icon: model.icon) .frame(width: 48, height: 48) + + Spacer.fixedWidth(12) if let chatPreview = model.chatPreview { chatContent(chatPreview: chatPreview) diff --git a/Anytype/Sources/PresentationLayer/Modules/WidgetObjectList/Common/Subviews/WidgetObjectListCommonRowView.swift b/Anytype/Sources/PresentationLayer/Modules/WidgetObjectList/Common/Subviews/WidgetObjectListCommonRowView.swift index a6f10bdaac..3f47e307a6 100644 --- a/Anytype/Sources/PresentationLayer/Modules/WidgetObjectList/Common/Subviews/WidgetObjectListCommonRowView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/WidgetObjectList/Common/Subviews/WidgetObjectListCommonRowView.swift @@ -8,10 +8,12 @@ struct WidgetObjectListCommonRowView: View { let subtitle: String? var body: some View { - HStack(spacing: 12) { + HStack(spacing: 0) { IconView(icon: icon) .frame(width: 48, height: 48) + Spacer.fixedWidth(12) + VStack(alignment: .leading, spacing: 0) { AnytypeText(title, style: .previewTitle2Medium) .foregroundColor(.Text.primary) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetListChatPreviewView.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetListChatPreviewView.swift index 53f1de699d..367497ed4e 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetListChatPreviewView.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Collection/Cell/SetListChatPreviewView.swift @@ -5,10 +5,11 @@ struct SetListChatPreviewView: View { let chatPreview: MessagePreviewModel var body: some View { - HStack(spacing: 12) { + HStack(spacing: 0) { if configuration.showIcon { IconView(icon: configuration.icon) .frame(width: 48, height: 48) + Spacer.fixedWidth(12) } VStack(alignment: .leading, spacing: 1) { From 0809a9c1816b1e09953028497dc7b87923bf8855 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 18 Nov 2025 12:57:18 +0000 Subject: [PATCH 192/228] IOS-5054 Add feature toggle for upload status indicator --- .../SpaceHub/SpaceHubCoordinatorView.swift | 8 +++-- .../Views/UploadStatusBannerView.swift | 35 +++++++++++++++++++ .../NotificationCoordinatorView.swift | 25 ++++++++----- .../NotificationCoordinatorViewModel.swift | 25 +++++++++---- .../Services/SyncStatusStorageMock.swift | 24 ++++++++----- .../SyncStatus/SyncStatusStorage.swift | 9 ++++- .../Generated/FeatureFlags+Flags.swift | 5 +++ .../FeatureDescription+Flags.swift | 7 ++++ .../Loc/Sources/Loc/Generated/Strings.swift | 3 ++ .../Loc/Sources/Loc/Resources/UI.xcstrings | 32 +++++++++++++++++ 10 files changed, 146 insertions(+), 27 deletions(-) create mode 100644 Anytype/Sources/PresentationLayer/Flows/SpaceHub/Views/UploadStatusBannerView.swift diff --git a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift index e64d9fad43..ad5c537121 100644 --- a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift +++ b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorView.swift @@ -115,10 +115,10 @@ struct SpaceHubCoordinatorView: View { } } - private var content: some View { + private var content: some View { ZStack { - NotificationCoordinatorView() - + Color.Background.primary + HomeBottomPanelContainer( path: $model.navigationPath, content: { @@ -156,6 +156,8 @@ struct SpaceHubCoordinatorView: View { } } ) + + NotificationCoordinatorView() } .animation(.easeInOut, value: model.spaceInfo) .pageNavigation(model.pageNavigation) diff --git a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/Views/UploadStatusBannerView.swift b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/Views/UploadStatusBannerView.swift new file mode 100644 index 0000000000..f7c728932c --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/Views/UploadStatusBannerView.swift @@ -0,0 +1,35 @@ +import SwiftUI +import DesignKit + +struct UploadStatusBannerView: View { + let count: Int + + var body: some View { + HStack(spacing: 12) { + CircleLoadingView(Color.Control.primary) + .frame(width: 20, height: 20) + + Text(Loc.filesUploading(count)) + .font(AnytypeFontBuilder.font(anytypeFont: .uxCalloutMedium)) + .foregroundColor(Color.Text.primary) + .contentTransition(.numericText()) + } + .padding(.horizontal, 16) + .padding(.vertical, 12) + .background( + Capsule() + .fill(Color.Background.primary) + .shadow(color: Color.black.opacity(0.15), radius: 8, x: 0, y: 2) + ) + } +} + +#Preview { + VStack(spacing: 20) { + UploadStatusBannerView(count: 1) + UploadStatusBannerView(count: 5) + UploadStatusBannerView(count: 42) + } + .padding() + .background(Color.Background.secondary) +} diff --git a/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorView.swift b/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorView.swift index c05ce27d96..0931f31615 100644 --- a/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorView.swift +++ b/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorView.swift @@ -2,16 +2,22 @@ import Foundation import SwiftUI struct NotificationCoordinatorView: View { - - @StateObject private var model: NotificationCoordinatorViewModel + + @StateObject private var model = NotificationCoordinatorViewModel() @Environment(\.dismissAllPresented) private var dismissAllPresented - - init() { - self._model = StateObject(wrappedValue: NotificationCoordinatorViewModel()) - } - + var body: some View { - Color.Background.primary + Color.clear + .allowsHitTesting(false) + .overlay(alignment: .top) { + if model.uploadingFilesCount > 0 { + UploadStatusBannerView(count: model.uploadingFilesCount) + .padding(.top, 8) + .transition(.move(edge: .top).combined(with: .opacity)) + .allowsHitTesting(true) + } + } + .animation(.spring(), value: model.uploadingFilesCount) .onAppear { model.onAppear() model.setDismissAllPresented(dismissAllPresented: dismissAllPresented) @@ -19,6 +25,9 @@ struct NotificationCoordinatorView: View { .onDisappear { model.onDisappear() } + .taskWithMemoryScope { + await model.startHandleSyncStatus() + } .anytypeSheet(item: $model.spaceRequestAlert) { SpaceRequestAlert(data: $0) { reason in model.onMembershipUpgrateTap(reason: reason) diff --git a/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorViewModel.swift b/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorViewModel.swift index 703db500d4..7c3f6eebbe 100644 --- a/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorViewModel.swift @@ -12,16 +12,16 @@ final class NotificationCoordinatorViewModel: ObservableObject { private var notificationSubscriptionService: any NotificationsSubscriptionServiceProtocol @Injected(\.objectIconBuilder) private var objectIconBuilder: any ObjectIconBuilderProtocol - + @Injected(\.syncStatusStorage) + private var syncStatusStorage: any SyncStatusStorageProtocol + private var subscription: AnyCancellable? private var dismissAllPresented: DismissAllPresented? @Published var spaceRequestAlert: SpaceRequestAlertData? @Published var membershipUpgradeReason: MembershipUpgradeReason? - - init() { - } - + @Published var uploadingFilesCount: Int = 0 + func onAppear() { Task { if subscription.isNotNil { @@ -46,9 +46,22 @@ final class NotificationCoordinatorViewModel: ObservableObject { func onMembershipUpgrateTap(reason: MembershipUpgradeReason) { membershipUpgradeReason = reason } + + func startHandleSyncStatus() async { + for await statuses in syncStatusStorage.allSpacesStatusPublisher().values { + guard FeatureFlags.showUploadStatusIndicator else { continue } + + let count = statuses + .filter { $0.status == .syncing } // todo: count only files + .reduce(0) { $0 + Int($1.syncingObjectsCounter) } + + withAnimation { + uploadingFilesCount = count + } + } + } // MARK: - Private - private func handle(events: [NotificationEvent]) async { for event in events { switch event { diff --git a/Anytype/Sources/PreviewMocks/Mocks/Services/SyncStatusStorageMock.swift b/Anytype/Sources/PreviewMocks/Mocks/Services/SyncStatusStorageMock.swift index c1e864b0bc..f6cfd3244a 100644 --- a/Anytype/Sources/PreviewMocks/Mocks/Services/SyncStatusStorageMock.swift +++ b/Anytype/Sources/PreviewMocks/Mocks/Services/SyncStatusStorageMock.swift @@ -7,9 +7,9 @@ final class SyncStatusStorageMock: SyncStatusStorageProtocol, @unchecked Sendabl static let shared = SyncStatusStorageMock() @Published private var publishedInfo: SpaceSyncStatusInfo = .default(spaceId: "") - var infoToReturn = Services.SpaceSyncStatusInfo.mockArray() + var infoToReturn = SpaceSyncStatusInfo.mockArray() - func statusPublisher(spaceId: String) -> AnyPublisher { + func statusPublisher(spaceId: String) -> AnyPublisher { Task.detached { [infoToReturn] in while true { for info in infoToReturn { @@ -22,17 +22,23 @@ final class SyncStatusStorageMock: SyncStatusStorageProtocol, @unchecked Sendabl return $publishedInfo.eraseToAnyPublisher() } - func startSubscription() { - fatalError() + func allSpacesStatusPublisher() -> AnyPublisher<[SpaceSyncStatusInfo], Never> { + return $publishedInfo + .map { [$0] } + .eraseToAnyPublisher() } - func stopSubscriptionAndClean() { - fatalError() + func startSubscription() async { + // Mock implementation - no-op + } + + func stopSubscriptionAndClean() async { + // Mock implementation - no-op } } extension SpaceSyncStatusInfo { - static func mockArray(network: Anytype_Event.Space.Network = .anytype) -> [Services.SpaceSyncStatusInfo] { + static func mockArray(network: Anytype_Event.Space.Network = .anytype) -> [SpaceSyncStatusInfo] { [ .mock(network: network, status: .offline), .mock(network: network, status: .syncing), @@ -44,8 +50,8 @@ extension SpaceSyncStatusInfo { static func mock( network: Anytype_Event.Space.Network = .anytype, status: Anytype_Event.Space.Status = .offline - ) -> Services.SpaceSyncStatusInfo { - var mock = Services.SpaceSyncStatusInfo.init() + ) -> SpaceSyncStatusInfo { + var mock = SpaceSyncStatusInfo.init() mock.id = "1337" mock.status = status mock.error = .incompatibleVersion diff --git a/Anytype/Sources/ServiceLayer/SyncStatus/SyncStatusStorage.swift b/Anytype/Sources/ServiceLayer/SyncStatus/SyncStatusStorage.swift index 4159ca8004..6813ab3ec2 100644 --- a/Anytype/Sources/ServiceLayer/SyncStatus/SyncStatusStorage.swift +++ b/Anytype/Sources/ServiceLayer/SyncStatus/SyncStatusStorage.swift @@ -5,7 +5,8 @@ import ProtobufMessages protocol SyncStatusStorageProtocol: Sendable { func statusPublisher(spaceId: String) -> AnyPublisher - + func allSpacesStatusPublisher() -> AnyPublisher<[SpaceSyncStatusInfo], Never> + func startSubscription() async func stopSubscriptionAndClean() async } @@ -22,6 +23,12 @@ actor SyncStatusStorage: SyncStatusStorageProtocol, Sendable { .compactMap { $0[spaceId] } .eraseToAnyPublisher() } + + nonisolated func allSpacesStatusPublisher() -> AnyPublisher<[SpaceSyncStatusInfo], Never> { + storage.publisher + .map { Array($0.values) } + .eraseToAnyPublisher() + } func startSubscription() async { subscription = EventBunchSubscribtion.default.addHandler { [weak self] events in diff --git a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift index 64417180fb..f0074a8202 100644 --- a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift @@ -22,6 +22,10 @@ public extension FeatureFlags { value(for: .newObjectSettings) } + static var showUploadStatusIndicator: Bool { + value(for: .showUploadStatusIndicator) + } + static var setKanbanView: Bool { value(for: .setKanbanView) } @@ -104,6 +108,7 @@ public extension FeatureFlags { .turnOffAutomaticWidgetOpening, .channelTypeSwitcher, .newObjectSettings, + .showUploadStatusIndicator, .setKanbanView, .fullInlineSetImpl, .dndOnCollectionsAndSets, diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index a55cfe6b03..6b82b16365 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -29,6 +29,13 @@ public extension FeatureDescription { debugValue: true ) + static let showUploadStatusIndicator = FeatureDescription( + title: "Show visual indicator for uploading files - IOS-5054", + type: .feature(author: "vova@anytype.io", releaseVersion: "14"), + defaultValue: false, + debugValue: true + ) + // MARK: - Experemental static let setKanbanView = FeatureDescription( diff --git a/Modules/Loc/Sources/Loc/Generated/Strings.swift b/Modules/Loc/Sources/Loc/Generated/Strings.swift index 7870bcff6c..f441a43384 100644 --- a/Modules/Loc/Sources/Loc/Generated/Strings.swift +++ b/Modules/Loc/Sources/Loc/Generated/Strings.swift @@ -354,6 +354,9 @@ public enum Loc { return Loc.tr("UI", "File", p1, fallback: "Plural format key: File") } public static let files = Loc.tr("UI", "Files", fallback: "Files") + public static func filesUploading(_ p1: Int) -> String { + return Loc.tr("UI", "Files uploading", p1, fallback: "%#@file@ uploading") + } public static let filter = Loc.tr("UI", "Filter", fallback: "Filter") public static let forever = Loc.tr("UI", "Forever", fallback: "Forever") public static let foreverFree = Loc.tr("UI", "Forever free", fallback: "Forever free") diff --git a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings index 946ede96b3..71461e9648 100644 --- a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings @@ -38286,6 +38286,38 @@ } } }, + "Files uploading" : { + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "translated", + "value" : "%arg file" + } + }, + "other" : { + "stringUnit" : { + "state" : "translated", + "value" : "%arg files" + } + } + } + } + } + } + } + } + }, "FilesList.ForceDelete.Title" : { "extractionState" : "manual", "localizations" : { From 9d69870ef8f8f9e53a2119776fb6a1163821b941 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 18 Nov 2025 14:14:22 +0000 Subject: [PATCH 193/228] IOS-5482 Update navbar --- .../SwiftUI/View+iOS26.swift | 29 ++ .../Modules/SpaceHub/SpaceHubView.swift | 3 +- .../SpaceHub/Subviews/SpaceHubToolbar.swift | 37 +-- .../DesignKit/Fonts/Helpers/Text+Style.swift | 2 +- .../Loc/Sources/Loc/Generated/Strings.swift | 2 +- .../Loc/Sources/Loc/Resources/UI.xcstrings | 300 +++++++++--------- 6 files changed, 184 insertions(+), 189 deletions(-) diff --git a/Anytype/Sources/FrameworkExtensions/SwiftUI/View+iOS26.swift b/Anytype/Sources/FrameworkExtensions/SwiftUI/View+iOS26.swift index 57e2e26ee4..f28ff2e7c2 100644 --- a/Anytype/Sources/FrameworkExtensions/SwiftUI/View+iOS26.swift +++ b/Anytype/Sources/FrameworkExtensions/SwiftUI/View+iOS26.swift @@ -10,4 +10,33 @@ extension View { self } } + + @ViewBuilder + nonisolated public func scrollEdgeEffectStyleIOS26(_ style: ScrollEdgeEffectStyleIOS26?, for edges: Edge.Set) -> some View { + if #available(iOS 26.0, *) { + self.scrollEdgeEffectStyle(style?.style, for: edges) + } else { + self + } + } +} + +public enum ScrollEdgeEffectStyleIOS26 { + case automatic + case hard + case soft +} + +@available(iOS 26.0, *) +public extension ScrollEdgeEffectStyleIOS26 { + var style: ScrollEdgeEffectStyle { + switch self { + case .automatic: + .automatic + case .hard: + .hard + case .soft: + .soft + } + } } diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift index d503da8ec1..c965e83bf5 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubView.swift @@ -46,7 +46,7 @@ struct SpaceHubView: View { NavigationStack { SpaceHubList(model: model) .navigationTitle(Loc.myChannels) - .navigationBarTitleDisplayMode(.inline) + .scrollEdgeEffectStyleIOS26(.soft, for: .top) .toolbar { toolbarItems } .searchable(text: $model.searchText) .onChange(of: model.searchText) { @@ -57,7 +57,6 @@ struct SpaceHubView: View { private var toolbarItems: some ToolbarContent { SpaceHubToolbar( - showLoading: model.showLoading, profileIcon: model.profileIcon, notificationsDenied: model.notificationsDenied, namespace: namespace, diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubToolbar.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubToolbar.swift index f8a03b85bb..4c3955fc98 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubToolbar.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceHubToolbar.swift @@ -2,7 +2,6 @@ import SwiftUI struct SpaceHubToolbar: ToolbarContent { - let showLoading: Bool let profileIcon: Icon? let notificationsDenied: Bool let namespace: Namespace.ID @@ -20,23 +19,6 @@ struct SpaceHubToolbar: ToolbarContent { @ToolbarContentBuilder private var legacyToolbarItems: some ToolbarContent { - ToolbarItem(placement: .principal) { - HStack(spacing: 6) { - if showLoading { - CircleLoadingView(.Text.primary) - .frame(width: 18, height: 18) - .transition(.scale.combined(with: .opacity)) - } else { - Spacer.fixedWidth(18) - } - - AnytypeText(Loc.myChannels, style: .uxTitle1Semibold) - - Spacer.fixedWidth(18) - } - } - - ToolbarItem(placement: .topBarLeading) { Button { onTapSettings() @@ -63,29 +45,13 @@ struct SpaceHubToolbar: ToolbarContent { @available(iOS 26.0, *) @ToolbarContentBuilder private var ios26ToolbarItems: some ToolbarContent { - ToolbarItem(placement: .principal) { - HStack(spacing: 6) { - if showLoading { - CircleLoadingView(.Text.primary) - .frame(width: 18, height: 18) - .transition(.scale.combined(with: .opacity)) - } else { - Spacer.fixedWidth(18) - } - - AnytypeText(Loc.myChannels, style: .uxTitle1Semibold) - - Spacer.fixedWidth(18) - } - } - ToolbarItem(placement: .topBarTrailing) { Button { onTapSettings() } label: { IconView(icon: profileIcon) .foregroundStyle(Color.Control.secondary) - .frame(width: 28, height: 28) + .frame(width: 44, height: 44) .overlay(alignment: .topTrailing) { if notificationsDenied { attentionDotView @@ -94,6 +60,7 @@ struct SpaceHubToolbar: ToolbarContent { .padding(.vertical, 8) } } + .sharedBackgroundVisibility(.hidden) DefaultToolbarItem(kind: .search, placement: .bottomBar) diff --git a/Modules/DesignKit/Sources/DesignKit/Fonts/Helpers/Text+Style.swift b/Modules/DesignKit/Sources/DesignKit/Fonts/Helpers/Text+Style.swift index 6e6d985a06..410454c0f6 100644 --- a/Modules/DesignKit/Sources/DesignKit/Fonts/Helpers/Text+Style.swift +++ b/Modules/DesignKit/Sources/DesignKit/Fonts/Helpers/Text+Style.swift @@ -28,7 +28,7 @@ public extension TextField { public extension View { func anytypeLineHeightStyle(_ style: AnytypeFont) -> some View { - if #available(iOS 26, *) { + if #available(iOS 26.0, *) { return self.lineHeight(.exact(points: style.config.lineHeight)) } else { return self.environment(\._lineHeightMultiple, style.lineHeightMultiple) diff --git a/Modules/Loc/Sources/Loc/Generated/Strings.swift b/Modules/Loc/Sources/Loc/Generated/Strings.swift index 7870bcff6c..320b666e32 100644 --- a/Modules/Loc/Sources/Loc/Generated/Strings.swift +++ b/Modules/Loc/Sources/Loc/Generated/Strings.swift @@ -427,7 +427,7 @@ public enum Loc { public static let moveTo = Loc.tr("UI", "Move to", fallback: "Move to") public static let moveToBin = Loc.tr("UI", "Move To Bin", fallback: "Move To Bin") public static let mute = Loc.tr("UI", "Mute", fallback: "Mute") - public static let myChannels = Loc.tr("UI", "My channels", fallback: "My Channels") + public static let myChannels = Loc.tr("UI", "My channels", fallback: "Channels") public static let myFirstSpace = Loc.tr("UI", "My First Space", fallback: "My First Space") public static let myProperties = Loc.tr("UI", "My Properties", fallback: "My Properties") public static let mySites = Loc.tr("UI", "My Sites", fallback: "My Sites") diff --git a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings index 946ede96b3..43a4e5e77a 100644 --- a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings @@ -55354,7 +55354,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "My Channels" + "value" : "Channels" } }, "es" : { @@ -69284,155 +69284,6 @@ } } }, - "Unpinned" : { - "extractionState" : "manual", - "localizations" : { - "ar" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "be" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "de" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "en" : { - "stringUnit" : { - "state" : "translated", - "value" : "Unpinned" - } - }, - "es" : { - "stringUnit" : { - "state" : "new", - "value" : "No anclado" - } - }, - "fa" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "fi" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "fr" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "id" : { - "stringUnit" : { - "state" : "new", - "value" : "Tak disemat" - } - }, - "it" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "ja" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "ko" : { - "stringUnit" : { - "state" : "new", - "value" : "고정 해제됨" - } - }, - "nb" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "nl" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "or" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "pl" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "pt-BR" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "pt-PT" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "ru" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "tr" : { - "stringUnit" : { - "state" : "new", - "value" : "Sabitleme kaldırıldı" - } - }, - "uk" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "vi" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "zh-Hant" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - } - } - }, "Preferences" : { "extractionState" : "manual", "localizations" : { @@ -99331,6 +99182,155 @@ } } }, + "Unpinned" : { + "extractionState" : "manual", + "localizations" : { + "ar" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "be" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "de" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unpinned" + } + }, + "es" : { + "stringUnit" : { + "state" : "new", + "value" : "No anclado" + } + }, + "fa" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "fi" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "fr" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "id" : { + "stringUnit" : { + "state" : "new", + "value" : "Tak disemat" + } + }, + "it" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "ja" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "ko" : { + "stringUnit" : { + "state" : "new", + "value" : "고정 해제됨" + } + }, + "nb" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "nl" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "or" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "pl" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "pt-BR" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "pt-PT" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "ru" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "tr" : { + "stringUnit" : { + "state" : "new", + "value" : "Sabitleme kaldırıldı" + } + }, + "uk" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "vi" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + } + } + }, "Unpublish" : { "extractionState" : "manual", "localizations" : { From bf9b9c3194c2e3ce7166a82a48a31f0381611f81 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 18 Nov 2025 14:49:01 +0000 Subject: [PATCH 194/228] IOS-5482 Update SpaceHub loading indicator with new design - Update UploadStatusBannerView to match Figma design specs (smaller text, gray color, softer shadow) - Add "Syncing..." status banner when spaces are loading - Refactor to single published property (uploadStatusText) for better performance - Centralize loading state logic in NotificationCoordinatorViewModel - Remove duplicate code and improve view composition efficiency - Files uploading status takes priority over space loading --- .../Views/UploadStatusBannerView.swift | 25 ++++++------- .../Modules/SpaceHub/SpaceHubViewModel.swift | 2 - .../NotificationCoordinatorView.swift | 9 +++-- .../NotificationCoordinatorViewModel.swift | 37 ++++++++++++++++--- .../Loc/Sources/Loc/Generated/Strings.swift | 1 + .../Loc/Sources/Loc/Resources/UI.xcstrings | 11 ++++++ 6 files changed, 61 insertions(+), 24 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/Views/UploadStatusBannerView.swift b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/Views/UploadStatusBannerView.swift index f7c728932c..a3e97bc425 100644 --- a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/Views/UploadStatusBannerView.swift +++ b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/Views/UploadStatusBannerView.swift @@ -2,33 +2,32 @@ import SwiftUI import DesignKit struct UploadStatusBannerView: View { - let count: Int + let text: String var body: some View { - HStack(spacing: 12) { + HStack(spacing: 6) { CircleLoadingView(Color.Control.primary) - .frame(width: 20, height: 20) + .frame(width: 18, height: 18) - Text(Loc.filesUploading(count)) - .font(AnytypeFontBuilder.font(anytypeFont: .uxCalloutMedium)) - .foregroundColor(Color.Text.primary) - .contentTransition(.numericText()) + Text(text) + .font(AnytypeFontBuilder.font(anytypeFont: .caption1Medium)) + .foregroundColor(Color.Text.secondary) } .padding(.horizontal, 16) - .padding(.vertical, 12) + .padding(.vertical, 8) .background( Capsule() - .fill(Color.Background.primary) - .shadow(color: Color.black.opacity(0.15), radius: 8, x: 0, y: 2) + .fill(Color.Background.secondary) + .shadow(color: Color.black.opacity(0.15), radius: 40, x: 0, y: 8) ) } } #Preview { VStack(spacing: 20) { - UploadStatusBannerView(count: 1) - UploadStatusBannerView(count: 5) - UploadStatusBannerView(count: 42) + UploadStatusBannerView(text: "1 file uploading") + UploadStatusBannerView(text: "5 files uploading") + UploadStatusBannerView(text: "Syncing...") } .padding() .background(Color.Background.secondary) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift index dd301b7443..4adc5412c4 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/SpaceHubViewModel.swift @@ -18,7 +18,6 @@ final class SpaceHubViewModel { var notificationsDenied = false var spaceMuteData: SpaceMuteData? - var showLoading = false var profileIcon: Icon? var spaceToDelete: StringIdentifiable? @@ -133,7 +132,6 @@ final class SpaceHubViewModel { private func subscribeOnSpaces() async { for await spaces in await spaceHubSpacesStorage.spacesStream { self.spaces = spaces.sorted(by: sortSpacesForPinnedFeature) - showLoading = spaces.contains { $0.spaceView.isLoading } || FeatureFlags.spaceHubAlwaysShowLoading await updateFilteredSpaces() self.dataLoaded = spaces.isNotEmpty } diff --git a/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorView.swift b/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorView.swift index 0931f31615..559554cc24 100644 --- a/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorView.swift +++ b/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorView.swift @@ -10,14 +10,14 @@ struct NotificationCoordinatorView: View { Color.clear .allowsHitTesting(false) .overlay(alignment: .top) { - if model.uploadingFilesCount > 0 { - UploadStatusBannerView(count: model.uploadingFilesCount) + if let text = model.uploadStatusText { + UploadStatusBannerView(text: text) .padding(.top, 8) .transition(.move(edge: .top).combined(with: .opacity)) .allowsHitTesting(true) } } - .animation(.spring(), value: model.uploadingFilesCount) + .animation(.spring(), value: model.uploadStatusText) .onAppear { model.onAppear() model.setDismissAllPresented(dismissAllPresented: dismissAllPresented) @@ -28,6 +28,9 @@ struct NotificationCoordinatorView: View { .taskWithMemoryScope { await model.startHandleSyncStatus() } + .taskWithMemoryScope { + await model.startHandleSpaceLoading() + } .anytypeSheet(item: $model.spaceRequestAlert) { SpaceRequestAlert(data: $0) { reason in model.onMembershipUpgrateTap(reason: reason) diff --git a/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorViewModel.swift b/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorViewModel.swift index 7c3f6eebbe..f9ef647c87 100644 --- a/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorViewModel.swift @@ -14,13 +14,17 @@ final class NotificationCoordinatorViewModel: ObservableObject { private var objectIconBuilder: any ObjectIconBuilderProtocol @Injected(\.syncStatusStorage) private var syncStatusStorage: any SyncStatusStorageProtocol + @Injected(\.spaceHubSpacesStorage) + private var spaceHubSpacesStorage: any SpaceHubSpacesStorageProtocol private var subscription: AnyCancellable? private var dismissAllPresented: DismissAllPresented? - + private var uploadingFilesCount: Int = 0 + private var showSpaceLoading: Bool = false + @Published var spaceRequestAlert: SpaceRequestAlertData? @Published var membershipUpgradeReason: MembershipUpgradeReason? - @Published var uploadingFilesCount: Int = 0 + @Published var uploadStatusText: String? func onAppear() { Task { @@ -55,13 +59,34 @@ final class NotificationCoordinatorViewModel: ObservableObject { .filter { $0.status == .syncing } // todo: count only files .reduce(0) { $0 + Int($1.syncingObjectsCounter) } - withAnimation { - uploadingFilesCount = count - } + uploadingFilesCount = count + updateUploadStatusText() } } - + + func startHandleSpaceLoading() async { + for await spaces in await spaceHubSpacesStorage.spacesStream { + showSpaceLoading = spaces.contains { $0.spaceView.isLoading } || FeatureFlags.spaceHubAlwaysShowLoading + updateUploadStatusText() + } + } + // MARK: - Private + + private func updateUploadStatusText() { + let newText: String? = if uploadingFilesCount > 0 { + Loc.filesUploading(uploadingFilesCount) + } else if showSpaceLoading { + Loc.syncing + } else { + nil + } + + withAnimation { + uploadStatusText = newText + } + } + private func handle(events: [NotificationEvent]) async { for event in events { switch event { diff --git a/Modules/Loc/Sources/Loc/Generated/Strings.swift b/Modules/Loc/Sources/Loc/Generated/Strings.swift index 9111987481..7b5e41fb78 100644 --- a/Modules/Loc/Sources/Loc/Generated/Strings.swift +++ b/Modules/Loc/Sources/Loc/Generated/Strings.swift @@ -598,6 +598,7 @@ public enum Loc { return Loc.tr("UI", "SuccessfullyDeleted ", String(describing: p1), fallback: "%@ deleted successfully") } public static let synced = Loc.tr("UI", "Synced", fallback: "Synced") + public static let syncing = Loc.tr("UI", "Syncing...", fallback: "Syncing...") public static let systemProperties = Loc.tr("UI", "System Properties", fallback: "System Properties") public static func tag(_ p1: Int) -> String { return Loc.tr("UI", "Tag", p1, fallback: "Plural format key: Tag") diff --git a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings index bc921eeaa4..b90cae0730 100644 --- a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings @@ -89200,6 +89200,17 @@ } } }, + "Syncing..." : { + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Syncing..." + } + } + } + }, "SyncStatus.Error.incompatibleVersion" : { "extractionState" : "manual", "localizations" : { From 157b23b9f0e2f02fe635ee858847c0513ae5e6e6 Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Tue, 18 Nov 2025 20:59:03 +0100 Subject: [PATCH 195/228] Multilingual [skip ci] (#4259) --- .../Loc/Sources/Loc/Resources/UI.xcstrings | 935 +++++++++++++++--- 1 file changed, 796 insertions(+), 139 deletions(-) diff --git a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings index 71461e9648..1df22d793e 100644 --- a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings @@ -4288,7 +4288,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Add a description..." + "value" : "Добавить описание..." } }, "tr" : { @@ -6972,7 +6972,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Unlinked objects that do not have a direct link or backlink with other objects in the graph." + "value" : "Непривязанные объекты, не имеющие прямой связи или обратной связи с другими объектами на графе." } }, "tr" : { @@ -7121,7 +7121,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Only unlinked" + "value" : "Только несвязанные" } }, "tr" : { @@ -7717,7 +7717,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Date created" + "value" : "Дата создания" } }, "tr" : { @@ -9058,7 +9058,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Application" + "value" : "Приложение" } }, "tr" : { @@ -10343,7 +10343,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Attach Object" + "value" : "Прикрепить объект" } }, "tr" : { @@ -10741,25 +10741,25 @@ "few" : { "stringUnit" : { "state" : "new", - "value" : "%lld Attachments" + "value" : "%lld Вложений" } }, "many" : { "stringUnit" : { "state" : "new", - "value" : "%lld Attachments" + "value" : "%lld вложений" } }, "one" : { "stringUnit" : { "state" : "new", - "value" : "Attachment" + "value" : "Вложение" } }, "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Attachments" + "value" : "%lld вложений" } } } @@ -11214,13 +11214,13 @@ "few" : { "stringUnit" : { "state" : "new", - "value" : "%lld Audios" + "value" : "%lld Аудио" } }, "many" : { "stringUnit" : { "state" : "new", - "value" : "%lld Audios" + "value" : "%lld Аудио" } }, "one" : { @@ -11232,7 +11232,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Audios" + "value" : "%lld Аудио" } } } @@ -15738,25 +15738,25 @@ "few" : { "stringUnit" : { "state" : "new", - "value" : "%lld Bookmarks" + "value" : "%lld Закладок" } }, "many" : { "stringUnit" : { "state" : "new", - "value" : "%lld Bookmarks" + "value" : "%lld Закладок" } }, "one" : { "stringUnit" : { "state" : "new", - "value" : "Bookmark" + "value" : "Закладка" } }, "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Bookmarks" + "value" : "%lld Закладки" } } } @@ -17601,7 +17601,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Channel Type" + "value" : "Тип канала" } }, "tr" : { @@ -20434,7 +20434,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Content Model" + "value" : "Модель содержимого" } }, "tr" : { @@ -20732,7 +20732,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Yes, convert" + "value" : "Да, конвертировать" } }, "tr" : { @@ -20881,7 +20881,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Switching between Space and Chat will significantly change the experience." + "value" : "Переключение между Пространством и Чатом существенно изменит ваш опыт работы." } }, "tr" : { @@ -21030,7 +21030,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Convert Channel Type?" + "value" : "Конвертировать тип канала?" } }, "tr" : { @@ -23266,7 +23266,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Create property ‘%@’" + "value" : "Создать свойство ‘%@’" } }, "tr" : { @@ -23564,7 +23564,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Create Space" + "value" : "Создать пространство" } }, "tr" : { @@ -24011,7 +24011,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Customize URL" + "value" : "Настроить URL" } }, "tr" : { @@ -25304,25 +25304,25 @@ "few" : { "stringUnit" : { "state" : "new", - "value" : "%lld Dates" + "value" : "%lld Дат" } }, "many" : { "stringUnit" : { "state" : "new", - "value" : "%lld Dates" + "value" : "%lld Дат" } }, "one" : { "stringUnit" : { "state" : "new", - "value" : "Date" + "value" : "Дата" } }, "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Dates" + "value" : "%lld Даты" } } } @@ -26520,7 +26520,7 @@ "zero" : { "stringUnit" : { "state" : "new", - "value" : "today" + "value" : "сегодня" } } } @@ -27996,7 +27996,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Delete Object Type" + "value" : "Удалить тип объекта" } }, "tr" : { @@ -29878,7 +29878,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Disabled" + "value" : "Отключено" } }, "tr" : { @@ -30027,7 +30027,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Document scan failed" + "value" : "Сбой сканирования документа" } }, "tr" : { @@ -31070,7 +31070,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Edit property" + "value" : "Изменить свойство" } }, "tr" : { @@ -31368,7 +31368,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Edit type" + "value" : "Редактировать тип" } }, "tr" : { @@ -31964,7 +31964,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "%@ embed. This content is not available on mobile" + "value" : "%@ встраиваемый контент не доступен на мобильном устройстве" } }, "tr" : { @@ -32113,7 +32113,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "%@ embed. Opens in external app or browser" + "value" : "%@ встраивается. Открывается во внешнем приложении или браузере" } }, "tr" : { @@ -32262,7 +32262,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "%@ embed is empty" + "value" : "Вставка %@ пуста" } }, "tr" : { @@ -33306,7 +33306,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Publish your first web site to get started." + "value" : "Опубликуйте свой первый веб-сайт, чтобы начать." } }, "tr" : { @@ -33455,7 +33455,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Enabled" + "value" : "Включено" } }, "tr" : { @@ -36735,7 +36735,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Experimental Features" + "value" : "Экспериментальные функции" } }, "tr" : { @@ -36884,7 +36884,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Always pick object type when creating" + "value" : "Всегда выбирать тип объекта при создании" } }, "tr" : { @@ -37033,7 +37033,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "New Object Creation Menu" + "value" : "Меню создания нового объекта" } }, "tr" : { @@ -37480,7 +37480,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Featured properties" + "value" : "уже проданные объекты" } }, "tr" : { @@ -38027,25 +38027,25 @@ "few" : { "stringUnit" : { "state" : "new", - "value" : "%lld Files" + "value" : "%lld файлов" } }, "many" : { "stringUnit" : { "state" : "new", - "value" : "%lld Files" + "value" : "%lld файлов" } }, "one" : { "stringUnit" : { "state" : "new", - "value" : "File" + "value" : "Файл" } }, "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Files" + "value" : "%lld файлов" } } } @@ -38289,6 +38289,123 @@ "Files uploading" : { "extractionState" : "manual", "localizations" : { + "ar" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "few" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + }, + "many" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + }, + "one" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg file" + } + }, + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + }, + "two" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + }, + "zero" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "be" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "few" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + }, + "many" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + }, + "one" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg file" + } + }, + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "de" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg file" + } + }, + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, "en" : { "stringUnit" : { "state" : "translated", @@ -38315,6 +38432,546 @@ } } } + }, + "es" : { + "stringUnit" : { + "state" : "new", + "value" : "Cargando %#@file@" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg archivo" + } + }, + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg archivos" + } + } + } + } + } + } + }, + "fa" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg file" + } + }, + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "fi" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg file" + } + }, + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "fr" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg file" + } + }, + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "id" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "it" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg file" + } + }, + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "ja" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "ko" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "nb" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg file" + } + }, + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "nl" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg file" + } + }, + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "or" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg file" + } + }, + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "pl" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "few" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + }, + "many" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + }, + "one" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg file" + } + }, + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "pt-BR" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg file" + } + }, + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "pt-PT" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg file" + } + }, + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "ru" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "few" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + }, + "many" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + }, + "one" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg file" + } + }, + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "tr" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ yükleniyor" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "one" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg dosya" + } + }, + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg dosya" + } + } + } + } + } + } + }, + "uk" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "few" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + }, + "many" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + }, + "one" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg file" + } + }, + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "vi" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "new", + "value" : "%#@file@ uploading" + }, + "substitutions" : { + "file" : { + "formatSpecifier" : "ld", + "variations" : { + "plural" : { + "other" : { + "stringUnit" : { + "state" : "new", + "value" : "%arg files" + } + } + } + } + } + } } } }, @@ -40167,7 +40824,7 @@ "it" : { "stringUnit" : { "state" : "new", - "value" : "Puoi archiviare fino a %@ dei tuoi file sul nostro nodo di backup crittografato gratuitamente. Se raggiungi il limite, i file verranno archiviati solo in locale." + "value" : "Puoi archiviare i tuoi file sul nostro nodo di backup crittografato. Una volta raggiunto il limite, i file smetteranno di sincronizzarsi e saranno archiviati solo localmente." } }, "ja" : { @@ -40370,7 +41027,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Remote storage is not available in local-only mode. Your files are stored locally on your device." + "value" : "Удаленное хранилище недоступно в локальном режиме. Ваши файлы хранятся локально на вашем устройстве." } }, "tr" : { @@ -43352,7 +44009,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "I got it!" + "value" : "Я понял!" } }, "tr" : { @@ -44639,7 +45296,7 @@ "it" : { "stringUnit" : { "state" : "new", - "value" : "Hide Description" + "value" : "Nascondi Descrizione" } }, "ja" : { @@ -44693,7 +45350,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Hide Description" + "value" : "Скрыть описание" } }, "tr" : { @@ -45987,25 +46644,25 @@ "few" : { "stringUnit" : { "state" : "new", - "value" : "%lld Images" + "value" : "%lld Изображений" } }, "many" : { "stringUnit" : { "state" : "new", - "value" : "%lld Images" + "value" : "%lld Изображений" } }, "one" : { "stringUnit" : { "state" : "new", - "value" : "Image" + "value" : "Изображение" } }, "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Images" + "value" : "%lld Изображения" } } } @@ -46211,7 +46868,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Image from Photo Library" + "value" : "Изображение из Фотогалереи" } }, "tr" : { @@ -48391,7 +49048,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Keychain" + "value" : "Связка ключей" } }, "tr" : { @@ -49136,7 +49793,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Let's try it" + "value" : "Давайте попробуем!" } }, "tr" : { @@ -51498,25 +52155,25 @@ "few" : { "stringUnit" : { "state" : "new", - "value" : "%lld Lists" + "value" : "%lld Списков" } }, "many" : { "stringUnit" : { "state" : "new", - "value" : "%lld Lists" + "value" : "%lld Списков" } }, "one" : { "stringUnit" : { "state" : "new", - "value" : "List" + "value" : "Список" } }, "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Lists" + "value" : "%lld Списки" } } } @@ -52264,7 +52921,7 @@ "it" : { "stringUnit" : { "state" : "new", - "value" : "Locked" + "value" : "Bloccato" } }, "ja" : { @@ -52318,7 +52975,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Locked" + "value" : "Заблокировано" } }, "tr" : { @@ -55327,7 +55984,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Mute" + "value" : "Заглушить" } }, "tr" : { @@ -55422,7 +56079,7 @@ "it" : { "stringUnit" : { "state" : "new", - "value" : "I miei Spazi" + "value" : "I miei Canali" } }, "ja" : { @@ -55923,7 +56580,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "My Sites" + "value" : "Мои сайты" } }, "tr" : { @@ -57711,7 +58368,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "No matches found.\nTry a different keyword or check your spelling." + "value" : "Совпадения не найдены.\nПопробуйте другое ключевое слово или проверьте правильность написания." } }, "tr" : { @@ -57860,7 +58517,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "No properties yet. Add some to this type." + "value" : "Свойств пока нет. Добавьте некоторые к этому типу." } }, "tr" : { @@ -59301,25 +59958,25 @@ "few" : { "stringUnit" : { "state" : "new", - "value" : "%lld Objects" + "value" : "%lld Объектов" } }, "many" : { "stringUnit" : { "state" : "new", - "value" : "%lld Objects" + "value" : "%lld Объектов" } }, "one" : { "stringUnit" : { "state" : "new", - "value" : "Object" + "value" : "Объект" } }, "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Objects" + "value" : "%lld Объекты" } } } @@ -60463,25 +61120,25 @@ "few" : { "stringUnit" : { "state" : "new", - "value" : "%lld Object types" + "value" : "%lld Типов объекта" } }, "many" : { "stringUnit" : { "state" : "new", - "value" : "%lld Object types" + "value" : "%lld Типов объекта" } }, "one" : { "stringUnit" : { "state" : "new", - "value" : "Object type" + "value" : "Тип объекта" } }, "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Object types" + "value" : "%lld Типы объекта" } } } @@ -60985,7 +61642,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Are you sure you want to delete this Type? All existing objects of this type will be preserved, but will no longer be associated with it." + "value" : "Вы уверены, что хотите удалить этот тип? Все существующие объекты этого типа будут сохранены, но больше не будут связаны с ним." } }, "tr" : { @@ -61134,7 +61791,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Delete Object Type?" + "value" : "Удалить тип объекта?" } }, "tr" : { @@ -61581,7 +62238,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "On analytics" + "value" : "По аналитике" } }, "tr" : { @@ -62773,7 +63430,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Open web page" + "value" : "Открыть страницу" } }, "tr" : { @@ -62922,7 +63579,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Open Settings" + "value" : "Открыть настройки" } }, "tr" : { @@ -63220,7 +63877,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Other properties" + "value" : "Другие свойства" } }, "tr" : { @@ -64512,13 +65169,13 @@ "few" : { "stringUnit" : { "state" : "new", - "value" : "%lld PDFs" + "value" : "%lld PDF" } }, "many" : { "stringUnit" : { "state" : "new", - "value" : "%lld PDFs" + "value" : "%lld PDF" } }, "one" : { @@ -64530,7 +65187,7 @@ "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld PDFs" + "value" : "%lld PDF" } } } @@ -68089,7 +68746,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Photo" + "value" : "Фото" } }, "tr" : { @@ -68685,7 +69342,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "You've reached the limit of %d pinned spaces." + "value" : "Вы достигли лимита общих пространств %d." } }, "tr" : { @@ -69376,7 +70033,7 @@ "it" : { "stringUnit" : { "state" : "new", - "value" : "Unpinned" + "value" : "Non fissato" } }, "ja" : { @@ -69430,7 +70087,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Unpinned" + "value" : "Откреплена" } }, "tr" : { @@ -70474,7 +71131,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Publish" + "value" : "Опубликовать" } }, "tr" : { @@ -70623,7 +71280,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Publish to Web" + "value" : "Опубликовать в веб" } }, "tr" : { @@ -71070,7 +71727,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Puzzle" + "value" : "Задача" } }, "tr" : { @@ -71219,7 +71876,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Puzzles" + "value" : "Задачи" } }, "tr" : { @@ -73259,25 +73916,25 @@ "few" : { "stringUnit" : { "state" : "new", - "value" : "%lld Relations" + "value" : "%lld Связей" } }, "many" : { "stringUnit" : { "state" : "new", - "value" : "%lld Relations" + "value" : "%lld Связей" } }, "one" : { "stringUnit" : { "state" : "new", - "value" : "Relation" + "value" : "Связь" } }, "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Relations" + "value" : "%lld Связи" } } } @@ -75572,7 +76229,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Scan documents" + "value" : "Сканировать документы" } }, "tr" : { @@ -76914,7 +77571,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "You phone doesn’t have a passcode or biometric authorization. It might make it easier to steal your data. Enable it in your app settings to secure your data." + "value" : "У вас нет пароля или биометрической авторизации. Это может облегчить кражу ваших данных. Включите его в настройках приложения, чтобы защитить ваши данные." } }, "tr" : { @@ -77063,7 +77720,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Proceed anyway" + "value" : "Все равно продолжить" } }, "tr" : { @@ -77212,7 +77869,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Secure your phone" + "value" : "Защитите ваш телефон" } }, "tr" : { @@ -77361,7 +78018,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "See all" + "value" : "Просмотреть все" } }, "tr" : { @@ -78106,7 +78763,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Select Objects" + "value" : "Выбор объектов" } }, "tr" : { @@ -79473,7 +80130,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Send" + "value" : "Отправить" } }, "tr" : { @@ -81114,7 +81771,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Set access" + "value" : "Установить доступ" } }, "tr" : { @@ -81412,7 +82069,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Query of %@" + "value" : "Запрос %@" } }, "tr" : { @@ -81561,7 +82218,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Queries" + "value" : "Запросы" } }, "tr" : { @@ -81859,7 +82516,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Auto Create Type Widgets" + "value" : "Автоматически создавать виджеты типа" } }, "tr" : { @@ -84340,7 +84997,7 @@ "it" : { "stringUnit" : { "state" : "new", - "value" : "Show Description" + "value" : "Mostra Descrizione" } }, "ja" : { @@ -84394,7 +85051,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Show Description" + "value" : "Показывать описание" } }, "tr" : { @@ -88717,7 +89374,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "%@ deleted successfully" + "value" : "%@ успешно удален" } }, "tr" : { @@ -91352,25 +92009,25 @@ "few" : { "stringUnit" : { "state" : "new", - "value" : "%lld Tags" + "value" : "%lld Тэгов" } }, "many" : { "stringUnit" : { "state" : "new", - "value" : "%lld Tags" + "value" : "%lld Тэгов" } }, "one" : { "stringUnit" : { "state" : "new", - "value" : "Tag" + "value" : "%lld Тэг" } }, "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Tags" + "value" : "%lld тэгов" } } } @@ -92918,7 +93575,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Text Style" + "value" : "Стиль текста" } }, "tr" : { @@ -95452,7 +96109,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "There are no spaces yet" + "value" : "Ещё нет пространств" } }, "tr" : { @@ -96049,7 +96706,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "There is no property named %@" + "value" : "Нет свойства с именем %@" } }, "tr" : { @@ -97539,7 +98196,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Type Name" + "value" : "Имя типа" } }, "tr" : { @@ -98976,7 +99633,7 @@ "it" : { "stringUnit" : { "state" : "new", - "value" : "Unlocked" + "value" : "Sbloccato" } }, "ja" : { @@ -99030,7 +99687,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Unlocked" + "value" : "Разблокировано" } }, "tr" : { @@ -99179,7 +99836,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Unmute" + "value" : "Включить звук" } }, "tr" : { @@ -99477,7 +100134,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Unpublish" + "value" : "Отменить публикацию" } }, "tr" : { @@ -99626,7 +100283,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Unread" + "value" : "Непрочитанные" } }, "tr" : { @@ -99924,7 +100581,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Unset as default" + "value" : "Убрать по умолчанию" } }, "tr" : { @@ -100073,7 +100730,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Unset default" + "value" : "Изменить заданное по умолчанию значение" } }, "tr" : { @@ -103005,25 +103662,25 @@ "few" : { "stringUnit" : { "state" : "new", - "value" : "%lld Videos" + "value" : "%lld Видео" } }, "many" : { "stringUnit" : { "state" : "new", - "value" : "%lld Videos" + "value" : "%lld Видео" } }, "one" : { "stringUnit" : { "state" : "new", - "value" : "Video" + "value" : "Видео" } }, "other" : { "stringUnit" : { "state" : "new", - "value" : "%lld Videos" + "value" : "%lld Видео" } } } @@ -103378,7 +104035,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "View in Browser" + "value" : "Открыть в браузере" } }, "tr" : { @@ -105096,7 +105753,7 @@ "zero" : { "stringUnit" : { "state" : "new", - "value" : "Bin already empty" + "value" : "Корзина уже пуста" } } } @@ -106226,7 +106883,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Widget %@ was added" + "value" : "Виджет %@ добавлен" } }, "tr" : { @@ -109206,7 +109863,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "We’ve redesigned how widgets work, and this widget is no longer supported. Once deleted, this widget cannot be restored." + "value" : "Мы изменили способ работы виджетов и этот виджет больше не поддерживается. После удаления этот виджет не может быть восстановлен." } }, "tr" : { @@ -109355,7 +110012,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "This Widget Cannot Be Restored" + "value" : "Этот виджет не может быть восстановлен" } }, "tr" : { @@ -109951,7 +110608,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "You joined %@" + "value" : "Вы присоединились к %@" } }, "tr" : { From bb9cebf1ab6669bb3ea9a8d444fb2b4e5c16bee3 Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Wed, 19 Nov 2025 04:52:42 +0100 Subject: [PATCH 196/228] Automation: Update middleware to v0.44.0-nightly.20251119.1 (#4260) Co-authored-by: William Blake --- Libraryfile | 2 +- .../Protocol/Events/Anytype_Event.Space.SyncStatus.swift | 9 ++++++++- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/Libraryfile b/Libraryfile index 1d1eb32425..3298c646ef 100644 --- a/Libraryfile +++ b/Libraryfile @@ -1 +1 @@ -MIDDLE_VERSION=v0.44.0-nightly.20251115.1 +MIDDLE_VERSION=v0.44.0-nightly.20251119.1 diff --git a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncStatus.swift b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncStatus.swift index 8bb740141d..cad8a143a5 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncStatus.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Events/Anytype_Event.Space.SyncStatus.swift @@ -35,6 +35,8 @@ extension Anytype_Event.Space { public var notSyncedFilesCounter: Int64 = 0 + public var uploadingFilesCounter: Int64 = 0 + public var unknownFields = SwiftProtobuf.UnknownStorage() public init() {} @@ -65,7 +67,7 @@ extension Anytype_Event.Space.SyncStatus: SwiftProtobuf.Message, SwiftProtobuf._ extension Anytype_Event.Space.SyncStatus.Update: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Event.Space.SyncStatus.protoMessageName + ".Update" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}status\0\u{1}network\0\u{1}error\0\u{1}syncingObjectsCounter\0\u{1}notSyncedFilesCounter\0") + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}id\0\u{1}status\0\u{1}network\0\u{1}error\0\u{1}syncingObjectsCounter\0\u{1}notSyncedFilesCounter\0\u{1}uploadingFilesCounter\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -79,6 +81,7 @@ extension Anytype_Event.Space.SyncStatus.Update: SwiftProtobuf.Message, SwiftPro case 4: try { try decoder.decodeSingularEnumField(value: &self.error) }() case 5: try { try decoder.decodeSingularInt64Field(value: &self.syncingObjectsCounter) }() case 6: try { try decoder.decodeSingularInt64Field(value: &self.notSyncedFilesCounter) }() + case 7: try { try decoder.decodeSingularInt64Field(value: &self.uploadingFilesCounter) }() default: break } } @@ -103,6 +106,9 @@ extension Anytype_Event.Space.SyncStatus.Update: SwiftProtobuf.Message, SwiftPro if self.notSyncedFilesCounter != 0 { try visitor.visitSingularInt64Field(value: self.notSyncedFilesCounter, fieldNumber: 6) } + if self.uploadingFilesCounter != 0 { + try visitor.visitSingularInt64Field(value: self.uploadingFilesCounter, fieldNumber: 7) + } try unknownFields.traverse(visitor: &visitor) } @@ -113,6 +119,7 @@ extension Anytype_Event.Space.SyncStatus.Update: SwiftProtobuf.Message, SwiftPro if lhs.error != rhs.error {return false} if lhs.syncingObjectsCounter != rhs.syncingObjectsCounter {return false} if lhs.notSyncedFilesCounter != rhs.notSyncedFilesCounter {return false} + if lhs.uploadingFilesCounter != rhs.uploadingFilesCounter {return false} if lhs.unknownFields != rhs.unknownFields {return false} return true } From 04937854310acca22b079ddc5bd5da522b3b9dc5 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 19 Nov 2025 10:22:24 +0000 Subject: [PATCH 197/228] IOS-5482 My Channels -> Channels --- .../Loc/Sources/Loc/Generated/Strings.swift | 1 - .../Loc/Sources/Loc/Resources/UI.xcstrings | 300 +++++++++--------- 2 files changed, 150 insertions(+), 151 deletions(-) diff --git a/Modules/Loc/Sources/Loc/Generated/Strings.swift b/Modules/Loc/Sources/Loc/Generated/Strings.swift index 7b5e41fb78..9111987481 100644 --- a/Modules/Loc/Sources/Loc/Generated/Strings.swift +++ b/Modules/Loc/Sources/Loc/Generated/Strings.swift @@ -598,7 +598,6 @@ public enum Loc { return Loc.tr("UI", "SuccessfullyDeleted ", String(describing: p1), fallback: "%@ deleted successfully") } public static let synced = Loc.tr("UI", "Synced", fallback: "Synced") - public static let syncing = Loc.tr("UI", "Syncing...", fallback: "Syncing...") public static let systemProperties = Loc.tr("UI", "System Properties", fallback: "System Properties") public static func tag(_ p1: Int) -> String { return Loc.tr("UI", "Tag", p1, fallback: "Plural format key: Tag") diff --git a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings index 1df22d793e..ee2c74116a 100644 --- a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings @@ -56043,7 +56043,7 @@ "en" : { "stringUnit" : { "state" : "translated", - "value" : "My Channels" + "value" : "Channels" } }, "es" : { @@ -69973,155 +69973,6 @@ } } }, - "Unpinned" : { - "extractionState" : "manual", - "localizations" : { - "ar" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "be" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "de" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "en" : { - "stringUnit" : { - "state" : "translated", - "value" : "Unpinned" - } - }, - "es" : { - "stringUnit" : { - "state" : "new", - "value" : "No anclado" - } - }, - "fa" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "fi" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "fr" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "id" : { - "stringUnit" : { - "state" : "new", - "value" : "Tak disemat" - } - }, - "it" : { - "stringUnit" : { - "state" : "new", - "value" : "Non fissato" - } - }, - "ja" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "ko" : { - "stringUnit" : { - "state" : "new", - "value" : "고정 해제됨" - } - }, - "nb" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "nl" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "or" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "pl" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "pt-BR" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "pt-PT" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "ru" : { - "stringUnit" : { - "state" : "new", - "value" : "Откреплена" - } - }, - "tr" : { - "stringUnit" : { - "state" : "new", - "value" : "Sabitleme kaldırıldı" - } - }, - "uk" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "vi" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "zh-Hans" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - }, - "zh-Hant" : { - "stringUnit" : { - "state" : "new", - "value" : "Unpinned" - } - } - } - }, "Preferences" : { "extractionState" : "manual", "localizations" : { @@ -100020,6 +99871,155 @@ } } }, + "Unpinned" : { + "extractionState" : "manual", + "localizations" : { + "ar" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "be" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "de" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Unpinned" + } + }, + "es" : { + "stringUnit" : { + "state" : "new", + "value" : "No anclado" + } + }, + "fa" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "fi" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "fr" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "id" : { + "stringUnit" : { + "state" : "new", + "value" : "Tak disemat" + } + }, + "it" : { + "stringUnit" : { + "state" : "new", + "value" : "Non fissato" + } + }, + "ja" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "ko" : { + "stringUnit" : { + "state" : "new", + "value" : "고정 해제됨" + } + }, + "nb" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "nl" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "or" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "pl" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "pt-BR" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "pt-PT" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "ru" : { + "stringUnit" : { + "state" : "new", + "value" : "Откреплена" + } + }, + "tr" : { + "stringUnit" : { + "state" : "new", + "value" : "Sabitleme kaldırıldı" + } + }, + "uk" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "vi" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "new", + "value" : "Unpinned" + } + } + } + }, "Unpublish" : { "extractionState" : "manual", "localizations" : { From 1a0840605860ceb1eb321125ca36c26c736922c3 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 19 Nov 2025 10:29:30 +0000 Subject: [PATCH 198/228] IOS-5482 Add Syncing localization string --- Modules/Loc/Sources/Loc/Generated/Strings.swift | 1 + Modules/Loc/Sources/Loc/Resources/UI.xcstrings | 11 +++++++++++ 2 files changed, 12 insertions(+) diff --git a/Modules/Loc/Sources/Loc/Generated/Strings.swift b/Modules/Loc/Sources/Loc/Generated/Strings.swift index 9111987481..7b5e41fb78 100644 --- a/Modules/Loc/Sources/Loc/Generated/Strings.swift +++ b/Modules/Loc/Sources/Loc/Generated/Strings.swift @@ -598,6 +598,7 @@ public enum Loc { return Loc.tr("UI", "SuccessfullyDeleted ", String(describing: p1), fallback: "%@ deleted successfully") } public static let synced = Loc.tr("UI", "Synced", fallback: "Synced") + public static let syncing = Loc.tr("UI", "Syncing...", fallback: "Syncing...") public static let systemProperties = Loc.tr("UI", "System Properties", fallback: "System Properties") public static func tag(_ p1: Int) -> String { return Loc.tr("UI", "Tag", p1, fallback: "Plural format key: Tag") diff --git a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings index ee2c74116a..a473ecb66d 100644 --- a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings @@ -89857,6 +89857,17 @@ } } }, + "Syncing..." : { + "extractionState" : "manual", + "localizations" : { + "en" : { + "stringUnit" : { + "state" : "translated", + "value" : "Syncing..." + } + } + } + }, "SyncStatus.Error.incompatibleVersion" : { "extractionState" : "manual", "localizations" : { From 8b89c4bd9c0498a1d2760f7de97da941c3b67587 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 19 Nov 2025 10:37:03 +0000 Subject: [PATCH 199/228] IOS-5054 Use file counter for files uploading status --- .../Notifications/NotificationCoordinatorViewModel.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorViewModel.swift b/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorViewModel.swift index f9ef647c87..60d66a0702 100644 --- a/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorViewModel.swift @@ -56,8 +56,8 @@ final class NotificationCoordinatorViewModel: ObservableObject { guard FeatureFlags.showUploadStatusIndicator else { continue } let count = statuses - .filter { $0.status == .syncing } // todo: count only files - .reduce(0) { $0 + Int($1.syncingObjectsCounter) } + .filter { $0.status == .syncing } + .reduce(0) { $0 + Int($1.uploadingFilesCounter) } uploadingFilesCount = count updateUploadStatusText() From 151dd6451262918ed5e8b64d92911dc484f000d2 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 19 Nov 2025 10:50:06 +0000 Subject: [PATCH 200/228] IOS-5429 Make compound button divider color state-dependent in SetView --- .../TextEditor/Set/Views/Header/SetHeaderSettingsView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsView.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsView.swift index cbba66a56a..60fef92d22 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsView.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsView.swift @@ -52,7 +52,7 @@ struct SetHeaderSettingsView: View { Rectangle() .fill(Color.clear) .frame(width: 1, height: 28) - .background(Color.Control.accent80) + .background(model.isActiveCreateButton ? Color.Control.accent80 : Color.Control.transparentSecondary) StandardButton(.image(.X18.listArrow), style: .primaryXSmall, corners: [.topRight, .bottomRight]) { UISelectionFeedbackGenerator().selectionChanged() model.onSecondaryCreateTap() From 0c5849805cd5ea1581544cbaf0e72e020e46b1e6 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 19 Nov 2025 11:51:32 +0000 Subject: [PATCH 201/228] IOS-5054 Add debug indicator for hanged objects with timer --- .../Notifications/HangedObjectsMonitor.swift | 60 +++++++++++++++++++ .../NotificationCoordinatorViewModel.swift | 18 +++++- .../Generated/FeatureFlags+Flags.swift | 7 ++- .../FeatureDescription+Flags.swift | 7 +++ 4 files changed, 89 insertions(+), 3 deletions(-) create mode 100644 Anytype/Sources/PresentationLayer/Notifications/HangedObjectsMonitor.swift diff --git a/Anytype/Sources/PresentationLayer/Notifications/HangedObjectsMonitor.swift b/Anytype/Sources/PresentationLayer/Notifications/HangedObjectsMonitor.swift new file mode 100644 index 0000000000..b01b60654d --- /dev/null +++ b/Anytype/Sources/PresentationLayer/Notifications/HangedObjectsMonitor.swift @@ -0,0 +1,60 @@ +import Foundation + +@MainActor +final class HangedObjectsMonitor { + + private(set) var objectsCount: Int = 0 + private var startTime: Date? + private var timer: Task? + private var shouldShowState: Bool = false + + var onStateChanged: (() -> Void)? + + func update(count: Int) { + objectsCount = count + + if count > 0 { + if startTime == nil { + startTime = Date() + startTimer() + } + } else { + reset() + } + } + + func reset() { + startTime = nil + timer?.cancel() + timer = nil + if shouldShowState { + shouldShowState = false + onStateChanged?() + } + } + + func shouldShow() -> Bool { + shouldShowState + } + + private func startTimer() { + timer?.cancel() + timer = Task { [weak self] in + while !Task.isCancelled { + guard let self, let startTime = self.startTime else { + return + } + + let elapsed = Date().timeIntervalSince(startTime) + let shouldShow = elapsed > 60 + + if self.shouldShowState != shouldShow { + self.shouldShowState = shouldShow + self.onStateChanged?() + } + + try? await Task.sleep(nanoseconds: 1_000_000_000) + } + } + } +} diff --git a/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorViewModel.swift b/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorViewModel.swift index 60d66a0702..9d12e95fd8 100644 --- a/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Notifications/NotificationCoordinatorViewModel.swift @@ -21,12 +21,17 @@ final class NotificationCoordinatorViewModel: ObservableObject { private var dismissAllPresented: DismissAllPresented? private var uploadingFilesCount: Int = 0 private var showSpaceLoading: Bool = false + private let hangedObjectsMonitor = HangedObjectsMonitor() @Published var spaceRequestAlert: SpaceRequestAlertData? @Published var membershipUpgradeReason: MembershipUpgradeReason? @Published var uploadStatusText: String? func onAppear() { + hangedObjectsMonitor.onStateChanged = { [weak self] in + self?.updateUploadStatusText() + } + Task { if subscription.isNotNil { anytypeAssertionFailure("Try start subscription again") @@ -41,6 +46,7 @@ final class NotificationCoordinatorViewModel: ObservableObject { func onDisappear() { subscription?.cancel() subscription = nil + hangedObjectsMonitor.reset() } func setDismissAllPresented(dismissAllPresented: DismissAllPresented) { @@ -55,11 +61,17 @@ final class NotificationCoordinatorViewModel: ObservableObject { for await statuses in syncStatusStorage.allSpacesStatusPublisher().values { guard FeatureFlags.showUploadStatusIndicator else { continue } - let count = statuses + uploadingFilesCount = statuses .filter { $0.status == .syncing } .reduce(0) { $0 + Int($1.uploadingFilesCounter) } - uploadingFilesCount = count + if FeatureFlags.showHangedObjects { + let syncingCount = statuses + .filter { $0.status == .syncing } + .reduce(0) { $0 + Int($1.syncingObjectsCounter) } + hangedObjectsMonitor.update(count: syncingCount) + } + updateUploadStatusText() } } @@ -78,6 +90,8 @@ final class NotificationCoordinatorViewModel: ObservableObject { Loc.filesUploading(uploadingFilesCount) } else if showSpaceLoading { Loc.syncing + } else if hangedObjectsMonitor.shouldShow() { + Loc.itemsSyncing(hangedObjectsMonitor.objectsCount) } else { nil } diff --git a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift index f0074a8202..b8673f99e1 100644 --- a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift @@ -102,6 +102,10 @@ public extension FeatureFlags { value(for: .spaceHubAlwaysShowLoading) } + static var showHangedObjects: Bool { + value(for: .showHangedObjects) + } + // All toggles static let features: [FeatureDescription] = [ .showAllButtonInWidgets, @@ -127,6 +131,7 @@ public extension FeatureFlags { .logMiddlewareRequests, .showPushMessagesInForeground, .skipOnboardingEmailCollection, - .spaceHubAlwaysShowLoading + .spaceHubAlwaysShowLoading, + .showHangedObjects ] } diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index 6b82b16365..a9cb1c7600 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -170,4 +170,11 @@ public extension FeatureDescription { type: .debug, defaultValue: false ) + + static let showHangedObjects = FeatureDescription( + title: "Show hanged objects", + type: .debug, + defaultValue: false, + debugValue: true + ) } From 47109366ee3e25a6d50c004a511933fc63715709 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 19 Nov 2025 12:08:28 +0000 Subject: [PATCH 202/228] IOS-5428 Remove HomeWidgetRoute and simplify analytics tracking --- .../Sources/Analytics/AnalyticsConstants.swift | 6 ------ .../AnytypeAnalytics+Events.swift | 10 ++++------ .../HomeWidgetsCoordinatorView.swift | 11 ++++------- .../SpaceHub/SpaceHubCoordinatorViewModel.swift | 10 +++++----- .../SpaceHub/Support/SpaceHubPathManager.swift | 2 +- .../HomeWidgets/Container/HomeWidgetsView.swift | 7 +++---- .../Container/HomeWidgetsViewModel.swift | 15 ++++++--------- 7 files changed, 23 insertions(+), 38 deletions(-) diff --git a/Anytype/Sources/Analytics/AnalyticsConstants.swift b/Anytype/Sources/Analytics/AnalyticsConstants.swift index 53063fc22b..7dc0a02950 100644 --- a/Anytype/Sources/Analytics/AnalyticsConstants.swift +++ b/Anytype/Sources/Analytics/AnalyticsConstants.swift @@ -171,12 +171,6 @@ enum AnalyticsWidgetContext: String, Hashable { case auto = "Auto" } -enum HomeWidgetRoute: String, Hashable, Codable { - case home = "Home" - case space = "Space" - case appLaunch = "AppLaunch" -} - enum RemoveCompletelyRoute: String { case bin = "Bin" case settings = "Settings" diff --git a/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift b/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift index ea299c0480..e498e906f1 100644 --- a/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift +++ b/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift @@ -1303,13 +1303,11 @@ extension AnytypeAnalytics { func logHistoryBack() { logEvent("HistoryBack") } - - func logScreenWidget(route: HomeWidgetRoute?) { - logEvent("ScreenWidget", withEventProperties: [ - AnalyticsEventsPropertiesKey.route: route?.rawValue - ].compactMapValues { $0 }) + + func logScreenWidget() { + logEvent("ScreenWidget") } - + func logScreenBin() { logEvent("ScreenBin") } diff --git a/Anytype/Sources/PresentationLayer/Flows/HomeWidgetsCoordinator/HomeWidgetsCoordinatorView.swift b/Anytype/Sources/PresentationLayer/Flows/HomeWidgetsCoordinator/HomeWidgetsCoordinatorView.swift index 3acfcf0524..30d14a3c6f 100644 --- a/Anytype/Sources/PresentationLayer/Flows/HomeWidgetsCoordinator/HomeWidgetsCoordinatorView.swift +++ b/Anytype/Sources/PresentationLayer/Flows/HomeWidgetsCoordinator/HomeWidgetsCoordinatorView.swift @@ -4,7 +4,6 @@ import Services struct HomeWidgetData: Hashable { let spaceId: String - let route: HomeWidgetRoute? } struct HomeWidgetsCoordinatorView: View { @@ -12,7 +11,7 @@ struct HomeWidgetsCoordinatorView: View { var body: some View { SpaceLoadingContainerView(spaceId: data.spaceId, showBackground: true) { - HomeWidgetsCoordinatorInternalView(info: $0, route: data.route) + HomeWidgetsCoordinatorInternalView(info: $0) } } } @@ -21,15 +20,13 @@ private struct HomeWidgetsCoordinatorInternalView: View { @State private var model: HomeWidgetsCoordinatorViewModel @Environment(\.pageNavigation) private var pageNavigation - let route: HomeWidgetRoute? - init(info: AccountInfo, route: HomeWidgetRoute?) { + init(info: AccountInfo) { self._model = State(wrappedValue: HomeWidgetsCoordinatorViewModel(info: info)) - self.route = route } - + var body: some View { - HomeWidgetsView(info: model.spaceInfo, output: model, route: route) + HomeWidgetsView(info: model.spaceInfo, output: model) .onAppear { model.pageNavigation = pageNavigation } diff --git a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorViewModel.swift b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorViewModel.swift index 847471e0bd..7befe37565 100644 --- a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/SpaceHubCoordinatorViewModel.swift @@ -61,7 +61,7 @@ final class SpaceHubCoordinatorViewModel: SpaceHubModuleOutput { self?.showScreenSync(data: data) }, pushHome: { [weak self] in guard let self, let currentSpaceId else { return } - navigationPath.push(HomeWidgetData(spaceId: currentSpaceId, route: .home)) + navigationPath.push(HomeWidgetData(spaceId: currentSpaceId)) }, pop: { [weak self] in self?.navigationPath.pop() }, popToFirstInSpace: { [weak self] in @@ -168,7 +168,7 @@ final class SpaceHubCoordinatorViewModel: SpaceHubModuleOutput { case .editor(let editorData): try? await showScreen(data: .editor(editorData)) case .widgets(let spaceId): - try? await showScreen(data: .widget(HomeWidgetData(spaceId: spaceId, route: .appLaunch))) + try? await showScreen(data: .widget(HomeWidgetData(spaceId: spaceId))) case .chat(let data): try? await showScreen(data: .chat(data)) case .spaceChat(let data): @@ -311,7 +311,7 @@ final class SpaceHubCoordinatorViewModel: SpaceHubModuleOutput { let chatData = SpaceChatCoordinatorData(spaceId: spaceView.targetSpaceId) try await showScreen(data: .spaceChat(chatData)) } else { - let widgetData = HomeWidgetData(spaceId: spaceView.targetSpaceId, route: .space) + let widgetData = HomeWidgetData(spaceId: spaceView.targetSpaceId) try await showScreen(data: .widget(widgetData)) } } @@ -360,7 +360,7 @@ final class SpaceHubCoordinatorViewModel: SpaceHubModuleOutput { case .spaceChat(let data): currentPath.openOnce(data) case .widget(let data): - let data = HomeWidgetData(spaceId: data.spaceId, route: nil) + let data = HomeWidgetData(spaceId: data.spaceId) currentPath.openOnce(data) } @@ -436,7 +436,7 @@ final class SpaceHubCoordinatorViewModel: SpaceHubModuleOutput { if spaceView.initialScreenIsChat { SpaceChatCoordinatorData(spaceId: spaceView.targetSpaceId) } else { - HomeWidgetData(spaceId: spaceView.targetSpaceId, route: nil) + HomeWidgetData(spaceId: spaceView.targetSpaceId) } } } diff --git a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/Support/SpaceHubPathManager.swift b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/Support/SpaceHubPathManager.swift index e0afa1e700..22f9250678 100644 --- a/Anytype/Sources/PresentationLayer/Flows/SpaceHub/Support/SpaceHubPathManager.swift +++ b/Anytype/Sources/PresentationLayer/Flows/SpaceHub/Support/SpaceHubPathManager.swift @@ -20,7 +20,7 @@ final class SpaceHubPathUXTypeHelper: SpaceHubPathUXTypeHelperProtocol { case .data: // Expected: SpaceHubNavigationItem, HomeWidgetData let chatItem = SpaceChatCoordinatorData(spaceId: spaceView.targetSpaceId) - let homeItem = HomeWidgetData(spaceId: spaceView.targetSpaceId, route: nil) + let homeItem = HomeWidgetData(spaceId: spaceView.targetSpaceId) path.remove(chatItem) path.remove(homeItem) path.insert(homeItem, at: 1) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsView.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsView.swift index 6d94fc57ae..fdc4f865e1 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsView.swift @@ -6,10 +6,9 @@ import AnytypeCore struct HomeWidgetsView: View { let info: AccountInfo let output: (any HomeWidgetsModuleOutput)? - let route: HomeWidgetRoute? var body: some View { - HomeWidgetsInternalView(info: info, output: output, route: route) + HomeWidgetsInternalView(info: info, output: output) .id(info.hashValue) } } @@ -19,8 +18,8 @@ private struct HomeWidgetsInternalView: View { @State var widgetsDndState = DragState() @State var typesDndState = DragState() - init(info: AccountInfo, output: (any HomeWidgetsModuleOutput)?, route: HomeWidgetRoute?) { - self._model = State(wrappedValue: HomeWidgetsViewModel(info: info, output: output, route: route)) + init(info: AccountInfo, output: (any HomeWidgetsModuleOutput)?) { + self._model = State(wrappedValue: HomeWidgetsViewModel(info: info, output: output)) } var body: some View { diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift index baa1115265..3973ca024c 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Container/HomeWidgetsViewModel.swift @@ -17,8 +17,7 @@ final class HomeWidgetsViewModel { let info: AccountInfo let widgetObject: any BaseDocumentProtocol - let route: HomeWidgetRoute? - + @Injected(\.blockWidgetService) @ObservationIgnored private var blockWidgetService: any BlockWidgetServiceProtocol @Injected(\.objectActionsService) @ObservationIgnored @@ -54,15 +53,13 @@ final class HomeWidgetsViewModel { var canCreateObjectType: Bool = false var spaceId: String { info.accountSpaceId } - + init( info: AccountInfo, - output: (any HomeWidgetsModuleOutput)?, - route: HomeWidgetRoute? + output: (any HomeWidgetsModuleOutput)? ) { self.info = info self.output = output - self.route = route self.widgetObject = documentService.document(objectId: info.widgetsId, spaceId: info.accountSpaceId) self.pinnedSectionIsExpanded = expandedService.isExpanded(id: Constants.pinnedSectionId, defaultValue: true) self.objectTypeSectionIsExpanded = expandedService.isExpanded(id: Constants.objectTypeSectionId, defaultValue: true) @@ -75,11 +72,11 @@ final class HomeWidgetsViewModel { _ = await (widgetObjectSub, participantTask, objectTypesTask) } - + func onAppear() { - AnytypeAnalytics.instance().logScreenWidget(route: route) + AnytypeAnalytics.instance().logScreenWidget() } - + func widgetsDropUpdate(from: DropDataElement, to: DropDataElement) { widgetBlocks.move(fromOffsets: IndexSet(integer: from.index), toOffset: to.index) } From bac6ad0e277b6f524111a0018a7a0c81fba74873 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 19 Nov 2025 12:17:06 +0000 Subject: [PATCH 203/228] IOS-5072 Turn on release toggles --- .../FeatureFlags/FeatureDescription+Flags.swift | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index 6b82b16365..0ac05a399a 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -16,22 +16,22 @@ public extension FeatureDescription { defaultValue: true ) + // should be disabled static let channelTypeSwitcher = FeatureDescription( title: "Channel type switcher - IOS-5378", type: .feature(author: "vova@anytype.io", releaseVersion: "14"), defaultValue: false ) - - static let newObjectSettings = FeatureDescription( - title: "New Object Settings", - type: .feature(author: "vova@anytype.io", releaseVersion: "14"), - defaultValue: false, - debugValue: true - ) static let showUploadStatusIndicator = FeatureDescription( title: "Show visual indicator for uploading files - IOS-5054", type: .feature(author: "vova@anytype.io", releaseVersion: "14"), + defaultValue: true, + ) + + static let newObjectSettings = FeatureDescription( + title: "New Object Settings", + type: .feature(author: "vova@anytype.io", releaseVersion: "15"), defaultValue: false, debugValue: true ) From 7bfda9a5191b2740ecf1658dcfd2f857fa99a248 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 19 Nov 2025 13:51:06 +0000 Subject: [PATCH 204/228] IOS-5072 Fix trailing comma in showUploadStatusIndicator feature flag --- .../AnytypeCore/Generated/FeatureFlags+Flags.swift | 10 +++++----- .../Utils/FeatureFlags/FeatureDescription+Flags.swift | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift index f0074a8202..740aace134 100644 --- a/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Generated/FeatureFlags+Flags.swift @@ -18,14 +18,14 @@ public extension FeatureFlags { value(for: .channelTypeSwitcher) } - static var newObjectSettings: Bool { - value(for: .newObjectSettings) - } - static var showUploadStatusIndicator: Bool { value(for: .showUploadStatusIndicator) } + static var newObjectSettings: Bool { + value(for: .newObjectSettings) + } + static var setKanbanView: Bool { value(for: .setKanbanView) } @@ -107,8 +107,8 @@ public extension FeatureFlags { .showAllButtonInWidgets, .turnOffAutomaticWidgetOpening, .channelTypeSwitcher, - .newObjectSettings, .showUploadStatusIndicator, + .newObjectSettings, .setKanbanView, .fullInlineSetImpl, .dndOnCollectionsAndSets, diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index 0ac05a399a..dd21eb8662 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -26,7 +26,7 @@ public extension FeatureDescription { static let showUploadStatusIndicator = FeatureDescription( title: "Show visual indicator for uploading files - IOS-5054", type: .feature(author: "vova@anytype.io", releaseVersion: "14"), - defaultValue: true, + defaultValue: true ) static let newObjectSettings = FeatureDescription( From dd28b6d976ea340ee3aa21d0b1ac0c9ed2230675 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Wed, 19 Nov 2025 14:49:12 +0000 Subject: [PATCH 205/228] IOS-5491 Update MW --- Libraryfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Libraryfile b/Libraryfile index 3298c646ef..8cc4a62651 100644 --- a/Libraryfile +++ b/Libraryfile @@ -1 +1 @@ -MIDDLE_VERSION=v0.44.0-nightly.20251119.1 +MIDDLE_VERSION=v0.45.3 From 24739370e831165eadd61b1acb2e5835fb91c8e4 Mon Sep 17 00:00:00 2001 From: "Any Association [bot]" <139948520+any-association@users.noreply.github.com> Date: Wed, 19 Nov 2025 16:19:04 +0100 Subject: [PATCH 206/228] New Crowdin updates (#4267) * Multilingual [skip ci] * Multilingual [skip ci] --- .../Loc/Sources/Loc/Resources/Auth.xcstrings | 52 +++---- .../Loc/Sources/Loc/Resources/UI.xcstrings | 140 +++++++++++++++++- 2 files changed, 165 insertions(+), 27 deletions(-) diff --git a/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings b/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings index 96a8a41d4e..2cf2e61f5e 100644 --- a/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/Auth.xcstrings @@ -562,7 +562,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "We’d love to share tips, tricks and product updates with you. Your email is never linked to your identity. We won’t share your data. Ever." + "value" : "Мы бы хотели делиться с вами подсказками, хитростями и обновлениями. Ваш адрес электронной почты никогда не будет привязан к вашей личности. Мы не будем делиться вашими данными. Никогда." } }, "tr" : { @@ -1009,7 +1009,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Stay in the loop" + "value" : "Оставайтесь в курсе" } }, "tr" : { @@ -1307,7 +1307,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Read more" + "value" : "Подробнее" } }, "tr" : { @@ -1754,7 +1754,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Reveal and copy" + "value" : "Показать и скопировать" } }, "tr" : { @@ -1903,7 +1903,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "It replaces login and password. Keep it safe — you control your data. You can find this Key later in app settings." + "value" : "Он заменяет логин и пароль. Держите его в безопасности — вы контролируете ваши данные. Вы можете найти этот ключ позже в настройках приложения." } }, "tr" : { @@ -3245,7 +3245,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Select one role or background that best fits you" + "value" : "Выберите одну роль или фон, которые лучше всего подходят вам" } }, "tr" : { @@ -4139,7 +4139,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Founder / Entrepreneur" + "value" : "Основатель / Предприниматель" } }, "tr" : { @@ -4437,7 +4437,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Marketer" + "value" : "Маркетолог" } }, "tr" : { @@ -4586,7 +4586,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Researcher / Academic" + "value" : "Исследователь / Академик" } }, "tr" : { @@ -4735,7 +4735,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Student" + "value" : "Студент" } }, "tr" : { @@ -4884,7 +4884,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Writer / Journalist" + "value" : "Писатель / Журналист" } }, "tr" : { @@ -5033,7 +5033,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Habit tracking" + "value" : "Отслеживание привычек" } }, "tr" : { @@ -5182,7 +5182,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Personal knowledge base / PKM" + "value" : "База личных знаний / БЛЗ" } }, "tr" : { @@ -5331,7 +5331,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Life planning" + "value" : "Планирование жизни" } }, "tr" : { @@ -5480,7 +5480,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Messaging & group chats" + "value" : "Общение и групповые чаты" } }, "tr" : { @@ -5629,7 +5629,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Personal note-taking" + "value" : "Личные заметки" } }, "tr" : { @@ -5778,7 +5778,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Projects & tasks management" + "value" : "Управление проектами и задачами" } }, "tr" : { @@ -5927,7 +5927,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Team work & shared docs" + "value" : "Работа в команде и общие документы" } }, "tr" : { @@ -6076,7 +6076,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Pick one use case that fits you best" + "value" : "Выберите один вариант использования, который подходит вам лучше всего" } }, "tr" : { @@ -6225,7 +6225,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "What do you want to use Anytype for?" + "value" : "Для чего вы хотите использовать Anytype?" } }, "tr" : { @@ -6523,7 +6523,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "or enter with" + "value" : "или введите через" } }, "tr" : { @@ -7269,7 +7269,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Encrypted, local," + "value" : "Зашифрованный, локальный," } }, "tr" : { @@ -7418,7 +7418,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "yours forever" + "value" : "ваш навсегда" } }, "tr" : { @@ -9357,7 +9357,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "witch collapse practice feed shame open despair creek road again ice least lake tree young address brain despair" + "value" : "Ведьма крах практика кормить стыд открывать отчаяние ручей дорога снова лёд наименьший озеро дерево молодой адрес мозг отчаяние" } }, "tr" : { @@ -9804,7 +9804,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Please clear approximately %@ of space and run the process again." + "value" : "Пожалуйста, освободите %@ места и запустите процесс снова." } }, "tr" : { @@ -10848,7 +10848,7 @@ "ru" : { "stringUnit" : { "state" : "new", - "value" : "Update is in progress..." + "value" : "Идёт обновление..." } }, "tr" : { diff --git a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings index a473ecb66d..86408ccdf6 100644 --- a/Modules/Loc/Sources/Loc/Resources/UI.xcstrings +++ b/Modules/Loc/Sources/Loc/Resources/UI.xcstrings @@ -56097,7 +56097,7 @@ "nb" : { "stringUnit" : { "state" : "new", - "value" : "My Channels" + "value" : "Channels" } }, "nl" : { @@ -89860,11 +89860,149 @@ "Syncing..." : { "extractionState" : "manual", "localizations" : { + "ar" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "be" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "de" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, "en" : { "stringUnit" : { "state" : "translated", "value" : "Syncing..." } + }, + "es" : { + "stringUnit" : { + "state" : "new", + "value" : "Sincronizando…" + } + }, + "fa" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "fi" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "fr" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "id" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "it" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "ja" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "ko" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "nb" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "nl" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "or" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "pl" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "pt-BR" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "pt-PT" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "ru" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "tr" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "uk" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "vi" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "zh-Hans" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } + }, + "zh-Hant" : { + "stringUnit" : { + "state" : "new", + "value" : "Syncing..." + } } } }, From f2d4489790eb2cfd9acd05e4d6288f09e9c62b3b Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 20 Nov 2025 10:05:31 +0000 Subject: [PATCH 207/228] IOS-5447 Filter out participant type from Set subscriptions --- .../TextEditor/Set/Subscriptions/Set/SetSubscriptionData.swift | 1 + 1 file changed, 1 insertion(+) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Subscriptions/Set/SetSubscriptionData.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Subscriptions/Set/SetSubscriptionData.swift index b1800c6ef5..ec54414a1b 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Subscriptions/Set/SetSubscriptionData.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Subscriptions/Set/SetSubscriptionData.swift @@ -58,6 +58,7 @@ struct SetSubscriptionData: Hashable { } filters.append(SearchHelper.layoutFilter(DetailsLayout.visibleLayoutsWithFiles(spaceUxType: spaceUxType))) filters.append(contentsOf: SearchHelper.notHiddenFilters()) + filters.append(SearchHelper.filterOutParticipantType()) self.filters = filters self.options = view.options self.currentPage = currentPage From 5548e0279d1058c47d19a512d9572e7481da085a Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 20 Nov 2025 10:13:50 +0000 Subject: [PATCH 208/228] IOS-5447 Add participant filter to group subscriptions for consistency --- .../Group/SetGroupSubscriptionDataBuilder.swift | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Subscriptions/Group/SetGroupSubscriptionDataBuilder.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Subscriptions/Group/SetGroupSubscriptionDataBuilder.swift index 0aa7796d7f..94ed01c28a 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Subscriptions/Group/SetGroupSubscriptionDataBuilder.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Subscriptions/Group/SetGroupSubscriptionDataBuilder.swift @@ -17,10 +17,12 @@ final class SetGroupSubscriptionDataBuilder: SetGroupSubscriptionDataBuilderProt nonisolated init() {} func groupsData(_ setDocument: some SetDocumentProtocol) -> GroupsSubscriptionData { - GroupsSubscriptionData( + var filters = setDocument.activeView.filters + filters.append(SearchHelper.filterOutParticipantType()) + return GroupsSubscriptionData( identifier: groupSubscriptionId, relationKey: setDocument.activeView.groupRelationKey, - filters: setDocument.activeView.filters, + filters: filters, source: setDocument.details?.filteredSetOf, collectionId: setDocument.isCollection() ? setDocument.objectId : nil ) From 7ddcdab0122bc976bd132ed41a3059a7ee627d9f Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 20 Nov 2025 10:21:03 +0000 Subject: [PATCH 209/228] IOS-5428 Add ClickNavigationScreenHome analytics event --- .../Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift | 4 ++++ .../Panel/HomeBottomNavigationPanelViewModel.swift | 1 + 2 files changed, 5 insertions(+) diff --git a/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift b/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift index e498e906f1..4ab9aab0c8 100644 --- a/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift +++ b/Anytype/Sources/Analytics/AnytypeAnalytics/AnytypeAnalytics+Events.swift @@ -1758,4 +1758,8 @@ extension AnytypeAnalytics { AnalyticsEventsPropertiesKey.type: objectType.analyticsId ].compactMapValues { $0 }) } + + func logClickNavigationScreenHome() { + logEvent("ClickNavigationScreenHome") + } } diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeNavigationContainer/Panel/HomeBottomNavigationPanelViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeNavigationContainer/Panel/HomeBottomNavigationPanelViewModel.swift index 20f6587e7c..02f7d15b1b 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeNavigationContainer/Panel/HomeBottomNavigationPanelViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeNavigationContainer/Panel/HomeBottomNavigationPanelViewModel.swift @@ -112,6 +112,7 @@ final class HomeBottomNavigationPanelViewModel: ObservableObject { } func onTapHome() { + AnytypeAnalytics.instance().logClickNavigationScreenHome() output?.popToFirstInSpace() } From 23991084a46d496dbfcf8422d3b484bb53e04d47 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 20 Nov 2025 11:25:13 +0000 Subject: [PATCH 210/228] IOS-4573 Fix header jumps --- .../Views/Header/Filled/ObjectHeaderFilledContentView.swift | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Header/Filled/ObjectHeaderFilledContentView.swift b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Header/Filled/ObjectHeaderFilledContentView.swift index 7c4952c63e..e2d62b6961 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Header/Filled/ObjectHeaderFilledContentView.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/EditorPage/Views/Header/Filled/ObjectHeaderFilledContentView.swift @@ -74,7 +74,10 @@ final class ObjectHeaderFilledContentView: UIView, BlockContentView { withHorizontalFittingPriority: .defaultHigh, verticalFittingPriority: .fittingSizeLevel ) - invalidateIntrinsicContentSize() + UIView.performWithoutAnimation { + invalidateIntrinsicContentSize() + superview?.layoutIfNeeded() + } } } From 35991eda99a8ef7fd5c272b936015a73c54bd805 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 20 Nov 2025 14:26:18 +0000 Subject: [PATCH 211/228] IOS-5331 Show counters in chat type widget --- .../Helpers/ObjectTypeRowsBuilder.swift | 41 ++++++++++++++----- .../SetObjectWidgetOrderHelper.swift | 12 ++++-- .../SetObjectWidgetInternalViewModel.swift | 7 +++- 3 files changed, 43 insertions(+), 17 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/ObjectType/Helpers/ObjectTypeRowsBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/ObjectType/Helpers/ObjectTypeRowsBuilder.swift index 01296090d6..406601c87c 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/ObjectType/Helpers/ObjectTypeRowsBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/ObjectType/Helpers/ObjectTypeRowsBuilder.swift @@ -11,9 +11,9 @@ protocol ObjectTypeRowsBuilderProtocol: AnyObject, Sendable { } actor ObjectTypeRowsBuilder: ObjectTypeRowsBuilderProtocol { - + private let info: ObjectTypeWidgetInfo - + @LazyInjected(\.openedDocumentProvider) private var openedDocumentProvider: any OpenedDocumentsProviderProtocol @LazyInjected(\.objectTypeProvider) @@ -26,14 +26,19 @@ actor ObjectTypeRowsBuilder: ObjectTypeRowsBuilderProtocol { private var subscriptionStorageProvider: any SubscriptionStorageProviderProtocol @LazyInjected(\.spaceViewsStorage) private var spaceViewsStorage: any SpaceViewsStorageProtocol + @LazyInjected(\.chatMessagesPreviewsStorage) + private var chatMessagesPreviewsStorage: any ChatMessagesPreviewsStorageProtocol + @LazyInjected(\.widgetRowModelBuilder) + private var widgetRowModelBuilder: any WidgetRowModelBuilderProtocol private lazy var subscriptionStorage: any SubscriptionStorageProtocol = { subscriptionStorageProvider.createSubscriptionStorage(subId: subscriptionId) }() - + private let subscriptionId = "ObjectTypeWidget-\(UUID().uuidString)" private var isImageType: Bool = false - + private var chatPreviews: [ChatMessagePreview] = [] + private let rowsChannel = AsyncChannel() private var onTap: (@MainActor (_ details: ObjectDetails) -> Void)? @@ -58,8 +63,9 @@ actor ObjectTypeRowsBuilder: ObjectTypeRowsBuilderProtocol { func startSubscriptions() async { async let typeSub: () = startTypeSubscription() async let objectSub: () = startObjectsSubscription() - - _ = await (typeSub, objectSub) + async let chatPreviewsSub: () = startChatPreviewsSubscription() + + _ = await (typeSub, objectSub, chatPreviewsSub) } private func startTypeSubscription() async { @@ -67,7 +73,13 @@ actor ObjectTypeRowsBuilder: ObjectTypeRowsBuilderProtocol { isImageType = type.isImageLayout } } - + + private func startChatPreviewsSubscription() async { + for await previews in await chatMessagesPreviewsStorage.previewsSequence { + chatPreviews = previews + } + } + // MARK: - Private private func startObjectsSubscription() async { @@ -91,10 +103,13 @@ actor ObjectTypeRowsBuilder: ObjectTypeRowsBuilderProtocol { try await subscriptionStorage.startOrUpdateSubscription(data: subscriptionData) for await state in subscriptionStorage.statePublisher.values { + let spaceView = await spaceViewsStorage.spaceView(spaceId: setDocument.spaceId) let rowDetails = setObjectWidgetOrderHelper.reorder( setDocument: setDocument, subscriptionStorage: subscriptionStorage, details: state.items, + chatPreviews: chatPreviews, + spaceView: spaceView, onItemTap: { [weak self] details, _ in Task { let onTap = await self?.onTap @@ -102,13 +117,13 @@ actor ObjectTypeRowsBuilder: ObjectTypeRowsBuilderProtocol { } } ) - await updateRows(rowDetails: rowDetails, availableMoreObjects: state.total > state.items.count) + await updateRows(rowDetails: rowDetails, spaceView: spaceView, availableMoreObjects: state.total > state.items.count) } } catch {} } - private func updateRows(rowDetails: [SetContentViewItemConfiguration], availableMoreObjects: Bool) async { + private func updateRows(rowDetails: [SetContentViewItemConfiguration], spaceView: SpaceView?, availableMoreObjects: Bool) async { let rows: ObjectTypeWidgetRowType if isImageType { let galleryRows = rowDetails.map { details in @@ -124,14 +139,18 @@ actor ObjectTypeRowsBuilder: ObjectTypeRowsBuilderProtocol { } else { switch setDocument.activeView.type { case .table, .list, .kanban, .calendar, .graph: - let listRows = rowDetails.map { ListWidgetRowModel(details: $0) } + let listRows = await widgetRowModelBuilder.buildListRows( + from: rowDetails, + spaceView: spaceView, + chatPreviews: chatPreviews + ) rows = .compactList(rows: listRows, availableMoreObjects: availableMoreObjects) case .gallery: let galleryRows = rowDetails.map { GalleryWidgetRowModel(details: $0) } rows = .gallery(rows: galleryRows, availableMoreObjects: availableMoreObjects) } } - + await rowsChannel.send(rows) } } diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SetCommon/SetObjectWidgetOrderHelper.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SetCommon/SetObjectWidgetOrderHelper.swift index eede9a92fe..39930b4c98 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SetCommon/SetObjectWidgetOrderHelper.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SetCommon/SetObjectWidgetOrderHelper.swift @@ -6,6 +6,8 @@ protocol SetObjectWidgetOrderHelperProtocol: AnyObject { setDocument: any SetDocumentProtocol, subscriptionStorage: any SubscriptionStorageProtocol, details: [ObjectDetails], + chatPreviews: [ChatMessagePreview], + spaceView: SpaceView?, onItemTap: @escaping @MainActor (_ details: ObjectDetails, _ allDetails: [ObjectDetails]) -> Void ) -> [SetContentViewItemConfiguration] } @@ -19,9 +21,11 @@ final class SetObjectWidgetOrderHelper: SetObjectWidgetOrderHelperProtocol { setDocument: any SetDocumentProtocol, subscriptionStorage: any SubscriptionStorageProtocol, details: [ObjectDetails], + chatPreviews: [ChatMessagePreview], + spaceView: SpaceView?, onItemTap: @escaping @MainActor (_ details: ObjectDetails, _ allDetails: [ObjectDetails]) -> Void ) -> [SetContentViewItemConfiguration] { - + let sortedDetails: [ObjectDetails] let objectOrderIds = setDocument.objectOrderIds(for: "") if objectOrderIds.isNotEmpty { @@ -29,7 +33,7 @@ final class SetObjectWidgetOrderHelper: SetObjectWidgetOrderHelperProtocol { } else { sortedDetails = details } - + return setContentViewDataBuilder.itemData( sortedDetails, dataView: setDocument.dataView, @@ -38,8 +42,8 @@ final class SetObjectWidgetOrderHelper: SetObjectWidgetOrderHelperProtocol { canEditIcon: setDocument.setPermissions.canEditSetObjectIcon, storage: subscriptionStorage.detailsStorage, spaceId: setDocument.spaceId, - chatPreviews: [], - spaceView: nil, + chatPreviews: chatPreviews, + spaceView: spaceView, onItemTap: { onItemTap($0, sortedDetails) } diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/SetObjectWidgetInternalViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/SetObjectWidgetInternalViewModel.swift index a8a40dc311..0f3b659d13 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/SetObjectWidgetInternalViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/SpecificInternalModels/SetObjectWidgetInternalViewModel.swift @@ -297,13 +297,16 @@ final class SetObjectWidgetInternalViewModel { private func updateRowDetails(data: SubscriptionStorageState) { guard let setDocument else { return } - + availableMoreObjects = data.total > data.items.count - + + let spaceView = spaceViewsStorage.spaceView(spaceId: setDocument.spaceId) let rowDetails = setObjectWidgetOrderHelper.reorder( setDocument: setDocument, subscriptionStorage: subscriptionStorage, details: data.items, + chatPreviews: chatPreviews, + spaceView: spaceView, onItemTap: { [weak self] details, sortedDetails in self?.handleTapOnObject(details: details, allDetails: sortedDetails) } From 845286cef2bc0e74d21cb6cff037b46a3316b5ae Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 20 Nov 2025 14:34:02 +0000 Subject: [PATCH 212/228] IOS-5331 Fix race condition in chat previews subscription --- .../Widgets/ObjectType/Helpers/ObjectTypeRowsBuilder.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/ObjectType/Helpers/ObjectTypeRowsBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/ObjectType/Helpers/ObjectTypeRowsBuilder.swift index 406601c87c..70f130337a 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/ObjectType/Helpers/ObjectTypeRowsBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/ObjectType/Helpers/ObjectTypeRowsBuilder.swift @@ -75,7 +75,7 @@ actor ObjectTypeRowsBuilder: ObjectTypeRowsBuilderProtocol { } private func startChatPreviewsSubscription() async { - for await previews in await chatMessagesPreviewsStorage.previewsSequence { + for await previews in await chatMessagesPreviewsStorage.previewsSequenceWithEmpty { chatPreviews = previews } } From 1d3a98c63234af51fd6d906e3b1da01bb74c420e Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 20 Nov 2025 14:55:39 +0000 Subject: [PATCH 213/228] IOS-5493 Supported author name for previews with attachements --- .../SpaceCard/NewSpaceCardLastMessageView.swift | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift index 4940517447..48739836ab 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift @@ -57,10 +57,12 @@ struct NewSpaceCardLastMessageView: View { private var messageWithAttachements: some View { VStack(alignment: .leading, spacing: 2) { - if supportsMultiChats, let chatName = model.chatName { - AnytypeText(chatName, style: .chatPreviewMedium) - .foregroundColor(.Text.transparentSecondary) - .lineLimit(1) + if supportsMultiChats { + if let chatName = model.chatName { + AnytypeText(chatName, style: .chatPreviewMedium) + .foregroundColor(.Text.transparentSecondary) + .lineLimit(1) + } } else if let creatorTitle = model.creatorTitle { AnytypeText(creatorTitle, style: .chatPreviewRegular) .foregroundColor(.Text.transparentSecondary) @@ -68,6 +70,13 @@ struct NewSpaceCardLastMessageView: View { } HStack(spacing: 2) { + if let creatorTitle = model.creatorTitle { + AnytypeText("\(creatorTitle):", style: .chatPreviewRegular) + .foregroundColor(.Text.transparentSecondary) + .lineLimit(1) + } + Spacer.fixedWidth(2) + ForEach(model.attachments) { IconView(icon: $0.icon).frame(width: 18, height: 18) } From d0268b9b9e9548b2f8216446367ded71e9f84546 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 20 Nov 2025 15:04:24 +0000 Subject: [PATCH 214/228] IOS-5493 Show proper names in preview widgets --- .../HomeWidgets/Widgets/Builders/WidgetRowModelBuilder.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Builders/WidgetRowModelBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Builders/WidgetRowModelBuilder.swift index 27c35238dc..a05791b282 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Builders/WidgetRowModelBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Builders/WidgetRowModelBuilder.swift @@ -61,7 +61,7 @@ final class WidgetRowModelBuilder: WidgetRowModelBuilderProtocol, Sendable { let isMuted = !(spaceView?.effectiveNotificationMode(for: objectId).isUnmutedAll ?? true) return MessagePreviewModel( - creatorTitle: lastMessage.creator?.globalName, + creatorTitle: lastMessage.creator?.title, text: lastMessage.text, attachments: Array(attachments), localizedAttachmentsText: lastMessage.localizedAttachmentsText, From d247549ea02421112e365698194809898ac1a603 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Thu, 20 Nov 2025 15:05:18 +0000 Subject: [PATCH 215/228] IOS-5495 Open profile on avatar click in chats --- .../Sources/Models/Extensions/DetailsLayoutExtension.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift b/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift index 761cefcf28..0f991cab93 100644 --- a/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift +++ b/Modules/Services/Sources/Models/Extensions/DetailsLayoutExtension.swift @@ -15,7 +15,7 @@ public extension DetailsLayout { fileprivate static let widgetTypeLayoutsBase = listLayouts + editorLayouts + [.bookmark] + fileAndMediaLayouts + chatLayouts - private static let supportedForOpening: [DetailsLayout] = visibleLayoutsWithFilesBase + [.objectType] + private static let supportedForOpening: [DetailsLayout] = visibleLayoutsWithFilesBase + [.objectType, .participant] private static let supportedForCreationInSets: [DetailsLayout] = editorLayouts + [.bookmark] + listLayouts private static let layoutsWithIcon: [DetailsLayout] = listLayouts + fileAndMediaLayouts + [.basic, .profile, .objectType] From ba797f11dd86dc89dd878cfbe399ab6a496d54e1 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 21 Nov 2025 11:40:19 +0000 Subject: [PATCH 216/228] IOS-5498 Remove Set as default button for Chat type --- .../ObjectTypeSearch/ObjectTypeSearchView.swift | 2 +- Modules/Services/Sources/Models/ObjectType.swift | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchView.swift b/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchView.swift index a36f52ff3c..c6c6358d08 100644 --- a/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchView.swift +++ b/Anytype/Sources/PresentationLayer/ObjectTypeSearch/ObjectTypeSearchView.swift @@ -213,7 +213,7 @@ struct ObjectTypeSearchView: View { } let isNotListLayout = data.type.recommendedLayout.flatMap { !$0.isList } ?? false - let canSetAsDefault = !data.isDefault && data.type.canCreateObjectOfThisType && isNotListLayout + let canSetAsDefault = !data.isDefault && data.type.canCreateObjectOfThisType && isNotListLayout && !data.type.isChatType if canSetAsDefault { Button(Loc.setAsDefault) { diff --git a/Modules/Services/Sources/Models/ObjectType.swift b/Modules/Services/Sources/Models/ObjectType.swift index cea356abdc..2336200519 100644 --- a/Modules/Services/Sources/Models/ObjectType.swift +++ b/Modules/Services/Sources/Models/ObjectType.swift @@ -146,9 +146,11 @@ extension ObjectType: DetailsModel { } public var isTemplateType: Bool { uniqueKey == .template } - + public var isDateType: Bool { uniqueKey == .date } - + + public var isChatType: Bool { uniqueKey == .chatDerived } + // MARK: - Layout proxy public var isListType: Bool { recommendedLayout.isList } From 2113c76cf0d43bad3d115923917e25e6ce9f56cc Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 21 Nov 2025 12:43:23 +0000 Subject: [PATCH 217/228] IOS-5429 Fix divider color --- .../TextEditor/Set/Views/Header/SetHeaderSettingsView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsView.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsView.swift index 60fef92d22..0794704dac 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsView.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Header/SetHeaderSettingsView.swift @@ -52,7 +52,7 @@ struct SetHeaderSettingsView: View { Rectangle() .fill(Color.clear) .frame(width: 1, height: 28) - .background(model.isActiveCreateButton ? Color.Control.accent80 : Color.Control.transparentSecondary) + .background(model.isActiveCreateButton ? Color.Control.accent80 : Color.Shape.transperentSecondary) StandardButton(.image(.X18.listArrow), style: .primaryXSmall, corners: [.topRight, .bottomRight]) { UISelectionFeedbackGenerator().selectionChanged() model.onSecondaryCreateTap() From 13f9224fe26f876b25d893cb43ca7b596d6ba234 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 21 Nov 2025 12:53:14 +0000 Subject: [PATCH 218/228] IOS-5500 remove encoding for published pages --- .../Modules/PublishToWeb/PublishToWebInternalViewModel.swift | 5 ----- 1 file changed, 5 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/PublishToWeb/PublishToWebInternalViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/PublishToWeb/PublishToWebInternalViewModel.swift index 47bd029415..39566ebeb5 100644 --- a/Anytype/Sources/PresentationLayer/Modules/PublishToWeb/PublishToWebInternalViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/PublishToWeb/PublishToWebInternalViewModel.swift @@ -64,11 +64,6 @@ final class PublishToWebInternalViewModel: ObservableObject, PublishingPreviewOu AnytypeAnalytics.instance().logClickShareObjectUpdate(objectType: analyticsObjectType) } - let encodedPath = customPath - .removingPercentEncoding? - .addingPercentEncoding(withAllowedCharacters: .urlQueryAllowed) ?? customPath - customPath = encodedPath - try await publishingService.create(spaceId: spaceId, objectId: objectId, uri: customPath, joinSpace: showJoinSpaceButton) status = try await publishingService.getStatus(spaceId: spaceId, objectId: objectId) From e24823aa834eff1ff485442731189e5a57bcc32b Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 21 Nov 2025 13:42:26 +0000 Subject: [PATCH 219/228] IOS-5504 Show chat name in header for multi-chat spaces --- .../ChatHeader/ChatHeaderViewModel.swift | 40 ++++++++++++++++--- 1 file changed, 35 insertions(+), 5 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/ChatHeader/ChatHeaderViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/ChatHeader/ChatHeaderViewModel.swift index de50371db1..98db5b5e88 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/ChatHeader/ChatHeaderViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/Subviews/ChatHeader/ChatHeaderViewModel.swift @@ -31,6 +31,11 @@ final class ChatHeaderViewModel: ObservableObject { private let onTapAddMembers: (() -> Void) private let chatObject: any BaseDocumentProtocol + private var spaceSupportsMultiChats: Bool = false + private var spaceTitle: String? + private var spaceIcon: Icon? + private var chatDetails: ObjectDetails? + init( spaceId: String, chatId: String, @@ -46,10 +51,11 @@ final class ChatHeaderViewModel: ObservableObject { func startSubscriptions() async { async let spaceViewSub: () = subscribeOnSpaceView() + async let chatDetailsSub: () = subscribeOnChatDetails() async let chatSub: () = subscribeOnChatStatus() async let spaceStatusSub: () = subscribeOnSpaceStatus() - - _ = await (spaceViewSub, chatSub, spaceStatusSub) + + _ = await (spaceViewSub, chatDetailsSub, chatSub, spaceStatusSub) } func tapOpenWidgets() { onTapOpenWidgets() } @@ -61,14 +67,23 @@ final class ChatHeaderViewModel: ObservableObject { private func subscribeOnSpaceView() async { for await participantSpaceView in participantSpacesStorage.participantSpaceViewPublisher(spaceId: spaceId).values { let spaceView = participantSpaceView.spaceView - title = spaceView.title - icon = spaceView.objectIconImage + spaceSupportsMultiChats = spaceView.uxType.supportsMultiChats + spaceTitle = spaceView.title + spaceIcon = spaceView.objectIconImage showWidgetsButton = spaceView.chatId == chatId && spaceView.initialScreenIsChat muted = !spaceView.effectiveNotificationMode(for: chatId).isUnmutedAll showAddMembersButton = participantSpaceView.participant?.permission == .owner + updateHeaderDisplay() } } - + + private func subscribeOnChatDetails() async { + for await details in chatObject.detailsPublisher.values { + chatDetails = details + updateHeaderDisplay() + } + } + private func subscribeOnChatStatus() async { let loadingPublisher = chatObject.detailsPublisher .map { @@ -108,4 +123,19 @@ final class ChatHeaderViewModel: ObservableObject { spaceLoading = spaceStatus.status == .error } } + + private func updateHeaderDisplay() { + if spaceSupportsMultiChats { + if let chatDetails { + title = chatDetails.name.withPlaceholder + icon = chatDetails.objectIconImage + } else { + title = nil + icon = nil + } + } else { + title = spaceTitle + icon = spaceIcon + } + } } From f546add4c75270103233365eb646a4f7ff4feb16 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Fri, 21 Nov 2025 13:19:30 +0000 Subject: [PATCH 220/228] IOS-5503 Disable chat editing for deleted/archived chats in bin --- .../Modules/Chat/ChatViewModel.swift | 11 +++++++++-- .../Chat/Services/ChatMessageBuilder.swift | 17 ++++++++++------- 2 files changed, 19 insertions(+), 9 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift index ee487d857b..dfab94caf7 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/ChatViewModel.swift @@ -7,6 +7,7 @@ import Collections import UIKit import NotificationsCore import ProtobufMessages +import AsyncAlgorithms @preconcurrency import Combine @MainActor @@ -627,8 +628,14 @@ final class ChatViewModel: MessageModuleOutput, ChatActionProviderHandler { } private func subscribeOnPermissions() async { - for await canEditMessages in accountParticipantsStorage.canEditSequence(spaceId: spaceId) { - canEdit = canEditMessages + let permissionsSequence = accountParticipantsStorage.canEditSequence(spaceId: spaceId) + let deletedOrArchivedSequence = chatObject.detailsPublisher + .map { !$0.isDeleted && !$0.isArchived } + .removeDuplicates() + .values + + for await (canEditMessages, canEditChat) in combineLatest(permissionsSequence, deletedOrArchivedSequence) { + canEdit = canEditMessages && canEditChat } } diff --git a/Anytype/Sources/PresentationLayer/Modules/Chat/Services/ChatMessageBuilder.swift b/Anytype/Sources/PresentationLayer/Modules/Chat/Services/ChatMessageBuilder.swift index 27e6aa3391..4e6c1d8681 100644 --- a/Anytype/Sources/PresentationLayer/Modules/Chat/Services/ChatMessageBuilder.swift +++ b/Anytype/Sources/PresentationLayer/Modules/Chat/Services/ChatMessageBuilder.swift @@ -11,20 +11,21 @@ protocol ChatMessageBuilderProtocol: AnyObject, Sendable { } actor ChatMessageBuilder: ChatMessageBuilderProtocol, Sendable { - + private enum Constants { static let grouppingDateInterval: Int = 60 // seconds } - + private let accountParticipantsStorage: any ParticipantsStorageProtocol = Container.shared.participantsStorage() private let messageTextBuilder: any MessageTextBuilderProtocol = Container.shared.messageTextBuilder() private let workspaceStorage: any SpaceViewsStorageProtocol = Container.shared.spaceViewsStorage() - + private let openDocumentProvider: any OpenedDocumentsProviderProtocol = Container.shared.openedDocumentProvider() + private let spaceId: String private let chatId: String - + private let dateFormatter = HistoryDateFormatter() - + init(spaceId: String, chatId: String) { self.spaceId = spaceId self.chatId = chatId @@ -36,10 +37,12 @@ actor ChatMessageBuilder: ChatMessageBuilderProtocol, Sendable { firstUnreadMessageOrderId: String?, limits: any ChatMessageLimitsProtocol ) async -> [MessageSectionData] { - + let isStream = workspaceStorage.spaceView(spaceId: spaceId)?.uxType.isStream ?? false let participant = accountParticipantsStorage.participants.first { $0.spaceId == spaceId } - let canEdit = participant?.canEdit ?? false + let chatObject = openDocumentProvider.document(objectId: chatId, spaceId: spaceId) + let isChatDeletedOrArchived = (chatObject.details?.isDeleted ?? false) || (chatObject.details?.isArchived ?? false) + let canEdit = (participant?.canEdit ?? false) && !isChatDeletedOrArchived let yourProfileIdentity = participant?.identity var currentSectionData: MessageSectionData? From 888b4514d4f056550a81d486362e01b687482687 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 24 Nov 2025 13:13:34 +0000 Subject: [PATCH 221/228] IOS-5054 Disabled showUploadStatusIndicator --- .../Utils/FeatureFlags/FeatureDescription+Flags.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift index 4bc9b76144..cadd9ae616 100644 --- a/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift +++ b/Modules/AnytypeCore/AnytypeCore/Utils/FeatureFlags/FeatureDescription+Flags.swift @@ -26,7 +26,7 @@ public extension FeatureDescription { static let showUploadStatusIndicator = FeatureDescription( title: "Show visual indicator for uploading files - IOS-5054", type: .feature(author: "vova@anytype.io", releaseVersion: "14"), - defaultValue: true + defaultValue: false ) static let newObjectSettings = FeatureDescription( From 5dae856fb29baa0f705aa7e0e425e61308e34097 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 24 Nov 2025 13:17:10 +0000 Subject: [PATCH 222/228] IOS-5508 Fix TestFlight upload bundle ID selection in Xcode 26 --- fastlane/FastfileDeploy | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/fastlane/FastfileDeploy b/fastlane/FastfileDeploy index 96577f11d5..c1efbd5309 100644 --- a/fastlane/FastfileDeploy +++ b/fastlane/FastfileDeploy @@ -20,12 +20,14 @@ platform :ios do ENV["APP_CONF_DEVELOP"] => { tag_prefix: "dev", add_badge: true, - app_info: "Debug" + app_info: "Debug", + bundle_id: "io.anytype.app.dev" }, ENV["APP_CONF_RELEASE_ANYTYPE"] => { tag_prefix: "release-anytype", add_badge: false, - app_info: "Release Anytype" + app_info: "Release Anytype", + bundle_id: "io.anytype.app" } } @@ -147,6 +149,9 @@ platform :ios do end end + bundle_id = settings[:bundle_id] + ENV["DELIVER_ALTOOL_ADDITIONAL_UPLOAD_PARAMETERS"] = "--apple-id #{bundle_id} --use-old-altool" + upload_to_testflight(skip_waiting_for_build_processing: true) github_message = "Anytype #{appInfo} Version: **#{version}(#{build_number})** :gem::gem::gem:" From 76ddbb66b41427641b761ecbe2615218d8c823ef Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Mon, 24 Nov 2025 13:38:21 +0000 Subject: [PATCH 223/228] IOS-5509 MIDDLE_VERSION=v0.45.5 --- Libraryfile | 2 +- .../Anytype_Rpc.Space.InviteView.swift | 23 +++++++++++++- .../Models/Anytype_Model_InvitePayload.swift | 30 ++++++++++++++++++- 3 files changed, 52 insertions(+), 3 deletions(-) diff --git a/Libraryfile b/Libraryfile index 8cc4a62651..102d6ba280 100644 --- a/Libraryfile +++ b/Libraryfile @@ -1 +1 @@ -MIDDLE_VERSION=v0.45.3 +MIDDLE_VERSION=v0.45.5 \ No newline at end of file diff --git a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteView.swift b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteView.swift index 4f3ea7fefc..a0f5c25cde 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteView.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Commands/Anytype_Rpc.Space.InviteView.swift @@ -55,6 +55,12 @@ extension Anytype_Rpc.Space { public var creatorName: String = String() + public var creatorIconCid: String = String() + + public var spaceIconOption: UInt32 = 0 + + public var spaceUxType: UInt32 = 0 + /// deprecated, use inviteType public var isGuestUserInvite: Bool = false @@ -191,7 +197,7 @@ extension Anytype_Rpc.Space.InviteView.Request: SwiftProtobuf.Message, SwiftProt extension Anytype_Rpc.Space.InviteView.Response: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = Anytype_Rpc.Space.InviteView.protoMessageName + ".Response" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}spaceId\0\u{1}spaceName\0\u{1}spaceIconCid\0\u{1}creatorName\0\u{1}isGuestUserInvite\0\u{1}inviteType\0") + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}error\0\u{1}spaceId\0\u{1}spaceName\0\u{1}spaceIconCid\0\u{1}creatorName\0\u{1}isGuestUserInvite\0\u{1}inviteType\0\u{1}spaceIconOption\0\u{1}spaceUxType\0\u{1}creatorIconCid\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -206,6 +212,9 @@ extension Anytype_Rpc.Space.InviteView.Response: SwiftProtobuf.Message, SwiftPro case 5: try { try decoder.decodeSingularStringField(value: &self.creatorName) }() case 6: try { try decoder.decodeSingularBoolField(value: &self.isGuestUserInvite) }() case 7: try { try decoder.decodeSingularEnumField(value: &self.inviteType) }() + case 8: try { try decoder.decodeSingularUInt32Field(value: &self.spaceIconOption) }() + case 9: try { try decoder.decodeSingularUInt32Field(value: &self.spaceUxType) }() + case 10: try { try decoder.decodeSingularStringField(value: &self.creatorIconCid) }() default: break } } @@ -237,6 +246,15 @@ extension Anytype_Rpc.Space.InviteView.Response: SwiftProtobuf.Message, SwiftPro if self.inviteType != .member { try visitor.visitSingularEnumField(value: self.inviteType, fieldNumber: 7) } + if self.spaceIconOption != 0 { + try visitor.visitSingularUInt32Field(value: self.spaceIconOption, fieldNumber: 8) + } + if self.spaceUxType != 0 { + try visitor.visitSingularUInt32Field(value: self.spaceUxType, fieldNumber: 9) + } + if !self.creatorIconCid.isEmpty { + try visitor.visitSingularStringField(value: self.creatorIconCid, fieldNumber: 10) + } try unknownFields.traverse(visitor: &visitor) } @@ -246,6 +264,9 @@ extension Anytype_Rpc.Space.InviteView.Response: SwiftProtobuf.Message, SwiftPro if lhs.spaceName != rhs.spaceName {return false} if lhs.spaceIconCid != rhs.spaceIconCid {return false} if lhs.creatorName != rhs.creatorName {return false} + if lhs.creatorIconCid != rhs.creatorIconCid {return false} + if lhs.spaceIconOption != rhs.spaceIconOption {return false} + if lhs.spaceUxType != rhs.spaceUxType {return false} if lhs.isGuestUserInvite != rhs.isGuestUserInvite {return false} if lhs.inviteType != rhs.inviteType {return false} if lhs.unknownFields != rhs.unknownFields {return false} diff --git a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InvitePayload.swift b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InvitePayload.swift index c334e60b66..1a843b0906 100644 --- a/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InvitePayload.swift +++ b/Modules/ProtobufMessages/Sources/Protocol/Models/Anytype_Model_InvitePayload.swift @@ -19,6 +19,10 @@ public struct Anytype_Model_InvitePayload: Sendable { public var creatorName: String = String() + public var creatorIconCid: String = String() + + public var creatorIconEncryptionKeys: [Anytype_Model_FileEncryptionKey] = [] + public var aclKey: Data = Data() public var spaceID: String = String() @@ -27,6 +31,10 @@ public struct Anytype_Model_InvitePayload: Sendable { public var spaceIconCid: String = String() + public var spaceIconOption: UInt32 = 0 + + public var spaceUxType: UInt32 = 0 + public var spaceIconEncryptionKeys: [Anytype_Model_FileEncryptionKey] = [] public var inviteType: Anytype_Model_InviteType = .member @@ -40,7 +48,7 @@ public struct Anytype_Model_InvitePayload: Sendable { extension Anytype_Model_InvitePayload: SwiftProtobuf.Message, SwiftProtobuf._MessageImplementationBase, SwiftProtobuf._ProtoNameProviding { public static let protoMessageName: String = _protobuf_package + ".InvitePayload" - public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}creatorIdentity\0\u{1}creatorName\0\u{1}aclKey\0\u{1}spaceId\0\u{1}spaceName\0\u{1}spaceIconCid\0\u{1}spaceIconEncryptionKeys\0\u{1}inviteType\0\u{1}guestKey\0") + public static let _protobuf_nameMap = SwiftProtobuf._NameMap(bytecode: "\0\u{1}creatorIdentity\0\u{1}creatorName\0\u{1}aclKey\0\u{1}spaceId\0\u{1}spaceName\0\u{1}spaceIconCid\0\u{1}spaceIconEncryptionKeys\0\u{1}inviteType\0\u{1}guestKey\0\u{1}spaceIconOption\0\u{1}spaceUxType\0\u{1}creatorIconCid\0\u{1}creatorIconEncryptionKeys\0") public mutating func decodeMessage(decoder: inout D) throws { while let fieldNumber = try decoder.nextFieldNumber() { @@ -57,6 +65,10 @@ extension Anytype_Model_InvitePayload: SwiftProtobuf.Message, SwiftProtobuf._Mes case 7: try { try decoder.decodeRepeatedMessageField(value: &self.spaceIconEncryptionKeys) }() case 8: try { try decoder.decodeSingularEnumField(value: &self.inviteType) }() case 9: try { try decoder.decodeSingularBytesField(value: &self.guestKey) }() + case 10: try { try decoder.decodeSingularUInt32Field(value: &self.spaceIconOption) }() + case 11: try { try decoder.decodeSingularUInt32Field(value: &self.spaceUxType) }() + case 12: try { try decoder.decodeSingularStringField(value: &self.creatorIconCid) }() + case 13: try { try decoder.decodeRepeatedMessageField(value: &self.creatorIconEncryptionKeys) }() default: break } } @@ -90,16 +102,32 @@ extension Anytype_Model_InvitePayload: SwiftProtobuf.Message, SwiftProtobuf._Mes if !self.guestKey.isEmpty { try visitor.visitSingularBytesField(value: self.guestKey, fieldNumber: 9) } + if self.spaceIconOption != 0 { + try visitor.visitSingularUInt32Field(value: self.spaceIconOption, fieldNumber: 10) + } + if self.spaceUxType != 0 { + try visitor.visitSingularUInt32Field(value: self.spaceUxType, fieldNumber: 11) + } + if !self.creatorIconCid.isEmpty { + try visitor.visitSingularStringField(value: self.creatorIconCid, fieldNumber: 12) + } + if !self.creatorIconEncryptionKeys.isEmpty { + try visitor.visitRepeatedMessageField(value: self.creatorIconEncryptionKeys, fieldNumber: 13) + } try unknownFields.traverse(visitor: &visitor) } public static func ==(lhs: Anytype_Model_InvitePayload, rhs: Anytype_Model_InvitePayload) -> Bool { if lhs.creatorIdentity != rhs.creatorIdentity {return false} if lhs.creatorName != rhs.creatorName {return false} + if lhs.creatorIconCid != rhs.creatorIconCid {return false} + if lhs.creatorIconEncryptionKeys != rhs.creatorIconEncryptionKeys {return false} if lhs.aclKey != rhs.aclKey {return false} if lhs.spaceID != rhs.spaceID {return false} if lhs.spaceName != rhs.spaceName {return false} if lhs.spaceIconCid != rhs.spaceIconCid {return false} + if lhs.spaceIconOption != rhs.spaceIconOption {return false} + if lhs.spaceUxType != rhs.spaceUxType {return false} if lhs.spaceIconEncryptionKeys != rhs.spaceIconEncryptionKeys {return false} if lhs.inviteType != rhs.inviteType {return false} if lhs.guestKey != rhs.guestKey {return false} From d43ef9e1733f9f1aeaff1abec6ad45e769ae9620 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 25 Nov 2025 10:45:56 +0000 Subject: [PATCH 224/228] IOS-5499 Fix creator titles --- .../Modules/HomeWidgets/Widgets/Link/LinkWidgetViewModel.swift | 2 +- .../TextEditor/Set/Views/Models/SetContentViewDataBuilder.swift | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetViewModel.swift b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetViewModel.swift index 3d17e9f458..49b695ed0d 100644 --- a/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetViewModel.swift +++ b/Anytype/Sources/PresentationLayer/Modules/HomeWidgets/Widgets/Link/LinkWidgetViewModel.swift @@ -95,7 +95,7 @@ final class LinkWidgetViewModel: ObservableObject { let isMuted = !(spaceView?.effectiveNotificationMode(for: linkedObjectDetails.id).isUnmutedAll ?? true) badgeModel = MessagePreviewModel( - creatorTitle: lastMessage.creator?.globalName, + creatorTitle: lastMessage.creator?.title, text: lastMessage.text, attachments: Array(attachments), localizedAttachmentsText: lastMessage.localizedAttachmentsText, diff --git a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Models/SetContentViewDataBuilder.swift b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Models/SetContentViewDataBuilder.swift index 1362ee7967..2e46887a2d 100644 --- a/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Models/SetContentViewDataBuilder.swift +++ b/Anytype/Sources/PresentationLayer/TextEditor/Set/Views/Models/SetContentViewDataBuilder.swift @@ -305,7 +305,7 @@ final class SetContentViewDataBuilder: SetContentViewDataBuilderProtocol { let isMuted = !(spaceView?.effectiveNotificationMode(for: objectId).isUnmutedAll ?? true) return MessagePreviewModel( - creatorTitle: lastMessage.creator?.globalName, + creatorTitle: lastMessage.creator?.title, text: lastMessage.text, attachments: Array(attachments), localizedAttachmentsText: lastMessage.localizedAttachmentsText, From c513082789f117dc46dd4c02b854073a959902ef Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 25 Nov 2025 11:49:33 +0000 Subject: [PATCH 225/228] IOS-5499 fix tests --- AnyTypeTests/Services/SetContentViewDataBuilderTests.swift | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/AnyTypeTests/Services/SetContentViewDataBuilderTests.swift b/AnyTypeTests/Services/SetContentViewDataBuilderTests.swift index f6717ee0ed..ebe4248915 100644 --- a/AnyTypeTests/Services/SetContentViewDataBuilderTests.swift +++ b/AnyTypeTests/Services/SetContentViewDataBuilderTests.swift @@ -39,7 +39,7 @@ struct SetContentViewDataBuilderTests { } @Test func testBuildChatPreview_NilSpaceView_UsesDefaultNotificationMode() { - let creator = Participant.mock(id: "user1", globalName: "Test User") + let creator = Participant.mock(id: "user1", localName: "Test User") let lastMessage = LastMessagePreview( id: "msg1", creator: creator, @@ -93,7 +93,7 @@ struct SetContentViewDataBuilderTests { } @Test func testBuildChatPreview_ValidPreview_BuildsCompleteModel() { - let creator = Participant.mock(id: "user1", globalName: "John Doe") + let creator = Participant.mock(id: "user1", localName: "John Doe") let lastMessage = LastMessagePreview( id: "msg1", creator: creator, From 5317fd36526cbae04a311c26d3a33f6981644612 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 25 Nov 2025 14:15:26 +0000 Subject: [PATCH 226/228] IOS-5515 Fix duplicated user name in chat preview with attachments --- .../Subviews/SpaceCard/NewSpaceCardLastMessageView.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift index 48739836ab..916350e0ac 100644 --- a/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift +++ b/Anytype/Sources/PresentationLayer/Modules/SpaceHub/Subviews/SpaceCard/NewSpaceCardLastMessageView.swift @@ -70,7 +70,7 @@ struct NewSpaceCardLastMessageView: View { } HStack(spacing: 2) { - if let creatorTitle = model.creatorTitle { + if supportsMultiChats, let creatorTitle = model.creatorTitle { AnytypeText("\(creatorTitle):", style: .chatPreviewRegular) .foregroundColor(.Text.transparentSecondary) .lineLimit(1) From 47d23d62593a53478ec5698f1df51189d4df3941 Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 25 Nov 2025 16:42:31 +0000 Subject: [PATCH 227/228] IOS-5517 bump xcode --- .github/WORKFLOWS_REFERENCE.md | 4 ++-- .github/workflows/branch_build.yaml | 2 +- .github/workflows/dev_build.yaml | 2 +- .github/workflows/ipa.yaml | 2 +- .github/workflows/license-checks.yml | 2 +- .github/workflows/pr-review-automation.md | 2 +- .github/workflows/pr_tests.yml | 2 +- .github/workflows/release_build.yaml | 2 +- .github/workflows/test_fastlane_build.yaml | 2 +- .github/workflows/update_cache.yaml | 2 +- .github/workflows/update_middleware.yaml | 2 +- 11 files changed, 12 insertions(+), 12 deletions(-) diff --git a/.github/WORKFLOWS_REFERENCE.md b/.github/WORKFLOWS_REFERENCE.md index f5322281f1..5134c842c5 100644 --- a/.github/WORKFLOWS_REFERENCE.md +++ b/.github/WORKFLOWS_REFERENCE.md @@ -290,7 +290,7 @@ The repository uses a **centralized auto-merge system** via the `automerge.yaml` | Runner | Xcode Version | Use Case | |--------|--------------|----------| | `macos-15` | Xcode 15.x (e.g., 15.4) | Legacy builds, older Xcode requirements | -| `macos-26` | Xcode 26.0 | **Current standard** - All modern builds | +| `macos-26` | Xcode 26.1 | **Current standard** - All modern builds | | `ubuntu-latest` | N/A | Utility jobs, scripts, API calls | ### Runner-Xcode Version Mapping @@ -306,7 +306,7 @@ jobs: - name: Setup Xcode uses: maxim-lobanov/setup-xcode@v1.6.0 with: - xcode-version: '26.0' + xcode-version: '26.1' ``` ### Reference Documentation diff --git a/.github/workflows/branch_build.yaml b/.github/workflows/branch_build.yaml index 46b6122856..89da4bc9e1 100644 --- a/.github/workflows/branch_build.yaml +++ b/.github/workflows/branch_build.yaml @@ -36,7 +36,7 @@ jobs: - name: Setup Xcode uses: maxim-lobanov/setup-xcode@v1.6.0 with: - xcode-version: '26.0' + xcode-version: '26.1' - name: Download Middleware run: make setup-middle-ci diff --git a/.github/workflows/dev_build.yaml b/.github/workflows/dev_build.yaml index 9bc7b1abc3..8d6650a922 100644 --- a/.github/workflows/dev_build.yaml +++ b/.github/workflows/dev_build.yaml @@ -37,7 +37,7 @@ jobs: - name: Setup Xcode uses: maxim-lobanov/setup-xcode@v1.6.0 with: - xcode-version: '26.0' + xcode-version: '26.1' - name: Download Middleware run: make setup-middle-ci diff --git a/.github/workflows/ipa.yaml b/.github/workflows/ipa.yaml index f45b635719..e2a250a168 100644 --- a/.github/workflows/ipa.yaml +++ b/.github/workflows/ipa.yaml @@ -30,7 +30,7 @@ jobs: - name: Setup Xcode uses: maxim-lobanov/setup-xcode@v1.6.0 with: - xcode-version: '26.0' + xcode-version: '26.1' - name: Download Middleware run: make setup-middle-ci diff --git a/.github/workflows/license-checks.yml b/.github/workflows/license-checks.yml index dc45d980f5..35ec334b72 100644 --- a/.github/workflows/license-checks.yml +++ b/.github/workflows/license-checks.yml @@ -29,7 +29,7 @@ jobs: - name: Setup Xcode uses: maxim-lobanov/setup-xcode@v1.6.0 with: - xcode-version: '26.0' + xcode-version: '26.1' - name: Download Middleware run: make setup-middle-ci diff --git a/.github/workflows/pr-review-automation.md b/.github/workflows/pr-review-automation.md index 993ae4fd73..8530cddb3c 100644 --- a/.github/workflows/pr-review-automation.md +++ b/.github/workflows/pr-review-automation.md @@ -29,7 +29,7 @@ https://github.com/actions/runner-images/tree/main/images/macos ### macOS Runner to Xcode Version Mapping - `macos-15`: Xcode 15.x (e.g., '15.4') - See https://github.com/actions/runner-images/blob/main/images/macos/macos-15-Readme.md -- `macos-26`: Xcode 26.0 (at /Applications/Xcode_26.0.app) - See https://github.com/actions/runner-images/blob/main/images/macos/macos-26-arm64-Readme.md +- `macos-26`: Xcode 26.1 (at /Applications/Xcode_26.1.app) - See https://github.com/actions/runner-images/blob/main/images/macos/macos-26-arm64-Readme.md **VALIDATION RULE**: When reviewing xcode-version in workflows, verify it matches the runs-on runner version using the mapping above. diff --git a/.github/workflows/pr_tests.yml b/.github/workflows/pr_tests.yml index 64710fd02a..dd464c4fce 100644 --- a/.github/workflows/pr_tests.yml +++ b/.github/workflows/pr_tests.yml @@ -32,7 +32,7 @@ jobs: - name: Setup Xcode uses: maxim-lobanov/setup-xcode@v1.6.0 with: - xcode-version: '26.0' + xcode-version: '26.1' - name: Download Middleware run: make setup-middle-ci diff --git a/.github/workflows/release_build.yaml b/.github/workflows/release_build.yaml index 63044f53e9..c2274e1ca2 100644 --- a/.github/workflows/release_build.yaml +++ b/.github/workflows/release_build.yaml @@ -35,7 +35,7 @@ jobs: - name: Setup Xcode uses: maxim-lobanov/setup-xcode@v1.6.0 with: - xcode-version: '26.0' + xcode-version: '26.1' - name: Download Middleware run: make setup-middle-ci diff --git a/.github/workflows/test_fastlane_build.yaml b/.github/workflows/test_fastlane_build.yaml index 6e5cce8130..d9a7e4182f 100644 --- a/.github/workflows/test_fastlane_build.yaml +++ b/.github/workflows/test_fastlane_build.yaml @@ -28,7 +28,7 @@ jobs: - uses: maxim-lobanov/setup-xcode@v1.6.0 with: - xcode-version: '26.0' + xcode-version: '26.1' - name: Download Middleware run: make setup-middle-ci diff --git a/.github/workflows/update_cache.yaml b/.github/workflows/update_cache.yaml index fd9522fb27..f21b4d1e75 100644 --- a/.github/workflows/update_cache.yaml +++ b/.github/workflows/update_cache.yaml @@ -28,7 +28,7 @@ jobs: - name: Setup Xcode uses: maxim-lobanov/setup-xcode@v1.6.0 with: - xcode-version: '26.0' + xcode-version: '26.1' - name: Download Middleware run: make setup-middle-ci diff --git a/.github/workflows/update_middleware.yaml b/.github/workflows/update_middleware.yaml index 888fafbc87..ddafc2d8d2 100644 --- a/.github/workflows/update_middleware.yaml +++ b/.github/workflows/update_middleware.yaml @@ -106,7 +106,7 @@ jobs: - name: Setup Xcode uses: maxim-lobanov/setup-xcode@v1.6.0 with: - xcode-version: '26.0' + xcode-version: '26.1' # Install required development tools (e.g., SwiftGen, Sourcery) - name: Setup tools From b70509b1299e720bfac8d858dda0509df909db1e Mon Sep 17 00:00:00 2001 From: Vova Ignatov Date: Tue, 25 Nov 2025 16:44:09 +0000 Subject: [PATCH 228/228] IOS-5517 Update fastlane --- Gemfile | 2 +- Gemfile.lock | 91 ++++++++++++++++++++++++++++++---------------------- 2 files changed, 54 insertions(+), 39 deletions(-) diff --git a/Gemfile b/Gemfile index 5f0f58bdee..a41a86c820 100644 --- a/Gemfile +++ b/Gemfile @@ -2,7 +2,7 @@ ruby '2.7.2' source 'https://rubygems.org' -gem 'fastlane', '~> 2.224.0' +gem 'fastlane', '~> 2.229.0' gem 'fastlane-plugin-sentry', '1.15.0' gem 'license_finder' # https://github.com/CocoaPods/Xcodeproj/pull/942 diff --git a/Gemfile.lock b/Gemfile.lock index 65597f01f6..2532324c99 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -14,29 +14,30 @@ GIT GEM remote: https://rubygems.org/ specs: - CFPropertyList (3.0.7) - base64 - nkf - rexml - addressable (2.8.7) - public_suffix (>= 2.0.2, < 7.0) + CFPropertyList (3.0.9) + abbrev (0.1.2) + addressable (2.8.8) + public_suffix (>= 2.0.2, < 8.0) artifactory (3.0.17) atomos (0.1.3) - aws-eventstream (1.3.0) - aws-partitions (1.985.0) - aws-sdk-core (3.209.1) + aws-eventstream (1.4.0) + aws-partitions (1.1187.0) + aws-sdk-core (3.239.1) aws-eventstream (~> 1, >= 1.3.0) - aws-partitions (~> 1, >= 1.651.0) + aws-partitions (~> 1, >= 1.992.0) aws-sigv4 (~> 1.9) + base64 + bigdecimal jmespath (~> 1, >= 1.6.1) - aws-sdk-kms (1.94.0) - aws-sdk-core (~> 3, >= 3.207.0) + logger + aws-sdk-kms (1.118.0) + aws-sdk-core (~> 3, >= 3.239.1) aws-sigv4 (~> 1.5) - aws-sdk-s3 (1.167.0) - aws-sdk-core (~> 3, >= 3.207.0) + aws-sdk-s3 (1.205.0) + aws-sdk-core (~> 3, >= 3.234.0) aws-sdk-kms (~> 1) aws-sigv4 (~> 1.5) - aws-sigv4 (1.10.0) + aws-sigv4 (1.12.1) aws-eventstream (~> 1, >= 1.0.2) babosa (1.0.4) badge (0.13.0) @@ -44,13 +45,15 @@ GEM fastlane (>= 2.0) mini_magick (>= 4.9.4, < 5.0.0) base64 (0.2.0) + bigdecimal (3.3.1) claide (1.1.0) colored (1.2) colored2 (3.1.2) commander (4.6.0) highline (~> 2.0.0) + csv (3.3.5) declarative (0.0.20) - digest-crc (0.6.5) + digest-crc (0.7.0) rake (>= 12.0.0, < 14.0.0) domain_name (0.6.20240107) dotenv (2.8.1) @@ -68,15 +71,15 @@ GEM faraday-rack (~> 1.0) faraday-retry (~> 1.0) ruby2_keywords (>= 0.0.4) - faraday-cookie_jar (0.0.7) + faraday-cookie_jar (0.0.8) faraday (>= 0.8.0) - http-cookie (~> 1.0.0) + http-cookie (>= 1.0.0) faraday-em_http (1.0.0) - faraday-em_synchrony (1.0.0) + faraday-em_synchrony (1.0.1) faraday-excon (1.1.0) faraday-httpclient (1.0.1) - faraday-multipart (1.0.4) - multipart-post (~> 2) + faraday-multipart (1.1.1) + multipart-post (~> 2.0) faraday-net_http (1.0.2) faraday-net_http_persistent (1.2.0) faraday-patron (1.0.0) @@ -84,16 +87,19 @@ GEM faraday-retry (1.0.3) faraday_middleware (1.2.1) faraday (~> 1.0) - fastimage (2.3.1) - fastlane (2.224.0) + fastimage (2.4.0) + fastlane (2.229.1) CFPropertyList (>= 2.3, < 4.0.0) + abbrev (~> 0.1.2) addressable (>= 2.8, < 3.0.0) artifactory (~> 3.0) aws-sdk-s3 (~> 1.0) babosa (>= 1.0.3, < 2.0.0) + base64 (~> 0.2.0) bundler (>= 1.12.0, < 3.0.0) colored (~> 1.2) commander (~> 4.6) + csv (~> 3.3) dotenv (>= 2.1.1, < 3.0.0) emoji_regex (>= 0.1, < 4.0) excon (>= 0.71.0, < 1.0.0) @@ -101,6 +107,7 @@ GEM faraday-cookie_jar (~> 0.0.6) faraday_middleware (~> 1.0) fastimage (>= 2.1.0, < 3.0.0) + fastlane-sirp (>= 1.0.0) gh_inspector (>= 1.1.2, < 2.0.0) google-apis-androidpublisher_v3 (~> 0.3) google-apis-playcustomapp_v1 (~> 0.1) @@ -112,7 +119,9 @@ GEM jwt (>= 2.1.0, < 3) mini_magick (>= 4.9.4, < 5.0.0) multipart-post (>= 2.0.0, < 3.0.0) + mutex_m (~> 0.3.0) naturally (~> 2.2) + nkf (~> 0.2.0) optparse (>= 0.1.1, < 1.0.0) plist (>= 3.1.0, < 4.0.0) rubyzip (>= 2.0.0, < 3.0.0) @@ -124,13 +133,15 @@ GEM tty-spinner (>= 0.8.0, < 1.0.0) word_wrap (~> 1.0.0) xcodeproj (>= 1.13.0, < 2.0.0) - xcpretty (~> 0.3.0) + xcpretty (~> 0.4.1) xcpretty-travis-formatter (>= 0.0.3, < 2.0.0) fastlane-plugin-badge (1.5.0) badge (~> 0.13.0) fastlane-plugin-sentry (1.15.0) os (~> 1.1, >= 1.1.4) fastlane-plugin-versioning (0.6.0) + fastlane-sirp (1.0.0) + sysrandom (~> 1.0) gh_inspector (1.1.3) google-apis-androidpublisher_v3 (0.54.0) google-apis-core (>= 0.11.0, < 2.a) @@ -169,12 +180,13 @@ GEM os (>= 0.9, < 2.0) signet (>= 0.16, < 2.a) highline (2.0.3) - http-cookie (1.0.7) + http-cookie (1.0.8) domain_name (~> 0.5) - httpclient (2.8.3) + httpclient (2.9.0) + mutex_m jmespath (1.6.2) - json (2.7.2) - jwt (2.9.3) + json (2.16.0) + jwt (2.10.2) base64 license_finder (7.1.0) bundler @@ -183,27 +195,29 @@ GEM tomlrb (>= 1.3, < 2.1) with_env (= 1.1.0) xml-simple (~> 1.1.9) + logger (1.7.0) mini_magick (4.13.2) mini_mime (1.1.5) multi_json (1.15.0) multipart-post (2.4.1) + mutex_m (0.3.0) nanaimo (0.3.0) - naturally (2.2.1) + naturally (2.3.0) nkf (0.2.0) - optparse (0.5.0) + optparse (0.8.0) os (1.1.4) - plist (3.7.1) + plist (3.7.2) public_suffix (5.1.1) - rake (13.2.1) + rake (13.3.1) representable (3.2.0) declarative (< 0.1.0) trailblazer-option (>= 0.1.1, < 0.2.0) uber (< 0.2.0) retriable (3.1.2) - rexml (3.3.8) - rouge (2.0.7) + rexml (3.4.4) + rouge (3.28.0) ruby2_keywords (0.0.5) - rubyzip (2.3.2) + rubyzip (2.4.1) security (0.1.5) signet (0.19.0) addressable (~> 2.8) @@ -213,6 +227,7 @@ GEM simctl (1.6.10) CFPropertyList naturally + sysrandom (1.0.5) terminal-notifier (2.0.0) terminal-table (3.0.2) unicode-display_width (>= 1.1.1, < 3) @@ -227,8 +242,8 @@ GEM unicode-display_width (2.6.0) with_env (1.1.0) word_wrap (1.0.0) - xcpretty (0.3.0) - rouge (~> 2.0.7) + xcpretty (0.4.1) + rouge (~> 3.28.0) xcpretty-travis-formatter (1.0.1) xcpretty (~> 0.2, >= 0.0.7) xml-simple (1.1.9) @@ -240,7 +255,7 @@ PLATFORMS x86_64-darwin-19 DEPENDENCIES - fastlane (~> 2.224.0) + fastlane (~> 2.229.0) fastlane-plugin-badge fastlane-plugin-sentry (= 1.15.0) fastlane-plugin-versioning