Skip to content

Commit

Permalink
no message
Browse files Browse the repository at this point in the history
Signed-off-by: Casey Occhialini <[email protected]>
  • Loading branch information
littlespex committed Oct 28, 2024
1 parent f9683fe commit 3b89ff2
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 6 deletions.
18 changes: 12 additions & 6 deletions lib/config/common-media-library.api.md
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,21 @@ export type Cmcd = {
rtp?: number;
};

// @beta
export const CMCD_HEADERS = "headers";

// @beta
export const CMCD_JSON = "json";

// @beta
export const CMCD_OBJECT = "CMCD-Object";

// @beta
export const CMCD_PARAM = "CMCD";

// @beta
export const CMCD_QUERY = "query";

// @beta
export const CMCD_REQUEST = "CMCD-Request";

Expand All @@ -115,6 +124,9 @@ export const CMCD_SESSION = "CMCD-Session";
// @beta
export const CMCD_STATUS = "CMCD-Status";

// @beta
export const CMCD_V1 = 1;

// @beta
export type CmcdCustomKey = `${string}-${string}`;

Expand Down Expand Up @@ -793,10 +805,4 @@ export type VideoTrack = Track & {
scanType: string;
};

// Warnings were encountered during analysis:
//
// src/cmcd/CmcdEncoding.ts:19:2 - (ae-forgotten-export) The symbol "CMCD_JSON" needs to be exported by the entry point index.d.ts
// src/cmcd/CmcdEncoding.ts:24:2 - (ae-forgotten-export) The symbol "CMCD_QUERY" needs to be exported by the entry point index.d.ts
// src/cmcd/CmcdEncoding.ts:29:2 - (ae-forgotten-export) The symbol "CMCD_HEADERS" needs to be exported by the entry point index.d.ts

```
4 changes: 4 additions & 0 deletions lib/src/cmcd.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,15 @@
export { appendCmcdHeaders } from './cmcd/appendCmcdHeaders.js';
export { appendCmcdQuery } from './cmcd/appendCmcdQuery.js';
export type { Cmcd } from './cmcd/Cmcd.js';
export { CMCD_HEADERS } from './cmcd/CMCD_HEADERS.js';
export { CMCD_JSON } from './cmcd/CMCD_JSON.js';
export { CMCD_OBJECT } from './cmcd/CMCD_OBJECT.js';
export { CMCD_PARAM } from './cmcd/CMCD_PARAM.js';
export { CMCD_QUERY } from './cmcd/CMCD_QUERY.js';
export { CMCD_REQUEST } from './cmcd/CMCD_REQUEST.js';
export { CMCD_SESSION } from './cmcd/CMCD_SESSION.js';
export { CMCD_STATUS } from './cmcd/CMCD_STATUS.js';
export { CMCD_V1 } from './cmcd/CMCD_V1.js';
export type { CmcdCustomKey } from './cmcd/CmcdCustomKey.js';
export type { CmcdEncodeOptions } from './cmcd/CmcdEncodeOptions.js';
export { CmcdEncoding } from './cmcd/CmcdEncoding.js';
Expand Down
7 changes: 7 additions & 0 deletions lib/src/cmcd/CMCD_HEADERS.ts
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
/**
* CMCD `headers` transmission mode.
*
* @group CMCD
*
* @beta
*/
export const CMCD_HEADERS = 'headers';
7 changes: 7 additions & 0 deletions lib/src/cmcd/CMCD_JSON.ts
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
/**
* CMCD `json` transmission mode.
*
* @group CMCD
*
* @beta
*/
export const CMCD_JSON = 'json';
7 changes: 7 additions & 0 deletions lib/src/cmcd/CMCD_QUERY.ts
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
/**
* CMCD `query` transmission mode.
*
* @group CMCD
*
* @beta
*/
export const CMCD_QUERY = 'query';

0 comments on commit 3b89ff2

Please sign in to comment.