@ai-stack/payloadcms 3.2.3-beta → 3.2.4-beta
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/README.md +8 -2
- package/dist/exports/fields.d.ts +0 -1
- package/dist/exports/fields.d.ts.map +1 -1
- package/dist/exports/fields.js +0 -1
- package/dist/exports/fields.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -87,7 +87,7 @@ export default buildConfig({
|
|
|
87
87
|
|
|
88
88
|
|
|
89
89
|
// Add below in Lexical Editor field config
|
|
90
|
-
import { PayloadAiPluginLexicalEditorFeature } from '@ai-stack/payloadcms
|
|
90
|
+
import { PayloadAiPluginLexicalEditorFeature } from '@ai-stack/payloadcms'
|
|
91
91
|
|
|
92
92
|
fields: [
|
|
93
93
|
{
|
|
@@ -97,7 +97,13 @@ fields: [
|
|
|
97
97
|
features: ({ rootFeatures }) => {
|
|
98
98
|
return [
|
|
99
99
|
// ... your existing features
|
|
100
|
-
|
|
100
|
+
HeadingFeature({ enabledHeadingSizes: ['h1', 'h2', 'h3', 'h4'] }),
|
|
101
|
+
InlineToolbarFeature(),
|
|
102
|
+
HorizontalRuleFeature(),
|
|
103
|
+
OrderedListFeature(),
|
|
104
|
+
UnorderedListFeature(),
|
|
105
|
+
BlockquoteFeature(),
|
|
106
|
+
PayloadAiPluginLexicalEditorFeature() // Add this line
|
|
101
107
|
]
|
|
102
108
|
},
|
|
103
109
|
}),
|
package/dist/exports/fields.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { ComposeField } from '../fields/ComposeField/ComposeField.js';
|
|
2
|
-
export { PayloadAiPluginLexicalEditorFeature } from '../fields/LexicalEditor/feature.server.js';
|
|
3
2
|
export { PromptEditorField } from '../fields/PromptEditorField/PromptEditorField.js';
|
|
4
3
|
export { SelectField } from '../fields/SelectField/SelectField.js';
|
|
5
4
|
//# sourceMappingURL=fields.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../src/exports/fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAA;AACrE,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"fields.d.ts","sourceRoot":"","sources":["../../src/exports/fields.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,wCAAwC,CAAA;AACrE,OAAO,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAA;AACpF,OAAO,EAAE,WAAW,EAAE,MAAM,sCAAsC,CAAA"}
|
package/dist/exports/fields.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
export { ComposeField } from '../fields/ComposeField/ComposeField.js';
|
|
2
|
-
export { PayloadAiPluginLexicalEditorFeature } from '../fields/LexicalEditor/feature.server.js';
|
|
3
2
|
export { PromptEditorField } from '../fields/PromptEditorField/PromptEditorField.js';
|
|
4
3
|
export { SelectField } from '../fields/SelectField/SelectField.js';
|
|
5
4
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../../src/exports/fields.ts"],"sourcesContent":["export { ComposeField } from '../fields/ComposeField/ComposeField.js'\nexport {
|
|
1
|
+
{"version":3,"sources":["../../src/exports/fields.ts"],"sourcesContent":["export { ComposeField } from '../fields/ComposeField/ComposeField.js'\nexport { PromptEditorField } from '../fields/PromptEditorField/PromptEditorField.js'\nexport { SelectField } from '../fields/SelectField/SelectField.js'\n"],"names":["ComposeField","PromptEditorField","SelectField"],"mappings":"AAAA,SAASA,YAAY,QAAQ,yCAAwC;AACrE,SAASC,iBAAiB,QAAQ,mDAAkD;AACpF,SAASC,WAAW,QAAQ,uCAAsC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license This software is licensed under the MIT License.
|
|
3
3
|
*/
|
|
4
|
+
import { PayloadAiPluginLexicalEditorFeature } from './fields/LexicalEditor/feature.server.js';
|
|
4
5
|
export { payloadAiPlugin } from './plugin.js';
|
|
6
|
+
export { PayloadAiPluginLexicalEditorFeature };
|
|
5
7
|
//# 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":"AAAA;;GAEG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,mCAAmC,EAAE,MAAM,0CAA0C,CAAA;AAE9F,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAA;AAC7C,OAAO,EAAE,mCAAmC,EAAE,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @license This software is licensed under the MIT License.
|
|
3
|
-
*/
|
|
3
|
+
*/ import { PayloadAiPluginLexicalEditorFeature } from './fields/LexicalEditor/feature.server.js';
|
|
4
|
+
export { payloadAiPlugin } from './plugin.js';
|
|
5
|
+
export { PayloadAiPluginLexicalEditorFeature };
|
|
4
6
|
|
|
5
7
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * @license This software is licensed under the MIT License.\n */\n\nexport { payloadAiPlugin } from './plugin.js'\n"],"names":["payloadAiPlugin"],"mappings":"AAAA;;CAEC,GAED,SAASA,eAAe,QAAQ,cAAa"}
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"sourcesContent":["/**\n * @license This software is licensed under the MIT License.\n */\n\nimport { PayloadAiPluginLexicalEditorFeature } from './fields/LexicalEditor/feature.server.js'\n\nexport { payloadAiPlugin } from './plugin.js'\nexport { PayloadAiPluginLexicalEditorFeature }\n"],"names":["PayloadAiPluginLexicalEditorFeature","payloadAiPlugin"],"mappings":"AAAA;;CAEC,GAED,SAASA,mCAAmC,QAAQ,2CAA0C;AAE9F,SAASC,eAAe,QAAQ,cAAa;AAC7C,SAASD,mCAAmC,GAAE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ai-stack/payloadcms",
|
|
3
|
-
"version": "3.2.
|
|
3
|
+
"version": "3.2.4-beta",
|
|
4
4
|
"private": false,
|
|
5
5
|
"bugs": "https://github.com/ashbuilds/payload-ai/issues",
|
|
6
6
|
"repository": "https://github.com/ashbuilds/payload-ai",
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
"@ai-sdk/provider-utils": "^1.0.17",
|
|
54
54
|
"@ai-sdk/ui-utils": "^0.0.27",
|
|
55
55
|
"@anthropic-ai/sdk": "^0.24.3",
|
|
56
|
-
"@lexical/html": "0.
|
|
56
|
+
"@lexical/html": "^0.21.0",
|
|
57
57
|
"ai": "^3.3.20",
|
|
58
58
|
"elevenlabs": "^0.8.2",
|
|
59
59
|
"get-input-selection": "^1.1.4",
|
|
60
60
|
"handlebars": "4.7.8",
|
|
61
61
|
"handlebars-async-helpers": "^1.0.6",
|
|
62
|
-
"lexical": "^0.
|
|
62
|
+
"lexical": "^0.21.0",
|
|
63
63
|
"locale-codes": "^1.3.1",
|
|
64
64
|
"lodash.isequal": "^4.5.0",
|
|
65
65
|
"openai": "^4.56.1",
|
|
@@ -97,10 +97,10 @@
|
|
|
97
97
|
"typescript-eslint": "^7.18.0"
|
|
98
98
|
},
|
|
99
99
|
"peerDependencies": {
|
|
100
|
-
"@payloadcms/richtext-lexical": "
|
|
101
|
-
"@payloadcms/translations": "
|
|
102
|
-
"@payloadcms/ui": "
|
|
103
|
-
"payload": "
|
|
100
|
+
"@payloadcms/richtext-lexical": "latest",
|
|
101
|
+
"@payloadcms/translations": "latest",
|
|
102
|
+
"@payloadcms/ui": "latest",
|
|
103
|
+
"payload": "latest"
|
|
104
104
|
},
|
|
105
105
|
"publishConfig": {
|
|
106
106
|
"@ai-stack:registry": "https://registry.npmjs.org",
|