2021-12-31 21:42:24 +00:00
|
|
|
import "./import";
|
2021-12-31 21:38:26 +00:00
|
|
|
|
|
|
|
enum TestEnum {
|
|
|
|
VAL1,
|
|
|
|
VAL2,
|
|
|
|
VAL10 = 10,
|
|
|
|
VAL11,
|
|
|
|
VAL12
|
|
|
|
}
|
|
|
|
|
|
|
|
type Test {
|
|
|
|
atom: TestAtom;
|
|
|
|
array: TestAtom[];
|
|
|
|
enumValue: TestEnum;
|
|
|
|
map: {number, TestAtom};
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
type AddValueRequest {
|
|
|
|
value1: number;
|
|
|
|
value2: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
type AddValueResponse {
|
|
|
|
value: number;
|
|
|
|
}
|
|
|
|
|
|
|
|
service TestService {
|
|
|
|
AddValuesSingleParam(request: AddValueRequest): AddValueResponse;
|
|
|
|
AddValuesMultipleParams(value1: number, value2: number): number;
|
2022-01-01 15:03:43 +00:00
|
|
|
ReturningVoid(param1: number): void;
|
2021-12-31 21:38:26 +00:00
|
|
|
|
|
|
|
notification OnEvent(param1: string);
|
|
|
|
}
|