@types/timelinejs
Advanced tools
Comparing version 0.0.28 to 0.0.29
@@ -6,6 +6,5 @@ // Type definitions for timelinejs | ||
declare function createStoryJS(config:knightlab.ITimeLineConfiguration):void; | ||
declare function createStoryJS(config: knightlab.ITimeLineConfiguration): void; | ||
declare namespace knightlab { | ||
export interface ITimeLineConfiguration { | ||
@@ -100,24 +99,24 @@ width: string; | ||
export interface ITimelineModel { | ||
timeline:ITimeLine; | ||
timeline: ITimeLine; | ||
} | ||
export interface ITimeLine { | ||
headline?:string | undefined; | ||
type?:string | undefined; | ||
text?:string | undefined; | ||
asset?:ITimeLineAsset | undefined; | ||
date?:ITimelineDate[] | undefined; | ||
era?:ITimelineEra[] | undefined; | ||
headline?: string | undefined; | ||
type?: string | undefined; | ||
text?: string | undefined; | ||
asset?: ITimeLineAsset | undefined; | ||
date?: ITimelineDate[] | undefined; | ||
era?: ITimelineEra[] | undefined; | ||
} | ||
export interface ITimeLineAsset { | ||
media:string; | ||
thumbnail?:string | undefined; | ||
credit:string; | ||
caption:string; | ||
media: string; | ||
thumbnail?: string | undefined; | ||
credit: string; | ||
caption: string; | ||
} | ||
export interface ITimelineDate extends ITimelineEra { | ||
classname?:string | undefined; | ||
asset?:ITimeLineAsset | undefined; | ||
classname?: string | undefined; | ||
asset?: ITimeLineAsset | undefined; | ||
} | ||
@@ -129,11 +128,11 @@ | ||
*/ | ||
startDate:string; | ||
startDate: string; | ||
/* | ||
* format example: 2011,12,10 | ||
*/ | ||
endDate:string; | ||
headline:string; | ||
text:string; | ||
tag?:string | undefined; | ||
endDate: string; | ||
headline: string; | ||
text: string; | ||
tag?: string | undefined; | ||
} | ||
} |
{ | ||
"name": "@types/timelinejs", | ||
"version": "0.0.28", | ||
"version": "0.0.29", | ||
"description": "TypeScript definitions for timelinejs", | ||
@@ -23,4 +23,4 @@ "homepage": "https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/timelinejs", | ||
"dependencies": {}, | ||
"typesPublisherContentHash": "bdbae7152aa94fe3ee90876a8f96f369e3e1f82ace31e68f17a254705358c5d7", | ||
"typeScriptVersion": "3.6" | ||
"typesPublisherContentHash": "51204d19114f7e064663e53a82da69be71cced6b083a71d5d2aae698fd03b759", | ||
"typeScriptVersion": "4.3" | ||
} |
@@ -11,3 +11,3 @@ # Installation | ||
### Additional Details | ||
* Last updated: Fri, 02 Jul 2021 19:37:05 GMT | ||
* Last updated: Tue, 12 Sep 2023 12:34:42 GMT | ||
* Dependencies: none | ||
@@ -14,0 +14,0 @@ * Global values: `createStoryJS` |
6297