@code0-tech/triangulum 0.7.0 → 0.8.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.ts +1 -10
- package/dist/{extraction → src/extraction}/getTypeFromValue.d.ts +2 -2
- package/dist/src/extraction/getTypeVariant.d.ts +19 -0
- package/dist/src/index.d.ts +10 -0
- package/dist/src/suggestion/getReferenceSuggestions.d.ts +16 -0
- package/dist/{utils.d.ts → src/utils.d.ts} +2 -2
- package/dist/triangulum.cjs.js +33 -41
- package/dist/triangulum.es.js +664 -684
- package/package.json +6 -6
- package/dist/extraction/getTypeVariant.d.ts +0 -12
- package/dist/suggestion/getReferenceSuggestions.d.ts +0 -6
- /package/dist/{extraction → src/extraction}/getTypesFromFunction.d.ts +0 -0
- /package/dist/{extraction → src/extraction}/getTypesFromNode.d.ts +0 -0
- /package/dist/{extraction → src/extraction}/getValueFromType.d.ts +0 -0
- /package/dist/{suggestion → src/suggestion}/getNodeSuggestions.d.ts +0 -0
- /package/dist/{suggestion → src/suggestion}/getValueSuggestions.d.ts +0 -0
- /package/dist/{validation → src/validation}/getFlowValidation.d.ts +0 -0
- /package/dist/{validation → src/validation}/getValueValidation.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code0-tech/triangulum",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"homepage": "https://github.com/code0-tech/triangulum#readme",
|
|
6
6
|
"bugs": {
|
|
@@ -31,16 +31,16 @@
|
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@code0-tech/sagittarius-graphql-types": "0.0.0-experimental-2414125487-fbc8a5ec8a2dd07cc76957d4315281c246e98d57",
|
|
34
|
-
"@types/node": "^25.
|
|
35
|
-
"typescript": "^
|
|
36
|
-
"vite": "^
|
|
34
|
+
"@types/node": "^25.5.0",
|
|
35
|
+
"typescript": "^6.0.2",
|
|
36
|
+
"vite": "^8.0.3",
|
|
37
37
|
"vite-plugin-dts": "^4.5.4",
|
|
38
|
-
"vitest": "^4.
|
|
38
|
+
"vitest": "^4.1.2",
|
|
39
39
|
"@typescript/vfs": "^1.6.4"
|
|
40
40
|
},
|
|
41
41
|
"peerDependencies": {
|
|
42
42
|
"@code0-tech/sagittarius-graphql-types": "0.0.0-experimental-2414125487-fbc8a5ec8a2dd07cc76957d4315281c246e98d57",
|
|
43
|
-
"typescript": "^5.9.3",
|
|
43
|
+
"typescript": "^5.9.3 || ^6.0.2",
|
|
44
44
|
"@typescript/vfs": "^1.6.4"
|
|
45
45
|
}
|
|
46
46
|
}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { DataType } from '@code0-tech/sagittarius-graphql-types';
|
|
2
|
-
export declare enum DataTypeVariant {
|
|
3
|
-
PRIMITIVE = 0,
|
|
4
|
-
TYPE = 1,
|
|
5
|
-
ARRAY = 2,
|
|
6
|
-
OBJECT = 3,
|
|
7
|
-
NODE = 4
|
|
8
|
-
}
|
|
9
|
-
/**
|
|
10
|
-
* Determines the variant of a given TypeScript type string using the TS compiler.
|
|
11
|
-
*/
|
|
12
|
-
export declare const getTypeVariant: (type?: string, dataTypes?: DataType[]) => DataTypeVariant;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { DataType, Flow, FunctionDefinition, NodeFunction, ReferenceValue } from '@code0-tech/sagittarius-graphql-types';
|
|
2
|
-
/**
|
|
3
|
-
* Calculates all available reference suggestions for a specific target node in a flow
|
|
4
|
-
* and filters them by a required type.
|
|
5
|
-
*/
|
|
6
|
-
export declare const getReferenceSuggestions: (flow?: Flow, nodeId?: NodeFunction["id"], targetIndex?: number, functions?: FunctionDefinition[], dataTypes?: DataType[]) => ReferenceValue[];
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|