File tree Expand file tree Collapse file tree 4 files changed +3
-7
lines changed
meteor/server/publications/packageManager/expectedPackages
shared-lib/src/package-manager Expand file tree Collapse file tree 4 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -28,12 +28,10 @@ export const pieceInstanceFieldsSpecifier = literal<MongoFieldSpecifierOnesStric
2828 } ,
2929} )
3030
31- export type ExpectedPackageDBCompact = Pick < ExpectedPackageDB , '_id' | 'rundownId' | 'bucketId' | ' package'>
31+ export type ExpectedPackageDBCompact = Pick < ExpectedPackageDB , '_id' | 'package' >
3232
3333export const expectedPackageDBFieldsSpecifier = literal < MongoFieldSpecifierOnesStrict < ExpectedPackageDB > > ( {
3434 _id : 1 ,
35- rundownId : 1 ,
36- bucketId : 1 ,
3735 package : 1 ,
3836} )
3937
Original file line number Diff line number Diff line change @@ -63,7 +63,6 @@ export async function updateCollectionForExpectedPackageIds(
6363 studio ,
6464 {
6565 ...packageDoc . package ,
66- rundownId : packageDoc . rundownId ,
6766 _id : unprotectString ( packageDoc . _id ) ,
6867 } ,
6968 deviceId ,
@@ -142,7 +141,6 @@ export async function updateCollectionForPieceInstanceIds(
142141 {
143142 ...expectedPackage ,
144143 _id : unprotectString ( sanitisedPackageId ) ,
145- rundownId : pieceInstanceDoc . rundownId ,
146144 } ,
147145 deviceId ,
148146 pieceInstanceId ,
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ export interface ExpectedPackageDB {
5757 ingestSources : [ ExpectedPackageIngestSource ]
5858
5959 // playoutSources: {
60- // /** Any playout PieceInstance. This is limited to the current and next partInstances */ // nocommit - verify this
60+ // /** Any playout PieceInstance. This is limited to the current and next partInstances */
6161 // pieceInstanceIds: PieceInstanceId[]
6262 // }
6363}
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ export interface PackageManagerPackageContainers {
2828
2929export type PackageManagerExpectedPackageId = ProtectedString < 'PackageManagerExpectedPackage' >
3030
31- export type PackageManagerExpectedPackageBase = ReadonlyDeep < ExpectedPackage . Base & { rundownId : RundownId | null } >
31+ export type PackageManagerExpectedPackageBase = ReadonlyDeep < ExpectedPackage . Base >
3232
3333export interface PackageManagerExpectedPackage {
3434 /** Unique id of the expectedPackage */
You can’t perform that action at this time.
0 commit comments