@burdy-cms/web-utils
Advanced tools
Comparing version 1.1.0 to 1.1.1
import { IBurdyPage, IBurdyTag } from '../types'; | ||
declare type GetPageOptions = { | ||
export declare type GetPageOptions = { | ||
draft?: boolean; | ||
@@ -11,3 +11,3 @@ includeChildren?: boolean; | ||
}; | ||
declare type SearchPostsOptions = { | ||
export declare type SearchPagesOptions = { | ||
draft?: boolean; | ||
@@ -30,3 +30,3 @@ type?: string; | ||
}; | ||
declare type SearchTagsOptions = { | ||
export declare type SearchTagsOptions = { | ||
search?: string; | ||
@@ -45,5 +45,4 @@ parent?: string; | ||
getPage: <T = any>(url: string, options?: GetPageOptions) => Promise<IBurdyPage<T>>; | ||
searchPages: <T_1 = any>(host: string, options: SearchPostsOptions) => Promise<IBurdyPage<T_1>[]>; | ||
searchPages: <T_1 = any>(host: string, options: SearchPagesOptions) => Promise<IBurdyPage<T_1>[]>; | ||
searchTags: (host: string, options: SearchTagsOptions) => Promise<IBurdyTag[]>; | ||
}; | ||
export {}; |
{ | ||
"name": "@burdy-cms/web-utils", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "Burdy web utilities", | ||
@@ -5,0 +5,0 @@ "author": "Team Burdy <team@burdy.io>", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
44256
1001