Skip to content

Commit 5c4025d

Browse files
committed
fix: set enabled by default in new flow
1 parent 2ab5385 commit 5c4025d

File tree

6 files changed

+9
-1
lines changed

6 files changed

+9
-1
lines changed

meteor/server/migration/__tests__/migrations.test.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -127,6 +127,7 @@ describe('Migrations', () => {
127127
minimumTakeSpan: DEFAULT_MINIMUM_TAKE_SPAN,
128128
allowHold: true,
129129
allowPieceDirectPlay: true,
130+
enableBuckets: true,
130131
}),
131132
mappingsWithOverrides: wrapDefaultObject({}),
132133
blueprintConfigWithOverrides: wrapDefaultObject({}),
@@ -167,6 +168,7 @@ describe('Migrations', () => {
167168
minimumTakeSpan: DEFAULT_MINIMUM_TAKE_SPAN,
168169
allowHold: true,
169170
allowPieceDirectPlay: true,
171+
enableBuckets: true,
170172
}),
171173
mappingsWithOverrides: wrapDefaultObject({}),
172174
blueprintConfigWithOverrides: wrapDefaultObject({}),
@@ -207,6 +209,7 @@ describe('Migrations', () => {
207209
minimumTakeSpan: DEFAULT_MINIMUM_TAKE_SPAN,
208210
allowHold: true,
209211
allowPieceDirectPlay: true,
212+
enableBuckets: true,
210213
}),
211214
mappingsWithOverrides: wrapDefaultObject({}),
212215
blueprintConfigWithOverrides: wrapDefaultObject({}),

packages/job-worker/src/__mocks__/defaultCollectionObjects.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,7 @@ export function defaultStudio(_id: StudioId): DBStudio {
109109
allowAdlibTestingSegment: true,
110110
allowHold: true,
111111
allowPieceDirectPlay: true,
112+
enableBuckets: true,
112113
}),
113114
routeSetsWithOverrides: wrapDefaultObject({}),
114115
routeSetExclusivityGroupsWithOverrides: wrapDefaultObject({}),

packages/job-worker/src/blueprints/__tests__/config.test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ describe('Test blueprint config', () => {
1717
minimumTakeSpan: DEFAULT_MINIMUM_TAKE_SPAN,
1818
allowHold: true,
1919
allowPieceDirectPlay: true,
20+
enableBuckets: true,
2021
}),
2122
blueprintConfigWithOverrides: wrapDefaultObject({ sdfsdf: 'one', another: 5 }),
2223
})
@@ -42,6 +43,7 @@ describe('Test blueprint config', () => {
4243
minimumTakeSpan: DEFAULT_MINIMUM_TAKE_SPAN,
4344
allowHold: true,
4445
allowPieceDirectPlay: true,
46+
enableBuckets: true,
4547
}),
4648
blueprintConfigWithOverrides: wrapDefaultObject({ sdfsdf: 'one', another: 5 }),
4749
})

packages/job-worker/src/playout/upgrade.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ export async function handleBlueprintUpgradeForStudio(context: JobContext, _data
117117
minimumTakeSpan: DEFAULT_MINIMUM_TAKE_SPAN,
118118
allowHold: true,
119119
allowPieceDirectPlay: true,
120+
enableBuckets: true,
120121
}
121122

122123
await context.directCollections.Studios.update(context.studioId, {

packages/shared-lib/src/core/model/StudioSettings.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,5 +80,5 @@ export interface IStudioSettings {
8080
/**
8181
* Enable buckets - the default behavior is to have buckets.
8282
*/
83-
enableBuckets?: boolean
83+
enableBuckets: boolean
8484
}

packages/webui/src/__mocks__/defaultCollectionObjects.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ export function defaultStudio(_id: StudioId): DBStudio {
107107
minimumTakeSpan: DEFAULT_MINIMUM_TAKE_SPAN,
108108
allowHold: true,
109109
allowPieceDirectPlay: true,
110+
enableBuckets: true,
110111
}),
111112
_rundownVersionHash: '',
112113
routeSetsWithOverrides: wrapDefaultObject({}),

0 commit comments

Comments
 (0)