@wakastellar/ui 2.1.2 → 2.3.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.
Files changed (65) hide show
  1. package/dist/blocks/apm-overview/index.d.ts +58 -0
  2. package/dist/blocks/cicd-builder/index.d.ts +47 -0
  3. package/dist/blocks/cloud-cost-dashboard/index.d.ts +49 -0
  4. package/dist/blocks/container-orchestrator/index.d.ts +63 -0
  5. package/dist/blocks/database-admin/index.d.ts +84 -0
  6. package/dist/blocks/gitops-sync-status/index.d.ts +45 -0
  7. package/dist/blocks/incident-manager/index.d.ts +44 -0
  8. package/dist/blocks/index.d.ts +10 -0
  9. package/dist/blocks/infrastructure-map/index.d.ts +32 -0
  10. package/dist/blocks/on-call-schedule/index.d.ts +43 -0
  11. package/dist/blocks/release-notes/index.d.ts +49 -0
  12. package/dist/components/index.d.ts +19 -0
  13. package/dist/components/waka-alert-panel/index.d.ts +45 -0
  14. package/dist/components/waka-artifact-list/index.d.ts +32 -0
  15. package/dist/components/waka-build-matrix/index.d.ts +36 -0
  16. package/dist/components/waka-config-comparator/index.d.ts +37 -0
  17. package/dist/components/waka-container-list/index.d.ts +51 -0
  18. package/dist/components/waka-database-card/index.d.ts +46 -0
  19. package/dist/components/waka-dependency-tree/index.d.ts +38 -0
  20. package/dist/components/waka-env-var-editor/index.d.ts +30 -0
  21. package/dist/components/waka-feature-flag-row/index.d.ts +45 -0
  22. package/dist/components/waka-kubernetes-overview/index.d.ts +98 -0
  23. package/dist/components/waka-log-viewer/index.d.ts +38 -0
  24. package/dist/components/waka-migration-list/index.d.ts +36 -0
  25. package/dist/components/waka-pod-card/index.d.ts +73 -0
  26. package/dist/components/waka-query-explain/index.d.ts +48 -0
  27. package/dist/components/waka-secret-card/index.d.ts +43 -0
  28. package/dist/components/waka-security-scan-result/index.d.ts +45 -0
  29. package/dist/components/waka-service-graph/index.d.ts +44 -0
  30. package/dist/components/waka-test-report/index.d.ts +60 -0
  31. package/dist/components/waka-trace-viewer/index.d.ts +36 -0
  32. package/dist/index.cjs.js +239 -194
  33. package/dist/index.es.js +45560 -35791
  34. package/package.json +1 -1
  35. package/src/blocks/apm-overview/index.tsx +672 -0
  36. package/src/blocks/cicd-builder/index.tsx +738 -0
  37. package/src/blocks/cloud-cost-dashboard/index.tsx +597 -0
  38. package/src/blocks/container-orchestrator/index.tsx +729 -0
  39. package/src/blocks/database-admin/index.tsx +679 -0
  40. package/src/blocks/gitops-sync-status/index.tsx +557 -0
  41. package/src/blocks/incident-manager/index.tsx +586 -0
  42. package/src/blocks/index.ts +119 -0
  43. package/src/blocks/infrastructure-map/index.tsx +638 -0
  44. package/src/blocks/on-call-schedule/index.tsx +615 -0
  45. package/src/blocks/release-notes/index.tsx +643 -0
  46. package/src/components/index.ts +189 -0
  47. package/src/components/waka-alert-panel/index.tsx +493 -0
  48. package/src/components/waka-artifact-list/index.tsx +416 -0
  49. package/src/components/waka-build-matrix/index.tsx +396 -0
  50. package/src/components/waka-config-comparator/index.tsx +416 -0
  51. package/src/components/waka-container-list/index.tsx +475 -0
  52. package/src/components/waka-database-card/index.tsx +473 -0
  53. package/src/components/waka-dependency-tree/index.tsx +542 -0
  54. package/src/components/waka-env-var-editor/index.tsx +417 -0
  55. package/src/components/waka-feature-flag-row/index.tsx +386 -0
  56. package/src/components/waka-kubernetes-overview/index.tsx +536 -0
  57. package/src/components/waka-log-viewer/index.tsx +386 -0
  58. package/src/components/waka-migration-list/index.tsx +487 -0
  59. package/src/components/waka-pod-card/index.tsx +528 -0
  60. package/src/components/waka-query-explain/index.tsx +657 -0
  61. package/src/components/waka-secret-card/index.tsx +371 -0
  62. package/src/components/waka-security-scan-result/index.tsx +473 -0
  63. package/src/components/waka-service-graph/index.tsx +445 -0
  64. package/src/components/waka-test-report/index.tsx +469 -0
  65. package/src/components/waka-trace-viewer/index.tsx +490 -0
@@ -0,0 +1,58 @@
1
+ export type ServiceStatus = "healthy" | "warning" | "critical" | "unknown";
2
+ export type TimeRange = "1h" | "6h" | "24h" | "7d" | "30d";
3
+ export interface ServiceMetrics {
4
+ requestsPerSecond: number;
5
+ avgResponseTime: number;
6
+ p50ResponseTime: number;
7
+ p95ResponseTime: number;
8
+ p99ResponseTime: number;
9
+ errorRate: number;
10
+ successRate: number;
11
+ activeConnections: number;
12
+ cpuUsage?: number;
13
+ memoryUsage?: number;
14
+ throughput?: number;
15
+ }
16
+ export interface ServiceEndpoint {
17
+ path: string;
18
+ method: "GET" | "POST" | "PUT" | "DELETE" | "PATCH";
19
+ requestsPerMinute: number;
20
+ avgResponseTime: number;
21
+ errorRate: number;
22
+ status: ServiceStatus;
23
+ }
24
+ export interface APMService {
25
+ id: string;
26
+ name: string;
27
+ type: "api" | "web" | "worker" | "database" | "cache" | "queue";
28
+ status: ServiceStatus;
29
+ metrics: ServiceMetrics;
30
+ previousMetrics?: ServiceMetrics;
31
+ endpoints?: ServiceEndpoint[];
32
+ instances?: number;
33
+ version?: string;
34
+ dependencies?: string[];
35
+ tags?: string[];
36
+ }
37
+ export interface APMTransaction {
38
+ id: string;
39
+ name: string;
40
+ service: string;
41
+ duration: number;
42
+ timestamp: Date;
43
+ status: "success" | "error";
44
+ traceId?: string;
45
+ }
46
+ export interface APMOverviewProps {
47
+ services: APMService[];
48
+ recentTransactions?: APMTransaction[];
49
+ timeRange?: TimeRange;
50
+ onTimeRangeChange?: (range: TimeRange) => void;
51
+ onServiceClick?: (service: APMService) => void;
52
+ onTransactionClick?: (transaction: APMTransaction) => void;
53
+ onRefresh?: () => void;
54
+ className?: string;
55
+ }
56
+ export declare function APMOverview({ services, recentTransactions, timeRange, onTimeRangeChange, onServiceClick, onTransactionClick, onRefresh, className, }: APMOverviewProps): import("react/jsx-runtime").JSX.Element;
57
+ export declare const defaultAPMServices: APMService[];
58
+ export declare const defaultAPMTransactions: APMTransaction[];
@@ -0,0 +1,47 @@
1
+ export type StepType = "build" | "test" | "deploy" | "script" | "docker" | "notify" | "approval" | "artifact" | "cache" | "parallel";
2
+ export type StepStatus = "pending" | "running" | "success" | "failed" | "skipped" | "waiting";
3
+ export interface PipelineStep {
4
+ id: string;
5
+ name: string;
6
+ type: StepType;
7
+ status?: StepStatus;
8
+ command?: string;
9
+ image?: string;
10
+ environment?: Record<string, string>;
11
+ artifacts?: string[];
12
+ dependsOn?: string[];
13
+ timeout?: number;
14
+ retries?: number;
15
+ condition?: string;
16
+ parallel?: PipelineStep[];
17
+ }
18
+ export interface PipelineStage {
19
+ id: string;
20
+ name: string;
21
+ steps: PipelineStep[];
22
+ status?: StepStatus;
23
+ runParallel?: boolean;
24
+ }
25
+ export interface Pipeline {
26
+ id: string;
27
+ name: string;
28
+ description?: string;
29
+ trigger?: {
30
+ branches?: string[];
31
+ events?: ("push" | "pull_request" | "tag" | "schedule")[];
32
+ schedule?: string;
33
+ };
34
+ stages: PipelineStage[];
35
+ variables?: Record<string, string>;
36
+ }
37
+ export interface CICDBuilderProps {
38
+ pipeline: Pipeline;
39
+ onPipelineChange?: (pipeline: Pipeline) => void;
40
+ onRun?: () => void;
41
+ onSave?: () => void;
42
+ onExport?: (format: "yaml" | "json") => void;
43
+ readOnly?: boolean;
44
+ className?: string;
45
+ }
46
+ export declare function CICDBuilder({ pipeline: initialPipeline, onPipelineChange, onRun, onSave, onExport, readOnly, className, }: CICDBuilderProps): import("react/jsx-runtime").JSX.Element;
47
+ export declare const defaultPipeline: Pipeline;
@@ -0,0 +1,49 @@
1
+ export type CloudProvider = "aws" | "gcp" | "azure" | "all";
2
+ export type CostCategory = "compute" | "storage" | "database" | "network" | "security" | "other";
3
+ export type TimeRange = "day" | "week" | "month" | "quarter" | "year";
4
+ export interface CostItem {
5
+ id: string;
6
+ name: string;
7
+ category: CostCategory;
8
+ provider: CloudProvider;
9
+ cost: number;
10
+ previousCost?: number;
11
+ budget?: number;
12
+ usage?: number;
13
+ unit?: string;
14
+ trend?: number;
15
+ tags?: string[];
16
+ }
17
+ export interface CostSummary {
18
+ totalCost: number;
19
+ previousTotalCost?: number;
20
+ budget?: number;
21
+ forecast?: number;
22
+ byProvider: Record<CloudProvider, number>;
23
+ byCategory: Record<CostCategory, number>;
24
+ topServices: CostItem[];
25
+ }
26
+ export interface CostAnomaly {
27
+ id: string;
28
+ service: string;
29
+ expectedCost: number;
30
+ actualCost: number;
31
+ deviation: number;
32
+ timestamp: Date;
33
+ status: "new" | "acknowledged" | "resolved";
34
+ }
35
+ export interface CloudCostDashboardProps {
36
+ summary: CostSummary;
37
+ items: CostItem[];
38
+ anomalies?: CostAnomaly[];
39
+ timeRange?: TimeRange;
40
+ onTimeRangeChange?: (range: TimeRange) => void;
41
+ onProviderFilter?: (provider: CloudProvider) => void;
42
+ onExport?: () => void;
43
+ onRefresh?: () => void;
44
+ className?: string;
45
+ }
46
+ export declare function CloudCostDashboard({ summary, items, anomalies, timeRange, onTimeRangeChange, onProviderFilter, onExport, onRefresh, className, }: CloudCostDashboardProps): import("react/jsx-runtime").JSX.Element;
47
+ export declare const defaultCloudCostSummary: CostSummary;
48
+ export declare const defaultCloudCostItems: CostItem[];
49
+ export declare const defaultCostAnomalies: CostAnomaly[];
@@ -0,0 +1,63 @@
1
+ export type ContainerStatus = "running" | "stopped" | "paused" | "restarting" | "creating" | "removing" | "exited" | "dead";
2
+ export type ServiceStatus = "running" | "updating" | "scaled" | "failed" | "pending";
3
+ export interface ContainerResource {
4
+ cpu: number;
5
+ memory: number;
6
+ memoryLimit: number;
7
+ networkRx: number;
8
+ networkTx: number;
9
+ }
10
+ export interface OrchestratorContainer {
11
+ id: string;
12
+ name: string;
13
+ image: string;
14
+ status: ContainerStatus;
15
+ createdAt: Date;
16
+ startedAt?: Date;
17
+ ports?: {
18
+ host: number;
19
+ container: number;
20
+ protocol: "tcp" | "udp";
21
+ }[];
22
+ resources: ContainerResource;
23
+ healthCheck?: "healthy" | "unhealthy" | "starting" | "none";
24
+ restartCount?: number;
25
+ node?: string;
26
+ }
27
+ export interface OrchestratorService {
28
+ id: string;
29
+ name: string;
30
+ image: string;
31
+ status: ServiceStatus;
32
+ replicas: {
33
+ desired: number;
34
+ running: number;
35
+ ready: number;
36
+ };
37
+ containers: OrchestratorContainer[];
38
+ updateStatus?: {
39
+ state: "updating" | "completed" | "paused" | "rollback";
40
+ progress: number;
41
+ message?: string;
42
+ };
43
+ ports?: {
44
+ published: number;
45
+ target: number;
46
+ }[];
47
+ labels?: Record<string, string>;
48
+ createdAt: Date;
49
+ updatedAt: Date;
50
+ }
51
+ export interface ContainerOrchestratorProps {
52
+ services: OrchestratorService[];
53
+ onScaleService?: (service: OrchestratorService, replicas: number) => void;
54
+ onRestartService?: (service: OrchestratorService) => void;
55
+ onStopService?: (service: OrchestratorService) => void;
56
+ onDeleteService?: (service: OrchestratorService) => void;
57
+ onViewLogs?: (container: OrchestratorContainer) => void;
58
+ onExecShell?: (container: OrchestratorContainer) => void;
59
+ onRefresh?: () => void;
60
+ className?: string;
61
+ }
62
+ export declare function ContainerOrchestrator({ services, onScaleService, onRestartService, onStopService, onDeleteService, onViewLogs, onExecShell, onRefresh, className, }: ContainerOrchestratorProps): import("react/jsx-runtime").JSX.Element;
63
+ export declare const defaultOrchestratorServices: OrchestratorService[];
@@ -0,0 +1,84 @@
1
+ export type DatabaseStatus = "healthy" | "warning" | "critical" | "offline";
2
+ export type BackupStatus = "completed" | "running" | "failed" | "scheduled";
3
+ export type QueryStatus = "success" | "error" | "running";
4
+ export interface DatabaseConnection {
5
+ id: string;
6
+ user: string;
7
+ database: string;
8
+ state: "active" | "idle" | "idle_in_transaction" | "waiting";
9
+ query?: string;
10
+ duration: number;
11
+ client: string;
12
+ }
13
+ export interface DatabaseBackup {
14
+ id: string;
15
+ name: string;
16
+ type: "full" | "incremental" | "point_in_time";
17
+ status: BackupStatus;
18
+ size?: number;
19
+ startedAt: Date;
20
+ completedAt?: Date;
21
+ duration?: number;
22
+ }
23
+ export interface SlowQuery {
24
+ id: string;
25
+ query: string;
26
+ calls: number;
27
+ totalTime: number;
28
+ meanTime: number;
29
+ maxTime: number;
30
+ rows: number;
31
+ }
32
+ export interface DatabaseMetrics {
33
+ connections: {
34
+ active: number;
35
+ idle: number;
36
+ max: number;
37
+ };
38
+ transactions: {
39
+ committed: number;
40
+ rolledBack: number;
41
+ perSecond: number;
42
+ };
43
+ cache: {
44
+ hitRatio: number;
45
+ bufferHit: number;
46
+ diskRead: number;
47
+ };
48
+ storage: {
49
+ used: number;
50
+ total: number;
51
+ tablespace: number;
52
+ indexes: number;
53
+ };
54
+ replication?: {
55
+ lag: number;
56
+ state: "streaming" | "catchup" | "disconnected";
57
+ replicas: number;
58
+ };
59
+ }
60
+ export interface DatabaseInstance {
61
+ id: string;
62
+ name: string;
63
+ type: "postgresql" | "mysql" | "mongodb" | "redis";
64
+ version: string;
65
+ host: string;
66
+ port: number;
67
+ status: DatabaseStatus;
68
+ role: "primary" | "replica" | "standalone";
69
+ metrics: DatabaseMetrics;
70
+ connections: DatabaseConnection[];
71
+ backups: DatabaseBackup[];
72
+ slowQueries: SlowQuery[];
73
+ }
74
+ export interface DatabaseAdminProps {
75
+ instance: DatabaseInstance;
76
+ onExecuteQuery?: (query: string) => void;
77
+ onCreateBackup?: () => void;
78
+ onRestoreBackup?: (backup: DatabaseBackup) => void;
79
+ onKillConnection?: (connection: DatabaseConnection) => void;
80
+ onRefresh?: () => void;
81
+ className?: string;
82
+ }
83
+ export declare function DatabaseAdmin({ instance, onExecuteQuery, onCreateBackup, onRestoreBackup, onKillConnection, onRefresh, className, }: DatabaseAdminProps): import("react/jsx-runtime").JSX.Element;
84
+ export declare const defaultDatabaseInstance: DatabaseInstance;
@@ -0,0 +1,45 @@
1
+ export type SyncStatus = "synced" | "out_of_sync" | "syncing" | "failed" | "unknown" | "suspended";
2
+ export type HealthStatus = "healthy" | "degraded" | "progressing" | "missing" | "unknown";
3
+ export type ResourceKind = "Deployment" | "Service" | "ConfigMap" | "Secret" | "Ingress" | "PersistentVolumeClaim" | "CronJob" | "Job" | "StatefulSet" | "DaemonSet";
4
+ export interface GitOpsResource {
5
+ kind: ResourceKind;
6
+ name: string;
7
+ namespace: string;
8
+ syncStatus: SyncStatus;
9
+ healthStatus: HealthStatus;
10
+ message?: string;
11
+ version?: string;
12
+ }
13
+ export interface GitOpsApplication {
14
+ id: string;
15
+ name: string;
16
+ project: string;
17
+ repo: {
18
+ url: string;
19
+ branch: string;
20
+ path: string;
21
+ };
22
+ destination: {
23
+ server: string;
24
+ namespace: string;
25
+ };
26
+ syncStatus: SyncStatus;
27
+ healthStatus: HealthStatus;
28
+ lastSyncedAt?: Date;
29
+ lastSyncedRevision?: string;
30
+ targetRevision?: string;
31
+ resources: GitOpsResource[];
32
+ message?: string;
33
+ autoSync?: boolean;
34
+ }
35
+ export interface GitOpsSyncStatusProps {
36
+ applications: GitOpsApplication[];
37
+ onSync?: (app: GitOpsApplication) => void;
38
+ onRefresh?: () => void;
39
+ onSuspend?: (app: GitOpsApplication) => void;
40
+ onResume?: (app: GitOpsApplication) => void;
41
+ onViewDetails?: (app: GitOpsApplication) => void;
42
+ className?: string;
43
+ }
44
+ export declare function GitOpsSyncStatus({ applications, onSync, onRefresh, onSuspend, onResume, onViewDetails, className, }: GitOpsSyncStatusProps): import("react/jsx-runtime").JSX.Element;
45
+ export declare const defaultGitOpsApplications: GitOpsApplication[];
@@ -0,0 +1,44 @@
1
+ export type IncidentSeverity = "critical" | "high" | "medium" | "low";
2
+ export type IncidentStatus = "triggered" | "acknowledged" | "investigating" | "identified" | "resolved" | "closed";
3
+ export interface IncidentResponder {
4
+ id: string;
5
+ name: string;
6
+ avatar?: string;
7
+ role: string;
8
+ status: "available" | "engaged" | "offline";
9
+ }
10
+ export interface IncidentEvent {
11
+ id: string;
12
+ type: "status_change" | "comment" | "assignment" | "escalation" | "runbook";
13
+ timestamp: Date;
14
+ user?: string;
15
+ content: string;
16
+ }
17
+ export interface Incident {
18
+ id: string;
19
+ title: string;
20
+ description?: string;
21
+ severity: IncidentSeverity;
22
+ status: IncidentStatus;
23
+ service?: string;
24
+ createdAt: Date;
25
+ acknowledgedAt?: Date;
26
+ resolvedAt?: Date;
27
+ responders: IncidentResponder[];
28
+ events: IncidentEvent[];
29
+ impact?: string;
30
+ affectedUsers?: number;
31
+ slackChannel?: string;
32
+ runbookUrl?: string;
33
+ }
34
+ export interface IncidentManagerProps {
35
+ incidents: Incident[];
36
+ onCreateIncident?: () => void;
37
+ onAcknowledge?: (incident: Incident) => void;
38
+ onResolve?: (incident: Incident) => void;
39
+ onEscalate?: (incident: Incident) => void;
40
+ onAssign?: (incident: Incident, responder: IncidentResponder) => void;
41
+ className?: string;
42
+ }
43
+ export declare function IncidentManager({ incidents, onCreateIncident, onAcknowledge, onResolve, onEscalate, onAssign, className, }: IncidentManagerProps): import("react/jsx-runtime").JSX.Element;
44
+ export declare const defaultIncidents: Incident[];
@@ -37,3 +37,13 @@ export * from './auth-2fa';
37
37
  export { ChatInterface, defaultUsers as defaultChatInterfaceUsers, defaultConversations as defaultChatInterfaceConversations, defaultMessages as defaultChatInterfaceMessages, } from './chat-interface';
38
38
  export type { ChatInterfaceProps, ChatUser as ChatInterfaceUser, ChatMessage as ChatInterfaceMessage, ChatConversation as ChatInterfaceConversation, ChatAttachment as ChatInterfaceAttachment, ChatReaction as ChatInterfaceReaction, } from './chat-interface';
39
39
  export * from './deployment-dashboard';
40
+ export { IncidentManager, defaultIncidents, type Incident, type IncidentSeverity, type IncidentStatus, type IncidentResponder, type IncidentEvent, type IncidentManagerProps, } from './incident-manager';
41
+ export { InfrastructureMap, defaultInfraResources, type InfraResource, type ResourceType as InfraResourceType, type ResourceStatus as InfraResourceStatus, type CloudProvider as InfraCloudProvider, type InfrastructureMapProps, } from './infrastructure-map';
42
+ export { CICDBuilder, defaultPipeline, type Pipeline as CICDPipeline, type PipelineStage as CICDPipelineStage, type PipelineStep, type StepType, type StepStatus, type CICDBuilderProps, } from './cicd-builder';
43
+ export { ReleaseNotes, defaultReleases, type Release, type ReleaseType, type ReleaseStatus, type ChangeItem, type ChangeType, type Contributor, type ReleaseNotesProps, } from './release-notes';
44
+ export { OnCallScheduleBlock, defaultOnCallSchedule, type OnCallSchedule, type OnCallShift, type OnCallUser, type RotationType, type EscalationLevel, type OnCallScheduleBlockProps, } from './on-call-schedule';
45
+ export { CloudCostDashboard, defaultCloudCostSummary, defaultCloudCostItems, defaultCostAnomalies, type CostSummary, type CostItem, type CostAnomaly, type CostCategory, type CloudProvider as CostCloudProvider, type TimeRange as CostTimeRange, type CloudCostDashboardProps, } from './cloud-cost-dashboard';
46
+ export { GitOpsSyncStatus, defaultGitOpsApplications, type GitOpsApplication, type GitOpsResource, type SyncStatus, type HealthStatus as GitOpsHealthStatus, type ResourceKind, type GitOpsSyncStatusProps, } from './gitops-sync-status';
47
+ export { APMOverview, defaultAPMServices, defaultAPMTransactions, type APMService, type APMTransaction, type ServiceMetrics as APMServiceMetrics, type ServiceEndpoint as APMServiceEndpoint, type ServiceStatus as APMServiceStatus, type TimeRange as APMTimeRange, type APMOverviewProps, } from './apm-overview';
48
+ export { ContainerOrchestrator, defaultOrchestratorServices, type OrchestratorService, type OrchestratorContainer, type ContainerStatus as OrchestratorContainerStatus, type ServiceStatus as OrchestratorServiceStatus, type ContainerResource, type ContainerOrchestratorProps, } from './container-orchestrator';
49
+ export { DatabaseAdmin, defaultDatabaseInstance, type DatabaseInstance, type DatabaseConnection, type DatabaseBackup, type SlowQuery, type DatabaseMetrics as AdminDatabaseMetrics, type DatabaseStatus as AdminDatabaseStatus, type BackupStatus, type QueryStatus, type DatabaseAdminProps, } from './database-admin';
@@ -0,0 +1,32 @@
1
+ export type ResourceType = "region" | "vpc" | "subnet" | "server" | "database" | "loadbalancer" | "cache" | "storage" | "container" | "function" | "cdn" | "firewall";
2
+ export type ResourceStatus = "healthy" | "warning" | "critical" | "unknown" | "maintenance";
3
+ export type CloudProvider = "aws" | "gcp" | "azure" | "custom";
4
+ export interface InfraResource {
5
+ id: string;
6
+ name: string;
7
+ type: ResourceType;
8
+ status: ResourceStatus;
9
+ provider?: CloudProvider;
10
+ region?: string;
11
+ metadata?: Record<string, string | number>;
12
+ children?: InfraResource[];
13
+ connections?: string[];
14
+ metrics?: {
15
+ cpu?: number;
16
+ memory?: number;
17
+ network?: number;
18
+ requests?: number;
19
+ latency?: number;
20
+ errors?: number;
21
+ };
22
+ }
23
+ export interface InfrastructureMapProps {
24
+ resources: InfraResource[];
25
+ onResourceClick?: (resource: InfraResource) => void;
26
+ onRefresh?: () => void;
27
+ showConnections?: boolean;
28
+ viewMode?: "tree" | "grid" | "topology";
29
+ className?: string;
30
+ }
31
+ export declare function InfrastructureMap({ resources, onResourceClick, onRefresh, showConnections, viewMode: initialViewMode, className, }: InfrastructureMapProps): import("react/jsx-runtime").JSX.Element;
32
+ export declare const defaultInfraResources: InfraResource[];
@@ -0,0 +1,43 @@
1
+ export type RotationType = "daily" | "weekly" | "biweekly" | "monthly" | "custom";
2
+ export type EscalationLevel = 1 | 2 | 3;
3
+ export interface OnCallUser {
4
+ id: string;
5
+ name: string;
6
+ email: string;
7
+ phone?: string;
8
+ avatar?: string;
9
+ timezone?: string;
10
+ status?: "available" | "busy" | "dnd" | "offline";
11
+ }
12
+ export interface OnCallShift {
13
+ id: string;
14
+ user: OnCallUser;
15
+ startTime: Date;
16
+ endTime: Date;
17
+ level: EscalationLevel;
18
+ overrideReason?: string;
19
+ }
20
+ export interface OnCallSchedule {
21
+ id: string;
22
+ name: string;
23
+ description?: string;
24
+ team: string;
25
+ rotation: RotationType;
26
+ escalationPolicy: {
27
+ level1Timeout: number;
28
+ level2Timeout: number;
29
+ level3Timeout: number;
30
+ };
31
+ shifts: OnCallShift[];
32
+ users: OnCallUser[];
33
+ }
34
+ export interface OnCallScheduleBlockProps {
35
+ schedule: OnCallSchedule;
36
+ onEditSchedule?: () => void;
37
+ onAddOverride?: (date: Date) => void;
38
+ onSwapShift?: (shift: OnCallShift) => void;
39
+ onContactOnCall?: (user: OnCallUser) => void;
40
+ className?: string;
41
+ }
42
+ export declare function OnCallScheduleBlock({ schedule, onEditSchedule, onAddOverride, onSwapShift, onContactOnCall, className, }: OnCallScheduleBlockProps): import("react/jsx-runtime").JSX.Element;
43
+ export declare const defaultOnCallSchedule: OnCallSchedule;
@@ -0,0 +1,49 @@
1
+ export type ChangeType = "feature" | "fix" | "improvement" | "breaking" | "security" | "performance" | "docs" | "deprecation";
2
+ export type ReleaseType = "major" | "minor" | "patch" | "prerelease";
3
+ export type ReleaseStatus = "draft" | "published" | "scheduled";
4
+ export interface Contributor {
5
+ id: string;
6
+ name: string;
7
+ username: string;
8
+ avatar?: string;
9
+ }
10
+ export interface ChangeItem {
11
+ id: string;
12
+ type: ChangeType;
13
+ title: string;
14
+ description?: string;
15
+ pullRequest?: {
16
+ number: number;
17
+ url: string;
18
+ };
19
+ commits?: string[];
20
+ contributors?: Contributor[];
21
+ breaking?: boolean;
22
+ }
23
+ export interface Release {
24
+ id: string;
25
+ version: string;
26
+ name?: string;
27
+ releaseType: ReleaseType;
28
+ status: ReleaseStatus;
29
+ publishedAt?: Date;
30
+ scheduledAt?: Date;
31
+ createdAt: Date;
32
+ changes: ChangeItem[];
33
+ summary?: string;
34
+ upgradeNotes?: string;
35
+ contributors: Contributor[];
36
+ compareUrl?: string;
37
+ downloadUrl?: string;
38
+ }
39
+ export interface ReleaseNotesProps {
40
+ releases: Release[];
41
+ onCreateRelease?: () => void;
42
+ onEditRelease?: (release: Release) => void;
43
+ onPublishRelease?: (release: Release) => void;
44
+ onAddChange?: (releaseId: string, change: ChangeItem) => void;
45
+ showEditor?: boolean;
46
+ className?: string;
47
+ }
48
+ export declare function ReleaseNotes({ releases, onCreateRelease, onEditRelease, onPublishRelease, onAddChange, showEditor, className, }: ReleaseNotesProps): import("react/jsx-runtime").JSX.Element;
49
+ export declare const defaultReleases: Release[];
@@ -196,3 +196,22 @@ export { WakaEmptyState, WakaEmptyStateSearch, WakaEmptyStateError, useEmptyStat
196
196
  export * from './waka-feature-announcement';
197
197
  export * from './waka-progress-onboarding';
198
198
  export { WakaTooltipTour, useTooltipTour, type WakaTooltipTourProps, type TourStep as TooltipTourStep, type TooltipPlacement, type UseTooltipTourOptions, type UseTooltipTourReturn, } from './waka-tooltip-tour';
199
+ export { WakaLogViewer, defaultLogs, type LogEntry, type LogLevel as WakaLogLevel, type WakaLogViewerProps, } from './waka-log-viewer';
200
+ export { WakaTraceViewer, defaultTraceSpans, type TraceSpan, type SpanStatus, type WakaTraceViewerProps, } from './waka-trace-viewer';
201
+ export { WakaAlertPanel, defaultAlerts as defaultPanelAlerts, type Alert as WakaPanelAlert, type AlertSeverity as WakaPanelAlertSeverity, type AlertStatus as WakaPanelAlertStatus, type WakaAlertPanelProps, } from './waka-alert-panel';
202
+ export { WakaContainerList, defaultContainers, type Container, type ContainerStatus as WakaContainerStatus, type ContainerResource, type WakaContainerListProps, } from './waka-container-list';
203
+ export { WakaKubernetesOverview, defaultK8sNodes, defaultK8sPods, defaultK8sDeployments, defaultK8sServices, defaultK8sNamespaces, type K8sNode, type K8sPod, type K8sDeployment, type K8sService, type K8sNamespace, type NodeStatus as K8sNodeStatus, type PodPhase as K8sPodPhase, type DeploymentStatus as K8sDeploymentStatus, type WakaKubernetesOverviewProps, } from './waka-kubernetes-overview';
204
+ export { WakaPodCard, defaultPodDetails, type PodDetails, type PodContainer, type PodEvent, type PodPhase, type ContainerState, type WakaPodCardProps, } from './waka-pod-card';
205
+ export { WakaServiceGraph, defaultServices, defaultConnections, type ServiceNode, type ServiceConnection, type ServiceHealth, type ServiceType, type WakaServiceGraphProps, } from './waka-service-graph';
206
+ export { WakaBuildMatrix, defaultBuildMatrixColumns, defaultBuildMatrixRows, type BuildMatrixRow, type BuildCell, type BuildStatus as WakaBuildStatus, type WakaBuildMatrixProps, } from './waka-build-matrix';
207
+ export { WakaTestReport, defaultTestSuites, defaultCoverage, type TestSuite, type TestCase, type CoverageReport, type TestStatus, type WakaTestReportProps, } from './waka-test-report';
208
+ export { WakaArtifactList, defaultArtifacts, type Artifact, type WakaArtifactListProps, } from './waka-artifact-list';
209
+ export { WakaSecurityScanResult, defaultVulnerabilities, type Vulnerability, type VulnerabilitySeverity, type ScanType, type ScanSummary, type WakaSecurityScanResultProps, } from './waka-security-scan-result';
210
+ export { WakaDependencyTree, defaultDependencies, type Dependency, type DependencyType, type VulnSeverity as DependencyVulnSeverity, type WakaDependencyTreeProps, } from './waka-dependency-tree';
211
+ export { WakaEnvVarEditor, defaultEnvVariables, type EnvVariable, type WakaEnvVarEditorProps, } from './waka-env-var-editor';
212
+ export { WakaSecretCard, defaultSecret, type Secret, type SecretAccess, type WakaSecretCardProps, } from './waka-secret-card';
213
+ export { WakaConfigComparator, defaultConfigEnvironments, type ConfigEnvironment, type ConfigValue, type ConfigDiff, type DiffType, type WakaConfigComparatorProps, } from './waka-config-comparator';
214
+ export { WakaFeatureFlagRow, defaultFeatureFlags, type FeatureFlag, type FeatureFlagStatus, type FeatureFlagSegment, type WakaFeatureFlagRowProps, } from './waka-feature-flag-row';
215
+ export { WakaDatabaseCard, defaultDatabase, defaultDatabases, type DatabaseInfo, type DatabaseMetrics, type DatabaseType as WakaDatabaseType, type DatabaseStatus as WakaDatabaseStatus, type ReplicationRole, type WakaDatabaseCardProps, } from './waka-database-card';
216
+ export { WakaMigrationList, defaultMigrations, type Migration, type MigrationStatus, type WakaMigrationListProps, } from './waka-migration-list';
217
+ export { WakaQueryExplain, defaultQueryPlan, type QueryPlan, type ExplainNode, type NodeType, type WakaQueryExplainProps, } from './waka-query-explain';
@@ -0,0 +1,45 @@
1
+ export type AlertSeverity = "critical" | "warning" | "info";
2
+ export type AlertStatus = "firing" | "acknowledged" | "resolved" | "silenced";
3
+ export interface Alert {
4
+ id: string;
5
+ title: string;
6
+ description?: string;
7
+ severity: AlertSeverity;
8
+ status: AlertStatus;
9
+ source: string;
10
+ startedAt: Date;
11
+ endedAt?: Date;
12
+ acknowledgedAt?: Date;
13
+ acknowledgedBy?: string;
14
+ silencedUntil?: Date;
15
+ labels?: Record<string, string>;
16
+ annotations?: Record<string, string>;
17
+ fingerprint?: string;
18
+ runbookUrl?: string;
19
+ }
20
+ export interface WakaAlertPanelProps {
21
+ /** List of alerts */
22
+ alerts: Alert[];
23
+ /** Callback when acknowledging an alert */
24
+ onAcknowledge?: (alertId: string) => void;
25
+ /** Callback when silencing an alert */
26
+ onSilence?: (alertId: string, duration: number) => void;
27
+ /** Callback when resolving an alert */
28
+ onResolve?: (alertId: string) => void;
29
+ /** Callback when viewing alert details */
30
+ onViewDetails?: (alert: Alert) => void;
31
+ /** Callback when clicking runbook link */
32
+ onRunbook?: (alert: Alert) => void;
33
+ /** Callback when refreshing alerts */
34
+ onRefresh?: () => void;
35
+ /** Whether alerts are loading */
36
+ isLoading?: boolean;
37
+ /** Show resolved alerts */
38
+ showResolved?: boolean;
39
+ /** Custom class name */
40
+ className?: string;
41
+ /** Title */
42
+ title?: string;
43
+ }
44
+ export declare function WakaAlertPanel({ alerts, onAcknowledge, onSilence, onResolve, onViewDetails, onRunbook, onRefresh, isLoading, showResolved, className, title, }: WakaAlertPanelProps): import("react/jsx-runtime").JSX.Element;
45
+ export declare const defaultAlerts: Alert[];
@@ -0,0 +1,32 @@
1
+ export interface Artifact {
2
+ id: string;
3
+ name: string;
4
+ type: "archive" | "binary" | "log" | "report" | "image" | "other";
5
+ size: number;
6
+ createdAt: Date;
7
+ expiresAt?: Date;
8
+ downloadUrl?: string;
9
+ sha256?: string;
10
+ buildId?: string;
11
+ metadata?: Record<string, string>;
12
+ }
13
+ export interface WakaArtifactListProps {
14
+ /** List of artifacts */
15
+ artifacts: Artifact[];
16
+ /** Callback when downloading an artifact */
17
+ onDownload?: (artifact: Artifact) => void;
18
+ /** Callback when deleting an artifact */
19
+ onDelete?: (artifact: Artifact) => void;
20
+ /** Callback when viewing artifact details */
21
+ onView?: (artifact: Artifact) => void;
22
+ /** Title */
23
+ title?: string;
24
+ /** Show expiration */
25
+ showExpiration?: boolean;
26
+ /** Allow deletion */
27
+ allowDelete?: boolean;
28
+ /** Custom class name */
29
+ className?: string;
30
+ }
31
+ export declare function WakaArtifactList({ artifacts, onDownload, onDelete, onView, title, showExpiration, allowDelete, className, }: WakaArtifactListProps): import("react/jsx-runtime").JSX.Element;
32
+ export declare const defaultArtifacts: Artifact[];