-
-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update dependencies and refactor field key (#12)
- Loading branch information
1 parent
d0acfd1
commit a2dc9e2
Showing
8 changed files
with
97 additions
and
57 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
// | ||
// File.swift | ||
// | ||
// | ||
// Created by Petr Pavlik on 11.03.2024. | ||
// | ||
|
||
import Fluent | ||
|
||
extension FieldKey { | ||
static let name: FieldKey = "name" | ||
static let createdAt: FieldKey = "created_at" | ||
static let updatedAt: FieldKey = "updated_at" | ||
static let apiKey: FieldKey = "api_key" | ||
static let email: FieldKey = "email" | ||
static let avatarUrl: FieldKey = "avatar_url" | ||
static let firebaseUserId: FieldKey = "firebase_user_id" | ||
static let subscribedToNewsletterAt: FieldKey = "subscribed_to_newsletter_at" | ||
static let role: FieldKey = "role" | ||
static let profileId: FieldKey = "profile_id" | ||
static let organizationId: FieldKey = "organization_id" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters