@@ -69,12 +69,12 @@ export interface IConfigurationSettings {
6969export declare class SettingsManager {
7070 private static _configPath ;
7171 private static _handlers ;
72- private static changed ( config ) ;
7372 static onChanged ( handler : ( config : Configuration ) => void ) : void ;
7473 static applySavedServerSettings ( config : Configuration ) : void ;
75- private static getSavedServerSettings ( config ) ;
7674 static checkVersion ( version : number , config : Configuration ) : void ;
7775 static updateSettings ( config : Configuration ) : void ;
76+ private static changed ( config ) ;
77+ private static getSavedServerSettings ( config ) ;
7878}
7979export declare class DefaultLastReferenceIdManager implements ILastReferenceIdManager {
8080 private _lastReferenceId ;
@@ -129,13 +129,13 @@ export declare class DefaultEventQueue implements IEventQueue {
129129 constructor ( config : Configuration ) ;
130130 enqueue ( event : IEvent ) : void ;
131131 process ( isAppExiting ?: boolean ) : void ;
132- private processSubmissionResponse ( response , events ) ;
132+ suspendProcessing ( durationInMinutes ?: number , discardFutureQueuedItems ?: boolean , clearQueue ?: boolean ) : void ;
133+ private areQueuedItemsDiscarded ( ) ;
133134 private ensureQueueTimer ( ) ;
135+ private isQueueProcessingSuspended ( ) ;
134136 private onProcessQueue ( ) ;
135- suspendProcessing ( durationInMinutes ?: number , discardFutureQueuedItems ?: boolean , clearQueue ?: boolean ) : void ;
137+ private processSubmissionResponse ( response , events ) ;
136138 private removeEvents ( events ) ;
137- private isQueueProcessingSuspended ( ) ;
138- private areQueuedItemsDiscarded ( ) ;
139139}
140140export declare class InMemoryStorage < T > implements IStorage < T > {
141141 private _items ;
@@ -166,6 +166,7 @@ export declare class Utils {
166166 static stringify ( data : any , exclusions ?: string [ ] ) : string ;
167167}
168168export declare class Configuration implements IConfigurationSettings {
169+ private static _defaultSettings ;
169170 defaultTags : string [ ] ;
170171 defaultData : Object ;
171172 enabled : boolean ;
@@ -181,6 +182,7 @@ export declare class Configuration implements IConfigurationSettings {
181182 settings : Object ;
182183 storage : IStorage < Object > ;
183184 queue : IEventQueue ;
185+ private _plugins ;
184186 constructor ( configSettings ?: IConfigurationSettings ) ;
185187 private _apiKey ;
186188 apiKey : string ;
@@ -190,7 +192,6 @@ export declare class Configuration implements IConfigurationSettings {
190192 private _dataExclusions ;
191193 dataExclusions : string [ ] ;
192194 addDataExclusions ( ...exclusions : string [ ] ) : void ;
193- private _plugins ;
194195 plugins : IEventPlugin [ ] ;
195196 addPlugin ( plugin : IEventPlugin ) : void ;
196197 addPlugin ( name : string , priority : number , pluginAction : ( context : EventPluginContext , next ?: ( ) => void ) => void ) : void ;
@@ -203,14 +204,13 @@ export declare class Configuration implements IConfigurationSettings {
203204 userAgent : string ;
204205 useReferenceIds ( ) : void ;
205206 useDebugLogger ( ) : void ;
206- private static _defaultSettings ;
207207 static defaults : IConfigurationSettings ;
208208}
209209export declare class EventBuilder {
210- private _validIdentifierErrorMessage ;
211210 target : IEvent ;
212211 client : ExceptionlessClient ;
213212 pluginContextData : ContextData ;
213+ private _validIdentifierErrorMessage ;
214214 constructor ( event : IEvent , client : ExceptionlessClient , pluginContextData ?: ContextData ) ;
215215 setType ( type : string ) : EventBuilder ;
216216 setSource ( source : string ) : EventBuilder ;
@@ -229,9 +229,6 @@ export declare class EventBuilder {
229229 submit ( callback ?: ( context : EventPluginContext ) => void ) : void ;
230230 private isValidIdentifier ( value ) ;
231231}
232- export interface IError extends IInnerError {
233- modules ?: IModule [ ] ;
234- }
235232export interface IUserDescription {
236233 email_address ?: string ;
237234 description ?: string ;
@@ -259,6 +256,7 @@ export declare class SubmissionResponse {
259256 constructor ( statusCode : number , message ?: string ) ;
260257}
261258export declare class ExceptionlessClient {
259+ private static _instance ;
262260 config : Configuration ;
263261 constructor ( ) ;
264262 constructor ( settings : IConfigurationSettings ) ;
@@ -285,40 +283,8 @@ export declare class ExceptionlessClient {
285283 submitEvent ( event : IEvent , pluginContextData ?: ContextData , callback ?: ( context : EventPluginContext ) => void ) : void ;
286284 updateUserEmailAndDescription ( referenceId : string , email : string , description : string , callback ?: ( response : SubmissionResponse ) => void ) : void ;
287285 getLastReferenceId ( ) : string ;
288- private static _instance ;
289286 static default : ExceptionlessClient ;
290287}
291- export interface IParameter {
292- data ?: any ;
293- generic_arguments ?: string [ ] ;
294- name ?: string ;
295- type ?: string ;
296- type_namespace ?: string ;
297- }
298- export interface IMethod {
299- data ?: any ;
300- generic_arguments ?: string [ ] ;
301- parameters ?: IParameter [ ] ;
302- is_signature_target ?: boolean ;
303- declaring_namespace ?: string ;
304- declaring_type ?: string ;
305- name ?: string ;
306- module_id ?: number ;
307- }
308- export interface IStackFrame extends IMethod {
309- file_name ?: string ;
310- line_number ?: number ;
311- column ?: number ;
312- }
313- export interface IInnerError {
314- message ?: string ;
315- type ?: string ;
316- code ?: string ;
317- data ?: any ;
318- inner ?: IInnerError ;
319- stack_trace ?: IStackFrame [ ] ;
320- target_method ?: IMethod ;
321- }
322288export interface IModule {
323289 data ?: any ;
324290 module_id ?: number ;
@@ -390,6 +356,40 @@ export declare class SubmissionMethodPlugin implements IEventPlugin {
390356 name : string ;
391357 run ( context : EventPluginContext , next ?: ( ) => void ) : void ;
392358}
359+ export interface IParameter {
360+ data ?: any ;
361+ generic_arguments ?: string [ ] ;
362+ name ?: string ;
363+ type ?: string ;
364+ type_namespace ?: string ;
365+ }
366+ export interface IMethod {
367+ data ?: any ;
368+ generic_arguments ?: string [ ] ;
369+ parameters ?: IParameter [ ] ;
370+ is_signature_target ?: boolean ;
371+ declaring_namespace ?: string ;
372+ declaring_type ?: string ;
373+ name ?: string ;
374+ module_id ?: number ;
375+ }
376+ export interface IStackFrame extends IMethod {
377+ file_name ?: string ;
378+ line_number ?: number ;
379+ column ?: number ;
380+ }
381+ export interface IInnerError {
382+ message ?: string ;
383+ type ?: string ;
384+ code ?: string ;
385+ data ?: any ;
386+ inner ?: IInnerError ;
387+ stack_trace ?: IStackFrame [ ] ;
388+ target_method ?: IMethod ;
389+ }
390+ export interface IError extends IInnerError {
391+ modules ?: IModule [ ] ;
392+ }
393393export interface IStorageItem < T > {
394394 created : number ;
395395 path : string ;
0 commit comments