@rebasepro/admin 0.16.0 → 0.16.1-canary.g701140a
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/collection_editor/ConfigControllerProvider.d.ts +4 -4
- package/dist/collection_editor/_cms_internals.d.ts +23 -23
- package/dist/collection_editor/api/index.d.ts +1 -1
- package/dist/collection_editor/extensibility_types.d.ts +1 -1
- package/dist/collection_editor/index.d.ts +21 -21
- package/dist/collection_editor/serializable_utils.d.ts +1 -1
- package/dist/collection_editor/types/collection_editor_controller.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/AICollectionGeneratorPopover.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/AIModifiedPathsContext.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/CollectionEditorDialog.d.ts +4 -4
- package/dist/collection_editor/ui/collection_editor/CollectionEditorWelcomeView.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/CollectionPropertiesEditorForm.d.ts +2 -2
- package/dist/collection_editor/ui/collection_editor/CollectionStudioView.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/CollectionsStudioView.d.ts +2 -2
- package/dist/collection_editor/ui/collection_editor/GeneralSettingsForm.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/PropertyEditView.d.ts +2 -2
- package/dist/collection_editor/ui/collection_editor/RouterCollectionStudioView.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/RouterCollectionsStudioView.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/SubcollectionsEditTab.d.ts +2 -2
- package/dist/collection_editor/ui/collection_editor/import/CollectionEditorImportDataPreview.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/import/CollectionEditorImportMapping.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/import/clean_import_data.d.ts +1 -1
- package/dist/collection_editor/ui/collection_editor/properties/conditions/index.d.ts +6 -6
- package/dist/collection_editor/useCollectionEditorController.d.ts +1 -1
- package/dist/collection_editor/useCollectionsConfigController.d.ts +1 -1
- package/dist/collection_editor/useJsonCollectionsConfigController.d.ts +2 -2
- package/dist/collection_editor/useLocalCollectionsConfigController.d.ts +1 -1
- package/dist/collection_editor_ui.d.ts +12 -12
- package/dist/components/CollectionTableBinding/CollectionTableBinding.d.ts +1 -1
- package/dist/components/CollectionTableBinding/PropertyTableCell.d.ts +1 -1
- package/dist/components/CollectionTableBinding/fields/TableStorageUpload.d.ts +1 -1
- package/dist/components/CollectionTableBinding/index.d.ts +5 -5
- package/dist/components/CollectionTableBinding/internal/popup_field/PopupFormField.d.ts +1 -1
- package/dist/components/CollectionViewBinding/SlotValue.d.ts +2 -2
- package/dist/components/CollectionViewBinding/hooks/useKanbanDragAndDrop.d.ts +1 -1
- package/dist/components/EditFormActions.d.ts +1 -1
- package/dist/components/EditViewBinding.d.ts +3 -3
- package/dist/components/EntityInspector.d.ts +1 -1
- package/dist/components/EntityPreviewBinding.d.ts +1 -1
- package/dist/components/EntityViewBinding.d.ts +1 -1
- package/dist/components/HomePage/index.d.ts +4 -4
- package/dist/components/PropertyCollectionView.d.ts +1 -1
- package/dist/components/ReferenceWidget.d.ts +1 -1
- package/dist/components/admin/index.d.ts +1 -1
- package/dist/components/app/AppBar.d.ts +1 -1
- package/dist/components/app/index.d.ts +4 -4
- package/dist/components/common/index.d.ts +1 -1
- package/dist/components/field_configs.d.ts +1 -1
- package/dist/components/history/EntityHistoryEntry.d.ts +2 -2
- package/dist/components/history/index.d.ts +5 -5
- package/dist/components/index.d.ts +45 -45
- package/dist/data_export/export/index.d.ts +4 -4
- package/dist/data_export/index.d.ts +1 -1
- package/dist/data_import/components/DataNewPropertiesMapping.d.ts +1 -1
- package/dist/data_import/components/ImportSaveInProgress.d.ts +1 -1
- package/dist/data_import/components/index.d.ts +4 -4
- package/dist/data_import/hooks/index.d.ts +1 -1
- package/dist/data_import/hooks/useImportConfig.d.ts +1 -1
- package/dist/data_import/import/ImportCollectionAction.d.ts +1 -1
- package/dist/data_import/import/index.d.ts +1 -1
- package/dist/data_import/index.d.ts +5 -5
- package/dist/data_import/types/index.d.ts +1 -1
- package/dist/data_import/utils/file_to_json.d.ts +1 -1
- package/dist/data_import/utils/index.d.ts +5 -5
- package/dist/editor/components/SlashCommandMenu.d.ts +2 -2
- package/dist/editor/components/index.d.ts +5 -5
- package/dist/editor/editor.d.ts +2 -2
- package/dist/editor/index.d.ts +2 -2
- package/dist/editor/nodeViews/ImageComponent.d.ts +1 -1
- package/dist/editor/nodeViews/TaskItemComponent.d.ts +1 -1
- package/dist/editor/types.d.ts +1 -1
- package/dist/form/EntityForm.d.ts +1 -1
- package/dist/form/EntityFormActions.d.ts +1 -1
- package/dist/form/EntityFormBinding.d.ts +1 -1
- package/dist/form/PropertyFieldBinding.d.ts +1 -1
- package/dist/form/components/StorageItemPreview.d.ts +1 -1
- package/dist/form/components/index.d.ts +6 -6
- package/dist/form/field_bindings/ArrayCustomShapedFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/ArrayOfReferencesFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/BinaryFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/BlockFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/DateTimeFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/GeopointFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/KeyValueFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/MapFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/MarkdownEditorFieldBinding.d.ts +2 -2
- package/dist/form/field_bindings/MultiSelectFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/MultipleRelationFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/ReadOnlyFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/ReferenceFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/RelationFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/RepeatFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/SelectFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/StorageUploadFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/SwitchFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/TextFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/UserSelectFieldBinding.d.ts +1 -1
- package/dist/form/field_bindings/VectorFieldBinding.d.ts +1 -1
- package/dist/form/index.d.ts +24 -24
- package/dist/hooks/index.d.ts +16 -16
- package/dist/hooks/navigation/contexts/index.d.ts +3 -3
- package/dist/hooks/useBuildSideDialogsController.d.ts +1 -1
- package/dist/hooks/useSelectionDialog.d.ts +1 -1
- package/dist/index.d.ts +15 -15
- package/dist/preview/PropertyPreview.d.ts +1 -1
- package/dist/preview/components/ArrayEnumPreview.d.ts +1 -1
- package/dist/preview/components/BooleanPreview.d.ts +1 -1
- package/dist/preview/components/ImagePreview.d.ts +1 -1
- package/dist/preview/components/ReferencePreview.d.ts +1 -1
- package/dist/preview/components/RelationPreview.d.ts +1 -1
- package/dist/preview/components/StorageThumbnail.d.ts +1 -1
- package/dist/preview/components/UrlComponentPreview.d.ts +2 -2
- package/dist/preview/components/UserPreview.d.ts +1 -1
- package/dist/preview/index.d.ts +24 -24
- package/dist/preview/property_previews/ArrayOfMapsPreview.d.ts +1 -1
- package/dist/preview/property_previews/ArrayOfReferencesPreview.d.ts +1 -1
- package/dist/preview/property_previews/ArrayOfRelationsPreview.d.ts +1 -1
- package/dist/preview/property_previews/ArrayOfStorageComponentsPreview.d.ts +1 -1
- package/dist/preview/property_previews/ArrayOfStringsPreview.d.ts +1 -1
- package/dist/preview/property_previews/ArrayOneOfPreview.d.ts +1 -1
- package/dist/preview/property_previews/ArrayPropertyEnumPreview.d.ts +1 -1
- package/dist/preview/property_previews/ArrayPropertyPreview.d.ts +1 -1
- package/dist/preview/property_previews/MapPropertyPreview.d.ts +1 -1
- package/dist/preview/property_previews/NumberPropertyPreview.d.ts +1 -1
- package/dist/preview/property_previews/SkeletonPropertyComponent.d.ts +1 -1
- package/dist/preview/property_previews/StringPropertyPreview.d.ts +1 -1
- package/dist/preview/util.d.ts +1 -1
- package/dist/routes/index.d.ts +2 -2
- package/dist/types/components/EntityFormActionsProps.d.ts +2 -2
- package/dist/types/components/EntityFormProps.d.ts +3 -3
- package/dist/types/components/index.d.ts +3 -3
- package/dist/types/fields.d.ts +1 -1
- package/dist/types/index.d.ts +2 -2
- package/dist/util/index.d.ts +5 -5
- package/package.json +10 -10
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { User } from "@rebasepro/types";
|
|
3
|
-
import { CollectionsConfigController } from "./types/config_controller";
|
|
4
|
-
import { CollectionEditorController } from "./types/collection_editor_controller";
|
|
5
|
-
import { CollectionInference } from "./types/collection_inference";
|
|
6
|
-
import { CollectionGenerationCallback } from "./api/generateCollectionApi";
|
|
3
|
+
import { CollectionsConfigController } from "./types/config_controller.js";
|
|
4
|
+
import { CollectionEditorController } from "./types/collection_editor_controller.js";
|
|
5
|
+
import { CollectionInference } from "./types/collection_inference.js";
|
|
6
|
+
import { CollectionGenerationCallback } from "./api/generateCollectionApi.js";
|
|
7
7
|
export declare const ConfigControllerContext: React.Context<CollectionsConfigController>;
|
|
8
8
|
export declare const CollectionEditorContext: React.Context<CollectionEditorController>;
|
|
9
9
|
export interface ConfigControllerProviderProps {
|
|
@@ -3,27 +3,27 @@
|
|
|
3
3
|
* This avoids circular imports by pointing directly at source files
|
|
4
4
|
* rather than going through the admin barrel (index.ts).
|
|
5
5
|
*/
|
|
6
|
-
export { useCollectionRegistryController } from "../hooks/navigation/contexts/CollectionRegistryContext";
|
|
7
|
-
export { useNavigationStateController } from "../hooks/navigation/contexts/NavigationStateContext";
|
|
8
|
-
export { useUrlController } from "../hooks/navigation/contexts/UrlContext";
|
|
9
|
-
export { useSidePanel } from "../hooks/useSidePanel";
|
|
10
|
-
export { useBreadcrumbsController } from "../hooks/useBreadcrumbsController";
|
|
11
|
-
export { FieldCaption } from "../components/FieldCaption";
|
|
12
|
-
export { SearchIconsView } from "../components/SearchIconsView";
|
|
13
|
-
export { PropertyConfigBadge } from "../components/PropertyConfigBadge";
|
|
14
|
-
export { CollectionTableBinding } from "../components/CollectionTableBinding";
|
|
6
|
+
export { useCollectionRegistryController } from "../hooks/navigation/contexts/CollectionRegistryContext.js";
|
|
7
|
+
export { useNavigationStateController } from "../hooks/navigation/contexts/NavigationStateContext.js";
|
|
8
|
+
export { useUrlController } from "../hooks/navigation/contexts/UrlContext.js";
|
|
9
|
+
export { useSidePanel } from "../hooks/useSidePanel.js";
|
|
10
|
+
export { useBreadcrumbsController } from "../hooks/useBreadcrumbsController.js";
|
|
11
|
+
export { FieldCaption } from "../components/FieldCaption.js";
|
|
12
|
+
export { SearchIconsView } from "../components/SearchIconsView.js";
|
|
13
|
+
export { PropertyConfigBadge } from "../components/PropertyConfigBadge.js";
|
|
14
|
+
export { CollectionTableBinding } from "../components/CollectionTableBinding/index.js";
|
|
15
15
|
export { VirtualTableInput } from "@rebasepro/ui";
|
|
16
|
-
export { ArrayContainer } from "../components/ArrayContainer";
|
|
17
|
-
export type { ArrayEntryParams } from "../components/ArrayContainer";
|
|
18
|
-
export { useSelectionController } from "../components/CollectionViewBinding/useSelectionController";
|
|
19
|
-
export { ImportFileUpload } from "../data_import/components/ImportFileUpload";
|
|
20
|
-
export { ImportSaveInProgress } from "../data_import/components/ImportSaveInProgress";
|
|
21
|
-
export { useImportConfig } from "../data_import/hooks/useImportConfig";
|
|
22
|
-
export { getInferenceType } from "../data_import/utils/get_import_inference_type";
|
|
23
|
-
export { convertDataToEntity } from "../data_import/utils/data";
|
|
24
|
-
export type { ImportConfig } from "../data_import/types";
|
|
25
|
-
export { DataNewPropertiesMapping } from "../data_import/components/DataNewPropertiesMapping";
|
|
26
|
-
export { ImportNewPropertyFieldPreview } from "../data_import/components/ImportNewPropertyFieldPreview";
|
|
27
|
-
export { getFieldConfig, getFieldId, getDefaultFieldConfig, getDefaultFieldId, DEFAULT_FIELD_CONFIGS } from "../components/field_configs";
|
|
28
|
-
export { getPropertyInPath, getResolvedPropertyInPath, getDefaultPropertiesOrder, getPropertiesWithPropertiesOrder } from "../util/property_utils";
|
|
29
|
-
export { resolveEntityAction, resolveEntityView } from "../util/resolutions";
|
|
16
|
+
export { ArrayContainer } from "../components/ArrayContainer.js";
|
|
17
|
+
export type { ArrayEntryParams } from "../components/ArrayContainer.js";
|
|
18
|
+
export { useSelectionController } from "../components/CollectionViewBinding/useSelectionController.js";
|
|
19
|
+
export { ImportFileUpload } from "../data_import/components/ImportFileUpload.js";
|
|
20
|
+
export { ImportSaveInProgress } from "../data_import/components/ImportSaveInProgress.js";
|
|
21
|
+
export { useImportConfig } from "../data_import/hooks/useImportConfig.js";
|
|
22
|
+
export { getInferenceType } from "../data_import/utils/get_import_inference_type.js";
|
|
23
|
+
export { convertDataToEntity } from "../data_import/utils/data.js";
|
|
24
|
+
export type { ImportConfig } from "../data_import/types/index.js";
|
|
25
|
+
export { DataNewPropertiesMapping } from "../data_import/components/DataNewPropertiesMapping.js";
|
|
26
|
+
export { ImportNewPropertyFieldPreview } from "../data_import/components/ImportNewPropertyFieldPreview.js";
|
|
27
|
+
export { getFieldConfig, getFieldId, getDefaultFieldConfig, getDefaultFieldId, DEFAULT_FIELD_CONFIGS } from "../components/field_configs.js";
|
|
28
|
+
export { getPropertyInPath, getResolvedPropertyInPath, getDefaultPropertiesOrder, getPropertiesWithPropertiesOrder } from "../util/property_utils.js";
|
|
29
|
+
export { resolveEntityAction, resolveEntityView } from "../util/resolutions.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./generateCollectionApi";
|
|
1
|
+
export * from "./generateCollectionApi.js";
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
* @module
|
|
12
12
|
*/
|
|
13
13
|
import type React from "react";
|
|
14
|
-
import type { SerializableProperty, SerializableCollectionConfig } from "./serializable_types";
|
|
14
|
+
import type { SerializableProperty, SerializableCollectionConfig } from "./serializable_types.js";
|
|
15
15
|
/**
|
|
16
16
|
* The base property data types supported by Rebase.
|
|
17
17
|
* Derived from the `type` discriminant on `SerializableProperty`.
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
export { useCollectionEditorController } from "./useCollectionEditorController";
|
|
2
|
-
export { useCollectionsConfigController } from "./useCollectionsConfigController";
|
|
3
|
-
export { useLocalCollectionsConfigController } from "./useLocalCollectionsConfigController";
|
|
4
|
-
export { useJsonCollectionsConfigController, type UseJsonCollectionsConfigControllerOptions, } from "./useJsonCollectionsConfigController";
|
|
5
|
-
export { toSerializableCollectionConfig, toSerializableProperty, toSerializableProperties, fromSerializableCollectionConfig, fromSerializableCollectionConfigs, fromSerializableProperty, fromSerializableProperties, } from "./serializable_utils";
|
|
6
|
-
export type { SerializableCollectionConfig, SerializableProperty, SerializableProperties, SerializableBaseProperty, SerializableStringProperty, SerializableNumberProperty, SerializableBooleanProperty, SerializableDateProperty, SerializableGeopointProperty, SerializableReferenceProperty, SerializableRelationProperty, SerializableArrayProperty, SerializableMapProperty, SerializableVectorProperty, SerializableBinaryProperty, SerializableStorageConfig, SerializableStringValidation, SerializableDateValidation, JsonCollectionStore, } from "./serializable_types";
|
|
7
|
-
export type { PropertyTypePreset, PropertyType, CollectionEditorTab, CollectionEditorExtensionProps, ExtraPropertyFieldsParams, ExtraCollectionFieldsParams, } from "./extensibility_types";
|
|
8
|
-
export { validateCollectionJson, type CollectionValidationError, type CollectionValidationResult } from "./validateCollectionJson";
|
|
9
|
-
export type { CollectionsConfigController, DeleteCollectionParams, SaveCollectionParams, UpdateCollectionParams, CollectionsSetupInfo, UpdatePropertiesOrderParams, UpdateKanbanColumnsOrderParams } from "./types/config_controller";
|
|
10
|
-
export type { CollectionEditorController } from "./types/collection_editor_controller";
|
|
11
|
-
export type { CollectionInference } from "./types/collection_inference";
|
|
12
|
-
export { buildCollectionGenerationCallback, CollectionGenerationApiError, DEFAULT_COLLECTION_GENERATION_ENDPOINT } from "./api/generateCollectionApi";
|
|
13
|
-
export type { CollectionGenerationCallback, GenerateCollectionRequest, GenerateCollectionResult, CollectionOperation, CollectionOperationType, BuildCollectionGenerationCallbackProps } from "./api/generateCollectionApi";
|
|
14
|
-
export { MissingReferenceWidget } from "./ui/MissingReferenceWidget";
|
|
15
|
-
export * from "./ui/collection_editor/util";
|
|
16
|
-
export type { CollectionEditorDialogProps } from "./ui/collection_editor/CollectionEditorDialog";
|
|
17
|
-
export type { CollectionStudioViewProps } from "./ui/collection_editor/CollectionStudioView";
|
|
18
|
-
export type { CollectionsStudioViewProps } from "./ui/collection_editor/CollectionsStudioView";
|
|
19
|
-
export type { RouterCollectionStudioViewProps } from "./ui/collection_editor/RouterCollectionStudioView";
|
|
20
|
-
export type { RouterCollectionsStudioViewProps } from "./ui/collection_editor/RouterCollectionsStudioView";
|
|
21
|
-
export type { PropertyFormProps, OnPropertyChangedParams } from "./ui/collection_editor/PropertyEditView";
|
|
1
|
+
export { useCollectionEditorController } from "./useCollectionEditorController.js";
|
|
2
|
+
export { useCollectionsConfigController } from "./useCollectionsConfigController.js";
|
|
3
|
+
export { useLocalCollectionsConfigController } from "./useLocalCollectionsConfigController.js";
|
|
4
|
+
export { useJsonCollectionsConfigController, type UseJsonCollectionsConfigControllerOptions, } from "./useJsonCollectionsConfigController.js";
|
|
5
|
+
export { toSerializableCollectionConfig, toSerializableProperty, toSerializableProperties, fromSerializableCollectionConfig, fromSerializableCollectionConfigs, fromSerializableProperty, fromSerializableProperties, } from "./serializable_utils.js";
|
|
6
|
+
export type { SerializableCollectionConfig, SerializableProperty, SerializableProperties, SerializableBaseProperty, SerializableStringProperty, SerializableNumberProperty, SerializableBooleanProperty, SerializableDateProperty, SerializableGeopointProperty, SerializableReferenceProperty, SerializableRelationProperty, SerializableArrayProperty, SerializableMapProperty, SerializableVectorProperty, SerializableBinaryProperty, SerializableStorageConfig, SerializableStringValidation, SerializableDateValidation, JsonCollectionStore, } from "./serializable_types.js";
|
|
7
|
+
export type { PropertyTypePreset, PropertyType, CollectionEditorTab, CollectionEditorExtensionProps, ExtraPropertyFieldsParams, ExtraCollectionFieldsParams, } from "./extensibility_types.js";
|
|
8
|
+
export { validateCollectionJson, type CollectionValidationError, type CollectionValidationResult } from "./validateCollectionJson.js";
|
|
9
|
+
export type { CollectionsConfigController, DeleteCollectionParams, SaveCollectionParams, UpdateCollectionParams, CollectionsSetupInfo, UpdatePropertiesOrderParams, UpdateKanbanColumnsOrderParams } from "./types/config_controller.js";
|
|
10
|
+
export type { CollectionEditorController } from "./types/collection_editor_controller.js";
|
|
11
|
+
export type { CollectionInference } from "./types/collection_inference.js";
|
|
12
|
+
export { buildCollectionGenerationCallback, CollectionGenerationApiError, DEFAULT_COLLECTION_GENERATION_ENDPOINT } from "./api/generateCollectionApi.js";
|
|
13
|
+
export type { CollectionGenerationCallback, GenerateCollectionRequest, GenerateCollectionResult, CollectionOperation, CollectionOperationType, BuildCollectionGenerationCallbackProps } from "./api/generateCollectionApi.js";
|
|
14
|
+
export { MissingReferenceWidget } from "./ui/MissingReferenceWidget.js";
|
|
15
|
+
export * from "./ui/collection_editor/util.js";
|
|
16
|
+
export type { CollectionEditorDialogProps } from "./ui/collection_editor/CollectionEditorDialog.js";
|
|
17
|
+
export type { CollectionStudioViewProps } from "./ui/collection_editor/CollectionStudioView.js";
|
|
18
|
+
export type { CollectionsStudioViewProps } from "./ui/collection_editor/CollectionsStudioView.js";
|
|
19
|
+
export type { RouterCollectionStudioViewProps } from "./ui/collection_editor/RouterCollectionStudioView.js";
|
|
20
|
+
export type { RouterCollectionsStudioViewProps } from "./ui/collection_editor/RouterCollectionsStudioView.js";
|
|
21
|
+
export type { PropertyFormProps, OnPropertyChangedParams } from "./ui/collection_editor/PropertyEditView.js";
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
*/
|
|
10
10
|
import { type Properties, type Property } from "@rebasepro/types";
|
|
11
11
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
12
|
-
import type { SerializableCollectionConfig, SerializableProperties, SerializableProperty } from "./serializable_types";
|
|
12
|
+
import type { SerializableCollectionConfig, SerializableProperties, SerializableProperty } from "./serializable_types.js";
|
|
13
13
|
/**
|
|
14
14
|
* Resolves a collection slug to the collection it names.
|
|
15
15
|
*
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { CollectionGenerationCallback, CollectionOperation } from "../../api/generateCollectionApi";
|
|
2
|
+
import { CollectionGenerationCallback, CollectionOperation } from "../../api/generateCollectionApi.js";
|
|
3
3
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
4
4
|
export interface AICollectionGeneratorPopoverProps {
|
|
5
5
|
/**
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { CollectionOperation } from "../../api/generateCollectionApi";
|
|
2
|
+
import { CollectionOperation } from "../../api/generateCollectionApi.js";
|
|
3
3
|
export interface AIModifiedPathsContextType {
|
|
4
4
|
/** Set of paths that were modified by AI */
|
|
5
5
|
modifiedPaths: Set<string>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Entity, TableMetadata, User } from "@rebasepro/types";
|
|
3
3
|
import { AdminCollection } from "@rebasepro/admin-types";
|
|
4
|
-
import { CollectionsConfigController } from "../../types/config_controller";
|
|
5
|
-
import { CollectionInference } from "../../types/collection_inference";
|
|
6
|
-
import { CollectionGenerationCallback } from "../../api/generateCollectionApi";
|
|
7
|
-
import type { CollectionEditorExtensionProps } from "../../extensibility_types";
|
|
4
|
+
import { CollectionsConfigController } from "../../types/config_controller.js";
|
|
5
|
+
import { CollectionInference } from "../../types/collection_inference.js";
|
|
6
|
+
import { CollectionGenerationCallback } from "../../api/generateCollectionApi.js";
|
|
7
|
+
import type { CollectionEditorExtensionProps } from "../../extensibility_types.js";
|
|
8
8
|
export interface CollectionEditorDialogProps extends CollectionEditorExtensionProps {
|
|
9
9
|
open: boolean;
|
|
10
10
|
isNewCollection: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { CollectionGenerationCallback } from "../../api/generateCollectionApi";
|
|
2
|
+
import { CollectionGenerationCallback } from "../../api/generateCollectionApi.js";
|
|
3
3
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
4
4
|
export declare function CollectionEditorWelcomeView({ path, parentCollection, onContinue, existingCollectionPaths, generateCollection, onAnalyticsEvent, unmappedTables, onImportFromTable }: {
|
|
5
5
|
path: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { User } from "@rebasepro/types";
|
|
3
3
|
import { PropertyConfig, AdminCollection } from "@rebasepro/admin-types";
|
|
4
|
-
import type { PropertyTypePreset, PropertyType } from "../../extensibility_types";
|
|
5
|
-
import type { SerializableProperty, SerializableCollectionConfig } from "../../serializable_types";
|
|
4
|
+
import type { PropertyTypePreset, PropertyType } from "../../extensibility_types.js";
|
|
5
|
+
import type { SerializableProperty, SerializableCollectionConfig } from "../../serializable_types.js";
|
|
6
6
|
type CollectionEditorFormProps = {
|
|
7
7
|
showErrors: boolean;
|
|
8
8
|
isNewCollection: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { CollectionEditorDialogProps } from "./CollectionEditorDialog";
|
|
2
|
+
import { CollectionEditorDialogProps } from "./CollectionEditorDialog.js";
|
|
3
3
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
4
4
|
export type CollectionStudioViewProps = Omit<CollectionEditorDialogProps, "open" | "isNewCollection" | "editedCollectionId" | "handleClose" | "handleCancel"> & {
|
|
5
5
|
collectionId?: string | "new";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import { CollectionsConfigController } from "../../types/config_controller";
|
|
3
|
-
import type { CollectionEditorExtensionProps } from "../../extensibility_types";
|
|
2
|
+
import { CollectionsConfigController } from "../../types/config_controller.js";
|
|
3
|
+
import type { CollectionEditorExtensionProps } from "../../extensibility_types.js";
|
|
4
4
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
5
5
|
export interface CollectionsStudioViewProps extends CollectionEditorExtensionProps {
|
|
6
6
|
configController: CollectionsConfigController;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { ExtraCollectionFieldsParams } from "../../extensibility_types";
|
|
2
|
+
import type { ExtraCollectionFieldsParams } from "../../extensibility_types.js";
|
|
3
3
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
4
4
|
export declare function GeneralSettingsForm({ isNewCollection, existingPaths, existingIds, parentCollection, renderExtraCollectionFields, standalone, }: {
|
|
5
5
|
isNewCollection: boolean;
|
|
@@ -2,8 +2,8 @@ import React from "react";
|
|
|
2
2
|
import { FormexController } from "@rebasepro/forms";
|
|
3
3
|
import { Property } from "@rebasepro/types";
|
|
4
4
|
import { PropertyConfig, AdminCollection } from "@rebasepro/admin-types";
|
|
5
|
-
import type { PropertyTypePreset, PropertyType } from "../../extensibility_types";
|
|
6
|
-
import type { SerializableProperty, SerializableCollectionConfig } from "../../serializable_types";
|
|
5
|
+
import type { PropertyTypePreset, PropertyType } from "../../extensibility_types.js";
|
|
6
|
+
import type { SerializableProperty, SerializableCollectionConfig } from "../../serializable_types.js";
|
|
7
7
|
export type PropertyWithId = Property & {
|
|
8
8
|
id?: string;
|
|
9
9
|
conditions?: import("@rebasepro/types").PropertyConditions;
|
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
* (which has no react-router dependency).
|
|
11
11
|
*/
|
|
12
12
|
import React from "react";
|
|
13
|
-
import { CollectionStudioViewProps } from "./CollectionStudioView";
|
|
13
|
+
import { CollectionStudioViewProps } from "./CollectionStudioView.js";
|
|
14
14
|
export type RouterCollectionStudioViewProps = Omit<CollectionStudioViewProps, "onSave" | "onCancel">;
|
|
15
15
|
export declare function RouterCollectionStudioView(props: RouterCollectionStudioViewProps): React.JSX.Element;
|
|
@@ -9,6 +9,6 @@
|
|
|
9
9
|
* (which has no react-router dependency).
|
|
10
10
|
*/
|
|
11
11
|
import React from "react";
|
|
12
|
-
import { CollectionsStudioViewProps } from "./CollectionsStudioView";
|
|
12
|
+
import { CollectionsStudioViewProps } from "./CollectionsStudioView.js";
|
|
13
13
|
export type RouterCollectionsStudioViewProps = Omit<CollectionsStudioViewProps, "activeCollectionId" | "onActiveCollectionChange">;
|
|
14
14
|
export declare function RouterCollectionsStudioView(props: RouterCollectionsStudioViewProps): React.JSX.Element;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { User } from "@rebasepro/types";
|
|
3
3
|
import { AdminCollection } from "@rebasepro/admin-types";
|
|
4
|
-
import { CollectionsConfigController } from "../../types/config_controller";
|
|
5
|
-
import { CollectionInference } from "../../types/collection_inference";
|
|
4
|
+
import { CollectionsConfigController } from "../../types/config_controller.js";
|
|
5
|
+
import { CollectionInference } from "../../types/collection_inference.js";
|
|
6
6
|
export declare function SubcollectionsEditTab({ collection, parentCollection, configController, collectionInference, getUser, parentCollectionSlugs }: {
|
|
7
7
|
collection: AdminCollection;
|
|
8
8
|
parentCollection?: AdminCollection;
|
package/dist/collection_editor/ui/collection_editor/import/CollectionEditorImportDataPreview.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ImportConfig } from "../../../_cms_internals";
|
|
1
|
+
import { ImportConfig } from "../../../_cms_internals.js";
|
|
2
2
|
import { Properties } from "@rebasepro/types";
|
|
3
3
|
export declare function CollectionEditorImportDataPreview({ importConfig, properties, propertiesOrder }: {
|
|
4
4
|
importConfig: ImportConfig;
|
package/dist/collection_editor/ui/collection_editor/import/CollectionEditorImportMapping.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ImportConfig } from "../../../../data_import/types";
|
|
1
|
+
import { ImportConfig } from "../../../../data_import/types/index.js";
|
|
2
2
|
import { PropertyConfig } from "@rebasepro/admin-types";
|
|
3
3
|
import React from "react";
|
|
4
4
|
export declare function CollectionEditorImportMapping({ importConfig, propertyConfigs }: {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Properties } from "@rebasepro/types";
|
|
2
|
-
import { ImportConfig } from "../../../_cms_internals";
|
|
2
|
+
import { ImportConfig } from "../../../_cms_internals.js";
|
|
3
3
|
export declare function cleanPropertiesFromImport(properties: Properties, parentSlug?: string): {
|
|
4
4
|
headersMapping: ImportConfig["headersMapping"];
|
|
5
5
|
properties: Properties;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { ConditionsPanel } from "./ConditionsPanel";
|
|
2
|
-
export { ConditionsEditor } from "./ConditionsEditor";
|
|
3
|
-
export type { ConditionsEditorProps } from "./ConditionsEditor";
|
|
4
|
-
export { EnumConditionsEditor } from "./EnumConditionsEditor";
|
|
5
|
-
export type { EnumConditionsEditorProps } from "./EnumConditionsEditor";
|
|
6
|
-
export { getPropertyPaths, getGroupedPropertyPaths } from "./property_paths";
|
|
1
|
+
export { ConditionsPanel } from "./ConditionsPanel.js";
|
|
2
|
+
export { ConditionsEditor } from "./ConditionsEditor.js";
|
|
3
|
+
export type { ConditionsEditorProps } from "./ConditionsEditor.js";
|
|
4
|
+
export { EnumConditionsEditor } from "./EnumConditionsEditor.js";
|
|
5
|
+
export type { EnumConditionsEditorProps } from "./EnumConditionsEditor.js";
|
|
6
|
+
export { getPropertyPaths, getGroupedPropertyPaths } from "./property_paths.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CollectionEditorController } from "./types/collection_editor_controller";
|
|
1
|
+
import { CollectionEditorController } from "./types/collection_editor_controller.js";
|
|
2
2
|
/**
|
|
3
3
|
* Hook to access the collection editor controller.
|
|
4
4
|
* The methods in this controller can be used to open the collection editor dialog.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CollectionsConfigController } from "./types/config_controller";
|
|
1
|
+
import { CollectionsConfigController } from "./types/config_controller.js";
|
|
2
2
|
/**
|
|
3
3
|
* Use this hook to access the configuration controller.
|
|
4
4
|
* You can use it to get the list of collections, and to save/delete collections.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import type { CollectionsConfigController } from "./types/config_controller";
|
|
2
|
-
import type { JsonCollectionStore } from "./serializable_types";
|
|
1
|
+
import type { CollectionsConfigController } from "./types/config_controller.js";
|
|
2
|
+
import type { JsonCollectionStore } from "./serializable_types.js";
|
|
3
3
|
export interface UseJsonCollectionsConfigControllerOptions {
|
|
4
4
|
/**
|
|
5
5
|
* The store adapter for persisting/loading collections.
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CollectionsConfigController } from "./types/config_controller";
|
|
1
|
+
import { CollectionsConfigController } from "./types/config_controller.js";
|
|
2
2
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
3
3
|
export declare function useLocalCollectionsConfigController(clientOrUrl: any, baseCollections?: AdminCollection[], options?: {
|
|
4
4
|
readOnly?: boolean;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
export { CollectionEditorDialog } from "./collection_editor/ui/collection_editor/CollectionEditorDialog";
|
|
2
|
-
export type { CollectionEditorDialogProps } from "./collection_editor/ui/collection_editor/CollectionEditorDialog";
|
|
3
|
-
export { PropertyFormDialog, PropertyForm } from "./collection_editor/ui/collection_editor/PropertyEditView";
|
|
4
|
-
export type { PropertyFormProps, OnPropertyChangedParams } from "./collection_editor/ui/collection_editor/PropertyEditView";
|
|
5
|
-
export { CollectionStudioView } from "./collection_editor/ui/collection_editor/CollectionStudioView";
|
|
6
|
-
export type { CollectionStudioViewProps } from "./collection_editor/ui/collection_editor/CollectionStudioView";
|
|
7
|
-
export { CollectionsStudioView } from "./collection_editor/ui/collection_editor/CollectionsStudioView";
|
|
8
|
-
export type { CollectionsStudioViewProps } from "./collection_editor/ui/collection_editor/CollectionsStudioView";
|
|
9
|
-
export { RouterCollectionStudioView } from "./collection_editor/ui/collection_editor/RouterCollectionStudioView";
|
|
10
|
-
export type { RouterCollectionStudioViewProps } from "./collection_editor/ui/collection_editor/RouterCollectionStudioView";
|
|
11
|
-
export { RouterCollectionsStudioView } from "./collection_editor/ui/collection_editor/RouterCollectionsStudioView";
|
|
12
|
-
export type { RouterCollectionsStudioViewProps } from "./collection_editor/ui/collection_editor/RouterCollectionsStudioView";
|
|
1
|
+
export { CollectionEditorDialog } from "./collection_editor/ui/collection_editor/CollectionEditorDialog.js";
|
|
2
|
+
export type { CollectionEditorDialogProps } from "./collection_editor/ui/collection_editor/CollectionEditorDialog.js";
|
|
3
|
+
export { PropertyFormDialog, PropertyForm } from "./collection_editor/ui/collection_editor/PropertyEditView.js";
|
|
4
|
+
export type { PropertyFormProps, OnPropertyChangedParams } from "./collection_editor/ui/collection_editor/PropertyEditView.js";
|
|
5
|
+
export { CollectionStudioView } from "./collection_editor/ui/collection_editor/CollectionStudioView.js";
|
|
6
|
+
export type { CollectionStudioViewProps } from "./collection_editor/ui/collection_editor/CollectionStudioView.js";
|
|
7
|
+
export { CollectionsStudioView } from "./collection_editor/ui/collection_editor/CollectionsStudioView.js";
|
|
8
|
+
export type { CollectionsStudioViewProps } from "./collection_editor/ui/collection_editor/CollectionsStudioView.js";
|
|
9
|
+
export { RouterCollectionStudioView } from "./collection_editor/ui/collection_editor/RouterCollectionStudioView.js";
|
|
10
|
+
export type { RouterCollectionStudioViewProps } from "./collection_editor/ui/collection_editor/RouterCollectionStudioView.js";
|
|
11
|
+
export { RouterCollectionsStudioView } from "./collection_editor/ui/collection_editor/RouterCollectionsStudioView.js";
|
|
12
|
+
export type { RouterCollectionsStudioViewProps } from "./collection_editor/ui/collection_editor/RouterCollectionsStudioView.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { User } from "@rebasepro/types";
|
|
3
|
-
import { CollectionTableBindingProps } from "./CollectionTableBindingProps";
|
|
3
|
+
import { CollectionTableBindingProps } from "./CollectionTableBindingProps.js";
|
|
4
4
|
/**
|
|
5
5
|
* This component is in charge of rendering a collection table with a high
|
|
6
6
|
* degree of customization.
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Property } from "@rebasepro/types";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Entity } from "@rebasepro/types";
|
|
4
|
-
import { CustomFieldValidator } from "../../form/validation";
|
|
4
|
+
import { CustomFieldValidator } from "../../form/validation.js";
|
|
5
5
|
export interface PropertyTableCellProps<T> {
|
|
6
6
|
propertyKey: string;
|
|
7
7
|
columnIndex: number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { ArrayProperty, StringProperty } from "@rebasepro/types";
|
|
2
2
|
import * as React from "react";
|
|
3
3
|
import { Entity } from "@rebasepro/types";
|
|
4
|
-
import { PreviewSize } from "../../../types";
|
|
4
|
+
import { PreviewSize } from "../../../types/index.js";
|
|
5
5
|
/**
|
|
6
6
|
* Field that allows to upload files to Google Cloud Storage.
|
|
7
7
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { CollectionTableBinding } from "./CollectionTableBinding";
|
|
2
|
-
export type { CollectionTableBindingProps } from "./CollectionTableBindingProps";
|
|
3
|
-
export * from "./PropertyTableCell";
|
|
4
|
-
export * from "./CollectionRowActions";
|
|
5
|
-
export * from "./column_utils";
|
|
1
|
+
export { CollectionTableBinding } from "./CollectionTableBinding.js";
|
|
2
|
+
export type { CollectionTableBindingProps } from "./CollectionTableBindingProps.js";
|
|
3
|
+
export * from "./PropertyTableCell.js";
|
|
4
|
+
export * from "./CollectionRowActions.js";
|
|
5
|
+
export * from "./column_utils.js";
|
|
6
6
|
export { VirtualTableInput } from "@rebasepro/ui";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Entity } from "@rebasepro/types";
|
|
3
|
-
import { CustomFieldValidator } from "../../../../form/validation";
|
|
3
|
+
import { CustomFieldValidator } from "../../../../form/validation.js";
|
|
4
4
|
import type { OnCellValueChangeParams } from "@rebasepro/app";
|
|
5
5
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
6
6
|
interface PopupFormFieldProps<M extends Record<string, unknown>> {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { PreviewSize } from "../../types/components/PropertyPreviewProps";
|
|
3
|
-
import type { PreviewSlot } from "./usePreviewSlots";
|
|
2
|
+
import type { PreviewSize } from "../../types/components/PropertyPreviewProps.js";
|
|
3
|
+
import type { PreviewSlot } from "./usePreviewSlots.js";
|
|
4
4
|
export interface SlotValueProps {
|
|
5
5
|
slot: PreviewSlot | undefined;
|
|
6
6
|
size: PreviewSize;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { RebaseData, Entity } from "@rebasepro/types";
|
|
2
2
|
import { RebaseContext, AnalyticsController, AdminCollection } from "@rebasepro/admin-types";
|
|
3
3
|
import { BoardItem } from "@rebasepro/ui";
|
|
4
|
-
import { BoardDataController } from "../useBoardDataController";
|
|
4
|
+
import { BoardDataController } from "../useBoardDataController.js";
|
|
5
5
|
/**
|
|
6
6
|
* The digits a board order key is built from: base36, lower case only.
|
|
7
7
|
*
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Entity, EntityStatus } from "@rebasepro/types";
|
|
4
|
-
import type { EntityFormBindingProps } from "../form";
|
|
5
|
-
import type { OnUpdateParams } from "../types/components/EntityFormProps";
|
|
6
|
-
import { MAIN_TAB_VALUE, JSON_TAB_VALUE, HISTORY_TAB_VALUE } from "../util/view_constants";
|
|
4
|
+
import type { EntityFormBindingProps } from "../form/index.js";
|
|
5
|
+
import type { OnUpdateParams } from "../types/components/EntityFormProps.js";
|
|
6
|
+
import { MAIN_TAB_VALUE, JSON_TAB_VALUE, HISTORY_TAB_VALUE } from "../util/view_constants.js";
|
|
7
7
|
export { MAIN_TAB_VALUE, JSON_TAB_VALUE, HISTORY_TAB_VALUE };
|
|
8
8
|
export type BarActionsParams = {
|
|
9
9
|
values: object;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
2
2
|
import type { Entity } from "@rebasepro/types";
|
|
3
|
-
import type { FormContext } from "../types/fields";
|
|
3
|
+
import type { FormContext } from "../types/fields.js";
|
|
4
4
|
import React from "react";
|
|
5
5
|
export type InspectorTab = "json" | "history";
|
|
6
6
|
export interface EntityInspectorProps {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { Entity } from "@rebasepro/types";
|
|
3
|
-
import type { PreviewSize } from "../types/components/PropertyPreviewProps";
|
|
3
|
+
import type { PreviewSize } from "../types/components/PropertyPreviewProps.js";
|
|
4
4
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
5
5
|
export type EntityPreviewBindingProps = {
|
|
6
6
|
size?: PreviewSize;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./ContentHomePage";
|
|
2
|
-
export * from "./NavigationGroup";
|
|
3
|
-
export * from "./NavigationCard";
|
|
4
|
-
export * from "./SmallNavigationCard";
|
|
1
|
+
export * from "./ContentHomePage.js";
|
|
2
|
+
export * from "./NavigationGroup.js";
|
|
3
|
+
export * from "./NavigationCard.js";
|
|
4
|
+
export * from "./SmallNavigationCard.js";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Properties } from "@rebasepro/types";
|
|
2
2
|
import type { Property } from "@rebasepro/types";
|
|
3
3
|
import React from "react";
|
|
4
|
-
import { PreviewSize } from "../types/components/PropertyPreviewProps";
|
|
4
|
+
import { PreviewSize } from "../types/components/PropertyPreviewProps.js";
|
|
5
5
|
/**
|
|
6
6
|
* Build a readable label for a path and resolve the property
|
|
7
7
|
* Supports map and array (including arrays of maps)
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { Entity, EntityReference, FilterValues } from "@rebasepro/types";
|
|
3
|
-
import type { PreviewSize } from "../types/components/PropertyPreviewProps";
|
|
3
|
+
import type { PreviewSize } from "../types/components/PropertyPreviewProps.js";
|
|
4
4
|
export type ReferenceWidgetProps<M extends Record<string, unknown>> = {
|
|
5
5
|
name?: string;
|
|
6
6
|
multiselect?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./CreationResultDialog";
|
|
1
|
+
export * from "./CreationResultDialog.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from "./Drawer";
|
|
2
|
-
export * from "./AppBar";
|
|
3
|
-
export * from "./Scaffold";
|
|
4
|
-
export * from "./useApp";
|
|
1
|
+
export * from "./Drawer.js";
|
|
2
|
+
export * from "./AppBar.js";
|
|
3
|
+
export * from "./Scaffold.js";
|
|
4
|
+
export * from "./useApp.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "./default_entity_actions";
|
|
1
|
+
export * from "./default_entity_actions.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import { PreviewSize } from "../../types/components/PropertyPreviewProps";
|
|
3
|
-
import { HistoryEntryData } from "../../hooks";
|
|
2
|
+
import { PreviewSize } from "../../types/components/PropertyPreviewProps.js";
|
|
3
|
+
import { HistoryEntryData } from "../../hooks/index.js";
|
|
4
4
|
import type { AdminCollection } from "@rebasepro/admin-types";
|
|
5
5
|
export type EntityHistoryEntryProps = {
|
|
6
6
|
size: PreviewSize;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
export { EntityHistoryView } from "./EntityHistoryView";
|
|
2
|
-
export { EntityHistoryEntry } from "./EntityHistoryEntry";
|
|
3
|
-
export { LastEditedByIndicator } from "./LastEditedByIndicator";
|
|
4
|
-
export { LastEditedByFormAction } from "./LastEditedByFormAction";
|
|
5
|
-
export { UserChip } from "./UserChip";
|
|
1
|
+
export { EntityHistoryView } from "./EntityHistoryView.js";
|
|
2
|
+
export { EntityHistoryEntry } from "./EntityHistoryEntry.js";
|
|
3
|
+
export { LastEditedByIndicator } from "./LastEditedByIndicator.js";
|
|
4
|
+
export { LastEditedByFormAction } from "./LastEditedByFormAction.js";
|
|
5
|
+
export { UserChip } from "./UserChip.js";
|