@genesislcap/foundation-comms 14.199.2-alpha-0c81553.0 → 14.199.3-alpha-40ecfcd.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/dts/datasource/datasource.d.ts +3 -0
- package/dist/dts/datasource/datasource.d.ts.map +1 -1
- package/dist/dts/testing/mocks/datasource/datasource.d.ts +1 -0
- package/dist/dts/testing/mocks/datasource/datasource.d.ts.map +1 -1
- package/dist/esm/datasource/datasource.js +7 -1
- package/dist/esm/testing/mocks/datasource/datasource.js +5 -0
- package/dist/foundation-comms.api.json +67 -0
- package/dist/foundation-comms.d.ts +4 -0
- package/docs/api/foundation-comms.datasourcemetadata.customrequestfields.md +11 -0
- package/docs/api/foundation-comms.datasourcemetadata.md +1 -0
- package/docs/api/foundation-comms.defaultdatasource.customrequestfields.md +12 -0
- package/docs/api/foundation-comms.defaultdatasource.md +1 -0
- package/docs/api-report.md +6 -0
- package/package.json +13 -13
@@ -15,6 +15,7 @@ export interface DatasourceMetadata {
|
|
15
15
|
readonly originalFieldDef: MetadataDetail[];
|
16
16
|
readonly fieldMetadata: FieldMetadata[];
|
17
17
|
readonly requestFields: MetadataDetail[];
|
18
|
+
readonly customRequestFields: MetadataDetail[];
|
18
19
|
}
|
19
20
|
/**
|
20
21
|
* Datasource interface.
|
@@ -181,6 +182,8 @@ export declare class DefaultDatasource implements Datasource {
|
|
181
182
|
fieldMetadata: FieldMetadata[];
|
182
183
|
/** {@inheritDoc DatasourceMetadata.requestFields} */
|
183
184
|
requestFields: MetadataDetail[];
|
185
|
+
/** {@inheritDoc DatasourceMetadata.customRequestFields} */
|
186
|
+
customRequestFields: MetadataDetail[];
|
184
187
|
/** {@inheritDoc DatasourceMetadata.availableIndexes} */
|
185
188
|
availableIndexes: IndexDetail[];
|
186
189
|
/** {@inheritDoc Datasource.initialized} */
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"datasource.d.ts","sourceRoot":"","sources":["../../../src/datasource/datasource.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,I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kB;cAaV,qBAAqB,CAAC,YAAY,EAAE,MAAM;IA2B1D;;OAEG;IACH,SAAS,CAAC,YAAY,CAAC,MAAM,GAAE,OAAO,CAAC,gBAAgB,CAAM;IAa7D;;OAEG;IACH,SAAS,CAAC,eAAe,CAAC,MAAM,EAAE,OAAO,CAAC,gBAAgB,CAAC,GAAG,gBAAgB;CAY/E;AAED;;;GAGG;AACH,eAAO,MAAM,UAAU,kEAAwE,CAAC;AAEhG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,wBAAgB,aAAa,IAAI,UAAU,CAE1C"}
|
@@ -11,6 +11,7 @@ export declare class DatasourceMock implements Datasource {
|
|
11
11
|
originalFieldDef: MetadataDetail[];
|
12
12
|
fieldMetadata: FieldMetadata[];
|
13
13
|
requestFields: MetadataDetail[];
|
14
|
+
customRequestFields: MetadataDetail[];
|
14
15
|
availableIndexes: IndexDetail[];
|
15
16
|
initialized: boolean;
|
16
17
|
readOnly: boolean;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"datasource.d.ts","sourceRoot":"","sources":["../../../../../src/testing/mocks/datasource/datasource.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AAC7D,OAAO,KAAK,EACV,UAAU,EACV,iBAAiB,EACjB,gBAAgB,EAChB,QAAQ,EACR,YAAY,EACb,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAEL,aAAa,EACb,wBAAwB,EACxB,WAAW,EACX,QAAQ,EACR,cAAc,EACd,mBAAmB,EAEpB,MAAM,mBAAmB,CAAC;AAE3B;;GAEG;AACH,qBAAa,cAAe,YAAW,UAAU;IACnC,MAAM,EAAE,gBAAgB,CAAC;IACzB,qBAAqB,UAAQ;IACzC,SAAS,CAAC,gBAAgB,UAAS;IACvB,gBAAgB,EAAE,cAAc,EAAE,CAAM;IACxC,aAAa,EAAE,aAAa,EAAE,CAAM;IACpC,aAAa,EAAE,cAA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IAI1C,UAAU,CAAC,CAAC,MAAM,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC;CAGtD"}
|
@@ -35,6 +35,8 @@ let DefaultDatasource = class DefaultDatasource {
|
|
35
35
|
this.fieldMetadata = [];
|
36
36
|
/** {@inheritDoc DatasourceMetadata.requestFields} */
|
37
37
|
this.requestFields = [];
|
38
|
+
/** {@inheritDoc DatasourceMetadata.customRequestFields} */
|
39
|
+
this.customRequestFields = [];
|
38
40
|
/** {@inheritDoc DatasourceMetadata.availableIndexes} */
|
39
41
|
this.availableIndexes = [];
|
40
42
|
this.readOnly = true;
|
@@ -224,7 +226,8 @@ let DefaultDatasource = class DefaultDatasource {
|
|
224
226
|
this.availableIndexes = (_a = meta.INDEXES) !== null && _a !== void 0 ? _a : [];
|
225
227
|
this.originalFieldDef = extractFieldDefinitions(meta);
|
226
228
|
this.fieldMetadata = toFieldMetadata(this.originalFieldDef);
|
227
|
-
this.requestFields = meta.REQUEST_FIELD ||
|
229
|
+
this.requestFields = meta.REQUEST_FIELD || [];
|
230
|
+
this.customRequestFields = meta.FIELD || [];
|
228
231
|
this.fetchMetadataRequired = false;
|
229
232
|
}
|
230
233
|
this.status = this.normaliseStatus({
|
@@ -292,6 +295,9 @@ __decorate([
|
|
292
295
|
__decorate([
|
293
296
|
observable
|
294
297
|
], DefaultDatasource.prototype, "requestFields", void 0);
|
298
|
+
__decorate([
|
299
|
+
observable
|
300
|
+
], DefaultDatasource.prototype, "customRequestFields", void 0);
|
295
301
|
__decorate([
|
296
302
|
observable
|
297
303
|
], DefaultDatasource.prototype, "availableIndexes", void 0);
|
@@ -12,6 +12,7 @@ export class DatasourceMock {
|
|
12
12
|
this.originalFieldDef = [];
|
13
13
|
this.fieldMetadata = [];
|
14
14
|
this.requestFields = [];
|
15
|
+
this.customRequestFields = [];
|
15
16
|
this.availableIndexes = [];
|
16
17
|
}
|
17
18
|
init(options, fetchMeta) {
|
@@ -30,6 +31,7 @@ export class DatasourceMock {
|
|
30
31
|
this.originalFieldDef = extractFieldDefinitions(meta);
|
31
32
|
this.fieldMetadata = toFieldMetadata(this.originalFieldDef);
|
32
33
|
this.requestFields = meta.REQUEST_FIELD || [];
|
34
|
+
this.customRequestFields = meta.FIELD || [];
|
33
35
|
this.fetchMetadataRequired = false;
|
34
36
|
}
|
35
37
|
unsetMedata() {
|
@@ -106,6 +108,9 @@ __decorate([
|
|
106
108
|
__decorate([
|
107
109
|
observable
|
108
110
|
], DatasourceMock.prototype, "requestFields", void 0);
|
111
|
+
__decorate([
|
112
|
+
observable
|
113
|
+
], DatasourceMock.prototype, "customRequestFields", void 0);
|
109
114
|
__decorate([
|
110
115
|
observable
|
111
116
|
], DatasourceMock.prototype, "availableIndexes", void 0);
|
@@ -8911,6 +8911,38 @@
|
|
8911
8911
|
"endIndex": 3
|
8912
8912
|
}
|
8913
8913
|
},
|
8914
|
+
{
|
8915
|
+
"kind": "PropertySignature",
|
8916
|
+
"canonicalReference": "@genesislcap/foundation-comms!DatasourceMetadata#customRequestFields:member",
|
8917
|
+
"docComment": "",
|
8918
|
+
"excerptTokens": [
|
8919
|
+
{
|
8920
|
+
"kind": "Content",
|
8921
|
+
"text": "readonly customRequestFields: "
|
8922
|
+
},
|
8923
|
+
{
|
8924
|
+
"kind": "Reference",
|
8925
|
+
"text": "MetadataDetail",
|
8926
|
+
"canonicalReference": "@genesislcap/foundation-comms!MetadataDetail:type"
|
8927
|
+
},
|
8928
|
+
{
|
8929
|
+
"kind": "Content",
|
8930
|
+
"text": "[]"
|
8931
|
+
},
|
8932
|
+
{
|
8933
|
+
"kind": "Content",
|
8934
|
+
"text": ";"
|
8935
|
+
}
|
8936
|
+
],
|
8937
|
+
"isReadonly": true,
|
8938
|
+
"isOptional": false,
|
8939
|
+
"releaseTag": "Public",
|
8940
|
+
"name": "customRequestFields",
|
8941
|
+
"propertyTypeTokenRange": {
|
8942
|
+
"startIndex": 1,
|
8943
|
+
"endIndex": 3
|
8944
|
+
}
|
8945
|
+
},
|
8914
8946
|
{
|
8915
8947
|
"kind": "PropertySignature",
|
8916
8948
|
"canonicalReference": "@genesislcap/foundation-comms!DatasourceMetadata#fetchMetadataRequired:member",
|
@@ -14018,6 +14050,41 @@
|
|
14018
14050
|
"isProtected": true,
|
14019
14051
|
"isAbstract": false
|
14020
14052
|
},
|
14053
|
+
{
|
14054
|
+
"kind": "Property",
|
14055
|
+
"canonicalReference": "@genesislcap/foundation-comms!DefaultDatasource#customRequestFields:member",
|
14056
|
+
"docComment": "/**\n * {@inheritDoc DatasourceMetadata.customRequestFields}\n */\n",
|
14057
|
+
"excerptTokens": [
|
14058
|
+
{
|
14059
|
+
"kind": "Content",
|
14060
|
+
"text": "customRequestFields: "
|
14061
|
+
},
|
14062
|
+
{
|
14063
|
+
"kind": "Reference",
|
14064
|
+
"text": "MetadataDetail",
|
14065
|
+
"canonicalReference": "@genesislcap/foundation-comms!MetadataDetail:type"
|
14066
|
+
},
|
14067
|
+
{
|
14068
|
+
"kind": "Content",
|
14069
|
+
"text": "[]"
|
14070
|
+
},
|
14071
|
+
{
|
14072
|
+
"kind": "Content",
|
14073
|
+
"text": ";"
|
14074
|
+
}
|
14075
|
+
],
|
14076
|
+
"isReadonly": false,
|
14077
|
+
"isOptional": false,
|
14078
|
+
"releaseTag": "Public",
|
14079
|
+
"name": "customRequestFields",
|
14080
|
+
"propertyTypeTokenRange": {
|
14081
|
+
"startIndex": 1,
|
14082
|
+
"endIndex": 3
|
14083
|
+
},
|
14084
|
+
"isStatic": false,
|
14085
|
+
"isProtected": false,
|
14086
|
+
"isAbstract": false
|
14087
|
+
},
|
14021
14088
|
{
|
14022
14089
|
"kind": "Method",
|
14023
14090
|
"canonicalReference": "@genesislcap/foundation-comms!DefaultDatasource#destroy:member(1)",
|
@@ -1384,6 +1384,7 @@ export declare interface DatasourceMetadata {
|
|
1384
1384
|
readonly originalFieldDef: MetadataDetail[];
|
1385
1385
|
readonly fieldMetadata: FieldMetadata[];
|
1386
1386
|
readonly requestFields: MetadataDetail[];
|
1387
|
+
readonly customRequestFields: MetadataDetail[];
|
1387
1388
|
}
|
1388
1389
|
|
1389
1390
|
/**
|
@@ -1396,6 +1397,7 @@ export declare class DatasourceMock implements Datasource {
|
|
1396
1397
|
originalFieldDef: MetadataDetail[];
|
1397
1398
|
fieldMetadata: FieldMetadata[];
|
1398
1399
|
requestFields: MetadataDetail[];
|
1400
|
+
customRequestFields: MetadataDetail[];
|
1399
1401
|
availableIndexes: IndexDetail[];
|
1400
1402
|
initialized: boolean;
|
1401
1403
|
readOnly: boolean;
|
@@ -1757,6 +1759,8 @@ export declare class DefaultDatasource implements Datasource {
|
|
1757
1759
|
fieldMetadata: FieldMetadata[];
|
1758
1760
|
/** {@inheritDoc DatasourceMetadata.requestFields} */
|
1759
1761
|
requestFields: MetadataDetail[];
|
1762
|
+
/** {@inheritDoc DatasourceMetadata.customRequestFields} */
|
1763
|
+
customRequestFields: MetadataDetail[];
|
1760
1764
|
/** {@inheritDoc DatasourceMetadata.availableIndexes} */
|
1761
1765
|
availableIndexes: IndexDetail[];
|
1762
1766
|
/** {@inheritDoc Datasource.initialized} */
|
@@ -0,0 +1,11 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DatasourceMetadata](./foundation-comms.datasourcemetadata.md) > [customRequestFields](./foundation-comms.datasourcemetadata.customrequestfields.md)
|
4
|
+
|
5
|
+
## DatasourceMetadata.customRequestFields property
|
6
|
+
|
7
|
+
**Signature:**
|
8
|
+
|
9
|
+
```typescript
|
10
|
+
readonly customRequestFields: MetadataDetail[];
|
11
|
+
```
|
@@ -17,6 +17,7 @@ export interface DatasourceMetadata
|
|
17
17
|
| Property | Modifiers | Type | Description |
|
18
18
|
| --- | --- | --- | --- |
|
19
19
|
| [availableIndexes](./foundation-comms.datasourcemetadata.availableindexes.md) | <code>readonly</code> | [IndexDetail](./foundation-comms.indexdetail.md)<!-- -->\[\] | |
|
20
|
+
| [customRequestFields](./foundation-comms.datasourcemetadata.customrequestfields.md) | <code>readonly</code> | [MetadataDetail](./foundation-comms.metadatadetail.md)<!-- -->\[\] | |
|
20
21
|
| [fetchMetadataRequired](./foundation-comms.datasourcemetadata.fetchmetadatarequired.md) | | boolean | |
|
21
22
|
| [fieldMetadata](./foundation-comms.datasourcemetadata.fieldmetadata.md) | <code>readonly</code> | [FieldMetadata](./foundation-comms.fieldmetadata.md)<!-- -->\[\] | |
|
22
23
|
| [originalFieldDef](./foundation-comms.datasourcemetadata.originalfielddef.md) | <code>readonly</code> | [MetadataDetail](./foundation-comms.metadatadetail.md)<!-- -->\[\] | |
|
@@ -0,0 +1,12 @@
|
|
1
|
+
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
2
|
+
|
3
|
+
[Home](./index.md) > [@genesislcap/foundation-comms](./foundation-comms.md) > [DefaultDatasource](./foundation-comms.defaultdatasource.md) > [customRequestFields](./foundation-comms.defaultdatasource.customrequestfields.md)
|
4
|
+
|
5
|
+
## DefaultDatasource.customRequestFields property
|
6
|
+
|
7
|
+
|
8
|
+
**Signature:**
|
9
|
+
|
10
|
+
```typescript
|
11
|
+
customRequestFields: MetadataDetail[];
|
12
|
+
```
|
@@ -27,6 +27,7 @@ export declare class DefaultDatasource implements Datasource
|
|
27
27
|
| [availableIndexes](./foundation-comms.defaultdatasource.availableindexes.md) | | [IndexDetail](./foundation-comms.indexdetail.md)<!-- -->\[\] | |
|
28
28
|
| [config](./foundation-comms.defaultdatasource.config.md) | <code>protected</code> | [DatasourceConfig](./foundation-comms.datasourceconfig.md) | |
|
29
29
|
| [connect](./foundation-comms.defaultdatasource.connect.md) | <code>protected</code> | [Connect](./foundation-comms.connect.md) | |
|
30
|
+
| [customRequestFields](./foundation-comms.defaultdatasource.customrequestfields.md) | | [MetadataDetail](./foundation-comms.metadatadetail.md)<!-- -->\[\] | |
|
30
31
|
| [fetchMetadataRequired](./foundation-comms.defaultdatasource.fetchmetadatarequired.md) | | boolean | |
|
31
32
|
| [fieldMetadata](./foundation-comms.defaultdatasource.fieldmetadata.md) | | [FieldMetadata](./foundation-comms.fieldmetadata.md)<!-- -->\[\] | |
|
32
33
|
| [initialized](./foundation-comms.defaultdatasource.initialized.md) | <code>readonly</code> | boolean | Indicates whether the datasource has been initialized. |
|
package/docs/api-report.md
CHANGED
@@ -763,6 +763,8 @@ export interface DatasourceMetadata {
|
|
763
763
|
// (undocumented)
|
764
764
|
readonly availableIndexes: IndexDetail[];
|
765
765
|
// (undocumented)
|
766
|
+
readonly customRequestFields: MetadataDetail[];
|
767
|
+
// (undocumented)
|
766
768
|
fetchMetadataRequired: boolean;
|
767
769
|
// (undocumented)
|
768
770
|
readonly fieldMetadata: FieldMetadata[];
|
@@ -785,6 +787,8 @@ export class DatasourceMock implements Datasource {
|
|
785
787
|
// (undocumented)
|
786
788
|
createItem?(data: any): Promise<string>;
|
787
789
|
// (undocumented)
|
790
|
+
customRequestFields: MetadataDetail[];
|
791
|
+
// (undocumented)
|
788
792
|
dataHandler?(data: any[]): any[];
|
789
793
|
// (undocumented)
|
790
794
|
deinit(): void;
|
@@ -1084,6 +1088,8 @@ export class DefaultDatasource implements Datasource {
|
|
1084
1088
|
protected config: DatasourceConfig;
|
1085
1089
|
// (undocumented)
|
1086
1090
|
protected connect: Connect;
|
1091
|
+
// (undocumented)
|
1092
|
+
customRequestFields: MetadataDetail[];
|
1087
1093
|
// Warning: (ae-unresolved-inheritdoc-reference) The @inheritDoc reference could not be resolved: The reference is ambiguous because "Datasource" has more than one declaration; you need to add a TSDoc member reference selector
|
1088
1094
|
//
|
1089
1095
|
// (undocumented)
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@genesislcap/foundation-comms",
|
3
3
|
"description": "Genesis Foundation UI Comms",
|
4
|
-
"version": "14.199.
|
4
|
+
"version": "14.199.3-alpha-40ecfcd.0",
|
5
5
|
"sideEffects": false,
|
6
6
|
"license": "SEE LICENSE IN license.txt",
|
7
7
|
"main": "dist/esm/index.js",
|
@@ -75,23 +75,23 @@
|
|
75
75
|
}
|
76
76
|
},
|
77
77
|
"devDependencies": {
|
78
|
-
"@genesislcap/foundation-testing": "14.199.
|
79
|
-
"@genesislcap/genx": "14.199.
|
80
|
-
"@genesislcap/rollup-builder": "14.199.
|
81
|
-
"@genesislcap/ts-builder": "14.199.
|
82
|
-
"@genesislcap/uvu-playwright-builder": "14.199.
|
83
|
-
"@genesislcap/vite-builder": "14.199.
|
84
|
-
"@genesislcap/webpack-builder": "14.199.
|
78
|
+
"@genesislcap/foundation-testing": "14.199.3-alpha-40ecfcd.0",
|
79
|
+
"@genesislcap/genx": "14.199.3-alpha-40ecfcd.0",
|
80
|
+
"@genesislcap/rollup-builder": "14.199.3-alpha-40ecfcd.0",
|
81
|
+
"@genesislcap/ts-builder": "14.199.3-alpha-40ecfcd.0",
|
82
|
+
"@genesislcap/uvu-playwright-builder": "14.199.3-alpha-40ecfcd.0",
|
83
|
+
"@genesislcap/vite-builder": "14.199.3-alpha-40ecfcd.0",
|
84
|
+
"@genesislcap/webpack-builder": "14.199.3-alpha-40ecfcd.0",
|
85
85
|
"@types/js-cookie": "^3.0.2",
|
86
86
|
"@types/json-schema": "^7.0.11",
|
87
87
|
"@types/webappsec-credential-management": "^0.6.2",
|
88
88
|
"rimraf": "^5.0.0"
|
89
89
|
},
|
90
90
|
"dependencies": {
|
91
|
-
"@genesislcap/foundation-broadcast-channel": "14.199.
|
92
|
-
"@genesislcap/foundation-logger": "14.199.
|
93
|
-
"@genesislcap/foundation-user": "14.199.
|
94
|
-
"@genesislcap/foundation-utils": "14.199.
|
91
|
+
"@genesislcap/foundation-broadcast-channel": "14.199.3-alpha-40ecfcd.0",
|
92
|
+
"@genesislcap/foundation-logger": "14.199.3-alpha-40ecfcd.0",
|
93
|
+
"@genesislcap/foundation-user": "14.199.3-alpha-40ecfcd.0",
|
94
|
+
"@genesislcap/foundation-utils": "14.199.3-alpha-40ecfcd.0",
|
95
95
|
"@microsoft/fast-element": "^1.12.0",
|
96
96
|
"@microsoft/fast-foundation": "^2.49.4",
|
97
97
|
"analytics": "^0.8.0",
|
@@ -111,5 +111,5 @@
|
|
111
111
|
"publishConfig": {
|
112
112
|
"access": "public"
|
113
113
|
},
|
114
|
-
"gitHead": "
|
114
|
+
"gitHead": "149c12e480fefd02669c2c830f01c9eb7190e2aa"
|
115
115
|
}
|