← back to Open Seo
src/client/features/projects/types.ts
15 lines
// The project's default market: the country/language pair its data calls
// fall back to. Mirrors resolveMarket's project argument in shared/.
export type ProjectMarket = { locationCode: number; languageCode: string };
// Shape returned by the getProjects server function (a mapped project row).
export type ProjectSummary = {
id: string;
name: string;
domain: string | null;
// Default market for the project's data calls.
locationCode: number;
languageCode: string;
createdAt: string;
};