File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed
packages/spacecat-shared-data-access/src/models/site Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ export const IMPORT_TYPES = {
3333 TOP_FORMS : 'top-forms' ,
3434 CODE : 'code' ,
3535 USER_ENGAGEMENT : 'user-engagement' ,
36+ CWV_TRENDS_DAILY : 'cwv-trends-daily' ,
3637} ;
3738
3839export const IMPORT_DESTINATIONS = {
@@ -169,6 +170,10 @@ export const IMPORT_TYPE_SCHEMAS = {
169170 type : Joi . string ( ) . valid ( IMPORT_TYPES . USER_ENGAGEMENT ) . required ( ) ,
170171 ...IMPORT_BASE_KEYS ,
171172 } ) ,
173+ [ IMPORT_TYPES . CWV_TRENDS_DAILY ] : Joi . object ( {
174+ type : Joi . string ( ) . valid ( IMPORT_TYPES . CWV_TRENDS_DAILY ) . required ( ) ,
175+ ...IMPORT_BASE_KEYS ,
176+ } ) ,
172177} ;
173178
174179export const DEFAULT_IMPORT_CONFIGS = {
@@ -257,6 +262,12 @@ export const DEFAULT_IMPORT_CONFIGS = {
257262 sources : [ 'rum' ] ,
258263 enabled : true ,
259264 } ,
265+ 'cwv-trends-daily' : {
266+ type : 'cwv-trends-daily' ,
267+ destinations : [ 'default' ] ,
268+ sources : [ 'rum' ] ,
269+ enabled : true ,
270+ } ,
260271} ;
261272
262273export const configSchema = Joi . object ( {
You can’t perform that action at this time.
0 commit comments