1
0
Fork 0
mirror of synced 2024-06-03 11:24:48 +12:00

Merge branch '0.6' of github.com:appwrite/appwrite into feature--flutter-support

This commit is contained in:
Eldad Fux 2020-04-18 16:59:34 +03:00
commit e20e262482
5 changed files with 8 additions and 11 deletions

View file

@ -4,6 +4,7 @@
* Added support for Flutter iOS & Android apps
* New locale for Khmer
* Added TypeScript type hinting to the JS SDK (@zevektor)
## Breaking Changes

View file

@ -125,7 +125,7 @@ This will allow the Appwrite community to have sufficient discussion about the n
This is also important for the Appwrite lead developers to be able to give technical input and different emphasize regarding the feature design and architecture.
## Setup
## Setup From Source
To set up a working **development environment**, just fork the project git repository and install the backend and frontend dependencies using the proper package manager and create run the docker-compose stack.
@ -138,10 +138,6 @@ git clone git@github.com:[YOUR_FORK_HERE]/appwrite.git
cd appwrite
composer update --ignore-platform-reqs --optimize-autoloader --no-plugins --no-scripts
npm install
docker-compose up -d
```

View file

@ -383,8 +383,8 @@ $utopia->get('/v1/database/collections/:collectionId/documents')
->param('orderType', 'ASC', function () { return new WhiteList(array('DESC', 'ASC')); }, 'Order direction. Possible values are DESC for descending order, or ASC for ascending order.', true)
->param('orderCast', 'string', function () { return new WhiteList(array('int', 'string', 'date', 'time', 'datetime')); }, 'Order field type casting. Possible values are int, string, date, time or datetime. The database will attempt to cast the order field to the value you pass here. The default value is a string.', true)
->param('search', '', function () { return new Text(256); }, 'Search query. Enter any free text search. The database will try to find a match against all document attributes and children.', true)
->param('first', 0, function () { return new Range(0, 1); }, 'Return only first document. Pass 1 for true or 0 for false. The default value is 0.', true)
->param('last', 0, function () { return new Range(0, 1); }, 'Return only last document. Pass 1 for true or 0 for false. The default value is 0.', true)
->param('first', 0, function () { return new Range(0, 1); }, 'Return only the first document. Pass 1 for true or 0 for false. The default value is 0.', true)
->param('last', 0, function () { return new Range(0, 1); }, 'Return only the last document. Pass 1 for true or 0 for false. The default value is 0.', true)
->action(
function ($collectionId, $filters, $offset, $limit, $orderField, $orderType, $orderCast, $search, $first, $last) use ($response, $projectDB, $isDev) {
$collection = $projectDB->getDocument($collectionId, $isDev);

View file

@ -2,4 +2,4 @@ The account service allows you to authenticate and manage a user account. You ca
You can authenticate the user account by using multiple sign-in methods available. Once the user is authenticated, a new session object will be created to allow the user to access his or her private data and settings.
This service also exposes an endpoint to save and read the [user preferences](/docs/account#updatePrefs) as a key-value object. This feature is handy if you want to allow extra customization in your app. Common usage for this feature may include saving the user preferred locale, timezone, or custom app theme. The usage of this feature is only limited only by your imagination.
This service also exposes an endpoint to save and read the [user preferences](/docs/account#updatePrefs) as a key-value object. This feature is handy if you want to allow extra customization in your app. Common usage for this feature may include saving the user preferred locale, timezone, or custom app theme.

View file

@ -1,5 +1,5 @@
The avatars service aims to help you complete everyday tasks related to your app image, icons, and avatars. Using this service, we hope to save you some precious time and help you focus on solving your real app challenges.
The avatars service aims to help you complete everyday tasks related to your app image, icons, and avatars.
The Avatars service allows you to fetch countries' flags, browser icons, payment methods logos, remote websites favicons, generate QR codes, and manipulate remote images URLs.
The Avatars service allows you to fetch country flags, browser icons, payment methods logos, remote websites favicons, generate QR codes, and manipulate remote images URLs.
All endpoints in this service allow you to resize, crop, and change the output image quality to best fit in your app both in terms of look and performance.
All endpoints in this service allow you to resize, crop, and change the output image quality for maximum performance and visibility in your app.