Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Registro
Iniciar sesión
mcarman
/
fueling_v1
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
w/o token auth on api calls
v2_uploadImages
rpm-mcarman
hace 1 año
padre
7e31c3c36b
commit
e6b23df180
Se han
modificado 6 ficheros
con
56 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+8
-0
Sources/App/Controllers/UserController.swift
+8
-0
Sources/App/Errors/UserErrors.swift
+8
-0
Sources/App/Migrations/CreateToken.swift
+8
-0
Sources/App/Migrations/CreateUser.swift
+8
-0
Sources/App/Models/Token.swift
+16
-0
Sources/App/Models/User.swift
+ 8
- 0
Sources/App/Controllers/UserController.swift
Ver fichero
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/26/24.
//
import Foundation
+ 8
- 0
Sources/App/Errors/UserErrors.swift
Ver fichero
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/26/24.
//
import Foundation
+ 8
- 0
Sources/App/Migrations/CreateToken.swift
Ver fichero
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/26/24.
//
import Foundation
+ 8
- 0
Sources/App/Migrations/CreateUser.swift
Ver fichero
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/26/24.
//
import Foundation
+ 8
- 0
Sources/App/Models/Token.swift
Ver fichero
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/24/24.
//
import Foundation
+ 16
- 0
Sources/App/Models/User.swift
Ver fichero
@@ -0,0 +1,16 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/24/24.
//
import Foundation
import Vapor
import Fluent
final class User: Model {
@ID var id: UUID?
@Field(key: "name") var name: String
}
Escribir
Vista previa
Cargando…
Cancelar
Guardar