#' staypuft fields
#'
#' @export
#' @name fields
#' @section Types of fields:
#'
#' - [Missing]
#' - [Character]
#' - [UUID]
#' - [Number]
#' - [Integer]
#' - [Boolean]
#' - [Any]
#' - [Date]
#' - [Nested]
#' - [Url]
#' - [Email]
#' - [NamedList]
#' - more coming soon
#'
#' @section Usage:
#' You can use any supported fields in the `fields` object.
#'
#' You can call the field like `fields$character()`,
#' or pass supported arguments like `fields$character(data_key = "foobar")`
#'
#' @examples
#' fields
#' fields$character()
fields <- list(
field = function(...) Field$new(...),
missing = function(...) Missing$new(...),
character = function(...) Character$new(...),
number = function(...) Number$new(...),
integer = function(...) Integer$new(...),
uuid = function(...) UUID$new(...),
boolean = function(...) Boolean$new(...),
any = function(...) Any$new(...),
date = function(...) XDate$new(...),
nested = function(...) Nested$new(...),
url = function(...) Url$new(...),
email = function(...) Email$new(...),
named_list = function(...) NamedList$new(...)
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.