@inploi/plugin-job-search 3.2.0 → 3.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.
@@ -35,6 +35,7 @@ declare const getJobSearchResponseSchema: (t: TFunction) => import('valibot').Sc
35
35
  readonly lat: import('valibot').NumberSchema<undefined>;
36
36
  readonly lng: import('valibot').NumberSchema<undefined>;
37
37
  }, undefined>, undefined>, undefined>;
38
+ readonly locale: import('valibot').OptionalSchema<import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>, undefined>;
38
39
  }, undefined>, import('valibot').TransformAction<{
39
40
  id: number;
40
41
  company_name: string;
@@ -66,6 +67,7 @@ declare const getJobSearchResponseSchema: (t: TFunction) => import('valibot').Sc
66
67
  lat: number;
67
68
  lng: number;
68
69
  } | null | undefined;
70
+ locale?: string | null | undefined;
69
71
  }, {
70
72
  id: number;
71
73
  createdAt: string | null;
@@ -73,8 +75,6 @@ declare const getJobSearchResponseSchema: (t: TFunction) => import('valibot').Sc
73
75
  name: string;
74
76
  logo: string | null;
75
77
  };
76
- employmentType: string;
77
- locationType: "LOCATION" | "REMOTE" | "HYBRID";
78
78
  pay: string | null;
79
79
  title: string;
80
80
  contractType: string | null;
@@ -84,11 +84,11 @@ declare const getJobSearchResponseSchema: (t: TFunction) => import('valibot').Sc
84
84
  [x: string]: any;
85
85
  } | null;
86
86
  raw: {
87
+ location_type: string;
88
+ employment_type: string;
87
89
  id: number;
88
90
  company_name: string;
89
91
  company_logo: string | null;
90
- employment_type: string;
91
- location_type: "LOCATION" | "REMOTE" | "HYBRID";
92
92
  pay_type: "ANNUALLY" | "HOURLY" | "MONTHLY" | "WEEKLY" | "DAILY" | null;
93
93
  pay_currency: string;
94
94
  pay_mask: boolean;
@@ -114,6 +114,7 @@ declare const getJobSearchResponseSchema: (t: TFunction) => import('valibot').Sc
114
114
  lat: number;
115
115
  lng: number;
116
116
  } | null | undefined;
117
+ locale?: string | null | undefined;
117
118
  };
118
119
  match: string | null;
119
120
  }>]>, undefined>;
@@ -131,8 +132,6 @@ declare const getJobSearchResponseSchema: (t: TFunction) => import('valibot').Sc
131
132
  name: string;
132
133
  logo: string | null;
133
134
  };
134
- employmentType: string;
135
- locationType: "LOCATION" | "REMOTE" | "HYBRID";
136
135
  pay: string | null;
137
136
  title: string;
138
137
  contractType: string | null;
@@ -142,11 +141,11 @@ declare const getJobSearchResponseSchema: (t: TFunction) => import('valibot').Sc
142
141
  [x: string]: any;
143
142
  } | null;
144
143
  raw: {
144
+ location_type: string;
145
+ employment_type: string;
145
146
  id: number;
146
147
  company_name: string;
147
148
  company_logo: string | null;
148
- employment_type: string;
149
- location_type: "LOCATION" | "REMOTE" | "HYBRID";
150
149
  pay_type: "ANNUALLY" | "HOURLY" | "MONTHLY" | "WEEKLY" | "DAILY" | null;
151
150
  pay_currency: string;
152
151
  pay_mask: boolean;
@@ -172,6 +171,7 @@ declare const getJobSearchResponseSchema: (t: TFunction) => import('valibot').Sc
172
171
  lat: number;
173
172
  lng: number;
174
173
  } | null | undefined;
174
+ locale?: string | null | undefined;
175
175
  };
176
176
  match: string | null;
177
177
  }[];
@@ -195,8 +195,6 @@ declare const getJobSearchResponseSchema: (t: TFunction) => import('valibot').Sc
195
195
  name: string;
196
196
  logo: string | null;
197
197
  };
198
- employmentType: string;
199
- locationType: "LOCATION" | "REMOTE" | "HYBRID";
200
198
  pay: string | null;
201
199
  title: string;
202
200
  contractType: string | null;
@@ -206,11 +204,11 @@ declare const getJobSearchResponseSchema: (t: TFunction) => import('valibot').Sc
206
204
  [x: string]: any;
207
205
  } | null;
208
206
  raw: {
207
+ location_type: string;
208
+ employment_type: string;
209
209
  id: number;
210
210
  company_name: string;
211
211
  company_logo: string | null;
212
- employment_type: string;
213
- location_type: "LOCATION" | "REMOTE" | "HYBRID";
214
212
  pay_type: "ANNUALLY" | "HOURLY" | "MONTHLY" | "WEEKLY" | "DAILY" | null;
215
213
  pay_currency: string;
216
214
  pay_mask: boolean;
@@ -236,6 +234,7 @@ declare const getJobSearchResponseSchema: (t: TFunction) => import('valibot').Sc
236
234
  lat: number;
237
235
  lng: number;
238
236
  } | null | undefined;
237
+ locale?: string | null | undefined;
239
238
  };
240
239
  match: string | null;
241
240
  }[];
@@ -251,10 +250,13 @@ type GeoSearchApiParams = {
251
250
  } | GeoBounds;
252
251
  export type FiltersPayload = Record<string, string | string[] | GeoSearchApiParams | null | undefined>;
253
252
  export declare const filtersToPayload: (state: JobSearchState) => FiltersPayload;
254
- export declare const getAvailableFilters: ({ rpcClient, state, signal, }: {
253
+ export declare const getAvailableFilters: ({ rpcClient, state, t, signal, locale, fallbackLocale, }: {
255
254
  rpcClient: InploiRpcClient;
256
255
  signal?: AbortSignal;
257
256
  state: JobSearchState;
257
+ t: TFunction;
258
+ locale: string | undefined;
259
+ fallbackLocale: string | undefined;
258
260
  }) => Promise<{
259
261
  [x: string]: {
260
262
  label: string;
@@ -263,13 +265,15 @@ export declare const getAvailableFilters: ({ rpcClient, state, signal, }: {
263
265
  }[];
264
266
  }>;
265
267
  export type GetAvailableFiltersResponse = Awaited<ReturnType<typeof getAvailableFilters>>;
266
- export declare const getJobSearchResults: ({ rpcClient, signal, state, page, t, prioritySegment, }: {
268
+ export declare const getJobSearchResults: ({ rpcClient, signal, state, page, t, prioritySegment, locale, fallbackLocale, }: {
267
269
  rpcClient: InploiRpcClient;
268
270
  signal?: AbortSignal;
269
271
  state: JobSearchState;
270
272
  page?: number;
271
273
  t: TFunction;
272
274
  prioritySegment: string | undefined;
275
+ locale: string | undefined;
276
+ fallbackLocale: string | undefined;
273
277
  }) => Promise<{
274
278
  pagination: {
275
279
  total: number;
@@ -284,8 +288,6 @@ export declare const getJobSearchResults: ({ rpcClient, signal, state, page, t,
284
288
  name: string;
285
289
  logo: string | null;
286
290
  };
287
- employmentType: string;
288
- locationType: "LOCATION" | "REMOTE" | "HYBRID";
289
291
  pay: string | null;
290
292
  title: string;
291
293
  contractType: string | null;
@@ -295,11 +297,11 @@ export declare const getJobSearchResults: ({ rpcClient, signal, state, page, t,
295
297
  [x: string]: any;
296
298
  } | null;
297
299
  raw: {
300
+ location_type: string;
301
+ employment_type: string;
298
302
  id: number;
299
303
  company_name: string;
300
304
  company_logo: string | null;
301
- employment_type: string;
302
- location_type: "LOCATION" | "REMOTE" | "HYBRID";
303
305
  pay_type: "ANNUALLY" | "HOURLY" | "MONTHLY" | "WEEKLY" | "DAILY" | null;
304
306
  pay_currency: string;
305
307
  pay_mask: boolean;
@@ -325,6 +327,7 @@ export declare const getJobSearchResults: ({ rpcClient, signal, state, page, t,
325
327
  lat: number;
326
328
  lng: number;
327
329
  } | null | undefined;
330
+ locale?: string | null | undefined;
328
331
  };
329
332
  match: string | null;
330
333
  }[];
@@ -360,6 +363,7 @@ declare const getJobSearchMapSchema: (t: TFunction) => import('valibot').SchemaW
360
363
  readonly lat: import('valibot').NumberSchema<undefined>;
361
364
  readonly lng: import('valibot').NumberSchema<undefined>;
362
365
  }, undefined>, undefined>, undefined>;
366
+ readonly locale: import('valibot').OptionalSchema<import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>, undefined>;
363
367
  }, undefined>, import('valibot').TransformAction<{
364
368
  id: number;
365
369
  company_name: string;
@@ -391,6 +395,7 @@ declare const getJobSearchMapSchema: (t: TFunction) => import('valibot').SchemaW
391
395
  lat: number;
392
396
  lng: number;
393
397
  } | null | undefined;
398
+ locale?: string | null | undefined;
394
399
  }, {
395
400
  id: number;
396
401
  createdAt: string | null;
@@ -398,8 +403,6 @@ declare const getJobSearchMapSchema: (t: TFunction) => import('valibot').SchemaW
398
403
  name: string;
399
404
  logo: string | null;
400
405
  };
401
- employmentType: string;
402
- locationType: "LOCATION" | "REMOTE" | "HYBRID";
403
406
  pay: string | null;
404
407
  title: string;
405
408
  contractType: string | null;
@@ -409,11 +412,11 @@ declare const getJobSearchMapSchema: (t: TFunction) => import('valibot').SchemaW
409
412
  [x: string]: any;
410
413
  } | null;
411
414
  raw: {
415
+ location_type: string;
416
+ employment_type: string;
412
417
  id: number;
413
418
  company_name: string;
414
419
  company_logo: string | null;
415
- employment_type: string;
416
- location_type: "LOCATION" | "REMOTE" | "HYBRID";
417
420
  pay_type: "ANNUALLY" | "HOURLY" | "MONTHLY" | "WEEKLY" | "DAILY" | null;
418
421
  pay_currency: string;
419
422
  pay_mask: boolean;
@@ -439,6 +442,7 @@ declare const getJobSearchMapSchema: (t: TFunction) => import('valibot').SchemaW
439
442
  lat: number;
440
443
  lng: number;
441
444
  } | null | undefined;
445
+ locale?: string | null | undefined;
442
446
  };
443
447
  match: string | null;
444
448
  }>]>, undefined>;
@@ -453,8 +457,6 @@ declare const getJobSearchMapSchema: (t: TFunction) => import('valibot').SchemaW
453
457
  name: string;
454
458
  logo: string | null;
455
459
  };
456
- employmentType: string;
457
- locationType: "LOCATION" | "REMOTE" | "HYBRID";
458
460
  pay: string | null;
459
461
  title: string;
460
462
  contractType: string | null;
@@ -464,11 +466,11 @@ declare const getJobSearchMapSchema: (t: TFunction) => import('valibot').SchemaW
464
466
  [x: string]: any;
465
467
  } | null;
466
468
  raw: {
469
+ location_type: string;
470
+ employment_type: string;
467
471
  id: number;
468
472
  company_name: string;
469
473
  company_logo: string | null;
470
- employment_type: string;
471
- location_type: "LOCATION" | "REMOTE" | "HYBRID";
472
474
  pay_type: "ANNUALLY" | "HOURLY" | "MONTHLY" | "WEEKLY" | "DAILY" | null;
473
475
  pay_currency: string;
474
476
  pay_mask: boolean;
@@ -494,6 +496,7 @@ declare const getJobSearchMapSchema: (t: TFunction) => import('valibot').SchemaW
494
496
  lat: number;
495
497
  lng: number;
496
498
  } | null | undefined;
499
+ locale?: string | null | undefined;
497
500
  };
498
501
  match: string | null;
499
502
  }[];
@@ -508,8 +511,6 @@ declare const getJobSearchMapSchema: (t: TFunction) => import('valibot').SchemaW
508
511
  name: string;
509
512
  logo: string | null;
510
513
  };
511
- employmentType: string;
512
- locationType: "LOCATION" | "REMOTE" | "HYBRID";
513
514
  pay: string | null;
514
515
  title: string;
515
516
  contractType: string | null;
@@ -519,11 +520,11 @@ declare const getJobSearchMapSchema: (t: TFunction) => import('valibot').SchemaW
519
520
  [x: string]: any;
520
521
  } | null;
521
522
  raw: {
523
+ location_type: string;
524
+ employment_type: string;
522
525
  id: number;
523
526
  company_name: string;
524
527
  company_logo: string | null;
525
- employment_type: string;
526
- location_type: "LOCATION" | "REMOTE" | "HYBRID";
527
528
  pay_type: "ANNUALLY" | "HOURLY" | "MONTHLY" | "WEEKLY" | "DAILY" | null;
528
529
  pay_currency: string;
529
530
  pay_mask: boolean;
@@ -549,6 +550,7 @@ declare const getJobSearchMapSchema: (t: TFunction) => import('valibot').SchemaW
549
550
  lat: number;
550
551
  lng: number;
551
552
  } | null | undefined;
553
+ locale?: string | null | undefined;
552
554
  };
553
555
  match: string | null;
554
556
  }[];
@@ -558,12 +560,14 @@ declare const getJobSearchMapSchema: (t: TFunction) => import('valibot').SchemaW
558
560
  }>]>;
559
561
  export type JobSearchMapPayloadInput = InferInput<ReturnType<typeof getJobSearchMapSchema>>;
560
562
  export type JobSearchMapPayloadOutput = InferOutput<ReturnType<typeof getJobSearchMapSchema>>;
561
- export declare const getJobSearchMapResults: ({ rpcClient, signal, state, t, prioritySegment, }: {
563
+ export declare const getJobSearchMapResults: ({ rpcClient, signal, state, t, prioritySegment, locale, fallbackLocale, }: {
562
564
  rpcClient: InploiRpcClient;
563
565
  signal?: AbortSignal;
564
566
  state: JobSearchState;
565
567
  t: TFunction;
566
568
  prioritySegment: string | undefined;
569
+ locale: string | undefined;
570
+ fallbackLocale: string | undefined;
567
571
  }) => Promise<{
568
572
  results: {
569
573
  id: number;
@@ -572,8 +576,6 @@ export declare const getJobSearchMapResults: ({ rpcClient, signal, state, t, pri
572
576
  name: string;
573
577
  logo: string | null;
574
578
  };
575
- employmentType: string;
576
- locationType: "LOCATION" | "REMOTE" | "HYBRID";
577
579
  pay: string | null;
578
580
  title: string;
579
581
  contractType: string | null;
@@ -583,11 +585,11 @@ export declare const getJobSearchMapResults: ({ rpcClient, signal, state, t, pri
583
585
  [x: string]: any;
584
586
  } | null;
585
587
  raw: {
588
+ location_type: string;
589
+ employment_type: string;
586
590
  id: number;
587
591
  company_name: string;
588
592
  company_logo: string | null;
589
- employment_type: string;
590
- location_type: "LOCATION" | "REMOTE" | "HYBRID";
591
593
  pay_type: "ANNUALLY" | "HOURLY" | "MONTHLY" | "WEEKLY" | "DAILY" | null;
592
594
  pay_currency: string;
593
595
  pay_mask: boolean;
@@ -613,6 +615,7 @@ export declare const getJobSearchMapResults: ({ rpcClient, signal, state, t, pri
613
615
  lat: number;
614
616
  lng: number;
615
617
  } | null | undefined;
618
+ locale?: string | null | undefined;
616
619
  };
617
620
  match: string | null;
618
621
  }[];
@@ -19,7 +19,7 @@ declare const textStyles: {
19
19
  readonly jobHeading: "jobHeading";
20
20
  };
21
21
  type TextStyle = keyof typeof textStyles;
22
- export declare const FILTER_KEYS: readonly ["company_name", "employment_type", "location_type", "pay_type", "pay_currency", "pay_mask", "pay", "pay_min", "pay_max", "title", "industry", "category", "skills", "town", "city", "country", "contract_type", "pay_display"];
22
+ export declare const FILTER_KEYS: readonly ["locale", "company_name", "employment_type", "location_type", "pay_type", "pay_currency", "pay_mask", "pay", "pay_min", "pay_max", "title", "industry", "category", "skills", "town", "city", "country", "contract_type", "pay_display"];
23
23
  export type FilterKey = (typeof FILTER_KEYS)[number];
24
24
  export type CustomDataKey = `custom_data.${string}`;
25
25
  export type FilterProperty = {
@@ -89,6 +89,12 @@ type ColorPaletteConfig = {
89
89
  /** Float between 0 and 2. Acts as a multiplier to the original generated palette. */
90
90
  chroma: number;
91
91
  };
92
+ export interface JobSearchPluginI18nParams {
93
+ /** Only see jobs in this locale */
94
+ locale: string | undefined;
95
+ /** Fallback locale to use if jobs in the preferred locale are not available */
96
+ fallbackLocale: string | undefined;
97
+ }
92
98
  export interface JobSearchPluginParams {
93
99
  /** Used to identify the specific widget you want to render, in case there are multiple instances of the widget on the page.*/
94
100
  widgetId?: string;
@@ -142,8 +148,6 @@ export interface JobSearchPluginParams {
142
148
  initialState: JobSearchState | ((params: Omit<JobSearchPluginParams, 'initialState'>) => JobSearchState);
143
149
  /** Enables searching for jobs by keyword */
144
150
  enableKeywordSearch?: boolean;
145
- /** Translation terms */
146
- terms?: JobSearchTranslationTerms;
147
151
  geolocation?: {
148
152
  enabled: boolean;
149
153
  };
@@ -153,6 +157,9 @@ export interface JobSearchPluginParams {
153
157
  /** Suggestion searches */
154
158
  suggestions: string[];
155
159
  };
160
+ /** Override terms used in the plugin */
161
+ terms?: JobSearchTranslationTerms;
162
+ i18n?: JobSearchPluginI18nParams;
156
163
  /** Provide a plugin instance to enable job alerts. */
157
164
  alerts?: {
158
165
  plugin: ReturnType<typeof jobAlertsPlugin> | Promise<{
@@ -228,8 +235,6 @@ export declare const jobSearchPlugin: () => ({ apiClient, rpcClient, logger, ana
228
235
  name: string;
229
236
  logo: string | null;
230
237
  };
231
- employmentType: string;
232
- locationType: "LOCATION" | "REMOTE" | "HYBRID";
233
238
  pay: string | null;
234
239
  title: string;
235
240
  contractType: string | null;
@@ -239,11 +244,11 @@ export declare const jobSearchPlugin: () => ({ apiClient, rpcClient, logger, ana
239
244
  [x: string]: any;
240
245
  } | null;
241
246
  raw: {
247
+ location_type: string;
248
+ employment_type: string;
242
249
  id: number;
243
250
  company_name: string;
244
251
  company_logo: string | null;
245
- employment_type: string;
246
- location_type: "LOCATION" | "REMOTE" | "HYBRID";
247
252
  pay_type: "ANNUALLY" | "HOURLY" | "MONTHLY" | "WEEKLY" | "DAILY" | null;
248
253
  pay_currency: string;
249
254
  pay_mask: boolean;
@@ -269,6 +274,7 @@ export declare const jobSearchPlugin: () => ({ apiClient, rpcClient, logger, ana
269
274
  lat: number;
270
275
  lng: number;
271
276
  } | null | undefined;
277
+ locale?: string | null | undefined;
272
278
  };
273
279
  match: string | null;
274
280
  }[];
@@ -1,12 +1,24 @@
1
1
  import { InferOutput } from 'valibot';
2
2
  import { TFunction } from './lib/i18n';
3
3
 
4
- export declare const AvailablePropertiesSchema: import('valibot').RecordSchema<import('valibot').StringSchema<undefined>, import('valibot').ArraySchema<import('valibot').ObjectSchema<{
4
+ export declare const getAvailablePropertiesSchema: (t: TFunction) => import('valibot').SchemaWithPipe<readonly [import('valibot').RecordSchema<import('valibot').StringSchema<undefined>, import('valibot').ArraySchema<import('valibot').ObjectSchema<{
5
5
  readonly label: import('valibot').SchemaWithPipe<readonly [import('valibot').UnknownSchema, import('valibot').TransformAction<any, string>, import('valibot').StringSchema<undefined>]>;
6
6
  readonly value: import('valibot').SchemaWithPipe<readonly [import('valibot').UnknownSchema, import('valibot').TransformAction<any, string>, import('valibot').StringSchema<undefined>]>;
7
7
  readonly jobs: import('valibot').NumberSchema<undefined>;
8
- }, undefined>, undefined>, undefined>;
9
- export type AvailablePropertiesSchema = InferOutput<typeof AvailablePropertiesSchema>;
8
+ }, undefined>, undefined>, undefined>, import('valibot').TransformAction<{
9
+ [x: string]: {
10
+ label: string;
11
+ value: string;
12
+ jobs: number;
13
+ }[];
14
+ }, {
15
+ [x: string]: {
16
+ label: string;
17
+ value: string;
18
+ jobs: number;
19
+ }[];
20
+ }>]>;
21
+ export type AvailablePropertiesSchema = InferOutput<ReturnType<typeof getAvailablePropertiesSchema>>;
10
22
  export type FilterSuggestion = AvailablePropertiesSchema[keyof AvailablePropertiesSchema][number];
11
23
  export declare const PaginationSchema: import('valibot').ObjectSchema<{
12
24
  readonly total: import('valibot').NumberSchema<undefined>;
@@ -45,6 +57,7 @@ export declare const JobPayloadSchema: import('valibot').ObjectSchema<{
45
57
  readonly lat: import('valibot').NumberSchema<undefined>;
46
58
  readonly lng: import('valibot').NumberSchema<undefined>;
47
59
  }, undefined>, undefined>, undefined>;
60
+ readonly locale: import('valibot').OptionalSchema<import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>, undefined>;
48
61
  }, undefined>;
49
62
  export type JobPayloadSchema = InferOutput<typeof JobPayloadSchema>;
50
63
  export declare const getJobSchema: (t: TFunction) => import('valibot').SchemaWithPipe<readonly [import('valibot').ObjectSchema<{
@@ -77,6 +90,7 @@ export declare const getJobSchema: (t: TFunction) => import('valibot').SchemaWit
77
90
  readonly lat: import('valibot').NumberSchema<undefined>;
78
91
  readonly lng: import('valibot').NumberSchema<undefined>;
79
92
  }, undefined>, undefined>, undefined>;
93
+ readonly locale: import('valibot').OptionalSchema<import('valibot').NullableSchema<import('valibot').StringSchema<undefined>, undefined>, undefined>;
80
94
  }, undefined>, import('valibot').TransformAction<{
81
95
  id: number;
82
96
  company_name: string;
@@ -108,6 +122,7 @@ export declare const getJobSchema: (t: TFunction) => import('valibot').SchemaWit
108
122
  lat: number;
109
123
  lng: number;
110
124
  } | null | undefined;
125
+ locale?: string | null | undefined;
111
126
  }, {
112
127
  id: number;
113
128
  createdAt: string | null;
@@ -115,8 +130,6 @@ export declare const getJobSchema: (t: TFunction) => import('valibot').SchemaWit
115
130
  name: string;
116
131
  logo: string | null;
117
132
  };
118
- employmentType: string;
119
- locationType: "LOCATION" | "REMOTE" | "HYBRID";
120
133
  pay: string | null;
121
134
  title: string;
122
135
  contractType: string | null;
@@ -126,11 +139,11 @@ export declare const getJobSchema: (t: TFunction) => import('valibot').SchemaWit
126
139
  [x: string]: any;
127
140
  } | null;
128
141
  raw: {
142
+ location_type: string;
143
+ employment_type: string;
129
144
  id: number;
130
145
  company_name: string;
131
146
  company_logo: string | null;
132
- employment_type: string;
133
- location_type: "LOCATION" | "REMOTE" | "HYBRID";
134
147
  pay_type: "ANNUALLY" | "HOURLY" | "MONTHLY" | "WEEKLY" | "DAILY" | null;
135
148
  pay_currency: string;
136
149
  pay_mask: boolean;
@@ -156,6 +169,7 @@ export declare const getJobSchema: (t: TFunction) => import('valibot').SchemaWit
156
169
  lat: number;
157
170
  lng: number;
158
171
  } | null | undefined;
172
+ locale?: string | null | undefined;
159
173
  };
160
174
  match: string | null;
161
175
  }>]>;
@@ -58,16 +58,16 @@ export declare const TranslationProvider: (props: {
58
58
  };
59
59
  readonly page: "Page";
60
60
  readonly reset: "Reset";
61
- readonly 'employment_type.FULL_TIME': "Full-time";
62
- readonly 'employment_type.PART_TIME': "Part-time";
63
- readonly 'employment_type.CONTRACT': "Contractor";
64
- readonly 'employment_type.TEMPORARY': "Temporary";
65
- readonly 'employment_type.INTERN': "Internship";
66
- readonly 'employment_type.VOLUNTEER': "Volunteer";
67
- readonly 'employment_type.OTHER': "Other";
68
- readonly 'location_type.LOCATION': "On-site";
69
- readonly 'location_type.REMOTE': "Remote";
70
- readonly 'location_type.HYBRID': "Hybrid";
61
+ readonly 'job.employment_type.FULL_TIME': "Full-time";
62
+ readonly 'job.employment_type.PART_TIME': "Part-time";
63
+ readonly 'job.employment_type.CONTRACT': "Contractor";
64
+ readonly 'job.employment_type.TEMPORARY': "Temporary";
65
+ readonly 'job.employment_type.INTERN': "Internship";
66
+ readonly 'job.employment_type.VOLUNTEER': "Volunteer";
67
+ readonly 'job.employment_type.OTHER': "Other";
68
+ readonly 'job.location_type.LOCATION': "On-site";
69
+ readonly 'job.location_type.REMOTE': "Remote";
70
+ readonly 'job.location_type.HYBRID': "Hybrid";
71
71
  }>> | undefined;
72
72
  locale: string | undefined;
73
73
  children?: import('preact').ComponentChildren;
@@ -130,16 +130,16 @@ export declare const TranslationProvider: (props: {
130
130
  };
131
131
  readonly page: "Page";
132
132
  readonly reset: "Reset";
133
- readonly 'employment_type.FULL_TIME': "Full-time";
134
- readonly 'employment_type.PART_TIME': "Part-time";
135
- readonly 'employment_type.CONTRACT': "Contractor";
136
- readonly 'employment_type.TEMPORARY': "Temporary";
137
- readonly 'employment_type.INTERN': "Internship";
138
- readonly 'employment_type.VOLUNTEER': "Volunteer";
139
- readonly 'employment_type.OTHER': "Other";
140
- readonly 'location_type.LOCATION': "On-site";
141
- readonly 'location_type.REMOTE': "Remote";
142
- readonly 'location_type.HYBRID': "Hybrid";
133
+ readonly 'job.employment_type.FULL_TIME': "Full-time";
134
+ readonly 'job.employment_type.PART_TIME': "Part-time";
135
+ readonly 'job.employment_type.CONTRACT': "Contractor";
136
+ readonly 'job.employment_type.TEMPORARY': "Temporary";
137
+ readonly 'job.employment_type.INTERN': "Internship";
138
+ readonly 'job.employment_type.VOLUNTEER': "Volunteer";
139
+ readonly 'job.employment_type.OTHER': "Other";
140
+ readonly 'job.location_type.LOCATION': "On-site";
141
+ readonly 'job.location_type.REMOTE': "Remote";
142
+ readonly 'job.location_type.HYBRID': "Hybrid";
143
143
  } = {
144
144
  readonly type_to_search_jobs: "Type to search jobs";
145
145
  readonly type_to_search: "Type to search";
@@ -199,16 +199,16 @@ export declare const TranslationProvider: (props: {
199
199
  };
200
200
  readonly page: "Page";
201
201
  readonly reset: "Reset";
202
- readonly 'employment_type.FULL_TIME': "Full-time";
203
- readonly 'employment_type.PART_TIME': "Part-time";
204
- readonly 'employment_type.CONTRACT': "Contractor";
205
- readonly 'employment_type.TEMPORARY': "Temporary";
206
- readonly 'employment_type.INTERN': "Internship";
207
- readonly 'employment_type.VOLUNTEER': "Volunteer";
208
- readonly 'employment_type.OTHER': "Other";
209
- readonly 'location_type.LOCATION': "On-site";
210
- readonly 'location_type.REMOTE': "Remote";
211
- readonly 'location_type.HYBRID': "Hybrid";
202
+ readonly 'job.employment_type.FULL_TIME': "Full-time";
203
+ readonly 'job.employment_type.PART_TIME': "Part-time";
204
+ readonly 'job.employment_type.CONTRACT': "Contractor";
205
+ readonly 'job.employment_type.TEMPORARY': "Temporary";
206
+ readonly 'job.employment_type.INTERN': "Internship";
207
+ readonly 'job.employment_type.VOLUNTEER': "Volunteer";
208
+ readonly 'job.employment_type.OTHER': "Other";
209
+ readonly 'job.location_type.LOCATION': "On-site";
210
+ readonly 'job.location_type.REMOTE': "Remote";
211
+ readonly 'job.location_type.HYBRID': "Hybrid";
212
212
  }>() => {
213
213
  t: import('@inploi/i18n/translation').TFn<T>;
214
214
  locale: string | undefined;
@@ -271,16 +271,16 @@ export declare const TranslationProvider: (props: {
271
271
  };
272
272
  readonly page: "Page";
273
273
  readonly reset: "Reset";
274
- readonly 'employment_type.FULL_TIME': "Full-time";
275
- readonly 'employment_type.PART_TIME': "Part-time";
276
- readonly 'employment_type.CONTRACT': "Contractor";
277
- readonly 'employment_type.TEMPORARY': "Temporary";
278
- readonly 'employment_type.INTERN': "Internship";
279
- readonly 'employment_type.VOLUNTEER': "Volunteer";
280
- readonly 'employment_type.OTHER': "Other";
281
- readonly 'location_type.LOCATION': "On-site";
282
- readonly 'location_type.REMOTE': "Remote";
283
- readonly 'location_type.HYBRID': "Hybrid";
274
+ readonly 'job.employment_type.FULL_TIME': "Full-time";
275
+ readonly 'job.employment_type.PART_TIME': "Part-time";
276
+ readonly 'job.employment_type.CONTRACT': "Contractor";
277
+ readonly 'job.employment_type.TEMPORARY': "Temporary";
278
+ readonly 'job.employment_type.INTERN': "Internship";
279
+ readonly 'job.employment_type.VOLUNTEER': "Volunteer";
280
+ readonly 'job.employment_type.OTHER': "Other";
281
+ readonly 'job.location_type.LOCATION': "On-site";
282
+ readonly 'job.location_type.REMOTE': "Remote";
283
+ readonly 'job.location_type.HYBRID': "Hybrid";
284
284
  } = {
285
285
  readonly type_to_search_jobs: "Type to search jobs";
286
286
  readonly type_to_search: "Type to search";
@@ -340,16 +340,16 @@ export declare const TranslationProvider: (props: {
340
340
  };
341
341
  readonly page: "Page";
342
342
  readonly reset: "Reset";
343
- readonly 'employment_type.FULL_TIME': "Full-time";
344
- readonly 'employment_type.PART_TIME': "Part-time";
345
- readonly 'employment_type.CONTRACT': "Contractor";
346
- readonly 'employment_type.TEMPORARY': "Temporary";
347
- readonly 'employment_type.INTERN': "Internship";
348
- readonly 'employment_type.VOLUNTEER': "Volunteer";
349
- readonly 'employment_type.OTHER': "Other";
350
- readonly 'location_type.LOCATION': "On-site";
351
- readonly 'location_type.REMOTE': "Remote";
352
- readonly 'location_type.HYBRID': "Hybrid";
343
+ readonly 'job.employment_type.FULL_TIME': "Full-time";
344
+ readonly 'job.employment_type.PART_TIME': "Part-time";
345
+ readonly 'job.employment_type.CONTRACT': "Contractor";
346
+ readonly 'job.employment_type.TEMPORARY': "Temporary";
347
+ readonly 'job.employment_type.INTERN': "Internship";
348
+ readonly 'job.employment_type.VOLUNTEER': "Volunteer";
349
+ readonly 'job.employment_type.OTHER': "Other";
350
+ readonly 'job.location_type.LOCATION': "On-site";
351
+ readonly 'job.location_type.REMOTE': "Remote";
352
+ readonly 'job.location_type.HYBRID': "Hybrid";
353
353
  }>(options: {
354
354
  overrides: Partial<import('@inploi/i18n/translation').TranslationDict<{
355
355
  readonly type_to_search_jobs: "Type to search jobs";
@@ -410,16 +410,16 @@ export declare const TranslationProvider: (props: {
410
410
  };
411
411
  readonly page: "Page";
412
412
  readonly reset: "Reset";
413
- readonly 'employment_type.FULL_TIME': "Full-time";
414
- readonly 'employment_type.PART_TIME': "Part-time";
415
- readonly 'employment_type.CONTRACT': "Contractor";
416
- readonly 'employment_type.TEMPORARY': "Temporary";
417
- readonly 'employment_type.INTERN': "Internship";
418
- readonly 'employment_type.VOLUNTEER': "Volunteer";
419
- readonly 'employment_type.OTHER': "Other";
420
- readonly 'location_type.LOCATION': "On-site";
421
- readonly 'location_type.REMOTE': "Remote";
422
- readonly 'location_type.HYBRID': "Hybrid";
413
+ readonly 'job.employment_type.FULL_TIME': "Full-time";
414
+ readonly 'job.employment_type.PART_TIME': "Part-time";
415
+ readonly 'job.employment_type.CONTRACT': "Contractor";
416
+ readonly 'job.employment_type.TEMPORARY': "Temporary";
417
+ readonly 'job.employment_type.INTERN': "Internship";
418
+ readonly 'job.employment_type.VOLUNTEER': "Volunteer";
419
+ readonly 'job.employment_type.OTHER': "Other";
420
+ readonly 'job.location_type.LOCATION': "On-site";
421
+ readonly 'job.location_type.REMOTE': "Remote";
422
+ readonly 'job.location_type.HYBRID': "Hybrid";
423
423
  }>>;
424
424
  locale: string | undefined;
425
425
  }) => import('@inploi/i18n/translation').TFn<T>, defaultTerms: {
@@ -481,16 +481,16 @@ export declare const TranslationProvider: (props: {
481
481
  };
482
482
  readonly page: "Page";
483
483
  readonly reset: "Reset";
484
- readonly 'employment_type.FULL_TIME': "Full-time";
485
- readonly 'employment_type.PART_TIME': "Part-time";
486
- readonly 'employment_type.CONTRACT': "Contractor";
487
- readonly 'employment_type.TEMPORARY': "Temporary";
488
- readonly 'employment_type.INTERN': "Internship";
489
- readonly 'employment_type.VOLUNTEER': "Volunteer";
490
- readonly 'employment_type.OTHER': "Other";
491
- readonly 'location_type.LOCATION': "On-site";
492
- readonly 'location_type.REMOTE': "Remote";
493
- readonly 'location_type.HYBRID': "Hybrid";
484
+ readonly 'job.employment_type.FULL_TIME': "Full-time";
485
+ readonly 'job.employment_type.PART_TIME': "Part-time";
486
+ readonly 'job.employment_type.CONTRACT': "Contractor";
487
+ readonly 'job.employment_type.TEMPORARY': "Temporary";
488
+ readonly 'job.employment_type.INTERN': "Internship";
489
+ readonly 'job.employment_type.VOLUNTEER': "Volunteer";
490
+ readonly 'job.employment_type.OTHER': "Other";
491
+ readonly 'job.location_type.LOCATION': "On-site";
492
+ readonly 'job.location_type.REMOTE': "Remote";
493
+ readonly 'job.location_type.HYBRID': "Hybrid";
494
494
  };
495
495
  export type TFunction = ReturnType<typeof useTranslation>['t'];
496
496
  export type JobSearchTranslationTerms = Parameters<typeof TranslationProvider>[0]['terms'];
@@ -1,4 +1,4 @@
1
- import { h as ib, j as rb, u as nb, A as Ju, m as ob, n as sb, y as Km, o as Fs } from "./utils-a3a16f64.js";
1
+ import { h as ib, j as rb, u as nb, A as Ju, m as ob, n as sb, y as Km, o as Fs } from "./utils-6f4e34d7.js";
2
2
  import "@inploi/sdk";
3
3
  var q0 = { exports: {} };
4
4
  (function(Lr, oh) {