Attachments (#2716)
* create attachment site * add deletion * - fix person create attachment * - add presentation type - add some more file endings - various fixes
This commit is contained in:
@ -172,10 +172,12 @@ export const seedAttachmentFieldMetadata = async (
|
||||
type: FieldMetadataType.RELATION,
|
||||
name: 'author',
|
||||
label: 'Author',
|
||||
targetColumnMap: {},
|
||||
targetColumnMap: {
|
||||
value: 'authorId',
|
||||
},
|
||||
description: 'Attachment author',
|
||||
icon: 'IconCircleUser',
|
||||
isNullable: false,
|
||||
isNullable: true,
|
||||
isSystem: false,
|
||||
defaultValue: undefined,
|
||||
},
|
||||
@ -204,10 +206,12 @@ export const seedAttachmentFieldMetadata = async (
|
||||
type: FieldMetadataType.RELATION,
|
||||
name: 'activity',
|
||||
label: 'Activity',
|
||||
targetColumnMap: {},
|
||||
targetColumnMap: {
|
||||
value: 'activityId',
|
||||
},
|
||||
description: 'Attachment activity',
|
||||
icon: 'IconNotes',
|
||||
isNullable: false,
|
||||
isNullable: true,
|
||||
isSystem: false,
|
||||
defaultValue: undefined,
|
||||
},
|
||||
@ -223,7 +227,7 @@ export const seedAttachmentFieldMetadata = async (
|
||||
targetColumnMap: {},
|
||||
description: 'Attachment activity id foreign key',
|
||||
icon: undefined,
|
||||
isNullable: false,
|
||||
isNullable: true,
|
||||
isSystem: true,
|
||||
defaultValue: undefined,
|
||||
},
|
||||
@ -236,10 +240,12 @@ export const seedAttachmentFieldMetadata = async (
|
||||
type: FieldMetadataType.RELATION,
|
||||
name: 'person',
|
||||
label: 'Person',
|
||||
targetColumnMap: {},
|
||||
targetColumnMap: {
|
||||
value: 'personId',
|
||||
},
|
||||
description: 'Attachment person',
|
||||
icon: 'IconUser',
|
||||
isNullable: false,
|
||||
isNullable: true,
|
||||
isSystem: false,
|
||||
defaultValue: undefined,
|
||||
},
|
||||
@ -255,7 +261,7 @@ export const seedAttachmentFieldMetadata = async (
|
||||
targetColumnMap: {},
|
||||
description: 'Attachment person id foreign key',
|
||||
icon: undefined,
|
||||
isNullable: false,
|
||||
isNullable: true,
|
||||
isSystem: true,
|
||||
defaultValue: undefined,
|
||||
},
|
||||
@ -268,10 +274,12 @@ export const seedAttachmentFieldMetadata = async (
|
||||
type: FieldMetadataType.RELATION,
|
||||
name: 'company',
|
||||
label: 'Company',
|
||||
targetColumnMap: {},
|
||||
targetColumnMap: {
|
||||
value: 'companyId',
|
||||
},
|
||||
description: 'Attachment company',
|
||||
icon: 'IconBuildingSkyscraper',
|
||||
isNullable: false,
|
||||
isNullable: true,
|
||||
isSystem: false,
|
||||
defaultValue: undefined,
|
||||
},
|
||||
@ -287,7 +295,7 @@ export const seedAttachmentFieldMetadata = async (
|
||||
targetColumnMap: {},
|
||||
description: 'Attachment company id foreign key',
|
||||
icon: undefined,
|
||||
isNullable: false,
|
||||
isNullable: true,
|
||||
isSystem: true,
|
||||
defaultValue: undefined,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user