@mohasinac/appkit 4.71.2 → 4.73.0

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 (47) hide show
  1. package/dist/.build-stamp.json +3 -3
  2. package/dist/_internal/server/features/seo/sitemap.d.ts +58 -1
  3. package/dist/_internal/server/features/seo/sitemap.js +89 -18
  4. package/dist/constants/api-endpoints.d.ts +3 -0
  5. package/dist/constants/api-endpoints.js +6 -0
  6. package/dist/features/classified/components/ClassifiedDetailPageView.js +2 -2
  7. package/dist/features/digital-codes/components/DigitalCodeDetailPageView.js +2 -2
  8. package/dist/features/events/components/EntryVoteButtons.d.ts +19 -0
  9. package/dist/features/events/components/EntryVoteButtons.js +65 -0
  10. package/dist/features/events/repository/entry-votes.repository.d.ts +45 -0
  11. package/dist/features/events/repository/entry-votes.repository.js +154 -0
  12. package/dist/features/events/schemas/entry-votes.d.ts +134 -0
  13. package/dist/features/events/schemas/entry-votes.js +114 -0
  14. package/dist/features/events/schemas/index.d.ts +29 -7
  15. package/dist/features/events/schemas/index.js +29 -2
  16. package/dist/features/inventory/components/AdminMoveLedgerView.d.ts +1 -1
  17. package/dist/features/live/components/LiveItemDetailPageView.js +2 -2
  18. package/dist/features/pre-orders/components/PreOrderDetailPageView.js +3 -3
  19. package/dist/features/products/components/ClearanceDetailPageView.js +2 -2
  20. package/dist/features/products/components/index.d.ts +0 -2
  21. package/dist/features/products/components/index.js +0 -1
  22. package/dist/features/products/schemas/index.d.ts +6 -7
  23. package/dist/features/products/schemas/index.js +20 -2
  24. package/dist/features/promotions/schemas/firestore.d.ts +17 -1
  25. package/dist/features/promotions/schemas/firestore.js +22 -0
  26. package/dist/features/promotions/schemas/index.d.ts +45 -21
  27. package/dist/features/promotions/schemas/index.js +37 -8
  28. package/dist/features/promotions/types/index.d.ts +1 -1
  29. package/dist/features/reviews/schemas/index.d.ts +3 -0
  30. package/dist/features/reviews/schemas/index.js +25 -0
  31. package/dist/index.d.ts +0 -2
  32. package/dist/index.js +0 -3
  33. package/dist/next/routing/portals.d.ts +22 -0
  34. package/dist/next/routing/portals.js +43 -0
  35. package/dist/providers/db-firebase/admin.d.ts +2 -0
  36. package/dist/providers/db-firebase/admin.js +25 -2
  37. package/dist/schemas/registry.d.ts +11 -8
  38. package/dist/server.d.ts +2 -1
  39. package/dist/server.js +1 -0
  40. package/dist/styles.css +1 -1
  41. package/dist/tailwind-utilities.css +1 -1
  42. package/dist/ui/components/ListingDetailShell.d.ts +68 -0
  43. package/dist/ui/components/ListingDetailShell.js +32 -0
  44. package/package.json +533 -525
  45. package/scripts/seed-cli.mjs +32 -2
  46. package/dist/features/products/components/PreOrderDetailView.d.ts +0 -18
  47. package/dist/features/products/components/PreOrderDetailView.js +0 -12
@@ -1245,7 +1245,7 @@ export declare const SCHEMAS: {
1245
1245
  couponSnapshot: import("zod").ZodObject<{
1246
1246
  name: import("zod").ZodString;
1247
1247
  description: import("zod").ZodOptional<import("zod").ZodString>;
1248
- type: import("zod").ZodEnum<["percentage", "fixed", "free_shipping", "buy_x_get_y"]>;
1248
+ type: import("zod").ZodString;
1249
1249
  scope: import("zod").ZodEnum<["admin", "seller"]>;
1250
1250
  storeId: import("zod").ZodOptional<import("zod").ZodString>;
1251
1251
  discount: import("zod").ZodObject<{
@@ -1284,7 +1284,7 @@ export declare const SCHEMAS: {
1284
1284
  excludeCategories?: string[] | undefined;
1285
1285
  }>;
1286
1286
  }, "strip", import("zod").ZodTypeAny, {
1287
- type: "fixed" | "percentage" | "free_shipping" | "buy_x_get_y";
1287
+ type: string;
1288
1288
  name: string;
1289
1289
  scope: "seller" | "admin";
1290
1290
  discount: {
@@ -1303,7 +1303,7 @@ export declare const SCHEMAS: {
1303
1303
  description?: string | undefined;
1304
1304
  storeId?: string | undefined;
1305
1305
  }, {
1306
- type: "fixed" | "percentage" | "free_shipping" | "buy_x_get_y";
1306
+ type: string;
1307
1307
  name: string;
1308
1308
  scope: "seller" | "admin";
1309
1309
  discount: {
@@ -1366,7 +1366,7 @@ export declare const SCHEMAS: {
1366
1366
  }, import("zod").ZodTypeAny, "passthrough">;
1367
1367
  couponId: string;
1368
1368
  couponSnapshot: {
1369
- type: "fixed" | "percentage" | "free_shipping" | "buy_x_get_y";
1369
+ type: string;
1370
1370
  name: string;
1371
1371
  scope: "seller" | "admin";
1372
1372
  discount: {
@@ -1406,7 +1406,7 @@ export declare const SCHEMAS: {
1406
1406
  }, import("zod").ZodTypeAny, "passthrough">;
1407
1407
  couponId: string;
1408
1408
  couponSnapshot: {
1409
- type: "fixed" | "percentage" | "free_shipping" | "buy_x_get_y";
1409
+ type: string;
1410
1410
  name: string;
1411
1411
  scope: "seller" | "admin";
1412
1412
  discount: {
@@ -1452,7 +1452,7 @@ export declare const SCHEMAS: {
1452
1452
  code: import("zod").ZodString;
1453
1453
  name: import("zod").ZodString;
1454
1454
  description: import("zod").ZodString;
1455
- type: import("zod").ZodEnum<["percentage", "fixed", "free_shipping", "buy_x_get_y"]>;
1455
+ type: import("zod").ZodString;
1456
1456
  scope: import("zod").ZodEnum<["admin", "seller"]>;
1457
1457
  storeId: import("zod").ZodOptional<import("zod").ZodString>;
1458
1458
  applicableToCollectorDrops: import("zod").ZodOptional<import("zod").ZodBoolean>;
@@ -1583,7 +1583,7 @@ export declare const SCHEMAS: {
1583
1583
  }, "strip", import("zod").ZodTypeAny, {
1584
1584
  code: string;
1585
1585
  id: string;
1586
- type: "fixed" | "percentage" | "free_shipping" | "buy_x_get_y";
1586
+ type: string;
1587
1587
  description: string;
1588
1588
  createdAt: string | Date | import("zod").objectOutputType<{
1589
1589
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
@@ -1642,7 +1642,7 @@ export declare const SCHEMAS: {
1642
1642
  }, {
1643
1643
  code: string;
1644
1644
  id: string;
1645
- type: "fixed" | "percentage" | "free_shipping" | "buy_x_get_y";
1645
+ type: string;
1646
1646
  description: string;
1647
1647
  createdAt: string | Date | import("zod").objectInputType<{
1648
1648
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
@@ -2929,6 +2929,7 @@ export declare const SCHEMAS: {
2929
2929
  productId: import("zod").ZodString;
2930
2930
  productTitle: import("zod").ZodString;
2931
2931
  listingType: import("zod").ZodOptional<import("zod").ZodString>;
2932
+ reviewType: import("zod").ZodOptional<import("zod").ZodString>;
2932
2933
  storeId: import("zod").ZodOptional<import("zod").ZodString>;
2933
2934
  storeName: import("zod").ZodOptional<import("zod").ZodString>;
2934
2935
  userId: import("zod").ZodString;
@@ -3038,6 +3039,7 @@ export declare const SCHEMAS: {
3038
3039
  sellerRepliedAt?: string | Date | import("zod").objectOutputType<{
3039
3040
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
3040
3041
  }, import("zod").ZodTypeAny, "passthrough"> | undefined;
3042
+ reviewType?: string | undefined;
3041
3043
  }, {
3042
3044
  title: string;
3043
3045
  id: string;
@@ -3086,6 +3088,7 @@ export declare const SCHEMAS: {
3086
3088
  sellerRepliedAt?: string | Date | import("zod").objectInputType<{
3087
3089
  toDate: import("zod").ZodFunction<import("zod").ZodTuple<[], import("zod").ZodUnknown>, import("zod").ZodDate>;
3088
3090
  }, import("zod").ZodTypeAny, "passthrough"> | undefined;
3091
+ reviewType?: string | undefined;
3089
3092
  }>;
3090
3093
  readonly scammerProfiles: import("zod").ZodObject<{
3091
3094
  createdAt: import("zod").ZodUnion<[import("zod").ZodDate, import("zod").ZodString, import("zod").ZodObject<{
package/dist/server.d.ts CHANGED
@@ -520,7 +520,8 @@ export { buildSitemap } from "./_internal/server/features/seo/sitemap";
520
520
  export { buildRobots } from "./_internal/server/features/seo/robots";
521
521
  export { buildManifest } from "./_internal/server/features/seo/manifest";
522
522
  export { buildDefaultOgImage, DEFAULT_OG_SIZE, resolveOgImageUrl } from "./_internal/server/features/seo/og";
523
- export type { SitemapOptions } from "./_internal/server/features/seo/sitemap";
523
+ export type { SitemapOptions, SitemapSection } from "./_internal/server/features/seo/sitemap";
524
+ export { SITEMAP_SECTIONS } from "./_internal/server/features/seo/sitemap";
524
525
  export type { RobotsOptions } from "./_internal/server/features/seo/robots";
525
526
  export type { ManifestOptions } from "./_internal/server/features/seo/manifest";
526
527
  export type { DefaultOgOptions } from "./_internal/server/features/seo/og";
package/dist/server.js CHANGED
@@ -1475,6 +1475,7 @@ export { buildSitemap } from "./_internal/server/features/seo/sitemap.js";
1475
1475
  export { buildRobots } from "./_internal/server/features/seo/robots.js";
1476
1476
  export { buildManifest } from "./_internal/server/features/seo/manifest.js";
1477
1477
  export { buildDefaultOgImage, DEFAULT_OG_SIZE, resolveOgImageUrl } from "./_internal/server/features/seo/og.js";
1478
+ export { SITEMAP_SECTIONS } from "./_internal/server/features/seo/sitemap.js";
1478
1479
  // -- generateStaticParams slug enumerators --
1479
1480
  // Prerendering a detail route is what puts its <title> in <head> instead of
1480
1481
  // streaming it into <body>; see static-params.ts for the measurement.