mirror of
https://github.com/metabolist/metatext.git
synced 2025-02-16 14:05:14 +00:00
Single files for typealiases
This commit is contained in:
parent
93e4fa7496
commit
d71cda0b92
63 changed files with 36 additions and 118 deletions
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import DB
|
|
||||||
|
|
||||||
public typealias CollectionItem = DB.CollectionItem
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2021 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import DB
|
|
||||||
|
|
||||||
public typealias CollectionSection = DB.CollectionSection
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2021 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import DB
|
|
||||||
|
|
||||||
public typealias EmojiUse = DB.EmojiUse
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import DB
|
|
||||||
|
|
||||||
public typealias Identity = DB.Identity
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import DB
|
|
||||||
|
|
||||||
public typealias LoadMore = DB.LoadMore
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2021 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import DB
|
|
||||||
|
|
||||||
public typealias MoreResults = DB.MoreResults
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import DB
|
|
||||||
|
|
||||||
public typealias ProfileCollection = DB.ProfileCollection
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import MastodonAPI
|
|
||||||
|
|
||||||
public typealias Registration = AccessTokenEndpoint.Registration
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import MastodonAPI
|
|
||||||
|
|
||||||
public typealias ReportElements = ReportEndpoint.Elements
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2021 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import MastodonAPI
|
|
||||||
|
|
||||||
public typealias Search = ResultsEndpoint.Search
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2021 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import DB
|
|
||||||
|
|
||||||
public typealias SearchScope = DB.SearchScope
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import MastodonAPI
|
|
||||||
|
|
||||||
public typealias StatusComponents = StatusEndpoint.Components
|
|
18
ServiceLayer/Sources/ServiceLayer/Exports.swift
Normal file
18
ServiceLayer/Sources/ServiceLayer/Exports.swift
Normal 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
|
|
@ -1,10 +1,7 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
// Copyright © 2020 Metabolist. All rights reserved.
|
||||||
|
|
||||||
import DB
|
|
||||||
import MastodonAPI
|
import MastodonAPI
|
||||||
|
|
||||||
public typealias Timeline = DB.Timeline
|
|
||||||
|
|
||||||
extension Timeline {
|
extension Timeline {
|
||||||
var endpoint: StatusesEndpoint {
|
var endpoint: StatusesEndpoint {
|
||||||
switch self {
|
switch self {
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import ServiceLayer
|
|
||||||
|
|
||||||
public typealias AppPreferences = ServiceLayer.AppPreferences
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import ServiceLayer
|
|
||||||
|
|
||||||
public typealias CollectionItem = ServiceLayer.CollectionItem
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2021 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import ServiceLayer
|
|
||||||
|
|
||||||
public typealias CollectionSection = ServiceLayer.CollectionSection
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import ServiceLayer
|
|
||||||
|
|
||||||
public typealias Navigation = ServiceLayer.Navigation
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import ServiceLayer
|
|
||||||
|
|
||||||
public typealias PickerEmoji = ServiceLayer.PickerEmoji
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import ServiceLayer
|
|
||||||
|
|
||||||
public typealias ProfileCollection = ServiceLayer.ProfileCollection
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import ServiceLayer
|
|
||||||
|
|
||||||
public typealias Search = ServiceLayer.Search
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2021 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import ServiceLayer
|
|
||||||
|
|
||||||
public typealias SearchScope = ServiceLayer.SearchScope
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import ServiceLayer
|
|
||||||
|
|
||||||
public typealias SystemEmoji = ServiceLayer.SystemEmoji
|
|
|
@ -1,5 +0,0 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
|
||||||
|
|
||||||
import ServiceLayer
|
|
||||||
|
|
||||||
public typealias Timeline = ServiceLayer.Timeline
|
|
15
ViewModels/Sources/ViewModels/Exports.swift
Normal file
15
ViewModels/Sources/ViewModels/Exports.swift
Normal 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
|
|
@ -1,7 +1,7 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
// Copyright © 2020 Metabolist. All rights reserved.
|
||||||
|
|
||||||
|
import Mastodon
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
import struct Mastodon.Filter
|
|
||||||
import ViewModels
|
import ViewModels
|
||||||
|
|
||||||
struct EditFilterView: View {
|
struct EditFilterView: View {
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
// Copyright © 2020 Metabolist. All rights reserved.
|
||||||
|
|
||||||
|
import Mastodon
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
import struct Mastodon.Filter
|
|
||||||
import ViewModels
|
import ViewModels
|
||||||
|
|
||||||
struct FiltersView: View {
|
struct FiltersView: View {
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
// Copyright © 2020 Metabolist. All rights reserved.
|
||||||
|
|
||||||
import Kingfisher
|
import Kingfisher
|
||||||
import struct ServiceLayer.Identity
|
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
import ViewModels
|
import ViewModels
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
// Copyright © 2020 Metabolist. All rights reserved.
|
// Copyright © 2020 Metabolist. All rights reserved.
|
||||||
|
|
||||||
|
import Mastodon
|
||||||
import SwiftUI
|
import SwiftUI
|
||||||
import class Mastodon.Status
|
|
||||||
import struct Mastodon.Preferences
|
|
||||||
import ViewModels
|
import ViewModels
|
||||||
|
|
||||||
struct PostingReadingPreferencesView: View {
|
struct PostingReadingPreferencesView: View {
|
||||||
|
|
Loading…
Reference in a new issue