1pub use supabase_client_core::*;
43
44#[cfg(feature = "query")]
46pub use supabase_client_query::*;
47
48#[cfg(feature = "derive")]
50pub use supabase_client_derive::*;
51
52#[cfg(feature = "auth")]
54pub use supabase_client_auth;
55
56#[cfg(feature = "realtime")]
57pub use supabase_client_realtime;
58
59#[cfg(feature = "storage")]
60pub use supabase_client_storage;
61
62#[cfg(feature = "functions")]
63pub use supabase_client_functions;
64
65pub mod prelude {
71 pub use supabase_client_core::{
72 Row, SupabaseClient, SupabaseConfig, SupabaseError, SupabaseResponse, SupabaseResult,
73 };
74 #[cfg(feature = "direct-sql")]
75 pub use supabase_client_core::PoolConfig;
76 pub use supabase_client_core::row;
77
78 #[cfg(feature = "query")]
79 pub use supabase_client_query::{
80 Filterable, Modifiable, OrderDirection, IsValue, TextSearchType,
81 SupabaseClientQueryExt, Table,
82 ExplainOptions, ExplainFormat, CountOption,
83 CsvSelectBuilder, GeoJsonSelectBuilder,
84 };
85
86 #[cfg(feature = "derive")]
87 pub use supabase_client_derive::Table;
88
89 #[cfg(feature = "auth")]
90 pub use supabase_client_auth::{
91 AuthClient, AuthError, AuthResponse, Session, User,
92 SupabaseClientAuthExt,
93 AuthChangeEvent, AuthStateChange, AuthSubscription, AutoRefreshConfig,
95 MfaEnrollParams, MfaVerifyParams, MfaChallengeParams,
97 MfaEnrollResponse, MfaTotpInfo, MfaChallengeResponse, MfaUnenrollResponse,
98 MfaListFactorsResponse, AuthenticatorAssuranceLevelInfo,
99 AuthenticatorAssuranceLevel, AmrEntry, FactorType, FactorStatus,
100 SsoSignInParams, SsoSignInResponse,
102 SignInWithIdTokenParams,
104 LinkIdentityResponse,
106 ResendParams, ResendType,
108 OAuthClient, OAuthClientType, OAuthClientGrantType, OAuthClientResponseType,
110 OAuthClientRegistrationType, OAuthClientListResponse,
111 OAuthAuthorizationClient, OAuthAuthorizationUser, OAuthAuthorizationDetails,
112 OAuthAuthorizationDetailsResponse, OAuthRedirect, OAuthGrant,
113 CreateOAuthClientParams, UpdateOAuthClientParams,
114 PkceCodeVerifier, PkceCodeChallenge, PkcePair,
116 OAuthTokenResponse, OpenIdConfiguration, JwksResponse, Jwk,
117 OAuthAuthorizeUrlParams, OAuthTokenExchangeParams,
118 Web3Chain, Web3SignInParams,
120 };
121
122 #[cfg(feature = "realtime")]
123 pub use supabase_client_realtime::{
124 RealtimeClient, RealtimeChannel, RealtimeConfig, RealtimeError,
125 ChannelBuilder, SupabaseClientRealtimeExt,
126 PostgresChangesEvent, PostgresChangesFilter, PostgresChangePayload,
127 SubscriptionStatus, ChannelState, PresenceState, PresenceMeta,
128 };
129
130 #[cfg(feature = "storage")]
131 pub use supabase_client_storage::{
132 StorageClient, StorageBucketApi, StorageError,
133 Bucket, BucketOptions, FileObject, FileOptions,
134 SearchOptions, SortOrder, SignedUrlResponse,
135 SupabaseClientStorageExt,
136 TransformOptions, ResizeMode, ImageFormat, FileInfo,
138 };
139
140 #[cfg(feature = "functions")]
141 pub use supabase_client_functions::{
142 FunctionsClient, FunctionsError, FunctionResponse,
143 InvokeOptions, InvokeBody, HttpMethod, FunctionRegion,
144 SupabaseClientFunctionsExt,
145 };
146}