Skip to content

Commit 1bc642d

Browse files
committed
Make style.parentKey and annotation.label optional as per TSP
Also, clarify default value of optional parameter ConfigurationParameterDescriptor.dataType Related to TSP fix: eclipse-cdt-cloud/trace-server-protocol#125 Signed-off-by: Bernd Hufmann <bernd.hufmann@ericsson.com>
1 parent 1741efb commit 1bc642d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

tsp-typescript-client/src/models/annotation.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ export interface Annotation {
2525
/**
2626
* Label of the annotation
2727
*/
28-
label: string;
28+
label?: string;
2929

3030
/**
3131
* Time of the annotation

tsp-typescript-client/src/models/configuration-source.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ export interface ConfigurationParameterDescriptor {
4848
description?: string;
4949

5050
/**
51-
* The data type string, e.g. use NUMBER for numbers, or STRING as strings
51+
* The data type string, e.g. use NUMBER for numbers, or STRING as strings. Default is STRING.
5252
*/
5353
dataType?: string;
5454

tsp-typescript-client/src/models/styles.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ export interface OutputElementStyle {
1414
/**
1515
* Parent style key
1616
*/
17-
parentKey: string;
17+
parentKey?: string;
1818

1919
/**
2020
* Style values to override or define properties

0 commit comments

Comments
 (0)