Updated SDKs
This commit is contained in:
parent
a81668f745
commit
945d7947a2
|
@ -32,7 +32,7 @@ return [
|
||||||
[
|
[
|
||||||
'key' => 'flutter',
|
'key' => 'flutter',
|
||||||
'name' => 'Flutter',
|
'name' => 'Flutter',
|
||||||
'version' => '0.3.0',
|
'version' => '0.4.0-dev.1',
|
||||||
'url' => 'https://github.com/appwrite/sdk-for-flutter',
|
'url' => 'https://github.com/appwrite/sdk-for-flutter',
|
||||||
'package' => 'https://pub.dev/packages/appwrite',
|
'package' => 'https://pub.dev/packages/appwrite',
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
|
@ -165,7 +165,7 @@ return [
|
||||||
[
|
[
|
||||||
'key' => 'deno',
|
'key' => 'deno',
|
||||||
'name' => 'Deno',
|
'name' => 'Deno',
|
||||||
'version' => '0.1.0',
|
'version' => '0.1.1',
|
||||||
'url' => 'https://github.com/appwrite/sdk-for-deno',
|
'url' => 'https://github.com/appwrite/sdk-for-deno',
|
||||||
'package' => 'https://deno.land/x/appwrite',
|
'package' => 'https://deno.land/x/appwrite',
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
|
@ -199,7 +199,7 @@ return [
|
||||||
[
|
[
|
||||||
'key' => 'python',
|
'key' => 'python',
|
||||||
'name' => 'Python',
|
'name' => 'Python',
|
||||||
'version' => '0.1.0',
|
'version' => '0.1.1',
|
||||||
'url' => 'https://github.com/appwrite/sdk-for-python',
|
'url' => 'https://github.com/appwrite/sdk-for-python',
|
||||||
'package' => 'https://pypi.org/project/appwrite/',
|
'package' => 'https://pypi.org/project/appwrite/',
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
|
@ -216,7 +216,7 @@ return [
|
||||||
[
|
[
|
||||||
'key' => 'ruby',
|
'key' => 'ruby',
|
||||||
'name' => 'Ruby',
|
'name' => 'Ruby',
|
||||||
'version' => '2.0.0',
|
'version' => '2.0.2',
|
||||||
'url' => 'https://github.com/appwrite/sdk-for-ruby',
|
'url' => 'https://github.com/appwrite/sdk-for-ruby',
|
||||||
'package' => 'https://rubygems.org/gems/appwrite',
|
'package' => 'https://rubygems.org/gems/appwrite',
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
|
@ -284,7 +284,7 @@ return [
|
||||||
[
|
[
|
||||||
'key' => 'dart',
|
'key' => 'dart',
|
||||||
'name' => 'Dart',
|
'name' => 'Dart',
|
||||||
'version' => '0.2.0',
|
'version' => '0.3.0',
|
||||||
'url' => 'https://github.com/appwrite/sdk-for-dart',
|
'url' => 'https://github.com/appwrite/sdk-for-dart',
|
||||||
'package' => 'https://pub.dev/packages/dart_appwrite',
|
'package' => 'https://pub.dev/packages/dart_appwrite',
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
|
@ -301,7 +301,7 @@ return [
|
||||||
[
|
[
|
||||||
'key' => 'cli',
|
'key' => 'cli',
|
||||||
'name' => 'Command Line',
|
'name' => 'Command Line',
|
||||||
'version' => '0.5.0',
|
'version' => '0.6.0',
|
||||||
'url' => 'https://github.com/appwrite/sdk-for-cli',
|
'url' => 'https://github.com/appwrite/sdk-for-cli',
|
||||||
'package' => 'https://github.com/appwrite/sdk-for-cli',
|
'package' => 'https://github.com/appwrite/sdk-for-cli',
|
||||||
'enabled' => true,
|
'enabled' => true,
|
||||||
|
|
|
@ -96,6 +96,16 @@ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
|
||||||
$config = new CLI();
|
$config = new CLI();
|
||||||
$config->setComposerVendor('appwrite');
|
$config->setComposerVendor('appwrite');
|
||||||
$config->setComposerPackage('cli');
|
$config->setComposerPackage('cli');
|
||||||
|
$config->setExecutableName('appwrite');
|
||||||
|
$config->setExecutableName('appwrite');
|
||||||
|
$config->setLogo("
|
||||||
|
_ _ _ ___ __ _____
|
||||||
|
/_\ _ __ _ ____ ___ __(_) |_ ___ / __\ / / \_ \
|
||||||
|
//_\\| '_ \| '_ \ \ /\ / / '__| | __/ _ \ / / / / / /\/
|
||||||
|
/ _ \ |_) | |_) \ V V /| | | | || __/ / /___/ /___/\/ /_
|
||||||
|
\_/ \_/ .__/| .__/ \_/\_/ |_| |_|\__\___| \____/\____/\____/
|
||||||
|
|_| |_|
|
||||||
|
");
|
||||||
break;
|
break;
|
||||||
case 'php':
|
case 'php':
|
||||||
$config = new PHP();
|
$config = new PHP();
|
||||||
|
|
|
@ -59,7 +59,7 @@
|
||||||
"adhocore/jwt": "1.1.0"
|
"adhocore/jwt": "1.1.0"
|
||||||
},
|
},
|
||||||
"require-dev": {
|
"require-dev": {
|
||||||
"appwrite/sdk-generator": "0.5.5",
|
"appwrite/sdk-generator": "0.6.1",
|
||||||
"phpunit/phpunit": "9.4.2",
|
"phpunit/phpunit": "9.4.2",
|
||||||
"swoole/ide-helper": "4.5.5",
|
"swoole/ide-helper": "4.5.5",
|
||||||
"vimeo/psalm": "4.1.1"
|
"vimeo/psalm": "4.1.1"
|
||||||
|
|
194
composer.lock
generated
194
composer.lock
generated
|
@ -4,7 +4,7 @@
|
||||||
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
|
||||||
"This file is @generated automatically"
|
"This file is @generated automatically"
|
||||||
],
|
],
|
||||||
"content-hash": "5893b378d1dcda91aedf77059f4b0efb",
|
"content-hash": "4b03aefd02908c32c2d1be6127c8c23a",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"name": "adhocore/jwt",
|
"name": "adhocore/jwt",
|
||||||
|
@ -349,7 +349,7 @@
|
||||||
"issues": "https://github.com/domnikl/statsd-php/issues",
|
"issues": "https://github.com/domnikl/statsd-php/issues",
|
||||||
"source": "https://github.com/domnikl/statsd-php/tree/master"
|
"source": "https://github.com/domnikl/statsd-php/tree/master"
|
||||||
},
|
},
|
||||||
"abandoned": true,
|
"abandoned": "slickdeals/statsd",
|
||||||
"time": "2020-01-03T14:24:58+00:00"
|
"time": "2020-01-03T14:24:58+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
@ -1004,12 +1004,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/php-fig/log.git",
|
"url": "https://github.com/php-fig/log.git",
|
||||||
"reference": "dd738d0b4491f32725492cf345f6b501f5922fec"
|
"reference": "a18c1e692e02b84abbafe4856c3cd7cc6903908c"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/php-fig/log/zipball/dd738d0b4491f32725492cf345f6b501f5922fec",
|
"url": "https://api.github.com/repos/php-fig/log/zipball/a18c1e692e02b84abbafe4856c3cd7cc6903908c",
|
||||||
"reference": "dd738d0b4491f32725492cf345f6b501f5922fec",
|
"reference": "a18c1e692e02b84abbafe4856c3cd7cc6903908c",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -1047,7 +1047,7 @@
|
||||||
"support": {
|
"support": {
|
||||||
"source": "https://github.com/php-fig/log/tree/master"
|
"source": "https://github.com/php-fig/log/tree/master"
|
||||||
},
|
},
|
||||||
"time": "2020-09-18T06:44:51+00:00"
|
"time": "2021-03-02T15:02:34+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "ralouphie/getallheaders",
|
"name": "ralouphie/getallheaders",
|
||||||
|
@ -2086,11 +2086,11 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "appwrite/sdk-generator",
|
"name": "appwrite/sdk-generator",
|
||||||
"version": "0.5.5",
|
"version": "0.6.1",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/appwrite/sdk-generator",
|
"url": "https://github.com/appwrite/sdk-generator",
|
||||||
"reference": "08d6dc72f83ec99cfc0f7a50cb7fc0be0c029ac1"
|
"reference": "8a55e7082428583a89ece31df463663c2b2320d8"
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
"ext-curl": "*",
|
"ext-curl": "*",
|
||||||
|
@ -2120,7 +2120,7 @@
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
|
"description": "Appwrite PHP library for generating API SDKs for multiple programming languages and platforms",
|
||||||
"time": "2021-02-18T16:37:32+00:00"
|
"time": "2021-03-02T17:02:58+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "composer/package-versions-deprecated",
|
"name": "composer/package-versions-deprecated",
|
||||||
|
@ -2498,12 +2498,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/felixfbecker/php-language-server-protocol.git",
|
"url": "https://github.com/felixfbecker/php-language-server-protocol.git",
|
||||||
"reference": "85e83cacd2ed573238678c6875f8f0d7ec699541"
|
"reference": "9d846d1f5cf101deee7a61c8ba7caa0a975cd730"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/85e83cacd2ed573238678c6875f8f0d7ec699541",
|
"url": "https://api.github.com/repos/felixfbecker/php-language-server-protocol/zipball/9d846d1f5cf101deee7a61c8ba7caa0a975cd730",
|
||||||
"reference": "85e83cacd2ed573238678c6875f8f0d7ec699541",
|
"reference": "9d846d1f5cf101deee7a61c8ba7caa0a975cd730",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -2545,9 +2545,9 @@
|
||||||
],
|
],
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/felixfbecker/php-language-server-protocol/issues",
|
"issues": "https://github.com/felixfbecker/php-language-server-protocol/issues",
|
||||||
"source": "https://github.com/felixfbecker/php-language-server-protocol/tree/v1.5.0"
|
"source": "https://github.com/felixfbecker/php-language-server-protocol/tree/1.5.1"
|
||||||
},
|
},
|
||||||
"time": "2020-10-23T13:55:30+00:00"
|
"time": "2021-02-22T14:02:09+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "matthiasmullie/minify",
|
"name": "matthiasmullie/minify",
|
||||||
|
@ -2962,16 +2962,16 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phar-io/version",
|
"name": "phar-io/version",
|
||||||
"version": "3.0.4",
|
"version": "3.1.0",
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/phar-io/version.git",
|
"url": "https://github.com/phar-io/version.git",
|
||||||
"reference": "e4782611070e50613683d2b9a57730e9a3ba5451"
|
"reference": "bae7c545bef187884426f042434e561ab1ddb182"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/phar-io/version/zipball/e4782611070e50613683d2b9a57730e9a3ba5451",
|
"url": "https://api.github.com/repos/phar-io/version/zipball/bae7c545bef187884426f042434e561ab1ddb182",
|
||||||
"reference": "e4782611070e50613683d2b9a57730e9a3ba5451",
|
"reference": "bae7c545bef187884426f042434e561ab1ddb182",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -3007,9 +3007,9 @@
|
||||||
"description": "Library for handling version information and constraints",
|
"description": "Library for handling version information and constraints",
|
||||||
"support": {
|
"support": {
|
||||||
"issues": "https://github.com/phar-io/version/issues",
|
"issues": "https://github.com/phar-io/version/issues",
|
||||||
"source": "https://github.com/phar-io/version/tree/3.0.4"
|
"source": "https://github.com/phar-io/version/tree/3.1.0"
|
||||||
},
|
},
|
||||||
"time": "2020-12-13T23:18:30+00:00"
|
"time": "2021-02-23T14:00:09+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpdocumentor/reflection-common",
|
"name": "phpdocumentor/reflection-common",
|
||||||
|
@ -3322,12 +3322,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
|
"url": "https://github.com/sebastianbergmann/php-file-iterator.git",
|
||||||
"reference": "05fa32de35b15c94838d22482cc59d99860a706f"
|
"reference": "dae425925709122f7584cadeeb838edcaa491bb1"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/05fa32de35b15c94838d22482cc59d99860a706f",
|
"url": "https://api.github.com/repos/sebastianbergmann/php-file-iterator/zipball/dae425925709122f7584cadeeb838edcaa491bb1",
|
||||||
"reference": "05fa32de35b15c94838d22482cc59d99860a706f",
|
"reference": "dae425925709122f7584cadeeb838edcaa491bb1",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -3375,7 +3375,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-02-14T06:52:34+00:00"
|
"time": "2021-02-23T15:48:43+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/php-invoker",
|
"name": "phpunit/php-invoker",
|
||||||
|
@ -3383,12 +3383,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/php-invoker.git",
|
"url": "https://github.com/sebastianbergmann/php-invoker.git",
|
||||||
"reference": "7bba8d62fc6140730c268d5ff7fbf9c3a54996a8"
|
"reference": "5ad9e5f5d6ee1a837e1d50bab1017e0daf423b40"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/7bba8d62fc6140730c268d5ff7fbf9c3a54996a8",
|
"url": "https://api.github.com/repos/sebastianbergmann/php-invoker/zipball/5ad9e5f5d6ee1a837e1d50bab1017e0daf423b40",
|
||||||
"reference": "7bba8d62fc6140730c268d5ff7fbf9c3a54996a8",
|
"reference": "5ad9e5f5d6ee1a837e1d50bab1017e0daf423b40",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -3439,7 +3439,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-02-14T06:52:42+00:00"
|
"time": "2021-02-23T15:48:51+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/php-text-template",
|
"name": "phpunit/php-text-template",
|
||||||
|
@ -3447,12 +3447,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/php-text-template.git",
|
"url": "https://github.com/sebastianbergmann/php-text-template.git",
|
||||||
"reference": "bca9f27936ccd6d7450f16f1ee3f125b755b7905"
|
"reference": "4ec5a2ac79a19b35d0cf83cce30604f77743067a"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/bca9f27936ccd6d7450f16f1ee3f125b755b7905",
|
"url": "https://api.github.com/repos/sebastianbergmann/php-text-template/zipball/4ec5a2ac79a19b35d0cf83cce30604f77743067a",
|
||||||
"reference": "bca9f27936ccd6d7450f16f1ee3f125b755b7905",
|
"reference": "4ec5a2ac79a19b35d0cf83cce30604f77743067a",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -3499,7 +3499,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-02-14T06:53:15+00:00"
|
"time": "2021-02-23T15:49:24+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/php-timer",
|
"name": "phpunit/php-timer",
|
||||||
|
@ -3507,12 +3507,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/php-timer.git",
|
"url": "https://github.com/sebastianbergmann/php-timer.git",
|
||||||
"reference": "e3125d0dc516e7f7ab23d54ddefbce67627fd608"
|
"reference": "705821b0927b5e69e9e016c84de68dc6195c71b9"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/e3125d0dc516e7f7ab23d54ddefbce67627fd608",
|
"url": "https://api.github.com/repos/sebastianbergmann/php-timer/zipball/705821b0927b5e69e9e016c84de68dc6195c71b9",
|
||||||
"reference": "e3125d0dc516e7f7ab23d54ddefbce67627fd608",
|
"reference": "705821b0927b5e69e9e016c84de68dc6195c71b9",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -3559,7 +3559,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-02-14T06:52:50+00:00"
|
"time": "2021-02-23T15:48:59+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "phpunit/phpunit",
|
"name": "phpunit/phpunit",
|
||||||
|
@ -3724,12 +3724,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/cli-parser.git",
|
"url": "https://github.com/sebastianbergmann/cli-parser.git",
|
||||||
"reference": "5a6fc83d266e0fcbf890d4475bfbb713dbb4d202"
|
"reference": "3a42d843af4d27ca1155e1d926881af162733655"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/5a6fc83d266e0fcbf890d4475bfbb713dbb4d202",
|
"url": "https://api.github.com/repos/sebastianbergmann/cli-parser/zipball/3a42d843af4d27ca1155e1d926881af162733655",
|
||||||
"reference": "5a6fc83d266e0fcbf890d4475bfbb713dbb4d202",
|
"reference": "3a42d843af4d27ca1155e1d926881af162733655",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -3773,7 +3773,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-02-14T06:53:40+00:00"
|
"time": "2021-02-23T15:49:50+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/code-unit",
|
"name": "sebastian/code-unit",
|
||||||
|
@ -3837,12 +3837,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
|
"url": "https://github.com/sebastianbergmann/code-unit-reverse-lookup.git",
|
||||||
"reference": "96fc758350a824cf96f9e7847ecdf9bb82c87083"
|
"reference": "5f5db0b35f586eb5bca0581a10bb42dd56575986"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/96fc758350a824cf96f9e7847ecdf9bb82c87083",
|
"url": "https://api.github.com/repos/sebastianbergmann/code-unit-reverse-lookup/zipball/5f5db0b35f586eb5bca0581a10bb42dd56575986",
|
||||||
"reference": "96fc758350a824cf96f9e7847ecdf9bb82c87083",
|
"reference": "5f5db0b35f586eb5bca0581a10bb42dd56575986",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -3885,7 +3885,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-02-14T06:51:27+00:00"
|
"time": "2021-02-23T15:47:39+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/comparator",
|
"name": "sebastian/comparator",
|
||||||
|
@ -3893,12 +3893,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/comparator.git",
|
"url": "https://github.com/sebastianbergmann/comparator.git",
|
||||||
"reference": "3b943ec66244e5d0a5252708d1c9073ae6d3efc9"
|
"reference": "dbc5fb421f242a5749845dc8dd0dc8cde2979dd9"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/3b943ec66244e5d0a5252708d1c9073ae6d3efc9",
|
"url": "https://api.github.com/repos/sebastianbergmann/comparator/zipball/dbc5fb421f242a5749845dc8dd0dc8cde2979dd9",
|
||||||
"reference": "3b943ec66244e5d0a5252708d1c9073ae6d3efc9",
|
"reference": "dbc5fb421f242a5749845dc8dd0dc8cde2979dd9",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -3960,7 +3960,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-02-14T06:51:35+00:00"
|
"time": "2021-02-23T15:47:47+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/complexity",
|
"name": "sebastian/complexity",
|
||||||
|
@ -4025,12 +4025,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/diff.git",
|
"url": "https://github.com/sebastianbergmann/diff.git",
|
||||||
"reference": "1895a1a29e197f7d31099a320b2a3ae9e428b21d"
|
"reference": "93e6aa13f3dc5f8327e7fb9756e9655fc4c23e90"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/1895a1a29e197f7d31099a320b2a3ae9e428b21d",
|
"url": "https://api.github.com/repos/sebastianbergmann/diff/zipball/93e6aa13f3dc5f8327e7fb9756e9655fc4c23e90",
|
||||||
"reference": "1895a1a29e197f7d31099a320b2a3ae9e428b21d",
|
"reference": "93e6aa13f3dc5f8327e7fb9756e9655fc4c23e90",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -4084,7 +4084,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-02-14T06:51:43+00:00"
|
"time": "2021-02-23T15:47:55+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/environment",
|
"name": "sebastian/environment",
|
||||||
|
@ -4092,12 +4092,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/environment.git",
|
"url": "https://github.com/sebastianbergmann/environment.git",
|
||||||
"reference": "7f8f2720df4d03d4368edadac24c3a7950b6cdc5"
|
"reference": "6e1743b808be9cfd33a716583ccb94b7d4d32e94"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/7f8f2720df4d03d4368edadac24c3a7950b6cdc5",
|
"url": "https://api.github.com/repos/sebastianbergmann/environment/zipball/6e1743b808be9cfd33a716583ccb94b7d4d32e94",
|
||||||
"reference": "7f8f2720df4d03d4368edadac24c3a7950b6cdc5",
|
"reference": "6e1743b808be9cfd33a716583ccb94b7d4d32e94",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -4148,7 +4148,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-02-14T06:51:52+00:00"
|
"time": "2021-02-23T15:48:03+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/exporter",
|
"name": "sebastian/exporter",
|
||||||
|
@ -4156,12 +4156,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/exporter.git",
|
"url": "https://github.com/sebastianbergmann/exporter.git",
|
||||||
"reference": "c6819d6edff3496f28c29a9ed61c564a9fdae27b"
|
"reference": "eca7281ab29075df68b113a37a83be616b629b12"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/c6819d6edff3496f28c29a9ed61c564a9fdae27b",
|
"url": "https://api.github.com/repos/sebastianbergmann/exporter/zipball/eca7281ab29075df68b113a37a83be616b629b12",
|
||||||
"reference": "c6819d6edff3496f28c29a9ed61c564a9fdae27b",
|
"reference": "eca7281ab29075df68b113a37a83be616b629b12",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -4226,7 +4226,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-02-14T06:52:00+00:00"
|
"time": "2021-02-23T15:48:12+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/global-state",
|
"name": "sebastian/global-state",
|
||||||
|
@ -4234,12 +4234,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/global-state.git",
|
"url": "https://github.com/sebastianbergmann/global-state.git",
|
||||||
"reference": "a912746c9e31610f52b8e6977107e745c758cfd8"
|
"reference": "0ac702e6d13725242edb9b294c5d20b92fcfb8b4"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/a912746c9e31610f52b8e6977107e745c758cfd8",
|
"url": "https://api.github.com/repos/sebastianbergmann/global-state/zipball/0ac702e6d13725242edb9b294c5d20b92fcfb8b4",
|
||||||
"reference": "a912746c9e31610f52b8e6977107e745c758cfd8",
|
"reference": "0ac702e6d13725242edb9b294c5d20b92fcfb8b4",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -4291,7 +4291,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-02-14T06:52:09+00:00"
|
"time": "2021-02-23T15:48:19+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/lines-of-code",
|
"name": "sebastian/lines-of-code",
|
||||||
|
@ -4356,12 +4356,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/object-enumerator.git",
|
"url": "https://github.com/sebastianbergmann/object-enumerator.git",
|
||||||
"reference": "79f258bf9b9f9f1aff7ec27fa3e0d5d7ef344088"
|
"reference": "8cc80b4bda00a4c5997c3fc597a34872f3a1007d"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/79f258bf9b9f9f1aff7ec27fa3e0d5d7ef344088",
|
"url": "https://api.github.com/repos/sebastianbergmann/object-enumerator/zipball/8cc80b4bda00a4c5997c3fc597a34872f3a1007d",
|
||||||
"reference": "79f258bf9b9f9f1aff7ec27fa3e0d5d7ef344088",
|
"reference": "8cc80b4bda00a4c5997c3fc597a34872f3a1007d",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -4406,7 +4406,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-02-14T06:52:17+00:00"
|
"time": "2021-02-23T15:48:28+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/object-reflector",
|
"name": "sebastian/object-reflector",
|
||||||
|
@ -4414,12 +4414,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/object-reflector.git",
|
"url": "https://github.com/sebastianbergmann/object-reflector.git",
|
||||||
"reference": "232add5a51167e359e1dd03334ebffaddfb95795"
|
"reference": "1d33587c2c3e636936f895e103a9e82dd8102a8e"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/232add5a51167e359e1dd03334ebffaddfb95795",
|
"url": "https://api.github.com/repos/sebastianbergmann/object-reflector/zipball/1d33587c2c3e636936f895e103a9e82dd8102a8e",
|
||||||
"reference": "232add5a51167e359e1dd03334ebffaddfb95795",
|
"reference": "1d33587c2c3e636936f895e103a9e82dd8102a8e",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -4462,7 +4462,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-02-14T06:52:26+00:00"
|
"time": "2021-02-23T15:48:35+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/recursion-context",
|
"name": "sebastian/recursion-context",
|
||||||
|
@ -4470,12 +4470,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/recursion-context.git",
|
"url": "https://github.com/sebastianbergmann/recursion-context.git",
|
||||||
"reference": "d6cde15be46e8e5cc8671ceb41b63b69dfd7bd5a"
|
"reference": "43f58a51e8f853aadb228ba818d2be388af7237b"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/d6cde15be46e8e5cc8671ceb41b63b69dfd7bd5a",
|
"url": "https://api.github.com/repos/sebastianbergmann/recursion-context/zipball/43f58a51e8f853aadb228ba818d2be388af7237b",
|
||||||
"reference": "d6cde15be46e8e5cc8671ceb41b63b69dfd7bd5a",
|
"reference": "43f58a51e8f853aadb228ba818d2be388af7237b",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -4526,7 +4526,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-02-14T06:52:58+00:00"
|
"time": "2021-02-23T15:49:08+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/resource-operations",
|
"name": "sebastian/resource-operations",
|
||||||
|
@ -4590,12 +4590,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/sebastianbergmann/type.git",
|
"url": "https://github.com/sebastianbergmann/type.git",
|
||||||
"reference": "8abc9c1947c9f928da999be28778a0ba48cdf5b4"
|
"reference": "557863473c1de00e165a288d5b547f1f83652e7e"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/sebastianbergmann/type/zipball/8abc9c1947c9f928da999be28778a0ba48cdf5b4",
|
"url": "https://api.github.com/repos/sebastianbergmann/type/zipball/557863473c1de00e165a288d5b547f1f83652e7e",
|
||||||
"reference": "8abc9c1947c9f928da999be28778a0ba48cdf5b4",
|
"reference": "557863473c1de00e165a288d5b547f1f83652e7e",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -4639,7 +4639,7 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-02-14T06:53:07+00:00"
|
"time": "2021-02-23T15:49:16+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "sebastian/version",
|
"name": "sebastian/version",
|
||||||
|
@ -4738,12 +4738,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/console.git",
|
"url": "https://github.com/symfony/console.git",
|
||||||
"reference": "2a6f75224a537ee506e9fa1e6fc4200ad411ffd9"
|
"reference": "c08d7d0d458eceb62996d81d3be8d9fbf5564ec4"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/console/zipball/2a6f75224a537ee506e9fa1e6fc4200ad411ffd9",
|
"url": "https://api.github.com/repos/symfony/console/zipball/c08d7d0d458eceb62996d81d3be8d9fbf5564ec4",
|
||||||
"reference": "2a6f75224a537ee506e9fa1e6fc4200ad411ffd9",
|
"reference": "c08d7d0d458eceb62996d81d3be8d9fbf5564ec4",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -4828,7 +4828,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-02-17T15:27:35+00:00"
|
"time": "2021-02-23T10:10:15+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/polyfill-ctype",
|
"name": "symfony/polyfill-ctype",
|
||||||
|
@ -5328,12 +5328,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/symfony/service-contracts.git",
|
"url": "https://github.com/symfony/service-contracts.git",
|
||||||
"reference": "bf99754c6182a126968b1c2709d18548489f27eb"
|
"reference": "e830e6ceebd6377b019e4c9a523d6f2c27007e4a"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/bf99754c6182a126968b1c2709d18548489f27eb",
|
"url": "https://api.github.com/repos/symfony/service-contracts/zipball/e830e6ceebd6377b019e4c9a523d6f2c27007e4a",
|
||||||
"reference": "bf99754c6182a126968b1c2709d18548489f27eb",
|
"reference": "e830e6ceebd6377b019e4c9a523d6f2c27007e4a",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -5347,7 +5347,7 @@
|
||||||
"type": "library",
|
"type": "library",
|
||||||
"extra": {
|
"extra": {
|
||||||
"branch-alias": {
|
"branch-alias": {
|
||||||
"dev-main": "2.3-dev"
|
"dev-main": "2.4-dev"
|
||||||
},
|
},
|
||||||
"thanks": {
|
"thanks": {
|
||||||
"name": "symfony/contracts",
|
"name": "symfony/contracts",
|
||||||
|
@ -5400,7 +5400,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-01-27T16:27:53+00:00"
|
"time": "2021-02-25T16:38:04+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "symfony/string",
|
"name": "symfony/string",
|
||||||
|
@ -5542,12 +5542,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/twigphp/Twig.git",
|
"url": "https://github.com/twigphp/Twig.git",
|
||||||
"reference": "429f90a02d3bd4a06787ac9bc48c56c4320b58a0"
|
"reference": "728c611e8643a5dd44839ffa791e21763b04a694"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/twigphp/Twig/zipball/429f90a02d3bd4a06787ac9bc48c56c4320b58a0",
|
"url": "https://api.github.com/repos/twigphp/Twig/zipball/728c611e8643a5dd44839ffa791e21763b04a694",
|
||||||
"reference": "429f90a02d3bd4a06787ac9bc48c56c4320b58a0",
|
"reference": "728c611e8643a5dd44839ffa791e21763b04a694",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -5613,7 +5613,7 @@
|
||||||
"type": "tidelift"
|
"type": "tidelift"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"time": "2021-02-08T09:50:07+00:00"
|
"time": "2021-02-22T11:56:05+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "vimeo/psalm",
|
"name": "vimeo/psalm",
|
||||||
|
@ -5726,12 +5726,12 @@
|
||||||
"source": {
|
"source": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/webmozarts/assert.git",
|
"url": "https://github.com/webmozarts/assert.git",
|
||||||
"reference": "9c89b265ccc4092d58e66d72af5d343ee77a41ae"
|
"reference": "4631e2c7d2d7132adac9fd84d4c1a98c10a6e049"
|
||||||
},
|
},
|
||||||
"dist": {
|
"dist": {
|
||||||
"type": "zip",
|
"type": "zip",
|
||||||
"url": "https://api.github.com/repos/webmozarts/assert/zipball/9c89b265ccc4092d58e66d72af5d343ee77a41ae",
|
"url": "https://api.github.com/repos/webmozarts/assert/zipball/4631e2c7d2d7132adac9fd84d4c1a98c10a6e049",
|
||||||
"reference": "9c89b265ccc4092d58e66d72af5d343ee77a41ae",
|
"reference": "4631e2c7d2d7132adac9fd84d4c1a98c10a6e049",
|
||||||
"shasum": ""
|
"shasum": ""
|
||||||
},
|
},
|
||||||
"require": {
|
"require": {
|
||||||
|
@ -5777,7 +5777,7 @@
|
||||||
"issues": "https://github.com/webmozarts/assert/issues",
|
"issues": "https://github.com/webmozarts/assert/issues",
|
||||||
"source": "https://github.com/webmozarts/assert/tree/master"
|
"source": "https://github.com/webmozarts/assert/tree/master"
|
||||||
},
|
},
|
||||||
"time": "2021-01-18T12:52:36+00:00"
|
"time": "2021-02-28T20:01:57+00:00"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "webmozart/path-util",
|
"name": "webmozart/path-util",
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = account.createOAuth2Session(
|
Future result = account.createOAuth2Session(
|
||||||
provider: 'amazon',
|
provider: 'amazon',
|
||||||
);
|
);
|
||||||
|
@ -19,4 +18,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = account.createRecovery(
|
Future result = account.createRecovery(
|
||||||
email: 'email@example.com',
|
email: 'email@example.com',
|
||||||
url: 'https://example.com',
|
url: 'https://example.com',
|
||||||
|
@ -20,4 +19,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = account.createSession(
|
Future result = account.createSession(
|
||||||
email: 'email@example.com',
|
email: 'email@example.com',
|
||||||
password: 'password',
|
password: 'password',
|
||||||
|
@ -20,4 +19,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = account.createVerification(
|
Future result = account.createVerification(
|
||||||
url: 'https://example.com',
|
url: 'https://example.com',
|
||||||
);
|
);
|
||||||
|
@ -19,4 +18,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = account.create(
|
Future result = account.create(
|
||||||
email: 'email@example.com',
|
email: 'email@example.com',
|
||||||
password: 'password',
|
password: 'password',
|
||||||
|
@ -20,4 +19,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = account.deleteSession(
|
Future result = account.deleteSession(
|
||||||
sessionId: '[SESSION_ID]',
|
sessionId: '[SESSION_ID]',
|
||||||
);
|
);
|
||||||
|
@ -19,4 +18,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = account.deleteSessions();
|
Future result = account.deleteSessions();
|
||||||
|
|
||||||
result
|
result
|
||||||
|
@ -17,4 +16,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = account.delete();
|
Future result = account.delete();
|
||||||
|
|
||||||
result
|
result
|
||||||
|
@ -17,4 +16,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = account.getLogs();
|
Future result = account.getLogs();
|
||||||
|
|
||||||
result
|
result
|
||||||
|
@ -17,4 +16,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = account.getPrefs();
|
Future result = account.getPrefs();
|
||||||
|
|
||||||
result
|
result
|
||||||
|
@ -17,4 +16,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = account.getSessions();
|
Future result = account.getSessions();
|
||||||
|
|
||||||
result
|
result
|
||||||
|
@ -17,4 +16,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = account.get();
|
Future result = account.get();
|
||||||
|
|
||||||
result
|
result
|
||||||
|
@ -17,4 +16,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = account.updateEmail(
|
Future result = account.updateEmail(
|
||||||
email: 'email@example.com',
|
email: 'email@example.com',
|
||||||
password: 'password',
|
password: 'password',
|
||||||
|
@ -20,4 +19,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = account.updateName(
|
Future result = account.updateName(
|
||||||
name: '[NAME]',
|
name: '[NAME]',
|
||||||
);
|
);
|
||||||
|
@ -19,4 +18,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = account.updatePassword(
|
Future result = account.updatePassword(
|
||||||
password: 'password',
|
password: 'password',
|
||||||
oldPassword: 'password',
|
oldPassword: 'password',
|
||||||
|
@ -20,4 +19,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = account.updatePrefs(
|
Future result = account.updatePrefs(
|
||||||
prefs: {},
|
prefs: {},
|
||||||
);
|
);
|
||||||
|
@ -19,4 +18,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = account.updateRecovery(
|
Future result = account.updateRecovery(
|
||||||
userId: '[USER_ID]',
|
userId: '[USER_ID]',
|
||||||
secret: '[SECRET]',
|
secret: '[SECRET]',
|
||||||
|
@ -22,4 +21,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = account.updateVerification(
|
Future result = account.updateVerification(
|
||||||
userId: '[USER_ID]',
|
userId: '[USER_ID]',
|
||||||
secret: '[SECRET]',
|
secret: '[SECRET]',
|
||||||
|
@ -20,4 +19,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,10 +8,18 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
}
|
||||||
|
|
||||||
String result = avatars.getBrowser(
|
//displaying image
|
||||||
|
FutureBuilder(
|
||||||
|
future: avatars.getBrowser(
|
||||||
code: 'aa',
|
code: 'aa',
|
||||||
);
|
), //works for both public file and private file, for private files you need to be logged in
|
||||||
|
builder: (context, snapshot) {
|
||||||
print(result); // Resource URL string
|
return snapshot.hasData && snapshot.data != null
|
||||||
}
|
? Image.memory(
|
||||||
|
snapshot.data.data,
|
||||||
|
)
|
||||||
|
: CircularProgressIndicator();
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
|
@ -8,10 +8,18 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
}
|
||||||
|
|
||||||
String result = avatars.getCreditCard(
|
//displaying image
|
||||||
|
FutureBuilder(
|
||||||
|
future: avatars.getCreditCard(
|
||||||
code: 'amex',
|
code: 'amex',
|
||||||
);
|
), //works for both public file and private file, for private files you need to be logged in
|
||||||
|
builder: (context, snapshot) {
|
||||||
print(result); // Resource URL string
|
return snapshot.hasData && snapshot.data != null
|
||||||
}
|
? Image.memory(
|
||||||
|
snapshot.data.data,
|
||||||
|
)
|
||||||
|
: CircularProgressIndicator();
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
|
@ -8,10 +8,18 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
}
|
||||||
|
|
||||||
String result = avatars.getFavicon(
|
//displaying image
|
||||||
|
FutureBuilder(
|
||||||
|
future: avatars.getFavicon(
|
||||||
url: 'https://example.com',
|
url: 'https://example.com',
|
||||||
);
|
), //works for both public file and private file, for private files you need to be logged in
|
||||||
|
builder: (context, snapshot) {
|
||||||
print(result); // Resource URL string
|
return snapshot.hasData && snapshot.data != null
|
||||||
}
|
? Image.memory(
|
||||||
|
snapshot.data.data,
|
||||||
|
)
|
||||||
|
: CircularProgressIndicator();
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
|
@ -8,10 +8,18 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
}
|
||||||
|
|
||||||
String result = avatars.getFlag(
|
//displaying image
|
||||||
|
FutureBuilder(
|
||||||
|
future: avatars.getFlag(
|
||||||
code: 'af',
|
code: 'af',
|
||||||
);
|
), //works for both public file and private file, for private files you need to be logged in
|
||||||
|
builder: (context, snapshot) {
|
||||||
print(result); // Resource URL string
|
return snapshot.hasData && snapshot.data != null
|
||||||
}
|
? Image.memory(
|
||||||
|
snapshot.data.data,
|
||||||
|
)
|
||||||
|
: CircularProgressIndicator();
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
|
@ -8,10 +8,18 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
}
|
||||||
|
|
||||||
String result = avatars.getImage(
|
//displaying image
|
||||||
|
FutureBuilder(
|
||||||
|
future: avatars.getImage(
|
||||||
url: 'https://example.com',
|
url: 'https://example.com',
|
||||||
);
|
), //works for both public file and private file, for private files you need to be logged in
|
||||||
|
builder: (context, snapshot) {
|
||||||
print(result); // Resource URL string
|
return snapshot.hasData && snapshot.data != null
|
||||||
}
|
? Image.memory(
|
||||||
|
snapshot.data.data,
|
||||||
|
)
|
||||||
|
: CircularProgressIndicator();
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
|
@ -8,9 +8,17 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
}
|
||||||
|
|
||||||
String result = avatars.getInitials(
|
//displaying image
|
||||||
);
|
FutureBuilder(
|
||||||
|
future: avatars.getInitials(
|
||||||
print(result); // Resource URL string
|
), //works for both public file and private file, for private files you need to be logged in
|
||||||
}
|
builder: (context, snapshot) {
|
||||||
|
return snapshot.hasData && snapshot.data != null
|
||||||
|
? Image.memory(
|
||||||
|
snapshot.data.data,
|
||||||
|
)
|
||||||
|
: CircularProgressIndicator();
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
|
@ -8,10 +8,18 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
}
|
||||||
|
|
||||||
String result = avatars.getQR(
|
//displaying image
|
||||||
|
FutureBuilder(
|
||||||
|
future: avatars.getQR(
|
||||||
text: '[TEXT]',
|
text: '[TEXT]',
|
||||||
);
|
), //works for both public file and private file, for private files you need to be logged in
|
||||||
|
builder: (context, snapshot) {
|
||||||
print(result); // Resource URL string
|
return snapshot.hasData && snapshot.data != null
|
||||||
}
|
? Image.memory(
|
||||||
|
snapshot.data.data,
|
||||||
|
)
|
||||||
|
: CircularProgressIndicator();
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = database.createDocument(
|
Future result = database.createDocument(
|
||||||
collectionId: '[COLLECTION_ID]',
|
collectionId: '[COLLECTION_ID]',
|
||||||
data: {},
|
data: {},
|
||||||
|
@ -22,4 +21,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = database.deleteDocument(
|
Future result = database.deleteDocument(
|
||||||
collectionId: '[COLLECTION_ID]',
|
collectionId: '[COLLECTION_ID]',
|
||||||
documentId: '[DOCUMENT_ID]',
|
documentId: '[DOCUMENT_ID]',
|
||||||
|
@ -20,4 +19,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = database.getDocument(
|
Future result = database.getDocument(
|
||||||
collectionId: '[COLLECTION_ID]',
|
collectionId: '[COLLECTION_ID]',
|
||||||
documentId: '[DOCUMENT_ID]',
|
documentId: '[DOCUMENT_ID]',
|
||||||
|
@ -20,4 +19,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = database.listDocuments(
|
Future result = database.listDocuments(
|
||||||
collectionId: '[COLLECTION_ID]',
|
collectionId: '[COLLECTION_ID]',
|
||||||
);
|
);
|
||||||
|
@ -19,4 +18,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = database.updateDocument(
|
Future result = database.updateDocument(
|
||||||
collectionId: '[COLLECTION_ID]',
|
collectionId: '[COLLECTION_ID]',
|
||||||
documentId: '[DOCUMENT_ID]',
|
documentId: '[DOCUMENT_ID]',
|
||||||
|
@ -23,4 +22,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = functions.createExecution(
|
Future result = functions.createExecution(
|
||||||
functionId: '[FUNCTION_ID]',
|
functionId: '[FUNCTION_ID]',
|
||||||
);
|
);
|
||||||
|
@ -19,4 +18,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = functions.getExecution(
|
Future result = functions.getExecution(
|
||||||
functionId: '[FUNCTION_ID]',
|
functionId: '[FUNCTION_ID]',
|
||||||
executionId: '[EXECUTION_ID]',
|
executionId: '[EXECUTION_ID]',
|
||||||
|
@ -20,4 +19,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = functions.listExecutions(
|
Future result = functions.listExecutions(
|
||||||
functionId: '[FUNCTION_ID]',
|
functionId: '[FUNCTION_ID]',
|
||||||
);
|
);
|
||||||
|
@ -19,4 +18,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = locale.getContinents();
|
Future result = locale.getContinents();
|
||||||
|
|
||||||
result
|
result
|
||||||
|
@ -17,4 +16,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = locale.getCountriesEU();
|
Future result = locale.getCountriesEU();
|
||||||
|
|
||||||
result
|
result
|
||||||
|
@ -17,4 +16,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = locale.getCountriesPhones();
|
Future result = locale.getCountriesPhones();
|
||||||
|
|
||||||
result
|
result
|
||||||
|
@ -17,4 +16,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = locale.getCountries();
|
Future result = locale.getCountries();
|
||||||
|
|
||||||
result
|
result
|
||||||
|
@ -17,4 +16,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = locale.getCurrencies();
|
Future result = locale.getCurrencies();
|
||||||
|
|
||||||
result
|
result
|
||||||
|
@ -17,4 +16,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = locale.getLanguages();
|
Future result = locale.getLanguages();
|
||||||
|
|
||||||
result
|
result
|
||||||
|
@ -17,4 +16,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = locale.get();
|
Future result = locale.get();
|
||||||
|
|
||||||
result
|
result
|
||||||
|
@ -17,4 +16,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = storage.createFile(
|
Future result = storage.createFile(
|
||||||
file: await MultipartFile.fromFile('./path-to-files/image.jpg', 'image.jpg'),
|
file: await MultipartFile.fromFile('./path-to-files/image.jpg', 'image.jpg'),
|
||||||
read: [],
|
read: [],
|
||||||
|
@ -22,4 +21,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = storage.deleteFile(
|
Future result = storage.deleteFile(
|
||||||
fileId: '[FILE_ID]',
|
fileId: '[FILE_ID]',
|
||||||
);
|
);
|
||||||
|
@ -19,4 +18,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,10 +8,18 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
}
|
||||||
|
|
||||||
String result = storage.getFileDownload(
|
//displaying image
|
||||||
|
FutureBuilder(
|
||||||
|
future: storage.getFileDownload(
|
||||||
fileId: '[FILE_ID]',
|
fileId: '[FILE_ID]',
|
||||||
);
|
), //works for both public file and private file, for private files you need to be logged in
|
||||||
|
builder: (context, snapshot) {
|
||||||
print(result); // Resource URL string
|
return snapshot.hasData && snapshot.data != null
|
||||||
}
|
? Image.memory(
|
||||||
|
snapshot.data.data,
|
||||||
|
)
|
||||||
|
: CircularProgressIndicator();
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
|
@ -8,10 +8,18 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
}
|
||||||
|
|
||||||
String result = storage.getFilePreview(
|
//displaying image
|
||||||
|
FutureBuilder(
|
||||||
|
future: storage.getFilePreview(
|
||||||
fileId: '[FILE_ID]',
|
fileId: '[FILE_ID]',
|
||||||
);
|
), //works for both public file and private file, for private files you need to be logged in
|
||||||
|
builder: (context, snapshot) {
|
||||||
print(result); // Resource URL string
|
return snapshot.hasData && snapshot.data != null
|
||||||
}
|
? Image.memory(
|
||||||
|
snapshot.data.data,
|
||||||
|
)
|
||||||
|
: CircularProgressIndicator();
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
|
@ -8,10 +8,18 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
}
|
||||||
|
|
||||||
String result = storage.getFileView(
|
//displaying image
|
||||||
|
FutureBuilder(
|
||||||
|
future: storage.getFileView(
|
||||||
fileId: '[FILE_ID]',
|
fileId: '[FILE_ID]',
|
||||||
);
|
), //works for both public file and private file, for private files you need to be logged in
|
||||||
|
builder: (context, snapshot) {
|
||||||
print(result); // Resource URL string
|
return snapshot.hasData && snapshot.data != null
|
||||||
}
|
? Image.memory(
|
||||||
|
snapshot.data.data,
|
||||||
|
)
|
||||||
|
: CircularProgressIndicator();
|
||||||
|
},
|
||||||
|
);
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = storage.getFile(
|
Future result = storage.getFile(
|
||||||
fileId: '[FILE_ID]',
|
fileId: '[FILE_ID]',
|
||||||
);
|
);
|
||||||
|
@ -19,4 +18,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = storage.listFiles(
|
Future result = storage.listFiles(
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -18,4 +17,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = storage.updateFile(
|
Future result = storage.updateFile(
|
||||||
fileId: '[FILE_ID]',
|
fileId: '[FILE_ID]',
|
||||||
read: [],
|
read: [],
|
||||||
|
@ -21,4 +20,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = teams.createMembership(
|
Future result = teams.createMembership(
|
||||||
teamId: '[TEAM_ID]',
|
teamId: '[TEAM_ID]',
|
||||||
email: 'email@example.com',
|
email: 'email@example.com',
|
||||||
|
@ -22,4 +21,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = teams.create(
|
Future result = teams.create(
|
||||||
name: '[NAME]',
|
name: '[NAME]',
|
||||||
);
|
);
|
||||||
|
@ -19,4 +18,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = teams.deleteMembership(
|
Future result = teams.deleteMembership(
|
||||||
teamId: '[TEAM_ID]',
|
teamId: '[TEAM_ID]',
|
||||||
inviteId: '[INVITE_ID]',
|
inviteId: '[INVITE_ID]',
|
||||||
|
@ -20,4 +19,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = teams.delete(
|
Future result = teams.delete(
|
||||||
teamId: '[TEAM_ID]',
|
teamId: '[TEAM_ID]',
|
||||||
);
|
);
|
||||||
|
@ -19,4 +18,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = teams.getMemberships(
|
Future result = teams.getMemberships(
|
||||||
teamId: '[TEAM_ID]',
|
teamId: '[TEAM_ID]',
|
||||||
);
|
);
|
||||||
|
@ -19,4 +18,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = teams.get(
|
Future result = teams.get(
|
||||||
teamId: '[TEAM_ID]',
|
teamId: '[TEAM_ID]',
|
||||||
);
|
);
|
||||||
|
@ -19,4 +18,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = teams.list(
|
Future result = teams.list(
|
||||||
);
|
);
|
||||||
|
|
||||||
|
@ -18,4 +17,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = teams.updateMembershipStatus(
|
Future result = teams.updateMembershipStatus(
|
||||||
teamId: '[TEAM_ID]',
|
teamId: '[TEAM_ID]',
|
||||||
inviteId: '[INVITE_ID]',
|
inviteId: '[INVITE_ID]',
|
||||||
|
@ -22,4 +21,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -8,7 +8,6 @@ void main() { // Init SDK
|
||||||
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
.setEndpoint('https://[HOSTNAME_OR_IP]/v1') // Your API Endpoint
|
||||||
.setProject('5df5acd0d48c2') // Your project ID
|
.setProject('5df5acd0d48c2') // Your project ID
|
||||||
;
|
;
|
||||||
|
|
||||||
Future result = teams.update(
|
Future result = teams.update(
|
||||||
teamId: '[TEAM_ID]',
|
teamId: '[TEAM_ID]',
|
||||||
name: '[NAME]',
|
name: '[NAME]',
|
||||||
|
@ -20,4 +19,4 @@ void main() { // Init SDK
|
||||||
}).catchError((error) {
|
}).catchError((error) {
|
||||||
print(error.response);
|
print(error.response);
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -10,9 +10,14 @@ void main() { // Init SDK
|
||||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||||
;
|
;
|
||||||
|
|
||||||
String result = avatars.getBrowser(
|
Future result = avatars.getBrowser(
|
||||||
code: 'aa',
|
code: 'aa',
|
||||||
);
|
);
|
||||||
|
|
||||||
print(result); // Resource URL string
|
result
|
||||||
|
.then((response) {
|
||||||
|
print(response);
|
||||||
|
}).catchError((error) {
|
||||||
|
print(error.response);
|
||||||
|
});
|
||||||
}
|
}
|
|
@ -10,9 +10,14 @@ void main() { // Init SDK
|
||||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||||
;
|
;
|
||||||
|
|
||||||
String result = avatars.getCreditCard(
|
Future result = avatars.getCreditCard(
|
||||||
code: 'amex',
|
code: 'amex',
|
||||||
);
|
);
|
||||||
|
|
||||||
print(result); // Resource URL string
|
result
|
||||||
|
.then((response) {
|
||||||
|
print(response);
|
||||||
|
}).catchError((error) {
|
||||||
|
print(error.response);
|
||||||
|
});
|
||||||
}
|
}
|
|
@ -10,9 +10,14 @@ void main() { // Init SDK
|
||||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||||
;
|
;
|
||||||
|
|
||||||
String result = avatars.getFavicon(
|
Future result = avatars.getFavicon(
|
||||||
url: 'https://example.com',
|
url: 'https://example.com',
|
||||||
);
|
);
|
||||||
|
|
||||||
print(result); // Resource URL string
|
result
|
||||||
|
.then((response) {
|
||||||
|
print(response);
|
||||||
|
}).catchError((error) {
|
||||||
|
print(error.response);
|
||||||
|
});
|
||||||
}
|
}
|
|
@ -10,9 +10,14 @@ void main() { // Init SDK
|
||||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||||
;
|
;
|
||||||
|
|
||||||
String result = avatars.getFlag(
|
Future result = avatars.getFlag(
|
||||||
code: 'af',
|
code: 'af',
|
||||||
);
|
);
|
||||||
|
|
||||||
print(result); // Resource URL string
|
result
|
||||||
|
.then((response) {
|
||||||
|
print(response);
|
||||||
|
}).catchError((error) {
|
||||||
|
print(error.response);
|
||||||
|
});
|
||||||
}
|
}
|
|
@ -10,9 +10,14 @@ void main() { // Init SDK
|
||||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||||
;
|
;
|
||||||
|
|
||||||
String result = avatars.getImage(
|
Future result = avatars.getImage(
|
||||||
url: 'https://example.com',
|
url: 'https://example.com',
|
||||||
);
|
);
|
||||||
|
|
||||||
print(result); // Resource URL string
|
result
|
||||||
|
.then((response) {
|
||||||
|
print(response);
|
||||||
|
}).catchError((error) {
|
||||||
|
print(error.response);
|
||||||
|
});
|
||||||
}
|
}
|
|
@ -10,8 +10,13 @@ void main() { // Init SDK
|
||||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||||
;
|
;
|
||||||
|
|
||||||
String result = avatars.getInitials(
|
Future result = avatars.getInitials(
|
||||||
);
|
);
|
||||||
|
|
||||||
print(result); // Resource URL string
|
result
|
||||||
|
.then((response) {
|
||||||
|
print(response);
|
||||||
|
}).catchError((error) {
|
||||||
|
print(error.response);
|
||||||
|
});
|
||||||
}
|
}
|
|
@ -10,9 +10,14 @@ void main() { // Init SDK
|
||||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||||
;
|
;
|
||||||
|
|
||||||
String result = avatars.getQR(
|
Future result = avatars.getQR(
|
||||||
text: '[TEXT]',
|
text: '[TEXT]',
|
||||||
);
|
);
|
||||||
|
|
||||||
print(result); // Resource URL string
|
result
|
||||||
|
.then((response) {
|
||||||
|
print(response);
|
||||||
|
}).catchError((error) {
|
||||||
|
print(error.response);
|
||||||
|
});
|
||||||
}
|
}
|
|
@ -10,9 +10,14 @@ void main() { // Init SDK
|
||||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||||
;
|
;
|
||||||
|
|
||||||
String result = storage.getFileDownload(
|
Future result = storage.getFileDownload(
|
||||||
fileId: '[FILE_ID]',
|
fileId: '[FILE_ID]',
|
||||||
);
|
);
|
||||||
|
|
||||||
print(result); // Resource URL string
|
result
|
||||||
|
.then((response) {
|
||||||
|
print(response);
|
||||||
|
}).catchError((error) {
|
||||||
|
print(error.response);
|
||||||
|
});
|
||||||
}
|
}
|
|
@ -10,9 +10,14 @@ void main() { // Init SDK
|
||||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||||
;
|
;
|
||||||
|
|
||||||
String result = storage.getFilePreview(
|
Future result = storage.getFilePreview(
|
||||||
fileId: '[FILE_ID]',
|
fileId: '[FILE_ID]',
|
||||||
);
|
);
|
||||||
|
|
||||||
print(result); // Resource URL string
|
result
|
||||||
|
.then((response) {
|
||||||
|
print(response);
|
||||||
|
}).catchError((error) {
|
||||||
|
print(error.response);
|
||||||
|
});
|
||||||
}
|
}
|
|
@ -10,9 +10,14 @@ void main() { // Init SDK
|
||||||
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
.setKey('919c2d18fb5d4...a2ae413da83346ad2') // Your secret API key
|
||||||
;
|
;
|
||||||
|
|
||||||
String result = storage.getFileView(
|
Future result = storage.getFileView(
|
||||||
fileId: '[FILE_ID]',
|
fileId: '[FILE_ID]',
|
||||||
);
|
);
|
||||||
|
|
||||||
print(result); // Resource URL string
|
result
|
||||||
|
.then((response) {
|
||||||
|
print(response);
|
||||||
|
}).catchError((error) {
|
||||||
|
print(error.response);
|
||||||
|
});
|
||||||
}
|
}
|
|
@ -1,3 +1,13 @@
|
||||||
|
## 0.3.0
|
||||||
|
|
||||||
|
- Improved code quality
|
||||||
|
- Added a custom Appwrite exception
|
||||||
|
- Enabled access to private storage file
|
||||||
|
|
||||||
|
## 0.2.0
|
||||||
|
|
||||||
|
- Upgraded to work with Appwrite 0.7
|
||||||
|
|
||||||
## 0.1.0
|
## 0.1.0
|
||||||
|
|
||||||
- First release
|
- First release
|
|
@ -1,3 +1,13 @@
|
||||||
|
## 0.4.0-dev.1
|
||||||
|
|
||||||
|
- Improved code quality
|
||||||
|
- Enabled access to private storage file
|
||||||
|
- Added easier integration for preview images and the Image widget
|
||||||
|
|
||||||
|
## 0.3.0
|
||||||
|
|
||||||
|
- Upgraded to work with Appwrite 0.7
|
||||||
|
|
||||||
## 0.3.0-dev.2
|
## 0.3.0-dev.2
|
||||||
|
|
||||||
- Fix for an error when using a self-signed certificate for Web
|
- Fix for an error when using a self-signed certificate for Web
|
||||||
|
|
Loading…
Reference in a new issue