init commit
This commit is contained in:
21
remotion/node_modules/@remotion/licensing/dist/get-usage.d.ts
generated
vendored
Normal file
21
remotion/node_modules/@remotion/licensing/dist/get-usage.d.ts
generated
vendored
Normal file
@@ -0,0 +1,21 @@
|
||||
import type { EitherApiKeyOrLicenseKey } from './register-usage-event';
|
||||
export type EventCount = {
|
||||
billable: number;
|
||||
failed: number;
|
||||
development: number;
|
||||
};
|
||||
export type GetUsageApiResponse = {
|
||||
success: true;
|
||||
cloudRenders: EventCount;
|
||||
webcodecConversions: EventCount;
|
||||
} | {
|
||||
success: false;
|
||||
error: string;
|
||||
};
|
||||
export type GetUsageResponse = {
|
||||
cloudRenders: EventCount;
|
||||
webcodecConversions: EventCount;
|
||||
};
|
||||
export declare const getUsage: ({ since, ...apiOrLicenseKey }: {
|
||||
since?: number | null;
|
||||
} & EitherApiKeyOrLicenseKey) => Promise<GetUsageResponse>;
|
||||
Reference in New Issue
Block a user