datapos-connector-file-store-emulator 0.2.215
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/.gitattributes +4 -0
- package/.markdownlint.json +5 -0
- package/.prettierrc.json +23 -0
- package/.vscode/settings.json +9 -0
- package/LICENSE +21 -0
- package/LICENSES.json +1 -0
- package/README.md +61 -0
- package/config copy.json +33 -0
- package/config.json +33 -0
- package/dependency-check-reports/dependency-check-report.html +668 -0
- package/dependency-check-reports/dependency-check-report.json +1 -0
- package/dist/datapos-connector-file-store-emulator.es.js +165 -0
- package/dist/types/src/index.d.ts +15 -0
- package/dist/types/vite.config.d.ts +5 -0
- package/eslint.config.ts +31 -0
- package/license-report-config.json +13 -0
- package/licenseTree.json +1 -0
- package/licenses.md +0 -0
- package/package.json +59 -0
- package/src/fileStoreIndex.json +375 -0
- package/src/index.ts +242 -0
- package/stats/index.html +4949 -0
- package/tsconfig.json +18 -0
- package/vite.config.ts +42 -0
package/.gitattributes
ADDED
package/.prettierrc.json
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://json.schemastore.org/prettierrc",
|
|
3
|
+
"arrowParens": "always",
|
|
4
|
+
"bracketSameLine": false,
|
|
5
|
+
"bracketSpacing": true,
|
|
6
|
+
"cursorOffset": -1,
|
|
7
|
+
"embeddedLanguageFormatting": "auto",
|
|
8
|
+
"endOfLine": "lf",
|
|
9
|
+
"htmlWhitespaceSensitivity": "css",
|
|
10
|
+
"insertPragma": false,
|
|
11
|
+
"jsxSingleQuote": false,
|
|
12
|
+
"plugins": [],
|
|
13
|
+
"printWidth": 180,
|
|
14
|
+
"proseWrap": "preserve",
|
|
15
|
+
"quoteProps": "as-needed",
|
|
16
|
+
"semi": true,
|
|
17
|
+
"singleAttributePerLine": false,
|
|
18
|
+
"singleQuote": true,
|
|
19
|
+
"tabWidth": 4,
|
|
20
|
+
"trailingComma": "none",
|
|
21
|
+
"useTabs": false,
|
|
22
|
+
"vueIndentScriptAndStyle": false
|
|
23
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{
|
|
2
|
+
"explorer.fileNesting.enabled": true,
|
|
3
|
+
"explorer.fileNesting.patterns": {
|
|
4
|
+
"package.json": ".env,.gitattributes, .gitignore, .markdownlint.json, .npmrc, .prettier*, eslint*, package-lock.json",
|
|
5
|
+
"README.md": "license*",
|
|
6
|
+
"vite.config.ts": "tsconfig.*"
|
|
7
|
+
},
|
|
8
|
+
"postman.settings.dotenv-detection-notification-visibility": false
|
|
9
|
+
}
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2015 DataPos Pty Ltd
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/LICENSES.json
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
[]
|
package/README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Data Positioning File Store Emulator Connector
|
|
2
|
+
|
|
3
|
+
<span><!-- OWASP_BADGES_START -->[](https://data-positioning.github.io/datapos-connector-file-store-emulator/dependency-check-reports/dependency-check-report.html)<!-- OWASP_BADGES_END --></span>
|
|
4
|
+
[](./LICENSE)
|
|
5
|
+
|
|
6
|
+
A TypeScript library that implements the File Store Emulator connector. It provides easy access to a curated set of files for demonstration and evaluation purposes.
|
|
7
|
+
|
|
8
|
+
## Installation
|
|
9
|
+
|
|
10
|
+
There’s no need to install this connector manually. Once released, it’s uploaded to the Data Positioning Engine cloud and becomes instantly available to all new instances of the browser app. A notification about the new version is also sent to all existing browser apps.
|
|
11
|
+
|
|
12
|
+
## Reports & Compliance
|
|
13
|
+
|
|
14
|
+
### Dependency Check Report
|
|
15
|
+
|
|
16
|
+
The OWASP Dependency Check Report identifies known vulnerabilities in project dependencies. It is generated automatically on each release using the npm package `owasp-dependency-check`. We also rely on GitHub Dependabot to continuously check for vulnerabilities across all dependencies.
|
|
17
|
+
|
|
18
|
+
[View the OWASP Dependency Check Report](https://data-positioning.github.io/connector-file-store-emulator/dependency-check-reports/dependency-check-report.html)
|
|
19
|
+
|
|
20
|
+
### Dependency Licenses
|
|
21
|
+
|
|
22
|
+
The following table lists top-level production and peer dependencies. All these dependencies (including transitive ones) have been recursively verified to use Apache-2.0, CC0-1.0, or MIT—commercially friendly licenses with minimal restrictions. Developers cloning this repository should independently verify dev and optional dependencies; users of the uploaded library are covered by these checks.
|
|
23
|
+
|
|
24
|
+
<!-- DEPENDENCY_LICENSES_START -->
|
|
25
|
+
|
|
26
|
+
<!-- DEPENDENCY_LICENSES_END -->
|
|
27
|
+
|
|
28
|
+
**Installed dependencies are kept up-to-date with latest releases.**
|
|
29
|
+
|
|
30
|
+
### Bundle Analysis Report
|
|
31
|
+
|
|
32
|
+
The Bundle Analysis Report provides a detailed breakdown of the bundle's composition and module sizes, helping to identify which modules contribute most to the final build. It is generated automatically on each release using the npm package `rollup-plugin-visualizer`.
|
|
33
|
+
|
|
34
|
+
[View the Bundle Analysis Report](https://data-positioning.github.io/datapos-connector-file-store-emulator/stats/index.html)
|
|
35
|
+
|
|
36
|
+
## Repository Management Commands
|
|
37
|
+
|
|
38
|
+
The following list details the repository management commands implementation by this project. For more details, please refer to the scripts section of the 'package.json' file in this project.
|
|
39
|
+
|
|
40
|
+
| Name | VSCode Shortcuts | Notes |
|
|
41
|
+
| -------------------- | ---------------- | --------------------------------------------------------------------------------------------------------------- |
|
|
42
|
+
| audit | alt+ctrl+shift+a | Audit the project's dependencies for known security vulnerabilities. |
|
|
43
|
+
| build | alt+ctrl+shift+b | Type-check, compile and minify for production. Output in '/dist' directory. |
|
|
44
|
+
| buildConnectorConfig | | |
|
|
45
|
+
| bumpVersion | alt+ctrl+shift+v | |
|
|
46
|
+
| check | alt+ctrl+shift+c | List the dependencies in the project that are outdated. |
|
|
47
|
+
| document | alt+ctrl+shift+d | Identify the licenses of the project's dependencies. |
|
|
48
|
+
| format | alt+ctrl+shift+f | Enforce formatting style rules. |
|
|
49
|
+
| lint | alt+ctrl+shift+l | Check the code for potential errors and enforces coding styles. |
|
|
50
|
+
| publishToNPM | alt+ctrl+shift+p | ❌ Not implemented. |
|
|
51
|
+
| release | alt+ctrl+shift+r | Synchronise local repository with the main GitHub repository and upload connector to Data Positioning platform. |
|
|
52
|
+
| syncWithGitHub | alt+ctrl+shift+s | Synchronise local repository with the main GitHub repository. |
|
|
53
|
+
| updateDependencies | alt+ctrl+shift+l | Install the latest version of all Data Positioning dependencies. |
|
|
54
|
+
|
|
55
|
+
## Compliance
|
|
56
|
+
|
|
57
|
+
The following badge reflects FOSSA's assessment of this repository's open-source license compliance.
|
|
58
|
+
|
|
59
|
+
## License
|
|
60
|
+
|
|
61
|
+
[MIT](./LICENSE) © 2026 Data Positioning Pty Ltd
|
package/config copy.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "datapos-connector-file-store-emulator",
|
|
3
|
+
"label": {
|
|
4
|
+
"en": "File Store Emulator"
|
|
5
|
+
},
|
|
6
|
+
"description": {
|
|
7
|
+
"en-gb": "Imitates a cloud-based file storage solution. It hosts a read-only set of files for demonstration, evaluation and testing purposes and is freely available to all users."
|
|
8
|
+
},
|
|
9
|
+
"categoryId": "fileStore",
|
|
10
|
+
"implementations": {
|
|
11
|
+
"default": {
|
|
12
|
+
"authMethodId": "none",
|
|
13
|
+
"maxConnectionCount": 1
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"icon": "<svg fill=\"#000000\" height=\"100%\" viewBox=\"0 0 576 512\"><path d=\"M320 32H64C46.33 32 32 46.33 32 64V448C32 465.7 46.33 480 64 480H296.2C305.1 491.8 317.3 502.3 329.7 511.3C326.6 511.7 323.3 512 320 512H64C28.65 512 0 483.3 0 448V64C0 28.65 28.65 0 64 0H320C355.3 0 384 28.65 384 64V198.6C372.8 201.8 362.1 206 352 211.2V64C352 46.33 337.7 32 320 32V32zM64 144C64 135.2 71.16 128 80 128H304C312.8 128 320 135.2 320 144C320 152.8 312.8 160 304 160H80C71.16 160 64 152.8 64 144zM272 224C280.8 224 288 231.2 288 240C288 248.8 280.8 256 272 256H80C71.16 256 64 248.8 64 240C64 231.2 71.16 224 80 224H272zM208 320C216.8 320 224 327.2 224 336C224 344.8 216.8 352 208 352H80C71.16 352 64 344.8 64 336C64 327.2 71.16 320 80 320H208zM476.7 324.7C482.9 318.4 493.1 318.4 499.3 324.7C505.6 330.9 505.6 341.1 499.3 347.3L427.3 419.3C421.1 425.6 410.9 425.6 404.7 419.3L364.7 379.3C358.4 373.1 358.4 362.9 364.7 356.7C370.9 350.4 381.1 350.4 387.3 356.7L416 385.4L476.7 324.7zM288 368C288 288.5 352.5 224 432 224C511.5 224 576 288.5 576 368C576 447.5 511.5 512 432 512C352.5 512 288 447.5 288 368zM432 480C493.9 480 544 429.9 544 368C544 306.1 493.9 256 432 256C370.1 256 320 306.1 320 368C320 429.9 370.1 480 432 480z\"/></svg>",
|
|
17
|
+
"iconDark": "<svg fill=\"#ffffff\" height=\"100%\" viewBox=\"0 0 576 512\"><path d=\"M320 32H64C46.33 32 32 46.33 32 64V448C32 465.7 46.33 480 64 480H296.2C305.1 491.8 317.3 502.3 329.7 511.3C326.6 511.7 323.3 512 320 512H64C28.65 512 0 483.3 0 448V64C0 28.65 28.65 0 64 0H320C355.3 0 384 28.65 384 64V198.6C372.8 201.8 362.1 206 352 211.2V64C352 46.33 337.7 32 320 32V32zM64 144C64 135.2 71.16 128 80 128H304C312.8 128 320 135.2 320 144C320 152.8 312.8 160 304 160H80C71.16 160 64 152.8 64 144zM272 224C280.8 224 288 231.2 288 240C288 248.8 280.8 256 272 256H80C71.16 256 64 248.8 64 240C64 231.2 71.16 224 80 224H272zM208 320C216.8 320 224 327.2 224 336C224 344.8 216.8 352 208 352H80C71.16 352 64 344.8 64 336C64 327.2 71.16 320 80 320H208zM476.7 324.7C482.9 318.4 493.1 318.4 499.3 324.7C505.6 330.9 505.6 341.1 499.3 347.3L427.3 419.3C421.1 425.6 410.9 425.6 404.7 419.3L364.7 379.3C358.4 373.1 358.4 362.9 364.7 356.7C370.9 350.4 381.1 350.4 387.3 356.7L416 385.4L476.7 324.7zM288 368C288 288.5 352.5 224 432 224C511.5 224 576 288.5 576 368C576 447.5 511.5 512 432 512C352.5 512 288 447.5 288 368zM432 480C493.9 480 544 429.9 544 368C544 306.1 493.9 256 432 256C370.1 256 320 306.1 320 368C320 429.9 370.1 480 432 480z\"/></svg>",
|
|
18
|
+
"operations": [
|
|
19
|
+
"abortOperation",
|
|
20
|
+
"findObject",
|
|
21
|
+
"listNodes",
|
|
22
|
+
"previewObject",
|
|
23
|
+
"retrieveRecords"
|
|
24
|
+
],
|
|
25
|
+
"status": null,
|
|
26
|
+
"statusId": "beta",
|
|
27
|
+
"typeId": "connector",
|
|
28
|
+
"usageId": "source",
|
|
29
|
+
"vendorAccountURL": null,
|
|
30
|
+
"vendorDocumentationURL": null,
|
|
31
|
+
"vendorHomeURL": null,
|
|
32
|
+
"version": "0.2.209"
|
|
33
|
+
}
|
package/config.json
ADDED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "datapos-connector-file-store-emulator",
|
|
3
|
+
"label": {
|
|
4
|
+
"en": "File Store Emulator"
|
|
5
|
+
},
|
|
6
|
+
"description": {
|
|
7
|
+
"en-gb": "Imitates a cloud-based file storage solution. It hosts a read-only set of files for demonstration, evaluation and testing purposes and is freely available to all users."
|
|
8
|
+
},
|
|
9
|
+
"categoryId": "fileStore",
|
|
10
|
+
"implementations": {
|
|
11
|
+
"default": {
|
|
12
|
+
"authMethodId": "none",
|
|
13
|
+
"maxConnectionCount": 1
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"icon": "<svg fill=\"#000000\" height=\"100%\" viewBox=\"0 0 576 512\"><path d=\"M320 32H64C46.33 32 32 46.33 32 64V448C32 465.7 46.33 480 64 480H296.2C305.1 491.8 317.3 502.3 329.7 511.3C326.6 511.7 323.3 512 320 512H64C28.65 512 0 483.3 0 448V64C0 28.65 28.65 0 64 0H320C355.3 0 384 28.65 384 64V198.6C372.8 201.8 362.1 206 352 211.2V64C352 46.33 337.7 32 320 32V32zM64 144C64 135.2 71.16 128 80 128H304C312.8 128 320 135.2 320 144C320 152.8 312.8 160 304 160H80C71.16 160 64 152.8 64 144zM272 224C280.8 224 288 231.2 288 240C288 248.8 280.8 256 272 256H80C71.16 256 64 248.8 64 240C64 231.2 71.16 224 80 224H272zM208 320C216.8 320 224 327.2 224 336C224 344.8 216.8 352 208 352H80C71.16 352 64 344.8 64 336C64 327.2 71.16 320 80 320H208zM476.7 324.7C482.9 318.4 493.1 318.4 499.3 324.7C505.6 330.9 505.6 341.1 499.3 347.3L427.3 419.3C421.1 425.6 410.9 425.6 404.7 419.3L364.7 379.3C358.4 373.1 358.4 362.9 364.7 356.7C370.9 350.4 381.1 350.4 387.3 356.7L416 385.4L476.7 324.7zM288 368C288 288.5 352.5 224 432 224C511.5 224 576 288.5 576 368C576 447.5 511.5 512 432 512C352.5 512 288 447.5 288 368zM432 480C493.9 480 544 429.9 544 368C544 306.1 493.9 256 432 256C370.1 256 320 306.1 320 368C320 429.9 370.1 480 432 480z\"/></svg>",
|
|
17
|
+
"iconDark": "<svg fill=\"#ffffff\" height=\"100%\" viewBox=\"0 0 576 512\"><path d=\"M320 32H64C46.33 32 32 46.33 32 64V448C32 465.7 46.33 480 64 480H296.2C305.1 491.8 317.3 502.3 329.7 511.3C326.6 511.7 323.3 512 320 512H64C28.65 512 0 483.3 0 448V64C0 28.65 28.65 0 64 0H320C355.3 0 384 28.65 384 64V198.6C372.8 201.8 362.1 206 352 211.2V64C352 46.33 337.7 32 320 32V32zM64 144C64 135.2 71.16 128 80 128H304C312.8 128 320 135.2 320 144C320 152.8 312.8 160 304 160H80C71.16 160 64 152.8 64 144zM272 224C280.8 224 288 231.2 288 240C288 248.8 280.8 256 272 256H80C71.16 256 64 248.8 64 240C64 231.2 71.16 224 80 224H272zM208 320C216.8 320 224 327.2 224 336C224 344.8 216.8 352 208 352H80C71.16 352 64 344.8 64 336C64 327.2 71.16 320 80 320H208zM476.7 324.7C482.9 318.4 493.1 318.4 499.3 324.7C505.6 330.9 505.6 341.1 499.3 347.3L427.3 419.3C421.1 425.6 410.9 425.6 404.7 419.3L364.7 379.3C358.4 373.1 358.4 362.9 364.7 356.7C370.9 350.4 381.1 350.4 387.3 356.7L416 385.4L476.7 324.7zM288 368C288 288.5 352.5 224 432 224C511.5 224 576 288.5 576 368C576 447.5 511.5 512 432 512C352.5 512 288 447.5 288 368zM432 480C493.9 480 544 429.9 544 368C544 306.1 493.9 256 432 256C370.1 256 320 306.1 320 368C320 429.9 370.1 480 432 480z\"/></svg>",
|
|
18
|
+
"operations": [
|
|
19
|
+
"abortOperation",
|
|
20
|
+
"findObject",
|
|
21
|
+
"listNodes",
|
|
22
|
+
"previewObject",
|
|
23
|
+
"retrieveRecords"
|
|
24
|
+
],
|
|
25
|
+
"status": null,
|
|
26
|
+
"statusId": "beta",
|
|
27
|
+
"typeId": "connector",
|
|
28
|
+
"usageId": "source",
|
|
29
|
+
"vendorAccountURL": null,
|
|
30
|
+
"vendorDocumentationURL": null,
|
|
31
|
+
"vendorHomeURL": null,
|
|
32
|
+
"version": "0.2.215"
|
|
33
|
+
}
|