@taskeren/bungie-api-ts 5.10.2 → 5.10.3

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/common.js CHANGED
@@ -1,4 +1,4 @@
1
- export var PlatformErrorCodes = {
1
+ export const PlatformErrorCodes = {
2
2
  None: 0,
3
3
  Success: 1,
4
4
  TransportException: 2,
@@ -908,7 +908,7 @@ export var PlatformErrorCodes = {
908
908
  MarathonThrottledByGameServer: 5006,
909
909
  MarathonErrorDeserializationFailure: 5007
910
910
  };
911
- export var BungieMembershipType = {
911
+ export const BungieMembershipType = {
912
912
  None: 0,
913
913
  TigerXbox: 1,
914
914
  TigerPsn: 2,
@@ -84,23 +84,25 @@ export interface ContentTypeProperty {
84
84
  readonly isVideo: boolean;
85
85
  readonly isImage: boolean;
86
86
  }
87
- export declare const enum ContentPropertyDataTypeEnum {
88
- None = 0,
89
- Plaintext = 1,
90
- Html = 2,
91
- Dropdown = 3,
92
- List = 4,
93
- Json = 5,
94
- Content = 6,
95
- Representation = 7,
96
- Set = 8,
97
- File = 9,
98
- FolderSet = 10,
99
- Date = 11,
100
- MultilinePlaintext = 12,
101
- DestinyContent = 13,
102
- Color = 14,
103
- }
87
+ export declare const ContentPropertyDataTypeEnum: {
88
+ readonly None: 0;
89
+ readonly Plaintext: 1;
90
+ readonly Html: 2;
91
+ readonly Dropdown: 3;
92
+ readonly List: 4;
93
+ readonly Json: 5;
94
+ readonly Content: 6;
95
+ readonly Representation: 7;
96
+ readonly Set: 8;
97
+ readonly File: 9;
98
+ readonly FolderSet: 10;
99
+ readonly Date: 11;
100
+ readonly MultilinePlaintext: 12;
101
+ readonly DestinyContent: 13;
102
+ readonly Color: 14;
103
+ };
104
+ export type ContentPropertyDataTypeEnum =
105
+ (typeof ContentPropertyDataTypeEnum)[keyof typeof ContentPropertyDataTypeEnum];
104
106
  export interface ContentTypeDefaultValue {
105
107
  readonly whenClause: string;
106
108
  readonly whenValue: string;
@@ -1,4 +1,4 @@
1
- export var ContentPropertyDataTypeEnum = {
1
+ export const ContentPropertyDataTypeEnum = {
2
2
  None: 0,
3
3
  Plaintext: 1,
4
4
  Html: 2,
@@ -129,16 +129,18 @@ export interface GlobalAlert {
129
129
  readonly AlertType: GlobalAlertType;
130
130
  readonly StreamInfo: StreamInfo;
131
131
  }
132
- export declare const enum GlobalAlertLevel {
133
- Unknown = 0,
134
- Blue = 1,
135
- Yellow = 2,
136
- Red = 3,
137
- }
138
- export declare const enum GlobalAlertType {
139
- GlobalAlert = 0,
140
- StreamingAlert = 1,
141
- }
132
+ export declare const GlobalAlertLevel: {
133
+ readonly Unknown: 0;
134
+ readonly Blue: 1;
135
+ readonly Yellow: 2;
136
+ readonly Red: 3;
137
+ };
138
+ export type GlobalAlertLevel = (typeof GlobalAlertLevel)[keyof typeof GlobalAlertLevel];
139
+ export declare const GlobalAlertType: {
140
+ readonly GlobalAlert: 0;
141
+ readonly StreamingAlert: 1;
142
+ };
143
+ export type GlobalAlertType = (typeof GlobalAlertType)[keyof typeof GlobalAlertType];
142
144
  export interface StreamInfo {
143
145
  readonly ChannelName: string;
144
146
  }
@@ -1,10 +1,10 @@
1
- export var GlobalAlertLevel = {
1
+ export const GlobalAlertLevel = {
2
2
  Unknown: 0,
3
3
  Blue: 1,
4
4
  Yellow: 2,
5
5
  Red: 3,
6
6
  };
7
- export var GlobalAlertType = {
7
+ export const GlobalAlertType = {
8
8
  GlobalAlert: 0,
9
9
  StreamingAlert: 1,
10
10
  };