vector-shared 1.2.31 → 1.3.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.
@@ -2,10 +2,12 @@ import { UniqueIdEntity } from './unique-id-entity.type';
2
2
  import { CustomerPropertyEntity } from './customer-property.type';
3
3
  import { ImageEntity } from './image.type';
4
4
  import { ImageCategoryEnum } from '../image/image-category.enum';
5
+ import { PropertyPhotoTagEnum } from '../image/property-photo-tag.enum';
5
6
  export type PropertyImageEntity = UniqueIdEntity & {
6
7
  category: ImageCategoryEnum;
7
8
  showOnSite: boolean;
8
9
  isMain: boolean;
10
+ tag?: PropertyPhotoTagEnum;
9
11
  imageId?: number;
10
12
  image?: ImageEntity;
11
13
  propertyId?: number;
@@ -1,3 +1,5 @@
1
1
  import { PropertyImageEntity } from '../core/property-image.type';
2
2
  import { UniqueIdEntity } from '../core';
3
- export type CustomerPropertyImageDto = Partial<UniqueIdEntity> & Pick<PropertyImageEntity, 'imageId' | 'isMain' | 'showOnSite'>;
3
+ export type CustomerPropertyImageDto = Partial<UniqueIdEntity> & Pick<PropertyImageEntity, 'imageId' | 'isMain' | 'showOnSite'> & {
4
+ tag?: PropertyImageEntity['tag'];
5
+ };
@@ -7,3 +7,4 @@ export { BulkImageBindDto } from './bulk-bind-images.dto';
7
7
  export { ReorderImagesDto } from './reorder-images.dto';
8
8
  export { ImageOrderDto } from './reorder-images.dto';
9
9
  export { ImageCategoryEnum } from './image-category.enum';
10
+ export { PropertyPhotoTagEnum } from './property-photo-tag.enum';
@@ -1,8 +1,10 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ImageCategoryEnum = exports.ApartmentComplexImageCategory = void 0;
3
+ exports.PropertyPhotoTagEnum = exports.ImageCategoryEnum = exports.ApartmentComplexImageCategory = void 0;
4
4
  var apartment_complex_image_category_enum_1 = require("./apartment-complex-image-category.enum");
5
5
  Object.defineProperty(exports, "ApartmentComplexImageCategory", { enumerable: true, get: function () { return apartment_complex_image_category_enum_1.ApartmentComplexImageCategory; } });
6
6
  var image_category_enum_1 = require("./image-category.enum");
7
7
  Object.defineProperty(exports, "ImageCategoryEnum", { enumerable: true, get: function () { return image_category_enum_1.ImageCategoryEnum; } });
8
+ var property_photo_tag_enum_1 = require("./property-photo-tag.enum");
9
+ Object.defineProperty(exports, "PropertyPhotoTagEnum", { enumerable: true, get: function () { return property_photo_tag_enum_1.PropertyPhotoTagEnum; } });
8
10
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../types/image/index.ts"],"names":[],"mappings":";;;AAAA,iGAAwF;AAA/E,sJAAA,6BAA6B,OAAA;AAQtC,6DAA0D;AAAjD,wHAAA,iBAAiB,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../types/image/index.ts"],"names":[],"mappings":";;;AAAA,iGAAwF;AAA/E,sJAAA,6BAA6B,OAAA;AAQtC,6DAA0D;AAAjD,wHAAA,iBAAiB,OAAA;AAC1B,qEAAiE;AAAxD,+HAAA,oBAAoB,OAAA"}
@@ -0,0 +1,74 @@
1
+ export declare enum PropertyPhotoTagEnum {
2
+ Hall = "hall",
3
+ Foyer = "foyer",
4
+ EntryWardrobe = "entry_wardrobe",
5
+ LivingRoom = "living_room",
6
+ Kitchen = "kitchen",
7
+ DiningRoom = "dining_room",
8
+ KitchenLivingOpenSpace = "kitchen_living_open_space",
9
+ MasterBedroom = "master_bedroom",
10
+ Bedroom = "bedroom",
11
+ ChildrenRoom = "children_room",
12
+ StudyRoom = "study_room",
13
+ GuestRoom = "guest_room",
14
+ Bathroom = "bathroom",
15
+ ShowerRoom = "shower_room",
16
+ GuestToilet = "guest_toilet",
17
+ Laundry = "laundry",
18
+ Balcony = "balcony",
19
+ Loggia = "loggia",
20
+ Terrace = "terrace",
21
+ WindowView = "window_view",
22
+ LobbyEntrance = "lobby_entrance",
23
+ Parking = "parking",
24
+ FloorPlan = "floor_plan",
25
+ FloorPlan3d = "floor_plan_3d",
26
+ Stairs = "stairs",
27
+ Attic = "attic",
28
+ Basement = "basement",
29
+ BoilerRoom = "boiler_room",
30
+ Pool = "pool",
31
+ Sauna = "sauna",
32
+ Gym = "gym",
33
+ GameRoom = "game_room",
34
+ HouseFacade = "house_facade",
35
+ Porch = "porch",
36
+ Garden = "garden",
37
+ Bbq = "bbq",
38
+ GarageCarport = "garage_carport",
39
+ HouseView = "house_view",
40
+ Driveway = "driveway",
41
+ Neighborhood = "neighborhood",
42
+ OpenSpace = "open_space",
43
+ CeoOffice = "ceo_office",
44
+ MeetingRoom = "meeting_room",
45
+ Reception = "reception",
46
+ StaffKitchen = "staff_kitchen",
47
+ ServerRoom = "server_room",
48
+ SalesArea = "sales_area",
49
+ Storefront = "storefront",
50
+ Storage = "storage",
51
+ LoadingZone = "loading_zone",
52
+ ProductionFloor = "production_floor",
53
+ WarehouseArea = "warehouse_area",
54
+ Mezzanine = "mezzanine",
55
+ TechnicalRooms = "technical_rooms",
56
+ AdministrativeBlock = "administrative_block",
57
+ Toilets = "toilets",
58
+ ElevatorHall = "elevator_hall",
59
+ ClientParking = "client_parking",
60
+ FacadeNavigation = "facade_navigation",
61
+ GeneralView = "general_view",
62
+ Boundaries = "boundaries",
63
+ EntryPoints = "entry_points",
64
+ Electrical = "electrical",
65
+ GasLine = "gas_line",
66
+ Well = "well",
67
+ LandscapeView = "landscape_view",
68
+ Trees = "trees",
69
+ Waterbody = "waterbody",
70
+ VillageInfrastructure = "village_infrastructure",
71
+ NeighboringBuildings = "neighboring_buildings",
72
+ AccessRoad = "access_road",
73
+ CadastralPlan = "cadastral_plan"
74
+ }
@@ -0,0 +1,79 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.PropertyPhotoTagEnum = void 0;
4
+ var PropertyPhotoTagEnum;
5
+ (function (PropertyPhotoTagEnum) {
6
+ PropertyPhotoTagEnum["Hall"] = "hall";
7
+ PropertyPhotoTagEnum["Foyer"] = "foyer";
8
+ PropertyPhotoTagEnum["EntryWardrobe"] = "entry_wardrobe";
9
+ PropertyPhotoTagEnum["LivingRoom"] = "living_room";
10
+ PropertyPhotoTagEnum["Kitchen"] = "kitchen";
11
+ PropertyPhotoTagEnum["DiningRoom"] = "dining_room";
12
+ PropertyPhotoTagEnum["KitchenLivingOpenSpace"] = "kitchen_living_open_space";
13
+ PropertyPhotoTagEnum["MasterBedroom"] = "master_bedroom";
14
+ PropertyPhotoTagEnum["Bedroom"] = "bedroom";
15
+ PropertyPhotoTagEnum["ChildrenRoom"] = "children_room";
16
+ PropertyPhotoTagEnum["StudyRoom"] = "study_room";
17
+ PropertyPhotoTagEnum["GuestRoom"] = "guest_room";
18
+ PropertyPhotoTagEnum["Bathroom"] = "bathroom";
19
+ PropertyPhotoTagEnum["ShowerRoom"] = "shower_room";
20
+ PropertyPhotoTagEnum["GuestToilet"] = "guest_toilet";
21
+ PropertyPhotoTagEnum["Laundry"] = "laundry";
22
+ PropertyPhotoTagEnum["Balcony"] = "balcony";
23
+ PropertyPhotoTagEnum["Loggia"] = "loggia";
24
+ PropertyPhotoTagEnum["Terrace"] = "terrace";
25
+ PropertyPhotoTagEnum["WindowView"] = "window_view";
26
+ PropertyPhotoTagEnum["LobbyEntrance"] = "lobby_entrance";
27
+ PropertyPhotoTagEnum["Parking"] = "parking";
28
+ PropertyPhotoTagEnum["FloorPlan"] = "floor_plan";
29
+ PropertyPhotoTagEnum["FloorPlan3d"] = "floor_plan_3d";
30
+ PropertyPhotoTagEnum["Stairs"] = "stairs";
31
+ PropertyPhotoTagEnum["Attic"] = "attic";
32
+ PropertyPhotoTagEnum["Basement"] = "basement";
33
+ PropertyPhotoTagEnum["BoilerRoom"] = "boiler_room";
34
+ PropertyPhotoTagEnum["Pool"] = "pool";
35
+ PropertyPhotoTagEnum["Sauna"] = "sauna";
36
+ PropertyPhotoTagEnum["Gym"] = "gym";
37
+ PropertyPhotoTagEnum["GameRoom"] = "game_room";
38
+ PropertyPhotoTagEnum["HouseFacade"] = "house_facade";
39
+ PropertyPhotoTagEnum["Porch"] = "porch";
40
+ PropertyPhotoTagEnum["Garden"] = "garden";
41
+ PropertyPhotoTagEnum["Bbq"] = "bbq";
42
+ PropertyPhotoTagEnum["GarageCarport"] = "garage_carport";
43
+ PropertyPhotoTagEnum["HouseView"] = "house_view";
44
+ PropertyPhotoTagEnum["Driveway"] = "driveway";
45
+ PropertyPhotoTagEnum["Neighborhood"] = "neighborhood";
46
+ PropertyPhotoTagEnum["OpenSpace"] = "open_space";
47
+ PropertyPhotoTagEnum["CeoOffice"] = "ceo_office";
48
+ PropertyPhotoTagEnum["MeetingRoom"] = "meeting_room";
49
+ PropertyPhotoTagEnum["Reception"] = "reception";
50
+ PropertyPhotoTagEnum["StaffKitchen"] = "staff_kitchen";
51
+ PropertyPhotoTagEnum["ServerRoom"] = "server_room";
52
+ PropertyPhotoTagEnum["SalesArea"] = "sales_area";
53
+ PropertyPhotoTagEnum["Storefront"] = "storefront";
54
+ PropertyPhotoTagEnum["Storage"] = "storage";
55
+ PropertyPhotoTagEnum["LoadingZone"] = "loading_zone";
56
+ PropertyPhotoTagEnum["ProductionFloor"] = "production_floor";
57
+ PropertyPhotoTagEnum["WarehouseArea"] = "warehouse_area";
58
+ PropertyPhotoTagEnum["Mezzanine"] = "mezzanine";
59
+ PropertyPhotoTagEnum["TechnicalRooms"] = "technical_rooms";
60
+ PropertyPhotoTagEnum["AdministrativeBlock"] = "administrative_block";
61
+ PropertyPhotoTagEnum["Toilets"] = "toilets";
62
+ PropertyPhotoTagEnum["ElevatorHall"] = "elevator_hall";
63
+ PropertyPhotoTagEnum["ClientParking"] = "client_parking";
64
+ PropertyPhotoTagEnum["FacadeNavigation"] = "facade_navigation";
65
+ PropertyPhotoTagEnum["GeneralView"] = "general_view";
66
+ PropertyPhotoTagEnum["Boundaries"] = "boundaries";
67
+ PropertyPhotoTagEnum["EntryPoints"] = "entry_points";
68
+ PropertyPhotoTagEnum["Electrical"] = "electrical";
69
+ PropertyPhotoTagEnum["GasLine"] = "gas_line";
70
+ PropertyPhotoTagEnum["Well"] = "well";
71
+ PropertyPhotoTagEnum["LandscapeView"] = "landscape_view";
72
+ PropertyPhotoTagEnum["Trees"] = "trees";
73
+ PropertyPhotoTagEnum["Waterbody"] = "waterbody";
74
+ PropertyPhotoTagEnum["VillageInfrastructure"] = "village_infrastructure";
75
+ PropertyPhotoTagEnum["NeighboringBuildings"] = "neighboring_buildings";
76
+ PropertyPhotoTagEnum["AccessRoad"] = "access_road";
77
+ PropertyPhotoTagEnum["CadastralPlan"] = "cadastral_plan";
78
+ })(PropertyPhotoTagEnum || (exports.PropertyPhotoTagEnum = PropertyPhotoTagEnum = {}));
79
+ //# sourceMappingURL=property-photo-tag.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"property-photo-tag.enum.js","sourceRoot":"","sources":["../../../types/image/property-photo-tag.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,oBAuFX;AAvFD,WAAY,oBAAoB;IAC9B,qCAAa,CAAA;IACb,uCAAe,CAAA;IACf,wDAAgC,CAAA;IAEhC,kDAA0B,CAAA;IAC1B,2CAAmB,CAAA;IACnB,kDAA0B,CAAA;IAC1B,4EAAoD,CAAA;IAEpD,wDAAgC,CAAA;IAChC,2CAAmB,CAAA;IACnB,sDAA8B,CAAA;IAC9B,gDAAwB,CAAA;IACxB,gDAAwB,CAAA;IAExB,6CAAqB,CAAA;IACrB,kDAA0B,CAAA;IAC1B,oDAA4B,CAAA;IAC5B,2CAAmB,CAAA;IAEnB,2CAAmB,CAAA;IACnB,yCAAiB,CAAA;IACjB,2CAAmB,CAAA;IAEnB,kDAA0B,CAAA;IAC1B,wDAAgC,CAAA;IAChC,2CAAmB,CAAA;IACnB,gDAAwB,CAAA;IACxB,qDAA6B,CAAA;IAE7B,yCAAiB,CAAA;IACjB,uCAAe,CAAA;IACf,6CAAqB,CAAA;IACrB,kDAA0B,CAAA;IAE1B,qCAAa,CAAA;IACb,uCAAe,CAAA;IACf,mCAAW,CAAA;IACX,8CAAsB,CAAA;IAEtB,oDAA4B,CAAA;IAC5B,uCAAe,CAAA;IACf,yCAAiB,CAAA;IACjB,mCAAW,CAAA;IACX,wDAAgC,CAAA;IAEhC,gDAAwB,CAAA;IACxB,6CAAqB,CAAA;IACrB,qDAA6B,CAAA;IAE7B,gDAAwB,CAAA;IACxB,gDAAwB,CAAA;IACxB,oDAA4B,CAAA;IAC5B,+CAAuB,CAAA;IACvB,sDAA8B,CAAA;IAC9B,kDAA0B,CAAA;IAE1B,gDAAwB,CAAA;IACxB,iDAAyB,CAAA;IACzB,2CAAmB,CAAA;IACnB,oDAA4B,CAAA;IAE5B,4DAAoC,CAAA;IACpC,wDAAgC,CAAA;IAChC,+CAAuB,CAAA;IACvB,0DAAkC,CAAA;IAClC,oEAA4C,CAAA;IAE5C,2CAAmB,CAAA;IACnB,sDAA8B,CAAA;IAC9B,wDAAgC,CAAA;IAChC,8DAAsC,CAAA;IAEtC,oDAA4B,CAAA;IAC5B,iDAAyB,CAAA;IACzB,oDAA4B,CAAA;IAC5B,iDAAyB,CAAA;IACzB,4CAAoB,CAAA;IACpB,qCAAa,CAAA;IACb,wDAAgC,CAAA;IAChC,uCAAe,CAAA;IACf,+CAAuB,CAAA;IACvB,wEAAgD,CAAA;IAChD,sEAA8C,CAAA;IAC9C,kDAA0B,CAAA;IAC1B,wDAAgC,CAAA;AAClC,CAAC,EAvFW,oBAAoB,oCAApB,oBAAoB,QAuF/B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vector-shared",
3
- "version": "1.2.31",
3
+ "version": "1.3.0",
4
4
  "description": "Private shared package",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",