feat: Full rework of account management

Complete rewrite of the account management and related systems.
Makes the architecture more modular,
allowing for easier extensions and configurations.
This commit is contained in:
Joachim Van Herwegen
2022-03-16 10:12:13 +01:00
parent ade977bb4f
commit a47f5236ef
366 changed files with 12345 additions and 5111 deletions

View File

@@ -37,7 +37,7 @@ describe('A WebhookChannel2023Type', (): void => {
let data: Store;
let channel: WebhookChannel2023;
const route = new AbsolutePathInteractionRoute('http://example.com/webhooks/');
const webIdRoute = new RelativePathInteractionRoute(route, '/webid');
const webIdRoute = new RelativePathInteractionRoute(route, '/webid', false);
let stateHandler: jest.Mocked<StateHandler>;
let channelType: WebhookChannel2023Type;

View File

@@ -30,7 +30,7 @@ describe('A WebhookEmitter', (): void => {
const fetchMock: jest.Mock = fetch as any;
const baseUrl = 'http://example.com/';
const serverWebId = 'http://example.com/.notifcations/webhooks/webid';
const webIdRoute = new AbsolutePathInteractionRoute(serverWebId);
const webIdRoute = new AbsolutePathInteractionRoute(serverWebId, false);
const notification: Notification = {
'@context': [
'https://www.w3.org/ns/activitystreams',