Single files for typealiases

This commit is contained in:
Justin Mazzocchi 2021-01-25 15:15:30 -08:00
parent 93e4fa7496
commit d71cda0b92
No known key found for this signature in database
GPG key ID: E223E6937AAFB01C
63 changed files with 36 additions and 118 deletions

View file

@ -1,5 +0,0 @@
// Copyright © 2020 Metabolist. All rights reserved.
import DB
public typealias CollectionItem = DB.CollectionItem

View file

@ -1,5 +0,0 @@
// Copyright © 2021 Metabolist. All rights reserved.
import DB
public typealias CollectionSection = DB.CollectionSection

View file

@ -1,5 +0,0 @@
// Copyright © 2021 Metabolist. All rights reserved.
import DB
public typealias EmojiUse = DB.EmojiUse

View file

@ -1,5 +0,0 @@
// Copyright © 2020 Metabolist. All rights reserved.
import DB
public typealias Identity = DB.Identity

View file

@ -1,5 +0,0 @@
// Copyright © 2020 Metabolist. All rights reserved.
import DB
public typealias LoadMore = DB.LoadMore

View file

@ -1,5 +0,0 @@
// Copyright © 2021 Metabolist. All rights reserved.
import DB
public typealias MoreResults = DB.MoreResults

View file

@ -1,5 +0,0 @@
// Copyright © 2020 Metabolist. All rights reserved.
import DB
public typealias ProfileCollection = DB.ProfileCollection

View file

@ -1,5 +0,0 @@
// Copyright © 2020 Metabolist. All rights reserved.
import MastodonAPI
public typealias Registration = AccessTokenEndpoint.Registration

View file

@ -1,5 +0,0 @@
// Copyright © 2020 Metabolist. All rights reserved.
import MastodonAPI
public typealias ReportElements = ReportEndpoint.Elements

View file

@ -1,5 +0,0 @@
// Copyright © 2021 Metabolist. All rights reserved.
import MastodonAPI
public typealias Search = ResultsEndpoint.Search

View file

@ -1,5 +0,0 @@
// Copyright © 2021 Metabolist. All rights reserved.
import DB
public typealias SearchScope = DB.SearchScope

View file

@ -1,5 +0,0 @@
// Copyright © 2020 Metabolist. All rights reserved.
import MastodonAPI
public typealias StatusComponents = StatusEndpoint.Components

View file

@ -0,0 +1,18 @@
// Copyright © 2020 Metabolist. All rights reserved.
import DB
import MastodonAPI
public typealias CollectionItem = DB.CollectionItem
public typealias CollectionSection = DB.CollectionSection
public typealias EmojiUse = DB.EmojiUse
public typealias Identity = DB.Identity
public typealias LoadMore = DB.LoadMore
public typealias MoreResults = DB.MoreResults
public typealias ProfileCollection = DB.ProfileCollection
public typealias Registration = AccessTokenEndpoint.Registration
public typealias ReportElements = ReportEndpoint.Elements
public typealias Search = ResultsEndpoint.Search
public typealias SearchScope = DB.SearchScope
public typealias StatusComponents = StatusEndpoint.Components
public typealias Timeline = DB.Timeline

View file

@ -1,10 +1,7 @@
// Copyright © 2020 Metabolist. All rights reserved.
import DB
import MastodonAPI
public typealias Timeline = DB.Timeline
extension Timeline {
var endpoint: StatusesEndpoint {
switch self {

View file

@ -1,5 +0,0 @@
// Copyright © 2020 Metabolist. All rights reserved.
import ServiceLayer
public typealias AppPreferences = ServiceLayer.AppPreferences

View file

@ -1,5 +0,0 @@
// Copyright © 2020 Metabolist. All rights reserved.
import ServiceLayer
public typealias CollectionItem = ServiceLayer.CollectionItem

View file

@ -1,5 +0,0 @@
// Copyright © 2021 Metabolist. All rights reserved.
import ServiceLayer
public typealias CollectionSection = ServiceLayer.CollectionSection

View file

@ -1,5 +0,0 @@
// Copyright © 2020 Metabolist. All rights reserved.
import ServiceLayer
public typealias Navigation = ServiceLayer.Navigation

View file

@ -1,5 +0,0 @@
// Copyright © 2020 Metabolist. All rights reserved.
import ServiceLayer
public typealias PickerEmoji = ServiceLayer.PickerEmoji

View file

@ -1,5 +0,0 @@
// Copyright © 2020 Metabolist. All rights reserved.
import ServiceLayer
public typealias ProfileCollection = ServiceLayer.ProfileCollection

View file

@ -1,5 +0,0 @@
// Copyright © 2020 Metabolist. All rights reserved.
import ServiceLayer
public typealias Search = ServiceLayer.Search

View file

@ -1,5 +0,0 @@
// Copyright © 2021 Metabolist. All rights reserved.
import ServiceLayer
public typealias SearchScope = ServiceLayer.SearchScope

View file

@ -1,5 +0,0 @@
// Copyright © 2020 Metabolist. All rights reserved.
import ServiceLayer
public typealias SystemEmoji = ServiceLayer.SystemEmoji

View file

@ -1,5 +0,0 @@
// Copyright © 2020 Metabolist. All rights reserved.
import ServiceLayer
public typealias Timeline = ServiceLayer.Timeline

View file

@ -0,0 +1,15 @@
// Copyright © 2021 Metabolist. All rights reserved.
import ServiceLayer
public typealias AppPreferences = ServiceLayer.AppPreferences
public typealias CollectionItem = ServiceLayer.CollectionItem
public typealias CollectionSection = ServiceLayer.CollectionSection
public typealias Identity = ServiceLayer.Identity
public typealias Navigation = ServiceLayer.Navigation
public typealias PickerEmoji = ServiceLayer.PickerEmoji
public typealias ProfileCollection = ServiceLayer.ProfileCollection
public typealias Search = ServiceLayer.Search
public typealias SearchScope = ServiceLayer.SearchScope
public typealias SystemEmoji = ServiceLayer.SystemEmoji
public typealias Timeline = ServiceLayer.Timeline

View file

@ -1,7 +1,7 @@
// Copyright © 2020 Metabolist. All rights reserved.
import Mastodon
import SwiftUI
import struct Mastodon.Filter
import ViewModels
struct EditFilterView: View {

View file

@ -1,7 +1,7 @@
// Copyright © 2020 Metabolist. All rights reserved.
import Mastodon
import SwiftUI
import struct Mastodon.Filter
import ViewModels
struct FiltersView: View {

View file

@ -1,7 +1,6 @@
// Copyright © 2020 Metabolist. All rights reserved.
import Kingfisher
import struct ServiceLayer.Identity
import SwiftUI
import ViewModels

View file

@ -1,8 +1,7 @@
// Copyright © 2020 Metabolist. All rights reserved.
import Mastodon
import SwiftUI
import class Mastodon.Status
import struct Mastodon.Preferences
import ViewModels
struct PostingReadingPreferencesView: View {