hvp-shared 3.5.0 → 3.5.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.
@@ -1,8 +1,11 @@
1
1
  /**
2
2
  * Shared constants for HVP2021
3
+ * Re-exports from constants/index.ts for backward compatibility.
4
+ *
5
+ * Note: This file exists for module resolution. TypeScript resolves
6
+ * `import from './constants'` to this file instead of constants/index.ts.
3
7
  */
4
8
  export declare const APP_NAME = "HVP2021";
5
9
  export declare const VERSION = "1.0.0";
6
10
  export declare const UMA_2024_DAILY = 108.57;
7
- export * from './constants/mexican-states';
8
- export * from './constants/sat-catalogs';
11
+ export * from './constants/index';
package/dist/constants.js CHANGED
@@ -1,6 +1,10 @@
1
1
  "use strict";
2
2
  /**
3
3
  * Shared constants for HVP2021
4
+ * Re-exports from constants/index.ts for backward compatibility.
5
+ *
6
+ * Note: This file exists for module resolution. TypeScript resolves
7
+ * `import from './constants'` to this file instead of constants/index.ts.
4
8
  */
5
9
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
6
10
  if (k2 === undefined) k2 = k;
@@ -18,20 +22,9 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
22
  };
19
23
  Object.defineProperty(exports, "__esModule", { value: true });
20
24
  exports.UMA_2024_DAILY = exports.VERSION = exports.APP_NAME = void 0;
21
- // ============================================================================
22
- // Application Constants
23
- // ============================================================================
25
+ // Application Constants (kept here for backward compatibility)
24
26
  exports.APP_NAME = 'HVP2021';
25
27
  exports.VERSION = '1.0.0';
26
- // ============================================================================
27
- // Mexican Tax Constants (updated annually)
28
- // ============================================================================
29
28
  exports.UMA_2024_DAILY = 108.57;
30
- // ============================================================================
31
- // Mexican Geographic Data
32
- // ============================================================================
33
- __exportStar(require("./constants/mexican-states"), exports);
34
- // ============================================================================
35
- // SAT Catalogs (CFDI Nómina)
36
- // ============================================================================
37
- __exportStar(require("./constants/sat-catalogs"), exports);
29
+ // Re-export everything from constants folder
30
+ __exportStar(require("./constants/index"), exports);
package/dist/types.d.ts CHANGED
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Shared types for HVP2021
3
- * Used by both backend and frontend for type consistency
3
+ * Re-exports from types/index.ts for backward compatibility.
4
+ *
5
+ * Note: This file exists for module resolution. TypeScript resolves
6
+ * `import from './types'` to this file instead of types/index.ts.
4
7
  */
5
- export * from './types/api-response.types';
6
- export * from './types/error-codes.types';
7
- export * from './types/company-settings.types';
8
- export * from './types/collaborator-fiscal.types';
8
+ export * from './types/index';
package/dist/types.js CHANGED
@@ -1,8 +1,4 @@
1
1
  "use strict";
2
- /**
3
- * Shared types for HVP2021
4
- * Used by both backend and frontend for type consistency
5
- */
6
2
  var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
7
3
  if (k2 === undefined) k2 = k;
8
4
  var desc = Object.getOwnPropertyDescriptor(m, k);
@@ -18,16 +14,11 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
18
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
19
15
  };
20
16
  Object.defineProperty(exports, "__esModule", { value: true });
21
- // ============================================================================
22
- // API Response Types - Standardized format for all endpoints
23
- // ============================================================================
24
- __exportStar(require("./types/api-response.types"), exports);
25
- // ============================================================================
26
- // Error Codes - Domain-specific error codes
27
- // ============================================================================
28
- __exportStar(require("./types/error-codes.types"), exports);
29
- // ============================================================================
30
- // Domain Types - Business entities and DTOs
31
- // ============================================================================
32
- __exportStar(require("./types/company-settings.types"), exports);
33
- __exportStar(require("./types/collaborator-fiscal.types"), exports);
17
+ /**
18
+ * Shared types for HVP2021
19
+ * Re-exports from types/index.ts for backward compatibility.
20
+ *
21
+ * Note: This file exists for module resolution. TypeScript resolves
22
+ * `import from './types'` to this file instead of types/index.ts.
23
+ */
24
+ __exportStar(require("./types/index"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hvp-shared",
3
- "version": "3.5.0",
3
+ "version": "3.5.1",
4
4
  "description": "Shared types and utilities for HVP backend and frontend",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",