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:
parent
a11d3102ce
commit
5c1cbcfcb1
7 changed files with 5 additions and 5 deletions
|
@ -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'
|
||||
|
|
|
@ -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'
|
||||
|
|
|
@ -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[]
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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: {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue