Feature: 添加Content类型
This commit is contained in:
32
types/generated/components.d.ts
vendored
Normal file
32
types/generated/components.d.ts
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
import type { Schema, Struct } from '@strapi/strapi';
|
||||
|
||||
export interface ProductionSpecGroup extends Struct.ComponentSchema {
|
||||
collectionName: 'components_production_spec_groups';
|
||||
info: {
|
||||
displayName: 'Spec Group';
|
||||
};
|
||||
attributes: {
|
||||
items: Schema.Attribute.Component<'production.spec-item', true>;
|
||||
title: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ProductionSpecItem extends Struct.ComponentSchema {
|
||||
collectionName: 'components_production_spec_items';
|
||||
info: {
|
||||
displayName: 'Spec Item';
|
||||
};
|
||||
attributes: {
|
||||
label: Schema.Attribute.String & Schema.Attribute.Required;
|
||||
value: Schema.Attribute.String;
|
||||
};
|
||||
}
|
||||
|
||||
declare module '@strapi/strapi' {
|
||||
export module Public {
|
||||
export interface ComponentSchemas {
|
||||
'production.spec-group': ProductionSpecGroup;
|
||||
'production.spec-item': ProductionSpecItem;
|
||||
}
|
||||
}
|
||||
}
|
||||
1204
types/generated/contentTypes.d.ts
vendored
Normal file
1204
types/generated/contentTypes.d.ts
vendored
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user