dfh-ui-library 1.12.443 → 1.12.445

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.
@@ -1,8 +1,7 @@
1
1
  import React from "react";
2
- import { ListMasterDataProps, NoteProps, UrgentDataProps } from "../../shared/models/components/common.model";
2
+ import { ListMasterDataProps, UrgentDataProps } from "../../shared/models/components/common.model";
3
3
  export interface ITodoToggleRequestParams {
4
4
  noteId?: string;
5
- note?: NoteProps;
6
5
  actionedUser?: string;
7
6
  patient?: string;
8
7
  toggleOptions: {
@@ -16,7 +15,7 @@ interface todosProps {
16
15
  listMasterData?: ListMasterDataProps;
17
16
  detailAction?: (rowId: string | undefined) => void;
18
17
  handleNameClick?: (id?: string) => void;
19
- toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => Promise<void>;
18
+ toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
20
19
  }
21
20
  declare const Todos: React.FC<todosProps>;
22
21
  export default Todos;
@@ -689,7 +689,7 @@ export interface SideBarListProps {
689
689
  detailAction?: (value: string | undefined) => void;
690
690
  handleNameClick?: (id?: string) => void;
691
691
  handleChallengeHeaderClick?: (patientId?: string, challengeId?: string) => void;
692
- toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => Promise<void>;
692
+ toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
693
693
  }
694
694
  export interface UrgentDataProps {
695
695
  fullName?: string | undefined;
package/dist/index.d.ts CHANGED
@@ -6,7 +6,6 @@ export { ColumnDef, SortingState } from '@tanstack/react-table';
6
6
 
7
7
  interface ITodoToggleRequestParams {
8
8
  noteId?: string;
9
- note?: NoteProps;
10
9
  actionedUser?: string;
11
10
  patient?: string;
12
11
  toggleOptions: {
@@ -20,7 +19,7 @@ interface todosProps {
20
19
  listMasterData?: ListMasterDataProps;
21
20
  detailAction?: (rowId: string | undefined) => void;
22
21
  handleNameClick?: (id?: string) => void;
23
- toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => Promise<void>;
22
+ toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
24
23
  }
25
24
  declare const Todos: React__default.FC<todosProps>;
26
25
 
@@ -582,7 +581,7 @@ interface SideBarListProps {
582
581
  detailAction?: (value: string | undefined) => void;
583
582
  handleNameClick?: (id?: string) => void;
584
583
  handleChallengeHeaderClick?: (patientId?: string, challengeId?: string) => void;
585
- toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => Promise<void>;
584
+ toggleTodoCheckbox?: (req: ITodoToggleRequestParams) => void;
586
585
  }
587
586
  interface UrgentDataProps {
588
587
  fullName?: string | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dfh-ui-library",
3
- "version": "1.12.443",
3
+ "version": "1.12.445",
4
4
  "description": "",
5
5
  "scripts": {
6
6
  "build": "rollup -c --bundleConfigAsCjs --environment NODE_ENV:production",