@blue-labs/language 4.0.0-rc.3 → 4.0.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/README.md +1 -0
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8 -8
- package/dist/index.mjs +1130 -1362
- package/dist/lib/index.d.ts +0 -1
- package/dist/lib/index.d.ts.map +1 -1
- package/dist/lib/utils/NodeTypeMatcher.d.ts +2 -0
- package/dist/lib/utils/NodeTypeMatcher.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/lib/repository/SemanticRepositoryReindexer.d.ts +0 -15
- package/dist/lib/repository/SemanticRepositoryReindexer.d.ts.map +0 -1
package/dist/lib/index.d.ts
CHANGED
|
@@ -4,7 +4,6 @@ export * from './identity';
|
|
|
4
4
|
export * from './mapping';
|
|
5
5
|
export * from './Blue';
|
|
6
6
|
export * from './NodeProvider';
|
|
7
|
-
export * from './repository/SemanticRepositoryReindexer';
|
|
8
7
|
export * from './provider/SequentialNodeProvider';
|
|
9
8
|
export * from './provider/UrlContentFetcher';
|
|
10
9
|
export * from './provider/BasicNodeProvider';
|
package/dist/lib/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/lib/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC;AAC3B,cAAc,WAAW,CAAC;AAC1B,cAAc,QAAQ,CAAC;AACvB,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mCAAmC,CAAC;AAClD,cAAc,8BAA8B,CAAC;AAC7C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,cAAc,CAAC;AAC7B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,oBAAoB,CAAC"}
|
|
@@ -21,6 +21,8 @@ export declare class NodeTypeMatcher {
|
|
|
21
21
|
private hasValueInNestedStructure;
|
|
22
22
|
private hasMatcherShape;
|
|
23
23
|
private matchesCalculatedBlueId;
|
|
24
|
+
private matchesBareBlueIdIdentity;
|
|
25
|
+
private matchesBareBlueIdTypeReference;
|
|
24
26
|
private toPlainBlueNode;
|
|
25
27
|
/**
|
|
26
28
|
* Determines whether a node without an explicit type already satisfies the
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NodeTypeMatcher.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/NodeTypeMatcher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,OAAO,EAAmB,MAAM,EAAyB,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"NodeTypeMatcher.d.ts","sourceRoot":"","sources":["../../../src/lib/utils/NodeTypeMatcher.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,OAAO,EAAmB,MAAM,EAAyB,MAAM,UAAU,CAAC;AAa1E,qBAAa,eAAe;IAC1B,OAAO,CAAC,IAAI,CAAO;gBAEP,IAAI,EAAE,IAAI;IAIf,WAAW,CAChB,IAAI,EAAE,QAAQ,EACd,UAAU,EAAE,QAAQ,EACpB,YAAY,GAAE,MAAkB,GAC/B,OAAO;IAgCV;;;OAGG;IACH,OAAO,CAAC,gBAAgB;IAYxB;;;OAGG;IACH,OAAO,CAAC,uBAAuB;IA+C/B,OAAO,CAAC,WAAW;IAoBnB,OAAO,CAAC,wBAAwB;IAyMhC,OAAO,CAAC,oCAAoC;IAmB5C,OAAO,CAAC,yBAAyB;IA0BjC,OAAO,CAAC,eAAe;IAYvB,OAAO,CAAC,uBAAuB;IAsB/B,OAAO,CAAC,yBAAyB;IAKjC,OAAO,CAAC,8BAA8B;IAsBtC,OAAO,CAAC,eAAe;IAyDvB;;;OAGG;IACH,OAAO,CAAC,wBAAwB;IAqBhC,OAAO,CAAC,iCAAiC;IAmBzC,OAAO,CAAC,oBAAoB;IAO5B,OAAO,CAAC,uBAAuB;IAI/B,OAAO,CAAC,6BAA6B;IAIrC,OAAO,CAAC,qBAAqB;IAa7B,OAAO,CAAC,uBAAuB;IAI/B,OAAO,CAAC,wBAAwB;IAgBhC,OAAO,CAAC,+BAA+B;IAQvC,OAAO,CAAC,sBAAsB;IAc9B,OAAO,CAAC,0BAA0B;IA2DlC,OAAO,CAAC,wBAAwB;IAyBhC,OAAO,CAAC,iBAAiB;CAY1B"}
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@blue-labs/language",
|
|
3
|
-
"version": "4.0.0
|
|
3
|
+
"version": "4.0.0",
|
|
4
4
|
"dependencies": {
|
|
5
|
-
"@blue-labs/repository-contract": "4.0.0
|
|
6
|
-
"@blue-labs/shared-utils": "4.0.0
|
|
5
|
+
"@blue-labs/repository-contract": "4.0.0",
|
|
6
|
+
"@blue-labs/shared-utils": "4.0.0",
|
|
7
7
|
"@types/big.js": "^6.2.2",
|
|
8
8
|
"@types/js-yaml": "^4.0.9",
|
|
9
9
|
"base32.js": "^0.1.0",
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { JsonValue } from '@blue-labs/shared-utils';
|
|
2
|
-
import { MergingProcessor } from '../merge/MergingProcessor';
|
|
3
|
-
import { BlueRepository } from '../types/BlueRepository';
|
|
4
|
-
export interface SemanticRepositoryReindexOptions {
|
|
5
|
-
mergingProcessor?: MergingProcessor;
|
|
6
|
-
}
|
|
7
|
-
export interface RepositorySemanticStorageValidationOptions {
|
|
8
|
-
mergingProcessor?: MergingProcessor;
|
|
9
|
-
}
|
|
10
|
-
export declare function reindexRepositoryForSemanticStorage(repository: BlueRepository, options?: SemanticRepositoryReindexOptions): BlueRepository;
|
|
11
|
-
export declare function validateRepositorySemanticStorage(repository: BlueRepository, options?: RepositorySemanticStorageValidationOptions): void;
|
|
12
|
-
export declare function rewriteAliasMappings(aliases: Record<string, string>, idByOldId: Record<string, string>): Record<string, string>;
|
|
13
|
-
export declare function rewriteBlueIds(value: JsonValue, idByOldId: Record<string, string>): JsonValue;
|
|
14
|
-
export declare function rewriteBlueIdWithOptionalIndex(blueId: string, idByOldId: Record<string, string>): string;
|
|
15
|
-
//# sourceMappingURL=SemanticRepositoryReindexer.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"SemanticRepositoryReindexer.d.ts","sourceRoot":"","sources":["../../../src/lib/repository/SemanticRepositoryReindexer.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,yBAAyB,CAAC;AAGzD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAElE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,yBAAyB,CAAC;AAY9D,MAAM,WAAW,gCAAgC;IAC/C,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC;AAED,MAAM,WAAW,0CAA0C;IACzD,gBAAgB,CAAC,EAAE,gBAAgB,CAAC;CACrC;AASD,wBAAgB,mCAAmC,CACjD,UAAU,EAAE,cAAc,EAC1B,OAAO,GAAE,gCAAqC,GAC7C,cAAc,CA6ChB;AAED,wBAAgB,iCAAiC,CAC/C,UAAU,EAAE,cAAc,EAC1B,OAAO,GAAE,0CAA+C,GACvD,IAAI,CAmCN;AAyQD,wBAAgB,oBAAoB,CAClC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,EAC/B,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAChC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAOxB;AAED,wBAAgB,cAAc,CAC5B,KAAK,EAAE,SAAS,EAChB,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAChC,SAAS,CAiBX;AAED,wBAAgB,8BAA8B,CAC5C,MAAM,EAAE,MAAM,EACd,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,GAChC,MAAM,CAaR"}
|