Feature: 添加Content类型

This commit is contained in:
2025-08-26 07:15:50 +00:00
parent 644c533201
commit 464b5174ca
28 changed files with 1677 additions and 0 deletions

32
types/generated/components.d.ts vendored Normal file
View 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

File diff suppressed because it is too large Load Diff