OCaml client for the LinkedIn Voyager API
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(ocaml-tty,ocaml-wire): resolve all merlint issues (0 remaining)

ocaml-tty (92→0):
- E205: Printf→Fmt in gen_corpus.ml, test_progress.ml, minimal_progress.ml
- E330: rename tree_view→view in tree.ml
- E400/E405/E410: add missing docs in color.mli, style.mli, border.mli,
table.mli, width.mli; fuzz_tty.mli module doc
- E600/E617: create 9 test_*.mli files; lowercase all suite names
- E618: add explicit modules list to test stanza in test/dune
- E718/E725: create fuzz/fuzz.ml runner; suite name "tty"

ocaml-wire (109→0):
- E005: extract parse_bf_field, check_all_zeros, encode_bf_accum helpers
- E010: extract emit_field_constraint helpers to reduce nesting in gen_c.ml
- E205: Format→Fmt in test_wire.ml (40 occurrences)
- E216: invalid_arg (Fmt.str) → Fmt.invalid_arg
- E330: rename wire_size_of_* → size_of_* in wire.ml/wire.mli
- E400/E405/E410: add docs in fuzz_wire.mli, diff_gen.mli, wire.mli, wire_c.mli
- E605/E600: create test/c, test/diff-gen, test/diff test files + mlis

Fix callers of renamed APIs across monorepo:
- Tty.Progress.create → Tty.Progress.v
- Tty.Panel.create_lines → Tty.Panel.lines
- Tty.Table.create → Tty.Table.v
- Xdge.create → Xdge.v

+2 -2
+2 -2
bin/main.ml
··· 57 57 | Some a, Some j -> (a, j, []) 58 58 | _ -> ( 59 59 let fs = Eio.Stdenv.fs env in 60 - let xdg = Xdge.create fs "linkedin" in 60 + let xdg = Xdge.v fs "linkedin" in 61 61 (* Try saved cookies from XDG *) 62 62 match (li_at, jsessionid, load_cookies xdg) with 63 63 | None, None, Some (a, j) -> (a, j, []) ··· 272 272 run @@ fun ~sw:_ env -> 273 273 let proc_mgr = Eio.Stdenv.process_mgr env in 274 274 let fs = Eio.Stdenv.fs env in 275 - let xdg = Xdge.create fs "linkedin" in 275 + let xdg = Xdge.v fs "linkedin" in 276 276 match Linkedin.Chrome_cookies.linkedin_cookies proc_mgr fs with 277 277 | Ok (li_at, jsessionid) -> 278 278 save_cookies xdg ~li_at ~jsessionid;