From 21a2b5aa262744240c8b715056d8e738ac57c447 Mon Sep 17 00:00:00 2001 From: monoid Date: Thu, 10 Apr 2025 22:02:42 +0900 Subject: [PATCH] refactor: remove unused file --- types.ts | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 types.ts diff --git a/types.ts b/types.ts deleted file mode 100644 index 76fe178..0000000 --- a/types.ts +++ /dev/null @@ -1,24 +0,0 @@ -export const URL_BASE = "https://git.monoid.top"; -export const TOKEN_NAME = "oauth2cli"; -export const CREDENTIALS_FILE = `${Deno.env.get("HOME") || ""}/.oauth2cli-forgejo`; - -export type Token = { - id: number, - name: string, - scopes: string[], - sha1: string, - token_last_eight: string, -} - -export type Oauth2Application = { - id: number, - name: string, - redirect_uris: string[], - client_id: string, - client_secret: string, - confidential_client: boolean, - /** - * @format date-time - */ - created: string, -}