799c7e6936
Co-authored-by: Denys Konovalov <kontakt@denyskon.de> Co-authored-by: Mathieu COSYNS <64072917+Mathieu-COSYNS@users.noreply.github.com>
56 lines
885 B
TypeScript
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[];
|
|
}
|