@uniformdev/project-map
Advanced tools
Comparing version
@@ -1,2 +0,2 @@ | ||
import { ApiClient } from '@uniformdev/context/api'; | ||
import { ApiClient, ClientOptions } from '@uniformdev/context/api'; | ||
import { RouteGetResponse } from '@uniformdev/canvas'; | ||
@@ -1006,16 +1006,2 @@ | ||
declare const ROOT_NODE_PATH = "/"; | ||
type ProjectMapClientOptions = { | ||
/** The Uniform API host to use. Internal use. */ | ||
apiHost?: string; | ||
/** The Uniform API key to use when sending API requests. This or bearer token must be specified. */ | ||
apiKey?: string | undefined; | ||
/** The Uniform bearer token to use. Internal use. */ | ||
bearerToken?: string | undefined; | ||
/** The Uniform project ID to connect to */ | ||
projectId?: string | null; | ||
/** Specify a fetch implementation to use when fetching data. Useful if you want to only polyfill selectively. */ | ||
fetch?: typeof fetch; | ||
/** Specify whether caching is disabled. */ | ||
bypassCache?: boolean; | ||
}; | ||
type ProjectMapSubtree = ProjectMapNode & { | ||
@@ -1030,4 +1016,4 @@ children?: Array<ProjectMapSubtree> | undefined; | ||
}> = Omit<T, 'projectId'>; | ||
declare class ProjectMapClient extends ApiClient<ProjectMapClientOptions> { | ||
constructor(options: ProjectMapClientOptions); | ||
declare class ProjectMapClient extends ApiClient { | ||
constructor(options: ClientOptions); | ||
/** | ||
@@ -1073,3 +1059,3 @@ * Get available project map defintions | ||
declare class UncachedProjectMapClient extends ProjectMapClient { | ||
constructor(options: Omit<ProjectMapClientOptions, 'bypassCache'>); | ||
constructor(options: Omit<ClientOptions, 'bypassCache'>); | ||
} | ||
@@ -1196,2 +1182,2 @@ /** | ||
export { type AlternateLocaleUrls, type ExpandOptions, type GetActiveEditionOptions, type LocalePathNode, type MatchedRoute, type NodeType, type ObjectWithEditionMetadata, ProjectMapClient, type ProjectMapClientOptions, type ProjectMapDefinition, type ProjectMapDefinitionWithId, type ProjectMapDefinitions, type ProjectMapDeleteRequest, type ProjectMapGetRequest, type ProjectMapGetResponse, type ProjectMapNode, type ProjectMapNodeAllowedQueryString, type ProjectMapNodeCompositionData, type ProjectMapNodeCompositionEditionData, type ProjectMapNodeData, type ProjectMapNodeDeleteRequest, type ProjectMapNodeGetRequest, type ProjectMapNodeGetResponse, type ProjectMapNodeLocale, type ProjectMapNodeUpsertRequest, type ProjectMapNodeUpsertRequestNode, type ProjectMapNodeUpsertRequestNodeLocale, type ProjectMapNodeWithId, type ProjectMapNodeWithProjectMapReference, type ProjectMapSubtree, type ProjectMapUpsertRequest, type ProjectMapUpsertResponse, ROOT_NODE_PATH, Route, UncachedProjectMapClient, type UnmatchedRoute, __INTERNAL_MISSING_PARENT_NODE_ERROR, getActiveEdition, getNodeActiveCompositionEdition, getNodeLocalePath, getRouteAlternateLocalesUrls }; | ||
export { type AlternateLocaleUrls, type ExpandOptions, type GetActiveEditionOptions, type LocalePathNode, type MatchedRoute, type NodeType, type ObjectWithEditionMetadata, ProjectMapClient, type ProjectMapDefinition, type ProjectMapDefinitionWithId, type ProjectMapDefinitions, type ProjectMapDeleteRequest, type ProjectMapGetRequest, type ProjectMapGetResponse, type ProjectMapNode, type ProjectMapNodeAllowedQueryString, type ProjectMapNodeCompositionData, type ProjectMapNodeCompositionEditionData, type ProjectMapNodeData, type ProjectMapNodeDeleteRequest, type ProjectMapNodeGetRequest, type ProjectMapNodeGetResponse, type ProjectMapNodeLocale, type ProjectMapNodeUpsertRequest, type ProjectMapNodeUpsertRequestNode, type ProjectMapNodeUpsertRequestNodeLocale, type ProjectMapNodeWithId, type ProjectMapNodeWithProjectMapReference, type ProjectMapSubtree, type ProjectMapUpsertRequest, type ProjectMapUpsertResponse, ROOT_NODE_PATH, Route, UncachedProjectMapClient, type UnmatchedRoute, __INTERNAL_MISSING_PARENT_NODE_ERROR, getActiveEdition, getNodeActiveCompositionEdition, getNodeLocalePath, getRouteAlternateLocalesUrls }; |
{ | ||
"name": "@uniformdev/project-map", | ||
"version": "19.211.0", | ||
"version": "19.211.1-alpha.11+2c4b5ab595", | ||
"description": "Uniform Project Map", | ||
@@ -36,4 +36,4 @@ "license": "SEE LICENSE IN LICENSE.txt", | ||
"dependencies": { | ||
"@uniformdev/canvas": "19.211.0", | ||
"@uniformdev/context": "19.211.0" | ||
"@uniformdev/canvas": "19.211.1-alpha.11+2c4b5ab595", | ||
"@uniformdev/context": "19.211.1-alpha.11+2c4b5ab595" | ||
}, | ||
@@ -43,3 +43,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "c101d24290ae409fec3148e0cf055618f3f836cd" | ||
"gitHead": "2c4b5ab595e333d324808dc75d5291cc62ee8039" | ||
} |
Sorry, the diff of this file is not supported yet
Manifest confusion
Supply chain riskThis package has inconsistent metadata. This could be malicious or caused by an error when publishing the package.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
149899
-0.89%2435
-0.57%2
100%1
Infinity%- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed
- Removed