Add warning notes to example dashboard files

This commit is contained in:
2026-01-17 23:57:48 +00:00
parent 79934771e2
commit 439186a461
3 changed files with 7 additions and 2 deletions

View File

@@ -1,3 +1,4 @@
// WARNING: Example file used for refactoring-tool demos. Avoid manual edits.
import React, { useState, useEffect, useCallback } from 'react';
import { User, FormData, ValidationErrors } from "./UserManagementDashboard.types";
import { validateForm, getRoleBadgeColor, getStatusBadgeColor, formatDate } from "./UserManagementDashboard.utils";

View File

@@ -1,4 +1,6 @@
/**
* WARNING: Example file used for refactoring-tool demos. Avoid manual edits.
*
* Extracted types and interfaces
* Auto-generated by ts-morph refactoring script
*/
@@ -20,4 +22,4 @@ export interface ValidationErrors {
name?: string;
email?: string;
role?: string;
}
}

View File

@@ -1,4 +1,6 @@
/**
* WARNING: Example file used for refactoring-tool demos. Avoid manual edits.
*
* Extracted utility functions
* Auto-generated by ts-morph refactoring script
*/
@@ -48,4 +50,4 @@ export const formatDate = (dateString: string): string => {
month: 'short',
day: 'numeric',
});
};
};