add strapi types
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
// Interface automatically generated by schemas-to-ts
|
||||
|
||||
export interface Media {
|
||||
file?: { data: Media };
|
||||
}
|
||||
export interface Media_Plain {
|
||||
file?: Media_Plain;
|
||||
}
|
||||
|
||||
export interface Media_NoRelations {
|
||||
file?: number;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
// Interface automatically generated by schemas-to-ts
|
||||
|
||||
export interface MyComponent {
|
||||
testtext?: string;
|
||||
}
|
||||
export interface MyComponent_Plain {
|
||||
testtext?: string;
|
||||
}
|
||||
|
||||
export interface MyComponent_NoRelations {
|
||||
testtext?: string;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
// Interface automatically generated by schemas-to-ts
|
||||
|
||||
export interface Quote {
|
||||
title?: string;
|
||||
body?: string;
|
||||
}
|
||||
export interface Quote_Plain {
|
||||
title?: string;
|
||||
body?: string;
|
||||
}
|
||||
|
||||
export interface Quote_NoRelations {
|
||||
title?: string;
|
||||
body?: string;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,13 @@
|
||||
// Interface automatically generated by schemas-to-ts
|
||||
|
||||
export interface RichText {
|
||||
body?: string;
|
||||
}
|
||||
export interface RichText_Plain {
|
||||
body?: string;
|
||||
}
|
||||
|
||||
export interface RichText_NoRelations {
|
||||
body?: string;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,22 @@
|
||||
// Interface automatically generated by schemas-to-ts
|
||||
|
||||
import { Media } from './Media';
|
||||
import { Media_Plain } from './Media';
|
||||
|
||||
export interface Seo {
|
||||
metaTitle: string;
|
||||
metaDescription: string;
|
||||
shareImage?: { data: Media };
|
||||
}
|
||||
export interface Seo_Plain {
|
||||
metaTitle: string;
|
||||
metaDescription: string;
|
||||
shareImage?: Media_Plain;
|
||||
}
|
||||
|
||||
export interface Seo_NoRelations {
|
||||
metaTitle: string;
|
||||
metaDescription: string;
|
||||
shareImage?: number;
|
||||
}
|
||||
|
||||
@@ -0,0 +1,16 @@
|
||||
// Interface automatically generated by schemas-to-ts
|
||||
|
||||
import { Media } from './Media';
|
||||
import { Media_Plain } from './Media';
|
||||
|
||||
export interface Slider {
|
||||
files?: { data: Media[] };
|
||||
}
|
||||
export interface Slider_Plain {
|
||||
files?: Media_Plain[];
|
||||
}
|
||||
|
||||
export interface Slider_NoRelations {
|
||||
files?: number[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user