From 4114f7777f183685deb6d66ab6813696644ec627 Mon Sep 17 00:00:00 2001 From: Dan Goodliffe Date: Thu, 22 Jan 2015 16:32:38 +0000 Subject: Centralize the conversion specifications --- libtmdb/tmdb-common.ice | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/libtmdb/tmdb-common.ice b/libtmdb/tmdb-common.ice index a75c0e1..1dec40f 100644 --- a/libtmdb/tmdb-common.ice +++ b/libtmdb/tmdb-common.ice @@ -48,7 +48,7 @@ module TMDb { struct PersonRef { ["slicer:name:id"] int Id; - + ["slicer:name:name"] string Name; @@ -58,26 +58,25 @@ module TMDb { sequence PersonRefList; struct SeasonRef { - ["slicer:name:air_date", - "slicer:conversion:std.string:stringToDate:dateToString"] + ["slicer:name:air_date"] Date AirDate; - + ["slicer:name:id"] int Id; - + ["slicer:name:poster_path"] string PosterPath; - + ["slicer:name:season_number"] short SeasonNumber; - + }; sequence SeasonRefList; struct NetworkRef { ["slicer:name:id"] int Id; - + ["slicer:name:name"] string Name; }; -- cgit v1.2.3