hububb-saas-shared 1.2.50 → 1.2.51

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.
@@ -0,0 +1,5 @@
1
+ export declare const GUIDE_ICON_KEYS: readonly ["kitchen", "heating", "wifi", "parking", "tv", "access", "maintenance", "laundry", "rubbish", "water", "electricity", "outdoor", "bedroom", "bathroom", "general"];
2
+ export type GuideIconKey = (typeof GUIDE_ICON_KEYS)[number];
3
+ export declare const GUIDE_ICON_LABELS: Record<GuideIconKey, string>;
4
+ /** Phosphor icon component names — shared across @phosphor-icons/react and phosphor-react-native */
5
+ export declare const GUIDE_ICON_PHOSPHOR_NAMES: Record<GuideIconKey, string>;
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.GUIDE_ICON_PHOSPHOR_NAMES = exports.GUIDE_ICON_LABELS = exports.GUIDE_ICON_KEYS = void 0;
4
+ exports.GUIDE_ICON_KEYS = [
5
+ 'kitchen',
6
+ 'heating',
7
+ 'wifi',
8
+ 'parking',
9
+ 'tv',
10
+ 'access',
11
+ 'maintenance',
12
+ 'laundry',
13
+ 'rubbish',
14
+ 'water',
15
+ 'electricity',
16
+ 'outdoor',
17
+ 'bedroom',
18
+ 'bathroom',
19
+ 'general',
20
+ ];
21
+ exports.GUIDE_ICON_LABELS = {
22
+ kitchen: 'Kitchen',
23
+ heating: 'Heating & AC',
24
+ wifi: 'WiFi',
25
+ parking: 'Parking',
26
+ tv: 'TV',
27
+ access: 'Access',
28
+ maintenance: 'Maintenance',
29
+ laundry: 'Laundry',
30
+ rubbish: 'Rubbish',
31
+ water: 'Water',
32
+ electricity: 'Electricity',
33
+ outdoor: 'Outdoor',
34
+ bedroom: 'Bedroom',
35
+ bathroom: 'Bathroom',
36
+ general: 'General',
37
+ };
38
+ /** Phosphor icon component names — shared across @phosphor-icons/react and phosphor-react-native */
39
+ exports.GUIDE_ICON_PHOSPHOR_NAMES = {
40
+ kitchen: 'ForkKnife',
41
+ heating: 'Thermometer',
42
+ wifi: 'WifiHigh',
43
+ parking: 'Car',
44
+ tv: 'Television',
45
+ access: 'Lock',
46
+ maintenance: 'Wrench',
47
+ laundry: 'TShirt',
48
+ rubbish: 'Trash',
49
+ water: 'Drop',
50
+ electricity: 'Lightning',
51
+ outdoor: 'Tree',
52
+ bedroom: 'Bed',
53
+ bathroom: 'Shower',
54
+ general: 'Info',
55
+ };
@@ -1,4 +1,4 @@
1
- export { GUIDE_ICON_KEYS, GUIDE_ICON_LABELS, GUIDE_ICON_PHOSPHOR_NAMES, type GuideIconKey } from '../../constants/property-guide-icons';
1
+ export { GUIDE_ICON_KEYS, GUIDE_ICON_LABELS, GUIDE_ICON_PHOSPHOR_NAMES, type GuideIconKey } from './icons';
2
2
  export declare const propertyGuideSchema: import("zod").ZodObject<{
3
3
  id: import("zod").ZodNumber;
4
4
  propertyId: import("zod").ZodNumber;
@@ -2,17 +2,17 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.propertyGuideSchema = exports.GUIDE_ICON_PHOSPHOR_NAMES = exports.GUIDE_ICON_LABELS = exports.GUIDE_ICON_KEYS = void 0;
4
4
  const zod_1 = require("zod");
5
- const property_guide_icons_1 = require("../../constants/property-guide-icons");
6
- var property_guide_icons_2 = require("../../constants/property-guide-icons");
7
- Object.defineProperty(exports, "GUIDE_ICON_KEYS", { enumerable: true, get: function () { return property_guide_icons_2.GUIDE_ICON_KEYS; } });
8
- Object.defineProperty(exports, "GUIDE_ICON_LABELS", { enumerable: true, get: function () { return property_guide_icons_2.GUIDE_ICON_LABELS; } });
9
- Object.defineProperty(exports, "GUIDE_ICON_PHOSPHOR_NAMES", { enumerable: true, get: function () { return property_guide_icons_2.GUIDE_ICON_PHOSPHOR_NAMES; } });
5
+ const icons_1 = require("./icons");
6
+ var icons_2 = require("./icons");
7
+ Object.defineProperty(exports, "GUIDE_ICON_KEYS", { enumerable: true, get: function () { return icons_2.GUIDE_ICON_KEYS; } });
8
+ Object.defineProperty(exports, "GUIDE_ICON_LABELS", { enumerable: true, get: function () { return icons_2.GUIDE_ICON_LABELS; } });
9
+ Object.defineProperty(exports, "GUIDE_ICON_PHOSPHOR_NAMES", { enumerable: true, get: function () { return icons_2.GUIDE_ICON_PHOSPHOR_NAMES; } });
10
10
  exports.propertyGuideSchema = (0, zod_1.object)({
11
11
  id: (0, zod_1.number)().int(),
12
12
  propertyId: (0, zod_1.number)().int(),
13
13
  title: (0, zod_1.string)(),
14
14
  body: (0, zod_1.string)().nullable().optional(),
15
- iconKey: (0, zod_1.enum)(property_guide_icons_1.GUIDE_ICON_KEYS).nullable().optional(),
15
+ iconKey: (0, zod_1.enum)(icons_1.GUIDE_ICON_KEYS).nullable().optional(),
16
16
  images: (0, zod_1.array)((0, zod_1.string)()),
17
17
  order: (0, zod_1.number)().int(),
18
18
  createdAt: (0, zod_1.date)(),
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "type": "commonjs",
3
3
  "name": "hububb-saas-shared",
4
- "version": "1.2.50",
4
+ "version": "1.2.51",
5
5
  "description": "This is a shared package for the hububb saas project",
6
6
  "types": "./dist/index.d.ts",
7
7
  "main": "./dist/index.js",