Update context version
This commit is contained in:
parent
a5a547d40d
commit
bf896a076c
@ -20,7 +20,7 @@ const ChatMessages = function (privateClient, publicClient) {
|
||||
*
|
||||
* @example
|
||||
* {
|
||||
* "@context": "https://kosmos.org/ns/v1",
|
||||
* "@context": "https://kosmos.org/ns/v2",
|
||||
* "@id": "chat-messages/irc.libera.chat/channels/kosmos/",
|
||||
* "@type": "ChatChannel",
|
||||
* "service": {
|
||||
@ -48,8 +48,8 @@ const ChatMessages = function (privateClient, publicClient) {
|
||||
"properties": {
|
||||
"@context": {
|
||||
"type": "string",
|
||||
"default": "https://kosmos.org/ns/v1",
|
||||
"enum": ["https://kosmos.org/ns/v1"]
|
||||
"default": "https://kosmos.org/ns/v2",
|
||||
"enum": ["https://kosmos.org/ns/v2"]
|
||||
},
|
||||
"@id": {
|
||||
"type": "string",
|
||||
@ -141,8 +141,8 @@ const ChatMessages = function (privateClient, publicClient) {
|
||||
"required": []
|
||||
};
|
||||
|
||||
privateClient.declareType("daily-archive", "https://kosmos.org/ns/v1", archiveSchema);
|
||||
publicClient.declareType("daily-archive", "https://kosmos.org/ns/v1", archiveSchema);
|
||||
privateClient.declareType("daily-archive", "https://kosmos.org/ns/v2", archiveSchema);
|
||||
publicClient.declareType("daily-archive", "https://kosmos.org/ns/v2", archiveSchema);
|
||||
|
||||
/**
|
||||
* A daily archive stores chat messages by calendar day.
|
||||
|
Loading…
x
Reference in New Issue
Block a user