Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add new item types from AGO to collections #1724

Merged
merged 9 commits into from
Nov 15, 2024
122 changes: 118 additions & 4 deletions packages/common/src/collections.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,49 +78,163 @@ const map: string[] = [

const other: string[] = [
"360 VR Experience",
"3DTiles Package",
"3DTiles Service",
"API Key",
"Activity",
"Addin Package",
"Administrative Report",
"AllSource Project",
"Analysis Model",
"Apache Parquet",
"App Bundle",
"AppBuilder Extension",
"AppBuilder Widget Package",
"Application Configuration",
"Application SDK",
"ArcGIS Pro Add In",
"ArcGIS Pro Configuration",
"ArcPad Package",
"Arcade Module",
"Basemap Package",
"Big Data Analytic",
"Big Data File Share",
"Code Attachment",
"Code Sample",
"Color Set",
"Compact Tile Package",
"Content Category Set",
"Data Package Collection",
"Data Pipeline",
"Data Store",
"Deep Learning Package",
"Deep Learning Studio Project",
"Desktop Add In",
"Desktop Application Template",
"Desktop Application",
"Desktop Application Template",
"Desktop Style",
"Earth Configuration",
"Esri Classification Schema",
"Esri Classifier Definition",
"Excalibur Imagery Project",
"Experience Builder Widget",
"Experience Builder Widget Package",
"Explorer Add In",
"Explorer Layer",
"Explorer Map",
"Export Package",
"Featured Items",
"Feed",
"GML",
"GeoBIM Application",
"GeoBIM Project",
"GeoPackage",
"Geocoding Service",
"Geodata Service",
"Geoenrichment Service",
"Geometry Service",
"Geoprocessing Package",
"Geoprocessing Sample",
"Geoprocessing Service",
"Globe Document",
"Globe Service",
"Group Layer",
"IPS Configuration",
"Indoors Map Configuration",
"Insights Data Engineering Model",
"Insights Data Engineering Workbook",
"Insights Model",
"Insights Script",
"Insights Theme",
"Insights Workbook Package",
"Kernel Gateway Connection",
"Knowledge Graph",
"Knowledge Graph Layer",
"Knowledge Graph Web Investigation",
"Knowledge Studio Project",
"Layer",
"Layer File",
"Layer Package",
"Layer Template",
"Layer",
"Layout",
"Legend",
"Living Atlas Export Package",
"Locator Package",
"Map Area",
"Map Document",
"Map Package",
"Map Service Definition",
"Map Template",
"Media Layer",
"Mission",
"Mission Report",
"Mission Template",
"Mobile Application",
"Mobile Basemap Package",
"Mobile Map Package",
"Mobile Scene Package",
"Native Application",
"Native Application Installer",
"Native Application Template",
"Network Analysis Service",
"Notebook Code Snippet Library",
"Notebook Code Snippets",
"OGCFeatureServer",
"Operations Dashboard Add In",
"Operations Dashboard Extension",
"Oriented Imagery Catalog",
"Ortho Mapping Project",
"Ortho Mapping Template",
"Pro Presentation",
"Pro Project",
"Pro Report",
"Pro Report Template",
"Project Package",
"Project Template",
"Published Map",
"QuickCapture Project",
"Raster Function Template",
"Real Time Analytic",
"Reality Mapping Project",
"Reality Studio Project",
"Relational Database Connection",
"Replication Package",
"Rule Package",
"SMX Item",
"SMX Map",
"SMX Theme",
"SQLite Geodatabase",
"Scene Document",
"Scene Package",
"Scene Package Part",
"Server",
"Service Definition",
"SQLite Geodatabase",
"Statistical Data Collection",
"StoryMap Theme",
"Style",
"Suitability Model",
"Survey123 Add In",
"Symbol Service",
"Symbol Set",
"Task File",
"Tile Package",
"Urban Project",
"User License Type Extension",
"Vector Tile Package",
"Video Service",
"Viewer Configuration",
"Visio Document",
"WCS",
"Web AppBuilder Widget",
"Web Experience Template",
"Web Link Chart",
"Windows Mobile Package",
"Windows Viewer Add In",
"Workflow",
"Workflow Manager Package",
"Workflow Manager Service",
"Workforce Project",
"netCDF",
];

const site: string[] = ["Hub Site Application", "Site Application"];
Expand All @@ -145,7 +259,7 @@ export const getCollection = (type?: string) => {
/**
* The converse of getCollection, returns associated types of provided collection
* @param collection The Hub collection
* @returns An array of types or undefined if collection is not found
* @returns An array of types, or undefined if collection is not found
* @private
*/
export const getCollectionTypes = (collection?: string) => {
Expand Down
Loading