@spinnaker/core 0.14.2 → 0.15.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.
Files changed (217) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/dist/config/settings.d.ts +1 -0
  3. package/dist/core.module.d.ts +1 -1
  4. package/dist/index.js +89 -47
  5. package/dist/index.js.map +1 -1
  6. package/dist/instance/instanceType.service.d.ts +3 -2
  7. package/dist/managed/artifactActions/ArtifactActions.d.ts +24 -0
  8. package/dist/managed/constraints/registry.d.ts +13 -2
  9. package/dist/managed/environmentBaseElements/EnvironmentItem.d.ts +3 -2
  10. package/dist/managed/graphql/graphql-sdk.d.ts +123 -11
  11. package/dist/managed/overview/Resource.d.ts +5 -2
  12. package/dist/managed/overview/artifact/Artifact.d.ts +2 -1
  13. package/dist/managed/overview/artifact/ArtifactActionModal.d.ts +20 -9
  14. package/dist/managed/overview/artifact/ArtifactCollapsibleSection.d.ts +7 -0
  15. package/dist/managed/overview/artifact/ArtifactVersions.d.ts +9 -0
  16. package/dist/managed/overview/artifact/CurrentVersion.d.ts +7 -6
  17. package/dist/managed/overview/artifact/VersionTitle.d.ts +9 -0
  18. package/dist/managed/overview/artifact/hooks.d.ts +6 -11
  19. package/dist/managed/overview/artifact/useCreateRollbackActions.hook.d.ts +3 -0
  20. package/dist/managed/overview/artifact/utils.d.ts +15 -14
  21. package/dist/managed/overview/useIsUpdatingResources.hook.d.ts +1 -0
  22. package/dist/managed/resources/ResourceTitle.d.ts +3 -3
  23. package/dist/managed/resources/resourceRegistry.d.ts +1 -1
  24. package/dist/managed/utils/ActionModal.d.ts +1 -0
  25. package/dist/managed/utils/defaults.d.ts +1 -0
  26. package/dist/managed/versionMetadata/MetadataComponents.d.ts +18 -19
  27. package/dist/managed/versionMetadata/VersionMetadata.d.ts +6 -2
  28. package/dist/search/infrastructure/infrastructureSearch.service.d.ts +2 -1
  29. package/dist/securityGroup/index.d.ts +2 -1
  30. package/package.json +6 -6
  31. package/src/account/AccountSelectInput.spec.tsx +9 -4
  32. package/src/account/AccountService.spec.ts +6 -6
  33. package/src/api/ApiService.spec.ts +2 -2
  34. package/src/api/ApiServiceDeprecated.spec.ts +5 -2
  35. package/src/application/application.model.spec.ts +78 -79
  36. package/src/application/config/applicationAttributes.directive.html +6 -2
  37. package/src/application/config/applicationAttributes.directive.js +4 -0
  38. package/src/application/config/applicationConfig.view.html +14 -1
  39. package/src/application/config/customBanner/CustomBannerConfig.spec.tsx +3 -3
  40. package/src/application/config/dataSources/applicationDataSourceEditor.component.spec.ts +4 -3
  41. package/src/application/config/footer/configSectionFooter.component.spec.ts +2 -1
  42. package/src/application/listExtractor/AppListExtractor.spec.ts +4 -4
  43. package/src/application/modal/PermissionsConfigurer.spec.tsx +3 -2
  44. package/src/application/modal/editApplication.controller.modal.js +1 -0
  45. package/src/application/modal/editApplication.html +2 -2
  46. package/src/application/modal/validation/ApplicationNameValidator.spec.ts +2 -1
  47. package/src/application/modal/validation/validateApplicationName.directive.spec.ts +3 -2
  48. package/src/application/nav/ApplicationNavigation.spec.tsx +12 -11
  49. package/src/application/nav/NavItem.spec.tsx +7 -5
  50. package/src/application/nav/NavSection.spec.tsx +3 -2
  51. package/src/application/service/ApplicationReader.spec.ts +13 -8
  52. package/src/application/service/ApplicationWriter.spec.ts +4 -2
  53. package/src/application/service/InferredApplicationWarningService.spec.ts +2 -3
  54. package/src/artifact/expectedArtifact.service.spec.ts +2 -1
  55. package/src/artifact/react/ExpectedArtifactSelector.spec.tsx +2 -3
  56. package/src/authentication/AuthenticationInitializer.spec.ts +2 -1
  57. package/src/authentication/AuthenticationService.spec.ts +2 -1
  58. package/src/authentication/authentication.interceptor.spec.ts +4 -2
  59. package/src/cache/cacheInitializer.service.spec.ts +7 -4
  60. package/src/cache/infrastructureCaches.spec.ts +4 -4
  61. package/src/chaosMonkey/chaosMonkeyExceptions.component.spec.ts +4 -2
  62. package/src/cloudProvider/providerSelection/ProviderSelectionService.spec.ts +23 -21
  63. package/src/cluster/ClusterRuleMatcher.spec.ts +2 -1
  64. package/src/cluster/cluster.service.spec.ts +7 -7
  65. package/src/cluster/filter/ClusterFilterService.spec.ts +15 -14
  66. package/src/cluster/filter/LabelFilter.spec.tsx +3 -3
  67. package/src/cluster/filter/MultiselectModel.spec.ts +2 -2
  68. package/src/cluster/filter/labelFilterUtils.spec.ts +3 -7
  69. package/src/config/settings.ts +1 -1
  70. package/src/core.module.ts +1 -1
  71. package/src/filterModel/dependentFilter/DependentFilterService.spec.ts +1 -1
  72. package/src/function/filter/FunctionFilterService.spec.ts +5 -3
  73. package/src/function/function.read.service.spec.ts +4 -3
  74. package/src/header/customBanner/CustomBanner.spec.tsx +3 -4
  75. package/src/healthCounts/HealthCounts.spec.tsx +2 -2
  76. package/src/history/recentHistory.service.spec.ts +2 -1
  77. package/src/insight/InsightMenu.spec.tsx +9 -6
  78. package/src/instance/instance.write.service.spec.ts +8 -7
  79. package/src/instance/instanceType.service.ts +12 -2
  80. package/src/instance/instanceTypeService.spec.ts +2 -1
  81. package/src/loadBalancer/LoadBalancersTag.spec.tsx +8 -6
  82. package/src/loadBalancer/filter/LoadBalancerFilterService.spec.ts +2 -2
  83. package/src/managed/Environments.less +4 -4
  84. package/src/managed/Environments.tsx +1 -1
  85. package/src/managed/RelativeTimestamp.tsx +8 -6
  86. package/src/managed/artifactActions/ArtifactActions.tsx +77 -0
  87. package/src/managed/constraints/AllowedTimes.spec.ts +2 -1
  88. package/src/managed/constraints/registry.tsx +27 -1
  89. package/src/managed/environmentBaseElements/BaseEnvironment.less +3 -3
  90. package/src/managed/environmentBaseElements/EnvironmentItem.tsx +11 -4
  91. package/src/managed/graphql/graphql-sdk.ts +218 -29
  92. package/src/managed/graphql/schema.graphql +14 -1
  93. package/src/managed/overview/EnvironmentOverview.tsx +12 -15
  94. package/src/managed/overview/EnvironmentsOverview.less +6 -5
  95. package/src/managed/overview/PreviewEnvironments.tsx +0 -3
  96. package/src/managed/overview/Resource.less +1 -1
  97. package/src/managed/overview/Resource.tsx +62 -47
  98. package/src/managed/overview/artifact/Artifact.less +27 -52
  99. package/src/managed/overview/artifact/Artifact.tsx +86 -22
  100. package/src/managed/overview/artifact/ArtifactActionModal.less +19 -0
  101. package/src/managed/overview/artifact/ArtifactActionModal.tsx +150 -68
  102. package/src/managed/overview/artifact/ArtifactCollapsibleSection.tsx +32 -0
  103. package/src/managed/overview/artifact/ArtifactVersionTasks.tsx +2 -0
  104. package/src/managed/overview/artifact/{PendingVersion.tsx → ArtifactVersions.tsx} +35 -25
  105. package/src/managed/overview/artifact/Constraints.tsx +61 -21
  106. package/src/managed/overview/artifact/CurrentVersion.tsx +42 -27
  107. package/src/managed/overview/artifact/VersionTitle.tsx +18 -0
  108. package/src/managed/overview/artifact/hooks.ts +71 -34
  109. package/src/managed/overview/artifact/useCreateRollbackActions.hook.ts +75 -0
  110. package/src/managed/overview/artifact/utils.spec.ts +1 -1
  111. package/src/managed/overview/artifact/utils.ts +47 -80
  112. package/src/managed/overview/baseStyles.less +124 -88
  113. package/src/managed/overview/queries.graphql +54 -13
  114. package/src/managed/overview/useIsUpdatingResources.hook.ts +9 -0
  115. package/src/managed/resources/ResourceTitle.tsx +12 -5
  116. package/src/managed/utils/ActionModal.tsx +4 -1
  117. package/src/managed/utils/defaults.ts +3 -0
  118. package/src/managed/utils/useNotifyOnError.hook.ts +1 -1
  119. package/src/managed/versionMetadata/MetadataComponents.tsx +100 -68
  120. package/src/managed/versionMetadata/VersionMetadata.less +17 -18
  121. package/src/managed/versionMetadata/VersionMetadata.tsx +23 -31
  122. package/src/managed/versionsHistory/VersionContent.tsx +20 -13
  123. package/src/managed/versionsHistory/VersionHeading.tsx +2 -1
  124. package/src/managed/versionsHistory/VersionsHistory.less +11 -3
  125. package/src/manifest/PodNameProvider.spec.ts +1 -1
  126. package/src/navigation/customParamTypes.spec.ts +1 -1
  127. package/src/pagerDuty/pagerDuty.read.service.spec.ts +4 -2
  128. package/src/pagerDuty/pagerDutyTag.component.spec.ts +7 -3
  129. package/src/pipeline/config/PipelineRegistry.spec.ts +38 -37
  130. package/src/pipeline/config/actions/templateJson/ShowPipelineTemplateJsonModal.spec.tsx +3 -3
  131. package/src/pipeline/config/pipelineConfigurer.controller.spec.ts +3 -3
  132. package/src/pipeline/config/services/PipelineConfigService.spec.ts +4 -3
  133. package/src/pipeline/config/stages/bakeManifest/helm/BakeHelmConfigForm.spec.tsx +6 -8
  134. package/src/pipeline/config/stages/findArtifactFromExecution/findArtifactFromExecution.controller.spec.ts +2 -1
  135. package/src/pipeline/config/stages/manualJudgment/manualJudgment.service.spec.ts +6 -4
  136. package/src/pipeline/config/stages/travis/travisExecutionDetails.controller.spec.ts +5 -2
  137. package/src/pipeline/config/stages/travis/travisStage.controller.spec.ts +3 -2
  138. package/src/pipeline/config/stages/unmatchedStageTypeStage/unmatchedStageTypeStage.controller.spec.ts +2 -1
  139. package/src/pipeline/config/stages/wait/SkipWait.tsx +3 -1
  140. package/src/pipeline/config/stages/wercker/werckerExecutionDetails.controller.spec.ts +5 -2
  141. package/src/pipeline/config/stages/wercker/werckerStage.controller.spec.ts +3 -2
  142. package/src/pipeline/config/templates/Variable.spec.tsx +6 -5
  143. package/src/pipeline/config/templates/configurePipelineTemplateModal.controller.spec.ts +7 -8
  144. package/src/pipeline/config/templates/v2/configurePipelineTemplateModalV2.controller.spec.ts +7 -8
  145. package/src/pipeline/config/templates/v2/pipelineTemplateV2.service.spec.ts +1 -1
  146. package/src/pipeline/config/triggers/TriggersPageContent.spec.tsx +4 -4
  147. package/src/pipeline/config/triggers/TriggersPageContent.tsx +1 -2
  148. package/src/pipeline/config/triggers/artifacts/docker/defaultDocker.artifact.spec.ts +1 -2
  149. package/src/pipeline/config/validation/pipelineConfig.validator.spec.ts +14 -15
  150. package/src/pipeline/create/CreatePipelineModal.spec.tsx +9 -7
  151. package/src/pipeline/details/executionDetailsSection.service.spec.ts +3 -2
  152. package/src/pipeline/executions/Executions.spec.tsx +9 -6
  153. package/src/pipeline/executions/executionAction/ExecutionAction.spec.tsx +1 -1
  154. package/src/pipeline/executions/executionGroup/ExecutionGroup.tsx +2 -1
  155. package/src/pipeline/filter/executionFilter.service.spec.ts +1 -1
  156. package/src/pipeline/pipeline.dataSource.spec.ts +8 -7
  157. package/src/pipeline/service/ExecutionsTransformer.spec.ts +2 -2
  158. package/src/pipeline/service/execution.service.spec.ts +7 -5
  159. package/src/pipeline/status/Artifact.spec.tsx +7 -6
  160. package/src/pipeline/status/ArtifactList.spec.tsx +7 -6
  161. package/src/pipeline/status/ExecutionParameters.spec.tsx +5 -4
  162. package/src/pipeline/status/ResolvedArtifactList.spec.tsx +7 -6
  163. package/src/plugins/deck.plugin.spec.ts +4 -2
  164. package/src/plugins/plugin.registry.spec.ts +6 -4
  165. package/src/presentation/forms/SpinFormik.spec.tsx +3 -2
  166. package/src/presentation/forms/fields/FormikFormField.spec.tsx +3 -3
  167. package/src/presentation/forms/hooks/useSaveRestoreMutuallyExclusiveFields.hook.spec.tsx +4 -3
  168. package/src/presentation/forms/inputs/ChecklistInput.spec.tsx +1 -1
  169. package/src/presentation/forms/inputs/RadioButtonInput.spec.tsx +2 -1
  170. package/src/presentation/forms/inputs/SelectInput.spec.tsx +2 -1
  171. package/src/presentation/forms/inputs/hooks/useInternalValidator.hook.spec.tsx +4 -3
  172. package/src/presentation/forms/validation/FormValidator.spec.ts +2 -2
  173. package/src/presentation/forms/validation/useValidationData.spec.tsx +4 -3
  174. package/src/presentation/hooks/useContainerClassNames.hook.spec.tsx +2 -1
  175. package/src/presentation/hooks/useData.hook.spec.tsx +3 -2
  176. package/src/presentation/hooks/useDebouncedValue.hook.spec.tsx +1 -1
  177. package/src/presentation/hooks/useDeepObjectDiff.hook.spec.tsx +2 -1
  178. package/src/presentation/hooks/useEventListener.hook.spec.tsx +2 -1
  179. package/src/presentation/hooks/useForceUpdate.hook.spec.tsx +2 -1
  180. package/src/presentation/hooks/useInterval.hook.spec.tsx +2 -1
  181. package/src/presentation/hooks/useIsMountedRef.hook.spec.tsx +1 -1
  182. package/src/presentation/hooks/useLatestCallback.hook.spec.tsx +2 -1
  183. package/src/presentation/hooks/useLatestPromise.hook.spec.tsx +9 -3
  184. package/src/presentation/hooks/useMountStatusRef.hook.spec.tsx +3 -1
  185. package/src/presentation/hooks/usePollingData.hook.spec.tsx +3 -2
  186. package/src/presentation/hooks/usePrevious.hook.spec.tsx +2 -1
  187. package/src/presentation/navigation/pageNavigator.component.spec.ts +3 -3
  188. package/src/presentation/spel/SpelInput.spec.tsx +9 -4
  189. package/src/presentation/spel/SpelService.spec.ts +1 -1
  190. package/src/scheduler/SchedulerFactory.spec.ts +2 -1
  191. package/src/search/infrastructure/infrastructureSearch.service.ts +3 -2
  192. package/src/search/widgets/Filter.spec.tsx +5 -3
  193. package/src/search/widgets/Filters.spec.tsx +5 -3
  194. package/src/search/widgets/Search.spec.tsx +4 -2
  195. package/src/securityGroup/index.ts +2 -1
  196. package/src/securityGroup/securityGroupReader.service.spec.ts +8 -10
  197. package/src/serverGroup/configure/common/deployInitializer.component.spec.ts +7 -3
  198. package/src/serverGroup/configure/common/v2instanceArchetypeSelector.component.ts +1 -1
  199. package/src/serverGroup/details/capacity/CapacityDetailsSection.spec.tsx +1 -1
  200. package/src/serverGroup/details/scalingActivities/ScalingActivitiesModal.spec.ts +2 -1
  201. package/src/serverGroup/details/serverGroupWarningMessage.service.spec.ts +4 -4
  202. package/src/serverGroup/serverGroupWriter.service.spec.ts +10 -8
  203. package/src/slack/SlackReader.spec.ts +2 -1
  204. package/src/subnet/subnet.read.service.spec.ts +4 -3
  205. package/src/task/monitor/taskMonitor.spec.ts +6 -5
  206. package/src/task/task.dataSource.spec.ts +5 -4
  207. package/src/task/task.write.service.spec.ts +3 -1
  208. package/src/utils/clipboard/CopyToClipboard.spec.tsx +2 -1
  209. package/src/utils/json/json.utility.service.spec.ts +2 -1
  210. package/src/utils/timeFormatters.spec.ts +3 -2
  211. package/src/utils/workerPool.spec.ts +2 -1
  212. package/src/widgets/ApplicationsPickerInput.spec.tsx +3 -2
  213. package/src/widgets/spelText/SpelAutocompleteService.spec.ts +4 -3
  214. package/src/widgets/tags/Tag.spec.tsx +4 -2
  215. package/src/widgets/tags/TagList.spec.tsx +5 -3
  216. package/src/yamlEditor/yamlEditorUtils.spec.ts +1 -1
  217. package/dist/managed/overview/artifact/PendingVersion.d.ts +0 -7
@@ -1,8 +1,9 @@
1
- import { mockHttpClient } from '../api/mock/jasmine';
2
- import { mock, IRootScopeService, IScope } from 'angular';
1
+ import type { IRootScopeService, IScope } from 'angular';
2
+ import { mock } from 'angular';
3
3
 
4
+ import { mockHttpClient } from '../api/mock/jasmine';
5
+ import type { ISubnet } from '../domain';
4
6
  import { SubnetReader } from './subnet.read.service';
5
- import { ISubnet } from '../domain';
6
7
 
7
8
  describe('SubnetReader', function () {
8
9
  let $scope: IScope;
@@ -1,13 +1,14 @@
1
- import { mockHttpClient } from '../../api/mock/jasmine';
2
1
  import { mock } from 'angular';
3
- import { IModalServiceInstance } from 'angular-ui-bootstrap';
2
+ import type { IModalServiceInstance } from 'angular-ui-bootstrap';
4
3
  import { $q, $timeout } from 'ngimport';
5
- import Spy = jasmine.Spy;
6
4
 
7
- import { ITask } from '../../domain';
8
5
  import { TaskMonitor } from './TaskMonitor';
9
- import { OrchestratedItemTransformer } from '../../orchestratedItem/orchestratedItem.transformer';
6
+ import { mockHttpClient } from '../../api/mock/jasmine';
10
7
  import { ApplicationModelBuilder } from '../../application/applicationModel.builder';
8
+ import type { ITask } from '../../domain';
9
+ import { OrchestratedItemTransformer } from '../../orchestratedItem/orchestratedItem.transformer';
10
+
11
+ import Spy = jasmine.Spy;
11
12
 
12
13
  describe('TaskMonitor', () => {
13
14
  let $scope: ng.IScope;
@@ -1,6 +1,7 @@
1
- import { mock, IQService } from 'angular';
1
+ import type { IQService } from 'angular';
2
+ import { mock } from 'angular';
2
3
 
3
- import { Application } from '../application/application.model';
4
+ import type { Application } from '../application/application.model';
4
5
  import { ApplicationModelBuilder } from '../application/applicationModel.builder';
5
6
  import { ApplicationDataSourceRegistry } from '../application/service/ApplicationDataSourceRegistry';
6
7
  import { TaskReader } from './task.read.service';
@@ -79,8 +80,8 @@ describe('Task Data Source', function () {
79
80
 
80
81
  it('sets appropriate flags when task reload fails; subscriber is responsible for error checking', function () {
81
82
  spyOn(TaskReader, 'getTasks').and.callFake(() => $q.reject(null));
82
- let errorsHandled = 0,
83
- successesHandled = 0;
83
+ let errorsHandled = 0;
84
+ let successesHandled = 0;
84
85
  configureApplication();
85
86
  application.getDataSource('tasks').onRefresh(
86
87
  $scope,
@@ -1,5 +1,7 @@
1
+ import type { ITimeoutService } from 'angular';
2
+ import { mock } from 'angular';
3
+
1
4
  import { mockHttpClient } from '../api/mock/jasmine';
2
- import { mock, ITimeoutService } from 'angular';
3
5
  import { TaskWriter } from './task.write.service';
4
6
 
5
7
  describe('Service: TaskWriter', () => {
@@ -1,7 +1,8 @@
1
1
  import { mount } from 'enzyme';
2
2
  import React from 'react';
3
- import { logger } from '../Logger';
3
+
4
4
  import { CopyToClipboard } from './CopyToClipboard';
5
+ import { logger } from '../Logger';
5
6
 
6
7
  describe('<CopyToClipboard />', () => {
7
8
  beforeEach(() => spyOn(logger, 'log'));
@@ -1,4 +1,5 @@
1
- import { JsonUtils, IJsonDiff } from './JsonUtils';
1
+ import type { IJsonDiff } from './JsonUtils';
2
+ import { JsonUtils } from './JsonUtils';
2
3
 
3
4
  describe('JsonUtilityService', () => {
4
5
  it('generates a nice alphabetized diff', () => {
@@ -1,8 +1,9 @@
1
- import { IFilterService, mock } from 'angular';
1
+ import type { IFilterService } from 'angular';
2
+ import { mock } from 'angular';
3
+ import { DateTime, Settings } from 'luxon';
2
4
 
3
5
  import { SETTINGS } from '../config/settings';
4
6
  import { duration, timeDiffToString } from './timeFormatters';
5
- import { DateTime, Settings } from 'luxon';
6
7
 
7
8
  describe('Filter: timeFormatters', function () {
8
9
  beforeEach(function () {
@@ -1,4 +1,5 @@
1
- import { Task, WorkerPool } from './workerPool';
1
+ import type { Task } from './workerPool';
2
+ import { WorkerPool } from './workerPool';
2
3
 
3
4
  const delay = (millis = 0) => new Promise<void>((resolve) => setTimeout(resolve, millis));
4
5
 
@@ -1,8 +1,9 @@
1
- import { ApplicationReader } from '../application';
2
- import { IValidator } from '../presentation';
3
1
  import { mount } from 'enzyme';
4
2
  import React from 'react';
3
+
5
4
  import { ApplicationsPickerInput } from './ApplicationsPickerInput';
5
+ import { ApplicationReader } from '../application';
6
+ import type { IValidator } from '../presentation';
6
7
 
7
8
  describe('ApplicationsPickerInput', () => {
8
9
  function listApplicationsSpy() {
@@ -1,7 +1,8 @@
1
- import { SpelAutocompleteService } from './SpelAutocompleteService';
2
1
  import { $q } from 'ngimport';
3
- import { ExecutionService } from '../../pipeline';
4
- import { IExecution, IPipeline, IStage } from '../../domain';
2
+
3
+ import { SpelAutocompleteService } from './SpelAutocompleteService';
4
+ import type { IExecution, IPipeline, IStage } from '../../domain';
5
+ import type { ExecutionService } from '../../pipeline';
5
6
 
6
7
  describe('SpelAutocompleteService', () => {
7
8
  describe('addPipelineInfo', () => {
@@ -1,8 +1,10 @@
1
+ import type { ReactWrapper } from 'enzyme';
2
+ import { mount } from 'enzyme';
1
3
  import React from 'react';
2
- import { mount, ReactWrapper } from 'enzyme';
3
4
 
4
5
  import { Key } from '../Keys';
5
- import { DeleteType, ITag, ITagProps, Tag } from './Tag';
6
+ import type { ITag, ITagProps } from './Tag';
7
+ import { DeleteType, Tag } from './Tag';
6
8
 
7
9
  describe('<Tag/>', () => {
8
10
  let component: ReactWrapper<ITagProps, any>;
@@ -1,8 +1,10 @@
1
+ import type { ReactWrapper } from 'enzyme';
2
+ import { mount } from 'enzyme';
1
3
  import React from 'react';
2
- import { ReactWrapper, mount } from 'enzyme';
3
4
 
4
- import { ITag } from './Tag';
5
- import { ITagListProps, TagList } from './TagList';
5
+ import type { ITag } from './Tag';
6
+ import type { ITagListProps } from './TagList';
7
+ import { TagList } from './TagList';
6
8
 
7
9
  describe('<TagList/>', () => {
8
10
  let component: ReactWrapper<ITagListProps, any>;
@@ -1,4 +1,4 @@
1
- import { yamlStringToDocuments, yamlDocumentsToString } from './yamlEditorUtils';
1
+ import { yamlDocumentsToString, yamlStringToDocuments } from './yamlEditorUtils';
2
2
 
3
3
  describe('YAML editor utils', () => {
4
4
  describe('yamlStringToDocuments', () => {
@@ -1,7 +0,0 @@
1
- /// <reference types="react" />
2
- import type { QueryArtifact, QueryArtifactVersion } from '../types';
3
- export interface IPendingVersionsProps {
4
- artifact: QueryArtifact;
5
- pendingVersions?: QueryArtifactVersion[];
6
- }
7
- export declare const PendingVersions: ({ artifact, pendingVersions }: IPendingVersionsProps) => JSX.Element;