feat: use drink api in front and more #16
6
front/src/types.d.ts
vendored
6
front/src/types.d.ts
vendored
@ -1,5 +1,5 @@
|
||||
import type { AstroComponentFactory } from 'astro/runtime/server/index.js'
|
||||
import type { HTMLAttributes, ImageMetadata } from 'astro/types'
|
||||
import type { HTMLAttributes, ImageMetadata, HTMLInputTypeAttribute } from 'astro/types'
|
||||
|
||||
export interface Post {
|
||||
/** A unique ID number that identifies a post. */
|
||||
@ -26,7 +26,7 @@ export interface Post {
|
||||
/** */
|
||||
category?: Taxonomy
|
||||
/** */
|
||||
tags?: Taxonomy[]
|
||||
tags?: Array<Taxonomy>
|
||||
/** */
|
||||
author?: string
|
||||
|
||||
@ -167,6 +167,8 @@ export interface Input {
|
||||
label?: string
|
||||
autocomplete?: string
|
||||
placeholder?: string
|
||||
class?: string
|
||||
inputClass?: string
|
||||
}
|
||||
|
||||
export interface Textarea {
|
||||
|
Loading…
x
Reference in New Issue
Block a user