@frogbotai/plugin-nested-docs 0.36.0 → 0.37.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/dist/index.d.ts +6 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -3
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import type { NestedDocsPluginConfig } from '@payloadcms/plugin-nested-docs/types';
|
|
2
|
-
import type { Plugin } from 'frogbot';
|
|
3
2
|
export type NestedDocsPluginOptions = NestedDocsPluginConfig;
|
|
4
|
-
|
|
3
|
+
declare module 'frogbot' {
|
|
4
|
+
interface RegisteredPlugins {
|
|
5
|
+
'plugin-nested-docs': NestedDocsPluginOptions;
|
|
6
|
+
}
|
|
7
|
+
}
|
|
8
|
+
export declare const nestedDocsPlugin: (options: NestedDocsPluginConfig) => import("frogbot").Plugin;
|
|
5
9
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAInF,MAAM,MAAM,uBAAuB,GAAG,sBAAsB,CAAC;AAE7D,OAAO,QAAQ,SAAS,CAAC;IACvB,UAAU,iBAAiB;QACzB,oBAAoB,EAAE,uBAAuB,CAAC;KAC/C;CACF;AAED,eAAO,MAAM,gBAAgB,+DAG3B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { nestedDocsPlugin as payloadNestedDocsPlugin } from '@payloadcms/plugin-nested-docs';
|
|
2
|
+
import { definePlugin } from 'frogbot';
|
|
2
3
|
import { wrapPayloadPlugin } from 'frogbot/internal';
|
|
3
|
-
export
|
|
4
|
-
|
|
5
|
-
}
|
|
4
|
+
export const nestedDocsPlugin = definePlugin({
|
|
5
|
+
slug: 'plugin-nested-docs',
|
|
6
|
+
plugin: ({ config, options })=>wrapPayloadPlugin(payloadNestedDocsPlugin(options))(config)
|
|
7
|
+
});
|
|
6
8
|
|
|
7
9
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":["nestedDocsPlugin","payloadNestedDocsPlugin","wrapPayloadPlugin","options"],"mappings":"AAAA,SAASA,oBAAoBC,uBAAuB,QAAQ,iCAAiC;
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":["nestedDocsPlugin","payloadNestedDocsPlugin","definePlugin","wrapPayloadPlugin","slug","plugin","config","options"],"mappings":"AAAA,SAASA,oBAAoBC,uBAAuB,QAAQ,iCAAiC;AAE7F,SAASC,YAAY,QAAQ,UAAU;AACvC,SAASC,iBAAiB,QAAQ,mBAAmB;AAUrD,OAAO,MAAMH,mBAAmBE,aAAsC;IACpEE,MAAM;IACNC,QAAQ,CAAC,EAAEC,MAAM,EAAEC,OAAO,EAAE,GAAKJ,kBAAkBF,wBAAwBM,UAAUD;AACvF,GAAG","file":"index.js"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frogbotai/plugin-nested-docs",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.37.0",
|
|
4
4
|
"description": "Payload nested documents integration for FrogBot.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"author": "Colby Gilbert",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"node": ">=24.21.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@payloadcms/plugin-nested-docs": "4.0.0-beta.
|
|
30
|
+
"@payloadcms/plugin-nested-docs": "4.0.0-beta.5"
|
|
31
31
|
},
|
|
32
32
|
"peerDependencies": {
|
|
33
|
-
"payload": "4.0.0-beta.
|
|
34
|
-
"frogbot": "0.
|
|
33
|
+
"payload": "4.0.0-beta.5",
|
|
34
|
+
"frogbot": "0.37.0"
|
|
35
35
|
},
|
|
36
36
|
"devDependencies": {
|
|
37
|
-
"payload": "4.0.0-beta.
|
|
37
|
+
"payload": "4.0.0-beta.5",
|
|
38
38
|
"typescript": "6.0.3",
|
|
39
|
-
"frogbot": "0.
|
|
39
|
+
"frogbot": "0.37.0"
|
|
40
40
|
},
|
|
41
41
|
"publishConfig": {
|
|
42
42
|
"access": "public"
|