0.12.3 : change updateMe to handle components
This commit is contained in:
35
types/generated/components.d.ts
vendored
35
types/generated/components.d.ts
vendored
@@ -19,6 +19,39 @@ export interface AddressFullAddress extends Struct.ComponentSchema {
|
||||
};
|
||||
}
|
||||
|
||||
export interface ConfigurationParameter extends Struct.ComponentSchema {
|
||||
collectionName: 'components_configuration_parameters';
|
||||
info: {
|
||||
displayName: 'parameter';
|
||||
icon: 'cog';
|
||||
};
|
||||
attributes: {
|
||||
emailNotification: Schema.Attribute.Boolean &
|
||||
Schema.Attribute.DefaultTo<false>;
|
||||
pushNotification: Schema.Attribute.Boolean &
|
||||
Schema.Attribute.DefaultTo<false>;
|
||||
sendNewsgroup: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<false>;
|
||||
};
|
||||
}
|
||||
|
||||
export interface ConfigurationPrivacy extends Struct.ComponentSchema {
|
||||
collectionName: 'components_configuration_privacies';
|
||||
info: {
|
||||
description: '';
|
||||
displayName: 'privacy';
|
||||
icon: 'key';
|
||||
};
|
||||
attributes: {
|
||||
allowInvite: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<true>;
|
||||
allowMessage: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<true>;
|
||||
allowTag: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<true>;
|
||||
profileVisibility: Schema.Attribute.Enumeration<
|
||||
['public', 'contacts', 'private']
|
||||
>;
|
||||
showOnline: Schema.Attribute.Boolean & Schema.Attribute.DefaultTo<true>;
|
||||
};
|
||||
}
|
||||
|
||||
export interface GroupActivity extends Struct.ComponentSchema {
|
||||
collectionName: 'components_group_activities';
|
||||
info: {
|
||||
@@ -82,6 +115,8 @@ declare module '@strapi/strapi' {
|
||||
export module Public {
|
||||
export interface ComponentSchemas {
|
||||
'address.full-address': AddressFullAddress;
|
||||
'configuration.parameter': ConfigurationParameter;
|
||||
'configuration.privacy': ConfigurationPrivacy;
|
||||
'group.activity': GroupActivity;
|
||||
'social.tags': SocialTags;
|
||||
'user.language': UserLanguage;
|
||||
|
||||
Reference in New Issue
Block a user