JT
1 year ago
10 changed files with 172 additions and 24 deletions
@ -0,0 +1,36 @@
|
||||
using System.Collections.ObjectModel; |
||||
using System.ComponentModel; |
||||
using StabilityMatrix.Models.Api; |
||||
using StabilityMatrix.ViewModels; |
||||
|
||||
namespace StabilityMatrix.DesignData; |
||||
|
||||
[DesignOnly(true)] |
||||
public class MockCheckpointBrowserViewModel : CheckpointBrowserViewModel |
||||
{ |
||||
public MockCheckpointBrowserViewModel() : base(null!, null!) |
||||
{ |
||||
CivitModels = new ObservableCollection<CivitModel> |
||||
{ |
||||
new() |
||||
{ |
||||
Name = "bb95 Furry Mix", |
||||
ModelVersions = new[] |
||||
{ |
||||
new CivitModelVersion |
||||
{ |
||||
Name = "v7.0", |
||||
Images = new[] |
||||
{ |
||||
new CivitImage |
||||
{ |
||||
Url = |
||||
"https://image.civitai.com/xG1nkqKTMzGDvpLrqFT7WA/1547f350-461a-4cd0-a753-0544aa81e4fc/width=450/00000-4137473915.jpeg" |
||||
} |
||||
} |
||||
} |
||||
} |
||||
} |
||||
}; |
||||
} |
||||
} |
Loading…
Reference in new issue