static-cms/cypress/interface.ts
Daniel Lautzenheiser 799c7e6936
feat: v4.0.0 (#1016)
Co-authored-by: Denys Konovalov <kontakt@denyskon.de>
Co-authored-by: Mathieu COSYNS <64072917+Mathieu-COSYNS@users.noreply.github.com>
2024-01-03 15:14:09 -05:00

56 lines
885 B
TypeScript

import type { Config } from '@staticcms/core/interface';
export interface TaskResult {
data: SetupBackendResponse;
}
export interface SetupBackendProps {
backend: string;
options: Partial<Config>;
}
export interface User {
email: string;
password: string;
netlifySiteURL?: string;
}
export type SetupBackendResponse = null | {
user?: User;
};
export interface SetupBackendTestProps {
backend: string;
testName: string;
}
export interface TeardownBackendTestProps {
backend: string;
testName: string;
}
export interface SeedRepoProps {
backend: string;
}
export interface TeardownBackendProps {
backend: string;
}
export interface Post {
Title: string;
Body: string;
Description: string;
Category: string;
Tags: string;
}
export interface Author {
name: string;
description: string;
}
export interface Authors {
authors: Author[];
}