Calendar: Difference between revisions

From Wikisphere
Jump to navigation Jump to search
No edit summary
No edit summary
 
(4 intermediate revisions by the same user not shown)
Line 4: Line 4:
"uuid": "6897a77333e44",
"uuid": "6897a77333e44",
"name": "Calendar",
"name": "Calendar",
"description": "https://github.com/vkurko/calendar"
"description": "See https://github.com/vkurko/calendar"
},
},
"properties": {
"properties": {
Line 13: Line 13:
"unique-items": false,
"unique-items": false,
"type": "schema",
"type": "schema",
"uuid": "689927e370e62"
"uuid": "689d20e37f6a3"
},
},
"items": {
"items": {
Line 20: Line 20:
"name": "event",
"name": "event",
"type": "schema",
"type": "schema",
"uuid": "6897c535233a1",
"uuid": "689c83f5d652f",
"title": "event",
"title": "event",
"layout": "section",
"layout": "section",
Line 28: Line 28:
"title": {
"title": {
"wiki": {
"wiki": {
"type": "property",
"uuid": "6897b2e7c20ed",
"name": "title",
"name": "title",
"type": "property",
"visibility": "visible",
"multiple-items": false,
"label": "title",
"label": "title",
"help-message": "The text that will appear on the event",
"help-message": "The text that will appear on the event",
"uuid": "6897b2e7c20ed",
"multiple-items": false,
"visibility": "visible",
"preferred-input": "OO.ui.TextInputWidget",
"preferred-input": "OO.ui.TextInputWidget",
"input-config": [],
"input-config": [],
"required": false
"required": true
},
},
"type": "string",
"type": "string",
Line 46: Line 46:
"start": {
"start": {
"wiki": {
"wiki": {
"type": "property",
"uuid": "6897b2e7c20ef",
"name": "start",
"name": "start",
"type": "property",
"visibility": "visible",
"label": "start",
"multiple-items": false,
"multiple-items": false,
"label": "start",
"visibility": "visible",
"preferred-input": "mw.widgets.datetime.DateTimeInputWidget",
"preferred-input": "mw.widgets.datetime.DateTimeInputWidget",
"input-config": [],
"input-config": [],
"required": false,
"required": true
"uuid": "6897b2e7c20ef"
},
},
"type": "string",
"type": "string",
Line 62: Line 62:
"end": {
"end": {
"wiki": {
"wiki": {
"type": "property",
"uuid": "6897b2e7c20f0",
"name": "end",
"name": "end",
"visibility": "visible",
"label": "end",
"multiple-items": false,
"preferred-input": "mw.widgets.datetime.DateTimeInputWidget",
"input-config": [],
"required": true
},
"type": "string",
"format": "datetime",
"title": "end"
},
"url": {
"wiki": {
"name": "url",
"type": "property",
"type": "property",
"multiple-items": false,
"multiple-items": false,
"label": "end",
"label": "url",
"visibility": "visible",
"visibility": "visible",
"preferred-input": "mw.widgets.datetime.DateTimeInputWidget",
"preferred-input": "OO.ui.TextInputWidget (url)",
"input-config": [],
"input-config": [],
"required": false,
"required": false,
"uuid": "6897b2e7c20f0"
"uuid": "6897b2e7c20f2"
},
},
"type": "string",
"type": "string",
"format": "datetime",
"format": "url",
"title": "end"
"title": "url"
},
},
"allDay": {
"allDay": {
Line 93: Line 109:
"description": "Determines if the event is shown in the all-day slot"
"description": "Determines if the event is shown in the all-day slot"
},
},
"url": {
"display": {
"wiki": {
"wiki": {
"name": "url",
"name": "display",
"type": "property",
"type": "property",
"multiple-items": false,
"multiple-items": false,
"label": "url",
"label": "display",
"help-message": "The rendering type of the event",
"default": "auto",
"uuid": "6897b2e7c20fb",
"visibility": "visible",
"visibility": "visible",
"preferred-input": "OO.ui.TextInputWidget (url)",
"preferred-input": "OO.ui.DropdownInputWidget",
"input-config": [],
"input-config": [],
"options-allow-null": false,
"required": false,
"required": false,
"uuid": "6897b2e7c20f2"
"options-values-parsed": {
"auto": "auto",
"background": "background"
}
},
},
"type": "string",
"type": "string",
"format": "url",
"format": "text",
"title": "url"
"title": "display",
"description": "The rendering type of the event",
"default": "auto",
"enum": [
"auto",
"background"
]
},
},
"classNames": {
"resources": {
"wiki": {
"wiki": {
"name": "classNames",
"name": "resources",
"unique-items": true,
"unique-items": false,
"type": "schema",
"type": "schema",
"uuid": "6897b2e7c20f3"
"uuid": "689c801d3f887"
},
},
"items": {
"items": {
"type": "string",
"type": "string",
"wiki": {
"wiki": {
"name": "classNames",
"name": "resourceIds",
"type": "property",
"type": "property",
"multiple-items": true,
"multiple-items": true,
"label": "classNames",
"label": "resources",
"help-message": "Resources associated to this event (eg. conference room, class-room a, ...)",
"default": [],
"visibility": "visible",
"visibility": "visible",
"preferred-input": "OO.ui.TagMultiselectWidget",
"preferred-input": "OO.ui.MenuTagMultiselectWidget",
"input-config": [],
"input-config": [],
"options-allow-null": false,
"required": false,
"required": false,
"uuid": "6897b2e7c20f4",
"uuid": "689c801d3f888",
"options-values-parsed": {
"room a": "room a",
"room b": "room b",
"room c": "room c"
},
"layout": "table"
"layout": "table"
},
},
"format": "text",
"format": "text",
"title": "classNames"
"title": "resources",
"description": "Resources associated to this event (eg. conference room, class-room a, ...)",
"default": [],
"enum": [
"room a",
"room b",
"room c"
]
},
},
"type": "array",
"type": "array",
"uniqueItems": true
"uniqueItems": false
},
"editable": {
"wiki": {
"name": "editable",
"type": "property",
"multiple-items": false,
"label": "editable",
"visibility": "visible",
"preferred-input": "OO.ui.ToggleSwitchWidget",
"input-config": [],
"required": false,
"uuid": "6897b2e7c20f5"
},
"type": "boolean",
"title": "editable"
},
"startEditable": {
"wiki": {
"name": "startEditable",
"type": "property",
"multiple-items": false,
"label": "startEditable",
"visibility": "visible",
"preferred-input": "OO.ui.ToggleSwitchWidget",
"input-config": [],
"required": false,
"uuid": "6897b2e7c20f6"
},
"type": "boolean",
"title": "startEditable"
},
"durationEditable": {
"wiki": {
"name": "durationEditable",
"type": "property",
"multiple-items": false,
"label": "durationEditable",
"visibility": "visible",
"preferred-input": "OO.ui.ToggleSwitchWidget",
"input-config": [],
"required": false,
"uuid": "6897b2e7c20f7"
},
"type": "boolean",
"title": "durationEditable"
},
},
"backgroundColor": {
"backgroundColor": {
Line 229: Line 228:
"title": "textColor"
"title": "textColor"
},
},
"display": {
"classNames": {
"wiki": {
"wiki": {
"name": "display",
"name": "classNames",
"type": "property",
"unique-items": true,
"multiple-items": false,
"label": "display",
"help-message": "The rendering type of the event. Can be 'auto' or 'background'",
"default": "auto",
"uuid": "6897b2e7c20fb",
"visibility": "visible",
"preferred-input": "OO.ui.TextInputWidget",
"input-config": [],
"required": false
},
"type": "string",
"format": "text",
"title": "display",
"description": "The rendering type of the event. Can be 'auto' or 'background'",
"default": "auto"
},
"resourceIds": {
"wiki": {
"name": "resourceIds",
"unique-items": false,
"type": "schema",
"type": "schema",
"uuid": "6897c535233ac"
"uuid": "6897b2e7c20f3"
},
},
"items": {
"items": {
"type": "string",
"type": "string",
"wiki": {
"wiki": {
"name": "resourceIds",
"name": "classNames",
"type": "property",
"type": "property",
"multiple-items": true,
"multiple-items": true,
"label": "resourceIds",
"label": "classNames",
"help-message": "An array of resource IDs that the event is associated with",
"default": [],
"visibility": "visible",
"visibility": "visible",
"preferred-input": "OO.ui.MenuTagMultiselectWidget",
"preferred-input": "OO.ui.TagMultiselectWidget",
"input-config": [],
"input-config": [],
"options-allow-null": false,
"required": false,
"required": false,
"uuid": "6897c535233ad",
"uuid": "6897b2e7c20f4",
"options-values-parsed": {
"room a": "room a",
"room b": "room b",
"room c": "room c"
},
"layout": "table"
"layout": "table"
},
},
"format": "text",
"format": "text",
"title": "resourceIds",
"title": "classNames"
"description": "An array of resource IDs that the event is associated with",
"default": [],
"enum": [
"room a",
"room b",
"room c"
]
},
},
"type": "array",
"type": "array",
"uniqueItems": false
"uniqueItems": true
},
},
"style": {
"style": {
Line 308: Line 272:
}
}
},
},
"required": [
"title",
"start",
"end"
],
"title": "event"
"title": "event"
},
},
Line 316: Line 285:
},
},
"type": "object",
"type": "object",
"description": "\u003Ca rel=\"nofollow\" class=\"external free\" target=\"_blank\" href=\"https://github.com/vkurko/calendar\"\u003Ehttps://github.com/vkurko/calendar\u003C/a\u003E"
"description": "See \u003Ca rel=\"nofollow\" class=\"external free\" target=\"_blank\" href=\"https://github.com/vkurko/calendar\"\u003Ehttps://github.com/vkurko/calendar\u003C/a\u003E"
}
}

Latest revision as of 23:33, 13 August 2025

wiki
type"schema"
uuid"6897a77333e44"
name"Calendar"
description"See https://github.com/vkurko/calendar"
properties
events
wiki
name"events"
min-items1
unique-itemsfalse
type"schema"
uuid"689d20e37f6a3"
items
type"object"
wiki
name"event"
type"schema"
uuid"689c83f5d652f"
title"event"
layout"section"
visibility"visible"
properties
title
wiki
type"property"
uuid"6897b2e7c20ed"
name"title"
visibility"visible"
label"title"
help-message"The text that will appear on the event"
multiple-itemsfalse
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredtrue
type"string"
format"text"
title"title"
description"The text that will appear on the event"
start
wiki
type"property"
uuid"6897b2e7c20ef"
name"start"
visibility"visible"
label"start"
multiple-itemsfalse
preferred-input"mw.widgets.datetime.DateTimeInputWidget"
input-config
Empty array
requiredtrue
type"string"
format"datetime"
title"start"
end
wiki
type"property"
uuid"6897b2e7c20f0"
name"end"
visibility"visible"
label"end"
multiple-itemsfalse
preferred-input"mw.widgets.datetime.DateTimeInputWidget"
input-config
Empty array
requiredtrue
type"string"
format"datetime"
title"end"
url
wiki
name"url"
type"property"
multiple-itemsfalse
label"url"
visibility"visible"
preferred-input"OO.ui.TextInputWidget (url)"
input-config
Empty array
requiredfalse
uuid"6897b2e7c20f2"
type"string"
format"url"
title"url"
allDay
wiki
name"allDay"
type"property"
multiple-itemsfalse
label"allDay"
help-message"Determines if the event is shown in the all-day slot"
uuid"6897b2e7c20f1"
visibility"visible"
preferred-input"OO.ui.ToggleSwitchWidget"
input-config
Empty array
requiredfalse
type"boolean"
title"allDay"
description"Determines if the event is shown in the all-day slot"
display
wiki
name"display"
type"property"
multiple-itemsfalse
label"display"
help-message"The rendering type of the event"
default"auto"
uuid"6897b2e7c20fb"
visibility"visible"
preferred-input"OO.ui.DropdownInputWidget"
input-config
Empty array
options-allow-nullfalse
requiredfalse
options-values-parsed
auto"auto"
background"background"
type"string"
format"text"
title"display"
description"The rendering type of the event"
default"auto"
enum
"auto"
"background"
resources
wiki
name"resources"
unique-itemsfalse
type"schema"
uuid"689c801d3f887"
items
type"string"
wiki
name"resourceIds"
type"property"
multiple-itemstrue
label"resources"
help-message"Resources associated to this event (eg. conference room, class-room a, ...)"
default
Empty array
visibility"visible"
preferred-input"OO.ui.MenuTagMultiselectWidget"
input-config
Empty array
options-allow-nullfalse
requiredfalse
uuid"689c801d3f888"
options-values-parsed
room a"room a"
room b"room b"
room c"room c"
layout"table"
format"text"
title"resources"
description"Resources associated to this event (eg. conference room, class-room a, ...)"
default
Empty array
enum
"room a"
"room b"
"room c"
type"array"
uniqueItemsfalse
backgroundColor
wiki
name"backgroundColor"
type"property"
multiple-itemsfalse
label"backgroundColor"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
uuid"6897b2e7c20f8"
type"string"
format"text"
title"backgroundColor"
borderColor
wiki
name"borderColor"
type"property"
multiple-itemsfalse
label"borderColor"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
uuid"6897b2e7c20f9"
type"string"
format"text"
title"borderColor"
textColor
wiki
name"textColor"
type"property"
multiple-itemsfalse
label"textColor"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
uuid"6897b2e7c20fa"
type"string"
format"text"
title"textColor"
classNames
wiki
name"classNames"
unique-itemstrue
type"schema"
uuid"6897b2e7c20f3"
items
type"string"
wiki
name"classNames"
type"property"
multiple-itemstrue
label"classNames"
visibility"visible"
preferred-input"OO.ui.TagMultiselectWidget"
input-config
Empty array
requiredfalse
uuid"6897b2e7c20f4"
layout"table"
format"text"
title"classNames"
type"array"
uniqueItemstrue
style
wiki
name"style"
type"property"
multiple-itemsfalse
label"style"
visibility"visible"
preferred-input"OO.ui.TextInputWidget"
input-config
Empty array
requiredfalse
uuid"6897c535233ae"
type"string"
format"text"
title"style"
required
"title"
"start"
"end"
title"event"
type"array"
minItems1
uniqueItemsfalse
type"object"
description"See <a rel="nofollow" class="external free" target="_blank" href="https://github.com/vkurko/calendar">https://github.com/vkurko/calendar</a>"