- Updated user status handling to include optional user-set status, improving user experience during reconnections. - Added new queries and mutations for managing nests, including fetching non-offline user IDs and forcing users offline. - Introduced new database schema for nests, roles, and channels, enhancing the application's organizational structure. - Updated dependencies in package.json and bun.lock for improved stability and compatibility. - Refactored related components and API to support the new nests functionality.
62 lines
1.5 KiB
TypeScript
62 lines
1.5 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 nests_locals from "../nests/locals.js";
|
|
import type * as olm_index from "../olm/index.js";
|
|
import type * as schemas_nests from "../schemas/nests.js";
|
|
import type * as schemas_user from "../schemas/user.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;
|
|
"nests/locals": typeof nests_locals;
|
|
"olm/index": typeof olm_index;
|
|
"schemas/nests": typeof schemas_nests;
|
|
"schemas/user": typeof schemas_user;
|
|
"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 {};
|