-
Notifications
You must be signed in to change notification settings - Fork 173
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat whitelist enums #700
Merged
Merged
Feat whitelist enums #700
Changes from all commits
Commits
Show all changes
108 commits
Select commit
Hold shift + click to select a range
e76d305
feat: enum whitelist
2002Bishwajeet 11441b6
(chore): fix common name renders
2002Bishwajeet 3aff6bf
chore: add support for node,web,php,web,flutter
2002Bishwajeet 622786e
Merge remote-tracking branch 'upstream/master' into feat-whitelist-enums
2002Bishwajeet df1a1bf
Update src/SDK/SDK.php
2002Bishwajeet fde8578
chore: remove appwrite specific method and fetch enum name from swagger
2002Bishwajeet 00019e2
chore: fix casing in enums
2002Bishwajeet 2b65a02
chore: add enums deno
2002Bishwajeet c8b9859
chore: use replace instead of str_replace
2002Bishwajeet 4b2abbf
chore: add support for android and kotlin
2002Bishwajeet f3e010f
chore: export enums dart fixed
2002Bishwajeet 0af2a86
chore: add exports in package.dart.twig
2002Bishwajeet 63f7b83
chore: export enums in index.ts
2002Bishwajeet 5e8d758
chore: add missing whitelist enums
2002Bishwajeet 00bc2f9
Create .NET enums template
adityaoberai 0ffeca4
Update src/SDK/Language/DotNet.php
adityaoberai 7557829
chore: refactors
2002Bishwajeet ea06f37
Revert "chore: refactors"
2002Bishwajeet d38abfb
Revert "Revert "chore: refactors""
2002Bishwajeet b1beb30
revert example.php
2002Bishwajeet f7bb7e9
Update templates/dart/lib/package.dart.twig
2002Bishwajeet 61341f9
Merge branch 'appwrite:master' into feat-whitelist-enums
2002Bishwajeet 3d475bd
change to camelCase
2002Bishwajeet 7065a77
feat: docs
2002Bishwajeet 405bceb
chore: fix doc generation flutter and web
2002Bishwajeet 2267f4c
chore: fix import doc deno python php dotnet
2002Bishwajeet 70e78d6
chore: fix node import
2002Bishwajeet 549ab8c
chore: add import doc to kotlin and android
2002Bishwajeet fb17745
feat: swift +App
2002Bishwajeet 0969f0c
refactor: single quotes to double quotes in kotlin
2002Bishwajeet ca3882f
chore: remove ;
2002Bishwajeet cda11c8
chore: add readonly c#
2002Bishwajeet d3b4220
Strip space instead of adding underscore
2002Bishwajeet bded653
refactor: convert this to module
2002Bishwajeet 899b5b8
add Type support flutter,dart
2002Bishwajeet 328fa6b
add enum types in services
2002Bishwajeet 7141cc1
Merge branch 'appwrite:master' into feat-whitelist-enums
2002Bishwajeet 1d827ee
fix imports php
2002Bishwajeet fc1e6ce
Merge branch 'feat-whitelist-enums' of https://github.com/2002Bishwaj…
2002Bishwajeet 5e6e4ee
chore: revert changes
2002Bishwajeet f707669
chore: revert changes
2002Bishwajeet cfef322
Update templates/dotnet/src/Appwrite/Enums/Enums.cs.twig
2002Bishwajeet 4dbd72c
Update templates/dotnet/src/Appwrite/Enums/Enums.cs.twig
2002Bishwajeet 2ff035c
chore: remove empty last loop
2002Bishwajeet f9da819
fix enum addition when found in body
2002Bishwajeet 453ffdb
fix: duplicate enums
2002Bishwajeet 8004657
Merge pull request #674 from 2002Bishwajeet/feat-whitelist-enums
abnegate c7613e1
Add ruby enum template
abnegate 5ea227a
Fix Kotlin enums
abnegate 996b1d1
Fix dotnet enums
abnegate 9111b86
Fix web enums
abnegate 8544575
Fix PHP enums
abnegate 55164a0
Fix python enums
abnegate c5e70bf
Fix swift enums
abnegate 98870d0
Fix enums
abnegate f2f97ff
Fix enums
abnegate 9912b27
Fix tests
abnegate 10b5323
Fix enums
abnegate 2f5d5f5
Fix lint
abnegate b0bafd6
Fix tests
abnegate fd543a8
Merge remote-tracking branch 'origin/master' into feat-whitelist-enums
abnegate 459e3d3
Add enum tests
abnegate 951e5c9
Update mock specs
abnegate f786e95
Merge remote-tracking branch 'origin/master' into feat-whitelist-enums
abnegate 37a7eb4
Fix node tests
abnegate dea507e
Fix Kotlin missing import
abnegate 500df5f
Fix PHP missing import
abnegate f0a6352
WIP add dart enum library
abnegate 70cb272
Merge remote-tracking branch 'origin/master' into feat-whitelist-enums
abnegate 7eab791
Fix dart enums
abnegate e0614e4
Fix .NET enums
abnegate 09536a8
Fix PHP enums
abnegate e649b30
Fix Python enums
abnegate 1a8f151
Fix swift enums
abnegate 35e69e7
Fix dart test
abnegate 6c19700
Fix deno enums
abnegate 8ad9cbc
Fix node 12 test
abnegate df4c5d6
Fix web enum tests
abnegate b0d9a63
Fix array type checks
abnegate 55b4fa3
Fix swift escapes
abnegate d03c2eb
Fix .NET enum template name
abnegate cb7a6ad
Add spec to type name filter
abnegate 8263763
Remove duplicate file from Apple
abnegate c3fd502
Add enum case key
abnegate 1c86293
Fix lint
abnegate 9439633
Fix PHP enum key case filter
abnegate fe9b523
Fix Python docs template syntax error
abnegate d37a6fc
Add missing file for flutter
abnegate 7936e6a
Fix flutter missing import
abnegate 321c9f4
Fix go tests
abnegate 1d6fc0c
Fix swift + apple tests
abnegate 39410e0
Fix flutter test enum casing
abnegate d11c78a
Remove invalid flutter package entries
abnegate 530c44f
Fix chromium tests
abnegate f6dc423
Fix ruby tests
abnegate 01cf1a3
Enable flutter realtime tests
abnegate 4c28b96
Fix Android enum docs
abnegate c6b5686
Fix docs
abnegate 7e22ef7
Merge remote-tracking branch 'origin/master' into feat-whitelist-enums
abnegate 3738484
Fix Kotlin enum keys
abnegate e3cc1f5
Fix PHP enum keys
abnegate f7e69b1
Fix swift enum keys
abnegate c921cbb
Fix PHP
abnegate 7716e90
Fix dotnet formatting
abnegate bf6c435
Use base class for dotnet enums to improve converter performance
abnegate 36b5ffe
Fix PHP keys
abnegate 2c70407
Use raw for swift escapes
abnegate 751c423
Merge remote-tracking branch 'origin/master' into feat-whitelist-enums
abnegate File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
do we really need this? Can we just not chain the twig filters directly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We could chain them but I think it makes the templates/code easier to read if we just use one well-named filter