Este sítio funciona melhor com JavaScript.
Página inicial
Explorar
Ajuda
Inscrição
Iniciar sessão
mcarman
/
fueling_v1
Vigiar
1
Marcar como favorito
0
Derivar
0
Código
Questões
0
Pedidos de integração
0
Lançamentos
0
Wiki
Trabalho
Ver a proveniência
w/o token auth on api calls
v2_uploadImages
rpm-mcarman
há 1 ano
ascendente
7e31c3c36b
cometimento
e6b23df180
6 ficheiros alterados
com
56 adições
e
0 eliminações
Visualização em 2 colunas
Opções das diferenças
Mostrar estatísticas
Descarregar ficheiro patch
Descarregar ficheiro diff
+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 ficheiro
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/26/24.
//
import Foundation
+ 8
- 0
Sources/App/Errors/UserErrors.swift
Ver ficheiro
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/26/24.
//
import Foundation
+ 8
- 0
Sources/App/Migrations/CreateToken.swift
Ver ficheiro
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/26/24.
//
import Foundation
+ 8
- 0
Sources/App/Migrations/CreateUser.swift
Ver ficheiro
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/26/24.
//
import Foundation
+ 8
- 0
Sources/App/Models/Token.swift
Ver ficheiro
@@ -0,0 +1,8 @@
//
// File.swift
//
//
// Created by Michiel Carman on 9/24/24.
//
import Foundation
+ 16
- 0
Sources/App/Models/User.swift
Ver ficheiro
@@ -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
}
Escrever
Pré-visualizar
Carregando…
Cancelar
Guardar