Skip to content

Commit 2f672ed

Browse files
committed
Fix between query output
1 parent 02ce252 commit 2f672ed

20 files changed

+420
-113
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Appwrite Web SDK
22

33
![License](https://img.shields.io/github/license/appwrite/sdk-for-web.svg?style=flat-square)
4-
![Version](https://img.shields.io/badge/api%20version-1.4.2-blue.svg?style=flat-square)
4+
![Version](https://img.shields.io/badge/api%20version-1.4.12-blue.svg?style=flat-square)
55
[![Build Status](https://img.shields.io/travis/com/appwrite/sdk-generator?style=flat-square)](https://travis-ci.com/appwrite/sdk-generator)
66
[![Twitter Account](https://img.shields.io/twitter/follow/appwrite?color=00acee&label=twitter&style=flat-square)](https://twitter.com/appwrite)
77
[![Discord](https://img.shields.io/discord/564160730845151244?label=discord&style=flat-square)](https://appwrite.io/discord)
@@ -33,7 +33,7 @@ import { Client, Account } from "appwrite";
3333
To install with a CDN (content delivery network) add the following scripts to the bottom of your <body> tag, but before you use any Appwrite services:
3434

3535
```html
36-
<script src="https://cdn.jsdelivr.net/npm/[email protected].0"></script>
36+
<script src="https://cdn.jsdelivr.net/npm/[email protected].1"></script>
3737
```
3838

3939

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "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": "13.0.0",
5+
"version": "13.0.1",
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
@@ -102,7 +102,7 @@ class Client {
102102
'x-sdk-name': 'Web',
103103
'x-sdk-platform': 'client',
104104
'x-sdk-language': 'web',
105-
'x-sdk-version': '13.0.0',
105+
'x-sdk-version': '13.0.1',
106106
'X-Appwrite-Response-Format': '1.4.0',
107107
};
108108

src/enums/browser.ts

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
export enum Browser {
2+
AvantBrowser = 'aa',
3+
AndroidWebViewBeta = 'an',
4+
GoogleChrome = 'ch',
5+
GoogleChromeIOS = 'ci',
6+
GoogleChromeMobile = 'cm',
7+
Chromium = 'cr',
8+
MozillaFirefox = 'ff',
9+
Safari = 'sf',
10+
MobileSafari = 'mf',
11+
MicrosoftEdge = 'ps',
12+
MicrosoftEdgeIOS = 'oi',
13+
OperaMini = 'om',
14+
Opera = 'op',
15+
OperaNext = 'on',
16+
}

src/enums/credit-card.ts

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
export enum CreditCard {
2+
AmericanExpress = 'amex',
3+
Argencard = 'argencard',
4+
Cabal = 'cabal',
5+
Consosud = 'censosud',
6+
DinersClub = 'diners',
7+
Discover = 'discover',
8+
Elo = 'elo',
9+
Hipercard = 'hipercard',
10+
JCB = 'jcb',
11+
Mastercard = 'mastercard',
12+
Naranja = 'naranja',
13+
TarjetaShopping = 'targeta-shopping',
14+
UnionChinaPay = 'union-china-pay',
15+
Visa = 'visa',
16+
MIR = 'mir',
17+
Maestro = 'maestro',
18+
}

src/enums/flag.ts

Lines changed: 196 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,196 @@
1+
export enum Flag {
2+
Afghanistan = 'af',
3+
Angola = 'ao',
4+
Albania = 'al',
5+
Andorra = 'ad',
6+
UnitedArabEmirates = 'ae',
7+
Argentina = 'ar',
8+
Armenia = 'am',
9+
AntiguaAndBarbuda = 'ag',
10+
Australia = 'au',
11+
Austria = 'at',
12+
Azerbaijan = 'az',
13+
Burundi = 'bi',
14+
Belgium = 'be',
15+
Benin = 'bj',
16+
BurkinaFaso = 'bf',
17+
Bangladesh = 'bd',
18+
Bulgaria = 'bg',
19+
Bahrain = 'bh',
20+
Bahamas = 'bs',
21+
BosniaAndHerzegovina = 'ba',
22+
Belarus = 'by',
23+
Belize = 'bz',
24+
Bolivia = 'bo',
25+
Brazil = 'br',
26+
Barbados = 'bb',
27+
BruneiDarussalam = 'bn',
28+
Bhutan = 'bt',
29+
Botswana = 'bw',
30+
CentralAfricanRepublic = 'cf',
31+
Canada = 'ca',
32+
Switzerland = 'ch',
33+
Chile = 'cl',
34+
China = 'cn',
35+
CTeDIvoire = 'ci',
36+
Cameroon = 'cm',
37+
DemocraticRepublicOfTheCongo = 'cd',
38+
RepublicOfTheCongo = 'cg',
39+
Colombia = 'co',
40+
Comoros = 'km',
41+
CapeVerde = 'cv',
42+
CostaRica = 'cr',
43+
Cuba = 'cu',
44+
Cyprus = 'cy',
45+
CzechRepublic = 'cz',
46+
Germany = 'de',
47+
Djibouti = 'dj',
48+
Dominica = 'dm',
49+
Denmark = 'dk',
50+
DominicanRepublic = 'do',
51+
Algeria = 'dz',
52+
Ecuador = 'ec',
53+
Egypt = 'eg',
54+
Eritrea = 'er',
55+
Spain = 'es',
56+
Estonia = 'ee',
57+
Ethiopia = 'et',
58+
Finland = 'fi',
59+
Fiji = 'fj',
60+
France = 'fr',
61+
MicronesiaFederatedStatesOf = 'fm',
62+
Gabon = 'ga',
63+
UnitedKingdom = 'gb',
64+
Georgia = 'ge',
65+
Ghana = 'gh',
66+
Guinea = 'gn',
67+
Gambia = 'gm',
68+
GuineaBissau = 'gw',
69+
EquatorialGuinea = 'gq',
70+
Greece = 'gr',
71+
Grenada = 'gd',
72+
Guatemala = 'gt',
73+
Guyana = 'gy',
74+
Honduras = 'hn',
75+
Croatia = 'hr',
76+
Haiti = 'ht',
77+
Hungary = 'hu',
78+
Indonesia = 'id',
79+
India = 'in',
80+
Ireland = 'ie',
81+
IranIslamicRepublicOf = 'ir',
82+
Iraq = 'iq',
83+
Iceland = 'is',
84+
Israel = 'il',
85+
Italy = 'it',
86+
Jamaica = 'jm',
87+
Jordan = 'jo',
88+
Japan = 'jp',
89+
Kazakhstan = 'kz',
90+
Kenya = 'ke',
91+
Kyrgyzstan = 'kg',
92+
Cambodia = 'kh',
93+
Kiribati = 'ki',
94+
SaintKittsAndNevis = 'kn',
95+
SouthKorea = 'kr',
96+
Kuwait = 'kw',
97+
LaoPeopleSDemocraticRepublic = 'la',
98+
Lebanon = 'lb',
99+
Liberia = 'lr',
100+
Libya = 'ly',
101+
SaintLucia = 'lc',
102+
Liechtenstein = 'li',
103+
SriLanka = 'lk',
104+
Lesotho = 'ls',
105+
Lithuania = 'lt',
106+
Luxembourg = 'lu',
107+
Latvia = 'lv',
108+
Morocco = 'ma',
109+
Monaco = 'mc',
110+
Moldova = 'md',
111+
Madagascar = 'mg',
112+
Maldives = 'mv',
113+
Mexico = 'mx',
114+
MarshallIslands = 'mh',
115+
NorthMacedonia = 'mk',
116+
Mali = 'ml',
117+
Malta = 'mt',
118+
Myanmar = 'mm',
119+
Montenegro = 'me',
120+
Mongolia = 'mn',
121+
Mozambique = 'mz',
122+
Mauritania = 'mr',
123+
Mauritius = 'mu',
124+
Malawi = 'mw',
125+
Malaysia = 'my',
126+
Namibia = 'na',
127+
Niger = 'ne',
128+
Nigeria = 'ng',
129+
Nicaragua = 'ni',
130+
Netherlands = 'nl',
131+
Norway = 'no',
132+
Nepal = 'np',
133+
Nauru = 'nr',
134+
NewZealand = 'nz',
135+
Oman = 'om',
136+
Pakistan = 'pk',
137+
Panama = 'pa',
138+
Peru = 'pe',
139+
Philippines = 'ph',
140+
Palau = 'pw',
141+
PapuaNewGuinea = 'pg',
142+
Poland = 'pl',
143+
NorthKorea = 'kp',
144+
Portugal = 'pt',
145+
Paraguay = 'py',
146+
Qatar = 'qa',
147+
Romania = 'ro',
148+
Russia = 'ru',
149+
Rwanda = 'rw',
150+
SaudiArabia = 'sa',
151+
Sudan = 'sd',
152+
Senegal = 'sn',
153+
Singapore = 'sg',
154+
SolomonIslands = 'sb',
155+
SierraLeone = 'sl',
156+
ElSalvador = 'sv',
157+
SanMarino = 'sm',
158+
Somalia = 'so',
159+
Serbia = 'rs',
160+
SouthSudan = 'ss',
161+
SaoTomeAndPrincipe = 'st',
162+
Suriname = 'sr',
163+
Slovakia = 'sk',
164+
Slovenia = 'si',
165+
Sweden = 'se',
166+
Eswatini = 'sz',
167+
Seychelles = 'sc',
168+
Syria = 'sy',
169+
Chad = 'td',
170+
Togo = 'tg',
171+
Thailand = 'th',
172+
Tajikistan = 'tj',
173+
Turkmenistan = 'tm',
174+
TimorLeste = 'tl',
175+
Tonga = 'to',
176+
TrinidadAndTobago = 'tt',
177+
Tunisia = 'tn',
178+
Turkey = 'tr',
179+
Tuvalu = 'tv',
180+
Tanzania = 'tz',
181+
Uganda = 'ug',
182+
Ukraine = 'ua',
183+
Uruguay = 'uy',
184+
UnitedStates = 'us',
185+
Uzbekistan = 'uz',
186+
VaticanCity = 'va',
187+
SaintVincentAndTheGrenadines = 'vc',
188+
Venezuela = 've',
189+
Vietnam = 'vn',
190+
Vanuatu = 'vu',
191+
Samoa = 'ws',
192+
Yemen = 'ye',
193+
SouthAfrica = 'za',
194+
Zambia = 'zm',
195+
Zimbabwe = 'zw',
196+
}

src/enums/image-format.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
export enum ImageFormat {
2+
Jpg = 'jpg',
3+
Jpeg = 'jpeg',
4+
Gif = 'gif',
5+
Png = 'png',
6+
Webp = 'webp',
7+
}

src/enums/image-gravity.ts

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
export enum ImageGravity {
2+
Center = 'center',
3+
TopLeft = 'top-left',
4+
Top = 'top',
5+
TopRight = 'top-right',
6+
Left = 'left',
7+
Right = 'right',
8+
BottomLeft = 'bottom-left',
9+
Bottom = 'bottom',
10+
BottomRight = 'bottom-right',
11+
}

src/enums/method.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
export enum Method {
2+
GET = 'GET',
3+
POST = 'POST',
4+
PUT = 'PUT',
5+
PATCH = 'PATCH',
6+
DELETE = 'DELETE',
7+
OPTIONS = 'OPTIONS',
8+
}

src/enums/provider.ts

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
export enum Provider {
2+
Amazon = 'amazon',
3+
Apple = 'apple',
4+
Auth0 = 'auth0',
5+
Authentik = 'authentik',
6+
Autodesk = 'autodesk',
7+
Bitbucket = 'bitbucket',
8+
Bitly = 'bitly',
9+
Box = 'box',
10+
Dailymotion = 'dailymotion',
11+
Discord = 'discord',
12+
Disqus = 'disqus',
13+
Dropbox = 'dropbox',
14+
Etsy = 'etsy',
15+
Facebook = 'facebook',
16+
Github = 'github',
17+
Gitlab = 'gitlab',
18+
Google = 'google',
19+
Linkedin = 'linkedin',
20+
Microsoft = 'microsoft',
21+
Notion = 'notion',
22+
Oidc = 'oidc',
23+
Okta = 'okta',
24+
Paypal = 'paypal',
25+
PaypalSandbox = 'paypalSandbox',
26+
Podio = 'podio',
27+
Salesforce = 'salesforce',
28+
Slack = 'slack',
29+
Spotify = 'spotify',
30+
Stripe = 'stripe',
31+
Tradeshift = 'tradeshift',
32+
TradeshiftBox = 'tradeshiftBox',
33+
Twitch = 'twitch',
34+
Wordpress = 'wordpress',
35+
Yahoo = 'yahoo',
36+
Yammer = 'yammer',
37+
Yandex = 'yandex',
38+
Zoom = 'zoom',
39+
Mock = 'mock',
40+
}

0 commit comments

Comments
 (0)