@blueid/access-proto 1.96.0 → 2.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,6 @@
1
1
  // DO NOT EDIT.
2
2
  // swift-format-ignore-file
3
+ // swiftlint:disable all
3
4
  //
4
5
  // Generated by the Swift generator plugin for the protocol buffer compiler.
5
6
  // Source: BlueLock.proto
@@ -7,7 +8,6 @@
7
8
  // For information on using the generated types, please see the documentation:
8
9
  // https://github.com/apple/swift-protobuf/
9
10
 
10
- import Foundation
11
11
  import SwiftProtobuf
12
12
 
13
13
  // If the compiler emits an error on this type, it is because this file
@@ -20,7 +20,7 @@ fileprivate struct _GeneratedWithProtocGenSwiftVersion: SwiftProtobuf.ProtobufAP
20
20
  typealias Version = _2
21
21
  }
22
22
 
23
- public enum BlueLockState: SwiftProtobuf.Enum {
23
+ public enum BlueLockState: SwiftProtobuf.Enum, Swift.CaseIterable {
24
24
  public typealias RawValue = Int
25
25
  case unknownLockState // = 1
26
26
  case locked // = 2
@@ -52,15 +52,7 @@ public enum BlueLockState: SwiftProtobuf.Enum {
52
52
 
53
53
  }
54
54
 
55
- #if swift(>=4.2)
56
-
57
- extension BlueLockState: CaseIterable {
58
- // Support synthesized by the compiler.
59
- }
60
-
61
- #endif // swift(>=4.2)
62
-
63
- public struct BlueLockConfig {
55
+ public struct BlueLockConfig: Sendable {
64
56
  // SwiftProtobuf.Message conformance is added in an extension below. See the
65
57
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
66
58
  // methods supported on all messages.
@@ -119,7 +111,7 @@ public struct BlueLockConfig {
119
111
  fileprivate var _extendedOpenTimeSec: UInt32? = nil
120
112
  }
121
113
 
122
- public struct BlueLockStatus {
114
+ public struct BlueLockStatus: Sendable {
123
115
  // SwiftProtobuf.Message conformance is added in an extension below. See the
124
116
  // `Message` and `Message+*Additions` files in the SwiftProtobuf library for
125
117
  // methods supported on all messages.
@@ -150,12 +142,6 @@ public struct BlueLockStatus {
150
142
  fileprivate var _openings: UInt32? = nil
151
143
  }
152
144
 
153
- #if swift(>=5.5) && canImport(_Concurrency)
154
- extension BlueLockState: @unchecked Sendable {}
155
- extension BlueLockConfig: @unchecked Sendable {}
156
- extension BlueLockStatus: @unchecked Sendable {}
157
- #endif // swift(>=5.5) && canImport(_Concurrency)
158
-
159
145
  // MARK: - Code below here is support for the SwiftProtobuf runtime.
160
146
 
161
147
  extension BlueLockState: SwiftProtobuf._ProtoNameProviding {