@fedify/fedify 0.5.0-dev.88
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @fedify/fedify might be problematic. Click here for more details.
- package/CHANGES.md +239 -0
- package/LICENSE +661 -0
- package/README.md +96 -0
- package/esm/_dnt.shims.d.ts +11 -0
- package/esm/_dnt.shims.d.ts.map +1 -0
- package/esm/_dnt.shims.js +67 -0
- package/esm/_dnt.test_polyfills.d.ts.map +1 -0
- package/esm/_dnt.test_shims.d.ts.map +1 -0
- package/esm/codegen/fs.d.ts.map +1 -0
- package/esm/codegen/schema.d.ts.map +1 -0
- package/esm/codegen/schema.yaml +194 -0
- package/esm/codegen/type.d.ts.map +1 -0
- package/esm/deps/crux.land/api/get/2KNRVU.d.ts.map +1 -0
- package/esm/deps/deno.land/x/mock_fetch@0.3.0/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@david/which-runtime/0.2.0/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@hongminhee/aitertools/0.6.0/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@hongminhee/aitertools/0.6.0/src/collections.d.ts.map +1 -0
- package/esm/deps/jsr.io/@hongminhee/aitertools/0.6.0/src/concat.d.ts.map +1 -0
- package/esm/deps/jsr.io/@hongminhee/aitertools/0.6.0/src/drop.d.ts.map +1 -0
- package/esm/deps/jsr.io/@hongminhee/aitertools/0.6.0/src/filter.d.ts.map +1 -0
- package/esm/deps/jsr.io/@hongminhee/aitertools/0.6.0/src/fold.d.ts.map +1 -0
- package/esm/deps/jsr.io/@hongminhee/aitertools/0.6.0/src/infinite.d.ts.map +1 -0
- package/esm/deps/jsr.io/@hongminhee/aitertools/0.6.0/src/map.d.ts.map +1 -0
- package/esm/deps/jsr.io/@hongminhee/aitertools/0.6.0/src/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@hongminhee/aitertools/0.6.0/src/range.d.ts.map +1 -0
- package/esm/deps/jsr.io/@hongminhee/aitertools/0.6.0/src/take.d.ts.map +1 -0
- package/esm/deps/jsr.io/@hongminhee/aitertools/0.6.0/src/tee.d.ts.map +1 -0
- package/esm/deps/jsr.io/@hongminhee/aitertools/0.6.0/src/testing.d.ts.map +1 -0
- package/esm/deps/jsr.io/@hongminhee/aitertools/0.6.0/src/unique.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/_constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/_diff.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/_format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_almost_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_array_includes.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_exists.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_false.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_greater.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_greater_or_equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_instance_of.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_is_error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_less.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_less_or_equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_match.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_not_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_not_instance_of.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_not_match.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_not_strict_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_object_match.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_rejects.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_strict_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_string_includes.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assert_throws.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/assertion_error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/fail.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/unimplemented.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/assert/0.220.1/unreachable.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/concat.d.ts +14 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/concat.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/concat.js +27 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/copy.d.ts +28 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/copy.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/copy.js +37 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/ends_with.d.ts +14 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/ends_with.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/ends_with.js +23 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/equals.d.ts +6 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/equals.js +44 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/includes_needle.d.ts +17 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/includes_needle.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/includes_needle.js +21 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/index_of_needle.d.ts +18 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/index_of_needle.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/index_of_needle.js +45 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/last_index_of_needle.d.ts +18 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/last_index_of_needle.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/last_index_of_needle.js +45 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/mod.d.ts +24 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/mod.js +25 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/repeat.d.ts +15 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/repeat.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/repeat.js +33 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/starts_with.d.ts +14 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/starts_with.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/bytes/0.220.1/starts_with.js +21 -0
- package/esm/deps/jsr.io/@std/encoding/0.220.1/_util.d.ts +2 -0
- package/esm/deps/jsr.io/@std/encoding/0.220.1/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/0.220.1/_util.js +26 -0
- package/esm/deps/jsr.io/@std/encoding/0.220.1/base64.d.ts +27 -0
- package/esm/deps/jsr.io/@std/encoding/0.220.1/base64.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/encoding/0.220.1/base64.js +141 -0
- package/esm/deps/jsr.io/@std/fmt/0.220.1/colors.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/0.220.1/_get_file_info_type.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/0.220.1/_to_path_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/0.220.1/ensure_dir.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/fs/0.220.1/ensure_file.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/http/0.220.1/_negotiation/common.d.ts +38 -0
- package/esm/deps/jsr.io/@std/http/0.220.1/_negotiation/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/http/0.220.1/_negotiation/common.js +40 -0
- package/esm/deps/jsr.io/@std/http/0.220.1/_negotiation/encoding.d.ts +34 -0
- package/esm/deps/jsr.io/@std/http/0.220.1/_negotiation/encoding.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/http/0.220.1/_negotiation/encoding.js +121 -0
- package/esm/deps/jsr.io/@std/http/0.220.1/_negotiation/language.d.ts +31 -0
- package/esm/deps/jsr.io/@std/http/0.220.1/_negotiation/language.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/http/0.220.1/_negotiation/language.js +113 -0
- package/esm/deps/jsr.io/@std/http/0.220.1/_negotiation/media_type.d.ts +31 -0
- package/esm/deps/jsr.io/@std/http/0.220.1/_negotiation/media_type.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/http/0.220.1/_negotiation/media_type.js +140 -0
- package/esm/deps/jsr.io/@std/http/0.220.1/negotiation.d.ts +128 -0
- package/esm/deps/jsr.io/@std/http/0.220.1/negotiation.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/http/0.220.1/negotiation.js +37 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/_common/assert_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/_common/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/_common/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/_common/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/_common/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/_common/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/_common/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/_common/glob_to_reg_exp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/_common/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/_common/normalize_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/_common/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/_common/strip_trailing_separators.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/_common/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/_interface.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/_os.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/is_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/is_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/posix/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/common.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/from_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/glob_to_regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/is_absolute.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/is_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/join_globs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/normalize_glob.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/relative.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/resolve.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/to_file_url.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/path/0.220.1/windows/to_namespaced_path.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/_constants.d.ts +2 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/_constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/_constants.js +10 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/_shared.d.ts +44 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/_shared.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/_shared.js +161 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/can_parse.d.ts +2 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/can_parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/can_parse.js +14 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/compare.d.ts +11 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/compare.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/compare.js +18 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/constants.d.ts +43 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/constants.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/constants.js +73 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/difference.d.ts +6 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/difference.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/difference.js +16 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/equals.d.ts +8 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/equals.js +10 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/format.d.ts +13 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/format.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/format.js +36 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/format_range.d.ts +9 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/format_range.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/format_range.js +16 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/greater_or_equal.d.ts +8 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/greater_or_equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/greater_or_equal.js +9 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/greater_than.d.ts +8 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/greater_than.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/greater_than.js +10 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/increment.d.ts +29 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/increment.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/increment.js +160 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/is_range.d.ts +13 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/is_range.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/is_range.js +28 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/is_semver.d.ts +18 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/is_semver.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/is_semver.js +38 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/less_or_equal.d.ts +8 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/less_or_equal.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/less_or_equal.js +9 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/less_than.d.ts +8 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/less_than.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/less_than.js +9 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/max_satisfying.d.ts +10 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/max_satisfying.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/max_satisfying.js +18 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/min_satisfying.d.ts +10 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/min_satisfying.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/min_satisfying.js +18 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/mod.d.ts +291 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/mod.js +293 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/not_equals.d.ts +8 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/not_equals.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/not_equals.js +9 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/parse.d.ts +9 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/parse.js +34 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/parse_range.d.ts +8 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/parse_range.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/parse_range.js +336 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/range_intersects.d.ts +9 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/range_intersects.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/range_intersects.js +72 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/range_max.d.ts +8 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/range_max.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/range_max.js +58 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/range_min.d.ts +8 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/range_min.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/range_min.js +49 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/test_range.d.ts +9 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/test_range.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/test_range.js +69 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/try_parse.d.ts +8 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/try_parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/try_parse.js +17 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/try_parse_range.d.ts +8 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/try_parse_range.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/try_parse_range.js +17 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/types.d.ts +38 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/types.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/semver/0.220.1/types.js +2 -0
- package/esm/deps/jsr.io/@std/testing/0.220.1/snapshot.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/text/0.220.1/_util.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/text/0.220.1/case.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/text/0.220.1/closest_string.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/text/0.220.1/compare_similarity.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/text/0.220.1/levenshtein_distance.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/text/0.220.1/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/text/0.220.1/word_similarity_sort.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/url/0.220.1/_strip.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/url/0.220.1/basename.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/url/0.220.1/dirname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/url/0.220.1/extname.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/url/0.220.1/join.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/url/0.220.1/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/url/0.220.1/normalize.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_dumper/dumper.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_dumper/dumper_state.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_error.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_loader/loader.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_loader/loader_state.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_mark.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_state.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_type/binary.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_type/bool.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_type/float.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_type/function.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_type/int.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_type/map.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_type/merge.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_type/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_type/nil.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_type/omap.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_type/pairs.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_type/regexp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_type/seq.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_type/set.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_type/str.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_type/timestamp.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_type/undefined.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/_utils.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/parse.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/schema/core.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/schema/default.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/schema/extended.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/schema/failsafe.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/schema/json.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/schema/mod.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/schema.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/stringify.d.ts.map +1 -0
- package/esm/deps/jsr.io/@std/yaml/0.220.1/type.d.ts.map +1 -0
- package/esm/federation/callback.d.ts +56 -0
- package/esm/federation/callback.d.ts.map +1 -0
- package/esm/federation/callback.js +1 -0
- package/esm/federation/collection.d.ts +9 -0
- package/esm/federation/collection.d.ts.map +1 -0
- package/esm/federation/collection.js +1 -0
- package/esm/federation/context.d.ts +148 -0
- package/esm/federation/context.d.ts.map +1 -0
- package/esm/federation/context.js +1 -0
- package/esm/federation/handler.d.ts +83 -0
- package/esm/federation/handler.d.ts.map +1 -0
- package/esm/federation/handler.js +266 -0
- package/esm/federation/handler.test.d.ts.map +1 -0
- package/esm/federation/kv.d.ts +58 -0
- package/esm/federation/kv.d.ts.map +1 -0
- package/esm/federation/kv.js +45 -0
- package/esm/federation/middleware.d.ts +309 -0
- package/esm/federation/middleware.d.ts.map +1 -0
- package/esm/federation/middleware.js +626 -0
- package/esm/federation/middleware.test.d.ts.map +1 -0
- package/esm/federation/mod.d.ts +14 -0
- package/esm/federation/mod.d.ts.map +1 -0
- package/esm/federation/mod.js +13 -0
- package/esm/federation/mq.d.ts +42 -0
- package/esm/federation/mq.d.ts.map +1 -0
- package/esm/federation/mq.js +26 -0
- package/esm/federation/queue.d.ts +10 -0
- package/esm/federation/queue.d.ts.map +1 -0
- package/esm/federation/queue.js +1 -0
- package/esm/federation/router.d.ts +52 -0
- package/esm/federation/router.d.ts.map +1 -0
- package/esm/federation/router.js +80 -0
- package/esm/federation/router.test.d.ts.map +1 -0
- package/esm/federation/send.d.ts +60 -0
- package/esm/federation/send.d.ts.map +1 -0
- package/esm/federation/send.js +45 -0
- package/esm/federation/send.test.d.ts.map +1 -0
- package/esm/httpsig/key.d.ts +32 -0
- package/esm/httpsig/key.d.ts.map +1 -0
- package/esm/httpsig/key.js +62 -0
- package/esm/httpsig/key.test.d.ts.map +1 -0
- package/esm/httpsig/mod.d.ts +47 -0
- package/esm/httpsig/mod.d.ts.map +1 -0
- package/esm/httpsig/mod.js +193 -0
- package/esm/httpsig/mod.test.d.ts.map +1 -0
- package/esm/mod.d.ts +51 -0
- package/esm/mod.d.ts.map +1 -0
- package/esm/mod.js +50 -0
- package/esm/nodeinfo/handler.d.ts +33 -0
- package/esm/nodeinfo/handler.d.ts.map +1 -0
- package/esm/nodeinfo/handler.js +49 -0
- package/esm/nodeinfo/handler.test.d.ts.map +1 -0
- package/esm/nodeinfo/mod.d.ts +8 -0
- package/esm/nodeinfo/mod.d.ts.map +1 -0
- package/esm/nodeinfo/mod.js +7 -0
- package/esm/nodeinfo/types.d.ts +133 -0
- package/esm/nodeinfo/types.d.ts.map +1 -0
- package/esm/nodeinfo/types.js +60 -0
- package/esm/nodeinfo/types.test.d.ts.map +1 -0
- package/esm/package.json +3 -0
- package/esm/runtime/docloader.d.ts +104 -0
- package/esm/runtime/docloader.d.ts.map +1 -0
- package/esm/runtime/docloader.js +124 -0
- package/esm/runtime/docloader.test.d.ts.map +1 -0
- package/esm/runtime/key.d.ts +14 -0
- package/esm/runtime/key.d.ts.map +1 -0
- package/esm/runtime/key.js +24 -0
- package/esm/runtime/key.test.d.ts.map +1 -0
- package/esm/runtime/langstr.d.ts +15 -0
- package/esm/runtime/langstr.d.ts.map +1 -0
- package/esm/runtime/langstr.js +25 -0
- package/esm/runtime/langstr.test.d.ts.map +1 -0
- package/esm/runtime/mod.d.ts +10 -0
- package/esm/runtime/mod.d.ts.map +1 -0
- package/esm/runtime/mod.js +9 -0
- package/esm/shim/event.d.ts.map +1 -0
- package/esm/testing/context.d.ts.map +1 -0
- package/esm/testing/docloader.d.ts.map +1 -0
- package/esm/testing/fixtures/example.com/hong-gildong +11 -0
- package/esm/testing/fixtures/example.com/key +7 -0
- package/esm/testing/fixtures/example.com/key2 +6 -0
- package/esm/testing/fixtures/example.com/object +6 -0
- package/esm/testing/fixtures/example.com/person +22 -0
- package/esm/testing/fixtures/example.com/test +5 -0
- package/esm/testing/fixtures/example.com/users/handle +16 -0
- package/esm/testing/fixtures/example.com/wrong-type +3 -0
- package/esm/testing/fixtures/w3id.org/security/v1 +50 -0
- package/esm/testing/fixtures/www.w3.org/ns/activitystreams +379 -0
- package/esm/testing/keys.d.ts.map +1 -0
- package/esm/vocab/accept.yaml +11 -0
- package/esm/vocab/activity.yaml +42 -0
- package/esm/vocab/actor.d.ts +52 -0
- package/esm/vocab/actor.d.ts.map +1 -0
- package/esm/vocab/actor.js +94 -0
- package/esm/vocab/actor.test.d.ts.map +1 -0
- package/esm/vocab/add.yaml +12 -0
- package/esm/vocab/announce.yaml +11 -0
- package/esm/vocab/application.yaml +179 -0
- package/esm/vocab/article.yaml +8 -0
- package/esm/vocab/audio.yaml +8 -0
- package/esm/vocab/block.yaml +12 -0
- package/esm/vocab/collection.yaml +63 -0
- package/esm/vocab/collectionpage.yaml +38 -0
- package/esm/vocab/create.yaml +8 -0
- package/esm/vocab/delete.yaml +10 -0
- package/esm/vocab/dislike.yaml +8 -0
- package/esm/vocab/document.yaml +8 -0
- package/esm/vocab/endpoints.yaml +78 -0
- package/esm/vocab/event.yaml +8 -0
- package/esm/vocab/flag.yaml +11 -0
- package/esm/vocab/follow.yaml +12 -0
- package/esm/vocab/group.yaml +179 -0
- package/esm/vocab/ignore.yaml +10 -0
- package/esm/vocab/image.yaml +8 -0
- package/esm/vocab/intransitiveactivity.yaml +11 -0
- package/esm/vocab/key.yaml +25 -0
- package/esm/vocab/like.yaml +10 -0
- package/esm/vocab/link.yaml +92 -0
- package/esm/vocab/lookup.d.ts +42 -0
- package/esm/vocab/lookup.d.ts.map +1 -0
- package/esm/vocab/lookup.js +82 -0
- package/esm/vocab/lookup.test.d.ts.map +1 -0
- package/esm/vocab/mention.yaml +8 -0
- package/esm/vocab/mod.d.ts +55 -0
- package/esm/vocab/mod.d.ts.map +1 -0
- package/esm/vocab/mod.js +54 -0
- package/esm/vocab/note.yaml +10 -0
- package/esm/vocab/object.yaml +301 -0
- package/esm/vocab/orderedcollection.yaml +11 -0
- package/esm/vocab/orderedcollectionpage.yaml +20 -0
- package/esm/vocab/organization.yaml +179 -0
- package/esm/vocab/page.yaml +8 -0
- package/esm/vocab/person.yaml +179 -0
- package/esm/vocab/place.yaml +66 -0
- package/esm/vocab/profile.yaml +22 -0
- package/esm/vocab/reject.yaml +10 -0
- package/esm/vocab/relationship.yaml +46 -0
- package/esm/vocab/remove.yaml +10 -0
- package/esm/vocab/service.yaml +179 -0
- package/esm/vocab/undo.yaml +15 -0
- package/esm/vocab/update.yaml +13 -0
- package/esm/vocab/video.yaml +8 -0
- package/esm/vocab/vocab.d.ts +7191 -0
- package/esm/vocab/vocab.d.ts.map +1 -0
- package/esm/vocab/vocab.js +14279 -0
- package/esm/vocab/vocab.test.d.ts.map +1 -0
- package/esm/webfinger/handler.d.ts +29 -0
- package/esm/webfinger/handler.d.ts.map +1 -0
- package/esm/webfinger/handler.js +76 -0
- package/esm/webfinger/handler.test.d.ts.map +1 -0
- package/esm/webfinger/jrd.d.ts +52 -0
- package/esm/webfinger/jrd.d.ts.map +1 -0
- package/esm/webfinger/jrd.js +1 -0
- package/esm/webfinger/lookup.d.ts +9 -0
- package/esm/webfinger/lookup.d.ts.map +1 -0
- package/esm/webfinger/lookup.js +44 -0
- package/esm/webfinger/lookup.test.d.ts.map +1 -0
- package/esm/webfinger/mod.d.ts +8 -0
- package/esm/webfinger/mod.d.ts.map +1 -0
- package/esm/webfinger/mod.js +7 -0
- package/esm/x/fresh.d.ts +58 -0
- package/esm/x/fresh.d.ts.map +1 -0
- package/esm/x/fresh.js +77 -0
- package/logo.svg +187 -0
- package/package.json +60 -0
@@ -0,0 +1,379 @@
|
|
1
|
+
{
|
2
|
+
"@context": {
|
3
|
+
"@vocab": "_:",
|
4
|
+
"xsd": "http://www.w3.org/2001/XMLSchema#",
|
5
|
+
"as": "https://www.w3.org/ns/activitystreams#",
|
6
|
+
"ldp": "http://www.w3.org/ns/ldp#",
|
7
|
+
"vcard": "http://www.w3.org/2006/vcard/ns#",
|
8
|
+
"id": "@id",
|
9
|
+
"type": "@type",
|
10
|
+
"Accept": "as:Accept",
|
11
|
+
"Activity": "as:Activity",
|
12
|
+
"IntransitiveActivity": "as:IntransitiveActivity",
|
13
|
+
"Add": "as:Add",
|
14
|
+
"Announce": "as:Announce",
|
15
|
+
"Application": "as:Application",
|
16
|
+
"Arrive": "as:Arrive",
|
17
|
+
"Article": "as:Article",
|
18
|
+
"Audio": "as:Audio",
|
19
|
+
"Block": "as:Block",
|
20
|
+
"Collection": "as:Collection",
|
21
|
+
"CollectionPage": "as:CollectionPage",
|
22
|
+
"Relationship": "as:Relationship",
|
23
|
+
"Create": "as:Create",
|
24
|
+
"Delete": "as:Delete",
|
25
|
+
"Dislike": "as:Dislike",
|
26
|
+
"Document": "as:Document",
|
27
|
+
"Event": "as:Event",
|
28
|
+
"Follow": "as:Follow",
|
29
|
+
"Flag": "as:Flag",
|
30
|
+
"Group": "as:Group",
|
31
|
+
"Ignore": "as:Ignore",
|
32
|
+
"Image": "as:Image",
|
33
|
+
"Invite": "as:Invite",
|
34
|
+
"Join": "as:Join",
|
35
|
+
"Leave": "as:Leave",
|
36
|
+
"Like": "as:Like",
|
37
|
+
"Link": "as:Link",
|
38
|
+
"Mention": "as:Mention",
|
39
|
+
"Note": "as:Note",
|
40
|
+
"Object": "as:Object",
|
41
|
+
"Offer": "as:Offer",
|
42
|
+
"OrderedCollection": "as:OrderedCollection",
|
43
|
+
"OrderedCollectionPage": "as:OrderedCollectionPage",
|
44
|
+
"Organization": "as:Organization",
|
45
|
+
"Page": "as:Page",
|
46
|
+
"Person": "as:Person",
|
47
|
+
"Place": "as:Place",
|
48
|
+
"Profile": "as:Profile",
|
49
|
+
"Question": "as:Question",
|
50
|
+
"Reject": "as:Reject",
|
51
|
+
"Remove": "as:Remove",
|
52
|
+
"Service": "as:Service",
|
53
|
+
"TentativeAccept": "as:TentativeAccept",
|
54
|
+
"TentativeReject": "as:TentativeReject",
|
55
|
+
"Tombstone": "as:Tombstone",
|
56
|
+
"Undo": "as:Undo",
|
57
|
+
"Update": "as:Update",
|
58
|
+
"Video": "as:Video",
|
59
|
+
"View": "as:View",
|
60
|
+
"Listen": "as:Listen",
|
61
|
+
"Read": "as:Read",
|
62
|
+
"Move": "as:Move",
|
63
|
+
"Travel": "as:Travel",
|
64
|
+
"IsFollowing": "as:IsFollowing",
|
65
|
+
"IsFollowedBy": "as:IsFollowedBy",
|
66
|
+
"IsContact": "as:IsContact",
|
67
|
+
"IsMember": "as:IsMember",
|
68
|
+
"subject": {
|
69
|
+
"@id": "as:subject",
|
70
|
+
"@type": "@id"
|
71
|
+
},
|
72
|
+
"relationship": {
|
73
|
+
"@id": "as:relationship",
|
74
|
+
"@type": "@id"
|
75
|
+
},
|
76
|
+
"actor": {
|
77
|
+
"@id": "as:actor",
|
78
|
+
"@type": "@id"
|
79
|
+
},
|
80
|
+
"attributedTo": {
|
81
|
+
"@id": "as:attributedTo",
|
82
|
+
"@type": "@id"
|
83
|
+
},
|
84
|
+
"attachment": {
|
85
|
+
"@id": "as:attachment",
|
86
|
+
"@type": "@id"
|
87
|
+
},
|
88
|
+
"bcc": {
|
89
|
+
"@id": "as:bcc",
|
90
|
+
"@type": "@id"
|
91
|
+
},
|
92
|
+
"bto": {
|
93
|
+
"@id": "as:bto",
|
94
|
+
"@type": "@id"
|
95
|
+
},
|
96
|
+
"cc": {
|
97
|
+
"@id": "as:cc",
|
98
|
+
"@type": "@id"
|
99
|
+
},
|
100
|
+
"context": {
|
101
|
+
"@id": "as:context",
|
102
|
+
"@type": "@id"
|
103
|
+
},
|
104
|
+
"current": {
|
105
|
+
"@id": "as:current",
|
106
|
+
"@type": "@id"
|
107
|
+
},
|
108
|
+
"first": {
|
109
|
+
"@id": "as:first",
|
110
|
+
"@type": "@id"
|
111
|
+
},
|
112
|
+
"generator": {
|
113
|
+
"@id": "as:generator",
|
114
|
+
"@type": "@id"
|
115
|
+
},
|
116
|
+
"icon": {
|
117
|
+
"@id": "as:icon",
|
118
|
+
"@type": "@id"
|
119
|
+
},
|
120
|
+
"image": {
|
121
|
+
"@id": "as:image",
|
122
|
+
"@type": "@id"
|
123
|
+
},
|
124
|
+
"inReplyTo": {
|
125
|
+
"@id": "as:inReplyTo",
|
126
|
+
"@type": "@id"
|
127
|
+
},
|
128
|
+
"items": {
|
129
|
+
"@id": "as:items",
|
130
|
+
"@type": "@id"
|
131
|
+
},
|
132
|
+
"instrument": {
|
133
|
+
"@id": "as:instrument",
|
134
|
+
"@type": "@id"
|
135
|
+
},
|
136
|
+
"orderedItems": {
|
137
|
+
"@id": "as:items",
|
138
|
+
"@type": "@id",
|
139
|
+
"@container": "@list"
|
140
|
+
},
|
141
|
+
"last": {
|
142
|
+
"@id": "as:last",
|
143
|
+
"@type": "@id"
|
144
|
+
},
|
145
|
+
"location": {
|
146
|
+
"@id": "as:location",
|
147
|
+
"@type": "@id"
|
148
|
+
},
|
149
|
+
"next": {
|
150
|
+
"@id": "as:next",
|
151
|
+
"@type": "@id"
|
152
|
+
},
|
153
|
+
"object": {
|
154
|
+
"@id": "as:object",
|
155
|
+
"@type": "@id"
|
156
|
+
},
|
157
|
+
"oneOf": {
|
158
|
+
"@id": "as:oneOf",
|
159
|
+
"@type": "@id"
|
160
|
+
},
|
161
|
+
"anyOf": {
|
162
|
+
"@id": "as:anyOf",
|
163
|
+
"@type": "@id"
|
164
|
+
},
|
165
|
+
"closed": {
|
166
|
+
"@id": "as:closed",
|
167
|
+
"@type": "xsd:dateTime"
|
168
|
+
},
|
169
|
+
"origin": {
|
170
|
+
"@id": "as:origin",
|
171
|
+
"@type": "@id"
|
172
|
+
},
|
173
|
+
"accuracy": {
|
174
|
+
"@id": "as:accuracy",
|
175
|
+
"@type": "xsd:float"
|
176
|
+
},
|
177
|
+
"prev": {
|
178
|
+
"@id": "as:prev",
|
179
|
+
"@type": "@id"
|
180
|
+
},
|
181
|
+
"preview": {
|
182
|
+
"@id": "as:preview",
|
183
|
+
"@type": "@id"
|
184
|
+
},
|
185
|
+
"replies": {
|
186
|
+
"@id": "as:replies",
|
187
|
+
"@type": "@id"
|
188
|
+
},
|
189
|
+
"result": {
|
190
|
+
"@id": "as:result",
|
191
|
+
"@type": "@id"
|
192
|
+
},
|
193
|
+
"audience": {
|
194
|
+
"@id": "as:audience",
|
195
|
+
"@type": "@id"
|
196
|
+
},
|
197
|
+
"partOf": {
|
198
|
+
"@id": "as:partOf",
|
199
|
+
"@type": "@id"
|
200
|
+
},
|
201
|
+
"tag": {
|
202
|
+
"@id": "as:tag",
|
203
|
+
"@type": "@id"
|
204
|
+
},
|
205
|
+
"target": {
|
206
|
+
"@id": "as:target",
|
207
|
+
"@type": "@id"
|
208
|
+
},
|
209
|
+
"to": {
|
210
|
+
"@id": "as:to",
|
211
|
+
"@type": "@id"
|
212
|
+
},
|
213
|
+
"url": {
|
214
|
+
"@id": "as:url",
|
215
|
+
"@type": "@id"
|
216
|
+
},
|
217
|
+
"altitude": {
|
218
|
+
"@id": "as:altitude",
|
219
|
+
"@type": "xsd:float"
|
220
|
+
},
|
221
|
+
"content": "as:content",
|
222
|
+
"contentMap": {
|
223
|
+
"@id": "as:content",
|
224
|
+
"@container": "@language"
|
225
|
+
},
|
226
|
+
"name": "as:name",
|
227
|
+
"nameMap": {
|
228
|
+
"@id": "as:name",
|
229
|
+
"@container": "@language"
|
230
|
+
},
|
231
|
+
"duration": {
|
232
|
+
"@id": "as:duration",
|
233
|
+
"@type": "xsd:duration"
|
234
|
+
},
|
235
|
+
"endTime": {
|
236
|
+
"@id": "as:endTime",
|
237
|
+
"@type": "xsd:dateTime"
|
238
|
+
},
|
239
|
+
"height": {
|
240
|
+
"@id": "as:height",
|
241
|
+
"@type": "xsd:nonNegativeInteger"
|
242
|
+
},
|
243
|
+
"href": {
|
244
|
+
"@id": "as:href",
|
245
|
+
"@type": "@id"
|
246
|
+
},
|
247
|
+
"hreflang": "as:hreflang",
|
248
|
+
"latitude": {
|
249
|
+
"@id": "as:latitude",
|
250
|
+
"@type": "xsd:float"
|
251
|
+
},
|
252
|
+
"longitude": {
|
253
|
+
"@id": "as:longitude",
|
254
|
+
"@type": "xsd:float"
|
255
|
+
},
|
256
|
+
"mediaType": "as:mediaType",
|
257
|
+
"published": {
|
258
|
+
"@id": "as:published",
|
259
|
+
"@type": "xsd:dateTime"
|
260
|
+
},
|
261
|
+
"radius": {
|
262
|
+
"@id": "as:radius",
|
263
|
+
"@type": "xsd:float"
|
264
|
+
},
|
265
|
+
"rel": "as:rel",
|
266
|
+
"startIndex": {
|
267
|
+
"@id": "as:startIndex",
|
268
|
+
"@type": "xsd:nonNegativeInteger"
|
269
|
+
},
|
270
|
+
"startTime": {
|
271
|
+
"@id": "as:startTime",
|
272
|
+
"@type": "xsd:dateTime"
|
273
|
+
},
|
274
|
+
"summary": "as:summary",
|
275
|
+
"summaryMap": {
|
276
|
+
"@id": "as:summary",
|
277
|
+
"@container": "@language"
|
278
|
+
},
|
279
|
+
"totalItems": {
|
280
|
+
"@id": "as:totalItems",
|
281
|
+
"@type": "xsd:nonNegativeInteger"
|
282
|
+
},
|
283
|
+
"units": "as:units",
|
284
|
+
"updated": {
|
285
|
+
"@id": "as:updated",
|
286
|
+
"@type": "xsd:dateTime"
|
287
|
+
},
|
288
|
+
"width": {
|
289
|
+
"@id": "as:width",
|
290
|
+
"@type": "xsd:nonNegativeInteger"
|
291
|
+
},
|
292
|
+
"describes": {
|
293
|
+
"@id": "as:describes",
|
294
|
+
"@type": "@id"
|
295
|
+
},
|
296
|
+
"formerType": {
|
297
|
+
"@id": "as:formerType",
|
298
|
+
"@type": "@id"
|
299
|
+
},
|
300
|
+
"deleted": {
|
301
|
+
"@id": "as:deleted",
|
302
|
+
"@type": "xsd:dateTime"
|
303
|
+
},
|
304
|
+
"inbox": {
|
305
|
+
"@id": "ldp:inbox",
|
306
|
+
"@type": "@id"
|
307
|
+
},
|
308
|
+
"outbox": {
|
309
|
+
"@id": "as:outbox",
|
310
|
+
"@type": "@id"
|
311
|
+
},
|
312
|
+
"following": {
|
313
|
+
"@id": "as:following",
|
314
|
+
"@type": "@id"
|
315
|
+
},
|
316
|
+
"followers": {
|
317
|
+
"@id": "as:followers",
|
318
|
+
"@type": "@id"
|
319
|
+
},
|
320
|
+
"streams": {
|
321
|
+
"@id": "as:streams",
|
322
|
+
"@type": "@id"
|
323
|
+
},
|
324
|
+
"preferredUsername": "as:preferredUsername",
|
325
|
+
"endpoints": {
|
326
|
+
"@id": "as:endpoints",
|
327
|
+
"@type": "@id"
|
328
|
+
},
|
329
|
+
"uploadMedia": {
|
330
|
+
"@id": "as:uploadMedia",
|
331
|
+
"@type": "@id"
|
332
|
+
},
|
333
|
+
"proxyUrl": {
|
334
|
+
"@id": "as:proxyUrl",
|
335
|
+
"@type": "@id"
|
336
|
+
},
|
337
|
+
"liked": {
|
338
|
+
"@id": "as:liked",
|
339
|
+
"@type": "@id"
|
340
|
+
},
|
341
|
+
"oauthAuthorizationEndpoint": {
|
342
|
+
"@id": "as:oauthAuthorizationEndpoint",
|
343
|
+
"@type": "@id"
|
344
|
+
},
|
345
|
+
"oauthTokenEndpoint": {
|
346
|
+
"@id": "as:oauthTokenEndpoint",
|
347
|
+
"@type": "@id"
|
348
|
+
},
|
349
|
+
"provideClientKey": {
|
350
|
+
"@id": "as:provideClientKey",
|
351
|
+
"@type": "@id"
|
352
|
+
},
|
353
|
+
"signClientKey": {
|
354
|
+
"@id": "as:signClientKey",
|
355
|
+
"@type": "@id"
|
356
|
+
},
|
357
|
+
"sharedInbox": {
|
358
|
+
"@id": "as:sharedInbox",
|
359
|
+
"@type": "@id"
|
360
|
+
},
|
361
|
+
"Public": {
|
362
|
+
"@id": "as:Public",
|
363
|
+
"@type": "@id"
|
364
|
+
},
|
365
|
+
"source": "as:source",
|
366
|
+
"likes": {
|
367
|
+
"@id": "as:likes",
|
368
|
+
"@type": "@id"
|
369
|
+
},
|
370
|
+
"shares": {
|
371
|
+
"@id": "as:shares",
|
372
|
+
"@type": "@id"
|
373
|
+
},
|
374
|
+
"alsoKnownAs": {
|
375
|
+
"@id": "as:alsoKnownAs",
|
376
|
+
"@type": "@id"
|
377
|
+
}
|
378
|
+
}
|
379
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"keys.d.ts","sourceRoot":"","sources":["../../src/testing/keys.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,uBAAuB,CAAC;AACjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAErD,eAAO,MAAM,UAAU,kBA2BrB,CAAC;AAEH,eAAO,MAAM,WAAW,mBAyCvB,CAAC;AAEF,eAAO,MAAM,UAAU,kBAuBrB,CAAC"}
|
@@ -0,0 +1,11 @@
|
|
1
|
+
$schema: ../codegen/schema.yaml
|
2
|
+
name: Accept
|
3
|
+
uri: "https://www.w3.org/ns/activitystreams#Accept"
|
4
|
+
extends: "https://www.w3.org/ns/activitystreams#Activity"
|
5
|
+
entity: true
|
6
|
+
description: |
|
7
|
+
Indicates that the `actor` accepts the `object`. The `target` property can be
|
8
|
+
used in certain circumstances to indicate the context into which the `object`
|
9
|
+
has been accepted.
|
10
|
+
defaultContext: "https://www.w3.org/ns/activitystreams"
|
11
|
+
properties: []
|
@@ -0,0 +1,42 @@
|
|
1
|
+
$schema: ../codegen/schema.yaml
|
2
|
+
name: Activity
|
3
|
+
uri: "https://www.w3.org/ns/activitystreams#Activity"
|
4
|
+
extends: "https://www.w3.org/ns/activitystreams#Object"
|
5
|
+
entity: true
|
6
|
+
description: |
|
7
|
+
An Activity is a subtype of {@link Object} that describes some form of action
|
8
|
+
that may happen, is currently happening, or has already happened.
|
9
|
+
The {@link Activity} type itself serves as an abstract base type for all types
|
10
|
+
of activities. It is important to note that the {@link Activity} type itself
|
11
|
+
does not carry any specific semantics about the kind of action being taken.
|
12
|
+
defaultContext:
|
13
|
+
- "https://www.w3.org/ns/activitystreams"
|
14
|
+
- "https://w3id.org/security/v1"
|
15
|
+
|
16
|
+
properties:
|
17
|
+
- pluralName: actors
|
18
|
+
singularName: actor
|
19
|
+
singularAccessor: true
|
20
|
+
uri: "https://www.w3.org/ns/activitystreams#actor"
|
21
|
+
subpropertyOf: "https://www.w3.org/ns/activitystreams#attributedTo"
|
22
|
+
description: |
|
23
|
+
Describes one or more entities that either performed or are expected to
|
24
|
+
perform the activity. Any single activity can have multiple actors.
|
25
|
+
The actor MAY be specified using an indirect {@link Link}.
|
26
|
+
range:
|
27
|
+
- "https://www.w3.org/ns/activitystreams#Application"
|
28
|
+
- "https://www.w3.org/ns/activitystreams#Group"
|
29
|
+
- "https://www.w3.org/ns/activitystreams#Organization"
|
30
|
+
- "https://www.w3.org/ns/activitystreams#Person"
|
31
|
+
- "https://www.w3.org/ns/activitystreams#Service"
|
32
|
+
|
33
|
+
- pluralName: objects
|
34
|
+
singularName: object
|
35
|
+
singularAccessor: true
|
36
|
+
uri: "https://www.w3.org/ns/activitystreams#object"
|
37
|
+
description: |
|
38
|
+
When used within an {@link Activity}, describes the direct object of
|
39
|
+
the activity. For instance, in the activity "John added a movie to his
|
40
|
+
wishlist", the object of the activity is the movie added.
|
41
|
+
range:
|
42
|
+
- "https://www.w3.org/ns/activitystreams#Object"
|
@@ -0,0 +1,52 @@
|
|
1
|
+
/// <reference types="node" />
|
2
|
+
import { Application, Group, Organization, Person, Service } from "./vocab.js";
|
3
|
+
/**
|
4
|
+
* Actor types are {@link Object} types that are capable of performing
|
5
|
+
* activities.
|
6
|
+
*/
|
7
|
+
export type Actor = Application | Group | Organization | Person | Service;
|
8
|
+
/**
|
9
|
+
* Checks if the given object is an {@link Actor}.
|
10
|
+
* @param object The object to check.
|
11
|
+
* @returns `true` if the given object is an {@link Actor}.
|
12
|
+
*/
|
13
|
+
export declare function isActor(object: unknown): object is Actor;
|
14
|
+
/**
|
15
|
+
* A string representation of an actor type name.
|
16
|
+
*/
|
17
|
+
export type ActorTypeName = "Application" | "Group" | "Organization" | "Person" | "Service";
|
18
|
+
/**
|
19
|
+
* Gets the type name of the given actor.
|
20
|
+
* @param actor The actor to get the type name of.
|
21
|
+
* @returns The type name of the given actor.
|
22
|
+
*/
|
23
|
+
export declare function getActorTypeName(actor: Actor): ActorTypeName;
|
24
|
+
/**
|
25
|
+
* Gets the actor class by the given type name.
|
26
|
+
* @param typeName The type name to get the actor class by.
|
27
|
+
* @returns The actor class by the given type name.
|
28
|
+
*/
|
29
|
+
export declare function getActorClassByTypeName(typeName: ActorTypeName): typeof Application | typeof Group | typeof Organization | typeof Person | typeof Service;
|
30
|
+
/**
|
31
|
+
* Gets the actor handle, of the form `@username@domain`, from the given actor
|
32
|
+
* or an actor URI.
|
33
|
+
*
|
34
|
+
* @example
|
35
|
+
* ``` typescript
|
36
|
+
* // Get the handle of an actor object:
|
37
|
+
* await getActorHandle(
|
38
|
+
* new Person({ id: new URL("https://todon.eu/users/hongminhee") })
|
39
|
+
* );
|
40
|
+
*
|
41
|
+
* // Get the handle of an actor URI:
|
42
|
+
* await getActorHandle(new URL("https://todon.eu/users/hongminhee"));
|
43
|
+
* ```
|
44
|
+
*
|
45
|
+
* @param actor The actor or actor URI to get the handle from.
|
46
|
+
* @returns The actor handle. It starts with `@` and is followed by the
|
47
|
+
* username and domain, separated by `@`.
|
48
|
+
* @throws {TypeError} If the actor does not have enough information to get the
|
49
|
+
* handle.
|
50
|
+
*/
|
51
|
+
export declare function getActorHandle(actor: Actor | URL): Promise<`@${string}@${string}`>;
|
52
|
+
//# sourceMappingURL=actor.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"actor.d.ts","sourceRoot":"","sources":["../../src/vocab/actor.ts"],"names":[],"mappings":";AACA,OAAO,EAAE,WAAW,EAAE,KAAK,EAAE,YAAY,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AAE/E;;;GAGG;AACH,MAAM,MAAM,KAAK,GAAG,WAAW,GAAG,KAAK,GAAG,YAAY,GAAG,MAAM,GAAG,OAAO,CAAC;AAE1E;;;;GAIG;AACH,wBAAgB,OAAO,CAAC,MAAM,EAAE,OAAO,GAAG,MAAM,IAAI,KAAK,CAQxD;AAED;;GAEG;AACH,MAAM,MAAM,aAAa,GACrB,aAAa,GACb,OAAO,GACP,cAAc,GACd,QAAQ,GACR,SAAS,CAAC;AAEd;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,KAAK,EAAE,KAAK,GACX,aAAa,CAOf;AAED;;;;GAIG;AACH,wBAAgB,uBAAuB,CACrC,QAAQ,EAAE,aAAa,GAErB,OAAO,WAAW,GAClB,OAAO,KAAK,GACZ,OAAO,YAAY,GACnB,OAAO,MAAM,GACb,OAAO,OAAO,CAcjB;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,cAAc,CAClC,KAAK,EAAE,KAAK,GAAG,GAAG,GACjB,OAAO,CAAC,IAAI,MAAM,IAAI,MAAM,EAAE,CAAC,CAsBjC"}
|
@@ -0,0 +1,94 @@
|
|
1
|
+
import { lookupWebFinger } from "../webfinger/lookup.js";
|
2
|
+
import { Application, Group, Organization, Person, Service } from "./vocab.js";
|
3
|
+
/**
|
4
|
+
* Checks if the given object is an {@link Actor}.
|
5
|
+
* @param object The object to check.
|
6
|
+
* @returns `true` if the given object is an {@link Actor}.
|
7
|
+
*/
|
8
|
+
export function isActor(object) {
|
9
|
+
return (object instanceof Application ||
|
10
|
+
object instanceof Group ||
|
11
|
+
object instanceof Organization ||
|
12
|
+
object instanceof Person ||
|
13
|
+
object instanceof Service);
|
14
|
+
}
|
15
|
+
/**
|
16
|
+
* Gets the type name of the given actor.
|
17
|
+
* @param actor The actor to get the type name of.
|
18
|
+
* @returns The type name of the given actor.
|
19
|
+
*/
|
20
|
+
export function getActorTypeName(actor) {
|
21
|
+
if (actor instanceof Application)
|
22
|
+
return "Application";
|
23
|
+
else if (actor instanceof Group)
|
24
|
+
return "Group";
|
25
|
+
else if (actor instanceof Organization)
|
26
|
+
return "Organization";
|
27
|
+
else if (actor instanceof Person)
|
28
|
+
return "Person";
|
29
|
+
else if (actor instanceof Service)
|
30
|
+
return "Service";
|
31
|
+
throw new Error("Unknown actor type.");
|
32
|
+
}
|
33
|
+
/**
|
34
|
+
* Gets the actor class by the given type name.
|
35
|
+
* @param typeName The type name to get the actor class by.
|
36
|
+
* @returns The actor class by the given type name.
|
37
|
+
*/
|
38
|
+
export function getActorClassByTypeName(typeName) {
|
39
|
+
switch (typeName) {
|
40
|
+
case "Application":
|
41
|
+
return Application;
|
42
|
+
case "Group":
|
43
|
+
return Group;
|
44
|
+
case "Organization":
|
45
|
+
return Organization;
|
46
|
+
case "Person":
|
47
|
+
return Person;
|
48
|
+
case "Service":
|
49
|
+
return Service;
|
50
|
+
}
|
51
|
+
throw new Error("Unknown actor type name.");
|
52
|
+
}
|
53
|
+
/**
|
54
|
+
* Gets the actor handle, of the form `@username@domain`, from the given actor
|
55
|
+
* or an actor URI.
|
56
|
+
*
|
57
|
+
* @example
|
58
|
+
* ``` typescript
|
59
|
+
* // Get the handle of an actor object:
|
60
|
+
* await getActorHandle(
|
61
|
+
* new Person({ id: new URL("https://todon.eu/users/hongminhee") })
|
62
|
+
* );
|
63
|
+
*
|
64
|
+
* // Get the handle of an actor URI:
|
65
|
+
* await getActorHandle(new URL("https://todon.eu/users/hongminhee"));
|
66
|
+
* ```
|
67
|
+
*
|
68
|
+
* @param actor The actor or actor URI to get the handle from.
|
69
|
+
* @returns The actor handle. It starts with `@` and is followed by the
|
70
|
+
* username and domain, separated by `@`.
|
71
|
+
* @throws {TypeError} If the actor does not have enough information to get the
|
72
|
+
* handle.
|
73
|
+
*/
|
74
|
+
export async function getActorHandle(actor) {
|
75
|
+
const actorId = actor instanceof URL ? actor : actor.id;
|
76
|
+
if (actorId != null) {
|
77
|
+
const result = await lookupWebFinger(actorId);
|
78
|
+
if (result != null) {
|
79
|
+
const aliases = [...(result.aliases ?? [])];
|
80
|
+
if (result.subject != null)
|
81
|
+
aliases.unshift(result.subject);
|
82
|
+
for (const alias of aliases) {
|
83
|
+
const match = alias.match(/^acct:([^@]+)@([^@]+)$/);
|
84
|
+
if (match != null)
|
85
|
+
return `@${match[1]}@${match[2]}`;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
}
|
89
|
+
if (!(actor instanceof URL) && actor.preferredUsername != null &&
|
90
|
+
actor.id != null) {
|
91
|
+
return `@${actor.preferredUsername}@${actor.id.host}`;
|
92
|
+
}
|
93
|
+
throw new TypeError("Actor does not have enough information to get the handle.");
|
94
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"actor.test.d.ts","sourceRoot":"","sources":["../../src/vocab/actor.test.ts"],"names":[],"mappings":"AAAA,OAAO,2BAA2B,CAAC"}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
$schema: ../codegen/schema.yaml
|
2
|
+
name: Add
|
3
|
+
uri: "https://www.w3.org/ns/activitystreams#Add"
|
4
|
+
extends: "https://www.w3.org/ns/activitystreams#Activity"
|
5
|
+
entity: true
|
6
|
+
description: |
|
7
|
+
Indicates that the `actor` has added the `object` to the `target`.
|
8
|
+
If the `target` property is not explicitly specified, the target would need
|
9
|
+
to be determined implicitly by context. The `origin` can be used to identify
|
10
|
+
the context from which the `object` originated.
|
11
|
+
defaultContext: "https://www.w3.org/ns/activitystreams"
|
12
|
+
properties: []
|
@@ -0,0 +1,11 @@
|
|
1
|
+
$schema: ../codegen/schema.yaml
|
2
|
+
name: Announce
|
3
|
+
uri: "https://www.w3.org/ns/activitystreams#Announce"
|
4
|
+
extends: "https://www.w3.org/ns/activitystreams#Activity"
|
5
|
+
entity: true
|
6
|
+
description: |
|
7
|
+
Indicates that the `actor` is calling the `target`'s attention the `object`.
|
8
|
+
|
9
|
+
The `origin` typically has no defined meaning.
|
10
|
+
defaultContext: "https://www.w3.org/ns/activitystreams"
|
11
|
+
properties: []
|