Skip to content

Commit da746b1

Browse files
committed
chore: updates for next rc release
1 parent 778d3f4 commit da746b1

File tree

269 files changed

+450
-443
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

269 files changed

+450
-443
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ Add the package to your `Package.swift` dependencies:
3333

3434
```swift
3535
dependencies: [
36-
.package(url: "[email protected]:appwrite/sdk-for-swift.git", from: "6.0.0-rc.2"),
36+
.package(url: "[email protected]:appwrite/sdk-for-swift.git", from: "6.0.0-rc.3"),
3737
],
3838
```
3939

Sources/Appwrite/Client.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ open class Client {
2121
"x-sdk-name": "Swift",
2222
"x-sdk-platform": "server",
2323
"x-sdk-language": "swift",
24-
"x-sdk-version": "6.0.0-rc.2",
24+
"x-sdk-version": "6.0.0-rc.3",
2525
"x-appwrite-response-format": "1.6.0"
2626
]
2727

Sources/AppwriteEnums/Runtime.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public enum Runtime: String, Codable {
4646
case cpp17 = "cpp-17"
4747
case cpp20 = "cpp-20"
4848
case bun10 = "bun-1.0"
49-
case go122 = "go-1.22"
49+
case go123 = "go-1.23"
5050

5151
public func encode(to encoder: Encoder) throws {
5252
var container = encoder.singleValueContainer()

Sources/AppwriteModels/Deployment.swift

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ public class Deployment {
2828
/// The code size in bytes.
2929
public let size: Int
3030

31+
/// The build output size in bytes.
32+
public let buildSize: Int
33+
3134
/// The current build ID.
3235
public let buildId: String
3336

@@ -83,6 +86,7 @@ public class Deployment {
8386
resourceType: String,
8487
entrypoint: String,
8588
size: Int,
89+
buildSize: Int,
8690
buildId: String,
8791
activate: Bool,
8892
status: String,
@@ -107,6 +111,7 @@ public class Deployment {
107111
self.resourceType = resourceType
108112
self.entrypoint = entrypoint
109113
self.size = size
114+
self.buildSize = buildSize
110115
self.buildId = buildId
111116
self.activate = activate
112117
self.status = status
@@ -134,6 +139,7 @@ public class Deployment {
134139
"resourceType": resourceType as Any,
135140
"entrypoint": entrypoint as Any,
136141
"size": size as Any,
142+
"buildSize": buildSize as Any,
137143
"buildId": buildId as Any,
138144
"activate": activate as Any,
139145
"status": status as Any,
@@ -162,6 +168,7 @@ public class Deployment {
162168
resourceType: map["resourceType"] as! String,
163169
entrypoint: map["entrypoint"] as! String,
164170
size: map["size"] as! Int,
171+
buildSize: map["buildSize"] as! Int,
165172
buildId: map["buildId"] as! String,
166173
activate: map["activate"] as! Bool,
167174
status: map["status"] as! String,

docs/examples/account/create-anonymous-session.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("<YOUR_PROJECT_ID>") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66

77
let account = Account(client)
88

docs/examples/account/create-email-password-session.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66

77
let account = Account(client)
88

docs/examples/account/create-email-token.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66

77
let account = Account(client)
88

docs/examples/account/create-j-w-t.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66

77
let account = Account(client)
88

docs/examples/account/create-magic-u-r-l-token.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66

77
let account = Account(client)
88

docs/examples/account/create-mfa-authenticator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import AppwriteEnums
33

44
let client = Client()
55
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
6-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
6+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
77
.setSession("") // The user session to authenticate with
88

99
let account = Account(client)

docs/examples/account/create-mfa-challenge.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import AppwriteEnums
33

44
let client = Client()
55
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
6-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
6+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
77

88
let account = Account(client)
99

docs/examples/account/create-mfa-recovery-codes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/create-o-auth2token.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import AppwriteEnums
33

44
let client = Client()
55
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
6-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
6+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
77

88
let account = Account(client)
99

docs/examples/account/create-phone-token.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66

77
let account = Account(client)
88

docs/examples/account/create-phone-verification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/create-recovery.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/create-session.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66

77
let account = Account(client)
88

docs/examples/account/create-verification.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/create.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66

77
let account = Account(client)
88

docs/examples/account/delete-identity.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/delete-mfa-authenticator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import AppwriteEnums
33

44
let client = Client()
55
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
6-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
6+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
77
.setSession("") // The user session to authenticate with
88

99
let account = Account(client)

docs/examples/account/delete-session.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/delete-sessions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/get-mfa-recovery-codes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/get-prefs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/get-session.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/get.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/list-identities.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/list-logs.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/list-mfa-factors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/list-sessions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/update-email.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/update-m-f-a.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/update-magic-u-r-l-session.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66

77
let account = Account(client)
88

docs/examples/account/update-mfa-authenticator.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import AppwriteEnums
33

44
let client = Client()
55
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
6-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
6+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
77
.setSession("") // The user session to authenticate with
88

99
let account = Account(client)

docs/examples/account/update-mfa-challenge.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/update-mfa-recovery-codes.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/update-name.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/update-password.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66
.setSession("") // The user session to authenticate with
77

88
let account = Account(client)

docs/examples/account/update-phone-session.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import Appwrite
22

33
let client = Client()
44
.setEndpoint("https://cloud.appwrite.io/v1") // Your API Endpoint
5-
.setProject("&lt;YOUR_PROJECT_ID&gt;") // Your project ID
5+
.setProject("<YOUR_PROJECT_ID>") // Your project ID
66

77
let account = Account(client)
88

0 commit comments

Comments
 (0)