mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 02:39:33 +02:00
Move models to typescript-sequelize
This commit is contained in:
parent
c893d4514e
commit
3fd3ab2d34
150 changed files with 3676 additions and 5074 deletions
|
@ -1,8 +1,8 @@
|
|||
import { Transaction } from 'sequelize'
|
||||
import { AccountInstance } from '../../models/account/account-interface'
|
||||
import { activitypubHttpJobScheduler, ActivityPubHttpPayload } from '../jobs/activitypub-http-job-scheduler/activitypub-http-job-scheduler'
|
||||
import { AccountModel } from '../../models/account/account'
|
||||
import { activitypubHttpJobScheduler, ActivityPubHttpPayload } from '../jobs/activitypub-http-job-scheduler'
|
||||
|
||||
async function addFetchOutboxJob (account: AccountInstance, t: Transaction) {
|
||||
async function addFetchOutboxJob (account: AccountModel, t: Transaction) {
|
||||
const jobPayload: ActivityPubHttpPayload = {
|
||||
uris: [ account.outboxUrl ]
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue