Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@esri/arcgis-rest-types

Package Overview
Dependencies
Maintainers
8
Versions
66
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@esri/arcgis-rest-types - npm Package Compare versions

Comparing version 3.2.1 to 3.3.0

11

dist/types/service.d.ts

@@ -111,3 +111,12 @@ import { ISpatialReference, IExtent } from "./geometry";

export interface IServiceInfo extends Record<string, unknown> {
adminServiceInfo?: Record<string, unknown>;
adminServiceInfo: {
name: string;
type: string;
status: string;
database: {
datasource: {
name: string;
};
};
};
layers: Record<string, unknown>[];

@@ -114,0 +123,0 @@ }

2

dist/types/statisticDefinition.d.ts

@@ -20,3 +20,3 @@ export interface IStatisticDefinition {

*/
outStatisticFieldName: string;
outStatisticFieldName?: string;
}

@@ -9,2 +9,34 @@ import { IExtent, ISpatialReference, GeometryType, IHasZM, IGeometry, IPoint } from "./geometry";

/**
* Domain types
*/
export declare type DomainType = "range" | "codedValue" | "inherited";
/**
* CodedValue type
*/
export declare type ICodedValue = {
/** User-friendly name for what the code means. */
name: string;
/** The value stored in the feature attribute. */
code: string | number;
};
/**
* Information for a field with a domain
*/
export declare type IDomain = {
/** A string defining the domain type. */
type: DomainType;
/** A string defining the field name. */
name?: string;
/** A 2 element array defining the range of possible values. */
range?: [number, number];
/** An array of CodedValues for domains of type codedValue. */
codedValues?: ICodedValue[];
/** Description of the domain */
description?: string;
/** Merge policy */
mergePolicy?: string;
/** Split Policy */
splitPolicy?: string;
};
/**
* Contains information about an attribute field.

@@ -26,3 +58,3 @@ *

/** The domain objects if applicable. */
domain?: any;
domain?: IDomain;
/** A Boolean defining whether this field is editable. */

@@ -29,0 +61,0 @@ editable?: boolean;

{
"name": "@esri/arcgis-rest-types",
"version": "3.2.1",
"version": "3.3.0",
"description": "Shared TypeScript types for @esri/arcgis-rest-js",

@@ -5,0 +5,0 @@ "types": "dist/types/index.d.ts",

@@ -120,3 +120,12 @@ /* Copyright (c) 2018 Environmental Systems Research Institute, Inc.

export interface IServiceInfo extends Record<string, unknown> {
adminServiceInfo?: Record<string, unknown>;
adminServiceInfo: {
name: string;
type: string;
status: string;
database: {
datasource: {
name: string;
};
};
};
layers: Record<string, unknown>[];

@@ -123,0 +132,0 @@ }

@@ -32,3 +32,3 @@ /* Copyright (c) 2017-2018 Environmental Systems Research Institute, Inc.

*/
outStatisticFieldName: string;
outStatisticFieldName?: string;
}

@@ -41,2 +41,40 @@ /* Copyright (c) 2018 Environmental Systems Research Institute, Inc.

/**
* Domain types
*/
export type DomainType =
| "range"
| "codedValue"
| "inherited";
/**
* CodedValue type
*/
export type ICodedValue = {
/** User-friendly name for what the code means. */
name: string;
/** The value stored in the feature attribute. */
code: string | number;
}
/**
* Information for a field with a domain
*/
export type IDomain = {
/** A string defining the domain type. */
type: DomainType;
/** A string defining the field name. */
name?: string;
/** A 2 element array defining the range of possible values. */
range?: [number, number];
/** An array of CodedValues for domains of type codedValue. */
codedValues?: ICodedValue[];
/** Description of the domain */
description?: string,
/** Merge policy */
mergePolicy?: string,
/** Split Policy */
splitPolicy?: string
}
/**
* Contains information about an attribute field.

@@ -58,3 +96,3 @@ *

/** The domain objects if applicable. */
domain?: any;
domain?: IDomain;
/** A Boolean defining whether this field is editable. */

@@ -61,0 +99,0 @@ editable?: boolean;

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc