osocna-react-tailwind 0.0.41 → 0.1.0

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,9 +1,9 @@
1
1
  import { Dayjs } from 'dayjs';
2
- import { PlanInterface } from '.';
2
+ import { CareLevelInterface } from '.';
3
3
  export interface FamilyGroupInterface {
4
4
  id: number;
5
5
  lastUpdate?: Dayjs;
6
- plan: PlanInterface;
6
+ plan: CareLevelInterface;
7
7
  volunteer?: boolean;
8
8
  }
9
9
  export declare const FamilyGroupMapper: () => {
@@ -1,11 +1,12 @@
1
- export interface PlanInterface {
1
+ export interface CareLevelInterface {
2
2
  id: number;
3
3
  name?: string;
4
4
  copay?: number;
5
5
  sharedRoom?: boolean;
6
6
  hidden?: boolean;
7
+ isBillable?: boolean;
7
8
  }
8
- export declare const PlanMapper: () => {
9
- mapFromDto: (entity: any) => PlanInterface;
10
- mapToDto: (entity: PlanInterface) => any;
9
+ export declare const CareLevelMapper: () => {
10
+ mapFromDto: (entity: any) => CareLevelInterface;
11
+ mapToDto: (entity: CareLevelInterface) => any;
11
12
  };
@@ -0,0 +1,2 @@
1
+ import { CareLevelInterface } from '../interfaces';
2
+ export declare const getCareLevels: () => Promise<Array<CareLevelInterface>>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "osocna-react-tailwind",
3
- "version": "0.0.41",
3
+ "version": "0.1.0",
4
4
  "description": "A React component library built with Tailwind CSS v4",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -55,7 +55,7 @@
55
55
  "dependencies": {
56
56
  "@originjs/vite-plugin-federation": "^1.4.1",
57
57
  "dayjs": "^1.11.19",
58
- "flysoft-react-ui": "^1.2.1",
58
+ "flysoft-react-ui": "^1.2.2",
59
59
  "oidc-client-ts": "^3.4.1",
60
60
  "react-hook-form": "^7.71.1",
61
61
  "react-router-dom": "^7.13.0",