From afe8ba4405a5291ac6cdf318d66e3eaa69dcd77d Mon Sep 17 00:00:00 2001 From: takker99 <37929109+takker99@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:01:25 +0900 Subject: [PATCH 1/3] docs: Add module docs --- mod.ts | 3 --- rest.ts | 5 ++++- userscript.ts | 6 ++++-- 3 files changed, 8 insertions(+), 6 deletions(-) delete mode 100644 mod.ts diff --git a/mod.ts b/mod.ts deleted file mode 100644 index 8d9b8a2..0000000 --- a/mod.ts +++ /dev/null @@ -1,3 +0,0 @@ -export function add(a: number, b: number): number { - return a + b; -} diff --git a/rest.ts b/rest.ts index 5f1dc3b..6049fd3 100644 --- a/rest.ts +++ b/rest.ts @@ -1,4 +1,7 @@ -/** @module types used at REST API */ +/** type definitions for Cosense REST API responses + * + * @module + */ export * from "./base.ts"; export * from "./commit.ts"; diff --git a/userscript.ts b/userscript.ts index db8b670..ddc516c 100644 --- a/userscript.ts +++ b/userscript.ts @@ -1,5 +1,7 @@ -/** @module types used at UserScript */ - +/** type definitions for Cosense UserScript + * + * @module + */ export * from "./base.ts"; export * from "./blocks.ts"; export * from "./node/node.ts"; From 37228232574a2a64410e9a26fddec2b072ce3cbe Mon Sep 17 00:00:00 2001 From: takker99 <37929109+takker99@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:01:37 +0900 Subject: [PATCH 2/3] docs: Add JSR badges --- README.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/README.md b/README.md index ec9faae..80501fb 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ ## @cosense/types +[![JSR](https://jsr.io/badges/@cosense/types)](https://jsr.io/@cosense/types) +[![test](https://github.com/scrapbox-jp/types/workflows/ci/badge.svg)](https://github.com/scrapbox-jp/types/actions?query=workflow%3Aci) + + Type definitions for [cosense](https://cosen.se) ## Getting Started From 4669839af1735b2c945e69b44490187959546143 Mon Sep 17 00:00:00 2001 From: takker99 <37929109+takker99@users.noreply.github.com> Date: Fri, 2 Aug 2024 14:02:42 +0900 Subject: [PATCH 3/3] style: deno fmt --- README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/README.md b/README.md index 80501fb..23d5ecf 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,6 @@ [![JSR](https://jsr.io/badges/@cosense/types)](https://jsr.io/@cosense/types) [![test](https://github.com/scrapbox-jp/types/workflows/ci/badge.svg)](https://github.com/scrapbox-jp/types/actions?query=workflow%3Aci) - Type definitions for [cosense](https://cosen.se) ## Getting Started