@bpmnkit/feel 0.0.21 → 0.1.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/ast.d.ts +4 -0
- package/dist/builtins.d.ts +7 -0
- package/dist/builtins.js +778 -164
- package/dist/evaluator.d.ts +4 -1
- package/dist/evaluator.js +251 -139
- package/dist/formatter.js +16 -1
- package/dist/index.d.ts +1 -1
- package/dist/lexer.d.ts +7 -0
- package/dist/lexer.js +92 -5
- package/dist/parser.d.ts +11 -2
- package/dist/parser.js +315 -98
- package/dist/types.js +35 -2
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -107,6 +107,7 @@ interface ParseResult {
|
|
|
107
107
|
| [`@bpmnkit/api`](https://www.npmjs.com/package/@bpmnkit/api) | Camunda 8 REST API TypeScript client |
|
|
108
108
|
| [`@bpmnkit/ascii`](https://www.npmjs.com/package/@bpmnkit/ascii) | Render BPMN diagrams as Unicode ASCII art |
|
|
109
109
|
| [`@bpmnkit/docspack`](https://www.npmjs.com/package/@bpmnkit/docspack) | BPMN Kit docs as an offline docspack package for AI agents |
|
|
110
|
+
| [`@bpmnkit/camunda-docspack`](https://www.npmjs.com/package/@bpmnkit/camunda-docspack) | Camunda 8 docs as an offline docspack package for AI agents |
|
|
110
111
|
| [`@bpmnkit/ui`](https://www.npmjs.com/package/@bpmnkit/ui) | Shared design tokens and UI components |
|
|
111
112
|
| [`@bpmnkit/profiles`](https://www.npmjs.com/package/@bpmnkit/profiles) | Shared auth, profile storage, and client factories for CLI & proxy |
|
|
112
113
|
| [`@bpmnkit/operate`](https://www.npmjs.com/package/@bpmnkit/operate) | Monitoring & operations frontend for Camunda clusters |
|
package/dist/ast.d.ts
CHANGED
package/dist/builtins.d.ts
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
import type { FeelFunction, FeelValue } from "./types.js";
|
|
2
2
|
declare function parseTemporal(raw: string): FeelValue;
|
|
3
3
|
declare function compareValues(a: FeelValue, b: FeelValue): number | null;
|
|
4
|
+
/**
|
|
5
|
+
* Orders the arguments of a named invocation to match a built-in's signature.
|
|
6
|
+
* Returns, for each parameter position, the index of the argument supplying
|
|
7
|
+
* it, or null when no signature of the built-in accepts exactly these names —
|
|
8
|
+
* which FEEL treats as an invocation error rather than a positional call.
|
|
9
|
+
*/
|
|
10
|
+
export declare function orderNamedArgs(name: string, argNames: string[]): number[] | null;
|
|
4
11
|
/** Look up a built-in function by name. Returns undefined if not found. */
|
|
5
12
|
export declare function getBuiltin(name: string): FeelFunction | undefined;
|
|
6
13
|
/** All built-in names. */
|