remark42 icon indicating copy to clipboard operation
remark42 copied to clipboard

Add api sdk

Open akellbl4 opened this issue 2 years ago • 3 comments

can be merged after https://github.com/umputun/remark42/pull/1409

adds an alpha version of package with JS API client

https://www.npmjs.com/package/@remark42/api

future improvements:

  • https://github.com/umputun/remark42/issues/1410
  • https://github.com/umputun/remark42/issues/1411

akellbl4 avatar Jun 19 '22 02:06 akellbl4

Please don't forget to alter that document.

paskal avatar Jun 19 '22 15:06 paskal

size-limit report 📦

Path Size
public/embed.mjs 2.02 KB (0%)
public/remark.mjs 72.37 KB (+0.01% 🔺)
public/remark.css 8.2 KB (0%)
public/last-comments.mjs 35.51 KB (0%)
public/last-comments.css 3.79 KB (-0.03% 🔽)
public/deleteme.mjs 12.05 KB (0%)
public/counter.mjs 749 B (0%)

github-actions[bot] avatar Jul 01 '22 19:07 github-actions[bot]

Codecov Report

Merging #1390 (ffb786b) into master (75427df) will increase coverage by 28.70%. The diff coverage is 86.83%.

@@             Coverage Diff             @@
##           master    #1390       +/-   ##
===========================================
+ Coverage   58.12%   86.83%   +28.70%     
===========================================
  Files         131        8      -123     
  Lines        2909      509     -2400     
  Branches      743       67      -676     
===========================================
- Hits         1691      442     -1249     
+ Misses       1214        0     -1214     
- Partials        4       67       +63     
Impacted Files Coverage Δ
frontend/packages/api/consts.ts 63.63% <63.63%> (ø)
frontend/packages/api/lib/cookies.ts 63.63% <63.63%> (ø)
frontend/packages/api/lib/fetcher.ts 80.85% <80.85%> (ø)
frontend/packages/api/clients/auth.ts 82.97% <82.97%> (ø)
frontend/packages/api/clients/admin.ts 85.07% <85.07%> (ø)
frontend/packages/api/clients/public.ts 92.81% <92.81%> (ø)
frontend/packages/api/clients/index.ts 96.36% <96.36%> (ø)
frontend/packages/api/index.ts 100.00% <100.00%> (ø)
.../comment-form/markdown-toolbar-icons/code-icon.tsx
...end/apps/remark42/app/components/thread/thread.tsx
... and 129 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

codecov[bot] avatar Jul 11 '22 03:07 codecov[bot]

@Mavrin let's merge it and I could test it properly by using in the app itself. After it we can do publish/docs and rest of the stuff.

akellbl4 avatar Aug 20 '22 06:08 akellbl4