Skip to content

Commit e63b986

Browse files
committed
feat!: remove showstyle and studio blueprint migrations
1 parent 5f77a10 commit e63b986

File tree

18 files changed

+15
-2603
lines changed

18 files changed

+15
-2603
lines changed

DEVELOPER.md

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

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

150145
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
@@ -368,7 +368,6 @@ export async function setupMockStudioBlueprint(
368368
},
369369

370370
studioConfigSchema: '{}' as any,
371-
studioMigrations: [],
372371
getBaseline: () => {
373372
return {
374373
timelineObjects: [],
@@ -425,7 +424,6 @@ export async function setupMockShowStyleBlueprint(
425424
},
426425

427426
showStyleConfigSchema: '{}' as any,
428-
showStyleMigrations: [],
429427
getShowStyleVariantId: (): string | null => {
430428
return SHOW_STYLE_VARIANT_ID
431429
},

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

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

6363
databaseVersion: {
64-
showStyle: {},
65-
studio: {},
6664
system: undefined,
6765
},
6866

@@ -244,7 +242,6 @@ describe('Test blueprint management api', () => {
244242
TSRVersion: '0.0.0',
245243

246244
// studioConfigManifest: [],
247-
// studioMigrations: [],
248245
// getBaseline: (context: IStudioContext): TSRTimelineObjBase[] => {
249246
// return []
250247
// },

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)