@neat.is/types 0.4.28-dev.20260711 → 0.4.28-dev.20260713
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.cjs +25 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +145 -1
- package/dist/index.d.ts +145 -1
- package/dist/index.js +21 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5728,6 +5728,150 @@ declare const SingleProjectResponseSchema: z.ZodObject<{
|
|
|
5728
5728
|
};
|
|
5729
5729
|
}>;
|
|
5730
5730
|
type SingleProjectResponse = z.infer<typeof SingleProjectResponseSchema>;
|
|
5731
|
+
declare const ConnectorPollStateSchema: z.ZodEnum<["idle", "healthy", "error", "stale"]>;
|
|
5732
|
+
type ConnectorPollState = z.infer<typeof ConnectorPollStateSchema>;
|
|
5733
|
+
declare const ConnectorStatusSchema: z.ZodObject<{
|
|
5734
|
+
state: z.ZodEnum<["idle", "healthy", "error", "stale"]>;
|
|
5735
|
+
lastPollAt: z.ZodNullable<z.ZodString>;
|
|
5736
|
+
lastOutcome: z.ZodNullable<z.ZodEnum<["ok", "error"]>>;
|
|
5737
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
5738
|
+
signalsLastPoll: z.ZodNumber;
|
|
5739
|
+
}, "strip", z.ZodTypeAny, {
|
|
5740
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5741
|
+
lastPollAt: string | null;
|
|
5742
|
+
lastOutcome: "error" | "ok" | null;
|
|
5743
|
+
lastError: string | null;
|
|
5744
|
+
signalsLastPoll: number;
|
|
5745
|
+
}, {
|
|
5746
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5747
|
+
lastPollAt: string | null;
|
|
5748
|
+
lastOutcome: "error" | "ok" | null;
|
|
5749
|
+
lastError: string | null;
|
|
5750
|
+
signalsLastPoll: number;
|
|
5751
|
+
}>;
|
|
5752
|
+
type ConnectorStatus = z.infer<typeof ConnectorStatusSchema>;
|
|
5753
|
+
declare const ConnectorStatusEntrySchema: z.ZodObject<{
|
|
5754
|
+
id: z.ZodString;
|
|
5755
|
+
provider: z.ZodString;
|
|
5756
|
+
credentialRef: z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
5757
|
+
status: z.ZodObject<{
|
|
5758
|
+
state: z.ZodEnum<["idle", "healthy", "error", "stale"]>;
|
|
5759
|
+
lastPollAt: z.ZodNullable<z.ZodString>;
|
|
5760
|
+
lastOutcome: z.ZodNullable<z.ZodEnum<["ok", "error"]>>;
|
|
5761
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
5762
|
+
signalsLastPoll: z.ZodNumber;
|
|
5763
|
+
}, "strip", z.ZodTypeAny, {
|
|
5764
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5765
|
+
lastPollAt: string | null;
|
|
5766
|
+
lastOutcome: "error" | "ok" | null;
|
|
5767
|
+
lastError: string | null;
|
|
5768
|
+
signalsLastPoll: number;
|
|
5769
|
+
}, {
|
|
5770
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5771
|
+
lastPollAt: string | null;
|
|
5772
|
+
lastOutcome: "error" | "ok" | null;
|
|
5773
|
+
lastError: string | null;
|
|
5774
|
+
signalsLastPoll: number;
|
|
5775
|
+
}>;
|
|
5776
|
+
}, "strip", z.ZodTypeAny, {
|
|
5777
|
+
status: {
|
|
5778
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5779
|
+
lastPollAt: string | null;
|
|
5780
|
+
lastOutcome: "error" | "ok" | null;
|
|
5781
|
+
lastError: string | null;
|
|
5782
|
+
signalsLastPoll: number;
|
|
5783
|
+
};
|
|
5784
|
+
id: string;
|
|
5785
|
+
provider: string;
|
|
5786
|
+
credentialRef: string | Record<string, string>;
|
|
5787
|
+
}, {
|
|
5788
|
+
status: {
|
|
5789
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5790
|
+
lastPollAt: string | null;
|
|
5791
|
+
lastOutcome: "error" | "ok" | null;
|
|
5792
|
+
lastError: string | null;
|
|
5793
|
+
signalsLastPoll: number;
|
|
5794
|
+
};
|
|
5795
|
+
id: string;
|
|
5796
|
+
provider: string;
|
|
5797
|
+
credentialRef: string | Record<string, string>;
|
|
5798
|
+
}>;
|
|
5799
|
+
type ConnectorStatusEntry = z.infer<typeof ConnectorStatusEntrySchema>;
|
|
5800
|
+
declare const ConnectorsStatusResponseSchema: z.ZodObject<{
|
|
5801
|
+
connectors: z.ZodArray<z.ZodObject<{
|
|
5802
|
+
id: z.ZodString;
|
|
5803
|
+
provider: z.ZodString;
|
|
5804
|
+
credentialRef: z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
5805
|
+
status: z.ZodObject<{
|
|
5806
|
+
state: z.ZodEnum<["idle", "healthy", "error", "stale"]>;
|
|
5807
|
+
lastPollAt: z.ZodNullable<z.ZodString>;
|
|
5808
|
+
lastOutcome: z.ZodNullable<z.ZodEnum<["ok", "error"]>>;
|
|
5809
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
5810
|
+
signalsLastPoll: z.ZodNumber;
|
|
5811
|
+
}, "strip", z.ZodTypeAny, {
|
|
5812
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5813
|
+
lastPollAt: string | null;
|
|
5814
|
+
lastOutcome: "error" | "ok" | null;
|
|
5815
|
+
lastError: string | null;
|
|
5816
|
+
signalsLastPoll: number;
|
|
5817
|
+
}, {
|
|
5818
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5819
|
+
lastPollAt: string | null;
|
|
5820
|
+
lastOutcome: "error" | "ok" | null;
|
|
5821
|
+
lastError: string | null;
|
|
5822
|
+
signalsLastPoll: number;
|
|
5823
|
+
}>;
|
|
5824
|
+
}, "strip", z.ZodTypeAny, {
|
|
5825
|
+
status: {
|
|
5826
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5827
|
+
lastPollAt: string | null;
|
|
5828
|
+
lastOutcome: "error" | "ok" | null;
|
|
5829
|
+
lastError: string | null;
|
|
5830
|
+
signalsLastPoll: number;
|
|
5831
|
+
};
|
|
5832
|
+
id: string;
|
|
5833
|
+
provider: string;
|
|
5834
|
+
credentialRef: string | Record<string, string>;
|
|
5835
|
+
}, {
|
|
5836
|
+
status: {
|
|
5837
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5838
|
+
lastPollAt: string | null;
|
|
5839
|
+
lastOutcome: "error" | "ok" | null;
|
|
5840
|
+
lastError: string | null;
|
|
5841
|
+
signalsLastPoll: number;
|
|
5842
|
+
};
|
|
5843
|
+
id: string;
|
|
5844
|
+
provider: string;
|
|
5845
|
+
credentialRef: string | Record<string, string>;
|
|
5846
|
+
}>, "many">;
|
|
5847
|
+
}, "strip", z.ZodTypeAny, {
|
|
5848
|
+
connectors: {
|
|
5849
|
+
status: {
|
|
5850
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5851
|
+
lastPollAt: string | null;
|
|
5852
|
+
lastOutcome: "error" | "ok" | null;
|
|
5853
|
+
lastError: string | null;
|
|
5854
|
+
signalsLastPoll: number;
|
|
5855
|
+
};
|
|
5856
|
+
id: string;
|
|
5857
|
+
provider: string;
|
|
5858
|
+
credentialRef: string | Record<string, string>;
|
|
5859
|
+
}[];
|
|
5860
|
+
}, {
|
|
5861
|
+
connectors: {
|
|
5862
|
+
status: {
|
|
5863
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5864
|
+
lastPollAt: string | null;
|
|
5865
|
+
lastOutcome: "error" | "ok" | null;
|
|
5866
|
+
lastError: string | null;
|
|
5867
|
+
signalsLastPoll: number;
|
|
5868
|
+
};
|
|
5869
|
+
id: string;
|
|
5870
|
+
provider: string;
|
|
5871
|
+
credentialRef: string | Record<string, string>;
|
|
5872
|
+
}[];
|
|
5873
|
+
}>;
|
|
5874
|
+
type ConnectorsStatusResponse = z.infer<typeof ConnectorsStatusResponseSchema>;
|
|
5731
5875
|
declare const SearchMatchSchema: z.ZodObject<{
|
|
5732
5876
|
score: z.ZodNumber;
|
|
5733
5877
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -11884,4 +12028,4 @@ declare const DEFAULT_EXTRACTED_PRECISION_FLOOR = 0.7;
|
|
|
11884
12028
|
declare function extractedPrecisionFloor(): number;
|
|
11885
12029
|
declare function passesExtractedFloor(confidence: number): boolean;
|
|
11886
12030
|
|
|
11887
|
-
export { type ApplicablePoliciesResponse, ApplicablePoliciesResponseSchema, type ApplicablePolicy, ApplicablePolicySchema, type BlastRadiusAffectedNode, BlastRadiusAffectedNodeSchema, type BlastRadiusResult, BlastRadiusResultSchema, type BlastRadiusRule, BlastRadiusRuleSchema, type CheckPoliciesScope, CheckPoliciesScopeSchema, type CompatRuleRef, CompatRuleRefSchema, type CompatViolationDivergence, CompatViolationDivergenceSchema, type CompatibilityRule, CompatibilityRuleSchema, type CompatibilityVerdict, CompatibilityVerdictSchema, type CompatibleDriver, CompatibleDriverSchema, type ConfigNode, ConfigNodeSchema, DEFAULT_EXTRACTED_PRECISION_FLOOR, type DaemonHealthResponse, DaemonHealthResponseSchema, type DatabaseNode, DatabaseNodeSchema, type DiscoveredVia, DiscoveredViaSchema, type Divergence, type DivergenceResult, DivergenceResultSchema, DivergenceSchema, type DivergenceType, DivergenceTypeSchema, EMPTY_REGISTRY, EXTRACTED_CONFIDENCE, type EdgeEvidence, EdgeEvidenceSchema, type EdgeSignal, EdgeSignalSchema, EdgeType, EdgeTypeSchema, type EdgeTypeValue, type ErrorEvent, ErrorEventSchema, type ExtractedConfidenceKind, type FileNode, FileNodeSchema, type FrontierNode, FrontierNodeSchema, type GraphDiffResult, GraphDiffResultSchema, type GraphEdge, GraphEdgeSchema, type GraphEdgesResponse, GraphEdgesResponseSchema, type GraphNode, type GraphNodeResponse, GraphNodeResponseSchema, GraphNodeSchema, type GraphQLOperationNode, GraphQLOperationNodeSchema, type GrpcMethodNode, GrpcMethodNodeSchema, type HealthResponse, HealthResponseSchema, type HostMismatchDivergence, HostMismatchDivergenceSchema, type HypotheticalAction, HypotheticalActionSchema, type IncidentsResponse, IncidentsResponseSchema, type InfraNode, InfraNodeSchema, type LogEntry, LogEntrySchema, type LogSource, LogSourceSchema, type LogsResponse, LogsResponseSchema, type MCPToolName, MCP_TOOL_NAMES, type MissingExtractedDivergence, MissingExtractedDivergenceSchema, type MissingObservedDivergence, MissingObservedDivergenceSchema, NodeType, NodeTypeSchema, type NodeTypeValue, type ObservedDependenciesResult, ObservedDependenciesResultSchema, type OwnershipRule, OwnershipRuleSchema, PROV_RANK, type PoliciesCheckBody, PoliciesCheckBodySchema, type PoliciesViolationsResponse, PoliciesViolationsResponseSchema, type Policy, type PolicyAction, PolicyActionSchema, type PolicyFile, PolicyFileSchema, type PolicyRule, PolicyRuleSchema, PolicySchema, type PolicySeverity, PolicySeveritySchema, type PolicyViolation, PolicyViolationSchema, Provenance, type ProvenanceRule, ProvenanceRuleSchema, ProvenanceSchema, type ProvenanceValue, type RegistryEntry, RegistryEntrySchema, type RegistryFile, RegistryFileSchema, type RegistryStatus, RegistryStatusSchema, type RootCauseResult, RootCauseResultSchema, type RouteNode, RouteNodeSchema, type SearchMatch, SearchMatchSchema, type SearchResponse, SearchResponseSchema, type SerializedGraph, SerializedGraphSchema, type ServiceNode, ServiceNodeSchema, type SingleProjectResponse, SingleProjectResponseSchema, type SpanAttributes, SpanAttributesSchema, type StaleEvent, StaleEventSchema, type StaleEventsResponse, StaleEventsResponseSchema, type StructuralRule, StructuralRuleSchema, type TransitiveDependenciesResult, TransitiveDependenciesResultSchema, type TransitiveDependency, TransitiveDependencySchema, type VersionMismatchDivergence, VersionMismatchDivergenceSchema, type WebSocketChannelNode, WebSocketChannelNodeSchema, confidenceForExtracted, confidenceForObservedSignal, configId, databaseId, extractedEdgeId, extractedPrecisionFloor, fileId, frontierId, graphqlOperationId, grpcMethodId, inferredEdgeId, infraId, localDatabaseId, observedEdgeId, parseConfigId, parseDatabaseId, parseEdgeId, parseFileId, parseFrontierId, parseGraphqlOperationId, parseGrpcMethodId, parseInfraId, parseRouteId, parseServiceId, parseWebsocketChannelId, passesExtractedFloor, routeId, serviceId, websocketChannelId };
|
|
12031
|
+
export { type ApplicablePoliciesResponse, ApplicablePoliciesResponseSchema, type ApplicablePolicy, ApplicablePolicySchema, type BlastRadiusAffectedNode, BlastRadiusAffectedNodeSchema, type BlastRadiusResult, BlastRadiusResultSchema, type BlastRadiusRule, BlastRadiusRuleSchema, type CheckPoliciesScope, CheckPoliciesScopeSchema, type CompatRuleRef, CompatRuleRefSchema, type CompatViolationDivergence, CompatViolationDivergenceSchema, type CompatibilityRule, CompatibilityRuleSchema, type CompatibilityVerdict, CompatibilityVerdictSchema, type CompatibleDriver, CompatibleDriverSchema, type ConfigNode, ConfigNodeSchema, type ConnectorPollState, ConnectorPollStateSchema, type ConnectorStatus, type ConnectorStatusEntry, ConnectorStatusEntrySchema, ConnectorStatusSchema, type ConnectorsStatusResponse, ConnectorsStatusResponseSchema, DEFAULT_EXTRACTED_PRECISION_FLOOR, type DaemonHealthResponse, DaemonHealthResponseSchema, type DatabaseNode, DatabaseNodeSchema, type DiscoveredVia, DiscoveredViaSchema, type Divergence, type DivergenceResult, DivergenceResultSchema, DivergenceSchema, type DivergenceType, DivergenceTypeSchema, EMPTY_REGISTRY, EXTRACTED_CONFIDENCE, type EdgeEvidence, EdgeEvidenceSchema, type EdgeSignal, EdgeSignalSchema, EdgeType, EdgeTypeSchema, type EdgeTypeValue, type ErrorEvent, ErrorEventSchema, type ExtractedConfidenceKind, type FileNode, FileNodeSchema, type FrontierNode, FrontierNodeSchema, type GraphDiffResult, GraphDiffResultSchema, type GraphEdge, GraphEdgeSchema, type GraphEdgesResponse, GraphEdgesResponseSchema, type GraphNode, type GraphNodeResponse, GraphNodeResponseSchema, GraphNodeSchema, type GraphQLOperationNode, GraphQLOperationNodeSchema, type GrpcMethodNode, GrpcMethodNodeSchema, type HealthResponse, HealthResponseSchema, type HostMismatchDivergence, HostMismatchDivergenceSchema, type HypotheticalAction, HypotheticalActionSchema, type IncidentsResponse, IncidentsResponseSchema, type InfraNode, InfraNodeSchema, type LogEntry, LogEntrySchema, type LogSource, LogSourceSchema, type LogsResponse, LogsResponseSchema, type MCPToolName, MCP_TOOL_NAMES, type MissingExtractedDivergence, MissingExtractedDivergenceSchema, type MissingObservedDivergence, MissingObservedDivergenceSchema, NodeType, NodeTypeSchema, type NodeTypeValue, type ObservedDependenciesResult, ObservedDependenciesResultSchema, type OwnershipRule, OwnershipRuleSchema, PROV_RANK, type PoliciesCheckBody, PoliciesCheckBodySchema, type PoliciesViolationsResponse, PoliciesViolationsResponseSchema, type Policy, type PolicyAction, PolicyActionSchema, type PolicyFile, PolicyFileSchema, type PolicyRule, PolicyRuleSchema, PolicySchema, type PolicySeverity, PolicySeveritySchema, type PolicyViolation, PolicyViolationSchema, Provenance, type ProvenanceRule, ProvenanceRuleSchema, ProvenanceSchema, type ProvenanceValue, type RegistryEntry, RegistryEntrySchema, type RegistryFile, RegistryFileSchema, type RegistryStatus, RegistryStatusSchema, type RootCauseResult, RootCauseResultSchema, type RouteNode, RouteNodeSchema, type SearchMatch, SearchMatchSchema, type SearchResponse, SearchResponseSchema, type SerializedGraph, SerializedGraphSchema, type ServiceNode, ServiceNodeSchema, type SingleProjectResponse, SingleProjectResponseSchema, type SpanAttributes, SpanAttributesSchema, type StaleEvent, StaleEventSchema, type StaleEventsResponse, StaleEventsResponseSchema, type StructuralRule, StructuralRuleSchema, type TransitiveDependenciesResult, TransitiveDependenciesResultSchema, type TransitiveDependency, TransitiveDependencySchema, type VersionMismatchDivergence, VersionMismatchDivergenceSchema, type WebSocketChannelNode, WebSocketChannelNodeSchema, confidenceForExtracted, confidenceForObservedSignal, configId, databaseId, extractedEdgeId, extractedPrecisionFloor, fileId, frontierId, graphqlOperationId, grpcMethodId, inferredEdgeId, infraId, localDatabaseId, observedEdgeId, parseConfigId, parseDatabaseId, parseEdgeId, parseFileId, parseFrontierId, parseGraphqlOperationId, parseGrpcMethodId, parseInfraId, parseRouteId, parseServiceId, parseWebsocketChannelId, passesExtractedFloor, routeId, serviceId, websocketChannelId };
|
package/dist/index.d.ts
CHANGED
|
@@ -5728,6 +5728,150 @@ declare const SingleProjectResponseSchema: z.ZodObject<{
|
|
|
5728
5728
|
};
|
|
5729
5729
|
}>;
|
|
5730
5730
|
type SingleProjectResponse = z.infer<typeof SingleProjectResponseSchema>;
|
|
5731
|
+
declare const ConnectorPollStateSchema: z.ZodEnum<["idle", "healthy", "error", "stale"]>;
|
|
5732
|
+
type ConnectorPollState = z.infer<typeof ConnectorPollStateSchema>;
|
|
5733
|
+
declare const ConnectorStatusSchema: z.ZodObject<{
|
|
5734
|
+
state: z.ZodEnum<["idle", "healthy", "error", "stale"]>;
|
|
5735
|
+
lastPollAt: z.ZodNullable<z.ZodString>;
|
|
5736
|
+
lastOutcome: z.ZodNullable<z.ZodEnum<["ok", "error"]>>;
|
|
5737
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
5738
|
+
signalsLastPoll: z.ZodNumber;
|
|
5739
|
+
}, "strip", z.ZodTypeAny, {
|
|
5740
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5741
|
+
lastPollAt: string | null;
|
|
5742
|
+
lastOutcome: "error" | "ok" | null;
|
|
5743
|
+
lastError: string | null;
|
|
5744
|
+
signalsLastPoll: number;
|
|
5745
|
+
}, {
|
|
5746
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5747
|
+
lastPollAt: string | null;
|
|
5748
|
+
lastOutcome: "error" | "ok" | null;
|
|
5749
|
+
lastError: string | null;
|
|
5750
|
+
signalsLastPoll: number;
|
|
5751
|
+
}>;
|
|
5752
|
+
type ConnectorStatus = z.infer<typeof ConnectorStatusSchema>;
|
|
5753
|
+
declare const ConnectorStatusEntrySchema: z.ZodObject<{
|
|
5754
|
+
id: z.ZodString;
|
|
5755
|
+
provider: z.ZodString;
|
|
5756
|
+
credentialRef: z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
5757
|
+
status: z.ZodObject<{
|
|
5758
|
+
state: z.ZodEnum<["idle", "healthy", "error", "stale"]>;
|
|
5759
|
+
lastPollAt: z.ZodNullable<z.ZodString>;
|
|
5760
|
+
lastOutcome: z.ZodNullable<z.ZodEnum<["ok", "error"]>>;
|
|
5761
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
5762
|
+
signalsLastPoll: z.ZodNumber;
|
|
5763
|
+
}, "strip", z.ZodTypeAny, {
|
|
5764
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5765
|
+
lastPollAt: string | null;
|
|
5766
|
+
lastOutcome: "error" | "ok" | null;
|
|
5767
|
+
lastError: string | null;
|
|
5768
|
+
signalsLastPoll: number;
|
|
5769
|
+
}, {
|
|
5770
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5771
|
+
lastPollAt: string | null;
|
|
5772
|
+
lastOutcome: "error" | "ok" | null;
|
|
5773
|
+
lastError: string | null;
|
|
5774
|
+
signalsLastPoll: number;
|
|
5775
|
+
}>;
|
|
5776
|
+
}, "strip", z.ZodTypeAny, {
|
|
5777
|
+
status: {
|
|
5778
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5779
|
+
lastPollAt: string | null;
|
|
5780
|
+
lastOutcome: "error" | "ok" | null;
|
|
5781
|
+
lastError: string | null;
|
|
5782
|
+
signalsLastPoll: number;
|
|
5783
|
+
};
|
|
5784
|
+
id: string;
|
|
5785
|
+
provider: string;
|
|
5786
|
+
credentialRef: string | Record<string, string>;
|
|
5787
|
+
}, {
|
|
5788
|
+
status: {
|
|
5789
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5790
|
+
lastPollAt: string | null;
|
|
5791
|
+
lastOutcome: "error" | "ok" | null;
|
|
5792
|
+
lastError: string | null;
|
|
5793
|
+
signalsLastPoll: number;
|
|
5794
|
+
};
|
|
5795
|
+
id: string;
|
|
5796
|
+
provider: string;
|
|
5797
|
+
credentialRef: string | Record<string, string>;
|
|
5798
|
+
}>;
|
|
5799
|
+
type ConnectorStatusEntry = z.infer<typeof ConnectorStatusEntrySchema>;
|
|
5800
|
+
declare const ConnectorsStatusResponseSchema: z.ZodObject<{
|
|
5801
|
+
connectors: z.ZodArray<z.ZodObject<{
|
|
5802
|
+
id: z.ZodString;
|
|
5803
|
+
provider: z.ZodString;
|
|
5804
|
+
credentialRef: z.ZodUnion<[z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
|
|
5805
|
+
status: z.ZodObject<{
|
|
5806
|
+
state: z.ZodEnum<["idle", "healthy", "error", "stale"]>;
|
|
5807
|
+
lastPollAt: z.ZodNullable<z.ZodString>;
|
|
5808
|
+
lastOutcome: z.ZodNullable<z.ZodEnum<["ok", "error"]>>;
|
|
5809
|
+
lastError: z.ZodNullable<z.ZodString>;
|
|
5810
|
+
signalsLastPoll: z.ZodNumber;
|
|
5811
|
+
}, "strip", z.ZodTypeAny, {
|
|
5812
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5813
|
+
lastPollAt: string | null;
|
|
5814
|
+
lastOutcome: "error" | "ok" | null;
|
|
5815
|
+
lastError: string | null;
|
|
5816
|
+
signalsLastPoll: number;
|
|
5817
|
+
}, {
|
|
5818
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5819
|
+
lastPollAt: string | null;
|
|
5820
|
+
lastOutcome: "error" | "ok" | null;
|
|
5821
|
+
lastError: string | null;
|
|
5822
|
+
signalsLastPoll: number;
|
|
5823
|
+
}>;
|
|
5824
|
+
}, "strip", z.ZodTypeAny, {
|
|
5825
|
+
status: {
|
|
5826
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5827
|
+
lastPollAt: string | null;
|
|
5828
|
+
lastOutcome: "error" | "ok" | null;
|
|
5829
|
+
lastError: string | null;
|
|
5830
|
+
signalsLastPoll: number;
|
|
5831
|
+
};
|
|
5832
|
+
id: string;
|
|
5833
|
+
provider: string;
|
|
5834
|
+
credentialRef: string | Record<string, string>;
|
|
5835
|
+
}, {
|
|
5836
|
+
status: {
|
|
5837
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5838
|
+
lastPollAt: string | null;
|
|
5839
|
+
lastOutcome: "error" | "ok" | null;
|
|
5840
|
+
lastError: string | null;
|
|
5841
|
+
signalsLastPoll: number;
|
|
5842
|
+
};
|
|
5843
|
+
id: string;
|
|
5844
|
+
provider: string;
|
|
5845
|
+
credentialRef: string | Record<string, string>;
|
|
5846
|
+
}>, "many">;
|
|
5847
|
+
}, "strip", z.ZodTypeAny, {
|
|
5848
|
+
connectors: {
|
|
5849
|
+
status: {
|
|
5850
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5851
|
+
lastPollAt: string | null;
|
|
5852
|
+
lastOutcome: "error" | "ok" | null;
|
|
5853
|
+
lastError: string | null;
|
|
5854
|
+
signalsLastPoll: number;
|
|
5855
|
+
};
|
|
5856
|
+
id: string;
|
|
5857
|
+
provider: string;
|
|
5858
|
+
credentialRef: string | Record<string, string>;
|
|
5859
|
+
}[];
|
|
5860
|
+
}, {
|
|
5861
|
+
connectors: {
|
|
5862
|
+
status: {
|
|
5863
|
+
state: "error" | "idle" | "healthy" | "stale";
|
|
5864
|
+
lastPollAt: string | null;
|
|
5865
|
+
lastOutcome: "error" | "ok" | null;
|
|
5866
|
+
lastError: string | null;
|
|
5867
|
+
signalsLastPoll: number;
|
|
5868
|
+
};
|
|
5869
|
+
id: string;
|
|
5870
|
+
provider: string;
|
|
5871
|
+
credentialRef: string | Record<string, string>;
|
|
5872
|
+
}[];
|
|
5873
|
+
}>;
|
|
5874
|
+
type ConnectorsStatusResponse = z.infer<typeof ConnectorsStatusResponseSchema>;
|
|
5731
5875
|
declare const SearchMatchSchema: z.ZodObject<{
|
|
5732
5876
|
score: z.ZodNumber;
|
|
5733
5877
|
}, "passthrough", z.ZodTypeAny, z.objectOutputType<{
|
|
@@ -11884,4 +12028,4 @@ declare const DEFAULT_EXTRACTED_PRECISION_FLOOR = 0.7;
|
|
|
11884
12028
|
declare function extractedPrecisionFloor(): number;
|
|
11885
12029
|
declare function passesExtractedFloor(confidence: number): boolean;
|
|
11886
12030
|
|
|
11887
|
-
export { type ApplicablePoliciesResponse, ApplicablePoliciesResponseSchema, type ApplicablePolicy, ApplicablePolicySchema, type BlastRadiusAffectedNode, BlastRadiusAffectedNodeSchema, type BlastRadiusResult, BlastRadiusResultSchema, type BlastRadiusRule, BlastRadiusRuleSchema, type CheckPoliciesScope, CheckPoliciesScopeSchema, type CompatRuleRef, CompatRuleRefSchema, type CompatViolationDivergence, CompatViolationDivergenceSchema, type CompatibilityRule, CompatibilityRuleSchema, type CompatibilityVerdict, CompatibilityVerdictSchema, type CompatibleDriver, CompatibleDriverSchema, type ConfigNode, ConfigNodeSchema, DEFAULT_EXTRACTED_PRECISION_FLOOR, type DaemonHealthResponse, DaemonHealthResponseSchema, type DatabaseNode, DatabaseNodeSchema, type DiscoveredVia, DiscoveredViaSchema, type Divergence, type DivergenceResult, DivergenceResultSchema, DivergenceSchema, type DivergenceType, DivergenceTypeSchema, EMPTY_REGISTRY, EXTRACTED_CONFIDENCE, type EdgeEvidence, EdgeEvidenceSchema, type EdgeSignal, EdgeSignalSchema, EdgeType, EdgeTypeSchema, type EdgeTypeValue, type ErrorEvent, ErrorEventSchema, type ExtractedConfidenceKind, type FileNode, FileNodeSchema, type FrontierNode, FrontierNodeSchema, type GraphDiffResult, GraphDiffResultSchema, type GraphEdge, GraphEdgeSchema, type GraphEdgesResponse, GraphEdgesResponseSchema, type GraphNode, type GraphNodeResponse, GraphNodeResponseSchema, GraphNodeSchema, type GraphQLOperationNode, GraphQLOperationNodeSchema, type GrpcMethodNode, GrpcMethodNodeSchema, type HealthResponse, HealthResponseSchema, type HostMismatchDivergence, HostMismatchDivergenceSchema, type HypotheticalAction, HypotheticalActionSchema, type IncidentsResponse, IncidentsResponseSchema, type InfraNode, InfraNodeSchema, type LogEntry, LogEntrySchema, type LogSource, LogSourceSchema, type LogsResponse, LogsResponseSchema, type MCPToolName, MCP_TOOL_NAMES, type MissingExtractedDivergence, MissingExtractedDivergenceSchema, type MissingObservedDivergence, MissingObservedDivergenceSchema, NodeType, NodeTypeSchema, type NodeTypeValue, type ObservedDependenciesResult, ObservedDependenciesResultSchema, type OwnershipRule, OwnershipRuleSchema, PROV_RANK, type PoliciesCheckBody, PoliciesCheckBodySchema, type PoliciesViolationsResponse, PoliciesViolationsResponseSchema, type Policy, type PolicyAction, PolicyActionSchema, type PolicyFile, PolicyFileSchema, type PolicyRule, PolicyRuleSchema, PolicySchema, type PolicySeverity, PolicySeveritySchema, type PolicyViolation, PolicyViolationSchema, Provenance, type ProvenanceRule, ProvenanceRuleSchema, ProvenanceSchema, type ProvenanceValue, type RegistryEntry, RegistryEntrySchema, type RegistryFile, RegistryFileSchema, type RegistryStatus, RegistryStatusSchema, type RootCauseResult, RootCauseResultSchema, type RouteNode, RouteNodeSchema, type SearchMatch, SearchMatchSchema, type SearchResponse, SearchResponseSchema, type SerializedGraph, SerializedGraphSchema, type ServiceNode, ServiceNodeSchema, type SingleProjectResponse, SingleProjectResponseSchema, type SpanAttributes, SpanAttributesSchema, type StaleEvent, StaleEventSchema, type StaleEventsResponse, StaleEventsResponseSchema, type StructuralRule, StructuralRuleSchema, type TransitiveDependenciesResult, TransitiveDependenciesResultSchema, type TransitiveDependency, TransitiveDependencySchema, type VersionMismatchDivergence, VersionMismatchDivergenceSchema, type WebSocketChannelNode, WebSocketChannelNodeSchema, confidenceForExtracted, confidenceForObservedSignal, configId, databaseId, extractedEdgeId, extractedPrecisionFloor, fileId, frontierId, graphqlOperationId, grpcMethodId, inferredEdgeId, infraId, localDatabaseId, observedEdgeId, parseConfigId, parseDatabaseId, parseEdgeId, parseFileId, parseFrontierId, parseGraphqlOperationId, parseGrpcMethodId, parseInfraId, parseRouteId, parseServiceId, parseWebsocketChannelId, passesExtractedFloor, routeId, serviceId, websocketChannelId };
|
|
12031
|
+
export { type ApplicablePoliciesResponse, ApplicablePoliciesResponseSchema, type ApplicablePolicy, ApplicablePolicySchema, type BlastRadiusAffectedNode, BlastRadiusAffectedNodeSchema, type BlastRadiusResult, BlastRadiusResultSchema, type BlastRadiusRule, BlastRadiusRuleSchema, type CheckPoliciesScope, CheckPoliciesScopeSchema, type CompatRuleRef, CompatRuleRefSchema, type CompatViolationDivergence, CompatViolationDivergenceSchema, type CompatibilityRule, CompatibilityRuleSchema, type CompatibilityVerdict, CompatibilityVerdictSchema, type CompatibleDriver, CompatibleDriverSchema, type ConfigNode, ConfigNodeSchema, type ConnectorPollState, ConnectorPollStateSchema, type ConnectorStatus, type ConnectorStatusEntry, ConnectorStatusEntrySchema, ConnectorStatusSchema, type ConnectorsStatusResponse, ConnectorsStatusResponseSchema, DEFAULT_EXTRACTED_PRECISION_FLOOR, type DaemonHealthResponse, DaemonHealthResponseSchema, type DatabaseNode, DatabaseNodeSchema, type DiscoveredVia, DiscoveredViaSchema, type Divergence, type DivergenceResult, DivergenceResultSchema, DivergenceSchema, type DivergenceType, DivergenceTypeSchema, EMPTY_REGISTRY, EXTRACTED_CONFIDENCE, type EdgeEvidence, EdgeEvidenceSchema, type EdgeSignal, EdgeSignalSchema, EdgeType, EdgeTypeSchema, type EdgeTypeValue, type ErrorEvent, ErrorEventSchema, type ExtractedConfidenceKind, type FileNode, FileNodeSchema, type FrontierNode, FrontierNodeSchema, type GraphDiffResult, GraphDiffResultSchema, type GraphEdge, GraphEdgeSchema, type GraphEdgesResponse, GraphEdgesResponseSchema, type GraphNode, type GraphNodeResponse, GraphNodeResponseSchema, GraphNodeSchema, type GraphQLOperationNode, GraphQLOperationNodeSchema, type GrpcMethodNode, GrpcMethodNodeSchema, type HealthResponse, HealthResponseSchema, type HostMismatchDivergence, HostMismatchDivergenceSchema, type HypotheticalAction, HypotheticalActionSchema, type IncidentsResponse, IncidentsResponseSchema, type InfraNode, InfraNodeSchema, type LogEntry, LogEntrySchema, type LogSource, LogSourceSchema, type LogsResponse, LogsResponseSchema, type MCPToolName, MCP_TOOL_NAMES, type MissingExtractedDivergence, MissingExtractedDivergenceSchema, type MissingObservedDivergence, MissingObservedDivergenceSchema, NodeType, NodeTypeSchema, type NodeTypeValue, type ObservedDependenciesResult, ObservedDependenciesResultSchema, type OwnershipRule, OwnershipRuleSchema, PROV_RANK, type PoliciesCheckBody, PoliciesCheckBodySchema, type PoliciesViolationsResponse, PoliciesViolationsResponseSchema, type Policy, type PolicyAction, PolicyActionSchema, type PolicyFile, PolicyFileSchema, type PolicyRule, PolicyRuleSchema, PolicySchema, type PolicySeverity, PolicySeveritySchema, type PolicyViolation, PolicyViolationSchema, Provenance, type ProvenanceRule, ProvenanceRuleSchema, ProvenanceSchema, type ProvenanceValue, type RegistryEntry, RegistryEntrySchema, type RegistryFile, RegistryFileSchema, type RegistryStatus, RegistryStatusSchema, type RootCauseResult, RootCauseResultSchema, type RouteNode, RouteNodeSchema, type SearchMatch, SearchMatchSchema, type SearchResponse, SearchResponseSchema, type SerializedGraph, SerializedGraphSchema, type ServiceNode, ServiceNodeSchema, type SingleProjectResponse, SingleProjectResponseSchema, type SpanAttributes, SpanAttributesSchema, type StaleEvent, StaleEventSchema, type StaleEventsResponse, StaleEventsResponseSchema, type StructuralRule, StructuralRuleSchema, type TransitiveDependenciesResult, TransitiveDependenciesResultSchema, type TransitiveDependency, TransitiveDependencySchema, type VersionMismatchDivergence, VersionMismatchDivergenceSchema, type WebSocketChannelNode, WebSocketChannelNodeSchema, confidenceForExtracted, confidenceForObservedSignal, configId, databaseId, extractedEdgeId, extractedPrecisionFloor, fileId, frontierId, graphqlOperationId, grpcMethodId, inferredEdgeId, infraId, localDatabaseId, observedEdgeId, parseConfigId, parseDatabaseId, parseEdgeId, parseFileId, parseFrontierId, parseGraphqlOperationId, parseGrpcMethodId, parseInfraId, parseRouteId, parseServiceId, parseWebsocketChannelId, passesExtractedFloor, routeId, serviceId, websocketChannelId };
|
package/dist/index.js
CHANGED
|
@@ -948,6 +948,23 @@ var DaemonHealthResponseSchema = z9.object({
|
|
|
948
948
|
var SingleProjectResponseSchema = z9.object({
|
|
949
949
|
project: RegistryEntrySchema
|
|
950
950
|
});
|
|
951
|
+
var ConnectorPollStateSchema = z9.enum(["idle", "healthy", "error", "stale"]);
|
|
952
|
+
var ConnectorStatusSchema = z9.object({
|
|
953
|
+
state: ConnectorPollStateSchema,
|
|
954
|
+
lastPollAt: z9.string().nullable(),
|
|
955
|
+
lastOutcome: z9.enum(["ok", "error"]).nullable(),
|
|
956
|
+
lastError: z9.string().nullable(),
|
|
957
|
+
signalsLastPoll: z9.number().int().nonnegative()
|
|
958
|
+
});
|
|
959
|
+
var ConnectorStatusEntrySchema = z9.object({
|
|
960
|
+
id: z9.string(),
|
|
961
|
+
provider: z9.string(),
|
|
962
|
+
credentialRef: z9.union([z9.string(), z9.record(z9.string(), z9.string())]),
|
|
963
|
+
status: ConnectorStatusSchema
|
|
964
|
+
});
|
|
965
|
+
var ConnectorsStatusResponseSchema = z9.object({
|
|
966
|
+
connectors: z9.array(ConnectorStatusEntrySchema)
|
|
967
|
+
});
|
|
951
968
|
var SearchMatchSchema = z9.object({ score: z9.number() }).passthrough();
|
|
952
969
|
var SearchResponseSchema = z9.object({
|
|
953
970
|
query: z9.string(),
|
|
@@ -1055,6 +1072,10 @@ export {
|
|
|
1055
1072
|
CompatibilityVerdictSchema,
|
|
1056
1073
|
CompatibleDriverSchema,
|
|
1057
1074
|
ConfigNodeSchema,
|
|
1075
|
+
ConnectorPollStateSchema,
|
|
1076
|
+
ConnectorStatusEntrySchema,
|
|
1077
|
+
ConnectorStatusSchema,
|
|
1078
|
+
ConnectorsStatusResponseSchema,
|
|
1058
1079
|
DEFAULT_EXTRACTED_PRECISION_FLOOR,
|
|
1059
1080
|
DaemonHealthResponseSchema,
|
|
1060
1081
|
DatabaseNodeSchema,
|