33 lines
888 B
TypeScript
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;
|
|
}
|
|
}
|
|
}
|