-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.ts
More file actions
60 lines (55 loc) 路 1.35 KB
/
Copy pathtypes.ts
File metadata and controls
60 lines (55 loc) 路 1.35 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
/**
* @license
* Copyright 漏 2026 Ashraf Morningstar
* https://github.com/AshrafMorningstar
*
* Licensed under the MIT License.
* This is a personal educational recreation.
* Original concepts remain property of their respective creators.
*
* @author Ashraf Morningstar
* @see https://github.com/AshrafMorningstar
*/
export type SimulationPhase = 'setup' | 'config' | 'blueprint' | 'weaving' | 'complete';
export interface UserConfig {
githubToken: string;
username: string;
targetRepo: string;
startDate: string;
endDate: string;
techStack: string;
intensity: number; // 1-10
strategy: 'gitflow' | 'github-flow' | 'trunk';
includeLfs: boolean;
achievements: string[];
}
export interface GitEvent {
id: string;
date: string;
type: 'commit' | 'branch' | 'merge' | 'issue' | 'pr' | 'tag';
title: string;
description: string;
branch?: string;
filesChanged?: number;
author: string;
tags?: string[]; // e.g., 'feat', 'fix'
}
export interface Achievement {
id: string;
name: string;
description: string;
icon: string;
color: string;
}
export interface LogEntry {
timestamp: string;
level: 'info' | 'success' | 'warning' | 'error';
message: string;
}
export interface SimulationStats {
totalCommits: number;
totalPRs: number;
totalIssues: number;
filesChanged: number;
achievementsUnlocked: string[];
}