@truedat/dq 5.4.2 → 5.5.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/package.json +8 -8
- package/src/components/__tests__/__snapshots__/EditRule.spec.js.snap +1 -1
- package/src/components/__tests__/__snapshots__/ImplementationSearchResults.spec.js.snap +9 -9
- package/src/components/__tests__/__snapshots__/ImplementationSummary.spec.js.snap +42 -42
- package/src/components/__tests__/__snapshots__/Rule.spec.js.snap +3 -3
- package/src/components/__tests__/__snapshots__/RuleActions.spec.js.snap +5 -5
- package/src/components/__tests__/__snapshots__/RuleCrumbs.spec.js.snap +4 -4
- package/src/components/__tests__/__snapshots__/RuleFormImplementations.spec.js.snap +1 -1
- package/src/components/__tests__/__snapshots__/RuleImplementationProperties.spec.js.snap +11 -11
- package/src/components/__tests__/__snapshots__/RuleImplementationsActions.spec.js.snap +6 -6
- package/src/components/__tests__/__snapshots__/RuleImplementationsFromRuleLoader.spec.js.snap +9 -9
- package/src/components/__tests__/__snapshots__/RuleImplementationsLoader.spec.js.snap +8 -8
- package/src/components/__tests__/__snapshots__/RuleImplementationsSearch.spec.js.snap +1 -1
- package/src/components/__tests__/__snapshots__/RuleImplementationsTable.spec.js.snap +18 -18
- package/src/components/__tests__/__snapshots__/RuleRangePercentage.spec.js.snap +44 -44
- package/src/components/__tests__/__snapshots__/RuleSearch.spec.js.snap +1 -1
- package/src/components/__tests__/__snapshots__/Rules.spec.js.snap +20 -20
- package/src/components/__tests__/__snapshots__/RulesActions.spec.js.snap +1 -1
- package/src/components/__tests__/__snapshots__/Subscription.spec.js.snap +11 -11
- package/src/components/ruleImplementationForm/__tests__/__snapshots__/FiltersField.spec.js.snap +11 -11
- package/CHANGELOG.md +0 -1619
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@truedat/dq",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.5.0",
|
|
4
4
|
"description": "Truedat Web Data Quality Module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"jsnext:main": "src/index.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"@testing-library/jest-dom": "^5.16.5",
|
|
35
35
|
"@testing-library/react": "^12.0.0",
|
|
36
36
|
"@testing-library/user-event": "^13.2.1",
|
|
37
|
-
"@truedat/test": "5.
|
|
37
|
+
"@truedat/test": "5.5.0",
|
|
38
38
|
"babel-jest": "^28.1.0",
|
|
39
39
|
"babel-plugin-dynamic-import-node": "^2.3.3",
|
|
40
40
|
"babel-plugin-lodash": "^3.3.4",
|
|
@@ -43,8 +43,8 @@
|
|
|
43
43
|
"enzyme": "^3.11.0",
|
|
44
44
|
"enzyme-to-json": "^3.6.2",
|
|
45
45
|
"identity-obj-proxy": "^3.0.0",
|
|
46
|
-
"jest": "^
|
|
47
|
-
"jest-environment-jsdom": "^
|
|
46
|
+
"jest": "^29.0.0",
|
|
47
|
+
"jest-environment-jsdom": "^29.0.0",
|
|
48
48
|
"react": "^16.14.0",
|
|
49
49
|
"react-dom": "^16.14.0",
|
|
50
50
|
"redux-saga-test-plan": "^4.0.4",
|
|
@@ -92,14 +92,14 @@
|
|
|
92
92
|
},
|
|
93
93
|
"dependencies": {
|
|
94
94
|
"@apollo/client": "^3.7.1",
|
|
95
|
-
"@truedat/core": "5.
|
|
96
|
-
"@truedat/df": "5.
|
|
95
|
+
"@truedat/core": "5.5.0",
|
|
96
|
+
"@truedat/df": "5.5.0",
|
|
97
97
|
"decode-uri-component": "^0.2.2",
|
|
98
98
|
"graphql": "^15.5.3",
|
|
99
99
|
"moment": "^2.29.4",
|
|
100
100
|
"path-to-regexp": "^1.7.0",
|
|
101
101
|
"prop-types": "^15.8.1",
|
|
102
|
-
"query-string": "^
|
|
102
|
+
"query-string": "^7.1.2",
|
|
103
103
|
"rc-slider": "^8.6.1",
|
|
104
104
|
"react-intl": "^5.20.10",
|
|
105
105
|
"react-moment": "^1.1.2",
|
|
@@ -118,5 +118,5 @@
|
|
|
118
118
|
"react-dom": ">= 16.8.6 < 17",
|
|
119
119
|
"semantic-ui-react": ">= 2.0.3 < 2.2"
|
|
120
120
|
},
|
|
121
|
-
"gitHead": "
|
|
121
|
+
"gitHead": "ca5e7f8fd1013de0b818798e05cbc1819a1d43ec"
|
|
122
122
|
}
|
|
@@ -6,7 +6,7 @@ exports[`<ImplementationSearchResults /> matches the latest snapshot 1`] = `
|
|
|
6
6
|
>
|
|
7
7
|
<Connect(RuleImplementationsActions)
|
|
8
8
|
executeImplementationsOn={false}
|
|
9
|
-
selectedImplementations={
|
|
9
|
+
selectedImplementations={[]}
|
|
10
10
|
setMode={[Function]}
|
|
11
11
|
/>
|
|
12
12
|
<Connect(RuleImplementationsSearch) />
|
|
@@ -30,8 +30,8 @@ exports[`<ImplementationSearchResults /> matches the latest snapshot 1`] = `
|
|
|
30
30
|
checkedAll={false}
|
|
31
31
|
executeImplementationsOn={false}
|
|
32
32
|
isRowChecked={[Function]}
|
|
33
|
-
selectedImplementations={
|
|
34
|
-
withoutColumns={
|
|
33
|
+
selectedImplementations={[]}
|
|
34
|
+
withoutColumns={[]}
|
|
35
35
|
/>
|
|
36
36
|
<Connect(Pagination) />
|
|
37
37
|
</DimmerDimmable>
|
|
@@ -45,15 +45,15 @@ exports[`<ImplementationSearchResults /> renders executions on when executionEna
|
|
|
45
45
|
<Connect(RuleImplementationsActions)
|
|
46
46
|
executeImplementationsOn={true}
|
|
47
47
|
implementationQuery={
|
|
48
|
-
|
|
49
|
-
"filters":
|
|
50
|
-
"executable":
|
|
48
|
+
{
|
|
49
|
+
"filters": {
|
|
50
|
+
"executable": [
|
|
51
51
|
true,
|
|
52
52
|
],
|
|
53
53
|
},
|
|
54
54
|
}
|
|
55
55
|
}
|
|
56
|
-
selectedImplementations={
|
|
56
|
+
selectedImplementations={[]}
|
|
57
57
|
setMode={[Function]}
|
|
58
58
|
/>
|
|
59
59
|
<Connect(RuleImplementationsSearch) />
|
|
@@ -77,8 +77,8 @@ exports[`<ImplementationSearchResults /> renders executions on when executionEna
|
|
|
77
77
|
checkedAll={false}
|
|
78
78
|
executeImplementationsOn={true}
|
|
79
79
|
isRowChecked={[Function]}
|
|
80
|
-
selectedImplementations={
|
|
81
|
-
withoutColumns={
|
|
80
|
+
selectedImplementations={[]}
|
|
81
|
+
withoutColumns={[]}
|
|
82
82
|
/>
|
|
83
83
|
<Connect(Pagination) />
|
|
84
84
|
</DimmerDimmable>
|
|
@@ -300,23 +300,23 @@ exports[`<ImplementationSummary /> matches the latest snapshot 1`] = `
|
|
|
300
300
|
<Fragment>
|
|
301
301
|
<InformationSummary
|
|
302
302
|
ruleImplementation={
|
|
303
|
-
|
|
304
|
-
"dataset":
|
|
305
|
-
|
|
306
|
-
"structure":
|
|
307
|
-
"alias":
|
|
308
|
-
|
|
303
|
+
{
|
|
304
|
+
"dataset": [
|
|
305
|
+
{
|
|
306
|
+
"structure": {
|
|
307
|
+
"alias": [
|
|
308
|
+
{
|
|
309
309
|
"index": 0,
|
|
310
310
|
"text": "bar",
|
|
311
311
|
},
|
|
312
312
|
],
|
|
313
313
|
"id": 1915,
|
|
314
314
|
"name": "0. 0 Meses",
|
|
315
|
-
"path":
|
|
315
|
+
"path": [
|
|
316
316
|
"CMC",
|
|
317
317
|
"Objetos Públicos",
|
|
318
318
|
],
|
|
319
|
-
"system":
|
|
319
|
+
"system": {
|
|
320
320
|
"external_id": "Microstrategy",
|
|
321
321
|
"id": 1,
|
|
322
322
|
"name": "Microstrategy",
|
|
@@ -329,32 +329,32 @@ exports[`<ImplementationSummary /> matches the latest snapshot 1`] = `
|
|
|
329
329
|
"implementationKey": "ImplKey",
|
|
330
330
|
"implementationType": "",
|
|
331
331
|
"minimum": 10,
|
|
332
|
-
"populations":
|
|
333
|
-
|
|
334
|
-
|
|
332
|
+
"populations": [
|
|
333
|
+
[
|
|
334
|
+
{},
|
|
335
335
|
],
|
|
336
336
|
],
|
|
337
|
-
"rawContent":
|
|
337
|
+
"rawContent": {
|
|
338
338
|
"dataset": "",
|
|
339
339
|
"population": "",
|
|
340
340
|
"system": "",
|
|
341
341
|
"validations": "",
|
|
342
342
|
},
|
|
343
343
|
"result_type": "percentage",
|
|
344
|
-
"validations":
|
|
345
|
-
|
|
346
|
-
"operator":
|
|
344
|
+
"validations": [
|
|
345
|
+
{
|
|
346
|
+
"operator": {
|
|
347
347
|
"name": "in_list",
|
|
348
348
|
"value_type": "string_list",
|
|
349
349
|
},
|
|
350
|
-
"structure":
|
|
350
|
+
"structure": {
|
|
351
351
|
"field_type": "string",
|
|
352
352
|
"id": 2598,
|
|
353
353
|
"name": "Mes",
|
|
354
354
|
},
|
|
355
|
-
"value":
|
|
356
|
-
|
|
357
|
-
"raw":
|
|
355
|
+
"value": [
|
|
356
|
+
{
|
|
357
|
+
"raw": [
|
|
358
358
|
"4",
|
|
359
359
|
"5",
|
|
360
360
|
"6",
|
|
@@ -368,27 +368,27 @@ exports[`<ImplementationSummary /> matches the latest snapshot 1`] = `
|
|
|
368
368
|
/>
|
|
369
369
|
<DatasetSummary
|
|
370
370
|
alias={
|
|
371
|
-
|
|
372
|
-
|
|
371
|
+
[
|
|
372
|
+
{},
|
|
373
373
|
]
|
|
374
374
|
}
|
|
375
375
|
rows={
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
"structure":
|
|
379
|
-
"alias":
|
|
380
|
-
|
|
376
|
+
[
|
|
377
|
+
{
|
|
378
|
+
"structure": {
|
|
379
|
+
"alias": [
|
|
380
|
+
{
|
|
381
381
|
"index": 0,
|
|
382
382
|
"text": "bar",
|
|
383
383
|
},
|
|
384
384
|
],
|
|
385
385
|
"id": 1915,
|
|
386
386
|
"name": "0. 0 Meses",
|
|
387
|
-
"path":
|
|
387
|
+
"path": [
|
|
388
388
|
"CMC",
|
|
389
389
|
"Objetos Públicos",
|
|
390
390
|
],
|
|
391
|
-
"system":
|
|
391
|
+
"system": {
|
|
392
392
|
"external_id": "Microstrategy",
|
|
393
393
|
"id": 1,
|
|
394
394
|
"name": "Microstrategy",
|
|
@@ -400,15 +400,15 @@ exports[`<ImplementationSummary /> matches the latest snapshot 1`] = `
|
|
|
400
400
|
/>
|
|
401
401
|
<ConditionSummary
|
|
402
402
|
alias={
|
|
403
|
-
|
|
404
|
-
|
|
403
|
+
[
|
|
404
|
+
{},
|
|
405
405
|
]
|
|
406
406
|
}
|
|
407
407
|
icon="user"
|
|
408
408
|
rows={
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
409
|
+
[
|
|
410
|
+
[
|
|
411
|
+
{},
|
|
412
412
|
],
|
|
413
413
|
]
|
|
414
414
|
}
|
|
@@ -416,26 +416,26 @@ exports[`<ImplementationSummary /> matches the latest snapshot 1`] = `
|
|
|
416
416
|
/>
|
|
417
417
|
<ConditionSummary
|
|
418
418
|
alias={
|
|
419
|
-
|
|
420
|
-
|
|
419
|
+
[
|
|
420
|
+
{},
|
|
421
421
|
]
|
|
422
422
|
}
|
|
423
423
|
icon="setting"
|
|
424
424
|
rows={
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
"operator":
|
|
425
|
+
[
|
|
426
|
+
{
|
|
427
|
+
"operator": {
|
|
428
428
|
"name": "in_list",
|
|
429
429
|
"value_type": "string_list",
|
|
430
430
|
},
|
|
431
|
-
"structure":
|
|
431
|
+
"structure": {
|
|
432
432
|
"field_type": "string",
|
|
433
433
|
"id": 2598,
|
|
434
434
|
"name": "Mes",
|
|
435
435
|
},
|
|
436
|
-
"value":
|
|
437
|
-
|
|
438
|
-
"raw":
|
|
436
|
+
"value": [
|
|
437
|
+
{
|
|
438
|
+
"raw": [
|
|
439
439
|
"4",
|
|
440
440
|
"5",
|
|
441
441
|
"6",
|
|
@@ -18,8 +18,8 @@ exports[`<Rule /> matches the latest snapshot 1`] = `
|
|
|
18
18
|
foo
|
|
19
19
|
<RuleSummary
|
|
20
20
|
implementations={
|
|
21
|
-
|
|
22
|
-
|
|
21
|
+
[
|
|
22
|
+
{
|
|
23
23
|
"id": 100,
|
|
24
24
|
"implementation_key": "bar",
|
|
25
25
|
},
|
|
@@ -35,7 +35,7 @@ exports[`<Rule /> matches the latest snapshot 1`] = `
|
|
|
35
35
|
>
|
|
36
36
|
<Connect(Subscription)
|
|
37
37
|
resource={
|
|
38
|
-
|
|
38
|
+
{
|
|
39
39
|
"id": 1,
|
|
40
40
|
"name": "foo",
|
|
41
41
|
}
|
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
exports[`<RuleActions /> matches the latest snapshot 1`] = `
|
|
4
4
|
<GroupActions
|
|
5
5
|
availableActions={
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
[
|
|
7
|
+
{
|
|
8
8
|
"active": false,
|
|
9
|
-
"as":
|
|
9
|
+
"as": {
|
|
10
10
|
"$$typeof": Symbol(react.forward_ref),
|
|
11
11
|
"displayName": "Link",
|
|
12
|
-
"propTypes":
|
|
12
|
+
"propTypes": {
|
|
13
13
|
"innerRef": [Function],
|
|
14
14
|
"onClick": [Function],
|
|
15
15
|
"replace": [Function],
|
|
@@ -28,7 +28,7 @@ exports[`<RuleActions /> matches the latest snapshot 1`] = `
|
|
|
28
28
|
"to": "/rules/2/edit",
|
|
29
29
|
"value": "edit",
|
|
30
30
|
},
|
|
31
|
-
|
|
31
|
+
{
|
|
32
32
|
"active": false,
|
|
33
33
|
"as": [Function],
|
|
34
34
|
"deleteRule": [MockFunction],
|
|
@@ -5,10 +5,10 @@ exports[`<RuleCrumbs /> matches a snapshot with resultId 1`] = `
|
|
|
5
5
|
<BreadcrumbSection
|
|
6
6
|
active={false}
|
|
7
7
|
as={
|
|
8
|
-
|
|
8
|
+
{
|
|
9
9
|
"$$typeof": Symbol(react.forward_ref),
|
|
10
10
|
"displayName": "Link",
|
|
11
|
-
"propTypes":
|
|
11
|
+
"propTypes": {
|
|
12
12
|
"innerRef": [Function],
|
|
13
13
|
"onClick": [Function],
|
|
14
14
|
"replace": [Function],
|
|
@@ -40,10 +40,10 @@ exports[`<RuleCrumbs /> matches the latest snapshot 1`] = `
|
|
|
40
40
|
<BreadcrumbSection
|
|
41
41
|
active={false}
|
|
42
42
|
as={
|
|
43
|
-
|
|
43
|
+
{
|
|
44
44
|
"$$typeof": Symbol(react.forward_ref),
|
|
45
45
|
"displayName": "Link",
|
|
46
|
-
"propTypes":
|
|
46
|
+
"propTypes": {
|
|
47
47
|
"innerRef": [Function],
|
|
48
48
|
"onClick": [Function],
|
|
49
49
|
"replace": [Function],
|
|
@@ -28,7 +28,7 @@ exports[`<RuleImplementationProperties /> matches the latest snapshot 1`] = `
|
|
|
28
28
|
>
|
|
29
29
|
<InformationSummary
|
|
30
30
|
ruleImplementation={
|
|
31
|
-
|
|
31
|
+
{
|
|
32
32
|
"executable": true,
|
|
33
33
|
"goal": 10,
|
|
34
34
|
"id": 10,
|
|
@@ -36,11 +36,11 @@ exports[`<RuleImplementationProperties /> matches the latest snapshot 1`] = `
|
|
|
36
36
|
"name": "NameRule2",
|
|
37
37
|
"result_type": "percentage",
|
|
38
38
|
"status": "published",
|
|
39
|
-
"system_params":
|
|
40
|
-
"column":
|
|
39
|
+
"system_params": {
|
|
40
|
+
"column": {
|
|
41
41
|
"id": 2876,
|
|
42
42
|
"name": "% Abandono de Clientes ac. año / Cartera Clientes",
|
|
43
|
-
"path":
|
|
43
|
+
"path": [
|
|
44
44
|
"CRM",
|
|
45
45
|
"Objetos Públicos",
|
|
46
46
|
"Informes",
|
|
@@ -48,7 +48,7 @@ exports[`<RuleImplementationProperties /> matches the latest snapshot 1`] = `
|
|
|
48
48
|
"ACGC - 01.00 Análisis General Compañía",
|
|
49
49
|
],
|
|
50
50
|
},
|
|
51
|
-
"table":
|
|
51
|
+
"table": {
|
|
52
52
|
"name": "aaaxxx",
|
|
53
53
|
},
|
|
54
54
|
},
|
|
@@ -63,7 +63,7 @@ exports[`<RuleImplementationProperties /> matches the latest snapshot 1`] = `
|
|
|
63
63
|
>
|
|
64
64
|
<ImplementationSummary
|
|
65
65
|
activeSteps={
|
|
66
|
-
|
|
66
|
+
[
|
|
67
67
|
"dataset",
|
|
68
68
|
"populations",
|
|
69
69
|
"validations",
|
|
@@ -71,7 +71,7 @@ exports[`<RuleImplementationProperties /> matches the latest snapshot 1`] = `
|
|
|
71
71
|
]
|
|
72
72
|
}
|
|
73
73
|
ruleImplementation={
|
|
74
|
-
|
|
74
|
+
{
|
|
75
75
|
"executable": true,
|
|
76
76
|
"goal": 10,
|
|
77
77
|
"id": 10,
|
|
@@ -79,11 +79,11 @@ exports[`<RuleImplementationProperties /> matches the latest snapshot 1`] = `
|
|
|
79
79
|
"name": "NameRule2",
|
|
80
80
|
"result_type": "percentage",
|
|
81
81
|
"status": "published",
|
|
82
|
-
"system_params":
|
|
83
|
-
"column":
|
|
82
|
+
"system_params": {
|
|
83
|
+
"column": {
|
|
84
84
|
"id": 2876,
|
|
85
85
|
"name": "% Abandono de Clientes ac. año / Cartera Clientes",
|
|
86
|
-
"path":
|
|
86
|
+
"path": [
|
|
87
87
|
"CRM",
|
|
88
88
|
"Objetos Públicos",
|
|
89
89
|
"Informes",
|
|
@@ -91,7 +91,7 @@ exports[`<RuleImplementationProperties /> matches the latest snapshot 1`] = `
|
|
|
91
91
|
"ACGC - 01.00 Análisis General Compañía",
|
|
92
92
|
],
|
|
93
93
|
},
|
|
94
|
-
"table":
|
|
94
|
+
"table": {
|
|
95
95
|
"name": "aaaxxx",
|
|
96
96
|
},
|
|
97
97
|
},
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
exports[`<RuleImplementationsActions /> matches the latest snapshot 1`] = `
|
|
4
4
|
<div
|
|
5
5
|
style={
|
|
6
|
-
|
|
6
|
+
{
|
|
7
7
|
"float": "right",
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -14,7 +14,7 @@ exports[`<RuleImplementationsActions /> matches the latest snapshot 1`] = `
|
|
|
14
14
|
id="execute_checkbox"
|
|
15
15
|
onChange={[Function]}
|
|
16
16
|
style={
|
|
17
|
-
|
|
17
|
+
{
|
|
18
18
|
"marginRight": "7.5px",
|
|
19
19
|
"top": "6px",
|
|
20
20
|
}
|
|
@@ -29,10 +29,10 @@ exports[`<RuleImplementationsActions /> matches the latest snapshot 1`] = `
|
|
|
29
29
|
/>
|
|
30
30
|
<Button
|
|
31
31
|
as={
|
|
32
|
-
|
|
32
|
+
{
|
|
33
33
|
"$$typeof": Symbol(react.forward_ref),
|
|
34
34
|
"displayName": "Link",
|
|
35
|
-
"propTypes":
|
|
35
|
+
"propTypes": {
|
|
36
36
|
"innerRef": [Function],
|
|
37
37
|
"onClick": [Function],
|
|
38
38
|
"replace": [Function],
|
|
@@ -47,10 +47,10 @@ exports[`<RuleImplementationsActions /> matches the latest snapshot 1`] = `
|
|
|
47
47
|
/>
|
|
48
48
|
<Button
|
|
49
49
|
as={
|
|
50
|
-
|
|
50
|
+
{
|
|
51
51
|
"$$typeof": Symbol(react.forward_ref),
|
|
52
52
|
"displayName": "Link",
|
|
53
|
-
"propTypes":
|
|
53
|
+
"propTypes": {
|
|
54
54
|
"innerRef": [Function],
|
|
55
55
|
"onClick": [Function],
|
|
56
56
|
"replace": [Function],
|
package/src/components/__tests__/__snapshots__/RuleImplementationsFromRuleLoader.spec.js.snap
CHANGED
|
@@ -4,18 +4,18 @@ exports[`<RuleImplementationsFromRuleLoader /> matches the latest snapshot 1`] =
|
|
|
4
4
|
<RuleImplementationsFromRuleLoader
|
|
5
5
|
clearRuleImplementations={[MockFunction]}
|
|
6
6
|
deletionQuery={
|
|
7
|
-
|
|
7
|
+
{
|
|
8
8
|
"deleted": false,
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
fetchRuleImplementations={
|
|
12
12
|
[MockFunction] {
|
|
13
|
-
"calls":
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
"filters":
|
|
17
|
-
"must_not":
|
|
18
|
-
"status":
|
|
13
|
+
"calls": [
|
|
14
|
+
[
|
|
15
|
+
{
|
|
16
|
+
"filters": {
|
|
17
|
+
"must_not": {
|
|
18
|
+
"status": [
|
|
19
19
|
"versioned",
|
|
20
20
|
],
|
|
21
21
|
},
|
|
@@ -24,8 +24,8 @@ exports[`<RuleImplementationsFromRuleLoader /> matches the latest snapshot 1`] =
|
|
|
24
24
|
},
|
|
25
25
|
],
|
|
26
26
|
],
|
|
27
|
-
"results":
|
|
28
|
-
|
|
27
|
+
"results": [
|
|
28
|
+
{
|
|
29
29
|
"type": "return",
|
|
30
30
|
"value": undefined,
|
|
31
31
|
},
|
|
@@ -4,25 +4,25 @@ exports[`<RuleImplementationsLoader /> matches the latest snapshot 1`] = `
|
|
|
4
4
|
<RuleImplementationsLoader
|
|
5
5
|
clearRuleImplementations={[MockFunction]}
|
|
6
6
|
payload={
|
|
7
|
-
|
|
8
|
-
"filters":
|
|
7
|
+
{
|
|
8
|
+
"filters": {
|
|
9
9
|
"structure_id": 1,
|
|
10
10
|
},
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
13
|
searchRuleImplementations={
|
|
14
14
|
[MockFunction] {
|
|
15
|
-
"calls":
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
"filters":
|
|
15
|
+
"calls": [
|
|
16
|
+
[
|
|
17
|
+
{
|
|
18
|
+
"filters": {
|
|
19
19
|
"structure_id": 1,
|
|
20
20
|
},
|
|
21
21
|
},
|
|
22
22
|
],
|
|
23
23
|
],
|
|
24
|
-
"results":
|
|
25
|
-
|
|
24
|
+
"results": [
|
|
25
|
+
{
|
|
26
26
|
"type": "return",
|
|
27
27
|
"value": undefined,
|
|
28
28
|
},
|
|
@@ -36,16 +36,16 @@ exports[`<RuleImplementationsTable /> matches the latest snapshot 1`] = `
|
|
|
36
36
|
>
|
|
37
37
|
<RuleImplementationRow
|
|
38
38
|
columns={
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
[
|
|
40
|
+
{
|
|
41
41
|
"name": "rule",
|
|
42
|
-
"sort":
|
|
42
|
+
"sort": {
|
|
43
43
|
"name": "name.raw",
|
|
44
44
|
},
|
|
45
45
|
},
|
|
46
|
-
|
|
46
|
+
{
|
|
47
47
|
"name": "result",
|
|
48
|
-
"sort":
|
|
48
|
+
"sort": {
|
|
49
49
|
"name": "bar.raw",
|
|
50
50
|
},
|
|
51
51
|
},
|
|
@@ -54,23 +54,23 @@ exports[`<RuleImplementationsTable /> matches the latest snapshot 1`] = `
|
|
|
54
54
|
key="0"
|
|
55
55
|
onChange={[Function]}
|
|
56
56
|
ruleImplementation={
|
|
57
|
-
|
|
57
|
+
{
|
|
58
58
|
"id": 1,
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
61
|
/>
|
|
62
62
|
<RuleImplementationRow
|
|
63
63
|
columns={
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
[
|
|
65
|
+
{
|
|
66
66
|
"name": "rule",
|
|
67
|
-
"sort":
|
|
67
|
+
"sort": {
|
|
68
68
|
"name": "name.raw",
|
|
69
69
|
},
|
|
70
70
|
},
|
|
71
|
-
|
|
71
|
+
{
|
|
72
72
|
"name": "result",
|
|
73
|
-
"sort":
|
|
73
|
+
"sort": {
|
|
74
74
|
"name": "bar.raw",
|
|
75
75
|
},
|
|
76
76
|
},
|
|
@@ -79,23 +79,23 @@ exports[`<RuleImplementationsTable /> matches the latest snapshot 1`] = `
|
|
|
79
79
|
key="1"
|
|
80
80
|
onChange={[Function]}
|
|
81
81
|
ruleImplementation={
|
|
82
|
-
|
|
82
|
+
{
|
|
83
83
|
"id": 2,
|
|
84
84
|
}
|
|
85
85
|
}
|
|
86
86
|
/>
|
|
87
87
|
<RuleImplementationRow
|
|
88
88
|
columns={
|
|
89
|
-
|
|
90
|
-
|
|
89
|
+
[
|
|
90
|
+
{
|
|
91
91
|
"name": "rule",
|
|
92
|
-
"sort":
|
|
92
|
+
"sort": {
|
|
93
93
|
"name": "name.raw",
|
|
94
94
|
},
|
|
95
95
|
},
|
|
96
|
-
|
|
96
|
+
{
|
|
97
97
|
"name": "result",
|
|
98
|
-
"sort":
|
|
98
|
+
"sort": {
|
|
99
99
|
"name": "bar.raw",
|
|
100
100
|
},
|
|
101
101
|
},
|
|
@@ -104,7 +104,7 @@ exports[`<RuleImplementationsTable /> matches the latest snapshot 1`] = `
|
|
|
104
104
|
key="2"
|
|
105
105
|
onChange={[Function]}
|
|
106
106
|
ruleImplementation={
|
|
107
|
-
|
|
107
|
+
{
|
|
108
108
|
"id": 3,
|
|
109
109
|
}
|
|
110
110
|
}
|