@deallony/shared 1.2.17 → 1.2.20

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.
@@ -13,10 +13,10 @@ var SubjectTableEnum;
13
13
  SubjectTableEnum["USED_PRODUCTS"] = "used_products";
14
14
  })(SubjectTableEnum || (exports.SubjectTableEnum = SubjectTableEnum = {}));
15
15
  exports.SubjectTypes = {
16
- [SubjectTableEnum.PROPERTIES]: "Properties",
17
- [SubjectTableEnum.SERVICES]: "Services",
18
- [SubjectTableEnum.MOTORS]: "Motors",
19
- [SubjectTableEnum.USED_PRODUCTS]: "Used Products",
16
+ [SubjectTableEnum.PROPERTIES]: "properties",
17
+ [SubjectTableEnum.SERVICES]: "services",
18
+ [SubjectTableEnum.MOTORS]: "motors",
19
+ [SubjectTableEnum.USED_PRODUCTS]: "used_products",
20
20
  };
21
21
  exports.SubjectTypeOptions = [
22
22
  { value: SubjectTableEnum.SERVICES, label: "Services", name: { en: "Services", ar: "خدمات" }, isCategory: true, color: "#3B82F6", isAge: false, isCondition: false, isFeature: false },
@@ -1,4 +1,5 @@
1
1
  import { SubjectTable } from "../ad";
2
+ import { IOfferType } from "../ad-common";
2
3
  export type PropertyBathrooms = "0" | "1" | "2" | "3" | "4" | "5" | "6";
3
4
  export type PropertyFurnished = "1" | "2" | "3" | "4" | "5" | "6" | "7" | "8" | "9" | "+10";
4
5
  export type IPropertyFacility = {
@@ -35,5 +36,6 @@ export type IProperty = {
35
36
  furnished?: boolean | null;
36
37
  parking?: boolean | null;
37
38
  ad_id?: number | null;
39
+ offerType?: IOfferType;
38
40
  };
39
41
  export declare const emptyProperty: IProperty;
@@ -10,10 +10,10 @@ export var SubjectTableEnum;
10
10
  SubjectTableEnum["USED_PRODUCTS"] = "used_products";
11
11
  })(SubjectTableEnum || (SubjectTableEnum = {}));
12
12
  export const SubjectTypes = {
13
- [SubjectTableEnum.PROPERTIES]: "Properties",
14
- [SubjectTableEnum.SERVICES]: "Services",
15
- [SubjectTableEnum.MOTORS]: "Motors",
16
- [SubjectTableEnum.USED_PRODUCTS]: "Used Products",
13
+ [SubjectTableEnum.PROPERTIES]: "properties",
14
+ [SubjectTableEnum.SERVICES]: "services",
15
+ [SubjectTableEnum.MOTORS]: "motors",
16
+ [SubjectTableEnum.USED_PRODUCTS]: "used_products",
17
17
  };
18
18
  export const SubjectTypeOptions = [
19
19
  { value: SubjectTableEnum.SERVICES, label: "Services", name: { en: "Services", ar: "خدمات" }, isCategory: true, color: "#3B82F6", isAge: false, isCondition: false, isFeature: false },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@deallony/shared",
3
- "version": "1.2.17",
3
+ "version": "1.2.20",
4
4
  "private": false,
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",