readme, reuse 3.0 compat
parent
4ba48ae97d
commit
009e1db4e4
|
@ -1,3 +1,7 @@
|
|||
# Copyright 2023 Datakami
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
/toggl-api
|
||||
/credentials
|
||||
/lib/
|
||||
|
|
|
@ -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
|
|
@ -1,2 +1,6 @@
|
|||
# Copyright 2023 Datakami
|
||||
#
|
||||
# SPDX-License-Identifier: MIT
|
||||
|
||||
yarn-cache
|
||||
src/*
|
||||
|
|
|
@ -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.
|
|
@ -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
|
||||
```
|
||||
|
|
|
@ -1,2 +1,7 @@
|
|||
#!/usr/bin/env node
|
||||
|
||||
// Copyright 2023 Datakami
|
||||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
import "../lib/index.js"
|
||||
|
|
|
@ -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";
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
// Copyright 2023 Datakami
|
||||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
export namespace API {
|
||||
export type CreateDatapoint = {
|
||||
value: number;
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
// Copyright 2023 Datakami
|
||||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
export interface Task {
|
||||
_id: string;
|
||||
createdAt: number;
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
// Copyright 2023 Datakami
|
||||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
namespace models {
|
||||
export type CardDetails = unknown;
|
||||
export type ContactDetail = unknown;
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
// Copyright 2023 Datakami
|
||||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
import { Duration } from "luxon"
|
||||
export namespace DurationUtil {
|
||||
export const zero = Duration.fromMillis(0)
|
||||
|
|
Loading…
Reference in New Issue