@ -3,9 +3,7 @@ import {
|
||||
IconLink,
|
||||
IconNumbers,
|
||||
IconPlug,
|
||||
IconSocial,
|
||||
IconTextSize,
|
||||
IconUserCircle,
|
||||
} from '@/ui/display/icon';
|
||||
import { IconComponent } from '@/ui/display/icon/types/IconComponent';
|
||||
|
||||
@ -17,9 +15,7 @@ export const dataTypes: Record<
|
||||
> = {
|
||||
number: { label: 'Number', Icon: IconNumbers },
|
||||
text: { label: 'Text', Icon: IconTextSize },
|
||||
link: { label: 'Link', Icon: IconLink },
|
||||
teammate: { label: 'Team member', Icon: IconUserCircle },
|
||||
url: { label: 'Link', Icon: IconLink },
|
||||
boolean: { label: 'True/False', Icon: IconCheck },
|
||||
relation: { label: 'Relation', Icon: IconPlug },
|
||||
social: { label: 'Social', Icon: IconSocial },
|
||||
};
|
||||
|
||||
@ -1,42 +1,4 @@
|
||||
import {
|
||||
IconBrandLinkedin,
|
||||
IconBrandTwitter,
|
||||
IconBuildingSkyscraper,
|
||||
IconCurrencyDollar,
|
||||
IconFreeRights,
|
||||
IconGraph,
|
||||
IconHeadphones,
|
||||
IconLink,
|
||||
IconLuggage,
|
||||
IconMouse2,
|
||||
IconPlane,
|
||||
IconTarget,
|
||||
IconUser,
|
||||
IconUserCircle,
|
||||
IconUsers,
|
||||
} from '@/ui/display/icon';
|
||||
|
||||
import { ObjectFieldItem } from '../types/ObjectFieldItem';
|
||||
|
||||
export const activeObjectItems = [
|
||||
{
|
||||
name: 'Companies',
|
||||
singularName: 'Company',
|
||||
Icon: IconBuildingSkyscraper,
|
||||
type: 'standard',
|
||||
fields: 23,
|
||||
instances: 165,
|
||||
description: 'Lorem ipsum',
|
||||
},
|
||||
{
|
||||
name: 'People',
|
||||
singularName: 'Person',
|
||||
Icon: IconUser,
|
||||
type: 'standard',
|
||||
fields: 16,
|
||||
instances: 462,
|
||||
},
|
||||
];
|
||||
import { IconMouse2 } from '@/ui/display/icon';
|
||||
|
||||
export const standardObjects = [
|
||||
{
|
||||
@ -52,92 +14,3 @@ export const standardObjects = [
|
||||
description: 'Individuals who interact with your website',
|
||||
},
|
||||
];
|
||||
|
||||
export const disabledObjectItems = [
|
||||
{
|
||||
name: 'Travels',
|
||||
Icon: IconLuggage,
|
||||
type: 'custom',
|
||||
fields: 23,
|
||||
instances: 165,
|
||||
},
|
||||
{
|
||||
name: 'Flights',
|
||||
Icon: IconPlane,
|
||||
type: 'custom',
|
||||
fields: 23,
|
||||
instances: 165,
|
||||
},
|
||||
];
|
||||
|
||||
export const activeFieldItems: ObjectFieldItem[] = [
|
||||
{
|
||||
name: 'People',
|
||||
Icon: IconUser,
|
||||
type: 'standard',
|
||||
dataType: 'relation',
|
||||
},
|
||||
{
|
||||
name: 'URL',
|
||||
Icon: IconLink,
|
||||
type: 'standard',
|
||||
dataType: 'text',
|
||||
},
|
||||
{
|
||||
name: 'Linkedin',
|
||||
Icon: IconBrandLinkedin,
|
||||
type: 'standard',
|
||||
dataType: 'social',
|
||||
},
|
||||
{
|
||||
name: 'Account Owner',
|
||||
Icon: IconUserCircle,
|
||||
type: 'standard',
|
||||
dataType: 'teammate',
|
||||
},
|
||||
{
|
||||
name: 'Employees',
|
||||
Icon: IconUsers,
|
||||
type: 'custom',
|
||||
dataType: 'number',
|
||||
},
|
||||
];
|
||||
|
||||
export const disabledFieldItems: ObjectFieldItem[] = [
|
||||
{
|
||||
name: 'ICP',
|
||||
Icon: IconTarget,
|
||||
type: 'standard',
|
||||
dataType: 'boolean',
|
||||
},
|
||||
{
|
||||
name: 'Twitter',
|
||||
Icon: IconBrandTwitter,
|
||||
type: 'standard',
|
||||
dataType: 'social',
|
||||
},
|
||||
{
|
||||
name: 'Annual revenue',
|
||||
Icon: IconCurrencyDollar,
|
||||
type: 'standard',
|
||||
dataType: 'number',
|
||||
},
|
||||
{
|
||||
name: 'Is public',
|
||||
Icon: IconGraph,
|
||||
type: 'standard',
|
||||
dataType: 'boolean',
|
||||
},
|
||||
{
|
||||
name: 'Free tier?',
|
||||
Icon: IconFreeRights,
|
||||
type: 'custom',
|
||||
dataType: 'boolean',
|
||||
},
|
||||
{
|
||||
name: 'Priority support',
|
||||
Icon: IconHeadphones,
|
||||
type: 'custom',
|
||||
dataType: 'boolean',
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user