Ajout Drone

WORK-API-TEST
Antoine PINAGOT 1 year ago
parent bc87676131
commit 150041e4fc

@ -0,0 +1,15 @@
kind: pipeline
type: docker
name: dronePipeline
trigger:
event:
- push
steps:
- name: build
image: mcr.microsoft.com/dotnet/sdk:6.0
commands:
- cd Sources/HeartTrack
- dotnet restore HeartTrack.sln
- dotnet build HeartTrack.sln -c Release --no-restore

@ -4,9 +4,9 @@
{ {
public int IdActivity { get; set; } public int IdActivity { get; set; }
public string Type { get; set; } public string Type { get; set; }
public DateOnly Date { get; set; } public DateTime Date { get; set; }
public DateOnly StartTime { get; set; } public DateTime StartTime { get; set; }
public DateOnly EndTime { get; set; } public DateTime EndTime { get; set; }
public int EffortRessenti { get; set; } public int EffortRessenti { get; set; }
public float Variability { get; set; } public float Variability { get; set; }
public float Variance { get; set; } public float Variance { get; set; }

@ -29,6 +29,7 @@ namespace HeartTrack.Services.ActivityDataServiceFactice
this.EmplacementLocalStorage = "activitiesData"; this.EmplacementLocalStorage = "activitiesData";
this.EmplacementJson = $"{_navigationManager.BaseUri}data/fake-activities.json"; this.EmplacementJson = $"{_navigationManager.BaseUri}data/fake-activities.json";
Console.WriteLine($"{_navigationManager.BaseUri}data/fake-activities.json");
} }
public async Task AddActivity(Activity a) public async Task AddActivity(Activity a)

Loading…
Cancel
Save