mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-07 12:32:16 +00:00
feat: integrate vault provider management and environment variable resolution
- Added support for managing various vault providers (HashiCorp, AWS, Azure, Doppler, Infisical) in the dashboard. - Implemented environment variable resolution using vault references, allowing seamless integration of secrets into application environments. - Enhanced UI components to display and manage vault providers effectively. - Introduced tests for vault reference resolution and environment variable preparation. - Updated related components to utilize new vault management features.
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
declare global {
|
||||
interface Window {
|
||||
dataLayer?: Record<string, unknown>[];
|
||||
hsConversationsSettings?: {
|
||||
loadImmediately?: boolean;
|
||||
};
|
||||
hsConversationsOnReady?: (() => void)[];
|
||||
HubSpotConversations?: {
|
||||
widget: {
|
||||
load: () => void;
|
||||
remove: () => void;
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
export const GTM_ID = "GTM-PWBFB2V2";
|
||||
|
||||
export const pushToDataLayer = (
|
||||
event: string,
|
||||
data: Record<string, unknown> = {},
|
||||
) => {
|
||||
if (typeof window === "undefined") {
|
||||
return;
|
||||
}
|
||||
window.dataLayer = window.dataLayer || [];
|
||||
window.dataLayer.push({ event, ...data });
|
||||
};
|
||||
Reference in New Issue
Block a user