47a8a15598
# Introduction Creating dedicated folders and module for both `page-layout-tab` and `page-layout-widget` The addition diff with deletion is due to the module being added
12 lines
424 B
TypeScript
12 lines
424 B
TypeScript
import { registerEnumType } from '@nestjs/graphql';
|
|
|
|
import { ObjectRecordGroupByDateGranularity } from 'twenty-shared/types';
|
|
|
|
registerEnumType(ObjectRecordGroupByDateGranularity, {
|
|
name: 'ObjectRecordGroupByDateGranularity',
|
|
description:
|
|
'Date granularity options (e.g. DAY, MONTH, QUARTER, YEAR, WEEK, DAY_OF_THE_WEEK, MONTH_OF_THE_YEAR, QUARTER_OF_THE_YEAR)',
|
|
});
|
|
|
|
export { ObjectRecordGroupByDateGranularity };
|