feat(core): add createdBy property to default property (#8642)

close AF-1563
This commit is contained in:
JimmFly
2024-10-31 05:01:52 +00:00
parent d96cc097c2
commit 0f9d11fd5c
2 changed files with 8 additions and 0 deletions

View File

@@ -33,4 +33,10 @@ export const BUILT_IN_CUSTOM_PROPERTY_TYPE = [
type: 'updatedAt', type: 'updatedAt',
index: 'a0000005', index: 'a0000005',
}, },
{
id: 'createdBy',
type: 'createdBy',
show: 'always-hide',
index: 'a0000006',
},
] as DocCustomPropertyInfo[]; ] as DocCustomPropertyInfo[];

View File

@@ -128,6 +128,7 @@ test('property table reordering', async ({ page }) => {
'Journal', 'Journal',
'Created at', 'Created at',
'Updated at', 'Updated at',
'Created by',
'Number', 'Number',
'Date', 'Date',
'Checkbox', 'Checkbox',
@@ -170,6 +171,7 @@ test('page info show more will show all properties', async ({ page }) => {
'Journal', 'Journal',
'Created at', 'Created at',
'Updated at', 'Updated at',
'Created by',
'Text', 'Text',
'Number', 'Number',
'Date', 'Date',