mirror of
https://github.com/wassname/Open-Assistant.git
synced 2026-10-02 11:50:46 +08:00
Fixing the build
This commit is contained in:
1 parent
68f22d0fa9
commit
7e1b57a93e
2 files changed
+10
-2
No files matched your search
@@ -1,3 +1,7 @@
|
||||
export interface TaskReplyNotSubmittable<T> {
|
||||
content: T;
|
||||
state: "NOT_SUBMITTABLE";
|
||||
}
|
||||
export interface TaskReplyValid<T> {
|
||||
content: T;
|
||||
state: "VALID";
|
||||
@@ -11,4 +15,8 @@ export interface TaskReplyInValid<T> {
|
||||
state: "INVALID";
|
||||
}
|
||||
|
||||
export type TaskReplyState<T> = TaskReplyValid<T> | TaskReplyDefault<T> | TaskReplyInValid<T>;
|
||||
export type TaskReplyState<T> =
|
||||
| TaskReplyNotSubmittable<T>
|
||||
| TaskReplyValid<T>
|
||||
| TaskReplyDefault<T>
|
||||
| TaskReplyInValid<T>;
|
||||
Reference in new issue
Block a user