Skip to content

Commit d12fdc3

Browse files
committed
feat!: remove showstyle and studio blueprint migrations
1 parent ed55fda commit d12fdc3

File tree

18 files changed

+18
-2604
lines changed

18 files changed

+18
-2604
lines changed

DEVELOPER.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,6 @@ Then submit this as a PR.
139139
The ConfigManifests for Blueprints and Gateways was replaced with JSONSchema in R50.
140140
However, one usage by AdlibActions for their userDataManifest remains as this is not something we are actively using.
141141

142-
## Blueprint Migrations
143-
144-
In R49, a replacement flow was added consisting of `validateConfig` and `applyConfig`.
145-
It is no longer recommended to use the old migrations flow for showstyle and studio blueprints.
146-
147142
### ExpectedMediaItems
148143

149144
These are used for Media-manager which is no longer being developed.

meteor/__mocks__/helpers/database.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,6 @@ export async function setupMockStudioBlueprint(
386386
},
387387

388388
studioConfigSchema: '{}' as any,
389-
studioMigrations: [],
390389
getBaseline: () => {
391390
return {
392391
timelineObjects: [],
@@ -443,7 +442,6 @@ export async function setupMockShowStyleBlueprint(
443442
},
444443

445444
showStyleConfigSchema: '{}' as any,
446-
showStyleMigrations: [],
447445
getShowStyleVariantId: (): string | null => {
448446
return SHOW_STYLE_VARIANT_ID
449447
},

meteor/server/api/blueprints/__tests__/api.test.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,6 @@ describe('Test blueprint management api', () => {
5555
showStyleConfigSchema: JSONBlobStringify({}),
5656

5757
databaseVersion: {
58-
showStyle: {},
59-
studio: {},
6058
system: undefined,
6159
},
6260

@@ -238,7 +236,6 @@ describe('Test blueprint management api', () => {
238236
TSRVersion: '0.0.0',
239237

240238
// studioConfigManifest: [],
241-
// studioMigrations: [],
242239
// getBaseline: (context: IStudioContext): TSRTimelineObjBase[] => {
243240
// return []
244241
// },

meteor/server/api/blueprints/__tests__/lib.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ export function generateFakeBlueprint(
1717
integrationVersion: '0.0.0',
1818
TSRVersion: '0.0.0',
1919
studioConfigManifest: [],
20-
studioMigrations: [],
2120
getBaseline: () => {
2221
return {
2322
timelineObjects: [],
@@ -43,8 +42,6 @@ export function generateFakeBlueprint(
4342
showStyleConfigSchema: JSONBlobStringify({}),
4443

4544
databaseVersion: {
46-
showStyle: {},
47-
studio: {},
4845
system: undefined,
4946
},
5047

0 commit comments

Comments
 (0)