@esri/arcgis-rest-common-types
Advanced tools
Comparing version 1.2.1 to 1.3.0
@@ -0,1 +1,2 @@ | ||
export * from "./webmap"; | ||
/** | ||
@@ -35,11 +36,28 @@ * an arc can be represented as a JSON curve object | ||
}; | ||
symbol?: ISymbol; | ||
} | ||
/** | ||
* | ||
* Field type. | ||
*/ | ||
export declare type esriFieldType = "esriFieldTypeBlob" | "esriFieldTypeDate" | "esriFieldTypeDouble" | "esriFieldTypeGeometry" | "esriFieldTypeGlobalID" | "esriFieldTypeGUID" | "esriFieldTypeInteger" | "esriFieldTypeOID" | "esriFieldTypeRaster" | "esriFieldTypeSingle" | "esriFieldTypeSmallInteger" | "esriFieldTypeString" | "esriFieldTypeXML"; | ||
/** | ||
* Contains information about an attribute field. | ||
*/ | ||
export interface IField { | ||
/** A string defining the field name. */ | ||
name: string; | ||
type: string; | ||
/** A string defining the field type. */ | ||
type: esriFieldType; | ||
/** A string defining the field alias. */ | ||
alias?: string; | ||
/** The domain objects if applicable. */ | ||
domain?: any; | ||
/** A Boolean defining whether this field is editable. */ | ||
editable?: boolean; | ||
/** A Boolean defining whether or not the field is an exact match. */ | ||
exactMatch?: boolean; | ||
/** A number defining how many characters are allowed in a string. field. */ | ||
length?: number; | ||
/** A Boolean defining whether this field can have a null value. */ | ||
nullable?: boolean; | ||
} | ||
@@ -46,0 +64,0 @@ /** |
{ | ||
"name": "@esri/arcgis-rest-common-types", | ||
"version": "1.2.1", | ||
"version": "1.3.0", | ||
"description": "Common TypeScript types for @esri/arcgis-rest-* packages.", | ||
@@ -9,3 +9,3 @@ "types": "dist/types/index.d.ts", | ||
"files": [ | ||
"dist/types/index.d.ts" | ||
"dist/types/*.d.ts" | ||
], | ||
@@ -15,4 +15,3 @@ "scripts": { | ||
"build": "npm run build:esm", | ||
"build:esm": "tsc --module es2015 --outDir ./dist/esm --sourceMap --declaration --declarationDir ./dist/types", | ||
"postbuild": "rimraf dist/esm" | ||
"build:esm": "tsc" | ||
}, | ||
@@ -19,0 +18,0 @@ "publishConfig": { |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
70794
4
1416
2