@uniteverses/shared 1.0.94 → 1.0.95

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.
@@ -22,7 +22,6 @@ export interface OrgEvent {
22
22
  id: string;
23
23
  organizationId: string;
24
24
  isActive: boolean;
25
- registrationRequired: boolean;
26
25
  createdAt: string;
27
26
  pinned: boolean;
28
27
  occurrences?: OrgEventOccurrence[];
@@ -39,13 +38,11 @@ export interface OrgEvent {
39
38
  export interface CreateOrgEventInput {
40
39
  translations: OrgEventTranslationInput[];
41
40
  isActive?: boolean;
42
- registrationRequired?: boolean;
43
41
  typeIds?: string[];
44
42
  }
45
43
  export interface UpdateOrgEventInput {
46
44
  translations: OrgEventTranslationInput[];
47
45
  isActive?: boolean;
48
- registrationRequired?: boolean;
49
46
  imageStoragePath?: string | null;
50
47
  typeIds?: string[];
51
48
  }
@@ -1,7 +1,2 @@
1
1
  export declare const OCCURRENCES_PAGE_SIZE = 100;
2
2
  export declare const OCCURRENCES_MAX_LIMIT = 500;
3
- export declare const APPLICANT_STATUS: {
4
- readonly PENDING: "pending";
5
- readonly APPROVED: "approved";
6
- readonly REJECTED: "rejected";
7
- };
@@ -1,10 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.APPLICANT_STATUS = exports.OCCURRENCES_MAX_LIMIT = exports.OCCURRENCES_PAGE_SIZE = void 0;
3
+ exports.OCCURRENCES_MAX_LIMIT = exports.OCCURRENCES_PAGE_SIZE = void 0;
4
4
  exports.OCCURRENCES_PAGE_SIZE = 100;
5
5
  exports.OCCURRENCES_MAX_LIMIT = 500;
6
- exports.APPLICANT_STATUS = {
7
- PENDING: "pending",
8
- APPROVED: "approved",
9
- REJECTED: "rejected",
10
- };
@@ -1,4 +1,4 @@
1
- import type { Language, User } from "..";
1
+ import type { Language } from "..";
2
2
  export interface OrgEventOccurrenceTranslation {
3
3
  id: string;
4
4
  occurrenceId: string;
@@ -20,14 +20,8 @@ export interface OrgEventOccurrence {
20
20
  capacity: number | null;
21
21
  rsvpLink: string | null;
22
22
  createdAt: string;
23
- applicants?: OrgEventOccurrenceApplicant[];
24
- participants?: OrgEventOccurrenceParticipant[];
25
23
  translations: OrgEventOccurrenceTranslation[];
26
24
  imageUrl?: string | null;
27
- _count?: {
28
- applicants: number;
29
- participants: number;
30
- };
31
25
  }
32
26
  export interface CreateOrgEventOccurrenceInput {
33
27
  startsAt: string;
@@ -46,19 +40,3 @@ export interface UpdateOrgEventOccurrenceInput {
46
40
  imageStoragePath?: string | null;
47
41
  translations?: OrgEventOccurrenceTranslationInput[];
48
42
  }
49
- export type ApplicantStatus = "pending" | "approved" | "rejected";
50
- export interface OrgEventOccurrenceApplicant {
51
- id: string;
52
- occurrenceId: string;
53
- userId: string;
54
- status: ApplicantStatus;
55
- appliedAt: string;
56
- user: User;
57
- }
58
- export interface OrgEventOccurrenceParticipant {
59
- id: string;
60
- occurrenceId: string;
61
- userId: string;
62
- joinedAt: string;
63
- user: User;
64
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.94",
3
+ "version": "1.0.95",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [