@sofie-automation/blueprints-integration 1.50.5 → 1.51.0-in-testing.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (108) hide show
  1. package/CHANGELOG.md +100 -69
  2. package/dist/abPlayback.d.ts +3 -3
  3. package/dist/abPlayback.d.ts.map +1 -1
  4. package/dist/action.d.ts +14 -17
  5. package/dist/action.d.ts.map +1 -1
  6. package/dist/action.js +0 -10
  7. package/dist/action.js.map +1 -1
  8. package/dist/api/showStyle.d.ts +29 -7
  9. package/dist/api/showStyle.d.ts.map +1 -1
  10. package/dist/api/studio.d.ts +9 -3
  11. package/dist/api/studio.d.ts.map +1 -1
  12. package/dist/content.d.ts +21 -4
  13. package/dist/content.d.ts.map +1 -1
  14. package/dist/content.js.map +1 -1
  15. package/dist/context/adlibActionContext.d.ts +30 -0
  16. package/dist/context/adlibActionContext.d.ts.map +1 -0
  17. package/dist/context/adlibActionContext.js +3 -0
  18. package/dist/context/adlibActionContext.js.map +1 -0
  19. package/dist/context/baseContext.d.ts +39 -0
  20. package/dist/context/baseContext.d.ts.map +1 -0
  21. package/dist/{context.js → context/baseContext.js} +1 -1
  22. package/dist/context/baseContext.js.map +1 -0
  23. package/dist/context/eventContext.d.ts +60 -0
  24. package/dist/context/eventContext.d.ts.map +1 -0
  25. package/dist/context/eventContext.js +3 -0
  26. package/dist/context/eventContext.js.map +1 -0
  27. package/dist/context/executeTsrActionContext.d.ts +9 -0
  28. package/dist/context/executeTsrActionContext.d.ts.map +1 -0
  29. package/dist/context/executeTsrActionContext.js +3 -0
  30. package/dist/context/executeTsrActionContext.js.map +1 -0
  31. package/dist/context/fixUpConfigContext.d.ts +55 -0
  32. package/dist/context/fixUpConfigContext.d.ts.map +1 -0
  33. package/dist/context/fixUpConfigContext.js +3 -0
  34. package/dist/context/fixUpConfigContext.js.map +1 -0
  35. package/dist/context/index.d.ts +12 -0
  36. package/dist/context/index.d.ts.map +1 -0
  37. package/dist/context/index.js +15 -0
  38. package/dist/context/index.js.map +1 -0
  39. package/dist/context/onSetAsNextContext.d.ts +46 -0
  40. package/dist/context/onSetAsNextContext.d.ts.map +1 -0
  41. package/dist/context/onSetAsNextContext.js +3 -0
  42. package/dist/context/onSetAsNextContext.js.map +1 -0
  43. package/dist/context/onTakeContext.d.ts +17 -0
  44. package/dist/context/onTakeContext.d.ts.map +1 -0
  45. package/dist/context/onTakeContext.js +3 -0
  46. package/dist/context/onTakeContext.js.map +1 -0
  47. package/dist/context/packageInfoContext.d.ts +12 -0
  48. package/dist/context/packageInfoContext.d.ts.map +1 -0
  49. package/dist/context/packageInfoContext.js +3 -0
  50. package/dist/context/packageInfoContext.js.map +1 -0
  51. package/dist/context/partsAndPieceActionContext.d.ts +48 -0
  52. package/dist/context/partsAndPieceActionContext.d.ts.map +1 -0
  53. package/dist/context/partsAndPieceActionContext.js +3 -0
  54. package/dist/context/partsAndPieceActionContext.js.map +1 -0
  55. package/dist/context/rundownContext.d.ts +29 -0
  56. package/dist/context/rundownContext.d.ts.map +1 -0
  57. package/dist/context/rundownContext.js +3 -0
  58. package/dist/context/rundownContext.js.map +1 -0
  59. package/dist/context/showStyleContext.d.ts +26 -0
  60. package/dist/context/showStyleContext.d.ts.map +1 -0
  61. package/dist/context/showStyleContext.js +3 -0
  62. package/dist/context/showStyleContext.js.map +1 -0
  63. package/dist/context/studioContext.d.ts +18 -0
  64. package/dist/context/studioContext.d.ts.map +1 -0
  65. package/dist/context/studioContext.js +3 -0
  66. package/dist/context/studioContext.js.map +1 -0
  67. package/dist/context/syncIngestChangesContext.d.ts +17 -0
  68. package/dist/context/syncIngestChangesContext.d.ts.map +1 -0
  69. package/dist/context/syncIngestChangesContext.js +3 -0
  70. package/dist/context/syncIngestChangesContext.js.map +1 -0
  71. package/dist/documents/adlibPiece.d.ts +2 -2
  72. package/dist/documents/adlibPiece.d.ts.map +1 -1
  73. package/dist/documents/expectedPlayoutItem.d.ts +1 -11
  74. package/dist/documents/expectedPlayoutItem.d.ts.map +1 -1
  75. package/dist/documents/expectedPlayoutItem.js +2 -0
  76. package/dist/documents/expectedPlayoutItem.js.map +1 -1
  77. package/dist/documents/part.d.ts +7 -5
  78. package/dist/documents/part.d.ts.map +1 -1
  79. package/dist/documents/partInstance.d.ts +2 -2
  80. package/dist/documents/partInstance.d.ts.map +1 -1
  81. package/dist/documents/piece.d.ts +2 -7
  82. package/dist/documents/piece.d.ts.map +1 -1
  83. package/dist/documents/pieceGeneric.d.ts +6 -22
  84. package/dist/documents/pieceGeneric.d.ts.map +1 -1
  85. package/dist/documents/pieceGeneric.js.map +1 -1
  86. package/dist/documents/pieceInstance.d.ts +9 -3
  87. package/dist/documents/pieceInstance.d.ts.map +1 -1
  88. package/dist/documents/rundown.d.ts +11 -7
  89. package/dist/documents/rundown.d.ts.map +1 -1
  90. package/dist/documents/rundownPlaylist.d.ts +4 -2
  91. package/dist/documents/rundownPlaylist.d.ts.map +1 -1
  92. package/dist/documents/segment.d.ts +6 -4
  93. package/dist/documents/segment.d.ts.map +1 -1
  94. package/dist/index.d.ts +0 -1
  95. package/dist/index.d.ts.map +1 -1
  96. package/dist/index.js +0 -1
  97. package/dist/index.js.map +1 -1
  98. package/dist/triggers.d.ts +5 -1
  99. package/dist/triggers.d.ts.map +1 -1
  100. package/dist/triggers.js.map +1 -1
  101. package/package.json +8 -8
  102. package/dist/config.d.ts +0 -43
  103. package/dist/config.d.ts.map +0 -1
  104. package/dist/config.js +0 -13
  105. package/dist/config.js.map +0 -1
  106. package/dist/context.d.ts +0 -254
  107. package/dist/context.d.ts.map +0 -1
  108. package/dist/context.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -3,141 +3,179 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
- ## [1.50.5](https://github.com/nrkno/tv-automation-server-core/compare/v1.50.4-LSG-updates...v1.50.5) (2024-08-08)
7
-
8
- **Note:** Version bump only for package @sofie-automation/blueprints-integration
6
+ # [1.51.0-in-testing.1](https://github.com/nrkno/sofie-core/compare/v1.51.0-in-testing.0...v1.51.0-in-testing.1) (2024-09-06)
9
7
 
10
8
 
9
+ ### Features
11
10
 
11
+ * stringify piece NoraContent payload SOFIE-3398 ([#1248](https://github.com/nrkno/sofie-core/issues/1248)) ([0613f74](https://github.com/nrkno/sofie-core/commit/0613f740c1e2f740d7d9c39bc72178e301f5f72f))
12
12
 
13
13
 
14
- ## [1.50.4](https://github.com/nrkno/tv-automation-server-core/compare/v1.50.3-LSG-updates...v1.50.4) (2024-07-30)
15
14
 
16
- **Note:** Version bump only for package @sofie-automation/blueprints-integration
17
15
 
18
16
 
17
+ # [1.51.0-in-testing.1](https://github.com/nrkno/sofie-core/compare/v1.51.0-in-testing.0...v1.51.0-in-testing.1) (2024-09-06)
19
18
 
20
19
 
20
+ ### Features
21
21
 
22
- ## [1.50.3](https://github.com/nrkno/tv-automation-server-core/compare/v1.50.2...v1.50.3) (2024-06-24)
22
+ * stringify piece NoraContent payload SOFIE-3398 ([#1248](https://github.com/nrkno/sofie-core/issues/1248)) ([0613f74](https://github.com/nrkno/sofie-core/commit/0613f740c1e2f740d7d9c39bc72178e301f5f72f))
23
23
 
24
- **Note:** Version bump only for package @sofie-automation/blueprints-integration
25
24
 
26
25
 
27
26
 
28
27
 
28
+ # [1.51.0-in-testing.0](https://github.com/nrkno/sofie-core/compare/v1.50.4...v1.51.0-in-testing.0) (2024-08-19)
29
29
 
30
- ## [1.50.2](https://github.com/nrkno/tv-automation-server-core/compare/v1.49.6...v1.50.2) (2024-05-15)
30
+ ## [1.50.5-LSG-updates](https://github.com/nrkno/sofie-core/compare/v1.50.4-LSG-updates...v1.50.5-LSG-updates) (2024-08-08)
31
31
 
32
+ ## [1.50.4-LSG-updates](https://github.com/nrkno/sofie-core/compare/v1.50.3-LSG-updates...v1.50.4-LSG-updates) (2024-07-30)
32
33
 
34
+ ### Bug Fixes
33
35
 
34
- ## [1.50.1](https://github.com/nrkno/tv-automation-server-core/compare/v1.49.5-0...v1.50.1) (2024-03-11)
36
+ - Add missing metadata types ([71eb739](https://github.com/nrkno/sofie-core/commit/71eb739bc87f64db50f06ab4647cb6972e58c7fa))
37
+ - Add missing piece metadata types ([#1133](https://github.com/nrkno/sofie-core/issues/1133)) ([70c5739](https://github.com/nrkno/sofie-core/commit/70c5739c5e9848e57c21bde78ee16d4c78da8e1a))
38
+ - blueprint-integration missed typing in [#1077](https://github.com/nrkno/sofie-core/issues/1077) ([bd5e36f](https://github.com/nrkno/sofie-core/commit/bd5e36f9c0b390999ef465a5e1554b8faa2c456f))
35
39
 
40
+ ### Features
36
41
 
42
+ - A/B player Ids as strings ([#1054](https://github.com/nrkno/sofie-core/issues/1054)) ([d9dee47](https://github.com/nrkno/sofie-core/commit/d9dee473068c4d96d15a6ef799ace830cf1fe1c0))
43
+ - action triggers styleClassNames SOFIE-3138 ([#1192](https://github.com/nrkno/sofie-core/issues/1192)) ([fa306dc](https://github.com/nrkno/sofie-core/commit/fa306dc16d5f6ee31418e282180d4c704f5d9feb))
44
+ - action triggers styleClassNames SOFIE-3138 ([#1192](https://github.com/nrkno/sofie-core/issues/1192)) ([49274d6](https://github.com/nrkno/sofie-core/commit/49274d64bdc0532f294be34b0a4413d848321e40))
45
+ - add onTake and onSetAsNext blueprint callbacks SOFIE-2897 SOFIE-2808 ([#1117](https://github.com/nrkno/sofie-core/issues/1117)) ([0bd621c](https://github.com/nrkno/sofie-core/commit/0bd621c13b08cb20c923ea573baca9db003c7df1))
46
+ - blueprint config fixup step SOFIE-2258 ([#1050](https://github.com/nrkno/sofie-core/issues/1050)) ([ea6c343](https://github.com/nrkno/sofie-core/commit/ea6c3435079172c682dd1e23d7813ae33fcdee78))
47
+ - cleanup deprecations ([#996](https://github.com/nrkno/sofie-core/issues/996)) ([f04f18f](https://github.com/nrkno/sofie-core/commit/f04f18f8e94b706dd1a3da1525feb9787f6eb85f))
48
+ - create adlib testing rundowns SOFIE-2963 ([#1211](https://github.com/nrkno/sofie-core/issues/1211)) ([a831989](https://github.com/nrkno/sofie-core/commit/a8319898c73d7233a2a665fd0bf5b9d6da83d713))
49
+ - **Device Triggers:** add support for setting shift register operations ([aa19fcc](https://github.com/nrkno/sofie-core/commit/aa19fcc3b5bfad05158677701b838673578a4dcb))
50
+ - **Device Triggers:** add support for setting shift register operations SOFIE-3136 ([c5a6292](https://github.com/nrkno/sofie-core/commit/c5a6292a85821d67653eebef75bbd929ff0cd44d))
51
+ - **EAV-31:** add blueprintsData on adlib actions ([114c064](https://github.com/nrkno/sofie-core/commit/114c06466ff1f35660454b66d1e35b3d339b9a80))
52
+ - Editable fields as JSON ([ddfb66a](https://github.com/nrkno/sofie-core/commit/ddfb66a1ef8afbd507535037d12752742c7dfeda))
53
+ - implement `loop` content property for Graphics ([2cf38ba](https://github.com/nrkno/sofie-core/commit/2cf38baadd5e7ba16d624b9ad75cfff9d48297a6))
54
+ - introduce `privateData` and `publicData` ([d94f1aa](https://github.com/nrkno/sofie-core/commit/d94f1aa82cec779c7eebddae42e1c4fab91ac494))
55
+ - remove supertimeline from Parts and Pieces resolving SOFIE-2373 ([#983](https://github.com/nrkno/sofie-core/issues/983)) ([55e02cb](https://github.com/nrkno/sofie-core/commit/55e02cb1a0b6d237ae9bcd02ebf54e06cf08fb26))
56
+ - rename internal 'scratchpad' naming to 'adlib testing' SOFIE-3015 ([afb2f43](https://github.com/nrkno/sofie-core/commit/afb2f43c8f199ff5da4ea6c3ccc3bd1e97a80f4f))
57
+ - rundown scratchpad SOFIE-2432 ([5e16632](https://github.com/nrkno/sofie-core/commit/5e16632908b8dd62e4470a9ba6089a56aa571b9f))
58
+ - support packageinfo update flow for buckets and studio baseline SOFIE-2655 ([#1051](https://github.com/nrkno/sofie-core/issues/1051)) ([df7ed0c](https://github.com/nrkno/sofie-core/commit/df7ed0c653b897774f01a33c9e60a5e22fac99e4))
59
+ - typed publications in gateways/peripheraldevices SOFIE-1183 ([#1056](https://github.com/nrkno/sofie-core/issues/1056)) ([0c3c1bf](https://github.com/nrkno/sofie-core/commit/0c3c1bfd2bb779034976dc34e49aa6e664ea874b))
60
+ - update meteor to 2.12 SOFIE-2368 ([#931](https://github.com/nrkno/sofie-core/issues/931)) ([d7dfb71](https://github.com/nrkno/sofie-core/commit/d7dfb71d19405267cab5e2abc39794a80acb30b1))
37
61
 
38
- ## [1.50.1-0](https://github.com/nrkno/tv-automation-server-core/compare/v1.50.0...v1.50.1-0) (2024-03-05)
62
+ # [1.51.0-in-testing.0](https://github.com/nrkno/sofie-core/compare/v1.50.4...v1.51.0-in-testing.0) (2024-08-19)
39
63
 
64
+ ## [1.50.5-LSG-updates](https://github.com/nrkno/sofie-core/compare/v1.50.4-LSG-updates...v1.50.5-LSG-updates) (2024-08-08)
40
65
 
66
+ ## [1.50.4-LSG-updates](https://github.com/nrkno/sofie-core/compare/v1.50.3-LSG-updates...v1.50.4-LSG-updates) (2024-07-30)
41
67
 
42
- # [1.50.0](https://github.com/nrkno/tv-automation-server-core/compare/v1.49.4...v1.50.0) (2024-02-23)
68
+ ### Bug Fixes
43
69
 
70
+ - Add missing metadata types ([71eb739](https://github.com/nrkno/sofie-core/commit/71eb739bc87f64db50f06ab4647cb6972e58c7fa))
71
+ - Add missing piece metadata types ([#1133](https://github.com/nrkno/sofie-core/issues/1133)) ([70c5739](https://github.com/nrkno/sofie-core/commit/70c5739c5e9848e57c21bde78ee16d4c78da8e1a))
72
+ - blueprint-integration missed typing in [#1077](https://github.com/nrkno/sofie-core/issues/1077) ([bd5e36f](https://github.com/nrkno/sofie-core/commit/bd5e36f9c0b390999ef465a5e1554b8faa2c456f))
44
73
 
45
74
  ### Features
46
75
 
47
- * allow blueprints to specify a custom resolution for NORA hover preview SOFIE-2840 ([#1123](https://github.com/nrkno/tv-automation-server-core/issues/1123)) ([d2f3cef](https://github.com/nrkno/tv-automation-server-core/commit/d2f3cef03259f594feba8814046614d1ed16cf62))
76
+ - A/B player Ids as strings ([#1054](https://github.com/nrkno/sofie-core/issues/1054)) ([d9dee47](https://github.com/nrkno/sofie-core/commit/d9dee473068c4d96d15a6ef799ace830cf1fe1c0))
77
+ - action triggers styleClassNames SOFIE-3138 ([#1192](https://github.com/nrkno/sofie-core/issues/1192)) ([fa306dc](https://github.com/nrkno/sofie-core/commit/fa306dc16d5f6ee31418e282180d4c704f5d9feb))
78
+ - action triggers styleClassNames SOFIE-3138 ([#1192](https://github.com/nrkno/sofie-core/issues/1192)) ([49274d6](https://github.com/nrkno/sofie-core/commit/49274d64bdc0532f294be34b0a4413d848321e40))
79
+ - add onTake and onSetAsNext blueprint callbacks SOFIE-2897 SOFIE-2808 ([#1117](https://github.com/nrkno/sofie-core/issues/1117)) ([0bd621c](https://github.com/nrkno/sofie-core/commit/0bd621c13b08cb20c923ea573baca9db003c7df1))
80
+ - blueprint config fixup step SOFIE-2258 ([#1050](https://github.com/nrkno/sofie-core/issues/1050)) ([ea6c343](https://github.com/nrkno/sofie-core/commit/ea6c3435079172c682dd1e23d7813ae33fcdee78))
81
+ - cleanup deprecations ([#996](https://github.com/nrkno/sofie-core/issues/996)) ([f04f18f](https://github.com/nrkno/sofie-core/commit/f04f18f8e94b706dd1a3da1525feb9787f6eb85f))
82
+ - create adlib testing rundowns SOFIE-2963 ([#1211](https://github.com/nrkno/sofie-core/issues/1211)) ([a831989](https://github.com/nrkno/sofie-core/commit/a8319898c73d7233a2a665fd0bf5b9d6da83d713))
83
+ - **Device Triggers:** add support for setting shift register operations ([aa19fcc](https://github.com/nrkno/sofie-core/commit/aa19fcc3b5bfad05158677701b838673578a4dcb))
84
+ - **Device Triggers:** add support for setting shift register operations SOFIE-3136 ([c5a6292](https://github.com/nrkno/sofie-core/commit/c5a6292a85821d67653eebef75bbd929ff0cd44d))
85
+ - **EAV-31:** add blueprintsData on adlib actions ([114c064](https://github.com/nrkno/sofie-core/commit/114c06466ff1f35660454b66d1e35b3d339b9a80))
86
+ - Editable fields as JSON ([ddfb66a](https://github.com/nrkno/sofie-core/commit/ddfb66a1ef8afbd507535037d12752742c7dfeda))
87
+ - implement `loop` content property for Graphics ([2cf38ba](https://github.com/nrkno/sofie-core/commit/2cf38baadd5e7ba16d624b9ad75cfff9d48297a6))
88
+ - introduce `privateData` and `publicData` ([d94f1aa](https://github.com/nrkno/sofie-core/commit/d94f1aa82cec779c7eebddae42e1c4fab91ac494))
89
+ - remove supertimeline from Parts and Pieces resolving SOFIE-2373 ([#983](https://github.com/nrkno/sofie-core/issues/983)) ([55e02cb](https://github.com/nrkno/sofie-core/commit/55e02cb1a0b6d237ae9bcd02ebf54e06cf08fb26))
90
+ - rename internal 'scratchpad' naming to 'adlib testing' SOFIE-3015 ([afb2f43](https://github.com/nrkno/sofie-core/commit/afb2f43c8f199ff5da4ea6c3ccc3bd1e97a80f4f))
91
+ - rundown scratchpad SOFIE-2432 ([5e16632](https://github.com/nrkno/sofie-core/commit/5e16632908b8dd62e4470a9ba6089a56aa571b9f))
92
+ - support packageinfo update flow for buckets and studio baseline SOFIE-2655 ([#1051](https://github.com/nrkno/sofie-core/issues/1051)) ([df7ed0c](https://github.com/nrkno/sofie-core/commit/df7ed0c653b897774f01a33c9e60a5e22fac99e4))
93
+ - typed publications in gateways/peripheraldevices SOFIE-1183 ([#1056](https://github.com/nrkno/sofie-core/issues/1056)) ([0c3c1bf](https://github.com/nrkno/sofie-core/commit/0c3c1bfd2bb779034976dc34e49aa6e664ea874b))
94
+ - update meteor to 2.12 SOFIE-2368 ([#931](https://github.com/nrkno/sofie-core/issues/931)) ([d7dfb71](https://github.com/nrkno/sofie-core/commit/d7dfb71d19405267cab5e2abc39794a80acb30b1))
48
95
 
96
+ ## [1.50.5](https://github.com/nrkno/tv-automation-server-core/compare/v1.50.4-LSG-updates...v1.50.5) (2024-08-08)
49
97
 
98
+ **Note:** Version bump only for package @sofie-automation/blueprints-integration
50
99
 
51
- # [1.50.0-in-testing.5](https://github.com/nrkno/tv-automation-server-core/compare/v1.50.0-in-testing.4...v1.50.0-in-testing.5) (2023-08-25)
100
+ ## [1.50.4](https://github.com/nrkno/tv-automation-server-core/compare/v1.50.3-LSG-updates...v1.50.4) (2024-07-30)
52
101
 
102
+ **Note:** Version bump only for package @sofie-automation/blueprints-integration
53
103
 
104
+ ## [1.50.3](https://github.com/nrkno/tv-automation-server-core/compare/v1.50.2...v1.50.3) (2024-06-24)
54
105
 
55
- # [1.50.0-in-testing.4](https://github.com/nrkno/tv-automation-server-core/compare/v1.49.0-in-testing.7...v1.50.0-in-testing.4) (2023-08-23)
106
+ **Note:** Version bump only for package @sofie-automation/blueprints-integration
56
107
 
108
+ ## [1.50.2](https://github.com/nrkno/tv-automation-server-core/compare/v1.49.6...v1.50.2) (2024-05-15)
57
109
 
110
+ ## [1.50.1](https://github.com/nrkno/tv-automation-server-core/compare/v1.49.5-0...v1.50.1) (2024-03-11)
58
111
 
59
- # [1.50.0-in-testing.2](https://github.com/nrkno/tv-automation-server-core/compare/v1.50.0-in-testing.1...v1.50.0-in-testing.2) (2023-07-17)
112
+ ## [1.50.1-0](https://github.com/nrkno/tv-automation-server-core/compare/v1.50.0...v1.50.1-0) (2024-03-05)
60
113
 
114
+ # [1.50.0](https://github.com/nrkno/tv-automation-server-core/compare/v1.49.4...v1.50.0) (2024-02-23)
61
115
 
62
- ### Bug Fixes
116
+ ### Features
63
117
 
64
- * Allow JSON objects in config presets ([#949](https://github.com/nrkno/tv-automation-server-core/issues/949)) ([4e5a797](https://github.com/nrkno/tv-automation-server-core/commit/4e5a79752d6c06f91ce070b1d67e7bed97a4f0f2))
65
- * expose `deviceType` in `listPlayoutDevices` to blueprints ([2b32c72](https://github.com/nrkno/tv-automation-server-core/commit/2b32c7256762716071d467193f344646af484f18))
66
- * require blueprint baseline objects to be of type `TimelineObjectCoreExt` instead of `TSR.TSRTimelineObj` [#961](https://github.com/nrkno/tv-automation-server-core/issues/961) ([b8d0cf3](https://github.com/nrkno/tv-automation-server-core/commit/b8d0cf313c88e29fd08f6405b86a55d3579e7692))
118
+ - allow blueprints to specify a custom resolution for NORA hover preview SOFIE-2840 ([#1123](https://github.com/nrkno/tv-automation-server-core/issues/1123)) ([d2f3cef](https://github.com/nrkno/tv-automation-server-core/commit/d2f3cef03259f594feba8814046614d1ed16cf62))
67
119
 
120
+ # [1.50.0-in-testing.5](https://github.com/nrkno/tv-automation-server-core/compare/v1.50.0-in-testing.4...v1.50.0-in-testing.5) (2023-08-25)
68
121
 
69
- ### Features
122
+ # [1.50.0-in-testing.4](https://github.com/nrkno/tv-automation-server-core/compare/v1.49.0-in-testing.7...v1.50.0-in-testing.4) (2023-08-23)
70
123
 
71
- * add `prompterTitle` property SOFIE-2404 ([#975](https://github.com/nrkno/tv-automation-server-core/issues/975)) ([6f0567d](https://github.com/nrkno/tv-automation-server-core/commit/6f0567de958cede745e918529bae660305ceb66e))
72
- * add milestone timing ([5950fd5](https://github.com/nrkno/tv-automation-server-core/commit/5950fd5e202cfab5e7f5b36942ffb7525c713e0a))
73
- * allow getting the Source and Output layers from the ShowStyle context ([#979](https://github.com/nrkno/tv-automation-server-core/issues/979)) ([ab57fb4](https://github.com/nrkno/tv-automation-server-core/commit/ab57fb4871bf23e37b99e73f5f809738fd8fdd1b))
74
- * blueprint settings overhaul ([#878](https://github.com/nrkno/tv-automation-server-core/issues/878)) ([ee3307c](https://github.com/nrkno/tv-automation-server-core/commit/ee3307cae10076e2d91d624f783e40c54c297b91))
75
- * fallback to cumetime if no backtime ([2cafbab](https://github.com/nrkno/tv-automation-server-core/commit/2cafbab2f03d49b92c121a7206ddfed62bf770fa))
76
- * move blueprint ab logic into sofie SOFIE-2403 ([#946](https://github.com/nrkno/tv-automation-server-core/issues/946)) ([cc37b75](https://github.com/nrkno/tv-automation-server-core/commit/cc37b751d674be7f8631d0315e52f8fa29a8d3c4))
77
- * move gateway settings onto Studio SOFIE-1330 ([#907](https://github.com/nrkno/tv-automation-server-core/issues/907)) ([523c061](https://github.com/nrkno/tv-automation-server-core/commit/523c061c51296e21814deeeabbe9aafca21cd5a6))
78
- * trs actions in blueprints rundown hooks ([bb5e442](https://github.com/nrkno/tv-automation-server-core/commit/bb5e4422fa32e1af1e520e0c288360b304da4289))
124
+ # [1.50.0-in-testing.2](https://github.com/nrkno/tv-automation-server-core/compare/v1.50.0-in-testing.1...v1.50.0-in-testing.2) (2023-07-17)
79
125
 
126
+ ### Bug Fixes
80
127
 
128
+ - Allow JSON objects in config presets ([#949](https://github.com/nrkno/tv-automation-server-core/issues/949)) ([4e5a797](https://github.com/nrkno/tv-automation-server-core/commit/4e5a79752d6c06f91ce070b1d67e7bed97a4f0f2))
129
+ - expose `deviceType` in `listPlayoutDevices` to blueprints ([2b32c72](https://github.com/nrkno/tv-automation-server-core/commit/2b32c7256762716071d467193f344646af484f18))
130
+ - require blueprint baseline objects to be of type `TimelineObjectCoreExt` instead of `TSR.TSRTimelineObj` [#961](https://github.com/nrkno/tv-automation-server-core/issues/961) ([b8d0cf3](https://github.com/nrkno/tv-automation-server-core/commit/b8d0cf313c88e29fd08f6405b86a55d3579e7692))
81
131
 
132
+ ### Features
82
133
 
134
+ - add `prompterTitle` property SOFIE-2404 ([#975](https://github.com/nrkno/tv-automation-server-core/issues/975)) ([6f0567d](https://github.com/nrkno/tv-automation-server-core/commit/6f0567de958cede745e918529bae660305ceb66e))
135
+ - add milestone timing ([5950fd5](https://github.com/nrkno/tv-automation-server-core/commit/5950fd5e202cfab5e7f5b36942ffb7525c713e0a))
136
+ - allow getting the Source and Output layers from the ShowStyle context ([#979](https://github.com/nrkno/tv-automation-server-core/issues/979)) ([ab57fb4](https://github.com/nrkno/tv-automation-server-core/commit/ab57fb4871bf23e37b99e73f5f809738fd8fdd1b))
137
+ - blueprint settings overhaul ([#878](https://github.com/nrkno/tv-automation-server-core/issues/878)) ([ee3307c](https://github.com/nrkno/tv-automation-server-core/commit/ee3307cae10076e2d91d624f783e40c54c297b91))
138
+ - fallback to cumetime if no backtime ([2cafbab](https://github.com/nrkno/tv-automation-server-core/commit/2cafbab2f03d49b92c121a7206ddfed62bf770fa))
139
+ - move blueprint ab logic into sofie SOFIE-2403 ([#946](https://github.com/nrkno/tv-automation-server-core/issues/946)) ([cc37b75](https://github.com/nrkno/tv-automation-server-core/commit/cc37b751d674be7f8631d0315e52f8fa29a8d3c4))
140
+ - move gateway settings onto Studio SOFIE-1330 ([#907](https://github.com/nrkno/tv-automation-server-core/issues/907)) ([523c061](https://github.com/nrkno/tv-automation-server-core/commit/523c061c51296e21814deeeabbe9aafca21cd5a6))
141
+ - trs actions in blueprints rundown hooks ([bb5e442](https://github.com/nrkno/tv-automation-server-core/commit/bb5e4422fa32e1af1e520e0c288360b304da4289))
83
142
 
84
143
  ## [1.50.1](https://github.com/nrkno/tv-automation-server-core/compare/v1.50.1-0...v1.50.1) (2024-03-11)
85
144
 
86
145
  **Note:** Version bump only for package @sofie-automation/blueprints-integration
87
146
 
88
-
89
-
90
-
91
-
92
147
  ## [1.50.1-0](https://github.com/nrkno/tv-automation-server-core/compare/v1.50.0...v1.50.1-0) (2024-03-05)
93
148
 
94
149
  **Note:** Version bump only for package @sofie-automation/blueprints-integration
95
150
 
96
-
97
-
98
-
99
-
100
151
  # [1.50.0](https://github.com/nrkno/tv-automation-server-core/compare/v1.49.4...v1.50.0) (2024-02-23)
101
152
 
102
-
103
153
  ### Features
104
154
 
105
- * allow blueprints to specify a custom resolution for NORA hover preview SOFIE-2840 ([#1123](https://github.com/nrkno/tv-automation-server-core/issues/1123)) ([d2f3cef](https://github.com/nrkno/tv-automation-server-core/commit/d2f3cef03259f594feba8814046614d1ed16cf62))
106
-
107
-
155
+ - allow blueprints to specify a custom resolution for NORA hover preview SOFIE-2840 ([#1123](https://github.com/nrkno/tv-automation-server-core/issues/1123)) ([d2f3cef](https://github.com/nrkno/tv-automation-server-core/commit/d2f3cef03259f594feba8814046614d1ed16cf62))
108
156
 
109
157
  # [1.50.0-in-testing.5](https://github.com/nrkno/tv-automation-server-core/compare/v1.50.0-in-testing.4...v1.50.0-in-testing.5) (2023-08-25)
110
158
 
111
-
112
-
113
159
  # [1.50.0-in-testing.4](https://github.com/nrkno/tv-automation-server-core/compare/v1.49.0-in-testing.7...v1.50.0-in-testing.4) (2023-08-23)
114
160
 
115
-
116
-
117
161
  # [1.50.0-in-testing.2](https://github.com/nrkno/tv-automation-server-core/compare/v1.50.0-in-testing.1...v1.50.0-in-testing.2) (2023-07-17)
118
162
 
119
-
120
163
  ### Bug Fixes
121
164
 
122
- * Allow JSON objects in config presets ([#949](https://github.com/nrkno/tv-automation-server-core/issues/949)) ([4e5a797](https://github.com/nrkno/tv-automation-server-core/commit/4e5a79752d6c06f91ce070b1d67e7bed97a4f0f2))
123
- * expose `deviceType` in `listPlayoutDevices` to blueprints ([2b32c72](https://github.com/nrkno/tv-automation-server-core/commit/2b32c7256762716071d467193f344646af484f18))
124
- * require blueprint baseline objects to be of type `TimelineObjectCoreExt` instead of `TSR.TSRTimelineObj` [#961](https://github.com/nrkno/tv-automation-server-core/issues/961) ([b8d0cf3](https://github.com/nrkno/tv-automation-server-core/commit/b8d0cf313c88e29fd08f6405b86a55d3579e7692))
125
-
165
+ - Allow JSON objects in config presets ([#949](https://github.com/nrkno/tv-automation-server-core/issues/949)) ([4e5a797](https://github.com/nrkno/tv-automation-server-core/commit/4e5a79752d6c06f91ce070b1d67e7bed97a4f0f2))
166
+ - expose `deviceType` in `listPlayoutDevices` to blueprints ([2b32c72](https://github.com/nrkno/tv-automation-server-core/commit/2b32c7256762716071d467193f344646af484f18))
167
+ - require blueprint baseline objects to be of type `TimelineObjectCoreExt` instead of `TSR.TSRTimelineObj` [#961](https://github.com/nrkno/tv-automation-server-core/issues/961) ([b8d0cf3](https://github.com/nrkno/tv-automation-server-core/commit/b8d0cf313c88e29fd08f6405b86a55d3579e7692))
126
168
 
127
169
  ### Features
128
170
 
129
- * add `prompterTitle` property SOFIE-2404 ([#975](https://github.com/nrkno/tv-automation-server-core/issues/975)) ([6f0567d](https://github.com/nrkno/tv-automation-server-core/commit/6f0567de958cede745e918529bae660305ceb66e))
130
- * add milestone timing ([5950fd5](https://github.com/nrkno/tv-automation-server-core/commit/5950fd5e202cfab5e7f5b36942ffb7525c713e0a))
131
- * allow getting the Source and Output layers from the ShowStyle context ([#979](https://github.com/nrkno/tv-automation-server-core/issues/979)) ([ab57fb4](https://github.com/nrkno/tv-automation-server-core/commit/ab57fb4871bf23e37b99e73f5f809738fd8fdd1b))
132
- * blueprint settings overhaul ([#878](https://github.com/nrkno/tv-automation-server-core/issues/878)) ([ee3307c](https://github.com/nrkno/tv-automation-server-core/commit/ee3307cae10076e2d91d624f783e40c54c297b91))
133
- * fallback to cumetime if no backtime ([2cafbab](https://github.com/nrkno/tv-automation-server-core/commit/2cafbab2f03d49b92c121a7206ddfed62bf770fa))
134
- * move blueprint ab logic into sofie SOFIE-2403 ([#946](https://github.com/nrkno/tv-automation-server-core/issues/946)) ([cc37b75](https://github.com/nrkno/tv-automation-server-core/commit/cc37b751d674be7f8631d0315e52f8fa29a8d3c4))
135
- * move gateway settings onto Studio SOFIE-1330 ([#907](https://github.com/nrkno/tv-automation-server-core/issues/907)) ([523c061](https://github.com/nrkno/tv-automation-server-core/commit/523c061c51296e21814deeeabbe9aafca21cd5a6))
136
- * trs actions in blueprints rundown hooks ([bb5e442](https://github.com/nrkno/tv-automation-server-core/commit/bb5e4422fa32e1af1e520e0c288360b304da4289))
137
-
138
-
139
-
140
-
171
+ - add `prompterTitle` property SOFIE-2404 ([#975](https://github.com/nrkno/tv-automation-server-core/issues/975)) ([6f0567d](https://github.com/nrkno/tv-automation-server-core/commit/6f0567de958cede745e918529bae660305ceb66e))
172
+ - add milestone timing ([5950fd5](https://github.com/nrkno/tv-automation-server-core/commit/5950fd5e202cfab5e7f5b36942ffb7525c713e0a))
173
+ - allow getting the Source and Output layers from the ShowStyle context ([#979](https://github.com/nrkno/tv-automation-server-core/issues/979)) ([ab57fb4](https://github.com/nrkno/tv-automation-server-core/commit/ab57fb4871bf23e37b99e73f5f809738fd8fdd1b))
174
+ - blueprint settings overhaul ([#878](https://github.com/nrkno/tv-automation-server-core/issues/878)) ([ee3307c](https://github.com/nrkno/tv-automation-server-core/commit/ee3307cae10076e2d91d624f783e40c54c297b91))
175
+ - fallback to cumetime if no backtime ([2cafbab](https://github.com/nrkno/tv-automation-server-core/commit/2cafbab2f03d49b92c121a7206ddfed62bf770fa))
176
+ - move blueprint ab logic into sofie SOFIE-2403 ([#946](https://github.com/nrkno/tv-automation-server-core/issues/946)) ([cc37b75](https://github.com/nrkno/tv-automation-server-core/commit/cc37b751d674be7f8631d0315e52f8fa29a8d3c4))
177
+ - move gateway settings onto Studio SOFIE-1330 ([#907](https://github.com/nrkno/tv-automation-server-core/issues/907)) ([523c061](https://github.com/nrkno/tv-automation-server-core/commit/523c061c51296e21814deeeabbe9aafca21cd5a6))
178
+ - trs actions in blueprints rundown hooks ([bb5e442](https://github.com/nrkno/tv-automation-server-core/commit/bb5e4422fa32e1af1e520e0c288360b304da4289))
141
179
 
142
180
  # [1.50.0-in-testing.5](https://github.com/nrkno/tv-automation-server-core/compare/v1.50.0-in-testing.4...v1.50.0-in-testing.5) (2023-08-25)
143
181
 
@@ -184,22 +222,15 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
184
222
  - move blueprint ab logic into sofie SOFIE-2403 ([#946](https://github.com/nrkno/tv-automation-server-core/issues/946)) ([cc37b75](https://github.com/nrkno/tv-automation-server-core/commit/cc37b751d674be7f8631d0315e52f8fa29a8d3c4))
185
223
  - move gateway settings onto Studio SOFIE-1330 ([#907](https://github.com/nrkno/tv-automation-server-core/issues/907)) ([523c061](https://github.com/nrkno/tv-automation-server-core/commit/523c061c51296e21814deeeabbe9aafca21cd5a6))
186
224
  - trs actions in blueprints rundown hooks ([bb5e442](https://github.com/nrkno/tv-automation-server-core/commit/bb5e4422fa32e1af1e520e0c288360b304da4289))
225
+
187
226
  ## [1.49.3](https://github.com/nrkno/tv-automation-server-core/compare/v1.49.2...v1.49.3) (2023-12-21)
188
227
 
189
228
  **Note:** Version bump only for package @sofie-automation/blueprints-integration
190
229
 
191
-
192
-
193
-
194
-
195
230
  ## [1.49.2](https://github.com/nrkno/tv-automation-server-core/compare/v1.49.1...v1.49.2) (2023-11-29)
196
231
 
197
232
  **Note:** Version bump only for package @sofie-automation/blueprints-integration
198
233
 
199
-
200
-
201
-
202
-
203
234
  ## [1.49.1](https://github.com/nrkno/tv-automation-server-core/compare/v1.49.0...v1.49.1) (2023-10-20)
204
235
 
205
236
  **Note:** Version bump only for package @sofie-automation/blueprints-integration
@@ -17,7 +17,7 @@ export declare const AB_MEDIA_PLAYER_AUTO = "__auto__";
17
17
  * Description of a player in an AB pool
18
18
  */
19
19
  export interface ABPlayerDefinition {
20
- playerId: number;
20
+ playerId: number | string;
21
21
  }
22
22
  /**
23
23
  * A rule describing how to update the `layer` of a TimelineObject for AB playback
@@ -26,7 +26,7 @@ export interface ABTimelineLayerChangeRule {
26
26
  /** What AB pools can this rule be used for */
27
27
  acceptedPoolNames: string[];
28
28
  /** A function to generate the new layer name for a chosen playerId */
29
- newLayerName: (playerId: number) => string;
29
+ newLayerName: (playerId: number | string) => string;
30
30
  /** Whether this rule can be used for lookaheadObjects */
31
31
  allowsLookahead: boolean;
32
32
  }
@@ -51,7 +51,7 @@ export interface ABResolverConfiguration {
51
51
  * This is run after both the keyframe and `timelineObjectLayerChangeRules` strategies have been run.
52
52
  * Return true to indicate that a change was successfully made to the object
53
53
  */
54
- customApplyToObject?: (context: ICommonContext, poolName: string, playerId: number, timelineObject: OnGenerateTimelineObj<TSR.TSRTimelineContent>) => boolean;
54
+ customApplyToObject?: (context: ICommonContext, poolName: string, playerId: number | string, timelineObject: OnGenerateTimelineObj<TSR.TSRTimelineContent>) => boolean;
55
55
  }
56
56
  export interface ABResolverOptions {
57
57
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"abPlayback.d.ts","sourceRoot":"","sources":["../src/abPlayback.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,2BAA2B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M,EACzB,cAAc,EAAE,qBAAqB,CAAC,GAAG,CAAC,kBAAkB,CAAC,KACzD,OAAO,CAAA;CACZ;AAED,MAAM,WAAW,iBAAiB;IACjC;;OAEG;IACH,cAAc,EAAE,MAAM,CAAA;IACtB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAA;CACjB"}
package/dist/action.d.ts CHANGED
@@ -1,19 +1,12 @@
1
1
  import { ExpectedPackage } from './package';
2
- import { ConfigManifestEntry } from './config';
3
2
  import { SomeContent } from './content';
4
3
  import { ITranslatableMessage } from './translations';
5
4
  import { ExpectedPlayoutItemGeneric } from './documents';
5
+ import { JSONBlob } from '@sofie-automation/shared-lib/dist/lib/JSONBlob';
6
+ import { JSONSchema } from '@sofie-automation/shared-lib/dist/lib/JSONSchemaTypes';
6
7
  export interface ActionUserData {
7
8
  [key: string]: any;
8
9
  }
9
- export declare enum ActionExecuteAfterChanged {
10
- /** Do not execute the action after userData has changed, unless specifically triggered by the user */
11
- none = "none",
12
- /** Execute the action immediately after userData has changed */
13
- immediately = "immediately",
14
- /** Execute the action after userData has changed and there was an identifiable period of calm in the changes */
15
- debounce = "debounce"
16
- }
17
10
  export interface IBlueprintActionManifestDisplay {
18
11
  /** A label to be displayed to the user */
19
12
  label: ITranslatableMessage;
@@ -55,7 +48,7 @@ export interface IBlueprintActionTriggerMode {
55
48
  description?: ITranslatableMessage;
56
49
  };
57
50
  }
58
- export interface IBlueprintActionManifest {
51
+ export interface IBlueprintActionManifest<TPrivateData = unknown, TPublicData = unknown> {
59
52
  /**
60
53
  * An identifier for this Action
61
54
  * It should be unique within the part it belongs to, and consistent across ingest updates
@@ -63,7 +56,15 @@ export interface IBlueprintActionManifest {
63
56
  externalId: string;
64
57
  /** Id of the action */
65
58
  actionId: string;
66
- /** Properties defining the action behaviour */
59
+ /** Arbitraty data storage for internal use in the blueprints */
60
+ privateData?: TPrivateData;
61
+ /** Arbitraty data relevant for other systems, made available to them through APIs */
62
+ publicData?: TPublicData;
63
+ /**
64
+ * Arbitrary data relevant for other systems and/or users, available through APIs.
65
+ * It can be overriden when executing the action.
66
+ * It can be made user-editable with userDataManifest.
67
+ */
67
68
  userData: ActionUserData;
68
69
  /**
69
70
  * Set if ad-lib action should be limited in context to the current part/segment
@@ -79,16 +80,12 @@ export interface IBlueprintActionManifest {
79
80
  allVariants?: boolean;
80
81
  userDataManifest: {
81
82
  /** List of editable fields in userData, to allow for customising */
82
- editableFields?: ConfigManifestEntry[];
83
- /** Execute the action after userData is changed. If not present ActionExecuteAfterChanged.none is assumed. */
84
- executeOnUserDataChanged?: ActionExecuteAfterChanged;
83
+ editableFields?: JSONBlob<JSONSchema>;
85
84
  };
86
85
  display: IBlueprintActionManifestDisplay | IBlueprintActionManifestDisplayContent;
87
86
  /** Optional ways of executing this action. The default option is computed from the display properties */
88
87
  triggerModes?: IBlueprintActionTriggerMode[];
89
- /** Array of items expected to be played out. This is used by playout-devices to preload stuff.
90
- * @deprecated replaced by .expectedPackages
91
- */
88
+ /** Array of items expected to be played out. This is used by playout-devices to preload stuff. */
92
89
  expectedPlayoutItems?: ExpectedPlayoutItemGeneric[];
93
90
  /**
94
91
  * An array of which Packages this Action uses. This is used by a Package Manager to ensure that the Package is in place for playout.
@@ -1 +1 @@
1
- {"version":3,"file":"action.d.ts","sourceRoot":"","sources":["../src/action.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,WAAW,CAAA;AAC3C,OAAO,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAC9C,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAA;AACvC,OAAO,EAAE,oBAAoB,EAAE,MAAM,gBAAgB,CAAA;AACrD,OAAO,EAAE,0BAA0B,EAAE,MAAM,aAAa,CAAA;AAExD,MAAM,WAAW,cAAc;IAC9B,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAA;CAClB;AAED,oBAAY,yBAAyB;IACpC,sGAAsG;IACtG,IAAI,SAAS;IACb,gEAAgE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AAC,EAAE,eAAe,CAAC,GAAG,EAAE,CAAA;CACxC"}
package/dist/action.js CHANGED
@@ -1,13 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ActionExecuteAfterChanged = void 0;
4
- var ActionExecuteAfterChanged;
5
- (function (ActionExecuteAfterChanged) {
6
- /** Do not execute the action after userData has changed, unless specifically triggered by the user */
7
- ActionExecuteAfterChanged["none"] = "none";
8
- /** Execute the action immediately after userData has changed */
9
- ActionExecuteAfterChanged["immediately"] = "immediately";
10
- /** Execute the action after userData has changed and there was an identifiable period of calm in the changes */
11
- ActionExecuteAfterChanged["debounce"] = "debounce";
12
- })(ActionExecuteAfterChanged = exports.ActionExecuteAfterChanged || (exports.ActionExecuteAfterChanged = {}));
13
3
  //# sourceMappingURL=action.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"action.js","sourceRoot":"","sources":["../src/action.ts"],"names":[],"mappings":";;;AAUA,IAAY,yBAOX;AAPD,WAAY,yBAAyB;IACpC,sGAAsG;IACtG,0CAAa,CAAA;IACb,gEAAgE;IAChE,wDAA2B,CAAA;IAC3B,gHAAgH;IAChH,kDAAqB,CAAA;AACtB,CAAC,EAPW,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAOpC"}
1
+ {"version":3,"file":"action.js","sourceRoot":"","sources":["../src/action.ts"],"names":[],"mappings":""}
@@ -1,6 +1,6 @@
1
1
  import type { ActionUserData, IBlueprintActionManifest } from '../action';
2
- import type { IActionExecutionContext, ISyncIngestUpdateToPartInstanceContext, IPartEventContext, IRundownContext, IStudioUserContext, ISegmentUserContext, IShowStyleUserContext, ICommonContext, ITimelineEventContext, IRundownDataChangedEventContext, IRundownTimingEventContext, IGetRundownContext, IDataStoreActionExecutionContext, IRundownActivationContext, IShowStyleContext } from '../context';
3
- import type { IngestAdlib, ExtendedIngestRundown, IngestSegment } from '../ingest';
2
+ import type { IActionExecutionContext, ISyncIngestUpdateToPartInstanceContext, IPartEventContext, IRundownContext, IStudioUserContext, ISegmentUserContext, IShowStyleUserContext, ICommonContext, ITimelineEventContext, IRundownDataChangedEventContext, IRundownTimingEventContext, IGetRundownContext, IDataStoreActionExecutionContext, IRundownActivationContext, IShowStyleContext, IFixUpConfigContext, IOnTakeContext, IOnSetAsNextContext } from '../context';
3
+ import type { IngestAdlib, ExtendedIngestRundown, IngestSegment, IngestRundown } from '../ingest';
4
4
  import type { IBlueprintExternalMessageQueueObj } from '../message';
5
5
  import type { MigrationStepShowStyle } from '../migrations';
6
6
  import type { IBlueprintAdLibPiece, IBlueprintResolvedPieceInstance, IBlueprintPartInstance, PartEndState, IBlueprintPieceInstance, IBlueprintPartDB, IBlueprintAdLibPieceDB, IBlueprintRundown, ExpectedPlayoutItemGeneric, IBlueprintSegment, IBlueprintPiece, IBlueprintPart } from '../documents';
@@ -19,7 +19,9 @@ export interface ShowStyleBlueprintManifest<TRawConfig = IBlueprintConfig, TProc
19
19
  blueprintType: BlueprintManifestType.SHOWSTYLE;
20
20
  /** A list of config items this blueprint expects to be available on the ShowStyle */
21
21
  showStyleConfigSchema: JSONBlob<JSONSchema>;
22
- /** A list of Migration steps related to a ShowStyle */
22
+ /** A list of Migration steps related to a ShowStyle
23
+ * @deprecated This has been replaced with `validateConfig` and `applyConfig`
24
+ */
23
25
  showStyleMigrations: MigrationStepShowStyle[];
24
26
  /** The config presets exposed by this blueprint */
25
27
  configPresets: Record<string, IShowStyleConfigPreset<TRawConfig>>;
@@ -31,6 +33,11 @@ export interface ShowStyleBlueprintManifest<TRawConfig = IBlueprintConfig, TProc
31
33
  getRundown: (context: IGetRundownContext, ingestRundown: ExtendedIngestRundown) => BlueprintResultRundown | null | Promise<BlueprintResultRundown | null>;
32
34
  /** Generate segment from ingest data */
33
35
  getSegment: (context: ISegmentUserContext, ingestSegment: IngestSegment) => BlueprintResultSegment | Promise<BlueprintResultSegment>;
36
+ /**
37
+ * Generate an Adlib Testing IngestRundown for the specified ShowStyleVariant.
38
+ * This is used to generate a rundown which can be used for testing adlibs, or minimal use of Sofie without a rundown from an NRCS.
39
+ */
40
+ generateAdlibTestingIngestRundown?: (context: IShowStyleUserContext, showStyleVariant: IBlueprintShowStyleVariant) => IngestRundown | Promise<IngestRundown>;
34
41
  /**
35
42
  * Allows the blueprint to custom-modify the PartInstance, on ingest data update (this is run after getSegment())
36
43
  *
@@ -46,9 +53,14 @@ export interface ShowStyleBlueprintManifest<TRawConfig = IBlueprintConfig, TProc
46
53
  */
47
54
  executeDataStoreAction?: (context: IDataStoreActionExecutionContext, actionId: string, userData: ActionUserData, triggerMode?: string) => Promise<void>;
48
55
  /** Execute an action defined by an IBlueprintActionManifest */
49
- executeAction?: (context: IActionExecutionContext, actionId: string, userData: ActionUserData, triggerMode?: string) => Promise<void>;
56
+ executeAction?: (context: IActionExecutionContext, actionId: string, userData: ActionUserData, triggerMode: string | undefined, privateData?: unknown) => Promise<void>;
50
57
  /** Generate adlib piece from ingest data */
51
- getAdlibItem?: (context: IShowStyleUserContext, ingestItem: IngestAdlib) => IBlueprintAdLibPiece | IBlueprintActionManifest | null;
58
+ getAdlibItem?: (context: IShowStyleUserContext, ingestItem: IngestAdlib) => Promise<IBlueprintAdLibPiece | IBlueprintActionManifest | null> | IBlueprintAdLibPiece | IBlueprintActionManifest | null;
59
+ /**
60
+ * Apply automatic upgrades to the structure of user specified config overrides
61
+ * This lets you apply various changes to the user's values in an abstract way
62
+ */
63
+ fixUpConfig?: (context: IFixUpConfigContext<TRawConfig>) => void;
52
64
  /**
53
65
  * Validate the config passed to this blueprint
54
66
  * In this you should do various sanity checks of the config and return a list of messages to display to the user.
@@ -65,9 +77,20 @@ export interface ShowStyleBlueprintManifest<TRawConfig = IBlueprintConfig, TProc
65
77
  onRundownActivate?: (context: IRundownActivationContext, wasActive: boolean) => Promise<void>;
66
78
  onRundownFirstTake?: (context: IPartEventContext) => Promise<void>;
67
79
  onRundownDeActivate?: (context: IRundownActivationContext) => Promise<void>;
68
- /** Called after a Take action */
80
+ /** Called before a Take action */
69
81
  onPreTake?: (context: IPartEventContext) => Promise<void>;
82
+ /**
83
+ * Called during a Take action.
84
+ * Allows for part modification or aborting the take.
85
+ */
86
+ onTake?: (context: IOnTakeContext) => Promise<void>;
87
+ /** Called after a Take action */
70
88
  onPostTake?: (context: IPartEventContext) => Promise<void>;
89
+ /**
90
+ * Called when a part is set as Next, including right after a Take.
91
+ * Allows for part modification.
92
+ */
93
+ onSetAsNext?: (context: IOnSetAsNextContext) => Promise<void>;
71
94
  /** Called after the timeline has been generated, used to manipulate the timeline */
72
95
  onTimelineGenerate?: (context: ITimelineEventContext, timeline: OnGenerateTimelineObj<TSR.TSRTimelineContent>[], previousPersistentState: TimelinePersistentState | undefined, previousPartEndState: PartEndState | undefined, resolvedPieces: IBlueprintResolvedPieceInstance[]) => Promise<BlueprintResultTimeline>;
73
96
  /** Called just before `onTimelineGenerate` to perform AB-playback for the timeline */
@@ -88,7 +111,6 @@ export interface BlueprintResultTimeline {
88
111
  }
89
112
  export interface BlueprintResultBaseline {
90
113
  timelineObjects: TimelineObjectCoreExt<TSR.TSRTimelineContent>[];
91
- /** @deprecated */
92
114
  expectedPlayoutItems?: ExpectedPlayoutItemGeneric[];
93
115
  expectedPackages?: ExpectedPackage.Any[];
94
116
  }
@@ -1 +1 @@
1
- {"version":3,"file":"showStyle.d.ts","sourceRoot":"","sources":["../../src/api/showStyle.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,wBAAwB,EAAE,MAAM,WAAW,CAAA;AACzE,OAAO,KAAK,EACX,uBAAuB,EACvB,sCAAsC,EACtC,iBAAiB,EACjB,eAAe,EACf,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,cAAc,EACd,qBAAqB,EACrB,+BAA+B,EAC/B,0BAA0B,EAC1B,kBAAkB,EAClB,gCAAgC,EAChC,yBAAyB,EACzB,iBAAiB,EACjB,MAAM,YAAY,CAAA;AACnB,OAAO,KAAK,EAAE,WAA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,GAAG,SAAS,CAAA;IAClC,wGAAwG;IACxG,cAAc,EAAE,uBAAuB,EAAE,CAAA;IACzC,8CAA8C;IAC9C,WAAW,EAAE,sBAAsB,EAAE,CAAA;IACrC,+CAA+C;IAC/C,OAAO,EAAE,wBAAwB,EAAE,CAAA;IACnC,gFAAgF;IAChF,gBAAgB,EAAE,sBAAsB,EAAE,CAAA;CAC1C;AAYD,MAAM,WAAW,+BAA+B;IAC/C,YAAY,EAAE,sBAAsB,CAAA;IACpC,cAAc,EAAE,uBAAuB,EAAE,CAAA;CAIzC;AAED,MAAM,WAAW,mCAAmC;IACnD,YAAY,EAAE,YAAY,EAAE,CAAA;IAC5B,YAAY,EAAE,YAAY,EAAE,CAAA;IAE5B,gBAAgB,EAAE,0BAA0B,EAAE,CAAA;CAC9C;AAED,MAAM,WAAW,sBAAsB,CAAC,OAAO,GAAG,gBAAgB;IACjE,IAAI,EAAE,MAAM,CAAA;IAEZ,MAAM,EAAE,OAAO,CAAA;IAEf,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,6BAA6B,CAAC,OAAO,CAAC,CAAC,CAAA;CAChE;AAED,MAAM,WAAW,6BAA6B,CAAC,OAAO,GAAG,gBAAgB;IACxE,IAAI,EAAE,MAAM,CAAA;IAEZ,MAAM,EAAE,OAAO,CAAC,OAAO,CAAC,CAAA;CACxB"}
@@ -4,7 +4,7 @@ import type { BlueprintConfigCoreConfig, BlueprintManifestBase, BlueprintManifes
4
4
  import type { JSONSchema } from '@sofie-automation/shared-lib/dist/lib/JSONSchemaTypes';
5
5
  import type { JSONBlob } from '@sofie-automation/shared-lib/dist/lib/JSONBlob';
6
6
  import type { MigrationStepStudio } from '../migrations';
7
- import type { ICommonContext, IStudioBaselineContext, IStudioUserContext } from '../context';
7
+ import type { ICommonContext, IFixUpConfigContext, IStudioBaselineContext, IStudioUserContext } from '../context';
8
8
  import type { IBlueprintShowStyleBase } from '../showStyle';
9
9
  import type { ExtendedIngestRundown } from '../ingest';
10
10
  import type { ExpectedPlayoutItemGeneric, IBlueprintResultRundownPlaylist, IBlueprintRundownDB } from '../documents';
@@ -15,7 +15,9 @@ export interface StudioBlueprintManifest<TRawConfig = IBlueprintConfig, TProcess
15
15
  blueprintType: BlueprintManifestType.STUDIO;
16
16
  /** A list of config items this blueprint expects to be available on the Studio */
17
17
  studioConfigSchema: JSONBlob<JSONSchema>;
18
- /** A list of Migration steps related to a Studio */
18
+ /** A list of Migration steps related to a Studio
19
+ * @deprecated This has been replaced with `validateConfig` and `applyConfig`
20
+ */
19
21
  studioMigrations: MigrationStepStudio[];
20
22
  /** The config presets exposed by this blueprint */
21
23
  configPresets: Record<string, IStudioConfigPreset<TRawConfig>>;
@@ -27,6 +29,11 @@ export interface StudioBlueprintManifest<TRawConfig = IBlueprintConfig, TProcess
27
29
  getShowStyleId: (context: IStudioUserContext, showStyles: ReadonlyDeep<Array<IBlueprintShowStyleBase>>, ingestRundown: ExtendedIngestRundown) => string | null;
28
30
  /** Returns information about the playlist this rundown is a part of, return null to not make it a part of a playlist */
29
31
  getRundownPlaylistInfo?: (context: IStudioUserContext, rundowns: IBlueprintRundownDB[], playlistExternalId: string) => BlueprintResultRundownPlaylist | null;
32
+ /**
33
+ * Apply automatic upgrades to the structure of user specified config overrides
34
+ * This lets you apply various changes to the user's values in an abstract way
35
+ */
36
+ fixUpConfig?: (context: IFixUpConfigContext<TRawConfig>) => void;
30
37
  /**
31
38
  * Validate the config passed to this blueprint
32
39
  * In this you should do various sanity checks of the config and return a list of messages to display to the user.
@@ -43,7 +50,6 @@ export interface StudioBlueprintManifest<TRawConfig = IBlueprintConfig, TProcess
43
50
  }
44
51
  export interface BlueprintResultStudioBaseline {
45
52
  timelineObjects: TimelineObjectCoreExt<TSR.TSRTimelineContent>[];
46
- /** @deprecated */
47
53
  expectedPlayoutItems?: ExpectedPlayoutItemGeneric[];
48
54
  expectedPackages?: ExpectedPackage.Any[];
49
55
  }
@@ -1 +1 @@
1
- {"version":3,"file":"studio.d.ts","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