@nicefer/types 1.0.147 → 1.0.149

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