Skip to content

Commit e9513f5

Browse files
committed
models/crate: Add trustpubOnly attribute
1 parent 0b57f0c commit e9513f5

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/models/crate.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,12 @@ export default class Crate extends Model {
2929
@attr documentation;
3030
@attr repository;
3131

32+
/**
33+
* Whether this crate can only be published via Trusted Publishing.
34+
* @type {boolean}
35+
*/
36+
@attr trustpub_only;
37+
3238
/**
3339
* This isn't an attribute in the crate response.
3440
* It's actually the `meta` attribute that belongs to `versions`

0 commit comments

Comments
 (0)