@inploi/plugin-job-alerts 4.0.0 → 5.1.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 +11 -11
- package/dist/job-alerts.d.ts +5 -1
- package/dist/job-alerts.terms.d.ts +18 -0
- package/dist/plugin-job-alerts.cjs +539 -382
- package/dist/plugin-job-alerts.js +539 -382
- package/package.json +4 -4
package/dist/job-alerts.d.ts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
-
import { JobAlertsTranslationTerms } from './
|
|
1
|
+
import { JobAlertsTranslationTerms } from './job-alerts.terms';
|
|
2
2
|
|
|
3
|
+
export { defaultTerms } from './job-alerts.terms';
|
|
4
|
+
export type { JobAlertsTranslationTerms } from './job-alerts.terms';
|
|
3
5
|
export type JobAlertsConfig = {
|
|
4
6
|
/** Button label */
|
|
5
7
|
label: string;
|
|
6
8
|
/** Header to be displayed above the form */
|
|
7
9
|
headerText: string;
|
|
10
|
+
/** Linked under the form, before the candidate confirms, so they can read how their personal data is used. */
|
|
11
|
+
privacyPolicyUrl?: string;
|
|
8
12
|
};
|
|
9
13
|
export type JobAlertsPluginParams = {
|
|
10
14
|
theme: {
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/** English defaults for every job alerts term. Kept free of type imports so the published declarations stand alone. */
|
|
2
|
+
export declare const defaultTerms: {
|
|
3
|
+
readonly DAILY: "Daily";
|
|
4
|
+
readonly WEEKLY: "Weekly";
|
|
5
|
+
readonly MONTHLY: "Monthly";
|
|
6
|
+
readonly email: "Email";
|
|
7
|
+
readonly email_placeholder: "jane.doe@example.com";
|
|
8
|
+
readonly name: "Name";
|
|
9
|
+
readonly name_placeholder: "Jane Doe";
|
|
10
|
+
readonly save: "Save";
|
|
11
|
+
readonly save_alert: "Save Alert";
|
|
12
|
+
readonly frequency: "Frequency";
|
|
13
|
+
readonly create_alert: "Create Alert";
|
|
14
|
+
readonly create_alert_error: "Failed to create alert. Please try again later.";
|
|
15
|
+
readonly privacy_policy_link: "How we use your personal data";
|
|
16
|
+
};
|
|
17
|
+
/** Host overrides for any job alerts term. */
|
|
18
|
+
export type JobAlertsTranslationTerms = Partial<Record<keyof typeof defaultTerms, string>>;
|