@bizone-ai/json-transform-utils 1.10.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.
Files changed (160) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +81 -0
  3. package/dist/ParseContext.d.ts +23 -0
  4. package/dist/ParseContext.d.ts.map +1 -0
  5. package/dist/ParseContext.js +69 -0
  6. package/dist/ParseContext.js.map +1 -0
  7. package/dist/__tests__/functions/functionsParser.test.d.ts +2 -0
  8. package/dist/__tests__/functions/functionsParser.test.d.ts.map +1 -0
  9. package/dist/__tests__/functions/functionsParser.test.js +787 -0
  10. package/dist/__tests__/functions/functionsParser.test.js.map +1 -0
  11. package/dist/__tests__/jsonpath/jsonpathJoin.test.d.ts +2 -0
  12. package/dist/__tests__/jsonpath/jsonpathJoin.test.d.ts.map +1 -0
  13. package/dist/__tests__/jsonpath/jsonpathJoin.test.js +27 -0
  14. package/dist/__tests__/jsonpath/jsonpathJoin.test.js.map +1 -0
  15. package/dist/__tests__/parse.test.d.ts +2 -0
  16. package/dist/__tests__/parse.test.d.ts.map +1 -0
  17. package/dist/__tests__/parse.test.js +22 -0
  18. package/dist/__tests__/parse.test.js.map +1 -0
  19. package/dist/__tests__/utils/convert.test.d.ts +2 -0
  20. package/dist/__tests__/utils/convert.test.d.ts.map +1 -0
  21. package/dist/__tests__/utils/convert.test.js +181 -0
  22. package/dist/__tests__/utils/convert.test.js.map +1 -0
  23. package/dist/functions/ContextVariablesSchemas.d.ts +3 -0
  24. package/dist/functions/ContextVariablesSchemas.d.ts.map +1 -0
  25. package/dist/functions/ContextVariablesSchemas.js +9 -0
  26. package/dist/functions/ContextVariablesSchemas.js.map +1 -0
  27. package/dist/functions/definitions.d.ts +4 -0
  28. package/dist/functions/definitions.d.ts.map +1 -0
  29. package/dist/functions/definitions.js +2090 -0
  30. package/dist/functions/definitions.js.map +1 -0
  31. package/dist/functions/examples/and.json +44 -0
  32. package/dist/functions/examples/at.json +156 -0
  33. package/dist/functions/examples/avg.json +78 -0
  34. package/dist/functions/examples/base64.json +368 -0
  35. package/dist/functions/examples/boolean.json +236 -0
  36. package/dist/functions/examples/coalesce.json +58 -0
  37. package/dist/functions/examples/concat.json +70 -0
  38. package/dist/functions/examples/contains.json +61 -0
  39. package/dist/functions/examples/csv.json +116 -0
  40. package/dist/functions/examples/csvparse.json +97 -0
  41. package/dist/functions/examples/date.json +389 -0
  42. package/dist/functions/examples/decimal.json +102 -0
  43. package/dist/functions/examples/digest.json +125 -0
  44. package/dist/functions/examples/distinct.json +142 -0
  45. package/dist/functions/examples/entries.json +88 -0
  46. package/dist/functions/examples/eval.json +72 -0
  47. package/dist/functions/examples/every.json +96 -0
  48. package/dist/functions/examples/filter.json +51 -0
  49. package/dist/functions/examples/find.json +51 -0
  50. package/dist/functions/examples/findindex.json +61 -0
  51. package/dist/functions/examples/flat.json +74 -0
  52. package/dist/functions/examples/flatten.json +76 -0
  53. package/dist/functions/examples/form.json +60 -0
  54. package/dist/functions/examples/formparse.json +62 -0
  55. package/dist/functions/examples/group.json +208 -0
  56. package/dist/functions/examples/if.json +294 -0
  57. package/dist/functions/examples/indexof.json +48 -0
  58. package/dist/functions/examples/is.json +512 -0
  59. package/dist/functions/examples/isnull.json +51 -0
  60. package/dist/functions/examples/join.json +221 -0
  61. package/dist/functions/examples/jsonparse.json +101 -0
  62. package/dist/functions/examples/jsonpatch.json +30 -0
  63. package/dist/functions/examples/jsonpath.json +62 -0
  64. package/dist/functions/examples/jsonpointer.json +77 -0
  65. package/dist/functions/examples/jwtparse.json +54 -0
  66. package/dist/functions/examples/length.json +202 -0
  67. package/dist/functions/examples/long.json +53 -0
  68. package/dist/functions/examples/lookup.json +223 -0
  69. package/dist/functions/examples/lower.json +24 -0
  70. package/dist/functions/examples/map.json +188 -0
  71. package/dist/functions/examples/match.json +62 -0
  72. package/dist/functions/examples/matchall.json +62 -0
  73. package/dist/functions/examples/math.json +1073 -0
  74. package/dist/functions/examples/max.json +104 -0
  75. package/dist/functions/examples/merge.json +173 -0
  76. package/dist/functions/examples/min.json +104 -0
  77. package/dist/functions/examples/normalize.json +142 -0
  78. package/dist/functions/examples/not.json +99 -0
  79. package/dist/functions/examples/numberformat.json +162 -0
  80. package/dist/functions/examples/numberparse.json +72 -0
  81. package/dist/functions/examples/object.json +148 -0
  82. package/dist/functions/examples/or.json +102 -0
  83. package/dist/functions/examples/pad.json +102 -0
  84. package/dist/functions/examples/partition.json +32 -0
  85. package/dist/functions/examples/range.json +188 -0
  86. package/dist/functions/examples/raw.json +58 -0
  87. package/dist/functions/examples/reduce.json +79 -0
  88. package/dist/functions/examples/repeat.json +59 -0
  89. package/dist/functions/examples/replace.json +92 -0
  90. package/dist/functions/examples/reverse.json +94 -0
  91. package/dist/functions/examples/slice.json +360 -0
  92. package/dist/functions/examples/some.json +96 -0
  93. package/dist/functions/examples/sort.json +353 -0
  94. package/dist/functions/examples/split.json +52 -0
  95. package/dist/functions/examples/string.json +95 -0
  96. package/dist/functions/examples/substring.json +82 -0
  97. package/dist/functions/examples/sum.json +108 -0
  98. package/dist/functions/examples/switch.json +78 -0
  99. package/dist/functions/examples/template.json +125 -0
  100. package/dist/functions/examples/test.json +82 -0
  101. package/dist/functions/examples/transform.json +58 -0
  102. package/dist/functions/examples/trim.json +44 -0
  103. package/dist/functions/examples/unflatten.json +97 -0
  104. package/dist/functions/examples/upper.json +24 -0
  105. package/dist/functions/examples/uriparse.json +52 -0
  106. package/dist/functions/examples/urldecode.json +42 -0
  107. package/dist/functions/examples/urlencode.json +43 -0
  108. package/dist/functions/examples/uuid.json +142 -0
  109. package/dist/functions/examples/value.json +87 -0
  110. package/dist/functions/examples/wrap.json +122 -0
  111. package/dist/functions/examples/xml.json +142 -0
  112. package/dist/functions/examples/xmlparse.json +161 -0
  113. package/dist/functions/examples/xor.json +166 -0
  114. package/dist/functions/examples/yaml.json +196 -0
  115. package/dist/functions/examples/yamlparse.json +150 -0
  116. package/dist/functions/examples.d.ts +4 -0
  117. package/dist/functions/examples.d.ts.map +1 -0
  118. package/dist/functions/examples.js +178 -0
  119. package/dist/functions/examples.js.map +1 -0
  120. package/dist/functions/functions.d.ts +3 -0
  121. package/dist/functions/functions.d.ts.map +1 -0
  122. package/dist/functions/functions.js +9 -0
  123. package/dist/functions/functions.js.map +1 -0
  124. package/dist/functions/functionsParser.d.ts +45 -0
  125. package/dist/functions/functionsParser.d.ts.map +1 -0
  126. package/dist/functions/functionsParser.js +207 -0
  127. package/dist/functions/functionsParser.js.map +1 -0
  128. package/dist/functions/parseDefinitions.d.ts +4 -0
  129. package/dist/functions/parseDefinitions.d.ts.map +1 -0
  130. package/dist/functions/parseDefinitions.js +56 -0
  131. package/dist/functions/parseDefinitions.js.map +1 -0
  132. package/dist/functions/types.d.ts +163 -0
  133. package/dist/functions/types.d.ts.map +1 -0
  134. package/dist/functions/types.js +93 -0
  135. package/dist/functions/types.js.map +1 -0
  136. package/dist/index.d.ts +14 -0
  137. package/dist/index.d.ts.map +1 -0
  138. package/dist/index.js +36 -0
  139. package/dist/index.js.map +1 -0
  140. package/dist/jsonpath/jsonpathFunctions.d.ts +4 -0
  141. package/dist/jsonpath/jsonpathFunctions.d.ts.map +1 -0
  142. package/dist/jsonpath/jsonpathFunctions.js +26 -0
  143. package/dist/jsonpath/jsonpathFunctions.js.map +1 -0
  144. package/dist/jsonpath/jsonpathJoin.d.ts +3 -0
  145. package/dist/jsonpath/jsonpathJoin.d.ts.map +1 -0
  146. package/dist/jsonpath/jsonpathJoin.js +15 -0
  147. package/dist/jsonpath/jsonpathJoin.js.map +1 -0
  148. package/dist/parse.d.ts +12 -0
  149. package/dist/parse.d.ts.map +1 -0
  150. package/dist/parse.js +522 -0
  151. package/dist/parse.js.map +1 -0
  152. package/dist/transformUtils.d.ts +40 -0
  153. package/dist/transformUtils.d.ts.map +1 -0
  154. package/dist/transformUtils.js +89 -0
  155. package/dist/transformUtils.js.map +1 -0
  156. package/dist/utils/convert.d.ts +3 -0
  157. package/dist/utils/convert.d.ts.map +1 -0
  158. package/dist/utils/convert.js +163 -0
  159. package/dist/utils/convert.js.map +1 -0
  160. package/package.json +44 -0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2024-Present Suriel Bendahan and contributors.
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,81 @@
1
+ # @bizone-ai/json-transform-utils
2
+
3
+ ![](https://img.shields.io/npm/v/@bizone-ai/json-transform-utils.svg)
4
+
5
+ Core types and utilities for handling JSON transformers
6
+
7
+ # Installation
8
+
9
+ `npm install @bizone-ai/json-transform-utils`
10
+
11
+ # API
12
+
13
+ ```typescript
14
+ {
15
+ ContextVariablesSchemas: Record<string, TypeSchema>,
16
+ getFunctionInlineSignature: (name: string, func: FunctionDescriptor, requiredOnly?: boolean) => string,
17
+ getFunctionObjectSignature: (name: string, func: FunctionDescriptor) => string,
18
+ functionsParser: {
19
+ get(name: string) => FunctionDescriptor,
20
+ getNames() => Set<string>,
21
+ resolveDocsUrl(funcName: string, functionDescriptor ? : FunctionDescriptor) => string,
22
+ matchInline(
23
+ data: any,
24
+ callback?: (
25
+ funcName: EmbeddedTransformerFunction,
26
+ func: FunctionDescriptor,
27
+ value: any,
28
+ args: Record<string, any>,
29
+ ) => any): FunctionDescriptor | null,
30
+ matchObject(data: any, extractOutputTypeRecursively ? : boolean):ObjectFunctionMatchResult | undefined,
31
+ matchAllObjectFunctionsInLine(line: string) => IterableIterator,
32
+ matchAllInlineFunctionsInLine(line: string) => IterableIterator,
33
+ },
34
+ parseArgs: (func: FunctionDescriptor, args?: string) => {},
35
+ type Argument,
36
+ type ArgumentCondition,
37
+ type ConditionalSubFunction,
38
+ type FunctionDefinition,
39
+ type FunctionDescriptor,
40
+ EmbeddedTransformerFunction, // enum
41
+ EmbeddedTransformerFunctions: EmbeddedTransformerFunction[],
42
+ type JsonTransformExample,
43
+ jsonpathJoin: (...args: (string | null | undefined)[]): string,
44
+ JsonPathFunctionRegex: RegExp,
45
+ parseTransformer: (
46
+ definition: any,
47
+ targetPath: string,
48
+ previousPaths: string[],
49
+ paths: string[] = [],
50
+ typesMap? : Record<string, TypeSchema>,
51
+ additionalContext? : Record<string, TypeSchema>,
52
+ ) => void,
53
+ ParseContext: {
54
+ resolve(name: string) => TypeSchema,
55
+ },
56
+ type ParseMethod,
57
+ type HandleFunctionMethod,
58
+ definitions: Record<EmbeddedTransformerFunction, FunctionDefinition>,
59
+ examples: Record<EmbeddedTransformerFunction, JsonTransformExample>,
60
+ functions: Record<EmbeddedTransformerFunction, FunctionDescriptor>,
61
+ transformUtils: { //TransformUtils
62
+ setAdditionalContext: (additionalContext: Set<string>) => void,
63
+ getAdditionalContext: () => Set<string>,
64
+ setSpecialKeys: (specialKeys: Set<string>) => void,
65
+ getSpecialKeys: () => Set<string>,
66
+ setContextVariablesSchemas: (contextVariablesSchemas: Record<string, TypeSchema>) => void,
67
+ getContextVariablesSchemas: () => Record<string, TypeSchema>,
68
+ setScopedContextVariablesSchema: (scopedContextVariablesSchema: Record<string, TypeSchema | null>) => void,
69
+ getScopedContextVariablesSchema: () => Record<string, TypeSchema | null>,
70
+ matchesAnyOfContextVariables: (variableName: string) => boolean,
71
+ matchesAnyOfAdditionalContext: (variableName: string) => boolean,
72
+ matchesAnyOfSpecialKeys: (variableName: string) => boolean,
73
+ variableDetectionRegExpFactory: (flags = "g") => RegExp,
74
+ }
75
+ }
76
+ ;
77
+
78
+ ```
79
+
80
+ # License
81
+ [MIT](./LICENSE)
@@ -0,0 +1,23 @@
1
+ import { TypeSchema } from "@bizone-ai/json-schema-utils";
2
+ import { FunctionDescriptor } from "./functions/types";
3
+ export declare class ParseContext {
4
+ private readonly paths?;
5
+ private readonly additionalContext?;
6
+ private knownVariables;
7
+ constructor(paths?: Record<string, TypeSchema>, additionalContext?: Record<string, TypeSchema>, previousPaths?: string[]);
8
+ hasPaths(): boolean;
9
+ hasPath(path: string): boolean;
10
+ /**
11
+ * If you are about to change the result, use this and not 'resolve()'
12
+ * @param path
13
+ */
14
+ getPath(path: string): TypeSchema | undefined;
15
+ setPath(path: string, type: TypeSchema): void;
16
+ removePaths(paths: string[], variableToRemove?: string): void;
17
+ resolve(key: string): TypeSchema;
18
+ isReferencingKnownVariable(path: any): boolean;
19
+ }
20
+ export type ParseMethod = (definition: any, targetPath: string, localPath: string, previousPaths: string[], paths: string[], context: ParseContext) => void;
21
+ export type HandleFunctionMethod = (detectedAs: "inline" | "object", funcName: string, func: FunctionDescriptor, value: any, args: Record<string, any>, targetPath: string, localPath: string, previousPaths: string[], paths: string[], context: ParseContext, parse?: ParseMethod) => boolean;
22
+ export default ParseContext;
23
+ //# sourceMappingURL=ParseContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ParseContext.d.ts","sourceRoot":"","sources":["../src/ParseContext.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,8BAA8B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EAAE,YAAY,EACrB,KAAK,CAAC,EAAE,WAAW,KAChB,OAAO,CAAC;AAEb,eAAe,YAAY,CAAC"}
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ParseContext = void 0;
4
+ const ContextVariablesSchemas_1 = require("./functions/ContextVariablesSchemas");
5
+ class ParseContext {
6
+ constructor(paths, additionalContext, previousPaths) {
7
+ this.paths = paths;
8
+ this.additionalContext = additionalContext;
9
+ this.knownVariables = new Set();
10
+ if (paths) {
11
+ for (const path in paths) {
12
+ const v = path.split(/[.[]/, 1)[0];
13
+ this.knownVariables.add(v);
14
+ }
15
+ }
16
+ if (additionalContext) {
17
+ for (const path in additionalContext) {
18
+ const v = path.split(/[.[]/, 1)[0];
19
+ this.knownVariables.add(v);
20
+ }
21
+ }
22
+ if (previousPaths) {
23
+ for (const path of previousPaths) {
24
+ const v = path.split(/[.[]/, 1)[0];
25
+ this.knownVariables.add(v);
26
+ }
27
+ }
28
+ }
29
+ hasPaths() {
30
+ return Boolean(this.paths);
31
+ }
32
+ hasPath(path) {
33
+ return typeof this.paths?.[path] !== "undefined";
34
+ }
35
+ /**
36
+ * If you are about to change the result, use this and not 'resolve()'
37
+ * @param path
38
+ */
39
+ getPath(path) {
40
+ return this.paths?.[path];
41
+ }
42
+ setPath(path, type) {
43
+ if (!this.paths)
44
+ return;
45
+ this.paths[path] = type;
46
+ const v = path.split(/[.[]/, 1)[0];
47
+ this.knownVariables.add(v);
48
+ }
49
+ removePaths(paths, variableToRemove) {
50
+ for (const path of paths) {
51
+ delete this.paths?.[path];
52
+ }
53
+ if (variableToRemove) {
54
+ this.knownVariables.delete(variableToRemove);
55
+ }
56
+ }
57
+ resolve(key) {
58
+ return ContextVariablesSchemas_1.ContextVariablesSchemas[key] ?? this.additionalContext?.[key] ?? this.paths?.[key];
59
+ }
60
+ isReferencingKnownVariable(path) {
61
+ if (typeof path !== "string" || path.startsWith("$$"))
62
+ return false;
63
+ const v = path.split(/[.[]/, 1)[0];
64
+ return this.knownVariables.has(v) && (path === v || path.startsWith(v + ".") || path.startsWith(v + "["));
65
+ }
66
+ }
67
+ exports.ParseContext = ParseContext;
68
+ exports.default = ParseContext;
69
+ //# sourceMappingURL=ParseContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ParseContext.js","sourceRoot":"","sources":["../src/ParseContext.ts"],"names":[],"mappings":";;;AACA,iFAA8E;AAG9E,MAAa,YAAY;IAKvB,YACE,KAAkC,EAClC,iBAA8C,EAC9C,aAAwB;QAExB,IAAI,CAAC,KAAK,GAAG,KAAK,CAAC;QACnB,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,cAAc,GAAG,IAAI,GAAG,EAAE,CAAC;QAChC,IAAI,KAAK,EAAE,CAAC;YACV,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;gBACzB,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBACnC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YAC7B,CAAC;QACH,CAAC;QACD,IAAI,iBAAiB,EAAE,CAAC;YACtB,KAAK,MAAM,IAAI,IAAI,iBAAiB,EAAE,CAAC;gBACrC,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBACnC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;YAC7B,CAAC;QACH,CAAC;QACD,IAAI,aAAa,EAAE,CAAC;YAClB,KAAK,MAAM,IAAI,IAAI,aAAa,EAAE,CAAC;gBACjC,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;gBACnC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,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E,OAAO,KAAK,CAAC;QACpE,MAAM,CAAC,GAAG,IAAI,CAAC,KAAK,CAAC,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACnC,OAAO,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,CAAC,IAAI,KAAK,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC,GAAG,GAAG,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC;IAC5G,CAAC;CACF;AA1ED,oCA0EC;AAyBD,kBAAe,YAAY,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=functionsParser.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"functionsParser.test.d.ts","sourceRoot":"","sources":["../../../src/__tests__/functions/functionsParser.test.ts"],"names":[],"mappings":""}