1
0
Fork 0
mirror of https://github.com/Chocobozzz/PeerTube.git synced 2025-10-02 17:29:29 +02:00

Fix model imports

This commit is contained in:
Chocobozzz 2025-09-12 10:26:59 +02:00
parent a11d3102ce
commit 5c1cbcfcb1
No known key found for this signature in database
GPG key ID: 583A612D890159BE
7 changed files with 5 additions and 5 deletions

View file

@ -1,2 +1,4 @@
export * from './player-mode.type.js'
export * from './player-theme.type.js'
export * from './player-settings.js'
export * from './player-settings-update.js'

View file

@ -16,8 +16,6 @@ export * from './chapter/index.js'
export * from './nsfw-flag.enum.js'
export * from './nsfw-policy.type.js'
export * from './player-settings.js'
export * from './player-settings-update.js'
export * from './storyboard.model.js'
export * from './thumbnail.type.js'

View file

@ -1,5 +1,6 @@
/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
import { VideoCreateResult } from '@peertube/peertube-models'
import {
PeerTubeServer,
cleanupTests,
@ -10,7 +11,6 @@ import {
waitJobs
} from '@peertube/peertube-server-commands'
import { expect } from 'chai'
import { VideoCreateResult } from '../../../../models/src/videos/video-create-result.model.js'
describe('Test player settings', function () {
let servers: PeerTubeServer[]

View file

@ -1,5 +1,6 @@
/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
import { VideoCreateResult } from '@peertube/peertube-models'
import {
CommentsCommand,
PeerTubeServer,
@ -13,7 +14,6 @@ import {
} from '@peertube/peertube-server-commands'
import { dateIsValid, testImage } from '@tests/shared/checks.js'
import { expect } from 'chai'
import { VideoCreateResult } from '../../../../models/src/videos/video-create-result.model.js'
describe('Test video comments', function () {
let server: PeerTubeServer

View file

@ -1,7 +1,7 @@
import { PlayerChannelSettings, PlayerVideoSettings } from '@peertube/peertube-models'
import { retryTransactionWrapper } from '@server/helpers/database-utils.js'
import { sequelizeTypescript } from '@server/initializers/database.js'
import { PlayerSettingModel } from '@server/models/video/player-setting.js'
import { PlayerChannelSettings, PlayerVideoSettings } from '../../../packages/models/src/videos/player-settings.js'
import { MChannelId, MVideoId } from '@server/types/models/index.js'
export async function upsertPlayerSettings (options: {