Skip to content

feat: activitypub server #421

feat: activitypub server

feat: activitypub server #421

Triggered via pull request November 28, 2023 09:53
@FrandoFrando
synchronize #88
apex
Status Success
Total duration 2m 38s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
build-and-test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build-and-test: packages/repco-activitypub/src/ap/fetch.ts#L102
Replace `'fetch',·init.method,·url.toString(),·Object.fromEntries(headers.entries()),·init.body` with `⏎····'fetch',⏎····init.method,⏎····url.toString(),⏎····Object.fromEntries(headers.entries()),⏎····init.body,⏎··`
build-and-test: packages/repco-activitypub/src/ap/schema.ts#L43
Replace `⏎····/^[a-zA-Z]{1}[a-zA-Z0-9-]+$/⏎··)` with `/^[a-zA-Z]{1}[a-zA-Z0-9-]+$/),`
build-and-test: packages/repco-cli/src/commands/ds.ts#L3
Replace `⏎··defaultDataSourcePlugins·as·plugins,⏎··Ingester,⏎··repoRegistry,⏎` with `·defaultDataSourcePlugins·as·plugins·`
build-and-test: packages/repco-cli/src/commands/ds.ts#L5
'Ingester' is defined but never used. Allowed unused vars must match /^_/u
build-and-test: packages/repco-cli/src/commands/ds.ts#L6
'repoRegistry' is defined but never used. Allowed unused vars must match /^_/u
build-and-test: packages/repco-core/src/datasources/activitypub.ts#L27
Delete `import·{·getGlobalApInstance·}·from·'repco-activitypub'⏎`
build-and-test: packages/repco-core/src/datasources/activitypub.ts#L27
'getGlobalApInstance' is defined but never used. Allowed unused vars must match /^_/u
build-and-test: packages/repco-server/src/lib.ts#L8
Replace `·ActivityPub,·mountActivityPub,·setGlobalApInstance·` with `⏎··ActivityPub,⏎··mountActivityPub,⏎··setGlobalApInstance,⏎`
build-and-test: packages/repco-server/src/routes/api.ts#L16
Replace `ServerError,·notFoundHandle` with `notFoundHandler,·ServerErro`