well that's just as embarassing as me having to check how to spell embarrasing just now
Signed-off-by: Nicole Mikołajczyk <git@mkljczk.pl>
This commit is contained in:
@ -200,8 +200,8 @@ const baseAccountSchema = v.object({
|
||||
speak_as_cat: v.fallback(v.boolean(), false),
|
||||
|
||||
__meta: coerceObject({
|
||||
pleroma: v.fallback(v.any(), undefined),
|
||||
source: v.fallback(v.any(), undefined),
|
||||
pleroma: v.optional(v.any(), undefined),
|
||||
source: v.optional(v.any(), undefined),
|
||||
}),
|
||||
});
|
||||
|
||||
|
||||
@ -110,6 +110,7 @@ const notificationsMergedEventSchema = v.object({
|
||||
|
||||
const emojiReactionStreamingEventSchema = v.object({
|
||||
...baseStreamingEventSchema.entries,
|
||||
event: v.literal('emoji_reaction'),
|
||||
payload: v.pipe(v.any(), v.transform((payload: any) => JSON.parse(payload)), emojiReactionSchema),
|
||||
});
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "pl-api",
|
||||
"version": "1.0.0-rc.66",
|
||||
"version": "1.0.0-rc.67",
|
||||
"type": "module",
|
||||
"homepage": "https://github.com/mkljczk/pl-fe/tree/develop/packages/pl-api",
|
||||
"repository": {
|
||||
|
||||
@ -104,7 +104,7 @@
|
||||
"multiselect-react-dropdown": "^2.0.25",
|
||||
"mutative": "^1.1.0",
|
||||
"path-browserify": "^1.0.1",
|
||||
"pl-api": "^1.0.0-rc.66",
|
||||
"pl-api": "^1.0.0-rc.67",
|
||||
"postcss": "^8.5.3",
|
||||
"process": "^0.11.10",
|
||||
"punycode": "^2.1.1",
|
||||
|
||||
@ -6863,10 +6863,10 @@ pkg-dir@^4.1.0:
|
||||
dependencies:
|
||||
find-up "^4.0.0"
|
||||
|
||||
pl-api@^1.0.0-rc.66:
|
||||
version "1.0.0-rc.66"
|
||||
resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-1.0.0-rc.66.tgz#07c1b44b201c014dae88ce6100ab9706ed7a0f6b"
|
||||
integrity sha512-WqSEZKY/7z4ADggYI3jVsaClb+Q8tW+W64ZlVsWqeKAx1uNJbatMG1zRh1MlaxVj+d86zFFKQvF+PN1Uqcxa1g==
|
||||
pl-api@^1.0.0-rc.67:
|
||||
version "1.0.0-rc.67"
|
||||
resolved "https://registry.yarnpkg.com/pl-api/-/pl-api-1.0.0-rc.67.tgz#e1a98e7f94bcedef7f0cf89295b917f2050ca42e"
|
||||
integrity sha512-IrAVsUMuY/vhye8jPYQuHtyycexfheU6hj1ithFYyVhOfoctqkNACVQ8WpvPRXh68T+0o+uASMhzRFvdVDSLnA==
|
||||
dependencies:
|
||||
blurhash "^2.0.5"
|
||||
http-link-header "^1.1.3"
|
||||
|
||||
Reference in New Issue
Block a user