Files
jinshen-website-backend/types/generated/components.d.ts
2025-08-26 07:15:50 +00:00

33 lines
888 B
TypeScript

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;
}
}
}