@jd-data-limited/easy-fm 0.0.2 → 0.0.4
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/.idea/copyright/JD_Data.xml +6 -0
- package/.idea/copyright/profiles_settings.xml +7 -0
- package/README.md +2 -2
- package/index.ts +5 -1
- package/package.json +1 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
<component name="CopyrightManager">
|
|
2
|
+
<copyright>
|
|
3
|
+
<option name="notice" value="Copyright (c) &#36;originalComment.match("Copyright \(c\) (\d+)", 1, "-", "&#36;today.year")&#36;today.year. See LICENSE file for more information" />
|
|
4
|
+
<option name="myName" value="JD-Data" />
|
|
5
|
+
</copyright>
|
|
6
|
+
</component>
|
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# easy-fm
|
|
2
2
|
|
|
3
3
|
easy-fm is a Node.js module that allows you to interact with
|
|
4
|
-
a [FileMaker database
|
|
4
|
+
a [FileMaker database](https://www.claris.com/filemaker/) stored on
|
|
5
5
|
a [FileMaker server](https://www.claris.com/filemaker/server/). This module interacts with your server using the
|
|
6
6
|
[FileMaker Data API](https://help.claris.com/en/data-api-guide/content/index.html).
|
|
7
7
|
|
|
@@ -169,7 +169,7 @@ find.addRequests( // Specify the find criteria
|
|
|
169
169
|
{"CreatedBy": "BBBB"}
|
|
170
170
|
)
|
|
171
171
|
|
|
172
|
-
find.addSort("
|
|
172
|
+
find.addSort("CreatedBy", "ascend") // Sort the results in ascending order
|
|
173
173
|
let records = await find.find() // Perform the find
|
|
174
174
|
console.log(records)
|
|
175
175
|
```
|
package/index.ts
CHANGED
|
@@ -1,10 +1,14 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Copyright (c) 2022. See LICENSE file for more information
|
|
3
|
+
*/
|
|
4
|
+
|
|
1
5
|
// const fetch = (...args) => import('node-fetch').then(({default: fetch}) => fetch(...args));
|
|
2
6
|
import fetch, {
|
|
3
7
|
Blob,
|
|
4
8
|
blobFrom,
|
|
5
9
|
blobFromSync,
|
|
6
10
|
File,
|
|
7
|
-
fileFrom,
|
|
11
|
+
fileFrom,
|
|
8
12
|
fileFromSync,
|
|
9
13
|
FormData,
|
|
10
14
|
Headers,
|