@stackbit/sdk
Version:
24 lines • 764 B
TypeScript
import { GetFileBrowserOptions } from './file-browser';
import { Config } from '../config/config-types';
export type SSGMatcherOptions = GetFileBrowserOptions;
type AssetsReferenceType = 'static' | 'relative';
export interface SSGMatchResult {
ssgName: Config['ssgName'];
ssgDir?: string;
isTheme?: boolean;
publishDir?: string;
staticDir?: string;
pagesDir?: string;
dataDir?: string;
contentDirs?: string[];
envVars?: string[];
nodeVersion?: string;
pageTypeKey?: string;
assetsReferenceType?: AssetsReferenceType;
options?: {
ssgDirs?: string[];
};
}
export declare function matchSSG(options: SSGMatcherOptions): Promise<SSGMatchResult | null>;
export {};
//# sourceMappingURL=ssg-matcher.d.ts.map