Files
story-studio/remotion/node_modules/@remotion/cli/dist/get-github-repository.d.ts
2026-02-21 10:33:18 +01:00

20 lines
742 B
TypeScript

import type { LogLevel } from '@remotion/renderer';
import type { GitSource } from '@remotion/studio-shared';
export type ParsedGitRemote = {
type: 'github';
org: string;
name: string;
};
export declare const getGitConfig: (remotionRoot: string) => string | null;
export declare const getGitRemoteOrigin: (gitConfig: string) => {
remote: string;
url: string | null;
} | null;
export declare const normalizeGitRemoteUrl: (url: string) => ParsedGitRemote | null;
export declare const getGifRef: (logLevel: LogLevel) => string | null;
export declare const getGitSource: ({ remotionRoot, disableGitSource, logLevel, }: {
remotionRoot: string;
disableGitSource: boolean;
logLevel: LogLevel;
}) => GitSource | null;