Created
November 18, 2025 05:07
-
-
Save robertvunabandi/ae479000af2c66b9e123b06078daea69 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| // | |
| // DataStoreSeeding.swift | |
| // Reading Journal | |
| // | |
| // | |
| /// For debugging purposes when using Swift Previews, we may want | |
| /// the data store to be loaded with some preliminary data. This enum, | |
| /// ``DataStoreSeeding``, is what will represent that starting data. | |
| /// | |
| /// This is only meant to be used for debugging inside SwiftUI previews. | |
| enum DataStoreSeeding { | |
| /// For ``AuthorsDataStore`` | |
| case author(MAuthor) | |
| /// For ``BetaDataStore`` | |
| case beta(BetaDataStore.BetaUpdate) | |
| /// For ``FeedbackDataStore`` | |
| case feedback(MFeedback) | |
| /// For ``QuotesDataStore`` | |
| case quote(MQuote) | |
| /// For ``SourcesDataStore`` | |
| case source(MSource) | |
| /// For ``SourceSectionsDataStore`` | |
| case sourceSection(sourceId: String, section: MSourceSection) | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment