@wacht/jsx 1.0.0-beta.36 → 1.0.0-beta.37
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 +504 -504
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +9 -0
- package/dist/index.es.js +929 -894
- package/dist/index.es.js.map +1 -1
- package/package.json +2 -2
package/dist/index.d.ts
CHANGED
|
@@ -61,6 +61,7 @@ import { ProfileCompletionData } from '@wacht/types';
|
|
|
61
61
|
import { ProfileCompletionProps } from '@wacht/types';
|
|
62
62
|
import { ProjectTaskBoardItem } from '@wacht/types';
|
|
63
63
|
import { ProjectTaskBoardItemAssignment } from '@wacht/types';
|
|
64
|
+
import { ProjectTaskBoardItemComment } from '@wacht/types';
|
|
64
65
|
import { ProjectTaskWorkspaceFileContent } from '@wacht/types';
|
|
65
66
|
import { ProjectTaskWorkspaceListing } from '@wacht/types';
|
|
66
67
|
import { ReactNode } from 'react';
|
|
@@ -1354,6 +1355,14 @@ export declare function useProjectTaskBoardItem(projectId?: string, itemId?: str
|
|
|
1354
1355
|
refetchTaskWorkspace: () => Promise<void>;
|
|
1355
1356
|
};
|
|
1356
1357
|
|
|
1358
|
+
export declare function useProjectTaskBoardItemComments(projectId?: string, itemId?: string, enabled?: boolean): {
|
|
1359
|
+
comments: ProjectTaskBoardItemComment[];
|
|
1360
|
+
loading: boolean;
|
|
1361
|
+
error: any;
|
|
1362
|
+
createComment: (body: string) => Promise<ApiResult<ProjectTaskBoardItemComment>>;
|
|
1363
|
+
refetch: () => Promise<void>;
|
|
1364
|
+
};
|
|
1365
|
+
|
|
1357
1366
|
export declare function useProjectTasks(projectId?: string, enabled?: boolean, options?: ProjectTaskListOptions): {
|
|
1358
1367
|
tasks: ProjectTaskBoardItem[];
|
|
1359
1368
|
loading: boolean;
|