@nicefer/types 1.0.148 → 1.0.150

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
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/dist/org/index.js CHANGED
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./donation"), exports);
18
+ __exportStar(require("./event"), exports);
@@ -1,7 +1,7 @@
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 RadarType = null | '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;
@@ -0,0 +1,20 @@
1
+ export interface Event {
2
+ id: string;
3
+ title: string;
4
+ description: string;
5
+ inPerson: boolean;
6
+ organizer: {
7
+ id: string;
8
+ name: string;
9
+ };
10
+ createdBy: {
11
+ id: string;
12
+ name: string;
13
+ };
14
+ location: string;
15
+ coverUrl: string;
16
+ startDate: Date;
17
+ endDate: Date;
18
+ createdAt: string;
19
+ updatedAt?: string;
20
+ }
@@ -1 +1,2 @@
1
1
  export * from './donation';
2
+ export * from './event';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nicefer/types",
3
- "version": "1.0.148",
3
+ "version": "1.0.150",
4
4
  "description": "Tipos compartidos para Nicefer",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",