Commit graph

39 commits

Author SHA1 Message Date
70eec26b74
bump versions in all package.json files 2022-10-16 11:46:12 -04:00
c414f24a2c feat: per-user renote muting
Changelog: Added
2022-10-11 10:42:39 +00:00
79662272ba
foundkey-js: update test domain to foundkey.test 2022-09-27 22:38:09 -04:00
80468b1529
foundkey-js: Change Misskey import to foundkey 2022-09-27 22:38:09 -04:00
9470e12424 Merge pull request 'Revert "Use native shell commands for clean/clean-all"' (#170) from revert-native-clean into main
Reviewed-on: FoundKeyGang/FoundKey#170
2022-09-23 22:15:29 +00:00
d9a64d0a22 Revert "Use native shell commands for clean/clean-all"
This reverts commit 5fb294e7d7.

This will allow the clean/clean-all command to work on Windows once again.
2022-09-22 13:48:06 -04:00
35fd970c4a
add column: muted types in thread 2022-09-21 15:52:14 +02:00
de8f2b3c63
foundkey-js: add bannerUrl to LiteInstanceMetadata 2022-09-15 18:57:49 -04:00
4da09fc9fb
foundkey-js: update LiteInstanceMetadata fields
Ads were removed in #5, and some client components need the
icon/favicon URLs.

Changelog: Changed
2022-09-15 18:55:46 -04:00
17fa488eb9
refactor: move visibility computation to foundkey-js
Changelog: Changed
2022-09-15 17:39:51 -04:00
9b7a0b574e
update foundkey-js readme 2022-09-13 17:17:47 +02:00
d65b073192 foundkey-js: Sync possible endpoints from backend
I noticed while trying to pick up work on mkbread on a train that the
translate endpoint was missing so here it is now.

I just copy-pasted the list of endpoints in the order that they were
in in the backend and copied back the existing type annotations.
It doesn't feel reasonable to invest more time in the typings if
we might have a chance at creating the one-source-of-truth elseway.
2022-09-10 12:43:19 +02:00
f0a2d368a3
foundkey-js: use re-export syntax 2022-09-10 02:05:56 -04:00
dde6f5eb55
foundkey-js: fix build errors
The use of `"moduleResolution": "Node16"` is to make TS use the same
module resolution as Node does when using ESM modules.

`reconnecting-websocket`'s TS definition files were copied over but
wrapped in a `declare module` block to make TS properly accept
using the default import directly without using `.default`.

I also decided to look into `autobind-decorator`'s source code and
figured that I could use the `boundMethod` annotation directly instead
of using the `autobind` default export.
2022-09-09 00:08:21 -04:00
9a34e0b2b1
build: update typescript and related packages 2022-09-08 23:00:36 -04:00
dde4086811
fix(foundkey-js): use default import for eventemitter3 2022-09-08 21:06:38 -04:00
674f91109f
foundkey-js: add remaining file extensions to local imports 2022-09-08 21:00:57 -04:00
106c643f85
foundkey-js: use file extensions in imports
Technically, ESM modules require imports to include file extensions.

For whatever reason this didn't seem to be required when importing into
the client, but it does seem to be required for use in the backend.
2022-09-08 20:51:41 -04:00
f94ed5e8a6 foundkey-js: remove room api endpoints
Changelog: Removed
2022-09-07 08:30:28 +00:00
a16d7d9dc2
foundkey-js: fix no-param-reassign lint in acct.ts 2022-09-06 11:36:21 -04:00
5939c90b84
update eslint plugins 2022-09-06 11:19:34 -04:00
5fb294e7d7
Use native shell commands for clean/clean-all 2022-09-05 04:43:40 -04:00
d23b5faeda
foundkey-js: update tsd dependency 2022-09-05 03:20:53 -04:00
892ea5e2bf
upgrade eslint and typescript-related dependencies
Changelog: Changed
2022-09-05 03:15:16 -04:00
b2625cbafc
foundkey-js: update and translate README 2022-08-31 19:18:56 -04:00
157eab2dee
foundkey-js: make DriveFile.comment nullable
There's a few places in the client code that checks for a null comment,
suggesting this field may be set to null.
2022-08-31 06:55:31 -04:00
9f3d5a7aad
foundkey-js: document change to es modules 2022-08-28 17:17:40 -04:00
50f8c6e751
foundkey-js: fix mislabeled changes in changelog 2022-08-28 17:11:13 -04:00
98d6fc216c
foundkey-js: Update changelog to Keep a Changelog format 2022-08-28 17:07:56 -04:00
b50c1d145a
foundkey-js: remove old contributing guide 2022-08-28 15:42:07 -04:00
0fd89e3ab7
remove unneeded files from foundkey-js 2022-08-28 18:32:45 +02:00
d36d9692b8
foundkey-js: use prepack instead of prepare 2022-08-26 18:05:16 -04:00
bc0f0bf08f
add foundkey-js to each workspace package.json 2022-08-26 16:38:41 -04:00
6bb3f39c36
migrate to Yarn 3.2.3 2022-08-26 15:24:29 -04:00
13b2cba980
foundkey-js: mark as module 2022-08-26 02:44:05 -04:00
ebaa1960bf
foundkey-js: remove github files 2022-08-26 01:30:24 -04:00
a424426857
client: Use foundkey-js instead of misskey-js 2022-08-26 01:25:56 -04:00
7420aab1b6
chore: update foundkey-js package.json 2022-08-26 00:53:12 -04:00
b558716fa1 Add 'packages/foundkey-js/' from commit '637c6f1411c9c03f204f21da12e1f8e390d05cb8'
git-subtree-dir: packages/foundkey-js
git-subtree-mainline: aa144e803c
git-subtree-split: 637c6f1411
2022-08-25 21:39:55 -04:00