@exclusive-website/types 1.0.11 → 1.0.13

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 (2) hide show
  1. package/package.json +1 -1
  2. package/src/types.ts +28 -12
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exclusive-website/types",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
4
4
  "description": "A collection of shared types (DTOs and DBEs) for the organization",
5
5
  "main": "src/types.ts",
6
6
  "types": "src/types.ts",
package/src/types.ts CHANGED
@@ -6,24 +6,24 @@ export interface ModelDTO {
6
6
  isNew: boolean;
7
7
  isTopped: boolean;
8
8
  city: string;
9
- availability: string;
9
+ availability: AvailabilityStatus;
10
10
  age: number;
11
11
  weight: number;
12
12
  height: number;
13
13
  chestSize: string;
14
14
  hairColor: string;
15
- hasTattoo: boolean;
16
- hasPiercing: boolean;
17
- isSmoker: boolean;
18
- shaveStatus: string;
19
- experience: 'profi' | 'advanced' | 'amateur';
20
- serviceType: string;
21
- nationality: string;
22
- languages: string[];
15
+ isSmoker: YesNoOption;
16
+ hasTattoo: YesNoOption;
17
+ hasPiercing: YesNoOption;
18
+ shaveStatus: ShaveStatus;
19
+ experience: ExperienceLevel;
20
+ serviceType: ServiceType;
21
+ nationality: Nationality;
22
+ languages: Language[];
23
23
  servicesFor: string[];
24
24
  description: string;
25
- services: string[];
26
- otherSpecialServices: string[];
25
+ services: string[];
26
+ otherSpecialServices: string[];
27
27
  phoneNumber: string;
28
28
  listingExpired: boolean;
29
29
  }
@@ -108,7 +108,23 @@ export enum SexualOrientation {
108
108
  HOMO = "homo"
109
109
  }
110
110
 
111
- // LOCATION
111
+ export enum YesNoOption {
112
+ YES = "Áno",
113
+ NO = "Nie",
114
+ }
115
+
116
+ export enum ExperienceLevel {
117
+ PROFI = 'profi',
118
+ ADVANCED = 'advanced',
119
+ AMATEUR = 'amateur',
120
+ }
121
+
122
+ export enum ServiceType {
123
+ ESCORT = 'escort',
124
+ MASSAGE = 'massage',
125
+ DOMINA = 'domina',
126
+ }
127
+
112
128
  export enum Location {
113
129
  UNDEFINED = "Neuvedená",
114
130
  BRATISLAVA = "Bratislava",