@aws505/sheetsite 1.0.9 → 1.0.10

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aws505/sheetsite",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -57,7 +57,7 @@ export function Hero({
57
57
  trustSignals,
58
58
  }: HeroProps) {
59
59
  // Determine trust signals based on business type or use provided ones
60
- const businessType = (business as any).type || 'default';
60
+ const businessType = business.type || 'default';
61
61
  const signals = trustSignals || defaultTrustSignals[businessType] || defaultTrustSignals.default;
62
62
  const bgStyle = backgroundImage
63
63
  ? { backgroundImage: `url(${backgroundImage})` }
package/src/data/types.ts CHANGED
@@ -66,6 +66,9 @@ export const BusinessInfoSchema = z.object({
66
66
  priceRange: z.enum(['$', '$$', '$$$', '$$$$']).optional(),
67
67
  yearEstablished: z.number().optional(),
68
68
  licenseNumber: z.string().optional(),
69
+
70
+ // Business type for trust signals and content customization
71
+ type: z.string().optional(),
69
72
  });
70
73
 
71
74
  export type BusinessInfo = z.infer<typeof BusinessInfoSchema>;