mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-03 09:49:20 +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-mode.type.js'
|
||||||
export * from './player-theme.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-flag.enum.js'
|
||||||
export * from './nsfw-policy.type.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 './storyboard.model.js'
|
||||||
export * from './thumbnail.type.js'
|
export * from './thumbnail.type.js'
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
|
/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
|
||||||
|
|
||||||
|
import { VideoCreateResult } from '@peertube/peertube-models'
|
||||||
import {
|
import {
|
||||||
PeerTubeServer,
|
PeerTubeServer,
|
||||||
cleanupTests,
|
cleanupTests,
|
||||||
|
@ -10,7 +11,6 @@ import {
|
||||||
waitJobs
|
waitJobs
|
||||||
} from '@peertube/peertube-server-commands'
|
} from '@peertube/peertube-server-commands'
|
||||||
import { expect } from 'chai'
|
import { expect } from 'chai'
|
||||||
import { VideoCreateResult } from '../../../../models/src/videos/video-create-result.model.js'
|
|
||||||
|
|
||||||
describe('Test player settings', function () {
|
describe('Test player settings', function () {
|
||||||
let servers: PeerTubeServer[]
|
let servers: PeerTubeServer[]
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
|
/* eslint-disable @typescript-eslint/no-unused-expressions,@typescript-eslint/require-await */
|
||||||
|
|
||||||
|
import { VideoCreateResult } from '@peertube/peertube-models'
|
||||||
import {
|
import {
|
||||||
CommentsCommand,
|
CommentsCommand,
|
||||||
PeerTubeServer,
|
PeerTubeServer,
|
||||||
|
@ -13,7 +14,6 @@ import {
|
||||||
} from '@peertube/peertube-server-commands'
|
} from '@peertube/peertube-server-commands'
|
||||||
import { dateIsValid, testImage } from '@tests/shared/checks.js'
|
import { dateIsValid, testImage } from '@tests/shared/checks.js'
|
||||||
import { expect } from 'chai'
|
import { expect } from 'chai'
|
||||||
import { VideoCreateResult } from '../../../../models/src/videos/video-create-result.model.js'
|
|
||||||
|
|
||||||
describe('Test video comments', function () {
|
describe('Test video comments', function () {
|
||||||
let server: PeerTubeServer
|
let server: PeerTubeServer
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
import { PlayerChannelSettings, PlayerVideoSettings } from '@peertube/peertube-models'
|
||||||
import { retryTransactionWrapper } from '@server/helpers/database-utils.js'
|
import { retryTransactionWrapper } from '@server/helpers/database-utils.js'
|
||||||
import { sequelizeTypescript } from '@server/initializers/database.js'
|
import { sequelizeTypescript } from '@server/initializers/database.js'
|
||||||
import { PlayerSettingModel } from '@server/models/video/player-setting.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'
|
import { MChannelId, MVideoId } from '@server/types/models/index.js'
|
||||||
|
|
||||||
export async function upsertPlayerSettings (options: {
|
export async function upsertPlayerSettings (options: {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue