@zauru-sdk/types 6.29.0 → 6.30.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.
@@ -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[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zauru-sdk/types",
3
- "version": "6.29.0",
3
+ "version": "6.30.0",
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": "671859beecfce09a1ccf138055a4de26a8c1f059"
25
+ "gitHead": "dc5f6e04a2c4254710cbd86cb7016beefd84b9be"
26
26
  }