runlify 0.0.105 → 0.0.108
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/build/projectsGeneration/builders/fields/BaseFieldBuilder.js +8 -1
- package/build/projectsGeneration/builders/fields/IdFieldBuilder.js +5 -5
- package/build/projectsGeneration/builders/fields/LinkFieldBuilder.js +5 -5
- package/build/projectsGeneration/builders/fields/ScalarFieldBuilder.js +5 -5
- package/build/projectsGeneration/builders/fields/ViewLinkFieldBuilder.js +5 -5
- package/build/projectsGeneration/builders/ui/ListFormFilterBuilder.js +2 -1
- package/build/projectsGeneration/builders/ui/ListFormFilterFieldBuilder.js +3 -2
- package/build/projectsGeneration/commonEntities/addManagers.js +2 -2
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityCreate/DefaultEntityCreate.js +2 -2
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityEdit/DefaultEntityEdit.js +8 -5
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/DefaultEntityFilter.js +2 -1
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityList/DefaultEntityList.js +3 -2
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DefaultMainTab.js +7 -5
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/EntityShow/DependencyTab.js +4 -2
- package/build/projectsGeneration/generators/fileTemplates/ui/pages/getEntityValidation.js +5 -5
- package/build/projectsGeneration/generators/fileTemplates/ui/widgets/list/ListWidget.js +3 -1
- package/build/projectsGeneration/generators/prisma/scheme/fields/genPrismaFieldFromExternalEntity.spec.js +3 -1
- package/build/projectsGeneration/generators/prisma/scheme/genPrismaEntity.spec.js +3 -1
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNameToShowScalar.js +9 -5
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowIdField.js +2 -2
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowLinkField.js +2 -2
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowLinkField.spec.js +13 -1
- package/build/projectsGeneration/generators/ui/componentNames/show/getCompNamesToShowScalarField.js +2 -2
- package/build/projectsGeneration/generators/ui/getShowComponent.js +4 -4
- package/build/projectsGeneration/links/getLinksFromExternalEntities.spec.js +7 -1
- package/build/projectsGeneration/links/getLinksOfEntities.spec.js +11 -1
- package/build/projectsGeneration/links/getLinksToExternalEntities.spec.js +7 -1
- package/build/projectsGeneration/metaUtils.js +4 -2
- package/build/types/projectsGeneration/builders/buildedTypes.d.ts +3 -1
- package/build/types/projectsGeneration/builders/fields/BaseFieldBuilder.d.ts +2 -0
- package/build/types/projectsGeneration/generators/ui/componentNames/show/getCompNameToShowScalar.d.ts +2 -2
- package/build/types/projectsGeneration/generators/ui/componentNames/types.d.ts +1 -1
- package/build/types/projectsGeneration/metaUtils.d.ts +1 -0
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Field } from '../../../../builders';
|
|
2
2
|
import { ShowComponentName } from '../types';
|
|
3
|
-
export declare const getCompNameToShowScalar: (
|
|
3
|
+
export declare const getCompNameToShowScalar: (field: Field) => ShowComponentName;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare type ShowComponentName = 'DateField' | 'TextField' | 'NumberField' | 'BooleanField';
|
|
1
|
+
export declare type ShowComponentName = 'DateField' | 'TextField' | 'NumberField' | 'BooleanField' | 'ReactMarkdownField';
|
|
2
2
|
export declare type LinkShowComponentName = 'ReferenceField';
|
|
3
3
|
export declare type LinkEditComponentName = 'ReferenceInput' | 'SelectInput' | 'AutocompleteInput';
|
|
4
4
|
export declare type EditComponentName = 'TextInput' | 'NumberInput' | 'DateTimeInput' | 'DateInput' | 'BooleanInput';
|
|
@@ -4,3 +4,4 @@ export declare const getFieldByName: (entity: Entity, name: string) => Field;
|
|
|
4
4
|
export declare const getKeyField: (entity: Entity) => IdField;
|
|
5
5
|
export declare const getTitleField: (entity: Entity) => ScalarField;
|
|
6
6
|
export declare const isImageFileRef: (f: Field) => boolean;
|
|
7
|
+
export declare const isMarkdownField: (f: Field) => boolean;
|