Skip to content

Commit

Permalink
Change timestamps defined as integer to long (#1250)
Browse files Browse the repository at this point in the history
  • Loading branch information
swallez committed Jan 12, 2022
1 parent ed1390d commit a53444f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions output/typescript/types.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion specification/_types/Stats.ts
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ export class SegmentsStats {
index_writer_memory?: ByteSize
index_writer_max_memory_in_bytes?: integer
index_writer_memory_in_bytes: integer
max_unsafe_auto_id_timestamp: integer
max_unsafe_auto_id_timestamp: long
memory?: ByteSize
memory_in_bytes: integer
norms_memory?: ByteSize
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
*/

import { ByteSize, Name } from '@_types/common'
import { integer } from '@_types/Numeric'
import { integer, long } from '@_types/Numeric'
import { ShardStatistics } from '@_types/Stats'

export class Response {
Expand All @@ -37,5 +37,5 @@ export class DataStreamsStatsItem {
data_stream: Name
store_size?: ByteSize
store_size_bytes: integer
maximum_timestamp: integer
maximum_timestamp: long
}
2 changes: 1 addition & 1 deletion specification/ml/_types/Model.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ export class ModelSnapshot {
/** A numerical character string that uniquely identifies the model snapshot. */
snapshot_id: Id
/** The creation timestamp for the snapshot. */
timestamp: integer
timestamp: long
}

export class ModelSizeStats {
Expand Down
4 changes: 2 additions & 2 deletions specification/ml/post_data/MlPostJobDataResponse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,15 @@ import { integer, long } from '@_types/Numeric'
export class Response {
body: {
bucket_count: long
earliest_record_timestamp: integer
earliest_record_timestamp: long
empty_bucket_count: long
input_bytes: long
input_field_count: long
input_record_count: long
invalid_date_count: long
job_id: Id
last_data_time: integer
latest_record_timestamp: integer
latest_record_timestamp: long
missing_field_count: long
out_of_order_timestamp_count: long
processed_field_count: long
Expand Down

0 comments on commit a53444f

Please sign in to comment.