UNPKG

@arcgis/core

Version:

ArcGIS Maps SDK for JavaScript: A complete 2D and 3D mapping and data visualization API

33 lines (31 loc) 770 B
import type { JSONSupport } from "../../../../core/JSONSupport.js"; export interface PostResultProperties extends Partial<Pick<PostResult, "success">> { /** * Returns data moments of the post. * * @since 5.0 */ moment?: (Date | number | string) | null; } /** * This contains information about the post result. * * @since 4.28 */ export default class PostResult extends JSONSupport { constructor(properties?: PostResultProperties); /** * Returns data moments of the post. * * @since 5.0 */ get moment(): Date | null | undefined; set moment(value: (Date | number | string) | null | undefined); /** * Specifies if the post rest call was successful. * * @default false * @since 5.0 */ accessor success: boolean; }