@timardex/cluemart-shared 1.5.777 → 1.5.778

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.
package/dist/index.d.mts CHANGED
@@ -2793,7 +2793,7 @@ type RelationShareResourceType = (typeof RELATION_SHARE_RESOURCE_TYPES)[number];
2793
2793
  declare function isRelationShareResourceType(resourceType: string): resourceType is RelationShareResourceType;
2794
2794
 
2795
2795
  /** Path segments for public resource share URLs (markets, posts, etc.). */
2796
- declare const PUBLIC_SHARE_PATH_TYPES: readonly ["market", "stallholder", "partner", "affiliate", "market_faces", "clue_bites", "play_and_win"];
2796
+ declare const PUBLIC_SHARE_PATH_TYPES: readonly ["market", "stallholder", "partner", "affiliate", "school", "market_faces", "clue_bites", "play_and_win"];
2797
2797
  type PublicSharePathType = (typeof PUBLIC_SHARE_PATH_TYPES)[number];
2798
2798
  type RelationSharePathType = typeof RELATION_SHARE_INVITATION | typeof RELATION_SHARE_APPLICATION;
2799
2799
  type ShareType = PublicSharePathType | RelationSharePathType;
@@ -2839,7 +2839,7 @@ declare const SHARE_APPLICATION_DEADLINE_PREFIX = "\u23F0 Application deadline:"
2839
2839
  /** First line on share sheet messages, Facebook SDK quote, and `og:description`. */
2840
2840
  declare const SHARE_MORE_INFO_LINE = "Shared from ClueMart";
2841
2841
  declare const DEFAULT_SHARE_OG_IMAGE = "https://cluemart.co.nz/assets/logo.webp";
2842
- declare const RESOURCE_SHARE_TYPES: readonly ["market", "stallholder", "partner", "affiliate"];
2842
+ declare const RESOURCE_SHARE_TYPES: readonly ["market", "stallholder", "partner", "affiliate", "school"];
2843
2843
  type ResourceShareType = (typeof RESOURCE_SHARE_TYPES)[number];
2844
2844
  declare const POST_SHARE_RESOURCE_TYPES: readonly ["market_faces", "clue_bites", "play_and_win"];
2845
2845
  type PostShareResourceType = (typeof POST_SHARE_RESOURCE_TYPES)[number];
package/dist/index.d.ts CHANGED
@@ -2793,7 +2793,7 @@ type RelationShareResourceType = (typeof RELATION_SHARE_RESOURCE_TYPES)[number];
2793
2793
  declare function isRelationShareResourceType(resourceType: string): resourceType is RelationShareResourceType;
2794
2794
 
2795
2795
  /** Path segments for public resource share URLs (markets, posts, etc.). */
2796
- declare const PUBLIC_SHARE_PATH_TYPES: readonly ["market", "stallholder", "partner", "affiliate", "market_faces", "clue_bites", "play_and_win"];
2796
+ declare const PUBLIC_SHARE_PATH_TYPES: readonly ["market", "stallholder", "partner", "affiliate", "school", "market_faces", "clue_bites", "play_and_win"];
2797
2797
  type PublicSharePathType = (typeof PUBLIC_SHARE_PATH_TYPES)[number];
2798
2798
  type RelationSharePathType = typeof RELATION_SHARE_INVITATION | typeof RELATION_SHARE_APPLICATION;
2799
2799
  type ShareType = PublicSharePathType | RelationSharePathType;
@@ -2839,7 +2839,7 @@ declare const SHARE_APPLICATION_DEADLINE_PREFIX = "\u23F0 Application deadline:"
2839
2839
  /** First line on share sheet messages, Facebook SDK quote, and `og:description`. */
2840
2840
  declare const SHARE_MORE_INFO_LINE = "Shared from ClueMart";
2841
2841
  declare const DEFAULT_SHARE_OG_IMAGE = "https://cluemart.co.nz/assets/logo.webp";
2842
- declare const RESOURCE_SHARE_TYPES: readonly ["market", "stallholder", "partner", "affiliate"];
2842
+ declare const RESOURCE_SHARE_TYPES: readonly ["market", "stallholder", "partner", "affiliate", "school"];
2843
2843
  type ResourceShareType = (typeof RESOURCE_SHARE_TYPES)[number];
2844
2844
  declare const POST_SHARE_RESOURCE_TYPES: readonly ["market_faces", "clue_bites", "play_and_win"];
2845
2845
  type PostShareResourceType = (typeof POST_SHARE_RESOURCE_TYPES)[number];
package/dist/index.mjs CHANGED
@@ -8230,7 +8230,8 @@ var RESOURCE_SHARE_TYPES = [
8230
8230
  "market",
8231
8231
  "stallholder",
8232
8232
  "partner",
8233
- "affiliate"
8233
+ "affiliate",
8234
+ "school"
8234
8235
  ];
8235
8236
  var POST_SHARE_RESOURCE_TYPES = [
8236
8237
  "market_faces",
@@ -8246,7 +8247,8 @@ var SHARE_RESOURCE_LABEL = {
8246
8247
  market: "Market",
8247
8248
  partner: "Partner",
8248
8249
  stallholder: "Stallholder",
8249
- affiliate: "Affiliate"
8250
+ affiliate: "Affiliate",
8251
+ school: "School"
8250
8252
  };
8251
8253
  function isPostShareResourceType(resourceType) {
8252
8254
  return POST_SHARE_RESOURCE_TYPES.includes(