Skip to content

Commit

Permalink
fix(:musical_keyboard:): more types for new services/layer definitions
Browse files Browse the repository at this point in the history
AFFECTS PACKAGES:
@esri/arcgis-rest-common-types
@esri/arcgis-rest-feature-service-admin
  • Loading branch information
jgravois committed Oct 11, 2018
1 parent 9abc0fa commit 8bdb30b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
6 changes: 6 additions & 0 deletions packages/arcgis-rest-common-types/src/webmap.ts
Original file line number Diff line number Diff line change
Expand Up @@ -901,6 +901,12 @@ export interface ILayerDefinition extends IHasZM {
*/
visibilityField?: string;
relationships?: any[];
editFieldsInfo?: {
creationDateField?: string;
creatorField?: string;
editDateField?: string;
editorField?: string;
};
}

export interface ITypeInfoDomain {
Expand Down
12 changes: 12 additions & 0 deletions packages/arcgis-rest-feature-service-admin/src/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,18 @@ export interface ICreateServiceParams {
* A JSON object specifying the properties of cross-site scripting prevention.
*/
xssPreventionInfo?: any;
/**
* Editor tracking info.
*/
editorTrackingInfo?: {
enableEditorTracking?: boolean;
enableOwnershipAccessControl?: boolean;
allowOthersToUpdate?: boolean;
allowOthersToDelete?: boolean;
allowOthersToQuery?: boolean;
allowAnonymousToUpdate?: boolean;
allowAnonymousToDelete?: boolean;
};
}

export interface ICreateServiceRequestOptions extends IItemCrudRequestOptions {
Expand Down

0 comments on commit 8bdb30b

Please sign in to comment.