etincidunt 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- package/.prettierignore +2 -0
- package/.travis.yml +29 -0
- package/.vscode/launch.json +24 -0
- package/.vscode/settings.json +3 -0
- package/demos/ago-node-cli/README.md +29 -0
- package/demos/ago-node-cli/ago.js +32 -0
- package/demos/ago-node-cli/index.js +11 -0
- package/demos/ago-node-cli/lib/item-export-command.js +48 -0
- package/demos/ago-node-cli/lib/item-search-command.js +35 -0
- package/demos/ago-node-cli/package-lock.json +172 -0
- package/demos/ago-node-cli/package.json +30 -0
- package/demos/attachments/README.md +5 -0
- package/demos/attachments/index.html +164 -0
- package/demos/attachments/package-lock.json +182 -0
- package/demos/attachments/package.json +18 -0
- package/demos/batch-geocoder-node/NYC_Restaurant_Inspection_Results.csv +100 -0
- package/demos/batch-geocoder-node/README.md +14 -0
- package/demos/batch-geocoder-node/batch-geocode.js +112 -0
- package/demos/batch-geocoder-node/config-template.js +18 -0
- package/demos/batch-geocoder-node/package-lock.json +109 -0
- package/demos/batch-geocoder-node/package.json +37 -0
- package/demos/express/README.md +10 -0
- package/demos/express/config.json.template +3 -0
- package/demos/express/package-lock.json +388 -0
- package/demos/express/package.json +18 -0
- package/demos/express/server.js +28 -0
- package/demos/feature-service-browser/README.md +6 -0
- package/demos/feature-service-browser/index.html +122 -0
- package/demos/feature-service-browser/package-lock.json +182 -0
- package/demos/feature-service-browser/package.json +18 -0
- package/demos/geocoder-browser/README.md +10 -0
- package/demos/geocoder-browser/config.js.template +1 -0
- package/demos/geocoder-browser/index.html +131 -0
- package/demos/geocoder-browser/package-lock.json +163 -0
- package/demos/geocoder-browser/package.json +19 -0
- package/demos/geocoder-browser/post-sign-in.html +25 -0
- package/demos/jsapi-integration/README.md +8 -0
- package/demos/jsapi-integration/config.js +6 -0
- package/demos/jsapi-integration/index.html +79 -0
- package/demos/jsapi-integration/package-lock.json +184 -0
- package/demos/jsapi-integration/package.json +19 -0
- package/demos/oauth2-browser/README.md +12 -0
- package/demos/oauth2-browser/authenticate.html +32 -0
- package/demos/oauth2-browser/config.js.template +6 -0
- package/demos/oauth2-browser/index.html +202 -0
- package/demos/oauth2-browser/logo.svg +4 -0
- package/demos/oauth2-browser/package-lock.json +163 -0
- package/demos/oauth2-browser/package.json +18 -0
- package/demos/oauth2-browser/style.css +36 -0
- package/demos/vue/.babelrc +6 -0
- package/demos/vue/.env.example +8 -0
- package/demos/vue/README.md +17 -0
- package/demos/vue/index.html +21 -0
- package/demos/vue/package-lock.json +7236 -0
- package/demos/vue/package.json +39 -0
- package/demos/vue/src/assets/logo.svg +29 -0
- package/demos/vue/src/components/App.vue +302 -0
- package/demos/vue/src/components/Authenticate.vue +68 -0
- package/demos/vue/src/components/Loader.vue +216 -0
- package/demos/vue/src/main.js +75 -0
- package/demos/vue/webpack.config.js +84 -0
- package/docs/FAQ.md +28 -0
- package/docs/HISTORY.md +62 -0
- package/docs/acetate.config.js +214 -0
- package/docs/build-typedoc.js +301 -0
- package/docs/src/_layout.html +82 -0
- package/docs/src/api/_declaration.html +496 -0
- package/docs/src/api/_layout.html +127 -0
- package/docs/src/api/_package.html +13 -0
- package/docs/src/api/index.html +23 -0
- package/docs/src/guides/_layout.html +24 -0
- package/docs/src/guides/amd-requirejs-dojo.md +40 -0
- package/docs/src/guides/babel-and-rollup.md +30 -0
- package/docs/src/guides/babel-and-webpack.md +30 -0
- package/docs/src/guides/browser-authentication.md +9 -0
- package/docs/src/guides/browserify.md +9 -0
- package/docs/src/guides/cli-authentication.md +9 -0
- package/docs/src/guides/client-server-authentication.md +9 -0
- package/docs/src/guides/from-a-cdn.md +36 -0
- package/docs/src/guides/index.md +52 -0
- package/docs/src/guides/node.md +30 -0
- package/docs/src/guides/package-overview.md +8 -0
- package/docs/src/guides/server-authentication.md +9 -0
- package/docs/src/guides/typescript-and-webpack.md +9 -0
- package/docs/src/img/icons.png +0 -0
- package/docs/src/img/icons@2x.png +0 -0
- package/docs/src/index.html +12 -0
- package/docs/src/js/api-search.js +113 -0
- package/docs/src/js/index.js +1 -0
- package/docs/src/js/nav-toggle.js +41 -0
- package/docs/src/sass/_highlight.scss +96 -0
- package/docs/src/sass/_icons.scss +157 -0
- package/docs/src/sass/style.scss +169 -0
- package/jasmine.json +7 -0
- package/karma.conf.js +100 -0
- package/lerna.json +8 -0
- package/notes/README.md +88 -0
- package/package.json +91 -0
- package/packages/arcgis-rest-auth/README.md +64 -0
- package/packages/arcgis-rest-auth/package-lock.json +11 -0
- package/packages/arcgis-rest-auth/package.json +51 -0
- package/packages/arcgis-rest-auth/src/ApplicationSession.ts +91 -0
- package/packages/arcgis-rest-auth/src/UserSession.ts +829 -0
- package/packages/arcgis-rest-auth/src/authenticated-request-options.ts +21 -0
- package/packages/arcgis-rest-auth/src/fetch-token.ts +55 -0
- package/packages/arcgis-rest-auth/src/generate-token.ts +36 -0
- package/packages/arcgis-rest-auth/src/index.ts +5 -0
- package/packages/arcgis-rest-auth/test/ApplicationSession.test.ts +121 -0
- package/packages/arcgis-rest-auth/test/UserSession.test.ts +883 -0
- package/packages/arcgis-rest-auth/test/fetchToken.test.ts +76 -0
- package/packages/arcgis-rest-auth/test/generateToken.test.ts +36 -0
- package/packages/arcgis-rest-auth/test/utils.ts +11 -0
- package/packages/arcgis-rest-auth/tsconfig.json +6 -0
- package/packages/arcgis-rest-common-types/README.md +61 -0
- package/packages/arcgis-rest-common-types/package.json +38 -0
- package/packages/arcgis-rest-common-types/src/group.ts +51 -0
- package/packages/arcgis-rest-common-types/src/index.ts +467 -0
- package/packages/arcgis-rest-common-types/src/item.ts +45 -0
- package/packages/arcgis-rest-common-types/src/webmap.ts +1225 -0
- package/packages/arcgis-rest-common-types/tsconfig.json +11 -0
- package/packages/arcgis-rest-feature-service/README.md +70 -0
- package/packages/arcgis-rest-feature-service/package-lock.json +11 -0
- package/packages/arcgis-rest-feature-service/package.json +50 -0
- package/packages/arcgis-rest-feature-service/src/add.ts +82 -0
- package/packages/arcgis-rest-feature-service/src/addAttachment.ts +65 -0
- package/packages/arcgis-rest-feature-service/src/delete.ts +85 -0
- package/packages/arcgis-rest-feature-service/src/deleteAttachments.ts +68 -0
- package/packages/arcgis-rest-feature-service/src/getAttachments.ts +64 -0
- package/packages/arcgis-rest-feature-service/src/helpers.ts +77 -0
- package/packages/arcgis-rest-feature-service/src/index.ts +8 -0
- package/packages/arcgis-rest-feature-service/src/query.ts +174 -0
- package/packages/arcgis-rest-feature-service/src/update.ts +81 -0
- package/packages/arcgis-rest-feature-service/src/updateAttachment.ts +74 -0
- package/packages/arcgis-rest-feature-service/test/attachments.test.ts +179 -0
- package/packages/arcgis-rest-feature-service/test/features.test.ts +172 -0
- package/packages/arcgis-rest-feature-service/test/mocks/feature.ts +220 -0
- package/packages/arcgis-rest-feature-service/test/mocks/foo.txt +1 -0
- package/packages/arcgis-rest-feature-service/tsconfig.json +6 -0
- package/packages/arcgis-rest-geocoder/README.md +73 -0
- package/packages/arcgis-rest-geocoder/package-lock.json +11 -0
- package/packages/arcgis-rest-geocoder/package.json +52 -0
- package/packages/arcgis-rest-geocoder/src/bulk.ts +102 -0
- package/packages/arcgis-rest-geocoder/src/geocode.ts +117 -0
- package/packages/arcgis-rest-geocoder/src/helpers.ts +81 -0
- package/packages/arcgis-rest-geocoder/src/index.ts +4 -0
- package/packages/arcgis-rest-geocoder/src/reverse.ts +84 -0
- package/packages/arcgis-rest-geocoder/src/suggest.ts +72 -0
- package/packages/arcgis-rest-geocoder/test/geocoder.test.ts +510 -0
- package/packages/arcgis-rest-geocoder/test/mocks/responses.ts +588 -0
- package/packages/arcgis-rest-geocoder/tsconfig.json +6 -0
- package/packages/arcgis-rest-groups/README.md +64 -0
- package/packages/arcgis-rest-groups/package-lock.json +11 -0
- package/packages/arcgis-rest-groups/package.json +52 -0
- package/packages/arcgis-rest-groups/src/groups.ts +272 -0
- package/packages/arcgis-rest-groups/src/index.ts +1 -0
- package/packages/arcgis-rest-groups/test/groups.test.ts +280 -0
- package/packages/arcgis-rest-groups/test/mocks/responses.ts +137 -0
- package/packages/arcgis-rest-groups/tsconfig.json +6 -0
- package/packages/arcgis-rest-items/README.md +66 -0
- package/packages/arcgis-rest-items/package-lock.json +11 -0
- package/packages/arcgis-rest-items/package.json +52 -0
- package/packages/arcgis-rest-items/src/index.ts +1 -0
- package/packages/arcgis-rest-items/src/items.ts +498 -0
- package/packages/arcgis-rest-items/test/items.test.ts +1153 -0
- package/packages/arcgis-rest-items/test/mocks/foo.zip +0 -0
- package/packages/arcgis-rest-items/test/mocks/item.ts +30 -0
- package/packages/arcgis-rest-items/test/mocks/resources.ts +28 -0
- package/packages/arcgis-rest-items/test/mocks/search.ts +60 -0
- package/packages/arcgis-rest-items/tsconfig.json +6 -0
- package/packages/arcgis-rest-request/README.md +65 -0
- package/packages/arcgis-rest-request/package-lock.json +11 -0
- package/packages/arcgis-rest-request/package.json +42 -0
- package/packages/arcgis-rest-request/src/index.ts +10 -0
- package/packages/arcgis-rest-request/src/request.ts +259 -0
- package/packages/arcgis-rest-request/src/utils/ArcGISAuthError.ts +67 -0
- package/packages/arcgis-rest-request/src/utils/ArcGISRequestError.ts +73 -0
- package/packages/arcgis-rest-request/src/utils/ErrorTypes.ts +29 -0
- package/packages/arcgis-rest-request/src/utils/check-for-errors.ts +65 -0
- package/packages/arcgis-rest-request/src/utils/encode-form-data.ts +29 -0
- package/packages/arcgis-rest-request/src/utils/encode-query-string.ts +23 -0
- package/packages/arcgis-rest-request/src/utils/get-portal-url.ts +25 -0
- package/packages/arcgis-rest-request/src/utils/get-portal.ts +45 -0
- package/packages/arcgis-rest-request/src/utils/process-params.ts +99 -0
- package/packages/arcgis-rest-request/test/mocks/errors.ts +59 -0
- package/packages/arcgis-rest-request/test/mocks/geojson-feature-collection.ts +10 -0
- package/packages/arcgis-rest-request/test/mocks/portal.ts +109 -0
- package/packages/arcgis-rest-request/test/mocks/sharing-rest-info.ts +38 -0
- package/packages/arcgis-rest-request/test/mocks/webmap.ts +38 -0
- package/packages/arcgis-rest-request/test/request.test.ts +296 -0
- package/packages/arcgis-rest-request/test/utils/ArcGISAuthError.test.ts +167 -0
- package/packages/arcgis-rest-request/test/utils/ArcGISRequestError.test.ts +40 -0
- package/packages/arcgis-rest-request/test/utils/check-for-errors.test.ts +101 -0
- package/packages/arcgis-rest-request/test/utils/encode-form-data.test.ts +112 -0
- package/packages/arcgis-rest-request/test/utils/get-portal-url.test.ts +34 -0
- package/packages/arcgis-rest-request/test/utils/portal.test.ts +94 -0
- package/packages/arcgis-rest-request/test/utils/process-params.test.ts +190 -0
- package/packages/arcgis-rest-request/tsconfig.json +6 -0
- package/packages/arcgis-rest-sharing/README.md +67 -0
- package/packages/arcgis-rest-sharing/package-lock.json +11 -0
- package/packages/arcgis-rest-sharing/package.json +55 -0
- package/packages/arcgis-rest-sharing/src/access.ts +91 -0
- package/packages/arcgis-rest-sharing/src/group-sharing.ts +212 -0
- package/packages/arcgis-rest-sharing/src/helpers.ts +92 -0
- package/packages/arcgis-rest-sharing/src/index.ts +2 -0
- package/packages/arcgis-rest-sharing/test/access.test.ts +153 -0
- package/packages/arcgis-rest-sharing/test/group-sharing.test.ts +436 -0
- package/packages/arcgis-rest-sharing/test/mocks/sharing.ts +15 -0
- package/packages/arcgis-rest-sharing/tsconfig.json +6 -0
- package/packages/arcgis-rest-users/README.md +71 -0
- package/packages/arcgis-rest-users/package-lock.json +11 -0
- package/packages/arcgis-rest-users/package.json +51 -0
- package/packages/arcgis-rest-users/src/index.ts +1 -0
- package/packages/arcgis-rest-users/src/users.ts +70 -0
- package/packages/arcgis-rest-users/test/mocks/responses.ts +170 -0
- package/packages/arcgis-rest-users/test/users.test.ts +97 -0
- package/packages/arcgis-rest-users/tsconfig.json +6 -0
- package/support/FormData.d.ts +1 -0
- package/support/changelog.js +388 -0
- package/support/commit-template.txt +19 -0
- package/support/deploy-doc-site.js +16 -0
- package/support/publish.sh +40 -0
- package/support/test-helpers.js +8 -0
- package/tsconfig.json +69 -0
- package/tslint.json +14 -0
- package/umd-base-profile.js +82 -0
- package/umd-production-profile.js +13 -0
@@ -0,0 +1,137 @@
|
|
1
|
+
import {
|
2
|
+
IGroupSearchResult,
|
3
|
+
IGroupContentResult,
|
4
|
+
IGroupUsersResult
|
5
|
+
} from "../../src/groups";
|
6
|
+
|
7
|
+
import { IGroup } from "@esri/arcgis-rest-common-types";
|
8
|
+
|
9
|
+
export const GroupSearchResponse: IGroupSearchResult = {
|
10
|
+
query: "* AND owner:dcadmin",
|
11
|
+
total: 358,
|
12
|
+
start: 1,
|
13
|
+
num: 1,
|
14
|
+
nextStart: 2,
|
15
|
+
results: [
|
16
|
+
{
|
17
|
+
id: "ef45564655144f15b5903d05a24493d9",
|
18
|
+
title: "0 alex test",
|
19
|
+
isInvitationOnly: false,
|
20
|
+
owner: "dcadmin",
|
21
|
+
description: null,
|
22
|
+
snippet: "alex test",
|
23
|
+
tags: ["7320", "test", "alex"],
|
24
|
+
phone: null,
|
25
|
+
sortField: "title",
|
26
|
+
sortOrder: "asc",
|
27
|
+
isViewOnly: false,
|
28
|
+
isFav: false,
|
29
|
+
isOpenData: true,
|
30
|
+
thumbnail: null,
|
31
|
+
created: 1427987785000,
|
32
|
+
modified: 1490731120000,
|
33
|
+
provider: null,
|
34
|
+
providerGroupName: null,
|
35
|
+
isReadOnly: false,
|
36
|
+
access: "public",
|
37
|
+
capabilities: [],
|
38
|
+
protected: false,
|
39
|
+
autoJoin: false,
|
40
|
+
notificationsEnabled: false
|
41
|
+
}
|
42
|
+
]
|
43
|
+
};
|
44
|
+
|
45
|
+
export const GroupEditResponse: any = {
|
46
|
+
success: true,
|
47
|
+
id: "3efakegroupid"
|
48
|
+
};
|
49
|
+
|
50
|
+
export const GroupUsersResponse: IGroupUsersResult = {
|
51
|
+
owner: "vader",
|
52
|
+
admins: ["vader", "tarkin"],
|
53
|
+
users: ["luke", "leia"]
|
54
|
+
};
|
55
|
+
|
56
|
+
export const GroupResponse: IGroup = {
|
57
|
+
id: "ef45564655144f15b5903d05a24493d9",
|
58
|
+
title: "0 alex test",
|
59
|
+
isInvitationOnly: false,
|
60
|
+
owner: "dcadmin",
|
61
|
+
description: "",
|
62
|
+
snippet: "alex test",
|
63
|
+
tags: ["7320", "test", "alex"],
|
64
|
+
phone: "",
|
65
|
+
sortField: "title",
|
66
|
+
sortOrder: "asc",
|
67
|
+
isViewOnly: false,
|
68
|
+
isFav: false,
|
69
|
+
isOpenData: true,
|
70
|
+
thumbnail: null,
|
71
|
+
created: 1427987785000,
|
72
|
+
modified: 1490731120000,
|
73
|
+
provider: null,
|
74
|
+
providerGroupName: null,
|
75
|
+
isReadOnly: false,
|
76
|
+
access: "public",
|
77
|
+
capabilities: [],
|
78
|
+
userMembership: {
|
79
|
+
username: "dcadmin",
|
80
|
+
memberType: "owner",
|
81
|
+
applications: 0
|
82
|
+
},
|
83
|
+
collaborationInfo: {},
|
84
|
+
protected: false,
|
85
|
+
autoJoin: false,
|
86
|
+
notificationsEnabled: false
|
87
|
+
};
|
88
|
+
|
89
|
+
export const GroupContentResponse: IGroupContentResult = {
|
90
|
+
total: 36,
|
91
|
+
start: 1,
|
92
|
+
num: 1,
|
93
|
+
nextStart: 2,
|
94
|
+
items: [
|
95
|
+
{
|
96
|
+
id: "59dd250ab1a54660b11f4f3434a3e481",
|
97
|
+
owner: "dcadmin",
|
98
|
+
created: 1410610860000,
|
99
|
+
modified: 1498835611000,
|
100
|
+
guid: null,
|
101
|
+
name: "LivingAtlasThemes.pdf",
|
102
|
+
title: "LivingAtlasThemes",
|
103
|
+
type: "PDF",
|
104
|
+
typeKeywords: ["Data", "Document", "PDF"],
|
105
|
+
description: null,
|
106
|
+
tags: ["doc"],
|
107
|
+
snippet: null,
|
108
|
+
thumbnail: "thumbnail/ago_downloaded.png",
|
109
|
+
documentation: null,
|
110
|
+
extent: [],
|
111
|
+
categories: [],
|
112
|
+
spatialReference: null,
|
113
|
+
accessInformation: null,
|
114
|
+
licenseInfo: "CC0",
|
115
|
+
culture: "en-us",
|
116
|
+
properties: null,
|
117
|
+
url: null,
|
118
|
+
proxyFilter: null,
|
119
|
+
access: "public",
|
120
|
+
size: 75476,
|
121
|
+
appCategories: [],
|
122
|
+
industries: [],
|
123
|
+
languages: [],
|
124
|
+
largeThumbnail: null,
|
125
|
+
banner: null,
|
126
|
+
screenshots: [],
|
127
|
+
listed: false,
|
128
|
+
numComments: 0,
|
129
|
+
numRatings: 0,
|
130
|
+
avgRating: 0,
|
131
|
+
numViews: 1301,
|
132
|
+
groupCategories: [],
|
133
|
+
scoreCompleteness: 50,
|
134
|
+
protected: false
|
135
|
+
}
|
136
|
+
]
|
137
|
+
};
|
@@ -0,0 +1,66 @@
|
|
1
|
+
[![npm version][npm-img]][npm-url]
|
2
|
+
[![build status][travis-img]][travis-url]
|
3
|
+
[![apache licensed](https://img.shields.io/badge/license-Apache-green.svg?style=flat-square)](https://raw.githubusercontent.com/Esri/arcgis-rest-js/master/LICENSE)
|
4
|
+
|
5
|
+
[npm-img]: https://img.shields.io/npm/v/@esri/arcgis-rest-items.svg?style=flat-square
|
6
|
+
[npm-url]: https://www.npmjs.com/package/@esri/arcgis-rest-items
|
7
|
+
[travis-img]: https://img.shields.io/travis/Esri/arcgis-rest-js/master.svg?style=flat-square
|
8
|
+
[travis-url]: https://travis-ci.org/Esri/arcgis-rest-js
|
9
|
+
|
10
|
+
# @esri/arcgis-rest-items
|
11
|
+
|
12
|
+
> A module for working with content in the ArcGIS REST API that runs in Node.js and modern browsers.
|
13
|
+
|
14
|
+
### Example
|
15
|
+
|
16
|
+
```bash
|
17
|
+
npm install @esri/arcgis-rest-request
|
18
|
+
npm install @esri/arcgis-rest-items
|
19
|
+
```
|
20
|
+
|
21
|
+
```js
|
22
|
+
import { getItem } from '@esri/arcgis-rest-items';
|
23
|
+
|
24
|
+
const itemId = "30e5fe3149c34df1ba922e6f5bbf808f";
|
25
|
+
|
26
|
+
getItem(itemId)
|
27
|
+
.then(response => {
|
28
|
+
console.log(response.title) // World Topographic Map
|
29
|
+
});
|
30
|
+
```
|
31
|
+
|
32
|
+
### [API Reference](https://esri.github.io/arcgis-rest-js/api/items/)
|
33
|
+
|
34
|
+
### Issues
|
35
|
+
|
36
|
+
If something isn't working the way you expected, please take a look at [previously logged issues](https://github.com/Esri/arcgis-rest-js/issues) first. Have you found a new bug? Want to request a new feature? We'd [**love**](https://github.com/Esri/arcgis-rest-js/issues/new) to hear from you.
|
37
|
+
|
38
|
+
If you're looking for help you can also post issues on [GIS Stackexchange](http://gis.stackexchange.com/questions/ask?tags=esri-oss).
|
39
|
+
|
40
|
+
### Versioning
|
41
|
+
|
42
|
+
For transparency into the release cycle and in striving to maintain backward compatibility, @esri/arcgis-rest-js is maintained under Semantic Versioning guidelines and will adhere to these rules whenever possible.
|
43
|
+
|
44
|
+
For more information on SemVer, please visit <http://semver.org/>.
|
45
|
+
|
46
|
+
### Contributing
|
47
|
+
|
48
|
+
Esri welcomes contributions from anyone and everyone. Please see our [guidelines for contributing](CONTRIBUTING.md).
|
49
|
+
|
50
|
+
### License
|
51
|
+
|
52
|
+
Copyright © 2017-2018 Esri
|
53
|
+
|
54
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
55
|
+
you may not use this file except in compliance with the License.
|
56
|
+
You may obtain a copy of the License at
|
57
|
+
|
58
|
+
> http://www.apache.org/licenses/LICENSE-2.0
|
59
|
+
|
60
|
+
Unless required by applicable law or agreed to in writing, software
|
61
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
62
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
63
|
+
See the License for the specific language governing permissions and
|
64
|
+
limitations under the License.
|
65
|
+
|
66
|
+
A copy of the license is available in the repository's [LICENSE](../../LICENSE) file.
|
@@ -0,0 +1,11 @@
|
|
1
|
+
{
|
2
|
+
"requires": true,
|
3
|
+
"lockfileVersion": 1,
|
4
|
+
"dependencies": {
|
5
|
+
"tslib": {
|
6
|
+
"version": "1.8.0",
|
7
|
+
"resolved": "https://registry.npmjs.org/tslib/-/tslib-1.8.0.tgz",
|
8
|
+
"integrity": "sha512-ymKWWZJST0/CkgduC2qkzjMOWr4bouhuURNXCn/inEX0L57BnRG6FhX76o7FOnsjHazCjfU2LKeSrlS2sIKQJg=="
|
9
|
+
}
|
10
|
+
}
|
11
|
+
}
|
@@ -0,0 +1,52 @@
|
|
1
|
+
{
|
2
|
+
"name": "@esri/arcgis-rest-items",
|
3
|
+
"version": "1.6.0",
|
4
|
+
"description": "Portal Item helpers for @esri/arcgis-rest-request",
|
5
|
+
"main": "dist/node/index.js",
|
6
|
+
"browser": "dist/umd/items.umd.js",
|
7
|
+
"module": "dist/esm/index.js",
|
8
|
+
"js:next": "dist/esm/index.js",
|
9
|
+
"types": "dist/esm/index.d.ts",
|
10
|
+
"license": "Apache-2.0",
|
11
|
+
"files": [
|
12
|
+
"dist/**"
|
13
|
+
],
|
14
|
+
"dependencies": {
|
15
|
+
"tslib": "^1.7.1"
|
16
|
+
},
|
17
|
+
"peerDependencies": {
|
18
|
+
"@esri/arcgis-rest-auth": "^1.5.1",
|
19
|
+
"@esri/arcgis-rest-common-types": "^1.5.1",
|
20
|
+
"@esri/arcgis-rest-request": "^1.5.1"
|
21
|
+
},
|
22
|
+
"devDependencies": {
|
23
|
+
"@esri/arcgis-rest-auth": "^1.6.0",
|
24
|
+
"@esri/arcgis-rest-common-types": "^1.6.0",
|
25
|
+
"@esri/arcgis-rest-request": "^1.6.0"
|
26
|
+
},
|
27
|
+
"scripts": {
|
28
|
+
"prepare": "npm run build",
|
29
|
+
"build": "npm run build:node && npm run build:umd && npm run build:esm",
|
30
|
+
"build:esm": "tsc -p ./tsconfig.json --module es2015 --outDir ./dist/esm --declaration",
|
31
|
+
"build:umd": "rollup -c ../../umd-base-profile.js && rollup -c ../../umd-production-profile.js",
|
32
|
+
"build:node": "tsc -p ./tsconfig.json --module commonjs --outDir ./dist/node"
|
33
|
+
},
|
34
|
+
"publishConfig": {
|
35
|
+
"access": "public"
|
36
|
+
},
|
37
|
+
"repository": {
|
38
|
+
"type": "git",
|
39
|
+
"url": "git+https://github.com/Esri/arcgis-rest-js.git"
|
40
|
+
},
|
41
|
+
"contributors": [
|
42
|
+
{
|
43
|
+
"name": "Dave Bouwman",
|
44
|
+
"email": "dbouwman@esri.com",
|
45
|
+
"url": "http://blog.davebouwman.com/"
|
46
|
+
}
|
47
|
+
],
|
48
|
+
"bugs": {
|
49
|
+
"url": "https://github.com/Esri/arcgis-rest-js/issues"
|
50
|
+
},
|
51
|
+
"homepage": "https://github.com/Esri/arcgis-rest-js#readme"
|
52
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
export * from "./items";
|