- Introduced user status management with the ability to update online, busy, offline, and away statuses. - Added metadata fields for user preferences, including phrase preferences and friends list. - Updated API and database schema to accommodate new user fields. - Enhanced the authentication component to handle additional user data effectively. - Implemented hooks for socket management and OLM setup to improve user experience.
56 lines
1.3 KiB
TypeScript
56 lines
1.3 KiB
TypeScript
/* eslint-disable */
|
|
/**
|
|
* Generated `api` utility.
|
|
*
|
|
* THIS CODE IS AUTOMATICALLY GENERATED.
|
|
*
|
|
* To regenerate, run `npx convex dev`.
|
|
* @module
|
|
*/
|
|
|
|
import type * as adapter from "../adapter.js";
|
|
import type * as auth from "../auth.js";
|
|
import type * as olm_index from "../olm/index.js";
|
|
import type * as user_index from "../user/index.js";
|
|
|
|
import type {
|
|
ApiFromModules,
|
|
FilterApi,
|
|
FunctionReference,
|
|
} from "convex/server";
|
|
import { anyApi, componentsGeneric } from "convex/server";
|
|
|
|
const fullApi: ApiFromModules<{
|
|
adapter: typeof adapter;
|
|
auth: typeof auth;
|
|
"olm/index": typeof olm_index;
|
|
"user/index": typeof user_index;
|
|
}> = anyApi as any;
|
|
|
|
/**
|
|
* A utility for referencing Convex functions in your app's public API.
|
|
*
|
|
* Usage:
|
|
* ```js
|
|
* const myFunctionReference = api.myModule.myFunction;
|
|
* ```
|
|
*/
|
|
export const api: FilterApi<
|
|
typeof fullApi,
|
|
FunctionReference<any, "public">
|
|
> = anyApi as any;
|
|
|
|
/**
|
|
* A utility for referencing Convex functions in your app's internal API.
|
|
*
|
|
* Usage:
|
|
* ```js
|
|
* const myFunctionReference = internal.myModule.myFunction;
|
|
* ```
|
|
*/
|
|
export const internal: FilterApi<
|
|
typeof fullApi,
|
|
FunctionReference<any, "internal">
|
|
> = anyApi as any;
|
|
|
|
export const components = componentsGeneric() as unknown as {};
|