@nicefer/types 1.0.187 → 1.0.189

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,3 +1,20 @@
1
+ export interface NiceEvent {
2
+ id: string;
3
+ title: string;
4
+ description: string;
5
+ inPerson: boolean;
6
+ organizerName: string;
7
+ createdBy: {
8
+ id: string;
9
+ name: string;
10
+ };
11
+ location: string;
12
+ coverUrl?: string;
13
+ startDate: Date;
14
+ endDate: Date;
15
+ createdAt: string;
16
+ updatedAt?: string;
17
+ }
1
18
  import { PaymentIntent } from "@stripe/stripe-js";
2
19
  export type Currency = 'HNL' | 'EUR' | 'USD';
3
20
  export type DonationStatus = 'pending_pay' | 'pending' | 'payment_error' | 'processing' | 'resolve' | 'rejected' | 'expired' | 'used';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nicefer/types",
3
- "version": "1.0.187",
3
+ "version": "1.0.189",
4
4
  "description": "Tipos compartidos para Nicefer",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.js",
@@ -15,8 +15,8 @@
15
15
  "types": "./dist/index.d.ts"
16
16
  },
17
17
  "./org": {
18
- "import": "./dist/@org.js",
19
- "types": "./dist/@org.d.ts"
18
+ "import": "./dist/org.js",
19
+ "types": "./dist/org.d.ts"
20
20
  }
21
21
  },
22
22
  "scripts": {
@@ -1,17 +0,0 @@
1
- export interface NiceEvent {
2
- id: string;
3
- title: string;
4
- description: string;
5
- inPerson: boolean;
6
- organizerName: string;
7
- createdBy: {
8
- id: string;
9
- name: string;
10
- };
11
- location: string;
12
- coverUrl?: string;
13
- startDate: Date;
14
- endDate: Date;
15
- createdAt: string;
16
- updatedAt?: string;
17
- }
package/dist/org/event.js DELETED
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- export * from './radar';
2
- export * from './event';
@@ -1,2 +0,0 @@
1
- export * from './radar';
2
- export * from './event';
File without changes