@cocreate/file-server 1.12.1 → 1.12.3
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 +16 -0
- package/demo/index.html +3 -3
- package/docs/index.html +2 -2
- package/package.json +1 -1
- package/src/index.js +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,19 @@
|
|
|
1
|
+
## [1.12.3](https://github.com/CoCreate-app/CoCreate-file-server/compare/v1.12.2...v1.12.3) (2023-11-09)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* meta name typo ([28736dd](https://github.com/CoCreate-app/CoCreate-file-server/commit/28736ddd87bcc71daba6910fbae97b755a58bf21))
|
|
7
|
+
|
|
8
|
+
## [1.12.2](https://github.com/CoCreate-app/CoCreate-file-server/compare/v1.12.1...v1.12.2) (2023-11-03)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* favicon.ico path ([c043a19](https://github.com/CoCreate-app/CoCreate-file-server/commit/c043a195998d3f19c1836acdf45ec195995e6c3d))
|
|
14
|
+
* update dependencies to the lates versions ([e0d056a](https://github.com/CoCreate-app/CoCreate-file-server/commit/e0d056a766fd5d7e92509ee104780d20190501ae))
|
|
15
|
+
* update method to use object.update etc ([6aa9f1b](https://github.com/CoCreate-app/CoCreate-file-server/commit/6aa9f1b3e9d27b0b2b709ef854505d4c09a26076))
|
|
16
|
+
|
|
1
17
|
## [1.12.1](https://github.com/CoCreate-app/CoCreate-file-server/compare/v1.12.0...v1.12.1) (2023-10-25)
|
|
2
18
|
|
|
3
19
|
|
package/demo/index.html
CHANGED
|
@@ -6,9 +6,9 @@
|
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
7
|
<link
|
|
8
8
|
rel="icon"
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
type="image/png"
|
|
10
|
+
sizes="32x32"
|
|
11
|
+
href="../assets/favicon.ico" />
|
|
12
12
|
<title>file-server | CoCreateJS</title>
|
|
13
13
|
</head>
|
|
14
14
|
|
package/docs/index.html
CHANGED
|
@@ -11,10 +11,10 @@
|
|
|
11
11
|
sizes="32x32"
|
|
12
12
|
href="https://cocreate.app/images/favicon.ico" />
|
|
13
13
|
<meta
|
|
14
|
-
|
|
14
|
+
name="description"
|
|
15
15
|
content="A simple HTML5 and pure javascript component. Easy configuration using data-attributes and highly styleable." />
|
|
16
16
|
<meta
|
|
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
20
|
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -37,7 +37,7 @@ class CoCreateFileSystem {
|
|
|
37
37
|
let organization = organizations.get(hostname);
|
|
38
38
|
if (!organization) {
|
|
39
39
|
let org = await crud.send({
|
|
40
|
-
method: 'read
|
|
40
|
+
method: 'object.read',
|
|
41
41
|
array: 'organizations',
|
|
42
42
|
$filter: {
|
|
43
43
|
query: [
|
|
@@ -86,7 +86,7 @@ class CoCreateFileSystem {
|
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
let data = {
|
|
89
|
-
method: 'read
|
|
89
|
+
method: 'object.read',
|
|
90
90
|
array: 'files',
|
|
91
91
|
$filter: {
|
|
92
92
|
query: [
|
|
@@ -120,7 +120,7 @@ class CoCreateFileSystem {
|
|
|
120
120
|
src = file['src'];
|
|
121
121
|
else {
|
|
122
122
|
let fileSrc = await crud.send({
|
|
123
|
-
method: 'read
|
|
123
|
+
method: 'object.read',
|
|
124
124
|
array: file['array'],
|
|
125
125
|
object: {
|
|
126
126
|
_id: file._id
|
|
@@ -207,7 +207,7 @@ class CoCreateFileSystem {
|
|
|
207
207
|
}
|
|
208
208
|
|
|
209
209
|
crud.send({
|
|
210
|
-
method: 'create
|
|
210
|
+
method: 'object.create',
|
|
211
211
|
array: 'files',
|
|
212
212
|
object: defaultFile.object[0],
|
|
213
213
|
organization_id
|