We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
versions_meta
1 parent 7cebb91 commit 4eac251Copy full SHA for 4eac251
app/models/crate.js
@@ -22,6 +22,22 @@ export default class Crate extends Model {
22
@attr max_version;
23
@attr max_stable_version;
24
@attr newest_version;
25
+ /**
26
+ * @typedef {Object} VersionsMeta
27
+ * @property {number} total
28
+ * @property {string | null} next_page
29
+ * @property {Object.<string, ReleaseTrackDetails>} release_tracks
30
+ *
31
+ * @typedef {Object} ReleaseTrackDetails
32
+ * @property {string} highest
33
+ **/
34
35
+ * This isn't an attribute in the crate response.
36
+ * It's actually the `meta` attribute that belongs to `versions`
37
+ * and needs to be assigned to `crate` manually.
38
+ * @type {VersionsMeta | null}
39
40
+ @attr versions_meta;
41
42
@attr description;
43
@attr homepage;
0 commit comments