Skip to content

Commit 7b4a9c7

Browse files
authored
Add plugin to import and export data (#39)
1 parent 290f79b commit 7b4a9c7

File tree

3 files changed

+130
-4
lines changed

3 files changed

+130
-4
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"@strapi/strapi": "4.13.3",
2626
"better-sqlite3": "8.5.0",
2727
"openapi-fetch": "^0.9.3",
28-
"pg": "^8.11.3"
28+
"pg": "^8.11.3",
29+
"strapi-plugin-import-export-entries": "^1.23.1"
2930
},
3031
"devDependencies": {
3132
"@strapi/plugin-documentation": "4.13.3",

src/extensions/documentation/documentation/1.0.0/full_documentation.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"name": "Apache 2.0",
1515
"url": "https://www.apache.org/licenses/LICENSE-2.0.html"
1616
},
17-
"x-generation-date": "2024-06-20T08:45:59.032Z"
17+
"x-generation-date": "2024-07-04T14:00:14.898Z"
1818
},
1919
"x-strapi-config": {
2020
"path": "/documentation",

yarn.lock

Lines changed: 127 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -576,6 +576,18 @@
576576
intl-messageformat "10.3.4"
577577
tslib "^2.4.0"
578578

579+
"@hapi/hoek@^9.0.0":
580+
version "9.3.0"
581+
resolved "https://registry.yarnpkg.com/@hapi/hoek/-/hoek-9.3.0.tgz#8368869dcb735be2e7f5cb7647de78e167a251fb"
582+
integrity sha512-/c6rf4UJlmHlC9b5BaNvzAcFv7HZ2QHaV0D4/HNlBdvFnvQq8RI4kYdhyPCl7Xj+oWvTWQ8ujhqS53LIgAe6KQ==
583+
584+
"@hapi/topo@^5.0.0":
585+
version "5.1.0"
586+
resolved "https://registry.yarnpkg.com/@hapi/topo/-/topo-5.1.0.tgz#dc448e332c6c6e37a4dc02fd84ba8d44b9afb012"
587+
integrity sha512-foQZKJig7Ob0BMAYBfcJk8d77QtOe7Wo4ox7ff1lQYoNNAb6jwcY1ncdoy2e9wQZzvNy7ODZCYJkK8kzmcAnAg==
588+
dependencies:
589+
"@hapi/hoek" "^9.0.0"
590+
579591
"@internationalized/date@^3.3.0":
580592
version "3.5.0"
581593
resolved "https://registry.yarnpkg.com/@internationalized/date/-/date-3.5.0.tgz#67f1dd62355f05140cc80e324842e9bfb4553abe"
@@ -692,6 +704,21 @@
692704
dependencies:
693705
"@lezer/common" "^1.0.0"
694706

707+
"@monaco-editor/loader@^1.3.2":
708+
version "1.4.0"
709+
resolved "https://registry.yarnpkg.com/@monaco-editor/loader/-/loader-1.4.0.tgz#f08227057331ec890fa1e903912a5b711a2ad558"
710+
integrity sha512-00ioBig0x642hytVspPl7DbQyaSWRaolYie/UFNjoTdvoKPzo6xrXLhTk9ixgIKcLH5b5vDOjVNiGyY+uDCUlg==
711+
dependencies:
712+
state-local "^1.0.6"
713+
714+
"@monaco-editor/react@4.4.5":
715+
version "4.4.5"
716+
resolved "https://registry.yarnpkg.com/@monaco-editor/react/-/react-4.4.5.tgz#beabe491efeb2457441a00d1c7651c653697f65b"
717+
integrity sha512-IImtzU7sRc66OOaQVCG+5PFHkSWnnhrUWGBuH6zNmH2h0YgmAhcjHZQc/6MY9JWEbUtVF1WPBMJ9u1XuFbRrVA==
718+
dependencies:
719+
"@monaco-editor/loader" "^1.3.2"
720+
prop-types "^15.7.2"
721+
695722
"@nodelib/fs.scandir@2.1.5":
696723
version "2.1.5"
697724
resolved "https://registry.yarnpkg.com/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz#7619c2eb21b25483f6d167548b4cfd5a7488c3d5"
@@ -1078,6 +1105,23 @@
10781105
"@sentry/types" "6.19.7"
10791106
tslib "^1.9.3"
10801107

1108+
"@sideway/address@^4.1.3":
1109+
version "4.1.5"
1110+
resolved "https://registry.yarnpkg.com/@sideway/address/-/address-4.1.5.tgz#4bc149a0076623ced99ca8208ba780d65a99b9d5"
1111+
integrity sha512-IqO/DUQHUkPeixNQ8n0JA6102hT9CmaljNTPmQ1u8MEhBo/R4Q8eKLN/vGZxuebwOroDB4cbpjheD4+/sKFK4Q==
1112+
dependencies:
1113+
"@hapi/hoek" "^9.0.0"
1114+
1115+
"@sideway/formula@^3.0.0":
1116+
version "3.0.1"
1117+
resolved "https://registry.yarnpkg.com/@sideway/formula/-/formula-3.0.1.tgz#80fcbcbaf7ce031e0ef2dd29b1bfc7c3f583611f"
1118+
integrity sha512-/poHZJJVjx3L+zVD6g9KgHfYnb443oi7wLu/XKojDviHy6HOEOA6z1Trk5aR1dGcmPenJEgb2sK2I80LeS3MIg==
1119+
1120+
"@sideway/pinpoint@^2.0.0":
1121+
version "2.0.0"
1122+
resolved "https://registry.yarnpkg.com/@sideway/pinpoint/-/pinpoint-2.0.0.tgz#cff8ffadc372ad29fd3f78277aeb29e632cc70df"
1123+
integrity sha512-RNiOoTPkptFtSVzQevY/yWtZwf/RxyVnPy/OcA9HBM3MlGDnBEYL5B41H0MTn0Uec8Hi+2qUtTfG2WWZBmMejQ==
1124+
10811125
"@simov/deep-extend@^1.0.0":
10821126
version "1.0.0"
10831127
resolved "https://registry.yarnpkg.com/@simov/deep-extend/-/deep-extend-1.0.0.tgz#dff17d38305614e296eb80bf4898b9d10b061325"
@@ -2473,6 +2517,11 @@ bl@^4.0.3, bl@^4.1.0:
24732517
inherits "^2.0.4"
24742518
readable-stream "^3.4.0"
24752519

2520+
bluebird@^3.5.1:
2521+
version "3.7.2"
2522+
resolved "https://registry.yarnpkg.com/bluebird/-/bluebird-3.7.2.tgz#9f229c15be272454ffa973ace0dbee79a1b0c36f"
2523+
integrity sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==
2524+
24762525
bn.js@^4.0.0, bn.js@^4.11.9:
24772526
version "4.12.0"
24782527
resolved "https://registry.yarnpkg.com/bn.js/-/bn.js-4.12.0.tgz#775b3f278efbb9718eec7361f483fb36fbbfea88"
@@ -3340,6 +3389,15 @@ csstype@^3.0.2:
33403389
resolved "https://registry.yarnpkg.com/csstype/-/csstype-3.1.2.tgz#1d4bf9d572f11c14031f0436e1c10bc1f571f50b"
33413390
integrity sha512-I7K1Uu0MBPzaFKg4nI5Q7Vs2t+3gWWW648spaF+Rg7pI9ds18Ugn+lvg4SHczUdKlHI5LWBXyqfS8+DufyBsgQ==
33423391

3392+
csvtojson@2.0.10:
3393+
version "2.0.10"
3394+
resolved "https://registry.yarnpkg.com/csvtojson/-/csvtojson-2.0.10.tgz#11e7242cc630da54efce7958a45f443210357574"
3395+
integrity sha512-lUWFxGKyhraKCW8Qghz6Z0f2l/PqB1W3AO0HKJzGIQ5JRSlR651ekJDiGJbBT4sRNNv5ddnSGVEnsxP9XRCVpQ==
3396+
dependencies:
3397+
bluebird "^3.5.1"
3398+
lodash "^4.17.3"
3399+
strip-bom "^2.0.0"
3400+
33433401
date-fns@2.30.0:
33443402
version "2.30.0"
33453403
resolved "https://registry.yarnpkg.com/date-fns/-/date-fns-2.30.0.tgz#f367e644839ff57894ec6ac480de40cae4b0f4d0"
@@ -5230,6 +5288,11 @@ is-upper-case@^1.1.0:
52305288
dependencies:
52315289
upper-case "^1.1.0"
52325290

5291+
is-utf8@^0.2.0:
5292+
version "0.2.1"
5293+
resolved "https://registry.yarnpkg.com/is-utf8/-/is-utf8-0.2.1.tgz#4b0da1442104d1b336340e80797e865cf39f7d72"
5294+
integrity sha512-rMYPYvCzsXywIsldgLaSoPlw5PfoB/ssr7hY4pLfcodrA5M/eArza1a9VmTiNIBNMjOGr1Ow9mTyU2o69U6U9Q==
5295+
52335296
is-windows@^1.0.1, is-windows@^1.0.2:
52345297
version "1.0.2"
52355298
resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d"
@@ -5297,6 +5360,17 @@ jest-worker@^27.4.5:
52975360
merge-stream "^2.0.0"
52985361
supports-color "^8.0.0"
52995362

5363+
joi@17.6.0:
5364+
version "17.6.0"
5365+
resolved "https://registry.yarnpkg.com/joi/-/joi-17.6.0.tgz#0bb54f2f006c09a96e75ce687957bd04290054b2"
5366+
integrity sha512-OX5dG6DTbcr/kbMFj0KGYxuew69HPcAE3K/sZpEV2nP6e/j/C0HV+HNiBPCASxdx5T7DMoa0s8UeHWMnb6n2zw==
5367+
dependencies:
5368+
"@hapi/hoek" "^9.0.0"
5369+
"@hapi/topo" "^5.0.0"
5370+
"@sideway/address" "^4.1.3"
5371+
"@sideway/formula" "^3.0.0"
5372+
"@sideway/pinpoint" "^2.0.0"
5373+
53005374
joycon@^3.0.1:
53015375
version "3.1.1"
53025376
resolved "https://registry.yarnpkg.com/joycon/-/joycon-3.1.1.tgz#bce8596d6ae808f8b68168f5fc69280996894f03"
@@ -5682,7 +5756,7 @@ loader-runner@^4.2.0:
56825756
resolved "https://registry.yarnpkg.com/loader-runner/-/loader-runner-4.3.0.tgz#c1b4a163b99f614830353b16755e7149ac2314e1"
56835757
integrity sha512-3R/1M+yS3j5ou80Me59j7F9IMs4PXs3VqRrm0TU3AbKPxlmpoY1TNscJV/oGJXo8qCatFGTfDbY6W6ipGOYXfg==
56845758

5685-
loader-utils@^2.0.0, loader-utils@^2.0.4:
5759+
loader-utils@^2.0.0, loader-utils@^2.0.2, loader-utils@^2.0.4:
56865760
version "2.0.4"
56875761
resolved "https://registry.yarnpkg.com/loader-utils/-/loader-utils-2.0.4.tgz#8b5cb38b5c34a9a018ee1fc0e6a066d1dfcc528c"
56885762
integrity sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==
@@ -5725,7 +5799,7 @@ lodash.isplainobject@4.0.6:
57255799
resolved "https://registry.yarnpkg.com/lodash.isplainobject/-/lodash.isplainobject-4.0.6.tgz#7c526a52d89b45c45cc690b88163be0497f550cb"
57265800
integrity sha512-oSXzaWypCMHkPC3NvBEaPHf0KsA5mvPrOPgQWDsbg8n7orZ290M0BmC/jgRZ4vcJ6DTAhjrsSYgdsW/F+MFOBA==
57275801

5728-
lodash@4.17.21, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21:
5802+
lodash@4.17.21, lodash@^4.17.19, lodash@^4.17.20, lodash@^4.17.21, lodash@^4.17.3:
57295803
version "4.17.21"
57305804
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c"
57315805
integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==
@@ -6122,6 +6196,18 @@ mkdirp@^1.0.3, mkdirp@^1.0.4:
61226196
resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e"
61236197
integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==
61246198

6199+
monaco-editor-webpack-plugin@7.0.1:
6200+
version "7.0.1"
6201+
resolved "https://registry.yarnpkg.com/monaco-editor-webpack-plugin/-/monaco-editor-webpack-plugin-7.0.1.tgz#ba19c60aba990184e36ad8722b1ed6a564527c7c"
6202+
integrity sha512-M8qIqizltrPlIbrb73cZdTWfU9sIsUVFvAZkL3KGjAHmVWEJ0hZKa/uad14JuOckc0GwnCaoGHvMoYtJjVyCzw==
6203+
dependencies:
6204+
loader-utils "^2.0.2"
6205+
6206+
monaco-editor@0.33.0:
6207+
version "0.33.0"
6208+
resolved "https://registry.yarnpkg.com/monaco-editor/-/monaco-editor-0.33.0.tgz#842e244f3750a2482f8a29c676b5684e75ff34af"
6209+
integrity sha512-VcRWPSLIUEgQJQIE0pVT8FcGBIgFoxz7jtqctE+IiCxWugD0DwgyQBcZBhdSrdMC84eumoqMZsGl2GTreOzwqw==
6210+
61256211
ms@2.0.0:
61266212
version "2.0.0"
61276213
resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
@@ -6248,6 +6334,13 @@ node-addon-api@^6.0.0:
62486334
resolved "https://registry.yarnpkg.com/node-addon-api/-/node-addon-api-6.1.0.tgz#ac8470034e58e67d0c6f1204a18ae6995d9c0d76"
62496335
integrity sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==
62506336

6337+
node-fetch@2.6.9:
6338+
version "2.6.9"
6339+
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.6.9.tgz#7c7f744b5cc6eb5fd404e0c7a9fec630a55657e6"
6340+
integrity sha512-DJm/CJkZkRjKKj4Zi4BsKVZh3ValV5IR5s7LVZnW+6YMh0W1BfNA8XSs6DLMGYlId5F3KnA70uu2qepcR08Qqg==
6341+
dependencies:
6342+
whatwg-url "^5.0.0"
6343+
62516344
node-fetch@2.7.0:
62526345
version "2.7.0"
62536346
resolved "https://registry.yarnpkg.com/node-fetch/-/node-fetch-2.7.0.tgz#d0f0fa6e3e2dc1d27efcd8ad99d550bda94d187d"
@@ -7321,6 +7414,11 @@ react-side-effect@^2.1.0:
73217414
resolved "https://registry.yarnpkg.com/react-side-effect/-/react-side-effect-2.1.2.tgz#dc6345b9e8f9906dc2eeb68700b615e0b4fe752a"
73227415
integrity sha512-PVjOcvVOyIILrYoyGEpDN3vmYNLdy1CajSFNt4TDsVQC5KpTijDvWVoR+/7Rz2xT978D8/ZtFceXxzsPwZEDvw==
73237416

7417+
react-singleton-hook@3.3.0:
7418+
version "3.3.0"
7419+
resolved "https://registry.yarnpkg.com/react-singleton-hook/-/react-singleton-hook-3.3.0.tgz#4da1d8ccc9fb21662f40f7e200516b8452fc552f"
7420+
integrity sha512-U0qLp7LkpqPAnSQkKNPQmMd0mhar8hAm4VL+3y/bJFoi9H817wl+gM0z7RAMfOE49E8tlCMroEavqwJa6wItlg==
7421+
73247422
react-style-singleton@^2.2.1:
73257423
version "2.2.1"
73267424
resolved "https://registry.yarnpkg.com/react-style-singleton/-/react-style-singleton-2.2.1.tgz#f99e420492b2d8f34d38308ff660b60d0b1205b4"
@@ -8082,6 +8180,11 @@ stackframe@^1.3.4:
80828180
resolved "https://registry.yarnpkg.com/stackframe/-/stackframe-1.3.4.tgz#b881a004c8c149a5e8efef37d51b16e412943310"
80838181
integrity sha512-oeVtt7eWQS+Na6F//S4kJ2K2VbRlS9D43mAlMyVpVWovy9o+jfgH8O9agzANzaiLjclA0oYzUXEM4PurhSUChw==
80848182

8183+
state-local@^1.0.6:
8184+
version "1.0.7"
8185+
resolved "https://registry.yarnpkg.com/state-local/-/state-local-1.0.7.tgz#da50211d07f05748d53009bee46307a37db386d5"
8186+
integrity sha512-HTEHMNieakEnoe33shBYcZ7NX83ACUjCu8c40iOGEZsngj9zRnkqS9j1pqQPXwobB0ZcVTk27REb7COQ0UR59w==
8187+
80858188
static-extend@^0.1.1:
80868189
version "0.1.2"
80878190
resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6"
@@ -8105,6 +8208,21 @@ std-env@^3.0.1:
81058208
resolved "https://registry.yarnpkg.com/std-env/-/std-env-3.4.3.tgz#326f11db518db751c83fd58574f449b7c3060910"
81068209
integrity sha512-f9aPhy8fYBuMN+sNfakZV18U39PbalgjXG3lLB9WkaYTxijru61wb57V9wxxNthXM5Sd88ETBWi29qLAsHO52Q==
81078210

8211+
strapi-plugin-import-export-entries@^1.23.1:
8212+
version "1.23.1"
8213+
resolved "https://registry.yarnpkg.com/strapi-plugin-import-export-entries/-/strapi-plugin-import-export-entries-1.23.1.tgz#bbc1403384e1918c5f66afba84552ece6519416d"
8214+
integrity sha512-9+ieSBjAz5QwishfXtN+WDHUvjLFr6rILsOj3M9lgdXT8E+5fyF3ZMv63aSAxmKzDaRczXo8frxPqf8uehDjoA==
8215+
dependencies:
8216+
"@monaco-editor/react" "4.4.5"
8217+
csvtojson "2.0.10"
8218+
deepmerge "^4.2.2"
8219+
joi "17.6.0"
8220+
lodash "4.17.21"
8221+
monaco-editor "0.33.0"
8222+
monaco-editor-webpack-plugin "7.0.1"
8223+
node-fetch "2.6.9"
8224+
react-singleton-hook "3.3.0"
8225+
81088226
stream-chain@2.2.5, stream-chain@^2.2.5:
81098227
version "2.2.5"
81108228
resolved "https://registry.yarnpkg.com/stream-chain/-/stream-chain-2.2.5.tgz#b30967e8f14ee033c5b9a19bbe8a2cba90ba0d09"
@@ -8208,6 +8326,13 @@ strip-ansi@^7.0.1:
82088326
dependencies:
82098327
ansi-regex "^6.0.1"
82108328

8329+
strip-bom@^2.0.0:
8330+
version "2.0.0"
8331+
resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-2.0.0.tgz#6219a85616520491f35788bdbf1447a99c7e6b0e"
8332+
integrity sha512-kwrX1y7czp1E69n2ajbG65mIo9dqvJ+8aBQXOGVxqwvNbsXdFM6Lq37dLAY3mknUwru8CfcCbfOLL/gMo+fi3g==
8333+
dependencies:
8334+
is-utf8 "^0.2.0"
8335+
82118336
strip-final-newline@^2.0.0:
82128337
version "2.0.0"
82138338
resolved "https://registry.yarnpkg.com/strip-final-newline/-/strip-final-newline-2.0.0.tgz#89b852fb2fcbe936f6f4b3187afb0a12c1ab58ad"

0 commit comments

Comments
 (0)