Skip to content

Commit f110d17

Browse files
committed
chore: update sdks for appwrite 1.6
1 parent ff1e187 commit f110d17

Some content is hidden

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

46 files changed

+250
-10
lines changed

Sources/AppwriteModels/AlgoArgon2.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,20 @@ public class AlgoArgon2 {
77
/// Algo type.
88
public let type: String
99

10+
1011
/// Memory used to compute hash.
1112
public let memoryCost: Int
1213

14+
1315
/// Amount of time consumed to compute hash
1416
public let timeCost: Int
1517

18+
1619
/// Number of threads used to compute hash.
1720
public let threads: Int
1821

1922

23+
2024
init(
2125
type: String,
2226
memoryCost: Int,

Sources/AppwriteModels/AlgoBcrypt.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ public class AlgoBcrypt {
88
public let type: String
99

1010

11+
1112
init(
1213
type: String
1314
) {

Sources/AppwriteModels/AlgoMd5.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ public class AlgoMd5 {
88
public let type: String
99

1010

11+
1112
init(
1213
type: String
1314
) {

Sources/AppwriteModels/AlgoPhpass.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ public class AlgoPhpass {
88
public let type: String
99

1010

11+
1112
init(
1213
type: String
1314
) {

Sources/AppwriteModels/AlgoScrypt.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,24 @@ public class AlgoScrypt {
77
/// Algo type.
88
public let type: String
99

10+
1011
/// CPU complexity of computed hash.
1112
public let costCpu: Int
1213

14+
1315
/// Memory complexity of computed hash.
1416
public let costMemory: Int
1517

18+
1619
/// Parallelization of computed hash.
1720
public let costParallel: Int
1821

22+
1923
/// Length used to compute hash.
2024
public let length: Int
2125

2226

27+
2328
init(
2429
type: String,
2530
costCpu: Int,

Sources/AppwriteModels/AlgoScryptModified.swift

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,20 @@ public class AlgoScryptModified {
77
/// Algo type.
88
public let type: String
99

10+
1011
/// Salt used to compute hash.
1112
public let salt: String
1213

14+
1315
/// Separator used to compute hash.
1416
public let saltSeparator: String
1517

18+
1619
/// Key used to compute hash.
1720
public let signerKey: String
1821

1922

23+
2024
init(
2125
type: String,
2226
salt: String,

Sources/AppwriteModels/AlgoSha.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ public class AlgoSha {
88
public let type: String
99

1010

11+
1112
init(
1213
type: String
1314
) {

Sources/AppwriteModels/Continent.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ public class Continent {
77
/// Continent name.
88
public let name: String
99

10+
1011
/// Continent two letter code.
1112
public let code: String
1213

1314

15+
1416
init(
1517
name: String,
1618
code: String

Sources/AppwriteModels/ContinentList.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ public class ContinentList {
77
/// Total number of continents documents that matched your query.
88
public let total: Int
99

10+
1011
/// List of continents.
1112
public let continents: [Continent]
1213

1314

15+
1416
init(
1517
total: Int,
1618
continents: [Continent]

Sources/AppwriteModels/Country.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,12 @@ public class Country {
77
/// Country name.
88
public let name: String
99

10+
1011
/// Country two-character ISO 3166-1 alpha code.
1112
public let code: String
1213

1314

15+
1416
init(
1517
name: String,
1618
code: String

0 commit comments

Comments
 (0)