Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+21
@@ -0,0 +1,21 @@
|
||||
import { toIntegrationCatalogModel, type IntegrationCatalogData, type IntegrationCatalogModel } from "@hivegrid/view-models";
|
||||
import { renderIntegrationsCatalog } from "@hivegrid/ui-subframe";
|
||||
|
||||
import { defineAdapter } from "./defineAdapter.js";
|
||||
|
||||
/**
|
||||
* Normalizes the domain {@link IntegrationCatalogData} into the
|
||||
* {@link IntegrationCatalogModel} prop-model the UI implementation renders
|
||||
* (M015). Reuses the VM's pure `toIntegrationCatalogModel` mapper so the
|
||||
* Subframe / mock renderers stay dumb and swappable (M017 hot-swap drill).
|
||||
* Backs the integrations catalog main view (R-P5, D-P5 A6).
|
||||
*/
|
||||
export function toIntegrationsCatalogProps(vm: IntegrationCatalogData): IntegrationCatalogModel {
|
||||
return toIntegrationCatalogModel(vm);
|
||||
}
|
||||
|
||||
export const integrationsCatalogAdapter = defineAdapter({
|
||||
name: "integrationsCatalog",
|
||||
toProps: toIntegrationsCatalogProps,
|
||||
defaultRenderer: renderIntegrationsCatalog,
|
||||
});
|
||||
Reference in new issue
Block a user