Skip to content

Commit bed969f

Browse files
Merge pull request #25 from apivideo/remove-unused-player-theme-options
Remove unused player theme options
2 parents 3364de3 + 945b225 commit bed969f

File tree

9 files changed

+18
-95
lines changed

9 files changed

+18
-95
lines changed

doc/model/PlayerTheme.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,6 @@ Name | Type | Description | Notes
2222
**playerId** | **string** | |
2323
**createdAt** | **Date** | When the player was created, presented in ISO-8601 format. | [optional]
2424
**updatedAt** | **Date** | When the player was last updated, presented in ISO-8601 format. | [optional]
25-
**shapeMargin** | **number** | Deprecated | [optional]
26-
**shapeRadius** | **number** | Deprecated | [optional]
27-
**shapeAspect** | **string** | Deprecated | [optional]
28-
**shapeBackgroundTop** | **string** | Deprecated | [optional]
29-
**shapeBackgroundBottom** | **string** | Deprecated | [optional]
3025
**linkActive** | **string** | Deprecated | [optional]
3126
**assets** | [**PlayerThemeAssets**](PlayerThemeAssets.md) | | [optional]
3227

package-lock.json

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@api.video/nodejs-client",
3-
"version": "2.0.7",
3+
"version": "2.0.8",
44
"description": "api.video nodejs client",
55
"author": "api.video ecosystem team",
66
"engines": {

src/HttpClient.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ export default class HttpClient {
3737
this.chunkSize = params.chunkSize;
3838
this.tokenType = 'Bearer';
3939
this.headers = {
40-
'User-Agent': `api.video client (nodejs; v:2.0.7; )`,
40+
'User-Agent': `api.video client (nodejs; v:2.0.8; )`,
4141
Accept: 'application/json, */*;q=0.8',
4242
};
4343
this.baseRequest = got.extend({

src/model/PlayerTheme.ts

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -78,26 +78,6 @@ export default class PlayerTheme {
7878
* When the player was last updated, presented in ISO-8601 format.
7979
*/
8080
'updatedAt'?: Date;
81-
/**
82-
* Deprecated
83-
*/
84-
'shapeMargin'?: number;
85-
/**
86-
* Deprecated
87-
*/
88-
'shapeRadius'?: number;
89-
/**
90-
* Deprecated
91-
*/
92-
'shapeAspect'?: string;
93-
/**
94-
* Deprecated
95-
*/
96-
'shapeBackgroundTop'?: string;
97-
/**
98-
* Deprecated
99-
*/
100-
'shapeBackgroundBottom'?: string;
10181
/**
10282
* Deprecated
10383
*/
@@ -209,36 +189,6 @@ export default class PlayerTheme {
209189
type: 'Date',
210190
format: 'date-time',
211191
},
212-
{
213-
name: 'shapeMargin',
214-
baseName: 'shapeMargin',
215-
type: 'number',
216-
format: '',
217-
},
218-
{
219-
name: 'shapeRadius',
220-
baseName: 'shapeRadius',
221-
type: 'number',
222-
format: '',
223-
},
224-
{
225-
name: 'shapeAspect',
226-
baseName: 'shapeAspect',
227-
type: 'string',
228-
format: '',
229-
},
230-
{
231-
name: 'shapeBackgroundTop',
232-
baseName: 'shapeBackgroundTop',
233-
type: 'string',
234-
format: '',
235-
},
236-
{
237-
name: 'shapeBackgroundBottom',
238-
baseName: 'shapeBackgroundBottom',
239-
type: 'string',
240-
format: '',
241-
},
242192
{
243193
name: 'linkActive',
244194
baseName: 'linkActive',

test/payloads/playerthemes/create/responses201.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
"playerId" : "pl45d5vFFGrfdsdsd156dGhh",
33
"createdAt" : "2020-01-13T10:09:17+00:00",
44
"updatedAt" : "2020-01-13T10:09:17+00:00",
5-
"shapeRadius" : 3,
6-
"shapeAspect" : "flat",
7-
"shapeBackgroundTop" : "rgba(50, 50, 50, .7)",
8-
"shapeBackgroundBottom" : "rgba(50, 50, 50, .8)",
95
"text" : "rgba(255, 255, 255, .95)",
106
"link" : "rgba(255, 0, 0, .95)",
117
"linkHover" : "rgba(255, 255, 255, .75)",

test/payloads/playerthemes/get/responses200.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
"playerId" : "pl45d5vFFGrfdsdsd156dGhh",
33
"createdAt" : "2020-01-13T10:09:17+00:00",
44
"updatedAt" : "2020-01-13T11:12:14+00:00",
5-
"shapeRadius" : 3,
6-
"shapeAspect" : "flat",
7-
"shapeBackgroundTop" : "rgba(50, 50, 50, .7)",
8-
"shapeBackgroundBottom" : "rgba(50, 50, 50, .8)",
95
"text" : "rgba(255, 255, 255, .95)",
106
"link" : "rgba(255, 0, 0, .95)",
117
"linkHover" : "rgba(255, 255, 255, .75)",

test/payloads/playerthemes/list/responses200.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33
"playerId" : "pl4fgtjy4tjyKDK545DRdfg",
44
"createdAt" : "2020-01-13T10:09:17+00:00",
55
"updatedAt" : "2020-01-13T10:09:17+00:00",
6-
"shapeMargin" : 10,
7-
"shapeRadius" : 3,
8-
"shapeAspect" : "flat",
9-
"shapeBackgroundTop" : "rgba(50, 50, 50, .7)",
10-
"shapeBackgroundBottom" : "rgba(50, 50, 50, .8)",
116
"text" : "rgba(255, 255, 255, .95)",
127
"link" : "rgba(255, 0, 0, .95)",
138
"linkHover" : "rgba(255, 255, 255, .75)",
@@ -27,11 +22,6 @@
2722
"playerId" : "pl54fgtjy4tjyKDK45DRdfg",
2823
"createdAt" : "2020-01-13T10:09:17+00:00",
2924
"updatedAt" : "2020-01-13T10:09:17+00:00",
30-
"shapeMargin" : 10,
31-
"shapeRadius" : 3,
32-
"shapeAspect" : "flat",
33-
"shapeBackgroundTop" : "rgba(50, 50, 50, .7)",
34-
"shapeBackgroundBottom" : "rgba(50, 50, 50, .8)",
3525
"text" : "rgba(255, 255, 255, .95)",
3626
"link" : "rgba(255, 0, 0, .95)",
3727
"linkHover" : "rgba(255, 255, 255, .75)",

test/payloads/playerthemes/update/responses200.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,6 @@
22
"playerId" : "pl45d5vFFGrfdsdsd156dGhh",
33
"createdAt" : "2020-01-13T10:09:17+00:00",
44
"updatedAt" : "2020-01-13T11:12:14+00:00",
5-
"shapeRadius" : 3,
6-
"shapeAspect" : "flat",
7-
"shapeBackgroundTop" : "rgba(50, 50, 50, .7)",
8-
"shapeBackgroundBottom" : "rgba(50, 50, 50, .8)",
95
"text" : "rgba(255, 255, 255, .95)",
106
"link" : "rgba(255, 0, 0, .95)",
117
"linkHover" : "rgba(255, 255, 255, .75)",

0 commit comments

Comments
 (0)