@uniformdev/project-map 19.173.1-alpha.17 → 19.176.0
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 +7 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.esm.js +2 -0
- package/dist/index.js +3 -0
- package/dist/index.mjs +2 -0
- package/package.json +4 -4
package/dist/index.d.mts
CHANGED
|
@@ -664,6 +664,12 @@ declare class ProjectMapClient extends ApiClient<ProjectMapClientOptions> {
|
|
|
664
664
|
declare class UncachedProjectMapClient extends ProjectMapClient {
|
|
665
665
|
constructor(options: Omit<ProjectMapClientOptions, 'bypassCache'>);
|
|
666
666
|
}
|
|
667
|
+
/**
|
|
668
|
+
* Internal use only.
|
|
669
|
+
*
|
|
670
|
+
* @deprecated
|
|
671
|
+
*/
|
|
672
|
+
declare const __INTERNAL_MISSING_PARENT_NODE_ERROR = "Upsert failed, parent node not found.";
|
|
667
673
|
|
|
668
674
|
type LocalePathNode = Pick<ProjectMapNode, 'path'> & {
|
|
669
675
|
locales?: Record<string, {
|
|
@@ -729,4 +735,4 @@ declare class Route {
|
|
|
729
735
|
static dynamicSegmentPrefix: string;
|
|
730
736
|
}
|
|
731
737
|
|
|
732
|
-
export { type AlternateLocaleUrls, type ExpandOptions, type LocalePathNode, type MatchedRoute, type NodeType, ProjectMapClient, type ProjectMapClientOptions, type ProjectMapDefinition, type ProjectMapDefinitionWithId, type ProjectMapDefinitions, type ProjectMapDeleteRequest, type ProjectMapGetRequest, type ProjectMapGetResponse, type ProjectMapNode, type ProjectMapNodeAllowedQueryString, 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, getNodeLocalePath, getRouteAlternateLocalesUrls };
|
|
738
|
+
export { type AlternateLocaleUrls, type ExpandOptions, type LocalePathNode, type MatchedRoute, type NodeType, ProjectMapClient, type ProjectMapClientOptions, type ProjectMapDefinition, type ProjectMapDefinitionWithId, type ProjectMapDefinitions, type ProjectMapDeleteRequest, type ProjectMapGetRequest, type ProjectMapGetResponse, type ProjectMapNode, type ProjectMapNodeAllowedQueryString, 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, getNodeLocalePath, getRouteAlternateLocalesUrls };
|
package/dist/index.d.ts
CHANGED
|
@@ -664,6 +664,12 @@ declare class ProjectMapClient extends ApiClient<ProjectMapClientOptions> {
|
|
|
664
664
|
declare class UncachedProjectMapClient extends ProjectMapClient {
|
|
665
665
|
constructor(options: Omit<ProjectMapClientOptions, 'bypassCache'>);
|
|
666
666
|
}
|
|
667
|
+
/**
|
|
668
|
+
* Internal use only.
|
|
669
|
+
*
|
|
670
|
+
* @deprecated
|
|
671
|
+
*/
|
|
672
|
+
declare const __INTERNAL_MISSING_PARENT_NODE_ERROR = "Upsert failed, parent node not found.";
|
|
667
673
|
|
|
668
674
|
type LocalePathNode = Pick<ProjectMapNode, 'path'> & {
|
|
669
675
|
locales?: Record<string, {
|
|
@@ -729,4 +735,4 @@ declare class Route {
|
|
|
729
735
|
static dynamicSegmentPrefix: string;
|
|
730
736
|
}
|
|
731
737
|
|
|
732
|
-
export { type AlternateLocaleUrls, type ExpandOptions, type LocalePathNode, type MatchedRoute, type NodeType, ProjectMapClient, type ProjectMapClientOptions, type ProjectMapDefinition, type ProjectMapDefinitionWithId, type ProjectMapDefinitions, type ProjectMapDeleteRequest, type ProjectMapGetRequest, type ProjectMapGetResponse, type ProjectMapNode, type ProjectMapNodeAllowedQueryString, 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, getNodeLocalePath, getRouteAlternateLocalesUrls };
|
|
738
|
+
export { type AlternateLocaleUrls, type ExpandOptions, type LocalePathNode, type MatchedRoute, type NodeType, ProjectMapClient, type ProjectMapClientOptions, type ProjectMapDefinition, type ProjectMapDefinitionWithId, type ProjectMapDefinitions, type ProjectMapDeleteRequest, type ProjectMapGetRequest, type ProjectMapGetResponse, type ProjectMapNode, type ProjectMapNodeAllowedQueryString, 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, getNodeLocalePath, getRouteAlternateLocalesUrls };
|
package/dist/index.esm.js
CHANGED
|
@@ -178,6 +178,7 @@ var cutReferences = (node) => node ? {
|
|
|
178
178
|
parent: void 0,
|
|
179
179
|
children: void 0
|
|
180
180
|
} : void 0;
|
|
181
|
+
var __INTERNAL_MISSING_PARENT_NODE_ERROR = "Upsert failed, parent node not found.";
|
|
181
182
|
|
|
182
183
|
// src/util/getNodeLocalePath.ts
|
|
183
184
|
function getNodeLocalePath(node, locale) {
|
|
@@ -341,6 +342,7 @@ export {
|
|
|
341
342
|
ROOT_NODE_PATH,
|
|
342
343
|
Route,
|
|
343
344
|
UncachedProjectMapClient,
|
|
345
|
+
__INTERNAL_MISSING_PARENT_NODE_ERROR,
|
|
344
346
|
getNodeLocalePath,
|
|
345
347
|
getRouteAlternateLocalesUrls
|
|
346
348
|
};
|
package/dist/index.js
CHANGED
|
@@ -32,6 +32,7 @@ __export(src_exports, {
|
|
|
32
32
|
ROOT_NODE_PATH: () => ROOT_NODE_PATH,
|
|
33
33
|
Route: () => Route,
|
|
34
34
|
UncachedProjectMapClient: () => UncachedProjectMapClient,
|
|
35
|
+
__INTERNAL_MISSING_PARENT_NODE_ERROR: () => __INTERNAL_MISSING_PARENT_NODE_ERROR,
|
|
35
36
|
getNodeLocalePath: () => getNodeLocalePath,
|
|
36
37
|
getRouteAlternateLocalesUrls: () => getRouteAlternateLocalesUrls
|
|
37
38
|
});
|
|
@@ -208,6 +209,7 @@ var cutReferences = (node) => node ? {
|
|
|
208
209
|
parent: void 0,
|
|
209
210
|
children: void 0
|
|
210
211
|
} : void 0;
|
|
212
|
+
var __INTERNAL_MISSING_PARENT_NODE_ERROR = "Upsert failed, parent node not found.";
|
|
211
213
|
|
|
212
214
|
// src/util/getNodeLocalePath.ts
|
|
213
215
|
function getNodeLocalePath(node, locale) {
|
|
@@ -372,6 +374,7 @@ function getRouteAlternateLocalesUrls(routeResponse) {
|
|
|
372
374
|
ROOT_NODE_PATH,
|
|
373
375
|
Route,
|
|
374
376
|
UncachedProjectMapClient,
|
|
377
|
+
__INTERNAL_MISSING_PARENT_NODE_ERROR,
|
|
375
378
|
getNodeLocalePath,
|
|
376
379
|
getRouteAlternateLocalesUrls
|
|
377
380
|
});
|
package/dist/index.mjs
CHANGED
|
@@ -178,6 +178,7 @@ var cutReferences = (node) => node ? {
|
|
|
178
178
|
parent: void 0,
|
|
179
179
|
children: void 0
|
|
180
180
|
} : void 0;
|
|
181
|
+
var __INTERNAL_MISSING_PARENT_NODE_ERROR = "Upsert failed, parent node not found.";
|
|
181
182
|
|
|
182
183
|
// src/util/getNodeLocalePath.ts
|
|
183
184
|
function getNodeLocalePath(node, locale) {
|
|
@@ -341,6 +342,7 @@ export {
|
|
|
341
342
|
ROOT_NODE_PATH,
|
|
342
343
|
Route,
|
|
343
344
|
UncachedProjectMapClient,
|
|
345
|
+
__INTERNAL_MISSING_PARENT_NODE_ERROR,
|
|
344
346
|
getNodeLocalePath,
|
|
345
347
|
getRouteAlternateLocalesUrls
|
|
346
348
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uniformdev/project-map",
|
|
3
|
-
"version": "19.
|
|
3
|
+
"version": "19.176.0",
|
|
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.176.0",
|
|
37
|
+
"@uniformdev/context": "19.176.0"
|
|
38
38
|
},
|
|
39
39
|
"publishConfig": {
|
|
40
40
|
"access": "public"
|
|
41
41
|
},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "87107574c3143e48d68ca702a4c74eaa20be44e7"
|
|
43
43
|
}
|