fix community schema in encode-url-data.ts (#554)
* fix community schema in encode-url-data.ts * Create fifty-items-speak.md
This commit is contained in:
parent
111e048e7b
commit
8249e9f9e9
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
"@status-im/js": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix community schema in encode-url-data.ts
|
|
@ -16,7 +16,7 @@ const communitySchema = z.object({
|
||||||
description: z.string().max(140).nonempty(),
|
description: z.string().max(140).nonempty(),
|
||||||
membersCount: z.number().nonnegative(),
|
membersCount: z.number().nonnegative(),
|
||||||
color: colorSchema,
|
color: colorSchema,
|
||||||
tagIndices: z.number().nonnegative().array(),
|
tagIndices: z.number().nonnegative().array().optional(),
|
||||||
})
|
})
|
||||||
|
|
||||||
export function encodeCommunityURLData(
|
export function encodeCommunityURLData(
|
||||||
|
|
Loading…
Reference in New Issue