mirror of
https://github.com/logos-messaging/specs.git
synced 2026-01-05 23:53:12 +00:00
Only specify nim and TS naming convention
Reducing the scope, we can review Rust, Golang and C in a separate PR.
This commit is contained in:
parent
25984c0b14
commit
73354fd683
@ -83,28 +83,16 @@ How the API definition should be translated to specific languages.
|
|||||||
|
|
||||||
```yaml
|
```yaml
|
||||||
language_mappings:
|
language_mappings:
|
||||||
rust:
|
|
||||||
naming_convention:
|
|
||||||
- functions: "snake_case"
|
|
||||||
- variables: "snake_case"
|
|
||||||
- types: "PascalCase"
|
|
||||||
|
|
||||||
golang:
|
|
||||||
naming_convention:
|
|
||||||
- functions: "snake_case"
|
|
||||||
- variables: "snake_case"
|
|
||||||
- types: "PascalCase"
|
|
||||||
|
|
||||||
c:
|
|
||||||
naming_convention: "snake_case"
|
|
||||||
prefix: "waku_"
|
|
||||||
|
|
||||||
typescript:
|
typescript:
|
||||||
naming_convention:
|
naming_convention:
|
||||||
- functions: "camelCase"
|
- functions: "camelCase"
|
||||||
- variables: "camelCase"
|
- variables: "camelCase"
|
||||||
- types: "PascalCase"
|
- types: "PascalCase"
|
||||||
module_type: "esm"
|
nim:
|
||||||
|
naming_convention:
|
||||||
|
- functions: "camelCase"
|
||||||
|
- variables: "camelCase"
|
||||||
|
- types: "PascalCase"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user