@frogbotai/plugin-import-export 0.14.0

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/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 FrogBot
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/README.md ADDED
@@ -0,0 +1,15 @@
1
+ # @frogbotai/plugin-import-export
2
+
3
+ Add Payload's import and export collections, jobs, and admin controls to FrogBot collections.
4
+
5
+ ```ts
6
+ import { importExportPlugin } from '@frogbotai/plugin-import-export';
7
+ import { buildConfig } from 'frogbot';
8
+
9
+ export default buildConfig({
10
+ collections: [{ slug: 'posts', fields: [{ name: 'title', type: 'text' }] }],
11
+ plugins: [importExportPlugin({ collections: [{ slug: 'posts' }] })],
12
+ });
13
+ ```
14
+
15
+ This package delegates to `@payloadcms/plugin-import-export`. It preserves the upstream collection, import, export, limit, hook, and override options supported by FrogBot's collection, admin component, i18n, and jobs config surfaces.
@@ -0,0 +1,5 @@
1
+ import type { ImportExportPluginConfig } from '@payloadcms/plugin-import-export/types';
2
+ import type { Plugin } from 'frogbot';
3
+ export type ImportExportPluginOptions = ImportExportPluginConfig;
4
+ export declare function importExportPlugin(options: ImportExportPluginOptions): Plugin;
5
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,wCAAwC,CAAC;AACvF,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AAEtC,MAAM,MAAM,yBAAyB,GAAG,wBAAwB,CAAC;AAEjE,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,yBAAyB,GAAG,MAAM,CAE7E"}
package/dist/index.js ADDED
@@ -0,0 +1,5 @@
1
+ import { importExportPlugin as payloadImportExportPlugin } from '@payloadcms/plugin-import-export';
2
+ export function importExportPlugin(options) {
3
+ return async (config) => await payloadImportExportPlugin(options)(config);
4
+ }
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,IAAI,yBAAyB,EAAE,MAAM,kCAAkC,CAAC;AAMnG,MAAM,UAAU,kBAAkB,CAAC,OAAkC;IACnE,OAAO,KAAK,EAAE,MAAM,EAAE,EAAE,CAAC,MAAM,yBAAyB,CAAC,OAAO,CAAC,CAAC,MAAe,CAA6B,CAAC;AACjH,CAAC"}
package/package.json ADDED
@@ -0,0 +1,49 @@
1
+ {
2
+ "name": "@frogbotai/plugin-import-export",
3
+ "version": "0.14.0",
4
+ "description": "Payload import and export integration for FrogBot.",
5
+ "license": "MIT",
6
+ "author": "Colby Gilbert",
7
+ "repository": {
8
+ "type": "git",
9
+ "url": "git+https://github.com/frogbotai/frogbot.git",
10
+ "directory": "packages/plugins/plugin-import-export"
11
+ },
12
+ "homepage": "https://github.com/frogbotai/frogbot#readme",
13
+ "type": "module",
14
+ "main": "./dist/index.js",
15
+ "types": "./dist/index.d.ts",
16
+ "exports": {
17
+ ".": {
18
+ "import": "./dist/index.js",
19
+ "types": "./dist/index.d.ts",
20
+ "default": "./dist/index.js"
21
+ }
22
+ },
23
+ "files": [
24
+ "dist"
25
+ ],
26
+ "engines": {
27
+ "node": ">=22"
28
+ },
29
+ "dependencies": {
30
+ "@payloadcms/plugin-import-export": "3.85.1"
31
+ },
32
+ "peerDependencies": {
33
+ "payload": "3.85.1",
34
+ "frogbot": "0.14.0"
35
+ },
36
+ "devDependencies": {
37
+ "payload": "3.85.1",
38
+ "typescript": "5.6.2",
39
+ "frogbot": "0.14.0"
40
+ },
41
+ "publishConfig": {
42
+ "access": "public"
43
+ },
44
+ "scripts": {
45
+ "build": "tsc -p tsconfig.json",
46
+ "clean": "rm -rf dist",
47
+ "typecheck": "tsc --noEmit"
48
+ }
49
+ }