@analogjs/content
Advanced tools
Comparing version 0.1.7 to 0.1.8
import { Observable } from 'rxjs'; | ||
import { ContentFile } from './content-file'; | ||
/** | ||
* Retrieves the static content using the provided param | ||
* Retrieves the static content using the provided param and/or prefix. | ||
* | ||
@@ -9,2 +9,5 @@ * @param param route parameter (default: 'slug') | ||
*/ | ||
export declare function injectContent<Attributes extends Record<string, any> = Record<string, any>>(param?: string, fallback?: string): Observable<ContentFile<Attributes | Record<string, never>>>; | ||
export declare function injectContent<Attributes extends Record<string, any> = Record<string, any>>(param?: string | { | ||
param: string; | ||
subdirectory: string; | ||
}, fallback?: string): Observable<ContentFile<Attributes | Record<string, never>>>; |
{ | ||
"name": "@analogjs/content", | ||
"version": "0.1.7", | ||
"version": "0.1.8", | ||
"description": "Content Rendering for Analog", | ||
@@ -5,0 +5,0 @@ "author": "Brandon Roberts <robertsbt@gmail.com>", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
120520
3036
1039
54
271