@zauru-sdk/types 6.29.0 → 6.30.1
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/Custom.types.d.ts +20 -4
- package/package.json +2 -2
package/dist/Custom.types.d.ts
CHANGED
|
@@ -599,17 +599,32 @@ export type WebAppTableBody<T> = {
|
|
|
599
599
|
data: T;
|
|
600
600
|
};
|
|
601
601
|
};
|
|
602
|
-
export type WebAppTableUpdateResponse = {
|
|
602
|
+
export type WebAppTableUpdateResponse<T = {
|
|
603
|
+
Nombre: string;
|
|
604
|
+
}> = {
|
|
603
605
|
id: number;
|
|
604
606
|
webapp_table_id: number;
|
|
605
|
-
data:
|
|
606
|
-
Nombre: string;
|
|
607
|
-
};
|
|
607
|
+
data: T;
|
|
608
608
|
creator_id: number;
|
|
609
609
|
updater_id: number | null;
|
|
610
610
|
created_at: string;
|
|
611
611
|
updated_at: string;
|
|
612
612
|
};
|
|
613
|
+
export type WebAppTableBulkCreateBody<T> = {
|
|
614
|
+
webapp_rows: Array<{
|
|
615
|
+
data: T;
|
|
616
|
+
}>;
|
|
617
|
+
};
|
|
618
|
+
export type WebAppTableBulkUpdateBody<T> = {
|
|
619
|
+
webapp_rows: Array<{
|
|
620
|
+
id: number | string;
|
|
621
|
+
data: Partial<T>;
|
|
622
|
+
}>;
|
|
623
|
+
};
|
|
624
|
+
export type WebAppTableBulkResponse<T> = {
|
|
625
|
+
webapp_rows: WebAppTableUpdateResponse<T>[];
|
|
626
|
+
count: number;
|
|
627
|
+
};
|
|
613
628
|
export type WebAppTableCreateBody = {
|
|
614
629
|
name: string;
|
|
615
630
|
rows_structure: string[];
|
|
@@ -842,6 +857,7 @@ export type CalculateItemPriceFromWeeklyMatrixInput = {
|
|
|
842
857
|
date: string;
|
|
843
858
|
region?: string;
|
|
844
859
|
tipo?: string;
|
|
860
|
+
providerId?: number;
|
|
845
861
|
providerCategoryId?: number;
|
|
846
862
|
matrix?: WeeklyCostMatrix | null;
|
|
847
863
|
specialItems?: Array<SpecialItem | WebAppRowGraphQL<SpecialItem>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zauru-sdk/types",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.30.1",
|
|
4
4
|
"description": "Estructuras de Zauru, tipado de modelos y modelos personalizados.",
|
|
5
5
|
"main": "./dist/esm/index.js",
|
|
6
6
|
"module": "./dist/esm/index.js",
|
|
@@ -22,5 +22,5 @@
|
|
|
22
22
|
"devDependencies": {
|
|
23
23
|
"typescript": "^5.1.6"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "07c7b4434055c88b7d12f452a04e83b67ddeea61"
|
|
26
26
|
}
|