Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

UploadResult

import type { UploadResult } from "https://raw.githubusercontent.com/takker99/deno-gyazo/0.1.2/mod.ts";

the result of upload()

this includes URLs of the uploaded image

interface UploadResult {
created_at: Timestamp;
image_id: string;
permalink_url: string;
thumb_url: string;
type: "png" | "jpg";
url: string;
}

§Properties

§
created_at: Timestamp
[src]

timestamp which the image is created at

§
image_id: string
[src]

image id

§
thumb_url: string
[src]

thumbnail url

§
type: "png" | "jpg"
[src]

file extension

§
url: string
[src]

image url