@byomakase/omakase-react-components 1.3.0 → 1.4.0

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.
@@ -92,7 +92,7 @@ export declare interface AudioFlow {
92
92
  * Key value is a freeform string.
93
93
  */
94
94
  tags?: {
95
- [key: string]: string;
95
+ [key: string]: string | string[];
96
96
  };
97
97
  /**
98
98
  * A change to the flow metadata, not including metadata_version, last_update or segments, results in a new version. If the metadata_version for flow instances is identical then the metadata is identical.
@@ -156,7 +156,7 @@ export declare interface AudioFlow {
156
156
  }
157
157
 
158
158
  export declare namespace AudioFlow {
159
- export type FormatEnum = 'urn:x-nmos:format:audio';
159
+ export type FormatEnum = "urn:x-nmos:format:audio";
160
160
  const FormatEnum: {
161
161
  UrnxNmosformataudio: FormatEnum;
162
162
  };
@@ -396,7 +396,7 @@ export declare interface DataFlow {
396
396
  * Key value is a freeform string.
397
397
  */
398
398
  tags?: {
399
- [key: string]: string;
399
+ [key: string]: string | string[];
400
400
  };
401
401
  /**
402
402
  * A change to the flow metadata, not including metadata_version, last_update or segments, results in a new version. If the metadata_version for flow instances is identical then the metadata is identical.
@@ -460,7 +460,7 @@ export declare interface DataFlow {
460
460
  }
461
461
 
462
462
  export declare namespace DataFlow {
463
- export type FormatEnum = 'urn:x-nmos:format:data';
463
+ export type FormatEnum = "urn:x-nmos:format:data";
464
464
  const FormatEnum: {
465
465
  UrnxNmosformatdata: FormatEnum;
466
466
  };
@@ -815,7 +815,7 @@ export declare interface ImageFlow {
815
815
  * Key value is a freeform string.
816
816
  */
817
817
  tags?: {
818
- [key: string]: string;
818
+ [key: string]: string | string[];
819
819
  };
820
820
  /**
821
821
  * A change to the flow metadata, not including metadata_version, last_update or segments, results in a new version. If the metadata_version for flow instances is identical then the metadata is identical.
@@ -991,7 +991,7 @@ export declare interface MultiEssenceFlow {
991
991
  * Key value is a freeform string.
992
992
  */
993
993
  tags?: {
994
- [key: string]: string;
994
+ [key: string]: string | string[];
995
995
  };
996
996
  /**
997
997
  * A change to the flow metadata, not including metadata_version, last_update or segments, results in a new version. If the metadata_version for flow instances is identical then the metadata is identical.
@@ -1054,7 +1054,7 @@ export declare interface MultiEssenceFlow {
1054
1054
  }
1055
1055
 
1056
1056
  export declare namespace MultiEssenceFlow {
1057
- export type FormatEnum = 'urn:x-nmos:format:multi';
1057
+ export type FormatEnum = "urn:x-nmos:format:multi";
1058
1058
  const FormatEnum: {
1059
1059
  UrnxNmosformatmulti: FormatEnum;
1060
1060
  };
@@ -1109,7 +1109,7 @@ declare interface OmakasePlayerTimelineComponentProps {
1109
1109
  enableHotKeys?: boolean;
1110
1110
  }
1111
1111
 
1112
- export declare const OmakasePlayerTimelineControlsToolbar: ({ selectedMarker, omakasePlayer, markerListApi, enableHotKeys, segmentationLanes, setSegmentationLanes, setSelectedMarker, onMarkerClickCallback, setSource, source, constants, }: OmakasePlayerTimelineControlsToolbarProps) => default_2.JSX.Element;
1112
+ export declare const OmakasePlayerTimelineControlsToolbar: ({ selectedMarker, omakasePlayer, enableHotKeys, segmentationLanes, setSegmentationLanes, setSelectedMarker, onMarkerClickCallback, setSource, source, constants, }: OmakasePlayerTimelineControlsToolbarProps) => default_2.JSX.Element;
1113
1113
 
1114
1114
  declare type OmakasePlayerTimelineControlsToolbarConstants = {
1115
1115
  HIGHLIGHTED_PERIOD_MARKER_STYLE: Partial<PeriodMarkerStyle> & {
@@ -1125,7 +1125,6 @@ declare type OmakasePlayerTimelineControlsToolbarConstants = {
1125
1125
  declare type OmakasePlayerTimelineControlsToolbarProps = {
1126
1126
  selectedMarker: Marker | undefined;
1127
1127
  omakasePlayer: OmakasePlayerApi;
1128
- markerListApi?: MarkerListApi;
1129
1128
  segmentationLanes: MarkerLane[];
1130
1129
  source: MarkerLane | undefined;
1131
1130
  enableHotKeys?: boolean;
@@ -1172,16 +1171,17 @@ declare type OmakaseTamsPlayerComponentProps = {
1172
1171
  enableHotkeys?: boolean;
1173
1172
  };
1174
1173
 
1175
- export declare const OmakaseTimeRangePicker: ({ timeRange, maxTimeRange, numberOfSegments, segmentSize, maxSliderRange, onCheckmarkClickCallback, labelFormatter, }: OmakaseTimerangePickerProps) => default_2.JSX.Element;
1174
+ export declare const OmakaseTimeRangeSelectorComponent: ({ timeRange, maxTimeRange, numberOfSegments, segmentSize, maxSliderRange, onCheckmarkClickCallback, segmentLabelFormatter, durationLabelFormatter, }: OmakaseTimeRangeSelectorProps) => default_2.JSX.Element;
1176
1175
 
1177
- declare type OmakaseTimerangePickerProps = {
1176
+ declare type OmakaseTimeRangeSelectorProps = {
1178
1177
  timeRange: string;
1179
1178
  maxTimeRange: string;
1180
1179
  numberOfSegments: number;
1181
1180
  segmentSize: number;
1182
1181
  maxSliderRange: number;
1183
1182
  onCheckmarkClickCallback: (start: number, end: number) => void;
1184
- labelFormatter?: (seconds: number) => string;
1183
+ segmentLabelFormatter?: (seconds: number) => string;
1184
+ durationLabelFormatter?: (seconds: number) => string;
1185
1185
  };
1186
1186
 
1187
1187
  /**
@@ -1391,7 +1391,7 @@ export declare interface Source {
1391
1391
  * Key value is a freeform string.
1392
1392
  */
1393
1393
  tags?: {
1394
- [key: string]: string;
1394
+ [key: string]: string | string[];
1395
1395
  };
1396
1396
  /**
1397
1397
  * List of Sources that are collected together by this Source. This attribute is intended to be read-only. Implementations SHOULD ignore this if given in a PUT request, and instead manage it internally. Source collections can be inferred from Flow collection definitions.
@@ -1404,7 +1404,7 @@ export declare interface Source {
1404
1404
  }
1405
1405
 
1406
1406
  export declare namespace Source {
1407
- export type FormatEnum = 'urn:x-nmos:format:video' | 'urn:x-nmos:format:audio' | 'urn:x-nmos:format:data' | 'urn:x-nmos:format:multi';
1407
+ export type FormatEnum = "urn:x-nmos:format:video" | "urn:x-nmos:format:audio" | "urn:x-nmos:format:data" | "urn:x-nmos:format:multi";
1408
1408
  const FormatEnum: {
1409
1409
  Video: FormatEnum;
1410
1410
  Audio: FormatEnum;
@@ -1596,7 +1596,7 @@ export declare interface VideoFlow {
1596
1596
  * Key value is a freeform string.
1597
1597
  */
1598
1598
  tags?: {
1599
- [key: string]: string;
1599
+ [key: string]: string | string[];
1600
1600
  };
1601
1601
  /**
1602
1602
  * A change to the flow metadata, not including metadata_version, last_update or segments, results in a new version. If the metadata_version for flow instances is identical then the metadata is identical.
@@ -1660,7 +1660,7 @@ export declare interface VideoFlow {
1660
1660
  }
1661
1661
 
1662
1662
  export declare namespace VideoFlow {
1663
- export type FormatEnum = 'urn:x-nmos:format:video';
1663
+ export type FormatEnum = "urn:x-nmos:format:video";
1664
1664
  const FormatEnum: {
1665
1665
  UrnxNmosformatvideo: FormatEnum;
1666
1666
  };