89 lines
2.2 KiB
TypeScript
89 lines
2.2 KiB
TypeScript
import type { Schema, Struct } from '@strapi/strapi';
|
|
|
|
export interface AddressFullAddress extends Struct.ComponentSchema {
|
|
collectionName: 'components_address_full_addresses';
|
|
info: {
|
|
description: '';
|
|
displayName: 'FullAddress';
|
|
icon: 'pinMap';
|
|
};
|
|
attributes: {
|
|
city: Schema.Attribute.String;
|
|
country: Schema.Attribute.String;
|
|
freeaddress: Schema.Attribute.String;
|
|
housenumber: Schema.Attribute.String;
|
|
lat: Schema.Attribute.Decimal;
|
|
long: Schema.Attribute.Decimal;
|
|
postcode: Schema.Attribute.String;
|
|
road: Schema.Attribute.String;
|
|
};
|
|
}
|
|
|
|
export interface GroupActivity extends Struct.ComponentSchema {
|
|
collectionName: 'components_group_activities';
|
|
info: {
|
|
description: '';
|
|
displayName: 'Activity';
|
|
};
|
|
attributes: {
|
|
activityAvatar: Schema.Attribute.Media<
|
|
'images' | 'files' | 'videos' | 'audios'
|
|
>;
|
|
activityDate: Schema.Attribute.DateTime;
|
|
activityMessage: Schema.Attribute.String;
|
|
activityUser: Schema.Attribute.String;
|
|
};
|
|
}
|
|
|
|
export interface SocialTags extends Struct.ComponentSchema {
|
|
collectionName: 'components_social_tags';
|
|
info: {
|
|
displayName: 'tags';
|
|
icon: 'emotionUnhappy';
|
|
};
|
|
attributes: {
|
|
tag: Schema.Attribute.String;
|
|
};
|
|
}
|
|
|
|
export interface UserLanguage extends Struct.ComponentSchema {
|
|
collectionName: 'components_user_languages';
|
|
info: {
|
|
description: '';
|
|
displayName: 'language';
|
|
icon: 'feather';
|
|
};
|
|
attributes: {
|
|
language: Schema.Attribute.String;
|
|
level: Schema.Attribute.Integer;
|
|
};
|
|
}
|
|
|
|
export interface UserPermissions extends Struct.ComponentSchema {
|
|
collectionName: 'components_user_permissions';
|
|
info: {
|
|
description: '';
|
|
displayName: 'permissions';
|
|
icon: 'key';
|
|
};
|
|
attributes: {
|
|
canRead: Schema.Attribute.Boolean;
|
|
canWrite: Schema.Attribute.Boolean;
|
|
module: Schema.Attribute.Enumeration<
|
|
['information', 'chat', 'board', 'calendar', 'users']
|
|
>;
|
|
};
|
|
}
|
|
|
|
declare module '@strapi/strapi' {
|
|
export module Public {
|
|
export interface ComponentSchemas {
|
|
'address.full-address': AddressFullAddress;
|
|
'group.activity': GroupActivity;
|
|
'social.tags': SocialTags;
|
|
'user.language': UserLanguage;
|
|
'user.permissions': UserPermissions;
|
|
}
|
|
}
|
|
}
|