heartraite 1.0.114 → 1.0.116
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,26 @@
|
|
|
1
|
+
export declare enum EventAccess {
|
|
2
|
+
PUBLIC = "public",
|
|
3
|
+
INVITE_ONLY = "invite_only"
|
|
4
|
+
}
|
|
5
|
+
export type Event = {
|
|
6
|
+
id: string;
|
|
7
|
+
title: string;
|
|
8
|
+
description?: string;
|
|
9
|
+
createdBy: string;
|
|
10
|
+
createdByRole: "operator" | "partner";
|
|
11
|
+
eventDateTime: string;
|
|
12
|
+
location?: string;
|
|
13
|
+
isCancelled?: boolean;
|
|
14
|
+
maxParticipants?: number;
|
|
15
|
+
participants: number;
|
|
16
|
+
created: string;
|
|
17
|
+
lastUpdated: string;
|
|
18
|
+
access: EventAccess;
|
|
19
|
+
};
|
|
20
|
+
export type EventParticipant = {
|
|
21
|
+
eventId: string;
|
|
22
|
+
userId: string;
|
|
23
|
+
joinedAt: string;
|
|
24
|
+
role: "attendee" | "host" | "admin";
|
|
25
|
+
status: "confirmed" | "pending" | "cancelled";
|
|
26
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EventAccess = void 0;
|
|
4
|
+
var EventAccess;
|
|
5
|
+
(function (EventAccess) {
|
|
6
|
+
EventAccess["PUBLIC"] = "public";
|
|
7
|
+
EventAccess["INVITE_ONLY"] = "invite_only";
|
|
8
|
+
})(EventAccess || (exports.EventAccess = EventAccess = {}));
|
package/dist/types/index.d.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from "./assessment.types";
|
|
|
3
3
|
export * from "./ca.types";
|
|
4
4
|
export * from "./cloud-function-types";
|
|
5
5
|
export * from "./error.types";
|
|
6
|
+
export * from "./event.types";
|
|
6
7
|
export * from "./feedback.types";
|
|
7
8
|
export * from "./helper.types";
|
|
8
9
|
export * from "./like.types";
|
package/dist/types/index.js
CHANGED
|
@@ -19,6 +19,7 @@ __exportStar(require("./assessment.types"), exports);
|
|
|
19
19
|
__exportStar(require("./ca.types"), exports);
|
|
20
20
|
__exportStar(require("./cloud-function-types"), exports);
|
|
21
21
|
__exportStar(require("./error.types"), exports);
|
|
22
|
+
__exportStar(require("./event.types"), exports);
|
|
22
23
|
__exportStar(require("./feedback.types"), exports);
|
|
23
24
|
__exportStar(require("./helper.types"), exports);
|
|
24
25
|
__exportStar(require("./like.types"), exports);
|
package/package.json
CHANGED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export enum EventAccess {
|
|
2
|
+
PUBLIC = "public",
|
|
3
|
+
INVITE_ONLY = "invite_only",
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
export type Event = {
|
|
7
|
+
id: string;
|
|
8
|
+
title: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
createdBy: string;
|
|
11
|
+
createdByRole: "operator" | "partner";
|
|
12
|
+
eventDateTime: string;
|
|
13
|
+
location?: string;
|
|
14
|
+
isCancelled?: boolean;
|
|
15
|
+
maxParticipants?: number;
|
|
16
|
+
participants: number;
|
|
17
|
+
created: string;
|
|
18
|
+
lastUpdated: string;
|
|
19
|
+
access: EventAccess;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export type EventParticipant = {
|
|
23
|
+
eventId: string;
|
|
24
|
+
userId: string;
|
|
25
|
+
joinedAt: string;
|
|
26
|
+
role: "attendee" | "host" | "admin";
|
|
27
|
+
status: "confirmed" | "pending" | "cancelled";
|
|
28
|
+
};
|
package/src/types/index.ts
CHANGED
|
@@ -3,6 +3,7 @@ export * from "./assessment.types";
|
|
|
3
3
|
export * from "./ca.types";
|
|
4
4
|
export * from "./cloud-function-types";
|
|
5
5
|
export * from "./error.types";
|
|
6
|
+
export * from "./event.types";
|
|
6
7
|
export * from "./feedback.types";
|
|
7
8
|
export * from "./helper.types";
|
|
8
9
|
export * from "./like.types";
|