]> Untitled Git - lemmy.git/commit
Adding typescript generation for API. Fixes #2824 (#2827)
authorDessalines <dessalines@users.noreply.github.com>
Wed, 26 Apr 2023 04:26:10 +0000 (00:26 -0400)
committerGitHub <noreply@github.com>
Wed, 26 Apr 2023 04:26:10 +0000 (00:26 -0400)
commit88a0d2feec3f9b4a06f2d8d090894111afcbd9e2
tree5053045faa858c9dd441372a434f5630ba1e43bb
parent1b5437cbe3fe0b9726c5760c05f52054ab4e54c2
Adding typescript generation for API. Fixes #2824 (#2827)

* Adding typescript generation for API. Fixes #2824

* Try to fix Ltree issue 1.

* Forgot a few types.

* Fixing api tests.

* Removing url_serde line.

* Manually deriving TS for some types.
54 files changed:
.gitignore
Cargo.lock
Cargo.toml
api_tests/package.json
api_tests/src/comment.spec.ts
api_tests/src/community.spec.ts
api_tests/src/follow.spec.ts
api_tests/src/post.spec.ts
api_tests/src/shared.ts
api_tests/src/user.spec.ts
api_tests/yarn.lock
crates/api_common/Cargo.toml
crates/api_common/src/comment.rs
crates/api_common/src/community.rs
crates/api_common/src/custom_emoji.rs
crates/api_common/src/person.rs
crates/api_common/src/post.rs
crates/api_common/src/private_message.rs
crates/api_common/src/sensitive.rs
crates/api_common/src/site.rs
crates/api_common/src/websocket/structs.rs
crates/apub/Cargo.toml
crates/apub/src/api/search.rs
crates/db_schema/Cargo.toml
crates/db_schema/src/aggregates/structs.rs
crates/db_schema/src/lib.rs
crates/db_schema/src/newtypes.rs
crates/db_schema/src/source/comment.rs
crates/db_schema/src/source/comment_reply.rs
crates/db_schema/src/source/comment_report.rs
crates/db_schema/src/source/community.rs
crates/db_schema/src/source/custom_emoji.rs
crates/db_schema/src/source/custom_emoji_keyword.rs
crates/db_schema/src/source/instance.rs
crates/db_schema/src/source/language.rs
crates/db_schema/src/source/local_site.rs
crates/db_schema/src/source/local_site_rate_limit.rs
crates/db_schema/src/source/local_user.rs
crates/db_schema/src/source/moderator.rs
crates/db_schema/src/source/person.rs
crates/db_schema/src/source/person_mention.rs
crates/db_schema/src/source/post.rs
crates/db_schema/src/source/post_report.rs
crates/db_schema/src/source/private_message.rs
crates/db_schema/src/source/private_message_report.rs
crates/db_schema/src/source/registration_application.rs
crates/db_schema/src/source/site.rs
crates/db_schema/src/source/tagline.rs
crates/db_views/Cargo.toml
crates/db_views/src/structs.rs
crates/db_views_actor/Cargo.toml
crates/db_views_actor/src/structs.rs
crates/db_views_moderator/Cargo.toml
crates/db_views_moderator/src/structs.rs