forked from TrueCloudLab/neoneo-go
3e2755e66d
config_extended.yml contains an example of user-defined configuration file with extended event types. User-defined event types are allowed to be named and complicated, i.e. properly support extended types notation. Signed-off-by: Anna Shaleva <shaleva.ann@nspcc.ru>
47 lines
No EOL
993 B
YAML
47 lines
No EOL
993 B
YAML
name: "Notifications"
|
|
sourceurl: https://github.com/nspcc-dev/neo-go/
|
|
events:
|
|
- name: "! complicated name %$#"
|
|
parameters:
|
|
- name: ! complicated param @#$%
|
|
type: String
|
|
- name: "SomeMap"
|
|
parameters:
|
|
- name: m
|
|
type: Map
|
|
extendedtype:
|
|
base: Map
|
|
key: Integer
|
|
value:
|
|
base: Map
|
|
key: String
|
|
value:
|
|
base: Array
|
|
value:
|
|
base: Hash160
|
|
- name: "SomeStruct"
|
|
parameters:
|
|
- name: s
|
|
type: Struct
|
|
extendedtype:
|
|
base: Struct
|
|
name: crazyStruct
|
|
- name: "SomeArray"
|
|
parameters:
|
|
- name: a
|
|
type: Array
|
|
extendedtype:
|
|
base: Array
|
|
value:
|
|
base: Array
|
|
value:
|
|
base: Integer
|
|
namedtypes:
|
|
crazyStruct:
|
|
base: Struct
|
|
name: crazyStruct
|
|
fields:
|
|
- field: I
|
|
base: Integer
|
|
- field: B
|
|
base: Boolean |