@timardex/cluemart-shared 1.5.764 → 1.5.765

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.
Files changed (45) hide show
  1. package/dist/{ad-CJagQnlM.d.ts → ad-12qIWwu_.d.ts} +1 -1
  2. package/dist/{ad-DvMxLm4X.d.mts → ad-Orgg8VLY.d.mts} +1 -1
  3. package/dist/{chunk-MVRRQ7CN.mjs → chunk-4IFDECGL.mjs} +2 -2
  4. package/dist/{chunk-V6XMJOAO.mjs → chunk-BD52O2F5.mjs} +2 -2
  5. package/dist/{chunk-LELKI44G.mjs → chunk-TWH7MY2Y.mjs} +2 -2
  6. package/dist/{chunk-RGE5GVDJ.mjs → chunk-YTHDXYNK.mjs} +1 -1
  7. package/dist/chunk-YTHDXYNK.mjs.map +1 -0
  8. package/dist/{contactUs-4VZQ638B.d.ts → contactUs-CagyPoim.d.ts} +1 -1
  9. package/dist/{contactUs-D7tniSAx.d.mts → contactUs-bokiUF_R.d.mts} +1 -1
  10. package/dist/formFields/index.d.mts +1 -1
  11. package/dist/formFields/index.d.ts +1 -1
  12. package/dist/formFields/index.mjs +3 -3
  13. package/dist/{global-BpBsWczS.d.mts → global-CDs9AQha.d.mts} +4 -6
  14. package/dist/{global-BqDLgGwU.d.ts → global-zbAVHr9-.d.ts} +4 -6
  15. package/dist/graphql/index.d.mts +3 -3
  16. package/dist/graphql/index.d.ts +3 -3
  17. package/dist/hooks/index.cjs +1 -0
  18. package/dist/hooks/index.cjs.map +1 -1
  19. package/dist/hooks/index.d.mts +3 -3
  20. package/dist/hooks/index.d.ts +3 -3
  21. package/dist/hooks/index.mjs +5 -4
  22. package/dist/hooks/index.mjs.map +1 -1
  23. package/dist/index.cjs.map +1 -1
  24. package/dist/index.d.mts +4 -6
  25. package/dist/index.d.ts +4 -6
  26. package/dist/index.mjs.map +1 -1
  27. package/dist/map/index.d.mts +1 -1
  28. package/dist/map/index.d.ts +1 -1
  29. package/dist/{resourceActivities-C_0LA9YJ.d.mts → resourceActivities-Dbxhm_Ax.d.mts} +1 -1
  30. package/dist/{resourceActivities-D0w8LT8f.d.ts → resourceActivities-dRHhkvN2.d.ts} +1 -1
  31. package/dist/sharing/index.d.mts +1 -1
  32. package/dist/sharing/index.d.ts +1 -1
  33. package/dist/sharing/index.mjs +3 -3
  34. package/dist/types/index.cjs.map +1 -1
  35. package/dist/types/index.d.mts +5 -5
  36. package/dist/types/index.d.ts +5 -5
  37. package/dist/types/index.mjs +1 -1
  38. package/dist/utils/index.d.mts +1 -1
  39. package/dist/utils/index.d.ts +1 -1
  40. package/dist/utils/index.mjs +2 -2
  41. package/package.json +1 -1
  42. package/dist/chunk-RGE5GVDJ.mjs.map +0 -1
  43. /package/dist/{chunk-MVRRQ7CN.mjs.map → chunk-4IFDECGL.mjs.map} +0 -0
  44. /package/dist/{chunk-V6XMJOAO.mjs.map → chunk-BD52O2F5.mjs.map} +0 -0
  45. /package/dist/{chunk-LELKI44G.mjs.map → chunk-TWH7MY2Y.mjs.map} +0 -0
@@ -1,5 +1,5 @@
1
1
  import { EnumOSPlatform, EnumUserRole, EnumReward, EnumSubscriptionStatus, EnumUserLicence, EnumResourceType, EnumPartnerType } from './enums/index.js';
2
- import { aw as ResourceImageType, L as LocationType, aA as TermsAgreement, A as AssociateType, i as UserLicenceType, al as PromoCodeType, K as DateTimeType, H as CreateFormData, D as BaseResourceType, B as BaseResourceTypeFormData, au as ResourceContactDetailsType, ax as SocialMediaType, a6 as OwnerType } from './global-BqDLgGwU.js';
2
+ import { av as ResourceImageType, L as LocationType, az as TermsAgreement, A as AssociateType, i as UserLicenceType, ak as PromoCodeType, K as DateTimeType, H as CreateFormData, D as BaseResourceType, B as BaseResourceTypeFormData, at as ResourceContactDetailsType, aw as SocialMediaType, a6 as OwnerType } from './global-zbAVHr9-.js';
3
3
  import { PosterAssetId } from './images/index.js';
4
4
 
5
5
  type UserFormData = {
@@ -1,5 +1,5 @@
1
1
  import { EnumOSPlatform, EnumUserRole, EnumReward, EnumSubscriptionStatus, EnumUserLicence, EnumResourceType, EnumPartnerType } from './enums/index.mjs';
2
- import { aw as ResourceImageType, L as LocationType, aA as TermsAgreement, A as AssociateType, i as UserLicenceType, al as PromoCodeType, K as DateTimeType, H as CreateFormData, D as BaseResourceType, B as BaseResourceTypeFormData, au as ResourceContactDetailsType, ax as SocialMediaType, a6 as OwnerType } from './global-BpBsWczS.mjs';
2
+ import { av as ResourceImageType, L as LocationType, az as TermsAgreement, A as AssociateType, i as UserLicenceType, ak as PromoCodeType, K as DateTimeType, H as CreateFormData, D as BaseResourceType, B as BaseResourceTypeFormData, at as ResourceContactDetailsType, aw as SocialMediaType, a6 as OwnerType } from './global-CDs9AQha.mjs';
3
3
  import { PosterAssetId } from './images/index.mjs';
4
4
 
5
5
  type UserFormData = {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  gameScreenIdentifierList
3
- } from "./chunk-RGE5GVDJ.mjs";
3
+ } from "./chunk-YTHDXYNK.mjs";
4
4
  import {
5
5
  EnumEventDateStatus,
6
6
  EnumInviteStatus,
@@ -1610,4 +1610,4 @@ export {
1610
1610
  getVendorEventRelationDateOptions,
1611
1611
  getVendorEventsEmptyMessage
1612
1612
  };
1613
- //# sourceMappingURL=chunk-MVRRQ7CN.mjs.map
1613
+ //# sourceMappingURL=chunk-4IFDECGL.mjs.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  mapArrayToOptions
3
- } from "./chunk-MVRRQ7CN.mjs";
3
+ } from "./chunk-4IFDECGL.mjs";
4
4
  import {
5
5
  EnumFoodFlavor
6
6
  } from "./chunk-4SNW63TJ.mjs";
@@ -955,4 +955,4 @@ export {
955
955
  contactUsFields,
956
956
  partnerBasicInfoFields
957
957
  };
958
- //# sourceMappingURL=chunk-V6XMJOAO.mjs.map
958
+ //# sourceMappingURL=chunk-BD52O2F5.mjs.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  CLUEMART_MAIN_DOMAIN_URL,
3
3
  formatDate
4
- } from "./chunk-MVRRQ7CN.mjs";
4
+ } from "./chunk-4IFDECGL.mjs";
5
5
 
6
6
  // src/sharing/relationShareTypes.ts
7
7
  var RELATION_SHARE_INVITATION = "invitation";
@@ -365,4 +365,4 @@ export {
365
365
  buildSharePagePath,
366
366
  shareSlugResourceId
367
367
  };
368
- //# sourceMappingURL=chunk-LELKI44G.mjs.map
368
+ //# sourceMappingURL=chunk-TWH7MY2Y.mjs.map
@@ -218,4 +218,4 @@ export {
218
218
  TIER_DISPLAY_LABELS,
219
219
  TIER_FROM_LICENCE
220
220
  };
221
- //# sourceMappingURL=chunk-RGE5GVDJ.mjs.map
221
+ //# sourceMappingURL=chunk-YTHDXYNK.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../src/types/auth.ts","../src/types/global.ts","../src/types/ad.ts","../src/types/resourceActivities.ts","../src/types/post.ts","../src/types/game/index.ts","../src/types/game/dailyClue.ts","../src/types/game/global.ts","../src/types/subscription.ts"],"sourcesContent":["import {\n CreateFormData,\n EnumOSPlatform,\n PromoCodeType,\n TermsAgreement,\n} from \"src\";\n\nimport { SafeUserType } from \"./user\";\n\nexport enum EnumVerificationType {\n REGISTER = \"register\",\n RESET_PASSWORD = \"resetPassword\",\n}\n\nexport type LoginFormData = {\n email: string;\n isAdminPage?: boolean;\n password: string;\n platform?: EnumOSPlatform;\n};\n\nexport type CreateLoginFormData = CreateFormData<LoginFormData>;\n\nexport type RegisterFormData = {\n email: string;\n firstName: string;\n lastName: string;\n password: string;\n platform?: EnumOSPlatform;\n preferredRegion: string;\n promoCode?: PromoCodeType | null;\n termsAgreement?: TermsAgreement | null;\n};\n\nexport type CreateRegisterFormData = CreateFormData<RegisterFormData>;\n\nexport type RequestPasswordResetFormData = {\n email: string;\n};\n\nexport type CreateRequestPasswordResetFormData =\n CreateFormData<RequestPasswordResetFormData>;\n\nexport type ResetPasswordFormData = {\n confirmPassword: string;\n email: string;\n password: string;\n};\n\nexport type CreateResetPasswordFormData = CreateFormData<ResetPasswordFormData>;\n\nexport type ValidateVerificationTokenFormData = {\n email: string;\n verificationToken: string;\n verificationType?: EnumVerificationType;\n};\n\nexport type CreateValidateVerificationTokenFormData =\n CreateFormData<ValidateVerificationTokenFormData>;\n\nexport type AuthPayloadType = {\n message: string;\n token: string;\n refreshToken: string | null;\n user: SafeUserType;\n};\n\nexport type RefreshTokenPayloadType = {\n refreshToken: string;\n token: string;\n};\n","import {\n Control,\n FieldValues,\n FormState,\n UseFormGetValues,\n UseFormHandleSubmit,\n UseFormReset,\n UseFormSetValue,\n UseFormWatch,\n} from \"react-hook-form\";\n\nimport {\n EnumEventDateStatus,\n EnumEventType,\n EnumResourceType,\n EnumSocialMedia,\n EnumUserLicence,\n} from \"../enums\";\n\nimport { EventListItemType } from \"./event\";\nimport { EnumPostType } from \"./post\";\nimport { VendorType } from \"./vendor\";\n\nexport const PROMO_CODE_PREFIX = \"CM-\";\n\nexport type PromoCodeType = `${typeof PROMO_CODE_PREFIX}${string}`;\n\nexport type Nullable<T> = {\n [K in keyof T]: T[K] | null | undefined;\n};\n\nexport type DeviceInfo = {\n appBuildNumber: string;\n appId: string;\n appVersion: string;\n brand: string;\n deviceName: string;\n installationId: string;\n manufacturer: string;\n modelName: string;\n osName: string;\n osVersion: string;\n timestamp: string;\n};\n\nexport type TermsAgreement = DeviceInfo & {\n termVersion: string;\n};\n\nexport type ResourceContactDetailsType = {\n email?: string | null;\n landlinePhone?: string | null;\n mobilePhone?: string | null;\n};\n\nexport type ResourceImageType = {\n active?: boolean | null;\n source: string;\n title: string;\n};\n\nexport type SocialMediaType = {\n name?: EnumSocialMedia;\n link?: string;\n};\n\nexport type UserLicenceType = {\n expiryDate: Date;\n issuedDate: Date;\n licenceType: EnumUserLicence;\n prevLicenceType?: EnumUserLicence | null;\n};\n\nexport type AssociateType = {\n email: string;\n resourceId: string;\n resourceType: EnumResourceType;\n licence: UserLicenceType;\n};\n\nexport type OwnerType = {\n email: string;\n userId: string;\n};\n\nexport interface BaseResourceTypeFormData {\n _id?: string;\n active: boolean;\n associates: AssociateType[] | null;\n contactDetails: ResourceContactDetailsType | null;\n cover: ResourceImageType;\n coverUpload?: ResourceImageType | null;\n description: string;\n images?: ResourceImageType[] | null;\n imagesUpload?: ResourceImageType[] | null;\n logo?: ResourceImageType | null;\n logoUpload?: ResourceImageType | null;\n name: string;\n owner?: OwnerType | null;\n promoCodes?: PromoCodeType[] | null;\n region: string;\n socialMedia: SocialMediaType[] | null;\n termsAgreement?: TermsAgreement | null;\n}\n\nexport type PosterUsageType = {\n month: string;\n count: number;\n};\n\nexport type RelatedPostType = {\n postId: string;\n postSlug: string;\n postType: EnumPostType;\n};\n\nexport type BaseResourceType = Omit<\n BaseResourceTypeFormData,\n \"_id\" | \"coverUpload\" | \"imagesUpload\" | \"logoUpload\"\n> & {\n _id: string;\n adIds?: string[] | null;\n createdAt: Date;\n deletedAt: Date | null;\n posterUsage?: PosterUsageType | null;\n rating?: number | null;\n reviewCount?: number | null;\n updatedAt: Date | null;\n relatedPost?: RelatedPostType | null;\n slug: string;\n};\n\nexport type LocationGeoType = {\n coordinates: number[]; // [longitude, latitude]\n type: \"Point\"; // Mongoose GeoJSON type\n};\n\nexport type LocationType = {\n city: string;\n country: string;\n fullAddress: string;\n geo: LocationGeoType;\n latitude: number;\n longitude: number;\n region: string;\n};\n\nexport type DateTimeType = {\n dateStatus: EnumEventDateStatus;\n endDate: string;\n endTime: string;\n startDate: string;\n startTime: string;\n};\n\nexport type Region = {\n latitude: number;\n latitudeDelta: number;\n longitude: number;\n longitudeDelta: number;\n};\n\nexport type ResourceDetails = {\n dateTime: DateTimeType[] | null;\n description: string | null;\n eventStatus?: EventStatusType | null;\n location: LocationType | null;\n resourceCover: ResourceImageType | null;\n resourceId: string;\n resourceLogo: ResourceImageType | null;\n resourceName: string;\n resourceType: EnumResourceType;\n};\n\nexport type GeocodeLocation = Pick<LocationType, \"latitude\" | \"longitude\">;\n\nexport type EventStatusType = {\n claimed: boolean;\n eventType: EnumEventType;\n googlePlaceId?: string | null;\n};\n\nexport interface FormField {\n disabled?: boolean;\n helperText?: string;\n isTextArea?: boolean;\n keyboardType?:\n | \"default\"\n | \"email-address\"\n | \"number-pad\"\n | \"url\"\n | \"decimal-pad\"\n | \"phone-pad\";\n name: string;\n placeholder: string;\n required?: boolean;\n secureTextEntry?: boolean;\n}\n\nexport interface FormDateField {\n dateMode: \"date\" | \"time\";\n helperText?: string;\n name: \"endDate\" | \"endTime\" | \"startDate\" | \"startTime\";\n placeholder: string;\n}\n\nexport interface SubcategoryItems {\n id: string;\n name: string;\n description?: string | null;\n}\n\nexport interface Subcategory {\n id: string;\n name: string;\n items?: SubcategoryItems[] | null;\n}\n\nexport interface Category {\n color?: string | null;\n description?: string | null;\n id: string;\n name: string;\n subcategories: Subcategory[];\n}\n\nexport type OptionItem = {\n value: string;\n label: string;\n};\n\nexport type ImageObjectType = {\n uri: string;\n type: string;\n name: string;\n};\n\nexport interface ResourceConnectionsType {\n events: EventListItemType[] | null;\n vendors: VendorType[] | null;\n}\n\nexport interface CreateFormData<T extends FieldValues> {\n control: Control<T, any>;\n fields: T;\n formState: FormState<T>;\n handleSubmit: UseFormHandleSubmit<T, any>;\n reset: UseFormReset<T>;\n setValue: UseFormSetValue<T>;\n watch: UseFormWatch<T>;\n getValues: UseFormGetValues<T>;\n}\n\nexport interface UseGetResourcesByRegionOptions {\n onlyClaimed?: boolean;\n limit?: number;\n offset?: number;\n}\n","import { EnumResourceType } from \"src/enums\";\n\nimport { CreateFormData } from \"./global\";\n\nexport enum EnumAdShowOn {\n EVENTS_PAGE = \"Events_page\",\n FRONT_PAGE = \"Front_page\",\n PARTNERS_PAGE = \"Partners_page\",\n VENDORS_PAGE = \"Vendors_page\",\n}\n\nexport enum EnumAdStatus {\n ACTIVE = \"Active\",\n PAUSED = \"Paused\",\n EXPIRED = \"Expired\",\n}\n\nexport enum EnumAdType {\n SPONSORED = \"Sponsored\",\n FREE = \"Free\",\n}\n\nexport enum EnumAdStyle {\n BLOOM = \"Bloom\",\n RISE = \"Rise\",\n}\n\nexport type AdResource = {\n adDescription: string;\n adImage: string;\n adStyle: EnumAdStyle;\n adTitle: string;\n adType: EnumAdType;\n resourceId: string;\n resourceName: string;\n resourceRegion: string;\n resourceType: EnumResourceType;\n resourceSlug: string;\n};\n\nexport interface AdFormData {\n active: boolean;\n end: Date; // ISO date string\n resource: AdResource;\n showOn: EnumAdShowOn[];\n start?: Date; // ISO date string\n status: EnumAdStatus;\n targetRegion: string[];\n}\n\n// Form state matches the validation schema: all resource fields are present.\n// Use empty strings / explicit enum defaults in `defaultValues` for \"create\" flows.\nexport type AdFormState = AdFormData;\n\nexport type CreateAdFormData = CreateFormData<AdFormData>;\nexport type CreateAdFormState = CreateFormData<AdFormState>;\n\nexport interface AdType extends AdFormData {\n _id: string;\n clicks?: number; // How many times the ad was clicked\n createdAt: Date;\n impressions?: number; // How often the ad was seen\n start: Date; // ISO date string\n updatedAt: Date | null;\n}\n","import {\n EnumEventDateStatus,\n EnumOSPlatform,\n EnumResourceType,\n} from \"src/enums\";\n\nimport { LocationGeoType } from \"./global\";\n\nexport enum EnumActivity {\n FAVORITE = \"FAVORITE\",\n GOING = \"GOING\",\n INTERESTED = \"INTERESTED\",\n PRESENT = \"PRESENT\",\n VIEW = \"VIEW\",\n}\n\nexport type ResourceActivityEntry = {\n activityType: EnumActivity;\n location: LocationGeoType | null;\n dateStatus?: EnumEventDateStatus | null;\n startDate?: string | null;\n startTime?: string | null;\n timestamp: Date;\n userAgent: EnumOSPlatform;\n userId?: string | null;\n};\n\nexport type ResourceActivityType = {\n _id: string;\n resourceType: EnumResourceType;\n resourceId: string;\n activity: ResourceActivityEntry[];\n};\n\nexport type ResourceActivityInputType = {\n resourceId: string;\n resourceType: EnumResourceType;\n activity: Omit<ResourceActivityEntry, \"timestamp\">;\n};\n","import { EnumResourceType } from \"src/enums\";\n\nimport { BaseGameType } from \"./game\";\nimport { CreateFormData, ResourceImageType } from \"./global\";\n\nexport enum EnumPostType {\n MARKET_FACES = \"market_faces\",\n CLUE_BITES = \"clue_bites\",\n PLAY_AND_WIN = \"play_and_win\",\n}\n\nexport enum EnumPostContentType {\n GAME = \"game\",\n IMAGE = \"image\",\n LIST = \"list\",\n TEXTAREA = \"textarea\",\n VIDEO = \"video\",\n}\n\nexport type PostFileInput = {\n source: File;\n title?: string;\n};\n\nexport type PostContentTextarea = {\n textarea: {\n title?: string;\n data: string;\n };\n};\n\nexport type PostContentImage = {\n images: ResourceImageType[] | null;\n imagesUpload?: PostFileInput[] | null;\n};\n\nexport type PostContentVideo = {\n video: {\n source: string;\n title?: string;\n };\n};\n\nexport type PostContentList = {\n list: {\n title?: string;\n items: {\n text: string;\n }[];\n };\n};\n\nexport type PostContentGame = {\n game: BaseGameType;\n};\n\nexport type PostContentData =\n | PostContentGame\n | PostContentTextarea\n | PostContentImage\n | PostContentVideo\n | PostContentList;\n\nexport type PostContentFormData = {\n contentData?: PostContentData | null;\n contentOrder?: number | null;\n contentType?: EnumPostContentType | null;\n};\n\nexport type PostResource = {\n resourceSlug: string;\n resourceId: string;\n resourceType: EnumResourceType;\n resourceRegion: string;\n};\n\nexport interface PostFormData {\n active: boolean;\n caption: string;\n content: PostContentFormData[];\n cover?: ResourceImageType | null;\n coverUpload?: PostFileInput | null;\n postType: EnumPostType;\n resource?: PostResource | null;\n tags?: string[] | null;\n title: string;\n notifyUsers?: boolean | null;\n}\n\nexport type CreatePostFormData = CreateFormData<PostFormData>;\n\nexport type PostContentType = Omit<PostContentFormData, \"contentData\"> & {\n contentData: Omit<PostContentData, \"imagesUpload\">;\n};\n\nexport type PostType = Omit<\n PostFormData,\n \"content\" | \"coverUpload\" | \"resource\"\n> & {\n _id: string;\n content: PostContentType[];\n slug: string;\n resource?: PostResource | null;\n createdAt: Date;\n deletedAt: Date | null;\n updatedAt: Date | null;\n};\n","import { OwnerType } from \"../global\";\n\nimport { DailyClueBaseGame, DailyClueGameData } from \"./dailyClue\";\nimport { EnumGameType, GameDate } from \"./global\";\nimport { PuzzleBaseGame, PuzzleGameData } from \"./puzzleGame\";\n\nexport type BaseGameMap = {\n [EnumGameType.DAILY_CLUE]: DailyClueBaseGame;\n [EnumGameType.MINI_QUIZ]: PuzzleBaseGame;\n [EnumGameType.ODD_ONE_OUT]: PuzzleBaseGame;\n};\n\nexport type BaseGameType = {\n gameType: EnumGameType;\n gameTypeId: string;\n gameTitle: string;\n} & {\n [K in keyof BaseGameMap]?: BaseGameMap[K] | null;\n};\n\nexport enum EnumGameStatus {\n GAME_COMPLETED = \"GAME_COMPLETED\",\n GAME_IN_PROGRESS = \"GAME_IN_PROGRESS\",\n GAME_LEFT = \"GAME_LEFT\",\n GAME_STARTED = \"GAME_STARTED\",\n}\n\nexport type GameHistory = Pick<\n BaseGameType,\n \"gameTitle\" | \"gameType\" | \"gameTypeId\"\n> & {\n createdAt: Date;\n gameDate: GameDate;\n gameStatus: EnumGameStatus;\n /** Per-event delta. Not persisted for overallGamePoints (computed at read time). */\n pointsEarned: number;\n /** Running total for this game instance; computed at read time, not stored in Mongo. */\n overallGamePoints?: number;\n};\n\ntype GameDataMap = {\n [EnumGameType.DAILY_CLUE]: DailyClueGameData;\n [EnumGameType.MINI_QUIZ]: PuzzleGameData;\n [EnumGameType.ODD_ONE_OUT]: PuzzleGameData;\n};\ntype GameDataType = {\n [K in keyof GameDataMap]?: GameDataMap[K] | null;\n};\n\nexport type GameType = Pick<\n BaseGameType,\n \"gameTitle\" | \"gameType\" | \"gameTypeId\"\n> & {\n _id: string;\n active: boolean;\n createdAt: Date;\n gameData: GameDataType;\n gameHistory: GameHistory[] | null;\n updatedAt: Date | null;\n};\n\nexport type GameDocType = {\n _id: string;\n active: boolean;\n createdAt: Date;\n deletedAt: Date | null;\n games: GameType[] | null;\n owner: OwnerType;\n points: number;\n updatedAt: Date | null;\n};\n\nexport type GameLeaderboard = {\n gameHistory: GameHistory[] | null;\n overallPoints: number;\n owner: OwnerType;\n};\n","import { GameDate, GlobalGameData } from \"./global\";\n\nconst OBJECT_ID_PATH_SEGMENT = \"[a-f0-9]{24}\";\nconst OBJECT_ID_PATH_SEGMENT_END = `${OBJECT_ID_PATH_SEGMENT}$`;\n\nexport const gameScreenIdentifierList = [\n {\n clue: \"Where your actions turn into a timeline.\",\n id: \"activities\",\n match: \"/profile/activities\",\n },\n {\n clue: \"Where conversations happen without speaking.\",\n id: \"chat\",\n match: \"/profile/chat\",\n },\n {\n clue: \"The place to redefine who you are.\",\n id: \"edit-profile\",\n match: \"/profile/edit-profile\",\n },\n {\n clue: \"A single moment worth showing up for.\",\n id: \"single-event\",\n match: new RegExp(`^/events/${OBJECT_ID_PATH_SEGMENT_END}`),\n },\n {\n clue: \"What’s happening around you, right now.\",\n id: \"events-near-me\",\n match: \"/events/events-near-me\",\n },\n {\n clue: \"Where events appear as pins on a map.\",\n id: \"events-map\",\n match: \"/events/events-map\",\n },\n {\n clue: \"A collection of events worth attending.\",\n id: \"events\",\n match: \"/events\",\n },\n {\n clue: \"What’s happening in a wider area — not just nearby.\",\n id: \"events-region\",\n match: /^\\/events\\/region\\/[^/]+$/,\n },\n {\n clue: \"Where fun becomes a challenge.\",\n id: \"games\",\n match: \"/games\",\n },\n {\n clue: \"Your starting point for everything.\",\n id: \"home\",\n match: \"/\",\n },\n {\n clue: \"Where the app whispers what you shouldn’t miss.\",\n id: \"notifications\",\n match: \"/notifications\",\n },\n {\n clue: \"Where you fine-tune your experience.\",\n id: \"options\",\n match: \"/options\",\n },\n {\n clue: \"An organisation or creator supporting the community.\",\n id: \"single-partner\",\n match: new RegExp(`^/partners/${OBJECT_ID_PATH_SEGMENT_END}`),\n },\n {\n clue: \"Organisations and creators supporting the community.\",\n id: \"partners\",\n match: \"/partners\",\n },\n {\n clue: \"A single published post in full view.\",\n id: \"single-visitor-post\",\n match: new RegExp(`^/visitors/post/${OBJECT_ID_PATH_SEGMENT_END}`),\n },\n {\n clue: \"Your identity, on display.\",\n id: \"profile\",\n match: \"/profile\",\n },\n {\n clue: \"One stallholder offering something valuable.\",\n id: \"single-vendor\",\n match: new RegExp(`^/vendors/${OBJECT_ID_PATH_SEGMENT_END}`),\n },\n {\n clue: \"Where every stallholder waits under the right category.\",\n id: \"vendors\",\n match: \"/vendors\",\n },\n {\n clue: \"Where you browse articles and posts from around the platform.\",\n id: \"visitors\",\n match: \"/visitors\",\n },\n] as const;\n\nexport type GamePlacement = (typeof gameScreenIdentifierList)[number][\"id\"];\nexport type GamePlacementClue =\n (typeof gameScreenIdentifierList)[number][\"clue\"];\n\nexport type DailyClueBaseGame = {\n gameDate: GameDate;\n gameSolution: string;\n};\n\nexport type DailyClueGameData = GlobalGameData & {\n gameFields: DailyClueBaseGame;\n lastFoundDate: Date | null;\n letterInfo: {\n collected: string[] | null; // The letters the user has found, e.g. [\"C\", \"L\", \"U\"]\n solutionShuffled: string[]; // The letters of the solution, but shuffled, e.g. [\"L\", \"C\", \"U\"]\n todaysClue: GamePlacementClue | null; // The clue for user to find the letter, e.g. related to {todaysPlacement}\n todaysLetter: string | null; // The letter the user has to find today, e.g. \"C\"\n todaysPlacement: GamePlacement | null; // The screen where the user has to find the clue, e.g. \"HomeScreen\"\n };\n};\n","export enum EnumGameType {\n DAILY_CLUE = \"dailyClue\",\n MINI_QUIZ = \"miniQuiz\",\n ODD_ONE_OUT = \"oddOneOut\",\n}\n\nexport type GameDate = {\n startDate: Date;\n endDate: Date;\n};\n\nexport const gameTypeToDisplayName: Record<EnumGameType, string> = {\n [EnumGameType.DAILY_CLUE]: \"Daily Clue\",\n [EnumGameType.MINI_QUIZ]: \"Mini Quiz\",\n [EnumGameType.ODD_ONE_OUT]: \"Odd One Out\",\n};\n\nexport type GlobalGameData = {\n points: number;\n // User has found the clue 3 days in a row, this is incrementing if the user finds the clue and decrements if user misses a day\n streak: number;\n};\n","import { EnumUserLicence } from \"../enums\";\n\n/** Tier keys in descending priority (highest first) for licence resolution. */\nexport const TIERS_BY_PRIORITY = [\"pro_plus\", \"pro\", \"standard\"] as const;\n\n/** Canonical subscription tier keys — matches Stripe/server tier identifiers. */\nexport type Tier = (typeof TIERS_BY_PRIORITY)[number];\n\n/** User-facing tier labels (decoupled from the Tier discriminant). */\nexport const TIER_DISPLAY_LABELS: Record<Tier, string> = {\n pro: \"Pro\",\n // eslint-disable-next-line camelcase\n pro_plus: \"Pro+ Ads\",\n standard: \"Standard\",\n};\n\n/** Maps licence enums to their canonical tier key. */\nexport const TIER_FROM_LICENCE: Record<EnumUserLicence, Tier> = {\n [EnumUserLicence.PRO_EVENT]: \"pro\",\n [EnumUserLicence.PRO_PLUS_EVENT]: \"pro_plus\",\n [EnumUserLicence.PRO_PLUS_VENDOR]: \"pro_plus\",\n [EnumUserLicence.PRO_VENDOR]: \"pro\",\n [EnumUserLicence.STANDARD_EVENT]: \"standard\",\n [EnumUserLicence.STANDARD_PARTNER]: \"standard\",\n [EnumUserLicence.STANDARD_VENDOR]: \"standard\",\n};\n"],"mappings":"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","names":["EnumVerificationType","EnumAdShowOn","EnumAdStatus","EnumAdType","EnumAdStyle","EnumActivity","EnumPostType","EnumPostContentType","EnumGameStatus","EnumGameType"]}
@@ -1,4 +1,4 @@
1
- import { H as CreateFormData } from './global-BqDLgGwU.js';
1
+ import { H as CreateFormData } from './global-zbAVHr9-.js';
2
2
 
3
3
  type ContactUsFormData = {
4
4
  email: string;
@@ -1,4 +1,4 @@
1
- import { H as CreateFormData } from './global-BpBsWczS.mjs';
1
+ import { H as CreateFormData } from './global-CDs9AQha.mjs';
2
2
 
3
3
  type ContactUsFormData = {
4
4
  email: string;
@@ -1,4 +1,4 @@
1
- import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-BpBsWczS.mjs';
1
+ import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-CDs9AQha.mjs';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.mjs';
4
4
 
@@ -1,4 +1,4 @@
1
- import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-BqDLgGwU.js';
1
+ import { O as OptionItem, F as FormField, a as FormDateField, R as RefundPolicy, b as Requirement, S as StallType, C as Category } from '../global-zbAVHr9-.js';
2
2
  import 'react-hook-form';
3
3
  import '../enums/index.js';
4
4
 
@@ -41,12 +41,12 @@ import {
41
41
  vendorStallSize,
42
42
  vendorStartDateFields,
43
43
  vendorTable
44
- } from "../chunk-V6XMJOAO.mjs";
44
+ } from "../chunk-BD52O2F5.mjs";
45
45
  import {
46
46
  availableCategories,
47
47
  categoryColors
48
- } from "../chunk-MVRRQ7CN.mjs";
49
- import "../chunk-RGE5GVDJ.mjs";
48
+ } from "../chunk-4IFDECGL.mjs";
49
+ import "../chunk-YTHDXYNK.mjs";
50
50
  import "../chunk-4SNW63TJ.mjs";
51
51
  export {
52
52
  availableCategories,
@@ -347,14 +347,12 @@ type PostContentFormData = {
347
347
  contentOrder?: number | null;
348
348
  contentType?: EnumPostContentType | null;
349
349
  };
350
- type PostResourceInput = {
350
+ type PostResource = {
351
+ resourceSlug: string;
351
352
  resourceId: string;
352
353
  resourceType: EnumResourceType;
353
354
  resourceRegion: string;
354
355
  };
355
- type PostResource = PostResourceInput & {
356
- resourceSlug?: string | null;
357
- };
358
356
  interface PostFormData {
359
357
  active: boolean;
360
358
  caption: string;
@@ -362,7 +360,7 @@ interface PostFormData {
362
360
  cover?: ResourceImageType | null;
363
361
  coverUpload?: PostFileInput | null;
364
362
  postType: EnumPostType;
365
- resource?: PostResourceInput | null;
363
+ resource?: PostResource | null;
366
364
  tags?: string[] | null;
367
365
  title: string;
368
366
  notifyUsers?: boolean | null;
@@ -688,4 +686,4 @@ interface UseGetResourcesByRegionOptions {
688
686
  offset?: number;
689
687
  }
690
688
 
691
- export { type GamePlacementClue as $, type AssociateType as A, type BaseResourceTypeFormData as B, type Category as C, type BaseResourceType as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateFormData as H, type DailyClueBaseGame as I, type DailyClueGameData as J, type DateTimeType as K, type LocationType as L, type DateTimeWithPriceType as M, type DeviceInfo as N, type OptionItem as O, type PostType as P, EnumGameStatus as Q, type RefundPolicy as R, type StallType as S, EnumGameType as T, type UseGetResourcesByRegionOptions as U, type VendorType as V, EnumPostContentType as W, type EventStatusType as X, type GameDate as Y, type GameHistory as Z, type GamePlacement as _, type FormDateField as a, type GameType as a0, type GeocodeLocation as a1, type GlobalGameData as a2, type ImageObjectType as a3, type LocationGeoType as a4, type Nullable as a5, type OwnerType as a6, PROMO_CODE_PREFIX as a7, type PaymentInfoType as a8, type PostContentData as a9, type TermsAgreement as aA, type UnregisteredVendorInvitationType as aB, type VendorAttributes as aC, type VendorCalendarData as aD, type VendorProductList as aE, gameScreenIdentifierList as aF, gameTypeToDisplayName as aG, type PostContentFormData as aa, type PostContentGame as ab, type PostContentImage as ac, type PostContentList as ad, type PostContentTextarea as ae, type PostContentType as af, type PostContentVideo as ag, type PostFileInput as ah, type PostResource as ai, type PostResourceInput as aj, type PosterUsageType as ak, type PromoCodeType as al, type PuzzleAnswer as am, type PuzzleAnsweredQuestion as an, type PuzzleBaseGame as ao, type PuzzleGameData as ap, type PuzzleQuestion as aq, type RelatedPostType as ar, type RelationDate as as, type RelationInputType as at, type ResourceContactDetailsType as au, type ResourceDetails as av, type ResourceImageType as aw, type SocialMediaType as ax, type Subcategory as ay, type SubcategoryItems as az, type Requirement as b, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorInfoType as h, type UserLicenceType as i, EnumPostType as j, type GameLeaderboard as k, type VendorFormData as l, type CreateVendorFormData as m, type VendorInfoFormData as n, type CreateVendorInfoFormData as o, type UnregisteredVendorFormData as p, type CreateUnregisteredVendorFormData as q, type EventFormData as r, type CreateEventFormData as s, type EventInfoFormData as t, type CreateEventInfoFormData as u, type PostFormData as v, type CreatePostFormData as w, type Region as x, type BaseGameMap as y, type BaseGameType as z };
689
+ export { type GamePlacementClue as $, type AssociateType as A, type BaseResourceTypeFormData as B, type Category as C, type BaseResourceType as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateFormData as H, type DailyClueBaseGame as I, type DailyClueGameData as J, type DateTimeType as K, type LocationType as L, type DateTimeWithPriceType as M, type DeviceInfo as N, type OptionItem as O, type PostType as P, EnumGameStatus as Q, type RefundPolicy as R, type StallType as S, EnumGameType as T, type UseGetResourcesByRegionOptions as U, type VendorType as V, EnumPostContentType as W, type EventStatusType as X, type GameDate as Y, type GameHistory as Z, type GamePlacement as _, type FormDateField as a, type GameType as a0, type GeocodeLocation as a1, type GlobalGameData as a2, type ImageObjectType as a3, type LocationGeoType as a4, type Nullable as a5, type OwnerType as a6, PROMO_CODE_PREFIX as a7, type PaymentInfoType as a8, type PostContentData as a9, type UnregisteredVendorInvitationType as aA, type VendorAttributes as aB, type VendorCalendarData as aC, type VendorProductList as aD, gameScreenIdentifierList as aE, gameTypeToDisplayName as aF, type PostContentFormData as aa, type PostContentGame as ab, type PostContentImage as ac, type PostContentList as ad, type PostContentTextarea as ae, type PostContentType as af, type PostContentVideo as ag, type PostFileInput as ah, type PostResource as ai, type PosterUsageType as aj, type PromoCodeType as ak, type PuzzleAnswer as al, type PuzzleAnsweredQuestion as am, type PuzzleBaseGame as an, type PuzzleGameData as ao, type PuzzleQuestion as ap, type RelatedPostType as aq, type RelationDate as ar, type RelationInputType as as, type ResourceContactDetailsType as at, type ResourceDetails as au, type ResourceImageType as av, type SocialMediaType as aw, type Subcategory as ax, type SubcategoryItems as ay, type TermsAgreement as az, type Requirement as b, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorInfoType as h, type UserLicenceType as i, EnumPostType as j, type GameLeaderboard as k, type VendorFormData as l, type CreateVendorFormData as m, type VendorInfoFormData as n, type CreateVendorInfoFormData as o, type UnregisteredVendorFormData as p, type CreateUnregisteredVendorFormData as q, type EventFormData as r, type CreateEventFormData as s, type EventInfoFormData as t, type CreateEventInfoFormData as u, type PostFormData as v, type CreatePostFormData as w, type Region as x, type BaseGameMap as y, type BaseGameType as z };
@@ -347,14 +347,12 @@ type PostContentFormData = {
347
347
  contentOrder?: number | null;
348
348
  contentType?: EnumPostContentType | null;
349
349
  };
350
- type PostResourceInput = {
350
+ type PostResource = {
351
+ resourceSlug: string;
351
352
  resourceId: string;
352
353
  resourceType: EnumResourceType;
353
354
  resourceRegion: string;
354
355
  };
355
- type PostResource = PostResourceInput & {
356
- resourceSlug?: string | null;
357
- };
358
356
  interface PostFormData {
359
357
  active: boolean;
360
358
  caption: string;
@@ -362,7 +360,7 @@ interface PostFormData {
362
360
  cover?: ResourceImageType | null;
363
361
  coverUpload?: PostFileInput | null;
364
362
  postType: EnumPostType;
365
- resource?: PostResourceInput | null;
363
+ resource?: PostResource | null;
366
364
  tags?: string[] | null;
367
365
  title: string;
368
366
  notifyUsers?: boolean | null;
@@ -688,4 +686,4 @@ interface UseGetResourcesByRegionOptions {
688
686
  offset?: number;
689
687
  }
690
688
 
691
- export { type GamePlacementClue as $, type AssociateType as A, type BaseResourceTypeFormData as B, type Category as C, type BaseResourceType as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateFormData as H, type DailyClueBaseGame as I, type DailyClueGameData as J, type DateTimeType as K, type LocationType as L, type DateTimeWithPriceType as M, type DeviceInfo as N, type OptionItem as O, type PostType as P, EnumGameStatus as Q, type RefundPolicy as R, type StallType as S, EnumGameType as T, type UseGetResourcesByRegionOptions as U, type VendorType as V, EnumPostContentType as W, type EventStatusType as X, type GameDate as Y, type GameHistory as Z, type GamePlacement as _, type FormDateField as a, type GameType as a0, type GeocodeLocation as a1, type GlobalGameData as a2, type ImageObjectType as a3, type LocationGeoType as a4, type Nullable as a5, type OwnerType as a6, PROMO_CODE_PREFIX as a7, type PaymentInfoType as a8, type PostContentData as a9, type TermsAgreement as aA, type UnregisteredVendorInvitationType as aB, type VendorAttributes as aC, type VendorCalendarData as aD, type VendorProductList as aE, gameScreenIdentifierList as aF, gameTypeToDisplayName as aG, type PostContentFormData as aa, type PostContentGame as ab, type PostContentImage as ac, type PostContentList as ad, type PostContentTextarea as ae, type PostContentType as af, type PostContentVideo as ag, type PostFileInput as ah, type PostResource as ai, type PostResourceInput as aj, type PosterUsageType as ak, type PromoCodeType as al, type PuzzleAnswer as am, type PuzzleAnsweredQuestion as an, type PuzzleBaseGame as ao, type PuzzleGameData as ap, type PuzzleQuestion as aq, type RelatedPostType as ar, type RelationDate as as, type RelationInputType as at, type ResourceContactDetailsType as au, type ResourceDetails as av, type ResourceImageType as aw, type SocialMediaType as ax, type Subcategory as ay, type SubcategoryItems as az, type Requirement as b, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorInfoType as h, type UserLicenceType as i, EnumPostType as j, type GameLeaderboard as k, type VendorFormData as l, type CreateVendorFormData as m, type VendorInfoFormData as n, type CreateVendorInfoFormData as o, type UnregisteredVendorFormData as p, type CreateUnregisteredVendorFormData as q, type EventFormData as r, type CreateEventFormData as s, type EventInfoFormData as t, type CreateEventInfoFormData as u, type PostFormData as v, type CreatePostFormData as w, type Region as x, type BaseGameMap as y, type BaseGameType as z };
689
+ export { type GamePlacementClue as $, type AssociateType as A, type BaseResourceTypeFormData as B, type Category as C, type BaseResourceType as D, type EventType as E, type FormField as F, type GameDocType as G, type CreateFormData as H, type DailyClueBaseGame as I, type DailyClueGameData as J, type DateTimeType as K, type LocationType as L, type DateTimeWithPriceType as M, type DeviceInfo as N, type OptionItem as O, type PostType as P, EnumGameStatus as Q, type RefundPolicy as R, type StallType as S, EnumGameType as T, type UseGetResourcesByRegionOptions as U, type VendorType as V, EnumPostContentType as W, type EventStatusType as X, type GameDate as Y, type GameHistory as Z, type GamePlacement as _, type FormDateField as a, type GameType as a0, type GeocodeLocation as a1, type GlobalGameData as a2, type ImageObjectType as a3, type LocationGeoType as a4, type Nullable as a5, type OwnerType as a6, PROMO_CODE_PREFIX as a7, type PaymentInfoType as a8, type PostContentData as a9, type UnregisteredVendorInvitationType as aA, type VendorAttributes as aB, type VendorCalendarData as aC, type VendorProductList as aD, gameScreenIdentifierList as aE, gameTypeToDisplayName as aF, type PostContentFormData as aa, type PostContentGame as ab, type PostContentImage as ac, type PostContentList as ad, type PostContentTextarea as ae, type PostContentType as af, type PostContentVideo as ag, type PostFileInput as ah, type PostResource as ai, type PosterUsageType as aj, type PromoCodeType as ak, type PuzzleAnswer as al, type PuzzleAnsweredQuestion as am, type PuzzleBaseGame as an, type PuzzleGameData as ao, type PuzzleQuestion as ap, type RelatedPostType as aq, type RelationDate as ar, type RelationInputType as as, type ResourceContactDetailsType as at, type ResourceDetails as au, type ResourceImageType as av, type SocialMediaType as aw, type Subcategory as ax, type SubcategoryItems as ay, type TermsAgreement as az, type Requirement as b, type EventListItemType as c, type EventInfoType as d, type RelationType as e, type ResourceConnectionsType as f, type UnregisteredVendorType as g, type VendorInfoType as h, type UserLicenceType as i, EnumPostType as j, type GameLeaderboard as k, type VendorFormData as l, type CreateVendorFormData as m, type VendorInfoFormData as n, type CreateVendorInfoFormData as o, type UnregisteredVendorFormData as p, type CreateUnregisteredVendorFormData as q, type EventFormData as r, type CreateEventFormData as s, type EventInfoFormData as t, type CreateEventInfoFormData as u, type PostFormData as v, type CreatePostFormData as w, type Region as x, type BaseGameMap as y, type BaseGameType as z };
@@ -1,9 +1,9 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode } from 'graphql';
3
3
  import { EnumResourceType, EnumEventDateStatus } from '../enums/index.mjs';
4
- import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-DvMxLm4X.mjs';
5
- import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-C_0LA9YJ.mjs';
6
- import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-BpBsWczS.mjs';
4
+ import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-Orgg8VLY.mjs';
5
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-Dbxhm_Ax.mjs';
6
+ import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-CDs9AQha.mjs';
7
7
  import '../images/index.mjs';
8
8
  import 'react-hook-form';
9
9
 
@@ -1,9 +1,9 @@
1
1
  import * as _apollo_client from '@apollo/client';
2
2
  import { DocumentNode } from 'graphql';
3
3
  import { EnumResourceType, EnumEventDateStatus } from '../enums/index.js';
4
- import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-CJagQnlM.js';
5
- import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-D0w8LT8f.js';
6
- import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-BqDLgGwU.js';
4
+ import { A as AuthPayloadType, R as RefreshTokenPayloadType, S as SafeUserType, a as RedeemRewardResponse, P as PartnerType, b as ResourceByUser, c as AdType, E as EnumAdStatus, d as SubscriptionPlansResponse, e as SubscriptionStatusData, f as AppSettingsType, g as SchoolReturnType, h as SchoolType } from '../ad-12qIWwu_.js';
5
+ import { C as ChatType, R as ReportChatUser, N as NotificationCount, a as NotificationType, b as ResourceActivityType } from '../resourceActivities-dRHhkvN2.js';
6
+ import { E as EventType, c as EventListItemType, d as EventInfoType, U as UseGetResourcesByRegionOptions, e as RelationType, f as ResourceConnectionsType, g as UnregisteredVendorType, V as VendorType, h as VendorInfoType, i as UserLicenceType, P as PostType, j as EnumPostType, G as GameDocType, k as GameLeaderboard } from '../global-zbAVHr9-.js';
7
7
  import '../images/index.js';
8
8
  import 'react-hook-form';
9
9
 
@@ -5079,6 +5079,7 @@ var postSchema = yup8.object().shape({
5079
5079
  resource: yup8.object({
5080
5080
  resourceId: yup8.string().required(),
5081
5081
  resourceRegion: yup8.string().required(),
5082
+ resourceSlug: yup8.string().required(),
5082
5083
  resourceType: yup8.mixed().oneOf(Object.values(EnumResourceType)).required()
5083
5084
  }).nullable().optional(),
5084
5085
  tags: yup8.array().of(yup8.string().required()).nullable().optional(),