[mod] datenmodell:link zu local_resource_event hinzugefügt

This commit is contained in:
Fenris Wolf 2024-10-14 19:06:33 +02:00
parent 7ffbf8f35e
commit d46c48e326
8 changed files with 31 additions and 1 deletions

View file

@ -42,6 +42,10 @@ namespace _zeitbild.api
"type": "string", "type": "string",
"nullable": true, "nullable": true,
}, },
"link": {
"type": "string",
"nullable": true,
},
"description": { "description": {
"type": "string", "type": "string",
"nullable": true, "nullable": true,

View file

@ -42,6 +42,10 @@ namespace _zeitbild.api
"type": "string", "type": "string",
"nullable": true, "nullable": true,
}, },
"link": {
"type": "string",
"nullable": true,
},
"description": { "description": {
"type": "string", "type": "string",
"nullable": true, "nullable": true,

View file

@ -42,6 +42,10 @@ namespace _zeitbild.api
"type": "string", "type": "string",
"nullable": true, "nullable": true,
}, },
"link": {
"type": "string",
"nullable": true,
},
"description": { "description": {
"type": "string", "type": "string",
"nullable": true, "nullable": true,

View file

@ -101,6 +101,10 @@ namespace _zeitbild.api
"type": "string", "type": "string",
"nullable": true, "nullable": true,
}, },
"link": {
"type": "string",
"nullable": true,
},
"description": { "description": {
"type": "string", "type": "string",
"nullable": true, "nullable": true,

View file

@ -5,7 +5,7 @@ namespace _zeitbild.database
/** /**
*/ */
const _compatible_revisions : Array<string> = [ const _compatible_revisions : Array<string> = [
"r2", "r3",
]; ];

View file

@ -226,6 +226,7 @@ namespace _zeitbild.repository.resource
encode_datetime(stuff.event.end) encode_datetime(stuff.event.end)
), ),
"location": stuff.event.location, "location": stuff.event.location,
"link": stuff.event.link,
"description": stuff.event.description, "description": stuff.event.description,
} }
} }
@ -280,6 +281,7 @@ namespace _zeitbild.repository.resource
decode_datetime(row["end"]) decode_datetime(row["end"])
), ),
"location": row["location"], "location": row["location"],
"link": row["link"],
"description": row["description"], "description": row["description"],
} }
}; };

View file

@ -382,6 +382,13 @@ namespace _zeitbild.service.calendar
: :
null null
), ),
"link": (
(vevent.url !== undefined)
?
vevent.url
:
null
),
"description": ( "description": (
(vevent.description !== undefined) (vevent.description !== undefined)
? ?

View file

@ -46,6 +46,11 @@ namespace _zeitbild
| |
string string
); );
link : (
null
|
string
);
description : ( description : (
null null
| |