Home > @infiniteobjects/shopify-data-manager > AdminTypes > Scalars
All built-in and custom scalars, mapped to their actual values
Signature:
export interface Scalars
Property | Modifiers | Type | Description |
---|---|---|---|
ARN | { input: string; output: string; } | An Amazon Web Services Amazon Resource Name (ARN), including the Region and account ID. For more information, refer to [Amazon Resource Names](https://docs.aws.amazon.com/general/latest/gr/aws-arns-and-namespaces.html). | |
Boolean | { input: boolean; output: boolean; } | ||
Date | { input: string; output: string; } | Represents an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-encoded date string. For example, September 7, 2019 is represented as "2019-07-16" . |
|
DateTime | { input: string; output: string; } | Represents an [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)-encoded date and time string. For example, 3:50 pm on September 7, 2019 in the time zone of UTC (Coordinated Universal Time) is represented as "2019-09-07T15:50:00Z ”. |
|
Decimal | { input: string; output: string; } | <p>A signed decimal number, which supports arbitrary precision and is serialized as a string.</p><p>Example values: "29.99" , "29.999" .</p> |
|
Float | { input: number; output: number; } | ||
FormattedString | { input: string; output: string; } | <p>A string containing a strict subset of HTML code. Non-allowed tags will be stripped out. Allowed tags: * a (allowed attributes: href , target ) * b * br * em * i * strong * u Use [HTML](https://shopify.dev/api/admin-graphql/latest/scalars/HTML) instead if you need to include other HTML tags.</p><p>Example value: "Your current domain is <strong>johns-apparel.myshopify.com</strong>." </p> |
|
HTML | { input: string; output: string; } | <p>A string containing HTML code. Refer to the [HTML spec](https://html.spec.whatwg.org/#elements-3) for a complete list of HTML elements.</p><p>Example value: "<p>Grey cotton knit sweater.</p>" </p> |
|
ID | { input: string; output: string; } | ||
Int | { input: number; output: number; } | ||
JSON | { input: Record<string, unknown>; output: Record<string, unknown>; } | <p>A [JSON](https://www.json.org/json-en.html) object.</p><p>Example value: { "product": { "id": "gid://shopify/Product/1346443542550", "title": "White T-shirt", "options": [{ "name": "Size", "values": ["M", "L"] }] } } </p> |
|
Money | { input: string; output: string; } | A monetary value string without a currency symbol or code. Example value: "100.57" . |
|
StorefrontID | { input: string; output: string; } | <p>Represents a unique identifier in the Storefront API. A StorefrontID value can be used wherever an ID is expected in the Storefront API.</p><p>Example value: "Z2lkOi8vc2hvcGlmeS9Qcm9kdWN0LzEwMDc5Nzg1MTAw" .</p> |
|
String | { input: string; output: string; } | ||
UnsignedInt64 | { input: string; output: string; } | <p>An unsigned 64-bit integer. Represents whole numeric values between 0 and 2^64 - 1 encoded as a string of base-10 digits.</p><p>Example value: "50" .</p> |
|
URL | { input: string; output: string; } | <p>Represents an [RFC 3986](https://datatracker.ietf.org/doc/html/rfc3986) and [RFC 3987](https://datatracker.ietf.org/doc/html/rfc3987)-compliant URI string.</p><p>For example, "https://johns-apparel.myshopify.com" is a valid URL. It includes a scheme (https ) and a host (johns-apparel.myshopify.com ).</p> |
|
UtcOffset | { input: string; output: string; } | <p>Time between UTC time and a location’s observed time, in the format "+HH:MM" or "-HH:MM" .</p><p>Example value: "-07:00" .</p> |