@cocreate/crud-server 1.34.3 → 1.34.5
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/CHANGELOG.md +14 -0
- package/docs/index.html +0 -6
- package/package.json +1 -1
- package/src/index.js +0 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [1.34.5](https://github.com/CoCreate-app/CoCreate-crud-server/compare/v1.34.4...v1.34.5) (2024-02-13)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* upsert defaults to false if undefined ([05d981a](https://github.com/CoCreate-app/CoCreate-crud-server/commit/05d981a00ba6cf87088c2201ceba7ad8cb0b6c3e))
|
|
7
|
+
|
|
8
|
+
## [1.34.4](https://github.com/CoCreate-app/CoCreate-crud-server/compare/v1.34.3...v1.34.4) (2024-02-05)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* Removed https://cdn.cocreate.app/latest/CoCreate.min.css ([224a04d](https://github.com/CoCreate-app/CoCreate-crud-server/commit/224a04d61a65dca145a0968c41d95875ec92159e))
|
|
14
|
+
|
|
1
15
|
## [1.34.3](https://github.com/CoCreate-app/CoCreate-crud-server/compare/v1.34.2...v1.34.3) (2024-01-30)
|
|
2
16
|
|
|
3
17
|
|
package/docs/index.html
CHANGED
|
@@ -17,12 +17,6 @@
|
|
|
17
17
|
name="keywords"
|
|
18
18
|
content="helper classes, utility classes, css framework, css library, inline style classes" />
|
|
19
19
|
<meta name="robots" content="index,follow" />
|
|
20
|
-
|
|
21
|
-
<!-- CoCreate CSS -->
|
|
22
|
-
<link
|
|
23
|
-
rel="stylesheet"
|
|
24
|
-
href="https://cdn.cocreate.app/latest/CoCreate.min.css"
|
|
25
|
-
type="text/css" />
|
|
26
20
|
</head>
|
|
27
21
|
|
|
28
22
|
<body>
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -75,10 +75,6 @@ class CoCreateCrudServer {
|
|
|
75
75
|
if (!data['timeStamp'])
|
|
76
76
|
data['timeStamp'] = new Date().toISOString()
|
|
77
77
|
|
|
78
|
-
// TODO: manage error handling if if no method defined
|
|
79
|
-
if (data.method.endsWith('.update') && data.upsert != false)
|
|
80
|
-
data.upsert = true
|
|
81
|
-
|
|
82
78
|
if (data.array) {
|
|
83
79
|
if (!data.database)
|
|
84
80
|
data['database'] = data.organization_id
|