Package-level declarations
Types
Link copied to clipboard
Usage:
Link copied to clipboard
Usage:
Link copied to clipboard
class SubscriptionPreviewClient(previewData: Map<UniqueId, SubscriptionState<*>>) : SubscriptionClient
Usage:
Link copied to clipboard
class SwrPreviewClient(query: QueryPreviewClient = QueryPreviewClient(emptyMap()), mutation: MutationPreviewClient = MutationPreviewClient(emptyMap()), subscription: SubscriptionPreviewClient = SubscriptionPreviewClient(emptyMap()), val errorRelay: Flow<ErrorRecord> = flow { }) : SwrClient, SwrClientPlus, QueryClient, MutationClient, SubscriptionClient
Provides the ability to preview specific queries and mutations for composable previews.
Functions
Link copied to clipboard
fun MutationPreviewClient(initializer: MutationPreviewClient.Builder.() -> Unit): MutationPreviewClient
Creates a MutationPreviewClient with the provided initializer.
Link copied to clipboard
Create a QueryPreviewClient instance with the provided initializer.
Link copied to clipboard
fun SubscriptionPreviewClient(initializer: SubscriptionPreviewClient.Builder.() -> Unit): SubscriptionPreviewClient
Create a SubscriptionPreviewClient instance with the provided initializer.