trm-registry-types 2.0.0 → 2.0.2

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/README.md CHANGED
@@ -11,10 +11,6 @@ The documentation of TRM Registry Types is only related to the request and respo
11
11
 
12
12
  The API documentation (and object usage) can be found [here](https://docs.trmregistry.com).
13
13
 
14
- <!-- START TABLE_OF_CONTENTS.md -->
15
- - [Request types](docs/requests.md)
16
- - [Response types](docs/responses.md)<!-- END TABLE_OF_CONTENTS.md -->
17
-
18
14
  # Contributing <!-- {docsify-remove} -->
19
15
 
20
16
  Like every other TRM open-soruce projects, contributions are always welcomed ❤️.
@@ -0,0 +1,5 @@
1
+ export interface BatchCompareRequestItem {
2
+ name: string;
3
+ version: string;
4
+ }
5
+ export type BatchCompareRequest = BatchCompareRequestItem[];
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BatchCompareRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BatchCompareRequest.js","sourceRoot":"","sources":["../../src/request/BatchCompareRequest.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface DistTagAdd {
2
+ tag: string;
3
+ version: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=DistTagAdd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DistTagAdd.js","sourceRoot":"","sources":["../../src/request/DistTagAdd.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface DistTagRm {
2
+ tag: string;
3
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=DistTagRm.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DistTagRm.js","sourceRoot":"","sources":["../../src/request/DistTagRm.ts"],"names":[],"mappings":""}
@@ -1,2 +1,5 @@
1
1
  export * from "./OAuth2Body";
2
2
  export * from "./Deprecate";
3
+ export * from "./DistTagAdd";
4
+ export * from "./DistTagRm";
5
+ export * from "./BatchCompareRequest";
@@ -16,4 +16,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./OAuth2Body"), exports);
18
18
  __exportStar(require("./Deprecate"), exports);
19
+ __exportStar(require("./DistTagAdd"), exports);
20
+ __exportStar(require("./DistTagRm"), exports);
21
+ __exportStar(require("./BatchCompareRequest"), exports);
19
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/request/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,8CAA4B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/request/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,+CAA6B;AAC7B,8CAA4B;AAC5B,+CAA6B;AAC7B,8CAA4B;AAC5B,wDAAsC"}
@@ -0,0 +1,8 @@
1
+ export interface BatchCompareResponseItem {
2
+ name: string;
3
+ version: string;
4
+ latestVersion?: string;
5
+ comparison?: ">" | "<" | "=";
6
+ error?: string;
7
+ }
8
+ export type BatchCompareResponse = BatchCompareResponseItem[];
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=BatchCompareResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BatchCompareResponse.js","sourceRoot":"","sources":["../../src/response/BatchCompareResponse.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type DeltaCustomizing = string[];
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=DeltaCustomizing.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeltaCustomizing.js","sourceRoot":"","sources":["../../src/response/DeltaCustomizing.ts"],"names":[],"mappings":""}
@@ -1,6 +1,7 @@
1
1
  export interface Package {
2
2
  name: string;
3
3
  latest: string;
4
+ dist_tags: Record<string, string>;
4
5
  versions: string[];
5
6
  yanked_versions: string[];
6
7
  manifest: any;
@@ -0,0 +1,9 @@
1
+ export interface PackageContentsEntry {
2
+ [key: string]: string | number | boolean | null;
3
+ }
4
+ export interface PackageContents {
5
+ tdevc: PackageContentsEntry[];
6
+ tdevct: PackageContentsEntry[];
7
+ tadir: PackageContentsEntry[];
8
+ e071: PackageContentsEntry[];
9
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=PackageContents.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PackageContents.js","sourceRoot":"","sources":["../../src/response/PackageContents.ts"],"names":[],"mappings":""}
@@ -6,3 +6,6 @@ export * from "./Message";
6
6
  export * from "./Ping";
7
7
  export * from "./WhoAmI";
8
8
  export * from "./Package";
9
+ export * from "./BatchCompareResponse";
10
+ export * from "./PackageContents";
11
+ export * from "./DeltaCustomizing";
@@ -22,4 +22,7 @@ __exportStar(require("./Message"), exports);
22
22
  __exportStar(require("./Ping"), exports);
23
23
  __exportStar(require("./WhoAmI"), exports);
24
24
  __exportStar(require("./Package"), exports);
25
+ __exportStar(require("./BatchCompareResponse"), exports);
26
+ __exportStar(require("./PackageContents"), exports);
27
+ __exportStar(require("./DeltaCustomizing"), exports);
25
28
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/response/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,+CAA6B;AAC7B,+CAA6B;AAC7B,gDAA8B;AAC9B,4CAA0B;AAC1B,yCAAuB;AACvB,2CAAyB;AACzB,4CAA0B"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/response/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,+CAA6B;AAC7B,+CAA6B;AAC7B,gDAA8B;AAC9B,4CAA0B;AAC1B,yCAAuB;AACvB,2CAAyB;AACzB,4CAA0B;AAC1B,yDAAuC;AACvC,oDAAkC;AAClC,qDAAmC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trm-registry-types",
3
- "version": "2.0.0",
3
+ "version": "2.0.2",
4
4
  "description": "TRM Registry Types",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",