1
0
Fork 0
mirror of synced 2024-06-26 10:10:57 +12:00

Removed old SDK config

This commit is contained in:
Eldad Fux 2020-02-03 09:08:26 +02:00
parent d4654aa1d9
commit e13c474477
4 changed files with 3 additions and 94 deletions

View file

@ -23,7 +23,6 @@ use Utopia\Validator\WhiteList;
* Configuration files
*/
$roles = include __DIR__.'/config/roles.php'; // User roles and scopes
$sdks = include __DIR__.'/config/sdks.php'; // List of SDK clients
$services = include __DIR__.'/config/services.php'; // List of services
$webhook = new Event('v1-webhooks', 'WebhooksV1');

View file

@ -1,90 +0,0 @@
<?php
return [
[
'label' => 'JS',
'versions' => ['v1.0.0'],
'logo' => 'javascript.svg',
'link' => 'https://github.com/appwrite/sdk-for-js',
],
[
'label' => 'Node.js',
'versions' => ['v1.0.0'],
'logo' => 'nodejs.svg',
'link' => 'https://github.com/appwrite/sdk-for-node',
],
[
'label' => 'Ruby',
'versions' => ['v1.0.0'],
'logo' => 'ruby.svg',
'link' => 'https://github.com/appwrite/sdk-for-ruby',
],
[
'label' => 'Python',
'versions' => ['v1.0.0'],
'logo' => 'python.svg',
'link' => 'https://github.com/appwrite/sdk-for-python',
],
[
'label' => 'PHP',
'versions' => ['v1.0.0'],
'logo' => 'php.svg',
'link' => 'https://github.com/appwrite/sdk-for-php',
],
[
'label' => 'Go',
'versions' => [],
'logo' => 'go.svg',
'link' => 'https://...',
'tag' => 'Soon',
],
[
'label' => 'Scala',
'versions' => [],
'logo' => 'scala.svg',
'link' => 'https://...',
'tag' => 'Soon',
],
[
'label' => 'Swift',
'versions' => [],
'logo' => 'swift.svg',
'link' => 'https://...',
'tag' => 'Soon',
],
[
'label' => 'C',
'versions' => [],
'logo' => 'c.svg',
'link' => 'https://...',
'tag' => 'Soon',
],
[
'label' => 'C#',
'versions' => [],
'logo' => 'csharp.svg',
'link' => 'https://...',
'tag' => 'Soon',
],
[
'label' => 'Erlang',
'versions' => [],
'logo' => 'erlang.svg',
'link' => 'https://...',
'tag' => 'Soon',
],
[
'label' => 'Kotlin',
'versions' => [],
'logo' => 'kotlin.svg',
'link' => 'https://...',
'tag' => 'Soon',
],
[
'label' => 'Java',
'versions' => [],
'logo' => 'java.svg',
'link' => 'https://...',
'tag' => 'Soon',
],
];

View file

@ -2,7 +2,7 @@
include_once __DIR__ . '/../shared/web.php';
global $utopia, $response, $request, $layout, $version, $providers, $sdks, $platforms;
global $utopia, $response, $request, $layout, $version, $providers, $platforms;
use Utopia\View;

View file

@ -75,7 +75,7 @@ class ProjectLocaleTest extends BaseProjects
$this->assertEquals($response['headers']['status-code'], 200);
$this->assertIsArray($response['body']);
$this->assertCount(28, $response['body']);
$this->assertCount(27, $response['body']);
$this->assertEquals($response['body']['DE'], 'Germany');
// Test locale code change to ES
@ -88,7 +88,7 @@ class ProjectLocaleTest extends BaseProjects
$this->assertEquals($response['headers']['status-code'], 200);
$this->assertIsArray($response['body']);
$this->assertCount(28, $response['body']);
$this->assertCount(27, $response['body']);
$this->assertEquals($response['body']['DE'], 'Alemania');
return $data;