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;
|
||||
|
||||
2
types/generated/contentTypes.d.ts
vendored
2
types/generated/contentTypes.d.ts
vendored
@@ -1889,6 +1889,7 @@ export interface PluginUsersPermissionsUser
|
||||
> &
|
||||
Schema.Attribute.Private;
|
||||
name: Schema.Attribute.String;
|
||||
parameter: Schema.Attribute.Component<'configuration.parameter', false>;
|
||||
password: Schema.Attribute.Password &
|
||||
Schema.Attribute.Private &
|
||||
Schema.Attribute.SetMinMaxLength<{
|
||||
@@ -1899,6 +1900,7 @@ export interface PluginUsersPermissionsUser
|
||||
'oneToMany',
|
||||
'api::post-ownership.post-ownership'
|
||||
>;
|
||||
privacy: Schema.Attribute.Component<'configuration.privacy', false>;
|
||||
provider: Schema.Attribute.String;
|
||||
publishedAt: Schema.Attribute.DateTime;
|
||||
related_contacts: Schema.Attribute.Relation<
|
||||
|
||||
Reference in New Issue
Block a user