@tidal-music/api 0.32.0 → 0.33.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.
- package/dist/src/allAPI.generated.d.ts +31 -14
- package/package.json +3 -3
|
@@ -5564,7 +5564,8 @@ export interface paths {
|
|
|
5564
5564
|
get: {
|
|
5565
5565
|
parameters: {
|
|
5566
5566
|
query: {
|
|
5567
|
-
|
|
5567
|
+
/** @description Stable seed used to keep dynamic page and module results consistent across a client session. */
|
|
5568
|
+
refreshSeed?: string;
|
|
5568
5569
|
/**
|
|
5569
5570
|
* @description ISO 3166-1 alpha-2 country code
|
|
5570
5571
|
* @example US
|
|
@@ -5645,7 +5646,8 @@ export interface paths {
|
|
|
5645
5646
|
get: {
|
|
5646
5647
|
parameters: {
|
|
5647
5648
|
query: {
|
|
5648
|
-
|
|
5649
|
+
/** @description Stable seed used to keep dynamic page and module results consistent across a client session. */
|
|
5650
|
+
refreshSeed?: string;
|
|
5649
5651
|
/**
|
|
5650
5652
|
* @description ISO 3166-1 alpha-2 country code
|
|
5651
5653
|
* @example US
|
|
@@ -5730,7 +5732,8 @@ export interface paths {
|
|
|
5730
5732
|
get: {
|
|
5731
5733
|
parameters: {
|
|
5732
5734
|
query: {
|
|
5733
|
-
|
|
5735
|
+
/** @description Stable seed used to keep dynamic page and module results consistent across a client session. */
|
|
5736
|
+
refreshSeed?: string;
|
|
5734
5737
|
/** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
|
|
5735
5738
|
"page[cursor]"?: string;
|
|
5736
5739
|
/**
|
|
@@ -5817,7 +5820,8 @@ export interface paths {
|
|
|
5817
5820
|
get: {
|
|
5818
5821
|
parameters: {
|
|
5819
5822
|
query: {
|
|
5820
|
-
|
|
5823
|
+
/** @description Stable seed used to keep dynamic page and module results consistent across a client session. */
|
|
5824
|
+
refreshSeed?: string;
|
|
5821
5825
|
/**
|
|
5822
5826
|
* @description ISO 3166-1 alpha-2 country code
|
|
5823
5827
|
* @example US
|
|
@@ -5844,8 +5848,8 @@ export interface paths {
|
|
|
5844
5848
|
*/
|
|
5845
5849
|
clientVersion: string;
|
|
5846
5850
|
/**
|
|
5847
|
-
* @description Allows the client to customize which related resources should be returned. Available options:
|
|
5848
|
-
* @example
|
|
5851
|
+
* @description Allows the client to customize which related resources should be returned. Available options: modules, subject
|
|
5852
|
+
* @example modules
|
|
5849
5853
|
*/
|
|
5850
5854
|
include?: string[];
|
|
5851
5855
|
/** @description type of the page (e.g. `ARTIST`) */
|
|
@@ -5886,7 +5890,7 @@ export interface paths {
|
|
|
5886
5890
|
patch?: never;
|
|
5887
5891
|
trace?: never;
|
|
5888
5892
|
};
|
|
5889
|
-
"/dynamicPages/{id}/relationships/
|
|
5893
|
+
"/dynamicPages/{id}/relationships/modules": {
|
|
5890
5894
|
parameters: {
|
|
5891
5895
|
query?: never;
|
|
5892
5896
|
header?: never;
|
|
@@ -5894,13 +5898,14 @@ export interface paths {
|
|
|
5894
5898
|
cookie?: never;
|
|
5895
5899
|
};
|
|
5896
5900
|
/**
|
|
5897
|
-
* Get
|
|
5898
|
-
* @description Retrieves
|
|
5901
|
+
* Get modules relationship ("to-many").
|
|
5902
|
+
* @description Retrieves modules relationship.
|
|
5899
5903
|
*/
|
|
5900
5904
|
get: {
|
|
5901
5905
|
parameters: {
|
|
5902
5906
|
query: {
|
|
5903
|
-
|
|
5907
|
+
/** @description Stable seed used to keep dynamic page and module results consistent across a client session. */
|
|
5908
|
+
refreshSeed?: string;
|
|
5904
5909
|
/** @description Server-generated cursor value pointing a certain page of items. Optional, targets first page if not specified */
|
|
5905
5910
|
"page[cursor]"?: string;
|
|
5906
5911
|
/**
|
|
@@ -5929,8 +5934,8 @@ export interface paths {
|
|
|
5929
5934
|
*/
|
|
5930
5935
|
clientVersion: string;
|
|
5931
5936
|
/**
|
|
5932
|
-
* @description Allows the client to customize which related resources should be returned. Available options:
|
|
5933
|
-
* @example
|
|
5937
|
+
* @description Allows the client to customize which related resources should be returned. Available options: modules
|
|
5938
|
+
* @example modules
|
|
5934
5939
|
*/
|
|
5935
5940
|
include?: string[];
|
|
5936
5941
|
};
|
|
@@ -20541,7 +20546,7 @@ export interface components {
|
|
|
20541
20546
|
DynamicModules_Attributes: {
|
|
20542
20547
|
/**
|
|
20543
20548
|
* @description Type of icons the module should show
|
|
20544
|
-
* @example
|
|
20549
|
+
* @example SPOTLIGHT_INFO
|
|
20545
20550
|
*/
|
|
20546
20551
|
icons: ("SPOTLIGHT_INFO" | "UNKNOWN")[];
|
|
20547
20552
|
/**
|
|
@@ -20624,7 +20629,7 @@ export interface components {
|
|
|
20624
20629
|
links: components["schemas"]["Links"];
|
|
20625
20630
|
};
|
|
20626
20631
|
DynamicPages_Relationships: {
|
|
20627
|
-
|
|
20632
|
+
modules?: components["schemas"]["Multi_Relationship_Data_Document"];
|
|
20628
20633
|
subject?: components["schemas"]["Single_Relationship_Data_Document"];
|
|
20629
20634
|
};
|
|
20630
20635
|
DynamicPages_Resource_Object: {
|
|
@@ -20634,6 +20639,7 @@ export interface components {
|
|
|
20634
20639
|
* @example 12345
|
|
20635
20640
|
*/
|
|
20636
20641
|
id: string;
|
|
20642
|
+
meta?: components["schemas"]["DynamicPages_Resource_Object_Meta"];
|
|
20637
20643
|
relationships?: components["schemas"]["DynamicPages_Relationships"];
|
|
20638
20644
|
/**
|
|
20639
20645
|
* @description Resource type (enum property replaced by openapi-typescript)
|
|
@@ -20641,6 +20647,13 @@ export interface components {
|
|
|
20641
20647
|
*/
|
|
20642
20648
|
type: "dynamicPages";
|
|
20643
20649
|
};
|
|
20650
|
+
DynamicPages_Resource_Object_Meta: {
|
|
20651
|
+
/**
|
|
20652
|
+
* @description Reason why data has been redacted on this page
|
|
20653
|
+
* @enum {string}
|
|
20654
|
+
*/
|
|
20655
|
+
redactionReason?: "NO_BIRTHDAY" | "MINOR";
|
|
20656
|
+
};
|
|
20644
20657
|
DynamicPages_Single_Relationship_Data_Document: {
|
|
20645
20658
|
data?: components["schemas"]["Resource_Identifier"];
|
|
20646
20659
|
included?: components["schemas"]["Included"];
|
|
@@ -22518,12 +22531,16 @@ export interface components {
|
|
|
22518
22531
|
* @example 12345
|
|
22519
22532
|
*/
|
|
22520
22533
|
id: string;
|
|
22534
|
+
meta?: components["schemas"]["Terms_Resource_Object_Meta"];
|
|
22521
22535
|
/**
|
|
22522
22536
|
* @description Resource type (enum property replaced by openapi-typescript)
|
|
22523
22537
|
* @enum {string}
|
|
22524
22538
|
*/
|
|
22525
22539
|
type: "terms";
|
|
22526
22540
|
};
|
|
22541
|
+
Terms_Resource_Object_Meta: {
|
|
22542
|
+
isLatestVersion: boolean;
|
|
22543
|
+
};
|
|
22527
22544
|
Terms_Single_Resource_Data_Document: {
|
|
22528
22545
|
data: components["schemas"]["Terms_Resource_Object"];
|
|
22529
22546
|
included?: components["schemas"]["Included"];
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tidal-music/api",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.33.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist"
|
|
@@ -28,8 +28,8 @@
|
|
|
28
28
|
"vite": "8.0.16",
|
|
29
29
|
"vite-plugin-dts": "5.0.2",
|
|
30
30
|
"vitest": "4.1.8",
|
|
31
|
-
"@tidal-music/
|
|
32
|
-
"@tidal-music/
|
|
31
|
+
"@tidal-music/common": "^0.2.1",
|
|
32
|
+
"@tidal-music/auth": "^1.6.1"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"build": "vite build",
|