@uniformdev/project-map 19.209.1 → 19.210.1-alpha.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +5 -19
- package/dist/index.d.ts +5 -19
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiClient } from '@uniformdev/context/api';
|
|
1
|
+
import { ApiClient, ClientOptions } from '@uniformdev/context/api';
|
|
2
2
|
import { RouteGetResponse } from '@uniformdev/canvas';
|
|
3
3
|
|
|
4
4
|
interface paths$1 {
|
|
@@ -987,20 +987,6 @@ type ProjectMapNodeData = components$1['schemas']['ProjectMapNodeData'];
|
|
|
987
987
|
type ProjectMapNodeAllowedQueryString = components$1['schemas']['ProjectMapNodeAllowedQueryString'];
|
|
988
988
|
|
|
989
989
|
declare const ROOT_NODE_PATH = "/";
|
|
990
|
-
type ProjectMapClientOptions = {
|
|
991
|
-
/** The Uniform API host to use. Internal use. */
|
|
992
|
-
apiHost?: string;
|
|
993
|
-
/** The Uniform API key to use when sending API requests. This or bearer token must be specified. */
|
|
994
|
-
apiKey?: string | undefined;
|
|
995
|
-
/** The Uniform bearer token to use. Internal use. */
|
|
996
|
-
bearerToken?: string | undefined;
|
|
997
|
-
/** The Uniform project ID to connect to */
|
|
998
|
-
projectId?: string | null;
|
|
999
|
-
/** Specify a fetch implementation to use when fetching data. Useful if you want to only polyfill selectively. */
|
|
1000
|
-
fetch?: typeof fetch;
|
|
1001
|
-
/** Specify whether caching is disabled. */
|
|
1002
|
-
bypassCache?: boolean;
|
|
1003
|
-
};
|
|
1004
990
|
type ProjectMapSubtree = ProjectMapNode & {
|
|
1005
991
|
children?: Array<ProjectMapSubtree> | undefined;
|
|
1006
992
|
parent?: ProjectMapSubtree | undefined;
|
|
@@ -1010,8 +996,8 @@ type ProjectMapSubtree = ProjectMapNode & {
|
|
|
1010
996
|
type WithoutProjectId<T extends {
|
|
1011
997
|
projectId: string;
|
|
1012
998
|
}> = Omit<T, 'projectId'>;
|
|
1013
|
-
declare class ProjectMapClient extends ApiClient
|
|
1014
|
-
constructor(options:
|
|
999
|
+
declare class ProjectMapClient extends ApiClient {
|
|
1000
|
+
constructor(options: ClientOptions);
|
|
1015
1001
|
/**
|
|
1016
1002
|
* Get available project map defintions
|
|
1017
1003
|
*/
|
|
@@ -1052,7 +1038,7 @@ declare class ProjectMapClient extends ApiClient<ProjectMapClientOptions> {
|
|
|
1052
1038
|
private cleanProjectMapNode;
|
|
1053
1039
|
}
|
|
1054
1040
|
declare class UncachedProjectMapClient extends ProjectMapClient {
|
|
1055
|
-
constructor(options: Omit<
|
|
1041
|
+
constructor(options: Omit<ClientOptions, 'bypassCache'>);
|
|
1056
1042
|
}
|
|
1057
1043
|
/**
|
|
1058
1044
|
* Internal use only.
|
|
@@ -1174,4 +1160,4 @@ declare class Route {
|
|
|
1174
1160
|
static dynamicSegmentPrefix: string;
|
|
1175
1161
|
}
|
|
1176
1162
|
|
|
1177
|
-
export { type AlternateLocaleUrls, type ExpandOptions, type GetActiveEditionOptions, type LocalePathNode, type MatchedRoute, type NodeType, type ObjectWithEditionMetadata, ProjectMapClient, type
|
|
1163
|
+
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 };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ApiClient } from '@uniformdev/context/api';
|
|
1
|
+
import { ApiClient, ClientOptions } from '@uniformdev/context/api';
|
|
2
2
|
import { RouteGetResponse } from '@uniformdev/canvas';
|
|
3
3
|
|
|
4
4
|
interface paths$1 {
|
|
@@ -987,20 +987,6 @@ type ProjectMapNodeData = components$1['schemas']['ProjectMapNodeData'];
|
|
|
987
987
|
type ProjectMapNodeAllowedQueryString = components$1['schemas']['ProjectMapNodeAllowedQueryString'];
|
|
988
988
|
|
|
989
989
|
declare const ROOT_NODE_PATH = "/";
|
|
990
|
-
type ProjectMapClientOptions = {
|
|
991
|
-
/** The Uniform API host to use. Internal use. */
|
|
992
|
-
apiHost?: string;
|
|
993
|
-
/** The Uniform API key to use when sending API requests. This or bearer token must be specified. */
|
|
994
|
-
apiKey?: string | undefined;
|
|
995
|
-
/** The Uniform bearer token to use. Internal use. */
|
|
996
|
-
bearerToken?: string | undefined;
|
|
997
|
-
/** The Uniform project ID to connect to */
|
|
998
|
-
projectId?: string | null;
|
|
999
|
-
/** Specify a fetch implementation to use when fetching data. Useful if you want to only polyfill selectively. */
|
|
1000
|
-
fetch?: typeof fetch;
|
|
1001
|
-
/** Specify whether caching is disabled. */
|
|
1002
|
-
bypassCache?: boolean;
|
|
1003
|
-
};
|
|
1004
990
|
type ProjectMapSubtree = ProjectMapNode & {
|
|
1005
991
|
children?: Array<ProjectMapSubtree> | undefined;
|
|
1006
992
|
parent?: ProjectMapSubtree | undefined;
|
|
@@ -1010,8 +996,8 @@ type ProjectMapSubtree = ProjectMapNode & {
|
|
|
1010
996
|
type WithoutProjectId<T extends {
|
|
1011
997
|
projectId: string;
|
|
1012
998
|
}> = Omit<T, 'projectId'>;
|
|
1013
|
-
declare class ProjectMapClient extends ApiClient
|
|
1014
|
-
constructor(options:
|
|
999
|
+
declare class ProjectMapClient extends ApiClient {
|
|
1000
|
+
constructor(options: ClientOptions);
|
|
1015
1001
|
/**
|
|
1016
1002
|
* Get available project map defintions
|
|
1017
1003
|
*/
|
|
@@ -1052,7 +1038,7 @@ declare class ProjectMapClient extends ApiClient<ProjectMapClientOptions> {
|
|
|
1052
1038
|
private cleanProjectMapNode;
|
|
1053
1039
|
}
|
|
1054
1040
|
declare class UncachedProjectMapClient extends ProjectMapClient {
|
|
1055
|
-
constructor(options: Omit<
|
|
1041
|
+
constructor(options: Omit<ClientOptions, 'bypassCache'>);
|
|
1056
1042
|
}
|
|
1057
1043
|
/**
|
|
1058
1044
|
* Internal use only.
|
|
@@ -1174,4 +1160,4 @@ declare class Route {
|
|
|
1174
1160
|
static dynamicSegmentPrefix: string;
|
|
1175
1161
|
}
|
|
1176
1162
|
|
|
1177
|
-
export { type AlternateLocaleUrls, type ExpandOptions, type GetActiveEditionOptions, type LocalePathNode, type MatchedRoute, type NodeType, type ObjectWithEditionMetadata, ProjectMapClient, type
|
|
1163
|
+
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 };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/project-map",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.210.1-alpha.7+5402269e8e",
|
|
4
4
|
"description": "Uniform Project Map",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -33,11 +33,11 @@
|
|
|
33
33
|
"/dist"
|
|
34
34
|
],
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@uniformdev/canvas": "19.
|
|
37
|
-
"@uniformdev/context": "19.
|
|
36
|
+
"@uniformdev/canvas": "19.210.1-alpha.7+5402269e8e",
|
|
37
|
+
"@uniformdev/context": "19.210.1-alpha.7+5402269e8e"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "5402269e8e1d1f8d955c4c2bb30ab7ac1a96e66b"
|
|
43
43
|
}
|