From 7375797e65b40e6c84c6160ea40ac89f7a07d268 Mon Sep 17 00:00:00 2001 From: Dmitry Bilienko Date: Mon, 11 Sep 2023 13:30:06 +0500 Subject: [PATCH] IOS-1741 Dirty CI --- .../Sources/Generated/service+invocation.swift | 10 ++++++++++ .../Generated/BundledRelationKey+SystemKeys.swift | 1 + .../Bundled/Generated/BundledRelationKey.swift | 3 +++ .../Generated/BundledRelationsValueProvider.swift | 5 +++++ 4 files changed, 19 insertions(+) diff --git a/Modules/ProtobufMessages/Sources/Generated/service+invocation.swift b/Modules/ProtobufMessages/Sources/Generated/service+invocation.swift index da6f643ddd..01cb3ceb21 100644 --- a/Modules/ProtobufMessages/Sources/Generated/service+invocation.swift +++ b/Modules/ProtobufMessages/Sources/Generated/service+invocation.swift @@ -1914,6 +1914,16 @@ public struct ClientCommands { } } + public static func debugStackGoroutines( + _ request: Anytype_Rpc.Debug.StackGoroutines.Request = .init() + ) -> Invocation { + return Invocation(messageName: "DebugStackGoroutines", request: request) { request in + let requestData = try request.serializedData() + let responseData = Lib.ServiceDebugStackGoroutines(requestData) ?? Data() + return try Anytype_Rpc.Debug.StackGoroutines.Response(serializedData: responseData) + } + } + public static func debugExportLocalstore( _ request: Anytype_Rpc.Debug.ExportLocalstore.Request = .init() ) -> Invocation { diff --git a/Modules/Services/Sources/Models/Relations/Provider/Bundled/Generated/BundledRelationKey+SystemKeys.swift b/Modules/Services/Sources/Models/Relations/Provider/Bundled/Generated/BundledRelationKey+SystemKeys.swift index a3761999e4..59722525dc 100644 --- a/Modules/Services/Sources/Models/Relations/Provider/Bundled/Generated/BundledRelationKey+SystemKeys.swift +++ b/Modules/Services/Sources/Models/Relations/Provider/Bundled/Generated/BundledRelationKey+SystemKeys.swift @@ -63,5 +63,6 @@ public extension BundledRelationKey { .sourceFilePath, .fileSyncStatus, .defaultTemplateId, + .backlinks, ] } diff --git a/Modules/Services/Sources/Models/Relations/Provider/Bundled/Generated/BundledRelationKey.swift b/Modules/Services/Sources/Models/Relations/Provider/Bundled/Generated/BundledRelationKey.swift index e546202538..bf3171df13 100644 --- a/Modules/Services/Sources/Models/Relations/Provider/Bundled/Generated/BundledRelationKey.swift +++ b/Modules/Services/Sources/Models/Relations/Provider/Bundled/Generated/BundledRelationKey.swift @@ -359,4 +359,7 @@ public enum BundledRelationKey: String { /// ID of template chosen as default for particular object type case defaultTemplateId = "defaultTemplateId" + + /// List of backlinks + case backlinks = "backlinks" } diff --git a/Modules/Services/Sources/Models/Relations/Provider/Bundled/Generated/BundledRelationsValueProvider.swift b/Modules/Services/Sources/Models/Relations/Provider/Bundled/Generated/BundledRelationsValueProvider.swift index a7106524bf..d276c3d679 100644 --- a/Modules/Services/Sources/Models/Relations/Provider/Bundled/Generated/BundledRelationsValueProvider.swift +++ b/Modules/Services/Sources/Models/Relations/Provider/Bundled/Generated/BundledRelationsValueProvider.swift @@ -149,6 +149,7 @@ public protocol BundledRelationsValueProvider { var lastChangeId: String { get } var starred: Bool { get } var defaultTemplateId: ObjectId { get } + var backlinks: ObjectId { get } } public extension BundledRelationsValueProvider where Self: RelationValueProvider { @@ -647,4 +648,8 @@ public extension BundledRelationsValueProvider where Self: RelationValueProvider var defaultTemplateId: ObjectId { return value(for: BundledRelationKey.defaultTemplateId.rawValue) } + /// List of backlinks + var backlinks: ObjectId { + return value(for: BundledRelationKey.backlinks.rawValue) + } }