@genesislcap/grid-pro 14.393.3 → 14.393.4

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.
Files changed (44) hide show
  1. package/dist/custom-elements.json +21 -5
  2. package/dist/dts/datasource/base.types.d.ts +1 -1
  3. package/dist/dts/datasource/index.d.ts +3 -2
  4. package/dist/dts/datasource/index.d.ts.map +1 -1
  5. package/dist/dts/grid-pro-genesis-datasource/index.d.ts +2 -1
  6. package/dist/dts/grid-pro-genesis-datasource/index.d.ts.map +1 -1
  7. package/dist/esm/datasource/index.js +3 -2
  8. package/dist/esm/grid-pro-genesis-datasource/index.js +2 -1
  9. package/dist/grid-pro.api.json +1079 -76
  10. package/dist/grid-pro.d.ts +175 -1
  11. package/docs/api/grid-pro.basedatasourceerrorevent.md +15 -0
  12. package/docs/api/grid-pro.basedatasourceerroreventdetail.md +16 -0
  13. package/docs/api/grid-pro.basedatasourceeventnames.md +16 -0
  14. package/docs/api/grid-pro.datachangedeventdetail.changes.md +16 -0
  15. package/docs/api/grid-pro.datachangedeventdetail.md +56 -0
  16. package/docs/api/grid-pro.dataclearedeventdetail.includeschema.md +11 -0
  17. package/docs/api/grid-pro.dataclearedeventdetail.md +58 -0
  18. package/docs/api/grid-pro.dataloadedeventdetail.data.md +11 -0
  19. package/docs/api/grid-pro.dataloadedeventdetail.isinitialload.md +11 -0
  20. package/docs/api/grid-pro.dataloadedeventdetail.md +75 -0
  21. package/docs/api/grid-pro.datasourceerroreventdetail.md +73 -0
  22. package/docs/api/grid-pro.datasourceerroreventdetail.message.md +11 -0
  23. package/docs/api/grid-pro.datasourceerroreventdetail.type.md +11 -0
  24. package/docs/api/grid-pro.datasourceevent.md +57 -0
  25. package/docs/api/grid-pro.datasourceevent.type.md +11 -0
  26. package/docs/api/grid-pro.datasourceeventdetail.md +15 -0
  27. package/docs/api/grid-pro.datasourceeventnames.md +34 -0
  28. package/docs/api/grid-pro.genesisgriddatasourceelement.handleerrors.md +1 -1
  29. package/docs/api/grid-pro.initializeeventdetail.keepcoldefsonclearrowdata.md +11 -0
  30. package/docs/api/grid-pro.initializeeventdetail.md +73 -0
  31. package/docs/api/grid-pro.initializeeventdetail.options.md +15 -0
  32. package/docs/api/grid-pro.md +165 -0
  33. package/docs/api/grid-pro.moredataavailableeventdetail.hasmoredata.md +11 -0
  34. package/docs/api/grid-pro.moredataavailableeventdetail.md +73 -0
  35. package/docs/api/grid-pro.moredataavailableeventdetail.sourceref.md +11 -0
  36. package/docs/api/grid-pro.schemaupdatedeventdetail.md +75 -0
  37. package/docs/api/grid-pro.schemaupdatedeventdetail.metadata.md +11 -0
  38. package/docs/api/grid-pro.schemaupdatedeventdetail.schema.md +11 -0
  39. package/docs/api/grid-pro.serversidedatasourceoptions.md +45 -0
  40. package/docs/api/grid-pro.sizechangedeventdetail.md +73 -0
  41. package/docs/api/grid-pro.sizechangedeventdetail.oldvalue.md +11 -0
  42. package/docs/api/grid-pro.sizechangedeventdetail.value.md +11 -0
  43. package/docs/api-report.md.api.md +149 -1
  44. package/package.json +13 -13
@@ -40,6 +40,7 @@ import { CountdownUnit } from '@genesislcap/foundation-ui';
40
40
  import { CSSDesignToken } from '@microsoft/fast-foundation';
41
41
  import { CSSVarTokenMap } from '@genesislcap/foundation-ui';
42
42
  import { CsvExportParams } from '@ag-grid-community/core';
43
+ import { DataserverParams } from '@genesislcap/foundation-comms';
43
44
  import { Datasource } from '@genesislcap/foundation-comms';
44
45
  import { DatasourceOptions } from '@genesislcap/foundation-comms';
45
46
  import { DatasourceStatus } from '@genesislcap/foundation-comms';
@@ -55,6 +56,7 @@ import { EditableCallback as EditableCallback_2 } from 'ag-grid-community';
55
56
  import { ElementStyles } from '@microsoft/fast-element';
56
57
  import { FieldMetadata } from '@genesislcap/foundation-comms';
57
58
  import { FieldTypeEnum } from '@genesislcap/foundation-comms';
59
+ import { FilteredDataServerResult } from '@genesislcap/foundation-comms';
58
60
  import { FoundationElement } from '@microsoft/fast-foundation';
59
61
  import { FoundationElementRegistry } from '@microsoft/fast-foundation';
60
62
  import { FoundationLayoutContainer } from '@genesislcap/foundation-utils';
@@ -102,14 +104,18 @@ import { KVStorage } from '@genesislcap/foundation-comms';
102
104
  import { LayoutCacheContainer } from '@genesislcap/foundation-utils';
103
105
  import { Logger } from '@genesislcap/foundation-logger';
104
106
  import { MenuItemDef } from 'ag-grid-community';
107
+ import { MetadataDetail } from '@genesislcap/foundation-comms';
105
108
  import { NewValueParams } from '@ag-grid-community/core';
106
109
  import { NewValueParams as NewValueParams_2 } from 'ag-grid-community';
107
110
  import { OverrideFoundationElementDefinition } from '@microsoft/fast-foundation';
111
+ import { RequestParams } from '@genesislcap/foundation-comms';
112
+ import { RequestServerResult } from '@genesislcap/foundation-comms';
108
113
  import { RowDragCallback } from '@ag-grid-community/core';
109
114
  import { RowDragCallback as RowDragCallback_2 } from 'ag-grid-community';
110
115
  import { RowSpanParams } from '@ag-grid-community/core';
111
116
  import { RowSpanParams as RowSpanParams_2 } from 'ag-grid-community';
112
117
  import { Session } from '@genesislcap/foundation-comms';
118
+ import { SocketObservable } from '@genesislcap/foundation-comms';
113
119
  import { SortComparatorFn } from 'ag-grid-community/dist/types/src/entities/colDef';
114
120
  import { SortDef } from 'ag-grid-community';
115
121
  import { SortDirection } from 'ag-grid-community';
@@ -532,15 +538,30 @@ export declare const agThemeTokenMapCSS: (themeName: string, tokenMap: CSSVarTok
532
538
  */
533
539
  export declare const backgroundSwatch: SwatchRGB;
534
540
 
541
+ /**
542
+ * Base datasource error event.
543
+ * @public
544
+ */
545
+ export declare type BaseDatasourceErrorEvent = CustomEvent<BaseDatasourceErrorEventDetail>;
546
+
535
547
  /**
536
548
  * Base datasource error event detail.
537
549
  * @public
538
550
  */
539
- declare type BaseDatasourceErrorEventDetail = {
551
+ export declare type BaseDatasourceErrorEventDetail = {
540
552
  message: string;
541
553
  type: 'connection' | 'resource-validation' | 'resource-type' | 'metadata' | 'stream' | 'criteria' | 'unknown';
542
554
  };
543
555
 
556
+ /**
557
+ * Base datasource error event names.
558
+ * @public
559
+ */
560
+ export declare const baseDatasourceEventNames: {
561
+ readonly error: "base-datasource-error";
562
+ readonly connected: "base-datasource-connected";
563
+ };
564
+
544
565
  /**
545
566
  * The AG Boolean Renderer element.
546
567
  * @public
@@ -638,6 +659,80 @@ export declare const criteriaJoin = " && ";
638
659
  */
639
660
  export declare const csvExportParams: CsvExportParams;
640
661
 
662
+ /**
663
+ * Event detail for data changes
664
+ */
665
+ export declare interface DataChangedEventDetail {
666
+ changes: {
667
+ add?: any[];
668
+ remove?: any[];
669
+ update?: any[];
670
+ insertIndex?: number;
671
+ };
672
+ }
673
+
674
+ /**
675
+ * Event detail for data clearing
676
+ */
677
+ export declare interface DataClearedEventDetail {
678
+ includeSchema?: boolean;
679
+ }
680
+
681
+ /**
682
+ * Event detail for data loading
683
+ */
684
+ export declare interface DataLoadedEventDetail {
685
+ data: any[];
686
+ isInitialLoad?: boolean;
687
+ }
688
+
689
+ /**
690
+ * Event detail for error events
691
+ */
692
+ export declare interface DatasourceErrorEventDetail {
693
+ message: string;
694
+ type: 'stream' | 'criteria' | 'connection' | 'unknown';
695
+ }
696
+
697
+ /**
698
+ * Generic datasource event interface
699
+ */
700
+ export declare interface DatasourceEvent<T = DatasourceEventDetail> extends CustomEvent<T> {
701
+ type: keyof typeof datasourceEventNames;
702
+ }
703
+
704
+ /**
705
+ * Union type for all datasource event details
706
+ */
707
+ export declare type DatasourceEventDetail = InitializeEventDetail | DataLoadedEventDetail | DataChangedEventDetail | SchemaUpdatedEventDetail | MoreDataAvailableEventDetail | SizeChangedEventDetail | DataClearedEventDetail | DatasourceErrorEventDetail;
708
+
709
+ /**
710
+ * Event names for datasource-grid communication
711
+ * These represent datasource operations, not grid-specific actions
712
+ */
713
+ export declare const datasourceEventNames: {
714
+ readonly initialize: "datasource-initialize";
715
+ readonly ready: "datasource-ready";
716
+ readonly dataLoaded: "datasource-data-loaded";
717
+ readonly dataChanged: "datasource-data-changed";
718
+ readonly dataCleared: "datasource-data-cleared";
719
+ readonly schemaUpdated: "datasource-schema-updated";
720
+ readonly loadingStarted: "datasource-loading-started";
721
+ readonly loadingFinished: "datasource-loading-finished";
722
+ readonly noDataAvailable: "datasource-no-data-available";
723
+ readonly moreDataAvailable: "datasource-more-data-available";
724
+ readonly filtersRestored: "datasource-filters-restored";
725
+ readonly error: "datasource-error";
726
+ readonly destroy: "datasource-destroy";
727
+ readonly sizeChanged: "datasource-size-changed";
728
+ readonly cacheFilterConfig: "cache-filter-config";
729
+ readonly refreshServerSide: "refresh-server-side";
730
+ readonly setServerSideDatasource: "set-server-side-datasource";
731
+ readonly addGridCssClass: "add-grid-css-class";
732
+ readonly removeGridCssClass: "remove-grid-css-class";
733
+ readonly applyServerSideTransaction: "apply-server-side-transaction";
734
+ };
735
+
641
736
  /**
642
737
  * Available datasource types
643
738
  * @remarks - This type is used to define what kind of datasource will be used in components like entity manager.
@@ -5276,6 +5371,18 @@ export declare type GrigProGenesisDatasourceSizeChangedEventDetail = {
5276
5371
  oldValue: number;
5277
5372
  };
5278
5373
 
5374
+ /**
5375
+ * Event detail for datasource initialization
5376
+ */
5377
+ export declare interface InitializeEventDetail {
5378
+ keepColDefsOnClearRowData: boolean;
5379
+ options: {
5380
+ getRowId?: (params: any) => string;
5381
+ columnDefs?: ColDef[];
5382
+ [key: string]: any;
5383
+ };
5384
+ }
5385
+
5279
5386
  /**
5280
5387
  * Implementation for the KV Storage State Persistence interface.
5281
5388
  * @public
@@ -5395,6 +5502,14 @@ export declare const logger: Logger;
5395
5502
  */
5396
5503
  export declare function mergeAndDedupColDefWithColumnState(colDefs: ColDef[], columnStates: ColumnState[]): ColDef[];
5397
5504
 
5505
+ /**
5506
+ * Event detail for more data availability
5507
+ */
5508
+ export declare interface MoreDataAvailableEventDetail {
5509
+ hasMoreData: boolean;
5510
+ sourceRef: string;
5511
+ }
5512
+
5398
5513
  /**
5399
5514
  * The Genesis Datasource event payload types.
5400
5515
  * @public
@@ -5579,6 +5694,14 @@ export declare class RowCountStatusBarComponent implements IStatusPanelComp {
5579
5694
  destroy(): void;
5580
5695
  }
5581
5696
 
5697
+ /**
5698
+ * Event detail for schema updates
5699
+ */
5700
+ export declare interface SchemaUpdatedEventDetail {
5701
+ schema: ColDef[];
5702
+ metadata?: FieldMetadata[];
5703
+ }
5704
+
5582
5705
  /**
5583
5706
  * The interface for the select renderer parameters
5584
5707
  * @public
@@ -5654,6 +5777,57 @@ export declare interface SelectRendererOptions {
5654
5777
  tooltip?: string;
5655
5778
  }
5656
5779
 
5780
+ /**
5781
+ * Type definition for configuration options used for streams.
5782
+ * @remarks
5783
+ * Used by {@link @genesislcap/grid-pro#GridProServerSideDatasource} constructor to configure options for the stream.
5784
+ * @alpha
5785
+ */
5786
+ export declare type ServerSideDatasourceOptions = {
5787
+ createDataserverStreamFunc?: (existingParams?: any) => Promise<SocketObservable<FilteredDataServerResult>>;
5788
+ createReqRepRequestFunc?: (existingParams?: any) => Promise<RequestServerResult>;
5789
+ /**
5790
+ * Function to create a polling stream for REQUEST_SERVER resources.
5791
+ * @remarks Returns both the stream and the datasource instance for proper lifecycle management.
5792
+ */
5793
+ createReqRepStreamFunc?: (params?: any) => Promise<{
5794
+ stream: SocketObservable<RequestServerResult>;
5795
+ datasource: Datasource;
5796
+ }>;
5797
+ /**
5798
+ * Callback function invoked when a polling update is received.
5799
+ * @remarks Used by REQUEST_SERVER resources to apply updates via applyServerSideTransaction.
5800
+ */
5801
+ onPollingUpdateFunc?: (result: RequestServerResult) => void;
5802
+ /**
5803
+ * Callback function to reset the previous poll result comparison state.
5804
+ * @remarks Called when the polling stream is destroyed or recreated with new parameters.
5805
+ */
5806
+ resetPreviousPollResultFunc?: () => void;
5807
+ reloadResourceDataFunc?: (params: any) => Promise<void>;
5808
+ errorHandlerFunc?: (message: string, type: string) => void;
5809
+ resourceName: string;
5810
+ resourceParams?: DataserverParams | RequestParams;
5811
+ resourceIndexes?: Map<string, [string]>;
5812
+ resourceColDefs?: MetadataDetail[];
5813
+ maxRows?: number;
5814
+ maxView?: number;
5815
+ rowId?: string;
5816
+ pagination?: boolean;
5817
+ zeroBasedViewNumber?: boolean;
5818
+ pagingMode?: PagingMode | undefined;
5819
+ criteriaOnlyRequest?: boolean;
5820
+ usePolling?: boolean;
5821
+ };
5822
+
5823
+ /**
5824
+ * Event detail for size changes
5825
+ */
5826
+ export declare interface SizeChangedEventDetail {
5827
+ value: number;
5828
+ oldValue: number;
5829
+ }
5830
+
5657
5831
  /**
5658
5832
  * Represents a state persistence and its capabilities.
5659
5833
  * Provides methods to set and get columns from the storage.
@@ -0,0 +1,15 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [BaseDatasourceErrorEvent](./grid-pro.basedatasourceerrorevent.md)
4
+
5
+ ## BaseDatasourceErrorEvent type
6
+
7
+ Base datasource error event.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export type BaseDatasourceErrorEvent = CustomEvent<BaseDatasourceErrorEventDetail>;
13
+ ```
14
+ **References:** [BaseDatasourceErrorEventDetail](./grid-pro.basedatasourceerroreventdetail.md)
15
+
@@ -0,0 +1,16 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [BaseDatasourceErrorEventDetail](./grid-pro.basedatasourceerroreventdetail.md)
4
+
5
+ ## BaseDatasourceErrorEventDetail type
6
+
7
+ Base datasource error event detail.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export type BaseDatasourceErrorEventDetail = {
13
+ message: string;
14
+ type: 'connection' | 'resource-validation' | 'resource-type' | 'metadata' | 'stream' | 'criteria' | 'unknown';
15
+ };
16
+ ```
@@ -0,0 +1,16 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [baseDatasourceEventNames](./grid-pro.basedatasourceeventnames.md)
4
+
5
+ ## baseDatasourceEventNames variable
6
+
7
+ Base datasource error event names.
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ baseDatasourceEventNames: {
13
+ readonly error: "base-datasource-error";
14
+ readonly connected: "base-datasource-connected";
15
+ }
16
+ ```
@@ -0,0 +1,16 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [DataChangedEventDetail](./grid-pro.datachangedeventdetail.md) &gt; [changes](./grid-pro.datachangedeventdetail.changes.md)
4
+
5
+ ## DataChangedEventDetail.changes property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ changes: {
11
+ add?: any[];
12
+ remove?: any[];
13
+ update?: any[];
14
+ insertIndex?: number;
15
+ };
16
+ ```
@@ -0,0 +1,56 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [DataChangedEventDetail](./grid-pro.datachangedeventdetail.md)
4
+
5
+ ## DataChangedEventDetail interface
6
+
7
+ Event detail for data changes
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export interface DataChangedEventDetail
13
+ ```
14
+
15
+ ## Properties
16
+
17
+ <table><thead><tr><th>
18
+
19
+ Property
20
+
21
+
22
+ </th><th>
23
+
24
+ Modifiers
25
+
26
+
27
+ </th><th>
28
+
29
+ Type
30
+
31
+
32
+ </th><th>
33
+
34
+ Description
35
+
36
+
37
+ </th></tr></thead>
38
+ <tbody><tr><td>
39
+
40
+ [changes](./grid-pro.datachangedeventdetail.changes.md)
41
+
42
+
43
+ </td><td>
44
+
45
+
46
+ </td><td>
47
+
48
+ { add?: any\[\]; remove?: any\[\]; update?: any\[\]; insertIndex?: number; }
49
+
50
+
51
+ </td><td>
52
+
53
+
54
+ </td></tr>
55
+ </tbody></table>
56
+
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [DataClearedEventDetail](./grid-pro.dataclearedeventdetail.md) &gt; [includeSchema](./grid-pro.dataclearedeventdetail.includeschema.md)
4
+
5
+ ## DataClearedEventDetail.includeSchema property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ includeSchema?: boolean;
11
+ ```
@@ -0,0 +1,58 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [DataClearedEventDetail](./grid-pro.dataclearedeventdetail.md)
4
+
5
+ ## DataClearedEventDetail interface
6
+
7
+ Event detail for data clearing
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export interface DataClearedEventDetail
13
+ ```
14
+
15
+ ## Properties
16
+
17
+ <table><thead><tr><th>
18
+
19
+ Property
20
+
21
+
22
+ </th><th>
23
+
24
+ Modifiers
25
+
26
+
27
+ </th><th>
28
+
29
+ Type
30
+
31
+
32
+ </th><th>
33
+
34
+ Description
35
+
36
+
37
+ </th></tr></thead>
38
+ <tbody><tr><td>
39
+
40
+ [includeSchema?](./grid-pro.dataclearedeventdetail.includeschema.md)
41
+
42
+
43
+ </td><td>
44
+
45
+
46
+ </td><td>
47
+
48
+ boolean
49
+
50
+
51
+ </td><td>
52
+
53
+ _(Optional)_
54
+
55
+
56
+ </td></tr>
57
+ </tbody></table>
58
+
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [DataLoadedEventDetail](./grid-pro.dataloadedeventdetail.md) &gt; [data](./grid-pro.dataloadedeventdetail.data.md)
4
+
5
+ ## DataLoadedEventDetail.data property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ data: any[];
11
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [DataLoadedEventDetail](./grid-pro.dataloadedeventdetail.md) &gt; [isInitialLoad](./grid-pro.dataloadedeventdetail.isinitialload.md)
4
+
5
+ ## DataLoadedEventDetail.isInitialLoad property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ isInitialLoad?: boolean;
11
+ ```
@@ -0,0 +1,75 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [DataLoadedEventDetail](./grid-pro.dataloadedeventdetail.md)
4
+
5
+ ## DataLoadedEventDetail interface
6
+
7
+ Event detail for data loading
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export interface DataLoadedEventDetail
13
+ ```
14
+
15
+ ## Properties
16
+
17
+ <table><thead><tr><th>
18
+
19
+ Property
20
+
21
+
22
+ </th><th>
23
+
24
+ Modifiers
25
+
26
+
27
+ </th><th>
28
+
29
+ Type
30
+
31
+
32
+ </th><th>
33
+
34
+ Description
35
+
36
+
37
+ </th></tr></thead>
38
+ <tbody><tr><td>
39
+
40
+ [data](./grid-pro.dataloadedeventdetail.data.md)
41
+
42
+
43
+ </td><td>
44
+
45
+
46
+ </td><td>
47
+
48
+ any\[\]
49
+
50
+
51
+ </td><td>
52
+
53
+
54
+ </td></tr>
55
+ <tr><td>
56
+
57
+ [isInitialLoad?](./grid-pro.dataloadedeventdetail.isinitialload.md)
58
+
59
+
60
+ </td><td>
61
+
62
+
63
+ </td><td>
64
+
65
+ boolean
66
+
67
+
68
+ </td><td>
69
+
70
+ _(Optional)_
71
+
72
+
73
+ </td></tr>
74
+ </tbody></table>
75
+
@@ -0,0 +1,73 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [DatasourceErrorEventDetail](./grid-pro.datasourceerroreventdetail.md)
4
+
5
+ ## DatasourceErrorEventDetail interface
6
+
7
+ Event detail for error events
8
+
9
+ **Signature:**
10
+
11
+ ```typescript
12
+ export interface DatasourceErrorEventDetail
13
+ ```
14
+
15
+ ## Properties
16
+
17
+ <table><thead><tr><th>
18
+
19
+ Property
20
+
21
+
22
+ </th><th>
23
+
24
+ Modifiers
25
+
26
+
27
+ </th><th>
28
+
29
+ Type
30
+
31
+
32
+ </th><th>
33
+
34
+ Description
35
+
36
+
37
+ </th></tr></thead>
38
+ <tbody><tr><td>
39
+
40
+ [message](./grid-pro.datasourceerroreventdetail.message.md)
41
+
42
+
43
+ </td><td>
44
+
45
+
46
+ </td><td>
47
+
48
+ string
49
+
50
+
51
+ </td><td>
52
+
53
+
54
+ </td></tr>
55
+ <tr><td>
56
+
57
+ [type](./grid-pro.datasourceerroreventdetail.type.md)
58
+
59
+
60
+ </td><td>
61
+
62
+
63
+ </td><td>
64
+
65
+ 'stream' \| 'criteria' \| 'connection' \| 'unknown'
66
+
67
+
68
+ </td><td>
69
+
70
+
71
+ </td></tr>
72
+ </tbody></table>
73
+
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [DatasourceErrorEventDetail](./grid-pro.datasourceerroreventdetail.md) &gt; [message](./grid-pro.datasourceerroreventdetail.message.md)
4
+
5
+ ## DatasourceErrorEventDetail.message property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ message: string;
11
+ ```
@@ -0,0 +1,11 @@
1
+ <!-- Do not edit this file. It is automatically generated by API Documenter. -->
2
+
3
+ [Home](./index.md) &gt; [@genesislcap/grid-pro](./grid-pro.md) &gt; [DatasourceErrorEventDetail](./grid-pro.datasourceerroreventdetail.md) &gt; [type](./grid-pro.datasourceerroreventdetail.type.md)
4
+
5
+ ## DatasourceErrorEventDetail.type property
6
+
7
+ **Signature:**
8
+
9
+ ```typescript
10
+ type: 'stream' | 'criteria' | 'connection' | 'unknown';
11
+ ```