Function sdkOptions

  • Parameters

    • options: any

      sdk filterOptions

    Returns { [key: string]: string } | { sort: any }

    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'),
    },
    },
    ),
    )