@wacht/jsx 1.0.0-beta.32 → 1.0.0-beta.34
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +522 -522
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +1 -19
- package/dist/index.es.js +2131 -2204
- package/dist/index.es.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -10,7 +10,6 @@ import { ApiAuthAppInfo } from '@wacht/types';
|
|
|
10
10
|
import { ApiKey } from '@wacht/types';
|
|
11
11
|
import { ApiKeyWithSecret } from '@wacht/types';
|
|
12
12
|
import { ApiResult } from '@wacht/types';
|
|
13
|
-
import { AppendProjectTaskBoardItemJournalRequest } from '@wacht/types';
|
|
14
13
|
import { ButtonHTMLAttributes } from 'react';
|
|
15
14
|
import { CancelReplayTaskOptions } from '@wacht/types';
|
|
16
15
|
import { CancelReplayTaskResponse } from '@wacht/types';
|
|
@@ -60,7 +59,6 @@ import { ProfileCompletionData } from '@wacht/types';
|
|
|
60
59
|
import { ProfileCompletionProps } from '@wacht/types';
|
|
61
60
|
import { ProjectTaskBoardItem } from '@wacht/types';
|
|
62
61
|
import { ProjectTaskBoardItemAssignment } from '@wacht/types';
|
|
63
|
-
import { ProjectTaskBoardItemEvent } from '@wacht/types';
|
|
64
62
|
import { ProjectTaskWorkspaceFileContent } from '@wacht/types';
|
|
65
63
|
import { ProjectTaskWorkspaceListing } from '@wacht/types';
|
|
66
64
|
import { ReactNode } from 'react';
|
|
@@ -85,7 +83,6 @@ import { SignUpParams } from '@wacht/types';
|
|
|
85
83
|
import { SocialConnection } from '@wacht/types';
|
|
86
84
|
import { TestEndpointOptions } from '@wacht/types';
|
|
87
85
|
import { TestEndpointResponse } from '@wacht/types';
|
|
88
|
-
import { ThreadEvent } from '@wacht/types';
|
|
89
86
|
import { ThreadPendingApprovalRequestState } from '@wacht/types';
|
|
90
87
|
import { ThreadTaskGraphBundle } from '@wacht/types';
|
|
91
88
|
import { TimeseriesPoint } from '@wacht/types';
|
|
@@ -1069,16 +1066,6 @@ declare interface UseAgentThreadConversationProps {
|
|
|
1069
1066
|
};
|
|
1070
1067
|
}
|
|
1071
1068
|
|
|
1072
|
-
export declare function useAgentThreadEvents(threadId?: string, options?: AgentThreadHookOptions): {
|
|
1073
|
-
events: ThreadEvent[];
|
|
1074
|
-
loading: boolean;
|
|
1075
|
-
error: any;
|
|
1076
|
-
hasMore: boolean;
|
|
1077
|
-
loadingMore: boolean;
|
|
1078
|
-
loadMore: () => Promise<void>;
|
|
1079
|
-
refetch: () => Promise<void>;
|
|
1080
|
-
};
|
|
1081
|
-
|
|
1082
1069
|
export declare function useAgentThreadFilesystem(threadId?: string, enabled?: boolean): {
|
|
1083
1070
|
filesystem: ProjectTaskWorkspaceListing;
|
|
1084
1071
|
filesystemLoading: boolean;
|
|
@@ -1342,11 +1329,7 @@ export declare const useOrganizationMemberships: () => {
|
|
|
1342
1329
|
|
|
1343
1330
|
export declare function useProjectTaskBoardItem(projectId?: string, itemId?: string, enabled?: boolean, options?: ProjectTaskDetailOptions): {
|
|
1344
1331
|
item: ProjectTaskBoardItem | null;
|
|
1345
|
-
events: ProjectTaskBoardItemEvent[];
|
|
1346
1332
|
assignments: ProjectTaskBoardItemAssignment[];
|
|
1347
|
-
eventsHasMore: boolean;
|
|
1348
|
-
eventsLoadingMore: boolean;
|
|
1349
|
-
loadMoreEvents: () => Promise<void>;
|
|
1350
1333
|
assignmentsHasMore: boolean;
|
|
1351
1334
|
assignmentsLoadingMore: boolean;
|
|
1352
1335
|
loadMoreAssignments: () => Promise<void>;
|
|
@@ -1358,11 +1341,10 @@ export declare function useProjectTaskBoardItem(projectId?: string, itemId?: str
|
|
|
1358
1341
|
updateItem: (request: UpdateProjectTaskBoardItemRequest, files?: File[]) => Promise<ApiResult<ProjectTaskBoardItem>>;
|
|
1359
1342
|
archiveItem: () => Promise<ApiResult<ProjectTaskBoardItem>>;
|
|
1360
1343
|
unarchiveItem: () => Promise<ApiResult<ProjectTaskBoardItem>>;
|
|
1344
|
+
cancelItem: () => Promise<ApiResult<ProjectTaskBoardItem>>;
|
|
1361
1345
|
getTaskWorkspaceFile: (path: string) => Promise<ApiResult<ProjectTaskWorkspaceFileContent>>;
|
|
1362
1346
|
listTaskWorkspaceDirectory: (path?: string) => Promise<ApiResult<ProjectTaskWorkspaceListing>>;
|
|
1363
|
-
appendJournal: (request: AppendProjectTaskBoardItemJournalRequest, files?: File[]) => Promise<ApiResult<ProjectTaskBoardItemEvent>>;
|
|
1364
1347
|
refetch: () => Promise<void>;
|
|
1365
|
-
refetchEvents: () => Promise<void>;
|
|
1366
1348
|
refetchAssignments: () => Promise<void>;
|
|
1367
1349
|
refetchTaskWorkspace: () => Promise<void>;
|
|
1368
1350
|
};
|