mirror of
https://github.com/documenso/documenso.git
synced 2025-11-19 19:21:39 +10:00
fix: wip
This commit is contained in:
@ -6,7 +6,7 @@ import { ZLimitsResponseSchema } from './schema';
|
||||
|
||||
export type GetLimitsOptions = {
|
||||
headers?: Record<string, string>;
|
||||
teamId?: number | null;
|
||||
teamId: number | null;
|
||||
};
|
||||
|
||||
export const getLimits = async ({ headers, teamId }: GetLimitsOptions = {}) => {
|
||||
|
||||
@ -22,7 +22,7 @@ export const useLimits = () => {
|
||||
|
||||
export type LimitsProviderProps = {
|
||||
initialValue?: TLimitsResponseSchema;
|
||||
teamId?: number;
|
||||
teamId: number;
|
||||
children?: React.ReactNode;
|
||||
};
|
||||
|
||||
|
||||
@ -12,7 +12,7 @@ import { ZLimitsSchema } from './schema';
|
||||
|
||||
export type GetServerLimitsOptions = {
|
||||
email: string;
|
||||
teamId?: number | null;
|
||||
teamId: number | null;
|
||||
};
|
||||
|
||||
export const getServerLimits = async ({
|
||||
|
||||
Reference in New Issue
Block a user