Skip to content

Commit

Permalink
Change TaskStatus to UserDefinedValue (#2250)
Browse files Browse the repository at this point in the history
  • Loading branch information
swallez authored and github-actions[bot] committed Aug 25, 2023
1 parent 1271df5 commit 6db9f6f
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 306 deletions.
242 changes: 4 additions & 238 deletions output/schema/schema.json

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

24 changes: 2 additions & 22 deletions output/typescript/types.ts

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

5 changes: 3 additions & 2 deletions specification/tasks/_types/TaskInfo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
* under the License.
*/

import { TaskStatus } from '@tasks/_types/TaskStatus'
import { NodeId, TaskId } from '@_types/common'
import { long } from '@_types/Numeric'
import { Dictionary } from '@spec_utils/Dictionary'
Expand All @@ -28,6 +27,7 @@ import {
UnitMillis,
UnitNanos
} from '@_types/Time'
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'

export class TaskInfo {
action: string
Expand All @@ -40,7 +40,8 @@ export class TaskInfo {
running_time?: Duration
running_time_in_nanos: DurationValue<UnitNanos>
start_time_in_millis: EpochTime<UnitMillis>
status?: TaskStatus
/** Task status information can vary wildly from task to task. */
status?: UserDefinedValue
type: string
parent_task_id?: TaskId
}
42 changes: 0 additions & 42 deletions specification/tasks/_types/TaskStatus.ts

This file was deleted.

Loading

0 comments on commit 6db9f6f

Please sign in to comment.