Takes ec.sdk filterOptions, outputs an entrecode filter
sdk filterOptions
await dsbApi.model('admin_news').entries( sdkOptions( { _count: 3, adminNotification: true, startDate: { to: dayjs().format('YYYY-MM-DD'), }, endDate: { from: dayjs().format('YYYY-MM-DD'), }, }, ),) Copy
await dsbApi.model('admin_news').entries( sdkOptions( { _count: 3, adminNotification: true, startDate: { to: dayjs().format('YYYY-MM-DD'), }, endDate: { from: dayjs().format('YYYY-MM-DD'), }, }, ),)
Takes ec.sdk filterOptions, outputs an entrecode filter