feat: Webhook (#8457)
* feat: introduce webhook * wip * wip * wip * Update CHANGELOG.md
Showing
- CHANGELOG.md 1 addition, 0 deletionsCHANGELOG.md
- packages/backend/migration/1648548247382-webhook.js 19 additions, 0 deletionspackages/backend/migration/1648548247382-webhook.js
- packages/backend/migration/1648816172177-webhook-2.js 14 additions, 0 deletionspackages/backend/migration/1648816172177-webhook-2.js
- packages/backend/src/db/postgre.ts 2 additions, 0 deletionspackages/backend/src/db/postgre.ts
- packages/backend/src/misc/webhook-cache.ts 49 additions, 0 deletionspackages/backend/src/misc/webhook-cache.ts
- packages/backend/src/models/entities/webhook.ts 73 additions, 0 deletionspackages/backend/src/models/entities/webhook.ts
- packages/backend/src/models/index.ts 2 additions, 0 deletionspackages/backend/src/models/index.ts
- packages/backend/src/queue/index.ts 32 additions, 1 deletionpackages/backend/src/queue/index.ts
- packages/backend/src/queue/processors/webhook-deliver.ts 56 additions, 0 deletionspackages/backend/src/queue/processors/webhook-deliver.ts
- packages/backend/src/queue/queues.ts 3 additions, 1 deletionpackages/backend/src/queue/queues.ts
- packages/backend/src/queue/types.ts 8 additions, 0 deletionspackages/backend/src/queue/types.ts
- packages/backend/src/server/api/endpoints.ts 10 additions, 0 deletionspackages/backend/src/server/api/endpoints.ts
- packages/backend/src/server/api/endpoints/i/webhooks/create.ts 43 additions, 0 deletions...ges/backend/src/server/api/endpoints/i/webhooks/create.ts
- packages/backend/src/server/api/endpoints/i/webhooks/delete.ts 44 additions, 0 deletions...ges/backend/src/server/api/endpoints/i/webhooks/delete.ts
- packages/backend/src/server/api/endpoints/i/webhooks/list.ts 25 additions, 0 deletionspackages/backend/src/server/api/endpoints/i/webhooks/list.ts
- packages/backend/src/server/api/endpoints/i/webhooks/show.ts 41 additions, 0 deletionspackages/backend/src/server/api/endpoints/i/webhooks/show.ts
- packages/backend/src/server/api/endpoints/i/webhooks/update.ts 59 additions, 0 deletions...ges/backend/src/server/api/endpoints/i/webhooks/update.ts
- packages/backend/src/server/api/stream/types.ts 4 additions, 0 deletionspackages/backend/src/server/api/stream/types.ts
- packages/backend/src/services/blocking/create.ts 20 additions, 2 deletionspackages/backend/src/services/blocking/create.ts
- packages/backend/src/services/following/create.ts 22 additions, 2 deletionspackages/backend/src/services/following/create.ts
Loading
Please register or sign in to comment