@platform-mesh/portal-ui-lib 0.63.2 → 0.64.0

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.
@@ -65,5 +65,17 @@ declare function omitEmptyWriteOnlyFields<T extends Record<string, unknown>>(res
65
65
 
66
66
  declare function setPropertyByPath<T extends Record<string, any>>(object: T, path: string, value: unknown): T;
67
67
 
68
- export { buildGraphQLInputTypeName, buildResourcePath, decodeBase64, deletePropertyByPath, encodeBase64, flattenFieldTree, generateGraphQLFields, generateGraphQLReadFields, getResourceValueByJsonPath, getValueByPath, isLocalSetup, isNamespacedResource, mergeListWithSubscriptionResult, omitEmptyWriteOnlyFields, parseRawGqlQueryToFields, permissionKey, resourceActionAllowed, setPropertyByPath, stripTypename };
68
+ /**
69
+ * Navigates to a path via Luigi Core by posting a `luigi.navigation.open` message directly,
70
+ * bypassing the public `LuigiCoreService.navigation().navigate()` API.
71
+ *
72
+ * This is intentional: the public API always calls `history.pushState`, with no way to
73
+ * request `replaceState` instead. Luigi's internal `preventHistoryEntry` flag is read by
74
+ * the Svelte shell and results in `history.replaceState`, but it is not exposed through
75
+ * `linkManager.navigate()`. Posting the message directly lets us set that flag until
76
+ * Luigi exposes it as a first-class option in its public navigation API.
77
+ */
78
+ declare function luigiNavigateTo(path: string, replaceHistory?: boolean): void;
79
+
80
+ export { buildGraphQLInputTypeName, buildResourcePath, decodeBase64, deletePropertyByPath, encodeBase64, flattenFieldTree, generateGraphQLFields, generateGraphQLReadFields, getResourceValueByJsonPath, getValueByPath, isLocalSetup, isNamespacedResource, luigiNavigateTo, mergeListWithSubscriptionResult, omitEmptyWriteOnlyFields, parseRawGqlQueryToFields, permissionKey, resourceActionAllowed, setPropertyByPath, stripTypename };
69
81
  export type { GenerateGraphQLFieldsOptions, MergeListWithSubscriptionResultOptions };