Socket
Socket
Sign inDemoInstall

xeno-test

Package Overview
Dependencies
Maintainers
1
Versions
20
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

xeno-test - npm Package Compare versions

Comparing version 0.0.3 to 0.0.4

2

dist/cjs/package.json
{
"name": "xeno-test",
"version": "0.0.3",
"version": "0.0.4",
"description": "This utility enables users to export & import content data from / to Kontent.ai projects",

@@ -5,0 +5,0 @@ "preferGlobal": true,

{
"name": "xeno-test",
"version": "0.0.3",
"version": "0.0.4",
"description": "This utility enables users to export & import content data from / to Kontent.ai projects",

@@ -5,0 +5,0 @@ "preferGlobal": true,

{
"name": "xeno-test",
"version": "0.0.3",
"version": "0.0.4",
"description": "This utility enables users to export & import content data from / to Kontent.ai projects",

@@ -5,0 +5,0 @@ "preferGlobal": true,

{
"name": "xeno-test",
"version": "0.0.3",
"version": "0.0.4",
"description": "This utility enables users to export & import content data from / to Kontent.ai projects",

@@ -5,0 +5,0 @@ "preferGlobal": true,

@@ -39,3 +39,3 @@ # Kontent.ai CSV Manager

| **action** | Action. Possible values are: `restore` & `backup` **(required)** |
| zipFilename | Name of zip used for export / restoring data. (e.g. 'kontent-backup'). |
| filename | Name of zip used for export / restoring data. (e.g. 'kontent-backup.zip'). When restoring data you may also use individual `*.csv` file. |
| baseUrl | Custom base URL for Management API calls. |

@@ -53,9 +53,10 @@ | exportAssets | Indicates if assets should be exported. Supported are `true` & `false` |

To backup a project run:
To backup data use:
`csvm --action=backup --projectId=xxx`
To restore a project run:
To restore data use:
`csvm --action=restore --apiKey=xxx --projectId=xxx --zipFilename=backupFile`
`csvm --action=restore --apiKey=xxx --projectId=xxx --filename=backup.zip|data.csv`

@@ -73,3 +74,3 @@ To get some help you can use:

"projectId": "xxx",
"zipFilename": "csv-backup",
"filename": "csv-backup",
"action": "backup",

@@ -136,3 +137,3 @@ "baseUrl": null,

// load file
const zipFile = await fileService.loadFileAsync('backup');
const zipFile = await fileService.loadFileAsync('backup.zip');

@@ -139,0 +140,0 @@ const fileProcessorService = new FileProcessorService({

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc