Skip to content

Commit

Permalink
wip: fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Nov 5, 2024
1 parent 34aab79 commit daa4956
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 13 deletions.
1 change: 0 additions & 1 deletion meteor/server/api/peripheralDevice.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ import { convertPeripheralDeviceForGateway } from '../publications/peripheralDev
import { executePeripheralDeviceFunction } from './peripheralDevice/executeFunction'
import KoaRouter from '@koa/router'
import bodyParser from 'koa-bodyparser'
import { checkUserIdHasOneOfPermissions } from '../security/auth'

const apmNamespace = 'peripheralDevice'
export namespace ServerPeripheralDeviceAPI {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Meteor } from 'meteor/meteor'
import { DBStudio, StudioPackageContainer } from '@sofie-automation/corelib/dist/dataModel/Studio'
import {
TriggerUpdate,
Expand Down
1 change: 0 additions & 1 deletion meteor/server/publications/peripheralDeviceForDevice.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import { Meteor } from 'meteor/meteor'
import { PeripheralDevice, PeripheralDeviceCategory } from '@sofie-automation/corelib/dist/dataModel/PeripheralDevice'
import { PeripheralDeviceId } from '@sofie-automation/corelib/dist/dataModel/Ids'
import { PeripheralDevices, Studios } from '../collections'
Expand Down
2 changes: 1 addition & 1 deletion meteor/server/security/check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { PeripheralDevices, RundownPlaylists, Rundowns } from '../collections'
import { PeripheralDevice } from '@sofie-automation/corelib/dist/dataModel/PeripheralDevice'
import { MethodContext } from '../api/methodContext'
import { profiler } from '../api/profiler'
import { SubscriptionContext } from '../publications/lib'
import { SubscriptionContext } from '../publications/lib/lib'

/**
* Check that the current user has write access to the specified playlist, and ensure that the playlist exists
Expand Down

0 comments on commit daa4956

Please sign in to comment.