Skip to content

Commit

Permalink
feat!: remove showstyle and studio blueprint migrations
Browse files Browse the repository at this point in the history
  • Loading branch information
Julusian committed Dec 11, 2024
1 parent ed55fda commit d12fdc3
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 2,604 deletions.
5 changes: 0 additions & 5 deletions DEVELOPER.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,6 @@ Then submit this as a PR.
The ConfigManifests for Blueprints and Gateways was replaced with JSONSchema in R50.
However, one usage by AdlibActions for their userDataManifest remains as this is not something we are actively using.

## Blueprint Migrations

In R49, a replacement flow was added consisting of `validateConfig` and `applyConfig`.
It is no longer recommended to use the old migrations flow for showstyle and studio blueprints.

### ExpectedMediaItems

These are used for Media-manager which is no longer being developed.
Expand Down
2 changes: 0 additions & 2 deletions meteor/__mocks__/helpers/database.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,6 @@ export async function setupMockStudioBlueprint(
},

studioConfigSchema: '{}' as any,
studioMigrations: [],
getBaseline: () => {
return {
timelineObjects: [],
Expand Down Expand Up @@ -443,7 +442,6 @@ export async function setupMockShowStyleBlueprint(
},

showStyleConfigSchema: '{}' as any,
showStyleMigrations: [],
getShowStyleVariantId: (): string | null => {
return SHOW_STYLE_VARIANT_ID
},
Expand Down
3 changes: 0 additions & 3 deletions meteor/server/api/blueprints/__tests__/api.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,6 @@ describe('Test blueprint management api', () => {
showStyleConfigSchema: JSONBlobStringify({}),

databaseVersion: {
showStyle: {},
studio: {},
system: undefined,
},

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

// studioConfigManifest: [],
// studioMigrations: [],
// getBaseline: (context: IStudioContext): TSRTimelineObjBase[] => {
// return []
// },
Expand Down
3 changes: 0 additions & 3 deletions meteor/server/api/blueprints/__tests__/lib.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ export function generateFakeBlueprint(
integrationVersion: '0.0.0',
TSRVersion: '0.0.0',
studioConfigManifest: [],
studioMigrations: [],
getBaseline: () => {
return {
timelineObjects: [],
Expand All @@ -43,8 +42,6 @@ export function generateFakeBlueprint(
showStyleConfigSchema: JSONBlobStringify({}),

databaseVersion: {
showStyle: {},
studio: {},
system: undefined,
},

Expand Down
Loading

0 comments on commit d12fdc3

Please sign in to comment.