@win2win/shared 1.0.43 → 1.0.45

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.
@@ -0,0 +1,2 @@
1
+ export interface ScreenHome {
2
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -30,6 +30,7 @@ export declare enum TextLineType {
30
30
  export interface TextLine {
31
31
  type: TextLineType;
32
32
  text: string;
33
+ align?: Align;
33
34
  }
34
35
  export interface TextContent {
35
36
  lines: TextLine[];
@@ -56,7 +57,7 @@ export interface LayoutSectionCardsGrid extends LayoutSection {
56
57
  export interface ImageContent {
57
58
  src: string;
58
59
  alt?: string;
59
- align?: 'left' | 'center' | 'right';
60
+ align?: Align;
60
61
  width?: string;
61
62
  height?: string;
62
63
  }
@@ -75,7 +76,7 @@ export interface TableColumn {
75
76
  header: string;
76
77
  key: string;
77
78
  width?: string | number;
78
- align?: 'left' | 'center' | 'right';
79
+ align?: Align;
79
80
  format?: string;
80
81
  }
81
82
  export interface Card {
@@ -106,3 +107,4 @@ export interface LayoutData {
106
107
  global: any;
107
108
  [sectionId: Uuid]: any;
108
109
  }
110
+ export type Align = 'left' | 'center' | 'right';
@@ -2,3 +2,9 @@ export declare enum TipoComision {
2
2
  PORCENTAJE = "porcentaje",
3
3
  MONTO_FIJO = "monto_fijo"
4
4
  }
5
+ export interface ComisionSource {
6
+ table: string;
7
+ column: string;
8
+ /** Path del campo, en caso que la columna sea de tipo json. */
9
+ field?: string;
10
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@win2win/shared",
3
- "version": "1.0.43",
3
+ "version": "1.0.45",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",