@culpritsql/plan-viewer 0.0.0-stage → 0.5.6

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 (201) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +205 -2
  3. package/package.json +57 -4
  4. package/pkg/ActualSummary.d.ts +10 -0
  5. package/pkg/ActualSummary.js +72 -0
  6. package/pkg/DeadlockGraph.d.ts +9 -0
  7. package/pkg/DeadlockGraph.js +135 -0
  8. package/pkg/DeadlockViewer.d.ts +20 -0
  9. package/pkg/DeadlockViewer.js +62 -0
  10. package/pkg/DocdbWork.d.ts +7 -0
  11. package/pkg/DocdbWork.js +37 -0
  12. package/pkg/NodeDetails.d.ts +15 -0
  13. package/pkg/NodeDetails.js +161 -0
  14. package/pkg/OpIcon.d.ts +9 -0
  15. package/pkg/OpIcon.js +54 -0
  16. package/pkg/PlanAssessmentNotes.d.ts +3 -0
  17. package/pkg/PlanAssessmentNotes.js +8 -0
  18. package/pkg/PlanCanvas.d.ts +47 -0
  19. package/pkg/PlanCanvas.js +9 -0
  20. package/pkg/PlanDiagram.d.ts +47 -0
  21. package/pkg/PlanDiagram.js +534 -0
  22. package/pkg/PlanDiffViewer.d.ts +31 -0
  23. package/pkg/PlanDiffViewer.js +317 -0
  24. package/pkg/PlanInsights.d.ts +6 -0
  25. package/pkg/PlanInsights.js +100 -0
  26. package/pkg/PlanObjects.d.ts +7 -0
  27. package/pkg/PlanObjects.js +138 -0
  28. package/pkg/PlanOperations.d.ts +8 -0
  29. package/pkg/PlanOperations.js +114 -0
  30. package/pkg/PlanRaw.d.ts +4 -0
  31. package/pkg/PlanRaw.js +35 -0
  32. package/pkg/PlanSurface.d.ts +21 -0
  33. package/pkg/PlanSurface.js +66 -0
  34. package/pkg/PlanTypeSchema.d.ts +5 -0
  35. package/pkg/PlanTypeSchema.js +62 -0
  36. package/pkg/PlanView.d.ts +27 -0
  37. package/pkg/PlanView.js +160 -0
  38. package/pkg/PlanViewer.d.ts +30 -0
  39. package/pkg/PlanViewer.js +19 -0
  40. package/pkg/Prose.d.ts +4 -0
  41. package/pkg/Prose.js +6 -0
  42. package/pkg/Sql.d.ts +5 -0
  43. package/pkg/Sql.js +7 -0
  44. package/pkg/THIRD-PARTY-LICENSES.txt +9021 -0
  45. package/pkg/build-report.json +907 -0
  46. package/pkg/defaults.d.ts +29 -0
  47. package/pkg/defaults.js +438 -0
  48. package/pkg/host.d.ts +118 -0
  49. package/pkg/host.js +593 -0
  50. package/pkg/index.d.ts +22 -0
  51. package/pkg/index.js +21 -0
  52. package/pkg/models/Ability.d.ts +6 -0
  53. package/pkg/models/ActualSummary.d.ts +16 -0
  54. package/pkg/models/CachedStatementContext.d.ts +9 -0
  55. package/pkg/models/CachedStatementIdentity.d.ts +7 -0
  56. package/pkg/models/ChangeKind.d.ts +3 -0
  57. package/pkg/models/CleanupEvidence.d.ts +6 -0
  58. package/pkg/models/CollectionTarget.d.ts +5 -0
  59. package/pkg/models/CompilationMemory.d.ts +3 -0
  60. package/pkg/models/CompileHistory.d.ts +13 -0
  61. package/pkg/models/Connect.d.ts +22 -0
  62. package/pkg/models/ConnectionSecurityMode.d.ts +3 -0
  63. package/pkg/models/ConnectionSecuritySpec.d.ts +4 -0
  64. package/pkg/models/ConstraintValidation.d.ts +6 -0
  65. package/pkg/models/DatabaseIdentity.d.ts +5 -0
  66. package/pkg/models/DatabaseLocation.d.ts +3 -0
  67. package/pkg/models/DatabaseProduct.d.ts +6 -0
  68. package/pkg/models/Deadlock.d.ts +23 -0
  69. package/pkg/models/DeadlockFix.d.ts +16 -0
  70. package/pkg/models/DeadlockFixKind.d.ts +6 -0
  71. package/pkg/models/DeadlockPattern.d.ts +3 -0
  72. package/pkg/models/DeadlockProcess.d.ts +23 -0
  73. package/pkg/models/DeadlockResource.d.ts +12 -0
  74. package/pkg/models/DistributionPopulation.d.ts +3 -0
  75. package/pkg/models/DocdbMetrics.d.ts +7 -0
  76. package/pkg/models/Engine.d.ts +3 -0
  77. package/pkg/models/EngineAbilities.d.ts +46 -0
  78. package/pkg/models/EngineFacts.d.ts +28 -0
  79. package/pkg/models/EvidencePresentation.d.ts +4 -0
  80. package/pkg/models/ExecutionProtection.d.ts +3 -0
  81. package/pkg/models/Guess.d.ts +6 -0
  82. package/pkg/models/InsightArea.d.ts +6 -0
  83. package/pkg/models/LocalizedText.d.ts +4 -0
  84. package/pkg/models/LockHolder.d.ts +3 -0
  85. package/pkg/models/LogRateGovernanceReason.d.ts +7 -0
  86. package/pkg/models/Message.d.ts +4 -0
  87. package/pkg/models/MessageValue.d.ts +4 -0
  88. package/pkg/models/Metric.d.ts +10 -0
  89. package/pkg/models/MssqlCatalogIndexColumn.d.ts +3 -0
  90. package/pkg/models/MssqlCurrentTableType.d.ts +10 -0
  91. package/pkg/models/MssqlCurrentTypeColumn.d.ts +7 -0
  92. package/pkg/models/MssqlCurrentTypeIndex.d.ts +4 -0
  93. package/pkg/models/MssqlCurrentTypeModule.d.ts +4 -0
  94. package/pkg/models/MssqlCurrentTypeParameter.d.ts +3 -0
  95. package/pkg/models/MssqlCurrentTypeSchema.d.ts +11 -0
  96. package/pkg/models/MssqlCurrentTypeSchemaStatus.d.ts +3 -0
  97. package/pkg/models/MssqlIndexParentKind.d.ts +3 -0
  98. package/pkg/models/MssqlObjectIdentity.d.ts +7 -0
  99. package/pkg/models/NativeIdentity.d.ts +3 -0
  100. package/pkg/models/NativePlanIdentity.d.ts +4 -0
  101. package/pkg/models/NativeQueryIdentity.d.ts +3 -0
  102. package/pkg/models/NativeReadContext.d.ts +13 -0
  103. package/pkg/models/NodeKind.d.ts +3 -0
  104. package/pkg/models/NodeMatch.d.ts +3 -0
  105. package/pkg/models/NodeRuntime.d.ts +28 -0
  106. package/pkg/models/PageServerReadAvailability.d.ts +3 -0
  107. package/pkg/models/PageServerReadStatistics.d.ts +8 -0
  108. package/pkg/models/PageServerReadSummary.d.ts +19 -0
  109. package/pkg/models/PartitionTail.d.ts +6 -0
  110. package/pkg/models/Plan.d.ts +11 -0
  111. package/pkg/models/PlanAccessRows.d.ts +13 -0
  112. package/pkg/models/PlanAutomaticIndex.d.ts +3 -0
  113. package/pkg/models/PlanChange.d.ts +17 -0
  114. package/pkg/models/PlanChangedColumn.d.ts +3 -0
  115. package/pkg/models/PlanConversion.d.ts +4 -0
  116. package/pkg/models/PlanConversionIssue.d.ts +3 -0
  117. package/pkg/models/PlanCurrentTypeSchemaView.d.ts +6 -0
  118. package/pkg/models/PlanDiff.d.ts +13 -0
  119. package/pkg/models/PlanExecutionMode.d.ts +3 -0
  120. package/pkg/models/PlanFacts.d.ts +36 -0
  121. package/pkg/models/PlanHistory.d.ts +6 -0
  122. package/pkg/models/PlanHistoryKind.d.ts +3 -0
  123. package/pkg/models/PlanIndexColumns.d.ts +3 -0
  124. package/pkg/models/PlanIndexHint.d.ts +3 -0
  125. package/pkg/models/PlanInsight.d.ts +44 -0
  126. package/pkg/models/PlanInsightShare.d.ts +3 -0
  127. package/pkg/models/PlanInsights.d.ts +8 -0
  128. package/pkg/models/PlanKind.d.ts +3 -0
  129. package/pkg/models/PlanMeasurementRef.d.ts +3 -0
  130. package/pkg/models/PlanMemoryGrantFeedback.d.ts +15 -0
  131. package/pkg/models/PlanMemoryGrantFeedbackIssue.d.ts +3 -0
  132. package/pkg/models/PlanMemoryGrantFeedbackState.d.ts +3 -0
  133. package/pkg/models/PlanNode.d.ts +7 -0
  134. package/pkg/models/PlanNodeFacts.d.ts +63 -0
  135. package/pkg/models/PlanOperatorView.d.ts +5 -0
  136. package/pkg/models/PlanPageServerIo.d.ts +16 -0
  137. package/pkg/models/PlanPageServerIoIssue.d.ts +4 -0
  138. package/pkg/models/PlanPageServerIoView.d.ts +7 -0
  139. package/pkg/models/PlanPageServerMetric.d.ts +3 -0
  140. package/pkg/models/PlanParameter.d.ts +10 -0
  141. package/pkg/models/PlanParameterComparison.d.ts +3 -0
  142. package/pkg/models/PlanParameterContext.d.ts +15 -0
  143. package/pkg/models/PlanParameterIssue.d.ts +3 -0
  144. package/pkg/models/PlanParameterUse.d.ts +4 -0
  145. package/pkg/models/PlanParameterUseKind.d.ts +3 -0
  146. package/pkg/models/PlanParameterValueState.d.ts +3 -0
  147. package/pkg/models/PlanParentRelationship.d.ts +3 -0
  148. package/pkg/models/PlanRegion.d.ts +7 -0
  149. package/pkg/models/PlanSampleSource.d.ts +6 -0
  150. package/pkg/models/PlanScanCompletion.d.ts +8 -0
  151. package/pkg/models/PlanScanThread.d.ts +3 -0
  152. package/pkg/models/PlanTemporaryTableUse.d.ts +7 -0
  153. package/pkg/models/PlanVariant.d.ts +23 -0
  154. package/pkg/models/PlanView.d.ts +9 -0
  155. package/pkg/models/PlanWarning.d.ts +3 -0
  156. package/pkg/models/PlanningStep.d.ts +7 -0
  157. package/pkg/models/ProductFacts.d.ts +11 -0
  158. package/pkg/models/QueryCosts.d.ts +62 -0
  159. package/pkg/models/QueryStat.d.ts +69 -0
  160. package/pkg/models/QueryTrend.d.ts +7 -0
  161. package/pkg/models/QueryVariantFamily.d.ts +9 -0
  162. package/pkg/models/QueryWaitCoverage.d.ts +8 -0
  163. package/pkg/models/ReadUnit.d.ts +7 -0
  164. package/pkg/models/Refusal.d.ts +7 -0
  165. package/pkg/models/RelationalInput.d.ts +5 -0
  166. package/pkg/models/RelationalInputKind.d.ts +3 -0
  167. package/pkg/models/RelationalInputProvenance.d.ts +3 -0
  168. package/pkg/models/RequestEvidence.d.ts +7 -0
  169. package/pkg/models/RetainedPlanProvenance.d.ts +11 -0
  170. package/pkg/models/RuntimeDistribution.d.ts +16 -0
  171. package/pkg/models/RuntimeDistributionIssue.d.ts +3 -0
  172. package/pkg/models/RuntimeDistributionOrigin.d.ts +3 -0
  173. package/pkg/models/RuntimeDuration.d.ts +3 -0
  174. package/pkg/models/RuntimeHistogramBucket.d.ts +8 -0
  175. package/pkg/models/RuntimeQuantile.d.ts +4 -0
  176. package/pkg/models/Scenario.d.ts +11 -0
  177. package/pkg/models/ScenarioKind.d.ts +3 -0
  178. package/pkg/models/SessionAction.d.ts +6 -0
  179. package/pkg/models/SessionIdFormat.d.ts +6 -0
  180. package/pkg/models/Severity.d.ts +3 -0
  181. package/pkg/models/SharedResourceIdentity.d.ts +11 -0
  182. package/pkg/models/SharedResourceKind.d.ts +3 -0
  183. package/pkg/models/SourcePartition.d.ts +8 -0
  184. package/pkg/models/Spread.d.ts +18 -0
  185. package/pkg/models/SqlSyntax.d.ts +6 -0
  186. package/pkg/models/StatementMetrics.d.ts +32 -0
  187. package/pkg/models/StatementOrigin.d.ts +6 -0
  188. package/pkg/models/StatementTemporaryWork.d.ts +3 -0
  189. package/pkg/models/StatisticsFreshness.d.ts +3 -0
  190. package/pkg/models/TriggerTiming.d.ts +3 -0
  191. package/pkg/models/Unit.d.ts +3 -0
  192. package/pkg/models/WaitClass.d.ts +3 -0
  193. package/pkg/models/WaitMechanism.d.ts +4 -0
  194. package/pkg/models/WaitSampling.d.ts +3 -0
  195. package/pkg/models/WaitStat.d.ts +4 -0
  196. package/pkg/models/WorkerSkew.d.ts +3 -0
  197. package/pkg/models/WriteLog.d.ts +7 -0
  198. package/pkg/models/WriteRows.d.ts +7 -0
  199. package/pkg/styles.css +3273 -0
  200. package/pkg/types.d.ts +29 -0
  201. package/pkg/types.js +1 -0
package/pkg/types.d.ts ADDED
@@ -0,0 +1,29 @@
1
+ export type { Ability } from "./models/Ability.js";
2
+ export type { ChangeKind } from "./models/ChangeKind.js";
3
+ export type { DatabaseProduct } from "./models/DatabaseProduct.js";
4
+ export type { Deadlock } from "./models/Deadlock.js";
5
+ export type { DeadlockFix } from "./models/DeadlockFix.js";
6
+ export type { DeadlockPattern } from "./models/DeadlockPattern.js";
7
+ export type { DeadlockProcess } from "./models/DeadlockProcess.js";
8
+ export type { DeadlockResource } from "./models/DeadlockResource.js";
9
+ export type { DocdbMetrics } from "./models/DocdbMetrics.js";
10
+ export type { Engine } from "./models/Engine.js";
11
+ export type { EngineFacts } from "./models/EngineFacts.js";
12
+ export type { Guess } from "./models/Guess.js";
13
+ export type { InsightArea } from "./models/InsightArea.js";
14
+ export type { MssqlCurrentTableType } from "./models/MssqlCurrentTableType.js";
15
+ export type { NodeRuntime } from "./models/NodeRuntime.js";
16
+ export type { Plan } from "./models/Plan.js";
17
+ export type { PlanChange } from "./models/PlanChange.js";
18
+ export type { PlanDiff } from "./models/PlanDiff.js";
19
+ export type { PlanInsight } from "./models/PlanInsight.js";
20
+ export type { PlanKind } from "./models/PlanKind.js";
21
+ export type { PlanNode } from "./models/PlanNode.js";
22
+ export type { PlanNodeFacts } from "./models/PlanNodeFacts.js";
23
+ export type { PlanOperatorView } from "./models/PlanOperatorView.js";
24
+ export type { PlanPageServerIoView } from "./models/PlanPageServerIoView.js";
25
+ export type { PlanView as PlanViewModel } from "./models/PlanView.js";
26
+ export type { QueryStat } from "./models/QueryStat.js";
27
+ export type { Scenario } from "./models/Scenario.js";
28
+ export type { ScenarioKind } from "./models/ScenarioKind.js";
29
+ export type { Severity } from "./models/Severity.js";
package/pkg/types.js ADDED
@@ -0,0 +1 @@
1
+ export {};