@inploi/plugin-job-search 2.1.1 → 3.0.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.
- package/cdn/index.js +96 -96
- package/dist/components/filter-section.d.ts +3 -4
- package/dist/components/job-search.d.ts +3 -3
- package/dist/components/results-list.d.ts +3 -4
- package/dist/components/results-map.d.ts +3 -4
- package/dist/components/results.d.ts +2 -3
- package/dist/index.cjs +2 -2
- package/dist/index.js +157 -158
- package/dist/job-search.api.d.ts +137 -276
- package/dist/job-search.d.ts +6 -8
- package/dist/job-search.schemas.d.ts +86 -163
- package/dist/lib/rpc.d.ts +12 -0
- package/dist/{map-dd89767c.cjs → map-7b72ec86.cjs} +1 -1
- package/dist/{map-12892e9b.js → map-b78f5e89.js} +4 -3
- package/dist/utils-9f7b0e08.cjs +60 -0
- package/dist/{utils-79c4f2b7.js → utils-f3c7c5c2.js} +2997 -3191
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +9 -8
- package/package.json +4 -4
- package/dist/utils-996dce10.cjs +0 -60
package/dist/job-search.d.ts
CHANGED
|
@@ -197,8 +197,9 @@ export declare const createJobSearchDomManager: (logger: Logger) => {
|
|
|
197
197
|
getRenderTargetElement: (widgetId: string | undefined) => Element;
|
|
198
198
|
};
|
|
199
199
|
export type JobSearchDomManager = ReturnType<typeof createJobSearchDomManager>;
|
|
200
|
-
export declare const jobSearchPlugin: () => ({ apiClient, logger, analytics }: {
|
|
200
|
+
export declare const jobSearchPlugin: () => ({ apiClient, rpcClient, logger, analytics }: {
|
|
201
201
|
apiClient: import('@inploi/sdk').ApiClient;
|
|
202
|
+
rpcClient: import('@inploi/sdk').InploiRpcClient;
|
|
202
203
|
logger: Logger;
|
|
203
204
|
analytics: import('@inploi/sdk').AnalyticsService;
|
|
204
205
|
}) => {
|
|
@@ -219,9 +220,6 @@ export declare const jobSearchPlugin: () => ({ apiClient, logger, analytics }: {
|
|
|
219
220
|
id: number;
|
|
220
221
|
createdAt: string | null;
|
|
221
222
|
company: {
|
|
222
|
-
/** Hides the property from the UI
|
|
223
|
-
* You can use this property to hard-code searches without allowing the user to modify or view them.
|
|
224
|
-
*/
|
|
225
223
|
name: string;
|
|
226
224
|
logo: string | null;
|
|
227
225
|
};
|
|
@@ -239,6 +237,7 @@ export declare const jobSearchPlugin: () => ({ apiClient, logger, analytics }: {
|
|
|
239
237
|
raw: {
|
|
240
238
|
id: number;
|
|
241
239
|
company_name: string;
|
|
240
|
+
company_logo: string | null;
|
|
242
241
|
employment_type: string;
|
|
243
242
|
location_type: "LOCATION" | "REMOTE" | "HYBRID";
|
|
244
243
|
pay_type: "ANNUALLY" | "HOURLY" | "MONTHLY" | "WEEKLY" | "DAILY" | null;
|
|
@@ -258,12 +257,11 @@ export declare const jobSearchPlugin: () => ({ apiClient, logger, analytics }: {
|
|
|
258
257
|
href: string;
|
|
259
258
|
industry: string | null;
|
|
260
259
|
category: string | null;
|
|
260
|
+
skills: string | null;
|
|
261
|
+
town: string | null;
|
|
261
262
|
city: string | null;
|
|
262
263
|
country: string | null;
|
|
263
|
-
|
|
264
|
-
skills?: string | undefined;
|
|
265
|
-
town?: string | undefined;
|
|
266
|
-
vector_distance?: string | null | undefined;
|
|
264
|
+
vector_distance: string | null;
|
|
267
265
|
coordinates?: {
|
|
268
266
|
lat: number;
|
|
269
267
|
lng: number;
|
|
@@ -1,115 +1,51 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { InferOutput } from 'valibot';
|
|
2
2
|
|
|
3
|
-
export declare const AvailablePropertiesSchema: import('valibot').RecordSchema<import('valibot').StringSchema<
|
|
4
|
-
label: import('valibot').StringSchema<
|
|
5
|
-
value: import('valibot').StringSchema<
|
|
6
|
-
jobs: import('valibot').NumberSchema<
|
|
7
|
-
}, undefined
|
|
8
|
-
|
|
9
|
-
value: string;
|
|
10
|
-
jobs: number;
|
|
11
|
-
}>, {
|
|
12
|
-
label: string;
|
|
13
|
-
value: string;
|
|
14
|
-
jobs: number;
|
|
15
|
-
}[]>, {
|
|
16
|
-
[x: string]: {
|
|
17
|
-
label: string;
|
|
18
|
-
value: string;
|
|
19
|
-
jobs: number;
|
|
20
|
-
}[];
|
|
21
|
-
}>;
|
|
22
|
-
export type AvailablePropertiesSchema = Output<typeof AvailablePropertiesSchema>;
|
|
3
|
+
export declare const AvailablePropertiesSchema: import('valibot').RecordSchema<import('valibot').StringSchema<undefined>, import('valibot').ArraySchema<import('valibot').ObjectSchema<{
|
|
4
|
+
readonly label: import('valibot').SchemaWithPipe<readonly [import('valibot').UnknownSchema, import('valibot').TransformAction<any, string>, import('valibot').StringSchema<undefined>]>;
|
|
5
|
+
readonly value: import('valibot').SchemaWithPipe<readonly [import('valibot').UnknownSchema, import('valibot').TransformAction<any, string>, import('valibot').StringSchema<undefined>]>;
|
|
6
|
+
readonly jobs: import('valibot').NumberSchema<undefined>;
|
|
7
|
+
}, undefined>, undefined>, undefined>;
|
|
8
|
+
export type AvailablePropertiesSchema = InferOutput<typeof AvailablePropertiesSchema>;
|
|
23
9
|
export type FilterSuggestion = AvailablePropertiesSchema[keyof AvailablePropertiesSchema][number];
|
|
24
10
|
export declare const PaginationSchema: import('valibot').ObjectSchema<{
|
|
25
|
-
total: import('valibot').NumberSchema<
|
|
26
|
-
current_page: import('valibot').NumberSchema<
|
|
27
|
-
per_page: import('valibot').NumberSchema<
|
|
28
|
-
last_page: import('valibot').NumberSchema<
|
|
29
|
-
}, undefined
|
|
30
|
-
|
|
31
|
-
current_page: number;
|
|
32
|
-
per_page: number;
|
|
33
|
-
last_page: number;
|
|
34
|
-
}>;
|
|
35
|
-
export type PaginationSchema = Output<typeof PaginationSchema>;
|
|
11
|
+
readonly total: import('valibot').NumberSchema<undefined>;
|
|
12
|
+
readonly current_page: import('valibot').NumberSchema<undefined>;
|
|
13
|
+
readonly per_page: import('valibot').NumberSchema<undefined>;
|
|
14
|
+
readonly last_page: import('valibot').NumberSchema<undefined>;
|
|
15
|
+
}, undefined>;
|
|
16
|
+
export type PaginationSchema = InferOutput<typeof PaginationSchema>;
|
|
36
17
|
export declare const JobPayloadSchema: import('valibot').ObjectSchema<{
|
|
37
|
-
id: import('valibot').NumberSchema<
|
|
38
|
-
company_name: import('valibot').StringSchema<
|
|
39
|
-
company_logo: import('valibot').
|
|
40
|
-
employment_type: import('valibot').StringSchema<
|
|
41
|
-
location_type: import('valibot').UnionSchema<[import('valibot').LiteralSchema<"LOCATION",
|
|
42
|
-
pay_type: import('valibot').NullableSchema<import('valibot').UnionSchema<[import('valibot').LiteralSchema<"ANNUALLY",
|
|
43
|
-
pay_currency: import('valibot').StringSchema<
|
|
44
|
-
pay_mask: import('valibot').BooleanSchema<
|
|
45
|
-
pay_display: import('valibot').BooleanSchema<
|
|
46
|
-
pay: import('valibot').NullableSchema<import('valibot').StringSchema<
|
|
47
|
-
pay_min: import('valibot').NullableSchema<import('valibot').StringSchema<
|
|
48
|
-
pay_max: import('valibot').NullableSchema<import('valibot').StringSchema<
|
|
49
|
-
description: import('valibot').StringSchema<
|
|
50
|
-
title: import('valibot').StringSchema<
|
|
51
|
-
contract_type: import('valibot').NullableSchema<import('valibot').StringSchema<
|
|
52
|
-
created_at: import('valibot').NullableSchema<import('valibot').StringSchema<
|
|
53
|
-
custom_data: import('valibot').NullableSchema<import('valibot').RecordSchema<import('valibot').
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
lng: import('valibot').NumberSchema<number>;
|
|
69
|
-
}, undefined, {
|
|
70
|
-
lat: number;
|
|
71
|
-
lng: number;
|
|
72
|
-
}>, undefined, {
|
|
73
|
-
lat: number;
|
|
74
|
-
lng: number;
|
|
75
|
-
} | null>, undefined, {
|
|
76
|
-
lat: number;
|
|
77
|
-
lng: number;
|
|
78
|
-
} | null | undefined>;
|
|
79
|
-
}, undefined, {
|
|
80
|
-
id: number;
|
|
81
|
-
company_name: string;
|
|
82
|
-
employment_type: string;
|
|
83
|
-
location_type: "LOCATION" | "REMOTE" | "HYBRID";
|
|
84
|
-
pay_type: "ANNUALLY" | "HOURLY" | "MONTHLY" | "WEEKLY" | "DAILY" | null;
|
|
85
|
-
pay_currency: string;
|
|
86
|
-
pay_mask: boolean;
|
|
87
|
-
pay_display: boolean;
|
|
88
|
-
pay: string | null;
|
|
89
|
-
pay_min: string | null;
|
|
90
|
-
pay_max: string | null;
|
|
91
|
-
description: string;
|
|
92
|
-
title: string;
|
|
93
|
-
contract_type: string | null;
|
|
94
|
-
created_at: string | null;
|
|
95
|
-
custom_data: {
|
|
96
|
-
[x: string]: any;
|
|
97
|
-
} | null;
|
|
98
|
-
href: string;
|
|
99
|
-
industry: string | null;
|
|
100
|
-
category: string | null;
|
|
101
|
-
city: string | null;
|
|
102
|
-
country: string | null;
|
|
103
|
-
company_logo?: string | undefined;
|
|
104
|
-
skills?: string | undefined;
|
|
105
|
-
town?: string | undefined;
|
|
106
|
-
vector_distance?: string | null | undefined;
|
|
107
|
-
coordinates?: {
|
|
108
|
-
lat: number;
|
|
109
|
-
lng: number;
|
|
110
|
-
} | null | undefined;
|
|
111
|
-
}>;
|
|
112
|
-
export type JobPayloadSchema = Output<typeof JobPayloadSchema>;
|
|
18
|
+
readonly id: import('valibot').NumberSchema<undefined>;
|
|
19
|
+
readonly company_name: import('valibot').StringSchema<undefined>;
|
|
20
|
+
readonly company_logo: import('valibot').OptionalSchema<import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>, null>;
|
|
21
|
+
readonly employment_type: import('valibot').StringSchema<undefined>;
|
|
22
|
+
readonly location_type: import('valibot').UnionSchema<[import('valibot').LiteralSchema<"LOCATION", undefined>, import('valibot').LiteralSchema<"REMOTE", undefined>, import('valibot').LiteralSchema<"HYBRID", undefined>], undefined>;
|
|
23
|
+
readonly pay_type: import('valibot').NullableSchema<import('valibot').UnionSchema<[import('valibot').LiteralSchema<"ANNUALLY", undefined>, import('valibot').LiteralSchema<"HOURLY", undefined>, import('valibot').LiteralSchema<"MONTHLY", undefined>, import('valibot').LiteralSchema<"WEEKLY", undefined>, import('valibot').LiteralSchema<"DAILY", undefined>], undefined>, undefined>;
|
|
24
|
+
readonly pay_currency: import('valibot').StringSchema<undefined>;
|
|
25
|
+
readonly pay_mask: import('valibot').BooleanSchema<undefined>;
|
|
26
|
+
readonly pay_display: import('valibot').BooleanSchema<undefined>;
|
|
27
|
+
readonly pay: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
28
|
+
readonly pay_min: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
29
|
+
readonly pay_max: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
30
|
+
readonly description: import('valibot').StringSchema<undefined>;
|
|
31
|
+
readonly title: import('valibot').StringSchema<undefined>;
|
|
32
|
+
readonly contract_type: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
33
|
+
readonly created_at: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
34
|
+
readonly custom_data: import('valibot').NullableSchema<import('valibot').RecordSchema<import('valibot').AnySchema, import('valibot').AnySchema, undefined>, undefined>;
|
|
35
|
+
readonly href: import('valibot').StringSchema<undefined>;
|
|
36
|
+
readonly industry: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
37
|
+
readonly category: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
38
|
+
readonly skills: import('valibot').OptionalSchema<import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>, null>;
|
|
39
|
+
readonly town: import('valibot').OptionalSchema<import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>, null>;
|
|
40
|
+
readonly city: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
41
|
+
readonly country: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
42
|
+
readonly vector_distance: import('valibot').OptionalSchema<import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>, null>;
|
|
43
|
+
readonly coordinates: import('valibot').OptionalSchema<import('valibot').NullableSchema<import('valibot').ObjectSchema<{
|
|
44
|
+
readonly lat: import('valibot').NumberSchema<undefined>;
|
|
45
|
+
readonly lng: import('valibot').NumberSchema<undefined>;
|
|
46
|
+
}, undefined>, undefined>, undefined>;
|
|
47
|
+
}, undefined>;
|
|
48
|
+
export type JobPayloadSchema = InferOutput<typeof JobPayloadSchema>;
|
|
113
49
|
export declare const getJobSchema: (t: import('@inploi/i18n/translation').TFn<{
|
|
114
50
|
readonly type_to_search_jobs: "Type to search jobs";
|
|
115
51
|
readonly type_to_search: "Type to search";
|
|
@@ -169,52 +105,40 @@ export declare const getJobSchema: (t: import('@inploi/i18n/translation').TFn<{
|
|
|
169
105
|
};
|
|
170
106
|
readonly page: "Page";
|
|
171
107
|
readonly reset: "Reset";
|
|
172
|
-
}>) => import('valibot').
|
|
173
|
-
id: import('valibot').NumberSchema<
|
|
174
|
-
company_name: import('valibot').StringSchema<
|
|
175
|
-
company_logo: import('valibot').
|
|
176
|
-
employment_type: import('valibot').StringSchema<
|
|
177
|
-
location_type: import('valibot').UnionSchema<[import('valibot').LiteralSchema<"LOCATION",
|
|
178
|
-
pay_type: import('valibot').NullableSchema<import('valibot').UnionSchema<[import('valibot').LiteralSchema<"ANNUALLY",
|
|
179
|
-
pay_currency: import('valibot').StringSchema<
|
|
180
|
-
pay_mask: import('valibot').BooleanSchema<
|
|
181
|
-
pay_display: import('valibot').BooleanSchema<
|
|
182
|
-
pay: import('valibot').NullableSchema<import('valibot').StringSchema<
|
|
183
|
-
pay_min: import('valibot').NullableSchema<import('valibot').StringSchema<
|
|
184
|
-
pay_max: import('valibot').NullableSchema<import('valibot').StringSchema<
|
|
185
|
-
description: import('valibot').StringSchema<
|
|
186
|
-
title: import('valibot').StringSchema<
|
|
187
|
-
contract_type: import('valibot').NullableSchema<import('valibot').StringSchema<
|
|
188
|
-
created_at: import('valibot').NullableSchema<import('valibot').StringSchema<
|
|
189
|
-
custom_data: import('valibot').NullableSchema<import('valibot').RecordSchema<import('valibot').
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
lat: import('valibot').NumberSchema<number>;
|
|
204
|
-
lng: import('valibot').NumberSchema<number>;
|
|
205
|
-
}, undefined, {
|
|
206
|
-
lat: number;
|
|
207
|
-
lng: number;
|
|
208
|
-
}>, undefined, {
|
|
209
|
-
lat: number;
|
|
210
|
-
lng: number;
|
|
211
|
-
} | null>, undefined, {
|
|
212
|
-
lat: number;
|
|
213
|
-
lng: number;
|
|
214
|
-
} | null | undefined>;
|
|
215
|
-
}, undefined, {
|
|
108
|
+
}>) => import('valibot').SchemaWithPipe<readonly [import('valibot').ObjectSchema<{
|
|
109
|
+
readonly id: import('valibot').NumberSchema<undefined>;
|
|
110
|
+
readonly company_name: import('valibot').StringSchema<undefined>;
|
|
111
|
+
readonly company_logo: import('valibot').OptionalSchema<import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>, null>;
|
|
112
|
+
readonly employment_type: import('valibot').StringSchema<undefined>;
|
|
113
|
+
readonly location_type: import('valibot').UnionSchema<[import('valibot').LiteralSchema<"LOCATION", undefined>, import('valibot').LiteralSchema<"REMOTE", undefined>, import('valibot').LiteralSchema<"HYBRID", undefined>], undefined>;
|
|
114
|
+
readonly pay_type: import('valibot').NullableSchema<import('valibot').UnionSchema<[import('valibot').LiteralSchema<"ANNUALLY", undefined>, import('valibot').LiteralSchema<"HOURLY", undefined>, import('valibot').LiteralSchema<"MONTHLY", undefined>, import('valibot').LiteralSchema<"WEEKLY", undefined>, import('valibot').LiteralSchema<"DAILY", undefined>], undefined>, undefined>;
|
|
115
|
+
readonly pay_currency: import('valibot').StringSchema<undefined>;
|
|
116
|
+
readonly pay_mask: import('valibot').BooleanSchema<undefined>;
|
|
117
|
+
readonly pay_display: import('valibot').BooleanSchema<undefined>;
|
|
118
|
+
readonly pay: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
119
|
+
readonly pay_min: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
120
|
+
readonly pay_max: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
121
|
+
readonly description: import('valibot').StringSchema<undefined>;
|
|
122
|
+
readonly title: import('valibot').StringSchema<undefined>;
|
|
123
|
+
readonly contract_type: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
124
|
+
readonly created_at: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
125
|
+
readonly custom_data: import('valibot').NullableSchema<import('valibot').RecordSchema<import('valibot').AnySchema, import('valibot').AnySchema, undefined>, undefined>;
|
|
126
|
+
readonly href: import('valibot').StringSchema<undefined>;
|
|
127
|
+
readonly industry: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
128
|
+
readonly category: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
129
|
+
readonly skills: import('valibot').OptionalSchema<import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>, null>;
|
|
130
|
+
readonly town: import('valibot').OptionalSchema<import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>, null>;
|
|
131
|
+
readonly city: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
132
|
+
readonly country: import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>;
|
|
133
|
+
readonly vector_distance: import('valibot').OptionalSchema<import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>, null>;
|
|
134
|
+
readonly coordinates: import('valibot').OptionalSchema<import('valibot').NullableSchema<import('valibot').ObjectSchema<{
|
|
135
|
+
readonly lat: import('valibot').NumberSchema<undefined>;
|
|
136
|
+
readonly lng: import('valibot').NumberSchema<undefined>;
|
|
137
|
+
}, undefined>, undefined>, undefined>;
|
|
138
|
+
}, undefined>, import('valibot').TransformAction<{
|
|
216
139
|
id: number;
|
|
217
140
|
company_name: string;
|
|
141
|
+
company_logo: string | null;
|
|
218
142
|
employment_type: string;
|
|
219
143
|
location_type: "LOCATION" | "REMOTE" | "HYBRID";
|
|
220
144
|
pay_type: "ANNUALLY" | "HOURLY" | "MONTHLY" | "WEEKLY" | "DAILY" | null;
|
|
@@ -234,17 +158,16 @@ export declare const getJobSchema: (t: import('@inploi/i18n/translation').TFn<{
|
|
|
234
158
|
href: string;
|
|
235
159
|
industry: string | null;
|
|
236
160
|
category: string | null;
|
|
161
|
+
skills: string | null;
|
|
162
|
+
town: string | null;
|
|
237
163
|
city: string | null;
|
|
238
164
|
country: string | null;
|
|
239
|
-
|
|
240
|
-
skills?: string | undefined;
|
|
241
|
-
town?: string | undefined;
|
|
242
|
-
vector_distance?: string | null | undefined;
|
|
165
|
+
vector_distance: string | null;
|
|
243
166
|
coordinates?: {
|
|
244
167
|
lat: number;
|
|
245
168
|
lng: number;
|
|
246
169
|
} | null | undefined;
|
|
247
|
-
}
|
|
170
|
+
}, {
|
|
248
171
|
id: number;
|
|
249
172
|
createdAt: string | null;
|
|
250
173
|
company: {
|
|
@@ -265,6 +188,7 @@ export declare const getJobSchema: (t: import('@inploi/i18n/translation').TFn<{
|
|
|
265
188
|
raw: {
|
|
266
189
|
id: number;
|
|
267
190
|
company_name: string;
|
|
191
|
+
company_logo: string | null;
|
|
268
192
|
employment_type: string;
|
|
269
193
|
location_type: "LOCATION" | "REMOTE" | "HYBRID";
|
|
270
194
|
pay_type: "ANNUALLY" | "HOURLY" | "MONTHLY" | "WEEKLY" | "DAILY" | null;
|
|
@@ -284,17 +208,16 @@ export declare const getJobSchema: (t: import('@inploi/i18n/translation').TFn<{
|
|
|
284
208
|
href: string;
|
|
285
209
|
industry: string | null;
|
|
286
210
|
category: string | null;
|
|
211
|
+
skills: string | null;
|
|
212
|
+
town: string | null;
|
|
287
213
|
city: string | null;
|
|
288
214
|
country: string | null;
|
|
289
|
-
|
|
290
|
-
skills?: string | undefined;
|
|
291
|
-
town?: string | undefined;
|
|
292
|
-
vector_distance?: string | null | undefined;
|
|
215
|
+
vector_distance: string | null;
|
|
293
216
|
coordinates?: {
|
|
294
217
|
lat: number;
|
|
295
218
|
lng: number;
|
|
296
219
|
} | null | undefined;
|
|
297
220
|
};
|
|
298
221
|
match: string | null;
|
|
299
|
-
}>;
|
|
300
|
-
export type JobSchema =
|
|
222
|
+
}>]>;
|
|
223
|
+
export type JobSchema = InferOutput<ReturnType<typeof getJobSchema>>;
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { FiltersPayload } from '../job-search.api';
|
|
2
|
+
|
|
3
|
+
export declare const availableFilters: import('@inploi/sdk').RpcEndpoint<"GET", "/search/filters", Record<string, never>, {
|
|
4
|
+
filters: FiltersPayload;
|
|
5
|
+
query: string;
|
|
6
|
+
}, never, {
|
|
7
|
+
[x: string]: {
|
|
8
|
+
label: string;
|
|
9
|
+
value: string;
|
|
10
|
+
jobs: number;
|
|
11
|
+
}[];
|
|
12
|
+
}>;
|