@cavuno/board 3.2.0 → 4.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/CHANGELOG.md +406 -0
- package/README.md +6 -2
- package/dist/{_spec-nkWAraS0.d.mts → _spec-GVe6WAfT.d.mts} +68 -59
- package/dist/{_spec-nkWAraS0.d.ts → _spec-GVe6WAfT.d.ts} +68 -59
- package/dist/bin.mjs +7 -2
- package/dist/{blog-iV9XEIGf.d.ts → blog-BsmKizpd.d.ts} +1 -1
- package/dist/{blog-DGBHmExV.d.mts → blog-Cf64mI8A.d.mts} +1 -1
- package/dist/{board-BJbXd_9_.d.mts → board-DUhgiacm.d.ts} +7 -6
- package/dist/{board-JhdUWIoq.d.ts → board-GGWJ4coe.d.mts} +7 -6
- package/dist/breadcrumbs-DFKr0HzU.d.mts +372 -0
- package/dist/breadcrumbs-DiccJhk4.d.ts +372 -0
- package/dist/chunk-BGKNXG4H.mjs +146 -0
- package/dist/{chunk-NXY3OWGF.mjs → chunk-T2KC6XGV.mjs} +1 -1
- package/dist/{chunk-STE77MAT.mjs → chunk-YEAQ3JEI.mjs} +143 -134
- package/dist/doctor.js +1 -1
- package/dist/doctor.mjs +1 -1
- package/dist/filters.d.mts +25 -20
- package/dist/filters.d.ts +25 -20
- package/dist/filters.js +3 -692
- package/dist/filters.mjs +3 -29
- package/dist/format.d.mts +57 -231
- package/dist/format.d.ts +57 -231
- package/dist/format.js +327 -968
- package/dist/format.mjs +207 -264
- package/dist/go.js +11 -1
- package/dist/go.mjs +1 -1
- package/dist/index.d.mts +23 -76
- package/dist/index.d.ts +23 -76
- package/dist/index.js +11 -36
- package/dist/index.mjs +11 -36
- package/dist/{jobs-BiEvL9d7.d.ts → jobs-BuLpV8iy.d.mts} +4 -4
- package/dist/{jobs-lVvKCBCU.d.mts → jobs-QrbXOYB9.d.ts} +4 -4
- package/dist/paths.d.mts +89 -1
- package/dist/paths.d.ts +89 -1
- package/dist/paths.js +62 -14
- package/dist/paths.mjs +11 -3
- package/dist/route-contract.js +23 -13
- package/dist/route-contract.mjs +2 -2
- package/dist/{search-CyRvVMUp.d.ts → search-Cr4noJJZ.d.mts} +14 -3
- package/dist/{search-CCyFWPi3.d.mts → search-DdsniXQv.d.ts} +14 -3
- package/dist/seo.d.mts +30 -29
- package/dist/seo.d.ts +30 -29
- package/dist/seo.js +197 -718
- package/dist/seo.mjs +26 -24
- package/dist/server.d.mts +5 -5
- package/dist/server.d.ts +5 -5
- package/dist/sitemap.d.mts +5 -5
- package/dist/sitemap.d.ts +5 -5
- package/dist/sitemap.js +25 -14
- package/dist/sitemap.mjs +3 -2
- package/dist/skills.js +1 -1
- package/dist/skills.mjs +1 -1
- package/dist/suggest.d.mts +2 -2
- package/dist/suggest.d.ts +2 -2
- package/dist/suggest.js +17 -3
- package/dist/suggest.mjs +17 -3
- package/dist/well-known.js +23 -13
- package/dist/well-known.mjs +2 -2
- package/package.json +2 -4
- package/skills/cavuno-board-applications/SKILL.md +4 -1
- package/skills/cavuno-board-filters/SKILL.md +11 -12
- package/skills/cavuno-board-format/SKILL.md +68 -56
- package/skills/cavuno-board-i18n/SKILL.md +102 -21
- package/skills/cavuno-board-search-suggestions/SKILL.md +8 -3
- package/skills/cavuno-board-seo/BLOG.md +4 -1
- package/skills/cavuno-board-seo/JOB_AND_BREADCRUMBS.md +5 -2
- package/skills/cavuno-board-seo/LISTING.md +35 -12
- package/skills/cavuno-board-seo/SALARY.md +83 -18
- package/skills/cavuno-board-seo/SKILL.md +3 -2
- package/skills/manifest.json +3 -3
- package/dist/breadcrumbs-1hMjcsqA.d.mts +0 -171
- package/dist/breadcrumbs-DexU07TT.d.ts +0 -171
- package/dist/chunk-IJCJ26SQ.mjs +0 -596
- package/dist/chunk-L7ZOYWHW.mjs +0 -98
- package/dist/chunk-LUGJWOT7.mjs +0 -96
- package/dist/ui-copy-CCkz6CVF.d.mts +0 -230
- package/dist/ui-copy-CCkz6CVF.d.ts +0 -230
package/dist/seo.d.ts
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { P as PublicBlogPostSummary, B as BlogAuthorEmbed } from './blog-
|
|
2
|
-
import {
|
|
3
|
-
export { A as ALL_COUNTRY_CODES, B as BreadcrumbItemInput,
|
|
4
|
-
import './_spec-
|
|
5
|
-
import './board-
|
|
6
|
-
import './jobs-
|
|
7
|
-
import './ui-copy-CCkz6CVF.js';
|
|
1
|
+
import { P as PublicBlogPostSummary, B as BlogAuthorEmbed } from './blog-BsmKizpd.js';
|
|
2
|
+
import { e as JsonLdObject } from './breadcrumbs-DiccJhk4.js';
|
|
3
|
+
export { A as ALL_COUNTRY_CODES, B as BreadcrumbItemInput, g as FaqItem, J as JobBreadcrumb, h as JsonLdBoard, N as NumberNotation, i as SENIORITY_ORDER, j as SalaryFaqEntry, k as SalaryJsonLdOptions, l as SalaryOccupationListOptions, b as buildJobBreadcrumbs, m as buildSalaryFaq, o as companyCategorySalaryJsonLd, p as companySalaryJsonLd, q as createBreadcrumbJsonLd, r as createJobPostingJsonLd, s as crossAxisSalaryJsonLd, t as faqJsonLd, c as formatSalaryStat, d as formatSalaryStatRange, u as itemListJsonLd, v as locationSalaryJsonLd, n as normalizeWebsiteUrl, w as skillSalaryJsonLd, x as sortBySeniority, y as titleSalaryJsonLd } from './breadcrumbs-DiccJhk4.js';
|
|
4
|
+
import './_spec-GVe6WAfT.js';
|
|
5
|
+
import './board-DUhgiacm.js';
|
|
6
|
+
import './jobs-QrbXOYB9.js';
|
|
8
7
|
|
|
9
8
|
/**
|
|
10
9
|
* Blog structured data on the `@cavuno/board` wire types, transcribed from
|
|
@@ -59,36 +58,32 @@ declare function createAuthorProfileJsonLd({ author, canonical, description, ori
|
|
|
59
58
|
totalPosts: number;
|
|
60
59
|
}): JsonLdObject | null;
|
|
61
60
|
|
|
62
|
-
/**
|
|
63
|
-
* Framework-neutral `<head>` + structural JSON-LD builders for jobs-listing
|
|
64
|
-
* pages. Locale-neutral pass-through: the caller supplies the
|
|
65
|
-
* heading/board copy (title/description COPY is board-SEO-config +
|
|
66
|
-
* localized — a named exclusion; these builders replicate the hosted
|
|
67
|
-
* STRUCTURE: title with result count, canonical, Open Graph, breadcrumb +
|
|
68
|
-
* job `ItemList`).
|
|
69
|
-
*/
|
|
70
|
-
|
|
71
61
|
interface ListingHeadOptions {
|
|
72
|
-
|
|
62
|
+
/**
|
|
63
|
+
* Fully composed document title — application owns counters, particles,
|
|
64
|
+
* word order, and separators (e.g. `1,225 Jobs | Acme`, `1.225 Jobs | Acme`,
|
|
65
|
+
* `1,225件の求人 | 求人ボード`). The SDK does not join count/heading/board.
|
|
66
|
+
*/
|
|
67
|
+
title: string;
|
|
73
68
|
origin: string;
|
|
74
69
|
/** Absolute path of THIS page, for canonical / og:url, e.g. `/jobs/robotik`. */
|
|
75
70
|
path: string;
|
|
76
|
-
/** Human heading, e.g. `Robotik jobs in Berlin` or `Jobs`. */
|
|
77
|
-
heading: string;
|
|
78
|
-
/** Result count — prefixed into the title (`N heading`). */
|
|
79
|
-
count?: number;
|
|
80
71
|
/**
|
|
81
|
-
*
|
|
82
|
-
*
|
|
83
|
-
*
|
|
84
|
-
* ungrouped digits the hosted structure has always emitted.
|
|
72
|
+
* Meta description — fully owned by the application. Pass a sentence from
|
|
73
|
+
* the board's copy source (page config, message catalog, template). The SDK
|
|
74
|
+
* does not invent or case-fold this string.
|
|
85
75
|
*/
|
|
86
|
-
|
|
76
|
+
description: string;
|
|
87
77
|
}
|
|
88
78
|
/**
|
|
89
|
-
* Meta/link descriptors for a jobs-listing page — title
|
|
90
|
-
*
|
|
91
|
-
*
|
|
79
|
+
* Meta/link descriptors for a jobs-listing page — caller-supplied title and
|
|
80
|
+
* meta description, Open Graph, and `<link rel=canonical>`. Framework-neutral:
|
|
81
|
+
* map `meta`/`links` into your head manager.
|
|
82
|
+
*
|
|
83
|
+
* **Why `title` and `description` are both accepted composed:** a function
|
|
84
|
+
* that takes a finished description but still composes its own title from
|
|
85
|
+
* count/heading/boardName is incoherent — both are display sentences whose
|
|
86
|
+
* arrangement is locale-dependent (Japanese counters, RTL order, …).
|
|
92
87
|
*/
|
|
93
88
|
declare function listingHead(options: ListingHeadOptions): {
|
|
94
89
|
meta: ({
|
|
@@ -123,6 +118,12 @@ interface JobLink {
|
|
|
123
118
|
* page, mirroring the structural JSON-LD the hosted board emits. The rich
|
|
124
119
|
* category set (`Occupation`/`FAQPage`/`MonetaryAmountDistribution`) lives
|
|
125
120
|
* in `./salary` — feed it the salary detail reads.
|
|
121
|
+
*
|
|
122
|
+
* Empty / single-crumb trails omit `BreadcrumbList` (same min-2 rule as
|
|
123
|
+
* `createBreadcrumbJsonLd` — an empty `itemListElement` is invalid structured
|
|
124
|
+
* data). Job URLs go through `jobDetailPath` — `/jobs/{slug}` is always a
|
|
125
|
+
* listing route, never a job detail; company-less jobs are dropped from the
|
|
126
|
+
* ItemList rather than linked to an invalid path.
|
|
126
127
|
*/
|
|
127
128
|
declare function listingJsonLd(options: {
|
|
128
129
|
origin: string;
|