Post
import type { Post } from "https://googleapis.deno.dev/v1/blogger:v3.ts";
interface Post {
author?: {
displayName?: string;
id?: string;
image?: {
url?: string;
}; url?: string;
};blog?: {
id?: string;
};content?: string;
customMetaData?: string;
etag?: string;
id?: string;
images?: {
url?: string;
}[];kind?: string;
labels?: string[];
location?: {
lat?: number;
lng?: number;
name?: string;
span?: string;
};published?: string;
readerComments?: "ALLOW" | "DONT_ALLOW_SHOW_EXISTING" | "DONT_ALLOW_HIDE_EXISTING";
replies?: {
items?: Comment[];
selfLink?: string;
totalItems?: bigint;
};selfLink?: string;
status?:
| "LIVE"
| "DRAFT"
| "SCHEDULED"
| "SOFT_TRASHED";
title?: string;
titleLink?: string;
trashed?: string;
updated?: string;
url?: string;
}§Properties
§
author?: {
[src]displayName?: string;
id?: string;
image?: {
url?: string;
}; url?: string;
}The author of this Post.
§
location?: {
[src]lat?: number;
lng?: number;
name?: string;
span?: string;
}The location for geotagged posts.
§
readerComments?: "ALLOW" | "DONT_ALLOW_SHOW_EXISTING" | "DONT_ALLOW_HIDE_EXISTING"
[src]Comment control and display setting for readers of this post.