readme, reuse 3.0 compat

main
Yorick van Pelt 2023-05-01 14:03:41 +02:00
parent 4ba48ae97d
commit 009e1db4e4
Signed by: yorick
GPG Key ID: A36E70F9DC014A15
14 changed files with 64 additions and 0 deletions

4
.gitignore vendored
View File

@ -1,3 +1,7 @@
# Copyright 2023 Datakami
#
# SPDX-License-Identifier: MIT
/toggl-api
/credentials
/lib/

5
.reuse/dep5 Normal file
View File

@ -0,0 +1,5 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Files: README.md flake.lock package.json tsconfig.json yarn.lock
Copyright: 2022 Datakami <hi@datakami.nl>
License: MIT

View File

@ -1,2 +1,6 @@
# Copyright 2023 Datakami
#
# SPDX-License-Identifier: MIT
yarn-cache
src/*

9
LICENSES/MIT.txt Normal file
View File

@ -0,0 +1,9 @@
MIT License
Copyright (c) <year> <copyright holders>
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

View File

@ -1 +1,6 @@
I use [Amazing Marvin](https://amazingmarvin.com) to track time. This script syncs this to [Toggl](https://toggl.com) and optionally [beeminder](https://beeminder.com).
# Usage:
```
$ marvin-timesync 2023-05-01
```

View File

@ -1,2 +1,7 @@
#!/usr/bin/env node
// Copyright 2023 Datakami
//
// SPDX-License-Identifier: MIT
import "../lib/index.js"

View File

@ -1,3 +1,7 @@
# Copyright 2023 Datakami
#
# SPDX-License-Identifier: MIT
{
inputs.nix-npm-buildpackage.url = "github:serokell/nix-npm-buildpackage";
inputs.nix-npm-buildpackage.inputs.nixpkgs.follows = "nixpkgs";

View File

@ -1,3 +1,7 @@
// Copyright 2023 Datakami
//
// SPDX-License-Identifier: MIT
export namespace API {
export type CreateDatapoint = {
value: number;

View File

@ -1,3 +1,7 @@
// Copyright 2023 Datakami
//
// SPDX-License-Identifier: MIT
import { readFileSync } from "node:fs"
import { DateTime, Interval, Duration } from "luxon"
import { inspect } from "node:util"

View File

@ -1,3 +1,7 @@
// Copyright 2023 Datakami
//
// SPDX-License-Identifier: MIT
import { readFileSync } from "node:fs"
import { Buffer } from "node:buffer"
import type * as Toggl_types from "./toggl-types.js"

View File

@ -1,3 +1,7 @@
// Copyright 2023 Datakami
//
// SPDX-License-Identifier: MIT
import { Toggl, Workspace } from "./Toggl.js"
import { DateTime, Interval, Settings as LuxonSettings } from "luxon"
import { Marvin } from "./Marvin.js"

View File

@ -1,3 +1,7 @@
// Copyright 2023 Datakami
//
// SPDX-License-Identifier: MIT
export interface Task {
_id: string;
createdAt: number;

View File

@ -1,3 +1,7 @@
// Copyright 2023 Datakami
//
// SPDX-License-Identifier: MIT
namespace models {
export type CardDetails = unknown;
export type ContactDetail = unknown;

View File

@ -1,3 +1,7 @@
// Copyright 2023 Datakami
//
// SPDX-License-Identifier: MIT
import { Duration } from "luxon"
export namespace DurationUtil {
export const zero = Duration.fromMillis(0)