@nicefer/types 1.0.145 → 1.0.147

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,5 +1,4 @@
1
1
  import { PaymentIntent } from "@stripe/stripe-js";
2
- import { Country } from "../countries";
3
2
  export type Currency = 'HNL' | 'EUR' | 'USD';
4
3
  export type DonationStatus = 'pending_pay' | 'pending' | 'payment_error' | 'processing' | 'resolve' | 'rejected' | 'expired' | 'used';
5
4
  export type ItemType = 'none' | 'event' | 'operating_expenses' | 'reversed';
@@ -8,11 +7,12 @@ export interface RadarItem {
8
7
  title: string;
9
8
  desc?: string;
10
9
  /**
10
+ * null: No se usó nada en este item, solo es un registro
11
11
  * 'event': Evento
12
12
  * 'operating_expenses': Gastos operativos
13
13
  * 'reversed': Reversión de fondos
14
14
  */
15
- type: 'none' | 'event' | 'operating_expenses' | 'reversed';
15
+ type: null | 'event' | 'operating_expenses' | 'reversed';
16
16
  icon: 'ok' | 'error' | 'waiting';
17
17
  amountUsed: number;
18
18
  createdAt: string;
@@ -21,7 +21,6 @@ export interface Donation {
21
21
  id: string;
22
22
  donorId: string;
23
23
  fullname: string;
24
- country: Country;
25
24
  anonymous: boolean;
26
25
  charges: {
27
26
  subtotal: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nicefer/types",
3
- "version": "1.0.145",
3
+ "version": "1.0.147",
4
4
  "description": "Tipos compartidos para Nicefer",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",