94 lines
3.2 KiB
TypeScript
94 lines
3.2 KiB
TypeScript
export const resourcesData = [
|
|
{
|
|
name: 'cities',
|
|
description: 'City data management',
|
|
attributes: {
|
|
fields: ['id', 'name', 'code', 'geographic_id', 'created_at', 'updated_at']
|
|
}
|
|
},
|
|
{
|
|
name: 'contact_messages',
|
|
description: 'Contact message management',
|
|
attributes: {
|
|
fields: ['id', 'name', 'email', 'phone', 'message_type', 'message_type_label', 'message', 'status', 'created_at', 'updated_at']
|
|
}
|
|
},
|
|
{
|
|
name: 'crime_incidents',
|
|
description: 'Crime case management',
|
|
attributes: {
|
|
fields: ['id', 'crime_id', 'crime_category_id', 'date', 'time', 'location', 'latitude', 'longitude', 'description', 'victim_count', 'status', 'created_at', 'updated_at']
|
|
}
|
|
},
|
|
{
|
|
name: 'crime_categories',
|
|
description: 'Crime category management',
|
|
attributes: {
|
|
fields: ['id', 'name', 'description', 'created_at', 'updated_at']
|
|
}
|
|
},
|
|
{
|
|
name: 'crimes',
|
|
description: 'Crime data management',
|
|
attributes: {
|
|
fields: ['id', 'district_id', 'city_id', 'year', 'number_of_crime', 'rate', 'heat_map', 'created_at', 'updated_at']
|
|
}
|
|
},
|
|
{
|
|
name: 'demographics',
|
|
description: 'Demographic data management',
|
|
attributes: {
|
|
fields: ['id', 'district_id', 'city_id', 'province_id', 'year', 'population', 'population_density', 'poverty_rate', 'created_at', 'updated_at']
|
|
}
|
|
},
|
|
{
|
|
name: 'districts',
|
|
description: 'District data management',
|
|
attributes: {
|
|
fields: ['id', 'city_id', 'name', 'code', 'created_at', 'updated_at']
|
|
}
|
|
},
|
|
{
|
|
name: 'geographics',
|
|
description: 'Geographic data management',
|
|
attributes: {
|
|
fields: ['id', 'district_id', 'latitude', 'longitude', 'land_area', 'polygon', 'created_at', 'updated_at']
|
|
}
|
|
},
|
|
{
|
|
name: 'profiles',
|
|
description: 'User profile management',
|
|
attributes: {
|
|
fields: ['id', 'user_id', 'avatar', 'username', 'first_name', 'last_name', 'bio', 'address', 'birth_date']
|
|
}
|
|
},
|
|
{
|
|
name: 'users',
|
|
description: 'User account management',
|
|
attributes: {
|
|
fields: ['id', 'roles_id', 'email', 'phone', 'encrypted_password', 'invited_at', 'confirmed_at', 'email_confirmed_at', 'recovery_sent_at', 'last_sign_in_at', 'app_metadata', 'user_metadata', 'created_at', 'updated_at', 'banned_until', 'is_anonymous']
|
|
}
|
|
},
|
|
{
|
|
name: 'roles',
|
|
description: 'Role management',
|
|
attributes: {
|
|
fields: ['id', 'name', 'description', 'created_at', 'updated_at']
|
|
}
|
|
},
|
|
{
|
|
name: 'resources',
|
|
description: 'Resource management',
|
|
attributes: {
|
|
fields: ['id', 'name', 'description', 'instance_role', 'relations', 'attributes', 'created_at', 'updated_at']
|
|
}
|
|
},
|
|
{
|
|
name: 'permissions',
|
|
description: 'Permission management',
|
|
attributes: {
|
|
fields: ['id', 'action', 'resource_id', 'role_id', 'created_at', 'updated_at']
|
|
}
|
|
}
|
|
];
|