Skip to content

Commit 980ae65

Browse files
committed
Merge remote-tracking branch 'origin/master' into feat-qol-updates
# Conflicts: # src/SDK/Language/Flutter.php # src/SDK/Language/Swift.php # src/Spec/Swagger2.php
2 parents f8a0fa7 + 987f293 commit 980ae65

File tree

145 files changed

+1955
-512
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

145 files changed

+1955
-512
lines changed

composer.lock

Lines changed: 7 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/SDK/Language/Android.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,21 @@ public function getFiles(): array
105105
'destination' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/Client.kt',
106106
'template' => '/android/library/src/main/java/io/appwrite/Client.kt.twig',
107107
],
108+
[
109+
'scope' => 'default',
110+
'destination' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/Permission.kt',
111+
'template' => '/android/library/src/main/java/io/appwrite/Permission.kt.twig',
112+
],
113+
[
114+
'scope' => 'default',
115+
'destination' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/Role.kt',
116+
'template' => '/android/library/src/main/java/io/appwrite/Role.kt.twig',
117+
],
118+
[
119+
'scope' => 'default',
120+
'destination' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/ID.kt',
121+
'template' => '/android/library/src/main/java/io/appwrite/ID.kt.twig',
122+
],
108123
[
109124
'scope' => 'default',
110125
'destination' => '/library/src/main/java/{{ sdk.namespace | caseSlash }}/Query.kt',

src/SDK/Language/Dart.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,6 +326,21 @@ public function getFiles(): array
326326
'destination' => '/lib/src/response.dart',
327327
'template' => 'dart/lib/src/response.dart.twig',
328328
],
329+
[
330+
'scope' => 'default',
331+
'destination' => '/lib/permission.dart',
332+
'template' => 'dart/lib/permission.dart.twig',
333+
],
334+
[
335+
'scope' => 'default',
336+
'destination' => '/lib/role.dart',
337+
'template' => 'flutter/lib/role.dart.twig',
338+
],
339+
[
340+
'scope' => 'default',
341+
'destination' => '/lib/id.dart',
342+
'template' => 'flutter/lib/id.dart.twig',
343+
],
329344
[
330345
'scope' => 'default',
331346
'destination' => '/lib/query.dart',

src/SDK/Language/Deno.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,21 @@ public function getFiles(): array
3030
'template' => 'deno/src/client.ts.twig',
3131
'minify' => false,
3232
],
33+
[
34+
'scope' => 'default',
35+
'destination' => 'src/permission.ts',
36+
'template' => 'deno/src/permission.ts.twig',
37+
],
38+
[
39+
'scope' => 'default',
40+
'destination' => 'src/role.ts',
41+
'template' => 'deno/src/role.ts.twig',
42+
],
43+
[
44+
'scope' => 'default',
45+
'destination' => 'src/id.ts',
46+
'template' => 'deno/src/id.ts.twig',
47+
],
3348
[
3449
'scope' => 'default',
3550
'destination' => 'src/query.ts',

src/SDK/Language/Flutter.php

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,13 +189,11 @@ public function getFiles(): array
189189
'scope' => 'default',
190190
'destination' => '/lib/src/enums.dart',
191191
'template' => 'flutter/lib/src/enums.dart.twig',
192-
'minify' => false,
193192
],
194193
[
195194
'scope' => 'default',
196195
'destination' => '/lib/src/exception.dart',
197196
'template' => 'flutter/lib/src/exception.dart.twig',
198-
'minify' => false,
199197
],
200198
[
201199
'scope' => 'default',
@@ -206,14 +204,32 @@ public function getFiles(): array
206204
'scope' => 'default',
207205
'destination' => '/lib/models.dart',
208206
'template' => 'flutter/lib/models.dart.twig',
209-
'minify' => false,
207+
],
208+
[
209+
'scope' => 'default',
210+
'destination' => '/lib/models.dart',
211+
'template' => 'flutter/lib/models.dart.twig',
212+
],
213+
[
214+
'scope' => 'default',
215+
'destination' => '/lib/permission.dart',
216+
'template' => 'flutter/lib/permission.dart.twig',
210217
],
211218
[
212219
'scope' => 'default',
213-
'destination' => '/lib/query.dart',
214-
'template' => 'flutter/lib/query.dart.twig',
215-
'minify' => false,
220+
'destination' => '/lib/role.dart',
221+
'template' => 'flutter/lib/role.dart.twig',
216222
],
223+
[
224+
'scope' => 'default',
225+
'destination' => '/lib/id.dart',
226+
'template' => 'flutter/lib/id.dart.twig',
227+
],
228+
[
229+
'scope' => 'default',
230+
'destination' => '/lib/query.dart',
231+
'template' => 'flutter/lib/query.dart.twig',
232+
],
217233
[
218234
'scope' => 'service',
219235
'destination' => '/lib/services/{{service.name | caseDash}}.dart',

src/SDK/Language/Kotlin.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -338,6 +338,21 @@ public function getFiles(): array
338338
'destination' => '/src/main/kotlin/{{ sdk.namespace | caseSlash }}/Client.kt',
339339
'template' => '/kotlin/src/main/kotlin/io/appwrite/Client.kt.twig',
340340
],
341+
[
342+
'scope' => 'default',
343+
'destination' => '/src/main/kotlin/{{ sdk.namespace | caseSlash }}/Permission.kt',
344+
'template' => '/kotlin/src/main/kotlin/io/appwrite/Permission.kt.twig',
345+
],
346+
[
347+
'scope' => 'default',
348+
'destination' => '/src/main/kotlin/{{ sdk.namespace | caseSlash }}/Role.kt',
349+
'template' => '/kotlin/src/main/kotlin/io/appwrite/Role.kt.twig',
350+
],
351+
[
352+
'scope' => 'default',
353+
'destination' => '/src/main/kotlin/{{ sdk.namespace | caseSlash }}/ID.kt',
354+
'template' => '/kotlin/src/main/kotlin/io/appwrite/ID.kt.twig',
355+
],
341356
[
342357
'scope' => 'default',
343358
'destination' => '/src/main/kotlin/{{ sdk.namespace | caseSlash }}/Query.kt',

src/SDK/Language/Node.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,21 @@ public function getFiles(): array
5656
'destination' => 'lib/client.js',
5757
'template' => 'node/lib/client.js.twig',
5858
],
59+
[
60+
'scope' => 'default',
61+
'destination' => 'lib/permission.js',
62+
'template' => 'node/lib/permission.js.twig',
63+
],
64+
[
65+
'scope' => 'default',
66+
'destination' => 'lib/role.js',
67+
'template' => 'node/lib/role.js.twig',
68+
],
69+
[
70+
'scope' => 'default',
71+
'destination' => 'lib/id.js',
72+
'template' => 'node/lib/id.js.twig',
73+
],
5974
[
6075
'scope' => 'default',
6176
'destination' => 'lib/query.js',

src/SDK/Language/PHP.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,21 @@ public function getFiles(): array
171171
'destination' => 'src/{{ spec.title | caseUcfirst}}/Client.php',
172172
'template' => 'php/src/Client.php.twig',
173173
],
174+
[
175+
'scope' => 'default',
176+
'destination' => 'src/{{ spec.title | caseUcfirst}}/Permission.php',
177+
'template' => 'php/src/Permission.php.twig',
178+
],
179+
[
180+
'scope' => 'default',
181+
'destination' => 'src/{{ spec.title | caseUcfirst}}/Role.php',
182+
'template' => 'php/src/Role.php.twig',
183+
],
184+
[
185+
'scope' => 'default',
186+
'destination' => 'src/{{ spec.title | caseUcfirst}}/ID.php',
187+
'template' => 'php/src/ID.php.twig',
188+
],
174189
[
175190
'scope' => 'default',
176191
'destination' => 'src/{{ spec.title | caseUcfirst}}/Query.php',

src/SDK/Language/Python.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,21 @@ public function getFiles(): array
129129
'destination' => '{{ spec.title | caseSnake}}/client.py',
130130
'template' => 'python/package/client.py.twig',
131131
],
132+
[
133+
'scope' => 'default',
134+
'destination' => '{{ spec.title | caseSnake}}/permission.py',
135+
'template' => 'python/package/permission.py.twig',
136+
],
137+
[
138+
'scope' => 'default',
139+
'destination' => '{{ spec.title | caseSnake}}/role.py',
140+
'template' => 'python/package/role.py.twig',
141+
],
142+
[
143+
'scope' => 'default',
144+
'destination' => '{{ spec.title | caseSnake}}/id.py',
145+
'template' => 'python/package/id.py.twig',
146+
],
132147
[
133148
'scope' => 'default',
134149
'destination' => '{{ spec.title | caseSnake}}/query.py',

src/SDK/Language/Ruby.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,21 @@ public function getFiles(): array
126126
'destination' => 'lib/{{ spec.title | caseDash }}/client.rb',
127127
'template' => 'ruby/lib/container/client.rb.twig',
128128
],
129+
[
130+
'scope' => 'default',
131+
'destination' => 'lib/{{ spec.title | caseDash }}/permission.rb',
132+
'template' => 'ruby/lib/container/permission.rb.twig',
133+
],
134+
[
135+
'scope' => 'default',
136+
'destination' => 'lib/{{ spec.title | caseDash }}/role.rb',
137+
'template' => 'ruby/lib/container/role.rb.twig',
138+
],
139+
[
140+
'scope' => 'default',
141+
'destination' => 'lib/{{ spec.title | caseDash }}/id.rb',
142+
'template' => 'ruby/lib/container/id.rb.twig',
143+
],
129144
[
130145
'scope' => 'default',
131146
'destination' => 'lib/{{ spec.title | caseDash }}/query.rb',

0 commit comments

Comments
 (0)