Skip to content

Commit 5a6a998

Browse files
committed
chore: fix formatting
1 parent 686550b commit 5a6a998

File tree

11 files changed

+2
-21
lines changed

11 files changed

+2
-21
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "react-native-appwrite",
33
"homepage": "https://appwrite.io/support",
44
"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",
5-
"version": "0.9.1",
5+
"version": "0.10.0",
66
"license": "BSD-3-Clause",
77
"main": "dist/cjs/sdk.js",
88
"exports": {

src/client.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class Client {
115115
'x-sdk-name': 'React Native',
116116
'x-sdk-platform': 'client',
117117
'x-sdk-language': 'reactnative',
118-
'x-sdk-version': '0.9.1',
118+
'x-sdk-version': '0.10.0',
119119
'X-Appwrite-Response-Format': '1.7.0',
120120
};
121121

src/services/account.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1457,5 +1457,4 @@ export class Account extends Service {
14571457
'content-type': 'application/json',
14581458
}, payload);
14591459
}
1460-
14611460
};

src/services/avatars.ts

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,6 @@ export class Avatars extends Service {
351351
}, payload, 'arrayBuffer');
352352
}
353353

354-
355354
/**
356355
* You can use this endpoint to show different browser icons to your users.
357356
* The code argument receives the browser code as it appears in your user [GET
@@ -370,7 +369,6 @@ export class Avatars extends Service {
370369
* @param {number} quality
371370
* @throws {AppwriteException}
372371
* @returns {URL}
373-
374372
*/
375373
getBrowserURL(code: Browser, width?: number, height?: number, quality?: number): URL {
376374
const apiPath = '/avatars/browsers/{code}'.replace('{code}', code);
@@ -410,7 +408,6 @@ export class Avatars extends Service {
410408
* @param {number} quality
411409
* @throws {AppwriteException}
412410
* @returns {URL}
413-
414411
*/
415412
getCreditCardURL(code: CreditCard, width?: number, height?: number, quality?: number): URL {
416413
const apiPath = '/avatars/credit-cards/{code}'.replace('{code}', code);
@@ -442,7 +439,6 @@ export class Avatars extends Service {
442439
* @param {string} url
443440
* @throws {AppwriteException}
444441
* @returns {URL}
445-
446442
*/
447443
getFaviconURL(url: string): URL {
448444
const apiPath = '/avatars/favicon';
@@ -475,7 +471,6 @@ export class Avatars extends Service {
475471
* @param {number} quality
476472
* @throws {AppwriteException}
477473
* @returns {URL}
478-
479474
*/
480475
getFlagURL(code: Flag, width?: number, height?: number, quality?: number): URL {
481476
const apiPath = '/avatars/flags/{code}'.replace('{code}', code);
@@ -516,7 +511,6 @@ export class Avatars extends Service {
516511
* @param {number} height
517512
* @throws {AppwriteException}
518513
* @returns {URL}
519-
520514
*/
521515
getImageURL(url: string, width?: number, height?: number): URL {
522516
const apiPath = '/avatars/image';
@@ -563,7 +557,6 @@ export class Avatars extends Service {
563557
* @param {string} background
564558
* @throws {AppwriteException}
565559
* @returns {URL}
566-
567560
*/
568561
getInitialsURL(name?: string, width?: number, height?: number, background?: string): URL {
569562
const apiPath = '/avatars/initials';
@@ -601,7 +594,6 @@ export class Avatars extends Service {
601594
* @param {boolean} download
602595
* @throws {AppwriteException}
603596
* @returns {URL}
604-
605597
*/
606598
getQRURL(text: string, size?: number, margin?: number, download?: boolean): URL {
607599
const apiPath = '/avatars/qr';

src/services/databases.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,5 +252,4 @@ export class Databases extends Service {
252252
'content-type': 'application/json',
253253
}, payload);
254254
}
255-
256255
};

src/services/functions.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,5 +118,4 @@ export class Functions extends Service {
118118
return this.client.call('get', uri, {
119119
}, payload);
120120
}
121-
122121
};

src/services/graphql.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,5 +64,4 @@ export class Graphql extends Service {
6464
'content-type': 'application/json',
6565
}, payload);
6666
}
67-
6867
};

src/services/locale.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,5 +145,4 @@ export class Locale extends Service {
145145
return this.client.call('get', uri, {
146146
}, payload);
147147
}
148-
149148
};

src/services/messaging.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,5 +77,4 @@ export class Messaging extends Service {
7777
'content-type': 'application/json',
7878
}, payload);
7979
}
80-
8180
};

src/services/storage.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,6 @@ export class Storage extends Service {
422422
}, payload, 'arrayBuffer');
423423
}
424424

425-
426425
/**
427426
* Get a file content by its unique ID. The endpoint response return with a
428427
* 'Content-Disposition: attachment' header that tells the browser to start
@@ -433,7 +432,6 @@ export class Storage extends Service {
433432
* @param {string} token
434433
* @throws {AppwriteException}
435434
* @returns {URL}
436-
437435
*/
438436
getFileDownloadURL(bucketId: string, fileId: string, token?: string): URL {
439437
const apiPath = '/storage/buckets/{bucketId}/files/{fileId}/download'.replace('{bucketId}', bucketId).replace('{fileId}', fileId);
@@ -471,7 +469,6 @@ export class Storage extends Service {
471469
* @param {string} token
472470
* @throws {AppwriteException}
473471
* @returns {URL}
474-
475472
*/
476473
getFilePreviewURL(bucketId: string, fileId: string, width?: number, height?: number, gravity?: ImageGravity, quality?: number, borderWidth?: number, borderColor?: string, borderRadius?: number, opacity?: number, rotation?: number, background?: string, output?: ImageFormat, token?: string): URL {
477474
const apiPath = '/storage/buckets/{bucketId}/files/{fileId}/preview'.replace('{bucketId}', bucketId).replace('{fileId}', fileId);
@@ -540,7 +537,6 @@ export class Storage extends Service {
540537
* @param {string} token
541538
* @throws {AppwriteException}
542539
* @returns {URL}
543-
544540
*/
545541
getFileViewURL(bucketId: string, fileId: string, token?: string): URL {
546542
const apiPath = '/storage/buckets/{bucketId}/files/{fileId}/view'.replace('{bucketId}', bucketId).replace('{fileId}', fileId);

src/services/teams.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,5 +455,4 @@ export class Teams extends Service {
455455
'content-type': 'application/json',
456456
}, payload);
457457
}
458-
459458
};

0 commit comments

Comments
 (0)