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>
This commit is contained in:
committed by
GitHub
parent
682576ffc4
commit
799c7e6936
55
cypress/interface.ts
Normal file
55
cypress/interface.ts
Normal file
@ -0,0 +1,55 @@
|
||||
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[];
|
||||
}
|
Reference in New Issue
Block a user