ApiLogicServer 15.0.26__py3-none-any.whl → 15.0.28__py3-none-any.whl
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.
- api_logic_server_cli/api_logic_server.py +2 -2
- api_logic_server_cli/api_logic_server_info.yaml +3 -3
- api_logic_server_cli/cli.py +1 -1
- api_logic_server_cli/genai/genai_admin_app.py +11 -6
- api_logic_server_cli/genai/genai_svcs.py +3 -3
- api_logic_server_cli/logging.yml +16 -1
- api_logic_server_cli/prototypes/.DS_Store +0 -0
- api_logic_server_cli/prototypes/basic_demo/.DS_Store +0 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/.DS_Store +0 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/.DS_Store +0 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/admin/.DS_Store +0 -0
- api_logic_server_cli/prototypes/{nw/ui/react_admin → basic_demo/customizations/ui/reference_react_app}/.DS_Store +0 -0
- api_logic_server_cli/prototypes/{nw/ui/react_admin → basic_demo/customizations/ui/reference_react_app}/README.md +0 -2
- api_logic_server_cli/prototypes/{nw/ui/react_admin → basic_demo/customizations/ui/reference_react_app}/package.json +3 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/App.js +61 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/Config-reference.js +527 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/Config.js +527 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/Customer-reference.js +216 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/Customer.js +230 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/Item.js +170 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/Order.js +207 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/Product.js +140 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/SysEmail.js +157 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/SysMcp.js +110 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/app_loader.js +24 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/rav4-jsonapi-client/.eslintrc +5 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/rav4-jsonapi-client/.yarnrc.yml +4 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/rav4-jsonapi-client/default-settings.js +25 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/rav4-jsonapi-client/default-settings.ts +25 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/rav4-jsonapi-client/errors.js +116 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/rav4-jsonapi-client/errors.ts +116 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/rav4-jsonapi-client/index.test.tsx +7 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/rav4-jsonapi-client/index.tsx +11 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/rav4-jsonapi-client/ra-jsonapi-client.js +577 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/rav4-jsonapi-client/ra-jsonapi-client.ts +577 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/rav4-jsonapi-client/resourceLookup.js +124 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/rav4-jsonapi-client/resourceLookup.ts +124 -0
- api_logic_server_cli/prototypes/basic_demo/customizations/ui/reference_react_app/src/rav4-jsonapi-client/styles.module.css +9 -0
- api_logic_server_cli/prototypes/manager/system/genai/app_templates/app_learning/Admin-App-Resource-Learning-Prompt.md +2 -2
- api_logic_server_cli/prototypes/nw/ui/.DS_Store +0 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/.DS_Store +0 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/README.md +17 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/README_create_react_app.md +70 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/compile-errors.txt +324 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/package-lock.json +18493 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/package.json +47 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/public/favicon.ico +0 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/public/index.html +43 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/public/logo192.png +0 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/public/logo512.png +0 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/public/manifest.json +25 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/public/robots.txt +3 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/App.css +38 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/App.js +147 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/App.test.js +8 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/Category.js +141 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/Config.js +527 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/Customer.js +193 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/CustomerDemographic.js +119 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/Department.js +144 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/Employee.js +213 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/EmployeeAudit.js +223 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/EmployeeTerritory.js +94 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/Location.js +170 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/Order.js +179 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/OrderDetail.js +201 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/Product.js +226 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/Region.js +104 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/Shipper.js +120 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/Supplier.js +143 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/Territory.js +145 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/Union.js +119 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/app_loader.js +24 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/index.css +13 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/index.js +17 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/logo.svg +1 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/rav4-jsonapi-client/.eslintrc +5 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/rav4-jsonapi-client/.yarnrc.yml +4 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/rav4-jsonapi-client/default-settings.js +25 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/rav4-jsonapi-client/default-settings.ts +25 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/rav4-jsonapi-client/errors.js +116 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/rav4-jsonapi-client/errors.ts +116 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/rav4-jsonapi-client/index.test.tsx +7 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/rav4-jsonapi-client/index.tsx +11 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/rav4-jsonapi-client/ra-jsonapi-client.js +577 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/rav4-jsonapi-client/ra-jsonapi-client.ts +577 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/rav4-jsonapi-client/resourceLookup.js +124 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/rav4-jsonapi-client/resourceLookup.ts +124 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/rav4-jsonapi-client/styles.module.css +9 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/reportWebVitals.js +13 -0
- api_logic_server_cli/prototypes/nw/ui/reference_react_app/src/setupTests.js +5 -0
- {apilogicserver-15.0.26.dist-info → apilogicserver-15.0.28.dist-info}/METADATA +1 -1
- {apilogicserver-15.0.26.dist-info → apilogicserver-15.0.28.dist-info}/RECORD +114 -52
- api_logic_server_cli/prototypes/nw/ui/react_admin/src/App.js +0 -58
- api_logic_server_cli/prototypes/nw/ui/react_admin/src/Category.js +0 -82
- api_logic_server_cli/prototypes/nw/ui/react_admin/src/Customer.js +0 -211
- api_logic_server_cli/prototypes/nw/ui/react_admin/src/CustomerDemographic.js +0 -57
- api_logic_server_cli/prototypes/nw/ui/react_admin/src/Department.js +0 -98
- api_logic_server_cli/prototypes/nw/ui/react_admin/src/Employee.js +0 -100
- api_logic_server_cli/prototypes/nw/ui/react_admin/src/EmployeeAudit.js +0 -106
- api_logic_server_cli/prototypes/nw/ui/react_admin/src/EmployeeTerritory.js +0 -98
- api_logic_server_cli/prototypes/nw/ui/react_admin/src/Location.js +0 -87
- api_logic_server_cli/prototypes/nw/ui/react_admin/src/Order.js +0 -98
- api_logic_server_cli/prototypes/nw/ui/react_admin/src/OrderDetail.js +0 -112
- api_logic_server_cli/prototypes/nw/ui/react_admin/src/Product.js +0 -103
- api_logic_server_cli/prototypes/nw/ui/react_admin/src/Region.js +0 -65
- api_logic_server_cli/prototypes/nw/ui/react_admin/src/Shipper.js +0 -67
- api_logic_server_cli/prototypes/nw/ui/react_admin/src/Supplier.js +0 -87
- api_logic_server_cli/prototypes/nw/ui/react_admin/src/Territory.js +0 -90
- api_logic_server_cli/prototypes/nw/ui/react_admin/src/Union.js +0 -61
- /api_logic_server_cli/prototypes/{nw/ui/react_admin → basic_demo/customizations/ui/reference_react_app}/README_create_react_app.md +0 -0
- /api_logic_server_cli/prototypes/{nw/ui/react_admin → basic_demo/customizations/ui/reference_react_app}/package-lock.json +0 -0
- /api_logic_server_cli/prototypes/{nw/ui/react_admin → basic_demo/customizations/ui/reference_react_app}/public/favicon.ico +0 -0
- /api_logic_server_cli/prototypes/{nw/ui/react_admin → basic_demo/customizations/ui/reference_react_app}/public/index.html +0 -0
- /api_logic_server_cli/prototypes/{nw/ui/react_admin → basic_demo/customizations/ui/reference_react_app}/public/logo192.png +0 -0
- /api_logic_server_cli/prototypes/{nw/ui/react_admin → basic_demo/customizations/ui/reference_react_app}/public/logo512.png +0 -0
- /api_logic_server_cli/prototypes/{nw/ui/react_admin → basic_demo/customizations/ui/reference_react_app}/public/manifest.json +0 -0
- /api_logic_server_cli/prototypes/{nw/ui/react_admin → basic_demo/customizations/ui/reference_react_app}/public/robots.txt +0 -0
- /api_logic_server_cli/prototypes/{nw/ui/react_admin → basic_demo/customizations/ui/reference_react_app}/src/App.css +0 -0
- /api_logic_server_cli/prototypes/{nw/ui/react_admin → basic_demo/customizations/ui/reference_react_app}/src/App.test.js +0 -0
- /api_logic_server_cli/prototypes/{nw/ui/react_admin → basic_demo/customizations/ui/reference_react_app}/src/index.css +0 -0
- /api_logic_server_cli/prototypes/{nw/ui/react_admin → basic_demo/customizations/ui/reference_react_app}/src/index.js +0 -0
- /api_logic_server_cli/prototypes/{nw/ui/react_admin → basic_demo/customizations/ui/reference_react_app}/src/logo.svg +0 -0
- /api_logic_server_cli/prototypes/{nw/ui/react_admin → basic_demo/customizations/ui/reference_react_app}/src/reportWebVitals.js +0 -0
- /api_logic_server_cli/prototypes/{nw/ui/react_admin → basic_demo/customizations/ui/reference_react_app}/src/setupTests.js +0 -0
- /api_logic_server_cli/prototypes/nw/ui/{react_admin → reference_react_app}/src/SampleDBVersion.js +0 -0
- /api_logic_server_cli/prototypes/nw/ui/{react_admin → reference_react_app}/src/dataProvider.js +0 -0
- {apilogicserver-15.0.26.dist-info → apilogicserver-15.0.28.dist-info}/WHEEL +0 -0
- {apilogicserver-15.0.26.dist-info → apilogicserver-15.0.28.dist-info}/entry_points.txt +0 -0
- {apilogicserver-15.0.26.dist-info → apilogicserver-15.0.28.dist-info}/licenses/LICENSE +0 -0
- {apilogicserver-15.0.26.dist-info → apilogicserver-15.0.28.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,124 @@
|
|
|
1
|
+
interface Relationship {
|
|
2
|
+
data: null | { id: string; type: string } | Array<{ id: string; type: string }>;
|
|
3
|
+
relationships?: { [key: string]: Relationship };
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* A map-like class that maps resource linkage objects {id: 1, type: "user"} to concrete resources with attributes and
|
|
8
|
+
* relationships
|
|
9
|
+
*/
|
|
10
|
+
export default class ResourceLookup {
|
|
11
|
+
lookup: Map<any, any>;
|
|
12
|
+
includes: string[];
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Constructs a new lookup map
|
|
16
|
+
* @param {Object} response A JSON API response, in JSON format
|
|
17
|
+
*/
|
|
18
|
+
constructor(response: any) {
|
|
19
|
+
this.lookup = new Map();
|
|
20
|
+
this.includes = [];
|
|
21
|
+
|
|
22
|
+
// If the response wasn't a JSON dictionary, we can't and don't need to build a lookup
|
|
23
|
+
if (typeof response !== 'object') return;
|
|
24
|
+
|
|
25
|
+
let resources;
|
|
26
|
+
// if (response.hasOwnProperty('included')) {
|
|
27
|
+
if (Object.prototype.hasOwnProperty.call(response, 'included')) {
|
|
28
|
+
resources = [...response.data, ...response.included];
|
|
29
|
+
} else {
|
|
30
|
+
resources = response.data;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
// Iterate over each resource returned and put each in the lookup
|
|
34
|
+
for (const entry of resources) {
|
|
35
|
+
const key = this.getKey(entry);
|
|
36
|
+
this.lookup.set(key, entry);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* Calculates a hashable key for JSON API resources
|
|
42
|
+
* @param resource A resource linkage object
|
|
43
|
+
* @returns {string}
|
|
44
|
+
*/
|
|
45
|
+
getKey(resource: any) {
|
|
46
|
+
return `${resource.type}:${resource.id}`;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Looks up a resource
|
|
51
|
+
* @param resource A resource linkage object
|
|
52
|
+
* @returns {Object}
|
|
53
|
+
*/
|
|
54
|
+
get(resource: any) {
|
|
55
|
+
// If we don't have included data for this resource, just return the Resource Linkage object, since that's still
|
|
56
|
+
// useful
|
|
57
|
+
if (this.has(resource)) {
|
|
58
|
+
return this.lookup.get(this.getKey(resource));
|
|
59
|
+
} else {
|
|
60
|
+
return structuredClone(resource);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Returns true if the resource is in the lookup
|
|
66
|
+
* @param resource
|
|
67
|
+
* @returns {boolean}
|
|
68
|
+
*/
|
|
69
|
+
has(resource: any) {
|
|
70
|
+
return this.lookup.has(this.getKey(resource));
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Converts a JSON API data object (with id, type, and attributes fields) into a flattened object
|
|
75
|
+
* @param {Object} response A JSON API data object
|
|
76
|
+
*/
|
|
77
|
+
unwrapData(response: any) {
|
|
78
|
+
// The base resource object, merge the attributes and the id/type fields
|
|
79
|
+
const result = Object.assign(
|
|
80
|
+
{
|
|
81
|
+
id: response?.id,
|
|
82
|
+
ja_type: response?.type,
|
|
83
|
+
type: response?.Type || response?.type,
|
|
84
|
+
attributes: response.attributes || {},
|
|
85
|
+
},
|
|
86
|
+
response.attributes
|
|
87
|
+
);
|
|
88
|
+
|
|
89
|
+
// Deal with relationships
|
|
90
|
+
if (Object.prototype.hasOwnProperty.call(response, 'relationships')) {
|
|
91
|
+
result.relationships = response.relationships;
|
|
92
|
+
for (const [relationshipName, relationship] of Object.entries(response.relationships)) {
|
|
93
|
+
if ((relationship as Relationship).data === null) {
|
|
94
|
+
result[relationshipName] = null;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
if (!(relationship as Relationship).data) {
|
|
98
|
+
continue;
|
|
99
|
+
} else if (Array.isArray((relationship as Relationship).data && (relationship as Relationship).data)) {
|
|
100
|
+
result[relationshipName] = (relationship as Relationship).data?.map((linkage: any) => {
|
|
101
|
+
const resource = this.get(linkage);
|
|
102
|
+
const lresult = structuredClone(this.unwrapData(resource));
|
|
103
|
+
Object.entries(lresult.attributes || {}).map(([key, value]) => {
|
|
104
|
+
lresult[key] = value;
|
|
105
|
+
});
|
|
106
|
+
result.relationships[relationshipName].data = result[relationshipName];
|
|
107
|
+
return lresult;
|
|
108
|
+
});
|
|
109
|
+
} else if ((relationship as Relationship).data?.id) {
|
|
110
|
+
const resource = this.get((relationship as Relationship).data);
|
|
111
|
+
result[relationshipName] = this.unwrapData(resource);
|
|
112
|
+
result.relationships[relationshipName].data = result[relationshipName];
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
try {
|
|
118
|
+
JSON.stringify(structuredClone(result));
|
|
119
|
+
} catch (e) {
|
|
120
|
+
return null;
|
|
121
|
+
}
|
|
122
|
+
return structuredClone(result);
|
|
123
|
+
}
|
|
124
|
+
}
|
|
@@ -11,12 +11,12 @@ Sample code (follow these guidelines EXACTLY):
|
|
|
11
11
|
<sample-code>
|
|
12
12
|
// begin MANDATORY imports (always generated EXACTLY)
|
|
13
13
|
import React from 'react';
|
|
14
|
-
import { List, FunctionField, Datagrid, TextField, DateField, NumberField } from 'react-admin';
|
|
14
|
+
import { List, FunctionField, Datagrid, TextField, EmailField, DateField, NumberField } from 'react-admin';
|
|
15
15
|
import { ReferenceField, ReferenceManyField } from 'react-admin';
|
|
16
16
|
import { TabbedShowLayout, Tab, SimpleShowLayout, TextInput, NumberInput, DateTimeInput } from 'react-admin';
|
|
17
17
|
import { ReferenceInput, SelectInput, SimpleForm, Show, Edit, Create } from 'react-admin';
|
|
18
18
|
import { Filter, Pagination, BooleanField, BooleanInput, Labeled } from 'react-admin';
|
|
19
|
-
import { EditButton, DeleteButton, CreateButton } from 'react-admin';
|
|
19
|
+
import { EditButton, DeleteButton, CreateButton, ShowButton } from 'react-admin';
|
|
20
20
|
import { Grid, Typography, Box, Divider, Button } from '@mui/material';
|
|
21
21
|
import { useRecordContext, useRedirect, Link, required } from 'react-admin';
|
|
22
22
|
import AddIcon from '@mui/icons-material/Add';
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
# Getting Started with Genai-Logic react-admin
|
|
2
|
+
|
|
3
|
+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). For more information, see [README_create_react_app](README_create_react_app.md).
|
|
4
|
+
|
|
5
|
+
GenAI-Logic (`als genai-app`) then [created this project](https://apilogicserver.github.io/Docs/Admin-Vibe/).
|
|
6
|
+
|
|
7
|
+
<br>
|
|
8
|
+
|
|
9
|
+
# To run the app:
|
|
10
|
+
|
|
11
|
+
```bash
|
|
12
|
+
cd ui/react-admin
|
|
13
|
+
npm install
|
|
14
|
+
npm start
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Open your browser at [http://localhost:3000](http://localhost:3000).
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# Getting Started with Create React App
|
|
2
|
+
|
|
3
|
+
This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app).
|
|
4
|
+
|
|
5
|
+
## Available Scripts
|
|
6
|
+
|
|
7
|
+
In the project directory, you can run:
|
|
8
|
+
|
|
9
|
+
### `npm start`
|
|
10
|
+
|
|
11
|
+
Runs the app in the development mode.\
|
|
12
|
+
Open [http://localhost:3000](http://localhost:3000) to view it in your browser.
|
|
13
|
+
|
|
14
|
+
The page will reload when you make changes.\
|
|
15
|
+
You may also see any lint errors in the console.
|
|
16
|
+
|
|
17
|
+
### `npm test`
|
|
18
|
+
|
|
19
|
+
Launches the test runner in the interactive watch mode.\
|
|
20
|
+
See the section about [running tests](https://facebook.github.io/create-react-app/docs/running-tests) for more information.
|
|
21
|
+
|
|
22
|
+
### `npm run build`
|
|
23
|
+
|
|
24
|
+
Builds the app for production to the `build` folder.\
|
|
25
|
+
It correctly bundles React in production mode and optimizes the build for the best performance.
|
|
26
|
+
|
|
27
|
+
The build is minified and the filenames include the hashes.\
|
|
28
|
+
Your app is ready to be deployed!
|
|
29
|
+
|
|
30
|
+
See the section about [deployment](https://facebook.github.io/create-react-app/docs/deployment) for more information.
|
|
31
|
+
|
|
32
|
+
### `npm run eject`
|
|
33
|
+
|
|
34
|
+
**Note: this is a one-way operation. Once you `eject`, you can't go back!**
|
|
35
|
+
|
|
36
|
+
If you aren't satisfied with the build tool and configuration choices, you can `eject` at any time. This command will remove the single build dependency from your project.
|
|
37
|
+
|
|
38
|
+
Instead, it will copy all the configuration files and the transitive dependencies (webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except `eject` will still work, but they will point to the copied scripts so you can tweak them. At this point you're on your own.
|
|
39
|
+
|
|
40
|
+
You don't have to ever use `eject`. The curated feature set is suitable for small and middle deployments, and you shouldn't feel obligated to use this feature. However we understand that this tool wouldn't be useful if you couldn't customize it when you are ready for it.
|
|
41
|
+
|
|
42
|
+
## Learn More
|
|
43
|
+
|
|
44
|
+
You can learn more in the [Create React App documentation](https://facebook.github.io/create-react-app/docs/getting-started).
|
|
45
|
+
|
|
46
|
+
To learn React, check out the [React documentation](https://reactjs.org/).
|
|
47
|
+
|
|
48
|
+
### Code Splitting
|
|
49
|
+
|
|
50
|
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/code-splitting](https://facebook.github.io/create-react-app/docs/code-splitting)
|
|
51
|
+
|
|
52
|
+
### Analyzing the Bundle Size
|
|
53
|
+
|
|
54
|
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size](https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size)
|
|
55
|
+
|
|
56
|
+
### Making a Progressive Web App
|
|
57
|
+
|
|
58
|
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app](https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app)
|
|
59
|
+
|
|
60
|
+
### Advanced Configuration
|
|
61
|
+
|
|
62
|
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/advanced-configuration](https://facebook.github.io/create-react-app/docs/advanced-configuration)
|
|
63
|
+
|
|
64
|
+
### Deployment
|
|
65
|
+
|
|
66
|
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/deployment](https://facebook.github.io/create-react-app/docs/deployment)
|
|
67
|
+
|
|
68
|
+
### `npm run build` fails to minify
|
|
69
|
+
|
|
70
|
+
This section has moved here: [https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify](https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify)
|
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
Failed to compile.
|
|
2
|
+
|
|
3
|
+
SyntaxError: /Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/src/Union.js: Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>? (63:20)
|
|
4
|
+
61 | <DeleteButton />
|
|
5
|
+
62 | </Datagrid>
|
|
6
|
+
> 63 | </ReferenceManyField>
|
|
7
|
+
| ^
|
|
8
|
+
64 | </Tab>
|
|
9
|
+
65 | </TabbedShowLayout>
|
|
10
|
+
66 | </Show>
|
|
11
|
+
WARNING in ./node_modules/js-yaml/lib/js-yaml/type/binary.js 8:15-40
|
|
12
|
+
Module not found: Error: Can't resolve 'buffer' in '/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/js-yaml/lib/js-yaml/type'
|
|
13
|
+
|
|
14
|
+
BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default.
|
|
15
|
+
This is no longer the case. Verify if you need this module and configure a polyfill for it.
|
|
16
|
+
|
|
17
|
+
If you want to include a polyfill, you need to:
|
|
18
|
+
- add a fallback 'resolve.fallback: { "buffer": require.resolve("buffer/") }'
|
|
19
|
+
- install 'buffer'
|
|
20
|
+
If you don't want to include a polyfill, you can use an empty module like this:
|
|
21
|
+
resolve.fallback: { "buffer": false }
|
|
22
|
+
|
|
23
|
+
WARNING in [eslint]
|
|
24
|
+
src/App.js
|
|
25
|
+
Line 6:10: 'useConf' is defined but never used no-unused-vars
|
|
26
|
+
|
|
27
|
+
src/Category.js
|
|
28
|
+
Line 3:16: 'FunctionField' is defined but never used no-unused-vars
|
|
29
|
+
Line 3:52: 'EmailField' is defined but never used no-unused-vars
|
|
30
|
+
Line 3:64: 'DateField' is defined but never used no-unused-vars
|
|
31
|
+
Line 4:10: 'ReferenceField' is defined but never used no-unused-vars
|
|
32
|
+
Line 4:26: 'ReferenceManyField' is defined but never used no-unused-vars
|
|
33
|
+
Line 5:10: 'TabbedShowLayout' is defined but never used no-unused-vars
|
|
34
|
+
Line 5:28: 'Tab' is defined but never used no-unused-vars
|
|
35
|
+
Line 5:75: 'DateTimeInput' is defined but never used no-unused-vars
|
|
36
|
+
Line 6:10: 'ReferenceInput' is defined but never used no-unused-vars
|
|
37
|
+
Line 6:26: 'SelectInput' is defined but never used no-unused-vars
|
|
38
|
+
Line 7:30: 'BooleanField' is defined but never used no-unused-vars
|
|
39
|
+
Line 7:44: 'BooleanInput' is defined but never used no-unused-vars
|
|
40
|
+
Line 8:10: 'EditButton' is defined but never used no-unused-vars
|
|
41
|
+
Line 8:22: 'DeleteButton' is defined but never used no-unused-vars
|
|
42
|
+
Line 8:36: 'CreateButton' is defined but never used no-unused-vars
|
|
43
|
+
Line 8:50: 'ShowButton' is defined but never used no-unused-vars
|
|
44
|
+
Line 9:42: 'Button' is defined but never used no-unused-vars
|
|
45
|
+
Line 10:10: 'useRecordContext' is defined but never used no-unused-vars
|
|
46
|
+
Line 10:28: 'useRedirect' is defined but never used no-unused-vars
|
|
47
|
+
Line 10:41: 'Link' is defined but never used no-unused-vars
|
|
48
|
+
Line 11:8: 'AddIcon' is defined but never used no-unused-vars
|
|
49
|
+
Line 136:1: Assign object to a variable before exporting as module default import/no-anonymous-default-export
|
|
50
|
+
|
|
51
|
+
src/Config.js
|
|
52
|
+
Line 296:7: 'removeDupConfs' is assigned a value but never used no-unused-vars
|
|
53
|
+
Line 380:24: Expected '!==' and instead saw '!=' eqeqeq
|
|
54
|
+
Line 407:26: Expected '===' and instead saw '==' eqeqeq
|
|
55
|
+
Line 526:42: Expected '===' and instead saw '==' eqeqeq
|
|
56
|
+
|
|
57
|
+
src/Customer.js
|
|
58
|
+
Line 3:16: 'FunctionField' is defined but never used no-unused-vars
|
|
59
|
+
Line 3:52: 'EmailField' is defined but never used no-unused-vars
|
|
60
|
+
Line 4:10: 'ReferenceField' is defined but never used no-unused-vars
|
|
61
|
+
Line 5:75: 'DateTimeInput' is defined but never used no-unused-vars
|
|
62
|
+
Line 6:10: 'ReferenceInput' is defined but never used no-unused-vars
|
|
63
|
+
Line 6:26: 'SelectInput' is defined but never used no-unused-vars
|
|
64
|
+
Line 7:30: 'BooleanField' is defined but never used no-unused-vars
|
|
65
|
+
Line 8:36: 'CreateButton' is defined but never used no-unused-vars
|
|
66
|
+
Line 8:50: 'ShowButton' is defined but never used no-unused-vars
|
|
67
|
+
Line 10:41: 'Link' is defined but never used no-unused-vars
|
|
68
|
+
Line 188:1: Assign object to a variable before exporting as module default import/no-anonymous-default-export
|
|
69
|
+
|
|
70
|
+
src/Department.js
|
|
71
|
+
Line 3:16: 'FunctionField' is defined but never used no-unused-vars
|
|
72
|
+
Line 3:52: 'EmailField' is defined but never used no-unused-vars
|
|
73
|
+
Line 4:10: 'ReferenceField' is defined but never used no-unused-vars
|
|
74
|
+
Line 5:75: 'DateTimeInput' is defined but never used no-unused-vars
|
|
75
|
+
Line 6:10: 'ReferenceInput' is defined but never used no-unused-vars
|
|
76
|
+
Line 6:26: 'SelectInput' is defined but never used no-unused-vars
|
|
77
|
+
Line 7:10: 'Filter' is defined but never used no-unused-vars
|
|
78
|
+
Line 7:30: 'BooleanField' is defined but never used no-unused-vars
|
|
79
|
+
Line 7:44: 'BooleanInput' is defined but never used no-unused-vars
|
|
80
|
+
Line 8:36: 'CreateButton' is defined but never used no-unused-vars
|
|
81
|
+
Line 8:50: 'ShowButton' is defined but never used no-unused-vars
|
|
82
|
+
Line 10:41: 'Link' is defined but never used no-unused-vars
|
|
83
|
+
Line 10:47: 'required' is defined but never used no-unused-vars
|
|
84
|
+
Line 139:1: Assign object to a variable before exporting as module default import/no-anonymous-default-export
|
|
85
|
+
|
|
86
|
+
src/Employee.js
|
|
87
|
+
Line 3:16: 'FunctionField' is defined but never used no-unused-vars
|
|
88
|
+
Line 5:75: 'DateTimeInput' is defined but never used no-unused-vars
|
|
89
|
+
Line 7:30: 'BooleanField' is defined but never used no-unused-vars
|
|
90
|
+
Line 7:44: 'BooleanInput' is defined but never used no-unused-vars
|
|
91
|
+
Line 8:36: 'CreateButton' is defined but never used no-unused-vars
|
|
92
|
+
Line 9:42: 'Button' is defined but never used no-unused-vars
|
|
93
|
+
Line 10:10: 'useRecordContext' is defined but never used no-unused-vars
|
|
94
|
+
Line 10:28: 'useRedirect' is defined but never used no-unused-vars
|
|
95
|
+
Line 10:41: 'Link' is defined but never used no-unused-vars
|
|
96
|
+
Line 11:8: 'AddIcon' is defined but never used no-unused-vars
|
|
97
|
+
Line 208:1: Assign object to a variable before exporting as module default import/no-anonymous-default-export
|
|
98
|
+
|
|
99
|
+
src/Order.js
|
|
100
|
+
Line 3:16: 'FunctionField' is defined but never used no-unused-vars
|
|
101
|
+
Line 3:52: 'EmailField' is defined but never used no-unused-vars
|
|
102
|
+
Line 8:36: 'CreateButton' is defined but never used no-unused-vars
|
|
103
|
+
Line 8:50: 'ShowButton' is defined but never used no-unused-vars
|
|
104
|
+
Line 9:42: 'Button' is defined but never used no-unused-vars
|
|
105
|
+
Line 10:10: 'useRecordContext' is defined but never used no-unused-vars
|
|
106
|
+
Line 10:28: 'useRedirect' is defined but never used no-unused-vars
|
|
107
|
+
Line 10:41: 'Link' is defined but never used no-unused-vars
|
|
108
|
+
Line 11:8: 'AddIcon' is defined but never used no-unused-vars
|
|
109
|
+
Line 174:1: Assign object to a variable before exporting as module default import/no-anonymous-default-export
|
|
110
|
+
|
|
111
|
+
src/OrderDetail.js
|
|
112
|
+
Line 3:16: 'FunctionField' is defined but never used no-unused-vars
|
|
113
|
+
Line 3:52: 'EmailField' is defined but never used no-unused-vars
|
|
114
|
+
Line 4:26: 'ReferenceManyField' is defined but never used no-unused-vars
|
|
115
|
+
Line 5:10: 'TabbedShowLayout' is defined but never used no-unused-vars
|
|
116
|
+
Line 5:28: 'Tab' is defined but never used no-unused-vars
|
|
117
|
+
Line 5:51: 'TextInput' is defined but never used no-unused-vars
|
|
118
|
+
Line 5:75: 'DateTimeInput' is defined but never used no-unused-vars
|
|
119
|
+
Line 7:10: 'Filter' is defined but never used no-unused-vars
|
|
120
|
+
Line 7:18: 'Pagination' is defined but never used no-unused-vars
|
|
121
|
+
Line 7:30: 'BooleanField' is defined but never used no-unused-vars
|
|
122
|
+
Line 7:44: 'BooleanInput' is defined but never used no-unused-vars
|
|
123
|
+
Line 8:36: 'CreateButton' is defined but never used no-unused-vars
|
|
124
|
+
Line 8:50: 'ShowButton' is defined but never used no-unused-vars
|
|
125
|
+
Line 9:33: 'Divider' is defined but never used no-unused-vars
|
|
126
|
+
Line 9:42: 'Button' is defined but never used no-unused-vars
|
|
127
|
+
Line 10:10: 'useRecordContext' is defined but never used no-unused-vars
|
|
128
|
+
Line 10:28: 'useRedirect' is defined but never used no-unused-vars
|
|
129
|
+
Line 10:41: 'Link' is defined but never used no-unused-vars
|
|
130
|
+
Line 11:8: 'AddIcon' is defined but never used no-unused-vars
|
|
131
|
+
Line 196:1: Assign object to a variable before exporting as module default import/no-anonymous-default-export
|
|
132
|
+
|
|
133
|
+
src/Product.js
|
|
134
|
+
Line 3:16: 'FunctionField' is defined but never used no-unused-vars
|
|
135
|
+
Line 3:52: 'EmailField' is defined but never used no-unused-vars
|
|
136
|
+
Line 3:64: 'DateField' is defined but never used no-unused-vars
|
|
137
|
+
Line 4:10: 'ReferenceField' is defined but never used no-unused-vars
|
|
138
|
+
Line 5:75: 'DateTimeInput' is defined but never used no-unused-vars
|
|
139
|
+
Line 8:36: 'CreateButton' is defined but never used no-unused-vars
|
|
140
|
+
Line 8:50: 'ShowButton' is defined but never used no-unused-vars
|
|
141
|
+
Line 10:41: 'Link' is defined but never used no-unused-vars
|
|
142
|
+
Line 221:1: Assign object to a variable before exporting as module default import/no-anonymous-default-export
|
|
143
|
+
|
|
144
|
+
src/Region.js
|
|
145
|
+
Line 3:16: 'FunctionField' is defined but never used no-unused-vars
|
|
146
|
+
Line 3:52: 'EmailField' is defined but never used no-unused-vars
|
|
147
|
+
Line 3:64: 'DateField' is defined but never used no-unused-vars
|
|
148
|
+
Line 3:75: 'NumberField' is defined but never used no-unused-vars
|
|
149
|
+
Line 4:10: 'ReferenceField' is defined but never used no-unused-vars
|
|
150
|
+
Line 4:26: 'ReferenceManyField' is defined but never used no-unused-vars
|
|
151
|
+
Line 5:10: 'TabbedShowLayout' is defined but never used no-unused-vars
|
|
152
|
+
Line 5:28: 'Tab' is defined but never used no-unused-vars
|
|
153
|
+
Line 5:62: 'NumberInput' is defined but never used no-unused-vars
|
|
154
|
+
Line 5:75: 'DateTimeInput' is defined but never used no-unused-vars
|
|
155
|
+
Line 6:10: 'ReferenceInput' is defined but never used no-unused-vars
|
|
156
|
+
Line 6:26: 'SelectInput' is defined but never used no-unused-vars
|
|
157
|
+
Line 7:30: 'BooleanField' is defined but never used no-unused-vars
|
|
158
|
+
Line 7:44: 'BooleanInput' is defined but never used no-unused-vars
|
|
159
|
+
Line 7:58: 'Labeled' is defined but never used no-unused-vars
|
|
160
|
+
Line 8:10: 'EditButton' is defined but never used no-unused-vars
|
|
161
|
+
Line 8:22: 'DeleteButton' is defined but never used no-unused-vars
|
|
162
|
+
Line 8:36: 'CreateButton' is defined but never used no-unused-vars
|
|
163
|
+
Line 8:50: 'ShowButton' is defined but never used no-unused-vars
|
|
164
|
+
Line 9:42: 'Button' is defined but never used no-unused-vars
|
|
165
|
+
Line 10:10: 'useRecordContext' is defined but never used no-unused-vars
|
|
166
|
+
Line 10:28: 'useRedirect' is defined but never used no-unused-vars
|
|
167
|
+
Line 10:41: 'Link' is defined but never used no-unused-vars
|
|
168
|
+
Line 11:8: 'AddIcon' is defined but never used no-unused-vars
|
|
169
|
+
Line 99:1: Assign object to a variable before exporting as module default import/no-anonymous-default-export
|
|
170
|
+
|
|
171
|
+
src/Shipper.js
|
|
172
|
+
Line 3:16: 'FunctionField' is defined but never used no-unused-vars
|
|
173
|
+
Line 3:52: 'EmailField' is defined but never used no-unused-vars
|
|
174
|
+
Line 3:64: 'DateField' is defined but never used no-unused-vars
|
|
175
|
+
Line 3:75: 'NumberField' is defined but never used no-unused-vars
|
|
176
|
+
Line 4:10: 'ReferenceField' is defined but never used no-unused-vars
|
|
177
|
+
Line 4:26: 'ReferenceManyField' is defined but never used no-unused-vars
|
|
178
|
+
Line 5:10: 'TabbedShowLayout' is defined but never used no-unused-vars
|
|
179
|
+
Line 5:28: 'Tab' is defined but never used no-unused-vars
|
|
180
|
+
Line 5:33: 'SimpleShowLayout' is defined but never used no-unused-vars
|
|
181
|
+
Line 5:62: 'NumberInput' is defined but never used no-unused-vars
|
|
182
|
+
Line 5:75: 'DateTimeInput' is defined but never used no-unused-vars
|
|
183
|
+
Line 6:10: 'ReferenceInput' is defined but never used no-unused-vars
|
|
184
|
+
Line 6:26: 'SelectInput' is defined but never used no-unused-vars
|
|
185
|
+
Line 7:18: 'Pagination' is defined but never used no-unused-vars
|
|
186
|
+
Line 7:30: 'BooleanField' is defined but never used no-unused-vars
|
|
187
|
+
Line 7:44: 'BooleanInput' is defined but never used no-unused-vars
|
|
188
|
+
Line 7:58: 'Labeled' is defined but never used no-unused-vars
|
|
189
|
+
Line 8:36: 'CreateButton' is defined but never used no-unused-vars
|
|
190
|
+
Line 8:50: 'ShowButton' is defined but never used no-unused-vars
|
|
191
|
+
Line 9:33: 'Divider' is defined but never used no-unused-vars
|
|
192
|
+
Line 9:42: 'Button' is defined but never used no-unused-vars
|
|
193
|
+
Line 10:10: 'useRecordContext' is defined but never used no-unused-vars
|
|
194
|
+
Line 10:28: 'useRedirect' is defined but never used no-unused-vars
|
|
195
|
+
Line 10:41: 'Link' is defined but never used no-unused-vars
|
|
196
|
+
Line 11:8: 'AddIcon' is defined but never used no-unused-vars
|
|
197
|
+
Line 115:1: Assign object to a variable before exporting as module default import/no-anonymous-default-export
|
|
198
|
+
|
|
199
|
+
src/Supplier.js
|
|
200
|
+
Line 3:16: 'FunctionField' is defined but never used no-unused-vars
|
|
201
|
+
Line 3:52: 'EmailField' is defined but never used no-unused-vars
|
|
202
|
+
Line 3:64: 'DateField' is defined but never used no-unused-vars
|
|
203
|
+
Line 3:75: 'NumberField' is defined but never used no-unused-vars
|
|
204
|
+
Line 4:10: 'ReferenceField' is defined but never used no-unused-vars
|
|
205
|
+
Line 4:26: 'ReferenceManyField' is defined but never used no-unused-vars
|
|
206
|
+
Line 5:10: 'TabbedShowLayout' is defined but never used no-unused-vars
|
|
207
|
+
Line 5:28: 'Tab' is defined but never used no-unused-vars
|
|
208
|
+
Line 5:62: 'NumberInput' is defined but never used no-unused-vars
|
|
209
|
+
Line 5:75: 'DateTimeInput' is defined but never used no-unused-vars
|
|
210
|
+
Line 6:10: 'ReferenceInput' is defined but never used no-unused-vars
|
|
211
|
+
Line 6:26: 'SelectInput' is defined but never used no-unused-vars
|
|
212
|
+
Line 7:30: 'BooleanField' is defined but never used no-unused-vars
|
|
213
|
+
Line 7:44: 'BooleanInput' is defined but never used no-unused-vars
|
|
214
|
+
Line 8:36: 'CreateButton' is defined but never used no-unused-vars
|
|
215
|
+
Line 8:50: 'ShowButton' is defined but never used no-unused-vars
|
|
216
|
+
Line 9:28: 'Box' is defined but never used no-unused-vars
|
|
217
|
+
Line 9:42: 'Button' is defined but never used no-unused-vars
|
|
218
|
+
Line 10:10: 'useRecordContext' is defined but never used no-unused-vars
|
|
219
|
+
Line 10:28: 'useRedirect' is defined but never used no-unused-vars
|
|
220
|
+
Line 10:41: 'Link' is defined but never used no-unused-vars
|
|
221
|
+
Line 10:47: 'required' is defined but never used no-unused-vars
|
|
222
|
+
Line 11:8: 'AddIcon' is defined but never used no-unused-vars
|
|
223
|
+
Line 138:1: Assign object to a variable before exporting as module default import/no-anonymous-default-export
|
|
224
|
+
|
|
225
|
+
src/Territory.js
|
|
226
|
+
Line 3:69: 'NumberInput' is defined but never used no-unused-vars
|
|
227
|
+
Line 136:1: Assign object to a variable before exporting as module default import/no-anonymous-default-export
|
|
228
|
+
|
|
229
|
+
src/rav4-jsonapi-client/default-settings.js
|
|
230
|
+
Line 4:31: 'settings' was used before it was defined no-use-before-define
|
|
231
|
+
|
|
232
|
+
src/rav4-jsonapi-client/errors.js
|
|
233
|
+
Line 1:21: 'useNotify' is defined but never used no-unused-vars
|
|
234
|
+
Line 18:33: 'HttpErrorHandler' was used before it was defined no-use-before-define
|
|
235
|
+
|
|
236
|
+
src/rav4-jsonapi-client/ra-jsonapi-client.js
|
|
237
|
+
Line 277:13: 'conf' is assigned a value but never used no-unused-vars
|
|
238
|
+
Line 440:13: 'conf' is assigned a value but never used no-unused-vars
|
|
239
|
+
Line 443:17: 'data' is assigned a value but never used no-unused-vars
|
|
240
|
+
Line 491:13: 'conf' is assigned a value but never used no-unused-vars
|
|
241
|
+
Line 501:13: 'conf' is assigned a value but never used no-unused-vars
|
|
242
|
+
Line 531:15: 'conf' is assigned a value but never used no-unused-vars
|
|
243
|
+
Line 551:3: Unreachable code no-unreachable
|
|
244
|
+
|
|
245
|
+
src/rav4-jsonapi-client/resourceLookup.js
|
|
246
|
+
Line 103:85: Array.prototype.map() expects a return value from arrow function array-callback-return
|
|
247
|
+
|
|
248
|
+
ERROR in ./src/Union.js
|
|
249
|
+
Module build failed (from ./node_modules/babel-loader/lib/index.js):
|
|
250
|
+
SyntaxError: /Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/src/Union.js: Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>? (63:20)
|
|
251
|
+
|
|
252
|
+
61 | <DeleteButton />
|
|
253
|
+
62 | </Datagrid>
|
|
254
|
+
> 63 | </ReferenceManyField>
|
|
255
|
+
| ^
|
|
256
|
+
64 | </Tab>
|
|
257
|
+
65 | </TabbedShowLayout>
|
|
258
|
+
66 | </Show>
|
|
259
|
+
at constructor (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:363:19)
|
|
260
|
+
at FlowParserMixin.raise (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:6609:19)
|
|
261
|
+
at FlowParserMixin.jsxParseElementAt (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:4754:18)
|
|
262
|
+
at FlowParserMixin.jsxParseElement (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:4761:17)
|
|
263
|
+
at FlowParserMixin.parseExprAtom (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:4771:19)
|
|
264
|
+
at FlowParserMixin.parseExprSubscripts (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:11012:23)
|
|
265
|
+
at FlowParserMixin.parseUpdate (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10997:21)
|
|
266
|
+
at FlowParserMixin.parseMaybeUnary (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10977:23)
|
|
267
|
+
at FlowParserMixin.parseMaybeUnaryOrPrivate (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10830:61)
|
|
268
|
+
at FlowParserMixin.parseExprOpBaseRightExpr (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10917:34)
|
|
269
|
+
at FlowParserMixin.parseExprOpRightExpr (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10912:21)
|
|
270
|
+
at FlowParserMixin.parseExprOp (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10878:27)
|
|
271
|
+
at FlowParserMixin.parseExprOps (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10839:17)
|
|
272
|
+
at FlowParserMixin.parseMaybeConditional (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10812:23)
|
|
273
|
+
at FlowParserMixin.parseMaybeAssign (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10765:21)
|
|
274
|
+
at /Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:3510:39
|
|
275
|
+
at FlowParserMixin.tryParse (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:6918:20)
|
|
276
|
+
at FlowParserMixin.parseMaybeAssign (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:3510:18)
|
|
277
|
+
at FlowParserMixin.parseExpressionBase (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10718:23)
|
|
278
|
+
at /Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10714:39
|
|
279
|
+
at FlowParserMixin.allowInAnd (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:12361:12)
|
|
280
|
+
at FlowParserMixin.parseExpression (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10714:17)
|
|
281
|
+
at FlowParserMixin.jsxParseExpressionContainer (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:4644:31)
|
|
282
|
+
at FlowParserMixin.jsxParseAttributeValue (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:4616:21)
|
|
283
|
+
at FlowParserMixin.jsxParseAttribute (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:4665:38)
|
|
284
|
+
at FlowParserMixin.jsxParseOpeningElementAfterName (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:4679:28)
|
|
285
|
+
at FlowParserMixin.jsxParseOpeningElementAfterName (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:4080:18)
|
|
286
|
+
at FlowParserMixin.jsxParseOpeningElementAt (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:4674:17)
|
|
287
|
+
at FlowParserMixin.jsxParseElementAt (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:4698:33)
|
|
288
|
+
at FlowParserMixin.jsxParseElementAt (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:4710:32)
|
|
289
|
+
at FlowParserMixin.jsxParseElementAt (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:4710:32)
|
|
290
|
+
at FlowParserMixin.jsxParseElementAt (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:4710:32)
|
|
291
|
+
at FlowParserMixin.jsxParseElement (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:4761:17)
|
|
292
|
+
at FlowParserMixin.parseExprAtom (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:4771:19)
|
|
293
|
+
at FlowParserMixin.parseExprSubscripts (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:11012:23)
|
|
294
|
+
at FlowParserMixin.parseUpdate (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10997:21)
|
|
295
|
+
at FlowParserMixin.parseMaybeUnary (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10977:23)
|
|
296
|
+
at FlowParserMixin.parseMaybeUnaryOrPrivate (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10830:61)
|
|
297
|
+
at FlowParserMixin.parseExprOps (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10835:23)
|
|
298
|
+
at FlowParserMixin.parseMaybeConditional (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10812:23)
|
|
299
|
+
at FlowParserMixin.parseMaybeAssign (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10765:21)
|
|
300
|
+
at /Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:3510:39
|
|
301
|
+
at FlowParserMixin.tryParse (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:6918:20)
|
|
302
|
+
at FlowParserMixin.parseMaybeAssign (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:3510:18)
|
|
303
|
+
at /Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10734:39
|
|
304
|
+
at FlowParserMixin.allowInAnd (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:12361:12)
|
|
305
|
+
at FlowParserMixin.parseMaybeAssignAllowIn (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:10734:17)
|
|
306
|
+
at FlowParserMixin.parseParenAndDistinguishExpression (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:11608:28)
|
|
307
|
+
at FlowParserMixin.parseParenAndDistinguishExpression (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:3603:18)
|
|
308
|
+
at FlowParserMixin.parseExprAtom (/Users/val/dev/ApiLogicServer/ApiLogicServer-dev/build_and_test/ApiLogicServer/samples/nw_sample/ui/react_admin/node_modules/@babel/parser/lib/index.js:11262:23)
|
|
309
|
+
|
|
310
|
+
ERROR in [eslint]
|
|
311
|
+
src/Territory.js
|
|
312
|
+
Line 12:6: 'Filter' is not defined react/jsx-no-undef
|
|
313
|
+
Line 55:38: 'Pagination' is not defined react/jsx-no-undef
|
|
314
|
+
Line 100:106: 'required' is not defined no-undef
|
|
315
|
+
Line 104:83: 'required' is not defined no-undef
|
|
316
|
+
Line 123:106: 'required' is not defined no-undef
|
|
317
|
+
Line 127:83: 'required' is not defined no-undef
|
|
318
|
+
|
|
319
|
+
src/Union.js
|
|
320
|
+
Line 63:20: Parsing error: Adjacent JSX elements must be wrapped in an enclosing tag. Did you want a JSX fragment <>...</>? (63:20)
|
|
321
|
+
|
|
322
|
+
Search for the keywords to learn more about each error.
|
|
323
|
+
|
|
324
|
+
webpack compiled with 2 errors and 2 warnings
|