trm-registry-types 1.0.1 → 1.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.
@@ -1,4 +1,6 @@
1
1
  export type AuthOAuth2 = {
2
2
  access_token: string;
3
+ token_type: 'Bearer';
4
+ expires_in: number;
3
5
  refresh_token?: string;
4
6
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "trm-registry-types",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "TRM Registry Types",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -1,4 +0,0 @@
1
- export type AuthOAuth2 = {
2
- access_token: string;
3
- refresh_token?: string;
4
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=AuthOAuth2.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AuthOAuth2.js","sourceRoot":"","sources":["../src/AuthOAuth2.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- export declare enum AuthenticationType {
2
- NO_AUTH = "NO_AUTH",
3
- BASIC = "BASIC",
4
- OAUTH2 = "OAUTH2"
5
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AuthenticationType = void 0;
4
- var AuthenticationType;
5
- (function (AuthenticationType) {
6
- AuthenticationType["NO_AUTH"] = "NO_AUTH";
7
- AuthenticationType["BASIC"] = "BASIC";
8
- AuthenticationType["OAUTH2"] = "OAUTH2";
9
- })(AuthenticationType || (exports.AuthenticationType = AuthenticationType = {}));
10
- //# sourceMappingURL=AuthenticationType.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"AuthenticationType.js","sourceRoot":"","sources":["../src/AuthenticationType.ts"],"names":[],"mappings":";;;AAAA,IAAY,kBAIX;AAJD,WAAY,kBAAkB;IAC1B,yCAAmB,CAAA;IACnB,qCAAe,CAAA;IACf,uCAAiB,CAAA;AACrB,CAAC,EAJW,kBAAkB,kCAAlB,kBAAkB,QAI7B"}
@@ -1,5 +0,0 @@
1
- export declare enum MessageType {
2
- WARNING = "WARNING",
3
- ERROR = "ERROR",
4
- INFO = "INFO"
5
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MessageType = void 0;
4
- var MessageType;
5
- (function (MessageType) {
6
- MessageType["WARNING"] = "WARNING";
7
- MessageType["ERROR"] = "ERROR";
8
- MessageType["INFO"] = "INFO";
9
- })(MessageType || (exports.MessageType = MessageType = {}));
10
- //# sourceMappingURL=MessageType.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MessageType.js","sourceRoot":"","sources":["../src/MessageType.ts"],"names":[],"mappings":";;;AAAA,IAAY,WAIX;AAJD,WAAY,WAAW;IACnB,kCAAmB,CAAA;IACnB,8BAAe,CAAA;IACf,4BAAa,CAAA;AACjB,CAAC,EAJW,WAAW,2BAAX,WAAW,QAItB"}
@@ -1,6 +0,0 @@
1
- export type OAuth2Data = {
2
- authorizationUrl: string;
3
- clientId: string;
4
- responseType: 'code';
5
- scope?: string;
6
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=OAuth2Data.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"OAuth2Data.js","sourceRoot":"","sources":["../src/OAuth2Data.ts"],"names":[],"mappings":""}
package/dist/Ping.d.ts DELETED
@@ -1,8 +0,0 @@
1
- import { AuthenticationType } from "./AuthenticationType";
2
- import { OAuth2Data } from "./OAuth2Data";
3
- import { ResponseMessage } from "./ResponseMessage";
4
- export type Ping = {
5
- authenticationType: AuthenticationType;
6
- authenticationData?: OAuth2Data;
7
- wallMessage?: ResponseMessage;
8
- };
package/dist/Ping.js DELETED
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Ping.js.map
package/dist/Ping.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"Ping.js","sourceRoot":"","sources":["../src/Ping.ts"],"names":[],"mappings":""}
package/dist/Release.d.ts DELETED
@@ -1,5 +0,0 @@
1
- export type Release = {
2
- version: string;
3
- deprecated?: boolean;
4
- latest: boolean;
5
- };
package/dist/Release.js DELETED
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=Release.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"Release.js","sourceRoot":"","sources":["../src/Release.ts"],"names":[],"mappings":""}
@@ -1,5 +0,0 @@
1
- import { MessageType } from "./MessageType";
2
- export type ResponseMessage = {
3
- type: MessageType;
4
- text: string;
5
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=ResponseMessage.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"ResponseMessage.js","sourceRoot":"","sources":["../src/ResponseMessage.ts"],"names":[],"mappings":""}
@@ -1,3 +0,0 @@
1
- export type UserAuthorization = {
2
- canCreateReleases: boolean;
3
- };
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=UserAuthorization.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"UserAuthorization.js","sourceRoot":"","sources":["../src/UserAuthorization.ts"],"names":[],"mappings":""}
package/dist/View.d.ts DELETED
@@ -1,12 +0,0 @@
1
- import { Release } from "./Release";
2
- import { UserAuthorization } from "./UserAuthorization";
3
- export type View = {
4
- name?: string;
5
- private?: boolean;
6
- shortDescription?: string;
7
- website?: string;
8
- git?: string;
9
- license?: string;
10
- userAuthorizations: UserAuthorization;
11
- release?: Release;
12
- };
package/dist/View.js DELETED
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=View.js.map
package/dist/View.js.map DELETED
@@ -1 +0,0 @@
1
- {"version":3,"file":"View.js","sourceRoot":"","sources":["../src/View.ts"],"names":[],"mappings":""}
package/dist/WhoAmI.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import { ResponseMessage } from "./ResponseMessage";
2
- export type WhoAmI = {
3
- logonMessage?: ResponseMessage;
4
- username: string;
5
- };
package/dist/WhoAmI.js DELETED
@@ -1,3 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- //# sourceMappingURL=WhoAmI.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"WhoAmI.js","sourceRoot":"","sources":["../src/WhoAmI.ts"],"names":[],"mappings":""}