@ttn-shared/ui 1.2.1 → 1.2.3

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.d.cts CHANGED
@@ -1,11 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode, FC, PropsWithChildren } from 'react';
3
3
 
4
- interface SelectOption {
5
- id: number;
6
- name: string;
7
- }
8
-
9
4
  type PatientFormMode = "create" | "edit" | "view";
10
5
  interface PatientFormValues {
11
6
  documentTypeId: string | null;
@@ -175,7 +170,11 @@ interface PatientDetail {
175
170
  description: string;
176
171
  classification: string;
177
172
  }[];
178
- assistance: SelectOption[];
173
+ assistance: {
174
+ id: number;
175
+ description: string;
176
+ classification: string;
177
+ }[];
179
178
  };
180
179
  urlPhoto: string;
181
180
  use_contact_lens: string;
@@ -325,12 +324,8 @@ interface RiskPayload {
325
324
  eaccount: number;
326
325
  idPatient: number;
327
326
  riskList: {
328
- assistance?: {
329
- id: number;
330
- }[];
331
- administrative?: {
332
- id: number;
333
- }[];
327
+ assistance?: number[];
328
+ administrative?: number[];
334
329
  };
335
330
  }
336
331
 
package/dist/index.d.ts CHANGED
@@ -1,11 +1,6 @@
1
1
  import * as react_jsx_runtime from 'react/jsx-runtime';
2
2
  import { ReactNode, FC, PropsWithChildren } from 'react';
3
3
 
4
- interface SelectOption {
5
- id: number;
6
- name: string;
7
- }
8
-
9
4
  type PatientFormMode = "create" | "edit" | "view";
10
5
  interface PatientFormValues {
11
6
  documentTypeId: string | null;
@@ -175,7 +170,11 @@ interface PatientDetail {
175
170
  description: string;
176
171
  classification: string;
177
172
  }[];
178
- assistance: SelectOption[];
173
+ assistance: {
174
+ id: number;
175
+ description: string;
176
+ classification: string;
177
+ }[];
179
178
  };
180
179
  urlPhoto: string;
181
180
  use_contact_lens: string;
@@ -325,12 +324,8 @@ interface RiskPayload {
325
324
  eaccount: number;
326
325
  idPatient: number;
327
326
  riskList: {
328
- assistance?: {
329
- id: number;
330
- }[];
331
- administrative?: {
332
- id: number;
333
- }[];
327
+ assistance?: number[];
328
+ administrative?: number[];
334
329
  };
335
330
  }
336
331