@octonodes/sdk 0.2.40 → 0.2.41
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/data-tables/table.d.ts +2 -2
- package/dist/data-tables/table.d.ts.map +1 -1
- package/dist/data-tables/types.d.ts +1 -1
- package/dist/data-tables/types.d.ts.map +1 -1
- package/dist/gen/client/client.gen.d.ts +1 -1
- package/dist/gen/client/client.gen.d.ts.map +1 -1
- package/dist/gen/client/client.gen.js +3 -3
- package/dist/gen/client/client.gen.js.map +1 -1
- package/dist/gen/client/index.d.ts +9 -9
- package/dist/gen/client/index.d.ts.map +1 -1
- package/dist/gen/client/index.js +5 -5
- package/dist/gen/client/index.js.map +1 -1
- package/dist/gen/client/types.gen.d.ts +4 -4
- package/dist/gen/client/types.gen.d.ts.map +1 -1
- package/dist/gen/client/utils.gen.d.ts +2 -2
- package/dist/gen/client/utils.gen.d.ts.map +1 -1
- package/dist/gen/client/utils.gen.js +4 -4
- package/dist/gen/client/utils.gen.js.map +1 -1
- package/dist/gen/client.gen.d.ts +2 -2
- package/dist/gen/client.gen.d.ts.map +1 -1
- package/dist/gen/client.gen.js +1 -1
- package/dist/gen/client.gen.js.map +1 -1
- package/dist/gen/core/bodySerializer.gen.d.ts +1 -1
- package/dist/gen/core/bodySerializer.gen.d.ts.map +1 -1
- package/dist/gen/core/serverSentEvents.gen.d.ts +1 -1
- package/dist/gen/core/serverSentEvents.gen.d.ts.map +1 -1
- package/dist/gen/core/types.gen.d.ts +2 -2
- package/dist/gen/core/types.gen.d.ts.map +1 -1
- package/dist/gen/core/utils.gen.d.ts +1 -1
- package/dist/gen/core/utils.gen.d.ts.map +1 -1
- package/dist/gen/core/utils.gen.js +1 -1
- package/dist/gen/core/utils.gen.js.map +1 -1
- package/dist/gen/index.d.ts +2 -2
- package/dist/gen/index.d.ts.map +1 -1
- package/dist/gen/index.js +14 -7
- package/dist/gen/index.js.map +1 -1
- package/dist/gen/sdk.gen.d.ts +118 -82
- package/dist/gen/sdk.gen.d.ts.map +1 -1
- package/dist/gen/sdk.gen.js +231 -158
- package/dist/gen/sdk.gen.js.map +1 -1
- package/dist/gen/types.gen.d.ts +5076 -414
- package/dist/gen/types.gen.d.ts.map +1 -1
- package/dist/index.d.ts +4 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/octonode-client.d.ts +7 -7
- package/dist/octonode-client.d.ts.map +1 -1
- package/dist/octonode-client.js +4 -4
- package/dist/octonode-client.js.map +1 -1
- package/dist/plugins/index.d.ts +1 -1
- package/dist/plugins/index.d.ts.map +1 -1
- package/dist/plugins/index.js +1 -1
- package/dist/plugins/index.js.map +1 -1
- package/dist/plugins/schema/app/app.d.ts +958 -0
- package/dist/plugins/schema/app/app.d.ts.map +1 -0
- package/dist/plugins/schema/app/app.js +202 -0
- package/dist/plugins/schema/app/app.js.map +1 -0
- package/dist/plugins/schema/app/contributions/constants/constants.d.ts +4 -0
- package/dist/plugins/schema/app/contributions/constants/constants.d.ts.map +1 -0
- package/dist/plugins/schema/app/contributions/constants/constants.js +52 -0
- package/dist/plugins/schema/app/contributions/constants/constants.js.map +1 -0
- package/dist/plugins/schema/app/contributions/constants/index.d.ts +2 -0
- package/dist/plugins/schema/app/contributions/constants/index.d.ts.map +1 -0
- package/dist/plugins/schema/app/contributions/constants/index.js +9 -0
- package/dist/plugins/schema/app/contributions/constants/index.js.map +1 -0
- package/dist/plugins/schema/app/contributions/contributions.d.ts +352 -0
- package/dist/plugins/schema/app/contributions/contributions.d.ts.map +1 -0
- package/dist/plugins/schema/app/contributions/contributions.js +133 -0
- package/dist/plugins/schema/app/contributions/contributions.js.map +1 -0
- package/dist/plugins/schema/app/contributions/index.d.ts +3 -0
- package/dist/plugins/schema/app/contributions/index.d.ts.map +1 -0
- package/dist/plugins/schema/app/contributions/index.js +20 -0
- package/dist/plugins/schema/app/contributions/index.js.map +1 -0
- package/dist/plugins/schema/app/contributions.d.ts +10 -10
- package/dist/plugins/schema/app-contributions.d.ts +10 -10
- package/dist/plugins/schema/app.d.ts +58 -58
- package/dist/plugins/schema/constants/constants.d.ts +69 -0
- package/dist/plugins/schema/constants/constants.d.ts.map +1 -0
- package/dist/plugins/schema/constants/constants.js +412 -0
- package/dist/plugins/schema/constants/constants.js.map +1 -0
- package/dist/plugins/schema/constants/index.d.ts +2 -0
- package/dist/plugins/schema/constants/index.d.ts.map +1 -0
- package/dist/plugins/schema/constants/index.js +59 -0
- package/dist/plugins/schema/constants/index.js.map +1 -0
- package/dist/plugins/schema/diagnostics/constants.d.ts +124 -0
- package/dist/plugins/schema/diagnostics/constants.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/constants.js +182 -0
- package/dist/plugins/schema/diagnostics/constants.js.map +1 -0
- package/dist/plugins/schema/diagnostics/index.d.ts +9 -0
- package/dist/plugins/schema/diagnostics/index.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/index.js +32 -0
- package/dist/plugins/schema/diagnostics/index.js.map +1 -0
- package/dist/plugins/schema/diagnostics/location.d.ts +3 -0
- package/dist/plugins/schema/diagnostics/location.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/location.js +22 -0
- package/dist/plugins/schema/diagnostics/location.js.map +1 -0
- package/dist/plugins/schema/diagnostics/messages.d.ts +11 -0
- package/dist/plugins/schema/diagnostics/messages.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/messages.js +32 -0
- package/dist/plugins/schema/diagnostics/messages.js.map +1 -0
- package/dist/plugins/schema/diagnostics/registry.d.ts +6 -0
- package/dist/plugins/schema/diagnostics/registry.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/registry.js +35 -0
- package/dist/plugins/schema/diagnostics/registry.js.map +1 -0
- package/dist/plugins/schema/diagnostics/report.d.ts +4 -0
- package/dist/plugins/schema/diagnostics/report.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/report.js +13 -0
- package/dist/plugins/schema/diagnostics/report.js.map +1 -0
- package/dist/plugins/schema/diagnostics/runtime.d.ts +3 -0
- package/dist/plugins/schema/diagnostics/runtime.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/runtime.js +42 -0
- package/dist/plugins/schema/diagnostics/runtime.js.map +1 -0
- package/dist/plugins/schema/diagnostics/schema.d.ts +239 -0
- package/dist/plugins/schema/diagnostics/schema.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/schema.js +58 -0
- package/dist/plugins/schema/diagnostics/schema.js.map +1 -0
- package/dist/plugins/schema/diagnostics/types.d.ts +37 -0
- package/dist/plugins/schema/diagnostics/types.d.ts.map +1 -0
- package/dist/plugins/schema/diagnostics/types.js +3 -0
- package/dist/plugins/schema/diagnostics/types.js.map +1 -0
- package/dist/plugins/schema/icons.d.ts +2 -3
- package/dist/plugins/schema/icons.d.ts.map +1 -1
- package/dist/plugins/schema/icons.js +3 -57
- package/dist/plugins/schema/icons.js.map +1 -1
- package/dist/plugins/schema/ipc/constants.d.ts +3 -0
- package/dist/plugins/schema/ipc/constants.d.ts.map +1 -0
- package/dist/plugins/schema/ipc/constants.js +7 -0
- package/dist/plugins/schema/ipc/constants.js.map +1 -0
- package/dist/plugins/schema/ipc/envelope.d.ts +924 -47
- package/dist/plugins/schema/ipc/envelope.d.ts.map +1 -1
- package/dist/plugins/schema/ipc/envelope.js +23 -24
- package/dist/plugins/schema/ipc/envelope.js.map +1 -1
- package/dist/plugins/schema/ipc/types.d.ts +12 -0
- package/dist/plugins/schema/ipc/types.d.ts.map +1 -0
- package/dist/plugins/schema/ipc/types.js +3 -0
- package/dist/plugins/schema/ipc/types.js.map +1 -0
- package/dist/plugins/schema/ipc-envelope.d.ts +31 -31
- package/dist/plugins/schema/ipc-envelope.js +1 -1
- package/dist/plugins/schema/ipc-envelope.js.map +1 -1
- package/dist/plugins/schema/plugin/constants.d.ts +15 -0
- package/dist/plugins/schema/plugin/constants.d.ts.map +1 -0
- package/dist/plugins/schema/plugin/constants.js +19 -0
- package/dist/plugins/schema/plugin/constants.js.map +1 -0
- package/dist/plugins/schema/plugin/contents.d.ts +27 -0
- package/dist/plugins/schema/plugin/contents.d.ts.map +1 -0
- package/dist/plugins/schema/plugin/contents.js +39 -0
- package/dist/plugins/schema/plugin/contents.js.map +1 -0
- package/dist/plugins/schema/plugin/execution.d.ts +3957 -379
- package/dist/plugins/schema/plugin/execution.d.ts.map +1 -1
- package/dist/plugins/schema/plugin/execution.js +20 -9
- package/dist/plugins/schema/plugin/execution.js.map +1 -1
- package/dist/plugins/schema/plugin/members.d.ts +279 -0
- package/dist/plugins/schema/plugin/members.d.ts.map +1 -0
- package/dist/plugins/schema/plugin/members.js +53 -0
- package/dist/plugins/schema/plugin/members.js.map +1 -0
- package/dist/plugins/schema/plugin/plugin.d.ts +1097 -304
- package/dist/plugins/schema/plugin/plugin.d.ts.map +1 -1
- package/dist/plugins/schema/plugin/plugin.js +87 -21
- package/dist/plugins/schema/plugin/plugin.js.map +1 -1
- package/dist/plugins/schema/plugin/publishing.d.ts +91 -104
- package/dist/plugins/schema/plugin/publishing.d.ts.map +1 -1
- package/dist/plugins/schema/plugin/publishing.js +3 -8
- package/dist/plugins/schema/plugin/publishing.js.map +1 -1
- package/dist/plugins/schema/plugin/runtime.d.ts +227 -0
- package/dist/plugins/schema/plugin/runtime.d.ts.map +1 -0
- package/dist/plugins/schema/plugin/runtime.js +109 -0
- package/dist/plugins/schema/plugin/runtime.js.map +1 -0
- package/dist/plugins/schema/plugin/view.d.ts +39 -0
- package/dist/plugins/schema/plugin/view.d.ts.map +1 -0
- package/dist/plugins/schema/plugin/view.js +22 -0
- package/dist/plugins/schema/plugin/view.js.map +1 -0
- package/dist/plugins/schema/plugin-publishing.d.ts +82 -82
- package/dist/plugins/schema/plugin-publishing.js +1 -1
- package/dist/plugins/schema/plugin-publishing.js.map +1 -1
- package/dist/plugins/schema/plugin-sdk/index.d.ts +14 -9
- package/dist/plugins/schema/plugin-sdk/index.d.ts.map +1 -1
- package/dist/plugins/schema/plugin-sdk/index.js +28 -15
- package/dist/plugins/schema/plugin-sdk/index.js.map +1 -1
- package/dist/plugins/schema/plugin.d.ts +81 -81
- package/dist/plugins/schema/plugin.js +3 -3
- package/dist/plugins/schema/plugin.js.map +1 -1
- package/dist/plugins/schema/project/analysis.d.ts +686 -0
- package/dist/plugins/schema/project/analysis.d.ts.map +1 -0
- package/dist/plugins/schema/project/analysis.js +65 -0
- package/dist/plugins/schema/project/analysis.js.map +1 -0
- package/dist/plugins/sdk/clients/constants.d.ts +2 -0
- package/dist/plugins/sdk/clients/constants.d.ts.map +1 -0
- package/dist/plugins/sdk/clients/constants.js +37 -0
- package/dist/plugins/sdk/clients/constants.js.map +1 -0
- package/dist/plugins/sdk/define/node.d.ts.map +1 -1
- package/dist/plugins/sdk/define-node.d.ts +2 -2
- package/dist/plugins/sdk/define-node.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/clients/index.d.ts +2 -0
- package/dist/plugins/sdk/definitions/clients/index.d.ts.map +1 -0
- package/dist/plugins/sdk/definitions/clients/index.js +7 -0
- package/dist/plugins/sdk/definitions/clients/index.js.map +1 -0
- package/dist/plugins/sdk/definitions/clients/output.d.ts +2 -2
- package/dist/plugins/sdk/definitions/clients/output.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/clients/output.js +4 -37
- package/dist/plugins/sdk/definitions/clients/output.js.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/catalog.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/catalog.js +4 -3
- package/dist/plugins/sdk/definitions/compiler/catalog.js.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/index.d.ts +5 -4
- package/dist/plugins/sdk/definitions/compiler/index.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/index.js +11 -10
- package/dist/plugins/sdk/definitions/compiler/index.js.map +1 -1
- package/dist/plugins/sdk/definitions/compiler/types.d.ts +20 -2
- package/dist/plugins/sdk/definitions/compiler/types.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/index.d.ts +2 -2
- package/dist/plugins/sdk/definitions/index.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/npm/emit/js.d.ts +1 -1
- package/dist/plugins/sdk/definitions/npm/emit/js.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/npm/emit/js.js +2 -2
- package/dist/plugins/sdk/definitions/npm/emit/js.js.map +1 -1
- package/dist/plugins/sdk/definitions/npm/types.d.ts +26 -1
- package/dist/plugins/sdk/definitions/npm/types.d.ts.map +1 -1
- package/dist/plugins/sdk/definitions/types.d.ts +2 -2
- package/dist/plugins/sdk/definitions/types.d.ts.map +1 -1
- package/dist/plugins/sdk/json/index.d.ts +4 -0
- package/dist/plugins/sdk/json/index.d.ts.map +1 -0
- package/dist/plugins/sdk/json/index.js +9 -0
- package/dist/plugins/sdk/json/index.js.map +1 -0
- package/dist/plugins/sdk/json/safety.d.ts +2 -0
- package/dist/plugins/sdk/json/safety.d.ts.map +1 -0
- package/dist/plugins/sdk/json/safety.js +42 -0
- package/dist/plugins/sdk/json/safety.js.map +1 -0
- package/dist/plugins/sdk/json/schema.d.ts +1 -1
- package/dist/plugins/sdk/json/schema.d.ts.map +1 -1
- package/dist/plugins/sdk/json/types.d.ts +6 -0
- package/dist/plugins/sdk/json/types.d.ts.map +1 -0
- package/dist/plugins/sdk/json/types.js +3 -0
- package/dist/plugins/sdk/json/types.js.map +1 -0
- package/dist/plugins/sdk/nodes/index.d.ts.map +1 -1
- package/dist/plugins/sdk/nodes/index.js +4 -4
- package/dist/plugins/sdk/nodes/index.js.map +1 -1
- package/dist/plugins/sdk/plugin/index.d.ts +3 -3
- package/dist/plugins/sdk/plugin/index.d.ts.map +1 -1
- package/dist/plugins/sdk/plugin/index.js +1 -1
- package/dist/plugins/sdk/plugin/index.js.map +1 -1
- package/dist/plugins/sdk/plugin.d.ts +1 -1
- package/dist/plugins/sdk/plugin.d.ts.map +1 -1
- package/dist/plugins/sdk/plugin.js +5 -4
- package/dist/plugins/sdk/plugin.js.map +1 -1
- package/dist/plugins/sdk/plugin.types.d.ts +3 -3
- package/dist/plugins/sdk/plugin.types.d.ts.map +1 -1
- package/dist/plugins/sdk/plugins/define/node.d.ts +5 -5
- package/dist/plugins/sdk/plugins/define/node.d.ts.map +1 -1
- package/dist/plugins/sdk/plugins/define/node.js +1 -1
- package/dist/plugins/sdk/plugins/define/node.js.map +1 -1
- package/dist/plugins/sdk/plugins/define-node.d.ts +4 -4
- package/dist/plugins/sdk/plugins/define-node.d.ts.map +1 -1
- package/dist/plugins/sdk/plugins/define-node.js +1 -1
- package/dist/plugins/sdk/plugins/define-node.js.map +1 -1
- package/dist/plugins/sdk/plugins/index.d.ts +14 -14
- package/dist/plugins/sdk/plugins/index.d.ts.map +1 -1
- package/dist/plugins/sdk/plugins/index.js +14 -14
- package/dist/plugins/sdk/plugins/index.js.map +1 -1
- package/dist/plugins/sdk/plugins/types.d.ts +2 -2
- package/dist/plugins/sdk/plugins/types.d.ts.map +1 -1
- package/dist/plugins/sdk/project/index.d.ts +3 -3
- package/dist/plugins/sdk/project/index.d.ts.map +1 -1
- package/dist/plugins/sdk/project/index.js +1 -1
- package/dist/plugins/sdk/project/index.js.map +1 -1
- package/dist/plugins/sdk/runner.d.ts +0 -1
- package/dist/plugins/sdk/runner.d.ts.map +1 -1
- package/dist/plugins/sdk/runner.js +14 -46
- package/dist/plugins/sdk/runner.js.map +1 -1
- package/dist/plugins/sdk/types.d.ts +1 -1
- package/dist/plugins/sdk/types.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,239 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const DiagnosticExplanation: z.ZodObject<{
|
|
3
|
+
kind: z.ZodEnum<["typeMismatch", "missingInput", "missingMember", "unsupported", "unavailable", "codeIssue", "syntax", "arguments", "nullability", "generics", "classes", "modules", "declarations", "configuration", "controlFlow", "async", "jsx", "unused", "deprecated", "lint", "unsafeOperation", "validation", "serialization", "timeout", "cancelled", "permission", "network", "resource", "runtimeError", "missingReference", "range", "decorators", "operators", "informational", "improvement"]>;
|
|
4
|
+
coverage: z.ZodOptional<z.ZodEnum<["specific", "family", "fallback", "internal"]>>;
|
|
5
|
+
action: z.ZodOptional<z.ZodEnum<["reviewSource", "reviewTypes", "reviewInput", "reviewOutput", "reviewImports", "reviewSettings", "reviewAsync", "checkDependencies", "checkPermissions", "checkService", "reviewNode", "checkResources"]>>;
|
|
6
|
+
input: z.ZodOptional<z.ZodString>;
|
|
7
|
+
expected: z.ZodOptional<z.ZodString>;
|
|
8
|
+
provided: z.ZodOptional<z.ZodString>;
|
|
9
|
+
targets: z.ZodArray<z.ZodObject<{
|
|
10
|
+
workflowId: z.ZodString;
|
|
11
|
+
workflowName: z.ZodString;
|
|
12
|
+
nodeId: z.ZodOptional<z.ZodString>;
|
|
13
|
+
nodeName: z.ZodOptional<z.ZodString>;
|
|
14
|
+
port: z.ZodOptional<z.ZodString>;
|
|
15
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
16
|
+
producerNodeId: z.ZodOptional<z.ZodString>;
|
|
17
|
+
producerName: z.ZodOptional<z.ZodString>;
|
|
18
|
+
outputPort: z.ZodOptional<z.ZodString>;
|
|
19
|
+
}, "strip", z.ZodTypeAny, {
|
|
20
|
+
workflowId: string;
|
|
21
|
+
workflowName: string;
|
|
22
|
+
nodeId?: string | undefined;
|
|
23
|
+
revision?: string | undefined;
|
|
24
|
+
nodeName?: string | undefined;
|
|
25
|
+
port?: string | undefined;
|
|
26
|
+
producerNodeId?: string | undefined;
|
|
27
|
+
producerName?: string | undefined;
|
|
28
|
+
outputPort?: string | undefined;
|
|
29
|
+
}, {
|
|
30
|
+
workflowId: string;
|
|
31
|
+
workflowName: string;
|
|
32
|
+
nodeId?: string | undefined;
|
|
33
|
+
revision?: string | undefined;
|
|
34
|
+
nodeName?: string | undefined;
|
|
35
|
+
port?: string | undefined;
|
|
36
|
+
producerNodeId?: string | undefined;
|
|
37
|
+
producerName?: string | undefined;
|
|
38
|
+
outputPort?: string | undefined;
|
|
39
|
+
}>, "many">;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
|
|
42
|
+
targets: {
|
|
43
|
+
workflowId: string;
|
|
44
|
+
workflowName: string;
|
|
45
|
+
nodeId?: string | undefined;
|
|
46
|
+
revision?: string | undefined;
|
|
47
|
+
nodeName?: string | undefined;
|
|
48
|
+
port?: string | undefined;
|
|
49
|
+
producerNodeId?: string | undefined;
|
|
50
|
+
producerName?: string | undefined;
|
|
51
|
+
outputPort?: string | undefined;
|
|
52
|
+
}[];
|
|
53
|
+
action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
|
|
54
|
+
expected?: string | undefined;
|
|
55
|
+
coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
|
|
56
|
+
input?: string | undefined;
|
|
57
|
+
provided?: string | undefined;
|
|
58
|
+
}, {
|
|
59
|
+
kind: "cancelled" | "typeMismatch" | "missingInput" | "missingMember" | "unsupported" | "unavailable" | "codeIssue" | "syntax" | "arguments" | "nullability" | "generics" | "classes" | "modules" | "declarations" | "configuration" | "controlFlow" | "async" | "jsx" | "unused" | "deprecated" | "lint" | "unsafeOperation" | "validation" | "serialization" | "timeout" | "permission" | "network" | "resource" | "runtimeError" | "missingReference" | "range" | "decorators" | "operators" | "informational" | "improvement";
|
|
60
|
+
targets: {
|
|
61
|
+
workflowId: string;
|
|
62
|
+
workflowName: string;
|
|
63
|
+
nodeId?: string | undefined;
|
|
64
|
+
revision?: string | undefined;
|
|
65
|
+
nodeName?: string | undefined;
|
|
66
|
+
port?: string | undefined;
|
|
67
|
+
producerNodeId?: string | undefined;
|
|
68
|
+
producerName?: string | undefined;
|
|
69
|
+
outputPort?: string | undefined;
|
|
70
|
+
}[];
|
|
71
|
+
action?: "reviewSource" | "reviewTypes" | "reviewInput" | "reviewOutput" | "reviewImports" | "reviewSettings" | "reviewAsync" | "checkDependencies" | "checkPermissions" | "checkService" | "reviewNode" | "checkResources" | undefined;
|
|
72
|
+
expected?: string | undefined;
|
|
73
|
+
coverage?: "specific" | "family" | "fallback" | "internal" | undefined;
|
|
74
|
+
input?: string | undefined;
|
|
75
|
+
provided?: string | undefined;
|
|
76
|
+
}>;
|
|
77
|
+
export declare const DiagnosticRelated: z.ZodObject<{
|
|
78
|
+
message: z.ZodString;
|
|
79
|
+
code: z.ZodOptional<z.ZodString>;
|
|
80
|
+
path: z.ZodOptional<z.ZodString>;
|
|
81
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
82
|
+
column: z.ZodOptional<z.ZodNumber>;
|
|
83
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
84
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
86
|
+
}, "strip", z.ZodTypeAny, {
|
|
87
|
+
message: string;
|
|
88
|
+
code?: string | undefined;
|
|
89
|
+
start?: number | undefined;
|
|
90
|
+
path?: string | undefined;
|
|
91
|
+
revision?: string | undefined;
|
|
92
|
+
end?: number | undefined;
|
|
93
|
+
line?: number | undefined;
|
|
94
|
+
column?: number | undefined;
|
|
95
|
+
}, {
|
|
96
|
+
message: string;
|
|
97
|
+
code?: string | undefined;
|
|
98
|
+
start?: number | undefined;
|
|
99
|
+
path?: string | undefined;
|
|
100
|
+
revision?: string | undefined;
|
|
101
|
+
end?: number | undefined;
|
|
102
|
+
line?: number | undefined;
|
|
103
|
+
column?: number | undefined;
|
|
104
|
+
}>;
|
|
105
|
+
export declare const DiagnosticMessage: z.ZodObject<{
|
|
106
|
+
message: z.ZodString;
|
|
107
|
+
code: z.ZodString;
|
|
108
|
+
depth: z.ZodNumber;
|
|
109
|
+
category: z.ZodOptional<z.ZodNumber>;
|
|
110
|
+
}, "strip", z.ZodTypeAny, {
|
|
111
|
+
code: string;
|
|
112
|
+
message: string;
|
|
113
|
+
depth: number;
|
|
114
|
+
category?: number | undefined;
|
|
115
|
+
}, {
|
|
116
|
+
code: string;
|
|
117
|
+
message: string;
|
|
118
|
+
depth: number;
|
|
119
|
+
category?: number | undefined;
|
|
120
|
+
}>;
|
|
121
|
+
export declare const DiagnosticContext: z.ZodObject<{
|
|
122
|
+
phase: z.ZodOptional<z.ZodEnum<["parse", "typecheck", "lint", "compile", "runtime", "analysis"]>>;
|
|
123
|
+
related: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
124
|
+
message: z.ZodString;
|
|
125
|
+
code: z.ZodOptional<z.ZodString>;
|
|
126
|
+
path: z.ZodOptional<z.ZodString>;
|
|
127
|
+
line: z.ZodOptional<z.ZodNumber>;
|
|
128
|
+
column: z.ZodOptional<z.ZodNumber>;
|
|
129
|
+
start: z.ZodOptional<z.ZodNumber>;
|
|
130
|
+
end: z.ZodOptional<z.ZodNumber>;
|
|
131
|
+
revision: z.ZodOptional<z.ZodString>;
|
|
132
|
+
}, "strip", z.ZodTypeAny, {
|
|
133
|
+
message: string;
|
|
134
|
+
code?: string | undefined;
|
|
135
|
+
start?: number | undefined;
|
|
136
|
+
path?: string | undefined;
|
|
137
|
+
revision?: string | undefined;
|
|
138
|
+
end?: number | undefined;
|
|
139
|
+
line?: number | undefined;
|
|
140
|
+
column?: number | undefined;
|
|
141
|
+
}, {
|
|
142
|
+
message: string;
|
|
143
|
+
code?: string | undefined;
|
|
144
|
+
start?: number | undefined;
|
|
145
|
+
path?: string | undefined;
|
|
146
|
+
revision?: string | undefined;
|
|
147
|
+
end?: number | undefined;
|
|
148
|
+
line?: number | undefined;
|
|
149
|
+
column?: number | undefined;
|
|
150
|
+
}>, "many">>;
|
|
151
|
+
messages: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
152
|
+
message: z.ZodString;
|
|
153
|
+
code: z.ZodString;
|
|
154
|
+
depth: z.ZodNumber;
|
|
155
|
+
category: z.ZodOptional<z.ZodNumber>;
|
|
156
|
+
}, "strip", z.ZodTypeAny, {
|
|
157
|
+
code: string;
|
|
158
|
+
message: string;
|
|
159
|
+
depth: number;
|
|
160
|
+
category?: number | undefined;
|
|
161
|
+
}, {
|
|
162
|
+
code: string;
|
|
163
|
+
message: string;
|
|
164
|
+
depth: number;
|
|
165
|
+
category?: number | undefined;
|
|
166
|
+
}>, "many">>;
|
|
167
|
+
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
168
|
+
}, "strip", z.ZodTypeAny, {
|
|
169
|
+
phase?: "lint" | "parse" | "typecheck" | "compile" | "runtime" | "analysis" | undefined;
|
|
170
|
+
related?: {
|
|
171
|
+
message: string;
|
|
172
|
+
code?: string | undefined;
|
|
173
|
+
start?: number | undefined;
|
|
174
|
+
path?: string | undefined;
|
|
175
|
+
revision?: string | undefined;
|
|
176
|
+
end?: number | undefined;
|
|
177
|
+
line?: number | undefined;
|
|
178
|
+
column?: number | undefined;
|
|
179
|
+
}[] | undefined;
|
|
180
|
+
messages?: {
|
|
181
|
+
code: string;
|
|
182
|
+
message: string;
|
|
183
|
+
depth: number;
|
|
184
|
+
category?: number | undefined;
|
|
185
|
+
}[] | undefined;
|
|
186
|
+
truncated?: boolean | undefined;
|
|
187
|
+
}, {
|
|
188
|
+
phase?: "lint" | "parse" | "typecheck" | "compile" | "runtime" | "analysis" | undefined;
|
|
189
|
+
related?: {
|
|
190
|
+
message: string;
|
|
191
|
+
code?: string | undefined;
|
|
192
|
+
start?: number | undefined;
|
|
193
|
+
path?: string | undefined;
|
|
194
|
+
revision?: string | undefined;
|
|
195
|
+
end?: number | undefined;
|
|
196
|
+
line?: number | undefined;
|
|
197
|
+
column?: number | undefined;
|
|
198
|
+
}[] | undefined;
|
|
199
|
+
messages?: {
|
|
200
|
+
code: string;
|
|
201
|
+
message: string;
|
|
202
|
+
depth: number;
|
|
203
|
+
category?: number | undefined;
|
|
204
|
+
}[] | undefined;
|
|
205
|
+
truncated?: boolean | undefined;
|
|
206
|
+
}>;
|
|
207
|
+
export declare const RuntimeErrorIdentity: z.ZodObject<{
|
|
208
|
+
name: z.ZodOptional<z.ZodString>;
|
|
209
|
+
systemCode: z.ZodOptional<z.ZodString>;
|
|
210
|
+
causes: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
211
|
+
name: z.ZodOptional<z.ZodString>;
|
|
212
|
+
code: z.ZodOptional<z.ZodString>;
|
|
213
|
+
}, "strip", z.ZodTypeAny, {
|
|
214
|
+
name?: string | undefined;
|
|
215
|
+
code?: string | undefined;
|
|
216
|
+
}, {
|
|
217
|
+
name?: string | undefined;
|
|
218
|
+
code?: string | undefined;
|
|
219
|
+
}>, "many">>;
|
|
220
|
+
}, "strip", z.ZodTypeAny, {
|
|
221
|
+
name?: string | undefined;
|
|
222
|
+
systemCode?: string | undefined;
|
|
223
|
+
causes?: {
|
|
224
|
+
name?: string | undefined;
|
|
225
|
+
code?: string | undefined;
|
|
226
|
+
}[] | undefined;
|
|
227
|
+
}, {
|
|
228
|
+
name?: string | undefined;
|
|
229
|
+
systemCode?: string | undefined;
|
|
230
|
+
causes?: {
|
|
231
|
+
name?: string | undefined;
|
|
232
|
+
code?: string | undefined;
|
|
233
|
+
}[] | undefined;
|
|
234
|
+
}>;
|
|
235
|
+
export type DiagnosticExplanation = z.infer<typeof DiagnosticExplanation>;
|
|
236
|
+
export type DiagnosticRelated = z.infer<typeof DiagnosticRelated>;
|
|
237
|
+
export type DiagnosticMessage = z.infer<typeof DiagnosticMessage>;
|
|
238
|
+
export type RuntimeErrorIdentity = z.infer<typeof RuntimeErrorIdentity>;
|
|
239
|
+
//# sourceMappingURL=schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.d.ts","sourceRoot":"","sources":["../../../../src/plugins/schema/diagnostics/schema.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAWxB,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAsBhC,CAAC;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAS5B,CAAC;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;EAK5B,CAAC;AACH,eAAO,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAK5B,CAAC;AACH,eAAO,MAAM,oBAAoB;;;;;;;;;;;;;;;;;;;;;;;;;;;EAO/B,CAAC;AACH,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAC;AAC1E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAClE,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,iBAAiB,CAAC,CAAC;AAClE,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.RuntimeErrorIdentity = exports.DiagnosticContext = exports.DiagnosticMessage = exports.DiagnosticRelated = exports.DiagnosticExplanation = void 0;
|
|
4
|
+
// Generated from packages/schema/src/diagnostics/schema.ts. Do not edit; run the Octonode SDK sync.
|
|
5
|
+
const zod_1 = require("zod");
|
|
6
|
+
const constants_1 = require("./constants.js");
|
|
7
|
+
exports.DiagnosticExplanation = zod_1.z.object({
|
|
8
|
+
kind: zod_1.z.enum(constants_1.DIAGNOSTIC_KINDS),
|
|
9
|
+
coverage: zod_1.z.enum(["specific", "family", "fallback", "internal"]).optional(),
|
|
10
|
+
action: zod_1.z.enum(constants_1.DIAGNOSTIC_ACTIONS).optional(),
|
|
11
|
+
input: zod_1.z.string().optional(),
|
|
12
|
+
expected: zod_1.z.string().optional(),
|
|
13
|
+
provided: zod_1.z.string().optional(),
|
|
14
|
+
targets: zod_1.z
|
|
15
|
+
.array(zod_1.z.object({
|
|
16
|
+
workflowId: zod_1.z.string(),
|
|
17
|
+
workflowName: zod_1.z.string(),
|
|
18
|
+
nodeId: zod_1.z.string().optional(),
|
|
19
|
+
nodeName: zod_1.z.string().optional(),
|
|
20
|
+
port: zod_1.z.string().optional(),
|
|
21
|
+
revision: zod_1.z.string().optional(),
|
|
22
|
+
producerNodeId: zod_1.z.string().optional(),
|
|
23
|
+
producerName: zod_1.z.string().optional(),
|
|
24
|
+
outputPort: zod_1.z.string().optional(),
|
|
25
|
+
}))
|
|
26
|
+
.max(100),
|
|
27
|
+
});
|
|
28
|
+
exports.DiagnosticRelated = zod_1.z.object({
|
|
29
|
+
message: zod_1.z.string().max(constants_1.DIAGNOSTIC_MAX_MESSAGE_LENGTH),
|
|
30
|
+
code: zod_1.z.string().optional(),
|
|
31
|
+
path: zod_1.z.string().optional(),
|
|
32
|
+
line: zod_1.z.number().int().positive().optional(),
|
|
33
|
+
column: zod_1.z.number().int().positive().optional(),
|
|
34
|
+
start: zod_1.z.number().int().nonnegative().optional(),
|
|
35
|
+
end: zod_1.z.number().int().nonnegative().optional(),
|
|
36
|
+
revision: zod_1.z.string().optional(),
|
|
37
|
+
});
|
|
38
|
+
exports.DiagnosticMessage = zod_1.z.object({
|
|
39
|
+
message: zod_1.z.string().max(constants_1.DIAGNOSTIC_MAX_MESSAGE_LENGTH),
|
|
40
|
+
code: zod_1.z.string(),
|
|
41
|
+
depth: zod_1.z.number().int().min(0).max(constants_1.DIAGNOSTIC_MAX_DEPTH),
|
|
42
|
+
category: zod_1.z.number().int().optional(),
|
|
43
|
+
});
|
|
44
|
+
exports.DiagnosticContext = zod_1.z.object({
|
|
45
|
+
phase: zod_1.z.enum(["parse", "typecheck", "lint", "compile", "runtime", "analysis"]).optional(),
|
|
46
|
+
related: zod_1.z.array(exports.DiagnosticRelated).max(constants_1.DIAGNOSTIC_MAX_RELATED).optional(),
|
|
47
|
+
messages: zod_1.z.array(exports.DiagnosticMessage).max(constants_1.DIAGNOSTIC_MAX_MESSAGES).optional(),
|
|
48
|
+
truncated: zod_1.z.boolean().optional(),
|
|
49
|
+
});
|
|
50
|
+
exports.RuntimeErrorIdentity = zod_1.z.object({
|
|
51
|
+
name: zod_1.z.string().max(200).optional(),
|
|
52
|
+
systemCode: zod_1.z.string().max(200).optional(),
|
|
53
|
+
causes: zod_1.z
|
|
54
|
+
.array(zod_1.z.object({ name: zod_1.z.string().max(200).optional(), code: zod_1.z.string().max(200).optional() }))
|
|
55
|
+
.max(constants_1.DIAGNOSTIC_MAX_CAUSES)
|
|
56
|
+
.optional(),
|
|
57
|
+
});
|
|
58
|
+
//# sourceMappingURL=schema.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"schema.js","sourceRoot":"","sources":["../../../../src/plugins/schema/diagnostics/schema.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import type { DIAGNOSTIC_ACTIONS, DIAGNOSTIC_KINDS } from "./constants.js";
|
|
2
|
+
import type { DiagnosticExplanation, RuntimeErrorIdentity } from "./schema.js";
|
|
3
|
+
import type { ProjectAnalysisResult } from "../project/analysis.js";
|
|
4
|
+
export type DiagnosticKind = (typeof DIAGNOSTIC_KINDS)[number];
|
|
5
|
+
export type DiagnosticAction = (typeof DIAGNOSTIC_ACTIONS)[number];
|
|
6
|
+
export interface DiagnosticRule {
|
|
7
|
+
kind: DiagnosticKind;
|
|
8
|
+
coverage: "specific" | "family" | "fallback" | "internal";
|
|
9
|
+
}
|
|
10
|
+
export interface RuntimeDiagnosticInput {
|
|
11
|
+
code?: string;
|
|
12
|
+
name?: string;
|
|
13
|
+
systemCode?: string;
|
|
14
|
+
retryable?: boolean;
|
|
15
|
+
diagnostic?: DiagnosticExplanation;
|
|
16
|
+
causes?: RuntimeErrorIdentity["causes"];
|
|
17
|
+
}
|
|
18
|
+
export interface CompilerMessage {
|
|
19
|
+
code: number;
|
|
20
|
+
category?: number;
|
|
21
|
+
messageText: string;
|
|
22
|
+
next?: readonly CompilerMessage[];
|
|
23
|
+
}
|
|
24
|
+
export interface DiagnosticReportIssue {
|
|
25
|
+
code?: string;
|
|
26
|
+
message: string;
|
|
27
|
+
}
|
|
28
|
+
export interface DiagnosticReportContext {
|
|
29
|
+
projectId?: string;
|
|
30
|
+
workflowId?: string;
|
|
31
|
+
nodeId?: string;
|
|
32
|
+
runId?: string;
|
|
33
|
+
revision?: string;
|
|
34
|
+
analysisStatus?: ProjectAnalysisResult["status"];
|
|
35
|
+
truncated?: boolean;
|
|
36
|
+
}
|
|
37
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/plugins/schema/diagnostics/types.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,gBAAgB,EAAE,uBAAoB;AACxE,OAAO,KAAK,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,oBAAiB;AAC5E,OAAO,KAAK,EAAE,qBAAqB,EAAE,+BAA4B;AAEjE,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAC/D,MAAM,MAAM,gBAAgB,GAAG,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAAC;AACnE,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,cAAc,CAAC;IACrB,QAAQ,EAAE,UAAU,GAAG,QAAQ,GAAG,UAAU,GAAG,UAAU,CAAC;CAC3D;AACD,MAAM,WAAW,sBAAsB;IACrC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,UAAU,CAAC,EAAE,qBAAqB,CAAC;IACnC,MAAM,CAAC,EAAE,oBAAoB,CAAC,QAAQ,CAAC,CAAC;CACzC;AACD,MAAM,WAAW,eAAe;IAC9B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,EAAE,MAAM,CAAC;IACpB,IAAI,CAAC,EAAE,SAAS,eAAe,EAAE,CAAC;CACnC;AAED,MAAM,WAAW,qBAAqB;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,uBAAuB;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,cAAc,CAAC,EAAE,qBAAqB,CAAC,QAAQ,CAAC,CAAC;IACjD,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/plugins/schema/diagnostics/types.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
-
export declare const
|
|
3
|
-
export declare const IconName: z.ZodEnum<["arrow-up-down", "binary", "bomb", "boxes", "braces", "calculator", "calendar", "camera", "clock", "code", "copy-x", "database", "dices", "filter", "flag", "flask", "function", "git-branch", "git-merge", "group", "hook", "list-filter", "merge", "octagon-x", "package", "package-x", "pencil", "play", "regex", "repeat", "replace", "ruler", "scan-eye", "scissors", "search", "server-cog", "settings", "sigma", "split", "terminal", "test-tube", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>;
|
|
2
|
+
export declare const IconName: z.ZodEnum<["arrow-up-down", "asterisk", "binary", "bomb", "box", "boxes", "braces", "calculator", "calendar", "calendar-clock", "calendar-minus", "calendar-plus", "calendar-search", "camera", "case-lower", "case-upper", "chart-no-axes-column", "chart-no-axes-combined", "check-check", "chevron-left", "chevron-right", "chevrons-left", "chevrons-right", "circle-check", "circle-dashed", "circle-slash", "circle-x", "clock", "code", "copy-x", "corner-down-left", "database", "dices", "equal", "equal-not", "file-input", "file-output", "file-terminal", "file-text", "filter", "fingerprint", "flag", "flask", "folder-plus", "folder-search", "function", "git-branch", "git-merge", "group", "hash", "hook", "house", "info", "key-round", "list", "list-check", "list-checks", "list-end", "list-filter", "list-ordered", "list-restart", "list-start", "list-tree", "merge", "monitor", "octagon-x", "package", "package-x", "pencil", "play", "regex", "remove-formatting", "repeat", "repeat-2", "replace", "ruler", "scan-eye", "scissors", "search", "search-check", "server-cog", "settings", "shapes", "shield-alert", "shield-check", "shuffle", "sigma", "space", "split", "terminal", "test-tube", "text-cursor", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>;
|
|
4
3
|
export type IconName = z.infer<typeof IconName>;
|
|
5
4
|
/** Browser-rendered branding only; the server never downloads these images. */
|
|
6
5
|
export declare const HostedIconUrl: z.ZodEffects<z.ZodString, string, string>;
|
|
7
|
-
export declare const IconValue: z.ZodUnion<[z.ZodEnum<["arrow-up-down", "binary", "bomb", "boxes", "braces", "calculator", "calendar", "camera", "clock", "code", "copy-x", "database", "dices", "filter", "flag", "flask", "function", "git-branch", "git-merge", "group", "hook", "list-filter", "merge", "octagon-x", "package", "package-x", "pencil", "play", "regex", "repeat", "replace", "ruler", "scan-eye", "scissors", "search", "server-cog", "settings", "sigma", "split", "terminal", "test-tube", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>, z.ZodEffects<z.ZodString, string, string>]>;
|
|
6
|
+
export declare const IconValue: z.ZodUnion<[z.ZodEnum<["arrow-up-down", "asterisk", "binary", "bomb", "box", "boxes", "braces", "calculator", "calendar", "calendar-clock", "calendar-minus", "calendar-plus", "calendar-search", "camera", "case-lower", "case-upper", "chart-no-axes-column", "chart-no-axes-combined", "check-check", "chevron-left", "chevron-right", "chevrons-left", "chevrons-right", "circle-check", "circle-dashed", "circle-slash", "circle-x", "clock", "code", "copy-x", "corner-down-left", "database", "dices", "equal", "equal-not", "file-input", "file-output", "file-terminal", "file-text", "filter", "fingerprint", "flag", "flask", "folder-plus", "folder-search", "function", "git-branch", "git-merge", "group", "hash", "hook", "house", "info", "key-round", "list", "list-check", "list-checks", "list-end", "list-filter", "list-ordered", "list-restart", "list-start", "list-tree", "merge", "monitor", "octagon-x", "package", "package-x", "pencil", "play", "regex", "remove-formatting", "repeat", "repeat-2", "replace", "ruler", "scan-eye", "scissors", "search", "search-check", "server-cog", "settings", "shapes", "shield-alert", "shield-check", "shuffle", "sigma", "space", "split", "terminal", "test-tube", "text-cursor", "text-cursor-input", "ticket", "truck", "type", "typescript", "ungroup", "variable", "wand", "wave", "webhook", "workflow", "x"]>, z.ZodEffects<z.ZodString, string, string>]>;
|
|
8
7
|
export type IconValue = z.infer<typeof IconValue>;
|
|
9
8
|
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/plugins/schema/icons.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/plugins/schema/icons.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAGxB,eAAO,MAAM,QAAQ,gzCAAqB,CAAC;AAC3C,MAAM,MAAM,QAAQ,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,QAAQ,CAAC,CAAC;AAEhD,+EAA+E;AAC/E,eAAO,MAAM,aAAa,2CAiBmC,CAAC;AAE9D,eAAO,MAAM,SAAS,y2CAAqC,CAAC;AAC5D,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,SAAS,CAAC,CAAC"}
|
|
@@ -1,64 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IconValue = exports.HostedIconUrl = exports.IconName =
|
|
3
|
+
exports.IconValue = exports.HostedIconUrl = exports.IconName = void 0;
|
|
4
4
|
// Generated from packages/schema/src/icons.ts. Do not edit; run the Octonode SDK sync.
|
|
5
5
|
const zod_1 = require("zod");
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
"binary",
|
|
9
|
-
"bomb",
|
|
10
|
-
"boxes",
|
|
11
|
-
"braces",
|
|
12
|
-
"calculator",
|
|
13
|
-
"calendar",
|
|
14
|
-
"camera",
|
|
15
|
-
"clock",
|
|
16
|
-
"code",
|
|
17
|
-
"copy-x",
|
|
18
|
-
"database",
|
|
19
|
-
"dices",
|
|
20
|
-
"filter",
|
|
21
|
-
"flag",
|
|
22
|
-
"flask",
|
|
23
|
-
"function",
|
|
24
|
-
"git-branch",
|
|
25
|
-
"git-merge",
|
|
26
|
-
"group",
|
|
27
|
-
"hook",
|
|
28
|
-
"list-filter",
|
|
29
|
-
"merge",
|
|
30
|
-
"octagon-x",
|
|
31
|
-
"package",
|
|
32
|
-
"package-x",
|
|
33
|
-
"pencil",
|
|
34
|
-
"play",
|
|
35
|
-
"regex",
|
|
36
|
-
"repeat",
|
|
37
|
-
"replace",
|
|
38
|
-
"ruler",
|
|
39
|
-
"scan-eye",
|
|
40
|
-
"scissors",
|
|
41
|
-
"search",
|
|
42
|
-
"server-cog",
|
|
43
|
-
"settings",
|
|
44
|
-
"sigma",
|
|
45
|
-
"split",
|
|
46
|
-
"terminal",
|
|
47
|
-
"test-tube",
|
|
48
|
-
"text-cursor-input",
|
|
49
|
-
"ticket",
|
|
50
|
-
"truck",
|
|
51
|
-
"type",
|
|
52
|
-
"typescript",
|
|
53
|
-
"ungroup",
|
|
54
|
-
"variable",
|
|
55
|
-
"wand",
|
|
56
|
-
"wave",
|
|
57
|
-
"webhook",
|
|
58
|
-
"workflow",
|
|
59
|
-
"x",
|
|
60
|
-
];
|
|
61
|
-
exports.IconName = zod_1.z.enum(exports.ICON_NAMES);
|
|
6
|
+
const constants_1 = require("./constants/constants.js");
|
|
7
|
+
exports.IconName = zod_1.z.enum(constants_1.ICON_NAMES);
|
|
62
8
|
/** Browser-rendered branding only; the server never downloads these images. */
|
|
63
9
|
exports.HostedIconUrl = zod_1.z
|
|
64
10
|
.string()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.js","sourceRoot":"","sources":["../../../src/plugins/schema/icons.ts"],"names":[],"mappings":";;;AAAA,uFAAuF;AACvF,6BAAwB;
|
|
1
|
+
{"version":3,"file":"icons.js","sourceRoot":"","sources":["../../../src/plugins/schema/icons.ts"],"names":[],"mappings":";;;AAAA,uFAAuF;AACvF,6BAAwB;AACxB,wDAAmD;AAEtC,QAAA,QAAQ,GAAG,OAAC,CAAC,IAAI,CAAC,sBAAU,CAAC,CAAC;AAG3C,+EAA+E;AAClE,QAAA,aAAa,GAAG,OAAC;KAC3B,MAAM,EAAE;KACR,GAAG,CAAC,KAAK,CAAC;KACV,GAAG,EAAE;KACL,MAAM,CAAC,CAAC,KAAK,EAAE,EAAE;IAChB,IAAI,CAAC;QACH,MAAM,GAAG,GAAG,IAAI,GAAG,CAAC,KAAK,CAAC,CAAC;QAC3B,OAAO,CACL,cAAc,CAAC,IAAI,CAAC,KAAK,CAAC;YAC1B,CAAC,eAAe,CAAC,IAAI,CAAC,KAAK,CAAC;YAC5B,GAAG,CAAC,QAAQ,KAAK,QAAQ;YACzB,CAAC,GAAG,CAAC,QAAQ;YACb,CAAC,GAAG,CAAC,QAAQ,CACd,CAAC;IACJ,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,KAAK,CAAC;IACf,CAAC;AACH,CAAC,EAAE,uDAAuD,CAAC,CAAC;AAEjD,QAAA,SAAS,GAAG,OAAC,CAAC,KAAK,CAAC,CAAC,gBAAQ,EAAE,qBAAa,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../../../src/plugins/schema/ipc/constants.ts"],"names":[],"mappings":"AACA,+EAA+E;AAC/E,eAAO,MAAM,gBAAgB,EAAG,GAAY,CAAC"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PROTOCOL_VERSION = void 0;
|
|
4
|
+
// Generated from packages/schema/src/ipc/constants.ts. Do not edit; run the Octonode SDK sync.
|
|
5
|
+
/** Bump only for a breaking change to the envelope's `octonode` wire field. */
|
|
6
|
+
exports.PROTOCOL_VERSION = "1";
|
|
7
|
+
//# sourceMappingURL=constants.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../src/plugins/schema/ipc/constants.ts"],"names":[],"mappings":";;;AAAA,+FAA+F;AAC/F,+EAA+E;AAClE,QAAA,gBAAgB,GAAG,GAAY,CAAC"}
|