@audius/sdk 1.0.26 → 1.0.27
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/index.cjs.js +9 -4
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +9 -4
- package/dist/index.esm.js.map +1 -1
- package/dist/legacy.js +9 -4
- package/dist/legacy.js.map +1 -1
- package/dist/native-libs.js +9 -4
- package/dist/native-libs.js.map +1 -1
- package/dist/sdk/api/generated/default/models/Favorite.d.ts +6 -0
- package/dist/sdk/api/generated/full/models/Favorite.d.ts +6 -0
- package/dist/utils/types.d.ts +1 -0
- package/package.json +2 -2
- package/src/sdk/api/generated/default/models/Favorite.ts +6 -0
- package/src/sdk/api/generated/full/models/Favorite.ts +6 -0
- package/src/services/schemaValidator/schemas/playlistSchema.json +64 -64
- package/src/services/schemaValidator/schemas/trackSchema.json +340 -364
- package/src/services/schemaValidator/schemas/userSchema.json +226 -227
- package/src/utils/types.ts +2 -0
package/dist/utils/types.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,70 +1,70 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
},
|
|
13
|
-
"playlist_contents": {
|
|
14
|
-
"type": "object",
|
|
15
|
-
"$ref": "#/definitions/PlaylistContents",
|
|
16
|
-
"default": {
|
|
17
|
-
"track_ids": []
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
|
-
"playlist_name": {
|
|
21
|
-
"type": ["string", "null"],
|
|
22
|
-
"default": null
|
|
23
|
-
},
|
|
24
|
-
"playlist_image_sizes_multihash": {
|
|
25
|
-
"type": ["string", "null"],
|
|
26
|
-
"default": null,
|
|
27
|
-
"$ref": "#/definitions/CID"
|
|
28
|
-
},
|
|
29
|
-
"description": {
|
|
30
|
-
"type": ["string", "null"],
|
|
31
|
-
"default": null
|
|
32
|
-
},
|
|
33
|
-
"is_album": {
|
|
34
|
-
"type": "boolean",
|
|
35
|
-
"default": null
|
|
36
|
-
},
|
|
37
|
-
"is_private": {
|
|
38
|
-
"type": "boolean",
|
|
39
|
-
"default": null
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
"required": [
|
|
43
|
-
"playlist_name",
|
|
44
|
-
"playlist_id",
|
|
45
|
-
"description",
|
|
46
|
-
"is_album",
|
|
47
|
-
"is_private"
|
|
48
|
-
],
|
|
49
|
-
"title": "Playlist"
|
|
2
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
+
"$ref": "#/definitions/Playlist",
|
|
4
|
+
"definitions": {
|
|
5
|
+
"Playlist": {
|
|
6
|
+
"type": "object",
|
|
7
|
+
"additionalProperties": true,
|
|
8
|
+
"properties": {
|
|
9
|
+
"playlist_id": {
|
|
10
|
+
"type": ["integer", "null"],
|
|
11
|
+
"default": null
|
|
50
12
|
},
|
|
51
|
-
"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"
|
|
56
|
-
|
|
13
|
+
"playlist_contents": {
|
|
14
|
+
"type": "object",
|
|
15
|
+
"$ref": "#/definitions/PlaylistContents",
|
|
16
|
+
"default": {
|
|
17
|
+
"track_ids": []
|
|
18
|
+
}
|
|
57
19
|
},
|
|
58
|
-
"
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
20
|
+
"playlist_name": {
|
|
21
|
+
"type": ["string", "null"],
|
|
22
|
+
"default": null
|
|
23
|
+
},
|
|
24
|
+
"playlist_image_sizes_multihash": {
|
|
25
|
+
"type": ["string", "null"],
|
|
26
|
+
"default": null,
|
|
27
|
+
"$ref": "#/definitions/CID"
|
|
28
|
+
},
|
|
29
|
+
"description": {
|
|
30
|
+
"type": ["string", "null"],
|
|
31
|
+
"default": null
|
|
32
|
+
},
|
|
33
|
+
"is_album": {
|
|
34
|
+
"type": "boolean",
|
|
35
|
+
"default": null
|
|
36
|
+
},
|
|
37
|
+
"is_private": {
|
|
38
|
+
"type": "boolean",
|
|
39
|
+
"default": null
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"required": [
|
|
43
|
+
"playlist_name",
|
|
44
|
+
"playlist_id",
|
|
45
|
+
"description",
|
|
46
|
+
"is_album",
|
|
47
|
+
"is_private"
|
|
48
|
+
],
|
|
49
|
+
"title": "Playlist"
|
|
50
|
+
},
|
|
51
|
+
"CID": {
|
|
52
|
+
"type": ["string", "null"],
|
|
53
|
+
"minLength": 46,
|
|
54
|
+
"maxLength": 46,
|
|
55
|
+
"pattern": "^Qm[a-zA-Z0-9]{44}$",
|
|
56
|
+
"title": "CID"
|
|
57
|
+
},
|
|
58
|
+
"PlaylistContents": {
|
|
59
|
+
"type": "object",
|
|
60
|
+
"additionalProperties": false,
|
|
61
|
+
"properties": {
|
|
62
|
+
"track_ids": {
|
|
63
|
+
"type": "array",
|
|
64
|
+
"default": []
|
|
68
65
|
}
|
|
66
|
+
},
|
|
67
|
+
"title": "PlaylistContents"
|
|
69
68
|
}
|
|
69
|
+
}
|
|
70
70
|
}
|