move over

This commit is contained in:
KS Jannette
2026-02-27 16:41:18 -05:00
parent 5f81a4b1cc
commit 35d1c13d0a
54 changed files with 312 additions and 5626 deletions

View File

@@ -1,8 +1,7 @@
// API client for address management
import { getAuthHeaders, getAuthHeadersSimple } from './authHeaders';
const API_BASE = '/api';
import { API_BASE } from './config';
/**
* Create a new blockchain address to monitor

View File

@@ -1,8 +1,7 @@
// API client for alert event history
import { getAuthHeadersSimple } from './authHeaders';
const API_BASE = '/api';
import { API_BASE } from './config';
/**
* Get all alert events (history)

View File

@@ -1,8 +1,7 @@
// API client for alert rule management
import { getAuthHeaders, getAuthHeadersSimple } from './authHeaders';
const API_BASE = '/api';
import { API_BASE } from './config';
/**
* Alert types supported by the system

View File

@@ -0,0 +1 @@
export const API_BASE = import.meta.env.VITE_API_BASE || '/v1';

View File

@@ -1,8 +1,7 @@
// API client for notification configuration
import { getAuthHeaders } from './authHeaders';
const API_BASE = '/api';
import { API_BASE } from './config';
/**
* Get notification configuration for current user

View File

@@ -1,6 +1,6 @@
// API client for system status
const API_BASE = '/api';
import { API_BASE } from './config';
/**
* Get system status including latest processed block and health