Skip to content

Commit 63b1e45

Browse files
authored
Change TaskStatus to UserDefinedValue (#2250)
1 parent 210f8cf commit 63b1e45

File tree

5 files changed

+11
-306
lines changed

5 files changed

+11
-306
lines changed

output/schema/schema.json

Lines changed: 4 additions & 238 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

output/typescript/types.ts

Lines changed: 2 additions & 22 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

specification/tasks/_types/TaskInfo.ts

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
* under the License.
1818
*/
1919

20-
import { TaskStatus } from '@tasks/_types/TaskStatus'
2120
import { NodeId, TaskId } from '@_types/common'
2221
import { long } from '@_types/Numeric'
2322
import { Dictionary } from '@spec_utils/Dictionary'
@@ -28,6 +27,7 @@ import {
2827
UnitMillis,
2928
UnitNanos
3029
} from '@_types/Time'
30+
import { UserDefinedValue } from '@spec_utils/UserDefinedValue'
3131

3232
export class TaskInfo {
3333
action: string
@@ -40,7 +40,8 @@ export class TaskInfo {
4040
running_time?: Duration
4141
running_time_in_nanos: DurationValue<UnitNanos>
4242
start_time_in_millis: EpochTime<UnitMillis>
43-
status?: TaskStatus
43+
/** Task status information can vary wildly from task to task. */
44+
status?: UserDefinedValue
4445
type: string
4546
parent_task_id?: TaskId
4647
}

specification/tasks/_types/TaskStatus.ts

Lines changed: 0 additions & 42 deletions
This file was deleted.

0 commit comments

Comments
 (0)