License under AGPL version 3 or later
I firmly believe in free software. The application I'm making here have capabilities that I've not seen in any system. It presents itself as an opportunity to collaborate on a tool that serves the people rather than corporations. Whose incentives are to help people rather, not make the most money. And whose terms ensure that these freedoms and incentives cannot be taken back or subverted. I license this software under the AGPL.
This commit is contained in:
parent
344b9acbf8
commit
e52972853d
110 changed files with 1031 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
SPDX-FileCopyrightText: © 2025 Hornwitser <code@hornwitser.no>
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
import { z } from "zod/v4-mini";
|
||||
import { idSchema, type Id } from "~/shared/types/common";
|
||||
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
SPDX-FileCopyrightText: © 2025 Hornwitser <code@hornwitser.no>
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
import { z } from "zod/v4-mini";
|
||||
|
||||
export const idSchema = z.number();
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
SPDX-FileCopyrightText: © 2025 Hornwitser <code@hornwitser.no>
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
// Overwritten by build script
|
||||
export const BUILDER = "";
|
||||
export const GIT_REF = "";
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
SPDX-FileCopyrightText: © 2025 Hornwitser <code@hornwitser.no>
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
/** Returns a tuple consisting of a running index starting from 0, and the item of the iterable */
|
||||
export function* enumerate<T>(iterable: Iterable<T>) {
|
||||
let index = 0;
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
SPDX-FileCopyrightText: © 2025 Hornwitser <code@hornwitser.no>
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
// Wrapper around Luxon to make sure the throwOnInvalid option is set
|
||||
import { DateTime, Duration, FixedOffsetZone, Info, Settings, Zone } from "luxon";
|
||||
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
/*
|
||||
SPDX-FileCopyrightText: © 2025 Hornwitser <code@hornwitser.no>
|
||||
SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
*/
|
||||
import type { ApiEntity, ApiTombstone } from "~/shared/types/api";
|
||||
|
||||
export function applyUpdatesToArray<T extends ApiEntity | ApiTombstone>(updates: T[], entities: T[]) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue