@zauru-sdk/types 1.0.8 → 1.0.13
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/CHANGELOG.md +16 -0
- package/dist/Custom.types.d.ts +20 -0
- package/package.json +2 -2
- package/src/Custom.types.ts +27 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,22 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.0.13](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.12...v1.0.13) (2024-03-21)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @zauru-sdk/types
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [1.0.10](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.9...v1.0.10) (2024-03-17)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @zauru-sdk/types
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
6
22
|
## [1.0.8](https://github.com/intuitiva/zauru-typescript-sdk/compare/v1.0.7...v1.0.8) (2024-03-16)
|
|
7
23
|
|
|
8
24
|
**Note:** Version bump only for package @zauru-sdk/types
|
package/dist/Custom.types.d.ts
CHANGED
|
@@ -606,7 +606,27 @@ export type ReceptionType = {
|
|
|
606
606
|
Codigo: string;
|
|
607
607
|
Nombre: string;
|
|
608
608
|
};
|
|
609
|
+
export type QueueFormReceptionWebAppTable = {
|
|
610
|
+
creadoPor: string;
|
|
611
|
+
fechaCreacion: string;
|
|
612
|
+
formSubmited: any;
|
|
613
|
+
estado: string;
|
|
614
|
+
agency_id: number;
|
|
615
|
+
description: string;
|
|
616
|
+
};
|
|
609
617
|
export type RowDataType = {
|
|
610
618
|
id: any;
|
|
611
619
|
[key: string]: any;
|
|
612
620
|
};
|
|
621
|
+
export type GenericDynamicTableColumn = {
|
|
622
|
+
name: string;
|
|
623
|
+
label: string;
|
|
624
|
+
type: "checkbox" | "textField" | "selectField" | "label";
|
|
625
|
+
integer?: boolean;
|
|
626
|
+
options?: SelectFieldOption[];
|
|
627
|
+
loadingOptions?: boolean;
|
|
628
|
+
textFieldType?: "number";
|
|
629
|
+
width?: number;
|
|
630
|
+
disabled?: boolean;
|
|
631
|
+
onChange?: (row: RowDataType, value: any, setTableValue: (columnName: string, newValue: any) => void) => void;
|
|
632
|
+
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/types",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.13",
|
|
4
4
|
"description": "Estructuras de Zauru, tipado de modelos y modelos personalizados.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -19,5 +19,5 @@
|
|
|
19
19
|
"engines": {
|
|
20
20
|
"node": ">=18.0.0"
|
|
21
21
|
},
|
|
22
|
-
"gitHead": "
|
|
22
|
+
"gitHead": "9bca61fddd7c538e7f95a489d59436b5557c61cc"
|
|
23
23
|
}
|
package/src/Custom.types.ts
CHANGED
|
@@ -687,7 +687,34 @@ export type RejectionWebAppTableObject = {
|
|
|
687
687
|
|
|
688
688
|
export type ReceptionType = { Codigo: string; Nombre: string };
|
|
689
689
|
|
|
690
|
+
//Modelo con el cuál responde el backend
|
|
691
|
+
export type QueueFormReceptionWebAppTable = {
|
|
692
|
+
creadoPor: string;
|
|
693
|
+
fechaCreacion: string;
|
|
694
|
+
formSubmited: any;
|
|
695
|
+
estado: string;
|
|
696
|
+
agency_id: number;
|
|
697
|
+
description: string;
|
|
698
|
+
};
|
|
699
|
+
|
|
690
700
|
export type RowDataType = {
|
|
691
701
|
id: any;
|
|
692
702
|
[key: string]: any;
|
|
693
703
|
};
|
|
704
|
+
|
|
705
|
+
export type GenericDynamicTableColumn = {
|
|
706
|
+
name: string;
|
|
707
|
+
label: string;
|
|
708
|
+
type: "checkbox" | "textField" | "selectField" | "label";
|
|
709
|
+
integer?: boolean;
|
|
710
|
+
options?: SelectFieldOption[];
|
|
711
|
+
loadingOptions?: boolean;
|
|
712
|
+
textFieldType?: "number";
|
|
713
|
+
width?: number;
|
|
714
|
+
disabled?: boolean;
|
|
715
|
+
onChange?: (
|
|
716
|
+
row: RowDataType,
|
|
717
|
+
value: any,
|
|
718
|
+
setTableValue: (columnName: string, newValue: any) => void
|
|
719
|
+
) => void;
|
|
720
|
+
};
|