@tealca/core-components 1.0.23 → 1.0.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +0 -5
- package/dist/tealca-core-components.cjs.js +42 -42
- package/dist/tealca-core-components.es.js +7969 -7971
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -170,17 +170,12 @@ export declare const AuthContext: Context<AuthContextProps>;
|
|
|
170
170
|
* @param availableStores - An array of stores available to the user.
|
|
171
171
|
* @param isAuthenticated - A boolean flag indicating whether the user is
|
|
172
172
|
* authenticated. `true` if a user is logged in, otherwise `false`.
|
|
173
|
-
* @param login - A function to update the authentication state upon successful
|
|
174
|
-
* login. It takes the user object, access token, and refresh token as arguments.
|
|
175
|
-
* @param logout - A function to clear the authentication state and log the user out.
|
|
176
173
|
*/
|
|
177
174
|
export declare interface AuthContextProps {
|
|
178
175
|
user: User | null;
|
|
179
176
|
store: Store | null;
|
|
180
177
|
availableStores: Store[];
|
|
181
178
|
isAuthenticated: boolean;
|
|
182
|
-
login: (user: User) => void;
|
|
183
|
-
logout: () => void;
|
|
184
179
|
}
|
|
185
180
|
|
|
186
181
|
declare type AutocompletePrediction = google.maps.places.AutocompletePrediction;
|