@timardex/cluemart-shared 1.5.523 → 1.5.525

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.
@@ -159,10 +159,15 @@ type SchoolType = Omit<SchoolFormData, "logoUpload"> & {
159
159
  deletedAt: Date | null;
160
160
  overallPoints: number | null;
161
161
  owner: OwnerType | null;
162
+ ranking: number | null;
162
163
  schoolCode: string;
163
164
  updatedAt: Date | null;
164
165
  };
165
166
  type SchoolRegisteredUserType = Pick<UserType, "_id" | "firstName" | "lastName" | "avatar" | "email">;
167
+ type SchoolReturnType = {
168
+ school: SchoolType;
169
+ users: SchoolRegisteredUserType[];
170
+ };
166
171
  interface MarketingMaterialRequestInputType {
167
172
  posterName: string;
168
173
  resourceId: string;
@@ -292,4 +297,4 @@ type PostType = Omit<PostFormData, "content" | "coverUpload"> & {
292
297
  updatedAt: Date | null;
293
298
  };
294
299
 
295
- export { type AdType as A, type PostContentList as B, type CreateUserFormData as C, type PostContentTextarea as D, EnumAdStatus as E, type PostContentType as F, type PostContentVideo as G, type PostFileInput as H, type StripeSubscription as I, type SubscriptionPlanData as J, type SubscriptionPricingData as K, type UserActivity as L, type MarketingMaterialRequestInputType as M, type UserActivityEvent as N, type PartnerType as P, type ResourceByUser as R, type SubscriptionPlansResponse as S, type UserType as U, type SubscriptionStatusData as a, type PostType as b, EnumPostType as c, type AppSettingsType as d, type SchoolType as e, type SchoolRegisteredUserType as f, type UserFormData as g, type PartnerFormData as h, type AdFormData as i, type CreateAdFormData as j, type CreatePartnerFormData as k, type PostFormData as l, type CreatePostFormData as m, type AppSettingsFormData as n, type CreateAppSettingsFormData as o, type SchoolFormData as p, type CreateSchoolFormData as q, type AdResource as r, EnumAdShowOn as s, EnumAdStyle as t, EnumAdType as u, EnumPostContentType as v, type PostContentData as w, type PostContentFormData as x, type PostContentGame as y, type PostContentImage as z };
300
+ export { type AdType as A, type PostContentList as B, type CreateUserFormData as C, type PostContentTextarea as D, EnumAdStatus as E, type PostContentType as F, type PostContentVideo as G, type PostFileInput as H, type SchoolRegisteredUserType as I, type StripeSubscription as J, type SubscriptionPlanData as K, type SubscriptionPricingData as L, type MarketingMaterialRequestInputType as M, type UserActivity as N, type UserActivityEvent as O, type PartnerType as P, type ResourceByUser as R, type SubscriptionPlansResponse as S, type UserType as U, type SubscriptionStatusData as a, type PostType as b, EnumPostType as c, type AppSettingsType as d, type SchoolReturnType as e, type SchoolType as f, type UserFormData as g, type PartnerFormData as h, type AdFormData as i, type CreateAdFormData as j, type CreatePartnerFormData as k, type PostFormData as l, type CreatePostFormData as m, type AppSettingsFormData as n, type CreateAppSettingsFormData as o, type SchoolFormData as p, type CreateSchoolFormData as q, type AdResource as r, EnumAdShowOn as s, EnumAdStyle as t, EnumAdType as u, EnumPostContentType as v, type PostContentData as w, type PostContentFormData as x, type PostContentGame as y, type PostContentImage as z };
@@ -159,10 +159,15 @@ type SchoolType = Omit<SchoolFormData, "logoUpload"> & {
159
159
  deletedAt: Date | null;
160
160
  overallPoints: number | null;
161
161
  owner: OwnerType | null;
162
+ ranking: number | null;
162
163
  schoolCode: string;
163
164
  updatedAt: Date | null;
164
165
  };
165
166
  type SchoolRegisteredUserType = Pick<UserType, "_id" | "firstName" | "lastName" | "avatar" | "email">;
167
+ type SchoolReturnType = {
168
+ school: SchoolType;
169
+ users: SchoolRegisteredUserType[];
170
+ };
166
171
  interface MarketingMaterialRequestInputType {
167
172
  posterName: string;
168
173
  resourceId: string;
@@ -292,4 +297,4 @@ type PostType = Omit<PostFormData, "content" | "coverUpload"> & {
292
297
  updatedAt: Date | null;
293
298
  };
294
299
 
295
- export { type AdType as A, type PostContentList as B, type CreateUserFormData as C, type PostContentTextarea as D, EnumAdStatus as E, type PostContentType as F, type PostContentVideo as G, type PostFileInput as H, type StripeSubscription as I, type SubscriptionPlanData as J, type SubscriptionPricingData as K, type UserActivity as L, type MarketingMaterialRequestInputType as M, type UserActivityEvent as N, type PartnerType as P, type ResourceByUser as R, type SubscriptionPlansResponse as S, type UserType as U, type SubscriptionStatusData as a, type PostType as b, EnumPostType as c, type AppSettingsType as d, type SchoolType as e, type SchoolRegisteredUserType as f, type UserFormData as g, type PartnerFormData as h, type AdFormData as i, type CreateAdFormData as j, type CreatePartnerFormData as k, type PostFormData as l, type CreatePostFormData as m, type AppSettingsFormData as n, type CreateAppSettingsFormData as o, type SchoolFormData as p, type CreateSchoolFormData as q, type AdResource as r, EnumAdShowOn as s, EnumAdStyle as t, EnumAdType as u, EnumPostContentType as v, type PostContentData as w, type PostContentFormData as x, type PostContentGame as y, type PostContentImage as z };
300
+ export { type AdType as A, type PostContentList as B, type CreateUserFormData as C, type PostContentTextarea as D, EnumAdStatus as E, type PostContentType as F, type PostContentVideo as G, type PostFileInput as H, type SchoolRegisteredUserType as I, type StripeSubscription as J, type SubscriptionPlanData as K, type SubscriptionPricingData as L, type MarketingMaterialRequestInputType as M, type UserActivity as N, type UserActivityEvent as O, type PartnerType as P, type ResourceByUser as R, type SubscriptionPlansResponse as S, type UserType as U, type SubscriptionStatusData as a, type PostType as b, EnumPostType as c, type AppSettingsType as d, type SchoolReturnType as e, type SchoolType as f, type UserFormData as g, type PartnerFormData as h, type AdFormData as i, type CreateAdFormData as j, type CreatePartnerFormData as k, type PostFormData as l, type CreatePostFormData as m, type AppSettingsFormData as n, type CreateAppSettingsFormData as o, type SchoolFormData as p, type CreateSchoolFormData as q, type AdResource as r, EnumAdShowOn as s, EnumAdStyle as t, EnumAdType as u, EnumPostContentType as v, type PostContentData as w, type PostContentFormData as x, type PostContentGame as y, type PostContentImage as z };
@@ -3,7 +3,7 @@ export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginF
3
3
  export { c as ChatMessageInput, d as ChatMessageReaction, e as ChatMessageReplyPreview, f as ChatMessageSeen, g as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, N as NotificationCount, i as NotificationDataType, a as NotificationType, P as ParticipantType, R as ReportChatUser, j as ResourceActivityEntry, k as ResourceActivityInputType, b as ResourceActivityType } from '../resourceActivities-CqrscA5x.mjs';
4
4
  import { c as EventListItemType } from '../global-MMBYi34A.mjs';
5
5
  export { A as AssociateType, r as BaseResourceType, B as BaseResourceTypeFormData, C as Category, n as CreateEventFormData, p as CreateEventInfoFormData, s as CreateFormData, t as CreateUnregisteredVendorFormData, j as CreateVendorFormData, l as CreateVendorInfoFormData, D as DateTimeType, u as DateTimeWithPriceType, v as DeviceInfo, m as EventFormData, o as EventInfoFormData, d as EventInfoType, w as EventStatusType, E as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, x as LocationGeoType, L as LocationType, N as Nullable, O as OptionItem, y as OwnerType, P as PaymentInfoType, z as PosterUsageType, R as RefundPolicy, H as Region, J as RelationDate, e as RelationType, b as Requirement, f as ResourceConnectionsType, K as ResourceContactDetailsType, M as ResourceDetails, Q as ResourceImageType, T as SocialMediaType, S as StallType, W as Subcategory, X as SubcategoryItems, Y as TermsAgreement, q as UnregisteredVendorFormData, Z as UnregisteredVendorInvitationType, U as UnregisteredVendorType, h as UserLicenceType, _ as VendorAttributes, $ as VendorCalendarData, i as VendorFormData, k as VendorInfoFormData, g as VendorInfoType, a0 as VendorProductList, V as VendorType } from '../global-MMBYi34A.mjs';
6
- export { i as AdFormData, r as AdResource, A as AdType, n as AppSettingsFormData, d as AppSettingsType, j as CreateAdFormData, o as CreateAppSettingsFormData, k as CreatePartnerFormData, m as CreatePostFormData, q as CreateSchoolFormData, C as CreateUserFormData, s as EnumAdShowOn, E as EnumAdStatus, t as EnumAdStyle, u as EnumAdType, v as EnumPostContentType, c as EnumPostType, M as MarketingMaterialRequestInputType, h as PartnerFormData, P as PartnerType, w as PostContentData, x as PostContentFormData, y as PostContentGame, z as PostContentImage, B as PostContentList, D as PostContentTextarea, F as PostContentType, G as PostContentVideo, H as PostFileInput, l as PostFormData, b as PostType, R as ResourceByUser, p as SchoolFormData, f as SchoolRegisteredUserType, e as SchoolType, I as StripeSubscription, J as SubscriptionPlanData, S as SubscriptionPlansResponse, K as SubscriptionPricingData, a as SubscriptionStatusData, L as UserActivity, N as UserActivityEvent, g as UserFormData, U as UserType } from '../post-BPefBhwH.mjs';
6
+ export { i as AdFormData, r as AdResource, A as AdType, n as AppSettingsFormData, d as AppSettingsType, j as CreateAdFormData, o as CreateAppSettingsFormData, k as CreatePartnerFormData, m as CreatePostFormData, q as CreateSchoolFormData, C as CreateUserFormData, s as EnumAdShowOn, E as EnumAdStatus, t as EnumAdStyle, u as EnumAdType, v as EnumPostContentType, c as EnumPostType, M as MarketingMaterialRequestInputType, h as PartnerFormData, P as PartnerType, w as PostContentData, x as PostContentFormData, y as PostContentGame, z as PostContentImage, B as PostContentList, D as PostContentTextarea, F as PostContentType, G as PostContentVideo, H as PostFileInput, l as PostFormData, b as PostType, R as ResourceByUser, p as SchoolFormData, I as SchoolRegisteredUserType, e as SchoolReturnType, f as SchoolType, J as StripeSubscription, K as SubscriptionPlanData, S as SubscriptionPlansResponse, L as SubscriptionPricingData, a as SubscriptionStatusData, N as UserActivity, O as UserActivityEvent, g as UserFormData, U as UserType } from '../post-BRychs8s.mjs';
7
7
  export { B as BaseGame, D as DailyClueGameData, E as EnumGameStatus, b as EnumGameType, c as GameDate, G as GameDocType, d as GameHistory, a as GameLeaderboard, e as GamePlacement, f as GamePlacementClue, g as GameType, h as gameScreenIdentifierList, i as gameTypeToDisplayName } from '../game-CC5mxG64.mjs';
8
8
  import 'react-hook-form';
9
9
 
@@ -3,7 +3,7 @@ export { e as ContactUsFormData, f as CreateContactUsFormData, C as CreateLoginF
3
3
  export { c as ChatMessageInput, d as ChatMessageReaction, e as ChatMessageReplyPreview, f as ChatMessageSeen, g as ChatMessageType, C as ChatType, h as CreateBulkNotificationInput, E as EnumActivity, N as NotificationCount, i as NotificationDataType, a as NotificationType, P as ParticipantType, R as ReportChatUser, j as ResourceActivityEntry, k as ResourceActivityInputType, b as ResourceActivityType } from '../resourceActivities-2FaGRW-i.js';
4
4
  import { c as EventListItemType } from '../global-B0WdAD-8.js';
5
5
  export { A as AssociateType, r as BaseResourceType, B as BaseResourceTypeFormData, C as Category, n as CreateEventFormData, p as CreateEventInfoFormData, s as CreateFormData, t as CreateUnregisteredVendorFormData, j as CreateVendorFormData, l as CreateVendorInfoFormData, D as DateTimeType, u as DateTimeWithPriceType, v as DeviceInfo, m as EventFormData, o as EventInfoFormData, d as EventInfoType, w as EventStatusType, E as EventType, a as FormDateField, F as FormField, G as GeocodeLocation, I as ImageObjectType, x as LocationGeoType, L as LocationType, N as Nullable, O as OptionItem, y as OwnerType, P as PaymentInfoType, z as PosterUsageType, R as RefundPolicy, H as Region, J as RelationDate, e as RelationType, b as Requirement, f as ResourceConnectionsType, K as ResourceContactDetailsType, M as ResourceDetails, Q as ResourceImageType, T as SocialMediaType, S as StallType, W as Subcategory, X as SubcategoryItems, Y as TermsAgreement, q as UnregisteredVendorFormData, Z as UnregisteredVendorInvitationType, U as UnregisteredVendorType, h as UserLicenceType, _ as VendorAttributes, $ as VendorCalendarData, i as VendorFormData, k as VendorInfoFormData, g as VendorInfoType, a0 as VendorProductList, V as VendorType } from '../global-B0WdAD-8.js';
6
- export { i as AdFormData, r as AdResource, A as AdType, n as AppSettingsFormData, d as AppSettingsType, j as CreateAdFormData, o as CreateAppSettingsFormData, k as CreatePartnerFormData, m as CreatePostFormData, q as CreateSchoolFormData, C as CreateUserFormData, s as EnumAdShowOn, E as EnumAdStatus, t as EnumAdStyle, u as EnumAdType, v as EnumPostContentType, c as EnumPostType, M as MarketingMaterialRequestInputType, h as PartnerFormData, P as PartnerType, w as PostContentData, x as PostContentFormData, y as PostContentGame, z as PostContentImage, B as PostContentList, D as PostContentTextarea, F as PostContentType, G as PostContentVideo, H as PostFileInput, l as PostFormData, b as PostType, R as ResourceByUser, p as SchoolFormData, f as SchoolRegisteredUserType, e as SchoolType, I as StripeSubscription, J as SubscriptionPlanData, S as SubscriptionPlansResponse, K as SubscriptionPricingData, a as SubscriptionStatusData, L as UserActivity, N as UserActivityEvent, g as UserFormData, U as UserType } from '../post-kS5CrR6f.js';
6
+ export { i as AdFormData, r as AdResource, A as AdType, n as AppSettingsFormData, d as AppSettingsType, j as CreateAdFormData, o as CreateAppSettingsFormData, k as CreatePartnerFormData, m as CreatePostFormData, q as CreateSchoolFormData, C as CreateUserFormData, s as EnumAdShowOn, E as EnumAdStatus, t as EnumAdStyle, u as EnumAdType, v as EnumPostContentType, c as EnumPostType, M as MarketingMaterialRequestInputType, h as PartnerFormData, P as PartnerType, w as PostContentData, x as PostContentFormData, y as PostContentGame, z as PostContentImage, B as PostContentList, D as PostContentTextarea, F as PostContentType, G as PostContentVideo, H as PostFileInput, l as PostFormData, b as PostType, R as ResourceByUser, p as SchoolFormData, I as SchoolRegisteredUserType, e as SchoolReturnType, f as SchoolType, J as StripeSubscription, K as SubscriptionPlanData, S as SubscriptionPlansResponse, L as SubscriptionPricingData, a as SubscriptionStatusData, N as UserActivity, O as UserActivityEvent, g as UserFormData, U as UserType } from '../post-DZ_wwOQN.js';
7
7
  export { B as BaseGame, D as DailyClueGameData, E as EnumGameStatus, b as EnumGameType, c as GameDate, G as GameDocType, d as GameHistory, a as GameLeaderboard, e as GamePlacement, f as GamePlacementClue, g as GameType, h as gameScreenIdentifierList, i as gameTypeToDisplayName } from '../game-DhiKOr9_.js';
8
8
  import 'react-hook-form';
9
9
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timardex/cluemart-shared",
3
- "version": "1.5.523",
3
+ "version": "1.5.525",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",