1 | import { DistTags } from './dist-tags';
|
2 | import { RawAbbreviatedPackument } from './raw-abbreviated-packument';
|
3 | /**
|
4 | * `AbbreviatedPackument` represents a packument (package document)
|
5 | * containing only the metadata necessary to install a package.
|
6 | *
|
7 | * @see {@link RawAbbreviatedPackument}
|
8 | */
|
9 | export interface AbbreviatedPackument extends RawAbbreviatedPackument {
|
10 | /** Unique package name (for example, `foo` or `@bar/baz`) */
|
11 | readonly id: string;
|
12 | /**
|
13 | * Timestamp of when the package was last modified
|
14 | * in ISO 8601 format (for example, `2021-11-23T19:12:24.006Z`);
|
15 | * (alias to `modified`)
|
16 | */
|
17 | readonly modifiedAt: string;
|
18 | /**
|
19 | * Mapping of distribution tags to version numbers
|
20 | * (alias to `dist-tags`)
|
21 | *
|
22 | * @see {@link DistTags}
|
23 | */
|
24 | readonly distTags: DistTags;
|
25 | }
|
26 | //# sourceMappingURL=abbreviated-packument.d.ts.map |
\ | No newline at end of file |