http-request-manager 19.2.5 → 22.0.0
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 +144 -16
- package/fesm2022/http-request-manager.mjs +3993 -904
- package/fesm2022/http-request-manager.mjs.map +1 -1
- package/http-request-manager-22.0.0.tgz +0 -0
- package/package.json +17 -10
- package/types/http-request-manager.d.ts +653 -133
|
@@ -1,40 +1,42 @@
|
|
|
1
1
|
import * as rxjs from 'rxjs';
|
|
2
2
|
import { Observable, Subscription, BehaviorSubject, OperatorFunction } from 'rxjs';
|
|
3
3
|
import * as i0 from '@angular/core';
|
|
4
|
-
import { InjectionToken, OnDestroy, Injector, OnInit, EventEmitter, ModuleWithProviders } from '@angular/core';
|
|
4
|
+
import { InjectionToken, OnDestroy, Injector, DestroyRef, OnInit, OnChanges, SimpleChanges, EventEmitter, ModuleWithProviders } from '@angular/core';
|
|
5
5
|
import { ComponentStore } from '@ngrx/component-store';
|
|
6
6
|
import { HttpClient, HttpHeaders, HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
|
|
7
|
-
import * as
|
|
7
|
+
import * as http_request_manager from 'http-request-manager';
|
|
8
|
+
import * as i18 from 'toast-message-display';
|
|
8
9
|
import { ToastMessageDisplayService } from 'toast-message-display';
|
|
9
10
|
import Dexie, { Table } from 'dexie';
|
|
10
|
-
import
|
|
11
|
+
import { AST } from 'node-sql-parser/build/mysql';
|
|
12
|
+
import * as i36 from '@ngx-translate/core';
|
|
11
13
|
import { TranslateService } from '@ngx-translate/core';
|
|
12
14
|
import * as _angular_forms from '@angular/forms';
|
|
13
15
|
import { FormArray, FormBuilder, FormControl } from '@angular/forms';
|
|
14
16
|
import { DataSource } from '@angular/cdk/collections';
|
|
15
17
|
import * as i4 from '@angular/common';
|
|
16
18
|
import * as i7 from '@angular/material/button';
|
|
17
|
-
import * as
|
|
18
|
-
import * as
|
|
19
|
-
import * as
|
|
20
|
-
import * as
|
|
19
|
+
import * as i21 from '@angular/material/tabs';
|
|
20
|
+
import * as i22 from '@angular/material/select';
|
|
21
|
+
import * as i23 from '@angular/material/chips';
|
|
22
|
+
import * as i24 from '@angular/material/menu';
|
|
21
23
|
import * as i5 from '@angular/material/icon';
|
|
22
|
-
import * as
|
|
23
|
-
import * as
|
|
24
|
-
import * as
|
|
25
|
-
import * as
|
|
24
|
+
import * as i26 from '@angular/material/table';
|
|
25
|
+
import * as i27 from '@angular/material/button-toggle';
|
|
26
|
+
import * as i28 from '@angular/material/autocomplete';
|
|
27
|
+
import * as i29 from '@angular/material/progress-bar';
|
|
26
28
|
import * as i6 from '@angular/material/progress-spinner';
|
|
27
29
|
import { ProgressSpinnerMode } from '@angular/material/progress-spinner';
|
|
28
|
-
import * as
|
|
29
|
-
import * as
|
|
30
|
-
import * as
|
|
31
|
-
import * as
|
|
32
|
-
import * as
|
|
33
|
-
import * as
|
|
34
|
-
import * as
|
|
35
|
-
import * as
|
|
30
|
+
import * as i31 from '@angular/material/slide-toggle';
|
|
31
|
+
import * as i32 from '@angular/material/divider';
|
|
32
|
+
import * as i33 from '@angular/material/form-field';
|
|
33
|
+
import * as i34 from '@angular/material/input';
|
|
34
|
+
import * as i35 from '@angular/material/toolbar';
|
|
35
|
+
import * as i37 from '@angular/material/sidenav';
|
|
36
|
+
import * as i38 from '@angular/material/datepicker';
|
|
37
|
+
import * as i39 from '@angular/material/core';
|
|
36
38
|
import { ThemePalette } from '@angular/material/core';
|
|
37
|
-
import * as
|
|
39
|
+
import * as i40 from '@angular/material/card';
|
|
38
40
|
|
|
39
41
|
declare enum StorageType {
|
|
40
42
|
GLOBAL = 0,
|
|
@@ -66,9 +68,9 @@ interface StorageOptionInterface {
|
|
|
66
68
|
declare class StorageOption implements StorageOptionInterface {
|
|
67
69
|
id?: string | undefined;
|
|
68
70
|
name: string;
|
|
69
|
-
data?: any;
|
|
71
|
+
data?: any | undefined;
|
|
70
72
|
options?: SettingOptions | undefined;
|
|
71
|
-
constructor(id?: string | undefined, name?: string, data?: any, options?: SettingOptions | undefined);
|
|
73
|
+
constructor(id?: string | undefined, name?: string, data?: any | undefined, options?: SettingOptions | undefined);
|
|
72
74
|
static adapt(item?: any): StorageOption;
|
|
73
75
|
}
|
|
74
76
|
|
|
@@ -93,8 +95,8 @@ interface StorageDataInterface {
|
|
|
93
95
|
}
|
|
94
96
|
declare class StorageData implements StorageDataInterface {
|
|
95
97
|
id?: string | undefined;
|
|
96
|
-
data?: any;
|
|
97
|
-
constructor(id?: string | undefined, data?: any);
|
|
98
|
+
data?: any | undefined;
|
|
99
|
+
constructor(id?: string | undefined, data?: any | undefined);
|
|
98
100
|
static adapt(item?: any): StorageData;
|
|
99
101
|
}
|
|
100
102
|
|
|
@@ -127,7 +129,7 @@ declare class SymmetricalEncryptionService {
|
|
|
127
129
|
constructor();
|
|
128
130
|
generateCipherKey(): string;
|
|
129
131
|
encrypt(str: any, key?: string): string | undefined;
|
|
130
|
-
decrypt(str: string, key?: string): string | null
|
|
132
|
+
decrypt(str: string, key?: string): string | null;
|
|
131
133
|
createSignature(url: string, len?: number): string;
|
|
132
134
|
normalizeURL(url: string): string;
|
|
133
135
|
generateSignature(url: string): string;
|
|
@@ -170,9 +172,9 @@ declare class WSOptions implements WSOptionsInterface {
|
|
|
170
172
|
permissions?: string[] | undefined;
|
|
171
173
|
channels?: string[] | undefined;
|
|
172
174
|
wsUpdateChannels?: string[] | undefined;
|
|
173
|
-
user?: any;
|
|
175
|
+
user?: any | undefined;
|
|
174
176
|
retry?: RetryOptions | undefined;
|
|
175
|
-
constructor(id?: string, wsServer?: string, jwtToken?: string, permissions?: string[] | undefined, channels?: string[] | undefined, wsUpdateChannels?: string[] | undefined, user?: any, retry?: RetryOptions | undefined);
|
|
177
|
+
constructor(id?: string, wsServer?: string, jwtToken?: string, permissions?: string[] | undefined, channels?: string[] | undefined, wsUpdateChannels?: string[] | undefined, user?: any | undefined, retry?: RetryOptions | undefined);
|
|
176
178
|
static adapt(item?: any): WSOptions;
|
|
177
179
|
}
|
|
178
180
|
|
|
@@ -201,30 +203,63 @@ interface ApiRequestInterface {
|
|
|
201
203
|
stream?: boolean;
|
|
202
204
|
streamType?: StreamType;
|
|
203
205
|
displayError?: boolean;
|
|
206
|
+
displaySuccess?: boolean;
|
|
207
|
+
successMessage?: string;
|
|
208
|
+
errorMessage?: string;
|
|
204
209
|
saveAs?: string;
|
|
205
210
|
fileContentHeader?: string;
|
|
206
211
|
ws?: WSOptions;
|
|
207
212
|
env?: string;
|
|
213
|
+
uploadFiles?: File | File[];
|
|
214
|
+
uploadFieldName?: string;
|
|
215
|
+
uploadHttpMethod?: 'POST' | 'PUT';
|
|
216
|
+
allowedTypes?: string[];
|
|
217
|
+
maxFileSize?: number;
|
|
218
|
+
maxTotalSize?: number;
|
|
208
219
|
}
|
|
209
220
|
declare class ApiRequest implements ApiRequestInterface {
|
|
210
221
|
server: string;
|
|
211
222
|
path?: any[] | undefined;
|
|
212
|
-
headers?: any;
|
|
213
|
-
adapter?: any;
|
|
214
|
-
mapper?: any;
|
|
223
|
+
headers?: any | undefined;
|
|
224
|
+
adapter?: any | undefined;
|
|
225
|
+
mapper?: any | undefined;
|
|
215
226
|
polling?: number | undefined;
|
|
216
227
|
retry?: RetryOptions | undefined;
|
|
217
228
|
stream?: boolean | undefined;
|
|
218
229
|
streamType?: StreamType | undefined;
|
|
219
230
|
displayError?: boolean | undefined;
|
|
231
|
+
displaySuccess?: boolean | undefined;
|
|
232
|
+
successMessage?: string | undefined;
|
|
233
|
+
errorMessage?: string | undefined;
|
|
220
234
|
saveAs?: string | undefined;
|
|
221
235
|
fileContentHeader?: string | undefined;
|
|
222
236
|
ws?: WSOptions | undefined;
|
|
223
237
|
env?: string | undefined;
|
|
224
|
-
|
|
238
|
+
uploadFiles?: (File | File[]) | undefined;
|
|
239
|
+
uploadFieldName?: string | undefined;
|
|
240
|
+
uploadHttpMethod?: "POST" | "PUT" | undefined;
|
|
241
|
+
allowedTypes?: string[] | undefined;
|
|
242
|
+
maxFileSize?: number | undefined;
|
|
243
|
+
maxTotalSize?: number | undefined;
|
|
244
|
+
constructor(server?: string, path?: any[] | undefined, headers?: any | undefined, adapter?: any | undefined, mapper?: any | undefined, polling?: number | undefined, retry?: RetryOptions | undefined, stream?: boolean | undefined, streamType?: StreamType | undefined, displayError?: boolean | undefined, displaySuccess?: boolean | undefined, successMessage?: string | undefined, errorMessage?: string | undefined, saveAs?: string | undefined, fileContentHeader?: string | undefined, ws?: WSOptions | undefined, env?: string | undefined, uploadFiles?: (File | File[]) | undefined, uploadFieldName?: string | undefined, uploadHttpMethod?: "POST" | "PUT" | undefined, allowedTypes?: string[] | undefined, maxFileSize?: number | undefined, maxTotalSize?: number | undefined);
|
|
225
245
|
static adapt(item?: any): ApiRequest;
|
|
226
246
|
}
|
|
227
247
|
|
|
248
|
+
interface StreamProgressInterface {
|
|
249
|
+
received: number;
|
|
250
|
+
total?: number;
|
|
251
|
+
percent: number;
|
|
252
|
+
stage: 'connecting' | 'streaming' | 'complete' | 'error';
|
|
253
|
+
}
|
|
254
|
+
declare class StreamProgressModel implements StreamProgressInterface {
|
|
255
|
+
received: number;
|
|
256
|
+
total?: number | undefined;
|
|
257
|
+
percent: number;
|
|
258
|
+
stage: 'connecting' | 'streaming' | 'complete' | 'error';
|
|
259
|
+
constructor(received?: number, total?: number | undefined, percent?: number, stage?: 'connecting' | 'streaming' | 'complete' | 'error');
|
|
260
|
+
static adapt(item?: any): StreamProgressModel;
|
|
261
|
+
}
|
|
262
|
+
|
|
228
263
|
interface WSUserInterface {
|
|
229
264
|
id: string;
|
|
230
265
|
ldap?: string;
|
|
@@ -340,21 +375,101 @@ interface DatabaseStorageInterface {
|
|
|
340
375
|
declare class DatabaseStorage implements DatabaseStorageInterface {
|
|
341
376
|
table: string;
|
|
342
377
|
expiresIn: '';
|
|
343
|
-
constructor(table: string, expiresIn: '');
|
|
378
|
+
constructor(table: string | undefined, expiresIn: '');
|
|
344
379
|
static adapt(item?: any): any;
|
|
345
380
|
}
|
|
346
381
|
|
|
347
382
|
interface RequestOptionsInterface {
|
|
348
383
|
path: any[];
|
|
349
384
|
headers: any;
|
|
385
|
+
forceRefresh?: boolean;
|
|
386
|
+
ignoreQueryParams?: string[];
|
|
387
|
+
queryParamsExpiresIn?: string | number;
|
|
350
388
|
}
|
|
351
389
|
declare class RequestOptions implements RequestOptionsInterface {
|
|
352
390
|
path: any[];
|
|
353
391
|
headers: {};
|
|
354
|
-
|
|
392
|
+
forceRefresh?: boolean | undefined;
|
|
393
|
+
ignoreQueryParams?: string[] | undefined;
|
|
394
|
+
queryParamsExpiresIn?: string | number | undefined;
|
|
395
|
+
constructor(path?: any[], headers?: {}, forceRefresh?: boolean | undefined, ignoreQueryParams?: string[] | undefined, queryParamsExpiresIn?: string | number | undefined);
|
|
355
396
|
static adapt(item?: any): RequestOptions;
|
|
356
397
|
}
|
|
357
398
|
|
|
399
|
+
interface OperationResultInterface {
|
|
400
|
+
success: boolean;
|
|
401
|
+
operation: 'CREATE' | 'UPDATE' | 'DELETE';
|
|
402
|
+
}
|
|
403
|
+
declare class OperationResultModel implements OperationResultInterface {
|
|
404
|
+
success: boolean;
|
|
405
|
+
operation: 'CREATE' | 'UPDATE' | 'DELETE';
|
|
406
|
+
constructor(success?: boolean, operation?: 'CREATE' | 'UPDATE' | 'DELETE');
|
|
407
|
+
static adapt(item?: any): OperationResultModel;
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
interface StreamConfigInterface {
|
|
411
|
+
streamType: StreamType;
|
|
412
|
+
totalHeader?: string;
|
|
413
|
+
}
|
|
414
|
+
declare class StreamConfigModel implements StreamConfigInterface {
|
|
415
|
+
streamType: StreamType;
|
|
416
|
+
totalHeader: string;
|
|
417
|
+
constructor(streamType?: StreamType, totalHeader?: string);
|
|
418
|
+
static adapt(item?: any): StreamConfigModel;
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
interface StreamOutputInterface<T = any> {
|
|
422
|
+
data: T[];
|
|
423
|
+
progress: StreamProgressModel;
|
|
424
|
+
endpoint?: string;
|
|
425
|
+
}
|
|
426
|
+
declare class StreamOutputModel<T = any> implements StreamOutputInterface<T> {
|
|
427
|
+
data: T[];
|
|
428
|
+
progress: StreamProgressModel;
|
|
429
|
+
endpoint?: string | undefined;
|
|
430
|
+
constructor(data?: T[], progress?: StreamProgressModel, endpoint?: string | undefined);
|
|
431
|
+
static adapt<T = any>(item?: any): StreamOutputModel<T>;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
interface StreamEventMetadataInterface {
|
|
435
|
+
timestamp: Date;
|
|
436
|
+
streamType: StreamType;
|
|
437
|
+
contentLength?: number;
|
|
438
|
+
}
|
|
439
|
+
declare class StreamEventMetadataModel implements StreamEventMetadataInterface {
|
|
440
|
+
timestamp: Date;
|
|
441
|
+
streamType: StreamType;
|
|
442
|
+
contentLength?: number | undefined;
|
|
443
|
+
constructor(timestamp?: Date, streamType?: StreamType, contentLength?: number | undefined);
|
|
444
|
+
static adapt(item?: any): StreamEventMetadataModel;
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
interface StreamEventInterface<T = any> {
|
|
448
|
+
type: 'progress' | 'complete' | 'data';
|
|
449
|
+
data: T;
|
|
450
|
+
metadata?: StreamEventMetadataModel;
|
|
451
|
+
}
|
|
452
|
+
declare class StreamEventModel<T = any> implements StreamEventInterface<T> {
|
|
453
|
+
type: 'progress' | 'complete' | 'data';
|
|
454
|
+
data: T;
|
|
455
|
+
metadata?: StreamEventMetadataModel | undefined;
|
|
456
|
+
constructor(type?: 'progress' | 'complete' | 'data', data?: T, metadata?: StreamEventMetadataModel | undefined);
|
|
457
|
+
static adapt<T = any>(item?: any): StreamEventModel<T>;
|
|
458
|
+
}
|
|
459
|
+
|
|
460
|
+
interface ParsingResultInterface<T = any> {
|
|
461
|
+
success: boolean;
|
|
462
|
+
data?: T[];
|
|
463
|
+
error?: string;
|
|
464
|
+
}
|
|
465
|
+
declare class ParsingResultModel<T = any> implements ParsingResultInterface<T> {
|
|
466
|
+
success: boolean;
|
|
467
|
+
data?: T[] | undefined;
|
|
468
|
+
error?: string | undefined;
|
|
469
|
+
constructor(success?: boolean, data?: T[] | undefined, error?: string | undefined);
|
|
470
|
+
static adapt<T = any>(item?: any): ParsingResultModel<T>;
|
|
471
|
+
}
|
|
472
|
+
|
|
358
473
|
interface TableSchemaDefInterface {
|
|
359
474
|
table: string;
|
|
360
475
|
schema: string;
|
|
@@ -385,14 +500,17 @@ declare class DbService extends Dexie {
|
|
|
385
500
|
value: string | number;
|
|
386
501
|
}, data: any): Promise<boolean>;
|
|
387
502
|
protected createTable(tableName: string, schema: string): Promise<void>;
|
|
503
|
+
private _doCreateTable;
|
|
388
504
|
protected DBOpened(): Promise<boolean>;
|
|
389
505
|
private getCurrentSchema;
|
|
506
|
+
protected deleteAndReinitialize(): Observable<boolean>;
|
|
390
507
|
protected cleanTableName(str: string): string;
|
|
391
508
|
static ɵfac: i0.ɵɵFactoryDeclaration<DbService, never>;
|
|
392
509
|
static ɵprov: i0.ɵɵInjectableDeclaration<DbService>;
|
|
393
510
|
}
|
|
394
511
|
|
|
395
512
|
declare class DatabaseManagerService extends DbService {
|
|
513
|
+
private localStorageManager;
|
|
396
514
|
constructor();
|
|
397
515
|
getDatabaseTables(): Observable<any[]>;
|
|
398
516
|
databaseExists(): Observable<boolean>;
|
|
@@ -406,22 +524,39 @@ declare class DatabaseManagerService extends DbService {
|
|
|
406
524
|
getTableRecords(table: string): Observable<unknown>;
|
|
407
525
|
getTableRecord(table: string, id: number): Observable<any>;
|
|
408
526
|
createTableRecord(table: string, record: any): Observable<any>;
|
|
409
|
-
createTableRecords(table: string, records: any[]): Observable<
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
updateTableRecord(table: string, record: any): Observable<
|
|
413
|
-
|
|
414
|
-
} | null>;
|
|
415
|
-
updateTableRecords(table: string, records: any[]): Observable<{
|
|
416
|
-
[key: string]: any;
|
|
417
|
-
}[]>;
|
|
527
|
+
createTableRecords(table: string, records: any[]): Observable<any[]>;
|
|
528
|
+
private inferSchemaFromRecords;
|
|
529
|
+
private isMissingObjectStoreError;
|
|
530
|
+
updateTableRecord(table: string, record: any): Observable<any>;
|
|
531
|
+
updateTableRecords(table: string, records: any[]): Observable<any[]>;
|
|
418
532
|
deleteTableRecord<T>(table: string, id: number): Observable<number | null>;
|
|
419
533
|
deleteTableRecords(table: string, ids: number[]): Observable<number[]>;
|
|
420
534
|
clearTable(table: string): Observable<never[]>;
|
|
535
|
+
clearDatabase(): void;
|
|
536
|
+
resetDatabase(): Observable<boolean>;
|
|
421
537
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatabaseManagerService, never>;
|
|
422
538
|
static ɵprov: i0.ɵɵInjectableDeclaration<DatabaseManagerService>;
|
|
423
539
|
}
|
|
424
540
|
|
|
541
|
+
declare class DatabaseManagerSignalsService {
|
|
542
|
+
private readonly dbManager;
|
|
543
|
+
private readonly isPendingSignal;
|
|
544
|
+
private readonly tablesSignal;
|
|
545
|
+
private readonly databaseReadySignal;
|
|
546
|
+
readonly isPending: i0.Signal<boolean>;
|
|
547
|
+
readonly tables: i0.Signal<string[]>;
|
|
548
|
+
readonly databaseReady: i0.Signal<boolean>;
|
|
549
|
+
getDatabaseTables(): Observable<string[]>;
|
|
550
|
+
databaseExists(): Observable<boolean>;
|
|
551
|
+
hasDatabaseTable(table: string): Observable<boolean>;
|
|
552
|
+
getDatabaseTable(table: string): Observable<any>;
|
|
553
|
+
getDatabaseTableSchema(table: string): Observable<string[]>;
|
|
554
|
+
createDatabaseTable(tableDef: TableSchemaDef): Observable<boolean>;
|
|
555
|
+
updateDatabaseTableSchema(tableDef: TableSchemaDef): Observable<any>;
|
|
556
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DatabaseManagerSignalsService, never>;
|
|
557
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DatabaseManagerSignalsService>;
|
|
558
|
+
}
|
|
559
|
+
|
|
425
560
|
interface ChannelMessageInterface {
|
|
426
561
|
messageId?: number;
|
|
427
562
|
channel?: string;
|
|
@@ -458,6 +593,7 @@ declare class ChannelMessage implements ChannelMessageInterface {
|
|
|
458
593
|
* ```
|
|
459
594
|
*/
|
|
460
595
|
declare class LoggerService {
|
|
596
|
+
private static readonly DEBUG_FLAG_KEY;
|
|
461
597
|
private debugMode;
|
|
462
598
|
constructor();
|
|
463
599
|
/**
|
|
@@ -484,6 +620,7 @@ declare class LoggerService {
|
|
|
484
620
|
* Check if debug mode is enabled (development mode)
|
|
485
621
|
*/
|
|
486
622
|
isDebugEnabled(): boolean;
|
|
623
|
+
private isDebugFlagEnabled;
|
|
487
624
|
static ɵfac: i0.ɵɵFactoryDeclaration<LoggerService, never>;
|
|
488
625
|
static ɵprov: i0.ɵɵInjectableDeclaration<LoggerService>;
|
|
489
626
|
}
|
|
@@ -522,6 +659,8 @@ declare class HTTPManagerStateService<T extends {
|
|
|
522
659
|
logger: LoggerService;
|
|
523
660
|
error$: Observable<boolean>;
|
|
524
661
|
isPending$: Observable<boolean>;
|
|
662
|
+
private operationSuccess;
|
|
663
|
+
operationSuccess$: Observable<OperationResultModel | null>;
|
|
525
664
|
private page;
|
|
526
665
|
page$: Observable<number>;
|
|
527
666
|
private totalPages;
|
|
@@ -529,12 +668,16 @@ declare class HTTPManagerStateService<T extends {
|
|
|
529
668
|
private percentage;
|
|
530
669
|
percentage$: Observable<number>;
|
|
531
670
|
private hasDatabase;
|
|
532
|
-
streamedResponse:
|
|
671
|
+
streamedResponse: any[];
|
|
533
672
|
private maxRetries;
|
|
534
673
|
private retryDelay;
|
|
535
674
|
private shouldRetry;
|
|
536
675
|
private connectionStatusSubscription?;
|
|
537
676
|
private databaseOptions?;
|
|
677
|
+
private readonly volatileHeaders;
|
|
678
|
+
private requestSignatureCache;
|
|
679
|
+
private inFlightRequestSignatures;
|
|
680
|
+
private _requestCachePaths;
|
|
538
681
|
private wsRetryAttempts;
|
|
539
682
|
wsRetryAttempts$: Observable<number>;
|
|
540
683
|
private wsNextRetry;
|
|
@@ -568,7 +711,11 @@ declare class HTTPManagerStateService<T extends {
|
|
|
568
711
|
private ownSessionId;
|
|
569
712
|
wsOptions: WSOptions;
|
|
570
713
|
connectionStatus$: Observable<boolean>;
|
|
571
|
-
|
|
714
|
+
isConnecting$: Observable<boolean>;
|
|
715
|
+
wsRetryCount$: Observable<number>;
|
|
716
|
+
wsMaxRetries$: Observable<number>;
|
|
717
|
+
connectionError$: Observable<string | null>;
|
|
718
|
+
constructor(apiOptions: ApiRequest | undefined, dataType: DataType | undefined, database?: DatabaseStorage);
|
|
572
719
|
/**
|
|
573
720
|
* Add appropriate prefix to a channel name if not already present
|
|
574
721
|
*/
|
|
@@ -600,6 +747,9 @@ declare class HTTPManagerStateService<T extends {
|
|
|
600
747
|
readonly clearRecords: (observableOrValue?: void | Observable<void> | undefined) => Subscription;
|
|
601
748
|
readonly fetchRecords: (options?: RequestOptions) => ((observableOrValue?: any) => Subscription) | ((observableOrValue: any) => Subscription);
|
|
602
749
|
private initDBStorageAsync;
|
|
750
|
+
private buildSchemaFromAdapter;
|
|
751
|
+
private buildSchemaFromSample;
|
|
752
|
+
private persistStreamDataToDb;
|
|
603
753
|
readonly fetchRecord: (options: RequestOptions, method: string) => ((observableOrValue?: any) => Subscription) | ((observableOrValue: any) => Subscription);
|
|
604
754
|
readonly createRecord: (data: any | null, options?: RequestOptions) => ((observableOrValue?: any) => Subscription) | ((observableOrValue: any) => Subscription);
|
|
605
755
|
readonly updateRecord: (data: any | null, options?: RequestOptions) => ((observableOrValue?: any) => Subscription) | ((observableOrValue: any) => Subscription);
|
|
@@ -704,11 +854,163 @@ declare class HTTPManagerStateService<T extends {
|
|
|
704
854
|
*/
|
|
705
855
|
clearDatabase(): void;
|
|
706
856
|
private isEmpty;
|
|
857
|
+
/**
|
|
858
|
+
* Update request options with provided headers
|
|
859
|
+
*/
|
|
707
860
|
private updateRequestOptions;
|
|
861
|
+
private normalizeObject;
|
|
862
|
+
private filterHeaders;
|
|
863
|
+
private resolvePath;
|
|
864
|
+
private stripBasePathPrefix;
|
|
865
|
+
private getEffectiveParams;
|
|
866
|
+
private buildRequestSignature;
|
|
867
|
+
private buildSchemaSignature;
|
|
868
|
+
private setCachedRequestSignature;
|
|
869
|
+
private tryBeginInFlightRequest;
|
|
870
|
+
private endInFlightRequest;
|
|
871
|
+
private getRequestCacheMetadata;
|
|
872
|
+
private getStoredSchemaSignature;
|
|
873
|
+
private saveSchemaSignature;
|
|
874
|
+
private saveRequestCacheMetadata;
|
|
875
|
+
private clearRequestCacheMetadata;
|
|
876
|
+
private trackerNormalizePath;
|
|
877
|
+
private trackerParsePathSegment;
|
|
878
|
+
private trackerSafeDecode;
|
|
879
|
+
private trackerNormalizePathSegments;
|
|
880
|
+
private trackerNormalizeParamKey;
|
|
881
|
+
private trackerNormalizeParamValue;
|
|
882
|
+
private trackerFilterQuery;
|
|
883
|
+
private checkTrackerAllowsRequest;
|
|
708
884
|
static ɵfac: i0.ɵɵFactoryDeclaration<HTTPManagerStateService<any>, never>;
|
|
709
885
|
static ɵprov: i0.ɵɵInjectableDeclaration<HTTPManagerStateService<any>>;
|
|
710
886
|
}
|
|
711
887
|
|
|
888
|
+
interface BatchOptionsInterface {
|
|
889
|
+
mode?: 'sequential' | 'parallel';
|
|
890
|
+
stopOnError?: boolean;
|
|
891
|
+
concurrency?: number;
|
|
892
|
+
ignoreErrors?: boolean;
|
|
893
|
+
logErrors?: boolean;
|
|
894
|
+
displaySuccess?: boolean;
|
|
895
|
+
displayError?: boolean;
|
|
896
|
+
}
|
|
897
|
+
declare class BatchOptions implements BatchOptionsInterface {
|
|
898
|
+
mode: 'sequential' | 'parallel';
|
|
899
|
+
stopOnError: boolean;
|
|
900
|
+
concurrency: number;
|
|
901
|
+
ignoreErrors: boolean;
|
|
902
|
+
logErrors: boolean;
|
|
903
|
+
displaySuccess?: boolean | undefined;
|
|
904
|
+
displayError?: boolean | undefined;
|
|
905
|
+
constructor(mode?: 'sequential' | 'parallel', stopOnError?: boolean, concurrency?: number, ignoreErrors?: boolean, logErrors?: boolean, displaySuccess?: boolean | undefined, displayError?: boolean | undefined);
|
|
906
|
+
static adapt(item?: any): BatchOptions;
|
|
907
|
+
}
|
|
908
|
+
|
|
909
|
+
declare class HTTPManagerStateSignalsService<T = any> {
|
|
910
|
+
private readonly httpManagerSignalsService;
|
|
911
|
+
private readonly databaseManagerSignalsService;
|
|
912
|
+
private readonly localStorageSignalsManagerService;
|
|
913
|
+
private readonly utils;
|
|
914
|
+
private readonly logger;
|
|
915
|
+
private readonly destroyRef;
|
|
916
|
+
private readonly injector;
|
|
917
|
+
private readonly dataSignal;
|
|
918
|
+
private readonly dataObjectSignal;
|
|
919
|
+
private readonly operationSuccessSignal;
|
|
920
|
+
private readonly pageSignal;
|
|
921
|
+
private readonly totalPagesSignal;
|
|
922
|
+
private readonly percentageSignal;
|
|
923
|
+
private readonly streamedResponseSignal;
|
|
924
|
+
private readonly messagesSignal;
|
|
925
|
+
readonly data: i0.Signal<T[]>;
|
|
926
|
+
readonly dataObject: i0.Signal<T | null>;
|
|
927
|
+
readonly operationSuccess: i0.Signal<OperationResultModel | null>;
|
|
928
|
+
readonly page: i0.Signal<number>;
|
|
929
|
+
readonly totalPages: i0.Signal<number>;
|
|
930
|
+
readonly percentage: i0.Signal<number>;
|
|
931
|
+
readonly streamedResponse: i0.Signal<any[]>;
|
|
932
|
+
readonly messages: i0.Signal<any[]>;
|
|
933
|
+
readonly error: i0.WritableSignal<boolean>;
|
|
934
|
+
readonly isPending: i0.WritableSignal<boolean>;
|
|
935
|
+
readonly isConnecting: i0.Signal<boolean>;
|
|
936
|
+
readonly retryCount: i0.Signal<number>;
|
|
937
|
+
readonly maxRetries: i0.Signal<number>;
|
|
938
|
+
readonly connectionError: i0.Signal<string | null>;
|
|
939
|
+
constructor();
|
|
940
|
+
setData(items: T[]): void;
|
|
941
|
+
setDataObject(item: T | null): void;
|
|
942
|
+
setOperationSuccess(result: OperationResultModel | null): void;
|
|
943
|
+
setPage(n: number): void;
|
|
944
|
+
setTotalPages(n: number): void;
|
|
945
|
+
setPercentage(n: number): void;
|
|
946
|
+
appendStreamedItem(item: any): void;
|
|
947
|
+
clearStreamedResponse(): void;
|
|
948
|
+
clearMessages(): void;
|
|
949
|
+
getRequest<U = T>(options?: ApiRequest, params?: any[]): rxjs.Observable<U>;
|
|
950
|
+
postRequest<U extends {
|
|
951
|
+
id?: number | string;
|
|
952
|
+
} = any>(data: U, options: ApiRequest, params?: any[]): rxjs.Observable<U>;
|
|
953
|
+
putRequest<U extends {
|
|
954
|
+
id?: number | string;
|
|
955
|
+
} = any>(data: U, options: ApiRequest, params?: any[]): rxjs.Observable<U>;
|
|
956
|
+
deleteRequest<U = T>(options: ApiRequest, params?: any[]): rxjs.Observable<U>;
|
|
957
|
+
downloadRequest<U = T>(options: ApiRequest, params?: any[], saveAs?: string): rxjs.Observable<U>;
|
|
958
|
+
uploadRequest<U = T>(files: File | File[], options: ApiRequest, params?: any[]): rxjs.Observable<U>;
|
|
959
|
+
getBatchRequests<U = T>(requests: ApiRequest[], options?: BatchOptions): rxjs.Observable<U[]>;
|
|
960
|
+
getSequentialRequest<U = T>(requests: ApiRequest[], options?: BatchOptions): rxjs.Observable<U[]>;
|
|
961
|
+
getParallelRequest<U = T>(requests: ApiRequest[], options?: BatchOptions): rxjs.Observable<U[]>;
|
|
962
|
+
connect(options: WSOptions, jwtToken: string): void;
|
|
963
|
+
disconnect(): void;
|
|
964
|
+
subscribeToChannel(channel: string, userData?: any): void;
|
|
965
|
+
subscribeToChannels(channels: string[], userData?: any): void;
|
|
966
|
+
unsubscribeFromChannel(channel: string): void;
|
|
967
|
+
getSubscribedChannels(): Set<string>;
|
|
968
|
+
sendBroadcast(content: any): void;
|
|
969
|
+
sendMessageInChannel(channel: string, content: any): void;
|
|
970
|
+
sendChannelMessage(channel: string, content: any): void;
|
|
971
|
+
sendChannelMessageToChannels(channels: string[], content: any): void;
|
|
972
|
+
sendMessageToUser(user: string, content: any): void;
|
|
973
|
+
getAllChannels(): void;
|
|
974
|
+
createChannel(channel: string): void;
|
|
975
|
+
deleteChannel(channel: string): void;
|
|
976
|
+
getUsersInChannel(channel: string): void;
|
|
977
|
+
createNotificationChannel(channel: string): void;
|
|
978
|
+
getNotificationChannels(): void;
|
|
979
|
+
getTodaysNotificationChannels(): void;
|
|
980
|
+
subscribeToNotificationChannel(channel: string, options?: any, user?: any): void;
|
|
981
|
+
unsubscribeFromNotificationChannel(channel: string): void;
|
|
982
|
+
sendNotification(channel: string, content: any): void;
|
|
983
|
+
getDatabaseTables(): rxjs.Observable<string[]>;
|
|
984
|
+
databaseExists(): rxjs.Observable<boolean>;
|
|
985
|
+
hasDatabaseTable(table: string): rxjs.Observable<boolean>;
|
|
986
|
+
getDatabaseTable(table: string): rxjs.Observable<any>;
|
|
987
|
+
getDatabaseTableSchema(table: string): rxjs.Observable<string[]>;
|
|
988
|
+
createDatabaseTable(tableDef: TableSchemaDef): rxjs.Observable<boolean>;
|
|
989
|
+
updateDatabaseTableSchema(tableDef: TableSchemaDef): rxjs.Observable<any>;
|
|
990
|
+
createStore(store: {
|
|
991
|
+
id?: string;
|
|
992
|
+
name: string;
|
|
993
|
+
data: any;
|
|
994
|
+
options: SettingOptions;
|
|
995
|
+
}): void;
|
|
996
|
+
setStore(store: {
|
|
997
|
+
id: string;
|
|
998
|
+
name: string;
|
|
999
|
+
data: any;
|
|
1000
|
+
options: SettingOptions;
|
|
1001
|
+
}): void;
|
|
1002
|
+
updateStore(store: {
|
|
1003
|
+
name: string;
|
|
1004
|
+
data: any;
|
|
1005
|
+
}): void;
|
|
1006
|
+
deleteStore(store: {
|
|
1007
|
+
name: string;
|
|
1008
|
+
}): void;
|
|
1009
|
+
getStore(storeName: string): i0.Signal<any>;
|
|
1010
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<HTTPManagerStateSignalsService<any>, never>;
|
|
1011
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<HTTPManagerStateSignalsService<any>>;
|
|
1012
|
+
}
|
|
1013
|
+
|
|
712
1014
|
declare class WebsocketService {
|
|
713
1015
|
private logger;
|
|
714
1016
|
private socket;
|
|
@@ -780,13 +1082,27 @@ declare class WebsocketService {
|
|
|
780
1082
|
*/
|
|
781
1083
|
declare class WebSocketManagerService {
|
|
782
1084
|
private static socket;
|
|
783
|
-
private static
|
|
1085
|
+
private static isConnectingSubject;
|
|
1086
|
+
isConnecting$: Observable<boolean>;
|
|
784
1087
|
private static connectionInitialized;
|
|
1088
|
+
private static shouldRetry;
|
|
785
1089
|
private static lastOptions;
|
|
1090
|
+
private static lastJwtToken;
|
|
1091
|
+
private static retryCount;
|
|
1092
|
+
private static retryDelay;
|
|
1093
|
+
private static retrySubscription;
|
|
1094
|
+
private static maxRetries;
|
|
1095
|
+
private static connectionReadyNotified;
|
|
1096
|
+
private static retryCountSubject;
|
|
1097
|
+
retryCount$: Observable<number>;
|
|
1098
|
+
private static maxRetriesSubject;
|
|
1099
|
+
maxRetries$: Observable<number>;
|
|
786
1100
|
private static messages;
|
|
787
1101
|
messages$: Observable<any>;
|
|
788
1102
|
private static connectionStatus;
|
|
789
1103
|
connectionStatus$: Observable<boolean>;
|
|
1104
|
+
private static connectionError;
|
|
1105
|
+
connectionError$: Observable<string | null>;
|
|
790
1106
|
private static isSubscribed;
|
|
791
1107
|
private static subscribedChannels;
|
|
792
1108
|
subscribedChannels$: Observable<Set<string>>;
|
|
@@ -1002,6 +1318,8 @@ declare class RequestService extends WebsocketService {
|
|
|
1002
1318
|
isPending$: Observable<boolean>;
|
|
1003
1319
|
progress: BehaviorSubject<number>;
|
|
1004
1320
|
progress$: Observable<number>;
|
|
1321
|
+
streamProgress: BehaviorSubject<StreamProgressModel>;
|
|
1322
|
+
streamProgress$: Observable<StreamProgressModel>;
|
|
1005
1323
|
getRecordRequest<T>(options: ApiRequest): Observable<T>;
|
|
1006
1324
|
getRecordRequest<T>(options: ApiRequest): Observable<T>;
|
|
1007
1325
|
getRecordRequest<T>(options: ApiRequest & {
|
|
@@ -1023,6 +1341,9 @@ declare class RequestService extends WebsocketService {
|
|
|
1023
1341
|
private request;
|
|
1024
1342
|
private requestStreaming;
|
|
1025
1343
|
downloadFileRequest(options: ApiRequest): Observable<any>;
|
|
1344
|
+
uploadFileRequest(options: ApiRequest): Observable<any>;
|
|
1345
|
+
private validateUploadFiles;
|
|
1346
|
+
private buildFormData;
|
|
1026
1347
|
private handleFinalize;
|
|
1027
1348
|
private downloadFile;
|
|
1028
1349
|
private createFileType;
|
|
@@ -1042,23 +1363,6 @@ declare class RetryOptions implements RetryOptionsInterface {
|
|
|
1042
1363
|
static adapt(item?: any): RetryOptions;
|
|
1043
1364
|
}
|
|
1044
1365
|
|
|
1045
|
-
interface BatchOptionsInterface {
|
|
1046
|
-
mode?: 'sequential' | 'parallel';
|
|
1047
|
-
stopOnError?: boolean;
|
|
1048
|
-
concurrency?: number;
|
|
1049
|
-
ignoreErrors?: boolean;
|
|
1050
|
-
logErrors?: boolean;
|
|
1051
|
-
}
|
|
1052
|
-
declare class BatchOptions implements BatchOptionsInterface {
|
|
1053
|
-
mode: 'sequential' | 'parallel';
|
|
1054
|
-
stopOnError: boolean;
|
|
1055
|
-
concurrency: number;
|
|
1056
|
-
ignoreErrors: boolean;
|
|
1057
|
-
logErrors: boolean;
|
|
1058
|
-
constructor(mode?: 'sequential' | 'parallel', stopOnError?: boolean, concurrency?: number, ignoreErrors?: boolean, logErrors?: boolean);
|
|
1059
|
-
static adapt(item?: any): BatchOptions;
|
|
1060
|
-
}
|
|
1061
|
-
|
|
1062
1366
|
interface BatchResultInterface<T = any> {
|
|
1063
1367
|
request: any;
|
|
1064
1368
|
success: boolean;
|
|
@@ -1071,10 +1375,10 @@ declare class BatchResult<T = any> implements BatchResultInterface<T> {
|
|
|
1071
1375
|
request: any;
|
|
1072
1376
|
success: boolean;
|
|
1073
1377
|
data?: T | undefined;
|
|
1074
|
-
error?: any;
|
|
1378
|
+
error?: any | undefined;
|
|
1075
1379
|
index: number;
|
|
1076
1380
|
timestamp: number;
|
|
1077
|
-
constructor(request: any, success: boolean, data?: T | undefined, error?: any, index?: number, timestamp?: number);
|
|
1381
|
+
constructor(request: any, success: boolean, data?: T | undefined, error?: any | undefined, index?: number, timestamp?: number);
|
|
1078
1382
|
static adapt<T>(item?: any): BatchResult<T>;
|
|
1079
1383
|
}
|
|
1080
1384
|
|
|
@@ -1127,16 +1431,18 @@ interface ConfigHTTPOptionsInterface {
|
|
|
1127
1431
|
retry?: RetryOptions;
|
|
1128
1432
|
stream?: boolean;
|
|
1129
1433
|
displayError?: boolean;
|
|
1434
|
+
displaySuccess?: boolean;
|
|
1130
1435
|
}
|
|
1131
1436
|
declare class ConfigHTTPOptions implements ConfigHTTPOptionsInterface {
|
|
1132
1437
|
server: string;
|
|
1133
1438
|
path?: any[] | undefined;
|
|
1134
|
-
headers?: any;
|
|
1439
|
+
headers?: any | undefined;
|
|
1135
1440
|
polling?: number | undefined;
|
|
1136
1441
|
retry?: RetryOptions | undefined;
|
|
1137
1442
|
stream?: boolean | undefined;
|
|
1138
1443
|
displayError?: boolean | undefined;
|
|
1139
|
-
|
|
1444
|
+
displaySuccess?: boolean | undefined;
|
|
1445
|
+
constructor(server?: string, path?: any[] | undefined, headers?: any | undefined, polling?: number | undefined, retry?: RetryOptions | undefined, stream?: boolean | undefined, displayError?: boolean | undefined, displaySuccess?: boolean | undefined);
|
|
1140
1446
|
static adapt(item?: any): ConfigHTTPOptions;
|
|
1141
1447
|
}
|
|
1142
1448
|
|
|
@@ -1171,19 +1477,31 @@ declare class ConfigOptions implements ConfigOptionsInterface {
|
|
|
1171
1477
|
*/
|
|
1172
1478
|
declare const CONFIG_SETTINGS_TOKEN: InjectionToken<ConfigOptions>;
|
|
1173
1479
|
|
|
1174
|
-
interface
|
|
1175
|
-
|
|
1176
|
-
|
|
1177
|
-
|
|
1178
|
-
|
|
1179
|
-
}
|
|
1180
|
-
declare class
|
|
1181
|
-
|
|
1182
|
-
|
|
1183
|
-
|
|
1184
|
-
|
|
1185
|
-
constructor(
|
|
1186
|
-
static adapt(item?: any):
|
|
1480
|
+
interface InvalidFileInfoInterface {
|
|
1481
|
+
fileName: string;
|
|
1482
|
+
fileSize: number;
|
|
1483
|
+
fileType: string;
|
|
1484
|
+
errors: string[];
|
|
1485
|
+
}
|
|
1486
|
+
declare class InvalidFileInfoModel implements InvalidFileInfoInterface {
|
|
1487
|
+
fileName: string;
|
|
1488
|
+
fileSize: number;
|
|
1489
|
+
fileType: string;
|
|
1490
|
+
errors: string[];
|
|
1491
|
+
constructor(fileName?: string, fileSize?: number, fileType?: string, errors?: string[]);
|
|
1492
|
+
static adapt(item?: any): InvalidFileInfoModel;
|
|
1493
|
+
}
|
|
1494
|
+
interface UploadValidationErrorInterface {
|
|
1495
|
+
invalidFiles: InvalidFileInfoModel[];
|
|
1496
|
+
validFilesCount: number;
|
|
1497
|
+
totalFilesCount: number;
|
|
1498
|
+
}
|
|
1499
|
+
declare class UploadValidationErrorModel implements UploadValidationErrorInterface {
|
|
1500
|
+
invalidFiles: InvalidFileInfoModel[];
|
|
1501
|
+
validFilesCount: number;
|
|
1502
|
+
totalFilesCount: number;
|
|
1503
|
+
constructor(invalidFiles?: InvalidFileInfoModel[], validFilesCount?: number, totalFilesCount?: number);
|
|
1504
|
+
static adapt(item?: any): UploadValidationErrorModel;
|
|
1187
1505
|
}
|
|
1188
1506
|
|
|
1189
1507
|
declare class ObjectMergerService {
|
|
@@ -1247,10 +1565,10 @@ declare class MessageTrackerService implements OnDestroy {
|
|
|
1247
1565
|
* Map<channel, retryCount>
|
|
1248
1566
|
*/
|
|
1249
1567
|
private gapRetryCount;
|
|
1250
|
-
/** Batch acknowledgment timer */
|
|
1251
|
-
private batchAckTimer;
|
|
1252
1568
|
/** Subscription to WebSocket messages */
|
|
1253
1569
|
private messagesSubscription;
|
|
1570
|
+
/** Subject to signal destroy for takeUntil */
|
|
1571
|
+
private destroy$;
|
|
1254
1572
|
/**
|
|
1255
1573
|
* Track channels we want to be subscribed to (survives disconnect/reconnect)
|
|
1256
1574
|
* This is separate from WebSocketManagerService.subscribedChannels which tracks
|
|
@@ -1275,14 +1593,6 @@ declare class MessageTrackerService implements OnDestroy {
|
|
|
1275
1593
|
* Queue message for batch acknowledgment
|
|
1276
1594
|
*/
|
|
1277
1595
|
private queueAck;
|
|
1278
|
-
/**
|
|
1279
|
-
* Start batch acknowledgment timer
|
|
1280
|
-
*/
|
|
1281
|
-
private startBatchAckTimer;
|
|
1282
|
-
/**
|
|
1283
|
-
* Stop batch acknowledgment timer
|
|
1284
|
-
*/
|
|
1285
|
-
private stopBatchAckTimer;
|
|
1286
1596
|
/**
|
|
1287
1597
|
* Send batch acknowledgments for all channels with pending acks
|
|
1288
1598
|
*/
|
|
@@ -1363,6 +1673,10 @@ declare class HTTPManagerService<T> extends RequestService {
|
|
|
1363
1673
|
connectionStatus$: Observable<boolean>;
|
|
1364
1674
|
messages$: Observable<any>;
|
|
1365
1675
|
subscribedChannels$: Observable<Set<string>>;
|
|
1676
|
+
isConnecting$: Observable<boolean>;
|
|
1677
|
+
retryCount$: Observable<number>;
|
|
1678
|
+
maxRetries$: Observable<number>;
|
|
1679
|
+
connectionError$: Observable<string | null>;
|
|
1366
1680
|
private countdown;
|
|
1367
1681
|
countdown$: Observable<number>;
|
|
1368
1682
|
private error;
|
|
@@ -1371,6 +1685,7 @@ declare class HTTPManagerService<T> extends RequestService {
|
|
|
1371
1685
|
data$: Observable<any>;
|
|
1372
1686
|
private polling$;
|
|
1373
1687
|
config: ApiRequest;
|
|
1688
|
+
streamProgress$: Observable<http_request_manager.StreamProgressModel>;
|
|
1374
1689
|
constructor(configOptions?: ConfigOptions | undefined);
|
|
1375
1690
|
/**
|
|
1376
1691
|
* Connect to WebSocket server
|
|
@@ -1466,11 +1781,13 @@ declare class HTTPManagerService<T> extends RequestService {
|
|
|
1466
1781
|
}>(data: T, options: ApiRequest, params?: any[]): Observable<T>;
|
|
1467
1782
|
deleteRequest<T>(options: ApiRequest, params?: any[]): Observable<T>;
|
|
1468
1783
|
downloadRequest<T>(options: ApiRequest, params?: any[], saveAs?: string): Observable<T>;
|
|
1784
|
+
uploadRequest<T>(files: File | File[], options: ApiRequest, params?: any[]): Observable<T>;
|
|
1469
1785
|
private createObservable;
|
|
1470
1786
|
private createRequest;
|
|
1471
1787
|
private prepareRequestData;
|
|
1472
1788
|
private handleError;
|
|
1473
1789
|
private handleErrorWithSnackBar;
|
|
1790
|
+
private handleSuccessWithSnackBar;
|
|
1474
1791
|
private stopPolling;
|
|
1475
1792
|
private defineReqOptions;
|
|
1476
1793
|
/**
|
|
@@ -1486,14 +1803,14 @@ declare class HTTPManagerService<T> extends RequestService {
|
|
|
1486
1803
|
* @param options Optional batch configuration
|
|
1487
1804
|
* @returns Observable emitting array of data when all requests complete
|
|
1488
1805
|
*/
|
|
1489
|
-
getSequentialRequest<U = T>(requests: ApiRequest[], options?: BatchOptions): Observable<U[]>;
|
|
1806
|
+
getSequentialRequest<U = T>(requests: ApiRequest[], options?: BatchOptions, successMessage?: string, errorMessage?: string): Observable<U[]>;
|
|
1490
1807
|
/**
|
|
1491
1808
|
* Execute requests in parallel with concurrency control
|
|
1492
1809
|
* @param requests Array of ApiRequest configurations
|
|
1493
1810
|
* @param options Optional batch configuration with concurrency limit
|
|
1494
1811
|
* @returns Observable emitting array of data when all requests complete
|
|
1495
1812
|
*/
|
|
1496
|
-
getParallelRequest<U = T>(requests: ApiRequest[], options?: BatchOptions): Observable<U[]>;
|
|
1813
|
+
getParallelRequest<U = T>(requests: ApiRequest[], options?: BatchOptions, successMessage?: string, errorMessage?: string): Observable<U[]>;
|
|
1497
1814
|
/**
|
|
1498
1815
|
* Execute multiple HTTP requests and emit individual state changes in real-time
|
|
1499
1816
|
* @param requests Array of ApiRequest configurations
|
|
@@ -1521,6 +1838,7 @@ declare class RequestSignalsService extends WebsocketService {
|
|
|
1521
1838
|
private headersService;
|
|
1522
1839
|
isPending: i0.WritableSignal<boolean>;
|
|
1523
1840
|
progress: i0.WritableSignal<number>;
|
|
1841
|
+
streamProgress: i0.WritableSignal<StreamProgressModel>;
|
|
1524
1842
|
isIdle: i0.Signal<boolean>;
|
|
1525
1843
|
getRecordRequest<T>(options: ApiRequest): Observable<T>;
|
|
1526
1844
|
getRecordRequest<T>(options: ApiRequest & {
|
|
@@ -1538,6 +1856,9 @@ declare class RequestSignalsService extends WebsocketService {
|
|
|
1538
1856
|
private request;
|
|
1539
1857
|
private requestStreamingOperator;
|
|
1540
1858
|
downloadFileRequest(options: ApiRequest): Observable<any>;
|
|
1859
|
+
uploadFileRequest(options: ApiRequest): Observable<any>;
|
|
1860
|
+
private validateUploadFiles;
|
|
1861
|
+
private buildFormData;
|
|
1541
1862
|
private handleFinalize;
|
|
1542
1863
|
private downloadFile;
|
|
1543
1864
|
private createFileType;
|
|
@@ -1557,8 +1878,12 @@ declare class HTTPManagerSignalsService<T> extends RequestSignalsService {
|
|
|
1557
1878
|
messages$: Observable<any>;
|
|
1558
1879
|
subscribedChannels$: Observable<Set<string>>;
|
|
1559
1880
|
countdown: i0.WritableSignal<number>;
|
|
1560
|
-
error: i0.WritableSignal<
|
|
1881
|
+
error: i0.WritableSignal<boolean>;
|
|
1561
1882
|
data: i0.WritableSignal<any>;
|
|
1883
|
+
isConnecting: i0.Signal<boolean>;
|
|
1884
|
+
retryCount: i0.Signal<number>;
|
|
1885
|
+
maxRetries: i0.Signal<number>;
|
|
1886
|
+
connectionError: i0.Signal<string | null>;
|
|
1562
1887
|
private polling$;
|
|
1563
1888
|
config: ApiRequest;
|
|
1564
1889
|
constructor(configOptions?: ConfigOptions | undefined);
|
|
@@ -1655,11 +1980,13 @@ declare class HTTPManagerSignalsService<T> extends RequestSignalsService {
|
|
|
1655
1980
|
}>(data: T, options: ApiRequest, params?: any[]): Observable<T>;
|
|
1656
1981
|
deleteRequest<T>(options: ApiRequest, params?: any[]): Observable<T>;
|
|
1657
1982
|
downloadRequest<T>(options: ApiRequest, params?: any[], saveAs?: string): Observable<T>;
|
|
1983
|
+
uploadRequest<T>(files: File | File[], options: ApiRequest, params?: any[]): Observable<T>;
|
|
1658
1984
|
private createObservable;
|
|
1659
1985
|
private createRequest;
|
|
1660
1986
|
private prepareRequestData;
|
|
1661
1987
|
private handleError;
|
|
1662
1988
|
private handleErrorWithSnackBar;
|
|
1989
|
+
private handleSuccessWithSnackBar;
|
|
1663
1990
|
private stopPolling;
|
|
1664
1991
|
private defineReqOptions;
|
|
1665
1992
|
/**
|
|
@@ -1675,14 +2002,14 @@ declare class HTTPManagerSignalsService<T> extends RequestSignalsService {
|
|
|
1675
2002
|
* @param options Optional batch configuration
|
|
1676
2003
|
* @returns Observable emitting array of data when all requests complete
|
|
1677
2004
|
*/
|
|
1678
|
-
getSequentialRequest<U = T>(requests: ApiRequest[], options?: BatchOptions): Observable<U[]>;
|
|
2005
|
+
getSequentialRequest<U = T>(requests: ApiRequest[], options?: BatchOptions, successMessage?: string, errorMessage?: string): Observable<U[]>;
|
|
1679
2006
|
/**
|
|
1680
2007
|
* Execute requests in parallel with concurrency control
|
|
1681
2008
|
* @param requests Array of ApiRequest configurations
|
|
1682
2009
|
* @param options Optional batch configuration with concurrency limit
|
|
1683
2010
|
* @returns Observable emitting array of data when all requests complete
|
|
1684
2011
|
*/
|
|
1685
|
-
getParallelRequest<U = T>(requests: ApiRequest[], options?: BatchOptions): Observable<U[]>;
|
|
2012
|
+
getParallelRequest<U = T>(requests: ApiRequest[], options?: BatchOptions, successMessage?: string, errorMessage?: string): Observable<U[]>;
|
|
1686
2013
|
/**
|
|
1687
2014
|
* Execute multiple HTTP requests and emit individual state changes in real-time
|
|
1688
2015
|
* @param requests Array of ApiRequest configurations
|
|
@@ -1710,23 +2037,6 @@ declare function delayedRetry<T>(delayMs: number, maxRetry?: number): (src: Obse
|
|
|
1710
2037
|
|
|
1711
2038
|
declare function requestPolling<T>(pollInterval: number, stopCondition$: Observable<any>, isPending$: any): (source: Observable<T>) => Observable<T>;
|
|
1712
2039
|
|
|
1713
|
-
interface StreamConfig {
|
|
1714
|
-
streamType: StreamType;
|
|
1715
|
-
}
|
|
1716
|
-
interface StreamEvent<T = any> {
|
|
1717
|
-
type: 'progress' | 'complete' | 'data';
|
|
1718
|
-
data: T;
|
|
1719
|
-
metadata?: {
|
|
1720
|
-
timestamp: Date;
|
|
1721
|
-
streamType: StreamType;
|
|
1722
|
-
contentLength?: number;
|
|
1723
|
-
};
|
|
1724
|
-
}
|
|
1725
|
-
interface ParsingResult<T = any> {
|
|
1726
|
-
success: boolean;
|
|
1727
|
-
data?: T[];
|
|
1728
|
-
error?: string;
|
|
1729
|
-
}
|
|
1730
2040
|
/**
|
|
1731
2041
|
* COMPREHENSIVE REQUEST STREAMING OPERATOR - FULLY ABSTRACTED
|
|
1732
2042
|
* Refactored for better type safety and memory management
|
|
@@ -1742,15 +2052,15 @@ interface ParsingResult<T = any> {
|
|
|
1742
2052
|
* this.http.get(url, options).pipe(requestStreaming()).subscribe(data => {...})
|
|
1743
2053
|
* this.http.get(url, options).pipe(requestStreaming({ streamType: StreamType.NDJSON })).subscribe(data => {...})
|
|
1744
2054
|
*/
|
|
1745
|
-
declare function requestStreaming<T = any>(config?:
|
|
2055
|
+
declare function requestStreaming<T = any>(config?: StreamConfigModel): OperatorFunction<any, StreamOutputModel<T>>;
|
|
1746
2056
|
/**
|
|
1747
2057
|
* Convenience functions for common use cases
|
|
1748
2058
|
*/
|
|
1749
|
-
declare function streamJSON<T = any>(): OperatorFunction<any, T
|
|
1750
|
-
declare function streamNDJSON<T = any>(): OperatorFunction<any, T
|
|
1751
|
-
declare function streamAI<T = any>(): OperatorFunction<any, T
|
|
1752
|
-
declare function streamEvents<T = any>(): OperatorFunction<any, T
|
|
1753
|
-
declare function streamAuto<T = any>(): OperatorFunction<any, T
|
|
2059
|
+
declare function streamJSON<T = any>(): OperatorFunction<any, StreamOutputModel<T>>;
|
|
2060
|
+
declare function streamNDJSON<T = any>(): OperatorFunction<any, StreamOutputModel<T>>;
|
|
2061
|
+
declare function streamAI<T = any>(): OperatorFunction<any, StreamOutputModel<T>>;
|
|
2062
|
+
declare function streamEvents<T = any>(): OperatorFunction<any, StreamOutputModel<T>>;
|
|
2063
|
+
declare function streamAuto<T = any>(): OperatorFunction<any, StreamOutputModel<T>>;
|
|
1754
2064
|
|
|
1755
2065
|
interface State {
|
|
1756
2066
|
localStores: StorageData[];
|
|
@@ -1833,6 +2143,7 @@ declare class LocalStorageManagerService extends ComponentStore<State> implement
|
|
|
1833
2143
|
* Returns true if data appears corrupted
|
|
1834
2144
|
*/
|
|
1835
2145
|
checkForCorruptedData(): boolean;
|
|
2146
|
+
private tryParseSettingsArray;
|
|
1836
2147
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageManagerService, [{ optional: true; }]>;
|
|
1837
2148
|
static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageManagerService>;
|
|
1838
2149
|
}
|
|
@@ -1845,6 +2156,7 @@ declare class LocalStorageSignalsManagerService {
|
|
|
1845
2156
|
defaultOptions: SettingOptions;
|
|
1846
2157
|
stateRetrieved: boolean;
|
|
1847
2158
|
encrypted: boolean;
|
|
2159
|
+
destroyRef: DestroyRef;
|
|
1848
2160
|
app: AppService;
|
|
1849
2161
|
utils: UtilsService;
|
|
1850
2162
|
objectMergerService: ObjectMergerService;
|
|
@@ -1883,6 +2195,7 @@ declare class LocalStorageSignalsManagerService {
|
|
|
1883
2195
|
private isObjectOrArray;
|
|
1884
2196
|
private isString;
|
|
1885
2197
|
private validStoreName;
|
|
2198
|
+
private tryParseSettingsArray;
|
|
1886
2199
|
static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageSignalsManagerService, [{ optional: true; }]>;
|
|
1887
2200
|
static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageSignalsManagerService>;
|
|
1888
2201
|
}
|
|
@@ -1900,6 +2213,25 @@ declare class StateStorageOptions implements StateStorageOptionsInterface {
|
|
|
1900
2213
|
static adapt(item?: any): StateStorageOptions;
|
|
1901
2214
|
}
|
|
1902
2215
|
|
|
2216
|
+
interface StateOperationResultInterface {
|
|
2217
|
+
success: boolean;
|
|
2218
|
+
operation: 'CREATE' | 'UPDATE' | 'DELETE';
|
|
2219
|
+
key?: string;
|
|
2220
|
+
value?: any;
|
|
2221
|
+
timestamp: number;
|
|
2222
|
+
error?: string;
|
|
2223
|
+
}
|
|
2224
|
+
declare class StateOperationResult implements StateOperationResultInterface {
|
|
2225
|
+
success: boolean;
|
|
2226
|
+
operation: 'CREATE' | 'UPDATE' | 'DELETE';
|
|
2227
|
+
key?: string | undefined;
|
|
2228
|
+
value?: any | undefined;
|
|
2229
|
+
timestamp: number;
|
|
2230
|
+
error?: string | undefined;
|
|
2231
|
+
constructor(success?: boolean, operation?: 'CREATE' | 'UPDATE' | 'DELETE', key?: string | undefined, value?: any | undefined, timestamp?: number, error?: string | undefined);
|
|
2232
|
+
static adapt(item?: any): StateOperationResult;
|
|
2233
|
+
}
|
|
2234
|
+
|
|
1903
2235
|
interface StateStoreManagerData$1<T> {
|
|
1904
2236
|
}
|
|
1905
2237
|
declare class StoreStateManagerService<T extends object = StateStoreManagerData$1<any>> extends ComponentStore<T> {
|
|
@@ -1908,13 +2240,18 @@ declare class StoreStateManagerService<T extends object = StateStoreManagerData$
|
|
|
1908
2240
|
subscriptions: Subscription;
|
|
1909
2241
|
settings: any;
|
|
1910
2242
|
private isRestoring;
|
|
2243
|
+
private operationResult;
|
|
2244
|
+
operationResult$: Observable<StateOperationResult | null>;
|
|
1911
2245
|
constructor(options?: StateStorageOptions);
|
|
1912
2246
|
private static init;
|
|
1913
2247
|
init(options?: StateStorageOptions): void;
|
|
1914
2248
|
restoreState(): Subscription;
|
|
1915
2249
|
updateState(state: any): void;
|
|
1916
|
-
readonly data$:
|
|
2250
|
+
readonly data$: Observable<any>;
|
|
1917
2251
|
readonly updateData: (() => void) | ((observableOrValue: any) => Subscription);
|
|
2252
|
+
createRecord(key: string, value: any): void;
|
|
2253
|
+
updateRecord(key: string, value: any): void;
|
|
2254
|
+
deleteRecord(key: string): void;
|
|
1918
2255
|
static ɵfac: i0.ɵɵFactoryDeclaration<StoreStateManagerService<any>, never>;
|
|
1919
2256
|
static ɵprov: i0.ɵɵInjectableDeclaration<StoreStateManagerService<any>>;
|
|
1920
2257
|
}
|
|
@@ -1923,9 +2260,12 @@ interface StateStoreManagerData<T> {
|
|
|
1923
2260
|
}
|
|
1924
2261
|
declare class StoreStateManagerSignalsService<T extends object = StateStoreManagerData<any>> {
|
|
1925
2262
|
private localStorageManagerService;
|
|
2263
|
+
private injector;
|
|
1926
2264
|
private state;
|
|
1927
2265
|
private isRestoring;
|
|
1928
2266
|
private settings;
|
|
2267
|
+
private operationResultSignal;
|
|
2268
|
+
readonly operationResult: i0.Signal<StateOperationResult | null>;
|
|
1929
2269
|
readonly data: i0.Signal<T | null>;
|
|
1930
2270
|
readonly transformedData: i0.Signal<any>;
|
|
1931
2271
|
constructor();
|
|
@@ -1933,11 +2273,102 @@ declare class StoreStateManagerSignalsService<T extends object = StateStoreManag
|
|
|
1933
2273
|
restoreState(): void;
|
|
1934
2274
|
updateState(state: Partial<T>): void;
|
|
1935
2275
|
updateData(data: Partial<T>): void;
|
|
2276
|
+
createRecord(key: string, value: any): void;
|
|
2277
|
+
updateRecord(key: string, value: any): void;
|
|
2278
|
+
deleteRecord(key: string): void;
|
|
1936
2279
|
resetState(): void;
|
|
1937
2280
|
static ɵfac: i0.ɵɵFactoryDeclaration<StoreStateManagerSignalsService<any>, never>;
|
|
1938
2281
|
static ɵprov: i0.ɵɵInjectableDeclaration<StoreStateManagerSignalsService<any>>;
|
|
1939
2282
|
}
|
|
1940
2283
|
|
|
2284
|
+
interface DexieSqlOptions {
|
|
2285
|
+
strict?: boolean;
|
|
2286
|
+
}
|
|
2287
|
+
|
|
2288
|
+
declare class DexieSqlService {
|
|
2289
|
+
private readonly _parser;
|
|
2290
|
+
private readonly _validator;
|
|
2291
|
+
private readonly _planner;
|
|
2292
|
+
private readonly _executor;
|
|
2293
|
+
/**
|
|
2294
|
+
* Execute a MySQL-syntax SQL SELECT string against the DexieJS IndexedDB database.
|
|
2295
|
+
* Returns an Observable that emits the result array and completes, or errors with
|
|
2296
|
+
* SqlParseError / SqlValidationError if the query is invalid.
|
|
2297
|
+
*/
|
|
2298
|
+
query(sql: string, options?: DexieSqlOptions): Observable<any[]>;
|
|
2299
|
+
private _run;
|
|
2300
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<DexieSqlService, never>;
|
|
2301
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<DexieSqlService>;
|
|
2302
|
+
}
|
|
2303
|
+
|
|
2304
|
+
declare class SqlParseError extends Error {
|
|
2305
|
+
name: string;
|
|
2306
|
+
constructor(message: string);
|
|
2307
|
+
}
|
|
2308
|
+
declare class SqlValidationError extends Error {
|
|
2309
|
+
name: string;
|
|
2310
|
+
constructor(message: string);
|
|
2311
|
+
}
|
|
2312
|
+
|
|
2313
|
+
declare enum ExecutionPlanType {
|
|
2314
|
+
SIMPLE = "SIMPLE",
|
|
2315
|
+
AND_BOUNDED = "AND_BOUNDED",
|
|
2316
|
+
AND_COMPOUND = "AND_COMPOUND",
|
|
2317
|
+
OR_MERGE = "OR_MERGE",
|
|
2318
|
+
JOIN_HASH = "JOIN_HASH"
|
|
2319
|
+
}
|
|
2320
|
+
type DexieOp = 'equals' | 'notEqual' | 'above' | 'aboveOrEqual' | 'below' | 'belowOrEqual' | 'between' | 'anyOf' | 'noneOf' | 'startsWith';
|
|
2321
|
+
interface PlanStep {
|
|
2322
|
+
col: string;
|
|
2323
|
+
op: DexieOp;
|
|
2324
|
+
val: any;
|
|
2325
|
+
}
|
|
2326
|
+
interface JoinInfo {
|
|
2327
|
+
leftTable: string;
|
|
2328
|
+
rightTable: string;
|
|
2329
|
+
leftKey: string;
|
|
2330
|
+
rightKey: string;
|
|
2331
|
+
joinType: 'inner' | 'left';
|
|
2332
|
+
}
|
|
2333
|
+
interface ExecutionPlan {
|
|
2334
|
+
type: ExecutionPlanType;
|
|
2335
|
+
table: string;
|
|
2336
|
+
primaryStep: PlanStep | null;
|
|
2337
|
+
boundedFilters: PlanStep[];
|
|
2338
|
+
compoundIndex?: string;
|
|
2339
|
+
compoundValues?: any[];
|
|
2340
|
+
compoundWarnCols?: string[];
|
|
2341
|
+
orBranches?: PlanStep[];
|
|
2342
|
+
joinInfo?: JoinInfo;
|
|
2343
|
+
orderBy?: {
|
|
2344
|
+
col: string;
|
|
2345
|
+
dir: 'asc' | 'desc';
|
|
2346
|
+
} | null;
|
|
2347
|
+
limit?: number | null;
|
|
2348
|
+
offset?: number | null;
|
|
2349
|
+
projection?: string[] | null;
|
|
2350
|
+
aggregate?: 'count' | null;
|
|
2351
|
+
distinct?: boolean;
|
|
2352
|
+
dedupeKey?: string;
|
|
2353
|
+
}
|
|
2354
|
+
|
|
2355
|
+
interface ParseResult {
|
|
2356
|
+
ast: AST;
|
|
2357
|
+
tableList: string[];
|
|
2358
|
+
columnList: string[];
|
|
2359
|
+
}
|
|
2360
|
+
|
|
2361
|
+
interface TableSchemaInfo {
|
|
2362
|
+
pk: string;
|
|
2363
|
+
simpleIndexes: string[];
|
|
2364
|
+
compoundIndexes: string[][];
|
|
2365
|
+
}
|
|
2366
|
+
interface ValidatedQuery {
|
|
2367
|
+
ast: any;
|
|
2368
|
+
schemas: Record<string, TableSchemaInfo>;
|
|
2369
|
+
aliases: Record<string, string>;
|
|
2370
|
+
}
|
|
2371
|
+
|
|
1941
2372
|
declare class HeadersService {
|
|
1942
2373
|
headers: {};
|
|
1943
2374
|
generateHeaders(headers?: Record<string, string>): {
|
|
@@ -2202,6 +2633,21 @@ declare class RequestManagerBasicDemoComponent implements OnInit {
|
|
|
2202
2633
|
static ɵcmp: i0.ɵɵComponentDeclaration<RequestManagerBasicDemoComponent, "app-request-manager-basic-demo", never, {}, {}, never, never, false, never>;
|
|
2203
2634
|
}
|
|
2204
2635
|
|
|
2636
|
+
interface UserDataInterface {
|
|
2637
|
+
ldap: string;
|
|
2638
|
+
name: string;
|
|
2639
|
+
email: string;
|
|
2640
|
+
color: string;
|
|
2641
|
+
}
|
|
2642
|
+
declare class UserData implements UserDataInterface {
|
|
2643
|
+
ldap: string;
|
|
2644
|
+
name: string;
|
|
2645
|
+
email: string;
|
|
2646
|
+
color: string;
|
|
2647
|
+
constructor(ldap?: string, name?: string, email?: string, color?: string);
|
|
2648
|
+
static adapt(item?: any): UserData;
|
|
2649
|
+
}
|
|
2650
|
+
|
|
2205
2651
|
declare class HttpRequestServicesDemoComponent implements OnInit {
|
|
2206
2652
|
private configOptions?;
|
|
2207
2653
|
wsServer: string;
|
|
@@ -2223,6 +2669,12 @@ declare class HttpRequestServicesDemoComponent implements OnInit {
|
|
|
2223
2669
|
new: boolean;
|
|
2224
2670
|
divider?: undefined;
|
|
2225
2671
|
disabled?: undefined;
|
|
2672
|
+
} | {
|
|
2673
|
+
name: string;
|
|
2674
|
+
value: string;
|
|
2675
|
+
new: boolean;
|
|
2676
|
+
divider: boolean;
|
|
2677
|
+
disabled?: undefined;
|
|
2226
2678
|
} | {
|
|
2227
2679
|
name: string;
|
|
2228
2680
|
value: string;
|
|
@@ -2263,11 +2715,12 @@ declare class ClientInfo$1 implements ClientInfoInterface$1 {
|
|
|
2263
2715
|
declare class StateManagerDemoService extends HTTPManagerStateService<any> {
|
|
2264
2716
|
constructor();
|
|
2265
2717
|
setAPIOptions(apiOptions: ApiRequest, dataType: DataType, database?: DatabaseStorage): void;
|
|
2266
|
-
getClients(): void;
|
|
2718
|
+
getClients(options?: RequestOptions): void;
|
|
2267
2719
|
createClient(data: any): void;
|
|
2268
2720
|
updateClient(data: ClientInfo$1): void;
|
|
2269
2721
|
deleteClient(data: ClientInfo$1): void;
|
|
2270
|
-
streamRequest(): void;
|
|
2722
|
+
streamRequest(options?: RequestOptions): void;
|
|
2723
|
+
sendWsMessage(channel: string, method: string, path: (string | number)[]): void;
|
|
2271
2724
|
static ɵfac: i0.ɵɵFactoryDeclaration<StateManagerDemoService, never>;
|
|
2272
2725
|
static ɵprov: i0.ɵɵInjectableDeclaration<StateManagerDemoService>;
|
|
2273
2726
|
}
|
|
@@ -2301,10 +2754,13 @@ declare class RequestManagerStateDemoComponent implements OnInit {
|
|
|
2301
2754
|
adapter?: Function;
|
|
2302
2755
|
mapper?: Function;
|
|
2303
2756
|
stateManagerDemoService: StateManagerDemoService;
|
|
2757
|
+
databaseManagerService: DatabaseManagerService;
|
|
2304
2758
|
displayedColumns: string[];
|
|
2305
2759
|
getColumnsFromData(data: any[]): string[];
|
|
2306
2760
|
updateDisplayedColumns(data: any[]): void;
|
|
2307
2761
|
isObject(value: any): boolean;
|
|
2762
|
+
getRecordLabel(item: any): string;
|
|
2763
|
+
private normalizeLabelValue;
|
|
2308
2764
|
getDataLength(data: any): number;
|
|
2309
2765
|
selectedRecord$?: Observable<ClientInfo$1 | null>;
|
|
2310
2766
|
fb: FormBuilder;
|
|
@@ -2335,10 +2791,16 @@ declare class RequestManagerStateDemoComponent implements OnInit {
|
|
|
2335
2791
|
STREAM_AI$: Observable<any>;
|
|
2336
2792
|
failedState: any;
|
|
2337
2793
|
pollingState: any;
|
|
2794
|
+
DBState: any;
|
|
2338
2795
|
questionControl: _angular_forms.FormControl<string | null>;
|
|
2339
2796
|
requestType: string;
|
|
2340
2797
|
prompts: string[];
|
|
2341
2798
|
AIType: number;
|
|
2799
|
+
wsMessageForm: _angular_forms.FormGroup<{
|
|
2800
|
+
channel: _angular_forms.FormControl<string | null>;
|
|
2801
|
+
method: _angular_forms.FormControl<string | null>;
|
|
2802
|
+
path: _angular_forms.FormControl<string | null>;
|
|
2803
|
+
}>;
|
|
2342
2804
|
get dataObservable$(): BehaviorSubject<any> | BehaviorSubject<null> | BehaviorSubject<{
|
|
2343
2805
|
response: string;
|
|
2344
2806
|
}[]>;
|
|
@@ -2369,6 +2831,8 @@ declare class RequestManagerStateDemoComponent implements OnInit {
|
|
|
2369
2831
|
database: _angular_forms.FormGroup<{
|
|
2370
2832
|
table: _angular_forms.FormControl<string | null>;
|
|
2371
2833
|
expiresIn: _angular_forms.FormControl<string | null>;
|
|
2834
|
+
ignoreQueryParams: _angular_forms.FormControl<string | null>;
|
|
2835
|
+
queryParamsExpiresIn: _angular_forms.FormControl<string | null>;
|
|
2372
2836
|
}>;
|
|
2373
2837
|
}>;
|
|
2374
2838
|
get hasChanged(): boolean;
|
|
@@ -2376,6 +2840,8 @@ declare class RequestManagerStateDemoComponent implements OnInit {
|
|
|
2376
2840
|
get database(): {
|
|
2377
2841
|
table: string | null;
|
|
2378
2842
|
expiresIn: string | null;
|
|
2843
|
+
ignoreQueryParams: string | null;
|
|
2844
|
+
queryParamsExpiresIn: string | null;
|
|
2379
2845
|
} | undefined;
|
|
2380
2846
|
get retry(): {
|
|
2381
2847
|
times: number | null;
|
|
@@ -2404,12 +2870,17 @@ declare class RequestManagerStateDemoComponent implements OnInit {
|
|
|
2404
2870
|
onStreamType(type: string): void;
|
|
2405
2871
|
addHeader(): void;
|
|
2406
2872
|
removeHeader(index: number): void;
|
|
2873
|
+
private parsePathInput;
|
|
2874
|
+
private normalizeQueryValue;
|
|
2407
2875
|
compileRequest(): {
|
|
2408
2876
|
apiOptions: ApiRequest;
|
|
2409
|
-
path:
|
|
2877
|
+
path: any[];
|
|
2410
2878
|
};
|
|
2879
|
+
private parseIgnoreParams;
|
|
2880
|
+
private buildDemoRequestOptions;
|
|
2411
2881
|
onSetStateOptions(): void;
|
|
2412
2882
|
onClearRecords(): void;
|
|
2883
|
+
deleteDatabase(): void;
|
|
2413
2884
|
onGetRequest(): void;
|
|
2414
2885
|
onCreateRequest(): void;
|
|
2415
2886
|
onUpdateRequest(): void;
|
|
@@ -2418,6 +2889,7 @@ declare class RequestManagerStateDemoComponent implements OnInit {
|
|
|
2418
2889
|
errorHandling(err: any, type: string): void;
|
|
2419
2890
|
onSelectAIType(type: number): void;
|
|
2420
2891
|
onClearHistory(): void;
|
|
2892
|
+
onSendWsMessage(): void;
|
|
2421
2893
|
static ɵfac: i0.ɵɵFactoryDeclaration<RequestManagerStateDemoComponent, never>;
|
|
2422
2894
|
static ɵcmp: i0.ɵɵComponentDeclaration<RequestManagerStateDemoComponent, "app-request-manager-state-demo", never, { "server": { "alias": "server"; "required": false; }; "adapter": { "alias": "adapter"; "required": false; }; "mapper": { "alias": "mapper"; "required": false; }; }, {}, never, never, false, never>;
|
|
2423
2895
|
}
|
|
@@ -3020,7 +3492,7 @@ declare class NotificationServiceDemo {
|
|
|
3020
3492
|
static ɵprov: i0.ɵɵInjectableDeclaration<NotificationServiceDemo>;
|
|
3021
3493
|
}
|
|
3022
3494
|
|
|
3023
|
-
declare class RequestManagerWsDemoComponent implements OnInit {
|
|
3495
|
+
declare class RequestManagerWsDemoComponent implements OnInit, OnChanges {
|
|
3024
3496
|
httpManagerService: HTTPManagerService<any>;
|
|
3025
3497
|
stateService: StateServiceDemo;
|
|
3026
3498
|
fb: FormBuilder;
|
|
@@ -3030,12 +3502,15 @@ declare class RequestManagerWsDemoComponent implements OnInit {
|
|
|
3030
3502
|
user: any;
|
|
3031
3503
|
path: string[];
|
|
3032
3504
|
user$: rxjs.Observable<WSUser | null>;
|
|
3033
|
-
|
|
3034
|
-
|
|
3505
|
+
retryCount$: rxjs.Observable<number>;
|
|
3506
|
+
maxRetries$: rxjs.Observable<number>;
|
|
3035
3507
|
connectionStatus$: rxjs.Observable<boolean>;
|
|
3508
|
+
isConnecting$: rxjs.Observable<boolean>;
|
|
3509
|
+
connectionError$: rxjs.Observable<string | null>;
|
|
3036
3510
|
data$: rxjs.Observable<any>;
|
|
3037
3511
|
isPending$: rxjs.Observable<boolean>;
|
|
3038
3512
|
ngOnInit(): void;
|
|
3513
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3039
3514
|
static ɵfac: i0.ɵɵFactoryDeclaration<RequestManagerWsDemoComponent, never>;
|
|
3040
3515
|
static ɵcmp: i0.ɵɵComponentDeclaration<RequestManagerWsDemoComponent, "app-request-manager-ws-demo", never, { "server": { "alias": "server"; "required": false; }; "wsServer": { "alias": "wsServer"; "required": false; }; "jwtToken": { "alias": "jwtToken"; "required": false; }; "user": { "alias": "user"; "required": false; }; "path": { "alias": "path"; "required": false; }; }, {}, never, never, false, never>;
|
|
3041
3516
|
}
|
|
@@ -3070,11 +3545,17 @@ interface TableRecord {
|
|
|
3070
3545
|
}
|
|
3071
3546
|
declare class DatabaseDataDemoComponent implements OnInit, OnDestroy {
|
|
3072
3547
|
db: DatabaseManagerService;
|
|
3548
|
+
sql: DexieSqlService;
|
|
3073
3549
|
private destroy$;
|
|
3074
3550
|
dataToDisplay: TableRecord[];
|
|
3075
3551
|
dataSource: DatabaseDataSource;
|
|
3076
3552
|
displayedColumns: string[];
|
|
3077
3553
|
names: string[];
|
|
3554
|
+
sqlQuery: string;
|
|
3555
|
+
sqlResults: any[];
|
|
3556
|
+
sqlResultCols: string[];
|
|
3557
|
+
sqlError: string | null;
|
|
3558
|
+
sqlLoading: boolean;
|
|
3078
3559
|
constructor();
|
|
3079
3560
|
ngOnDestroy(): void;
|
|
3080
3561
|
addData(): void;
|
|
@@ -3091,6 +3572,7 @@ declare class DatabaseDataDemoComponent implements OnInit, OnDestroy {
|
|
|
3091
3572
|
createTableRecord<T>(table: string, record: T): Observable<any>;
|
|
3092
3573
|
updateTableRecord<T>(table: string, record: T): Observable<any>;
|
|
3093
3574
|
deleteTableRecord<T>(table: string, id: number): Observable<any>;
|
|
3575
|
+
runSqlQuery(): void;
|
|
3094
3576
|
static ɵfac: i0.ɵɵFactoryDeclaration<DatabaseDataDemoComponent, never>;
|
|
3095
3577
|
static ɵcmp: i0.ɵɵComponentDeclaration<DatabaseDataDemoComponent, "app-database-data-demo", never, {}, {}, never, never, false, never>;
|
|
3096
3578
|
}
|
|
@@ -3117,7 +3599,7 @@ declare class StateDataRequestService extends HTTPManagerStateService<any> {
|
|
|
3117
3599
|
static ɵprov: i0.ɵɵInjectableDeclaration<StateDataRequestService>;
|
|
3118
3600
|
}
|
|
3119
3601
|
|
|
3120
|
-
declare class WsDataControlComponent implements OnInit {
|
|
3602
|
+
declare class WsDataControlComponent implements OnInit, OnChanges {
|
|
3121
3603
|
server: string;
|
|
3122
3604
|
wsServer: string;
|
|
3123
3605
|
jwtToken: string;
|
|
@@ -3130,7 +3612,9 @@ declare class WsDataControlComponent implements OnInit {
|
|
|
3130
3612
|
userAction$: rxjs.Observable<any>;
|
|
3131
3613
|
data$: rxjs.Observable<any>;
|
|
3132
3614
|
isUser: (user: any, userItem: any) => boolean;
|
|
3615
|
+
getUserLabel: (user: any) => any;
|
|
3133
3616
|
ngOnInit(): void;
|
|
3617
|
+
ngOnChanges(changes: SimpleChanges): void;
|
|
3134
3618
|
onGetData(): void;
|
|
3135
3619
|
onAddData(): void;
|
|
3136
3620
|
onUpdateData(data: any[]): void;
|
|
@@ -3194,11 +3678,11 @@ declare class DisplayConfig implements DisplayConfigInterface {
|
|
|
3194
3678
|
type: DisplayType;
|
|
3195
3679
|
supportsMarkdown?: boolean | undefined;
|
|
3196
3680
|
stackable?: boolean | undefined;
|
|
3197
|
-
queueBehavior?:
|
|
3681
|
+
queueBehavior?: "replace" | "queue" | "ignore" | undefined;
|
|
3198
3682
|
autoDismiss?: number | undefined;
|
|
3199
3683
|
width?: string | undefined;
|
|
3200
3684
|
height?: string | undefined;
|
|
3201
|
-
constructor(type?: DisplayType, supportsMarkdown?: boolean | undefined, stackable?: boolean | undefined, queueBehavior?:
|
|
3685
|
+
constructor(type?: DisplayType, supportsMarkdown?: boolean | undefined, stackable?: boolean | undefined, queueBehavior?: "replace" | "queue" | "ignore" | undefined, autoDismiss?: number | undefined, width?: string | undefined, height?: string | undefined);
|
|
3202
3686
|
static adapt(item?: any): DisplayConfig;
|
|
3203
3687
|
}
|
|
3204
3688
|
|
|
@@ -3224,8 +3708,8 @@ declare class MessageContent implements MessageContentInterface {
|
|
|
3224
3708
|
actions?: Action[] | undefined;
|
|
3225
3709
|
messageType?: string | undefined;
|
|
3226
3710
|
icon?: string | undefined;
|
|
3227
|
-
data?: any;
|
|
3228
|
-
constructor(displayConfig?: DisplayConfig | undefined, title?: string | undefined, message?: string, slides?: Slide[] | undefined, image?: string | undefined, images?: string[] | undefined, actions?: Action[] | undefined, messageType?: string | undefined, icon?: string | undefined, data?: any);
|
|
3711
|
+
data?: any | undefined;
|
|
3712
|
+
constructor(displayConfig?: DisplayConfig | undefined, title?: string | undefined, message?: string, slides?: Slide[] | undefined, image?: string | undefined, images?: string[] | undefined, actions?: Action[] | undefined, messageType?: string | undefined, icon?: string | undefined, data?: any | undefined);
|
|
3229
3713
|
static adapt(item?: any): MessageContent;
|
|
3230
3714
|
}
|
|
3231
3715
|
interface CommunicationMessageInterface {
|
|
@@ -3442,6 +3926,42 @@ declare class WsChatsComponent implements OnInit {
|
|
|
3442
3926
|
static ɵcmp: i0.ɵɵComponentDeclaration<WsChatsComponent, "app-ws-chats", never, {}, {}, never, never, false, never>;
|
|
3443
3927
|
}
|
|
3444
3928
|
|
|
3929
|
+
interface UploadStateInterface {
|
|
3930
|
+
selectedFiles: File[];
|
|
3931
|
+
isUploading: boolean;
|
|
3932
|
+
progress: number;
|
|
3933
|
+
currentFile: string | null;
|
|
3934
|
+
errorMessage: string | null;
|
|
3935
|
+
successMessage: string | null;
|
|
3936
|
+
}
|
|
3937
|
+
declare class UploadStateModel implements UploadStateInterface {
|
|
3938
|
+
selectedFiles: File[];
|
|
3939
|
+
isUploading: boolean;
|
|
3940
|
+
progress: number;
|
|
3941
|
+
currentFile: string | null;
|
|
3942
|
+
errorMessage: string | null;
|
|
3943
|
+
successMessage: string | null;
|
|
3944
|
+
constructor(selectedFiles?: File[], isUploading?: boolean, progress?: number, currentFile?: string | null, errorMessage?: string | null, successMessage?: string | null);
|
|
3945
|
+
static adapt(item?: any): UploadStateModel;
|
|
3946
|
+
}
|
|
3947
|
+
|
|
3948
|
+
declare class UploadDemoComponent implements OnInit, OnDestroy {
|
|
3949
|
+
private httpManager;
|
|
3950
|
+
private toastService;
|
|
3951
|
+
uploadState: UploadStateModel;
|
|
3952
|
+
allowedTypes: string[];
|
|
3953
|
+
maxFileSize: number;
|
|
3954
|
+
ngOnInit(): void;
|
|
3955
|
+
ngOnDestroy(): void;
|
|
3956
|
+
onFileSelected(event: Event): void;
|
|
3957
|
+
validateFile(file: File): string | null;
|
|
3958
|
+
clearSelection(): void;
|
|
3959
|
+
startUpload(): void;
|
|
3960
|
+
getFileSizeString(size: number): string;
|
|
3961
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<UploadDemoComponent, never>;
|
|
3962
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<UploadDemoComponent, "lib-upload-demo", never, {}, {}, never, never, false, never>;
|
|
3963
|
+
}
|
|
3964
|
+
|
|
3445
3965
|
declare class SpinnerComponent implements OnInit {
|
|
3446
3966
|
color: ThemePalette;
|
|
3447
3967
|
diameter?: number;
|
|
@@ -3523,7 +4043,7 @@ declare class FileDownloaderModule {
|
|
|
3523
4043
|
declare class HttpRequestManagerModule {
|
|
3524
4044
|
static forRoot(config?: ConfigOptions): ModuleWithProviders<HttpRequestManagerModule>;
|
|
3525
4045
|
static ɵfac: i0.ɵɵFactoryDeclaration<HttpRequestManagerModule, never>;
|
|
3526
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<HttpRequestManagerModule, [typeof RequestManagerBasicDemoComponent, typeof HttpRequestServicesDemoComponent, typeof RequestManagerStateDemoComponent, typeof RequestManagerDemoComponent, typeof RequestSignalsManagerDemoComponent, typeof LocalStorageDemoComponent, typeof LocalStorageSignalsDemoComponent, typeof RequestManagerWsDemoComponent, typeof StoreStateManagerDemoComponent, typeof DatabaseDataDemoComponent, typeof WsDataControlComponent, typeof WsMessagingComponent, typeof WsNotificationsComponent, typeof WsAiMessagingComponent, typeof WsChatsComponent], [typeof i4.CommonModule, typeof
|
|
4046
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<HttpRequestManagerModule, [typeof RequestManagerBasicDemoComponent, typeof HttpRequestServicesDemoComponent, typeof RequestManagerStateDemoComponent, typeof RequestManagerDemoComponent, typeof RequestSignalsManagerDemoComponent, typeof LocalStorageDemoComponent, typeof LocalStorageSignalsDemoComponent, typeof RequestManagerWsDemoComponent, typeof StoreStateManagerDemoComponent, typeof DatabaseDataDemoComponent, typeof WsDataControlComponent, typeof WsMessagingComponent, typeof WsNotificationsComponent, typeof WsAiMessagingComponent, typeof WsChatsComponent, typeof UploadDemoComponent], [typeof i4.CommonModule, typeof i18.ToastMessageDisplayModule, typeof _angular_forms.FormsModule, typeof _angular_forms.ReactiveFormsModule, typeof i7.MatButtonModule, typeof i21.MatTabsModule, typeof i22.MatSelectModule, typeof i23.MatChipsModule, typeof i24.MatMenuModule, typeof i5.MatIconModule, typeof i26.MatTableModule, typeof i27.MatButtonToggleModule, typeof i28.MatAutocompleteModule, typeof i29.MatProgressBarModule, typeof i6.MatProgressSpinnerModule, typeof i31.MatSlideToggleModule, typeof i32.MatDividerModule, typeof i33.MatFormFieldModule, typeof i34.MatInputModule, typeof i35.MatToolbarModule, typeof i31.MatSlideToggleModule, typeof i36.TranslateModule, typeof i37.MatSidenavModule, typeof i38.MatDatepickerModule, typeof i39.MatNativeDateModule, typeof i40.MatCardModule, typeof FileDownloaderModule], [typeof HttpRequestServicesDemoComponent, typeof UploadDemoComponent]>;
|
|
3527
4047
|
static ɵinj: i0.ɵɵInjectorDeclaration<HttpRequestManagerModule>;
|
|
3528
4048
|
}
|
|
3529
4049
|
|
|
@@ -3539,8 +4059,8 @@ declare class StoreStateSignalsDemoComponent implements OnInit {
|
|
|
3539
4059
|
reset(): void;
|
|
3540
4060
|
addToHistory(): void;
|
|
3541
4061
|
static ɵfac: i0.ɵɵFactoryDeclaration<StoreStateSignalsDemoComponent, never>;
|
|
3542
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StoreStateSignalsDemoComponent, "app-store-state-signals-demo", never, {}, {}, never, never,
|
|
4062
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StoreStateSignalsDemoComponent, "app-store-state-signals-demo", never, {}, {}, never, never, true, never>;
|
|
3543
4063
|
}
|
|
3544
4064
|
|
|
3545
|
-
export { ApiRequest, AppService, AsymmetricalEncryptionService, BatchOptions, BatchResult, CONFIG_SETTINGS_TOKEN, ChannelType, ConfigHTTPOptions, ConfigOptions, DataType, DatabaseDataDemoComponent, DatabaseManagerService, DatabaseStorage, DbService, ErrorDisplaySettings, GlobalStoreOptions, HTTPManagerService, HTTPManagerSignalsService, HTTPManagerStateService, HeadersService, HttpRequestManagerModule, HttpRequestServicesDemoComponent, LocalStorageDemoComponent, LocalStorageManagerService, LocalStorageOptions, LocalStorageSignalsDemoComponent, LocalStorageSignalsManagerService, LoggerService, NotificationMessage, PathQueryService, PublicMessage, Random, RandomHSLColor, RandomHexColor, RandomNumber, RandomNumbers, RandomNumbersUnique, RandomPaletteColor, RandomSignature, RandomStr, RandomVisibleColor, RequestErrorInterceptor, RequestHeadersInterceptor, RequestManagerDemoComponent, RequestManagerStateDemoComponent, RequestOptions, RequestService, RequestSignalsService, RetryOptions, SettingOptions, StateMessage, StateStorageOptions, StorageData, StorageOption, StorageType, StoreStateManagerService, StoreStateManagerSignalsService, StoreStateSignalsDemoComponent, StreamType, SymmetricalEncryptionService, TableSchemaDef, UUID, UUID_STR, UserData, UtilsService, WSOptions, WebSocketMessageService, WithCredentialsInterceptor, calculateBatchProgress, countdown, createChannelName, delayedRetry, isErrorState, isPendingState, isSuccessState, requestPolling, requestStreaming, streamAI, streamAuto, streamEvents, streamJSON, streamNDJSON };
|
|
3546
|
-
export type { APIStateManagerData, ApiRequestInterface, BatchErrorState, BatchOptionsInterface, BatchPendingState, BatchProgress, BatchRequestState, BatchResultInterface, BatchSuccessState, ConfigHTTPOptionsInterface, ConfigOptionsInterface, DatabaseStorageInterface, ErrorDisplaySettingsInterface, GlobalStoreOptionsInterface, LocalStorageOptionsInterface, NotificationMessageInterface,
|
|
4065
|
+
export { ApiRequest, AppService, AsymmetricalEncryptionService, BatchOptions, BatchResult, CONFIG_SETTINGS_TOKEN, ChannelType, ConfigHTTPOptions, ConfigOptions, DataType, DatabaseDataDemoComponent, DatabaseManagerService, DatabaseManagerSignalsService, DatabaseStorage, DbService, DexieSqlService, ErrorDisplaySettings, ExecutionPlanType, GlobalStoreOptions, HTTPManagerService, HTTPManagerSignalsService, HTTPManagerStateService, HTTPManagerStateSignalsService, HeadersService, HttpRequestManagerModule, HttpRequestServicesDemoComponent, InvalidFileInfoModel, LocalStorageDemoComponent, LocalStorageManagerService, LocalStorageOptions, LocalStorageSignalsDemoComponent, LocalStorageSignalsManagerService, LoggerService, NotificationMessage, OperationResultModel, ParsingResultModel, PathQueryService, PublicMessage, Random, RandomHSLColor, RandomHexColor, RandomNumber, RandomNumbers, RandomNumbersUnique, RandomPaletteColor, RandomSignature, RandomStr, RandomVisibleColor, RequestErrorInterceptor, RequestHeadersInterceptor, RequestManagerDemoComponent, RequestManagerStateDemoComponent, RequestOptions, RequestService, RequestSignalsService, RetryOptions, SettingOptions, SqlParseError, SqlValidationError, StateMessage, StateOperationResult, StateStorageOptions, StorageData, StorageOption, StorageType, StoreStateManagerService, StoreStateManagerSignalsService, StoreStateSignalsDemoComponent, StreamConfigModel, StreamEventMetadataModel, StreamEventModel, StreamOutputModel, StreamProgressModel, StreamType, SymmetricalEncryptionService, TableSchemaDef, UUID, UUID_STR, UploadDemoComponent, UploadValidationErrorModel, UserData, UtilsService, WSOptions, WebSocketMessageService, WithCredentialsInterceptor, calculateBatchProgress, countdown, createChannelName, delayedRetry, isErrorState, isPendingState, isSuccessState, requestPolling, requestStreaming, streamAI, streamAuto, streamEvents, streamJSON, streamNDJSON };
|
|
4066
|
+
export type { APIStateManagerData, ApiRequestInterface, BatchErrorState, BatchOptionsInterface, BatchPendingState, BatchProgress, BatchRequestState, BatchResultInterface, BatchSuccessState, ConfigHTTPOptionsInterface, ConfigOptionsInterface, DatabaseStorageInterface, DexieOp, DexieSqlOptions, ErrorDisplaySettingsInterface, ExecutionPlan, GlobalStoreOptionsInterface, InvalidFileInfoInterface, JoinInfo, LocalStorageOptionsInterface, NotificationMessageInterface, OperationResultInterface, ParseResult, ParsingResultInterface, PlanStep, PublicMessageInterface, RequestOptionsInterface, RetryOptionsInterface, SettingOptionsInterface, State, StateMessageInterface, StateOperationResultInterface, StateStorageOptionsInterface, StateStoreManagerData$1 as StateStoreManagerData, StorageDataInterface, StorageOptionInterface, StreamConfigInterface, StreamEventInterface, StreamEventMetadataInterface, StreamOutputInterface, StreamProgressInterface, TableRecord, TableSchemaDefInterface, TableSchemaInfo, UploadValidationErrorInterface, UserDataInterface, ValidatedQuery, WSOptionsInterface };
|