@cavuno/board 1.31.0 → 1.32.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.
@@ -1,4 +1,4 @@
1
- import { b as Schemas } from './jobs-Dmz8uexp.js';
1
+ import { b as Schemas } from './jobs-Di4AV-02.js';
2
2
 
3
3
  type PublicBoard = Schemas['PublicBoardContext'];
4
4
  type PublicBoardFeatures = PublicBoard['features'];
@@ -1,4 +1,4 @@
1
- import { b as Schemas } from './jobs-Dmz8uexp.mjs';
1
+ import { b as Schemas } from './jobs-Di4AV-02.mjs';
2
2
 
3
3
  type PublicBoard = Schemas['PublicBoardContext'];
4
4
  type PublicBoardFeatures = PublicBoard['features'];
@@ -1,4 +1,5 @@
1
- import { J as JobSort, E as EmploymentType, R as RemoteOption, S as Seniority } from './jobs-Dmz8uexp.mjs';
1
+ import { B as BoardLabelOverrides } from './ui-copy-rlfoH9P3.mjs';
2
+ import { J as JobSort, E as EmploymentType, R as RemoteOption, S as Seniority } from './jobs-Di4AV-02.mjs';
2
3
 
3
4
  declare const REMOTE_OPTIONS: readonly RemoteOption[];
4
5
  /**
@@ -11,22 +12,21 @@ declare const SENIORITIES: readonly Seniority[];
11
12
  declare const JOB_SORTS: readonly JobSort[];
12
13
  declare const DEFAULT_SORT: JobSort;
13
14
  /**
14
- * Seniority display labels in the board language (lexicon-backed, en+de).
15
+ * Seniority display labels in the board language (lexicon-backed, en+de),
16
+ * ⊕ stored operator overrides (`jobCardLabels.seniority*`) when the
17
+ * `labels` bag is passed.
15
18
  *
16
19
  * @example
17
20
  * seniorityLabels('de').executive; // "Führungskraft"
18
21
  */
19
- declare function seniorityLabels(locale: string): Record<Seniority, string>;
22
+ declare function seniorityLabels(locale: string, labels?: BoardLabelOverrides): Record<Seniority, string>;
20
23
  /**
21
- * Sort-dropdown labels. The hosted board has no centralized sort vocabulary
22
- * yet, so every locale receives these English defaults today. The locale
23
- * parameter is CONTRACT, not cosmetics: ADR-0057 makes the board language a
24
- * required leading argument on every label-producing helper so call sites
25
- * are locale-correct by construction — when a sort vocabulary lands, no
26
- * consumer changes shape (adding the parameter later would be a breaking
27
- * change to every call site).
24
+ * Sort-dropdown labels in the board language, resolved from the copy
25
+ * catalog (`uiCopy(locale).jobCard`, ADR-0059) stored operator overrides
26
+ * (`jobCardLabels.aiRankedLabel` / `sortNewestLabel` / `sortSalaryHighLabel`)
27
+ * when the `labels` bag is passed.
28
28
  */
29
- declare function sortLabels(_locale: string): Record<JobSort, string>;
29
+ declare function sortLabels(locale: string, labels?: BoardLabelOverrides): Record<JobSort, string>;
30
30
  interface ListingFilters {
31
31
  q?: string;
32
32
  remoteOption?: RemoteOption;
package/dist/filters.d.ts CHANGED
@@ -1,4 +1,5 @@
1
- import { J as JobSort, E as EmploymentType, R as RemoteOption, S as Seniority } from './jobs-Dmz8uexp.js';
1
+ import { B as BoardLabelOverrides } from './ui-copy-rlfoH9P3.js';
2
+ import { J as JobSort, E as EmploymentType, R as RemoteOption, S as Seniority } from './jobs-Di4AV-02.js';
2
3
 
3
4
  declare const REMOTE_OPTIONS: readonly RemoteOption[];
4
5
  /**
@@ -11,22 +12,21 @@ declare const SENIORITIES: readonly Seniority[];
11
12
  declare const JOB_SORTS: readonly JobSort[];
12
13
  declare const DEFAULT_SORT: JobSort;
13
14
  /**
14
- * Seniority display labels in the board language (lexicon-backed, en+de).
15
+ * Seniority display labels in the board language (lexicon-backed, en+de),
16
+ * ⊕ stored operator overrides (`jobCardLabels.seniority*`) when the
17
+ * `labels` bag is passed.
15
18
  *
16
19
  * @example
17
20
  * seniorityLabels('de').executive; // "Führungskraft"
18
21
  */
19
- declare function seniorityLabels(locale: string): Record<Seniority, string>;
22
+ declare function seniorityLabels(locale: string, labels?: BoardLabelOverrides): Record<Seniority, string>;
20
23
  /**
21
- * Sort-dropdown labels. The hosted board has no centralized sort vocabulary
22
- * yet, so every locale receives these English defaults today. The locale
23
- * parameter is CONTRACT, not cosmetics: ADR-0057 makes the board language a
24
- * required leading argument on every label-producing helper so call sites
25
- * are locale-correct by construction — when a sort vocabulary lands, no
26
- * consumer changes shape (adding the parameter later would be a breaking
27
- * change to every call site).
24
+ * Sort-dropdown labels in the board language, resolved from the copy
25
+ * catalog (`uiCopy(locale).jobCard`, ADR-0059) stored operator overrides
26
+ * (`jobCardLabels.aiRankedLabel` / `sortNewestLabel` / `sortSalaryHighLabel`)
27
+ * when the `labels` bag is passed.
28
28
  */
29
- declare function sortLabels(_locale: string): Record<JobSort, string>;
29
+ declare function sortLabels(locale: string, labels?: BoardLabelOverrides): Record<JobSort, string>;
30
30
  interface ListingFilters {
31
31
  q?: string;
32
32
  remoteOption?: RemoteOption;