From 09ff9ddc595789bd1564c956162cd4fad5cce6ae Mon Sep 17 00:00:00 2001 From: Srinjoy Sen Chowdhury <116475469+AllMightLegend@users.noreply.github.com> Date: Sat, 10 Aug 2024 00:07:28 +0530 Subject: [PATCH] #1383 issue : Update edu.yaml --- .../definitions/edu_20240810000309.yaml | 26 +++++++++++++++++++ .../definitions/edu_20240810000358.yaml | 26 +++++++++++++++++++ data/api/server-server/definitions/edu.yaml | 2 +- 3 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 .history/data/api/server-server/definitions/edu_20240810000309.yaml create mode 100644 .history/data/api/server-server/definitions/edu_20240810000358.yaml diff --git a/.history/data/api/server-server/definitions/edu_20240810000309.yaml b/.history/data/api/server-server/definitions/edu_20240810000309.yaml new file mode 100644 index 00000000..1680bd60 --- /dev/null +++ b/.history/data/api/server-server/definitions/edu_20240810000309.yaml @@ -0,0 +1,26 @@ +# Copyright 2018 New Vector Ltd +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +type: object +title: Ephemeral Data Unit +description: An ephemeral data unit. +properties: + edu_type: + type: string + description: The type of ephemeral message. + example: "m.presence" + content: + type: object + description: The content of the ephemeral message. +required: ['edu_type', 'content'] diff --git a/.history/data/api/server-server/definitions/edu_20240810000358.yaml b/.history/data/api/server-server/definitions/edu_20240810000358.yaml new file mode 100644 index 00000000..d53e4efa --- /dev/null +++ b/.history/data/api/server-server/definitions/edu_20240810000358.yaml @@ -0,0 +1,26 @@ +# Copyright 2018 New Vector Ltd +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +type: object +title: Ephemeral Data Unit +description: An ephemeral data unit. +properties: + edu_type: + type: string + description: The type of ephemeral message. + example: "m.typing" + content: + type: object + description: The content of the ephemeral message. +required: ['edu_type', 'content'] diff --git a/data/api/server-server/definitions/edu.yaml b/data/api/server-server/definitions/edu.yaml index 1680bd60..d53e4efa 100644 --- a/data/api/server-server/definitions/edu.yaml +++ b/data/api/server-server/definitions/edu.yaml @@ -19,7 +19,7 @@ properties: edu_type: type: string description: The type of ephemeral message. - example: "m.presence" + example: "m.typing" content: type: object description: The content of the ephemeral message.