From 7c89396ea50162ed52bde0c105a875afec4107d7 Mon Sep 17 00:00:00 2001 From: john gravois Date: Tue, 13 Nov 2018 13:20:23 -0800 Subject: [PATCH] feat(:nail_care:): add modern feature service metadata props to ILayerDefinition AFFECTS PACKAGES: @esri/arcgis-rest-common-types --- .../arcgis-rest-common-types/src/webmap.ts | 30 ++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) diff --git a/packages/arcgis-rest-common-types/src/webmap.ts b/packages/arcgis-rest-common-types/src/webmap.ts index 8af8d51195..5f0711d646 100644 --- a/packages/arcgis-rest-common-types/src/webmap.ts +++ b/packages/arcgis-rest-common-types/src/webmap.ts @@ -850,7 +850,7 @@ export interface ILayerDefinition extends IHasZM { | "esriServerHTMLPopupTypeAsHTMLText"; /** The identifier assigned to the layer. */ - id?: string; + id?: number; /** Boolean value indicating whether the data is versioned. */ isDataVersioned?: boolean; /** Numeric value indicating tbe maximum number of records that will be returned at once for a query. */ @@ -907,6 +907,34 @@ export interface ILayerDefinition extends IHasZM { editDateField?: string; editorField?: string; }; + parentLayerId?: number; + ownershipBasedAccessControlForFeatures?: boolean; + syncCanReturnChanges?: boolean; + archivingInfo?: { + supportsQueryWithHistoricMoment?: boolean; + startArchivingMoment?: number; + }; + supportsValidateSQL?: boolean; + advancedQueryCapabilities?: { + supportsPagination?: boolean; + supportsTrueCurve?: boolean; + supportsQueryWithDistance?: boolean; + supportsReturningQueryExtent?: boolean; + supportsStatistics?: boolean; + supportsOrderBy?: boolean; + supportsDistinct?: boolean; + supportsSqlExpression?: boolean; + }; + allowTrueCurvesUpdates?: boolean; + onlyAllowTrueCurveUpdatesByTrueCurveClients?: boolean; + supportsApplyEditsWithGlobalIds?: boolean; + subtypeField?: string; + indexes?: any[]; + dateFieldsTimeReference?: { + timeZone?: string; + respectsDaylightSaving?: boolean; + }; + useStandardizedQueries?: boolean; } export interface ITypeInfoDomain {