@smartico/public-api 0.0.34 → 0.0.36

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.
@@ -1,3 +1,4 @@
1
1
  import { ProtocolRequest } from "./../Base/ProtocolRequest";
2
2
  export interface SAWGetTemplatesRequest extends ProtocolRequest {
3
+ force_language?: string;
3
4
  }
@@ -40,4 +40,5 @@ export interface Tournament {
40
40
  playersMaxCount?: number;
41
41
  /** Tournament duration in millisecnnds */
42
42
  durationMs?: number;
43
+ custom_data?: string;
43
44
  }
@@ -19,4 +19,5 @@ export interface TournamentPublicMeta {
19
19
  only_in_custom_section?: boolean;
20
20
  label_tag?: string;
21
21
  featured?: boolean;
22
+ custom_data?: string;
22
23
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartico/public-api",
3
- "version": "0.0.34",
3
+ "version": "0.0.36",
4
4
  "description": "Smartico public API",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,5 +1,5 @@
1
1
  import { ProtocolRequest } from "./../Base/ProtocolRequest";
2
2
 
3
3
  export interface SAWGetTemplatesRequest extends ProtocolRequest {
4
-
4
+ force_language?: string; // request templates in the defined language instead of the language of the user
5
5
  }
@@ -42,6 +42,9 @@ export interface Tournament {
42
42
  playersMaxCount?: number;
43
43
  /** Tournament duration in millisecnnds */
44
44
  durationMs?: number;
45
+
46
+ // custom data as string or JSON string that can be used in UIWidget
47
+ custom_data?: string;
45
48
  }
46
49
 
47
50
 
@@ -23,4 +23,7 @@ export interface TournamentPublicMeta {
23
23
  label_tag?: string;
24
24
 
25
25
  featured?: boolean;
26
+
27
+ // custom data as string or JSON string that can be used in UIWidget
28
+ custom_data?: string;
26
29
  }