Comparing version 1.0.3 to 1.0.4
@@ -22,2 +22,3 @@ export interface User { | ||
description?: string; | ||
access?: string | Array<string>; | ||
author?: string; | ||
@@ -56,2 +57,12 @@ homepage?: string; | ||
}; | ||
export type TElement = Element | HTMLElement; | ||
export interface Node { | ||
title?: string | TElement; | ||
content?: string | TElement | Array<TElement>; | ||
} | ||
export interface Article extends Node { | ||
type: string; | ||
id?: number; | ||
[index: string]: any; | ||
} | ||
export interface App { | ||
@@ -116,2 +127,3 @@ v3: boolean; | ||
data(id: string, value?: any): any; | ||
node(value?: Article): Article; | ||
get: (id?: string, table?: string) => Promise<any>; | ||
@@ -118,0 +130,0 @@ set: (id: string | Array<IData>, value?: any, table?: string) => Promise<any>; |
{ | ||
"name": "circle-ts", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Definition of TS Type for Circle Reader", | ||
@@ -5,0 +5,0 @@ "module": "dist/index.js", |
8187
199