-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add client and server versions of generators (webrpc, schema and ridl…
… schema)
- Loading branch information
1 parent
694c53c
commit 6df17be
Showing
9 changed files
with
188 additions
and
11 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
webrpc = v1 # version of webrpc schema format (ridl or json) | ||
|
||
name = example # name of your backend app | ||
version = v0.0.1 # version of your schema | ||
|
||
version = [email protected] # version of your schema | ||
|
||
# user role | ||
# which defines which type of operations user can do | ||
|
@@ -69,6 +68,8 @@ struct Version | |
- webrpcVersion: string | ||
- schemaVersion: string | ||
- schemaHash: string | ||
- clientGenVersion: GenVersions | ||
- serverGenVersion: GenVersions | ||
|
||
struct ComplexType | ||
- meta: map<string,any> | ||
|
@@ -81,6 +82,12 @@ struct ComplexType | |
- mapOfUsers: map<string,User> | ||
- user: User | ||
|
||
struct GenVersions | ||
- WebRPCGenVersion: string | ||
- TmplTarget: string | ||
- TmplVersion: string | ||
- SchemaVersion: string | ||
|
||
error 500100 MissingArgument "missing argument" | ||
error 500101 InvalidUsername "invalid username" | ||
error 400100 MemoryFull "system memory is full" | ||
|
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
Binary file not shown.
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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