Skip to content

Commit af10732

Browse files
Merge pull request #28 from appwrite/dev
feat: update for 1.0.0-RC1
2 parents 9dc36de + 7f51932 commit af10732

27 files changed

+27
-27
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ Add this to your package's `pubspec.yaml` file:
2323

2424
```yml
2525
dependencies:
26-
dart_appwrite: ^7.0.0-dev.1
26+
dart_appwrite: ^7.0.0-dev.2
2727
```
2828
2929
You can install packages from the command line:

lib/src/client_browser.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class ClientBrowser extends ClientBase with ClientMixin {
3333
'x-sdk-name': 'Dart',
3434
'x-sdk-platform': 'server',
3535
'x-sdk-language': 'dart',
36-
'x-sdk-version': '7.0.0-dev.1',
36+
'x-sdk-version': '7.0.0-dev.2',
3737
'X-Appwrite-Response-Format' : '1.0.0-RC1',
3838
};
3939

lib/src/client_io.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class ClientIO extends ClientBase with ClientMixin {
4242
'x-sdk-name': 'Dart',
4343
'x-sdk-platform': 'server',
4444
'x-sdk-language': 'dart',
45-
'x-sdk-version': '7.0.0-dev.1',
45+
'x-sdk-version': '7.0.0-dev.2',
4646
'X-Appwrite-Response-Format' : '1.0.0-RC1',
4747
};
4848

lib/src/models/bucket_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class BucketList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"buckets": buckets.map((p) => p.toMap()),
25+
"buckets": buckets.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/collection.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ class Collection implements Model {
6262
"enabled": enabled,
6363
"documentSecurity": documentSecurity,
6464
"attributes": attributes,
65-
"indexes": indexes.map((p) => p.toMap()),
65+
"indexes": indexes.map((p) => p.toMap()).toList(),
6666
};
6767
}
6868
}

lib/src/models/collection_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CollectionList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"collections": collections.map((p) => p.toMap()),
25+
"collections": collections.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/continent_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ContinentList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"continents": continents.map((p) => p.toMap()),
25+
"continents": continents.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/country_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CountryList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"countries": countries.map((p) => p.toMap()),
25+
"countries": countries.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/currency_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class CurrencyList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"currencies": currencies.map((p) => p.toMap()),
25+
"currencies": currencies.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/database_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class DatabaseList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"databases": databases.map((p) => p.toMap()),
25+
"databases": databases.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/deployment_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class DeploymentList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"deployments": deployments.map((p) => p.toMap()),
25+
"deployments": deployments.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/document_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class DocumentList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"documents": documents.map((p) => p.toMap()),
25+
"documents": documents.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828

lib/src/models/execution_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class ExecutionList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"executions": executions.map((p) => p.toMap()),
25+
"executions": executions.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/file_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class FileList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"files": files.map((p) => p.toMap()),
25+
"files": files.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/function.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ class Func implements Model {
7777
"status": status,
7878
"runtime": runtime,
7979
"deployment": deployment,
80-
"vars": vars.map((p) => p.toMap()),
80+
"vars": vars.map((p) => p.toMap()).toList(),
8181
"events": events,
8282
"schedule": schedule,
8383
"scheduleNext": scheduleNext,

lib/src/models/function_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class FunctionList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"functions": functions.map((p) => p.toMap()),
25+
"functions": functions.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/index_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class IndexList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"indexes": indexes.map((p) => p.toMap()),
25+
"indexes": indexes.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/language_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class LanguageList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"languages": languages.map((p) => p.toMap()),
25+
"languages": languages.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/log_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class LogList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"logs": logs.map((p) => p.toMap()),
25+
"logs": logs.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/membership_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class MembershipList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"memberships": memberships.map((p) => p.toMap()),
25+
"memberships": memberships.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/phone_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class PhoneList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"phones": phones.map((p) => p.toMap()),
25+
"phones": phones.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/runtime_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class RuntimeList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"runtimes": runtimes.map((p) => p.toMap()),
25+
"runtimes": runtimes.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/session_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class SessionList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"sessions": sessions.map((p) => p.toMap()),
25+
"sessions": sessions.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/team_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class TeamList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"teams": teams.map((p) => p.toMap()),
25+
"teams": teams.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/user_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class UserList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"users": users.map((p) => p.toMap()),
25+
"users": users.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

lib/src/models/variable_list.dart

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ class VariableList implements Model {
2222
Map<String, dynamic> toMap() {
2323
return {
2424
"total": total,
25-
"variables": variables.map((p) => p.toMap()),
25+
"variables": variables.map((p) => p.toMap()).toList(),
2626
};
2727
}
2828
}

pubspec.yaml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: dart_appwrite
2-
version: 7.0.0-dev.1
2+
version: 7.0.0-dev.2
33
description: Appwrite is an open-source self-hosted backend server that abstract and simplify complex and repetitive development tasks behind a very simple REST API
44
homepage: https://appwrite.io
55
repository: https://github.com/appwrite/sdk-for-dart

0 commit comments

Comments
 (0)