Spaces:
Running
Running
Claude Opus 5.5
feat: remove AI assistant, Free/Plus plans, user templates API, security fixes
6d07d79 Download FlowAPI.Application/DTOs/Template/TemplateDtos.cs from DanilDrotik/FlowAPI: direct link, hf CLI and curl.
- Browser
- Download file 1.22 kB
-
https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/main/FlowAPI.Application/DTOs/Template/TemplateDtos.cs
- Command line
-
hf download hf://spaces/DanilDrotik/FlowAPI/FlowAPI.Application/DTOs/Template/TemplateDtos.cs
-
curl -L -o TemplateDtos.cs https://huggingface.co/spaces/DanilDrotik/FlowAPI/resolve/main/FlowAPI.Application/DTOs/Template/TemplateDtos.cs
1.22 kB
| using System; | |
| namespace FlowAPI.Application.DTOs.Template | |
| { | |
| /// <summary> | |
| /// A user template. Content is an opaque JSON document produced by the web client: | |
| /// { "version": 2, "nodes": [...], "edges": [...] } in React Flow format. | |
| /// </summary> | |
| public class TemplateDto | |
| { | |
| public Guid Id { get; set; } | |
| public string Title { get; set; } = string.Empty; | |
| public string Description { get; set; } = string.Empty; | |
| public string Category { get; set; } = string.Empty; | |
| public string Icon { get; set; } = string.Empty; | |
| public string Content { get; set; } = string.Empty; | |
| public DateTime CreatedAt { get; set; } | |
| } | |
| public class CreateTemplateDto | |
| { | |
| public string Title { get; set; } = string.Empty; | |
| public string? Description { get; set; } | |
| public string? Category { get; set; } | |
| public string? Icon { get; set; } | |
| public string Content { get; set; } = string.Empty; | |
| } | |
| public class UpdateTemplateDto | |
| { | |
| public string? Title { get; set; } | |
| public string? Description { get; set; } | |
| public string? Category { get; set; } | |
| public string? Icon { get; set; } | |
| } | |
| } | |