@malevich-studio/strapi-sdk-typescript 1.2.30 → 1.2.32
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/cli.cjs +12 -0
- package/dist/cli.cjs.map +1 -1
- package/dist/cli.mjs +12 -0
- package/dist/cli.mjs.map +1 -1
- package/dist/generator/attributes/richtext.d.ts +11 -0
- package/package.json +1 -1
package/dist/cli.cjs
CHANGED
|
@@ -21850,6 +21850,17 @@ class Time extends Base {
|
|
|
21850
21850
|
}
|
|
21851
21851
|
}
|
|
21852
21852
|
|
|
21853
|
+
class Richtext extends Base {
|
|
21854
|
+
constructor(name, attribute) {
|
|
21855
|
+
super(name, attribute);
|
|
21856
|
+
this.name = name;
|
|
21857
|
+
this.attribute = attribute;
|
|
21858
|
+
}
|
|
21859
|
+
getType() {
|
|
21860
|
+
return "string";
|
|
21861
|
+
}
|
|
21862
|
+
}
|
|
21863
|
+
|
|
21853
21864
|
const types = {
|
|
21854
21865
|
'string': String$1,
|
|
21855
21866
|
'text': String$1,
|
|
@@ -21870,6 +21881,7 @@ const types = {
|
|
|
21870
21881
|
'dynamiczone': Dynamiczone,
|
|
21871
21882
|
'blocks': Blocks,
|
|
21872
21883
|
'json': Json,
|
|
21884
|
+
'richtext': Richtext,
|
|
21873
21885
|
};
|
|
21874
21886
|
function getAttributeGenerator(name, attribute) {
|
|
21875
21887
|
if (!types[attribute.type]) {
|