@hadoku/jobplatform-worker 2.32.34 → 2.32.36

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.
@@ -0,0 +1,18 @@
1
+ -- Companies a person never wants in their feed (from the JobPulse merge, where
2
+ -- it was a localStorage list on one machine).
3
+ --
4
+ -- Keyed by LOWER(TRIM(company)), computed in SQL on both sides — at insert and
5
+ -- in the feed's NOT EXISTS — so the key and the comparison cannot disagree
6
+ -- about case folding (SQLite's LOWER folds ASCII only; doing it in JS on one
7
+ -- side would not match the other for a non-ASCII name). `company` keeps the
8
+ -- spelling the person blocked, for display.
9
+ --
10
+ -- A filter on the feed only: a blocked employer's postings stay in the shared
11
+ -- corpus, and anything already in the person's pipeline stays there.
12
+ CREATE TABLE IF NOT EXISTS blocked_companies (
13
+ user_id TEXT NOT NULL,
14
+ company_key TEXT NOT NULL,
15
+ company TEXT NOT NULL,
16
+ created_at TEXT NOT NULL,
17
+ PRIMARY KEY (user_id, company_key)
18
+ );
@@ -0,0 +1,13 @@
1
+ -- Where each posting is, as the places its free-text location names, for the
2
+ -- feed's radius filter (near= / radius_miles=). Written at ingest by
3
+ -- geo.ts `geoKeys` and backfilled by POST /ingest/backfill-geo:
4
+ --
5
+ -- '|san-francisco-ca|new-york-ny|' every known place the string names
6
+ -- '' read, and no known place in it
7
+ -- NULL not read yet — backfill pending
8
+ --
9
+ -- Pipe-delimited so the feed can test membership with one LIKE per nearby
10
+ -- place ('%|seattle-wa|%') against a short list it computes from the radius.
11
+ -- No index: the filter runs per candidate row alongside the feed's other
12
+ -- WHERE terms, and a leading-wildcard LIKE could not use one anyway.
13
+ ALTER TABLE jobs ADD COLUMN geo_keys TEXT;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hadoku/jobplatform-worker",
3
- "version": "2.32.34",
4
- "gitHead": "2ae1179011ff0ae197e3487fd43f7f6f730764b8",
3
+ "version": "2.32.36",
4
+ "gitHead": "45cbd92243deaef96c628b44bf2ff6f8e7606092",
5
5
  "description": "Job listings aggregation and tracking dashboard - Worker package",
6
6
  "license": "MIT",
7
7
  "type": "module",