terminusdb 12.0.2
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/Contributing.md +36 -0
- package/LICENSE +201 -0
- package/README.md +175 -0
- package/RELEASE_NOTES.md +462 -0
- package/dist/index.html +22 -0
- package/dist/terminusdb-client.min.js +3 -0
- package/dist/terminusdb-client.min.js.LICENSE.txt +188 -0
- package/dist/terminusdb-client.min.js.map +1 -0
- package/dist/typescript/index.d.ts +14 -0
- package/dist/typescript/lib/accessControl.d.ts +554 -0
- package/dist/typescript/lib/axiosInstance.d.ts +2 -0
- package/dist/typescript/lib/connectionConfig.d.ts +381 -0
- package/dist/typescript/lib/const.d.ts +54 -0
- package/dist/typescript/lib/dispatchRequest.d.ts +17 -0
- package/dist/typescript/lib/errorMessage.d.ts +25 -0
- package/dist/typescript/lib/query/woqlBuilder.d.ts +75 -0
- package/dist/typescript/lib/query/woqlCore.d.ts +341 -0
- package/dist/typescript/lib/query/woqlDoc.d.ts +63 -0
- package/dist/typescript/lib/query/woqlLibrary.d.ts +718 -0
- package/dist/typescript/lib/query/woqlPrinter.d.ts +71 -0
- package/dist/typescript/lib/query/woqlQuery.d.ts +833 -0
- package/dist/typescript/lib/typedef.d.ts +624 -0
- package/dist/typescript/lib/utils.d.ts +199 -0
- package/dist/typescript/lib/valueHash.d.ts +146 -0
- package/dist/typescript/lib/viewer/chartConfig.d.ts +62 -0
- package/dist/typescript/lib/viewer/chooserConfig.d.ts +38 -0
- package/dist/typescript/lib/viewer/documentFrame.d.ts +44 -0
- package/dist/typescript/lib/viewer/frameConfig.d.ts +74 -0
- package/dist/typescript/lib/viewer/frameRule.d.ts +145 -0
- package/dist/typescript/lib/viewer/graphConfig.d.ts +73 -0
- package/dist/typescript/lib/viewer/objectFrame.d.ts +212 -0
- package/dist/typescript/lib/viewer/streamConfig.d.ts +23 -0
- package/dist/typescript/lib/viewer/tableConfig.d.ts +66 -0
- package/dist/typescript/lib/viewer/terminusRule.d.ts +75 -0
- package/dist/typescript/lib/viewer/viewConfig.d.ts +47 -0
- package/dist/typescript/lib/viewer/woqlChart.d.ts +1 -0
- package/dist/typescript/lib/viewer/woqlChooser.d.ts +56 -0
- package/dist/typescript/lib/viewer/woqlGraph.d.ts +26 -0
- package/dist/typescript/lib/viewer/woqlPaging.d.ts +1 -0
- package/dist/typescript/lib/viewer/woqlResult.d.ts +128 -0
- package/dist/typescript/lib/viewer/woqlRule.d.ts +96 -0
- package/dist/typescript/lib/viewer/woqlStream.d.ts +31 -0
- package/dist/typescript/lib/viewer/woqlTable.d.ts +102 -0
- package/dist/typescript/lib/viewer/woqlView.d.ts +49 -0
- package/dist/typescript/lib/woql.d.ts +1267 -0
- package/dist/typescript/lib/woqlClient.d.ts +1216 -0
- package/index.js +28 -0
- package/lib/.eslintrc +1 -0
- package/lib/accessControl.js +988 -0
- package/lib/axiosInstance.js +5 -0
- package/lib/connectionConfig.js +765 -0
- package/lib/const.js +59 -0
- package/lib/dispatchRequest.js +236 -0
- package/lib/errorMessage.js +110 -0
- package/lib/query/woqlBuilder.js +234 -0
- package/lib/query/woqlCore.js +934 -0
- package/lib/query/woqlDoc.js +177 -0
- package/lib/query/woqlLibrary.js +1015 -0
- package/lib/query/woqlPrinter.js +476 -0
- package/lib/query/woqlQuery.js +1865 -0
- package/lib/typedef.js +248 -0
- package/lib/utils.js +817 -0
- package/lib/valueHash.js_old +581 -0
- package/lib/viewer/chartConfig.js +411 -0
- package/lib/viewer/chooserConfig.js +234 -0
- package/lib/viewer/documentFrame.js +206 -0
- package/lib/viewer/frameConfig.js +469 -0
- package/lib/viewer/frameRule.js +519 -0
- package/lib/viewer/graphConfig.js +345 -0
- package/lib/viewer/objectFrame.js +1550 -0
- package/lib/viewer/streamConfig.js +82 -0
- package/lib/viewer/tableConfig.js +310 -0
- package/lib/viewer/terminusRule.js +196 -0
- package/lib/viewer/viewConfig.js +219 -0
- package/lib/viewer/woqlChart.js +17 -0
- package/lib/viewer/woqlChooser.js +171 -0
- package/lib/viewer/woqlGraph.js +295 -0
- package/lib/viewer/woqlPaging.js +148 -0
- package/lib/viewer/woqlResult.js +258 -0
- package/lib/viewer/woqlRule.js +312 -0
- package/lib/viewer/woqlStream.js +27 -0
- package/lib/viewer/woqlTable.js +332 -0
- package/lib/viewer/woqlView.js +107 -0
- package/lib/woql.js +1693 -0
- package/lib/woqlClient.js +2091 -0
- package/package.json +110 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
export = WOQLPrinter;
|
|
2
|
+
/**
|
|
3
|
+
* Class responsible for converting a JSON WOQL into a WOQL.js / WOQL.py string
|
|
4
|
+
*/
|
|
5
|
+
declare function WOQLPrinter(vocab: any, language: any): void;
|
|
6
|
+
declare class WOQLPrinter {
|
|
7
|
+
/**
|
|
8
|
+
* Class responsible for converting a JSON WOQL into a WOQL.js / WOQL.py string
|
|
9
|
+
*/
|
|
10
|
+
constructor(vocab: any, language: any);
|
|
11
|
+
vocab: any;
|
|
12
|
+
language: any;
|
|
13
|
+
indent_spaces: number;
|
|
14
|
+
boxed_predicates: string[];
|
|
15
|
+
subject_cleaned_predicates: string[];
|
|
16
|
+
schema_cleaned_predicates: string[];
|
|
17
|
+
list_operators: string[];
|
|
18
|
+
query_list_operators: string[];
|
|
19
|
+
operator_maps: {
|
|
20
|
+
IDGenerator: string;
|
|
21
|
+
IsA: string;
|
|
22
|
+
PostResource: string;
|
|
23
|
+
QueryResource: string;
|
|
24
|
+
AsVars: string;
|
|
25
|
+
NamedAsVars: string;
|
|
26
|
+
IndexedAsVars: string;
|
|
27
|
+
DeletedTriple: string;
|
|
28
|
+
};
|
|
29
|
+
shortcuts: {
|
|
30
|
+
optional: string;
|
|
31
|
+
substring: string;
|
|
32
|
+
regexp: string;
|
|
33
|
+
subsumption: string;
|
|
34
|
+
equals: string;
|
|
35
|
+
concatenate: string;
|
|
36
|
+
};
|
|
37
|
+
pythonic: {
|
|
38
|
+
and: string;
|
|
39
|
+
or: string;
|
|
40
|
+
as: string;
|
|
41
|
+
with: string;
|
|
42
|
+
from: string;
|
|
43
|
+
not: string;
|
|
44
|
+
};
|
|
45
|
+
show_context: boolean;
|
|
46
|
+
printJSON(json: any, level: any, fluent: any, newline: any): any;
|
|
47
|
+
getQueryResourceStr(json: any, level: any, fluent: any, newline: any): string;
|
|
48
|
+
getArgumentOrder(operator: any, json: any): string[];
|
|
49
|
+
argumentTakesNewline(operator: any): boolean;
|
|
50
|
+
argumentRequiresArray(predicate: any, entries: any): boolean;
|
|
51
|
+
printArgument(operator: any, predicate: any, arg: any, level: any, fluent: any): any;
|
|
52
|
+
decompileDocument(args: any): string;
|
|
53
|
+
decompileDictionary(jsonDoc: any, args: any): void;
|
|
54
|
+
decompileFieldValuePair(jsonDoc: any, fieldValue: any): void;
|
|
55
|
+
decompileVariables(args: any, checkIsArray?: boolean): string;
|
|
56
|
+
decompileRegexPattern(json: any): any;
|
|
57
|
+
pvar(json: any): any;
|
|
58
|
+
/**
|
|
59
|
+
* Gets the starting characters for a WOQL query - varies depending on how the query
|
|
60
|
+
* is invoked and how indented it is
|
|
61
|
+
*/
|
|
62
|
+
getWOQLPrelude(operator: any, fluent: any, inline: any): any;
|
|
63
|
+
uncleanArgument(arg: any, operator: any, predicate: any): string;
|
|
64
|
+
isListOperator(operator: any): boolean;
|
|
65
|
+
isQueryListOperator(operator: any): boolean;
|
|
66
|
+
getFunctionForOperator(operator: any, json: any): any;
|
|
67
|
+
getBoxedPredicate(operator: any, json: any): string | false;
|
|
68
|
+
unboxJSON(operator: any, json: any): any;
|
|
69
|
+
decompileAsVars(asvs: any, level: any): string;
|
|
70
|
+
decompilePathPattern(pstruct: any): any;
|
|
71
|
+
}
|