@simonarcher/fika-types 1.0.21 → 1.0.22

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,27 @@
1
+ export interface NewCoffeeShopEvent {
2
+ hostId?: string;
3
+ name: string;
4
+ description: string;
5
+ imageUrl: string;
6
+ images?: string[];
7
+ date: string;
8
+ countryCode: string;
9
+ city: string;
10
+ locationName: string;
11
+ eventUrl: string;
12
+ cta: string;
13
+ latitude: number;
14
+ longitude: number;
15
+ spaces?: number;
16
+ }
17
+ export interface CoffeeShopEvent extends NewCoffeeShopEvent {
18
+ id: string;
19
+ active: boolean;
20
+ attendees: EventAttendee[];
21
+ createdAt: Date;
22
+ updatedAt: Date;
23
+ }
24
+ export interface EventAttendee {
25
+ userId: string;
26
+ joinedAt: Date;
27
+ }
@@ -0,0 +1,2 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simonarcher/fika-types",
3
- "version": "1.0.21",
3
+ "version": "1.0.22",
4
4
  "description": "Shared TypeScript types for Fika projects",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",