diff --git a/extensions/podman/src/podman-binary-location-helper.ts b/extensions/podman/src/podman-binary-location-helper.ts index b6f88d94bfe..7c202827b0b 100644 --- a/extensions/podman/src/podman-binary-location-helper.ts +++ b/extensions/podman/src/podman-binary-location-helper.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import * as extensionApi from '@podman-desktop/api'; export interface PodmanBinaryLocationResult { diff --git a/extensions/podman/src/podman-cleanup-abstract.ts b/extensions/podman/src/podman-cleanup-abstract.ts index 935f443c709..62eb2933cf7 100644 --- a/extensions/podman/src/podman-cleanup-abstract.ts +++ b/extensions/podman/src/podman-cleanup-abstract.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import type { ProviderCleanup, ProviderCleanupAction, ProviderCleanupExecuteOptions } from '@podman-desktop/api'; import { existsSync, promises } from 'node:fs'; diff --git a/extensions/podman/src/podman-cleanup-macos.ts b/extensions/podman/src/podman-cleanup-macos.ts index 8eb9ace8d4f..0f91a74ec98 100644 --- a/extensions/podman/src/podman-cleanup-macos.ts +++ b/extensions/podman/src/podman-cleanup-macos.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import type { ProviderCleanupExecuteOptions } from '@podman-desktop/api'; import { process } from '@podman-desktop/api'; import psList from 'ps-list'; diff --git a/extensions/podman/src/podman-cleanup-windows.ts b/extensions/podman/src/podman-cleanup-windows.ts index c14a0d109da..cae3eb95e41 100644 --- a/extensions/podman/src/podman-cleanup-windows.ts +++ b/extensions/podman/src/podman-cleanup-windows.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import type { ProviderCleanupExecuteOptions } from '@podman-desktop/api'; import { process } from '@podman-desktop/api'; diff --git a/extensions/podman/src/podman-info-helper.spec.ts b/extensions/podman/src/podman-info-helper.spec.ts index 2493d2c2259..78a3d4a19e8 100644 --- a/extensions/podman/src/podman-info-helper.spec.ts +++ b/extensions/podman/src/podman-info-helper.spec.ts @@ -1,4 +1,3 @@ -/* eslint-disable @typescript-eslint/no-explicit-any */ /********************************************************************** * Copyright (C) 2023 Red Hat, Inc. * @@ -17,6 +16,7 @@ * SPDX-License-Identifier: Apache-2.0 ***********************************************************************/ +/* eslint-disable @typescript-eslint/no-explicit-any */ import * as extensionApi from '@podman-desktop/api'; import type { Mock } from 'vitest'; diff --git a/extensions/podman/src/podman-info-helper.ts b/extensions/podman/src/podman-info-helper.ts index e5c596c704a..4f6de3f130c 100644 --- a/extensions/podman/src/podman-info-helper.ts +++ b/extensions/podman/src/podman-info-helper.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import * as extensionApi from '@podman-desktop/api'; /** diff --git a/extensions/podman/src/qemu-helper.ts b/extensions/podman/src/qemu-helper.ts index 108ef3c0953..fcb5f159a2e 100644 --- a/extensions/podman/src/qemu-helper.ts +++ b/extensions/podman/src/qemu-helper.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import * as extensionApi from '@podman-desktop/api'; export class QemuHelper { diff --git a/extensions/podman/src/wsl-helper.ts b/extensions/podman/src/wsl-helper.ts index 92660e698dc..496a5580abf 100644 --- a/extensions/podman/src/wsl-helper.ts +++ b/extensions/podman/src/wsl-helper.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import * as extensionApi from '@podman-desktop/api'; import { normalizeWSLOutput } from './util'; diff --git a/packages/main/src/plugin/api/image-checker-info.ts b/packages/main/src/plugin/api/image-checker-info.ts index 96ae1e91281..f453b1da7f2 100644 --- a/packages/main/src/plugin/api/image-checker-info.ts +++ b/packages/main/src/plugin/api/image-checker-info.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + export type ImageCheckerExtensionInfo = { id: string; label: string; diff --git a/packages/main/src/plugin/docker-extension/docker-plugin-adapter.ts b/packages/main/src/plugin/docker-extension/docker-plugin-adapter.ts index 512de7c20e5..939f69914e1 100644 --- a/packages/main/src/plugin/docker-extension/docker-plugin-adapter.ts +++ b/packages/main/src/plugin/docker-extension/docker-plugin-adapter.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import type { IpcMainEvent, IpcMainInvokeEvent } from 'electron'; import { ipcMain } from 'electron'; diff --git a/packages/main/src/plugin/events/emitter.ts b/packages/main/src/plugin/events/emitter.ts index 6a9d850644e..4abe87c791b 100644 --- a/packages/main/src/plugin/events/emitter.ts +++ b/packages/main/src/plugin/events/emitter.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + /* eslint-disable @typescript-eslint/no-explicit-any */ /* eslint-disable @typescript-eslint/ban-types */ import type { IDisposable } from '../types/disposable.js'; diff --git a/packages/main/src/plugin/image-checker.ts b/packages/main/src/plugin/image-checker.ts index 0af7e4e5883..d8a861f9826 100644 --- a/packages/main/src/plugin/image-checker.ts +++ b/packages/main/src/plugin/image-checker.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import type { CancellationToken, Disposable, diff --git a/packages/main/src/plugin/navigation/navigation-manager.ts b/packages/main/src/plugin/navigation/navigation-manager.ts index d7687b7a64e..8bcafe79249 100644 --- a/packages/main/src/plugin/navigation/navigation-manager.ts +++ b/packages/main/src/plugin/navigation/navigation-manager.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import type { ApiSenderType } from '/@/plugin/api.js'; import type { ContainerProviderRegistry } from '/@/plugin/container-registry.js'; import type { NavigationRequest } from '/@/plugin/navigation/navigation-request.js'; diff --git a/packages/renderer/src/lib/compose/ComposeDetails.spec.ts b/packages/renderer/src/lib/compose/ComposeDetails.spec.ts index 3cbb9b1f737..0ae623c6832 100644 --- a/packages/renderer/src/lib/compose/ComposeDetails.spec.ts +++ b/packages/renderer/src/lib/compose/ComposeDetails.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect, vi, beforeAll } from 'vitest'; import { fireEvent, render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/compose/ComposeDetailsLogs.spec.ts b/packages/renderer/src/lib/compose/ComposeDetailsLogs.spec.ts index 5dcd55f3fac..9f42341170a 100644 --- a/packages/renderer/src/lib/compose/ComposeDetailsLogs.spec.ts +++ b/packages/renderer/src/lib/compose/ComposeDetailsLogs.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { beforeAll, expect, test, vi } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/image/ImageDetailsCheck.spec.ts b/packages/renderer/src/lib/image/ImageDetailsCheck.spec.ts index 54c327f0284..bdc63358bbb 100644 --- a/packages/renderer/src/lib/image/ImageDetailsCheck.spec.ts +++ b/packages/renderer/src/lib/image/ImageDetailsCheck.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { beforeAll, beforeEach, expect, test, vi } from 'vitest'; import ImageDetailsCheck from './ImageDetailsCheck.svelte'; diff --git a/packages/renderer/src/lib/image/RenameImageModal.spec.ts b/packages/renderer/src/lib/image/RenameImageModal.spec.ts index 92e3921f7da..b84f8eea76c 100644 --- a/packages/renderer/src/lib/image/RenameImageModal.spec.ts +++ b/packages/renderer/src/lib/image/RenameImageModal.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect, describe } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/kube/details/KubeContainerArtifact.spec.ts b/packages/renderer/src/lib/kube/details/KubeContainerArtifact.spec.ts index 3d185280b1a..ce6a05638f4 100644 --- a/packages/renderer/src/lib/kube/details/KubeContainerArtifact.spec.ts +++ b/packages/renderer/src/lib/kube/details/KubeContainerArtifact.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/kube/details/KubeDeploymentArtifact.spec.ts b/packages/renderer/src/lib/kube/details/KubeDeploymentArtifact.spec.ts index ad8dd5d9198..1a84259cd90 100644 --- a/packages/renderer/src/lib/kube/details/KubeDeploymentArtifact.spec.ts +++ b/packages/renderer/src/lib/kube/details/KubeDeploymentArtifact.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/kube/details/KubeDeploymentStatusArtifact.spec.ts b/packages/renderer/src/lib/kube/details/KubeDeploymentStatusArtifact.spec.ts index ede7d9f22d6..8b191f78e8c 100644 --- a/packages/renderer/src/lib/kube/details/KubeDeploymentStatusArtifact.spec.ts +++ b/packages/renderer/src/lib/kube/details/KubeDeploymentStatusArtifact.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/kube/details/KubeIngressArtifact.spec.ts b/packages/renderer/src/lib/kube/details/KubeIngressArtifact.spec.ts index eca0416a1a4..8fd81135746 100644 --- a/packages/renderer/src/lib/kube/details/KubeIngressArtifact.spec.ts +++ b/packages/renderer/src/lib/kube/details/KubeIngressArtifact.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/kube/details/KubeIngressStatusArtifact.spec.ts b/packages/renderer/src/lib/kube/details/KubeIngressStatusArtifact.spec.ts index 83d41e1472c..46a78de23fd 100644 --- a/packages/renderer/src/lib/kube/details/KubeIngressStatusArtifact.spec.ts +++ b/packages/renderer/src/lib/kube/details/KubeIngressStatusArtifact.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { describe, test, expect } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/kube/details/KubeObjectMetaArtifact.spec.ts b/packages/renderer/src/lib/kube/details/KubeObjectMetaArtifact.spec.ts index 86ce1d08591..e930d276ca8 100644 --- a/packages/renderer/src/lib/kube/details/KubeObjectMetaArtifact.spec.ts +++ b/packages/renderer/src/lib/kube/details/KubeObjectMetaArtifact.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/kube/details/KubePodSpecArtifact.spec.ts b/packages/renderer/src/lib/kube/details/KubePodSpecArtifact.spec.ts index ce5bdcf392a..899c45e5f0d 100644 --- a/packages/renderer/src/lib/kube/details/KubePodSpecArtifact.spec.ts +++ b/packages/renderer/src/lib/kube/details/KubePodSpecArtifact.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/kube/details/KubePodStatusArtifact.spec.ts b/packages/renderer/src/lib/kube/details/KubePodStatusArtifact.spec.ts index 393c81f8770..edd1832f28d 100644 --- a/packages/renderer/src/lib/kube/details/KubePodStatusArtifact.spec.ts +++ b/packages/renderer/src/lib/kube/details/KubePodStatusArtifact.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/kube/details/KubeServiceArtifact.spec.ts b/packages/renderer/src/lib/kube/details/KubeServiceArtifact.spec.ts index cf7b80006f2..d776ec301df 100644 --- a/packages/renderer/src/lib/kube/details/KubeServiceArtifact.spec.ts +++ b/packages/renderer/src/lib/kube/details/KubeServiceArtifact.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/kube/details/KubeServiceStatusArtifact.spec.ts b/packages/renderer/src/lib/kube/details/KubeServiceStatusArtifact.spec.ts index aff0bfc994a..7c001009581 100644 --- a/packages/renderer/src/lib/kube/details/KubeServiceStatusArtifact.spec.ts +++ b/packages/renderer/src/lib/kube/details/KubeServiceStatusArtifact.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/kube/details/OpenshiftRouteArtifact.spec.ts b/packages/renderer/src/lib/kube/details/OpenshiftRouteArtifact.spec.ts index 3114b76cf18..5880d82104a 100644 --- a/packages/renderer/src/lib/kube/details/OpenshiftRouteArtifact.spec.ts +++ b/packages/renderer/src/lib/kube/details/OpenshiftRouteArtifact.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/onboarding/telemetry.ts b/packages/renderer/src/lib/onboarding/telemetry.ts index 336ff3aa375..a293e2fa127 100644 --- a/packages/renderer/src/lib/onboarding/telemetry.ts +++ b/packages/renderer/src/lib/onboarding/telemetry.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + export interface OnboardingTelemetryStep { id: string; title: string; diff --git a/packages/renderer/src/lib/preferences/item-formats/BooleanItem.spec.ts b/packages/renderer/src/lib/preferences/item-formats/BooleanItem.spec.ts index 0baa3636417..8e2da5699c3 100644 --- a/packages/renderer/src/lib/preferences/item-formats/BooleanItem.spec.ts +++ b/packages/renderer/src/lib/preferences/item-formats/BooleanItem.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect, vi, beforeAll } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/preferences/item-formats/EditableConnectionResourceItem.spec.ts b/packages/renderer/src/lib/preferences/item-formats/EditableConnectionResourceItem.spec.ts index 5b3117fed41..19138434ac2 100644 --- a/packages/renderer/src/lib/preferences/item-formats/EditableConnectionResourceItem.spec.ts +++ b/packages/renderer/src/lib/preferences/item-formats/EditableConnectionResourceItem.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect, vi } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/preferences/item-formats/EditableItem.spec.ts b/packages/renderer/src/lib/preferences/item-formats/EditableItem.spec.ts index 33810979561..77c4ec522b0 100644 --- a/packages/renderer/src/lib/preferences/item-formats/EditableItem.spec.ts +++ b/packages/renderer/src/lib/preferences/item-formats/EditableItem.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect, vi } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/preferences/item-formats/EnumItem.spec.ts b/packages/renderer/src/lib/preferences/item-formats/EnumItem.spec.ts index ef42a02ed3c..51bb8803574 100644 --- a/packages/renderer/src/lib/preferences/item-formats/EnumItem.spec.ts +++ b/packages/renderer/src/lib/preferences/item-formats/EnumItem.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect, vi, beforeAll } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/preferences/item-formats/FileItem.spec.ts b/packages/renderer/src/lib/preferences/item-formats/FileItem.spec.ts index 9781099e20c..b562c1e22a4 100644 --- a/packages/renderer/src/lib/preferences/item-formats/FileItem.spec.ts +++ b/packages/renderer/src/lib/preferences/item-formats/FileItem.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect, vi, beforeAll } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/preferences/item-formats/FloatNumberItem.spec.ts b/packages/renderer/src/lib/preferences/item-formats/FloatNumberItem.spec.ts index b47b67a0cd7..212dda9c004 100644 --- a/packages/renderer/src/lib/preferences/item-formats/FloatNumberItem.spec.ts +++ b/packages/renderer/src/lib/preferences/item-formats/FloatNumberItem.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect, vi } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/preferences/item-formats/NumberItem.spec.ts b/packages/renderer/src/lib/preferences/item-formats/NumberItem.spec.ts index e2963ddaba0..143b41d4690 100644 --- a/packages/renderer/src/lib/preferences/item-formats/NumberItem.spec.ts +++ b/packages/renderer/src/lib/preferences/item-formats/NumberItem.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/preferences/item-formats/NumberItemUtils.spec.ts b/packages/renderer/src/lib/preferences/item-formats/NumberItemUtils.spec.ts index 76776259d2d..873673e97db 100644 --- a/packages/renderer/src/lib/preferences/item-formats/NumberItemUtils.spec.ts +++ b/packages/renderer/src/lib/preferences/item-formats/NumberItemUtils.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect } from 'vitest'; import type { IConfigurationPropertyRecordedSchema } from '../../../../../main/src/plugin/configuration-registry'; diff --git a/packages/renderer/src/lib/preferences/item-formats/NumberItemUtils.ts b/packages/renderer/src/lib/preferences/item-formats/NumberItemUtils.ts index 784915da135..12317336ad9 100644 --- a/packages/renderer/src/lib/preferences/item-formats/NumberItemUtils.ts +++ b/packages/renderer/src/lib/preferences/item-formats/NumberItemUtils.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import type { IConfigurationPropertyRecordedSchema } from '../../../../../main/src/plugin/configuration-registry'; export interface NumericValue { diff --git a/packages/renderer/src/lib/preferences/item-formats/SliderItem.spec.ts b/packages/renderer/src/lib/preferences/item-formats/SliderItem.spec.ts index 61228da6c62..281ef985833 100644 --- a/packages/renderer/src/lib/preferences/item-formats/SliderItem.spec.ts +++ b/packages/renderer/src/lib/preferences/item-formats/SliderItem.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect, vi, beforeAll } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/preferences/item-formats/StringItem.spec.ts b/packages/renderer/src/lib/preferences/item-formats/StringItem.spec.ts index 94e381e74a7..796892e735b 100644 --- a/packages/renderer/src/lib/preferences/item-formats/StringItem.spec.ts +++ b/packages/renderer/src/lib/preferences/item-formats/StringItem.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect, vi, beforeAll } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/ui/Dots.ts b/packages/renderer/src/lib/ui/Dots.ts index 3b2a53026ca..03ef8024418 100644 --- a/packages/renderer/src/lib/ui/Dots.ts +++ b/packages/renderer/src/lib/ui/Dots.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import type { PodInfoContainerUI } from '../pod/PodInfoUI'; const allStatuses = ['running', 'created', 'paused', 'waiting', 'degraded', 'exited', 'stopped', 'terminated', 'dead']; diff --git a/packages/renderer/src/lib/ui/ProviderResultPage.spec.ts b/packages/renderer/src/lib/ui/ProviderResultPage.spec.ts index 374c55931c1..ad0e777b0d3 100644 --- a/packages/renderer/src/lib/ui/ProviderResultPage.spec.ts +++ b/packages/renderer/src/lib/ui/ProviderResultPage.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { fireEvent, render, screen, within } from '@testing-library/svelte'; import { describe, expect, test } from 'vitest'; diff --git a/packages/renderer/src/lib/ui/ProviderResultPage.ts b/packages/renderer/src/lib/ui/ProviderResultPage.ts index c795e74b1e9..e9066f0d21b 100644 --- a/packages/renderer/src/lib/ui/ProviderResultPage.ts +++ b/packages/renderer/src/lib/ui/ProviderResultPage.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import type { ImageCheck } from '@podman-desktop/api'; import type { ImageCheckerInfo } from '../../../../main/src/plugin/api/image-checker-info'; diff --git a/packages/renderer/src/lib/ui/StatusDot.spec.ts b/packages/renderer/src/lib/ui/StatusDot.spec.ts index dd5eb676031..dbcc6e2af09 100644 --- a/packages/renderer/src/lib/ui/StatusDot.spec.ts +++ b/packages/renderer/src/lib/ui/StatusDot.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import '@testing-library/jest-dom/vitest'; import { test, expect } from 'vitest'; import { render, screen } from '@testing-library/svelte'; diff --git a/packages/renderer/src/lib/ui/animation.spec.ts b/packages/renderer/src/lib/ui/animation.spec.ts index e5e2e8fa795..8d25fb1d081 100644 --- a/packages/renderer/src/lib/ui/animation.spec.ts +++ b/packages/renderer/src/lib/ui/animation.spec.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import { expect, test } from 'vitest'; import { fadeSlide } from './animations'; import { cubicOut } from 'svelte/easing'; diff --git a/packages/renderer/src/lib/ui/animations.ts b/packages/renderer/src/lib/ui/animations.ts index 20022eb2ffc..71b6c363a3d 100644 --- a/packages/renderer/src/lib/ui/animations.ts +++ b/packages/renderer/src/lib/ui/animations.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import { cubicOut } from 'svelte/easing'; export function fadeSlide( diff --git a/packages/renderer/src/main.ts b/packages/renderer/src/main.ts index 84831389c2f..01768a888a2 100644 --- a/packages/renderer/src/main.ts +++ b/packages/renderer/src/main.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import * as svelte from 'svelte'; import Loader from './Loader.svelte'; diff --git a/packages/renderer/src/vite-env.d.ts b/packages/renderer/src/vite-env.d.ts index 4078e7476a2..0829f4167e5 100644 --- a/packages/renderer/src/vite-env.d.ts +++ b/packages/renderer/src/vite-env.d.ts @@ -1,2 +1,20 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + /// /// diff --git a/packages/ui/src/lib/index.ts b/packages/ui/src/lib/index.ts index 3c79eef5abc..ee8fbcd6e4d 100644 --- a/packages/ui/src/lib/index.ts +++ b/packages/ui/src/lib/index.ts @@ -1 +1,19 @@ +/********************************************************************** + * Copyright (C) 2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + export { default as Input } from './input/Input.svelte'; diff --git a/tests/playwright/src/model/workbench/navigation.ts b/tests/playwright/src/model/workbench/navigation.ts index f3b5334614a..d66e1fd27cd 100644 --- a/tests/playwright/src/model/workbench/navigation.ts +++ b/tests/playwright/src/model/workbench/navigation.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + import type { Locator, Page } from '@playwright/test'; import { ImagesPage } from '../pages/images-page'; import { ContainersPage } from '../pages/containers-page'; diff --git a/types/additional.d.ts b/types/additional.d.ts index c905c4178b7..8033fdaacb0 100644 --- a/types/additional.d.ts +++ b/types/additional.d.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + declare module 'win-ca/api'; declare module 'micromark-extension-directive'; declare module 'date.js'; diff --git a/types/env.d.ts b/types/env.d.ts index a24c506dd47..cdf3d275656 100644 --- a/types/env.d.ts +++ b/types/env.d.ts @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + /// /** diff --git a/website/sidebars-api.js b/website/sidebars-api.js index c5aa328a41a..a5f3a9528ea 100644 --- a/website/sidebars-api.js +++ b/website/sidebars-api.js @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + // @ts-check /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ diff --git a/website/sidebars.js b/website/sidebars.js index f073f0bb4fd..ed5db203599 100644 --- a/website/sidebars.js +++ b/website/sidebars.js @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + // @ts-check /** @type {import('@docusaurus/plugin-content-docs').SidebarsConfig} */ diff --git a/website/src/theme/MDXComponents.js b/website/src/theme/MDXComponents.js index 563b8a23b8e..f1ffc25187f 100644 --- a/website/src/theme/MDXComponents.js +++ b/website/src/theme/MDXComponents.js @@ -1,3 +1,21 @@ +/********************************************************************** + * Copyright (C) 2023-2024 Red Hat, Inc. + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * + * SPDX-License-Identifier: Apache-2.0 + ***********************************************************************/ + // Import the original mapper import MDXComponents from '@theme-original/MDXComponents'; import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'; // Import the FontAwesomeIcon component.