Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tsp-typescript-client/src/models/annotation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export interface Annotation {
/**
* Label of the annotation
*/
label: string;
label?: string;

/**
* Time of the annotation
Expand Down
13 changes: 4 additions & 9 deletions tsp-typescript-client/src/models/bookmark.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { createNormalizer } from '../protocol/serialization';

export const Bookmark = createNormalizer<Bookmark>({
endTime: BigInt,
startTime: BigInt,
end: BigInt,
start: BigInt,
});

/**
Expand All @@ -22,15 +22,10 @@ export interface Bookmark {
/**
* Start time for the bookmark
*/
startTime: bigint;
start: bigint;

/**
* End time for the bookmark
*/
endTime: bigint;

/**
* Type of the bookmark
*/
type: string;
end: bigint;
}
2 changes: 1 addition & 1 deletion tsp-typescript-client/src/models/configuration-source.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ export interface ConfigurationParameterDescriptor {
description?: string;

/**
* The data type string, e.g. use NUMBER for numbers, or STRING as strings
* The data type string, e.g. use NUMBER for numbers, or STRING as strings. Default is STRING.
*/
dataType?: string;

Expand Down
25 changes: 0 additions & 25 deletions tsp-typescript-client/src/models/configuration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,3 @@ export interface Configuration {
*/
parameters?: Record<string, any>;
}

/**
* Model of a configuration parameter descriptor
*/
export interface ConfigParamDescriptor {
/**
* The unique name of the key
*/
keyName: string;

/**
* A short description.
*/
description?: string;

/**
* The data type string, e.g. use NUMBER for numbers, or STRING as strings
*/
dataType?: string;

/**
* If parameter needs to in the query parameters or not. Default is false.
*/
isRequired?: boolean;
}
2 changes: 1 addition & 1 deletion tsp-typescript-client/src/models/styles.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export interface OutputElementStyle {
/**
* Parent style key
*/
parentKey: string;
parentKey?: string;

/**
* Style values to override or define properties
Expand Down
5 changes: 2 additions & 3 deletions tsp-typescript-client/src/models/trace.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ import { assertNumber, createNormalizer } from '../protocol/serialization';
export const Trace = createNormalizer<Trace>({
end: BigInt,
nbEvents: assertNumber,
start: BigInt,
properties: undefined,
start: BigInt
});

/**
Expand Down Expand Up @@ -44,7 +43,7 @@ export interface Trace {
/**
* Trace's properties
*/
properties: Record<string, any>;
properties: Record<string, string>;

/**
* Indicate if the indexing of the trace is completed or still running.
Expand Down
Loading