Update copyright indicators on a bunch of files (#255)

This commit is contained in:
Evan Simkowitz 2024-08-20 17:01:29 -07:00 committed by GitHub
parent 65d50a772a
commit bd4bf93d4a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
29 changed files with 67 additions and 12 deletions

View File

@ -1,4 +1,4 @@
// Copyright 2023, Command Line Inc. // Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
package db package db

View File

@ -1,3 +1,6 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
import { isDev } from "@/util/isdev"; import { isDev } from "@/util/isdev";
import * as electron from "electron"; import * as electron from "electron";
import { autoUpdater } from "electron-updater"; import { autoUpdater } from "electron-updater";

View File

@ -1,3 +1,6 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
import clsx from "clsx"; import clsx from "clsx";
import React from "react"; import React from "react";
import "./button.less"; import "./button.less";

View File

@ -1,3 +1,6 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
.magnify-icon { .magnify-icon {
display: inline-block; display: inline-block;
width: 15px; width: 15px;

View File

@ -1,3 +1,6 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
import type { Meta, StoryObj } from "@storybook/react"; import type { Meta, StoryObj } from "@storybook/react";
import { MagnifyIcon } from "./magnify"; import { MagnifyIcon } from "./magnify";

View File

@ -1,3 +1,6 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
import clsx from "clsx"; import clsx from "clsx";
import MagnifySVG from "../asset/magnify.svg"; import MagnifySVG from "../asset/magnify.svg";
import "./magnify.less"; import "./magnify.less";

View File

@ -1,3 +1,6 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
@dot-width: 11px; @dot-width: 11px;
@dot-color: var(--success-color); @dot-color: var(--success-color);
@speed: 1.5s; @speed: 1.5s;

View File

@ -1,3 +1,6 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
import { clsx } from "clsx"; import { clsx } from "clsx";
import "./typingindicator.less"; import "./typingindicator.less";

View File

@ -1,3 +1,6 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
import debounce from "lodash.debounce"; import debounce from "lodash.debounce";
import { useCallback, useEffect, useState } from "react"; import { useCallback, useEffect, useState } from "react";

View File

@ -1,3 +1,6 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
import { useCallback, useEffect, useRef, useState } from "react"; import { useCallback, useEffect, useRef, useState } from "react";
export const useLongClick = (ref, onClick, onLongClick, ms = 300) => { export const useLongClick = (ref, onClick, onLongClick, ms = 300) => {

View File

@ -1,3 +1,6 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
import debounce from "lodash.debounce"; import debounce from "lodash.debounce";
import { useCallback, useEffect, useState } from "react"; import { useCallback, useEffect, useState } from "react";

View File

@ -1,3 +1,6 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
import Logo from "@/app/asset/logo.svg"; import Logo from "@/app/asset/logo.svg";
import { LinkButton } from "@/app/element/linkbutton"; import { LinkButton } from "@/app/element/linkbutton";
import { modalsModel } from "@/app/store/modalmodel"; import { modalsModel } from "@/app/store/modalmodel";

View File

@ -1,4 +1,4 @@
// Copyright 2023, Command Line Inc. // Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import { Button } from "@/app/element/button"; import { Button } from "@/app/element/button";

View File

@ -1,4 +1,4 @@
// Copyright 2023, Command Line Inc. // Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import { AboutModal } from "./about"; import { AboutModal } from "./about";

View File

@ -1,3 +1,6 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
.tos-modal { .tos-modal {
width: 640px; width: 640px;
border-radius: 10px; border-radius: 10px;

View File

@ -1,3 +1,6 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
*, *,
*::before, *::before,
*::after { *::after {

View File

@ -1,4 +1,4 @@
// Copyright 2023, Command Line Inc. // Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import * as jotai from "jotai"; import * as jotai from "jotai";

View File

@ -1,4 +1,4 @@
// Copyright 2023, Command Line Inc. // Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
import { Block } from "@/app/block/block"; import { Block } from "@/app/block/block";

View File

@ -1,3 +1,6 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
.plot-view { .plot-view {
width: 100%; width: 100%;

View File

@ -1,3 +1,6 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
import { Button } from "@/element/button"; import { Button } from "@/element/button";
import { WaveModal } from "@/element/modal"; import { WaveModal } from "@/element/modal";
import * as Plot from "@observablehq/plot"; import * as Plot from "@observablehq/plot";

View File

@ -1,10 +1,11 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
import { WOS } from "@/app/store/global"; import { WOS } from "@/app/store/global";
import { Atom, atom, Getter } from "jotai"; import { Atom, atom, Getter } from "jotai";
import { LayoutTreeState, WritableLayoutTreeStateAtom } from "./types"; import { LayoutTreeState, WritableLayoutTreeStateAtom } from "./types";
const layoutStateAtomMap: WeakMap<Atom<Tab>, WritableLayoutTreeStateAtom> = new WeakMap(); const layoutStateAtomMap: WeakMap<Atom<Tab>, WritableLayoutTreeStateAtom> = new WeakMap();
// const layoutStateLoadingAtomMap: WeakMap<Atom<Tab>, Atom<boolean>> = new WeakMap();
// const layoutStateAtomMap
function getLayoutStateAtomFromTab(tabAtom: Atom<Tab>, get: Getter): WritableWaveObjectAtom<LayoutState> { function getLayoutStateAtomFromTab(tabAtom: Atom<Tab>, get: Getter): WritableWaveObjectAtom<LayoutState> {
const tabData = get(tabAtom); const tabData = get(tabAtom);

View File

@ -1,3 +1,6 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
import { atomWithThrottle, boundNumber } from "@/util/util"; import { atomWithThrottle, boundNumber } from "@/util/util";
import { Atom, atom, Getter, PrimitiveAtom, Setter } from "jotai"; import { Atom, atom, Getter, PrimitiveAtom, Setter } from "jotai";
import { splitAtom } from "jotai/utils"; import { splitAtom } from "jotai/utils";

View File

@ -1,3 +1,6 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
import { globalStore, WOS } from "@/app/store/global"; import { globalStore, WOS } from "@/app/store/global";
import useResizeObserver from "@react-hook/resize-observer"; import useResizeObserver from "@react-hook/resize-observer";
import { Atom, useAtomValue } from "jotai"; import { Atom, useAtomValue } from "jotai";

View File

@ -1,3 +1,6 @@
// Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0
export class NodeRefMap { export class NodeRefMap {
private map: Map<string, React.RefObject<HTMLDivElement>> = new Map(); private map: Map<string, React.RefObject<HTMLDivElement>> = new Map();
generation: number = 0; generation: number = 0;

View File

@ -1,4 +1,4 @@
// Copyright 2023, Command Line Inc. // Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
package dbutil package dbutil

View File

@ -1,4 +1,4 @@
// Copyright 2023, Command Line Inc. // Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
package dbutil package dbutil

View File

@ -1,4 +1,4 @@
// Copyright 2023, Command Line Inc. // Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
package shellutil package shellutil

View File

@ -1,4 +1,4 @@
// Copyright 2023, Command Line Inc. // Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
package wcloud package wcloud

View File

@ -1,4 +1,4 @@
// Copyright 2023, Command Line Inc. // Copyright 2024, Command Line Inc.
// SPDX-License-Identifier: Apache-2.0 // SPDX-License-Identifier: Apache-2.0
package wcloud package wcloud