style: 格式化项目代码
- 根据prettier配置格式化整个项目的代码
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
export * from "./common";
|
||||
export * from "./production";
|
||||
export * from "./singleTypes";
|
||||
export * from "./solution";
|
||||
export * from "./question";
|
||||
export * from './common';
|
||||
export * from './production';
|
||||
export * from './singleTypes';
|
||||
export * from './solution';
|
||||
export * from './question';
|
||||
|
||||
@ -3,7 +3,7 @@ import type {
|
||||
StrapiImage,
|
||||
StrapiMedia,
|
||||
StrapiRelation,
|
||||
} from "./common";
|
||||
} from './common';
|
||||
|
||||
export interface ProductionType extends StrapiEntity {
|
||||
type: string;
|
||||
@ -29,13 +29,13 @@ export interface Production extends StrapiEntity {
|
||||
production_specs: ProductionSpecGroup[];
|
||||
production_documents: StrapiRelation<
|
||||
ProductionDocument,
|
||||
"related_productions"
|
||||
'related_productions'
|
||||
>[];
|
||||
questions: StrapiRelation<Question, "related_productions">[];
|
||||
questions: StrapiRelation<Question, 'related_productions'>[];
|
||||
show_in_production_list: boolean;
|
||||
}
|
||||
|
||||
export interface ProductionDocument extends StrapiEntity {
|
||||
document: StrapiMedia;
|
||||
related_productions: StrapiRelation<Production, "production_documents">[];
|
||||
related_productions: StrapiRelation<Production, 'production_documents'>[];
|
||||
}
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
export interface Question extends StrapiEntity {
|
||||
title: string;
|
||||
content: string;
|
||||
related_productions: StrapiRelation<Production, "questions">[];
|
||||
related_productions: StrapiRelation<Production, 'questions'>[];
|
||||
}
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
import type { StrapiEntity, StrapiImage } from "./common";
|
||||
import type { StrapiEntity, StrapiImage } from './common';
|
||||
|
||||
export interface SolutionType extends StrapiEntity {
|
||||
type: string;
|
||||
|
||||
Reference in New Issue
Block a user