@inploi/plugin-job-search 2.0.4 → 2.1.1
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 +77 -77
- package/cdn/style.css +1 -1
- package/dist/index.cjs +2 -2
- package/dist/index.js +164 -127
- package/dist/job-search.d.ts +10 -3
- package/dist/{map-fbe78a9a.js → map-12892e9b.js} +1 -1
- package/dist/{map-ed05a596.cjs → map-dd89767c.cjs} +1 -1
- package/dist/style.css +1 -1
- package/dist/{utils-a5528587.js → utils-79c4f2b7.js} +184 -181
- package/dist/{utils-95d79be8.cjs → utils-996dce10.cjs} +1 -1
- package/dist/utils.cjs +1 -1
- package/dist/utils.js +1 -1
- package/package.json +2 -2
package/dist/job-search.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FeedbackPlugin, FeedbackPluginParams } from '@inploi/plugin-feedback';
|
|
1
|
+
import { FeedbackPlugin, FeedbackPluginParams, feedbackPlugin } from '@inploi/plugin-feedback';
|
|
2
2
|
import { JobAlertsPluginParams, jobAlertsPlugin } from '@inploi/plugin-job-alerts';
|
|
3
3
|
import { Logger } from '@inploi/sdk';
|
|
4
4
|
import { TargetedEvent } from 'preact/compat';
|
|
@@ -155,12 +155,16 @@ export interface JobSearchPluginParams {
|
|
|
155
155
|
};
|
|
156
156
|
/** Provide a plugin instance to enable job alerts. */
|
|
157
157
|
alerts?: {
|
|
158
|
-
plugin: ReturnType<typeof jobAlertsPlugin
|
|
158
|
+
plugin: ReturnType<typeof jobAlertsPlugin> | Promise<{
|
|
159
|
+
jobAlertsPlugin: typeof jobAlertsPlugin;
|
|
160
|
+
}>;
|
|
159
161
|
params: Pick<JobAlertsPluginParams, 'config'>;
|
|
160
162
|
};
|
|
161
163
|
/** Provide a plugin instance to enable feedback. */
|
|
162
164
|
feedback?: {
|
|
163
|
-
plugin: FeedbackPlugin
|
|
165
|
+
plugin: FeedbackPlugin | Promise<{
|
|
166
|
+
feedbackPlugin: typeof feedbackPlugin;
|
|
167
|
+
}>;
|
|
164
168
|
params?: {
|
|
165
169
|
terms?: FeedbackPluginParams['terms'];
|
|
166
170
|
theme: Partial<FeedbackPluginParams['theme']>;
|
|
@@ -215,6 +219,9 @@ export declare const jobSearchPlugin: () => ({ apiClient, logger, analytics }: {
|
|
|
215
219
|
id: number;
|
|
216
220
|
createdAt: string | null;
|
|
217
221
|
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
|
+
*/
|
|
218
225
|
name: string;
|
|
219
226
|
logo: string | null;
|
|
220
227
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { e as ib, h as rb, u as nb, _ as Ju, j as ob, m as sb, p as Km, o as Fs } from "./utils-
|
|
1
|
+
import { e as ib, h as rb, u as nb, _ as Ju, j as ob, m as sb, p as Km, o as Fs } from "./utils-79c4f2b7.js";
|
|
2
2
|
var q0 = { exports: {} };
|
|
3
3
|
(function(Lr, oh) {
|
|
4
4
|
(function(Bs, Ns) {
|