@timardex/cluemart-shared 1.5.759 → 1.5.760

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.
@@ -63,7 +63,7 @@ declare const RELATION_SHARE_APPLICATION: "application";
63
63
  * invalidate after deploy. Facebook caches preview JPEGs by exact URL — changing
64
64
  * this value forces crawlers to fetch a fresh image after server deploy.
65
65
  */
66
- declare const RELATION_OVERLAY_LAYOUT_VERSION = 35;
66
+ declare const RELATION_OVERLAY_LAYOUT_VERSION = 36;
67
67
  declare const RELATION_SHARE_RESOURCE_TYPES: readonly ["invitation", "application"];
68
68
  type RelationShareResourceType = (typeof RELATION_SHARE_RESOURCE_TYPES)[number];
69
69
  declare function isRelationShareResourceType(resourceType: string): resourceType is RelationShareResourceType;
@@ -75,7 +75,7 @@ type RelationSharePathType = typeof RELATION_SHARE_INVITATION | typeof RELATION_
75
75
  type ShareType = PublicSharePathType | RelationSharePathType;
76
76
  /** Alternation for deep-link regexes — keep in sync with {@link ShareType}. */
77
77
  declare const SHARE_TYPE_PATH_REGEX: string;
78
- declare function buildShareUrl(type: ShareType, id: string, utmMedium?: string): string;
78
+ declare function buildShareUrl(type: ShareType, slug: string, utmMedium?: string): string;
79
79
 
80
80
  /** Open Graph recommended preview size (must match admin `SHARE_OG_IMAGE_*`). */
81
81
  declare const SOCIAL_IMAGE_WIDTH = 1200;
@@ -173,6 +173,7 @@ declare function buildShareOgDescriptionFromSections(sections: ReadonlyArray<str
173
173
  declare function buildShareOgDescription(_title: string, description: string): string;
174
174
 
175
175
  declare function normalizeShareRouteId(id: string): string;
176
- declare function buildSharePagePath(resourceType: ShareResourceType, rawId: string): string;
176
+ /** Relative path for a public share landing page (`/market/demo-market`). */
177
+ declare function buildSharePagePath(resourceType: ShareResourceType, slug: string): string;
177
178
 
178
179
  export { DEFAULT_SHARE_OG_IMAGE, OG_DESCRIPTION_LINE_BREAK, POST_SHARE_RESOURCE_TYPES, PUBLIC_SHARE_PATH_TYPES, type PostShareResourceType, type PublicSharePathType, RELATION_OVERLAY_LAYOUT_VERSION, RELATION_SHARE_APPLICATION, RELATION_SHARE_INVITATION, RELATION_SHARE_RESOURCE_TYPES, RESOURCE_SHARE_TYPES, type RelationSharePathType, type RelationShareResourceType, type ResourceShareType, SHARE_APPLICATION_DEADLINE_PREFIX, SHARE_CALENDAR_ICON, SHARE_CATEGORIES_SECTION_HEADING, SHARE_CATEGORY_ICON, SHARE_CHECKMARK_ICON, SHARE_CLOCK_ICON, SHARE_COMPLIANCE_PREFIX, SHARE_DESCRIPTION_SECTION_BREAK, SHARE_DOLLAR_ICON, SHARE_FOOD_TRUCK_LINE, SHARE_INFO_ICON, SHARE_MARKET_DATES_SECTION_HEADING, SHARE_MORE_INFO_LINE, SHARE_PRICE_RANGE_PREFIX, SHARE_RAIN_OR_SHINE_LINE, SHARE_REQUIREMENTS_SECTION_HEADING, SHARE_RESOURCE_LABEL, SHARE_RULER_ICON, SHARE_SITE_URL, SHARE_STALL_SIZE_PREFIX, SHARE_TAGS_SECTION_HEADING, SHARE_TYPE_PATH_REGEX, SOCIAL_IMAGE_HEIGHT, SOCIAL_IMAGE_WIDTH, type ShareEventForInvitation, type ShareEventForPublic, type ShareEventInfoForInvitation, type ShareMessageFooterPlacement, type ShareResourceType, type ShareType, type ShareVendorForApplication, type ShareVendorForPublic, type ShareVendorInfoForApplication, appendShareMoreInfoLine, buildApplicationShareDescription, buildFacebookShareQuote, buildInvitationShareDescription, buildPublicEventShareDescription, buildPublicVendorShareDescription, buildShareMessageSections, buildShareOgDescription, buildShareOgDescriptionFromSections, buildSharePagePath, buildShareUrl, formatCategoryLabel, formatShareApplicationCategoriesSection, formatShareApplicationComplianceSection, formatShareApplicationPriceRangeLine, formatShareApplicationStallSizeLine, formatShareInvitationApplicationDeadlineLine, formatShareInvitationMarketDatesSection, formatShareInvitationRequirementsSection, formatShareIsFoodTrueLine, formatShareMarketDate, formatShareRainOrShineLine, formatShareStallLine, formatShareTagsSection, formatStallCapacityLabel, isPostShareResourceType, isRelationShareResourceType, joinShareDescriptionSections, joinShareOgDescriptionSections, normalizeShareOgDescription, normalizeShareRouteId, normalizeShareText, shareMessageFooterPlacementForType, splitShareDescriptionSections };
@@ -63,7 +63,7 @@ declare const RELATION_SHARE_APPLICATION: "application";
63
63
  * invalidate after deploy. Facebook caches preview JPEGs by exact URL — changing
64
64
  * this value forces crawlers to fetch a fresh image after server deploy.
65
65
  */
66
- declare const RELATION_OVERLAY_LAYOUT_VERSION = 35;
66
+ declare const RELATION_OVERLAY_LAYOUT_VERSION = 36;
67
67
  declare const RELATION_SHARE_RESOURCE_TYPES: readonly ["invitation", "application"];
68
68
  type RelationShareResourceType = (typeof RELATION_SHARE_RESOURCE_TYPES)[number];
69
69
  declare function isRelationShareResourceType(resourceType: string): resourceType is RelationShareResourceType;
@@ -75,7 +75,7 @@ type RelationSharePathType = typeof RELATION_SHARE_INVITATION | typeof RELATION_
75
75
  type ShareType = PublicSharePathType | RelationSharePathType;
76
76
  /** Alternation for deep-link regexes — keep in sync with {@link ShareType}. */
77
77
  declare const SHARE_TYPE_PATH_REGEX: string;
78
- declare function buildShareUrl(type: ShareType, id: string, utmMedium?: string): string;
78
+ declare function buildShareUrl(type: ShareType, slug: string, utmMedium?: string): string;
79
79
 
80
80
  /** Open Graph recommended preview size (must match admin `SHARE_OG_IMAGE_*`). */
81
81
  declare const SOCIAL_IMAGE_WIDTH = 1200;
@@ -173,6 +173,7 @@ declare function buildShareOgDescriptionFromSections(sections: ReadonlyArray<str
173
173
  declare function buildShareOgDescription(_title: string, description: string): string;
174
174
 
175
175
  declare function normalizeShareRouteId(id: string): string;
176
- declare function buildSharePagePath(resourceType: ShareResourceType, rawId: string): string;
176
+ /** Relative path for a public share landing page (`/market/demo-market`). */
177
+ declare function buildSharePagePath(resourceType: ShareResourceType, slug: string): string;
177
178
 
178
179
  export { DEFAULT_SHARE_OG_IMAGE, OG_DESCRIPTION_LINE_BREAK, POST_SHARE_RESOURCE_TYPES, PUBLIC_SHARE_PATH_TYPES, type PostShareResourceType, type PublicSharePathType, RELATION_OVERLAY_LAYOUT_VERSION, RELATION_SHARE_APPLICATION, RELATION_SHARE_INVITATION, RELATION_SHARE_RESOURCE_TYPES, RESOURCE_SHARE_TYPES, type RelationSharePathType, type RelationShareResourceType, type ResourceShareType, SHARE_APPLICATION_DEADLINE_PREFIX, SHARE_CALENDAR_ICON, SHARE_CATEGORIES_SECTION_HEADING, SHARE_CATEGORY_ICON, SHARE_CHECKMARK_ICON, SHARE_CLOCK_ICON, SHARE_COMPLIANCE_PREFIX, SHARE_DESCRIPTION_SECTION_BREAK, SHARE_DOLLAR_ICON, SHARE_FOOD_TRUCK_LINE, SHARE_INFO_ICON, SHARE_MARKET_DATES_SECTION_HEADING, SHARE_MORE_INFO_LINE, SHARE_PRICE_RANGE_PREFIX, SHARE_RAIN_OR_SHINE_LINE, SHARE_REQUIREMENTS_SECTION_HEADING, SHARE_RESOURCE_LABEL, SHARE_RULER_ICON, SHARE_SITE_URL, SHARE_STALL_SIZE_PREFIX, SHARE_TAGS_SECTION_HEADING, SHARE_TYPE_PATH_REGEX, SOCIAL_IMAGE_HEIGHT, SOCIAL_IMAGE_WIDTH, type ShareEventForInvitation, type ShareEventForPublic, type ShareEventInfoForInvitation, type ShareMessageFooterPlacement, type ShareResourceType, type ShareType, type ShareVendorForApplication, type ShareVendorForPublic, type ShareVendorInfoForApplication, appendShareMoreInfoLine, buildApplicationShareDescription, buildFacebookShareQuote, buildInvitationShareDescription, buildPublicEventShareDescription, buildPublicVendorShareDescription, buildShareMessageSections, buildShareOgDescription, buildShareOgDescriptionFromSections, buildSharePagePath, buildShareUrl, formatCategoryLabel, formatShareApplicationCategoriesSection, formatShareApplicationComplianceSection, formatShareApplicationPriceRangeLine, formatShareApplicationStallSizeLine, formatShareInvitationApplicationDeadlineLine, formatShareInvitationMarketDatesSection, formatShareInvitationRequirementsSection, formatShareIsFoodTrueLine, formatShareMarketDate, formatShareRainOrShineLine, formatShareStallLine, formatShareTagsSection, formatStallCapacityLabel, isPostShareResourceType, isRelationShareResourceType, joinShareDescriptionSections, joinShareOgDescriptionSections, normalizeShareOgDescription, normalizeShareRouteId, normalizeShareText, shareMessageFooterPlacementForType, splitShareDescriptionSections };
@@ -66,7 +66,7 @@ import {
66
66
  normalizeShareText,
67
67
  shareMessageFooterPlacementForType,
68
68
  splitShareDescriptionSections
69
- } from "../chunk-65G65T22.mjs";
69
+ } from "../chunk-YQQO66DR.mjs";
70
70
  import "../chunk-5RXTRSY2.mjs";
71
71
  import "../chunk-J4ENZPQE.mjs";
72
72
  import "../chunk-4SNW63TJ.mjs";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@timardex/cluemart-shared",
3
- "version": "1.5.759",
3
+ "version": "1.5.760",
4
4
  "description": "",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",