@uniteverses/shared 1.0.33 → 1.0.35

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.
@@ -5,3 +5,8 @@ export declare const COMMENT_MAX_REPLY_DEPTH = 2;
5
5
  export declare const COMMENT_INDENT_PX = 16;
6
6
  export declare const COMMENT_MAX_INDENT_PX = 48;
7
7
  export declare const CONTACT_PHONE = "+1 (917) 000-0000";
8
+ export declare const APPLICANT_STATUS: {
9
+ readonly PENDING: "pending";
10
+ readonly APPROVED: "approved";
11
+ readonly REJECTED: "rejected";
12
+ };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.CONTACT_PHONE = exports.COMMENT_MAX_INDENT_PX = exports.COMMENT_INDENT_PX = exports.COMMENT_MAX_REPLY_DEPTH = exports.TOPIC_NESTING_DEPTH = exports.FOOD_GROUP_NESTING_DEPTH = exports.POSTS_PAGE_SIZE = void 0;
3
+ exports.APPLICANT_STATUS = exports.CONTACT_PHONE = exports.COMMENT_MAX_INDENT_PX = exports.COMMENT_INDENT_PX = exports.COMMENT_MAX_REPLY_DEPTH = exports.TOPIC_NESTING_DEPTH = exports.FOOD_GROUP_NESTING_DEPTH = exports.POSTS_PAGE_SIZE = void 0;
4
4
  // Pagination
5
5
  exports.POSTS_PAGE_SIZE = 20;
6
6
  // Food group recursive query depth
@@ -13,3 +13,9 @@ exports.COMMENT_INDENT_PX = 16;
13
13
  exports.COMMENT_MAX_INDENT_PX = 48;
14
14
  // Contact
15
15
  exports.CONTACT_PHONE = "+1 (917) 000-0000";
16
+ // Applicant statuses
17
+ exports.APPLICANT_STATUS = {
18
+ PENDING: "pending",
19
+ APPROVED: "approved",
20
+ REJECTED: "rejected",
21
+ };
@@ -258,11 +258,12 @@ export interface UpdateOrgEventOccurrenceInput {
258
258
  capacity?: number;
259
259
  translations?: OrgEventOccurrenceTranslationInput[];
260
260
  }
261
+ export type ApplicantStatus = "pending" | "approved" | "rejected";
261
262
  export interface OrgEventOccurrenceApplicant {
262
263
  id: string;
263
264
  occurrenceId: string;
264
265
  userId: string;
265
- status: string;
266
+ status: ApplicantStatus;
266
267
  appliedAt: string | Date;
267
268
  user: User & {
268
269
  profile?: Profile | null;
@@ -367,6 +368,14 @@ export interface OrgFoodGroupItem {
367
368
  createdAt: string | Date;
368
369
  foodItem: OrgFoodItem;
369
370
  }
371
+ export interface Inquiry {
372
+ id: string;
373
+ message: string;
374
+ createdAt: string | Date;
375
+ }
376
+ export interface CreateInquiryInput {
377
+ message: string;
378
+ }
370
379
  export interface OrgFoodGroupWithChildren {
371
380
  id: string;
372
381
  organizationId: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniteverses/shared",
3
- "version": "1.0.33",
3
+ "version": "1.0.35",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [