@griddo/core 10.6.5 → 10.6.7
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/autotypes.cjs.js +1 -1
- package/dist/autotypes.cjs.js.map +1 -1
- package/dist/autotypes.js +1 -1
- package/dist/autotypes.js.map +1 -1
- package/dist/hooks/index.d.ts +3 -1
- package/dist/hooks/useAiAnswers.d.ts +25 -0
- package/dist/hooks/useAiSearch.d.ts +36 -0
- package/dist/hooks/useFetch.d.ts +5 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/schema-fields/simple-content-type-fields.d.ts +2 -2
- package/dist/types/schemas/SimpleContentType.d.ts +2 -0
- package/package.json +2 -2
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BaseArrayFieldGroup, BaseAsyncCheckGroup, BaseAsyncSelect, BaseCheckGroup, BaseColorPicker, BaseConditionalField, BaseDateField, BaseFieldGroup, BaseFieldsDivider, BaseFileField, BaseHeadingField, BaseImageField, BaseLinkField, BaseMultiCheckSelect, BaseMultiCheckSelectGroup, BaseNoteField, BaseNumberField, BaseRadioGroup, BaseReferenceField, BaseRichText, BaseSelect, BaseSliderField, BaseTagsField, BaseTextArea, BaseTextField, BaseTimeField, BaseToggleField, BaseUniqueCheck, BaseUrlField, BaseVisualUniqueSelection, BaseWysiwyg } from "./base";
|
|
2
|
-
import { WithAuxText, WithBackground, WithFullWidth, WithHelpText, WithHidden, WithHumanReadable, WithIndexable, WithIsMockup, WithPlaceHolder, WithPrefix, WithReadonly, WithRelations_AutoTypes, WithShowList, WithSimpleContentTypeComputed, WithSlugTo, WithValidators, WithWhiteList } from "./props";
|
|
2
|
+
import { WithAuxText, WithBackground, WithDataSources, WithFullWidth, WithHelpText, WithHidden, WithHumanReadable, WithIndexable, WithIsMockup, WithPlaceHolder, WithPrefix, WithReadonly, WithRelations_AutoTypes, WithShowList, WithSimpleContentTypeComputed, WithSlugTo, WithValidators, WithWhiteList } from "./props";
|
|
3
3
|
import { Fields } from "../..";
|
|
4
4
|
type Common = WithIndexable & WithShowList & WithHelpText & WithHidden;
|
|
5
5
|
export type ArrayFieldGroup = BaseArrayFieldGroup<SimpleContentTypeFields> & Common;
|
|
@@ -20,7 +20,7 @@ export type MultiCheckSelectGroup = BaseMultiCheckSelectGroup & WithRelations_Au
|
|
|
20
20
|
export type NoteField = BaseNoteField & Common;
|
|
21
21
|
export type NumberField = BaseNumberField & WithValidators & Common & WithPlaceHolder;
|
|
22
22
|
export type RadioGroup = BaseRadioGroup & Common;
|
|
23
|
-
export type ReferenceField = BaseReferenceField & Common;
|
|
23
|
+
export type ReferenceField = BaseReferenceField & Common & WithDataSources;
|
|
24
24
|
export type RichText = BaseRichText & WithIsMockup & WithValidators & Common & WithPlaceHolder & WithHumanReadable;
|
|
25
25
|
export type Select = BaseSelect & WithValidators & Common & WithPlaceHolder;
|
|
26
26
|
export type SliderField = BaseSliderField & WithValidators & Common;
|
|
@@ -18,5 +18,7 @@ export interface SimpleContentType<ContentType = unknown> extends BaseContentTyp
|
|
|
18
18
|
schema: SimpleContentTypeProp<ContentType>;
|
|
19
19
|
/** Set the ContentType to private */
|
|
20
20
|
private?: boolean;
|
|
21
|
+
/** Set if ContentType is exportable */
|
|
22
|
+
exportable?: boolean;
|
|
21
23
|
}
|
|
22
24
|
export {};
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@griddo/core",
|
|
3
3
|
"description": "Reload version of Griddo Core",
|
|
4
4
|
"license": "UNLICENSED",
|
|
5
|
-
"version": "10.6.
|
|
5
|
+
"version": "10.6.7",
|
|
6
6
|
"authors": [
|
|
7
7
|
"Álvaro Sánchez' <alvaro.sanches@secuoyas.com>",
|
|
8
8
|
"Diego M. Béjar <diego.bejar@secuoyas.com>",
|
|
@@ -75,5 +75,5 @@
|
|
|
75
75
|
"publishConfig": {
|
|
76
76
|
"access": "public"
|
|
77
77
|
},
|
|
78
|
-
"gitHead": "
|
|
78
|
+
"gitHead": "7518a5fa486026aeeceee57d87fac1841e9e35a6"
|
|
79
79
|
}
|